/* ============================================================
   水鏡 -mizukagami- フォトウエディング
   モバイルファースト / 320px〜 → 768px → 1024px
   ============================================================ */

:root {
  /* === Brand colors === */
  --color-primary: #1a3a52;          /* 深湖 */
  --color-accent:  #c4a26b;          /* 古金 */
  --color-base:    #faf6ed;          /* 和紙 */
  --color-text:    #2a2520;          /* 濃文字 */
  --color-sub:     #6b5d4f;          /* 補助文字 */
  --color-border:  rgba(26, 58, 82, 0.14);

  /* === Notice banner (SAMPLE) === */
  --pn-bg: var(--color-primary);
  --pn-fg: var(--color-base);
  --pn-fg-rgb: 250, 246, 237;
  --pn-accent: var(--color-accent);
  --pn-font: "Shippori Mincho B1", "Noto Serif JP", serif;

  /* === Layout === */
  --header-h: 64px;
  --radius-pill: 999px;
  --max-w: 1180px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.85;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  font-size: 0.95rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-primary);
  letter-spacing: 0.06em;
}

.en-label {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ============================================================
   SAMPLE 告知バナー（最上位 z-index:300）
   ============================================================ */
.portfolio-notice {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--pn-bg);
  color: var(--pn-fg);
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.6;
  border-bottom: 1px solid var(--pn-accent);
  font-family: var(--pn-font);
}
.portfolio-notice strong {
  color: var(--pn-accent);
  letter-spacing: 0.2em;
  margin-right: 0.6rem;
  font-weight: 500;
}
.portfolio-notice .pn-close {
  background: transparent;
  border: 1px solid rgba(var(--pn-fg-rgb), 0.4);
  color: var(--pn-fg);
  font-size: 0.7rem;
  padding: 2px 8px;
  margin-left: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  font-family: inherit;
}
.portfolio-notice .pn-close:hover {
  background: var(--pn-accent);
  border-color: var(--pn-accent);
  color: var(--pn-bg);
}

body.notice-visible { padding-top: 44px; }
body.notice-visible .site-header { top: 44px; }
@media (max-width: 720px) {
  .portfolio-notice { font-size: 0.7rem; padding: 0.5rem 0.8rem; }
  body.notice-visible { padding-top: 64px; }
  body.notice-visible .site-header { top: 64px; }
}

/* ============================================================
   Header
   - backdrop-filter は ::before に逃がす（drawer 包含ブロック対策）
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  border-bottom: 1px solid var(--color-border);
  transition: top 0.3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 246, 237, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}
.header-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Shippori Mincho B1", serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.logo .logo-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.15em;
}

/* PC nav (hidden on mobile) */
.pc-nav { display: none; }
.pc-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.pc-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--color-text);
  transition: color 0.3s;
}
.pc-nav a:hover { color: var(--color-accent); }
.pc-nav .header-cta {
  background: var(--color-accent);
  color: var(--color-base);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.pc-nav .header-cta:hover { background: var(--color-primary); color: var(--color-base); }

/* ============================================================
   Hamburger (z-index 220 / drawer より上)
   ============================================================ */
.hamburger {
  width: 44px; height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 220;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s;
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Drawer (z-index: mask 210 < drawer 215 < hamburger 220)
   ============================================================ */
.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(26, 58, 82, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  z-index: 210;
}
.drawer-mask.is-open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: 80vw;
  max-width: 360px;
  height: 100dvh;
  background: var(--color-base);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 215;
  padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.is-open {
  transform: translateX(0);
  box-shadow: -8px 0 32px rgba(26, 58, 82, 0.18);
}
body.notice-visible .drawer { padding-top: calc(var(--header-h) + 44px + 1rem); }
@media (max-width: 720px) {
  body.notice-visible .drawer { padding-top: calc(var(--header-h) + 64px + 1rem); }
}
.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 2rem;
  list-style: none;
}
.drawer-list a {
  display: block;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.02rem;
  font-family: "Shippori Mincho B1", serif;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  transition: color 0.2s;
}
.drawer-list a:hover { color: var(--color-accent); }
.drawer-cta {
  margin-top: 1rem;
  background: var(--color-accent) !important;
  color: var(--color-base) !important;
  border-radius: var(--radius-pill);
  text-align: center;
  padding: 0.95rem 1rem !important;
  border: none !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
}
.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-sub);
  line-height: 1.8;
}

/* ============================================================
   Buttons (共通)
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  transition: transform 0.3s, box-shadow 0.3s;
  font-family: "Shippori Mincho B1", serif;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-base);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 162, 107, 0.35);
}
.btn-outline {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-base);
}

/* ============================================================
   Section common
   ============================================================ */
section { padding: clamp(3rem, 8vw, 6rem) 0; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.15em;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 58, 82, 0.15) 0%,
    rgba(26, 58, 82, 0.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  max-width: 720px;
  color: var(--color-base);
}
.hero-content .en-label { color: var(--color-accent); }
.hero-content h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.5;
  color: var(--color-base);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}
.hero-content p {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 1.8rem;
  color: rgba(250, 246, 237, 0.92);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: var(--color-accent);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  font-family: "Shippori Mincho B1", serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 162, 107, 0.5);
}

/* ============================================================
   Concept
   ============================================================ */
.concept { background: var(--color-base); }
.concept-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.concept-image img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  border-radius: 4px;
}
.concept-text h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.concept-text p {
  color: var(--color-sub);
  margin-bottom: 1rem;
  line-height: 2;
}
.concept-text .signature {
  margin-top: 1.5rem;
  font-family: "Shippori Mincho B1", serif;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

/* ============================================================
   Plans
   ============================================================ */
.plans { background: #f3ebd9; }
.plan-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.plan-card {
  background: var(--color-base);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 58, 82, 0.12);
}
.plan-card-image img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.plan-card-body { padding: 1.5rem; }
.plan-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}
.plan-card .price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--color-accent);
  margin: 0.4rem 0 0.8rem;
  letter-spacing: 0.05em;
}
.plan-card .price small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.7rem;
  color: var(--color-sub);
  margin-left: 0.4rem;
}
.plan-card p {
  color: var(--color-sub);
  font-size: 0.88rem;
  line-height: 1.9;
}
.plan-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--color-sub);
}

/* ============================================================
   Locations
   ============================================================ */
.locations { background: var(--color-base); }
.location-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
.location-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 4px;
}
.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.location-card:hover img { transform: scale(1.06); }
.location-card-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(26, 58, 82, 0.85));
  color: var(--color-base);
}
.location-card-label h3 {
  font-size: 1.05rem;
  color: var(--color-base);
  margin-bottom: 0.3rem;
  letter-spacing: 0.12em;
}
.location-card-label p {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0.92;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery { background: #f3ebd9; }
.gallery-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 1/1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.large { aspect-ratio: 1/1.4; }

/* ============================================================
   Voice
   ============================================================ */
.voice { background: var(--color-base); }
.voice-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
.voice-card {
  background: #f3ebd9;
  padding: 1.5rem;
  border-radius: 4px;
  position: relative;
}
.voice-card::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.5;
}
.voice-card p {
  font-size: 0.9rem;
  color: var(--color-sub);
  line-height: 2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.voice-meta {
  font-size: 0.78rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: #f3ebd9; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 1.2rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: "Shippori Mincho B1", serif;
  font-size: 0.98rem;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.faq-question::after {
  content: "+";
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-question::after { content: "−"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  color: var(--color-sub);
  font-size: 0.88rem;
  line-height: 2;
}
.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 0 0 1.5rem;
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: var(--color-primary);
  color: var(--color-base);
  text-align: center;
}
.contact h2 {
  color: var(--color-base);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
}
.contact .en-label { color: var(--color-accent); }
.contact p {
  color: rgba(250, 246, 237, 0.85);
  margin-bottom: 2rem;
  line-height: 2;
}
.contact-info {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.contact-info dt {
  color: var(--color-accent);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.2rem;
}
.contact-info dd { color: var(--color-base); }
.contact .btn-primary { background: var(--color-accent); color: var(--color-text); }
.disclaimer {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(250, 246, 237, 0.08);
  font-size: 0.75rem;
  color: rgba(250, 246, 237, 0.7);
  border: 1px dashed rgba(196, 162, 107, 0.4);
  text-align: left;
  line-height: 1.8;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #14283a;
  color: rgba(250, 246, 237, 0.7);
  padding: 2.5rem 1rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 2;
}
.footer .footer-logo {
  font-family: "Shippori Mincho B1", serif;
  color: var(--color-base);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.18em;
}
.footer .footer-disclaimer {
  margin: 1rem auto 0;
  max-width: 600px;
  font-size: 0.72rem;
  opacity: 0.7;
}

/* ============================================================
   Responsive: 768px+
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 1rem; }
  .hamburger { display: none; }
  .pc-nav { display: flex; }
  .header-inner { padding: 0 2rem; }

  .hero-content { padding: 2rem 3rem; }
  .hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

  .concept-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .voice-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ============================================================
   Responsive: 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .hero { min-height: 92vh; }
  .hero-content { padding: 2.5rem 4rem; max-width: 760px; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
}
