:root {
  --ink: #172723;
  --muted: #5e6e67;
  --brand: #275949;
  --brand-deep: #153a32;
  --accent: #c28f49;
  --accent-soft: #f4e8d4;
  --pale: #f5f8f6;
  --line: #dbe5df;
  --white: #fff;
  --shadow: 0 18px 46px rgba(26, 48, 41, .1);
}

body.theme-forest {
  --brand: #315c47;
  --brand-deep: #17382f;
  --accent: #ae8148;
  --accent-soft: #f1e7d6;
}

body.theme-navy {
  --brand: #174f67;
  --brand-deep: #102e3d;
  --accent: #b88943;
  --accent-soft: #eef2ee;
}

body.theme-earth {
  --brand: #48604a;
  --brand-deep: #26392f;
  --accent: #b7783e;
  --accent-soft: #f3e7d8;
  --pale: #f8f5ef;
}

body.theme-sky {
  --brand: #23586b;
  --brand-deep: #102f3b;
  --accent: #c0924a;
  --accent-soft: #eaf1f0;
}

body.theme-steel {
  --brand: #415c64;
  --brand-deep: #192d36;
  --accent: #b77a45;
  --accent-soft: #edf1f1;
  --pale: #f4f7f6;
}

body.theme-snow {
  --brand: #41677a;
  --brand-deep: #18313e;
  --accent: #a97a42;
  --accent-soft: #e9f0f2;
  --pale: #f3f7f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.sample-bar {
  padding: 9px 16px;
  background: #fff8e9;
  border-bottom: 1px solid #ecd291;
  color: #734a22;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.sample-bar a { text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 1 290px;
  min-width: 218px;
}
.mark {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand);
  color: var(--white);
  font-size: 21px;
  font-weight: 900;
}
.brand-name {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 900;
  line-height: 1.3;
}
.brand-sub {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  flex: 1;
  color: #283731;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}
.tel { text-align: right; font-weight: 900; line-height: 1.35; }
.tel strong { display: block; color: var(--brand-deep); font-size: 19px; }
.tel small { color: var(--muted); font-size: 10px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 7px;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  transition: transform .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); background: var(--brand-deep); }
.button.accent { background: var(--accent); }
.button.light {
  background: var(--white);
  color: var(--brand-deep);
  border: 1px solid rgba(255,255,255,.8);
}
.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.menu-button span {
  width: 23px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--brand-deep);
}

.hero {
  position: relative;
  min-height: min(710px, calc(100vh - 118px));
  display: flex;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12,34,29,.89) 0%, rgba(12,34,29,.79) 37%, rgba(12,34,29,.32) 62%, rgba(12,34,29,.05) 100%);
}
body.theme-navy .hero::before {
  background: linear-gradient(90deg, rgba(8,30,43,.9) 0%, rgba(8,30,43,.78) 37%, rgba(8,30,43,.28) 62%, rgba(8,30,43,.05) 100%);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-picture .hero-media { position: absolute; }
.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 8vw, 100px) 0 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
}
.hero-copy {
  max-width: 610px;
  animation: hero-rise .72s ease both;
}
.hero-pill {
  display: inline-flex;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 800;
}
.hero h1 {
  max-width: 640px;
  margin: 22px 0 17px;
  font-size: clamp(40px, 5vw, 67px);
  line-height: 1.25;
  letter-spacing: 0;
}
.hero-lead {
  max-width: 555px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 920px;
  animation: hero-rise .72s .2s ease both;
}
.hero-card {
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 800;
}
.hero-card span {
  display: block;
  margin-bottom: 4px;
  color: #f2d196;
  font-size: 11px;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section { padding: clamp(64px, 7vw, 92px) 0; }
.section.soft { background: var(--pale); }
.section.deep { background: var(--brand-deep); color: var(--white); }
.section-title {
  max-width: 720px;
  margin-bottom: 38px;
}
.section-title.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-title .label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}
.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.38;
  letter-spacing: 0;
}
.section-title p { margin: 0; color: var(--muted); font-weight: 600; }
.section.deep .section-title p { color: rgba(255,255,255,.75); }

.news-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-item time {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}
.news-item strong {
  font-size: 16px;
}

.worries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.worry {
  position: relative;
  min-height: 190px;
  padding: 30px 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(35,57,48,.04);
}
.worry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  width: 54px;
  height: 3px;
  background: var(--accent);
}
.worry h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.5; }
.worry p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.image-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.service:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(26,48,41,.16); }
.service img {
  width: 100%;
  height: 194px;
  object-fit: cover;
}
.service-body { padding: 19px 18px 22px; }
.service h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.45; }
.service p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }

.visible-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.visible-card {
  min-height: 150px;
  padding: 24px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .25s ease, background .25s ease;
}
.visible-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }
.visible-card strong { display: block; margin-bottom: 9px; font-size: 18px; }
.visible-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 11px;
}
.step {
  position: relative;
  padding: 20px 18px 21px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}
.step-num {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}
.step h3 { margin: 0 0 7px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; }

.faq-area {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}
.faq-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.faq-photo img { width: 100%; min-height: 380px; object-fit: cover; }
.questions { display: grid; gap: 10px; }
.question {
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.question h3 {
  margin: 0 0 8px;
  color: var(--brand-deep);
  font-size: 16px;
}
.question p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }

.info-layout {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 26px;
}
.profile, .contact-panel {
  padding: clamp(26px, 4vw, 40px);
  border-radius: 8px;
}
.profile { border: 1px solid var(--line); background: var(--white); }
.profile dl { margin: 0; }
.profile div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.profile div:last-child { border: 0; }
.profile dt { color: var(--muted); font-size: 13px; font-weight: 800; }
.profile dd { margin: 0; font-size: 14px; font-weight: 700; }
.contact-panel { background: var(--brand); color: var(--white); }
.contact-panel h3 { margin: 0 0 13px; font-size: clamp(23px, 2.5vw, 31px); line-height: 1.45; }
.contact-panel p { margin: 0 0 26px; color: rgba(255,255,255,.84); }
.contact-note { margin-top: 19px; color: rgba(255,255,255,.7); font-size: 12px; }

.disclaimer {
  padding: 44px 20px;
  background: #fff9ee;
  border-top: 1px solid #ecd291;
  color: #664522;
  text-align: center;
  font-size: 13px;
}
.disclaimer-inner { max-width: 830px; margin: 0 auto; }
.disclaimer h2 { margin: 0 0 14px; font-size: 18px; }
.disclaimer p { margin: 8px 0; }
.disclaimer strong { font-weight: 900; }
.disclaimer .email {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 17px;
  border: 1px solid #e1c47d;
  border-radius: 6px;
  background: var(--white);
  color: #3b4650;
}
.footer {
  padding: 28px 20px;
  background: var(--brand-deep);
  color: rgba(255,255,255,.76);
  font-size: 13px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .container { width: min(100% - 32px, 960px); }
  .nav, .tel { display: none; }
  .brand { flex: 1; }
  .menu-button { display: block; }
  .head-actions .button { display: none; }
  .nav.open {
    position: absolute;
    top: 84px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav.open a:last-child { border: 0; }
  .services, .visible-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 14px 0;
  }
  .container { width: min(100% - 32px, 560px); }
  .sample-bar { padding: 8px 13px; font-size: 11px; line-height: 1.65; }
  .header-inner { min-height: 70px; gap: 8px; }
  .brand { gap: 10px; min-width: 0; }
  .mark { width: 44px; height: 44px; font-size: 17px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 10px; }
  .menu-button { width: 44px; height: 44px; }
  .nav.open { top: 70px; }
  .hero { min-height: 690px; }
  .hero::before {
    background: linear-gradient(0deg, rgba(12,34,29,.92) 0%, rgba(12,34,29,.72) 60%, rgba(12,34,29,.30) 100%);
  }
  body.theme-navy .hero::before {
    background: linear-gradient(0deg, rgba(8,30,43,.94) 0%, rgba(8,30,43,.71) 60%, rgba(8,30,43,.3) 100%);
  }
  .hero-media { object-position: 68% center; }
  .hero-inner { padding: 52px 0 24px; gap: 30px; }
  .hero h1 { margin: 17px 0 14px; font-size: clamp(33px, 10vw, 41px); }
  .hero-buttons .button { min-height: 48px; padding: 0 18px; }
  .hero-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-card { padding: 12px; font-size: 12px; }
  .section { padding: 55px 0; }
  .section-title { margin-bottom: 26px; }
  .worries, .services, .visible-grid, .flow, .faq-area, .info-layout { grid-template-columns: 1fr; }
  .worry { min-height: 0; padding: 24px 21px; }
  .service img { height: 202px; }
  .flow { gap: 9px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .step-num { grid-row: 1 / 3; margin: 0; }
  .faq-photo img { min-height: 240px; height: 250px; }
  .profile div { grid-template-columns: 92px 1fr; gap: 12px; }
}
