/* ==========================================================================
   top.css — トップページ専用（2026-11-27 リニューアル）
   --------------------------------------------------------------------------
   index.html だけが読み込む。style.css / refine.css の後に置く。
   本文（<main> 内、お問い合わせより前）のクラスはすべて t- で始まり、
   共通CSSの指定とは重ならない。ヘッダー・フッター・フォームは共通CSSのまま。

   デザインの方針（参考: styles.refero.design の Clutch Security）
     1. 白地。文字の大きさと太さで見せる。色のアクセントは青1色
     2. 見出しは太さの違い（500 / 700）で抑揚をつける
     3. 角丸は 6px、区切りは 1px の細い線。影はつけない
     4. 全幅の暗い帯は使わない（AI活用だけ、角丸のパネルとして暗くする）
   部品の組み立て（参考: 21st.dev）
     ヒーローの方眼背景とバッジ、線で区切る機能グリッド、料金カード、
     開閉式のFAQ を、HTML と CSS だけで作り直している。
   ========================================================================== */

.home {
  --t-ink: #0b1220;
  --t-body: #3b4658;
  --t-mute: #5b6677;
  --t-soft: #7c8797;
  --t-line: #e5e7eb;
  --t-line-2: #d3d8e0;
  --t-fog: #f8fafc;
  --t-accent: #1d4ed8;
  --t-accent-dark: #1a3fb0;
  --t-wash: #e9effe;
  --t-navy: #0b1a33;
  --t-r: 6px;
  color: var(--t-body);
}

/* ---- ボタン（トップページ内） ---- */
.home .btn { border-radius: var(--t-r); font-weight: 700; letter-spacing: 0.02em; }
.home .btn-primary { background: var(--t-accent); }
.home .btn-primary:hover { background: var(--t-accent-dark); }
.home .btn-outline { border-color: var(--t-line-2); background: #fff; color: var(--t-ink); }
.home .btn-outline:hover { background: var(--t-fog); border-color: var(--t-soft); }
.home .btn:focus-visible,
.home main a:focus-visible,
.home main summary:focus-visible { outline: 2px solid var(--t-accent); outline-offset: 3px; }

.home main section { scroll-margin-top: 72px; }

/* ==========================================================================
   セクションの共通部品
   ========================================================================== */
.t-section { padding: 104px 0; background: #fff; border-top: 1px solid var(--t-line); }
.home main > section:nth-of-type(even) { background: var(--t-fog); }

.t-story-step,
.t-section-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 18px;
}
.t-story-num,
.t-section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-accent);
}
span.t-story-name {
  padding-left: 14px;
  border-left: 1px solid var(--t-line-2);
  font-size: 0.86rem;
  color: var(--t-mute);
}

.t-section-title,
.t-section-title-sm,
h2.t-story-name {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--t-ink);
  max-width: 22em;
}
.t-section-title-sm { font-size: clamp(1.6rem, 3vw, 2.3rem); }
div.t-story-step { display: block; margin: 0; }
div.t-story-step .t-story-num { display: block; margin-bottom: 18px; }

.t-section-lead,
.t-section-lead-sm {
  margin-top: 22px;
  max-width: 46em;
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--t-body);
}
.t-section-lead strong { color: var(--t-ink); }
.t-accent-text { color: var(--t-accent); }

.t-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--t-accent);
}
.t-link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.t-link-arrow:hover::after { transform: translateX(4px); }
.t-section p a:not(.btn):not(.t-link-arrow) {
  color: var(--t-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.t-check-list { display: grid; gap: 10px; }
.t-check-list li { position: relative; padding-left: 26px; font-size: 0.94rem; line-height: 1.7; color: var(--t-body); }
.t-check-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--t-accent);
  border-bottom: 2px solid var(--t-accent);
  transform: rotate(-45deg);
}

.t-story-bridge {
  margin-top: 64px;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--t-ink);
}
.t-story-bridge::before {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 auto 20px;
  background: var(--t-accent);
}

/* 線で区切るグリッド（マス同士を 1px の線で分ける） */
.t-benefit-list,
.t-pain-grid,
.t-risk-grid,
.t-service-grid,
.t-sla-grid,
.t-reason-grid,
.t-flow-list {
  display: grid;
  margin-top: 56px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
  overflow: hidden;
}
.t-benefit-list > *,
.t-pain-grid > *,
.t-risk-grid > *,
.t-service-grid > *,
.t-sla-grid > *,
.t-reason-grid > *,
.t-flow-list > * {
  /* 左と上に線を引き、1px ずらして外枠の下に隠す。内側の線だけが残る */
  margin: -1px 0 0 -1px;
  padding: 32px;
  border-left: 1px solid var(--t-line);
  border-top: 1px solid var(--t-line);
  background: #fff;
}
.t-benefit-list, .t-reason-grid { grid-template-columns: repeat(2, 1fr); }
.t-pain-grid, .t-flow-list { grid-template-columns: repeat(3, 1fr); }
.t-risk-grid, .t-service-grid, .t-sla-grid { grid-template-columns: repeat(4, 1fr); }

.t-section h3, .t-section h4 { font-weight: 700; letter-spacing: 0; line-height: 1.5; color: var(--t-ink); }

/* マスの中の連番・アイコン */
.t-benefit-num, .t-risk-index, .t-reason-num, .t-step-num, .t-security-step-num, .t-impact-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--t-accent);
}
.t-pain-icon, .t-service-icon, .t-sla-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: var(--t-r);
  background: var(--t-wash);
  color: var(--t-accent);
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.t-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 0;
  background: #fff;
  text-align: center;
  isolation: isolate;
}
.t-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--t-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--t-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 0%, #000 30%, transparent 100%);
}
.t-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--t-line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--t-mute);
}
.t-hero-badge-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--t-wash);
  color: var(--t-accent);
}
.t-hero-title { margin-top: 28px; }
.t-hero-kicker {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--t-mute);
  text-wrap: balance;
}
.t-hero-line {
  display: block;
  font-size: min(8.4vw, 4.6rem);  /* スマホ幅でも「企業の未来をつくる。」が1行に収まる大きさ */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--t-ink);
}
.t-hero-line-soft { font-weight: 500; color: var(--t-soft); }
.t-hero-lead {
  max-width: 40em;
  margin: 28px auto 0;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.95;
  color: var(--t-body);
  text-wrap: balance;
}
.t-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.t-hero-note {
  margin-top: 28px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-mute);
}
.t-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border: 1px solid var(--t-line);
  border-bottom: 0;
  border-radius: var(--t-r) var(--t-r) 0 0;
  background: #fff;
  overflow: hidden;
  text-align: left;
}
.t-hero-facts > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 26px 28px 28px;
  box-shadow: 1px 0 0 var(--t-line), 0 1px 0 var(--t-line);
}
.t-hero-facts dt { font-size: 0.8rem; line-height: 1.5; color: var(--t-mute); }
.t-hero-facts dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--t-ink);
}
.t-hero-facts small { margin: 0 2px; font-size: 0.5em; font-weight: 700; color: var(--t-body); }

/* ==========================================================================
   お客様が得られること
   ========================================================================== */
.t-benefit { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 40px !important; }
.t-benefit-num { padding-top: 6px; }
.t-benefit h3 { font-size: 1.28rem; }
.t-benefit p { margin-top: 12px; font-size: 0.96rem; line-height: 1.9; }
.t-benefit-close {
  margin-top: 40px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.9;
}
.t-benefit-close b { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--t-ink); }

/* ==========================================================================
   特にニーズの高いサービス（料金カード）
   ========================================================================== */
.t-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.t-quick-item {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
  transition: border-color 0.2s var(--ease);
}
.t-quick-item:hover { border-color: var(--t-soft); }
.t-quick-item h4 { font-size: 1.06rem; }
.t-quick-item p { margin-top: 12px; font-size: 0.9rem; line-height: 1.85; }
.t-quick-item .t-quick-price {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--t-ink);
}
.t-quick-item h4 + p { flex: 1; margin-bottom: 20px; }
.t-quick-item .t-quick-price { border-top: 1px solid var(--t-line); }
.t-quick-price em { margin-left: 4px; font-size: 0.78rem; font-style: normal; font-weight: 500; color: var(--t-mute); }
.t-quick-price span { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; color: var(--t-mute); }
.t-quick-note { margin-top: 28px; font-size: 0.86rem; color: var(--t-mute); }

/* ==========================================================================
   脆弱性診断サービス
   ========================================================================== */
.t-security-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(5, auto) 1fr;
  column-gap: 72px;
  align-items: start;
}
.t-security-main > * { grid-column: 1; }
.t-security-steps { grid-column: 2; grid-row: 1 / span 6; display: grid; gap: 12px; }
.t-security-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
}
.t-security-step-num { padding-top: 5px; }
.t-security-steps h3 { font-size: 1.12rem; }
.t-security-steps p { margin-top: 8px; font-size: 0.92rem; line-height: 1.85; }
.t-security-approach {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--t-accent);
  font-size: 0.94rem;
  line-height: 1.9;
}
.t-security-approach strong { color: var(--t-ink); }
.t-security-teaser { margin-top: 24px; font-size: 0.94rem; line-height: 1.9; }
.t-security-teaser b { font-family: var(--font-head); font-size: 1.25rem; color: var(--t-ink); }
.t-security-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   AI活用（ここだけ、角丸の暗いパネル）
   ========================================================================== */
.t-impact { padding-left: 24px; padding-right: 24px; }
.t-impact-aura { display: none; }
.t-impact > .container {
  position: relative;
  max-width: 1112px;
  padding: 80px 64px;
  border-radius: 12px;
  background-color: var(--t-navy);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  color: #c3cde0;
}
.t-impact .t-story-num { color: #8fb4ff; }
.t-impact span.t-story-name { border-left-color: rgba(255, 255, 255, 0.24); color: #c3cde0; }
.t-impact .t-section-title { color: #fff; }
.t-impact .t-accent-text { color: #8fb4ff; }
.t-impact .t-section-lead { color: #c3cde0; }
.t-impact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.t-impact-item { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.t-impact-index { display: flex; align-items: center; gap: 12px; }
.t-impact .t-impact-num { color: #8fb4ff; }
.t-impact-tag {
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}
.t-impact .t-impact-title { margin-top: 18px; font-size: 1.22rem; font-weight: 700; line-height: 1.5; letter-spacing: 0; color: #fff; }
.t-impact-copy p { margin-top: 12px; font-size: 0.93rem; line-height: 1.9; color: #c3cde0; }
.t-impact-note { margin-top: 48px; font-size: 0.84rem; color: #a9b6cd; }

/* ==========================================================================
   お悩み / リスク
   ========================================================================== */
.t-pain-card { display: flex; flex-direction: column; gap: 20px; min-height: 168px; }
.t-pain-card p { font-family: var(--font-head); font-size: 1.04rem; font-weight: 700; line-height: 1.65; color: var(--t-ink); }
.t-pain-card-cta { justify-content: center; align-items: flex-start; background: var(--t-wash) !important; }

.t-risk-card h3 { margin-top: 16px; font-size: 1.08rem; }
.t-risk-card p { margin-top: 12px; font-size: 0.92rem; line-height: 1.85; }

/* ==========================================================================
   サービス
   ========================================================================== */
.t-flagship-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.t-flagship-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
}
.t-flagship-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--t-wash);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--t-accent);
}
.t-flagship-card h3 { margin-top: 20px; font-size: 1.5rem; line-height: 1.4; }
.t-flagship-card > p { margin-top: 14px; font-size: 0.96rem; line-height: 1.9; }
.t-flagship-card .t-check-list { margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--t-line); }
.t-flagship-card .t-link-arrow { margin-top: auto; align-self: flex-start; }

.t-sub-service-head { margin-top: 80px; }
.t-sub-service-head h3 { font-size: 1.4rem; }
.t-sub-service-head p { margin-top: 8px; font-size: 0.96rem; color: var(--t-mute); }
.t-service-grid { margin-top: 32px; }
.t-service-card { display: flex; flex-direction: column; padding: 28px !important; }
.t-service-card h4 { margin-top: 18px; font-size: 1rem; }
.t-service-card p { margin-top: 10px; font-size: 0.88rem; line-height: 1.85; }
.t-service-card .t-link-arrow { margin-top: auto; padding-top: 16px; font-size: 0.84rem; align-self: flex-start; }

/* ==========================================================================
   改修の進め方
   ========================================================================== */
.t-reform-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.t-reform-points { margin-top: 40px; }
.t-reform-points li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding-bottom: 28px;
}
.t-reform-points li:last-child { padding-bottom: 0; }
.t-reform-points li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--t-line-2);
}
.t-step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--t-line-2);
  border-radius: 50%;
  background: #fff;
}
.t-reform-points h4 { padding-top: 8px; font-size: 1.08rem; }
.t-reform-points p { margin-top: 6px; font-size: 0.93rem; line-height: 1.85; }
.t-reform-visual { position: sticky; top: 104px; }
.t-reform-visual-card {
  display: grid;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: var(--t-fog);
}
.t-rv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--t-ink);
}
.t-rv-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.t-rv-dot-old { background: #a3adba; }
.t-rv-dot-new { background: var(--t-accent); box-shadow: 0 0 0 4px var(--t-wash); }
.t-rv-arrow { padding-left: 20px; font-size: 0.86rem; color: var(--t-mute); }

/* ==========================================================================
   保守・運用（体制とプラン）
   ========================================================================== */
.t-sla-card h4 { margin-top: 18px; font-size: 1.04rem; }
.t-sla-card p { margin-top: 10px; font-size: 0.9rem; line-height: 1.85; }

.t-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; align-items: stretch; }
.t-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
}
.t-plan-card-featured { border-color: var(--t-accent); box-shadow: 0 0 0 1px var(--t-accent); }
.t-plan-badge {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--t-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.t-plan-card h4 { font-size: 1.3rem; }
.t-plan-desc { margin-top: 12px; font-size: 0.92rem; line-height: 1.85; }
.t-plan-card .t-check-list { margin: 24px 0 32px; padding-top: 24px; border-top: 1px solid var(--t-line); }
.t-plan-card .btn { margin-top: auto; width: 100%; }
.t-plan-note { margin-top: 24px; font-size: 0.86rem; color: var(--t-mute); }

/* ==========================================================================
   次の時代（つまずき → 整えること）
   ========================================================================== */
.t-future-flow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) auto minmax(0, 7fr);
  gap: 24px;
  align-items: center;
  margin-top: 56px;
}
.t-future-problem,
.t-future-answer { padding: 36px; border: 1px solid var(--t-line); border-radius: var(--t-r); }
.t-future-problem { background: var(--t-fog); }
.t-future-answer { background: #fff; border-color: var(--t-accent); }
.t-future-problem-label,
.t-future-answer-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--t-mute);
}
.t-future-answer-label { color: var(--t-accent); }
.t-future-problem ul, .t-future-answer ul { display: grid; gap: 14px; margin-top: 20px; }
.t-future-problem li { position: relative; padding-left: 24px; font-size: 0.95rem; line-height: 1.7; color: var(--t-ink); }
.t-future-problem li::before { content: "×"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--t-soft); }
.t-future-problem-note { margin-top: 22px; font-size: 0.9rem; color: var(--t-mute); }
.t-future-answer li { padding-bottom: 14px; border-bottom: 1px solid var(--t-line); font-size: 0.92rem; line-height: 1.85; }
.t-future-answer li:last-child { padding-bottom: 0; border-bottom: 0; }
.t-future-answer strong { font-family: var(--font-head); font-size: 1.04rem; color: var(--t-ink); }
.t-future-arrow { color: var(--t-accent); }
.t-future-statement {
  margin-top: 56px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 2;
}
.t-future-statement strong { font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--t-ink); }

/* ==========================================================================
   選ばれる理由 / 流れ
   ========================================================================== */
.t-reason-card { padding: 40px !important; }
.t-reason-card h4 { margin-top: 14px; font-size: 1.2rem; }
.t-reason-card p { margin-top: 12px; font-size: 0.95rem; line-height: 1.9; }

.t-flow-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--t-wash);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--t-accent);
}
.t-flow-list h4 { margin-top: 18px; font-size: 1.06rem; }
.t-flow-list p { margin-top: 8px; font-size: 0.91rem; line-height: 1.85; }

/* ==========================================================================
   代表メッセージ / 会社概要
   ========================================================================== */
.t-message-copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 72px;
  align-items: start;
}
.t-message-copy > * { grid-column: 2; }
.t-message-copy > .t-section-eyebrow { grid-column: 1; grid-row: 1; }
.t-message-copy > .t-message-title { grid-column: 1; grid-row: 2 / span 12; }
.t-message-copy > p:not(.t-section-eyebrow) { font-size: 1rem; line-height: 2.05; }
.t-message-copy > p + p { margin-top: 20px; }
.t-message-copy strong { color: var(--t-ink); }
.t-message-copy > .t-message-sign {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--t-line);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--t-ink);
}

.t-about-table {
  margin-top: 48px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
  overflow: hidden;
}
.t-about-table > div { display: grid; grid-template-columns: 200px 1fr; }
.t-about-table > div + div { border-top: 1px solid var(--t-line); }
.t-about-table dt { padding: 18px 24px; background: var(--t-fog); font-size: 0.88rem; font-weight: 700; color: var(--t-ink); }
.t-about-table dd { margin: 0; padding: 18px 24px; font-size: 0.94rem; line-height: 1.8; color: var(--t-body); }
.t-about-table a { color: var(--t-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   FAQ（開閉式）
   ========================================================================== */
.t-faq > .container {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 72px;
  align-items: start;
}
.t-faq > .container > * { grid-column: 1; }
.t-faq-list {
  grid-column: 2 !important;
  grid-row: 1 / span 4;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
  overflow: hidden;
}
.t-faq-item + .t-faq-item { border-top: 1px solid var(--t-line); }
.t-faq-item > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--t-ink);
}
.t-faq-item > summary::-webkit-details-marker { display: none; }
.t-faq-item > summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background:
    linear-gradient(var(--t-accent), var(--t-accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--t-accent), var(--t-accent)) center / 2px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.t-faq-item[open] > summary::after { transform: rotate(45deg); }
.t-faq-item > summary:hover { background: var(--t-fog); }
.t-faq-answer { padding: 0 24px 24px; font-size: 0.94rem; line-height: 1.95; }
.t-faq-more { margin-top: 28px; }
.t-faq-more a { font-weight: 700; text-decoration: none !important; }

/* ==========================================================================
   お問い合わせ（共通CSSの部品を、トップページの調子に合わせる）
   ========================================================================== */
.home #contact { padding: 104px 0; border-top: 1px solid var(--t-line); }
.home #contact .section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--t-accent);
}
.home #contact .section-title {
  margin-top: 14px;
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.home #contact .form-card {
  margin-top: 48px;
  padding: 40px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: #fff;
  text-align: left;
}
.home #contact .form-promise { border-left-color: var(--t-accent); }
.home #contact .form-group input,
.home #contact .form-group select,
.home #contact .form-group textarea { border-radius: var(--t-r); }
.home #contact .contact-card svg { color: var(--t-accent); }

/* ==========================================================================
   画面幅ごとの調整
   ========================================================================== */
@media (max-width: 1024px) {
  .t-risk-grid, .t-service-grid, .t-sla-grid { grid-template-columns: repeat(2, 1fr); }
  .t-security-main, .t-reform-layout, .t-message-copy, .t-faq > .container { display: block; }
  .t-security-steps, .t-faq-list { margin-top: 40px; }
  .t-security-actions { margin-bottom: 0; }
  .t-reform-visual { position: static; margin-top: 48px; }
  .t-message-title { margin-bottom: 32px; }
  .t-quick-grid, .t-plan-grid { grid-template-columns: repeat(2, 1fr); }
  .t-plan-grid { gap: 24px 16px; }
  .t-impact-list { grid-template-columns: 1fr; gap: 28px; }
  .t-impact > .container { padding: 64px 40px; }
  .t-future-flow { grid-template-columns: 1fr; }
  .t-future-arrow { justify-self: center; transform: rotate(90deg); }
}

@media (max-width: 760px) {
  .t-section, .home #contact { padding: 72px 0; }
  .t-hero { padding-top: 128px; }
  .t-hero-facts { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .t-hero-facts > div { padding: 20px; }
  .t-hero-actions .btn { width: 100%; }
  .t-benefit-list, .t-reason-grid, .t-pain-grid, .t-flow-list,
  .t-risk-grid, .t-service-grid, .t-sla-grid,
  .t-quick-grid, .t-plan-grid, .t-flagship-grid { grid-template-columns: 1fr; }
  .t-benefit-list, .t-pain-grid, .t-risk-grid, .t-reason-grid, .t-flow-list, .t-sla-grid { margin-top: 40px; }
  .t-benefit-list > *, .t-pain-grid > *, .t-risk-grid > *, .t-service-grid > *,
  .t-sla-grid > *, .t-reason-grid > *, .t-flow-list > * { padding: 24px !important; }
  .t-pain-card { min-height: 0; flex-direction: row; align-items: center; }
  .t-pain-card-cta { flex-direction: column; align-items: flex-start; }
  .t-pain-icon { flex: none; }
  .t-pain-card p br { display: none; }
  .t-flagship-card, .t-future-problem, .t-future-answer { padding: 28px 24px; }
  .t-plan-card { padding: 32px 24px 24px; }
  .t-impact { padding-left: 12px; padding-right: 12px; }
  .t-impact > .container { padding: 48px 24px; }
  .t-about-table > div { grid-template-columns: 1fr; }
  .t-about-table dt { padding: 12px 20px 0; background: none; font-size: 0.8rem; color: var(--t-mute); }
  .t-about-table dd { padding: 4px 20px 14px; }
  .t-faq-item > summary { padding: 18px 20px; font-size: 0.96rem; }
  .t-faq-answer { padding: 0 20px 20px; }
  .t-security-actions .btn { width: 100%; }
  .home #contact .form-card { padding: 24px 20px; }
  .t-sub-service-head { margin-top: 56px; }
  .t-story-bridge { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .t-link-arrow::after, .t-faq-item > summary::after, .t-quick-item { transition: none; }
}
