:root {
  --ink: #17231f;
  --muted: #5d6a64;
  --line: #d9e2dc;
  --paper: #fffaf0;
  --white: #ffffff;
  --green: #1f6b4f;
  --green-dark: #114631;
  --mint: #e8f7ed;
  --gold: #ffc928;
  --gold-soft: #fff1a6;
  --coral: #e35f42;
  --pink: #ff6fae;
  --blue: #28aee4;
  --shadow: 0 22px 60px rgba(143, 103, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(23, 35, 31, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 210px;
}

.brand img {
  width: 178px;
  height: auto;
  mix-blend-mode: multiply;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.header-burst {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  background: var(--coral);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  line-height: 1;
}

.header-burst strong {
  font-size: 15px;
  font-weight: 900;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.header-call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.header-call span {
  font-size: 12px;
}

.header-call strong {
  font-size: 18px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: end;
  min-height: 92svh;
  padding: 150px clamp(18px, 5vw, 72px) 58px;
  overflow: hidden;
  color: var(--ink);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -150px;
  width: 240px;
  height: 240px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 201, 40, 0.32) 0deg 10deg, rgba(255, 255, 255, 0) 10deg 20deg);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 249, 224, 0.98) 0%, rgba(255, 249, 224, 0.92) 42%, rgba(255, 249, 224, 0.2) 72%),
    linear-gradient(0deg, rgba(255, 201, 40, 0.58) 0%, rgba(255, 255, 255, 0) 44%);
}

.hero-content,
.quick-panel {
  position: relative;
  z-index: 1;
}

.limited-burst {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  gap: 7px;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--coral);
  border: 4px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 16px 0 rgba(255, 201, 40, 0.35), 0 18px 38px rgba(227, 95, 66, 0.3);
  transform: rotate(-2deg);
}

.limited-burst span {
  font-size: 18px;
  font-weight: 900;
}

.limited-burst strong {
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.area-label,
.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(31px, 4.8vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
}

.hero h1 span:nth-child(2) {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 12px;
  text-underline-offset: -2px;
}

.hero h1 span:first-child {
  color: var(--coral);
}

.hero h1 span {
  display: block;
  white-space: normal;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: #26352f;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 900;
}

.primary-button {
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.primary-button.dark {
  color: var(--white);
  background: var(--green-dark);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(23, 35, 31, 0.28);
}

.hero-proof span {
  padding: 8px 12px;
  color: var(--green-dark);
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 0 rgba(255, 201, 40, 0.28);
}

.quick-panel {
  align-self: end;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--ink);
}

.quick-panel p {
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 900;
  font-size: 20px;
}

.quick-panel dl,
.office-list {
  margin: 0;
}

.quick-panel div,
.office-list div,
.conditions-table div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

dt,
.conditions-table strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.section,
.intro-band,
.cta-band {
  padding: clamp(64px, 9vw, 116px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  background:
    linear-gradient(90deg, var(--gold-soft), var(--white)),
    repeating-linear-gradient(135deg, rgba(255, 201, 40, 0.18) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.2;
  font-weight: 900;
}

h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.35;
}

.intro-grid p:last-child,
.text-block p,
.conditions-layout p,
.cta-inner p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.split,
.office-grid,
.conditions-layout,
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 3px;
  top: 1px;
  width: 10px;
  height: 18px;
  border-right: 4px solid var(--green);
  border-bottom: 4px solid var(--green);
  content: "";
  transform: rotate(45deg);
}

.photo-stack img,
.map-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.caption {
  width: min(86%, 440px);
  margin: -34px auto 0;
  position: relative;
  padding: 16px 18px;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.warm {
  background: linear-gradient(180deg, #fff6c7 0%, #eaf8ef 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.voice-featured {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  background: #fffbea;
  border: 3px solid var(--coral);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 8px 8px 0 rgba(220, 80, 50, 0.15);
}

.voice-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--coral);
  display: block;
}

.voice-photo-fallback {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #f3d77a;
  border: 3px solid var(--coral);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  gap: 4px;
}

.voice-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--coral);
  margin: 0 0 12px;
}

.voice-attr {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
  margin: 0;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fit-grid article {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 3px solid #f3d77a;
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(255, 201, 40, 0.45);
}

.fit-grid article.fit-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  align-items: start;
  background: #fffbea;
  border: 3px solid var(--coral);
  box-shadow: 8px 8px 0 rgba(220, 80, 50, 0.2);
  min-height: auto;
}

.fit-grid article.fit-featured span {
  font-size: 26px;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--coral);
}

.fit-grid article.fit-featured h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.fit-grid span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.fit-grid p {
  margin: 0;
  color: var(--muted);
}

.not-fit {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.not-fit::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 201, 40, 0.18), rgba(227, 95, 66, 0.18)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 2px, rgba(255, 255, 255, 0) 2px 18px);
  content: "";
}

.not-fit .section-inner {
  position: relative;
  z-index: 1;
}

.not-fit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.not-fit h2 {
  color: var(--white);
}

.not-fit p {
  margin: 18px 0 0;
  color: #ffeaa0;
  font-size: 17px;
  font-weight: 700;
}

.not-fit-list {
  display: grid;
  gap: 14px;
}

.not-fit-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--gold);
}

.not-fit-list strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--coral);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.not-fit-list span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.conditions-table {
  padding: 18px 26px;
  background: var(--white);
  border: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(23, 35, 31, 0.9);
}

.conditions-table div {
  grid-template-columns: 112px 1fr;
}

.conditions-table span {
  font-weight: 900;
}

.cta-band {
  color: var(--ink);
  background:
    linear-gradient(135deg, var(--gold) 0%, #ffe66f 56%, #ffffff 100%),
    repeating-linear-gradient(90deg, rgba(23, 35, 31, 0.08) 0 1px, rgba(255, 255, 255, 0) 1px 18px);
}

.cta-band .eyebrow,
.cta-band p {
  color: var(--green-dark);
}

.cta-inner {
  grid-template-columns: 1fr auto;
}

.office-list {
  margin-top: 24px;
}

.office-list div {
  grid-template-columns: 118px 1fr;
}

.map-panel {
  position: relative;
}

.map-link {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--ink);
  background: var(--white);
  border-color: transparent;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
}

.footer {
  padding: 28px 0 92px;
  color: var(--ink);
  background: var(--gold);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 4px 0 0;
  color: #4a4130;
}

.footer-logo {
  width: 220px;
  height: auto;
  mix-blend-mode: multiply;
}

.mobile-call {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(23, 35, 31, 0.24);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 124px;
  }

  .quick-panel {
    max-width: 520px;
  }

  .intro-grid,
  .split,
  .office-grid,
  .conditions-layout,
  .cta-inner,
  .section-heading,
  .not-fit-layout {
    grid-template-columns: 1fr;
  }

  .fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 142px;
  }

  .brand-tag {
    display: none;
  }

  .header-call {
    display: none;
  }

  /* ヒーロー全体 */
  .hero {
    padding-top: 90px;
    padding-bottom: 24px;
    min-height: 520px;
  }

  /* モバイル：左側を文字が読めるよう保ちつつ、右側は写真を見せる */
  .hero-overlay {
    background:
      linear-gradient(100deg, rgba(255, 249, 224, 0.95) 0%, rgba(255, 249, 224, 0.75) 50%, rgba(255, 249, 224, 0.15) 100%),
      linear-gradient(0deg, rgba(255, 201, 40, 0.4) 0%, rgba(255, 255, 255, 0) 40%);
  }

  /* クイックパネルはスマホで非表示（hero-proofバッジで代替） */
  .quick-panel {
    display: none;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(255,249,224,0.9), 0 0 20px rgba(255,249,224,0.8);
  }

  .hero h1 span {
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .limited-burst {
    margin-bottom: 14px;
    padding: 8px 13px;
  }

  .limited-burst span {
    font-size: 15px;
  }

  .limited-burst strong {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 15px;
    margin-top: 16px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-proof span {
    font-size: 12px;
    padding: 6px 10px;
  }

  .hero-actions {
    display: none;
  }

  /* STAFF VOICE：縦並びに */
  .voice-featured {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 24px 18px;
  }

  .voice-photo img,
  .voice-photo-fallback {
    margin: 0 auto;
  }

  .voice-quote {
    text-align: left;
    font-size: 0.95rem;
  }

  /* fit-featuredカード内部も縦並びに */
  .fit-grid article.fit-featured {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .fit-grid article.fit-featured span {
    grid-row: auto;
    font-size: 20px;
  }

  .quick-panel div,
  .office-list div,
  .conditions-table div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .photo-stack img,
  .map-panel img {
    aspect-ratio: 1 / 1;
  }

  .footer-inner {
    display: block;
  }

  .mobile-call {
    display: flex;
  }
}
