@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;
}
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }
}

/* ---------- トップページ：ヒーロー ---------- */
.hero-eyebrow{
  margin-bottom: 4px;
  color: #7aa6c2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.hero-catch{
  color: #243447;
  font-size: 30px;
  line-height: 1.5;
}
.hero-status{
  margin: 16px 0 24px !important;
}

/* ---------- ボタン ---------- */
.btn-primary .wp-block-button__link,
.btn-secondary .wp-block-button__link{
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary .wp-block-button__link{
  background: #243447;
  border: 2px solid #243447;
  color: #fff;
}
.btn-secondary .wp-block-button__link{
  background: #fff;
  border: 2px solid #243447;
  color: #243447;
}
.btn-primary .wp-block-button__link:hover,
.btn-secondary .wp-block-button__link:hover{
  opacity: .85;
}

/* ---------- 地元事業者向けバナー ---------- */
.local-banner{
  margin: 32px 0 48px;
  padding: 24px 28px;
  background: #fff7ed;
  border: 2px solid #f97316;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.12);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.local-banner:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(194, 65, 12, 0.2);
}
.local-banner > *{
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.local-banner-label{
  display: inline-block;
  margin-bottom: 12px !important;
  padding: 6px 16px;
  background: #c2410c;
  border-radius: 9999px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.local-banner-title{
  margin: 0 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}
.local-banner-title a{
  color: #243447;
  text-decoration: none;
}
.local-banner-title a:hover{
  text-decoration: none;
}

/* ---------- WORKS：説明リストの点を消す ---------- */
.cards ul:not(.tags){
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.cards ul:not(.tags) li{
  list-style: none !important;
  margin-bottom: 4px;
}

/* ---------- WORKS：画像なしカード（改修・保守） ---------- */
.cards.cards-text{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-bottom: 40px;
}
.cards.cards-text > .wp-block-group{
  display: block;
  padding: 28px 0 0;
}
.cards.cards-text > .wp-block-group > *{
  padding-left: 20px;
  padding-right: 20px;
}
.cards.cards-text h3{
  padding-right: 6.5em;
}
@media (max-width: 767px){
  .cards.cards-text{
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ---------- 地元事業者向けページ ---------- */
.local-lead{
  color: #c2410c;
  font-size: 26px;
  line-height: 1.5;
}
.checklist,
.question-list,
.stack{
  list-style: none !important;
  margin-left: 0 !important;
  padding: 0 !important;
}
.checklist li{
  position: relative;
  margin-bottom: 10px;
  padding: 12px 16px 12px 48px;
  background: #fff7ed;
  border-radius: 8px;
  list-style: none !important;
}
.checklist li::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid #c2410c;
  border-radius: 4px;
  background: #fff;
}
.stack{
  counter-reset: stack;
}
.stack li,
.question-list li{
  margin-bottom: 10px;
  padding: 12px 16px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
  list-style: none !important;
}
.stack li strong{
  display: inline-block;
  min-width: 7em;
  color: #243447;
}
.question-list{
  counter-reset: question;
}
.question-list li{
  counter-increment: question;
  font-weight: 700;
}
.question-list li::before{
  content: "Q" counter(question);
  margin-right: 10px;
  color: #c2410c;
}
.faq-q{
  margin-bottom: 4px !important;
  color: #243447;
  font-weight: 700;
}
.faq-q::before{
  content: "Q. ";
  color: #c2410c;
}
.sources{
  margin-top: 48px;
  color: #666;
  font-size: 12px;
}

/* ---------- お問い合わせフォーム（Contact Form 7） ---------- */
.wpcf7-form p{
  margin-bottom: 28px;
}
.wpcf7-form label,
.wpcf7-form .cf-label{
  display: block;
  color: #243447;
  font-weight: 700;
}
.wpcf7-form .required,
.wpcf7-form .optional{
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
}
.wpcf7-form .required{
  background: #c2410c;
  color: #fff;
}
.wpcf7-form .optional{
  background: #e5e7eb;
  color: #555;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea{
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus{
  border-color: #243447;
  outline: 2px solid rgba(36, 52, 71, 0.2);
}
.wpcf7-form .cf-group .wpcf7-form-control-wrap{
  display: block;
  margin-top: 10px;
}
.wpcf7-form .wpcf7-radio,
.wpcf7-form .cf-group .wpcf7-checkbox{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.wpcf7-form .wpcf7-list-item{
  margin: 0;
}
.wpcf7-form .wpcf7-radio label,
.wpcf7-form .cf-group .wpcf7-checkbox label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #fff;
  font-weight: 400;
  cursor: pointer;
}
.wpcf7-form .wpcf7-radio label:has(input:checked),
.wpcf7-form .cf-group .wpcf7-checkbox label:has(input:checked){
  border-color: #243447;
  background: #eef3f8;
  font-weight: 700;
}
.wpcf7-form .cf-consent{
  margin-bottom: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  text-align: center;
}
.wpcf7-form .cf-group p,
.wpcf7-form .cf-consent p{
  margin: 0;
}
.wpcf7-form .cf-group{
  margin-bottom: 28px;
}
.wpcf7-form .cf-consent label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}
.wpcf7-form .cf-consent input{
  width: 18px;
  height: 18px;
}
.wpcf7-form .wpcf7-turnstile{
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.wpcf7-form .wpcf7-submit{
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 14px;
  border: none;
  border-radius: 9999px;
  background: #243447;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.wpcf7-form .wpcf7-submit:hover{
  opacity: .85;
}
.wpcf7-form .wpcf7-submit:disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* ---------- トップページ：BLOG ---------- */
.blog-list{
  list-style: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border-top: 1px solid #e5e7eb;
}
.blog-list li{
  list-style: none !important;
  margin: 0;
  border-bottom: 1px solid #e5e7eb;
}
.blog-list a{
  display: flex;
  gap: 20px;
  padding: 14px 4px;
  color: #243447;
  text-decoration: none;
}
.blog-list a:hover .blog-title{
  text-decoration: underline;
}
.blog-date{
  flex-shrink: 0;
  color: #7aa6c2;
  font-weight: 700;
}
.blog-more{
  text-align: right;
}
@media (max-width: 480px){
  .blog-list a{
    flex-direction: column;
    gap: 2px;
  }
}

/* ---------- 補足・対応体制 ---------- */
.note{
  color: #555;
  font-size: 14px;
}
.work-style-list{
  list-style: none;
  padding: 0;
}
.work-style-list li{
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}
.work-style-list strong{
  display: inline-block;
  min-width: 6em;
  color: #243447;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  .hero-catch{
    font-size: 22px;
  }
  .local-banner{
    padding: 18px 16px;
  }
  .local-banner-label{
    font-size: 17px;
  }
  .local-banner-title{
    font-size: 17px;
  }
  .work-style-list strong{
    display: block;
  }
}
