@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
#header-in,.author-info,#breadcrumb,article.type-page .date-tags,.go-to-top-button,.mobile-header-menu-buttons,.entry-categories-tags,.date-tags{ display:none!important;}

body{
  margin: 0;
  background-color: #fff;
  font-size: inherit!important;
  font-weight: 500;
  letter-spacing: .03em;
  overflow-x: hidden;
}
table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
ul {
  list-style: none;
  margin:0;
  padding:0;
}
.article h2{
  background-color: transparent;
}

p{ font-size:1.4rem; font-weight: 500; letter-spacing: .03em;}
a{ color:inherit; text-decoration: none;}
a:hover{ color:inherit; transition:.3s; opacity: .8;}
.w100{
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}
.wrap {
    width: auto;
    margin: 0 auto;
}
.DivLink{ position:relative;}
.DivLink .Link{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}
/* Google Mapを囲う要素 */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*======================================================================================================================================================================================================*/
/*PC*/
@media screen and (min-width:834px) {
/*WP制御*/
html { font-size: 66%!important;}
.pc-none { display: none!important; }
.pc-br::after { content: "\A" ; white-space: pre;}


/*main*/
#main{
  max-width:1550px;
  width:100%;
  margin:0 auto;
  padding: 0 60px;
}


article.type-post h1{
  margin:50px 0 0 0;
  padding: 1rem 2rem;
  border-top: 3px solid #aacf52;
  border-bottom: 3px solid #aacf52;
}
.categoryid-1 #main{
  max-width:1250px!important;
}










}/*======================================================================================================================================================================================================*/
/*スマホ*/
@media screen and (max-width: 834px){
/*WP制御*/
html { font-size: 60%!important;}
p{ font-size:1.3rem;}
.sp-none { display: none!important; }
.sp-br::after { content: "\A" ; white-space: pre;}
/*main*/
#main{
  max-width:1550px;
  width:100%;
  margin:0 auto;
  padding: 0 7%;
  background-color: transparent;
}
article.type-post h1{
  margin:50px 0 0 0;
  padding: 1rem 1rem;
  border-top: 3px solid #aacf52;
  border-bottom: 3px solid #aacf52;
}


}/*======================================================================================================================================================================================================*/
/*アイパッド*/
@media screen and (min-width:834px) and ( max-width:1190px){
/*WP制御*/
html { font-size: 60%!important;}












}
/*それ以外
======================================================================================================================================================================================================*/

/*ハンバーガーメニュー*/
@media screen and (min-width: 834px){
#header{
  width: 100%;
  position: relative;
}

#header .inner{
  display: flex;
  align-items: center;
  height: 68px;
  max-width: 96%;
  margin: 20px auto 0;
  position: relative;
}
#header .inner p{
  color:#5b5300;
  margin-left: 2em;
  font-size: 1.3rem;
}
.hamburger {
  display : block;
  position: fixed;
  z-index: 101;
  right : 3%;
  top   : 22px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 42px;
  height  : 3px ;
  left    : 6px;
  background : #587026;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}
/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}
/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index: -2;
  top  : 0;
  left : 0;
  color: #fff;
  background-image: url(http://agrisus.jp/wp-content/themes/cocoon-child-master/img/header-back.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height:100vh;
  transition: all .3s;
  opacity: 0;
}
.globalMenuSp img{
  position:absolute;
  bottom:10%;
  right:10%;
  max-width: 170px;
}
nav.globalMenuSp ul {
  position: absolute;
  top: 10%;
  left: 10%;
  padding: 0;
}
nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  text-align: left;
  font-size: max(2.3vw, 20px);
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  letter-spacing: 0;
  padding: 0.3em 0;
  text-decoration: none;
  transition: .5s all;
  font-weight: bold;
}
/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
   z-index: 100;
}
@keyframes wave {
  100% {
    transform: translate3d(0, -10px, 0);
  }
}

.wave {
  display: block;
}

.wave span {
  display: inline-block;
}

.wave:hover span {
  animation-name: wave;
  animation-duration: .2s;
  animation-direction: alternate;
  animation-iteration-count: 2;
}

.wave:hover span:nth-child(2) {
  animation-delay: .1s;
}
.wave:hover span:nth-child(3) {
  animation-delay: .2s;
}
.wave:hover span:nth-child(4) {
  animation-delay: .3s;
}
.wave:hover span:nth-child(5) {
  animation-delay: .4s;
}
.wave:hover span:nth-child(6) {
  animation-delay: .5s;
}
.wave:hover span:nth-child(7) {
  animation-delay: .6s;
}









}
@media screen and (max-width: 834px){/*ハンバーガーメニュー*/
#header{
  width: 100%;
  position: relative;
}

#header .inner{
  display: flex;
  align-items: center;
  height: 68px;
  max-width: 94%;
  margin: 11px auto 0;
  position: relative;
}
#header .inner p{
  color:#5b5300;
  margin-left: 2em;
  font-size: 1.3rem;
}
.hamburger {
  display : block;
  position: fixed;
  z-index: 101;
  right : 5%;
  top   : 22px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 42px;
  height  : 3px ;
  left    : 0px;
  background : #587026;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}
/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 0px;
  background :#587026;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background :#587026;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}
/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index: -2;
  top  : 0;
  left : 0;
  color: #fff;
  background-image: url(http://agrisus.jp/wp-content/themes/cocoon-child-master/img/header-back.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height:100vh;
  transition: all .3s;
  opacity: 0;
}

.logo-menu{
  width:8%;
  margin:2% 2% 0 2%;
  float:left;
}
nav.globalMenuSp ul {
  display: block;
  width: 100%;
  margin: 19% auto 0;
  padding: 0;
  float: none;
}
nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0.3em 0;
  width: 100%;
  font-size: 2.1rem;
  text-align: center;
  font-weight: bold;
  letter-spacing: 2.3em;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  letter-spacing: .05em;
  padding: .3em 0;
  text-decoration :none;
  transition: .5s all;
}

/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
   z-index: 100;
}
.globalMenuSp img{
  max-width: 150px;
  margin: 10% auto 0;
  display: block;
}
.header-logo{
  max-width: 140px;
}

}



/*FOOTER*/
#ci-footer{
  max-width: 1550px;
  width: 95%;
  padding: 50px 0 10px 0;
  margin: 50px auto 0;
  border-top: 1px solid #5b5300;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content:space-between;
}
.footer-1{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-1-1 h2{
  font-size:1.7rem;
  margin:10px 0;
  letter-spacing: .07em;
}
.footer-1-1 ul li{
  margin:20px 0;
  letter-spacing: .06em;
}
.footer-1-1 ul li p:nth-child(1){
  font-size:1.5rem;
  font-weight:bold;
}
.footer-1-1 ul li p:nth-child(2),{
  font-size:1.3rem;
}
.footer-1-1 ul li p:nth-child(3){
  font-size:1.3rem;
  text-decoration: underline;
}
.footer-1-1-tel-p{
  font-size:1.3rem!important;
  font-weight: 500!important;
}
/*フッターのメニュー部分*/
.footer-1-2{
  width:300px;
}
.footer-1-2 ul{
  margin-top: 30px;
  margin-left: 16%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-1-2 ul li{
  width:calc(100% / 3);
  font-size: 1.4rem;
  font-weight:bold;
  margin:12px 0;
}
/*フッター右*/
.footer-2 ul{
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
}
.footer-2 ul li{
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  align-items: flex-start;
}
.footer-2 ul li img:nth-child(1){
  margin-top: 2rem;
  margin-right:14%;
}
.footer-2 ul li p{
  font-size:1.2rem;
  margin-top:50px;
}

@media screen and (max-width: 1100px){
#ci-footer{
  max-width: 1550px;
  width: 95%;
  padding: 50px 0 10px 0;
  margin: 30px auto 0;
  border-top: 1px solid #5b5300;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content:space-between;
}
.footer-1{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-1-1 h2{
  font-size:1.7rem;
  margin:10px 0;
  letter-spacing: .07em;
}
.footer-1-1 ul li{
  margin:20px 0;
  letter-spacing: .06em;
}
.footer-1-1 ul li p:nth-child(1){
  font-size:1.5rem;
  font-weight:bold;
}
.footer-1-1 ul li p:nth-child(2),{
  font-size:1.3rem;
}
.footer-1-1 ul li p:nth-child(3){
  font-size:1.3rem;
  text-decoration: underline;
}
.footer-1-1-tel-p{
  font-size:1.3rem!important;
  font-weight: 500!important;
}
/*フッターのメニュー部分*/
.footer-1-2{
  width: 100%;
}
.footer-1-2 ul{
  margin: 30px auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-1-2 ul li{
  width:calc(100% / 3);
  font-size: 1.4rem;
  font-weight:bold;
  margin:12px 0;
  text-align: center;
}
/*フッター右*/
.footer-2 ul{
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
}
.footer-2 ul li{
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
}
.footer-2 ul li img:nth-child(1){
  margin:0 auto!important;
}
.footer-2 ul li p{
  font-size:1.2rem;
  margin-top:50px;
}
}



/*投稿ページ*/
.article ul, .article ol {
    padding-left: 0!important;
}


















/*WP編集ツールバー下に*/
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed!important;
  }
}

/*WP編集ツールバーいったん消す
.apdt-pc-only,#wpadminbar{
    display: none!important;
}
*/
