/* =========================================================
   VISTA RENOVATION PARTNERS — 共通スタイル
   買取再販業者向け 設計施工受注サイト
   ========================================================= */

:root {
  /* カラートークン */
  --navy:      #0f2038;
  --navy-2:    #16314f;
  --navy-3:    #1f4063;
  --ink:       #1a2330;
  --muted:     #5c6b7a;
  --line:      #e4e8ee;
  --bg:        #ffffff;
  --surface:   #f5f7fa;
  --surface-2: #eef2f7;
  --accent:    #c29433;   /* ブラスゴールド */
  --accent-2:  #d9b25a;
  --accent-ink:#8a6a1f;
  --success:   #1f8a5b;
  --danger:    #c0392b;

  /* タイポ */
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;

  /* レイアウト */
  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(15, 32, 56, .08);
  --shadow-lg: 0 24px 60px rgba(15, 32, 56, .14);
  --gutter: clamp(20px, 5vw, 56px);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: .01em;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: .02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ------------------- レイアウト部品 ------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #eaf0f7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: var(--accent-ink); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section--navy .eyebrow { color: var(--accent-2); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(26px, 4vw, 40px); margin-top: 14px; color: var(--navy);
}
.section--navy .section-head h2 { color: #fff; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: #b9c6d6; }

/* ------------------- ボタン ------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  cursor: pointer; border: 1.5px solid transparent; transition: .2s ease;
  white-space: nowrap; letter-spacing: .03em;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #231a05; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(194,148,51,.35); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--lg { padding: 18px 40px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ------------------- ヘッダー ------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display: grid; place-items: center; color: var(--accent-2); font-weight: 800; font-size: 19px;
}
.brand__logo { width: 42px; height: 42px; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 16px; letter-spacing: .08em; color: var(--navy); white-space: nowrap; }
.brand__text span { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 10px 11px; font-size: 14px; font-weight: 600; color: var(--ink);
  border-radius: 8px; transition: .15s; position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--accent-ink); background: var(--surface); }
.nav a.is-active { color: var(--accent-ink); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px;
  height: 2px; background: var(--accent);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------- ヒーロー ------------------- */
.hero {
  position: relative; color: #eaf0f7; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(194,148,51,.22), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(31,64,99,.5), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 660px); gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; color: var(--accent-2); border: 1px solid rgba(217,178,90,.4);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); color: #fff; letter-spacing: .02em; text-shadow: 0 2px 16px rgba(6,12,22,.55), 0 1px 3px rgba(6,12,22,.4); }
.hero h1 .hl { color: var(--accent-2); white-space: nowrap; }
.hero__lead { margin-top: 22px; font-size: clamp(16px, 2vw, 18.5px); color: #eaf1fa; max-width: 540px; text-shadow: 0 1px 10px rgba(6,12,22,.55), 0 1px 3px rgba(6,12,22,.4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 20px; font-size: 13px; color: #9fb0c4; }
.hero__pdfnote {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  font-size: 14px; color: #eaf0f7; background: rgba(217,178,90,.12);
  border: 1px solid rgba(217,178,90,.45); padding: 11px 16px; border-radius: 10px;
}
.hero__pdfnote strong { color: var(--accent-2); font-weight: 800; }
.hero__pdfnote svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }

.hero__right { display: grid; gap: 18px; align-content: start; }

/* メリット横並び帯 */
.hero__merits { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; max-width: 660px; }
.hero__merits li {
  flex: 1 1 140px; background: rgba(11,22,40,.5); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); border-radius: 12px; padding: 13px 15px;
}
.hero__merits .v { display: block; font-size: 16px; font-weight: 800; color: var(--accent-2); letter-spacing: .02em; }
.hero__merits .l { display: block; font-size: 11.5px; color: #d8e0ec; margin-top: 5px; line-height: 1.45; }
@media (max-width: 480px) { .hero__merits li { flex-basis: 44%; } }

/* 背景全面スライドショー */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 8s ease;
}
.hero__bg img.is-active { opacity: 1; transform: scale(1); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,17,30,.60) 0%, rgba(9,17,30,.36) 34%, rgba(9,17,30,.12) 62%, rgba(9,17,30,0) 100%),
    linear-gradient(180deg, rgba(9,17,30,.12) 0%, transparent 32%, rgba(9,17,30,.12) 100%);
}
.hero__tag {
  position: absolute; right: 18px; bottom: 16px; z-index: 2; color: #fff; font-size: 12px;
  font-weight: 700; letter-spacing: .08em; background: rgba(15,32,56,.5); backdrop-filter: blur(4px);
  padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
}

.hero__panel {
  background: rgba(11,22,40,.5); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(10px);
}
.hero__panel h3 { font-size: 15px; color: var(--accent-2); letter-spacing: .08em; margin-bottom: 18px; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 16px 16px 15px; display: flex; flex-direction: column; gap: 7px;
}
.hero__stat .num {
  font-size: clamp(21px, 2.6vw, 26px); font-weight: 800; color: var(--accent-2);
  letter-spacing: .02em; line-height: 1.1;
}
.hero__stat .num small { font-size: 14px; font-weight: 700; margin-left: 1px; }
.hero__stat .lbl { font-size: 13px; line-height: 1.5; color: #d4ddeb; font-weight: 500; }

/* ------------------- カード/グリッド ------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: .25s; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6dde6; }
.card__no { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--accent); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--navy); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; color: var(--navy); margin: 10px 0 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--accent-ink); }
.card__link svg { width: 15px; height: 15px; transition: .2s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* 課題カード */
.pain { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 24px; }
.pain h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; }
.pain p { font-size: 14.5px; color: var(--muted); }

/* ------------------- 強み詳細（交互レイアウト） ------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 96px); }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__no {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy); color: var(--accent-2); font-size: 22px; font-weight: 800; margin-bottom: 20px;
}
.feature h3 { font-size: clamp(22px, 3vw, 28px); color: var(--navy); }
.feature__lead { margin-top: 16px; color: var(--muted); font-size: 16px; }
.feature__list { margin-top: 22px; display: grid; gap: 12px; }
.feature__list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}
.feature__media {
  border-radius: var(--radius); min-height: 300px; position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--navy-3)); color: #eaf0f7;
  display: grid; place-content: center; text-align: center; padding: 40px;
}
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__media .big { font-size: clamp(40px, 7vw, 68px); font-weight: 800; color: var(--accent-2); letter-spacing: .02em; }
.feature__media .sub { margin-top: 10px; font-size: 14px; color: #aebdce; letter-spacing: .08em; }
.feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 80% 20%, rgba(194,148,51,.2), transparent 60%);
}

/* ------------------- スタッフ紹介 ------------------- */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 34px); }
.staff-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.staff-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,32,56,.1); }
.staff-card__photo { position: relative; aspect-ratio: 1 / 1; background: var(--surface); }
.staff-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.staff-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.staff-card__role {
  display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent-ink); background: rgba(194,148,51,.12); border: 1px solid rgba(194,148,51,.3);
  padding: 4px 11px; border-radius: 999px;
}
.staff-card__name { font-size: 20px; color: var(--navy); margin: 6px 0 2px; }
.staff-card__body p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
@media (max-width: 860px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .staff-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ------------------- フロー（ステップ） ------------------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  position: relative;
}
.step__num {
  counter-increment: step; width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-2); color: var(--navy); display: grid; place-items: center;
  font-weight: 800; font-size: 20px; border: 2px solid var(--accent);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 19px; color: var(--navy); }
.step .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--accent-ink); background: var(--surface); border-radius: 6px; padding: 3px 9px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ------------------- 料金 ------------------- */
.price-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden;
}
.price-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 50% -20%, rgba(194,148,51,.25), transparent 60%); }
.price-hero__off { font-size: clamp(60px, 12vw, 120px); font-weight: 800; line-height: 1; color: var(--accent-2); letter-spacing: -.02em; position: relative; }
.price-hero__off small { font-size: .32em; font-weight: 700; }
.price-hero p { position: relative; color: #c6d3e2; margin-top: 16px; font-size: 16px; }

.ptable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable th, .ptable td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.ptable thead th { background: var(--navy); color: #fff; font-size: 14px; letter-spacing: .05em; }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable tbody tr:nth-child(even) { background: var(--surface); }
.ptable .em { color: var(--accent-ink); font-weight: 800; }
.ptable .through { color: var(--muted); text-decoration: line-through; font-size: 13.5px; }

/* ------------------- 事例 ------------------- */
.case { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.case__stretch { position: absolute; inset: 0; z-index: 2; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case__img { aspect-ratio: 4/3; background: linear-gradient(145deg, var(--navy-2), var(--navy-3)); display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 13px; letter-spacing: .1em; position: relative; }
.case__img span { border: 1px dashed rgba(255,255,255,.35); padding: 8px 14px; border-radius: 8px; }
.case__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__body { padding: 22px 24px; }
.case__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.case__meta .chip { font-size: 11.5px; font-weight: 700; color: var(--accent-ink); background: var(--surface-2); border-radius: 6px; padding: 4px 10px; }
.case__body h3 { font-size: 17.5px; color: var(--navy); }
.case__stats { display: flex; gap: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.case__stats div { font-size: 12px; color: var(--muted); }
.case__stats strong { display: block; font-size: 18px; color: var(--navy); font-weight: 800; }

/* ------------------- 物件詳細（ギャラリー） ------------------- */
.prop { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; scroll-margin-top: 88px; }
.prop + .prop { margin-top: clamp(40px, 6vw, 64px); }
.prop__head { padding: clamp(24px, 4vw, 36px); border-bottom: 1px solid var(--line); background: var(--surface); }
.prop__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.prop__meta .chip { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--surface-2); border-radius: 6px; padding: 4px 11px; }
.prop__head h2 { font-size: clamp(22px, 3.2vw, 30px); color: var(--navy); }
.prop__point { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 760px; }
.prop__spec { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.prop__spec div { background: #fff; padding: 14px 16px; }
.prop__spec .k { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.prop__spec .v { font-size: 16px; font-weight: 800; color: var(--navy); margin-top: 3px; }
.prop__spec .v.em { color: var(--accent-ink); }
@media (max-width: 760px){ .prop__spec { grid-template-columns: repeat(2,1fr); } }

.prop__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: clamp(14px, 2.5vw, 20px); }
.prop__photo { padding: 0; border: none; cursor: pointer; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); position: relative; }
.prop__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.prop__photo:hover img { transform: scale(1.05); }
.prop__photo--feat { grid-column: span 2; grid-row: span 2; }
.prop__photo--ph { display: grid; place-items: center; color: var(--muted); font-size: 12px; letter-spacing: .1em; cursor: default; }
@media (max-width: 760px){
  .prop__gallery { grid-template-columns: repeat(2, 1fr); }
  .prop__photo--feat { grid-column: span 2; grid-row: auto; }
}
.prop__note { padding: 0 clamp(14px,2.5vw,20px) clamp(20px,3vw,24px); font-size: 13px; color: var(--muted); }

/* ライトボックス */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,28,.92); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.lightbox__btn:hover { background: var(--accent); color: #231a05; }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; font-size: 24px; line-height: 1; display: grid; place-items: center; transition: .2s; }
.lightbox__close:hover { background: var(--accent); color: #231a05; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #cfdae8; font-size: 13px; letter-spacing: .08em; }
@media (max-width: 640px){ .lightbox__btn { width: 42px; height: 42px; } .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; } }

/* ------------------- 会社概要 ------------------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 18px 24px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 200px; background: var(--surface); color: var(--navy); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ------------------- フォーム ------------------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--danger); font-size: 12px; margin-left: 6px; font-weight: 700; }
.field label .opt { color: var(--muted); font-size: 11.5px; margin-left: 6px; font-weight: 600; }
.field .grid-2 { gap: 16px; }
.input, .textarea, .select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: .15s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,148,51,.15); }
.textarea { resize: vertical; min-height: 130px; }
.field .err { display: none; color: var(--danger); font-size: 12.5px; margin-top: 6px; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--danger); }
.field.has-error .err { display: block; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.form-ok { display: none; background: #eafaf1; border: 1px solid #b7e3cb; color: #14683f; border-radius: var(--radius-sm); padding: 18px 20px; font-size: 14.5px; margin-bottom: 22px; }
.form-ok.is-show { display: block; }
.form-err { background: #fdecec; border: 1px solid #f3c2c2; color: #a3282a; border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; margin-bottom: 20px; }
button[type="submit"][disabled] { opacity: .6; cursor: progress; }

.contact-aside .aside-box { background: var(--navy); color: #eaf0f7; border-radius: var(--radius); padding: 30px; }
.contact-aside .aside-box h3 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.contact-aside .aside-box p { color: #b9c6d6; font-size: 14px; }
.contact-aside .aside-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-aside .aside-line svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; margin-top: 2px; }
.contact-aside .aside-line strong { color: #fff; display: block; font-size: 15px; }
.contact-aside .aside-line span { font-size: 13px; color: #a9b8ca; }

/* ------------------- 動画埋め込み ------------------- */
.video-embed {
  position: relative; width: 100%; max-width: 920px; margin-inline: auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000; border: 1px solid var(--line);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* カルーセル */
.carousel { position: relative; width: 100%; max-width: 920px; margin-inline: auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #000; }
.carousel__track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.carousel__slide { min-width: 100%; flex: 0 0 100%; }
.carousel__slide .video-embed { max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(15,32,56,.82); color: #fff; display: grid; place-items: center;
  transition: .2s; backdrop-filter: blur(4px);
}
.carousel__btn:hover { background: var(--accent); color: #231a05; }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.carousel__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: .2s; padding: 0; }
.carousel__dot.is-active { background: var(--accent); transform: scale(1.25); }
@media (max-width: 980px) {
  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }
}

/* ------------------- 資料ダウンロード ------------------- */
.download {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 52px); align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); max-width: 960px; margin-inline: auto;
}
.download__cover {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface-2);
}
.download__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.download__body h3 { font-size: clamp(20px, 3vw, 26px); color: var(--navy); }
.download__body p { color: var(--muted); font-size: 15px; margin-top: 14px; }
.download__list { margin-top: 18px; display: grid; gap: 8px; }
.download__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); }
.download__list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
}
.download__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.download__meta { font-size: 12.5px; color: var(--muted); }
@media (max-width: 720px) { .download { grid-template-columns: 1fr; } }

/* ------------------- CTA 帯 ------------------- */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta::after { content:""; position:absolute; inset:0; background: radial-gradient(700px 350px at 50% -30%, rgba(194,148,51,.25), transparent 60%); }
.cta__inner { position: relative; padding-block: clamp(48px, 7vw, 84px); }
.cta h2 { font-size: clamp(24px, 4vw, 36px); color: #fff; }
.cta p { margin-top: 16px; color: #c6d3e2; font-size: 16px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ------------------- ページヒーロー（下層） ------------------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.page-hero__inner { padding-block: clamp(48px, 7vw, 84px); }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 44px); color: #fff; margin-top: 14px; }
.page-hero p { margin-top: 16px; color: #c3d0e0; font-size: 17px; max-width: 640px; }
.breadcrumb { font-size: 12.5px; color: #9fb0c4; letter-spacing: .04em; margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--accent-2); }

/* ------------------- フッター ------------------- */
.site-footer { background: #0b1626; color: #9fb0c4; padding-block: 56px 28px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand__text strong { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 13.5px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 13.5px; transition: .15s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #6c7d91; }

/* ------------------- 汎用 ------------------- */
.text-center { text-align: center; }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 40px; }
.lead-block { max-width: 760px; }
.divider-note { font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------- レスポンシブ ------------------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .feature, .form-wrap { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
/* ヘッダーナビをハンバーガーに切り替え（横並びが窮屈になる前に） */
@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 2px;
    box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 10px; border-radius: 8px; font-size: 15px; white-space: normal; }
  .nav a.is-active::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 10px; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .info-table th { width: 130px; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(23px, 8vw, 38px); }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .ptable th, .ptable td { padding: 12px 12px; font-size: 13.5px; }
}
