:root {
  --green: #1F4D3A;
  --green-dark: #123B2B;
  --green-soft: #EAF1ED;
  --beige: #F5F3E7;
  --beige-2: #FBFAF3;
  --gold: #C6A85C;
  --yellow: #D6E300;
  --navy: #243A5E;
  --text: #1D2A27;
  --muted: #61706B;
  --white: #FFFFFF;
  --line: rgba(31, 77, 58, 0.14);
  --shadow: 0 18px 45px rgba(31, 77, 58, 0.09);
  --shadow-soft: 0 10px 30px rgba(31, 77, 58, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #FFFDF6 0%, var(--beige-2) 38%, #FFFFFF 100%);
  font-family: "Inter", "Zen Kaku Gothic New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 77, 58, 0.08);
}

.header-inner {
  width: min(100%, 1280px);
  height: 78px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.brand .brand-main {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
}

.brand .brand-sub {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 14px;
  font-weight: 700;
  color: #141D1A;
}

.nav a {
  position: relative;
  padding: 28px 0 24px;
}

.nav a.active,
.nav a.is-active {
  color: var(--green);
}

.nav a.active::after,
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 76px;
  height: 4px;
  border-radius: 99px;
  background: var(--yellow);
  transform: translateX(-50%);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  align-items: center;
  justify-content: center;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  width: 18px;
  height: 2px;
  display: block;
  background: var(--green);
  border-radius: 999px;
}

.menu-button::before { transform: translateY(-6px); }
.menu-button::after { transform: translateY(6px); }
.menu-button span { position: absolute; }

.hero {
  width: 100%;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  overflow: hidden;
  background: var(--beige-2);
  border-bottom: 1px solid rgba(31, 77, 58, 0.08);
}

.hero-photo {
  position: relative;
  min-height: clamp(340px, 48vw, 610px);
  overflow: hidden;
  border-bottom-right-radius: 56px;
  background: linear-gradient(135deg, rgba(31, 77, 58, 0.08), rgba(198, 168, 92, 0.12)), url("assets/contact-hero.png") center/cover no-repeat;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 68%, rgba(245,243,231,0.72) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  min-height: auto;
  padding: clamp(44px, 7vw, 86px) clamp(22px, 6vw, 86px);
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.page-title {
  margin: 28px 0 14px;
  font-size: 25px;
  font-weight: 800;
  color: var(--text);
}

.hero h1 {
  margin: 0;
  color: var(--green);
  font-family: "Zen Kaku Gothic New", "Inter", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 28px 0 42px;
  color: #273B35;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.contact-email {
  margin-top: 8px;
  padding: 28px 32px;
  max-width: 520px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 77, 58, 0.14);
  box-shadow: var(--shadow-soft);
}

.contact-email-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.contact-email-address {
  display: inline-block;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-email-address:hover {
  color: var(--green-dark);
}

.contact-email-note {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--muted);
}

.contact-share {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 77, 58, 0.12);
}

.contact-share-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-btn {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(31, 77, 58, 0.14);
  background: #fff;
  color: var(--text);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.share-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.share-btn-fb {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.28);
}

.share-btn-fb:hover {
  background: rgba(24, 119, 242, 0.08);
}

.share-btn-li {
  color: #0A66C2;
  border-color: rgba(10, 102, 194, 0.28);
}

.share-btn-li:hover {
  background: rgba(10, 102, 194, 0.08);
}

.btn {
  min-height: 64px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(31, 77, 58, 0.20);
}

.btn-outline {
  color: var(--green);
  background: rgba(255,255,255,0.72);
  border-color: rgba(31, 77, 58, 0.48);
}

.btn-yellow {
  color: var(--green-dark);
  background: var(--yellow);
  box-shadow: 0 14px 30px rgba(214, 227, 0, 0.20);
}

.btn-ghost-dark {
  color: #fff;
  background: rgba(255,255,255,0.05);
  border-color: rgba(214, 227, 0, 0.8);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.decor-dots {
  position: absolute;
  top: 82px;
  right: 48px;
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 18px;
  opacity: 0.95;
}

.decor-dots i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
}

.decor-dots i:nth-child(3n) { background: var(--green); }
.decor-dots i:nth-child(2n) { opacity: .55; }

.hero-curve {
  position: absolute;
  right: -60px;
  bottom: 86px;
  width: min(760px, 85vw);
  height: 240px;
  border-top: 2px solid rgba(198,168,92,0.52);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.section {
  padding: clamp(56px, 7vw, 88px) 32px 0;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-title {
  margin: 0 0 42px;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.3;
  font-weight: 900;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--gold);
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  min-height: 216px;
  padding: 36px 34px;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(31,77,58,0.10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::after {
  content: "›";
  position: absolute;
  right: 26px;
  bottom: 26px;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.icon-circle {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
}

.card:nth-child(2) .icon-circle {
  background: rgba(198,168,92,0.16);
}

.card:nth-child(3) .icon-circle {
  background: rgba(36,58,94,0.08);
}

.icon-circle svg {
  width: 52px;
  height: 52px;
}

.card h3,
.assurance-card h3,
.flow-step h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 900;
}

.card p,
.assurance-card p,
.flow-step p {
  margin: 0;
  color: #34443F;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.flow-panel {
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(31,77,58,0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  align-items: center;
}

.number {
  position: absolute;
  top: -10px;
  left: -4px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(31,77,58,0.22);
}

.flow-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FAF8EF;
  border: 1px solid rgba(31,77,58,0.08);
}

.flow-icon svg {
  width: 68px;
  height: 68px;
}

.flow-arrow {
  width: 58px;
  height: 1px;
  border-top: 2px dotted rgba(31,77,58,0.45);
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(31,77,58,0.45);
  border-top: 2px solid rgba(31,77,58,0.45);
  transform: rotate(45deg);
}

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

.assurance-card {
  min-height: 210px;
  padding: 32px 32px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(31,77,58,0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(31,77,58,0.05);
}

.assurance-card .icon-circle {
  background: #FAF8EF;
  border: 1px solid rgba(198,168,92,0.26);
}

.final-cta {
  padding-bottom: 28px;
}

.cta-panel {
  position: relative;
  min-height: 300px;
  padding: clamp(42px, 6vw, 62px) clamp(30px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.15), transparent 36%),
    linear-gradient(135deg, #145238 0%, #0B3F2F 56%, #0A3428 100%);
  box-shadow: 0 26px 55px rgba(31,77,58,0.22);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: 42px;
  top: 40px;
  width: 420px;
  height: 132px;
  opacity: 0.24;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 88px/100% 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 28px 52px/64px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 128px 28px/88px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 254px 64px/126px 2px no-repeat;
  border-bottom: 2px solid rgba(198,168,92,0.65);
  border-radius: 16px;
}

.cta-copy {
  position: relative;
  z-index: 2;
}

.cta-copy h2 {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.45;
  font-weight: 900;
}

.cta-copy h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 18px;
  background: var(--yellow);
  border-radius: 999px;
}

.cta-copy p {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  border-top: 1px solid rgba(31,77,58,0.10);
  background: rgba(255,255,255,0.78);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 32px 32px 18px;
  display: grid;
  grid-template-columns: 260px 1px 1fr auto;
  gap: 42px;
  align-items: center;
}

.footer-inner > .brand .brand-main {
  font-size: 24px;
}

.footer-inner > .brand .brand-sub {
  margin-top: 8px;
}

.footer-line {
  width: 1px;
  height: 76px;
  background: rgba(31,77,58,0.16);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  font-size: 13px;
  font-weight: 700;
}

.sns {
  display: flex;
  gap: 14px;
}

.sns a,
.share-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31,77,58,0.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.sns a svg,
.share-icon svg {
  width: 18px;
  height: 18px;
}

.sns a:hover,
.share-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31,77,58,0.22);
}

.share-icon-fb {
  background: #1877F2;
}

.share-icon-li {
  background: #0A66C2;
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(31,77,58,0.08);
  text-align: center;
  color: #64736E;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 22px;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 420px;
    border-bottom-right-radius: 42px;
  }

  .hero-content {
    min-height: auto;
  }

  .consult-grid,
  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .assurance-card {
    min-height: auto;
  }

  .flow-panel {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: 104px 1fr;
  }

  .flow-arrow {
    width: 1px;
    height: 42px;
    margin-left: 55px;
    border-top: 0;
    border-left: 2px dotted rgba(31,77,58,0.45);
  }

  .flow-arrow::after {
    right: auto;
    left: -6px;
    top: auto;
    bottom: -1px;
    transform: rotate(135deg);
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 68px;
  }

  .hero-photo {
    min-height: 300px;
    border-bottom-right-radius: 30px;
  }

  .hero-content {
    padding: 44px 22px 54px;
  }

  .page-title {
    font-size: 21px;
  }

  .button-row,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .decor-dots,
  .hero-curve {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 54px 20px 0;
  }

  .card,
  .assurance-card {
    grid-template-columns: 78px 1fr;
    gap: 18px;
    padding: 26px 22px;
  }

  .icon-circle {
    width: 72px;
    height: 72px;
  }

  .icon-circle svg {
    width: 42px;
    height: 42px;
  }

  .flow-panel {
    padding: 28px 20px;
  }

  .flow-step {
    grid-template-columns: 82px 1fr;
    gap: 18px;
  }

  .flow-icon {
    width: 78px;
    height: 78px;
  }

  .flow-icon svg {
    width: 48px;
    height: 48px;
  }

  .number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .flow-arrow {
    margin-left: 39px;
  }

  .card h3,
  .assurance-card h3,
  .flow-step h3 {
    font-size: 21px;
  }

  .card p,
  .assurance-card p,
  .flow-step p {
    font-size: 13px;
  }

  .cta-panel {
    border-radius: 22px;
  }
}