/* ==========================================================================
   STYLE.CSS — Shono Miho Flutist
   Structure:
     1. Variables & Tokens
     2. Reset & Base
     3. Layout Utilities
     4. Navigation
     5. Hero
     6. Buttons
     7. Profile
     8. Media
     9. Services
    10. Contact & Form
    11. Footer
    12. Global UI (Loader · Cursor · Progress Bar · Cookie Banner)
    13. Scroll Animations
    14. Responsive
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES & TOKENS
   ========================================================================== */

/*
 * ★ REPLACE — ブランドカラー
 *   --tiffany       : メインアクセントカラー（HEX）
 *   --tiffany-light : 同色の薄い版（hover shadow等に使用）— rgba で透明度0.1推奨
 *   この2行を変えるだけでサイト全体の色が変わります。
 */
:root {
  --tiffany:       #0ABAB5;
  --tiffany-light: rgba(10, 186, 181, 0.1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.container-narrow {
  max-width: 760px;
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tiffany);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 24px;
}

/* Line animates in via JS (.line-drawn class) */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--tiffany);
  transition: width 0.8s var(--ease-out-expo) 0.4s;
}

.section-title.line-drawn::after {
  width: 40px;
}

.section-lead {
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
  margin-bottom: 48px;
}


/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ebebeb;
  transition: box-shadow 0.3s;
}

#header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

.logo span {
  font-size: 0.7rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #888;
  margin-left: 8px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 36px;
}

nav ul li a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #333;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--tiffany);
  transition: width 0.25s ease;
}

nav ul li a:hover { color: var(--tiffany); }
nav ul li a:hover::after { width: 100%; }

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: #1a1a1a;
  transition: transform 0.3s, opacity 0.3s;
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  z-index: 101;
  padding: 16px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu ul { display: flex; flex-direction: column; }

.mobile-menu ul li a {
  display: block;
  padding: 14px 40px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #f0f0f0;
}


/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: -15%;
  z-index: 0;
  will-change: transform;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* ビューポートのアスペクト比に関わらずカバー */
  width: max(100vw, calc(100vh * 16 / 9));
  height: max(100vh, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 100px;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-sub {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 12px;
  opacity: 0.8;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 36px;
  opacity: 0.85;
}

/* Hero text entrance animation */
.hero-line {
  overflow: hidden;
  display: block;
}

.hero-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: heroSlideUp 1s var(--ease-out-expo) forwards;
}

.hero-sub .hero-line-inner     { animation-delay: 0.9s; }
.hero-name .hero-line-inner    { animation-delay: 1.1s; }
.hero-tagline .hero-line-inner { animation-delay: 1.3s; }

.hero-content .btn-primary {
  opacity: 0;
  animation: heroFadeIn 0.8s ease 1.6s forwards;
}

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

@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* Scroll indicator line */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 60px;
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.5);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLine 1.6s ease infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

/* Base — white variant (used on hero, dark backgrounds) */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s ease;
}

.btn-primary:hover {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

/* Magnetic return easing — applied via JS on mouseleave */
.btn-primary.is-returning {
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.6s var(--ease-out-expo);
}

/* Tiffany variant — used in service and contact sections */
section.section-services .btn-primary,
section.section-contact  .btn-primary {
  border-color: var(--tiffany);
  color: var(--tiffany);
}

section.section-services .btn-primary:hover,
section.section-contact  .btn-primary:hover {
  background: var(--tiffany);
  color: #fff;
  border-color: var(--tiffany);
}


/* ==========================================================================
   7. PROFILE
   ========================================================================== */
.section-about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
  aspect-ratio: 3 / 4;
}


.about-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.about-name-ja {
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.about-body p {
  font-size: 0.92rem;
  line-height: 2;
  color: #444;
  margin-bottom: 20px;
}

/* Q&A */
.qa-list {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ebebeb;
}

.qa-list h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tiffany);
  margin-bottom: 24px;
  font-weight: 400;
}

.qa-item {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.qa-q {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.qa-a {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.9;
  padding-left: 12px;
  border-left: 2px solid var(--tiffany);
}

/* Image reveal */
.reveal-wrap {
  position: relative;
  overflow: hidden;
}

.reveal-overlay {
  position: absolute;
  inset: 0;
  background: var(--tiffany);
  z-index: 2;
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out-expo);
}

.reveal-wrap.revealed .reveal-overlay {
  transform: scaleX(0);
  transform-origin: right center;
}


/* ==========================================================================
   8. MEDIA
   ========================================================================== */
.section-media { background: #fafafa; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.media-card {
  transition: transform 0.4s var(--ease-out-expo);
}

.media-card:hover {
  transform: translateY(-6px);
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8e8e8;
  margin-bottom: 12px;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.85rem;
  text-align: center;
  gap: 8px;
  border: 1px dashed #ddd;
}

.video-placeholder small { font-size: 0.72rem; color: #ccc; }

.media-caption {
  font-size: 0.82rem;
  color: #777;
  letter-spacing: 0.05em;
}


/* ==========================================================================
   9. SERVICES
   ========================================================================== */
.section-services { background: #fff; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.service-card {
  padding: 36px 28px;
  border: 1px solid #ebebeb;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
  border-color: var(--tiffany);
  box-shadow: 0 12px 40px var(--tiffany-light);
  transform: translateY(-8px);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--tiffany);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.service-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.9;
}

/* Flow of request */
.services-note {
  background: #fafafa;
  padding: 56px;
  border: 1px solid #ebebeb;
}

.services-note h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 40px;
  font-weight: 400;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--tiffany);
  opacity: 0.4;
  line-height: 1;
}

.step-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.step-text p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.8;
}

.flow-arrow {
  color: #ccc;
  font-size: 1.2rem;
  padding-top: 12px;
  align-self: flex-start;
  margin-top: 28px;
}


/* ==========================================================================
   10. CONTACT & FORM
   ========================================================================== */
.section-contact { background: #fafafa; }

.contact-form {
  margin-top: 40px;
}

.form-row {
  margin-bottom: 32px;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 8px;
  font-weight: 400;
}

.required {
  display: inline-block;
  font-size: 0.65rem;
  background: var(--tiffany);
  color: #fff;
  padding: 1px 6px;
  margin-left: 8px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.form-row input:not([type="checkbox"]),
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--tiffany);
  box-shadow: 0 0 0 3px var(--tiffany-light);
}

.form-row textarea { resize: vertical; }

.form-row input.is-error,
.form-row select.is-error,
.form-row textarea.is-error {
  border-color: #e05555;
  box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.1);
}

.field-error {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #e05555;
  letter-spacing: 0.03em;
}

/* Floating labels */
.form-float {
  position: relative;
}

.form-float input,
.form-float textarea {
  padding-top: 24px;
  padding-bottom: 8px;
}

.form-float > label {
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 0.88rem;
  color: #aaa;
  letter-spacing: 0.05em;
  font-weight: 300;
  pointer-events: none;
  margin-bottom: 0;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, letter-spacing 0.2s ease;
}

.form-float input:focus + label,
.form-float input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.63rem;
  color: var(--tiffany);
  letter-spacing: 0.1em;
}

.form-float-textarea > label {
  top: 16px;
}

.form-float-textarea textarea:focus + label,
.form-float-textarea textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.63rem;
  color: var(--tiffany);
  letter-spacing: 0.1em;
}

.form-float input.is-error + label,
.form-float textarea.is-error + label {
  color: #e05555;
}

/* Consent checkbox */
.form-row-consent {
  margin-bottom: 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}

.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  accent-color: var(--tiffany);
  cursor: pointer;
}

.consent-label a {
  color: var(--tiffany);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-label a:hover {
  opacity: 0.75;
}

/* Honeypot — hidden from real users */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

.form-submit { text-align: center; margin-top: 40px; }

.form-success {
  display: none;
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  background: #f0f0f0;
  font-size: 0.88rem;
  color: #555;
  letter-spacing: 0.05em;
}


/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 56px 0;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.footer-name span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-left: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-privacy {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-privacy:hover {
  color: rgba(255,255,255,0.7);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}


/* ==========================================================================
   12. GLOBAL UI
   ========================================================================== */

/* --- Loader --- */
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease 0.2s, visibility 0.7s ease 0.2s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #1a1a1a;
  margin-bottom: 20px;
  opacity: 0;
  animation: loaderNameIn 0.6s ease 0.2s forwards;
}

@keyframes loaderNameIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loader-line {
  width: 120px;
  height: 1px;
  background: #ebebeb;
  margin: 0 auto;
  overflow: hidden;
}

.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--tiffany);
  transform: translateX(-100%);
  animation: loaderSlide 0.9s var(--ease-out-expo) 0.5s forwards;
}

@keyframes loaderSlide {
  to { transform: translateX(100%); }
}

/* --- Custom Cursor --- */
#cursor,
#cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

#cursor {
  width: 6px;
  height: 6px;
  background: var(--tiffany);
  transition: transform 0.1s ease, width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

#cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid var(--tiffany);
  opacity: 0.4;
  transition: left 0.12s ease, top 0.12s ease, width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

#cursor.hover,
#cursor-follower.hover {
  width: 56px;
  height: 56px;
  opacity: 0.15;
}

#cursor.hover { background: var(--tiffany); }

/* --- Scroll Progress Bar --- */
#scrollProgress {
  position: fixed;
  top: 72px;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--tiffany);
  z-index: 101;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  color: rgba(255,255,255,0.85);
  z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  border-top: 2px solid var(--tiffany);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cookie-text {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

.cookie-text a {
  color: var(--tiffany);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-text a:hover {
  opacity: 0.8;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--tiffany);
  color: #fff;
  border-color: var(--tiffany);
}

.cookie-btn-accept:hover {
  background: transparent;
  color: var(--tiffany);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.2);
}

.cookie-btn-decline:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.5);
}


/* ==========================================================================
   13. SCROLL ANIMATIONS
   ========================================================================== */

/* Fade in (used with .section-label, .about-text, etc.) */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger — children enter one by one */
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */

/* Touch devices: hide custom cursor */
@media (hover: none) {
  #cursor, #cursor-follower { display: none; }
}

/* Tablet (768–1024px) */
@media (max-width: 1024px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .media-grid    { grid-template-columns: repeat(2, 1fr); }

  .flow-steps { flex-wrap: wrap; gap: 28px; }
  .flow-step  { flex: 1 1 calc(50% - 28px); min-width: 180px; }
  .flow-arrow { display: none; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  /* Navigation */
  .nav-inner   { padding: 0 24px; }
  nav ul       { display: none; }
  .menu-btn    { display: flex; }
  .mobile-menu { display: block; }

  /* Hero */
  .hero-content    { padding: 0 24px 80px; }
  .scroll-indicator { right: 24px; }

  /* Layout */
  .container    { padding: 0 24px; }
  .section      { padding: 72px 0; }
  .section-title { margin-bottom: 36px; }

  /* Profile */
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .about-image  { position: relative; }

  /* Media */
  .media-grid   { grid-template-columns: 1fr; gap: 40px; }

  /* Services */
  .service-cards  { grid-template-columns: 1fr; gap: 20px; }
  .services-note  { padding: 32px 24px; }
  .flow-steps     { flex-direction: column; gap: 28px; }
  .flow-arrow     { display: none; }
  .flow-step      { flex-direction: row; align-items: flex-start; gap: 20px; flex: unset; }
  .step-num       { font-size: 1.8rem; min-width: 48px; }

  /* Footer */
  .footer-inner { padding: 0 24px; }
  .footer-links { gap: 20px; }

  /* Cookie */
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .hero-name    { font-size: 2.8rem; }
  .section-title { font-size: 1.6rem; }
}
