/* ===== Easy Adjust Area =====
   写真差し替え: site-config.js の images を変更
   フォント変更: --font-ja / --font-en を変更
   色味変更: --accent / --ink / --paper を変更
*/
:root {
  --font-ja: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-en: "Helvetica Neue", Arial, sans-serif;
  --ink: #2f2f2d;
  --muted: #77716d;
  --pale: #f7f4f2;
  --paper: #fffdfb;
  --white: #ffffff;
  --line: #e7e0dd;
  --accent: #b99a9a;
  --accent-dark: #8d7474;
  --header-height: 104px;
  --section-width: 1120px;
  --image-radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ja);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(20px, 4vw, 64px);
  background: rgba(255, 253, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  gap: 10px;
  width: 190px;
}

.brand img {
  width: 105px;
  height: auto;
}

.brand span {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 30px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav a {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  min-height: calc(100vh - var(--header-height));
  background: var(--pale);
}

.hero-media {
  min-height: 540px;
  overflow: hidden;
  background: var(--pale);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.9) contrast(0.96);
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(36px, 6vw, 82px);
  background: var(--paper);
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.hero-copy p {
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 25px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.button:hover {
  transform: translateY(-2px);
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--line);
}

.link-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 18px;
  align-items: center;
  padding: 30px clamp(22px, 4vw, 48px);
  background: var(--white);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.link-card:hover {
  background: var(--pale);
}

.link-card strong {
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.link-card > span:last-child {
  grid-column: 2;
  color: var(--muted);
}

.link-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.link-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.concept,
.product-section,
.plan-section,
.info-section,
.flow-section {
  width: min(var(--section-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) 0;
}

.concept {
  max-width: 860px;
  text-align: center;
}

.section-label {
  max-width: 780px;
  margin-bottom: 42px;
}

.main-product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(46px, 7vw, 82px);
}

.main-product.reverse .product-media {
  order: 2;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--image-radius);
}

.product-body {
  padding-block: 12px;
}

.product-subtitle {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price,
.option-price {
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.05em;
}

.price {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;
}

.price small,
.option-price small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 12px;
  color: var(--muted);
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
}

.option-group {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.option-title {
  max-width: 700px;
  margin-bottom: 28px;
}

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

.option-card {
  min-height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.option-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.option-price {
  margin: 22px 0 0;
  font-size: 27px;
  line-height: 1.25;
}

.sub-section {
  width: min(1180px, calc(100% - 40px));
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sub-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.sub-card.full {
  grid-column: 1 / -1;
}

.sub-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--image-radius);
}

.plan-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--section-width)) / 2));
  background: var(--pale);
}

.plan-list {
  display: grid;
  gap: 16px;
}

.plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.plan-card.highlight {
  background: var(--white);
}

.plan-price {
  min-width: 220px;
  text-align: right;
}

.plan-price span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 13px;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
}

.plan-price strong {
  display: block;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.plan-price small {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 12px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.note {
  color: var(--accent-dark);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.timeline span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.contact {
  display: grid;
  justify-items: center;
  padding: clamp(70px, 10vw, 120px) 20px;
  color: var(--white);
  text-align: center;
  background: var(--ink);
}

.contact img {
  width: 120px;
  margin-bottom: 28px;
}

.contact h2,
.contact p {
  max-width: 760px;
  color: var(--white);
}

.contact .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(20px, 4vw, 64px);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-en);
  font-size: 12px;
}

@media (max-width: 1000px) {
  :root {
    --header-height: 92px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    justify-content: flex-start;
    gap: 8px 20px;
  }

  .hero,
  .main-product,
  .option-grid,
  .sub-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 46vh;
  }

  .main-product.reverse .product-media {
    order: initial;
  }

  .sub-card.full {
    grid-column: auto;
  }

  .plan-card {
    grid-template-columns: 1fr;
  }

  .plan-price {
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.8;
  }

  .site-header {
    padding: 18px 18px 14px;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 88px;
  }

  .brand span {
    font-size: 9px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 12px;
  }

  .hero-copy {
    padding: 36px 20px 48px;
  }

  .hero-media {
    min-height: 300px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 24px;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }

  .link-card {
    padding: 22px 20px;
  }

  .concept,
  .product-section,
  .info-section,
  .flow-section {
    width: min(100% - 28px, var(--section-width));
    padding-block: 64px;
  }

  .sub-section {
    width: min(100% - 28px, 1180px);
  }

  .sub-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .option-card,
  .info-grid article,
  .timeline li {
    padding: 20px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }
}
