/*
Theme Name: Repro23
Theme URI: https://repro23.com/
Description: Rotary Engine Proshop Repro23 custom theme.
Author: Appoint.inc
Version: 1.0.0
Text Domain: repro23
*/

/* =========================
   表示切り替え
========================= */
.pc { display: block !important; }
.sp { display: none !important; }

@media only screen and (max-width: 787px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
}

/* =========================
   カラーパレット / 変数
========================= */
:root {
  --repro-bg: #030303;
  --repro-bg-2: #111111;
  --repro-bg-3: #1d1d1d;
  --repro-panel: #181818;
  --repro-panel-soft: #262626;
  --repro-line: rgba(255, 255, 255, 0.10);
  --repro-line-strong: rgba(255, 255, 255, 0.18);
  --repro-accent: #d63b28;
  --repro-accent-dark: #972718;
  --repro-text: #f5f3ef;
  --repro-subtext: #b9b3aa;
  --repro-muted: #908a82;
  --repro-gold: #d1b16b;
  --repro-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  --repro-shadow-glow: 0 0 0 1px rgba(214, 59, 40, 0.10), 0 0 26px rgba(214, 59, 40, 0.18);
  --repro-radius: 14px;
  --repro-radius-sm: 10px;
  --repro-width: 1180px;
  --repro-width-narrow: 820px;
}

/* =========================
   ベース
========================= */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 24%),
    linear-gradient(180deg, #090909 0%, #050505 100%);
  color: var(--repro-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: var(--repro-text);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a:hover {
  text-decoration: none;
}

.l-main--front {
  overflow: hidden;
}

/* =========================
   レスポンシブ埋め込み
========================= */
.ggmap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 787px){
  .ggmap {
    padding-bottom: 100%;
  }
}

.youtube2 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.youtube2 iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* =========================
   ヘッダー
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  background: rgba(4, 4, 4, 0.94);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(214,59,40,0.14), 0 4px 20px rgba(0,0,0,0.3);
}

.site-header__inner {
  max-width: var(--repro-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__logo {
  display: block;
  height: 34px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.site-header__logo-link:hover .site-header__logo {
  opacity: 1;
}

/* =========================
   グローバルナビ（PC）
========================= */
.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 16px;
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
}

/* ホバー・アクティブで赤アンダーライン（左から伸びる） */
.nav-menu > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--repro-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a,
.nav-menu > li.current-page-ancestor > a {
  color: #fff;
  background: rgba(255,255,255,0.14);
}

.nav-menu > li > a:hover::before,
.nav-menu > li.current-menu-item > a::before,
.nav-menu > li.current-menu-ancestor > a::before,
.nav-menu > li.current-page-ancestor > a::before {
  transform: scaleX(1);
}

/* 子メニューあり → ホバー時のみアンダーライン非表示（ドロップダウン上ボーダーで代替） */
.nav-menu > li.menu-item-has-children:hover > a::before {
  display: none;
}

/* 子メニューあり → 矢印 */
.nav-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s;
}

.nav-menu > li:hover > a::after {
  opacity: 0.9;
  transform: rotate(45deg) translateY(0px);
}

/* ドロップダウン */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: rgba(32,32,32,0.98);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: none;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ドロップダウン上部の赤バー（scaleXアニメーション） */
.nav-menu .sub-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--repro-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease 0.1s;
}

.nav-menu > li:hover > .sub-menu::before {
  transform: scaleX(1);
}

.nav-menu .sub-menu li {
  position: relative;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px 10px 22px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
  border-left: 2px solid transparent;
}

.nav-menu .sub-menu li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
  border-left-color: var(--repro-accent);
}

/* =========================
   ハンバーガーボタン
========================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.22s ease, background 0.2s;
}

.nav-toggle:hover .nav-toggle__bar {
  background: #fff;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* サブメニュートグルボタン（PC時は非表示） */
.submenu-toggle {
  display: none;
}

/* =========================
   モバイルナビ
========================= */
@media (max-width: 840px) {
  .nav-toggle {
    display: flex;
  }

  .site-header__nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(32,32,32,0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0 20px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
  }

  .nav-menu > li > a {
    height: auto;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  /* モバイルではアンダーライン非表示 */
  .nav-menu > li > a::before {
    display: none;
  }

  .nav-menu > li.menu-item-has-children > a::after {
    display: none;
  }

  /* サブメニュートグルボタン */
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    background: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    padding: 0;
  }

  .submenu-toggle__arrow {
    display: block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(255,255,255,0.5);
    border-bottom: 1.5px solid rgba(255,255,255,0.5);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease, border-color 0.2s;
  }

  .nav-menu > li.is-open > a + .submenu-toggle .submenu-toggle__arrow {
    transform: rotate(-135deg) translateY(2px);
    border-color: var(--repro-accent);
  }

  /* モバイルでは子メニューは閉じた状態からアニメーションでトグル */
  .nav-menu .sub-menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.32s ease, padding 0.32s ease;
    pointer-events: auto;
    border: none;
    border-top: none;
    background: rgba(255,255,255,0.05);
    min-width: 0;
    padding: 0;
    box-shadow: none;
  }

  .nav-menu > li.is-open > .sub-menu {
    max-height: 600px;
    padding: 4px 0;
  }

  .nav-menu .sub-menu li a {
    padding: 11px 20px 11px 36px;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.5);
  }

  .nav-menu .sub-menu li a:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.04);
    border-left: none;
  }
}

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--repro-muted);
  padding: 28px 16px;
}

.site-footer__inner {
  max-width: var(--repro-width);
  margin: 0 auto;
  text-align: center;
}

.site-footer a {
  color: var(--repro-text);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin: 0 0 20px;
  padding: 0;
}

.footer-menu a {
  font-size: 0.82rem;
  color: var(--repro-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-menu a:hover {
  color: var(--repro-text);
}

.site-footer__logo {
  text-align: center;
  margin-bottom: 16px;
}

.site-footer__logo img {
  height: 40px;
  width: auto;
  opacity: 0.9;
}

.site-footer__copy {
  display: block;
  font-size: 0.78rem;
}

/* =========================
   共通レイアウト
========================= */
.section {
  position: relative;
  padding: 96px 20px;
}

.section__inner {
  max-width: var(--repro-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section__inner--narrow {
  max-width: var(--repro-width-narrow);
}

.section__eyebrow {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  color: var(--repro-gold);
  font-weight: 700;
}

.section__eyebrow--left {
  text-align: left;
}

.section__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--repro-text);
}

.section__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--repro-accent);
  box-shadow: 0 0 12px rgba(214, 59, 40, 0.3);
}

.section__title--left {
  text-align: left;
}

.section__title--left::after {
  margin-left: 0;
  margin-right: 0;
}

.section__lead,
.section__text {
  color: var(--repro-subtext);
  font-size: 0.98rem;
  line-height: 1.9;
  margin-top: 22px;
  margin-bottom: 0;
}

.section__lead--center,
.section__text--center {
  text-align: center;
}

.section__action {
  margin-top: 34px;
  text-align: center;
}

/* =========================
   ボタン
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  text-align: center;
  box-sizing: border-box;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(180deg, #e14d38 0%, #bf301e 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 10px 22px rgba(214, 59, 40, 0.26);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #e85a46 0%, #c5321f 100%);
}

.btn--ghost {
  background: rgba(255,255,255,0.02);
  color: #fff;
  border-color: rgba(255,255,255,0.24);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.42);
}

.btn--secondary {
  background: linear-gradient(180deg, #303030 0%, #202020 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.14);
}

.btn--secondary:hover {
  background: linear-gradient(180deg, #393939 0%, #252525 100%);
}

.btn--tel {
  background: linear-gradient(180deg, #1e9f85 0%, #187864 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.08);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  background: #000;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  max-width: var(--repro-width);
  margin: 0 auto;
  position: relative;
}

.hero__media .metaslider,
.hero__media .metaslider .flexslider {
  margin-bottom: 0 !important;
}

.hero__media .metaslider img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 28%, rgba(0,0,0,0.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.12) 42%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: var(--repro-width);
  margin: 0 auto;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 48px 20px 36px;
  box-sizing: border-box;
}

.hero__copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero__label {
  margin: 0 0 14px;
  color: #e4cf84;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0,0,0,0.8);
}

.hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: 0.08em;
  font-weight: 900;
  text-shadow:
    0 6px 18px rgba(0,0,0,0.85),
    0 0 26px rgba(0,0,0,0.85);
}

.hero__title-logo {
  display: block;
  margin: 14px auto 0;
  max-width: 340px;
  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 18px rgba(0, 0, 0, 0.7));
}

.hero__title-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__lead {
  margin: 24px auto 0;
  max-width: 700px;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  justify-content: center;
}

/* =========================
   INTRO
========================= */
.section--intro {
  background:
    linear-gradient(180deg, #070707 0%, #0b0b0b 100%);
}

.section--intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(255,255,255,0.02) 50%, transparent 100%);
  pointer-events: none;
}

.intro__text {
  margin: 28px 0 0;
  color: var(--repro-subtext);
  text-align: center;
  font-size: 1.02rem;
  line-height: 2.1;
  padding: 0 10px;
}

/* =========================
   SERVICE
========================= */
.section--service {
  background:
    linear-gradient(180deg, #303030 0%, #272727 100%);
}

.service {
  margin-top: 38px;
}

.service__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--repro-radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.18) 100%),
    #191919;
  border: 1px solid var(--repro-line);
  box-shadow: var(--repro-shadow);
  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--repro-accent) 0%, transparent 70%);
  opacity: 0.9;
  transition: opacity .28s ease, filter .28s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.24);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(214, 59, 40, 0.20),
    0 0 34px rgba(214, 59, 40, 0.24),
    0 0 58px rgba(214, 59, 40, 0.18);
}

.service-card:hover::before {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(214, 59, 40, 0.55));
}

.service-card__thumb {
  width: 100%;
  /*aspect-ratio: 16 / 9;*/
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.service-card:hover .service-card__thumb img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 22px 20px 20px;
}

.service-card__label {
  margin: 0 0 8px;
  color: var(--repro-gold);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.service-card__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--repro-text);
}

.service-card__text {
  margin: 0 0 18px;
  color: var(--repro-subtext);
  font-size: 0.92rem;
  line-height: 1.8;
}

.service-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card__cta {
  display: block;
  text-align: right;
  color: var(--repro-accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-card:hover .service-card__cta {
  color: #ff6a55;
}

.service__mini-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.service-mini-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--repro-radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.18) 100%),
    #191919;
  border: 1px solid var(--repro-line);
  box-shadow: var(--repro-shadow);
  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.service-mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--repro-accent) 0%, transparent 70%);
  opacity: 0.9;
  transition: opacity .28s ease, filter .28s ease;
  pointer-events: none;
}

.service-mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.24);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(214, 59, 40, 0.20),
    0 0 34px rgba(214, 59, 40, 0.24),
    0 0 58px rgba(214, 59, 40, 0.18);
}

.service-mini-card:hover::before {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(214, 59, 40, 0.55));
}

.service-mini-card__body {
  padding: 20px 18px;
}

.service-mini-card__title {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--repro-text);
}

.service-mini-card__text {
  margin: 0;
  color: var(--repro-subtext);
  font-size: 0.85rem;
  line-height: 1.8;
}

@media (max-width: 960px) {
  .service__mini-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service__mini-list {
    grid-template-columns: 1fr;
  }
}

/* =========================
   サービスページ共通（エンジンOH・レストア）
========================= */
.sp-lead {
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
  color: var(--repro-subtext);
  font-size: 1.05rem;
  line-height: 2;
}

.sp-block {
  margin-bottom: 80px;
}

.sp-block__inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.sp-block--reverse .sp-block__inner {
  flex-direction: row-reverse;
}

.sp-block__img {
  flex: 0 0 44%;
  border-radius: var(--repro-radius);
  overflow: hidden;
}

.sp-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.sp-block__text {
  flex: 1;
}

.sp-block__text .sp-block__eyebrow {
  color: var(--repro-gold);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin: 0 0 12px;
}

.sp-block__title {
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 0 0 20px;
  color: var(--repro-text);
}

.sp-block__text p {
  color: var(--repro-subtext);
  font-size: 0.95rem;
  line-height: 2;
  margin: 0 0 16px;
}

.sp-block__text p:last-child {
  margin-bottom: 0;
}

.sp-block__list {
  color: var(--repro-subtext);
  font-size: 0.95rem;
  line-height: 2;
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.sp-block__list li {
  margin-bottom: 4px;
}

.sp-cta {
  text-align: center;
  padding: 56px 0 72px;
  border-top: 1px solid var(--repro-line);
  margin-bottom: 72px;
}

.sp-cta__text {
  color: var(--repro-subtext);
  margin: 0 0 24px;
  font-size: 1rem;
}

/* ギャラリー（レストア） */
.sp-gallery {
  border-top: 1px solid var(--repro-line);
  padding-top: 64px;
}

.sp-gallery__title {
  text-align: center;
  font-size: 1.5rem;
  margin: 12px 0 40px;
  color: var(--repro-text);
}

.sp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sp-gallery__item {
  border-radius: var(--repro-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.sp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.sp-gallery__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 860px) {
  .sp-block__inner {
    flex-direction: column;
    gap: 28px;
  }

  .sp-block--reverse .sp-block__inner {
    flex-direction: column;
  }

  .sp-block__img {
    flex: none;
    width: 100%;
  }

  .sp-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sp-gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   WORKS
========================= */
.section--works {
  background: #050505;
}

.works {
  margin-top: 38px;
}

.works__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.works-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--repro-radius);
  background: linear-gradient(180deg, #303030 0%, #272727 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--repro-shadow);
  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.works-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(214,59,40,0.0) 0%,
    rgba(214,59,40,0.55) 18%,
    rgba(214,59,40,0.25) 42%,
    rgba(214,59,40,0.0) 72%
  );
  opacity: 0.7;
  z-index: 1;
  transition: opacity .28s ease, filter .28s ease;
  pointer-events: none;
}

.works-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.24);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(214, 59, 40, 0.24),
    0 0 40px rgba(214, 59, 40, 0.30),
    0 0 72px rgba(214, 59, 40, 0.22);
}

.works-card:hover::before {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(214, 59, 40, 0.55));
}

.works-card__link {
  display: block;
}

.works-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.works-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.works-card:hover .works-card__thumb img {
  transform: scale(1.05);
}

.works-card__body {
  padding: 18px;
}

.works-card__category {
  margin: 0 0 8px;
  color: var(--repro-accent);
  font-size: 0.78rem;
  line-height: 1.6;
  font-weight: 700;
}

.works-card__title {
  margin: 0;
  color: var(--repro-text);
  font-size: 1rem;
  line-height: 1.55;
}

/* =========================
   PARK
========================= */
.section--park {
  background:
    linear-gradient(180deg, #353535 0%, #2b2b2b 100%);
}

.park {
  display: grid;
  gap: 32px;
}

.park__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--repro-shadow);
  border: 1px solid rgba(255,255,255,0.25);
}

.park__media img {
  width: 100%;
  display: block;
}

.park__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: stretch;
}

.park__main {
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--repro-radius);
  padding: 28px;
}

.park__text {
  margin: 24px 0 0;
  color: var(--repro-subtext);
  line-height: 2;
}

.park__fb-link {
  text-decoration: underline;
  color: var(--repro-text);
}

.park__fb-link:hover {
  color: var(--repro-accent);
}

.park__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.park__feed {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.park-feed {
  background: #171717;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--repro-radius);
  padding: 18px;
  box-shadow: var(--repro-shadow);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.park-feed__title {
  margin: 0 0 14px;
  color: var(--repro-gold);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  text-transform: uppercase;
}

.park-feed__frame {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.park-feed__frame iframe {
  width: 100%;
  display: block;
}

.park-feed__frame--noframe {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  flex: 1;
  text-align: center;
}

.park-feed__fb-note {
  color: var(--repro-subtext);
  font-size: 1rem;
  line-height: 1.7;
  margin: 24px 0 0;
  text-align: center;
}

/* =========================
   USED CARS
========================= */
.section--used {
  background: #050505;
}

.carbase-widget-wrapper {
  margin-top: 36px;
  background: linear-gradient(180deg, #3c3c3c 0%, #313131 100%);
  padding: 26px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--repro-shadow);
}

#carbase-widget {
  width: min(100%, 980px);
  margin: 0 auto;
}

/* =========================
   NEWS
========================= */
.section--news {
  background:
    linear-gradient(180deg, #323232 0%, #292929 100%);
}

.news-panel {
  margin-top: 34px;
  background: var(--repro-panel);
  border: 1px solid var(--repro-line);
  border-radius: var(--repro-radius);
  padding: 8px 24px;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list__item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.news-list__link {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 6px;
  color: var(--repro-text);
}

.news-list__link:hover {
  background: rgba(255,255,255,0.03);
}

.news-list__date {
  color: var(--repro-muted);
  font-size: 0.92rem;
}

.news-list__title {
  color: var(--repro-text);
  font-size: 0.98rem;
}

/* =========================
   CONTACT CTA
========================= */
.section--contact-cta {
  background:
    radial-gradient(circle at center, rgba(214,59,40,0.12) 0%, transparent 42%),
    linear-gradient(135deg, #121212 0%, #090909 100%);
}

/* 中央ボックス */
.contact-cta__box {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(214,59,40,0.08);
  text-align: center;
}

/* タイトル */
.contact-cta__title {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.contact-cta__text {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 26px;
}

/* 電話番号表示 */
.contact-cta__tel {
  margin-bottom: 26px;
}

.contact-cta__tel-label {
  display: block;
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.contact-cta__tel-label--free {
  color: var(--repro-accent);
}

.contact-cta__tel-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.contact-cta__tel-time {
  display: block;
  color: #888;
  font-size: 0.8rem;
  margin-top: 6px;
}

/* ボタンエリア */
.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* 共通ボタン */
.contact-cta__btn {
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all .25s ease;
}

/* フォーム（メインCTA） */
.contact-cta__btn--mail {
  background: var(--repro-accent);
  color: #fff;
  box-shadow: 0 0 18px rgba(214,59,40,0.25);
}

.contact-cta__btn--mail:hover {
  background: #ff6a55;
  box-shadow: 0 0 26px rgba(214,59,40,0.45);
}

/* 電話ボタン（スマホ用） */
.contact-cta__btn--tel {
  background: #2a2a2a;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
}

.contact-cta__btn--tel:hover {
  background: #333;
}

/* PCでは電話ボタンを非表示 */
@media (min-width: 768px) {
  .contact-cta__btn--tel {
    display: none;
  }
}

/* スマホでは電話番号少し小さく */
@media (max-width: 767px) {
  .contact-cta__box {
    padding: 36px 10px;
  }

  .contact-cta__tel-number {
    font-size: 1.6rem;
  }
}

/* =========================
   Facebook旧クラス互換
========================= */
.facebook_wrap {
  width: 100%;
}

.fb-page,
.fb-page span,
.facebook_wrap iframe {
  width: 100% !important;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 1100px) {
  .park__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .service__list,
  .works__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-top: 56px;
    padding-bottom: 48px;
  }
}

@media (max-width: 640px) {
  .section__lead,
  .section__text,
  .intro__text,
  .park__text {
    text-align: left;
  }

  .section__lead--center,
  .section__text--center {
    text-align: left;
  }
  .section {
    padding: 68px 16px;
  }

  .section__title {
    letter-spacing: 0.08em;
  }

  .hero__media {
    max-width: none;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.32) 50%, rgba(0,0,0,0.88) 100%);
  }

  .hero__inner {
    position: static;
    transform: none;
    inset: auto;
    display: block;
    max-width: none;
    padding: 0 16px 28px;
    margin-top: -8px;
  }

  .hero__copy {
    background:
      linear-gradient(180deg, rgba(22,22,22,0.92) 0%, rgba(10,10,10,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px 20px 22px;
    box-shadow: var(--repro-shadow);
    margin-top: -20px;
    position: relative;
    z-index: 3;
  }

  .hero__title-logo {
    max-width: 250px;
    margin-top: 12px;
  }

  .hero__label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .hero__lead {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .intro__text {
    font-size: 0.96rem;
    line-height: 1.95;
    padding: 0;
  }

  .service__list,
  .works__list {
    grid-template-columns: 1fr;
  }

  .news-list__link {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .carbase-widget-wrapper {
    padding: 18px 12px;
  }

  #carbase-widget {
    width: 100%;
  }

  .contact-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-cta__actions .btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    align-items: flex-end;
    padding: 40px 20px 28px;
  }

  .hero__copy {
    background: linear-gradient(180deg, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.68) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px 22px;
    box-sizing: border-box;
    backdrop-filter: blur(2px);
  }

  .hero__title-logo {
    max-width: 300px;
  }
}

/* PAGE HERO
========================= */
.page-hero {
  position: relative;
  width: 100%;
  height: 300px;
  background-image: url('img/bg-h1.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .page-hero {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 1200 / 400;
  }
  .page-hero__inner {
    padding: 16px 20px;
  }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
}

.page-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--repro-accent);
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: #fff;
}

.page-hero__lead {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

/* 固定ページ（汎用・施工事例）
========================= */
.l-main--page {
  padding: 48px 20px 96px;
  max-width: var(--repro-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.page-header {
  margin-bottom: 32px;
  text-align: center;
}

.page-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--repro-text);
}

.page-lead {
  margin: 20px 0 0;
  max-width: var(--repro-width-narrow);
  margin-left: auto;
  margin-right: auto;
  color: var(--repro-subtext);
  font-size: 0.98rem;
  line-height: 1.85;
}

.entry-content {
  color: var(--repro-subtext);
  font-size: 0.98rem;
  line-height: 1.85;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3 {
  color: var(--repro-text);
  margin: 2rem 0 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.entry-content h2 {
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--repro-line);
}

.entry-content h3 {
  font-size: 1.05rem;
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-content a {
  color: var(--repro-accent);
}

.entry-content a:hover {
  color: #ff6a55;
}

.entry-content .wp-block-image {
  margin: 1.5rem 0;
}

.entry-content .wp-block-image img {
  border-radius: var(--repro-radius-sm);
  box-shadow: var(--repro-shadow);
}

.entry-content .wp-block-gallery {
  margin: 1.5rem 0;
  gap: 12px;
}

.entry-content .wp-block-gallery .wp-block-image {
  margin: 0;
}

.entry-content .wp-block-gallery img {
  border-radius: var(--repro-radius-sm);
}

.entry-content .alignwide {
  max-width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.entry-content .alignfull {
  max-width: 100vw;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 施工事例テンプレート */
.l-main--case-study {
  max-width: min(var(--repro-width), 100%);
}

.l-main--used-cars {
  padding: 48px 20px 96px;
  max-width: var(--repro-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.page-header--case-study {
  margin-bottom: 28px;
}

.page-case-study__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--repro-gold);
}

.page-case-study__hero {
  margin: 0 0 36px;
  padding: 0;
  border-radius: var(--repro-radius);
  overflow: hidden;
  border: 1px solid var(--repro-line);
  box-shadow: var(--repro-shadow);
}

.page-case-study__hero-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.entry-content--case-study .wp-block-image + .wp-block-image,
/* ── 施工事例 テンプレートパーツ用レイアウト ── */
.case-row {
  margin-bottom: 2rem;
}

.case-images {
  display: grid;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.case-images--1col { grid-template-columns: 1fr; }
.case-images--2col { grid-template-columns: repeat(2, 1fr); }
.case-images--3col { grid-template-columns: repeat(3, 1fr); }

.case-images img {
  width: 100%;
  height: auto;
  display: block;
}

.case-caption {
  font-size: 0.85rem;
  color: var(--repro-subtext);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .case-images--3col,
  .case-images--2col { grid-template-columns: 1fr; }

  /* WPギャラリーブロック・画像ブロックも全幅に */
  .entry-content--case-study .wp-block-gallery,
  .entry-content--case-study .wp-block-gallery .wp-block-image {
    flex: none;
    width: 100%;
  }
  .entry-content--case-study .wp-block-gallery img,
  .entry-content--case-study .wp-block-image img {
    width: 100%;
    height: auto;
  }
}

.entry-content--case-study .wp-block-gallery + .wp-block-gallery {
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .l-main--page {
    padding: 32px 16px 72px;
  }

  .page-header {
    text-align: left;
  }

  .page-header--case-study {
    text-align: center;
  }
}

/* =========================
   NEWS ARCHIVE
========================= */
.l-main--news-archive {
  padding: 56px 20px 96px;
  max-width: var(--repro-width-narrow);
  margin: 0 auto;
  box-sizing: border-box;
}

.news-archive__empty {
  color: var(--repro-subtext);
  text-align: center;
  padding: 48px 0;
}

.news-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--repro-line);
}

.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--repro-line);
}

.news-card__thumb {
  display: block;
  overflow: hidden;
  border-radius: var(--repro-radius-sm);
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card__thumb:hover img {
  transform: scale(1.04);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card__date {
  font-size: 0.82rem;
  color: var(--repro-muted);
  letter-spacing: 0.05em;
}

.news-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
}

.news-card__title a {
  color: var(--repro-text);
  text-decoration: none;
}

.news-card__title a:hover {
  color: var(--repro-accent);
}

.news-card__excerpt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--repro-subtext);
}

.news-card__more {
  display: block;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--repro-accent);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: right;
}

.news-card__more:hover {
  text-decoration: underline;
}

/* アイキャッチなしの場合 */
.news-card:not(:has(.news-card__thumb)) {
  grid-template-columns: 1fr;
}

@media (max-width: 640px) {
  .news-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card__thumb {
    aspect-ratio: 16 / 9;
  }
}

/* ページネーション */
.news-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.news-pagination .nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--repro-subtext);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.news-pagination .page-numbers:hover {
  background: rgba(255,255,255,0.06);
  color: var(--repro-text);
}

.news-pagination .page-numbers.current {
  background: var(--repro-accent);
  border-color: var(--repro-accent);
  color: #fff;
}

/* =========================
   SINGLE POST
========================= */
.l-main--single {
  padding: 56px 20px 96px;
  max-width: var(--repro-width-narrow);
  margin: 0 auto;
  box-sizing: border-box;
}

.single-article__meta {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--repro-line);
}

.single-article__date {
  font-size: 0.82rem;
  color: var(--repro-muted);
  letter-spacing: 0.05em;
}

.single-article__thumb {
  margin-bottom: 40px;
  border-radius: var(--repro-radius);
  overflow: hidden;
}

.single-article__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-article__nav {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--repro-line);
}

.single-article__nav-prev-next {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.single-article__nav-archive {
  display: flex;
  justify-content: center;
}

.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn--nav-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.btn--nav-disabled:hover {
  transform: none;
}

@media (max-width: 640px) {
  .l-main--news-archive,
  .l-main--single {
    padding: 32px 16px 72px;
  }
}

/* =========================
   HINODE CLASSIC PARK
========================= */

/* メインビジュアル */
.hinode-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.hinode-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hinode-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.hinode-hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
}

.hinode-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--repro-accent);
}

.hinode-hero__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: #fff;
}

@media (max-width: 960px) {
  .hinode-hero { height: 340px; }
}

@media (max-width: 640px) {
  .hinode-hero {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* レイアウト */
.l-main--hinode {
  padding: 64px 20px 96px;
  max-width: var(--repro-width);
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* 各ブロック共通 */
.hinode-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hinode-block__photo {
  border-radius: var(--repro-radius);
  overflow: hidden;
}

.hinode-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hinode-block__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hinode-block__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--repro-accent);
}

.hinode-block__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--repro-text);
}

.hinode-block__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--repro-subtext);
}

.hinode-block__detail {
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 6px 16px;
  font-size: 1rem;
  color: var(--repro-text);
}

.hinode-block__detail dt {
  color: var(--repro-muted);
  font-weight: 600;
}

.hinode-block__detail dd {
  margin: 0;
}

.hinode-block__detail a {
  color: var(--repro-text);
}

.hinode-block__detail a:hover {
  color: var(--repro-accent);
}

/* ホール＋麗燈露 並列行 */
.hinode-inner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hinode-block--park {
  grid-template-columns: 1fr;
}

.hinode-block--hall,
.hinode-block--retro {
  grid-template-columns: 1fr;
}

/* 麗燈露ロゴ */
.hinode-retro-logo {
  display: flex;
}

.hinode-retro-logo__img {
  width: 100%;
  max-width: 260px;
  height: auto;
  background: #fff;
  border-radius: var(--repro-radius-sm);
  padding: 12px 20px;
  box-sizing: border-box;
  display: block;
}

/* Facebook */
.hinode-intro__fb {
  margin-top: 4px;
  line-height: 0;
}

/* Googleマップ */
.hinode-intro__map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--repro-radius);
  overflow: hidden;
  border: 1px solid var(--repro-line);
}

.hinode-intro__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* キャッチコピー */
.hinode-catch {
  text-align: center;
  padding: 16px 0;
}

.hinode-catch__text {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 2;
  color: var(--repro-text);
  letter-spacing: 0.05em;
}

/* ギャラリー */
.hinode-gallery__group + .hinode-gallery__group {
  margin-top: 56px;
}

.hinode-gallery__label {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--repro-accent);
}

.hinode-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hinode-gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hinode-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--repro-radius-sm);
  display: block;
}

.hinode-gallery__caption {
  font-size: 0.85rem;
  color: var(--repro-subtext);
  line-height: 1.6;
}

@media (max-width: 780px) {
  .hinode-block {
    grid-template-columns: 1fr;
  }

  .hinode-inner-row {
    grid-template-columns: 1fr;
  }

  .hinode-intro__map {
    aspect-ratio: 4 / 3;
  }

  .hinode-retro-logo__img {
    max-width: 200px;
  }

  .hinode-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hinode-gallery__grid {
    grid-template-columns: 1fr;
  }

  .l-main--hinode {
    padding: 40px 16px 72px;
    gap: 56px;
  }
}


/* =========================
   お問い合わせページ
========================= */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto 72px;
}

.contact-wrap__lead {
  text-align: center;
  color: var(--repro-subtext);
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 48px;
}

.contact-form-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.18) 100%), #191919;
  border: 1px solid var(--repro-line);
  border-radius: var(--repro-radius);
  padding: 48px 40px;
}

/* CF7フォーム要素 */
.contact-form-box p {
  margin-bottom: 16px;
  color: var(--repro-subtext);
  font-size: 0.95rem;
}

.contact-form-box .wpcf7-form-control-wrap {
  display: block;
  margin-top: 4px;
}

.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box select,
.contact-form-box textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--repro-line);
  border-radius: 4px;
  color: var(--repro-text);
  font-size: 1rem;
  padding: 12px 16px;
  box-sizing: border-box;
  transition: border-color 0.2s;
  font-family: inherit;
}

.contact-form-box input[type="text"]:focus,
.contact-form-box input[type="email"]:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
  outline: none;
  border-color: var(--repro-accent);
}

.contact-form-box select {
  appearance: none;
  cursor: pointer;
}

.contact-form-box select:has(option[value=""]:checked) {
  color: rgba(255,255,255,0.2);
}

.contact-form-box textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.contact-form-box .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #e14d38 0%, #bf301e 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}

.contact-form-box .wpcf7-submit:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .contact-form-box {
    padding: 32px 20px;
  }
}

/* Cloudflare Turnstile バッジを送信ボタンの下に移動・センタリング */
.contact-form-box .wpcf7-form {
  display: flex;
  flex-direction: column;
}

.contact-form-box .cf-turnstile {
  order: 999;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* =========================
   会社概要ページ
========================= */
.about-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.about-lead {
  font-size: 1rem;
  color: var(--repro-subtext);
  line-height: 1.8;
  margin-bottom: 56px;
  text-align: center;
}

/* 代表挨拶 */
.about-greeting {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--repro-line);
}

.about-greeting__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 48px;
}

.about-greeting__img {
  grid-column: 1;
  grid-row: 1 / 3;
}

.about-greeting__img img {
  width: 100%;
  border-radius: var(--repro-radius);
  display: block;
  border: 1px solid var(--repro-line);
}

.about-greeting__heading {
  grid-column: 2;
  grid-row: 1;
  background: var(--repro-panel-soft);
  border-left: 4px solid var(--repro-accent);
  padding: 0 20px 14px;
  margin-bottom: 24px;
  border-radius: 0 6px 6px 0;
}

.about-greeting__eyebrow {
  font-size: 0.72rem;
  color: var(--repro-gold) !important;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.about-greeting__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--repro-text);
  margin-bottom: 0;
}

.about-greeting__body {
  grid-column: 2;
  grid-row: 2;
}

.about-greeting__body p {
  font-size: 1rem;
  color: var(--repro-subtext);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-greeting__sign {
  margin-top: 32px;
  text-align: right;
}

.about-greeting__sign-company {
  font-size: 0.9rem;
  color: var(--repro-subtext);
  margin-bottom: 4px !important;
}

.about-greeting__body .about-greeting__sign-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--repro-text);
  margin-bottom: 0 !important;
  letter-spacing: 0.08em;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.5em;
}

.about-greeting__sign-title {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--repro-subtext);
  letter-spacing: 0.05em;
}

@media only screen and (max-width: 787px) {
  .about-greeting__inner {
    display: flex;
    flex-direction: column;
  }

  .about-greeting__heading { order: 1; }
  .about-greeting__img     { order: 2; }
  .about-greeting__body    { order: 3; }
}

/* 拠点カード（縦積み・左右レイアウト） */
.about-locations {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location-card {
  background: var(--repro-panel);
  border: 1px solid var(--repro-line);
  border-radius: var(--repro-radius);
  overflow: hidden;
}

.location-card__head {
  border-top: 3px solid var(--repro-accent);
  padding: 24px 32px 16px;
}

.location-card__eyebrow {
  font-size: 0.72rem;
  color: var(--repro-gold);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.location-card__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--repro-text);
  line-height: 1.4;
}

.location-card__body {
  display: flex;
  gap: 32px;
  padding: 0 32px 32px;
}

/* 拠点情報 dl */
.location-card__info {
  flex: 1;
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 8px 16px;
  align-content: start;
  font-size: 1rem;
}

.location-card__info dt {
  color: var(--repro-subtext);
  padding-top: 1px;
}

.location-card__info dd {
  color: var(--repro-text);
  line-height: 1.6;
}

.location-card__info a {
  color: var(--repro-text);
  text-decoration: none;
}

.location-card__info a:hover {
  color: var(--repro-accent);
}

/* Google Maps iframe */
.location-card__map {
  flex: 0 0 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--repro-line);
}

.location-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

/* レスポンシブ */
@media only screen and (max-width: 787px) {
  .about-wrap {
    padding: 0;
  }

  .location-card__head {
    padding: 20px 20px 12px;
  }

  .location-card__body {
    flex-direction: column;
    padding: 0 20px 24px;
    gap: 20px;
  }

  .location-card__map {
    flex: none;
  }

  .location-card__map iframe {
    min-height: 200px;
  }
}

/* Turnstile カスタムメッセージ */
.turnstile-custom-msg {
  order: 999;
  text-align: center;
  font-size: 0.85rem;
  color: var(--repro-subtext);
  margin-top: 16px;
  letter-spacing: 0.03em;
}

/* =========================
   PAGE TOP BUTTON
========================= */
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--repro-gold);
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}

.pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pagetop:hover {
  background: var(--repro-gold);
}

.pagetop svg {
  width: 18px;
  height: 18px;
  fill: var(--repro-gold);
  transition: fill 0.2s;
}

.pagetop:hover svg {
  fill: #121212;
}
