@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
body * {
  font-family: "Noto Serif JP", serif;
}
/* ヘッダー */
.header-container-in.hlt-top-menu .logo-header img {
  padding: 8px 0;
}
#header-container.header-container {
  z-index: 99;
}

/* フッター */
#footer a:not(.sns-button):hover {
  background-color: rgba(255,255,255,.1);
}

body .heroArea {
  width: 100%;
  aspect-ratio: 4/1;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}
body.home .heroArea {
  /* height: 35vw; */
  aspect-ratio: auto;
}
/* 固定ページ MV用 */
body:not(.home) .heroArea::after {
  content: '';
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.3);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
body .heroArea img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  object-fit: cover;
  object-position: center center;
}
body.about .heroArea img {
  filter: blur(3px);
}
body .heroArea .textArea {
  max-width: 1200px;
  width: 97%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%) translateY(-50%);
  color: #FFF;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8),
              0 0 10px rgba(0, 0, 0, 0.5),
              0 0 15px rgba(0, 0, 0, 0.3);
}
body .heroArea .textArea h1 {
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-weight: 600;
}
body.home .heroArea .textArea h1 {
  text-align: center;
}
body .heroArea .textArea h1 span {
  display: block;
  font-size: 16px;
  font-weight: 400;
}

/* 見出し */
.article h2 {
  padding: 0 0 15px 15px;
  position: relative;
  background-color: transparent;
  color: #000;
  border-bottom: 1px solid #5c4932;
  border-radius: 0;
  font-size: 21px;
}
.article h2::before {
  content: '';
  display: inline-block;
  width: 10em;
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  border-bottom: 2px solid #5c4932;
}
.article h3 {
  position: relative;
  padding: 5px 15px 8px;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 2px solid #dac68e;
}
.article h3::after {
  content: '';
  width: 10em;
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 0;
  background-color: #5c4932;
}

.article h4,
.article h5,
.article h6 {
  position: relative;
  border-color: #dac68e;
}
:root {
  --h4Color: #dac68e;
}
.article h4 {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  border-left: 5px solid var(--h4Color);
  border-top: none;
  border-right: none;
  border-bottom: 1px solid var(--h4Color);
}
.article h4::after,
.article h4::before {
  display: block;
  width: 5px;
  height: 13px;
  background-color: var(--h4Color);
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.article h4::after {
  background-color: #FFF;
  left: -5px;
}


/* page setting */
body.page #content {
  margin-top: 0;
}
body.page #content #content-in #main {
  padding-top: 0;
}

/* company-page */
body.company #main #overview .tbl1 table td h6 {
  padding: 0;
  margin: 0;
  border-bottom:0;
  font-size: 16px;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  
  /* PC-header */
  .header-container-in.hlt-top-menu {
    display: none;
  }

}

/*834px以下*/
@media screen and (max-width: 834px){

  .mobile-menu-buttons .menu-caption {
    display: none;
  }
  .mobile-menu-buttons .search-menu-button.menu-button {
    order: 2;
  }
  .mobile-menu-buttons .logo-menu-button.menu-button {
    padding-left: 0.5em;
  }
  .mobile-menu-buttons .navi-menu-button.menu-button {
    order: 3;
  }
  .mobile-menu-buttons .menu-icon {
    font-size: 24px;
  }
  .mobile-menu-buttons .navi-menu-close-button {
    margin-right: 0.5em;
    color: #000;
    text-align: right;
  }
  .mobile-header-menu-buttons #search-menu-open {
    display: none;
  }

}/* END-width 834px */

/*480px以下*/
@media screen and (max-width: 480px){
  
  body.home .heroArea {
    height: auto;
  }

  /* モバイルヘッダー */
  .mobile-menu-buttons {
    color: #FFF;
    background-color: #b69f5e;
  }
  .mobile-menu-buttons .menu-button {
    padding: 8px 0;
  }


}/* END-max-width:480px */

/* モバイル用 */
.navi-menu-content {
  left: auto;
  right: 0;
  -webkit-transform: translateX(105%);
  transform: translateX(105%);
}
.menu-drawer a {
  font-family: "Noto Serif JP", serif;
}