@charset "UTF-8";
/* ==========================================================================
   components.css
   下層ページでも再利用する部品
   ========================================================================== */

/* --------------------------------------------------------------------------
   セクション見出し
   <div class="c-heading">
     <p class="c-heading__label">REASONS</p>
     <h2 class="c-heading__title">〇〇の<em>強調</em></h2>
   </div>
   修飾子：--left（左寄せ）/ --white（濃い背景上）/ --noline（下線なし）
   -------------------------------------------------------------------------- */
.c-heading {
  position: relative;
  margin-bottom: var(--heading-mb);
  padding-bottom: 35px;
  text-align: center;
}

.c-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 318px;
  max-width: 100%;
  height: 2px;
  background: var(--green-line);
  translate: -50% 0;
}

.c-heading__label {
  margin-bottom: 20px;
  color: var(--green);
  font-size: var(--fz-sub);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
}

.c-heading__title {
  font-size: var(--fz-h2);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-wide);
}

.c-heading__title em {
  color: var(--green);
}

.c-heading--left {
  text-align: left;
}

.c-heading--left::after {
  left: 0;
  translate: none;
}

.c-heading--white .c-heading__label,
.c-heading--white .c-heading__title,
.c-heading--white .c-heading__title em {
  color: var(--white);
}

.c-heading--white::after {
  background: var(--white);
}

.c-heading--noline {
  padding-bottom: 0;
}

.c-heading--noline::after {
  display: none;
}

/* 見出し（左寄せ・短い下線） */
.c-title-line {
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 0;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 142px 1px no-repeat;
  font-size: var(--fz-h2);
  letter-spacing: var(--ls-wide);
}

.c-title-line em {
  color: var(--green);
}

/* 番号付き見出し：<h3 class="c-num-title"><span class="u-num">01</span>タイトル</h3> */
.c-num-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--fz-h3);
  letter-spacing: var(--ls-mid);
}

.c-num-title .u-num {
  color: var(--green);
  font-size: 38px;
  line-height: 1;
}

/* 小見出し（グリーン） */
.c-subtitle {
  margin-bottom: 20px;
  color: var(--green);
  font-size: var(--fz-h3);
  letter-spacing: var(--ls-mid);
}

/* --------------------------------------------------------------------------
   テキスト
   -------------------------------------------------------------------------- */
.c-text > * + * {
  margin-top: 20px;
}

.c-list-dot {
  font-size: var(--fz-sub);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .04em;
}

.c-list-dot li {
  padding-left: 1em;
  text-indent: -1em;
}

.c-list-dot li::before {
  content: "・";
}

/* 注記 */
.c-note {
  color: var(--ink-sub);
  font-size: 12px;
  letter-spacing: 0;
}

.c-note li {
  padding-left: 1em;
  text-indent: -1em;
}

.c-note li::before {
  content: "※";
}

/* テキストリンク */
.c-text-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-text-link:hover {
  opacity: .7;
}

/* 矢印付きテキストリンク */
.c-link-arrow {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  color: var(--green);
  letter-spacing: .02em;
}

.c-link-arrow::after {
  content: "";
  width: 38px;
  height: 10px;
  margin-bottom: .35em;
  background: currentColor;
  -webkit-mask: url(/assets/images/common/arrow_link.svg) center / contain no-repeat;
          mask: url(/assets/images/common/arrow_link.svg) center / contain no-repeat;
}

.c-link-arrow:hover {
  opacity: .7;
}

/* --------------------------------------------------------------------------
   ボタン
   <a class="c-btn" href="">テキスト</a>
   修飾子：--l（大）/ --white（白地・グリーン文字）
   -------------------------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 20px 20px 25px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--ls-wide);
  cursor: pointer;
}

.c-btn::after {
  content: "";
  flex-shrink: 0;
  width: 38px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url(/assets/images/common/arrow.svg) center / contain no-repeat;
          mask: url(/assets/images/common/arrow.svg) center / contain no-repeat;
}

.c-btn:hover {
  opacity: .8;
}

.c-btn--l {
  min-height: 60px;
  padding-inline: 30px;
  font-size: var(--fz-btn-l);
}

.c-btn--white {
  background: var(--white);
  color: var(--green);
}

/* ボタンを中央に配置する枠（本文の後など）
   <div class="c-btn-area"><a class="c-btn c-btn--l" href="">テキスト</a></div> */
.c-btn-area {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 767px) {
  .c-btn-area {
    margin-top: 40px;
  }

  .c-btn--l {
    width: 100%;
    max-width: 440px;
    gap: 16px;
    padding-inline: 20px;
    font-size: 1.1em;
  }
}

/* --------------------------------------------------------------------------
   表（見出し列＋内容列）
   SPでは見出し・内容を縦積み
   -------------------------------------------------------------------------- */
.c-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--gray-line);
}

.c-table tr {
  border-bottom: 1px solid var(--gray-line);
}

.c-table th {
  width: 357px;
  padding: 20px 10px;
  background: var(--gray-bg);
  color: var(--green);
  font-size: var(--fz-btn-l);
  font-weight: 700;
  letter-spacing: var(--ls-mid);
  text-align: center;
}

.c-table th small {
  font-size: 19px;
}

.c-table td {
  padding: 28px 46px;
}

.c-table__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 12px;
}

@media (max-width: 767px) {
  .c-table,
  .c-table tbody,
  .c-table tr,
  .c-table th,
  .c-table td {
    display: block;
    width: 100%;
  }

  .c-table th {
    padding: 20px;
    font-size: 1.2em;
  }

  .c-table th small {
    font-size: inherit;
  }

  .c-table td {
    padding: 20px 15px;
  }
}

/* --------------------------------------------------------------------------
   FAQ（アコーディオン：details / summary）
   -------------------------------------------------------------------------- */
.c-faq {
  border-radius: var(--radius);
  background: var(--gray-bg);
}

.c-faq + .c-faq {
  margin-top: 24px;
}

.c-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 10px 56px 10px 0;
  font-size: var(--fz-faq);
  font-weight: 500;
  letter-spacing: 0;
  list-style: none;
  cursor: pointer;
}

.c-faq summary::-webkit-details-marker {
  display: none;
}

/* 開閉マーク */
.c-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--green-line);
  border-bottom: 2px solid var(--green-line);
  translate: 0 -75%;
  rotate: 45deg;
  transition: rotate .2s, translate .2s;
}

.c-faq[open] summary::after {
  translate: 0 -25%;
  rotate: 225deg;
}

.c-faq__q,
.c-faq__a-mark {
  flex-shrink: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
  width: 60px;
  margin-right: 20px;
  border-right: 1px solid var(--gray-line);
  font-size: 22px;
  font-weight: 500;
}

.c-faq__a {
  display: flex;
  padding: 0 24px 20px 0;
}

.c-faq__a-mark {
  align-self: flex-start;
  color: var(--green);
}

.c-faq__a > div > * + * {
  margin-top: 10px;
}

.c-faq__a a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .c-faq summary {
    padding-right: 32px;
  }

  .c-faq summary::after {
    right: 14px;
    width: 8px;
    height: 8px;
  }

  .c-faq__q,
  .c-faq__a-mark {
    width: 52px;
    margin-right: 16px;
  }

  .c-faq__a {
    padding-right: 20px;
  }
}

/* --------------------------------------------------------------------------
   ボックス
   -------------------------------------------------------------------------- */
/* 白背景ボックス */
.c-box {
  padding: 60px 45px;
  border-radius: var(--radius);
  background: var(--white);
}

/* 注意喚起ボックス（グレー背景・白文字） */
.c-caution {
  padding: 60px 45px;
  border-radius: var(--radius);
  background: var(--ink-sub);
  color: var(--white);
}

.c-caution__inner {
  padding: 30px 35px;
  background: var(--d-gray-bg);
}

@media (max-width: 767px) {
  .c-box {
    padding: 30px 20px;
  }

  .c-caution {
    padding: 50px 20px 30px;
  }

  .c-caution__inner {
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   問い合わせフォーム
   contact/parts/ のフォーム（dl / dt.require / dd）を外側から装飾する
   -------------------------------------------------------------------------- */
.c-form {
  padding: 50px 38px 66px;
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .5);
}

.c-form dl {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--green-line);
}

.c-form dt {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 350px;
  min-height: 54px;
  padding-left: 16px;
  font-size: var(--fz-faq);
  font-weight: 500;
  letter-spacing: 0;
}

.c-form dt.require::before,
.c-form dt.any::before {
  content: "必須";
  flex-shrink: 0;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.c-form dt.any::before {
  content: "任意";
  background: var(--ink-sub);
}

.c-form dd {
  position: relative;
  flex: 1;
}

.c-form input[type="text"],
.c-form input[type="tel"],
.c-form input[type="email"],
.c-form select,
.c-form textarea {
  width: 100%;
  max-width: 390px;
  height: 54px;
  padding: 0 20px;
  border: 1px solid var(--gray-line);
  border-radius: 4px;
  background: var(--white);
  font-size: 16px;
}

.c-form textarea {
  display: block;
  max-width: 724px;
  height: 200px;
  padding: 14px 20px;
  resize: vertical;
}

.c-form ::placeholder {
  color: var(--ink-sub);
}

.c-form .select {
  position: relative;
  display: block;
  max-width: 390px;
}

.c-form .select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  translate: 0 -75%;
  rotate: 45deg;
  pointer-events: none;
}

.c-form select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
}

.c-form :focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

/* エラーメッセージ（既存サイトのエラー色を継承） */
.c-form .caution {
  color: rgb(209, 96, 96);
  font-size: 14px;
}

.c-form .caution:not(:empty) {
  margin-top: 6px;
}

/* 送信ボタン（input[type=submit] のため矢印は背景画像で表示） */
.c-form .linkBtn01 {
  margin-top: 60px;
  text-align: center;
}

.c-form input[type="submit"] {
  min-width: 290px;
  height: 60px;
  padding: 0 80px 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 12' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M0 4h34M0 8h34M30 1l6 5-6 5'/%3E%3C/svg%3E") right 30px center / 38px 12px no-repeat;
  color: var(--white);
  font-size: var(--fz-btn-l);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  cursor: pointer;
  appearance: none;
}

.c-form input[type="submit"]:hover {
  opacity: .8;
}

/* 同意チェック（contact/parts/contact_typeselect_none.php の .checkBox01） */
.c-form .checkBox01 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.c-form .checkBox01 input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
  cursor: pointer;
}

.c-form .checkBox01 label {
  cursor: pointer;
}

.c-form .checkBox01 + .linkBtn01 {
  margin-top: 30px;
}

.c-form input[type="submit"]:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* 確認画面（contact/mail.php：table.formTable の th / td） */
.c-form__lead {
  margin-bottom: 20px;
  text-align: center;
}

.c-form--confirm table {
  width: 100%;
  border-collapse: collapse;
}

.c-form--confirm th,
.c-form--confirm td {
  padding: 24px 0;
  border-bottom: 1px solid var(--green-line);
  vertical-align: top;
  text-align: left;
}

.c-form--confirm th {
  width: 350px;
  padding-left: 16px;
  font-size: var(--fz-faq);
  font-weight: 500;
  letter-spacing: 0;
}

.c-form--confirm td {
  padding-right: 16px;
  overflow-wrap: anywhere;
}

.c-form--confirm .linkBtn01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* 戻るボタン（白地・グリーン枠） */
.c-form input[type="button"] {
  min-width: 290px;
  height: 60px;
  padding: 0 30px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-size: var(--fz-btn-l);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  cursor: pointer;
  appearance: none;
}

.c-form input[type="button"]:hover {
  opacity: .8;
}

/* 入力エラー（mail.php の p.error_messe） */
.c-form__error {
  text-align: center;
}

.c-form .error_messe {
  color: rgb(209, 96, 96);
}

@media (max-width: 767px) {
  .c-form {
    padding: 10px 24px 34px;
    border-width: 2px;
  }

  .c-form dl {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 0 22px;
  }

  .c-form dt {
    width: auto;
    min-height: 0;
    padding-left: 0;
  }

  .c-form input[type="text"],
  .c-form input[type="tel"],
  .c-form input[type="email"],
  .c-form select,
  .c-form .select,
  .c-form textarea {
    max-width: none;
  }

  .c-form .linkBtn01 {
    margin-top: 40px;
  }

  .c-form input[type="submit"],
  .c-form input[type="button"] {
    min-width: 0;
    width: 100%;
    max-width: 290px;
  }

  .c-form--confirm .linkBtn01 {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .c-form--confirm th,
  .c-form--confirm td {
    display: block;
    width: auto;
    padding: 0;
  }

  .c-form--confirm th {
    padding-top: 20px;
    font-size: var(--fz-sub);
  }

  .c-form--confirm td {
    padding-block: 8px 20px;
  }

  .c-form--confirm tr {
    display: block;
    border-bottom: 1px solid var(--green-line);
  }

  .c-form--confirm th,
  .c-form--confirm td {
    border-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   パンくずリスト（下層ページ：ヘッダー直後に配置）
   <nav class="c-breadcrumb" aria-label="パンくずリスト">
     <ol class="l-container"><li><a href="/">TOP</a></li><li>現在のページ</li></ol>
   </nav>
   -------------------------------------------------------------------------- */
.c-breadcrumb {
  padding-top: 22px;
  color: var(--ink-sub);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.c-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.c-breadcrumb li + li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 9px 0 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  rotate: 45deg;
  vertical-align: .1em;
}

.c-breadcrumb a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-breadcrumb a:hover {
  text-decoration: none;
}

/* 下層ページの見出しエリア（パンくず直後のセクション） */
.l-section--page {
  padding-top: 80px;
}

@media (max-width: 767px) {
  .c-breadcrumb {
    margin-top: 8px;
    padding-block: 7px;
    background: var(--gray-bg);
  }

  .l-section--page {
    padding-top: 48px;
  }
}
