@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
:root{
  --main-color: #0066B3;
  font-size: 16px;
}
html{
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body{
  max-width: 1920px;
  overflow-x: hidden;
}
.content{
  margin: 0;
  margin-top: 80px;
}
.footer{
  margin: 0;
}
body.home .entry-title{
  display: none;
}
body.home .entry-content{
  margin: 0;
}
body.home .wrap{
  width: 100%;
}
body.home .main{
  padding: 0;
}
body.home .main *{
  margin: 0;
}
/* body.home .main .entry-content{
  margin-top: 80px;
} */
#header{
  align-content: center;
}
#header-container{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
}
#header-container-in{
  height: 80px;
}
.navi-in > ul li{
  height: 80px;
}
.main .article h2{
  background-color: inherit;
  color: var(--main-color);
  font-size: 2rem;
  text-align: center;
  padding: 0;
  margin: 64px 0 40px;
}
.main .article h3{
  border: 0px solid var(--main-color);
  border-left-width: 8px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.main .article p,
.main .article ul{
  margin-bottom: 16px;
}
body.home div.top_text > div{
  margin-bottom: 32px;
}
body.home div.top_text > div:last-child{
  margin-bottom: 48px;
}
ul.mobile-header-menu-buttons{
  background-color: var(--main-color);
  height: 60px;
}
.main_visual{
  /* aspect-ratio: 16/9; */
  overflow: hidden;
  height: calc(100vh - 80px);
}
#top4{
  padding-bottom: 64px;
}
#top4 p{
  margin: 0;
}
.grid2{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.top_text{
  padding: 0 20%;
}
#humberger_menu,
#sp_nav{
  display: none;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
  /* #header-container-in{
    height: 0px;
  } */
   html{
    scroll-padding-top: 84px;
   }
  .content{
    margin-top: 60px;
  }
  #header-container-in{
    height: 60px;
    position: relative;
  }
  .header-container-in.hlt-top-menu .logo-header img{
    height: 50px;
  }

  #humberger_menu{
    display: block;
    width: 60px;
    height: 60px;
    background-color: var(--main-color);
    position: absolute;
    top: 0;
    right: 0;
  }

  #humberger_menu span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 25%;
    width: 50%;
    height: 3px;
    border-radius: 2px;
    background-color: #FFFFFF;
  }
  #humberger_menu span:nth-of-type(1) {
    top: calc(50% - 12px);
    transform: translate(0, -50%);
  }
  #humberger_menu span:nth-of-type(2) {
    top: 50%;
    transform: translate(0, -50%);
  }
  #humberger_menu span:nth-of-type(3) {
    top: calc(50% + 12px);
    transform: translate(0, -50%);
  }
  #humberger_menu.active span:nth-of-type(1) {
    top: 50%;
    transform: translate(0, -50%) rotate(-45deg);
  }
  #humberger_menu.active span:nth-of-type(2) {
    opacity: 0;
  }
  #humberger_menu.active span:nth-of-type(3) {
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
  }
  #sp_nav{
    display: block;
    position: absolute;
    background-color: var(--main-color);
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    top: 60px;
    left: 0;
    transform: translate(100%, 0);
    transition: all .4s;
    z-index: 1000;
  }
  #humberger_menu.active+#sp_nav {
    transform: translate(0, 0);
  }
  .sp_nav_wrapper {
    width: 100%;
    height: auto;
    position: absolute;
    top: calc(50% - 60px);
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #sp_nav .sp_nav_wrapper .menu{
    list-style-type: none;
    padding: 0;
    width: 90%;
    margin: 0 auto 32px;
  }
  #sp_nav .sp_nav_wrapper .menu li{
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #FFFFFF;
  }
  #sp_nav .sp_nav_wrapper .menu li a{
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.5rem;
  }

  .top_text{
    padding: 0 5%;
  }

  .grid2{
    grid-template-columns: 1fr;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
