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

/************************************
** 子テーマ用のスタイル
************************************/

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  main.main, div.sidebar {
    padding: 0;
  }
}

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


/* ==================================================
  ■ common
================================================== */

:root {
  --i_bg_color: #fff;
  --i_txt_color: #333;
  --i_main_color: #6d8470;
  --i_sub_color: #9cbda0;
  --i_sub2_color: #f4f4f4;
  --i_btn_color: #333;
  --i_btn_hover_color: #fff;
  --i_btn_border_color: #333;
  --i_btn_hover_border_color: #333;
  --i_btn_txt_color: #fff;
  --i_btn_hover_txt_color: #333;
  --i_shadow_color: rgba(0,0,0,0.05);
  --i_border_color: rgba(125,125,125,0.3);
  --i_noimg_bg_color: #eee;
}

body {
  font-family: "Roboto Condensed", "Zen Kaku Gothic New", sans-serif;
  font-weight: normal !important;
  letter-spacing: 0.1rem;
}
.body .content {
  margin-top: 0;
}
.body .main {
  padding: 0;
}
.body .article {
  margin-bottom: 0;
}
.entry-content {
  margin-top: 0;
  margin-bottom: 0;
}


/*本文*/

a {
  color: var(--i_sub_color);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
a:hover {
  color: var(--i_main_color);
  text-decoration: none;
}
p, .article ul li, .article ol li, .wp-block-button__link,
.wp-block-table td, .wp-block-table th {
  font-size: clamp(0.75rem, 0.663rem + 0.43vw, 0.875rem);
}
.article p {
  margin-bottom: 0;
}


/*見出し*/

* + .uk-h1, * + .uk-h2, * + .uk-h3, * + .uk-h4, * + .uk-h5, * + .uk-h6, * + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
  margin-top: 0;
}
.article h2, .article h3, .article h4, .article h5, .article h6 {
  font-family: inherit;
  font-weight: normal;
}
.article h2 {
  background-color: transparent;
  font-size: clamp(1.5rem, 1.24rem + 1.3vw, 1.875rem);
  margin-bottom: 0;
  padding: 0;
}
.article h3 {
  font-size: clamp(1.125rem, 0.865rem + 1.3vw, 1.5rem);
}
.article h4 {
  font-size: clamp(0.875rem, 0.615rem + 1.3vw, 1.25rem);
}
.article h5 {
  font-size: clamp(0.75rem, 0.49rem + 1.3vw, 1.125rem);
}
.article h6 {
  font-size: clamp(0.625rem, 0.365rem + 1.3vw, 1rem);
}


/* 編集画面 */




/* header
---------------------------------------------------- */

#header-container-in {
  width: 100vw;
  padding: 10px 3vw;
}
.navi-in > ul {
  padding: 0 1em;
}
.navi-in > ul li {
  height: 45px;
}
.navi-in a {
  font-size: clamp(0.75rem, 0.663rem + 0.43vw, 0.875rem);
}
.sub-caption {
  font-family: "Roboto Condensed", "Zen Kaku Gothic New", sans-serif;
}

#header-container .contact_mail {
  margin-left: 1.4em;
}
#header-container .contact_mail a {
  background-color: var(--i_btn_hover_color);
  border: 1px solid var(--i_btn_hover_border_color);
  color: var(--i_btn_hover_txt_color) !important;
  text-align: center;
}
#header-container .contact_mail a:hover {
  background-color: var(--i_btn_color) !important;
  border-color: var(--i_btn_border_color);
  color: var(--i_btn_txt_color) !important;
}

@media screen and (max-width: 1023px) {
  .mobile-header-menu-buttons {
    box-shadow: none;
    flex-direction: row-reverse;
    padding: 5px 0;
  }
  .go-to-top-visible .mobile-header-menu-buttons {
    border-bottom: 1px solid var(--i_border_color);
  }
  .mobile-menu-buttons .logo-menu-button {
    justify-content: flex-start;
    padding-left: 3vw;
  }
  .mobile-menu-buttons .search-menu-button {
    display: none;
  }
  .navi-menu-button .menu-open {
    padding: 10px;
    position: relative;
    width: 50px;
  }
  .mobile-menu-buttons .menu-icon {
    border-top: 1px solid var(--i_txt_color);
  }
  .fa-bars::before {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 20px);
    height: 1px;
    top: 20px;
    left: 10px;
    background-color: var(--i_txt_color);
  }
  .fa-bars::after {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 20px);
    height: 1px;
    top: 30px;
    left: 10px;
    background-color: var(--i_txt_color);
  }
  .mobile-menu-buttons .menu-caption {
    color: transparent;
    font-size: 1px;
    position: relative;
  }
  .mobile-menu-buttons .menu-caption::before {
    content: "MENU";
    display: block;
    position: absolute;
    width: 100%;
    height: auto;
    color: var(--i_txt_color);
    font-size: 9px;
    text-align: center;
  }
  .menu-close-button {
    position: relative;
  }
  .fa-close::before, .fa-close::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 20px;
    top: 40%;
    left: 35px;
    background-color: var(--i_txt_color);
    transform: rotate(45deg);
  }
  .fa-close::after {
    transform: rotate(-45deg);
  }
  .mobile-menu-buttons .contact_mail a {
    display: inline-block;
    background-color: var(--i_btn_hover_color);
    border: 1px solid var(--i_btn_hover_border_color);
    color: var(--i_btn_hover_txt_color) !important;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
  }
}


/* footer
---------------------------------------------------- */

.footer {
  margin-top: 0;
}
.footer-widgets {
  align-items: center;
  justify-content: space-between;
}
.footer-widgets.cf::after {
  display: none;
}
.footer-left, .footer-center, .footer-right {
  flex: 1;
  flex: 0 0 auto;
}
.footer_logo {
  max-height: 80px;
  width: auto;
}
footer .contact_mail {
  display: inline-block;
  background-color: var(--i_btn_color) !important;
  border: 1px solid var(--i_btn_border_color);
  margin-top: 1em;
}
footer .contact_mail a {
  background-color: var(--i_btn_color) !important;
  color: var(--i_btn_txt_color) !important;
  text-align: center;
  text-decoration: none;
  padding: 14px 20px;
}
footer .contact_mail a:hover {
  background-color: var(--i_btn_hover_color) !important;
  border-color: var(--i_btn_border_hover_color);
  color: var(--i_btn_hover_txt_color) !important;
}

.go-to-top-button {
  position: relative;
  background-color: var(--i_sub_color);
  border-radius: 0;
}
.fa-angle-double-up::before {
  content: "TOP";
  position: absolute;
  width: 100%;
  height: 10px;
  bottom: 7px;
  left: 1px;
  color: var(--i_bg_color);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1rem;
}
.fa-angle-double-up::after {
  content: "";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  top: 12px;
  left: calc(50% - 4.5px);
  border-top: 2px solid var(--i_bg_color);
  border-right: 2px solid var(--i_bg_color);
  transform: rotate(-45deg);
}

.copyright {
  font-size: 12px;
}

@media screen and (max-width: 834px) {
  .navi-footer-in > .menu-footer li.menu-item {
    border-left: 1px solid var(--i_border_color);
    padding: 10px;
    width: auto;
  }
  .navi-footer-in > .menu-footer li.menu-item:first-of-type {
    border-left: none;
  }
}
@media screen and (max-width: 480px) {
  .navi-footer-in > .menu-footer li.menu-item {
    border-top: 1px solid var(--i_border_color);
    border-left: 1px solid var(--i_border_color);
    margin: 0;
    padding: 10px;
    width: 46%;
  }
  .navi-footer-in > .menu-footer li.menu-item:nth-of-type(1),
  .navi-footer-in > .menu-footer li.menu-item:nth-of-type(2) {
    border-top: none;
  }
  .navi-footer-in > .menu-footer li.menu-item:nth-of-type(odd) {
    border-left: none;
  }
  .copyright {
    font-size: 10px;
  }
}


/* SEO
---------------------------------------------------- */

.article h1 {
  position: fixed;
  top: 6px;
  right: 4vw;
  margin: 0;
  font-size: 12px;
  opacity: 0;
}


/* 固有パーツ記述
---------------------------------------------------- */

/*文字サイズ*/
.has-small-font-size {
  font-size: clamp(0.75rem, 0.663rem + 0.43vw, 0.875rem) !important;
}
.has-medium-font-size {
  font-size: clamp(0.875rem, 0.615rem + 1.3vw, 1.25rem) !important;
}
.has-large-font-size {
  font-size: clamp(1.5rem, 1.24rem + 1.3vw, 1.875rem) !important;
}
.has-x-large-font-size {
  font-size: clamp(1.875rem, 1.356rem + 2.6vw, 2.625rem) !important;
}

/* btn */
.wp-block-button a {
  background-color: var(--i_btn_color);
  border: 1px solid var(--i_btn_border_color);
  color: var(--i_btn_txt_color);
  padding: 10px 20px;
  min-width: 200px;
  transition: all 0.3s ease-in-out;
}
.wp-block-button a:hover {
  background-color: var(--i_btn_hover_color);
  border-color: var(--i_btn_hover_border_color);
  color: var(--i_btn_hover_txt_color);
}
.wp-block-button.is-style-outline a {
  background-color: transparent;
  border: 1px solid var(--i_btn_hover_border_color);
  color: var(--i_btn_hover_txt_color);
  padding: 10px 20px;
  min-width: 200px;
  transition: all 0.3s ease-in-out;
}
.wp-block-button.is-style-outline a:hover {
  background-color: var(--i_btn_color);
  border: 1px solid var(--i_btn_border_color);
  color: var(--i_btn_txt_color);
}

/* 区切り線 */
.wp-block-separator {
  border-top: 1px solid var(--i_border_color);
  position: relative;
}

/* コンテンツ幅 */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1200px !important;
}

/* カバー */
.body .wp-block-cover {
  margin-bottom: 0;
  padding: 0;
}
.wp-block-cover, .wp-block-cover-image {
  min-height: 0;
}
.wp-block-cover .wp-block-cover__inner-container {
  padding-left: 3vw;
  padding-right: 3vw;
}

/* タイムライン */
.timeline-item-content {
  border-left: 1px solid var(--i_border_color);
}
.timeline-item::before {
  top: 18px;
  left: 99.5px;
  border: 5px solid #fff;
}
.timeline-item-title {
  font-size: clamp(0.875rem, 0.615rem + 1.3vw, 1.25rem) !important;
  font-weight: normal;
}
@media screen and (max-width: 480px) {
  .timeline-box .timeline {
    padding-left: 20px;
  }
  .timeline > li.timeline-item {
    border-left: 1px solid var(--i_border_color);
  }
  .timeline-item::before {
    width: 12px;
    height: 12px;
    top: 19px;
    left: -9.5px;
    border-width: 3px;
  }
  .timeline-item-content {
    border-left: none;
    padding-left: 15px;
  }
}

/* ラベルボックス */
.label-box-content {
  border-width: 2px;
  padding: 1em 20px 0;
}

/* リスト */
.article ul {
  padding-left: 15px;
}

/* テーブル */

.wp-block-table td, .wp-block-table th {
  padding: 10px;
}
.wp-block-table.br_nowrap td:first-of-type {
  white-space: nowrap;
}


/* ==================================================
  ■ kit
================================================== */

/* 見出し
---------------------------------------------------- */

.article .hp_1 {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 50px;
}
.article .hp_1::before {
  content: "";
  display: block;
  position: absolute;
  width: 50px;
  height: 5px;
  bottom: 10px;
  left: calc(50% - 25px);
  background-color: var(--i_sub_color);
}
.article .hp_1::after {
  content: "";
  display: block;
  position: absolute;
  width: 25px;
  height: 5px;
  bottom: 10px;
  left: calc(50% - 25px);
  background-color: var(--i_bg_color);
  opacity: 0.5;
}
.article .hp_1 h2 {
  padding: 0;
}

.article .hp_2 {
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 60px;
}
.article .hp_2::before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 30px;
  bottom: 10px;
  left: calc(50% - 2.5px);
  background-color: var(--i_sub_color);
}
.article .hp_2::after {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 15px;
  bottom: 10px;
  left: calc(50% - 2.5px);
  background-color: var(--i_bg_color);
  opacity: 0.5;
}
.article .hp_2 h2 {
  padding: 0;
}


/* コンテンツ最大幅
---------------------------------------------------- */

.mw_900 .wp-block-cover__inner-container {
  max-width: 900px;
}
.mw_700 .wp-block-cover__inner-container {
  max-width: 900px;
}
.mw_500 .wp-block-cover__inner-container {
  max-width: 900px;
}


/* img最大幅
---------------------------------------------------- */

.img_mw_700 img {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}
.img_mw_500 img {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}
.img_mw_400 img {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}
.img_mw_300 img {
  max-width: 300px;
  margin: 0 auto;
  width: 100%;
}
.img_mw_100 img {
  max-width: 100px;
  margin: 0 auto;
  width: 100%;
}


/* MV
---------------------------------------------------- */

.mv_outer {
  width: 94vw;
  height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 0;
}
.mv_outer .wp-block-cover__inner-container {
  width: auto;
  max-width: 90%;
  margin-left: auto;
  padding: 3vw;
  background-color: #fff;
}
.mv_outer .wp-block-cover__inner-container h2 {
  background-color: transparent;
  padding: 0;
}
@media (max-width: 781px) {
  .mv_outer {
    width: 100vw;
  }
}


/* ページタイトル
---------------------------------------------------- */

.pagettl_outer {
  width: 94%;
  margin: 0 auto;
}
.article .pagettl_outer h2 {
  font-weight: bold;
  padding-bottom: 0;
}
.page:not(.home) .article .pagettl_outer h2::before, .page:not(.home) .article .pagettl_outer h2::after,
.single .article .pagettl_outer h2::before, .single .article .pagettl_outer h2::after {
  display: none;
}
@media (max-width: 781px) {
  .pagettl_outer {
    min-height: 300px !important;
  }
}


/* レスポンシブ_flexカラム数
---------------------------------------------------- */

/*2カラム*/
@media (max-width: 781px) {
  .wp-block-columns.tab_col2:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: calc(50% - 0.75rem) !important;
    flex-shrink: 0;
  }
}
/*3カラム*/
@media (max-width: 781px) {
  .wp-block-columns.tab_col3:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: calc(32% - 0.75rem) !important;
    flex-shrink: 0;
  }
}


/* レスポンシブ_flex上下反転
---------------------------------------------------- */

@media (max-width: 781px) {
  .tab_flex_reverse {
    flex-direction: column-reverse;
  }
}


/* レスポンシブ_改行
---------------------------------------------------- */

.sp_br {
  display: none;
}
@media screen and (max-width: 480px){
  .sp_br {
    display: block;
  }
}


/* レスポンシブ_文字揃え
---------------------------------------------------- */

/* 中央揃え */
@media screen and (max-width: 480px){
  .sp_align_center {
    text-align: center;
  }
}
/* 左揃え */
@media screen and (max-width: 480px){
  .sp_align_left {
    text-align: left;
  }
}
/* 右揃え */
@media screen and (max-width: 480px){
  .sp_align_right {
    text-align: right;
  }
}


/* ==================================================
  ■ content
================================================== */

/* 日付を非表示 */
.page .date-tags, .home.page .date-tags {
  display: none;
}


/* 見出し
---------------------------------------------------- */

.page:not(.home) .article h2 {
  border: none;
  padding: 0 0 30px;
  position: relative;
}
.page:not(.home) .article h2::before {
  content: "";
  display: block;
  position: absolute;
  width: 50px;
  height: 5px;
  bottom: 10px;
  left: 0;
  background-color: var(--i_sub_color);
}
.page:not(.home) .article h2::after {
  content: "";
  display: block;
  position: absolute;
  width: 25px;
  height: 5px;
  bottom: 10px;
  left: 0;
  background-color: var(--i_bg_color);
  opacity: 0.5;
}
.page:not(.home) .article h2.has-text-align-center::before {
  left: calc(50% - 25px);
}
.page:not(.home) .article h2.has-text-align-center::after {
  left: calc(50% - 25px);
}
.page:not(.home) .article h2.has-text-align-right::before {
  left: auto;
  right: 0;
}
.page:not(.home) .article h2.has-text-align-right::after {
  left: auto;
  right: 0;
}
.page:not(.home) .article h3 {
  background-color: #f4f6f4;
  border: none;
  border-left: 3px solid var(--i_sub_color);
}
.page:not(.home) .article h4 {
  background-color: var(--i_sub_color);
  border: none;
  color: var(--i_bg_color);
  outline: 1px solid var(--i_bg_color);
  outline-offset: -5px;
  padding: 15px;
}
.page:not(.home) .article h5 {
  border-bottom: 1px solid var(--i_main_color);
  padding-left: 30px;
  position: relative;
}
.page:not(.home) .article h5::before {
  content: "";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  top: calc(50% - 4px);
  left: 10px;
  background-color: var(--i_main_color);
  border-radius: 50%;
}
.page:not(.home) .article h6 {
  /*display: inline-block;*/
}


/* ==================================================
  ■ form
================================================== */

.wpcf7 {
  max-width: 900px !important;
}
.article .wpcf7-form p {
  margin-bottom: 1.8em;
}
span.essential {
  margin-left: 10px;
  padding: 3px 8px;
  background: #d90000;
  border-radius: 5px;
  color: #fff;
  font-size: clamp(8px, 1.3vw, 12px);
  font-weight: bold;
  vertical-align: text-bottom;
}
button, input:not([type="checkbox"]):not([type="submit"]), select, textarea {
  margin-top: 10px;
}
.wpcf7-list-item {
  margin-left: 0;
}
.wpcf7-list-item {
  margin-right: 20px;
}

@media (max-width: 1080px) {
  input {
    font-size: 16px !important;
  }
}


/* ==================================================
  ■ 編集画面用
================================================== */

#wpadminbar {
  /*display: none;*/
}