/*
Theme Name: 北野Classica
Description: 既存デザインを再現する、テンプレート選択式の北野Classica専用テーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kitano-classica
*/

.admin-bar .site-header { top: 32px; }
.kc-default-content { padding-block: 64px; min-height: 45vh; }
.kc-default-content h1 { margin-bottom: 32px; }
.site-header__nav-link[aria-current="location"] {
  background: var(--color-ivory);
  color: var(--color-gold);
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  #wpadminbar { position: fixed; }
}

/* Local WordPress layout revision — September 2026. */
.home-about__inner { display: block; }
.home-about__copy { padding-top: 0; text-align: center; }
.home-about__copy .c-heading::after { left: 50%; transform: translateX(-50%); }
.home-about__copy p { max-width: 980px; margin-inline: auto; }
.home-about__video { width: 100%; margin: 42px 0 36px; aspect-ratio: 16 / 9; background: var(--color-piano); }
.home-about__video video { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-film[hidden] { display: none; }
.home-about__wide { margin-top: 52px; aspect-ratio: auto; }
.home-about__wide img { width: 100%; height: auto; }
.about-hero__image { object-position: center center; }
.about-frame__portrait { padding: 0; border: 0; background: none; }
.about-story:not(.about-story--reverse) .about-story__image img { object-position: right center; aspect-ratio: 3 / 2; }
.about-usage__inner { display: block; }
.about-usage__copy { width: 100%; max-width: none; padding: 0; text-align: center; }
.about-usage__copy .about-ornament { margin-inline: auto; }
.about-usage__image { width: 100%; margin: 32px 0; }
.about-usage__image img { aspect-ratio: 16 / 9; }
.about-usage__copy p { max-width: 960px; margin-inline: auto; }
.about-usage__actions { justify-content: center; }
.about-usage__actions .c-button { flex: 0 1 300px; }
.contact-ornament--hero { width: min(520px, 52vw); column-gap: 16px; height: 13px; margin: 22px auto 0; }
.contact-ornament--hero::before, .contact-ornament--hero::after { height: 2px; background: var(--color-hero-ornament); }
.contact-ornament--hero i { width: 12px; height: 12px; border: 1px solid var(--color-hero-ornament); border-radius: 50%; transform: none; background: transparent; }
.page--rental .rental-venue-price__notes dd, .page--rental .rental-option-card__note, .page--rental .rental-included-card li { line-height: 1.9; }
@media (max-width: 767px) {
  .home-about__video { margin: 30px 0 26px; }
  .home-film { position: relative; isolation: isolate; padding: 52px 20px 12px; background: var(--color-ivory); }
  .home-film::before { position: absolute; content: ""; top: 64px; right: 8px; bottom: 0; left: 32px; background: var(--color-sand); pointer-events: none; }
  .home-film > .home-about__video { position: relative; z-index: 1; width: 100%; margin: 0; }
  .home-about__wide { margin-top: 34px; }
  .home-rental__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; height: auto; margin: 0; }
  .home-rental__gallery .home-rental__photo { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transform: none; margin: 0; }
  .home-rental__gallery .home-rental__photo--strings { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .home-rental__inner { gap: 32px; }
  .home-rental__copy { text-align: center; }
  .home-rental__copy .c-heading::after { left: 50%; transform: translateX(-50%); }
  .about-usage__actions .c-button { flex-basis: 100%; }
  .contact-ornament--hero { width: min(250px, 64vw); column-gap: 12px; height: 11px; }
  .contact-ornament--hero::before, .contact-ornament--hero::after { height: 1px; }
  .contact-ornament--hero i { width: 10px; height: 10px; }
  .page--rental .rental-venue-price__notes > div { grid-template-columns: 1fr; gap: 8px; }
  .page--rental .rental-new-table th, .page--rental .rental-new-table td { padding-inline: 8px; }
}
.contact-ornament--hero { grid-template-columns: 1fr auto 1fr; }

.page--rental .rental-new-table th, .page--rental .rental-new-table td { font-size: 16px; }

/* Keep the extra hall photo hidden and separate pricing notes clearly. */
.home-about__wide[hidden] { display: none; }
.page--rental .rental-venue-price__notes > div { grid-template-columns: max-content minmax(0, 1fr); gap: 24px; align-items: start; }
.page--rental .rental-venue-price__notes dt { white-space: normal; }
.page--rental .rental-venue-price__notes dd { min-width: 0; margin: 0; }

@media (max-width: 767px) {
 .page--rental .rental-venue-price__notes > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
/* Original photo dimensions, automatic slides and compact pagination. */
.rental-scenes__slider { width: 670px; margin-left: auto; }
.rental-scenes__slider .rental-scenes__image { width: 100%; }
.rental-scenes__gallery [data-scene-panel][hidden] { display: none; }
.rental-scenes__gallery [data-scene-panel]:not([hidden]) { animation: rental-scene-appear .45s ease both; }
.rental-scenes__switches { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.rental-scenes__switch { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.rental-scenes__switch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #cfc6b5; }
.rental-scenes__switch[aria-pressed="true"]::before { background: var(--color-gold); }
.rental-scenes__switch:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-radius: 50%; }
.rental-pricing__shared-note + .rental-venue-price { margin-top: 34px; }
@keyframes rental-scene-appear { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rental-scenes__gallery [data-scene-panel] { animation: none; } }
@media (max-width: 1199px) { .rental-scenes__slider { width: 100%; } }
@media (min-width: 768px) and (max-width: 1199px) { .rental-scenes__cards { margin-top: 18px; } }
@media (max-width: 767px) {
 .home-about__copy { display: flex; flex-direction: column; }
 .home-about__copy > h2 { order: 1; }
 .home-about__copy > p { order: 3; }
 .home-about__copy > .c-button { order: 4; align-self: center; }
 .contact-hero__eyebrow, .page--privacy .c-document-hero__eyebrow { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--color-hero-ornament); letter-spacing: .12em; line-height: 1.5; margin-bottom: 5px; }
 .rental-scenes__cards { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
 .rental-scenes__cards .rental-scene-card, .rental-scenes__cards .rental-scene-card:last-child { display: grid; grid-template-columns: 44px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; gap: 6px 18px; width: 100%; min-height: 112px; padding: 20px; text-align: left; grid-column: auto; justify-self: stretch; }
 .rental-scene-card__icon { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; }
 .rental-scene-card h3 { margin: 0; white-space: nowrap; }
 .rental-scene-card p { margin: 0; font-size: 16px; line-height: 1.75; letter-spacing: 0; }
 .rental-scene-card p br { display: none; }
}

@media (max-width: 767px) { .rental-scene-phrase { display: inline-block; } }

/* Make the second slide discoverable without enlarging the photograph. */
.rental-scenes__controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 22px; width: 240px; max-width: 100%; margin: 10px auto 0; }
.rental-scenes__arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-line); border-radius: 50%; background: transparent; color: var(--color-gold); font-family: Arial, sans-serif; font-size: 30px; line-height: 1; cursor: pointer; }
.rental-scenes__arrow:hover { background: var(--color-panel-warm); }
.rental-scenes__arrow:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.rental-scenes__count { text-align: center; color: var(--color-gold); font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.rental-scenes__pagination .rental-scenes__switches { margin-top: 0; }
.rental-scene-card p { font-size: 14px; line-height: 1.85; letter-spacing: 0; }
.rental-scene-line { display: block; white-space: nowrap; }
@media (min-width: 1200px) { .rental-scenes__cards { width: 600px; } }
@media (max-width: 767px) {
 .rental-scene-card p { font-size: 14px; line-height: 1.85; }
 .home-rental__copy .c-heading { align-self: center; width: 100%; text-align: center; }
 .home-rental__copy .c-heading::after { left: 50%; transform: translateX(-50%); }
}

/* One shared frame for the introduction and contact form. */
.about-frame { padding-block: 100px 120px; }
.contact-form { padding: 120px 110px 112px; }
.contact-form__submit {
  width: min(350px, 100%);
  min-height: 60px;
  padding: 11px 48px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.4;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .contact-form { padding-inline: 60px; }
}
@media (max-width: 767px) {
  .about-frame { padding-block: 80px 88px; }
  .contact-form { padding: 80px 32px 72px; }
}
.c-salon-frame {
  position: relative;
  border: 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, .34);
  box-shadow: inset 0 0 0 3px var(--color-line);
}
.c-salon-frame::before {
  position: absolute;
  content: "";
  inset: 25px;
  pointer-events: none;
  border: 2px solid var(--color-line);
  border-radius: 5px;
}
.c-salon-frame__corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  background: url("assets/images/common/corner-arc.svg") center / 100% 100% no-repeat;
}
.c-salon-frame__corner--tl { top: 24px; left: 24px; }
.c-salon-frame__corner--tr { top: 24px; right: 24px; transform: rotate(90deg); }
.c-salon-frame__corner--bl { bottom: 24px; left: 24px; transform: rotate(-90deg); }
.c-salon-frame__corner--br { bottom: 24px; right: 24px; transform: rotate(180deg); }

/* All heading ornaments use the same short, uninterrupted gold rule. */
:is(.about-ornament, .rental-ornament, .contact-ornament, .schedule-hero__ornament, .news-hero__ornament, .c-document-hero__ornament)[aria-hidden="true"] {
  display: flex;
  align-items: center;
  width: 59px;
  height: 12px;
  gap: 0;
  color: var(--color-line);
}
:is(.about-ornament, .rental-ornament, .contact-ornament, .schedule-hero__ornament, .news-hero__ornament, .c-document-hero__ornament)::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-line);
}
:is(.about-ornament, .rental-ornament, .contact-ornament, .schedule-hero__ornament, .news-hero__ornament, .c-document-hero__ornament)::after,
:is(.about-ornament, .rental-ornament, .contact-ornament, .schedule-hero__ornament, .news-hero__ornament, .c-document-hero__ornament) i {
  display: none;
}
.c-heading::after,
:is(.home-about__copy, .home-rental__copy, .home-news__heading, .home-access__copy) .c-heading::after {
  background: var(--color-line);
  opacity: 1;
}

.home-rental__inner { gap: 46px; }
@media (min-width: 1200px) and (max-width: 1300px) {
  .home-rental__inner { gap: 20px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .home-rental__inner { gap: 28px; }
}
@media (max-width: 767px) {
  .c-salon-frame::before { inset: 9px; }
  .c-salon-frame__corner--tl { top: 8px; left: 8px; }
  .c-salon-frame__corner--tr { top: 8px; right: 8px; }
  .c-salon-frame__corner--bl { bottom: 8px; left: 8px; }
  .c-salon-frame__corner--br { bottom: 8px; right: 8px; }
  .home-rental__inner { gap: 32px; }
  .home-rental__copy .c-heading { margin-bottom: 0; }
}
