/*
Theme Name: Hiyama Photography
Theme URI: https://shogophoto.com
Description: カスタムテーマ for Hiyama Photography
Author: Claude / Irie
Version: 1.0.0
Text Domain: hiyama-photography
*/

/* =====================================================
   COMMON CSS — Hiyama Photography
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream:  #faf6f1;
  --beige:  #f0e6d8;
  --tan:    #d9c4ae;
  --brown:  #8c6e58;
  --dark:   #2a2220;
  --gold:   #c9a97a;
  --text:   #3d3028;
  --muted:  #8a7060;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* HEADER */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, backdrop-filter .4s;
}
header.scrolled {
  background: rgba(250,246,241,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,169,122,.2);
}
.logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem;
  font-weight: 400; letter-spacing: .15em; color: var(--brown); transition: color .4s;
}
.logo sub { display: block; font-family: 'Noto Sans JP', sans-serif; font-size: .6rem; letter-spacing: .3em; font-weight: 300; opacity: .7; margin-top: 1px; }
nav { display: flex; align-items: center; gap: 36px; }
nav a { font-family: 'Noto Sans JP', sans-serif !important; font-size: 1.1rem !important; font-weight: 500 !important; letter-spacing: .08em; color: var(--muted); transition: color .3s, opacity .3s; }
nav a:hover, nav a.active { color: var(--brown); }
.nav-cta { padding: 9px 22px; border: 1px solid var(--brown); border-radius: 2px; font-size: .95rem !important; color: var(--brown) !important; letter-spacing: .1em; transition: background .3s !important; }
.nav-cta:hover { background: var(--beige) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--brown); transition: all .35s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 400; background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  clip-path: circle(0% at calc(100% - 64px) 36px);
  transition: clip-path .7s var(--ease);
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 64px) 36px); }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; letter-spacing: .1em; color: rgba(255,255,255,.85); transition: color .3s; }
.mobile-menu a:hover { color: var(--gold); }

/* FOOTER */
footer {
  background: #1a1210; padding: 52px 80px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 300; letter-spacing: .2em; color: rgba(255,255,255,.45); }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer nav a { font-size: .68rem; letter-spacing: .15em; color: rgba(255,255,255,.28); transition: color .3s; }
footer nav a:hover { color: rgba(255,255,255,.65); }
.footer-copy { font-size: .62rem; color: rgba(255,255,255,.2); letter-spacing: .1em; width: 100%; text-align: right; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}
.d4{transition-delay:.4s} .d5{transition-delay:.5s}

/* SECTION LABELS */
.sec-label { font-size: .6rem; letter-spacing: .4em; color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sec-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
h2.sec-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 300; color: var(--dark); line-height: 1.3; }
h2.sec-title em { font-style: italic; color: var(--brown); }

/* PAGE HERO (subpages) */
.page-hero {
  height: 65vh; min-height: 420px;
  background: linear-gradient(135deg, #2a2220 0%, #3d2e28 100%);
  display: flex; align-items: flex-end;
  padding: 0 80px 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-tag { font-size: .62rem; letter-spacing: .4em; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.page-hero-tag::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem,5vw,4rem); font-weight: 300; color: #fff; line-height: 1.2; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; font-size: .75rem; letter-spacing: .15em;
  border-radius: 2px; transition: transform .3s var(--ease), box-shadow .3s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* LINE BUTTON */
.line-btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 46px; background: #06C755; color: #fff; border-radius: 3px; font-size: .86rem; letter-spacing: .1em; transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer; }
.line-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(6,199,85,.3); }

/* CTA BAND */
.cta-band { background: var(--dark); padding: 80px; text-align: center; }
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 300; color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: .84rem; color: rgba(255,255,255,.5); margin-bottom: 36px; line-height: 2; }

/* RESPONSIVE */
@media(max-width: 768px) {
  header { padding: 0 20px; height: 60px; }
  nav { display: none; }
  .hamburger { display: flex; }
  .hamburger span { background: var(--brown); }
  .mobile-menu { gap: 22px; }
  .mobile-menu a { font-size: 1.1rem; }
  footer { padding: 36px 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  footer nav { gap: 16px; }
  .footer-copy { text-align: left; }
  h2.sec-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .page-hero { height: 30vh; min-height: 220px; padding: 0 20px 24px; }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 2.5rem); }
  .page-hero-tag { margin-bottom: 8px; }
  .cta-band { padding: 52px 20px; }
}
