:root {
  --primary: #d60000;
  --text: #111111;
  --subtext: #555555;
  --border: #e3e5e8;
  --bg: #ffffff;
  --card-shadow: 0 10px 30px -22px rgba(17, 17, 17, 0.35);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Plus Jakarta Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-wrap: pretty;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--primary);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  min-width: 0;
}

.logo-image {
  height: clamp(36px, 5vw, 48px);
  max-width: min(230px, 42vw);
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--subtext);
  font-size: 0.92rem;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px -16px rgba(214, 0, 0, 0.7);
}

.cta-header {
  white-space: nowrap;
  border-radius: 999px;
  padding-inline: 1.35rem;
}

.hotline-bar {
  border-top: 1px solid var(--border);
}

.hotline-wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  font-size: 0.84rem;
  color: var(--subtext);
}

.hotline-wrap a {
  color: var(--primary);
  font-weight: 600;
  margin-left: 0.35rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 0 76px;
  min-height: 380px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9f9 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.2) 10%, rgba(255, 255, 255, 0.55) 54%, rgba(255, 255, 255, 0.28) 100%),
    url("./assets/hero-fuji-temple.png") center center / cover no-repeat,
    linear-gradient(140deg, #ffdcdc 0%, #fff4f4 55%, #ffe9e9 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 10% 14%, rgba(214, 0, 0, 0.12) 1.5px, transparent 2px),
    radial-gradient(circle at 78% 24%, rgba(214, 0, 0, 0.1) 1.5px, transparent 2px),
    radial-gradient(circle at 88% 74%, rgba(214, 0, 0, 0.08) 1.2px, transparent 2px);
  background-size: 220px 220px, 240px 210px, 260px 230px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 20px 50px -35px rgba(17, 17, 17, 0.55);
}

.kicker {
  font-size: 0.9rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #b10000;
}

.hero-sub {
  margin: 1.2rem 0 1.8rem;
  color: var(--subtext);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.section {
  padding: clamp(2.6rem, 9vw, 5.5rem) 0;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
}

.grid {
  display: grid;
  gap: 1rem;
}

.strengths {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.service-card,
.consult-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.card {
  padding: 1.5rem;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff4f4;
  color: var(--primary);
  border: 1px solid #ffd4d4;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.card h3,
.service-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.card p,
.service-card p,
.service-card li,
.form-copy p {
  margin: 0.65rem 0 0;
  color: var(--subtext);
}

.section-muted {
  background: linear-gradient(to bottom, #ffffff, #fdfcfc);
  border-block: 1px solid var(--border);
}

.services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  padding: 1.35rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin: 0.8rem 0 0;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}

.form-copy {
  padding-right: 0.25rem;
}

.consult-form {
  padding: 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.consult-form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.consult-form label span {
  color: var(--primary);
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  font: inherit;
  padding: 0.7rem 0.8rem;
  color: var(--text);
  background: #fff;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: 2px solid rgba(214, 0, 0, 0.3);
  border-color: var(--primary);
}

.form-status {
  min-height: 1.5rem;
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: #0b6b2b;
}

.form-status.is-error {
  color: #a01111;
}

.site-footer {
  padding: 2.2rem 0;
  border-top: 1px solid var(--border);
  background: #fdfdfd;
}

.footer-inner p {
  margin: 0.2rem 0;
  color: var(--subtext);
}

.footer-inner strong {
  color: var(--text);
}

.footer-inner a {
  color: var(--primary);
  font-weight: 600;
}

.sns-slot {
  color: #8a8f96;
}

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header-height) + 8px);
    left: 1rem;
    right: 1rem;
    padding: 0.8rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .cta-header {
    display: none;
  }

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

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

  .form-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
    min-height: 320px;
  }

  .logo-image {
    height: 42px;
  }

  .hero-content {
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hotline-wrap {
    font-size: 0.8rem;
  }

  .card,
  .service-card,
  .consult-form {
    border-radius: 12px;
  }
}
