/* ===========================================================
   カワバタ建設 床下浸水対応LP
   ベースデザイン：CRAFIT HOUSE平屋診断会LP準拠トンマナ
   =========================================================== */

:root {
  --color-bg: #f3f2ee;
  --color-bg-alt: #e8e6df;
  --color-ink: #2a2a28;
  --color-ink-soft: #706c63;
  --color-line: #dcdad2;
  --color-navy: #7a7570;
  --color-navy-soft: #454a4d;
  --color-accent: #c82536;
  --color-accent-dark: #a11d2c;
  --color-accent-soft: #ecc3c8;
  --color-cream: #fbf9f5;
  --color-label: #8f8a7c;
  --color-label-light: rgba(255,255,255,.6);

  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  --container: 1120px;
  --radius-pill: 999px;
  --radius-card: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  padding-top: 64px;
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 .6em;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; font-family: inherit; }
.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 900px) {
  .sp-only { display: none; }
  .pc-only { display: inline; }
}

/* ---------- アニメーション ---------- */
.js-anim .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-anim .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 共通レイアウト ---------- */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--color-accent);
  font-weight: 700;
  margin: 0 0 .8em;
  text-align: center;
}
@media (max-width: 899px) {
  .pricing-eyebrow { display: block !important; margin: 0 0 6px !important; }
}
.eyebrow-pill {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 8px 16px;
  margin: 0 0 16px;
  text-align: left;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-lead { color: var(--color-ink-soft); }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.65,0,.35,1), opacity .3s ease, background .3s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-large { padding: 18px 36px; font-size: 17px; }
.btn-stack { flex-direction: column; gap: 2px; padding: 13px 22px; line-height: 1.3; }
.btn-stack .btn-main { font-size: 17px; font-weight: 700; }
.btn-stack .btn-sub { font-size: 12.5px; font-weight: 500; letter-spacing: .04em; opacity: .85; }
.btn-small { padding: 10px 20px; font-size: 13px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(251,249,245,.97);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-brand {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.3;
  display: inline-block;
}
.header-logo { height: 32px; display: block; margin-bottom: 4px; }
@media (min-width: 900px) {
  .header-logo { height: 40px; }
}
.header-brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--color-label);
  font-weight: 400;
  letter-spacing: .1em;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-sub-link {
  display: inline-block;
  font-size: 12px;
  color: var(--color-ink-soft);
  text-decoration: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease;
}
.header-sub-link:hover {
  background: var(--color-cream);
  border-color: var(--color-ink-soft);
}
@media (max-width: 899px) {
  .header-cta {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .header-sub-link {
    font-size: 10px;
    padding: 4px 10px;
  }
}
.tel-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.tel-label {
  font-size: 9px;
  color: var(--color-label);
  letter-spacing: .06em;
}
.tel-number {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-accent);
}
@media (min-width: 900px) {
  .header-inner { padding: 16px 24px; }
  .header-brand { font-size: 18px; }
  .tel-number { font-size: 22px; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background: var(--color-cream);
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { min-height: calc(100vh - 64px); }
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, transparent 20%, transparent 75%, rgba(0,0,0,.25) 100%),
              linear-gradient(to right, var(--color-cream) 0%, rgba(251,249,245,.94) 32%, rgba(251,249,245,.62) 52%, rgba(251,249,245,.12) 74%, transparent 88%);
}
@media (max-width: 640px) {
  .hero-scrim {
    background: none;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 330px 16px 48px 24px;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-content { padding: 40px 20px 60px 80px; max-width: 640px; }
}
@media (min-width: 900px) {
  .hero-content { padding: 0 20px 60px 140px; max-width: 680px; }
}
.hero-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: .06em;
  padding: 12px 22px;
  margin-bottom: 26px;
  width: fit-content;
}
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-ink);
  margin: 0 0 26px;
  letter-spacing: .01em;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hero-title { white-space: normal; }
}
.hero-lead {
  font-size: clamp(14.5px, 1.9vw, 17px);
  color: var(--color-ink-soft);
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.9;
}
.hero-founded {
  position: absolute;
  top: 78px;
  right: 16px;
  z-index: 2;
  width: 224px;
  height: 224px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.3;
  text-align: center;
  padding: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.hero-founded-sub { font-size: 11.5px; letter-spacing: .01em; color: rgba(255,255,255,.9); }
.hero-founded-small { font-size: 0.72em; }
.hero-founded-num { font-family: var(--font-serif); font-size: 36px; font-weight: 600; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.hero-founded-prefix { font-family: var(--font-sans); font-size: 13px; font-weight: 700; }
.hero-founded-unit { font-size: 13px; }
.hero-founded-tagline { font-size: 10px; letter-spacing: 0; color: rgba(255,255,255,.85); line-height: 1.55; }
@media (min-width: 900px) {
  .hero-founded { top: 56px; right: 56px; width: 248px; height: 248px; gap: 10px; padding: 20px; }
  .hero-founded-sub { font-size: 16px; }
  .hero-founded-num { font-size: 56px; gap: 6px; }
  .hero-founded-prefix { font-size: 18px; }
  .hero-founded-unit { font-size: 19px; }
  .hero-founded-tagline { font-size: 12.5px; }
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  margin-top: 0;
}
.hero-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 100px 0 14px;
}
@media (max-width: 899px) {
  .hero-note { text-align: center; }
}
.hero-buttons .btn { flex: 0 1 auto; width: 420px; max-width: 100%; }
@media (max-width: 540px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
}
.btn-line { background: #DFF6E6; color: #06C755; }
.btn-line:hover { background: #cdf0d8; }
.btn-line-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- イントロ / 問題提起 ---------- */
.intro {
  background: var(--color-cream);
  padding: 40px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.intro-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
@media (min-width: 800px) {
  .intro-row { flex-direction: row; align-items: center; gap: 32px; }
}
.intro-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.intro-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--color-ink);
}
.intro-icon svg { width: 100%; height: 100%; }
.intro-head h2 {
  font-size: clamp(19px, 2.6vw, 25px);
  margin: 0;
  position: relative;
  padding-bottom: 10px;
}
.intro-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 3px;
  background: var(--color-ink);
}
.intro-text {
  color: var(--color-ink-soft);
  font-size: 14px;
  margin: 0;
  line-height: 1.9;
}
@media (max-width: 899px) {
  .intro-text { font-size: 13px; }
}

/* ---------- コース ---------- */
.courses { background: var(--color-bg); }
.courses .section-head { margin-bottom: 40px; }
.courses .section-head h2 {
  display: inline-block;
  color: var(--color-accent);
  position: relative;
  font-weight: 900;
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}
@media (min-width: 800px) {
  .course-grid { grid-template-columns: 1fr 1fr; }
}
.course-card {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.65,0,.35,1), box-shadow .35s ease;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
}
.course-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.course-photo img { width: 100%; height: 100%; object-fit: cover; }
.course-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.course-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.course-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  color: var(--color-accent);
}
.course-body h3 { font-size: 22px; margin: 0; }
.course-body p { color: var(--color-ink-soft); font-size: 14px; }
.course-tag {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.course-price {
  margin-top: auto;
  padding-top: 20px;
}
.course-price-box {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--color-ink);
  width: 100%;
  max-width: 320px;
}
.course-price-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 0 22px;
  letter-spacing: .25em;
  white-space: nowrap;
}
.course-price-num {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-accent);
  padding: 8px 20px;
  white-space: nowrap;
}
.course-price-unit { display: block; font-size: 11.5px; color: var(--color-ink-soft); margin-top: 8px; text-align: right; }

/* ---------- WORK FLOW ---------- */
.flow { background: var(--color-cream); }
.flow .section-head { text-align: left; max-width: none; margin: 0 0 32px; }
.flow-head-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--color-ink);
  margin-bottom: 32px;
}
@media (min-width: 800px) {
  .flow-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.flow-head-row h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); }
.flow-head-row .section-lead { margin: 0; text-align: left; max-width: 360px; }
.flow-strip {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--color-line);
  gap: 1px;
}
@media (min-width: 700px) {
  .flow-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .flow-strip { grid-template-columns: repeat(6, 1fr); }
}
.flow-item {
  background: #fff;
  padding: 26px 16px 22px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform .35s cubic-bezier(.65,0,.35,1), box-shadow .35s ease;
}
.flow-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
}
.flow-item:nth-child(1) { z-index: 6; }
.flow-item:nth-child(2) { z-index: 5; }
.flow-item:nth-child(3) { z-index: 4; }
.flow-item:nth-child(4) { z-index: 3; }
.flow-item:nth-child(5) { z-index: 2; }
.flow-item:nth-child(6) { z-index: 1; }
.flow-item::after {
  content: "";
  position: absolute;
  top: 78px;
  right: -12px;
  width: 24px; height: 24px;
  background: var(--color-accent);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 4 L18 12 L7 20 Z" fill="black" stroke="black" stroke-width="3.4" stroke-linejoin="round" stroke-linecap="round"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 4 L18 12 L7 20 Z" fill="black" stroke="black" stroke-width="3.4" stroke-linejoin="round" stroke-linecap="round"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 3;
  display: none;
  animation: flowArrowPulse 2.5s ease-in-out infinite;
}
@keyframes flowArrowPulse {
  0%, 40%, 100% { opacity: .38; transform: scale(.82); }
  18% { opacity: 1; transform: scale(1.18); }
}
.flow-item:nth-child(1)::after { animation-delay: 0s; }
.flow-item:nth-child(2)::after { animation-delay: .25s; }
.flow-item:nth-child(3)::after { animation-delay: .5s; }
.flow-item:nth-child(4)::after { animation-delay: .75s; }
.flow-item:nth-child(5)::after { animation-delay: 1s; }
@media (prefers-reduced-motion: reduce) {
  .flow-item::after { animation: none; opacity: 1; transform: none; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .flow-item:not(:nth-child(3n))::after { display: block; }
}
@media (min-width: 1000px) {
  .flow-item:not(:last-child)::after { display: block; }
}
@media (max-width: 699px) {
  .flow-strip { grid-template-columns: 1fr; }
  .flow-item:not(:last-child)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    animation-name: flowArrowPulseDown;
  }
}
@keyframes flowArrowPulseDown {
  0%, 40%, 100% { opacity: .38; transform: translateX(-50%) rotate(90deg) scale(.82); }
  18% { opacity: 1; transform: translateX(-50%) rotate(90deg) scale(1.18); }
}
.flow-item-num {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}
.flow-item-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  color: var(--color-ink-soft);
}
.flow-item-icon svg { width: 100%; height: 100%; }
.flow-item h3 { font-size: 13.5px; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 700; line-height: 1.5; min-height: 2.6em; }
.flow-item p { font-size: 11px; color: var(--color-ink-soft); margin: 0; line-height: 1.7; text-align: left; }
.flow-note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--color-ink-soft);
}

/* ---------- 価格表 ---------- */
.pricing { background: var(--color-bg); }
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-line);
}
table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  min-width: 560px;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}
.pricing-table thead th {
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table .price-cell { font-family: var(--font-serif); font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.text-accent { color: var(--color-accent); font-weight: 700; }
.nobr { white-space: nowrap; }
@media (max-width: 480px) {
  .hero-lead-2line { font-size: 13.5px; }
  .hero-lead-crafit-2line { font-size: 14px; }
  .flow-lead-2line { font-size: 13px; }
  .hero-badge { font-size: 12px; padding: 8px 14px; margin-bottom: 18px; }
  .hero-founded {
    top: 40px; right: 16px; width: 160px; height: 160px; gap: 3px; padding: 10px;
  }
  .hero-founded-sub { font-size: 10px; }
  .hero-founded-num { font-size: 26px; gap: 3px; }
  .hero-founded-prefix { font-size: 10px; }
  .hero-founded-unit { font-size: 10px; }
  .hero-founded-tagline { font-size: 8px; line-height: 1.4; }
}
@media (min-width: 700px) {
  .nowrap-desktop { white-space: nowrap; }
}
.pricing-table .desc-cell { color: var(--color-ink-soft); font-size: 13px; }
.pricing-note { margin-top: 16px; font-size: 12px; color: var(--color-label); }

/* ---------- FAQ / 追加相談（2カラム） ---------- */
.faq-other { background: var(--color-cream); }
.faq-other-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 900px) {
  .faq-other-grid { grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
}
.faq-col h2, .other-col h2 { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 24px; }
.faq-col { display: flex; flex-direction: column; }
.faq-illust-top { width: 220px; max-width: 60%; margin: 0 auto 0 0; }
@media (min-width: 900px) {
  .faq-illust-top { width: 340px; max-width: 80%; }
}
.faq-body { display: flex; gap: 20px; align-items: flex-start; }
@media (min-width: 900px) {
  .faq-body { margin-top: 24px; }
}
.faq-illust { width: 96px; flex-shrink: 0; display: none; }
.faq-illust svg { width: 100%; height: auto; }
@media (min-width: 560px) {
  .faq-illust { display: block; }
}
.faq-list { flex: 1; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-ink);
  border-left: 5px solid var(--color-accent);
  padding: 18px 22px;
}
.faq-q {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.faq-a {
  color: var(--color-ink-soft);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.8;
}

/* ---------- 追加相談 ---------- */
.other-col { position: relative; }
.other-arrow {
  display: none;
}
@media (min-width: 900px) {
  .other-col { padding-left: 110px; }
  .other-arrow {
    display: block;
    position: absolute;
    left: 38px;
    top: 68%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    color: var(--color-accent);
  }
  .other-arrow svg { width: 100%; height: 100%; }
}

.other-lead { color: var(--color-ink-soft); font-size: 13.5px; margin-bottom: 24px; }
.other-list { display: flex; flex-direction: column; gap: 18px; }
.other-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-line);
}
.other-item:last-child { border-bottom: none; padding-bottom: 0; }
.other-item-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--color-ink);
  margin-top: 2px;
}
.other-item-icon svg { width: 100%; height: 100%; }
.other-item h3 { font-size: 14.5px; font-family: var(--font-sans); font-weight: 700; margin-bottom: 3px; }
.other-item p { font-size: 12.5px; color: var(--color-ink-soft); margin: 0; line-height: 1.6; }

/* ---------- 会社情報 ---------- */
.company { background: var(--color-navy); color: #fff; overflow-x: clip; }
.company .eyebrow { color: rgba(255,255,255,.6); }
.company .section-head h2 { color: #fff; }
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 800px) {
  .company-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.company-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  font-size: 14px;
}
.company-info dt { color: rgba(255,255,255,.6); white-space: nowrap; }
.company-info dd { margin: 0; }
.company-visual {
  position: relative;
  align-self: start;
  height: fit-content;
}
.company-photo {
  display: none;
}
.company-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.company-badge {
  position: static;
  margin: 32px auto 0;
  z-index: 2;
  width: 168px; height: 168px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  line-height: 1.3;
  padding: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.company-badge-sub { font-size: 9px; letter-spacing: .01em; color: rgba(255,255,255,.9); }
.company-badge-small { font-size: 0.72em; }
.company-badge-num { font-family: var(--font-serif); font-size: 26px; font-weight: 600; line-height: 1; display: flex; align-items: baseline; gap: 3px; }
.company-badge-prefix { font-family: var(--font-sans); font-size: 10px; font-weight: 700; }
.company-badge-unit { font-size: 10px; }
.company-badge-tagline { font-size: 8px; letter-spacing: 0; color: rgba(255,255,255,.85); line-height: 1.5; }
@media (max-width: 799px) {
  .company-badge { display: none; }
}
@media (min-width: 800px) {
  .company-photo {
    display: block;
    aspect-ratio: 16/10;
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  .company-badge {
    position: absolute;
    top: -100px;
    right: -100px;
    margin: 0;
  }
}
@media (min-width: 900px) {
  .company-badge { width: 176px; height: 176px; top: -100px; right: -100px; gap: 5px; padding: 12px; }
  .company-badge-sub { font-size: 11px; }
  .company-badge-num { font-size: 36px; gap: 3px; }
  .company-badge-prefix { font-size: 12px; }
  .company-badge-unit { font-size: 13px; }
  .company-badge-tagline { font-size: 9px; }
}

/* ---------- 最終CTA ---------- */
.final-cta {
  background: var(--color-ink);
  color: #fff;
  text-align: center;
}
.final-cta .eyebrow { color: rgba(255,255,255,.5); }
.final-cta h2 { color: #fff; font-size: clamp(24px, 4vw, 38px); }
.final-cta .section-lead { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 32px; }
.cta-tel {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.cta-tel-hours { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.cta-tel-note { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 28px; line-height: 1.8; }
.cta-tel-note-large { font-size: 17px; font-weight: 700; color: rgba(255,255,255,.9); display: inline-block; margin-top: 4px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.final-cta .btn-outline:hover { background: #fff; color: var(--color-ink); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-cream);
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--color-line);
}
.footer-logo { height: 36px; margin: 0 auto 16px; }
.footer-bottom { font-size: 12px; color: var(--color-label); margin: 0; }

@media (max-width: 899px) {
  .company-title { white-space: normal !important; }
}

/* ---------- モバイル: ヒーローを写真ブロック+下にテキストの構成に変更 ---------- */
@media (max-width: 899px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .hero-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-photo::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 55%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
  }
  .hero-scrim {
    display: none;
  }
  .hero-content {
    padding: 16px 20px 48px;
  }
  .hero-badge,
  .hero-title {
    position: absolute;
    left: 20px;
    right: 20px;
    z-index: 3;
  }
  .hero-badge {
    top: -180px;
    opacity: 0;
    animation: heroFadeUp .7s ease-out .15s forwards;
  }
  .hero-title {
    top: -140px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.6);
    opacity: 0;
    animation: heroFadeUp .7s ease-out .35s forwards;
  }
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-lead,
  .hero-note {
    color: var(--color-ink);
    text-shadow: none;
  }
  .hero-lead {
    color: var(--color-ink-soft);
  }
  .hero-note {
    margin-top: 24px;
  }
  .intro-head h2.intro-head-title {
    font-size: 22px;
    font-weight: 700;
  }
  .course-price-label {
    font-size: 13px;
    padding: 0 16px;
  }
  .course-price-num {
    font-size: 26px;
    padding: 6px 14px;
  }
  .cta-tel-note-large {
    font-size: 14px;
  }
  .course-price-unit {
    text-align: right;
  }
}
@media (max-width: 799px) {
  .company-info { order: 2; }
  .company-visual { order: 1; margin-bottom: 8px; }
  .company-photo {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  .course-card:nth-child(1) .course-photo img {
    object-position: center 15%;
  }
}
