:root {
  --bg: #f7f3ee;
  --bg-alt: #fbf7f2;
  --text-main: #333030;
  --text-soft: #83786d;
  --accent: #b69a62;
  --inner-width: 1080px;
  --header-h: 72px;
  --font-main: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Hiragino Sans", "ヒラギノ角ゴ ProN W3",
    "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg);
  line-height: 1.9;
}

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

/* ===================== Header ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand img { height: 40px; display: block; }

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.global-nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding-bottom: 4px;
  position: relative;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--text-soft);
  transition: width 0.25s ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after { width: 100%; }

/* ハンバーガー */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 0;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.6px;
  background: rgba(51,48,48,.7);
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }

.site-header.menu-open .hamburger span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.site-header.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.site-header.menu-open .hamburger span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* モバイルメニュー */
.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid rgba(0,0,0,.04);
  background: rgba(247, 243, 238, 0.96);
  transition: max-height .28s ease;
}

.site-header.menu-open .mobile-nav {
  max-height: 320px;
}

.mobile-nav ul{
  list-style: none;
  margin: 0;
  padding: 8px 24px 16px;
  display: grid;
  gap: 10px;
  letter-spacing: 0.18em;
  font-size: 13px;
}

.mobile-nav a{
  text-decoration: none;
  color: var(--text-soft);
  padding: 10px 0;
  display: inline-block;
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 120px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f4ed, #f2ebe3);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.hero-layer.glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(183, 154, 99, 0.35), transparent 65%),
    radial-gradient(circle at 60% 0%, rgba(255, 255, 255, 0.75), transparent 65%);
  animation: slowGlow 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes slowGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 1%) scale(1.04); }
}

.hero-layer.wave {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(183, 154, 99, 0.12),
    rgba(255, 255, 255, 0.3),
    rgba(183, 154, 99, 0.1)
  );
  backdrop-filter: blur(2px);
  mask-image: radial-gradient(circle at 50% 70%, black 30%, transparent 75%);
  animation: waveMove 18s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waveMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}

.hero-inner { position: relative; z-index: 1; }

.hero-kicker {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-main {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.4vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.hero-sub {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--text-soft);
}

/* CTA */
.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
}

.cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(183,154,98,.55);
  background: rgba(255,255,255,.35);
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: .12em;
  font-size: 12px;
  transition: transform .15s ease, background .15s ease;
}

.cta-btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.5); }

.cta-link{
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(131,120,109,.35);
  padding-bottom: 2px;
  letter-spacing: .12em;
  font-size: 12px;
}

.hero-meta {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.hero-est {
  border-bottom: 1px solid rgba(183, 154, 99, 0.4);
  padding-bottom: 4px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-soft);
}

.scroll-indicator::before {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 0 auto 6px;
  background: rgba(131, 120, 109, 0.6);
}

/* ===================== Sections ===================== */

.section { padding: 96px 0; background-color: var(--bg); }
.section:nth-of-type(even) { background-color: #fbf7f2; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--text-soft);
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.24em;
}

.section-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

/* ===================== ABOUT ===================== */

.section-about { border-top: 1px solid rgba(0, 0, 0, 0.04); }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr);
  gap: 56px;
}

.about-main h3 {
  margin: 0 0 20px;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.about-main p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-soft);
}

.about-side dl { margin: 0; font-size: 13px; }
.about-side div + div { margin-top: 14px; }
.about-side dt { font-weight: 500; color: var(--text-soft); }
.about-side dd { margin: 4px 0 0; }

/* ===================== FLOW ===================== */

.section-flow {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: linear-gradient(180deg, #fbf7f2, #f6eee6);
}

.flow-band {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 0 10px;
}

.flow-line {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 60px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(183, 154, 98, 0.25),
    rgba(183, 154, 98, 0.05)
  );
}

.flow-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 22px 0;
}

.flow-mark { position: relative; z-index: 1; }

.flow-mark span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(183, 154, 98, 0.7);
  background: #fefaf4;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.flow-body h3 { margin: 0 0 8px; letter-spacing: 0.12em; }
.flow-body p { margin: 0; font-size: 14px; color: var(--text-soft); }

.flow-cta{
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== CONTACT FORM ===================== */

.section-contact { border-top: 1px solid rgba(0, 0, 0, 0.04); }

.contact-inner { max-width: 760px; text-align: center; }

.contact-meta a{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(183,154,99,.4);
  padding-bottom: 2px;
}
.muted{ color: rgba(131,120,109,.8); font-size: 12px; }

.contact-formwrap{
  margin: 28px auto 0;
  text-align: left;
  max-width: 760px;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 22px 0 0;
}

.contact-toggle{
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0 0 14px;
  letter-spacing: .12em;
  color: var(--text-soft);
  font-size: 13px;
  cursor: pointer;
}

.contact-formwrap.is-collapsed .contact-form{
  display: none;
}

.contact-form{
  padding: 6px 0 26px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.field{ display: grid; gap: 6px; }
.field span{ font-size: 12px; letter-spacing: .08em; color: var(--text-soft); }

.req{
  margin-left: 6px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .12em;
}

input, textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.35);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}

textarea{ grid-column: 1 / -1; resize: vertical; }

input:focus, textarea:focus{
  border-color: rgba(183,154,98,.55);
  background: rgba(255,255,255,.55);
}

.form-note{
  margin: 12px 0 18px;
  font-size: 12px;
  color: rgba(131,120,109,.85);
}

/* ===================== PRICING ===================== */

.pricing-hero{
  position: relative;
  padding: 120px 0 90px;
  background: linear-gradient(180deg,#f8f4ed,#f2ebe3);
  overflow: hidden;
}

.pricing-bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(183,154,99,.28), transparent 65%);
  opacity: .9;
}

.pricing-inner{ position: relative; z-index: 1; }

.pricing-title{
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: .18em;
  line-height: 1.4;
}

.pricing-lead{
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.price-table{
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.price-row{
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  align-items: start;
}

.price-row.head{
  border-top: none;
  padding-top: 0;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-soft);
}

.price-name{ letter-spacing: .08em; }
.price-desc{ color: var(--text-soft); font-size: 14px; }
.price-val{ text-align: right; letter-spacing: .06em; }

.price-notes{
  margin-top: 34px;
}

.note-line{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.note-line:last-child{
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.note-line .index{
  color: var(--accent);
  letter-spacing: .18em;
}

/* ===================== Footer ===================== */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: #f3ece4;
  padding: 18px 0 22px;
}

.footer-inner { text-align: center; }
.footer-copy { margin: 0; font-size: 11px; color: var(--text-soft); }

/* ===================== Scroll animation ===================== */

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition-property: opacity, transform;
  transition-duration: 0.9s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-animate].is-inview { opacity: 1; transform: translateY(0); }

[data-animate="slide-left"] { transform: translate(-40px, 0); }
[data-animate="slide-right"] { transform: translate(40px, 0); }
[data-animate="slide-left"].is-inview,
[data-animate="slide-right"].is-inview { transform: translate(0, 0); }

/* ===================== Responsive ===================== */

@media (max-width: 960px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .price-row{
    grid-template-columns: 1fr;
  }
  .price-val{
    text-align: left;
  }
}

@media (max-width: 720px) {
  .global-nav { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-nav { display: block; }

  .hero { padding-top: 96px; padding-bottom: 80px; }
  .section { padding: 72px 0; }

  .flow-row { grid-template-columns: 60px 1fr; }
  .flow-line { left: 60px; }

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


/* スパム対策：ハニーポットを画面に出さない */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
