/* ===================================================
   イマキャリ 共通スタイルシート
   合同会社BLUSH
=================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --color-rose:       #7B5235;
  --color-rose-light: #C9A882;
  --color-rose-pale:  #F5EDE0;
  --color-gold:       #B08F62;
  --color-gold-light: #E8D5B5;
  --color-white:      #FFFFFF;
  --color-off-white:  #EDE4D8;
  --color-dark:       #2A2A2A;
  --color-gray:       #6A6A6A;
  --color-gray-light: #E8E3DC;
  --color-line:       #06C755;

  --font-serif-en:   'Cormorant Garamond', serif;
  --font-serif-jp:   'Noto Serif JP', serif;
  --font-sans:       'Noto Sans JP', sans-serif;

  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 8px 32px rgba(123, 82, 53, 0.12);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius-card: 16px;
  --radius-btn:  50px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background-color: var(--color-off-white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p, li, td, th, span, div {
  word-break: auto-phrase;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  word-break: auto-phrase;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
.en-heading {
  font-family: var(--font-serif-en);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.jp-heading {
  font-family: var(--font-serif-jp);
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-label {
  font-family: var(--font-serif-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-rose);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  line-height: 1.4;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-rose) 0%, #5C3A20 100%);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(123, 82, 53, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(123, 82, 53, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-rose);
  border: 1.5px solid var(--color-rose);
}

.btn-outline:hover {
  background: var(--color-rose-pale);
  transform: translateY(-2px);
}

.btn-line {
  background: linear-gradient(135deg, #06C755 0%, #04A840 100%);
  color: var(--color-white);
  font-size: 1rem;
  padding: 16px 44px;
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.35);
}

.btn-line:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(6, 199, 85, 0.45);
}

.btn-line svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-logo {
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-serif-jp);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.1em;
}

.logo-sub {
  font-family: var(--font-serif-en);
  font-size: 0.6rem;
  color: var(--color-rose);
  letter-spacing: 0.2em;
  display: block;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 4px;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-rose);
  transition: var(--transition-smooth);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-cta-btn {
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, var(--color-rose) 0%, #5C3A20 100%);
  color: var(--color-white) !important;
  font-size: 0.8rem !important;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(123, 82, 53, 0.35);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(123, 82, 53, 0.45);
}

.header-cta-btn::after {
  display: none !important;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-dark);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* モバイルナビ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-family: var(--font-serif-jp);
  font-size: 1.3rem;
  color: var(--color-dark);
  letter-spacing: 0.1em;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: 1.2rem;
}

.footer-brand .logo-sub {
  color: var(--color-rose-light);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 2;
}

.footer-nav-title {
  font-family: var(--font-serif-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-rose-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.footer-nav-list a:hover {
  color: var(--color-rose-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-policy {
  display: flex;
  gap: 24px;
}

.footer-policy a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-policy a:hover {
  color: var(--color-rose-light);
}

/* ---------- Floating LINE Button ---------- */
.float-line-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--color-rose) 0%, #5C3A20 100%);
  color: var(--color-white);
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 24px rgba(123, 82, 53, 0.45);
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
}

.float-line-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-line-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(123, 82, 53, 0.55);
}

.float-line-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Section: CTA Bottom ---------- */
.cta-section {
  background: linear-gradient(135deg, #F5EDE0 0%, #EDE3D0 50%, #E3D5BC 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(123, 82, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title {
  margin-bottom: 20px;
}

.cta-section .section-desc {
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Page Hero ---------- */
.page-hero {
  padding: 130px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-rose-pale) 0%, var(--color-off-white) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(123, 82, 53, 0.07) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(176, 143, 98, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-label {
  font-family: var(--font-serif-en);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-rose);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 20px;
}

.page-hero-desc {
  font-size: 0.95rem;
  color: var(--color-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 2;
}

/* ---------- Divider ---------- */
.divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-rose), transparent);
  margin: 0 auto;
}

.divider-block {
  text-align: center;
  margin: 20px 0 32px;
}

/* ---------- Scroll Animate（花びら咲くように） ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

[data-animate-delay="1"] { transition-delay: 0.08s; }
[data-animate-delay="2"] { transition-delay: 0.18s; }
[data-animate-delay="3"] { transition-delay: 0.28s; }
[data-animate-delay="4"] { transition-delay: 0.38s; }
[data-animate-delay="5"] { transition-delay: 0.48s; }
[data-animate-delay="6"] { transition-delay: 0.58s; }

/* ---------- 花びらパーティクル ---------- */
.petal {
  position: fixed;
  top: -40px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  animation: petalFall linear infinite;
  will-change: transform, opacity;
}

.petal svg {
  display: block;
}

@keyframes petalFall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg) translateX(0);
  }
  5% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(105vh) rotate(360deg) translateX(var(--sway, 40px));
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-rose   { color: var(--color-rose); }
.text-gold   { color: var(--color-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .site-header {
    padding: 0 24px;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-policy {
    justify-content: center;
  }

  .float-line-btn {
    bottom: 20px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.82rem;
  }

  .cta-section {
    padding: 70px 0;
  }

  .page-hero {
    padding: 110px 0 60px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .section-header {
    margin-bottom: 44px;
  }
}
