/* ==========================================================================
   index.html (Top LP) - Specific Styles
   ========================================================================== */

/* Hero
   ------------------------------------------------ */
.hero {
  padding: 130px 0 90px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center; /* FV全体を中央揃え */
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  justify-items: center;
}
.hero-grid > div {
  width: 100%;
  max-width: 1100px;
}
/* eyebrowを中央揃え */
.hero .hero-eyebrow {
  justify-content: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  display: none;
}

/* Hero 英語大型キャッチ */
.hero-en {
  font-family: 'Archivo', sans-serif;
  /* A. ウェイトを900→800に下げ、抜け感を確保 */
  font-weight: 800;
  /* PCで2行（FROM IDEA / TO FORM.）に確実に収まるサイズ。
     コンテナ幅に対し9文字×0.5em程度を上限に。 */
  font-size: clamp(88px, 13vw, 200px);
  /* C. 行間を0.88→0.95に広げ、上下の圧迫感を解消 */
  line-height: 0.95;
  /* B. 字間を-0.055em→-0.02emに緩め、文字の独立性を確保 */
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: #0a0a0a;
}
.hero-en .row {
  display: block;
  position: relative;
  /* 各行内での折り返しを禁止し、PCでは「FROM IDEA」「TO FORM.」を1行ずつに */
  white-space: nowrap;
}
.hero-en .row.indent {
  padding-left: 0;
}
.hero-en .dot {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: #0a0a0a;
  margin-left: 0.06em;
  /* 文字のベースライン下端（下側）に配置 */
  vertical-align: -0.02em;
  -webkit-text-stroke: 0;
}
/* 1行目「FROM IDEA」は2行目より小さく（約65%）。
   2行目「TO FORM.」を結論として強調する階層構造。 */
.hero-en .row:first-child {
  font-size: 0.65em;
  /* 小さい行はやや字間を緩めて読みやすく */
  letter-spacing: -0.01em;
  /* 2行目との間隔を最適化 */
  margin-bottom: 0.05em;
}
/* 既存の .outline クラスは塗りで運用（互換用） */
.hero-en .outline {
  color: inherit;
  -webkit-text-stroke: 0;
}

.hero h1 {
  font-family: 'Noto Sans JP', sans-serif;
  /* 1行で収まるサイズに調整（デスクトップで最大60px） */
  font-size: clamp(28px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  white-space: nowrap;
  color: #333;
  text-align: center;
}
/* h1 左→右リビールアニメーション（clip-pathで左から出現） */
.hero-h1-anim .hero-h1-main {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: translateX(-40px);
  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
              -webkit-clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
              opacity 1.0s ease 0.4s,
              transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.hero-h1-anim.visible .hero-h1-main {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateX(0);
}
.hero h1 .em {
  font-style: normal;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0a0a0a;
}
.hero h1 .small {
  display: block;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin-top: 20px;
  text-indent: 0; /* 本文のインデントをキャンセル */
  color: #666;
  white-space: normal;
}
@media (max-width: 600px) {
  /* 狭幅では改行を許可 */
  .hero h1 { white-space: normal; }
}
.hero-lead {
  font-size: 16px;
  line-height: 2.1;
  /* 2行に収まる広さを確保＆中央揃え */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
  margin-bottom: 48px;
  text-align: center;
}
/* キーフレーズ部分は途中で折れないようにnowrap・inline-block化 */
.hero-lead strong {
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
}
/* 狭幅では自然な可読性のため左寄せ＋max-width縮小 */
@media (max-width: 768px) {
  .hero-lead {
    max-width: 640px;
    text-align: left;
    font-size: 15px;
  }
  .hero-lead strong {
    white-space: normal;
  }
}
.hero-cta {
  justify-content: center;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .hero { padding: 110px 0 64px; }
  /* SP も 2行目「TO FORM.」(8文字) が画面幅に収まる上限を基準に算出。
     コンテナ内側に対し約 17vw が安全上限。 */
  .hero-en { font-size: clamp(72px, 17vw, 140px); margin-bottom: 24px; line-height: 0.92; letter-spacing: -0.03em; }
  .hero-en .row.indent { padding-left: 0; }
  .hero-eyebrow { font-size: 10.5px; gap: 12px; margin-bottom: 18px; letter-spacing: 0.16em; }
  .hero h1 { font-size: clamp(22px, 5.4vw, 32px); margin-bottom: 24px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 480px) {
  .hero { padding: 96px 0 48px; }
  /* スマホ実機（375〜430px）で画面幅いっぱいに収まる安全な上限値。
     8文字 × 0.55em + letter-spacing 補正で 17.5vw が限界目安。 */
  .hero-en { font-size: 17.5vw; margin-bottom: 20px; line-height: 0.92; letter-spacing: -0.03em; }
  .hero h1 { font-size: 19px; line-height: 1.5; }
  .hero h1 .small { font-size: 0.55em; margin-top: 14px; }
  .hero-lead { font-size: 13.5px !important; line-height: 1.95 !important; margin-bottom: 32px !important; }
  .hero-parent-badge {
    width: 100%;
    justify-content: center;
    font-size: 11px;
    padding: 10px 14px;
  }
  .hero-parent-badge .badge-meta { font-size: 10px; }
}

/* Entry Section (2つの入り口)
   ------------------------------------------------ */
.entry-section {
  background: #fafafa;
  padding: 100px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.entry-intro {
  text-align: center;
  margin-bottom: 64px;
}
.entry-intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 16px;
}
.entry-intro h2 .en {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.entry-intro p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  max-width: 640px;
  margin: 0 auto;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.entry-card {
  background: #fff;
  padding: 56px 48px;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.entry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: #0a0a0a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.entry-card:hover { border-color: #0a0a0a; }
.entry-card:hover::before { transform: scaleX(1); }
.entry-card-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #999;
}
.entry-card-label .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid #0a0a0a;
  color: #0a0a0a;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.entry-card h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.entry-card .target {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.05em;
  border-top: 1px dashed rgba(0,0,0,0.15);
  padding-top: 20px;
  line-height: 1.9;
}
.entry-card .target strong {
  font-weight: 600;
  color: #0a0a0a;
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-family: 'Archivo', sans-serif;
}
.entry-card .scope {
  font-size: 14px;
  line-height: 2;
  color: #333;
}
.entry-card-cta {
  margin-top: auto;
  padding-top: 8px;
}
@media (max-width: 768px) {
  .entry-section { padding: 72px 0; }
  .entry-grid { grid-template-columns: 1fr; gap: 16px; }
  .entry-card { padding: 36px 24px; gap: 16px; }
  .entry-card h3 { font-size: 22px; line-height: 1.5; }
  .entry-card .scope { font-size: 13.5px; line-height: 1.95; }
  .entry-card .target { font-size: 12.5px; line-height: 1.85; padding-top: 16px; }
  .entry-intro { margin-bottom: 40px; text-align: left; }
  .entry-intro h2 { text-align: left; }
  .entry-intro p { font-size: 13.5px; line-height: 1.95; max-width: 100%; margin: 0; text-align: left; }
  .entry-intro p br { display: none; }
}
@media (max-width: 480px) {
  .entry-section { padding: 56px 0; }
  .entry-card { padding: 28px 20px; }
  .entry-card h3 { font-size: 19px; }
}

/* Problems Section (こんなお悩み)
   ------------------------------------------------ */
.problems {
  background: #0a0a0a;
  color: #fff;
}
.problems .section-label,
.problems .section-label::before { color: #fff; background: #fff; }
.problems .section-label { background: transparent; }
.problems .section-title { color: #fff; }
.problems .section-lead { color: rgba(255,255,255,0.7); }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.problem-item {
  padding: 48px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.problem-item:nth-child(2n) { border-right: none; }
.problem-num {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  margin-top: 4px;
}
.problem-text {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}
@media (max-width: 768px) {
  .problems-grid { grid-template-columns: 1fr; }
  .problem-item { border-right: none; padding: 28px 8px; gap: 16px; }
  .problem-text { font-size: 16px; line-height: 1.7; }
  .problem-num { font-size: 12px; }
}
@media (max-width: 480px) {
  .problem-item { padding: 24px 4px; }
  .problem-text { font-size: 15px; }
}

/* Value Section (提供価値)
   ------------------------------------------------ */
.value-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.value-item {
  display: grid;
  grid-template-columns: 140px 1fr 2fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  align-items: start;
}
.value-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
.value-num {
  font-family: 'Archivo', sans-serif;
  /* 見出し（value-title 約36px × line-height 1.3）の2行分相当のスケール */
  font-size: clamp(64px, 6.5vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #0a0a0a;
}
.value-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.value-desc {
  font-size: 15px;
  line-height: 2;
  color: #444;
}
@media (max-width: 768px) {
  .value-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }
  /* SPは従来通りの控えめな番号表示に戻す（PCのみ大型化） */
  .value-num { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.4; }
  .value-title { font-size: 22px; }
  .value-desc { font-size: 13.5px; line-height: 1.95; }
}

/* Methods Section (製造方法)
   ------------------------------------------------ */
.methods {
  background: #f5f5f5;
}
.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}
.method-card {
  background: #fff;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 340px;
}
.method-card-wide {
  /* 切削加工カードは内容が多いため、デスクトップでは横長に */
}
.method-num {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #999;
}
.method-name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.method-name .en {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #999;
  margin-top: 8px;
}
.method-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #0a0a0a;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  align-self: flex-start;
}
.method-desc {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  min-height: 5.4em; /* スペック表の上揃えのため最小高さを確保 */
}
.method-sub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 16px;
}
.method-sub-list li {
  font-size: 12px;
  line-height: 1.9;
  color: #555;
  padding-left: 14px;
  position: relative;
  letter-spacing: 0.02em;
}
.method-sub-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: #999;
}

/* method-spec : 仕様テーブルを見やすくデザイン */
.method-spec {
  /* 上揃え：カード間でスペック行の位置を揃える */
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.method-spec > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: start;
}
.method-spec dt {
  font-family: 'Archivo', 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #888;
  text-transform: uppercase;
  padding-top: 2px;
  margin: 0;
}
.method-spec dd {
  font-size: 13px;
  line-height: 1.7;
  color: #1a1a1a;
  font-weight: 500;
  margin: 0;
  word-break: break-word;
}
@media (max-width: 900px) {
  .methods-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .methods-grid { grid-template-columns: 1fr; }
  .method-card { padding: 36px 24px; min-height: auto; gap: 16px; }
  .method-name { font-size: 24px; }
  .method-desc { font-size: 13.5px; line-height: 1.9; min-height: 0; }
  .method-spec > div { grid-template-columns: 100px 1fr; gap: 8px; }
  .method-spec dt { font-size: 10px; }
  .method-spec dd { font-size: 12.5px; line-height: 1.65; }
}
@media (max-width: 480px) {
  .method-card { padding: 28px 20px; }
  .method-name { font-size: 22px; }
  .method-spec > div { grid-template-columns: 90px 1fr; }
}

/* Material Scope (対応素材)
   ------------------------------------------------ */
.material-scope {
  margin-top: 80px;
  padding: 56px 48px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.08);
}
.material-scope-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}
.material-scope-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin-bottom: 40px;
}

/* Material by Method (工法別対応材料) */
.material-by-method {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 32px;
}
.mbm-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mbm-row:last-child { border-bottom: 0; }
.mbm-method {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  position: relative;
}
.mbm-method::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 10px solid #0a0a0a;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  z-index: 1;
}
.mbm-materials {
  padding: 22px 32px;
  font-size: 14px;
  line-height: 1.8;
  color: #1a1a1a;
  font-weight: 500;
  background: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
}
.mbm-caution {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
  padding: 18px 24px;
  background: #f5f5f5;
  border-left: 3px solid #0a0a0a;
  margin-bottom: 32px;
}
.mbm-caution strong { color: #0a0a0a; font-weight: 700; }
@media (max-width: 768px) {
  .mbm-row { grid-template-columns: 1fr; }
  .mbm-method { padding: 14px 20px; font-size: 14px; }
  .mbm-method::after { display: none; }
  .mbm-materials { padding: 16px 20px; font-size: 13px; }
}
.material-scope-grid {
  display: grid;
  /* 対象外カラムのみ表示しているため、コンテナ幅をフルに使う */
  grid-template-columns: 1fr;
  gap: 32px;
}
.material-scope-col {
  background: #fff;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.08);
}
.material-scope-col.ok { border-color: #0a0a0a; }
.material-scope-col .ms-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.material-scope-col .ms-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.material-scope-col.ok .ms-icon { background: #0a0a0a; color: #fff; }
.material-scope-col.ng .ms-icon { background: #ddd; color: #555; }
.material-scope-col.ng .ms-head { color: #888; }
/* 日本語カギ括弧「を欧文Cの左端に視覚的に揃える */
.jp-quote-align {
  display: inline-block;
  margin-left: -0.4em;
}

/* Flow Overview / Estimate-widget のリードはやや広めに */
.flow-overview .section-lead,
.estimate-widget .section-lead {
  max-width: 880px;
}

/* 2行で収めたいリード文：横幅を最大限確保し改行を最小に */
.section-lead.lead-2lines {
  max-width: 1100px;
}

.material-scope-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  /* 長いリストを三段組表示（コンテナ全幅を有効活用） */
  columns: 3;
  column-gap: 56px;
}
.material-scope-col ul li {
  break-inside: avoid;
}
.material-scope-col ul li {
  font-size: 14px;
  line-height: 1.9;
  color: #333;
  padding-left: 18px;
  position: relative;
}
.material-scope-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 1px;
  background: #999;
}
.material-scope-col.ng ul li { color: #888; text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.2); }
@media (max-width: 1024px) {
  .material-scope-col ul { columns: 2; column-gap: 32px; }
}
@media (max-width: 768px) {
  .material-scope { padding: 40px 24px; margin-top: 56px; }
  .material-scope-grid { grid-template-columns: 1fr; gap: 16px; }
  .material-scope-col { padding: 24px; }
  .material-scope-col ul { columns: 1; }
}

/* Industries Section
   ------------------------------------------------ */
.industries-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.industry-item {
  background: #fff;
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: background .3s ease;
}
.industry-item:hover { background: #fafafa; }
.industry-num {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #999;
}
.industry-name {
  font-size: 20px;
  font-weight: 700;
}
.industry-name .en {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #999;
  margin-top: 4px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .industries-list { grid-template-columns: repeat(2, 1fr); }
  .industry-item { padding: 32px 16px; gap: 12px; }
  .industry-name { font-size: 17px; }
  .industry-name .en { font-size: 10px; }
}
@media (max-width: 480px) {
  .industry-item { padding: 24px 12px; }
  .industry-name { font-size: 15px; }
}

/* Flow Section (受注フロー概要)
   ------------------------------------------------ */
.flow-overview {
  background: #f5f5f5;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.flow-step {
  background: #fff;
  padding: 32px 20px;
  position: relative;
}
.flow-step::after {
  content: '→';
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #999;
  z-index: 1;
}
.flow-step:last-child::after { display: none; }
.flow-step-num {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 16px;
}
.flow-step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.flow-step-price {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: #0a0a0a;
  color: #fff;
  margin-bottom: 16px;
}
.flow-step-price.free { background: transparent; color: #0a0a0a; border: 1px solid #0a0a0a; }
.flow-step-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}
@media (max-width: 1100px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
}
@media (max-width: 768px) {
  .flow-steps { grid-template-columns: 1fr; gap: 12px; }
  .flow-step { padding: 24px 20px; }
  .flow-step-title { font-size: 17px; margin-bottom: 10px; }
  .flow-step-desc { font-size: 12.5px; line-height: 1.8; }
  .flow-step::after {
    content: '↓';
    right: 50%; top: auto; bottom: -16px;
    transform: translateX(50%);
    display: block;
    font-size: 12px;
  }
  .flow-step:last-child::after { display: none; }
}

/* Pricing Preview Section
   ------------------------------------------------ */
.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.pricing-card {
  border: 1px solid rgba(0,0,0,0.12);
  padding: 56px 40px;
  position: relative;
  transition: all .3s ease;
}
.pricing-card:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
.pricing-card:hover .pricing-feature-list li::before { background: #fff; }
.pricing-card-label {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.pricing-card-scope {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #0a0a0a;
  margin-bottom: 16px;
  font-weight: 600;
}
.pricing-card:hover .pricing-card-scope {
  background: #0a0a0a;
  color: #fff;
  border-color: #fff;
}
.pricing-card-price-note {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 4px;
  font-family: 'Archivo', sans-serif;
  text-transform: uppercase;
}
.pricing-card:hover .pricing-card-price-note { color: rgba(255,255,255,0.6); }
.pricing-card-extra {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  margin-bottom: 24px;
  line-height: 1.7;
  padding: 10px 14px;
  background: #f5f5f5;
}
.pricing-card:hover .pricing-card-extra { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }

/* 造形費サンプルプレースホルダ（後で実サンプル画像と価格を差し込む想定） */
.mfg-sample-block {
  margin-top: 8px;
  margin-bottom: 24px;
  padding: 16px;
  background: #fafafa;
  border: 1px dashed rgba(0,0,0,0.18);
}
.pricing-card:hover .mfg-sample-block {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}
.mfg-sample-block .mfg-sample-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: 'Archivo', sans-serif;
}
.pricing-card:hover .mfg-sample-block .mfg-sample-head { color: rgba(255,255,255,0.7); }
.mfg-sample-block .mfg-sample-head .badge {
  background: #0a0a0a;
  color: #fff;
  padding: 3px 8px;
  letter-spacing: 0.1em;
  font-size: 10px;
}
.pricing-card:hover .mfg-sample-block .mfg-sample-head .badge {
  background: #fff;
  color: #0a0a0a;
}
.mfg-sample-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 12px;
  line-height: 1.7;
}
.pricing-card:hover .mfg-sample-placeholder {
  background: rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}
.pricing-card-name {
  font-size: 40px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 24px;
}
.pricing-card-price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.3;
}
@media (min-width: 1100px) {
  .pricing-card-price { font-size: 30px; }
}
.pricing-card-price .yen { font-size: 14px; font-weight: 500; margin-left: 4px; }
.pricing-card-price .tax { font-size: 12px; font-weight: 400; color: inherit; opacity: 0.6; margin-left: 8px; }
.pricing-card-tagline {
  font-size: 13px;
  margin-bottom: 32px;
  opacity: 0.7;
}
.pricing-feature-list {
  margin-bottom: 32px;
}
.pricing-feature-list li {
  font-size: 14px;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: relative;
}
.pricing-card:hover .pricing-feature-list li { border-bottom-color: rgba(255,255,255,0.15); }
.pricing-feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 1px;
  background: #0a0a0a;
}
.pricing-note {
  text-align: center;
  padding: 32px;
  background: #f5f5f5;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}
.pricing-note strong { color: #0a0a0a; }
@media (max-width: 768px) {
  .pricing-preview-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card { padding: 36px 24px; }
  .pricing-card-name { font-size: 32px; margin-bottom: 18px; }
  .pricing-card-price { font-size: 24px; }
  .pricing-card-tagline { font-size: 12.5px; margin-bottom: 24px; }
  .pricing-feature-list li { font-size: 13px; padding: 9px 0 9px 18px; }
  .pricing-note { padding: 24px 20px; font-size: 13px; line-height: 1.85; }
}
@media (max-width: 480px) {
  .pricing-card { padding: 28px 20px; }
  .pricing-card-name { font-size: 28px; }
  .pricing-card-price { font-size: 21px; }
}

/* Cost Structure Diagram (料金の内訳図)
   ------------------------------------------------ */
.cost-structure {
  background: #f5f5f5;
}
.cost-diagram {
  background: #fff;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 48px;
}
.cost-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgba(0,0,0,0.12);
}
.cost-block.design { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.cost-block.mfg { background: #fafafa; }
.cost-block.total { background: #fff; border: 2px solid #0a0a0a; }
.cost-block-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  opacity: 0.7;
}
.cost-block-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.cost-block-desc {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.85;
}
.cost-operator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: #999;
}
.cost-note {
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  font-size: 13px;
  line-height: 1.9;
  color: #444;
  border-left: 3px solid #0a0a0a;
}
.cost-note strong { color: #0a0a0a; }
@media (max-width: 900px) {
  .cost-diagram {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 20px;
  }
  .cost-block { border-bottom: none; padding: 24px 20px; }
  .cost-block:last-of-type { border-bottom: 1px solid rgba(0,0,0,0.12); }
  .cost-block.total { border: 2px solid #0a0a0a; }
  .cost-block-title { font-size: 16px; }
  .cost-block-desc { font-size: 11.5px; line-height: 1.75; }
  .cost-operator {
    height: 32px;
    font-size: 20px;
  }
  .cost-operator::before {
    content: '↓';
  }
  .cost-operator > * { display: none; }
  .cost-note { padding: 20px; font-size: 12.5px; line-height: 1.85; }
}
@media (max-width: 480px) {
  .cost-diagram { padding: 20px 16px; }
  .cost-block { padding: 20px 16px; }
}

/* Self-Estimate Widget
   ------------------------------------------------ */
.estimate-widget {
  background: #0a0a0a;
  color: #fff;
}
.estimate-widget .section-title { color: #fff; }
.estimate-widget .section-lead { color: rgba(255,255,255,0.7); }
.estimate-widget .section-label { color: #fff; }
.estimate-widget .section-label::before { background: #fff; }

.estimate-form {
  background: #1a1a1a;
  padding: 56px 48px;
  margin-top: 48px;
}
.estimate-question {
  margin-bottom: 40px;
}
.estimate-question:last-of-type { margin-bottom: 56px; }
.estimate-q-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.estimate-q-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.estimate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.estimate-options.cols-2 { grid-template-columns: repeat(2, 1fr); }
.estimate-option {
  /* 暗背景上でも判別できるよう、薄い白の塗りで地を作る */
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 22px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
  text-align: center;
  line-height: 1.6;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.estimate-option small {
  /* サブテキストは少し明るめに、選択肢として読み取れる輝度を確保 */
  opacity: 0.75 !important;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.estimate-option:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}
.estimate-option.selected {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}
.estimate-option.selected small {
  opacity: 0.7 !important;
  color: #555;
}
.estimate-result {
  background: #fff;
  color: #0a0a0a;
  padding: 48px;
  margin-top: 40px;
  display: none;
}
.estimate-result.show { display: block; }
.estimate-result-label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #666;
  margin-bottom: 12px;
}
.estimate-result-plan {
  font-family: 'Archivo', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}
.estimate-result-price {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}
.estimate-result-price .yen { font-size: 14px; font-weight: 500; }

/* Estimate Breakdown Table */
.estimate-breakdown {
  margin-top: 8px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.estimate-breakdown-row,
.estimate-breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.estimate-breakdown-total {
  border-bottom: none;
  border-top: 2px solid #0a0a0a;
  margin-top: 4px;
  padding: 20px 0 4px;
}
.estimate-breakdown-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  flex-shrink: 0;
}
.estimate-breakdown-label small {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  color: #888;
  margin-left: 4px;
}
.estimate-breakdown-value {
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0a0a0a;
  text-align: right;
  letter-spacing: -0.01em;
}
.estimate-breakdown-total .estimate-breakdown-label {
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
}
.estimate-breakdown-total .estimate-breakdown-value {
  font-size: 22px;
  font-weight: 800;
}
.estimate-result-note {
  font-size: 12.5px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #f6f6f3;
  border-left: 3px solid #0a0a0a;
}
.estimate-result-note strong {
  color: #0a0a0a;
  font-weight: 700;
}

.estimate-result-desc {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.estimate-result-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .estimate-form { padding: 32px 20px; margin-top: 32px; }
  .estimate-question { margin-bottom: 28px; }
  .estimate-question:last-of-type { margin-bottom: 36px; }
  .estimate-q-title { font-size: 16px; margin-bottom: 14px; }
  .estimate-q-label { font-size: 10px; }
  .estimate-options,
  .estimate-options.cols-2 { grid-template-columns: 1fr; gap: 8px; }
  .estimate-option { padding: 16px 18px; font-size: 13.5px; min-height: 56px; }
  .estimate-option small { font-size: 10.5px !important; }
  .estimate-submit-btn { padding: 22px 24px; font-size: 14px; gap: 12px; margin-top: 20px; }
  .estimate-submit-btn .btn-arrow-left,
  .estimate-submit-btn .btn-arrow-right { font-size: 16px; }
  .estimate-result { padding: 28px 20px; margin-top: 28px; }
  .estimate-result-plan { font-size: 36px; }
  .estimate-result-price { font-size: 24px; margin-bottom: 18px; }
  .estimate-result-desc { font-size: 13px; line-height: 1.85; padding-top: 18px; }
  .estimate-result-cta { gap: 10px; }
  .estimate-note { font-size: 11.5px; padding: 14px 16px; line-height: 1.7; margin-top: 24px; }
  .estimate-breakdown-row,
  .estimate-breakdown-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
  }
  .estimate-breakdown-total { padding: 16px 0 4px; }
  .estimate-breakdown-label { font-size: 12.5px; }
  .estimate-breakdown-label small { font-size: 10.5px; margin-left: 2px; }
  .estimate-breakdown-value { font-size: 16px; text-align: left; }
  .estimate-breakdown-total .estimate-breakdown-label { font-size: 13.5px; }
  .estimate-breakdown-total .estimate-breakdown-value { font-size: 19px; }
  .estimate-result-note { font-size: 11px; line-height: 1.7; }
}
@media (max-width: 480px) {
  .estimate-form { padding: 24px 16px; }
  .estimate-result-plan { font-size: 32px; }
  .estimate-result-price { font-size: 21px; }
}

/* FAQ
   ------------------------------------------------ */
.faq-list {
  border-top: 1px solid rgba(0,0,0,0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  gap: 24px;
}
.faq-q-num {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #999;
  flex-shrink: 0;
  width: 32px;
}
.faq-q-text { flex: 1; }
.faq-q-icon {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-q-icon::before, .faq-q-icon::after {
  content: '';
  position: absolute;
  background: #0a0a0a;
  transition: transform .3s ease;
}
.faq-q-icon::before {
  left: 0; top: 50%;
  width: 100%; height: 1.5px;
  transform: translateY(-50%);
}
.faq-q-icon::after {
  left: 50%; top: 0;
  width: 1.5px; height: 100%;
  transform: translateX(-50%);
}
.faq-item.open .faq-q-icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  font-size: 14px;
  line-height: 2;
  color: #444;
  padding-left: 32px;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding-bottom: 28px;
}
.faq-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 13px;
  background: #fafafa;
}
.faq-table th,
.faq-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  line-height: 1.6;
}
.faq-table th {
  background: #0a0a0a;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 12px;
}
.faq-table td:last-child {
  white-space: nowrap;
  font-family: 'Archivo', sans-serif;
  letter-spacing: 0.02em;
}
.faq-table tbody tr:last-child td { border-bottom: none; }
@media (max-width: 768px) {
  .faq-q { font-size: 15px; gap: 14px; padding: 22px 0; }
  .faq-q-num { font-size: 11px; width: 26px; }
  .faq-q-icon { width: 18px; height: 18px; }
  .faq-a { font-size: 13px; line-height: 1.95; padding-left: 24px; }
}
@media (max-width: 600px) {
  .faq-q { font-size: 14px; gap: 10px; padding: 20px 0; }
  .faq-a { padding-left: 0; }
  .faq-table th, .faq-table td { padding: 10px 12px; font-size: 12px; }
  .faq-table td:last-child { white-space: normal; }
}

/* Contact Section
   ------------------------------------------------ */
.contact-section {
  background: #f5f5f5;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-intro h2 .en {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.contact-intro p {
  font-size: 14px;
  line-height: 2;
  color: #444;
  margin-bottom: 32px;
}
.contact-info {
  background: #fff;
  padding: 24px;
  font-size: 13px;
  line-height: 1.9;
}
.contact-info dt {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #999;
  margin-top: 12px;
}
.contact-info dt:first-child { margin-top: 0; }

.contact-form {
  background: #fff;
  padding: 48px;
}
.form-group {
  margin-bottom: 28px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.form-label .req {
  display: inline-block;
  font-size: 10px;
  background: #0a0a0a;
  color: #fff;
  padding: 2px 6px;
  margin-left: 6px;
  letter-spacing: 0.05em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  font-family: inherit;
  font-size: 15px;
  background: transparent;
  outline: none;
  transition: border-color .3s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-bottom-color: #0a0a0a; }
.form-textarea {
  resize: vertical;
  min-height: 120px;
  border: 1px solid rgba(0,0,0,0.2);
  padding: 14px;
}
.form-textarea:focus { border-color: #0a0a0a; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-submit {
  width: 100%;
  padding: 22px;
  background: #0a0a0a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 16px;
  transition: background .3s ease;
}
.form-submit:hover { background: #333; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Estimate Submit Button (白ベース / ホバーでライトグレー) */
.estimate-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: #fff;
  color: #0a0a0a;
  border: 2px solid #fff;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.estimate-submit-btn .btn-arrow-left,
.estimate-submit-btn .btn-arrow-right {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 18px;
  display: inline-block;
  transition: transform .3s ease;
}
.estimate-submit-btn .btn-arrow-left { transform: rotate(180deg); }
.estimate-submit-btn:hover { background: #e5e5e5; color: #0a0a0a; border-color: #e5e5e5; }
.estimate-submit-btn:hover .btn-arrow-right { transform: translateX(6px); }
.estimate-submit-btn:hover .btn-arrow-left { transform: rotate(180deg) translateX(6px); }

/* Estimate Note (素材限定の注記) */
.estimate-note {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  background: #f5f5f5;
  padding: 16px 20px;
  border-left: 3px solid #0a0a0a;
  margin-top: 32px;
  margin-bottom: 0;
}
.form-note {
  font-size: 11px;
  color: #888;
  margin-top: 16px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 768px) {
  .contact-intro p { font-size: 13.5px; line-height: 1.95; }
  .contact-info { padding: 20px; font-size: 12.5px; line-height: 1.8; }
  .form-group { margin-bottom: 22px; }
  .form-label { font-size: 11.5px; margin-bottom: 8px; }
  .form-input, .form-select, .form-textarea { font-size: 14px; padding: 12px 0; }
  .form-textarea { padding: 12px; min-height: 100px; }
  .form-submit { padding: 18px; font-size: 13px; }
}
@media (max-width: 480px) {
  .contact-form { padding: 28px 20px; }
}

/* ==========================================================================
   Contact CTA Section (HOME 用 / contact.html へ誘導)
   ========================================================================== */
.contact-cta-section {
  background: #f5f5f5;
  padding: 120px 0;
}
.contact-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-cta-h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #0a0a0a;
}
.contact-cta-h2 .en {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.contact-cta-lead {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 36px;
  max-width: 560px;
}
.contact-cta-lead strong {
  color: #0a0a0a;
}
.contact-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-cta-buttons .btn {
  min-width: 280px;
  padding: 22px 36px;
  font-size: 15px;
}
.contact-cta-features .contact-info {
  background: #fff;
  padding: 32px;
  border-top: 3px solid #0a0a0a;
}

@media (max-width: 900px) {
  .contact-cta-section { padding: 80px 0; }
  .contact-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-cta-buttons .btn { width: 100%; min-width: 0; }
}
@media (max-width: 768px) {
  .contact-cta-section { padding: 64px 0; }
  .contact-cta-lead { font-size: 13.5px; line-height: 1.95; margin-bottom: 28px; }
  .contact-cta-features .contact-info { padding: 24px 20px; }
}

/* CTA Banner (used at the bottom of sub pages too)
   ------------------------------------------------ */
.cta-banner {
  background: #0a0a0a;
  color: #fff;
  padding: 140px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.cta-banner h2 .en {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 2.2;
  max-width: 560px;
  margin: 0 auto 48px;
}
.cta-banner .btn {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.cta-banner .btn:hover {
  background: transparent;
  color: #fff;
}
@media (max-width: 768px) {
  .cta-banner { padding: 80px 0; }
  .cta-banner h2 { margin-bottom: 24px; }
  .cta-banner h2 .en { font-size: clamp(40px, 11vw, 64px); margin-bottom: 16px; }
  .cta-banner p { font-size: 13.5px; line-height: 1.95; margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .cta-banner { padding: 64px 0; }
  .cta-banner p { font-size: 13px; }
}

/* ==========================================================================
   Hero Parent Badge (広川製作所 40年)
   ========================================================================== */
.hero-parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #333;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hero-parent-badge:hover {
  border-color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.hero-parent-badge .badge-arrow {
  font-family: 'Archivo', sans-serif;
  color: #999;
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.2s, color 0.2s;
}
.hero-parent-badge:hover .badge-arrow {
  color: #0a0a0a;
  transform: translateX(2px);
}
.hero-parent-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #0a0a0a;
  border-radius: 50%;
  display: inline-block;
}
.hero-parent-badge .badge-label {
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
}
.hero-parent-badge .badge-name {
  font-weight: 700;
  color: #0a0a0a;
}
.hero-parent-badge .badge-meta {
  color: #666;
  font-size: 11px;
  border-left: 1px solid rgba(0,0,0,0.12);
  padding-left: 10px;
}
@media (max-width: 600px) {
  .hero-parent-badge {
    flex-direction: column;
    gap: 4px;
    padding: 12px 18px;
    text-align: center;
  }
  .hero-parent-badge .badge-meta {
    border-left: none;
    padding-left: 0;
  }
}

