/* =========================================================
   EAGLE ONE demo LP — tokens
========================================================= */
:root {
  --navy: #0f2036;
  --navy-2: #16294a;
  --cream: #f5f3ee;
  --cream-2: #ece9e1;
  --ink: #142238;
  --ink-soft: #4a5568;
  --line: #e0ddd3;
  --line-dark: rgba(255,255,255,.14);
  --accent: #e0611e;
  --accent-dark: #c9540f;
  --white: #ffffff;

  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --container: 1180px;
  --radius: 4px;

  --gap-sec: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .01em;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* =========================================================
   Japanese line-wrap safety
   — 見出し・キャッチコピーは意味のまとまりで手動改行した
   .line 要素を積み、各行は auto-phrase / keep-all で
   単語・文節の途中では折り返さないようにする。
========================================================= */
.hero-title, .install-title, .work-title, .flow-title, .contact-title,
.hero-sub, h2, h3 {
  word-break: keep-all;
  overflow-wrap: break-word; /* 改行機会が無い場合の最終手段。通常時は発動しない */
  line-break: strict;
}
/* auto-phrase 対応ブラウザでは見出しに加えて本文にも文節単位の改行を適用する。
   非対応ブラウザの本文はブラウザ標準の折り返し(normal)のまま安全側に倒す。
   見出し側は具体的なセレクタで再指定し、上のkeep-allより優先させる。 */
@supports (word-break: auto-phrase) {
  body,
  .hero-title, .install-title, .work-title, .flow-title, .contact-title,
  .hero-sub, h2, h3 {
    word-break: auto-phrase;
    line-break: strict;
  }
}
.line { display: block; }

/* =========================================================
   Reveal animation — セクション単位で一気にライズ
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,243,238,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav {
  display: flex;
  gap: clamp(16px, 2.6vw, 40px);
  font-weight: 700;
  font-size: 15px;
}
.main-nav a { white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: 260px; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   Common bits
========================================================= */
.eyebrow {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--accent-dark); }
.eyebrow-light { color: #f0a879; }

.section { padding: var(--gap-sec) 0; scroll-margin-top: 76px; }
.hero { scroll-margin-top: 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head-left { max-width: 640px; margin-bottom: 44px; }
h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; }
.section-sub {
  margin-top: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 17px);
}
.section-sub--light { color: #cfd6e2; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 17px);
  padding: 18px 30px;
  border-radius: var(--radius);
  white-space: normal;
  word-break: keep-all;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.arrow, .arrow-down, .arrow-up, .arrow-ext { display: inline-block; }

.link-more, .link-arrow, .link-underline {
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: normal;
  word-break: keep-all;
}

.fine-note { margin-top: 20px; color: var(--ink-soft); font-size: 14px; }
.fine-print { margin-top: 14px; color: #8a8f9a; font-size: 12.5px; line-height: 1.8; }
.allow-break { display: none; }
@media (max-width: 480px) { .allow-break { display: inline; } }

/* placeholder blocks (画像プレースホルダー) */
.ph {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dfe3e8 0%, #c7cdd6 100%);
  overflow: hidden;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 2px, transparent 2px 14px);
}
.ph-icon {
  width: 15%;
  min-width: 32px;
  max-width: 56px;
  fill: #ffffff;
  opacity: .85;
  position: relative;
  z-index: 1;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph:has(img)::after,
.ph:has(img) .ph-icon {
  display: none;
}
.ph-hero { position: absolute; inset: 0; border-radius: 0; background: linear-gradient(135deg,#33465f,#1c2c44); }
.ph-hero .ph-icon { width: 60px; }
.ph-card, .ph-wide { aspect-ratio: 4 / 3; }
.ph-tall { aspect-ratio: 3 / 4; }
.ph-square { aspect-ratio: 1 / 1; margin-top: 28px; }
.ph-wide-tall { aspect-ratio: 4 / 5; }
.ph-dark { background: linear-gradient(135deg,#25314a,#0f1c30); }
.ph-work-main { aspect-ratio: 3 / 4; }
.ph-work-side { aspect-ratio: 16 / 9; }

.ph-caption { margin-top: 10px; font-size: 12px; color: #8a8f9a; text-align: right; }
.ph-caption--light { color: #aab2c2; }

/* =========================================================
   01 HERO
========================================================= */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15,32,54,.92) 0%, rgba(15,32,54,.78) 28%, rgba(15,32,54,0) 48%, rgba(15,32,54,0) 100%);
}
@media (max-width: 700px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(15,32,54,.72) 0%, rgba(15,32,54,.9) 55%, rgba(15,32,54,.94) 100%);
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 132px 24px 56px;
}
.hero .eyebrow { color: #f0a879; }
.hero-title {
  color: #fff;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.28;
  margin: 4px 0 22px;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #dce2ec;
  font-weight: 500;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-bottom: 22px; }
.hero-actions .link-more { color: #fff; }
.hero-bar {
  position: relative;
  z-index: 2;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 16px);
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.hero-bar .dot { color: var(--line); }

/* =========================================================
   02 NEEDS
========================================================= */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.needs-card { position: relative; padding-top: 6px; border-top: 1px solid var(--line); }
.needs-num {
  display: block;
  font-weight: 900;
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 16px;
}
.needs-card h3 { font-size: clamp(19px, 2vw, 22px); margin: 16px 0 8px; }
.needs-desc { color: var(--ink-soft); font-weight: 600; font-size: 14.5px; margin-bottom: 16px; }

@media (max-width: 860px) {
  .needs-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* =========================================================
   03 INSTALL
========================================================= */
.install { background: #fff; }
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.install-title { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.install-sub { color: var(--ink-soft); font-weight: 600; margin-bottom: 24px; }
.icon-list { display: flex; flex-direction: column; }
.icon-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.icon-list li:last-child { border-bottom: 1px solid var(--line); }
.icon-box {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.icon-box svg { width: 18px; height: 18px; fill: #fff; }
.icon-box--light { background: rgba(255,255,255,.16); }

@media (max-width: 860px) {
  .install-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   04 CARE
========================================================= */
.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 40px;
}
.care-card h3 { font-size: 20px; margin-bottom: 6px; }
.care-card > p { color: var(--ink-soft); font-weight: 600; font-size: 14.5px; margin-bottom: 16px; }
.section-foot-note { margin-top: 48px; color: var(--ink-soft); font-size: 14px; border-top: 1px solid var(--line); padding-top: 24px; }

@media (max-width: 700px) {
  .care-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   05 WORK GUIDE
========================================================= */
.work { background: var(--navy); color: #fff; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.work-title { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.work-media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.work-media-side { display: flex; flex-direction: column; gap: 20px; }
.work-caption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-weight: 700; gap: 12px; flex-wrap: wrap; }
.work-note {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 0 24px;
  color: #aab2c2;
  font-size: 13px;
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-media { grid-template-columns: 1fr; }
}

/* =========================================================
   06 FLOW
========================================================= */
.flow-grid {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: clamp(32px, 6vw, 72px);
}
.flow-title { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.flow-steps { display: flex; flex-direction: column; }
.flow-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.flow-steps li:last-child { border-bottom: 1px solid var(--line); }
.flow-num { font-weight: 900; font-size: 34px; color: var(--ink); line-height: 1; }
.flow-steps h3 { font-size: 19px; margin-bottom: 8px; }
.flow-steps p { color: var(--ink-soft); font-size: 14.5px; }
.flow-note {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 28px 24px;
  margin-top: var(--gap-sec);
}

@media (max-width: 800px) {
  .flow-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   07 FAQ
========================================================= */
.accent-bar { display: block; width: 44px; height: 4px; background: var(--accent); margin-bottom: 20px; }
.faq-list { margin-top: 40px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--ink);
}
.faq-toggle {
  flex: none;
  position: relative;
  width: 22px; height: 22px;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.faq-toggle::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-toggle::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-q[aria-expanded="true"] .faq-toggle::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-a p {
  overflow: hidden;
  min-height: 0;
  padding-right: 38px;
  color: var(--ink-soft);
  font-size: 15px;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { padding-bottom: 22px; }
.faq-a > p { grid-row: 1 / 2; }
.faq-a { overflow: hidden; }

/* =========================================================
   08 ACCESS
========================================================= */
.access-label {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.access-label::before, .access-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.access-title { text-align: center; margin-bottom: 44px; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.access-info h3 { font-size: 22px; margin-bottom: 18px; }
.access-address { font-size: 16px; margin-bottom: 14px; }
.access-tel { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.access-tel a { border-bottom: 2px solid var(--accent); }
.access-note { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.access-divider { border: none; border-top: 1px solid var(--line); margin: 22px 0; }

@media (max-width: 800px) {
  .access-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   09 CONTACT + FOOTER
========================================================= */
.contact { background: var(--navy); color: #fff; padding-bottom: 0; }
.contact-inner { text-align: center; }
.contact-title { color: #fff; font-size: clamp(24px, 6.4vw, 44px); margin-bottom: 16px; }
.btn-call {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--accent);
  padding: 22px clamp(24px, 5vw, 48px);
  border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
}
.btn-call:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-call-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: #fff; }
.btn-call-label { font-weight: 700; font-size: 14px; }
.btn-call-number { font-weight: 900; font-size: clamp(22px, 4vw, 30px); letter-spacing: .02em; white-space: nowrap; }
.contact-note { margin-top: 18px; color: #cfd6e2; font-size: 14px; }

.footer-inner {
  margin-top: 56px;
  border-top: 1px solid var(--line-dark);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 32px 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo { font-weight: 900; font-size: 24px; }
.footer-logo-sub { font-size: 13px; color: #cfd6e2; margin-top: 4px; }
.footer-address { font-size: 13px; color: #aab2c2; margin-top: 10px; }
.footer-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-nav { display: flex; gap: 22px; font-weight: 700; font-size: 14px; }
.footer-top { font-weight: 700; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.footer-copy { font-size: 12px; color: #8a91a0; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; text-align: left; }
}

/* =========================================================
   Global small-screen text safety
========================================================= */
@media (max-width: 380px) {
  .hero-title { font-size: 8.2vw; }
}
