/* Sunrise Auto skin v2 — ice-blue & sunshine system (7ページ共通の雰囲気層). */
:root {
  --sa-navy: #23485e;
  --sa-navy-soft: #5c7f95;
  --sa-blue: #3d9ad4;
  --sa-blue-dark: #2c81b8;
  --sa-sky: #9fc9e4;
  --sa-yellow: #f8c64e;
  --sa-paper: #f2f8fc;
  --sa-pale: #e3f1f9;
  --sa-line: #d5e6f1;
  --sa-radius: 24px;
}

.sunrise-refresh body { background: var(--sa-paper); }
.sunrise-site,
.sunrise-site [style*="--cream:"] {
  --orange: var(--sa-blue) !important;
  --orange-dk: var(--sa-blue-dark) !important;
  --teal: var(--sa-blue-dark) !important;
  --navy: var(--sa-navy) !important;
  --cream: var(--sa-pale) !important;
  --gray: #64818f !important;
  --radius: var(--sa-radius) !important;
  --shadow: 0 14px 34px rgba(61, 154, 212, .10) !important;
  --shadow-lg: 0 22px 48px rgba(61, 154, 212, .16) !important;
  background: var(--sa-paper) !important;
  color: var(--sa-navy) !important;
}
.sunrise-site * { -webkit-font-smoothing: antialiased; }
.sunrise-site a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.sunrise-site a:hover { transform: translateY(-2px); }

/* Header: white, airy, with a small "sun" mark and tagline. */
.sunrise-header {
  background: rgba(255,255,255,.92) !important;
  border-bottom: 1px solid var(--sa-line) !important;
  box-shadow: 0 4px 18px rgba(61, 154, 212, .05);
  backdrop-filter: blur(14px) !important;
}
.sunrise-header > div { max-width: 1240px !important; padding: 12px 28px !important; }
.sunrise-header a span span:first-child { color: var(--sa-navy) !important; letter-spacing: .04em; }
.sunrise-header a span span:first-child::before {
  content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sa-yellow); margin-right: 8px; box-shadow: 0 0 0 3px rgba(248,198,78,.25);
}
.sunrise-header a span span:last-child { color: var(--sa-blue) !important; }
.sunrise-header a span span[style*="letter-spacing:0.28em"]::after,
.sunrise-header a span span[style*="letter-spacing: 0.28em"]::after {
  content: '\ff5c  Drive with Sunshine!'; color: var(--sa-navy-soft); letter-spacing: .06em; font-weight: 500;
}
.sunrise-header nav { gap: 24px !important; }
.sunrise-header nav a { color: var(--sa-navy-soft) !important; font-size: 13px !important; }
.sunrise-header nav a:hover { color: var(--sa-blue) !important; }
.sunrise-header > div > a:last-child {
  background: var(--sa-blue) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px rgba(61, 154, 212, .28) !important;
  padding: 11px 19px !important;
}
.sunrise-header > div > a:last-child:hover { background: var(--sa-blue-dark) !important; }

/* Home hero: ice-blue field, photo cut into a soft organic blob. */
.sunrise-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, #eaf4fb 0%, #f6fbff 100%) !important; }
.sunrise-hero::before {
  content: ''; position: absolute; z-index: 0; width: 620px; height: 620px; right: -180px; top: -260px;
  border-radius: 50%; background: radial-gradient(circle at 32% 32%, rgba(255,255,255,.95), rgba(255,255,255,0) 68%);
}
.sunrise-hero::after {
  content: ''; position: absolute; z-index: 0; width: 320px; height: 320px; left: -140px; top: -120px;
  border-radius: 50%; background: rgba(248, 198, 78, .16);
}
.sunrise-hero > div {
  position: relative; z-index: 1; max-width: 1240px !important; padding: 78px 28px 88px !important;
  grid-template-columns: .92fr 1.08fr !important; gap: 52px !important; align-items: center !important;
}
.sunrise-hero > div > div:first-child > div:first-child {
  width: fit-content; background: #fff !important; color: var(--sa-blue-dark) !important;
  border: 1px solid rgba(61,154,212,.28); border-radius: 999px !important; letter-spacing: .08em; padding: 7px 12px !important;
}
.sunrise-hero > div > div:first-child > div:first-child span { background: var(--sa-yellow) !important; }
.sunrise-hero h1 { color: var(--sa-navy) !important; font-size: clamp(36px, 4vw, 52px) !important; line-height: 1.25 !important; letter-spacing: 0 !important; }
.sunrise-hero p { color: var(--sa-navy-soft) !important; max-width: 490px; font-size: 15px !important; line-height: 2 !important; }
.sunrise-hero > div > div:first-child > div:nth-of-type(2) a:first-child {
  background: var(--sa-blue) !important; border-radius: 999px !important; box-shadow: 0 8px 18px rgba(61,154,212,.30) !important;
}
.sunrise-hero > div > div:first-child > div:nth-of-type(2) a:last-child {
  color: var(--sa-navy) !important; background: #fff !important; border: 1px solid rgba(35,72,94,.20) !important; border-radius: 999px !important;
}
.sunrise-hero > div > div:first-child > div:nth-of-type(3) { gap: 24px !important; }
.sunrise-hero > div > div:first-child > div:nth-of-type(3) > div > div:first-child { color: var(--sa-navy) !important; font-size: 30px !important; }
.sunrise-hero > div > div:first-child > div:nth-of-type(3) > div > div:last-child { color: var(--sa-navy-soft) !important; }
.sunrise-hero > div > div:first-child > div:nth-of-type(3) > div:nth-child(even) { background: var(--sa-line) !important; }
.sunrise-hero image-slot {
  height: 470px !important; overflow: hidden;
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45% !important;
  box-shadow: 0 26px 60px rgba(61, 154, 212, .22) !important;
}
.sunrise-hero > div > div:last-child > div { border-radius: 999px !important; padding-left: 22px !important; padding-right: 24px !important; box-shadow: 0 10px 22px rgba(61, 154, 212, .18) !important; }
.sunrise-hero-orbit {
  position: absolute; z-index: 0; width: 190px; height: 190px; right: 37%; bottom: -96px; border-radius: 50%;
  border: 1.5px dashed rgba(61, 154, 212, .5);
  animation: sa-orbit 26s linear infinite;
}
.sunrise-hero-orbit::before { content: ''; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: var(--sa-yellow); left: 24px; top: 17px; box-shadow: 0 0 0 4px rgba(248,198,78,.2); }
@keyframes sa-orbit { to { transform: rotate(360deg); } }

/* Signature move: tiny English eyebrows become big, pale display type. */
.sunrise-section div[style*="letter-spacing:0.2em"],
.sunrise-section div[style*="letter-spacing: 0.2em"] {
  font-size: clamp(34px, 4.2vw, 54px) !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  line-height: 1.05 !important;
  color: var(--sa-sky) !important;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.sunrise-section div[style*="letter-spacing:2px"],
.sunrise-section div[style*="letter-spacing: 2px"] { color: var(--sa-yellow) !important; }

/* Page intros: giant EN word over a quiet JP title. */
.sunrise-page-title { background: linear-gradient(160deg, #eaf4fb, #f6fbff) !important; border-bottom: 1px solid var(--sa-line); position: relative; overflow: hidden; }
.sunrise-page-title::after {
  content: ''; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px;
  border-radius: 50%; background: rgba(248, 198, 78, .13);
}
.sunrise-page-title > div { max-width: 1240px !important; padding: 56px 28px 60px !important; position: relative; z-index: 1; }
.sunrise-page-title * { color: var(--sa-navy-soft) !important; }
.sunrise-page-title h1 { color: var(--sa-navy) !important; font-size: clamp(26px, 3vw, 38px) !important; line-height: 1.3 !important; }
.sunrise-page-title div[style*="letter-spacing"] {
  color: var(--sa-sky) !important; font-size: clamp(44px, 6vw, 76px) !important;
  font-weight: 800 !important; letter-spacing: .03em !important; line-height: 1.05 !important;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.sunrise-page-title span[style*="width:40px"],
.sunrise-page-title span[style*="width: 40px"] { background: var(--sa-yellow) !important; height: 4px !important; border-radius: 999px; }

/* Sections and cards: stadium-round white cards on ice blue. */
.sunrise-section { position: relative; }
.sunrise-section h2, .sunrise-section h3 { color: var(--sa-navy) !important; }
.sunrise-section p { color: var(--sa-navy-soft) !important; }
.sunrise-section:not(.sunrise-hero) image-slot { overflow: hidden; border-radius: var(--sa-radius) !important; }
.sunrise-section image-slot img { transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.sunrise-section image-slot:hover img { transform: translate(-50%,-50%) scale(1.035); }
.sunrise-section > div > div[style*="border-radius"] { border-radius: var(--sa-radius) !important; }
.sunrise-section div[style*="border-radius: 18px"], .sunrise-section div[style*="border-radius:18px"],
.sunrise-section div[style*="border-radius: 16px"], .sunrise-section div[style*="border-radius:16px"] { border-radius: var(--sa-radius) !important; }
.sunrise-section > div > div[style*="box-shadow"] { box-shadow: var(--shadow) !important; }
.sunrise-section a[style*="background:var(--orange)"],
.sunrise-section a[style*="background: var(--orange)"] { background: var(--sa-blue) !important; border-radius: 999px !important; box-shadow: 0 8px 18px rgba(61,154,212,.26) !important; }
.sunrise-section a[style*="background:var(--navy)"],
.sunrise-section a[style*="background: var(--navy)"] { background: var(--sa-navy) !important; border-radius: 999px !important; }

/* Navy accent cards (e.g. final FLOW step) keep white text. */
.sunrise-section div[style*="background:var(--navy)"] *,
.sunrise-section div[style*="background: var(--navy)"] * { color: #fff !important; }

/* Movement: soft rise, nothing busy. */
.sunrise-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
.sunrise-reveal.is-visible { opacity: 1; transform: translateY(0); }
.sunrise-section:not(.sunrise-hero) > div > div[style*="border-radius"],
.sunrise-section:not(.sunrise-hero) > div > div > div[style*="border-radius"] { transition: transform .22s ease, box-shadow .22s ease; }
.sunrise-section:not(.sunrise-hero) > div > div[style*="border-radius"]:hover,
.sunrise-section:not(.sunrise-hero) > div > div > div[style*="border-radius"]:hover { transform: translateY(-3px); }

/* Vertical brand rail, garnish borrowed from the reference site. */
.sunrise-rail {
  position: fixed; left: 20px; bottom: 30px; z-index: 40;
  writing-mode: vertical-rl; font-size: 10.5px; font-weight: 700; letter-spacing: .34em;
  color: rgba(44, 129, 184, .55); pointer-events: none;
}
.sunrise-rail::after {
  content: ''; display: block; width: 1px; height: 64px; margin: 14px auto 0;
  background: linear-gradient(rgba(44,129,184,.5), rgba(44,129,184,0));
}

/* Footer: quiet close with a thin sunshine stripe. */
.sunrise-site footer { background: #e7f2fa !important; color: var(--sa-navy-soft) !important; border-top: 4px solid var(--sa-yellow); }
.sunrise-site footer * { color: var(--sa-navy-soft) !important; }
.sunrise-site footer [style*="color:#fff"],
.sunrise-site footer [style*="color: rgb(255, 255, 255)"] { color: var(--sa-navy) !important; }
.sunrise-site footer > div:first-child { max-width: 1240px !important; padding: 58px 28px 38px !important; }
.sunrise-site footer a:hover { color: var(--sa-blue) !important; }
.sunrise-site footer [style*="color:rgba(255,255,255"],
.sunrise-site footer [style*="color: rgba(255, 255, 255"] { color: var(--sa-navy-soft) !important; }
.sunrise-site footer div[style*="border-top"] { border-color: var(--sa-line) !important; }

/* Final CTA band: the deep-navy strip joins the light sky system. */
.sunrise-section[style*="background:var(--navy)"],
.sunrise-section[style*="background: var(--navy)"] {
  background: linear-gradient(160deg, #dcedf8, #f6fbff) !important;
  border-top: 1px solid var(--sa-line);
}
.sunrise-section[style*="background:var(--navy)"] [style*="color:#fff"]:not([style*="background"]),
.sunrise-section[style*="background: var(--navy)"] [style*="color: rgb(255, 255, 255)"]:not([style*="background"]) { color: var(--sa-navy) !important; }
.sunrise-section[style*="background:var(--navy)"] [style*="color:rgba(255,255,255"]:not([style*="background"]),
.sunrise-section[style*="background: var(--navy)"] [style*="color: rgba(255, 255, 255"]:not([style*="background"]) { color: var(--sa-navy-soft) !important; }
.sunrise-section[style*="background:var(--navy)"] a[style*="background:rgba(255,255,255"],
.sunrise-section[style*="background: var(--navy)"] a[style*="background: rgba(255, 255, 255"] {
  background: #fff !important; color: var(--sa-navy) !important; border-color: rgba(35, 72, 94, .25) !important;
}
.sunrise-section[style*="background:var(--navy)"] a svg, .sunrise-section[style*="background:var(--navy)"] a svg *,
.sunrise-section[style*="background: var(--navy)"] a svg, .sunrise-section[style*="background: var(--navy)"] a svg * { stroke: var(--sa-navy); }

/* Contact: keep the form and final call-to-action inside the light system. */
.sunrise-site .sunrise-section-3 div[style*="background: var(--navy)"] {
  background: var(--sa-pale) !important;
  border: 1px solid rgba(61, 154, 212, .22);
  box-shadow: none !important;
}
.sunrise-site .sunrise-section-3 div[style*="background: var(--navy)"] * { color: var(--sa-navy) !important; }
.sunrise-site .sunrise-section-3 div[style*="background: var(--navy)"] [style*="background:rgba(255,255,255"],
.sunrise-site .sunrise-section-3 div[style*="background: var(--navy)"] [style*="background: rgba(255, 255, 255"] { background: rgba(61, 154, 212, .14) !important; }
.sunrise-site .sunrise-section-3 div[style*="background: var(--navy)"] span[style*="background:var(--orange)"],
.sunrise-site .sunrise-section-3 div[style*="background: var(--navy)"] span[style*="background: var(--orange)"] { background: var(--sa-yellow) !important; }
.sunrise-site .sunrise-section-4 {
  background: linear-gradient(160deg, var(--sa-pale), #f6fbff) !important;
  border-top: 1px solid var(--sa-line);
}
.sunrise-site .sunrise-section-4 h2 { color: var(--sa-navy) !important; }
.sunrise-site .sunrise-section-4 p { color: var(--sa-navy-soft) !important; }
.sunrise-site .sunrise-section-4 a[style*="background:rgba(255,255,255"],
.sunrise-site .sunrise-section-4 a[style*="background: rgba(255, 255, 255"] {
  background: #fff !important; color: var(--sa-navy) !important; border-color: rgba(35, 72, 94, .2) !important;
}

@media (max-width: 1180px) {
  .sunrise-rail { display: none; }
  .sunrise-header a span span[style*="letter-spacing:0.28em"]::after,
.sunrise-header a span span[style*="letter-spacing: 0.28em"]::after { content: ''; }
}
@media (max-width: 820px) {
  /* 元ページ由来の固定カラムグリッドは全て1カラムに畳む */
  .sunrise-section div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .sunrise-header > div { padding: 10px 18px !important; }
  .sunrise-header nav { display: none !important; }
  .sunrise-header > div > a:last-child { padding: 10px 14px !important; font-size: 12px !important; }
  .sunrise-header a span span:first-child { font-size: 17px !important; }
  .sunrise-hero > div { padding: 52px 20px 0 !important; display: flex !important; flex-direction: column; gap: 24px !important; }
  .sunrise-hero h1 { font-size: clamp(38px, 11vw, 54px) !important; }
  .sunrise-hero > div > div:first-child > div:nth-of-type(3) { margin-top: 34px !important; }
  .sunrise-hero image-slot {
    width: 100% !important; height: 300px !important; margin: 0 0 26px;
    border-radius: 44% 56% 50% 50% / 52% 46% 54% 48% !important;
  }
  .sunrise-hero > div > div:last-child > div { left: 14px !important; bottom: 44px !important; }
  .sunrise-hero-orbit { display: none; }
  .sunrise-section div[style*="letter-spacing:0.2em"],
.sunrise-section div[style*="letter-spacing: 0.2em"] { font-size: clamp(30px, 9vw, 40px) !important; }
  .sunrise-page-title > div { padding: 44px 20px 50px !important; }
  .sunrise-page-title div[style*="letter-spacing"] { font-size: clamp(36px, 11vw, 52px) !important; }
  .sunrise-site footer > div:first-child { padding: 44px 20px 30px !important; grid-template-columns: 1fr !important; gap: 26px !important; }
  .sunrise-site footer > div:last-child > div { padding: 16px 20px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .sunrise-site * { animation: none !important; transition: none !important; }
  .sunrise-reveal { opacity: 1; transform: none; }
}
