@charset "UTF-8";
/*
Theme Name: kahou
Theme URI: http://
Author:
Author URI:
Description:
Version: 1.1
*/

/* =========================================================
  01. Design tokens
========================================================= */
:root {
  --color-base: #ffffff;
  --color-bg: #f8f5ef;
  --color-bg-soft: #fbfaf7;
  --color-text: #222222;
  --color-text-light: #666666;
  --color-main: #9e1b1b;
  --color-main-dark: #741111;
  --color-accent: #d8b45b;
  --color-border: #e7e0d4;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --header-height: 82px;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 72px;
  --space-xxxl: 96px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.07);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* =========================================================
  02. Reset / base
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.85;
  letter-spacing: 0.03em;
  background: var(--color-base);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/* =========================================================
  03. Layout / common components
========================================================= */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-xxxl) 0;
}

.section-kicker {
  margin: 0 0 var(--space-xs);
  color: var(--color-main);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0.04em;
}

.section-lead {
  max-width: 720px;
  margin: var(--space-md) auto 0;
  color: var(--color-text-light);
  font-size: 16px;
}

.section-heading {
  margin-bottom: var(--space-xl);
}

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

.section-heading--between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-md);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: var(--color-main);
  box-shadow: 0 10px 22px rgba(158, 27, 27, 0.18);
}

.button--primary:hover {
  background: var(--color-main-dark);
}

.button--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.button--outline {
  color: var(--color-main);
  border-color: var(--color-main);
  background: #ffffff;
}

.button--light {
  color: var(--color-main);
  background: #ffffff;
}

.button--outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-main);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.text-link:hover::after {
  transform: translateX(6px);
}

/* =========================================================
  04. Header / navigation
========================================================= */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 224, 212, 0.9);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
}

.site-logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-logo__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.site-logo__group {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.site-logo__dojo {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.site-logo__sub {
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.global-nav__link {
  position: relative;
  font-size: 13px;
  font-weight: 800;
}

.global-nav__link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.global-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle,
.hamburger {
  display: none;
}

/* =========================================================
  05. Front page: hero
========================================================= */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 720px;
  padding-top: var(--header-height);
  overflow: hidden;
  color: #ffffff;
  background: #111111;
}

.hero__slider,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slider {
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroSlider 24s infinite;
}

.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }
.hero__slide:nth-child(4) { animation-delay: 18s; }

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroSlideZoom 24s infinite;
}

.hero__slide:nth-child(1) .hero__slide-img { animation-delay: 0s; }
.hero__slide:nth-child(2) .hero__slide-img { animation-delay: 6s; }
.hero__slide:nth-child(3) .hero__slide-img { animation-delay: 12s; }
.hero__slide:nth-child(4) .hero__slide-img { animation-delay: 18s; }

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-xxl) 0;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--space-md);
  color: #f1d484;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero__label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero__title {
  max-width: 800px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.hero__text {
  max-width: 620px;
  margin: var(--space-lg) 0 0;
  font-size: 17px;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* =========================================================
  06. Front page sections
========================================================= */
/* About */
.about {
  background: #ffffff;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: var(--space-xxl);
  align-items: center;
}

.about__text {
  margin: var(--space-md) 0 0;
  color: var(--color-text-light);
}

.about__image {
  position: relative;
}

.about__image::before {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 70%;
  height: 70%;
  content: "";
  background: var(--color-main);
  border-radius: var(--radius-lg);
}

.about__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Training summary */
.training {
  background: var(--color-bg);
}
.training-place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.training-place-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.training-place-card__day {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  background: var(--color-main);
  border-radius: var(--radius-pill);
}

.training-place-card__title {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.4;
}

.training-place-card__address {
  margin: 10px 0 0;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
}

.training-place-card__schedule {
  display: grid;
  gap: 1px;
  margin: var(--space-md) 0 0;
  overflow: hidden;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.training-place-card__schedule div {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
}

.training-place-card__schedule dt,
.training-place-card__schedule dd {
  margin: 0;
  padding: 10px 14px;
}

.training-place-card__schedule dt {
  color: var(--color-main);
  font-size: 13px;
  font-weight: 800;
  background: #fbf8f2;
}

.training-place-card__schedule dd {
  font-size: 16px;
  font-weight: 900;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.info-card {
  padding: 30px;
  background: #ffffff;
}

.info-card__label {
  margin: 0 0 8px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 800;
}

.info-card__title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
}

.info-card__text {
  margin: 12px 0 0;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.75;
}

.training__more {
  margin-top: var(--space-lg);
  text-align: center;
}

/* Activity / event cards */
.activity {
  background: #ffffff;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.activity-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.activity-card__img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-card__img {
  transform: scale(1.04);
}

.activity-card__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 6px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-pill);
}

.activity__more {
  margin-top: var(--space-lg);
  text-align: center;
}

/* Message */
.message {
  background: var(--color-bg-soft);
}

.message__inner {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1fr);
  gap: var(--space-xxl);
  align-items: center;
}

.message__img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.message__name {
  margin: var(--space-lg) 0 var(--space-md);
  font-size: 25px;
  font-weight: 800;
}

.message__name span {
  margin-left: 8px;
  color: var(--color-main);
  font-size: 15px;
}

.message__text {
  margin: 0;
  color: var(--color-text-light);
}

/* Trial */
.trial {
  background: #ffffff;
}

.trial__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: var(--space-xl);
  align-items: center;
}

.trial__text {
  margin: var(--space-md) 0 0;
  color: var(--color-text-light);
}

.trial-box {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.trial-box__title {
  margin: 0 0 var(--space-md);
  font-size: 22px;
  line-height: 1.45;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  color: #ffffff;
  font-size: 11px;
  content: "✓";
  background: var(--color-main);
  border-radius: 50%;
}

.trial-box__note {
  margin: var(--space-md) 0 0;
  padding-top: var(--space-md);
  color: var(--color-text-light);
  font-size: 14px;
  border-top: 1px solid var(--color-border);
}

.trial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.trial__image {
  position: relative;
}

.trial__image::before {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 72%;
  height: 72%;
  content: "";
  background: var(--color-main);
  border-radius: var(--radius-lg);
}

.trial__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* News / blog */
.news {
  background: var(--color-bg);
}

.news-list {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-md);
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item__date {
  color: var(--color-main);
  font-size: 14px;
  font-weight: 800;
}

.news-item__title {
  font-weight: 800;
}

.news-item__title:hover {
  color: var(--color-main);
}

/* Contact CTA */
.contact-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-xxxl) 0;
  color: #ffffff;
  text-align: center;
  background: #181818;
}

.contact-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  transform: scale(1.03);
}

.contact-cta::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(36, 12, 12, 0.68);
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
}

.contact-cta .section-kicker {
  color: #f1d484;
}

.contact-cta__title {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.35;
}

.contact-cta__text {
  max-width: 720px;
  margin: var(--space-md) auto 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* =========================================================
  07. Lower page common
========================================================= */
.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 260px;
  padding-top: var(--header-height);
  overflow: hidden;
  color: #ffffff;
  background: #181818;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: var(--page-hero-image, url("images/PXL_20260501_110526198.webp"));
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transform: scale(1.03);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(36, 12, 12, 0.72);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding: 56px 0 48px;
}

.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--space-sm);
  color: #f1d484;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-hero__label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.page-hero__text {
  max-width: 680px;
  margin: var(--space-md) 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.page-content {
  background: var(--color-bg);
}

.page-content__body {
  max-width: 960px;
  margin-inline: auto;
  padding: var(--space-xl);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.page-content__body > *:first-child {
  margin-top: 0;
}

.page-content__body > *:last-child {
  margin-bottom: 0;
}

.page-content__body h2 {
  margin: var(--space-xl) 0 var(--space-md);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.45;
}

.page-content__body p {
  color: var(--color-text-light);
}

/* Contact Form 7 */
.page-content__body .wpcf7 {
  max-width: 720px;
  margin-inline: auto;
}

.page-content__body .wpcf7 p {
  margin: 0 0 24px;
  color: var(--color-text);
  font-weight: 800;
}

.page-content__body .wpcf7 input[type="text"],
.page-content__body .wpcf7 input[type="email"],
.page-content__body .wpcf7 textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  color: var(--color-text);
  font: inherit;
  font-weight: 400;
  line-height: 1.6;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.page-content__body .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.page-content__body .wpcf7 input[type="text"]:focus,
.page-content__body .wpcf7 input[type="email"]:focus,
.page-content__body .wpcf7 textarea:focus {
  outline: 2px solid rgba(158, 27, 27, 0.18);
  border-color: var(--color-main);
}

.page-content__body .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 36px;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  background: var(--color-main);
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.page-content__body .wpcf7-submit:hover {
  transform: translateY(-2px);
  background: var(--color-main-dark);
}

.page-content__body .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 400;
}

.page-content__body .wpcf7-response-output {
  margin: var(--space-md) 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius-sm);
}

.contact-form__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
}

.contact-form__label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  background: var(--color-main);
  border-radius: var(--radius-pill);
}
.contact-form__help {
  margin: 0;
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}
/* =========================================================
  08. Schedule page
========================================================= */
.schedule-page {
  background: var(--color-bg);
}

.schedule-lead {
  max-width: 880px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg);
  color: var(--color-text-light);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.schedule-lead p {
  margin: 0;
}

.schedule-year {
  margin-top: var(--space-xxl);
}

.schedule-year:first-of-type {
  margin-top: 0;
}

.schedule-year__title {
  position: relative;
  margin: 0 0 var(--space-lg);
  padding-left: 18px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.schedule-year__title::before {
  position: absolute;
  top: 0.12em;
  bottom: 0.12em;
  left: 0;
  width: 5px;
  content: "";
  background: var(--color-main);
  border-radius: var(--radius-pill);
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.schedule-item--future {
  border-left: 5px solid var(--color-main);
}

.schedule-item__date {
  color: var(--color-main);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.schedule-item__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.schedule-item__text {
  margin: 3px 0 0;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.6;
}

.schedule-item__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 28px;
  padding: 0 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: #777777;
  border-radius: var(--radius-pill);
}

.schedule-item__status--cancel {
  background: #444444;
}

.schedule-item.is-ended {
  opacity: 0.82;
}

.schedule-item.is-ended .schedule-item__title {
  color: var(--color-text-light);
}

.past-schedule {
  margin-top: var(--space-xxxl);
}

.past-schedule__list {
  display: grid;
  gap: var(--space-md);
  max-width: 960px;
  margin-inline: auto;
}

.past-schedule__year {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.past-schedule__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  color: var(--color-text);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.past-schedule__summary::-webkit-details-marker {
  display: none;
}

.past-schedule__summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.past-schedule__year[open] .past-schedule__summary::after {
  transform: rotate(225deg);
}

.past-schedule__items {
  padding: 0 24px 24px;
}

/* =========================================================
  09. Training place page
========================================================= */
.training-place-page {
  background: var(--color-bg);
}

.training-place-lead {
  max-width: 880px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg);
  color: var(--color-text-light);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.training-place-lead p {
  margin: 0;
}

.place-list {
  display: grid;
  gap: var(--space-lg);
}

.place-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
  padding: var(--space-lg);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.place-card__image {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.place-card__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.place-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.place-card__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin: 0 0 12px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  background: var(--color-main);
  border-radius: var(--radius-pill);
}

.place-card__title {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.35;
}

.place-schedule {
  display: grid;
  gap: 1px;
  margin: var(--space-md) 0 0;
  overflow: hidden;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.place-schedule__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: stretch;
  background: #ffffff;
}

.place-schedule dt,
.place-schedule dd {
  margin: 0;
  padding: 16px 18px;
}

.place-schedule dt {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 100%;
  color: var(--color-main);
  font-weight: 800;
  background: #fbf8f2;
}

.place-schedule dd {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 18px;
  font-weight: 900;
}

.place-card__actions {
  margin-top: var(--space-lg);
}

.place-card__address {
  margin: 10px 0 0;
  color: var(--color-text-light);
  font-size: 14px;
}

.place-card__map {
  margin-top: var(--space-md);
  overflow: hidden;
  height: 260px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.place-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.training-place-note {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.training-place-note__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.4;
}

.training-place-note p {
  max-width: 720px;
  margin: 0 auto var(--space-md);
  color: var(--color-text-light);
}

/* =========================================================
  10. Fee page
========================================================= */
.fee-page {
  background: var(--color-bg);
}

.fee-card {
  max-width: 960px;
  margin-inline: auto;
  padding: var(--space-xl);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.fee-card__head {
  text-align: center;
}

.fee-card__body {
  max-width: 720px;
  margin: var(--space-lg) auto 0;
  color: var(--color-text-light);
}

.fee-card__body p {
  margin: 0;
}

.fee-card__body p + p {
  margin-top: var(--space-md);
}

.fee-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: var(--space-xl);
  overflow: hidden;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.fee-summary__item {
  padding: 28px;
  background: #ffffff;
  text-align: center;
}

.fee-summary__label {
  margin: 0 0 8px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 800;
}

.fee-summary__text {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.fee-contact {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  text-align: center;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}

.fee-contact__label {
  margin: 0 0 8px;
  color: var(--color-text-light);
  font-size: 14px;
}

.fee-contact__tel {
  display: inline-block;
  color: var(--color-main);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.fee-contact__name {
  margin: 10px 0 0;
  color: var(--color-text-light);
  font-size: 14px;
}

.fee-note {
  max-width: 960px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-xl);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.fee-note__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.4;
}

.fee-note p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-light);
}

.fee-note__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* =========================================================
  11. Footer
========================================================= */
.site-footer {
  color: #ffffff;
  background: #111111;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.site-logo--footer .site-logo__mark {
  background: #ffffff;
}

.site-logo--footer .site-logo__sub,
.site-footer__text {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__text {
  max-width: 440px;
  margin: var(--space-md) 0 0;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  max-width: 520px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.footer-nav a:hover {
  color: #ffffff;
}

.site-footer__copy {
  margin: 0;
  padding: var(--space-md) 24px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================
  12. Animations
========================================================= */
@keyframes heroSlider {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  22% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes heroSlideZoom {
  0% {
    transform: scale(1.04);
  }

  30% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* =========================================================
  13. Responsive: tablet / small PC
========================================================= */
@media (max-width: 1199px) {
  :root {
    --header-height: 76px;
    --space-xxxl: 80px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .global-nav__list {
    gap: 18px;
  }

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

  .about__inner,
  .message__inner,
  .trial__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

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

  .trial__img {
    height: 460px;
  }

  .place-card {
    grid-template-columns: 1fr;
  }

  .place-card__img {
    height: 320px;
  }
}

/* =========================================================
  14. Responsive: smartphone
========================================================= */
@media (max-width: 767px) {
  :root {
    --header-height: 66px;
    --space-xl: 40px;
    --space-xxl: 56px;
    --space-xxxl: 64px;
  }

  body {
    line-height: 1.75;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: var(--space-xxl) 0;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .section-heading--between {
    display: block;
  }

  .section-heading--between .text-link {
    margin-top: var(--space-md);
  }

  /* Header */
  .site-logo__mark {
    width: 44px;
    height: 44px;
  }

  .site-logo__group {
    font-size: 10px;
  }

  .site-logo__dojo {
    font-size: 15px;
  }

  .site-logo__sub {
    font-size: 10px;
  }

  .site-header__inner {
    position: relative;
  }

  .hamburger {
    position: relative;
    z-index: 120;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    cursor: pointer;
  }

  .hamburger__line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .global-nav {
    position: fixed;
    z-index: 110;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: block;
    padding: 20px 16px 28px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .global-nav__list {
    display: grid;
    gap: 0;
  }

  .global-nav__list li {
    border-bottom: 1px solid var(--color-border);
  }

  .global-nav__link {
    display: block;
    padding: 15px 4px;
    font-size: 15px;
  }

  .global-nav__link::after {
    display: none;
  }

  .nav-toggle:checked ~ .global-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle:checked ~ .hamburger .hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .hamburger .hamburger__line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .hamburger .hamburger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Front page */
  .hero {
    min-height: 660px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.46)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 45%);
  }

  .hero__label {
    font-size: 12px;
  }

  .hero__label::before {
    width: 30px;
  }

  .hero__title {
    font-size: clamp(36px, 11vw, 50px);
  }

  .hero__text {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero__actions,
  .trial__actions,
  .contact-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .about__inner,
  .message__inner,
  .trial__inner {
    grid-template-columns: 1fr;
  }

  .about__image,
  .trial__image {
    order: -1;
  }

  .about__image::before,
  .trial__image::before {
    right: -10px;
    bottom: -10px;
  }

  .about__img,
  .message__img,
  .trial__img {
    height: 340px;
  }

  .training-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 24px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 20px;
  }

  /* Lower page common */
  .page-hero {
    min-height: 230px;
  }

  .page-hero__inner {
    padding: 44px 0 38px;
  }

  .page-hero__label {
    font-size: 12px;
  }

  .page-hero__label::before {
    width: 30px;
  }

  .page-content__body {
    padding: var(--space-md);
  }

  /* Schedule */
  .schedule-lead {
    padding: var(--space-md);
  }

  .schedule-year {
    margin-top: var(--space-xl);
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 20px;
  }

  .schedule-item__date {
    font-size: 14px;
  }

  .schedule-item__status {
    width: fit-content;
  }

  .past-schedule {
    margin-top: var(--space-xxl);
  }

  .past-schedule__summary {
    padding: 18px 20px;
    font-size: 19px;
  }

  .past-schedule__items {
    padding: 0 16px 18px;
  }

  /* Training place */
  .training-place-lead,
  .training-place-note,
  .place-card {
    padding: var(--space-md);
  }

  .place-card__img {
    height: 260px;
    min-height: 260px;
  }

  .place-schedule__row {
    grid-template-columns: 1fr;
  }

  .place-schedule dt,
  .place-schedule dd {
    padding: 12px 14px;
  }

  .place-schedule dt {
    height: auto;
    min-height: auto;
  }

  .place-schedule dd {
    font-size: 17px;
  }

  /* Fee */
  .fee-card,
  .fee-note {
    padding: var(--space-md);
  }

  .fee-summary {
    grid-template-columns: 1fr;
  }

  .fee-summary__item {
    padding: 22px;
  }

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

  /* Footer */
  .site-footer__inner {
    display: block;
  }

  .footer-nav {
    justify-content: flex-start;
    margin-top: var(--space-lg);
  }
}
/* Blog */
.blog-page {
  background: var(--color-bg);
}

.blog-list {
  display: grid;
  gap: var(--space-lg);
  max-width: 960px;
  margin-inline: auto;
}

.blog-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-lg);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.blog-card__date {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: var(--space-sm);
  padding: 5px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  background: var(--color-main);
  border-radius: var(--radius-pill);
}

.blog-card__image-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.blog-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.blog-card__image-button:hover .blog-card__img {
  transform: scale(1.03);
}

.blog-card__body {
  margin-top: 0;
}

.blog-card__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.45;
}

.blog-card__text {
  margin-top: var(--space-sm);
  color: var(--color-text-light);
}

.blog-card__text p {
  margin: 0;
}

.blog-card__text p + p {
  margin-top: 0.8em;
}

@media (max-width: 767px) {
  .blog-card {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .blog-card__img {
    aspect-ratio: 4 / 3;
  }

  .blog-card__title {
    font-size: 22px;
  }
}
/* Blog image lightbox */
body.is-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.image-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(1000px, 92vw);
  max-height: 88vh;
  padding: 14px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.image-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.image-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  background: var(--color-main);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.image-lightbox__caption {
  margin: 10px 0 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 767px) {
  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox__content {
    padding: 10px;
  }

  .image-lightbox__close {
    top: -10px;
    right: -10px;
  }

@media (max-width: 1199px) {
  .training-place-grid {
    grid-template-columns: 1fr;
  }

  .training-place-card {
    padding: 26px;
  }
}

@media (max-width: 767px) {
  .training-place-grid {
    gap: var(--space-md);
  }

  .training-place-card {
    padding: var(--space-md);
  }

  .training-place-card__title {
    font-size: 22px;
  }
}
}