@charset "UTF-8";
/* ============================================================
   CUBE WEB 下層ページ共通・無料相談ページ（contact.html）
   CUBE FILM（cubefilm-page.css / cubefilm-contact.css）の構成を踏襲
   ============================================================ */
:root {
  --error:#b3261e;
}

/* ページ上部：右側に写真、左の淡い緑から溶け込ませる */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  padding: 190px 0 78px;
}

.page-hero-photo {
  position: absolute;
  inset: 0 0 0 40%;
  background: linear-gradient(90deg, var(--soft), rgba(246, 248, 245, 0) 70%), url("../images/08_cta.webp") 70% center/cover no-repeat;
}

.page-hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 248, 245, 0.18);
}

.page-hero-inner {
  position: relative;
}

.breadcrumb {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0 0 30px;
  font: 11px Arial, sans-serif;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumb li + li:before {
  content: "/";
  margin-right: 10px;
  color: #b7c4bb;
}

.breadcrumb a:hover {
  color: var(--green);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
}

.page-hero-lead {
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
  margin: 18px 0 0;
}

@media (max-width: 760px) {
  .page-hero {
    padding: 120px 0 52px;
  }
  .page-hero-photo {
    left: 10%;
    opacity: 0.5;
  }
  .breadcrumb {
    margin-bottom: 22px;
    font-size: 10px;
  }
  .page-hero-lead {
    font-size: 12px;
  }
  .page-hero-lead br {
    display: none;
  }
}
/* 現在地のボタン */
.header-contact[aria-current] {
  background: var(--green-dark);
}

/* フォームのボタン（LP の .button を拡張） */
.contact-form .button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  justify-content: space-between;
  gap: 30px;
  min-height: 58px;
  padding: 16px 24px;
  font-size: 14px;
}

.contact-form .button > span {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
}

.contact-form .button:hover {
  background: #0e6747;
}

.contact-form .button-ghost {
  background: #fff;
  color: var(--green);
}

.contact-form .button-ghost:hover {
  background: var(--green);
  color: #fff;
}

.complete-view h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--green);
}

.complete-view .eyebrow {
  margin-bottom: 6px;
}

.complete-view .button {
  display: inline-flex;
  gap: 30px;
}

.contact-form h2, .contact-form p {
  margin-top: 0;
}

.contact-aside p {
  margin: 0;
}

.aside-flow b {
  margin-bottom: 2px;
}

.contact-page {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.aside-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
}

.aside-box p {
  font-size: 12px;
  line-height: 1.9;
  color: #4b5d53;
}

.aside-box .aside-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.6;
}

.aside-title small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}

.aside-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.aside-flow li {
  display: flex;
  gap: 12px;
  font-size: 11px;
  line-height: 1.8;
  color: #4b5d53;
}

.aside-flow li > span {
  font: 600 11px Arial, sans-serif;
  color: #fff;
  background: var(--green);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.aside-flow b {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.aside-plans dl {
  margin: 0;
}

.aside-plans dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.aside-plans dt {
  font: 600 12px Arial, sans-serif;
  letter-spacing: 0.06em;
}

.aside-plans dd {
  margin: 0;
  font: 700 15px Arial, sans-serif;
  color: var(--green);
}

.aside-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
}

.aside-link span {
  margin-left: 6px;
  transition: margin 0.2s;
}

.aside-link:hover span {
  margin-left: 10px;
}

.contact-main {
  background: #fff;
  border: 1px solid var(--line);
  padding: 44px 48px 52px;
}

.form-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.form-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #93a39a;
  background: #f9fbf9;
}

.form-steps li + li {
  border-left: 1px solid var(--line);
}

.form-steps li span {
  font: 11px Arial, sans-serif;
  letter-spacing: 0.08em;
}

.form-steps li.is-current {
  background: var(--green);
  color: #fff;
}

.form-steps li.is-done {
  color: var(--ink);
}

.form-error-summary {
  background: #fbeeee;
  border-left: 3px solid var(--error);
  color: var(--error);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 18px;
  margin-bottom: 28px;
}

.contact-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.form-block + .form-block {
  margin-top: 44px;
}

.form-block > legend {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 26px;
}

.block-no {
  font: 12px Arial, sans-serif;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
}

.field-full {
  grid-column: 1/-1;
}

.contact-form .field > label, .contact-form .field > legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 9px;
  padding: 0;
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 7px;
  margin-left: 8px;
  background: var(--green);
  color: #fff;
  letter-spacing: 0.04em;
}

.tag-optional {
  background: transparent;
  color: var(--muted);
  border: 1px solid #cfd9d1;
  padding: 3px 6px;
}

.counter {
  margin-left: auto;
  font: 11px Arial, sans-serif;
  color: var(--muted);
  font-weight: 400;
}

.contact-form input:not([type=radio]):not([type=checkbox]), .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #cfd9d1;
  background: #f9fbf9;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background: #f9fbf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2352635a'/%3E%3C/svg%3E") right 14px center no-repeat;
  padding-right: 36px;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--green);
  background: #fff;
}

.contact-form ::placeholder {
  color: #a5b2aa;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-form label.choice {
  display: block;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #cfd9d1;
  background: #f9fbf9;
  font-size: 13px;
  line-height: 1.5;
  transition: border-color 0.2s, background 0.2s;
}

.choice > span:before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid #93a39a;
  background: #fff;
  transition: all 0.15s;
}

.choice input[type=radio] + span:before {
  border-radius: 50%;
}

.choice input:checked + span {
  border-color: var(--green);
  background: #e8f0e9;
}

.choice input[type=radio]:checked + span:before {
  border: 5px solid var(--green);
}

.choice input[type=checkbox]:checked + span:before {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat;
  border-color: var(--green);
}

.choice input:focus-visible + span {
  outline: 3px solid #7fb08e;
  outline-offset: 2px;
}

.choice-row .choice {
  flex: 1 1 150px;
}

.privacy-box {
  border: 1px solid var(--line);
  background: #f9fbf9;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.privacy-box p {
  font-size: 12px;
  line-height: 1.9;
  color: #4b5d53;
}

.choice-agree {
  max-width: 420px;
}

.choice-agree .tag {
  margin-left: auto;
}

.is-invalid input:not([type=radio]):not([type=checkbox]), .is-invalid textarea, .is-invalid select, input.is-invalid, textarea.is-invalid {
  border-color: var(--error) !important;
  background: #fdf6f6 !important;
}

.is-invalid .choice > span, .choice.is-invalid > span {
  border-color: var(--error);
}

.field-error {
  font-size: 12px;
  color: var(--error);
  font-weight: 600;
  margin-top: 7px;
}

.form-actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.form-actions .button {
  min-width: 320px;
}

.form-actions-split {
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions-split .button {
  min-width: 240px;
}

.button-ghost {
  background: #fff;
  color: var(--green);
}

.button-ghost:hover {
  color: #fff;
}

.button-ghost > span {
  order: -1;
}

.button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.confirm-lead {
  font-size: 13px;
  color: #4b5d53;
  margin-bottom: 24px;
}

.confirm-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.confirm-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
}

.confirm-list dt {
  background: #f9fbf9;
  padding: 16px 18px;
  font-size: 12px;
  font-weight: 700;
}

.confirm-list dd {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.send-note {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.9;
  color: #7a5a12;
  background: #fbf6e9;
  border-left: 3px solid #d8b24c;
  padding: 13px 16px;
}

.form-status {
  text-align: center;
  margin-top: 14px;
}

.complete-view {
  text-align: center;
  padding: 30px 0 10px;
}

.complete-view h2 {
  font-weight: 800;
  margin: 12px 0 18px;
}

.complete-view p:not(.eyebrow) {
  font-size: 14px;
  line-height: 2;
  color: #4b5d53;
  margin-bottom: 34px;
}

@media (max-width: 1050px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    position: static;
    order: 2;
    grid-template-columns: repeat(2, 1fr);
  }
  .aside-plans {
    grid-column: 1/-1;
  }
  .contact-main {
    padding: 36px 32px 44px;
  }
}
@media (max-width: 760px) {
  .contact-aside {
    grid-template-columns: 1fr;
  }
  .contact-main {
    padding: 26px 18px 34px;
    margin: 0 -20px;
    border-left: 0;
    border-right: 0;
  }
  .form-steps {
    margin-bottom: 28px;
  }
  .form-steps li {
    font-size: 12px;
    padding: 11px 4px;
    gap: 6px;
  }
  .field-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }
  .choice-row .choice {
    flex-basis: 100%;
  }
  .form-block > legend {
    font-size: 16px;
  }
  .form-actions .button, .form-actions-split .button {
    min-width: 0;
    width: 100%;
  }
  .confirm-list > div {
    grid-template-columns: 1fr;
  }
  .confirm-list dt {
    padding: 10px 14px;
  }
  .confirm-list dd {
    padding: 12px 14px;
  }
}
.form-view:focus {
  outline: none;
}

.privacy-box a {
  color: #0e6747;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 無料相談ページのヘッダー：初期状態から白の半透明（.8） */
.page-contact:not(.is-header-fixed) .site-header {
  background: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   WordPress（MW WP Form）版：page-contact.php
   ラジオ・チェックボックスは MW WP Form の出力
   （.mwform-radio-field / .mwform-checkbox-field > label > input + span）に合わせる
   ============================================================ */
.wp-error-summary {
  display: none;
}

.contact-main:has(.mw_wp_form_input .error) .wp-error-summary {
  display: block;
}

.contact-form .field-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 9px;
}

.contact-form .mwform-radio-field, .contact-form .mwform-checkbox-field {
  display: block;
  margin: 0 !important;
}

.contact-form .choice-row .mwform-radio-field {
  flex: 1 1 150px;
}

.contact-form .mwform-radio-field label, .contact-form .mwform-checkbox-field label {
  display: block;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

.contact-form .mwform-radio-field input, .contact-form .mwform-checkbox-field input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.contact-form .mwform-radio-field-text, .contact-form .mwform-checkbox-field-text {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #cfd9d1;
  background: #f9fbf9;
  font-size: 13px;
  line-height: 1.5;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form .mwform-radio-field-text:before, .contact-form .mwform-checkbox-field-text:before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid #93a39a;
  background: #fff;
  transition: all 0.15s;
}

.contact-form .mwform-radio-field-text:before {
  border-radius: 50%;
}

.contact-form input:checked + .mwform-radio-field-text, .contact-form input:checked + .mwform-checkbox-field-text {
  border-color: var(--green);
  background: #e8f0e9;
}

.contact-form input[type=radio]:checked + .mwform-radio-field-text:before {
  border: 5px solid var(--green);
}

.contact-form input[type=checkbox]:checked + .mwform-checkbox-field-text:before {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat;
  border-color: var(--green);
}

.contact-form input:focus-visible + span {
  outline: 3px solid #7fb08e;
  outline-offset: 2px;
}

.contact-form div.choice-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
}

.contact-form div.choice-agree .mwform-checkbox-field {
  flex: 1;
}

.contact-form div.choice-agree .tag {
  margin-left: 0;
}

/* エラー表示 */
.contact-form .mw_wp_form .error {
  display: block;
  font-size: 12px;
  color: var(--error);
  font-weight: 600;
  margin-top: 7px;
}

.contact-form .field:has(.error) input, .contact-form .field:has(.error) textarea, .contact-form .field:has(.error) select {
  border-color: var(--error);
  background: #fdf6f6;
}

.contact-form .field:has(.error) .mwform-radio-field-text, .contact-form div.choice-agree:has(.error) .mwform-checkbox-field-text {
  border-color: var(--error);
}

.contact-form div.choice-agree:has(.error) {
  flex-wrap: wrap;
}

.contact-form div.choice-agree .error {
  width: 100%;
  order: 3;
}

/* ボタン：入力画面は「確認」、確認画面は「戻る」「送信」だけ MW WP Form が出力する */
.contact-form .form-actions .button {
  font-family: inherit;
  cursor: pointer;
}

.contact-form .mw_wp_form .form-next:after, .contact-form .mw_wp_form .form-send:after {
  content: "→";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.contact-form .mw_wp_form .form-back:before {
  content: "←";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.mw_wp_form_input .form-actions-split {
  justify-content: center;
}

/* 確認画面：入力欄の代わりに値を表示 */
.mw_wp_form_confirm .field {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.mw_wp_form_confirm .field {
  font-size: 14px;
  line-height: 1.9;
  word-break: break-word;
}

.mw_wp_form_confirm .field-grid {
  gap: 16px 24px;
}

.mw_wp_form_confirm .field > label, .mw_wp_form_confirm .field-label {
  margin-bottom: 4px;
}

.mw_wp_form_confirm .tag, .mw_wp_form_confirm .counter, .mw_wp_form_confirm .field-confirm-hide, .mw_wp_form_confirm .form-block-privacy {
  display: none;
}

.mw_wp_form_confirm .choice-row, .mw_wp_form_confirm .choice-grid {
  display: block;
}

/* 進行表示（入力→確認→完了）の現在地 */
.contact-main:has(.mw_wp_form_confirm) .form-steps li[data-step=input], .contact-main:has(.mw_wp_form_complete) .form-steps li[data-step=input], .contact-main:has(.mw_wp_form_complete) .form-steps li[data-step=confirm] {
  background: #f9fbf9;
  color: var(--ink);
}

.contact-main:has(.mw_wp_form_confirm) .form-steps li[data-step=confirm], .contact-main:has(.mw_wp_form_complete) .form-steps li[data-step=complete] {
  background: var(--green);
  color: #fff;
}

/* WordPress 汎用ページ（index.php）・404 */
.page-default {
  background: var(--soft);
}

.page-default__body {
  background: #fff;
  border: 1px solid var(--line);
  padding: 48px 52px 56px;
}

.page-default__content {
  font-size: 14px;
  line-height: 2.05;
}

.page-default__content > * + * {
  margin-top: 1em;
}

.page-default__content h2 {
  font-size: 19px;
  color: var(--green);
  margin-top: 2em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--green);
}

.page-default__content a {
  color: #0e6747;
  text-decoration: underline;
}

.page-default__action {
  margin-top: 30px;
  text-align: center;
}

.page-default__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-default__list a {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.page-default__list time {
  color: var(--muted);
  font-size: 12px;
  font-family: Arial, sans-serif;
}

@media (max-width: 760px) {
  .page-default__body {
    padding: 30px 20px 40px;
  }
}
/* ============================================================
   プライバシーポリシー（privacy-policy.html / page-privacy-policy.php）
   CUBE FILM の cubefilm-page.css をもとに配色を緑系に変更
   ============================================================ */
.policy-page {
  background: var(--soft);
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 20px;
}

.policy-toc p {
  font: 600 11px Arial, sans-serif;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}

.policy-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.policy-toc li {
  counter-increment: toc;
}

.policy-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 12px;
  line-height: 1.6;
  border-bottom: 1px solid #eef3ef;
  transition: color 0.2s;
}

.policy-toc a:before {
  content: counter(toc, decimal-leading-zero);
  font: 11px Arial, sans-serif;
  color: #93a39a;
  padding-top: 2px;
}

.policy-toc a:hover {
  color: #0e6747;
}

.policy-body {
  background: #fff;
  border: 1px solid var(--line);
  padding: 52px 56px 60px;
}

.policy-intro {
  font-size: 14px;
  line-height: 2.1;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.policy-section {
  padding-top: 40px;
  scroll-margin-top: 24px;
}

.policy-section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--green);
}

.policy-section h2 span {
  font: 12px Arial, sans-serif;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.policy-section h3 {
  font-size: 15px;
  margin: 22px 0 8px;
}

.policy-section p, .policy-section li {
  font-size: 14px;
  line-height: 2.05;
}

.policy-section p + p {
  margin-top: 10px;
}

.policy-section ul, .policy-section ol {
  margin: 10px 0 0;
  padding-left: 1.6em;
}

.policy-section li + li {
  margin-top: 4px;
}

.policy-section a {
  color: #0e6747;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}

.policy-table th, .policy-table td {
  border: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}

.policy-table th {
  width: 180px;
  background: #f9fbf9;
  font-size: 13px;
}

.policy-dates {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  line-height: 2;
}

@media (max-width: 1050px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }
  .policy-toc {
    position: static;
  }
  .policy-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
}
@media (max-width: 760px) {
  .policy-toc ol {
    grid-template-columns: 1fr;
  }
  .policy-body {
    padding: 30px 20px 40px;
    margin: 0 -18px;
    border-left: 0;
    border-right: 0;
  }
  .policy-intro, .policy-section p, .policy-section li {
    font-size: 13px;
  }
  .policy-section h2 {
    font-size: 17px;
  }
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table th, .policy-table td {
    display: block;
    width: 100%;
  }
  .policy-table tr + tr th {
    border-top: 0;
  }
  .policy-table td {
    border-top: 0;
  }
}
.policy-toc {
  top: 96px;
}

.policy-section {
  scroll-margin-top: 0;
}

.policy-section h2 {
  color: var(--green);
  border-bottom-color: var(--green);
}

.policy-section p, .policy-section h2 {
  margin-top: 0;
}

.policy-intro {
  margin: 0;
}

/* ポリシーページのヘッダーも初期状態から白の半透明（.8） */
.page-policy:not(.is-header-fixed) .site-header {
  background: rgba(255, 255, 255, 0.8);
}

/* ご用件（ラジオ）のエラー文は選択肢の下に1行で表示 */
.choice-row .error, .choice-row + .field-error, .choice-row .field-error {
  flex-basis: 100%;
  width: 100%;
}

#inquiry_type.is-invalid .choice > span, .contact-form .field:has(.error) .choice-row .mwform-radio-field-text {
  border-color: var(--error);
}
