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

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

/* 全体 */
html { scroll-behavior: smooth; }
.content { overflow-x: hidden; }

.article h2 { color: #000; background: none;}
.article h2 span {
  position: relative;
}
.article h2 span:after {
  position: absolute;
  content: '';
  width: calc(100% + 1em);
  height: 0;
  display: inline-block;
  bottom: -5px;
  left: -0.5em;
  border-top: solid 2px #fccc00;
}
.article h3 { border: none;}


/* リンクボタン */
.link_btn {
  display: block;
  font-size: 0.9em;
  color: #000;
  text-align: center;
}
.link_btn a {
  color: #000;
  border: solid 1px #ccc;
  padding: 4px 10px;
  display: inline-block;
  width: 120px;
  text-align: center;
  background: #ffe100;
}
.link_btn a:hover {
  opacity: 0.7;
}

/* スクロールずれ修正 */
:root {
  scroll-padding: 135px;
}
@media screen and (max-width: 1201px){
:root {
  scroll-padding: 60px;
}
}


/* ヘッダー */
/* ヘッダー - ロゴ */
.logo-header img {
  align-items: center;
  display: flex;
  height: 100%;
}
/* ヘッダー - メニュー */
.navi-in > ul li {
  height: 45px;
}
#navi .navi-in a:hover {
  background-color: rgba(255,255,255,.5);
}

/* ヘッダー - モバイルメニュー */
.slicknav_menu {
  background: #ccc;
}
.slicknav_btn {
  background-color: #fff;
  border: solid 1px #aaa;
  margin: 5px 5px 0 0;
}
.slicknav_menu .slicknav_menutxt {
  color: #000;
  text-shadow: none;
}
.slicknav_menu .slicknav_icon-bar {
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #000;
}
.slicknav_nav a {
  font-weight: 600;
  margin: 0 5px;
  color: #000;
}
.slicknav_nav li {
  border-bottom: solid 1px #ccc;
}
.slicknav_nav a:hover, .slicknav_nav .slicknav_row:hover {
  border-radius: 0;
  background: none;
  color: #00B0F0;
}
.slicknav_nav .sub-menu > li {
  border: none;
  border-top: solid 1px #ccc;
}
.slicknav_item.slicknav_row {
  display: flex;
  align-items: baseline;
}

/* フッター */
.footer {
  border-top: solid 2px #fccc00;
  margin: 0;
}
/* フッター - ロゴ */
.footer-bottom {
  display: flex;
  flex-direction: column;
}
.footer-bottom-logo, .footer-bottom-content {
  position: static;
  float: none;
  text-align: center;
}
.footer-bottom-logo img {
  height: auto;
  max-height: 25px;
  margin-bottom: 15px;
}

/* メインコンテンツ */
section {
  padding: 100px 0;
  position: relative;
  margin: 0 !important;
}
section:first-child {
  padding-top: 50px;
}
section:last-child {
  /* padding-bottom: 200px; */
}
section::before {
  position: absolute;
  content: '';
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  z-index: -1;
}

/* メインコンテンツ - 記事一覧 - サムネなし */
.list.list_nothumb {
  width: 100%;
  border-top: solid 1px #fccc00;
  background: #fff;
  margin-bottom: 60px;
  gap: 0;
}
.list.list_nothumb article {
  border-bottom: dashed 1px #fccc00;
}
.list.list_nothumb article:last-of-type {
  border-bottom: solid 1px #fccc00;
}
.list.list_nothumb article p {
  line-height: 1;
  padding: 10px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}
.list.list_nothumb article a {
  background: #fff;
  color: #000;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.list.list_nothumb article p .post_time, .list.list_nothumb article p a.post_cat {
  margin-right: 30px;
}
.list.list_nothumb article p .post_time {
  font-size: 90%;
  width: 100px;
}
.list.list_nothumb article a.post_cat {
  font-size: 80%;
  padding: 5px 0;
  border: solid 1px #000;
  width: 70px;
  display: inline-block;
  text-align: center;
}
.list.list_nothumb article a.post_title {
  color: #000000;
  width: calc(100% - 130px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* メインコンテンツ - 問い合わせバナー */
.btn_contact {
  flex: 1;
  max-width: 300px;
  position: relative;
}
.btn_contact a {
  width: 100%;
  font-weight: bold;
  position: relative;
}
.btn_contact a:hover {
  opacity: 0.7;
}

/* メインコンテンツ - 問合せフォームCF7 */
.wpcf7-form p {
  margin: 0;
}
.cf7_form {
  display: flex;
  padding: 10px 0;
  border-bottom: dashed 1px #fccc00;
}
.wpcf7-form p:first-of-type .cf7_form {
  border-top: solid 1px #fccc00;
}
.cf7_form.cf7_form_last {
  border-bottom: solid 1px #fccc00;
}
.cf7_form_ttl {
  flex: 0 0 220px;
  align-self: center;
}
.required {
  padding: 3px 6px;
  border: solid 1px var(--main_color) !important;
  background: var(--main_color);
  font-size: 12px;
  font-weight: 500;
}
.notrequired {
  padding: 3px 6px;
  border: solid 1px #000 !important;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
}
.cf7_form_form {
  flex: 1;
}
.cf7_form_form_occupation,.cf7_form_form_job {
  display: flex;
  flex-wrap: wrap;
}
p.replynotice {
  text-align: center;
  font-size: 12px;
  margin-top: 1em;
}
.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous {
  font-weight: bold;
  margin: 0 auto;
}
.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous {
  -webkit-transition: all .3s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 225px;
  height: 48px;
  margin: 30px auto 0;
  border: solid 1px #ccc !important;
  outline: none;
  background: #ffe100;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s;
}
.wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-previous:hover {
  opacity: 0.7;
}

/* HP アピールエリア */
.appeal {
  aspect-ratio: 2000 / 1125;
}
.appeal .appeal-in {
  min-height: unset;
  height: 100%;
}
.appeal-content {
  max-width: unset;
  background-color: transparent;
  padding: 0;
  text-shadow: 0 0 min(2vw,20px) #fff,0 0 min(4vw,40px) #fff;
}
.appeal-title {
  font-size: 2.7em;
  margin-bottom: 0.5em;
}
.appeal-message {
  font-size: 1.2em;
}

/* HP ヘッダー */
.home .entry-title, .home .date-tags {
  display: none;
}

/* HP 事業内容 */
section#hp_business {
  padding-bottom: 0;
}
section#hp_business::before {
  background: #f8f8f8;
}
.hp_business_wrap {
  gap: 40px;
}
.hp_business {
  gap: 30px;
  margin-bottom: 0 !important;
}
.wp-block-group.hp_business_txt_wrap {
  width: 100%;
  max-width: 850px;
  gap: 20px;
  padding-bottom: 100px;
  margin: 0 auto;
}
p.hp_business_txt {
  flex: 0 0 calc(50% - 10px);
  height: 90px;
  background: #fff;
  box-sizing: border-box;
  padding: 5px;
  border: solid 2px #fccc00;
  margin: 0;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
  font-size: 15px;
}

.hp_business_img {
  position: relative;
  width: 100vw;
  aspect-ratio: 1 / 1;
  max-height: 520px;
  left: calc(50% - 50vw);
  background: url() center center / cover #ddd;
}
.hp_business_img { /* 画像きたら外す */
  display: none !important;
}

/* HP 施工実績 */
.new-list-box .is-list-horizontal.large-thumb .widget-entry-card-link, .new-list-box .is-list-horizontal.large-thumb-on .widget-entry-card-link {
  max-width: 400px;
}
.new-list-box .widget-entry-cards .a-wrap {
   padding: 20px;
}
.new-entry-card .post-update {
  display: none;
}

/* HP 代表挨拶 */
.hp_greeting_inner {
  max-width: 900px;
}

/* HP 会社情報 */
.hp_company_wrap {
  margin-bottom: 60px !important;
  gap: 0;
}
dl.hp_company {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
}
.hp_company_dt, .hp_company_dd {
  padding: 10px 5px;
}
.hp_company_dt {
  flex: 0 0 110px;
  text-align: center;
  font-weight: bold;
  /* background: #ffe100; */
  background: #fff;
  /* border-bottom: solid 1px #fff; */
  border-bottom: dashed 1px #fccc00;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hp_company_dd {
  flex: 1 1 auto;
  border-bottom: dashed 1px #fccc00;
  margin: 0 !important;
}
.hp_company:first-child .hp_company_dt, .hp_company:first-child .hp_company_dd {
  border-top: solid 1px #fccc00;
}
.hp_company:last-child .hp_company_dt, .hp_company:last-child .hp_company_dd {
  border-bottom: solid 1px #fccc00;
}

/* 下層P ヘッダー */
.entry-title, .archive-title {
  text-align: center;
}
body.page .date-tags {
  display: none;
}

/* 施工実績 投稿一覧 */
.ect-3-columns .entry-card-wrap {
  padding: 20px;
}
.ect-vertical-card .entry-card-wrap .entry-card-content {
  padding: 0.4em 0;
}

/* NEWS 個別投稿 */
.single-news .pager-post-navi a figure {
  display: none;
}

/* 暫時非表示 */


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
.slicknav_menu {
  background: #fff;
}
#navi .navi-in > .menu-mobile {
display: none;
}
}

/*834px以下*/
@media screen and (min-width: 835px) {
 .pcnone{display:none;}
}
@media screen and (max-width: 834px) {
 .spnone{display:none;}
	
/* HP アピールエリア */
.appeal-title {
  font-size: 1.7em;
}
.appeal-message {
  font-size: 1em;
}

/* メインコンテンツ */
section {
  padding: 45px 0;
}
section:first-child {
  padding-top: 10px;
}
section:last-child {
  /* padding-bottom: 120px; */
}

.wp-block-group.hp_business_txt_wrap {
  padding-bottom: 45px;
}
	

/* メインコンテンツ - 記事一覧 - サムネなし */
.list.list_nothumb {
  margin-bottom: 45px;
}
.list.list_nothumb article p {
  padding: 10px;
  width: calc(100% - 20px);
}
.list.list_nothumb article p .post_time {
  width: unset;
  margin-right: 20px;
}
.list.list_nothumb article p .post_title {
  width: 100%;
  margin-top: 10px;
}

/* メインコンテンツ - 問い合わせバナー */
.btn_contact_wrap {
  gap: 20px;
}

/* メインコンテンツ - 問合せフォームCF7 */
.wpcf7 form {
  gap:1em;
}
.cf7_form {
  flex-wrap: wrap;
}
.cf7_form_ttl, .cf7_form_form {
  flex: 100%;
}
.wpcf7 form label br {
  display: none;
}
}

/*750px以下*/
@media screen and (max-width: 750px) {
/* HP 事業内容 */
.hp_business_txt_wrap {
	max-width: 500px;
}
}

/*480px以下*/
@media screen and (max-width: 480px) {
/* メインコンテンツ - 問い合わせバナー */
.btn_contact_wrap {
  flex-direction: column;
}
.btn_contact {
  width: 100%;
}
	
/* HP アピールエリア */
.appeal-title {
  font-size: 1.4em;
}

/* HP 事業内容 */
.wp-block-group.hp_business_txt_wrap {
 gap: 10px;
}
p.hp_business_txt {
  flex: 0 0 calc(50% - 5px);
  font-size: 14px;
}

/* HP 施工実績 */
.new-list-box .is-list-horizontal.large-thumb .widget-entry-card-link, .new-list-box .is-list-horizontal.large-thumb-on .widget-entry-card-link {
  max-width: 100%;
}
.new-list-box .widget-entry-cards .a-wrap {
   padding: 10px;
}

/* 施工実績一覧 */
.ect-3-columns .entry-card-wrap {
   padding: 7px;
}
}