/* ================================
 * IZANA WEB制作 共通スタイル
 * Gallery White Design System v1.0
 * ================================ */

:root {
  --cream: #FAF7F2;
  --cream-deep: #F3EDE2;
  --cream-light: #FFFBF5;
  --paper: #EFE8DB;
  --ink: #1A1A1A;
  --ink-soft: #2C2C2C;
  --ink-light: #5A5A5A;
  --ink-faint: #8F8880;
  --gold: #C8A35A;
  --gold-deep: #A38443;
  --gold-light: #E8D9B8;
  --gold-glow: #F2D98A;
  --shu: #B23A2A;
  --line: rgba(26,26,26,0.08);
  --line-gold: rgba(200,163,90,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200,163,90,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(28,39,65,0.03) 0%, transparent 50%);
  mix-blend-mode: multiply;
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* === 連絡先バー === */
.contact-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: var(--ink); color: var(--cream);
  padding: 8px 56px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; letter-spacing: 0.08em;
  opacity: 0; transform: translateY(-100%); pointer-events: none;
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.contact-bar.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.contact-bar-note { color: rgba(250,247,242,0.7); letter-spacing: 0.1em; }
.contact-bar-actions { display: flex; align-items: center; gap: 28px; }
.contact-bar-actions a { color: var(--cream); text-decoration: none; transition: color 0.3s; display: inline-flex; align-items: center; gap: 6px; }
.contact-bar-actions a:hover { color: var(--gold); }
.contact-bar-phone { font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.1em; font-weight: 500; color: var(--gold) !important; }
.contact-bar-hours { color: rgba(250,247,242,0.55); font-size: 11px; margin-left: 8px; }
@media (max-width: 768px) { .contact-bar { display: none; } }

/* === NAV === */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
  transition: padding 0.4s, top 0.5s;
}
nav.site-nav.with-bar { top: 36px; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500; letter-spacing: 0.42em;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-kamon { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px; font-weight: 400; letter-spacing: 0.18em;
  color: var(--ink-soft); text-decoration: none; position: relative; padding: 3px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 100%;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.6s cubic-bezier(0.77, 0, 0.175, 1), left 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.nav-links a:hover::after, .nav-links a.current::after { width: 100%; left: 0; }
.nav-links a.current { color: var(--gold-deep); }
.nav-cta {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; letter-spacing: 0.2em;
  padding: 11px 26px; border: 1px solid var(--ink);
  color: var(--ink); text-decoration: none; transition: all 0.4s;
}
.nav-cta:hover { background: var(--ink); color: var(--cream); }
@media (max-width: 968px) {
  nav.site-nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-cta { padding: 9px 16px; font-size: 11px; }
}

/* === モバイル固定CTA === */
.mobile-fixed-cta { display: none; }
@media (max-width: 768px) {
  .mobile-fixed-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 98;
    background: var(--cream-light);
    border-top: 1px solid var(--line-gold);
    box-shadow: 0 -4px 20px rgba(26,26,26,0.08);
    padding: 10px 16px; gap: 8px;
  }
  .mobile-fixed-cta a {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 14px 8px; border-radius: 2px; text-decoration: none;
    font-family: 'Noto Serif JP', serif;
    font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
    transition: background 0.3s;
  }
  .mobile-fixed-cta .mcta-phone { background: var(--ink); color: var(--cream); }
  .mobile-fixed-cta .mcta-line { background: #06C755; color: #fff; }
  .mobile-fixed-cta .mcta-mail { background: var(--gold-deep); color: var(--cream); }
}

/* === LINE フローティング === */
.line-floating {
  position: fixed; right: 28px; bottom: 28px; z-index: 97;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.line-floating.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.line-floating-bubble {
  background: var(--cream); color: var(--ink);
  padding: 10px 18px; border-radius: 26px;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(26,26,26,0.12);
  border: 1px solid var(--line-gold); white-space: nowrap; position: relative;
}
.line-floating-bubble::after {
  content: ''; position: absolute; top: 50%; right: -6px;
  transform: translateY(-50%); width: 0; height: 0;
  border-left: 6px solid var(--cream);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.line-floating-btn {
  width: 62px; height: 62px; border-radius: 50%;
  background: #06C755;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(6,199,85,0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.line-floating-btn:hover { transform: scale(1.08) rotate(-5deg); }
.line-floating-btn::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(6,199,85,0.4);
  opacity: 0; animation: lineRipple 2.5s ease-out infinite;
}
@keyframes lineRipple {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}
.line-floating-btn svg { width: 34px; height: 34px; fill: #fff; }
@media (max-width: 768px) { .line-floating { display: none; } }

/* === パンくずリスト === */
.breadcrumb {
  max-width: 1280px; margin: 0 auto; padding: 20px 56px 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--ink-light); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { margin: 0 10px; color: var(--ink-faint); }
@media (max-width: 768px) { .breadcrumb { padding: 16px 24px 0; font-size: 11px; } }

/* === ページヘッダー === */
.page-header {
  padding: 160px 80px 80px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.page-header-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; letter-spacing: 0.5em;
  color: var(--gold-deep); text-transform: uppercase;
  margin-bottom: 28px;
}
.page-header-label::before, .page-header-label::after {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--gold);
  vertical-align: middle; margin: 0 20px 4px;
}
.page-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 300; line-height: 1.55;
  color: var(--ink); letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.page-header h1 em {
  font-style: normal; color: var(--gold-deep); font-weight: 500;
}
.page-header p {
  font-size: 15px; line-height: 2.1;
  color: var(--ink-light); letter-spacing: 0.04em;
  max-width: 720px; margin: 0 auto;
}
@media (max-width: 768px) {
  .page-header { padding: 120px 24px 60px; }
  .page-header-label::before, .page-header-label::after { width: 16px; margin: 0 10px 4px; }
}

/* === SECTION共通 === */
.section {
  padding: 100px 80px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; letter-spacing: 0.5em;
  color: var(--gold-deep); text-transform: uppercase;
  margin-bottom: 16px; padding-left: 40px; position: relative;
}
.section-label::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 28px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 300; line-height: 1.6;
  color: var(--ink); letter-spacing: 0.04em;
  margin-bottom: 48px; max-width: 880px;
}
.section-title em { font-style: normal; color: var(--gold-deep); font-weight: 500; }
@media (max-width: 768px) {
  .section { padding: 70px 24px; }
  .section-title { margin-bottom: 36px; }
}

/* === ボタン === */
.btn-primary, .btn-ghost {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px; letter-spacing: 0.2em;
  padding: 18px 40px; text-decoration: none;
  transition: all 0.4s; display: inline-block; font-weight: 500;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--ink); color: var(--cream); border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* === 共通最終CTA === */
.final-cta {
  background: var(--ink); color: var(--cream);
  padding: 100px 80px; text-align: center;
  position: relative; overflow: hidden;
  z-index: 3;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(200,163,90,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.final-cta-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; letter-spacing: 0.5em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 20px;
}
.final-cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 3vw, 32px); font-weight: 400;
  line-height: 1.7; color: var(--cream);
  letter-spacing: 0.05em; margin-bottom: 28px;
}
.final-cta h2 em { font-style: normal; color: var(--gold); font-weight: 500; }
.final-cta p {
  font-size: 14px; line-height: 2;
  color: rgba(250,247,242,0.8); margin-bottom: 36px; letter-spacing: 0.04em;
}
.cta-phone {
  display: inline-block;
  padding: 20px 36px;
  border: 1px solid var(--gold);
  margin-bottom: 24px;
}
.cta-phone-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.6vw, 36px);
  color: var(--cream); text-decoration: none;
  letter-spacing: 0.08em; font-weight: 500;
}
.cta-phone-hours {
  font-size: 11px; color: rgba(250,247,242,0.65);
  letter-spacing: 0.1em; margin-top: 6px;
}
.cta-alt {
  font-size: 13px; color: rgba(250,247,242,0.65);
  letter-spacing: 0.05em; margin-top: 24px;
}
.cta-alt a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 1px; margin: 0 6px;
}
@media (max-width: 768px) { .final-cta { padding: 70px 24px; } }

/* === FOOTER === */
footer.site-footer {
  background: var(--ink); color: var(--cream);
  padding: 80px 80px 40px;
  position: relative; z-index: 3; overflow: hidden;
}
.footer-kamon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px; opacity: 0.05;
  pointer-events: none;
}
.footer-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; letter-spacing: 0.3em;
  color: var(--cream); margin-bottom: 16px; font-weight: 500;
  display: flex; align-items: center; gap: 14px;
}
.footer-brand svg { width: 26px; height: 26px; }
.footer-tag {
  font-size: 13px; line-height: 2;
  color: rgba(250,247,242,0.65); letter-spacing: 0.08em;
}
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact h4,
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 8px;
}
.footer-col h4 { margin-bottom: 20px; }
.footer-contact-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; letter-spacing: 0.06em;
  color: var(--cream); text-decoration: none; font-weight: 500;
  line-height: 1.2; display: inline-flex; align-items: baseline; gap: 8px;
  transition: color 0.3s;
}
.footer-contact-phone:hover { color: var(--gold); }
.footer-contact-phone .label-inline {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px; letter-spacing: 0.15em; color: var(--gold); font-weight: 400;
}
.footer-contact-hours {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; letter-spacing: 0.08em;
  color: rgba(250,247,242,0.6); line-height: 1.8;
}
.footer-contact-methods { display: flex; gap: 10px; margin-top: 4px; }
.footer-contact-methods a {
  flex: 1; text-align: center; padding: 10px 8px;
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(200,163,90,0.4);
  color: var(--cream); transition: all 0.3s;
}
.footer-contact-methods a:hover {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.footer-contact-address {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px; line-height: 1.8;
  color: rgba(250,247,242,0.55);
  letter-spacing: 0.05em;
  padding-top: 10px;
  border-top: 1px dashed rgba(250,247,242,0.15);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px; color: rgba(250,247,242,0.75);
  text-decoration: none; letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px; display: flex; justify-content: space-between;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; color: rgba(250,247,242,0.4); letter-spacing: 0.15em;
}
.footer-legal-links { display: flex; gap: 18px; }
.footer-legal-links a { color: rgba(250,247,242,0.55); text-decoration: none; transition: color 0.3s; }
.footer-legal-links a:hover { color: var(--gold); }
@media (max-width: 968px) {
  .footer-main { grid-template-columns: 1.5fr 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: span 2; }
}
@media (max-width: 768px) {
  footer.site-footer { padding: 60px 24px 100px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-contact { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-kamon { width: 280px; height: 280px; }
  .footer-contact-phone { font-size: 22px; }
}

/* === REVEAL === */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }
.stagger-5 { transition-delay: 0.45s; }
.stagger-6 { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
