/* Home is the traveller-facing entry layer. Detailed guides keep the shared field-note system in style.css. */
.renewal-home { background: #f7f3e9; }
.renewal-home main { overflow: clip; }
.renewal-home .utility-bar > div { max-width: 1280px; }
.renewal-home .site-header,
.field-hero,
.moment-section,
.trip-context,
.evidence-strip,
.arrival-feature,
.prepare-section,
.understand-section,
.pocket-kit,
.safe-emergency,
.renewal-home .help-section,
.renewal-home .travel-tools,
.renewal-home .principles-section,
.renewal-home .site-footer { width: min(1280px, calc(100% - 48px)); }

.renewal-header {
  min-height: 84px;
  grid-template-columns: 1fr auto 1fr;
}
.renewal-header .main-nav { gap: clamp(18px, 2.2vw, 34px); }
.renewal-header .main-nav a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  font-size: 14px;
}
.renewal-header .menu-button { width: 44px; height: 44px; }

.field-hero {
  min-height: min(680px, calc(100vh - 130px));
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  border: 1px solid var(--border);
  border-radius: 42px;
  background: var(--white);
  overflow: hidden;
}
.field-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(48px, 6.2vw, 88px);
}
.field-hero__copy::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 42px;
  width: 54px;
  height: 8px;
  border-radius: 99px;
  background: var(--coral);
  transform: rotate(-5deg);
}
.field-hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Fraunces", "Noto Sans JP", serif;
  font-size: clamp(54px, 6.2vw, 90px);
  font-weight: 600;
  line-height: .97;
  letter-spacing: -.052em;
}
html[lang="ja"] .field-hero h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(44px, 5.3vw, 70px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.045em;
}
.field-hero__copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 28px 0 32px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}
.field-hero__copy > div { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.field-hero__visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  background: #d7ded8;
  overflow: hidden;
}
.field-hero__visual picture,
.field-hero__visual img { width: 100%; height: 100%; display: block; }
.field-hero__visual img { object-fit: cover; object-position: 58% center; }
.field-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(23,59,69,.14), transparent 30%);
}
.field-hero__visual figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  max-width: 330px;
  border-radius: 14px;
  background: rgba(255,253,248,.9);
  padding: 10px 13px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}

.moment-section { margin: 16px auto 0; scroll-margin-top: 20px; }
.moment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #efe9dc;
  overflow: hidden;
}
.moment-card {
  min-height: 208px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 25px 24px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.moment-card + .moment-card { border-left: 1px solid var(--border); }
.moment-card:hover { background: var(--ink); color: #fff; }
.moment-card > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.moment-card > div { min-width: 0; display: flex; flex-direction: column; }
.moment-card strong { font-family: "Fraunces", "Noto Sans JP", serif; font-size: 23px; line-height: 1.15; }
html[lang="ja"] .moment-card strong { font-family: "Noto Sans JP", sans-serif; font-size: 19px; line-height: 1.45; }
.moment-card p { margin: 12px 0 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.moment-card:hover p { color: rgba(255,255,255,.78); }
.moment-card b { margin-top: auto; font-size: 12px; }

.trip-context {
  margin: 84px auto 0;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  scroll-margin-top: 20px;
}
.trip-context .eyebrow { color: var(--mint); }
.trip-context h2,
.arrival-feature h2,
.prepare-section h2,
.understand-section h2,
.pocket-kit h2,
.safe-emergency h2 {
  margin: 0;
  font-family: "Fraunces", "Noto Sans JP", serif;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
html[lang="ja"] .trip-context h2,
html[lang="ja"] .arrival-feature h2,
html[lang="ja"] .prepare-section h2,
html[lang="ja"] .understand-section h2,
html[lang="ja"] .pocket-kit h2,
html[lang="ja"] .safe-emergency h2 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.25;
}
.trip-context > div > p:last-child { margin: 18px 0 0; color: rgba(255,255,255,.74); line-height: 1.7; }
.trip-context form { border-radius: 22px; background: var(--white); color: var(--ink); padding: 23px; }
.trip-context label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 800; }
.trip-context select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(23,59,69,.35);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
}
.trip-context form > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.context-weather-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; text-underline-offset: 4px; }
.trip-context form > small { display: block; margin-top: 15px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }

.evidence-strip {
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  overflow: hidden;
}
.evidence-strip > div { padding: 21px 24px; }
.evidence-strip > div + div { border-left: 1px solid var(--border); }
.evidence-strip strong { display: block; font-family: "Fraunces", serif; font-size: 32px; line-height: 1; }
.evidence-strip span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 12px; }
.evidence-strip > p { grid-column: 1 / -1; margin: 0; border-top: 1px solid var(--border); padding: 10px 24px; color: var(--ink-soft); font-size: 12px; text-align: right; }

.arrival-feature {
  margin: 110px auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 94px);
  align-items: center;
  border-radius: 42px;
  background: var(--mint);
  padding: clamp(38px, 6vw, 74px);
  scroll-margin-top: 20px;
}
.arrival-feature__intro > p:not(.eyebrow) { margin: 22px 0; color: var(--ink-soft); line-height: 1.7; }
.arrival-feature__panel { border-radius: 28px; background: var(--white); padding: clamp(24px, 3.5vw, 38px); box-shadow: 12px 14px 0 rgba(23,59,69,.08); }
.arrival-feature__panel > div:first-child { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 18px; }
.arrival-feature__panel > div strong { font-family: "Fraunces", serif; font-size: 48px; line-height: 1; }
.arrival-feature__panel > div span { color: var(--ink-soft); font-size: 13px; }
.arrival-feature__panel > p { margin: 19px 0 10px; font-size: 13px; font-weight: 800; }
.arrival-feature__panel nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.arrival-feature__panel nav a { min-height: 116px; display: flex; flex-direction: column; padding: 15px; text-decoration: none; }
.arrival-feature__panel nav a[hidden] { display: none; }
.arrival-feature__panel nav a:nth-child(even) { border-left: 1px solid var(--border); }
.arrival-feature__panel nav a:nth-child(n+3) { border-top: 1px solid var(--border); }
.arrival-feature__panel nav a:hover { background: #fff4db; }
.arrival-feature__panel nav span { color: var(--ink-soft); font-size: 12px; }
.arrival-feature__panel nav strong { margin: 7px 0; line-height: 1.3; }
.arrival-feature__panel nav b { margin-top: auto; font-size: 12px; }
.arrival-empty { border: 1px solid var(--border); border-radius: 16px; background: #fff4db; padding: 18px; color: var(--ink-soft); line-height: 1.6; }
.arrival-feature__panel > small { display: block; margin-top: 16px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }

.renewal-home .renewal-help { padding-top: 0; padding-bottom: 110px; scroll-margin-top: 20px; }
.renewal-home .section-intro h2 { font-size: clamp(40px, 5.2vw, 66px); }
html[lang="ja"] .renewal-home .section-intro h2 { font-family: "Noto Sans JP", sans-serif; }
.renewal-home .help-grid { gap: 10px; }
.renewal-home .help-card { min-height: 210px; padding: 20px; }
.renewal-home .help-card:nth-child(4n+1) { background: #c8e4dc; }
.renewal-home .help-card:nth-child(4n+2) { background: #f6dfa0; }
.renewal-home .help-card:nth-child(4n+3) { background: #cfe0eb; }
.renewal-home .help-card:nth-child(4n+4) { background: #ded5e8; }

.prepare-section { margin: 0 auto; border-top: 1px solid var(--border); padding: 104px 0; scroll-margin-top: 20px; }
.prepare-section .section-intro h2 { font-size: clamp(40px, 5.2vw, 66px); }
.prepare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 42px; border: 1px solid var(--border); border-radius: 28px; background: var(--white); overflow: hidden; }
.prepare-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px; }
.prepare-card + .prepare-card { border-left: 1px solid var(--border); }
.prepare-card > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 18px; }
.prepare-card h3 { margin: 52px 0 12px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 30px; line-height: 1.12; }
html[lang="ja"] .prepare-card h3 { font-family: "Noto Sans JP", sans-serif; font-size: 23px; line-height: 1.45; }
.prepare-card p { margin: 0 0 24px; color: var(--ink-soft); line-height: 1.65; }
.prepare-card a { min-height: 44px; margin-top: auto; display: inline-flex; align-items: center; font-weight: 800; text-underline-offset: 4px; }
.section-more { display: inline-flex; min-height: 44px; align-items: center; margin-top: 20px; }
.guide-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.guide-shortcuts a { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--white); padding: 9px 14px; font-size: 13px; font-weight: 700; text-decoration: none; }
.guide-shortcuts a:hover { border-color: var(--ink); }

.understand-section {
  margin: 0 auto 110px;
  border-radius: 42px;
  background: var(--ink);
  color: #fff;
  padding: clamp(38px, 6vw, 74px);
  scroll-margin-top: 20px;
}
.understand-heading { max-width: 820px; }
.understand-heading .eyebrow { color: var(--mint); }
.understand-heading > p:last-child { max-width: 660px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.understand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.understand-card { min-height: 330px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 25px; text-decoration: none; transition: background .18s ease, color .18s ease, transform .18s ease; }
.understand-card:hover { background: var(--white); color: var(--ink); transform: translateY(-3px); }
.understand-card > span { color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.understand-card:hover > span { color: #85503e; }
.understand-card > strong { margin: 52px 0 12px; font-family: "Fraunces", "Noto Sans JP", serif; font-size: 30px; line-height: 1.12; }
html[lang="ja"] .understand-card > strong { font-family: "Noto Sans JP", sans-serif; font-size: 23px; line-height: 1.45; }
.understand-card p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.understand-card:hover p { color: var(--ink-soft); }
.understand-card b { margin-top: auto; padding-top: 25px; font-size: 12px; }

.pocket-kit {
  margin: 0 auto 110px;
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 42px;
  background: #f3d597;
  overflow: hidden;
}
.pocket-kit > div { position: relative; z-index: 2; padding: clamp(38px, 6vw, 72px); }
.pocket-kit > div > p:not(.eyebrow) { margin: 22px 0; color: #3a5158; font-size: 17px; line-height: 1.7; }
.pocket-kit img { width: min(660px, 100%); height: auto; justify-self: center; filter: drop-shadow(0 18px 18px rgba(23,59,69,.15)); transform: rotate(1deg); }

.renewal-home .renewal-tools { margin-bottom: 110px; padding-top: 0; border-top: 0; scroll-margin-top: 20px; }
.renewal-home .renewal-tools .travel-tool-grid > a { min-height: 240px; }

.safe-emergency {
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, .8fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: end;
  border: 1px solid #bcaed0;
  border-radius: 34px;
  background: var(--lavender);
  padding: clamp(34px, 5vw, 60px);
}
.safe-emergency > div:last-child p { margin: 0 0 22px; color: #314d55; line-height: 1.7; }

.renewal-home .renewal-principles { padding-bottom: 95px; }
.sofuca-network { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 38px; }
.sofuca-network a { min-height: 86px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--border); border-radius: 18px; background: var(--white); padding: 15px 19px; font-family: "Fraunces", serif; font-size: 24px; font-weight: 700; text-decoration: none; }
.sofuca-network a:hover { border-color: var(--ink); box-shadow: 0 7px 0 rgba(23,59,69,.08); }
.sofuca-network span { margin-top: 4px; color: var(--ink-soft); font-family: "DM Sans", "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 600; }

.renewal-home .renewal-footer { grid-template-columns: 1.5fr repeat(4, 1fr); }
.renewal-home .renewal-footer > div > a:not(.brand) {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1080px) {
  .field-hero { grid-template-columns: 1fr 1fr; }
  .moment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moment-card:nth-child(3) { border-left: 0; }
  .moment-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .arrival-feature { grid-template-columns: 1fr; }
  .arrival-feature__intro { max-width: 780px; }
  .renewal-home .renewal-footer { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .renewal-home .renewal-footer > div:nth-child(5) { grid-column: 2; }
}

@media (max-width: 820px) {
  .renewal-home .site-header,
  .field-hero,
  .moment-section,
  .trip-context,
  .evidence-strip,
  .arrival-feature,
  .prepare-section,
  .understand-section,
  .pocket-kit,
  .safe-emergency,
  .renewal-home .help-section,
  .renewal-home .travel-tools,
  .renewal-home .principles-section,
  .renewal-home .site-footer { width: calc(100% - 32px); }
  .field-hero { grid-template-columns: 1fr; min-height: 0; }
  .field-hero__copy { padding: 52px clamp(28px, 7vw, 56px); }
  .field-hero__copy::after { display: none; }
  .field-hero__visual { min-height: 440px; }
  .field-hero__visual img { object-position: 60% center; }
  .trip-context { grid-template-columns: 1fr; }
  .prepare-grid, .understand-grid { grid-template-columns: 1fr; }
  .prepare-card, .understand-card { min-height: 0; }
  .prepare-card + .prepare-card { border-left: 0; border-top: 1px solid var(--border); }
  .prepare-card h3, .understand-card > strong { margin-top: 28px; }
  .pocket-kit { grid-template-columns: 1fr; }
  .pocket-kit img { width: min(560px, 95%); margin-top: -25px; }
  .safe-emergency { grid-template-columns: 1fr; align-items: start; }
  .renewal-home .renewal-footer { grid-template-columns: 1fr 1fr; }
  .renewal-home .renewal-footer > div:first-child { grid-column: 1 / -1; }
  .renewal-home .renewal-footer > div:nth-child(5) { grid-column: auto; }
}

@media (max-width: 600px) {
  .renewal-home .site-header,
  .field-hero,
  .moment-section,
  .trip-context,
  .evidence-strip,
  .arrival-feature,
  .prepare-section,
  .understand-section,
  .pocket-kit,
  .safe-emergency,
  .renewal-home .help-section,
  .renewal-home .travel-tools,
  .renewal-home .principles-section,
  .renewal-home .site-footer { width: calc(100% - 28px); }
  .field-hero { border-radius: 26px; }
  .field-hero__copy { padding: 42px 24px 36px; }
  .field-hero h1 { font-size: clamp(46px, 14vw, 63px); }
  html[lang="ja"] .field-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .field-hero__copy > p:not(.eyebrow) { margin: 22px 0 27px; font-size: 16px; }
  .field-hero__copy > div { align-items: flex-start; flex-direction: column; gap: 12px; }
  .field-hero__visual { min-height: 350px; }
  .field-hero__visual figcaption { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .moment-grid { grid-template-columns: 1fr; }
  .moment-card { min-height: 0; padding: 21px; }
  .moment-card + .moment-card, .moment-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .trip-context { margin-top: 68px; border-radius: 26px; padding: 30px 22px; }
  .trip-context form { padding: 18px; }
  .trip-context form > div { align-items: stretch; flex-direction: column; }
  .trip-context form .primary-button, .context-weather-link { width: 100%; justify-content: space-between; }
  .evidence-strip { grid-template-columns: repeat(2, 1fr); }
  .evidence-strip > div:nth-child(3) { border-left: 0; }
  .evidence-strip > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .evidence-strip > p { text-align: left; }
  .arrival-feature { margin: 80px auto; border-radius: 28px; padding: 32px 22px; }
  .arrival-feature__panel { padding: 20px; box-shadow: none; }
  .arrival-feature__panel nav { grid-template-columns: 1fr; }
  .arrival-feature__panel nav a:nth-child(even) { border-left: 0; }
  .arrival-feature__panel nav a + a { border-top: 1px solid var(--border); }
  .renewal-home .renewal-help { padding-bottom: 80px; }
  .prepare-section { padding: 80px 0; }
  .prepare-grid { margin-top: 30px; border-radius: 22px; }
  .prepare-card { padding: 23px; }
  .understand-section, .pocket-kit { margin-bottom: 80px; border-radius: 28px; }
  .understand-section { padding: 34px 22px; }
  .understand-grid { margin-top: 30px; }
  .understand-card { padding: 22px; }
  .pocket-kit > div { padding: 34px 24px 0; }
  .pocket-kit img { margin-top: -5px; }
  .renewal-home .renewal-tools { margin-bottom: 80px; }
  .safe-emergency { margin-bottom: 80px; border-radius: 26px; padding: 30px 22px; }
  .sofuca-network { grid-template-columns: 1fr; }
  .renewal-home .renewal-footer { grid-template-columns: 1fr; }
  .renewal-home .renewal-footer > div { grid-column: 1 !important; }
}

@media (forced-colors: active) {
  .field-hero,
  .trip-context,
  .arrival-feature,
  .understand-section,
  .pocket-kit,
  .safe-emergency { border: 1px solid CanvasText; }
  .field-hero__copy::after { display: none; }
}
