

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

:root {
  --crimson:   #8B0000;
  --crimson-dk:#6B0000;
  --ink:       #1A1008;
  --parchment: #F0E8D0;
  --parchment-dk: #E0D5B8;
  --gold:      #C8A951;
  --gold-lt:   #DFC47A;
  --ash:       #4A4035;
  --ash-lt:    #6B5F52;
  --white:     #FDFAF4;
  --radius:    4px;
  --max-w:     1160px;
}

html { font-size: 16px; scroll-behavior: smooth; background: var(--ink); }

body {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho Pro', Georgia, serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho Pro', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: 1rem; line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn-primary {
  background: var(--crimson);
  color: var(--parchment);
  border-color: var(--crimson);
}
.btn-primary:hover { background: var(--crimson-dk); border-color: var(--crimson-dk); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.divider {
  border: none;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
  margin: 0;
}
.divider-ornament {
  text-align: center;
  position: relative;
  margin-block: 8px;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 28px);
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.divider-ornament::before { left: 0; }
.divider-ornament::after  { right: 0; }
.divider-ornament span {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

.photo-placeholder {
  background: var(--parchment-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--ash);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  opacity: 0.8;
}
.photo-placeholder svg { opacity: 0.45; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-wrap img,
.logo-wrap svg { width: 44px; height: 44px; flex-shrink: 0; }
.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--parchment);
  line-height: 1.1;
}
.brand-name span { display: block; font-size: 0.65rem; color: var(--gold); letter-spacing: 0.18em; font-weight: 400; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment);
  opacity: 0.85;
  position: relative;
  padding-bottom: 3px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--parchment);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--ink);
  border-top: 1px solid var(--gold);
  padding: 16px 24px 24px;
  gap: 20px;
}
.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment);
}
.mobile-nav.open { display: flex; }

.hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(200,169,81,0.07) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(200,169,81,0.07) 40px
    );
}
.hero-accent {
  position: absolute;
  right: 0; top: 0;
  width: 52%;
  height: 100%;
}
.hero-accent .photo-placeholder { width: 100%; height: 100%; border: none; border-left: 3px solid var(--gold); border-radius: 0; }
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 80px;
  max-width: 560px;
}
.hero-content .section-label { color: var(--gold); }
.hero-content h1 { color: var(--parchment); margin-bottom: 20px; }
.hero-content h1 em { font-style: normal; color: var(--gold); }
.hero-content p { color: rgba(240,232,208,0.75); margin-bottom: 32px; max-width: 440px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.stats-strip {
  background: var(--crimson);
  padding-block: 20px;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; flex: 1; min-width: 130px; }
.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-item span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment);
  opacity: 0.85;
}
.stat-sep {
  width: 1px; height: 48px;
  background: rgba(240,232,208,0.25);
  flex-shrink: 0;
}

.about-teaser { padding-block: 88px; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image .photo-placeholder { width: 100%; height: 420px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--ash); margin-bottom: 20px; }
.about-text .btn { margin-top: 8px; }

.periods { padding-block: 88px; background: var(--parchment); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--ash); max-width: 540px; margin-inline: auto; }
.periods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.period-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200,169,81,0.25);
}
.period-card-img .photo-placeholder { width: 100%; height: 220px; border: none; border-radius: 0; }
.period-card-body { padding: 24px; }
.period-card-body .section-label { font-size: 0.68rem; }
.period-card-body h3 { margin-bottom: 10px; }
.period-card-body p { color: var(--ash); font-size: 0.93rem; }

.featured-article {
  background: var(--ink);
  padding-block: 88px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.featured-image .photo-placeholder { width: 100%; height: 460px; }
.featured-text .section-label { color: var(--gold); }
.featured-text h2 { color: var(--parchment); margin-bottom: 16px; }
.featured-text p { color: rgba(240,232,208,0.72); margin-bottom: 20px; }
.featured-pull {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin-block: 24px;
}
.featured-pull p { font-size: 1.1rem; font-style: italic; color: var(--parchment); }

.castles { padding-block: 88px; background: var(--white); }
.castles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.castle-main { grid-row: 1 / 3; }
.castle-main .photo-placeholder { width: 100%; height: 100%; min-height: 420px; }
.castle-card .photo-placeholder { width: 100%; height: 200px; border-radius: 0; border: none; }
.castle-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200,169,81,0.22);
}
.castle-card-info { padding: 14px 16px; background: var(--parchment); }
.castle-card-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.castle-card-info span { font-size: 0.75rem; color: var(--ash-lt); letter-spacing: 0.06em; }

.products { padding-block: 88px; background: var(--parchment); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200,169,81,0.25);
  display: flex;
  flex-direction: column;
}
.product-card-img .photo-placeholder { width: 100%; height: 240px; border: none; border-radius: 0; }
.product-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.product-card-body p { color: var(--ash); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--crimson); margin-bottom: 16px; }
.product-card-body .btn { font-size: 0.78rem; padding: 10px 18px; text-align: center; }

.testimonials {
  background: var(--crimson);
  padding-block: 88px;
}
.testimonials .section-header h2 { color: var(--parchment); }
.testimonials .section-header p { color: rgba(240,232,208,0.7); }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote-card {
  background: rgba(240,232,208,0.07);
  border: 1px solid rgba(200,169,81,0.35);
  border-radius: var(--radius);
  padding: 32px;
}
.quote-mark { font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 12px; font-family: Georgia, serif; }
.quote-card p { color: var(--parchment); font-style: italic; margin-bottom: 20px; font-size: 0.95rem; }
.quote-author { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.faq { padding-block: 88px; background: var(--white); }
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid rgba(74,64,53,0.2);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding-block: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon {
  width: 22px; height: 22px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px; height: 10px; }
.faq-item.open .faq-icon::after { display: none; }
.faq-answer {
  display: none;
  padding-bottom: 20px;
  color: var(--ash);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

.contacts { padding-block: 88px; background: var(--ink); }
.contacts .section-header h2 { color: var(--parchment); }
.contacts .section-header p { color: rgba(240,232,208,0.65); }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.contact-card {
  background: rgba(240,232,208,0.05);
  border: 1px solid rgba(200,169,81,0.28);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.contact-icon {
  width: 52px; height: 52px;
  margin-inline: auto;
  margin-bottom: 16px;
  background: var(--crimson);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 24px; height: 24px; fill: var(--parchment); }
.contact-card h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-card p, .contact-card a {
  color: var(--parchment);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-card a:hover { color: var(--gold); }

.site-footer {
  background: #110B04;
  border-top: 2px solid var(--gold);
  padding-block: 48px 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: rgba(240,232,208,0.6); font-size: 0.88rem; margin-top: 12px; max-width: 280px; }
.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(240,232,208,0.65); }
.footer-col ul a:hover { color: var(--parchment); }
.footer-bottom {
  border-top: 1px solid rgba(200,169,81,0.2);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(240,232,208,0.45); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.78rem; color: rgba(240,232,208,0.45); }
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero-accent { display: none; }
  .hero-content { max-width: 100%; padding-block: 60px; }
  .about-grid,
  .featured-grid { grid-template-columns: 1fr; gap: 36px; }
  .periods-grid,
  .products-grid,
  .quotes-grid,
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .castles-grid { grid-template-columns: 1fr; }
  .castle-main { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 3px solid var(--gold);
  padding: 24px;
  z-index: 1000;
  display: none;
}
.cookie-banner.show { display: flex; }
.cookie-banner.hidden { display: none !important; }

.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  color: var(--parchment);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.cookie-banner-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  white-space: nowrap;
}

.cookie-banner-actions .btn {
  margin: 0;
  font-size: 0.75rem;
  padding: 10px 24px;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
}

.about-teaser .section-header,
.about-teaser .about-text,
.periods .section-header,
.featured-article .featured-text,
.castles .section-header,
.products .section-header,
.quotes .section-header {
  text-align: center;
}

.about-teaser .about-text h2,
.periods h2,
.featured-article h2,
.castles h2,
.products h2,
.quotes h2,
.quotes-grid {
  text-align: center;
}

.section-header {
  text-align: center;
}

@media (max-width: 600px) {
  .periods-grid,
  .products-grid,
  .quotes-grid,
  .contacts-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 20px; }
  .stat-sep { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}
