/* OPT WELLNESS テーマ ver4.0 下層ページ（サービス／私たちについて／会社概要／お問い合わせ）2026-09-13 / CTO
   site-v4.css のトークン・ヘッダー・フッター・ボタンを前提に、下層ページ固有の部品を定義。末尾に Contact Form 7 のフォーム装飾。 */
.page-head { background: var(--paper); padding-block: 26px 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--ink); margin-bottom: 18px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb span::before { content: "/"; margin-right: 10px; color: #b9b19f; }
.page-head h1 { font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1.5; }
.page-head .page-lead { font-size: 15px; color: var(--ink); margin-top: 14px; max-width: 40em; line-height: 2; }
.subnav { position: sticky; top: 80px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px 28px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.subnav a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 8px; }
.subnav a:hover { color: var(--green); text-decoration-color: var(--green); }
.page-section { padding-block: 56px; }
.page-section.alt { background: var(--surface); }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.intro-grid h2 { font-size: 34px; }
.intro-grid .intro-text p { font-size: 15px; line-height: 2.05; margin-top: 16px; }
.intro-grid figure { position: relative; }
.intro-grid figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.intro-grid figcaption { font-size: 11px; color: var(--muted); margin-top: 8px; }
.places-photo { margin-bottom: 34px; }
.places-photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 38%; border-radius: 4px; }  /* 2026-09-13 写真差し替えに合わせ、人物の頭と手元のカップが収まる比率に */
.places-photo figcaption { font-size: 11px; color: var(--muted); margin-top: 9px; }
.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-size: 15px; font-weight: 700; }
.rows dd { font-size: 14px; color: var(--ink); line-height: 1.95; }
.rows dd b { color: var(--ink); font-weight: 700; }
.rows dd p + p { margin-top: 8px; }
.rows dd .price { font-size: 16px; color: var(--green-dark); }
.materials { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; }
.materials h3 { font-family: var(--display); font-size: 28px; font-weight: 500; color: var(--green); }
.materials .is-hojicha h3 { color: var(--hojicha); }
.materials dl { margin-top: 12px; border-top: 1px solid var(--line); }
.materials dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.materials dt { font-weight: 700; font-size: 14px; }
.materials dd { font-size: 13px; color: var(--ink); margin-top: 4px; }
.group-title { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.grid-3 > div, .grid-2 > div { border-top: 2px solid var(--green); padding-top: 14px; }
.grid-3 h3, .grid-2 h3 { font-size: 15px; }
.grid-3 p, .grid-2 p { font-size: 13px; color: var(--ink); margin-top: 6px; }
.note-box { background: var(--paper); border-left: 3px solid var(--gold); padding: 16px 20px; font-size: 13px; line-height: 1.9; margin-top: 28px; }
.note-box p + p { margin-top: 8px; }
.fine { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 18px; }
.steps-lead { margin-top: 28px; font-size: 14px; font-weight: 700; color: var(--ink); }
.steps-lead + .steps-list { margin-top: 6px; }
.steps-list { counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.steps-list li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); color: var(--green); font-size: 18px; line-height: 1.4; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; }
.cta-band { background: var(--green-dark); color: #fff; padding-block: 56px; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band .section-label { color: var(--gold-pale); }
.cta-band h2 { font-size: 32px; margin-block: 10px 14px; }
.cta-band p { font-size: 14px; line-height: 2; }
.cta-band .cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-band .light-link { color: #fff; }
.cta-band small { font-size: 13px; color: #dfe7de; }

/* フッター3列（現行サイトの構成） */
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 56px; font-size: 13px; }
.footer-cols h3 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.footer-cols a { display: flex; align-items: center; min-height: 34px; }
.footer-cols a:hover { text-decoration: underline; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: repeat(2, auto); gap: 8px 32px; } }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr 1fr; margin-top: 18px; } .footer-cols a { min-height: 40px; } }
/* ver4.10: site-v4.css の .footer-main nav（flex）/ .footer-main nav a（inline-flex）より優先させ、列ごとに縦に並べる */
.footer-main nav.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 56px; align-items: start; }
.footer-main nav.footer-cols > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.footer-main nav.footer-cols a { display: flex; align-items: center; min-height: 34px; white-space: nowrap; }
@media (max-width: 1150px) { .footer-main nav.footer-cols { gap: 8px 32px; } }
@media (max-width: 960px) { .footer-main nav.footer-cols { grid-template-columns: repeat(2, auto); gap: 8px 32px; } }
@media (max-width: 700px) { .footer-main nav.footer-cols { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 18px; } .footer-main nav.footer-cols a { min-height: 40px; } }

/* 私たちについて */
.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px; }
.mission-grid > div { border-top: 2px solid var(--green); padding-top: 18px; }
.mission-grid .section-label { margin-bottom: 8px; }
.mission-grid h2 { font-size: 28px; }
.mission-grid p:not(.section-label) { font-size: 14px; color: var(--ink); margin-top: 14px; line-height: 2; }
.way-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; margin-top: 32px; }
.way-grid > div { border-top: 2px solid var(--green); padding-top: 16px; }
.way-grid .way-en { font-family: var(--display); font-size: 13px; color: var(--green); letter-spacing: .06em; }
.way-grid h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 6px; }
.way-grid p { font-size: 13px; color: var(--ink); margin-top: 10px; line-height: 1.95; }
.message-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
.message-grid h2 { font-size: 32px; }
.message-grid .lead-q { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.7; margin-top: 24px; color: var(--green-dark); }
.message-grid h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-top: 36px; }
.message-body p { font-size: 15px; line-height: 2.1; margin-top: 16px; }
.message-body .sign { margin-top: 28px; font-size: 14px; line-height: 1.9; }
.message-side { position: sticky; top: 110px; }
.message-side img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 4px; }
.profile-card { background: var(--paper); padding: 22px 24px; margin-top: 18px; }
.profile-card .section-label { margin-bottom: 6px; }
.profile-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.profile-card p { font-size: 13px; color: var(--ink); margin-top: 10px; line-height: 1.9; }
.profile-card .text-link { margin-top: 10px; }

/* 会社概要 */
.company-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.company-table th, .company-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.9; }
.company-table th { width: 200px; font-weight: 700; color: var(--ink); }
.company-table td ul li { padding-left: 1em; text-indent: -1em; }
.company-table td ul li::before { content: "・"; }
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; margin-top: 32px; }
.biz-grid > div { border-top: 2px solid var(--green); padding-top: 16px; }
.biz-grid .icon { width: 26px; height: 26px; margin-bottom: 12px; }
.biz-grid h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.6; }
.biz-grid p { font-size: 13px; color: var(--ink); margin-top: 10px; line-height: 1.95; }

/* お問い合わせ */
.contact-page { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.contact-page h2 { font-size: 30px; }
.contact-page .form-intro { font-size: 14px; color: var(--ink); margin-top: 14px; line-height: 2; }
.contact-form { margin-top: 28px; display: grid; gap: 18px; }
.contact-form .field select { display: block; width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #aeb9af; border-radius: 3px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.6; }
.contact-form .two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green); }
.consent a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .form-notice { margin-top: 0; }
.contact-form .form-submit { margin-top: 4px; }
.contact-side { position: sticky; top: 110px; background: var(--paper); padding: 26px 28px; }
.contact-side h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.contact-side > p { font-size: 13px; color: var(--ink); margin-top: 10px; }
.contact-side dl { margin-top: 18px; border-top: 1px solid #ddd4c2; }
.contact-side dl div { padding: 12px 0; border-bottom: 1px solid #ddd4c2; }
.contact-side dt { font-size: 13px; font-weight: 700; }
.contact-side dd { font-size: 13px; color: var(--ink); margin-top: 4px; line-height: 1.9; }
.contact-side .text-link { margin-top: 12px; }

@media (max-width: 1150px) {
  .rows > div { grid-template-columns: 200px 1fr; }
  .message-grid { gap: 32px; }
  .contact-page { gap: 36px; }
}
@media (max-width: 960px) {
  .subnav { top: 72px; }
  .subnav ul { gap: 0 20px; font-size: 13px; }
  .page-head h1 { font-size: 32px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-grid figure { order: -1; }
  .intro-grid figure img { aspect-ratio: 16 / 9; }
  .rows > div { grid-template-columns: 1fr; gap: 6px; }
  .materials { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .cta-band .container { grid-template-columns: 1fr; gap: 24px; }
  .mission-grid { grid-template-columns: 1fr; gap: 28px; }
  .way-grid { grid-template-columns: 1fr; gap: 20px; }
  .message-grid { grid-template-columns: 1fr; gap: 28px; }
  .message-side { position: static; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start; }
  .message-side img { width: 160px; }
  .profile-card { margin-top: 0; }
  .biz-grid { grid-template-columns: 1fr; gap: 20px; }
  .company-table th { width: 140px; }
  .contact-page { grid-template-columns: 1fr; gap: 32px; }
  .contact-side { position: static; }
}
@media (max-width: 700px) {
  .subnav { top: 66px; }
  .subnav ul { gap: 0 16px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .subnav a { min-height: 44px; font-size: 13px; }
  .page-head { padding-block: 18px 28px; }
  .page-head h1 { font-size: 27px; }
  .page-head .page-lead { font-size: 13px; }
  .page-section { padding-block: 40px; }
  .intro-grid h2 { font-size: 26px; }
  .intro-grid .intro-text p { font-size: 13px; }
  .places-photo { margin-bottom: 24px; }
  .places-photo img { aspect-ratio: 16 / 9; }
  .rows > div { padding: 14px 0; }
  .rows dt { font-size: 14px; }
  .rows dd { font-size: 13px; }
  .materials h3 { font-size: 24px; }
  .cta-band { padding-block: 40px; }
  .cta-band h2 { font-size: 26px; }
  .mission-grid h2 { font-size: 24px; }
  .message-grid h2 { font-size: 26px; }
  .message-grid .lead-q { font-size: 19px; }
  .message-body p { font-size: 14px; }
  .message-side { grid-template-columns: 110px 1fr; gap: 14px; }
  .message-side img { width: 110px; }
  .profile-card { padding: 16px 18px; }
  .company-table th, .company-table td { display: block; width: auto; padding: 10px 0; }
  .company-table th { border-bottom: 0; padding-bottom: 0; font-size: 13px; color: var(--ink); }
  .contact-page h2 { font-size: 25px; }
  .contact-form .two { grid-template-columns: 1fr; }
  .contact-side { padding: 20px 18px; }
}

/* ===== Contact Form 7（お問い合わせページ・トップの問い合わせカード） ===== */
.wpcf7 form { margin: 28px 0 0; display: grid; gap: 18px; }
/* グリッドの子は min-width:auto だと textarea（cols=40）の固有幅で列が広がり、スマホで横あふれするため 0 にする */
.wpcf7 form > *, .wpcf7 .form-group, .contact-page > *, .contact-grid > * { min-width: 0; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 .form-label + br { display: none; }
.wpcf7 .form-group { margin: 0; }
.wpcf7 .form-group > p { margin: 0; }
.wpcf7 label, .wpcf7 .form-label { display: flex; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.wpcf7 .required, .wpcf7 .optional, .wpcf7 .form-required, .wpcf7 .form-optional { font-size: 11px; font-weight: 400; color: var(--muted); }
.wpcf7 .required, .wpcf7 .form-required { color: #8a4540; }
.wpcf7 input:not([type="checkbox"],[type="radio"],[type="submit"],[type="hidden"]), .wpcf7 select, .wpcf7 textarea {
  display: block; width: 100%; min-width: 0; max-width: 100%; border: 1px solid #aeb9af; border-radius: 3px; padding: 11px 12px; color: var(--ink); background: #fff; font: 16px/1.6 var(--sans);
}
.wpcf7 select { padding-right: 30px; min-height: 50px; }
.wpcf7 textarea { resize: vertical; min-height: 140px; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #6b736c; font-size: 13px; opacity: 1; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { accent-color: var(--green); width: 18px; height: 18px; vertical-align: middle; margin: 0 8px 0 0; }
.wpcf7 .wpcf7-list-item { margin-left: 0; }
.wpcf7 .wpcf7-acceptance label { display: inline; font-weight: 400; font-size: 13px; margin: 0; }
.wpcf7 .wpcf7-acceptance label input { margin-top: -2px; }
.wpcf7 input[type="submit"] { width: 100%; min-height: 52px; font: 700 14px/1.6 var(--sans); padding: 13px 24px; border: 1px solid var(--green); border-radius: 4px; color: #fff; background: var(--green); white-space: normal; cursor: pointer; transition: background-color .18s; }
.wpcf7 input[type="submit"]:hover { background: var(--green-dark); }
.wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.wpcf7 [aria-invalid="true"] { border-color: #aa3434 !important; }
.wpcf7 .wpcf7-not-valid-tip { color: #a22d2d; font-size: 13px; margin-top: 5px; }
.wpcf7 .wpcf7-response-output { margin: 0; padding: 14px 16px; font-size: 13px; border-radius: 3px; }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }
.wpcf7 a, .form-unavailable a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.wpcf7 .form-note { font-size: 11px; color: var(--muted); margin-top: 8px; }
.form-unavailable { margin-top: 28px; padding: 28px 0; border-block: 1px solid var(--line); }
.form-unavailable h3 { margin-bottom: 15px; }
.form-unavailable p { font-size: 14px; }
/* トップの問い合わせカード内 */
.contact .consultation-form > h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.6; }
.contact .consultation-form > .form-intro { font-size: 13px; color: var(--ink); margin-top: 8px; }
.contact .consultation-form .wpcf7 form { margin-top: 20px; gap: 14px; }
.contact .consultation-form .wpcf7 textarea { min-height: 96px; }
.contact-route .purpose-options { margin-top: 18px; }
.contact-route .contact-route-note { font-size: 11px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ver4.12：サービスページ 商品注記の上の荷姿（「お湯で溶かすだけで本格ラテ」＝.rows dt と同じ大きさ・太字・本文色） */
.products .product-package { margin-block: 0; padding-top: 18px; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.products .product-package + .product-note { padding-top: 4px; }
@media (max-width: 700px) { .products .product-package { font-size: 14px; } }

/* ver4.13：メディア掲載（会社概要） */
.media-list { margin: 20px 0 0; border-top: 1px solid var(--line); }
.media-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 4px 16px; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.media-list dt { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 14px; }
.media-list .media-outlet { font-weight: 700; color: var(--ink); }
.media-list .media-date { font-size: 13px; color: var(--muted); }
.media-list dd { margin: 0; font-size: 14px; line-height: 1.9; }
@media (max-width: 700px) {
  .media-list > div { grid-template-columns: 1fr; padding: 14px 0; }
  .media-list dt, .media-list dd { font-size: 13px; }
}
