/* =====================================================================
   東海CAIO LP — sections.css
   about · pain · domain · plans · flow · cases · reviews · profile · faq · cta · footer
   ===================================================================== */

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-body p { font-size: 16px; color: var(--fg-2); line-height: 2.05; margin: 0 0 18px; }
.about-body strong { color: var(--fg); font-weight: 700; }
.about-body .mark { background: linear-gradient(transparent 62%, color-mix(in oklab, var(--terra) 38%, transparent) 0); padding: 0 1px; }
.about-defs { border: 1px solid var(--line); background: var(--paper); }
.about-defs dl { margin: 0; }
.about-defs .row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); transition: background .2s ease; }
.about-defs .row:last-child { border-bottom: 0; }
.about-defs .row:hover { background: var(--bg-2); }
.about-defs dt { font-family: var(--en); font-size: 11px; letter-spacing: 0.18em; color: var(--terra); text-transform: uppercase; padding-top: 3px; font-weight: 600; }
.about-defs dd { margin: 0; font-size: 14px; color: var(--fg); line-height: 1.7; }

/* ===== Pain points ===== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--paper); }
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }
.pain { padding: 30px 28px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); transition: background .25s ease, transform .25s var(--ease); }
.pain-grid .pain:nth-child(3n) { border-right: 0; }
.pain-grid .pain:nth-last-child(-n+3) { border-bottom: 0; }
.pain:hover { background: var(--bg-2); }
@media (max-width: 880px) {
  .pain { border-right: 0 !important; border-bottom: 1px solid var(--line-soft) !important; }
  .pain-grid .pain:last-child { border-bottom: 0 !important; }
}
.pain-i { font-family: var(--mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.08em; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.pain-i .check { width: 18px; height: 18px; border: 1px solid var(--fg); position: relative; }
.pain-i .check::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) scale(0); transform-origin: center; transition: transform .3s var(--ease); }
.pain:hover .pain-i .check::after, .pain.in .pain-i .check::after { transform: rotate(45deg) scale(1); }
.pain h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin: 0; line-height: 1.65; color: var(--fg); display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; transition: color .25s ease; }
.pain:hover h4, .pain:focus-within h4 { color: var(--accent); }
.pain p { font-size: 13.5px; color: var(--fg-2); margin: 0; line-height: 1.9; }
/* hover-reveal detail */
.pain-cue { flex: none; width: 16px; height: 16px; position: relative; margin-top: 4px; opacity: .55; transition: opacity .25s ease, transform .35s var(--ease); }
.pain-cue::before, .pain-cue::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--terra); transform: translate(-50%, -50%); }
.pain-cue::before { width: 12px; height: 1.6px; }
.pain-cue::after { width: 1.6px; height: 12px; transition: transform .35s var(--ease); }
.pain:hover .pain-cue, .pain:focus-within .pain-cue { opacity: 1; }
.pain:hover .pain-cue::after, .pain:focus-within .pain-cue::after { transform: translate(-50%, -50%) rotate(90deg); }
.pain-detail { display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0; transition: grid-template-rows .42s var(--ease), opacity .3s ease, margin-top .42s var(--ease); }
.pain-detail > p { overflow: hidden; min-height: 0; }
.pain:hover .pain-detail, .pain:focus-within .pain-detail { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
@media (hover: none) {
  .pain-detail { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
  .pain-cue { display: none; }
}

/* ===== Domains / Why us ===== */
.dom-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.dom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line); }
@media (max-width: 760px) { .dom-grid { grid-template-columns: 1fr; } }
.dom { background: var(--paper); padding: 30px 28px; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; transition: background .25s ease; }
.dom:hover { background: var(--bg-2); }
.dom .ico { width: 48px; height: 48px; border: 1px solid var(--fg); display: grid; place-items: center; font-family: var(--en); font-weight: 700; font-size: 18px; color: var(--fg); background: var(--bg); transition: background .25s ease, color .25s ease; }
.dom:hover .ico { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.dom h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 0; color: var(--fg); line-height: 1.55; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; transition: color .25s ease; }
.dom:hover h4, .dom:focus-within h4 { color: var(--accent); }
.dom-cue { flex: none; width: 15px; height: 15px; position: relative; margin-top: 4px; opacity: .5; transition: opacity .25s ease; }
.dom-cue::before, .dom-cue::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--terra); transform: translate(-50%, -50%); }
.dom-cue::before { width: 11px; height: 1.6px; }
.dom-cue::after { width: 1.6px; height: 11px; transition: transform .35s var(--ease); }
.dom:hover .dom-cue, .dom:focus-within .dom-cue { opacity: 1; }
.dom:hover .dom-cue::after, .dom:focus-within .dom-cue::after { transform: translate(-50%, -50%) rotate(90deg); }
.dom .lab { font-family: var(--en); font-size: 11px; letter-spacing: 0.18em; color: var(--terra); text-transform: uppercase; margin-bottom: 8px; display: block; font-weight: 600; }
.dom-detail { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows .42s var(--ease), opacity .3s ease, margin-top .42s var(--ease); }
.dom-detail > p { overflow: hidden; min-height: 0; margin: 0; font-size: 13.5px; color: var(--fg-2); line-height: 1.9; }
.dom:hover .dom-detail, .dom:focus-within .dom-detail { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
@media (hover: none) {
  .dom-detail { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
  .dom-cue { display: none; }
}
.dom-feat { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.dom h4 + .dom-detail + .dom-feat { margin-top: 14px; }
.dom-feat span { font-size: 11px; color: var(--fg-2); padding: 3px 8px; border: 1px solid var(--line-soft); background: var(--bg); }

/* ===== Services / 3本柱 ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar { border: 1px solid var(--line); background: var(--paper); padding: 34px 30px 30px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s ease; position: relative; }
.pillar:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(26,22,20,.5); }
.pillar-top { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.pillar-no { font-family: var(--en); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
.pillar-en { font-family: var(--en); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.pillar h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 12px; line-height: 1.5; color: var(--fg); }
.pillar-lead { font-size: 13.5px; color: var(--fg-2); line-height: 1.95; margin: 0 0 20px; }
.pillar-list { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 9px; }
.pillar-list li { font-size: 13px; color: var(--fg-2); padding-left: 20px; position: relative; line-height: 1.65; }
.pillar-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* ===== Stat band / rhythm break ===== */
.statband { background: var(--fg); color: var(--paper); padding: clamp(44px, 6vw, 72px) 0; }
.statband-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(244,239,230,0.16); border: 1px solid rgba(244,239,230,0.16); }
@media (max-width: 760px) { .statband-grid { grid-template-columns: 1fr 1fr; } }
.statband .sb { background: var(--fg); padding: 30px 26px; text-align: left; }
.statband .sb-v { font-family: var(--en); font-size: clamp(34px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--paper); }
.statband .sb-text .sb-v { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); color: var(--green-soft); }
.statband .sb-l { font-family: var(--en); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,239,230,0.6); margin-top: 14px; }

/* ===== Cases (NEW) ===== */
/* 活用事例の見出しは広い画面では1行に収める（狭い画面ではバランス折り返し） */
#cases .sec-title { font-size: clamp(28px, 4.4vw, 40px); }
@media (min-width: 1080px) { #cases .sec-title { white-space: nowrap; } }
.cases-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }.case-filter { font-family: var(--en); font-size: 12px; letter-spacing: .08em; padding: 9px 16px; border: 1px solid var(--line-soft); background: var(--paper); color: var(--fg-2); transition: all .2s ease; }
.case-filter:hover { border-color: var(--fg); color: var(--fg); }
.case-filter.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 880px) { .cases-grid { grid-template-columns: 1fr; } }
.case {
  border: 1px solid var(--line); background: var(--paper); padding: 30px 30px 26px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.case:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(26,22,20,.55); }
.case .case-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.case .case-cat { font-family: var(--en); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.case .case-cat .sq { width: 7px; height: 7px; background: var(--terra); }
.case .case-no { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.case h4 { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.55; margin: 0 0 8px; color: var(--fg); }
.case .case-sub { font-size: 13px; color: var(--fg-3); margin: 0 0 22px; }
.case .case-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--line-soft); margin-bottom: 20px; background: var(--bg); }
.case .metric { padding: 16px 14px; border-right: 1px solid var(--line-soft); }
.case .metric:last-child { border-right: 0; }
.case .metric .m-lab { font-family: var(--en); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.case .metric .m-val { font-family: var(--en); font-size: 23px; font-weight: 600; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
.case .metric .m-val small { font-size: .5em; color: var(--fg-3); margin-left: 2px; font-weight: 500; }
.case .case-body { font-size: 13.5px; color: var(--fg-2); line-height: 1.9; margin: 0; }
.case .case-body b { color: var(--fg); font-weight: 700; }
.case .case-foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-soft); display: flex; flex-wrap: wrap; gap: 6px; }
.case .case-foot span { font-size: 11px; color: var(--fg-2); padding: 3px 8px; border: 1px solid var(--line-soft); background: var(--bg); }
.case.is-hidden { display: none; }
.cases-more { display: flex; justify-content: center; margin-top: 28px; }
.cases-more .btn { justify-content: center; }
.cases-more .more-n { font-family: var(--mono); font-size: 12px; color: var(--terra); margin-left: 2px; }
.sample-note { margin-top: 22px; font-size: 12px; color: var(--fg-3); display: inline-flex; align-items: center; gap: 9px; border: 1px dashed var(--line-soft); padding: 10px 14px; background: var(--paper); }
.sample-note .b { width: 7px; height: 7px; background: var(--terra); flex: none; }

/* ===== Reviews (NEW) ===== */
.cta-final .reviews-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
.review { border: 1px solid var(--line); background: var(--paper); padding: 28px 26px; display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.review:hover { transform: translateY(-3px); }
.stars { display: inline-flex; gap: 3px; margin-bottom: 16px; }
.stars .s { width: 15px; height: 15px; color: var(--terra); }
.review .quote { font-family: var(--serif); font-size: 16px; line-height: 1.85; color: var(--fg); margin: 0 0 20px; font-weight: 500; flex: 1; }
.review .quote::before { content: "\201C"; font-family: var(--serif); color: var(--terra); font-size: 30px; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.review .who { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.review .ava { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--bg-2); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--fg); flex: none; }
.review .who .n { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.review .who .r { font-size: 11.5px; color: var(--fg-3); margin-top: 2px; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 36px; padding: 22px 26px; border: 1px solid var(--line); background: var(--paper); }
.reviews-summary .score { font-family: var(--en); font-size: 44px; font-weight: 600; line-height: 1; color: var(--fg); letter-spacing: -0.02em; }
.reviews-summary .score small { font-size: .4em; color: var(--fg-3); }
.reviews-summary .meta { display: flex; flex-direction: column; gap: 4px; }
.reviews-summary .meta .lab { font-size: 12px; color: var(--fg-3); }
.reviews-summary .grow { flex: 1; }

/* ===== Plans ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); background: var(--paper); padding: 36px 30px; position: relative; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(26,22,20,.5); }
.plan.featured { background: var(--fg); color: var(--paper); border-color: var(--fg); }
.plan.featured .plan-no { color: var(--terra); }
.plan.featured .plan-name { color: var(--paper); }
.plan.featured .plan-name-en { color: var(--green-soft); }
.plan.featured .plan-desc { color: rgba(244,239,230,0.78); }
.plan.featured .plan-list li { color: rgba(244,239,230,0.85); }
.plan.featured .plan-list li::before { border-color: var(--terra); }
.plan.featured .plan-price { border-color: rgba(244,239,230,0.18); }
.plan.featured .plan-price .v { color: var(--paper); }
.plan.featured .plan-price .pre, .plan.featured .plan-price .u { color: rgba(244,239,230,0.6); }
.plan-flag { position: absolute; top: -1px; right: 24px; background: var(--terra); color: var(--paper); font-family: var(--en); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; padding: 6px 12px; }
.plan-no { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--terra); text-transform: uppercase; margin-bottom: 10px; }
.plan-name { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 0 4px; letter-spacing: 0.005em; }
.plan-name-en { font-family: var(--en); font-size: 12px; color: var(--green); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px; display: block; font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 22px; }
.plan-price .pre { font-size: 13px; color: var(--fg-3); }
.plan-price .v { font-family: var(--en); font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.plan-price .u { font-size: 13px; color: var(--fg-3); }
.plan-desc { font-size: 14px; color: var(--fg-2); line-height: 1.95; margin: 0 0 22px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-list li { font-size: 13.5px; color: var(--fg-2); padding-left: 22px; position: relative; line-height: 1.7; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-right: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; justify-content: center; width: 100%; }
.plan.featured .btn-line { background: var(--line-brand); border-color: var(--line-brand); color: #fff; }
.plan.featured .btn-line:hover { background: var(--line-brand-deep); border-color: var(--line-brand-deep); }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--line); padding: 24px 22px; background: var(--paper); position: relative; min-height: 220px; display: flex; flex-direction: column; transition: background .25s ease, transform .25s var(--ease); }
.step:hover { background: var(--bg-2); transform: translateY(-3px); }
.step-num { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--terra); margin-bottom: 28px; display: flex; align-items: center; gap: 8px; }
.step-num .dash { flex: 1; height: 1px; background: var(--line-soft); }
.step h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin: 0 0 10px; line-height: 1.6; color: var(--fg); }
.step p { font-size: 13px; color: var(--fg-2); line-height: 1.85; margin: 0; }
.step-time { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--fg-3); border-top: 1px dashed var(--line-soft); }

/* ===== Profile ===== */
.profile { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 880px) { .profile { grid-template-columns: 1fr; } }
.profile-meta { padding-top: 8px; }
@media (min-width: 901px) {
  .profile-meta { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr); gap: 18px 56px; align-items: start; }
  .profile-meta .who, .profile-meta h3, .profile-meta .role, .profile-meta p { grid-column: 1; }
  .profile-meta .exp { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; grid-template-columns: 1fr; }
}
.profile-meta .who { font-family: var(--en); font-size: 12px; letter-spacing: 0.2em; color: var(--terra); margin-bottom: 12px; text-transform: uppercase; font-weight: 600; }
.profile-meta h3 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; margin: 0 0 6px; letter-spacing: 0.005em; }
.profile-meta .role { font-size: 14px; color: var(--fg-3); margin-bottom: 28px; }
.profile-meta p { font-size: 15px; color: var(--fg-2); line-height: 2; margin: 0 0 16px; }
.exp { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.exp-item .y { font-family: var(--en); font-size: 11px; color: var(--terra); letter-spacing: 0.14em; margin-bottom: 4px; font-weight: 600; }
.exp-item .t { font-size: 14px; color: var(--fg); font-weight: 600; }
.exp-item .d { font-size: 12px; color: var(--fg-3); margin-top: 2px; line-height: 1.7; }
@media (max-width: 900px) { .profile-meta { display: block; } .profile-meta .exp { margin-top: 28px; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .profile-meta .exp { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line-soft); padding: 24px 0; }
.faq summary { list-style: none; display: grid; grid-template-columns: 56px 1fr 24px; gap: 18px; align-items: center; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--fg); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q-no { font-family: var(--en); font-size: 13px; font-weight: 600; color: var(--terra); letter-spacing: 0.16em; }
.faq .toggle { width: 18px; height: 18px; position: relative; }
.faq .toggle::before, .faq .toggle::after { content: ""; position: absolute; background: var(--fg); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.faq .toggle::before { width: 14px; height: 1.5px; }
.faq .toggle::after { width: 1.5px; height: 14px; transition: transform .25s; }
.faq[open] .toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq .a { margin: 16px 0 4px 74px; color: var(--fg-2); font-size: 14.5px; line-height: 2; max-width: 760px; overflow: hidden; }
.faq[open] .a { animation: faq-open .35s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .faq summary { grid-template-columns: 44px 1fr 20px; gap: 12px; font-size: 15.5px; } .faq .a { margin-left: 56px; font-size: 14px; } }

/* ===== Final CTA ===== */
.cta-final { background: var(--fg); color: var(--paper); border-top: 0; }
.cta-final .sec-num { color: rgba(244,239,230,0.5); border-color: rgba(244,239,230,0.4); }
.cta-final .sec-head { border-top-color: rgba(244,239,230,0.4); }
.cta-final .sec-kicker { color: var(--terra); }
.cta-final .sec-title { color: var(--paper); }
.cta-final .sec-title em { color: var(--green-soft); }
.cta-card { border: 1px solid rgba(244,239,230,0.18); background: rgba(244,239,230,0.02); padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
@media (max-width: 880px) { .cta-card { grid-template-columns: 1fr; gap: 32px; } }
.cta-card h3 { font-family: var(--serif); font-size: clamp(26px, 4vw, 44px); font-weight: 600; line-height: 1.45; margin: 0 0 20px; letter-spacing: 0.005em; color: var(--paper); }
.cta-card h3 em { font-style: normal; color: var(--terra); }
.cta-card p { color: rgba(244,239,230,0.78); font-size: 15px; line-height: 2; margin: 0 0 8px; }
.cta-side { border-left: 1px solid rgba(244,239,230,0.18); padding-left: 40px; display: grid; gap: 16px; }
@media (max-width: 880px) { .cta-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(244,239,230,0.18); padding-top: 28px; } }
.cta-side .row { display: grid; grid-template-columns: 90px 1fr; gap: 14px; font-size: 13px; align-items: baseline; }
.cta-side .row .l { font-family: var(--en); font-size: 11px; letter-spacing: 0.16em; color: rgba(244,239,230,0.55); text-transform: uppercase; font-weight: 600; }
.cta-side .row .v { color: var(--paper); font-weight: 600; }
.cta-side .actions { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.cta-side .actions .btn-ghost { color: var(--paper); border-color: rgba(244,239,230,0.4); }
.cta-side .actions .btn-ghost:hover { background: var(--paper); color: var(--fg); border-color: var(--paper); }
.cta-side .btn { justify-content: center; }
.line-official { display: inline-flex; align-self: center; transition: opacity .2s ease; }
.line-official img { height: 44px; width: auto; display: block; }
.line-official:hover { opacity: 0.85; }
@media (max-width: 560px) { .cta-side .row { grid-template-columns: 1fr; gap: 4px; } }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line-soft); padding: 52px 0 32px; font-size: 13px; color: var(--fg-3); background: var(--bg); }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px 40px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 760px) { .site-footer .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
.foot-brand .foot-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--fg); letter-spacing: 0.04em; }
.foot-brand .foot-tag { margin-top: 8px; font-size: 12.5px; line-height: 1.8; color: var(--fg-3); max-width: 320px; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a { font-size: 13.5px; color: var(--fg-2); }
.foot-nav a:hover { color: var(--green); }
.foot-social { display: flex; flex-direction: column; gap: 12px; }
.foot-social-lab { font-family: var(--en); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.site-footer .foot-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; }
.site-footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .links a:hover { color: var(--fg); }

/* ===== Social icons ===== */
.social-icons { display: flex; gap: 10px; align-items: center; }
.social-icons .soc { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-2); background: var(--paper); transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.social-icons .soc:hover { transform: translateY(-2px); }
.social-icons .soc svg { width: 17px; height: 17px; display: block; }
.social-icons .soc.x:hover { background: #111; color: #fff; border-color: #111; }
.social-icons .soc.yt:hover { background: #FF0033; color: #fff; border-color: #FF0033; }
.social-icons .soc.note { font-family: var(--en); font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; }
.social-icons .soc.note:hover { background: var(--fg); color: var(--paper); border-color: var(--fg); }

/* ===== Share bar ===== */
.sharebar { max-width: 1180px; margin: 0 auto; padding: 30px clamp(20px, 5vw, 60px); display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.sharebar-lab { font-family: var(--en); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }

/* ===== Page hero (下層ページ) ===== */
.page-hero { position: relative; overflow: hidden; padding: clamp(108px, 13vw, 168px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-soft); background: radial-gradient(ellipse 90% 60% at 82% -10%, color-mix(in oklab, var(--green) 9%, transparent), transparent 60%), var(--bg); }
.page-hero .field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.page-hero .field i { position: absolute; width: 6px; height: 6px; background: var(--terra); opacity: 0; }
html.dir-kinetic .page-hero .field i { animation: floaty 9s ease-in-out infinite; opacity: .13; }
html.dir-editorial .page-hero .field, html.dir-warm .page-hero .field { display: none; }
.page-hero .shell { position: relative; z-index: 2; }
.crumb { display: flex; align-items: center; gap: 10px; font-family: var(--en); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-3); margin-bottom: 26px; }
.crumb a { color: var(--fg-3); }
.crumb a:hover { color: var(--green); }
.crumb .sep { opacity: 0.5; }
.page-hero-num { display: inline-flex; align-items: center; gap: 12px; font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--terra); text-transform: uppercase; margin-bottom: 18px; }
.page-hero-num .pin { width: 7px; height: 7px; border-radius: 999px; background: var(--terra); }
.page-hero-title { font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); font-weight: 700; line-height: 1.18; letter-spacing: 0.005em; margin: 6px 0 0; max-width: 760px; }
.page-hero-title em { font-style: normal; color: var(--green); }
.page-hero-lead { margin-top: 22px; font-size: 16px; color: var(--fg-2); max-width: 640px; line-height: 1.95; }

/* ===== Teasers (トップ用) ===== */
.teaser-more { margin-top: 36px; display: flex; justify-content: center; }
.teaser-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .teaser-cases { grid-template-columns: 1fr; } }
.tcase { border: 1px solid var(--line); background: var(--paper); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.tcase:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(26,22,20,.5); }
.tcase-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--en); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.tcase-cat .sq { width: 7px; height: 7px; background: var(--green); display: inline-block; }
.tcase h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0; flex: 1; }
.tcase-m { font-family: var(--en); font-size: 13px; font-weight: 600; color: var(--terra); letter-spacing: 0.02em; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.teaser-about { border: 1px solid var(--line); background: var(--paper); padding: clamp(28px, 4vw, 44px); }
.teaser-about .ta-who { font-family: var(--en); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.teaser-about h3 { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin: 10px 0 16px; }
.teaser-about p { font-size: 15px; color: var(--fg-2); line-height: 1.95; max-width: 720px; margin: 0 0 24px; }

/* ===== Kinetic marquee ===== */
.marquee { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: clamp(18px, 2.6vw, 30px) 0; background: var(--bg); white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; animation: marquee-scroll 30s linear infinite; will-change: transform; }
.marquee-item { display: inline-flex; align-items: center; font-family: var(--en); font-weight: 700; font-size: clamp(30px, 5.4vw, 68px); letter-spacing: 0.01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.1px var(--fg-3); padding: 0 4px; line-height: 1; }
.marquee-dot { -webkit-text-stroke: 0; color: var(--green); margin: 0 clamp(20px, 3vw, 44px); font-size: 0.42em; transform: translateY(-0.12em); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html.motion-off .marquee-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== Scroll cue (hero) ===== */
.scroll-cue { position: absolute; right: clamp(18px, 4vw, 56px); bottom: 30px; z-index: 3; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--en); font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; color: var(--fg-3); }
.scroll-cue .t { writing-mode: vertical-rl; }
.scroll-cue .line { width: 1px; height: 52px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: var(--green); animation: scroll-run 1.9s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes scroll-run { 0% { transform: translateY(-110%); } 100% { transform: translateY(330%); } }
html.motion-off .scroll-cue .line::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .scroll-cue .line::after { animation: none; } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .sec-title { font-size: clamp(26px, 8vw, 34px); line-height: 1.38; }
  .sec-lead, .profile-meta p { font-size: 14.5px; line-height: 1.9; }
  .hero h1 { font-size: clamp(36px, 13vw, 56px); line-height: 1.16; }
  .hero-sub { font-size: 14.5px; line-height: 1.9; }
  .hero-cta { align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-cta .note { justify-content: center; }
  .cta-card { padding: 28px 20px; }
  .site-footer .foot-base { align-items: flex-start; flex-direction: column; }
}
