@font-face {
  font-family: GenJyuuGothic;
  src: url('theme/font/GenJyuuGothic-Regular-Subset.woff') format('woff');
  font-display: swap;
}

/* The original theme hides content until jQuery runs. Static pages stay readable
   even without JavaScript, with the original layout and artwork preserved. */
body { font-family: GenJyuuGothic, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif; }
.header, .main, .footer { display: block; }
[class*='hp-fadein'] { opacity: 1; transform: none; }
.hero__img-center { transform: scale(1); }
.hero .hero__img-front { transform: rotateY(180deg); }
.hero .hero__img-back { transform: rotateY(0deg); }
.btn-to-top { bottom: 20px; opacity: 1; z-index: 10; }
.header__tel-icon { width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; }
:where([id]) { scroll-margin-top: 90px; }
:focus-visible { outline: 3px solid #806018; outline-offset: 5px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  padding: 12px 16px; margin: 0; clip: auto; background: white; z-index: 10000;
}
.header__sp-menu-btn { cursor: pointer; }
.header__sp-menu-btn[aria-expanded='true'] .header__sp-menu-icon { display: none; }
.header__sp-menu-btn[aria-expanded='true'] .header__sp-close-icon { display: inline; }

.loading { inset: 0; width: 100%; height: 100dvh; overflow: hidden; z-index: 10001; }
.loading[hidden] { display: none !important; }
.intro-pending, .intro-pending body { overflow: hidden; }
.intro-pending .loading { display: block; }
.intro-pending :is(.header, main, .footer, #navigation, .btn-to-top) { visibility: hidden; }
@media (min-width: 768px) {
  .navigation { right: 36px; opacity: 1; }
}
@media (max-width: 767px) {
  html:not(.is-enhanced) .header__sp-menu-btn { display: none; }
  .navigation { max-height: calc(100dvh - 100px); overflow-y: auto; }
  .faq__question { display: block; position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
