@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: #003775;
  --sub-yellow-color: #facc00;
}
#header-container-in{
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 3;
  width: 100vw;
  height: 60px;
  /* background-color: var(--main-color); */
  background-color: rgb(255 255 255 / 0%);
  transition: all .2s;
}
#header-container-in.active{
  background-color: var(--main-color);
}
.header-container-in.hlt-top-menu .header{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site-name-text-link{
  font-family: 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'ＭＳ Ｐ明朝', 'MS PMincho', sans-serif;
}
.navi-in.wrap{
  width: 100vw;
}
#navi-in .main-menu-btn{
  position: fixed;
  display: block;
  height: 30px;
  top: 20px;
  right: 20px;
  z-index: 3;
}
#navi-in .main-menu-btn:hover{
  cursor: pointer;
}
#navi-in .main-menu-btn ul{
  padding-left: 0px;
}
#navi-in .main-menu-btn li{
  display: block;
  width: 28px;
  height: 1px;
  background-color: white;
  transition: .2s;
}
#navi-in .main-menu-btn li:nth-child(2){
  transform: translateY(9px);
}
#navi-in .main-menu-btn.active li:nth-child(2){
  width: 0px;
}
#navi-in .main-menu-btn.active li:first-child{
  transform: rotate(45deg);
  transform-origin: 0%;
}
#navi-in .main-menu-btn li:last-child{
  transform: translateY(18px);
}
#navi-in .main-menu-btn.active li:last-child{
  transform: translateY(18px) rotate(-45deg);
  transform-origin: 0%;
}


#navi-in .main-menu-wrapper{
  height: 0px;
  width: 0px;
  opacity: 0;
  overflow: hidden;
}
#navi-in .main-menu-wrapper.active{
  position: fixed;
  z-index: 10;
  top: 50px;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  background-color:var(--main-color);
  color: white;
}
#navi-in .main-menu-wrapper .main-menu{
  height: 0;
  overflow: hidden;
}
#navi-in .main-menu-wrapper.active .main-menu{
  height: auto;
  position: absolute;
  top: 40%;
  left: 50%;
  width: 80%;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px;
}
#navi-in .main-menu .main-menu-link{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}
#navi-in .main-menu .main-menu-link .main-menu-first,
#navi-in .main-menu .main-menu-link .main-menu-second{
  width: 30%;
  display: flex;
  flex-direction: column;
}
#navi-in .main-menu .main-menu-link .main-menu-first{
  margin-right: 10px;
}
#navi-in .main-menu .main-menu-link .main-menu-first a,
#navi-in .main-menu .main-menu-link .main-menu-second a{
  display: inline;
  text-align: center;
  font-size: 1.2rem;
  padding: 15px;
  /* border-bottom: 3px solid white; */
  position: relative;
}
#navi-in .main-menu .main-menu-link .main-menu-first a:hover,
#navi-in .main-menu .main-menu-link .main-menu-second a:hover{
  background-color: inherit;
}
#navi-in .main-menu .main-menu-link .main-menu-first a::after,
#navi-in .main-menu .main-menu-link .main-menu-second a::after{
  position: absolute;
  content: "";
  z-index: 1;
  background-color: white;
  width: 50%;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: .5s;
}
#navi-in .main-menu .main-menu-link .main-menu-first a:hover::after,
#navi-in .main-menu .main-menu-link .main-menu-second a:hover::after{
  width: 70%;
}
#navi-in .main-menu .main-menu-cta-btn{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 30px;
}
#navi-in .main-menu .main-menu-cta-btn a{
  display: block;
  width: 30%;
  text-align: center;
  border: 1px solid white;
  margin-right: 5px;
  margin-left: 5px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 1.3rem;
}

.content{
  margin-top: 50px;
}
.no-sidebar .content .main{
  border: none;
}

.sns-buttons{
  justify-content: flex-start;
}
.sns-share.ss-col-5 a{
  width: 50px;
}


.footer-left{
  width: 50%;
}
.footer-center{
  width: 24%;
}
.footer-center .menu a{
  padding: 5px;
}
#footer .footer-center .menu a:hover{
  color: var(--main-color);
}
.footer-right{
  width: 24%;
}
.footer-right .menu a{
  padding: 5px;
}
#footer .footer-right .menu a:hover{
  color: var(--main-color);
}
.footer-first .footer-content{
/*   padding: 20px 10%; */
  display: flex;
  justify-content: left;
  font-size: 1rem;
}
.footer-first .footer-content .about-office p{
  margin: 0px;
  line-height: 1.2;
  font-family: 'Helvetica','Arial','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}

.footer-first .footer-content .about-office p:first-child{
  font-size: 1.8rem;
  font-family: 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'ＭＳ Ｐ明朝', 'MS PMincho', sans-serif;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
  .header-container-in.hlt-top-menu {
    flex-direction: row;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  #navi-in .main-menu .main-menu-link {
    flex-direction: column;
  }
  #navi-in .main-menu .main-menu-link .main-menu-first,
  #navi-in .main-menu .main-menu-link .main-menu-second {
    width: 100%;
  }
  #navi-in .main-menu .main-menu-cta-btn {
    flex-direction: column;
  }
  #navi-in .main-menu .main-menu-cta-btn a {
    width: 100%;
    margin-bottom: 20px;
  }
  .sns-share.ss-top.ss-col-5 a{
    width: 50px;
  } 
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  #list .entry-card-wrap article{
    display: flex;
    flex-direction: column;
  }
  #list .entry-card-wrap article .entry-card-thumb{
    width: 100%;
  }
}
