/* =========================================================
   Sunrise Digital — Design System (Pattern D: Luminous Elegance)
   ========================================================= */

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

/* ----- Variables ----- */
:root {
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --beige: #CBBFA3;
  --beige-light: #F0EBE3;
  --beige-dark: #A69578;
  --text: #333333;
  --text-light: #999999;
  --font-en: 'EB Garamond';
  --font-jp: 'Shippori Mincho';
}

body {
  font-family: var(--font-jp), serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.9;
}

a { color: inherit; }
img {
  max-width: 100%; height: auto;
  -webkit-touch-callout: none; /* Mobile long-press menu */
  -webkit-user-select: none; /* Mobile selection */
  user-select: none;
}

/* =========================================================
   HEADER
   ========================================================= */
.sd-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  height: 60px;
  transition: box-shadow 0.3s;
}
.sd-header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.05); }
.sd-header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex; justify-content: space-between; align-items: center;
}
.sd-header-left {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 1px;
}
.sd-logo-area {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center;
}
.sd-logo {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.sd-logo-img {
  height: 52px; width: auto; display: block;
}
@media (max-width: 768px) {
  .sd-logo-img { height: 38px; }
}
.sd-logo-sub { display: none; }
.sd-header-right { display: flex; align-items: center; gap: 16px; }
.sd-header-right a {
  font-size: 11px; color: var(--text-light); text-decoration: none; transition: color 0.3s;
}
.sd-header-right a:hover { color: var(--beige-dark); }
.sd-cta-header {
  border: 1px solid var(--beige) !important;
  padding: 6px 18px; transition: all 0.3s !important;
}
.sd-cta-header:hover { background: var(--beige); color: var(--white) !important; }

.sd-desktop-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sd-insta-icon svg { width: 24px; height: 24px; vertical-align: middle; transition: stroke 0.3s; }
@media (min-width: 901px) {
  .sd-desktop-links .sd-insta-icon svg {
    width: 29px;
    height: 29px;
  }
}

/* ----- Hamburger ----- */
.sd-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px; height: 36px;
  cursor: pointer;
  background: none; border: none;
  padding: 0; z-index: 1100;
  position: relative;
}
.sd-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); transition: all 0.3s ease;
  position: absolute;
}
.sd-hamburger span:nth-child(1) { transform: translateY(-6px); }
.sd-hamburger span:nth-child(2) { transform: translateY(0); }
.sd-hamburger span:nth-child(3) { transform: translateY(6px); }
.sd-hamburger.active span:nth-child(1) { transform: rotate(45deg); }
.sd-hamburger.active span:nth-child(2) { opacity: 0; }
.sd-hamburger.active span:nth-child(3) { transform: rotate(-45deg); }

/* ----- Mobile Menu Overlay ----- */
.sd-mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 1050;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 80px 0 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.sd-mobile-menu.open {
  display: flex;
  opacity: 1;
}
.sd-mobile-menu a {
  display: block;
  font-family: var(--font-jp), serif; font-size: 15px;
  color: var(--text); text-decoration: none;
  padding: 14px 0; letter-spacing: 3px;
  border-bottom: 1px solid var(--beige-light);
  width: 240px; text-align: center;
  transition: color 0.3s;
}
.sd-mobile-menu a:hover { color: var(--beige-dark); }
.sd-mobile-menu .sd-menu-logo-img {
  height: 32px; width: auto; margin-bottom: 30px;
}
.sd-mobile-menu .sd-menu-contact {
  margin-top: 20px;
  padding: 10px 32px;
  border: 1px solid var(--beige);
  font-size: 12px;
  color: var(--text);
  letter-spacing: 2px;
  transition: all 0.3s;
}
.sd-mobile-menu .sd-menu-contact:hover {
  background: var(--beige); color: var(--white);
}
/* Mobile menu dropdown accordion */
.sd-mobile-menu .sd-mobile-group { width: 240px; }
.sd-mobile-menu .sd-mobile-group-toggle {
  font-family: var(--font-jp), serif; font-size: 15px;
  color: var(--text); text-decoration: none;
  padding: 14px 0; letter-spacing: 3px;
  border-bottom: 1px solid var(--beige-light);
  width: 100%; text-align: center;
  transition: color 0.3s;
  cursor: pointer;
  background: none; border-left: none; border-right: none; border-top: none;
  display: block;
}
.sd-mobile-menu .sd-mobile-group-toggle::after {
  content: '▾'; margin-left: 6px; font-size: 10px;
  display: inline-block; transition: transform 0.3s;
}
.sd-mobile-menu .sd-mobile-group-toggle.open::after {
  transform: rotate(180deg);
}
.sd-mobile-menu .sd-mobile-group-toggle:hover { color: var(--beige-dark); }
.sd-mobile-menu .sd-mobile-sub {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  width: 100%;
}
.sd-mobile-menu .sd-mobile-sub.open {
  max-height: 300px;
}
.sd-mobile-menu .sd-mobile-sub a {
  display: block;
  font-size: 13px; padding: 10px 0;
  border-bottom: 1px solid rgba(203,191,163,0.2);
  color: var(--text-light);
  letter-spacing: 2px;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.sd-nav {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--beige-light);
  border-bottom: 1px solid var(--beige-light);
}
.sd-nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; flex-wrap: wrap;
}
.sd-nav-inner > a,
.sd-nav-item > .sd-nav-label {
  font-size: 11px; color: var(--text-light); text-decoration: none;
  padding: 12px 16px; letter-spacing: 1px; transition: color 0.3s;
  position: relative; cursor: pointer;
  display: inline-block;
  background: none; border: none; font-family: inherit;
}
.sd-nav-inner > a:hover,
.sd-nav-item > .sd-nav-label:hover { color: var(--beige-dark); }
.sd-nav-inner > a.active { color: var(--beige-dark); }
.sd-nav-inner > a.active::after {
  content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px;
  height: 2px; background: var(--beige);
}
/* Dropdown arrow */
.sd-nav-label::after {
  content: '▾'; margin-left: 4px; font-size: 9px;
  display: inline-block; transition: transform 0.3s;
}
/* Dropdown container */
.sd-nav-item {
  position: relative;
}
.sd-nav-dropdown {
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--beige-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(6px);
  z-index: 1000;
  padding: 6px 0;
}
.sd-nav-item:hover .sd-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sd-nav-item:hover > .sd-nav-label {
  color: var(--beige-dark);
}
.sd-nav-dropdown a {
  display: block;
  font-size: 11px; color: var(--text-light); text-decoration: none;
  padding: 9px 20px; letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.sd-nav-dropdown a:hover {
  background: var(--beige-light);
  color: var(--beige-dark);
}

/* =========================================================
   PAGE HERO (Sub-pages)
   ========================================================= */
.sd-page-hero {
  margin-top: 98px;
  position: relative;
  height: auto;
  min-height: 300px;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--beige-light);
}
@media (min-width: 1400px) {
  .sd-page-hero {
    aspect-ratio: 24 / 9; /* Wider on very large screens */
  }
}
.sd-page-hero img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center center;
}
.sd-page-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0));
  padding: 50px 40px 30px;
  text-align: center;
}
.sd-page-hero-overlay h1 {
  font-family: var(--font-en), var(--font-jp), serif; font-size: 28px; font-weight: 300;
  letter-spacing: 8px; color: var(--text);
}
.sd-page-hero-overlay .sd-hero-sub {
  font-size: 12px; color: var(--text-light); letter-spacing: 3px;
  margin-top: 4px;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.sd-section {
  max-width: 1100px; margin: 0 auto; padding: 90px 40px;
}
.sd-section-title {
  text-align: center; margin-bottom: 50px;
}
.sd-section-title h2 {
  font-family: var(--font-en), var(--font-jp), serif; font-size: 26px; font-weight: 300;
  letter-spacing: 8px; color: var(--text);
}
.sd-section-title .sd-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 12px;
}
.sd-section-title .sd-ornament span { width: 30px; height: 1px; background: var(--beige); }
.sd-section-title .sd-ornament .sd-diamond {
  width: 6px; height: 6px; background: var(--beige);
  transform: rotate(45deg);
}
.sd-section-sub {
  font-size: 13px; color: var(--text-light); letter-spacing: 2px;
  display: block; margin-top: 6px;
}

/* ----- Content blocks ----- */
.sd-content-block {
  margin-bottom: 50px;
}
.sd-content-block h3 {
  font-size: 18px; font-weight: 400; letter-spacing: 2px;
  margin-bottom: 16px; color: var(--text);
  border-left: 3px solid var(--beige);
  padding-left: 14px;
}
.sd-content-block p {
  font-size: 14px; line-height: 2; color: var(--text);
  margin-bottom: 16px;
}
.sd-content-block .sd-highlight {
  color: var(--beige-dark); font-weight: 400;
}

/* ----- Grid layouts ----- */
.sd-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.sd-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sd-grid-card {
  background: var(--white); overflow: hidden;
  box-shadow: 0 2px 20px rgba(203,191,163,0.1);
  border: 1px solid var(--beige-light);
  transition: all 0.4s;
}
.sd-grid-card:hover {
  box-shadow: 0 8px 30px rgba(203,191,163,0.2);
  border-color: var(--beige);
}
.sd-grid-card .sd-card-img { overflow: hidden; }
.sd-grid-card img { width: 100%; display: block; transition: transform 0.5s; }
.sd-grid-card:hover img { transform: scale(1.04); }
.sd-grid-card .sd-card-body { padding: 20px; }
.sd-grid-card .sd-card-body h4 {
  font-size: 14px; font-weight: 400; letter-spacing: 2px; margin-bottom: 8px;
}
.sd-grid-card .sd-card-body p {
  font-size: 12px; line-height: 1.8; color: var(--text-light);
}

/* ----- Image Gallery ----- */
.sd-gallery {
  column-count: 3;
  column-gap: 10px;
}
.sd-gallery img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  break-inside: avoid;
  transition: transform 0.4s;
  cursor: pointer;
}
.sd-gallery img:hover { transform: scale(1.05); }

/* ----- Price / Plan table ----- */
.sd-plan-table {
  width: 100%; border-collapse: collapse; margin: 30px 0;
}
.sd-plan-table th,
.sd-plan-table td {
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid var(--beige-light);
  font-size: 13px;
}
.sd-plan-table th {
  background: var(--beige-light); font-weight: 400;
  letter-spacing: 1px; width: 160px;
}
.sd-plan-table .sd-price {
  font-family: var(--font-en); font-size: 20px;
  color: var(--beige-dark); font-weight: 400;
}

/* ----- Plan Card Grid (TOP page) ----- */
.sd-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sd-plan-card {
  text-decoration: none;
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--beige-light);
  transition: all 0.4s;
}
.sd-plan-card:hover {
  box-shadow: 0 8px 30px rgba(203,191,163,0.2);
  border-color: var(--beige);
}
.sd-plan-card .sd-plan-card-img {
  overflow: hidden;
}
.sd-plan-card .sd-plan-card-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}
.sd-plan-card:hover .sd-plan-card-img img {
  transform: scale(1.05);
}
.sd-plan-card .sd-plan-card-info {
  text-align: center;
  padding: 16px 12px;
}
.sd-plan-card .sd-plan-card-info h3 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 4px;
  border: none;
  padding: 0;
}
.sd-plan-card .sd-plan-card-info span {
  font-family: var(--font-en), var(--font-jp), serif;
  font-size: 11px;
  color: var(--beige-dark);
  letter-spacing: 2px;
}

/* ----- CTA Button ----- */
.sd-cta-btn {
  display: inline-block; padding: 12px 36px;
  border: 1px solid var(--beige); font-size: 12px;
  color: var(--text); text-decoration: none;
  letter-spacing: 3px; transition: all 0.3s;
}
.sd-cta-btn:hover { background: var(--beige); color: var(--white); }

/* =========================================================
   INSTAGRAM
   ========================================================= */
.sd-ig-section { text-align: center; padding-bottom: 80px; }
.sd-ig-text {
  font-family: var(--font-en); font-size: 15px; color: var(--beige-dark);
  margin-bottom: 30px; letter-spacing: 2px;
}
.sd-ig-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 4px; max-width: 900px; margin: 0 auto;
}
.sd-ig-grid a { overflow: hidden; aspect-ratio: 1; }
.sd-ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sd-ig-grid a:hover img { transform: scale(1.1); }

/* =========================================================
   FOOTER
   ========================================================= */
.sd-footer {
  background: var(--white); border-top: 1px solid var(--beige-light);
  padding: 50px 40px 20px;
}
.sd-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
}
.sd-footer h4 {
  font-family: var(--font-en); font-size: 14px; font-weight: 400;
  letter-spacing: 3px; margin-bottom: 14px;
}
.sd-footer a {
  display: block; font-size: 11px; color: var(--text-light);
  text-decoration: none; padding: 3px 0; transition: color 0.3s;
}
.sd-footer a:hover { color: var(--beige-dark); }
.sd-footer-contact { text-align: center; }
.sd-footer-contact .sd-cta-btn {
  padding: 8px 24px; font-size: 11px; margin-top: 8px;
}
.sd-footer-bottom {
  max-width: 1100px; margin: 30px auto 0;
  padding-top: 16px; border-top: 1px solid var(--beige-light);
  text-align: center;
}
.sd-footer-bottom p { font-size: 10px; color: var(--text-light); letter-spacing: 1px; }

/* =========================================================
   FLOW TABS (Pattern A)
   ========================================================= */
.sd-tab-header {
  display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--beige-light); margin-bottom: 30px;
}
.sd-tab-btn {
  flex: 1; text-align: center; padding: 15px 10px; cursor: pointer;
  font-size: 14px; color: var(--text-light); transition: all 0.3s;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  min-width: 150px;
}
.sd-tab-btn.active {
  color: var(--beige-dark); border-bottom: 3px solid var(--beige-dark); font-weight: 500;
}
.sd-tab-content { display: none; animation: sdFadeIn 0.4s; }
.sd-tab-content.active { display: block; }
@keyframes sdFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.sd-flow-card {
  display: flex; align-items: center; border: 1px solid var(--beige-light);
  border-radius: 8px; margin-bottom: 15px; padding: 20px; background: var(--white);
}
.sd-flow-card .sd-flow-num {
  font-family: var(--font-en); font-size: 32px; color: var(--beige);
  width: 60px; text-align: center; border-right: 1px solid var(--beige-light);
  margin-right: 20px; flex-shrink: 0;
}
.sd-flow-card .sd-flow-text h3 { font-size: 16px; color: var(--beige-dark); margin-bottom: 5px; }
.sd-flow-card .sd-flow-text p { font-size: 14px; margin: 0; line-height: 1.6; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  /* Header */
  .sd-header { height: 50px; }
  .sd-header-inner { padding: 0 20px; }
  .sd-header-left { display: none; }
  .sd-header-right .sd-desktop-links { display: flex; align-items: center; gap: 12px; margin-right: 12px; }
  .sd-header-right .sd-desktop-links .sd-cta-header { display: none; }
  .sd-logo-area { position: static; transform: none; }
  .sd-logo { font-size: 20px; }
  .sd-hamburger { display: flex; }
  .sd-nav { display: none; }

  /* Page hero */
  .sd-page-hero {
    height: auto; min-height: unset;
    aspect-ratio: 16 / 9; /* Standard widescreen on mobile */
    margin-top: 50px;
  }
  .sd-page-hero img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .sd-page-hero-overlay {
    position: relative;
    padding: 24px 20px;
    background: var(--white);
  }
  .sd-page-hero-overlay h1 { font-size: 18px; letter-spacing: 6px; }

  /* Sections */
  .sd-section { padding: 50px 20px; }
  .sd-grid-2 { grid-template-columns: 1fr; }
  .sd-grid-3 { grid-template-columns: 1fr; }
  .sd-gallery { column-count: 2; column-gap: 8px; }
  .sd-gallery img { margin-bottom: 8px; }

  /* Plan grid → 2 columns on mobile */
  .sd-plan-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sd-plan-card .sd-plan-card-info { padding: 10px 6px; }
  .sd-plan-card .sd-plan-card-info h3 { font-size: 11px; letter-spacing: 1px; }
  .sd-plan-card .sd-plan-card-info span { font-size: 9px; letter-spacing: 1px; }

  /* Instagram */
  .sd-ig-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .sd-footer-inner { grid-template-columns: 1fr; text-align: center; }

  /* Plan table */
  .sd-plan-table th { width: 100px; }

  /* Flow Tabs Mobile */
  .sd-tab-btn { font-size: 13px; padding: 10px 5px; min-width: 120px; }
  .sd-flow-card { flex-direction: column; align-items: flex-start; padding: 15px; }
  .sd-flow-card .sd-flow-num { 
    border-right: none; 
    border-bottom: 1px solid var(--beige-light); 
    width: 100%; 
    text-align: left; 
    margin-right: 0; 
    margin-bottom: 10px; 
    padding-bottom: 5px; 
    font-size: 24px; 
  }
}

/* =========================================================
   CAMPAIGN BANNER
   ========================================================= */
.sd-campaign-banner {
  background-color: var(--beige-light);
  padding: 60px 0;
  margin: 40px 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}
.sd-campaign-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.sd-campaign-banner-text h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 4.2rem;
  font-weight: 400;
  margin: 0;
  color: var(--beige-dark);
  letter-spacing: 0.02em;
  line-height: 1;
}
.sd-campaign-banner-text p {
  font-size: 0.75rem;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.05em;
}
.sd-campaign-btn {
  display: inline-block;
  background-color: var(--beige-dark);
  color: var(--white);
  text-decoration: none;
  padding: 16px 45px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  white-space: nowrap;
}
.sd-campaign-btn:hover {
  background-color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* PlanList Decorative Frame */
.sd-planlist-frame {
  border: 2px solid var(--beige-dark);
  padding: 50px 80px;
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(203, 191, 163, 0.2);
}
.sd-planlist-frame::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid var(--beige);
  pointer-events: none;
}

@media (max-width: 900px) {
  .sd-campaign-banner { padding: 40px 0; }
  .sd-campaign-banner-inner { padding: 0 20px; }
  .sd-campaign-banner-text h2 { font-size: 2.8rem; }
  .sd-campaign-banner-text p { font-size: 0.7rem; }
  .sd-planlist-frame { padding: 30px 20px; width: 100%; box-sizing: border-box; }
}

/* =========================================================
   SET PLAN BANNER (Proposal 05)
   ========================================================= */
.sd-set-plan-banner {
  padding: 60px 40px;
  text-align: center;
  position: relative;
  max-width: 900px;
  margin: 40px auto;
}
.sd-set-plan-frame {
  border: 1px solid var(--beige);
  padding: 50px 40px 40px;
  position: relative;
}
.sd-set-plan-frame::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 1px solid var(--beige-light);
  pointer-events: none;
}
.sd-set-plan-banner h2 { 
  font-size: 22px; margin: 0; 
  background: var(--white); display: inline-block; 
  padding: 0 25px; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); 
  letter-spacing: 3px; font-weight: 400; color: var(--text);
  white-space: nowrap;
}
.sd-set-plan-banner p {
  font-size: 14px; color: var(--text); margin-bottom: 25px;
  line-height: 2;
}
@media (max-width: 768px) {
  .sd-set-plan-banner { padding: 40px 20px; }
  .sd-set-plan-banner h2 { font-size: 18px; padding: 0 15px; top: -14px; }
  .sd-set-plan-frame { padding: 40px 20px 30px; }
  .sd-set-plan-banner p { font-size: 13px; }
}

/* ==========================================
   CHAPEL FEATURE SECTION (チャペルの魅力紹介)
   ========================================== */
.sd-chapel-feature {
  padding: 80px 20px;
}
.sd-chapel-feature:nth-child(odd) {
  background: var(--beige-light);
}
.sd-chapel-feature:nth-child(even) {
  background: #fff;
}
.sd-cf-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}
.sd-cf-inner.reverse {
  flex-direction: row-reverse;
}
.sd-cf-text {
  flex: 1;
  text-align: left;
}
.sd-cf-num {
  display: inline-block;
  font-size: 13px;
  border: 1px solid var(--beige-dark);
  color: var(--beige-dark);
  padding: 4px 15px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.sd-cf-title {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}
.sd-cf-body {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}
.img-roof-container {
  flex: 1;
  width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
}
.img-roof-container img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  /* チャペル屋根型（角度浅め: 15%）のクリッピングマスク */
  clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0% 100%, 0% 15%);
}
.sd-cf-recommend {
  max-width: 800px;
  margin: 60px auto 0;
  background: #fff;
  border: 1px solid var(--beige-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  text-align: center;
}
.sd-cf-recommend h4 {
  font-size: 20px;
  color: var(--beige-dark);
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}
.sd-cf-recommend ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 2.2;
  display: inline-block;
  text-align: left;
}
.sd-cf-recommend ul li::before {
  content: '★';
  color: var(--beige-dark);
  margin-right: 8px;
}

@media(max-width: 768px) {
  .sd-cf-inner, .sd-cf-inner.reverse {
    flex-direction: column !important;
  }
  .img-roof-container {
    margin-bottom: 30px;
  }
  .sd-cf-title {
    font-size: 22px;
  }
}

/* ==========================================
   RECOMMEND SECTION (こんな方におすすめ: 4-A)
   ========================================== */
.sd-recommend-gallery {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}
.sd-recommend-gallery img {
  flex: 1;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  width: 33.333%;
}
.sd-recommend-list {
  background: var(--beige-light);
  padding: 50px 60px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.sd-recommend-item {
  break-inside: avoid;
}
.sd-recommend-item:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.sd-recommend-item h4 {
  font-size: 16px;
  color: var(--beige-dark);
  margin: 0 0 12px;
  font-weight: bold;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(181, 169, 149, 0.3);
}
.sd-recommend-item h4::before {
  content: '✔';
  margin-right: 8px;
  font-size: 18px;
}
.sd-recommend-item p {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
  color: #555;
}
@media(max-width: 768px) {
  .sd-recommend-gallery {
    flex-direction: column;
  }
  .sd-recommend-gallery img {
    width: 100%;
    height: 150px;
  }
  .sd-recommend-list {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  .sd-recommend-item:nth-child(5) {
    text-align: left;
  }
}

/* ==========================================
   PREMIUM GALLERY (アーティスティック・ギャラリー)
   ========================================== */
.sd-premium-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 20px;
  margin: 40px 0;
}
.sd-pg-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.sd-pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}
.sd-pg-item:hover img {
  transform: scale(1.05);
}
/* 強弱をつけるための変則サイズ */
.sd-pg-item.is-tall { grid-row: span 2; }
.sd-pg-item.is-wide { grid-column: span 2; }

@media (max-width: 768px) {
  .sd-premium-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    gap: 10px;
  }
}

/* ==========================================
   PREMIUM PLAN CARD (プラン詳細カード)
   ========================================== */
.sd-plan-card-v2 {
  background: var(--white);
  border: 1px solid var(--beige-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  margin-bottom: 40px;
  transition: transform 0.3s ease;
}
.sd-plan-card-v2:hover {
  transform: translateY(-5px);
}
.sd-pc-header {
  padding: 30px 40px;
  border-bottom: 1px solid #f9f9f9;
  text-align: center;
}
.sd-pc-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--beige-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sd-pc-title {
  font-size: 26px;
  color: var(--text);
  margin: 0;
  font-weight: 500;
}
.sd-pc-content {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 40px;
}
.sd-pc-img {
  flex: 1;
  min-width: 300px;
}
.sd-pc-info {
  flex: 1.2;
  min-width: 300px;
}
.sd-pc-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.sd-pc-price-box {
  background: #faf9f7;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 25px;
  text-align: center;
}
.sd-pc-price-main {
  font-size: 28px;
  color: var(--text);
  font-family: var(--font-en);
}
.sd-pc-price-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 5px;
}
.sd-pc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.sd-pc-list li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  line-height: 2.2;
  border-bottom: 1px dashed #eee;
}
.sd-pc-list li:last-child { border-bottom: none; }
.sd-pc-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--beige-dark);
  font-weight: bold;
}

@media (max-width: 768px) {
  .sd-pc-header { padding: 25px 20px; }
  .sd-pc-title { font-size: 20px; }
  .sd-pc-content { padding: 25px 20px; gap: 20px; }
  .sd-pc-img, .sd-pc-info { min-width: 100%; }
}

/* ==========================================
   UTILITIES & ADDITIONAL ORNAMENTS
   ========================================== */
.bg-soft-beige { background-color: var(--beige-light); }
.text-serif { font-family: var(--font-en), serif; }
.text-center { text-align: center; }

/* 撮影場所リスト等 */
.sd-location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.sd-location-item {
  background: #fff;
  padding: 10px 20px;
  border: 1px solid var(--beige-light);
  font-size: 13px;
  text-align: center;
  transition: all 0.3s;
}
.sd-location-item:hover {
  background: var(--beige-light);
  border-color: var(--beige);
}

/* =========================================================
   LOCATION TYPE LINKS (Banner Style)
   ========================================================= */
.sd-lt-section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.sd-lt-title {
  text-align: center;
  margin-bottom: 50px;
}
.sd-lt-title h2 {
  font-family: var(--font-en), var(--font-jp), serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--text);
}
.sd-lt-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.sd-lt-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  text-decoration: none;
  display: block;
  border: 1px solid var(--beige-light);
}
.sd-lt-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.sd-lt-item:hover img {
  transform: scale(1.05);
}
.sd-lt-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
}
.sd-lt-item:hover .sd-lt-overlay {
  background: rgba(166,149,120,0.15);
}
.sd-lt-box {
  background: rgba(255,255,255,0.25);
  padding: 30px 40px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  max-width: 90%;
}
.sd-lt-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 5px;
}
.sd-lt-box p {
  font-size: 12px;
  color: var(--beige-dark);
  margin: 0;
  letter-spacing: 3px;
}
@media (max-width: 768px) {
  .sd-lt-section { padding: 60px 20px; }
  .sd-lt-item { aspect-ratio: 16 / 9; }
  .sd-lt-box { padding: 20px 30px; }
  .sd-lt-box h3 { font-size: 16px; letter-spacing: 2px; }
}

/* =========================================================
   JOURNAL STYLE SECTION (Variant for Policy)
   ========================================================= */
.sd-journal-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  gap: 60px;
  align-items: stretch;
}
.sd-journal-vignette {
  flex: 1;
  background-image: url('images/retro_letter_paper_bg.png');
  background-size: cover;
  background-position: left;
  border-radius: 4px;
  min-height: 500px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.sd-journal-content {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sd-journal-content h3 {
  font-size: 22px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
  border-left: none;
  padding-left: 0;
}
.sd-journal-content p {
  font-size: 14px;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .sd-journal-section {
    flex-direction: column;
    padding: 50px 20px;
    gap: 30px;
  }
  .sd-journal-vignette {
    min-height: 250px;
  }
  .sd-journal-content h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }
}
