/* =====================================================
   RESPONSIVE BASE（responsive-base.css 準拠）
   ===================================================== */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: auto-phrase;
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
  background: #faf3e6;
  color: #2b2a25;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

:root {
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --cream: #faf3e6;
  --cream-deep: #f2e6cc;
  --green: #4c7a55;
  --green-deep: #35573c;
  --green-soft: #84b087;
  --amber: #e8974f;
  --ink: #2b2a25;
  --ink-soft: rgba(43, 42, 37, .68);
  --en: "Cormorant Garamond", serif;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 64px);
}

/* =====================================================
   ローディング画面
   ===================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .35;
}
.loader-blob-1 {
  width: clamp(180px, 30vw, 360px);
  height: clamp(180px, 30vw, 360px);
  background: var(--green-soft);
  top: -8%;
  left: -8%;
}
.loader-blob-2 {
  width: clamp(140px, 22vw, 280px);
  height: clamp(140px, 22vw, 280px);
  background: var(--amber);
  bottom: -10%;
  right: -6%;
  opacity: .28;
}
.loader-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(16px, 4vw, 40px);
}
.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 14px);
  margin-bottom: clamp(28px, 5vw, 40px);
  animation: loaderFadeUp .8s ease both;
}
.loader-mark {
  animation: loaderMarkPop 1s cubic-bezier(.2,.8,.3,1.2) both;
}
@keyframes loaderMarkPop {
  from { opacity: 0; transform: scale(.4) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
.loader-logo-text {
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.3;
  color: var(--green-deep);
  text-align: left;
}
.loader-bar-track {
  width: min(280px, 60vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(76, 122, 85, .15);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.loader-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  transition: width .15s ease-out;
}
.loader-percent {
  margin-top: clamp(12px, 2vw, 16px);
  font-family: var(--en);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: .18em;
  color: var(--ink-soft);
}
@keyframes loaderFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   ヘッダー
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: clamp(14px, 2vw, 22px) 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 24px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--green-deep);
  flex-shrink: 0;
}
.brand-mark { flex-shrink: 0; }
.brand-text { line-height: 1.2; }
.brand-text small {
  display: block;
  font-size: .6em;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

.main-nav ul {
  display: flex;
  gap: clamp(14px, 1.8vw, 26px);
}
.main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
  font-size: clamp(12px, 1.1vw, 13.5px);
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a small {
  font-family: var(--en);
  font-style: italic;
  font-size: .78em;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width .25s ease, left .25s ease;
}
.main-nav a:hover::after { width: 100%; left: 0; }

.header-pills {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 clamp(14px, 1.6vw, 20px);
  border-radius: 999px;
  font-size: clamp(11.5px, 1.1vw, 13px);
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill-amber { background: var(--amber); color: #fff; }
.pill-green { background: var(--green); color: #fff; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.12); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: var(--cream);
  border: 1px solid rgba(76,122,85,.3);
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-deep);
}

/* =====================================================
   ヒーロー
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(232,151,79,.16), transparent 55%),
    radial-gradient(circle at 12% 90%, rgba(76,122,85,.14), transparent 50%),
    linear-gradient(180deg, #fdf9f0 0%, #faf3e6 60%, #f5ecd6 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(280px, 560px) 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(96px, 12vw, 140px);
  padding-bottom: clamp(70px, 9vw, 110px);
}

.hero-eyebrow {
  font-family: var(--en);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: .1em;
  color: var(--amber);
  margin-bottom: clamp(14px, 2vw, 20px);
  opacity: 0;
  animation: fadeUp .8s ease .1s forwards;
}
.hero-title {
  font-weight: 900;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.12;
  color: var(--green-deep);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: .25s; }
.hero-title .line:nth-child(2) { animation-delay: .4s; }
.hero-title .line:nth-child(3) { animation-delay: .55s; }

.hero-lead {
  margin-top: clamp(22px, 3vw, 30px);
  font-size: clamp(14px, 1.4vw, 15.5px);
  line-height: 2;
  color: var(--ink-soft);
  max-width: 520px;
  opacity: 0;
  animation: fadeUp .8s ease .7s forwards;
}
.hero-actions {
  margin-top: clamp(28px, 3.6vw, 38px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.6vw, 16px);
  opacity: 0;
  animation: fadeUp .8s ease .85s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 clamp(22px, 2.6vw, 30px);
  border-radius: 999px;
  font-size: clamp(13px, 1.2vw, 14px);
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary {
  background: var(--green-deep);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(53,87,60,.28); }
.btn-ghost {
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--green-deep); color: #fff; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- ヒーロービジュアル --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 40vw, 480px);
  opacity: 0;
  animation: fadeIn 1s ease .3s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.ghost-word {
  position: absolute;
  font-weight: 900;
  color: var(--green-deep);
  opacity: .08;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}
.ghost-word-1 { font-size: clamp(48px, 9vw, 128px); top: 2%; left: -6%; }
.ghost-word-2 { font-size: clamp(40px, 7vw, 100px); bottom: 14%; left: -2%; }
.ghost-word-3 { font-size: clamp(36px, 6vw, 88px); bottom: -4%; right: -4%; }

.hero-illust {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  height: auto;
}

.tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: clamp(8px, 1vw, 12px) clamp(16px, 1.8vw, 22px);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 20px);
  box-shadow: 0 10px 22px rgba(53,87,60,.2);
  opacity: 0;
  animation: tagPop .7s cubic-bezier(.2,.8,.3,1.2) forwards;
}
.tag-1 { background: var(--green); top: 8%; right: 4%; animation-delay: .9s; }
.tag-2 { background: var(--amber); top: 42%; left: -2%; animation-delay: 1.05s; }
.tag-3 { background: var(--green-deep); bottom: 10%; right: 10%; animation-delay: 1.2s; }
@keyframes tagPop {
  from { opacity: 0; transform: scale(.7) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- コーナーカード --- */
.corner-card {
  position: absolute;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: clamp(160px, 16vw, 210px);
  padding: clamp(16px, 1.8vw, 22px);
  background: #fff;
  box-shadow: 0 -6px 24px rgba(53,87,60,.08);
  opacity: 0;
  animation: fadeUp .8s ease forwards;
}
.corner-card-1 { left: 0; border-radius: 0 20px 0 0; animation-delay: 1.3s; }
.corner-card-2 { left: clamp(160px, 16vw, 210px); border-radius: 0 20px 0 0; animation-delay: 1.4s; background: var(--cream-deep); }
.corner-eyebrow {
  font-family: var(--en);
  font-style: italic;
  font-size: 11.5px;
  color: var(--amber);
  letter-spacing: .06em;
}
.corner-title {
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--green-deep);
}

.hero-scroll {
  position: absolute;
  right: clamp(16px, 4vw, 64px);
  bottom: clamp(20px, 3vw, 32px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp .8s ease 1.5s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(43,42,37,.25);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -40px;
  width: 1px; height: 40px;
  background: var(--amber);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -40px; }
  100% { top: 40px; }
}

/* =====================================================
   レスポンシブ
   ===================================================== */
@media screen and (max-width: 1023px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(80vw, 320px);
    background: var(--cream);
    border-left: 1px solid rgba(76,122,85,.2);
    transform: translateX(100%);
    transition: transform .35s ease;
    display: flex;
    align-items: center;
    z-index: 600;
    padding-top: 80px;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(20px, 4vw, 28px);
    padding: 0 clamp(24px, 6vw, 40px);
    width: 100%;
  }
  .main-nav a { align-items: flex-start; font-size: 15px; }
  .nav-toggle { display: flex; position: relative; z-index: 601; }
  .header-pills { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-visual { order: -1; min-height: clamp(260px, 60vw, 380px); }
  .corner-card-2 { display: none; }
}

@media screen and (max-width: 767px) {
  .hero-actions .btn { width: 100%; }
  .corner-card { width: 100%; border-radius: 20px 20px 0 0; }
  .hero-scroll { display: none; }
  .ghost-word { opacity: .06; }
}

@media screen and (max-width: 480px) {
  .hero-inner { padding-top: 100px; }
  .hero-lead br { display: none; }
  .header-pills { display: none; }
}
