:root {
  --color-brand: #ff0000;
  --color-brand-dark: #e60012;
  --color-gold: #fff;
  --color-ink: #1c1b1a;
  --color-muted: #66615c;
  --color-paper: #fffdfa;
  --color-line: #ded8d1;
  --shadow-soft: 0 18px 48px rgb(35 24 15 / 14%);
  --shadow-card: 0 14px 36px rgb(0 0 0 / 28%);
  --radius-large: 24px;
  --radius-medium: 16px;
  --content-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(232 75 27 / 5%) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-brand);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.hero {
  position: relative;
  display: grid;
  min-height: clamp(540px, 82svh, 900px);
  place-items: center;
  overflow: hidden;
  background: url("https://files.hareruyamtg.com/img/usr/lp_2025/lp_2608_okayamaLPbg.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--color-brand) 0 50%, #fff 50%);
  content: "";
}

.hero__art {
  width: min(92vw, 1050px);
  filter: drop-shadow(0 12px 22px rgb(0 0 0 / 25%));
}

.hero__art img {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: #ff0000;
  border-bottom: 3px solid var(--color-brand);
  backdrop-filter: blur(12px);
}

.site-nav__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.site-nav a {
  display: grid;
  min-height: 66px;
  padding: 8px 14px;
  border-right: 1px solid rgb(255 255 255 / 16%);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:first-child {
  border-left: 1px solid rgb(255 255 255 / 16%);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-brand);
  background: #fff;
  outline: none;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(38px, 6vw, 66px);
  text-align: center;
}

.section-heading__eyebrow {
  margin: 0 0 8px;
  color: var(--color-brand);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.section-heading h1,
.section-heading h2,
.recruit-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.section-heading h1::after,
.section-heading h2::after {
  display: block;
  width: 72px;
  height: 5px;
  margin: 20px auto 0;
  background: var(--color-brand);
  content: "";
}

.section-heading > p:last-child {
  margin: 24px 0 0;
}

.section-heading--light,
.section-heading--light .section-heading__eyebrow {
  color: #fff;
}

.section-heading--light h2::after {
  background: #fff;
}

.section--store {
  background:
    linear-gradient(rgb(255 255 255 / 88%), rgb(255 255 255 / 92%)),
    url("https://files.hareruyamtg.com/img/usr/lp_2022/lp_2206_shopinfobg2.jpg") center / cover no-repeat;
}

.store-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.store-card__map {
  min-height: 520px;
  background: #e7e4df;
}

.store-card__map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.store-card__details {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 54px);
}

.store-card__details > div + div {
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.detail-label {
  margin: 0 0 4px;
  color: var(--color-brand-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.store-card__details p {
  margin: 0;
}

.store-card__notice {
  margin-top: 12px !important;
  color: #bb2412;
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link {
  color: var(--color-brand-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link--large {
  font-size: 1.25rem;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 26px clamp(24px, 4vw, 42px);
  background: #fff;
  border-left: 6px solid var(--color-brand);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.social-card p {
  margin: 0;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

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

.button--dark {
  flex: 0 0 auto;
  color: #fff;
  background: var(--color-brand);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--color-brand);
  background: #fff;
}

.section--programs {
  position: relative;
  color: #fff;
  background:
    url("https://files.hareruyamtg.com/img/usr/lp_kawasaki/img_2111_salebg.jpg") center / cover fixed;
}

.section--programs::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(232 75 27 / 12%), transparent 42%, rgb(241 199 91 / 10%));
  content: "";
  pointer-events: none;
}

.section--programs .container {
  position: relative;
}

.program-list {
  display: grid;
  gap: 30px;
}

.program-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  min-height: 340px;
  overflow: hidden;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.program-card:nth-child(even) .program-card__media {
  order: 2;
}

.program-card__media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #fff;
}

.program-card__media::after {
  position: absolute;
  inset: 0;
  border: 10px solid rgb(255 255 255 / 22%);
  content: "";
  pointer-events: none;
}

.program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.program-card:hover .program-card__media img {
  transform: scale(1.025);
}

.program-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.program-card__number {
  margin: 0 0 12px;
  color: var(--color-brand);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.program-card h3 {
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.4;
}

.program-card__body > p {
  margin: 0;
}

.program-card__body > p + p {
  margin-top: 10px;
}

.program-card__notes,
.program-card__schedule {
  margin: 20px 0 0;
  padding: 16px 18px;
  background: #f5f2ee;
  border-left: 4px solid var(--color-brand);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.program-card__notes p,
.program-card__schedule p {
  margin: 0;
}

.program-card__notes p + p,
.program-card__schedule p + p {
  margin-top: 5px;
}

.program-card__link {
  align-self: flex-start;
  margin-top: 20px;
}

.noscript-message {
  padding: 24px;
  color: #221f1d;
  background: #fff;
  border-radius: var(--radius-medium);
}

.hareruya2-cta {
  padding: clamp(54px, 7vw, 88px) 0;
  background: #fff;
}

.hareruya2-cta__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px) clamp(26px, 6vw, 70px);
  overflow: hidden;
  color: var(--color-ink);
  background: #fff;
  border: 6px solid var(--color-brand);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.hareruya2-cta__link::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  background: var(--color-brand);
  content: "";
}

.hareruya2-cta__link:hover,
.hareruya2-cta__link:focus-visible {
  box-shadow: 0 20px 48px rgb(255 0 0 / 20%);
  outline: 4px solid rgb(255 0 0 / 22%);
  outline-offset: 4px;
  transform: translateY(-3px);
}

.hareruya2-cta__copy p {
  margin: 0 0 6px;
  font-size: clamp(1rem, 2.3vw, 1.4rem);
  font-weight: 800;
  line-height: 1.55;
}

.hareruya2-cta__copy h2 {
  margin: 0;
  color: var(--color-brand);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(2rem, 5.6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hareruya2-cta__button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  color: #fff;
  background: var(--color-brand);
  border: 3px solid var(--color-brand);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.hareruya2-cta__link:hover .hareruya2-cta__button,
.hareruya2-cta__link:focus-visible .hareruya2-cta__button {
  color: var(--color-brand);
  background: #fff;
}

.shop-network {
  padding: 60px 0;
  background-color: #fff;
  background-image: url("https://files.hareruyamtg.com/img/usr/lp_portal/mapBg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.shop-network img {
  width: 100%;
  max-height: 840px;
  object-fit: contain;
}

.section--features {
  background: #f3f0ec;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.feature-card + .feature-card {
  margin-top: 34px;
}

.feature-card--reverse img {
  order: 2;
}

.feature-card > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 64px);
}

.feature-card__number {
  margin: 0 0 16px;
  color: var(--color-brand);
  font-family: Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.feature-card h3 {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.45;
}

.feature-card p:not(.feature-card__number) {
  margin: 0;
}

.feature-card .text-link {
  align-self: flex-start;
  margin-top: 18px;
}

.section--recruit {
  color: #fff;
  background:
    linear-gradient(120deg, rgb(255 0 0 / 94%), rgb(230 0 18 / 92%)),
    url("https://files.hareruyamtg.com/img/usr/lp_kawasaki/img_2111_salebg.jpg") center / cover;
}

.recruit-panel {
  max-width: 900px;
  text-align: center;
}

.recruit-panel .section-heading__eyebrow {
  color: var(--color-gold);
}

.recruit-panel > p:not(.section-heading__eyebrow) {
  max-width: 720px;
  margin: 26px auto 0;
}

.button--light {
  margin-top: 32px;
  color: var(--color-brand);
  background: #fff;
}

.button--light:hover,
.button--light:focus-visible {
  color: #fff;
  background: var(--color-brand-dark);
}

#footer {
  position: relative;
  padding: 0;
  color: #fff;
  background-color: #e60012;
  border: 0;
  font-size: 12px;
  text-align: center;
}

#footer .inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.footer-nav {
  display: flex;
  width: 80%;
  margin: auto;
  justify-content: center;
}

.footer-nav__list-wrapper {
  display: inline-block;
  margin: 30px 40px;
  font-size: 14px;
}

.footer-nav__list-title {
  display: block;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 700;
}

.footer-nav__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.footer-nav__list li {
  display: block;
  margin: 0;
}

.footer-nav__list li a {
  display: block;
  height: 26px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  text-decoration: none;
}

.footer_company {
  padding: 25px 0 12px;
  color: #fff;
  background-color: #e60012;
  font-size: 12px;
  text-align: center;
}

.footer_company p {
  margin: 0;
}

.footer_logo {
  margin-bottom: 5px;
}

.footer_logo a {
  display: inline-block;
}

.footer_logo img {
  width: auto;
  margin: auto;
}

#footer a:hover,
#footer a:focus-visible {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-break {
  display: none;
}

@media (max-width: 900px) {
  .store-card {
    grid-template-columns: 1fr;
  }

  .store-card__map,
  .store-card__map iframe {
    min-height: 420px;
  }

  .program-card {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  }

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

  .feature-card--reverse img {
    order: 0;
  }

  .feature-card > img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  :root {
    --radius-large: 18px;
  }

  html {
    scroll-padding-top: 0;
  }

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

  .hero {
    min-height: 86svh;
    background-position: center;
  }

  .hero__art {
    width: min(88vw, 480px);
  }

  .hero__art img {
    max-height: 76svh;
  }

  .site-nav {
    position: static;
    overflow: visible;
  }

  .site-nav__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .site-nav a {
    min-width: 0;
    min-height: 58px;
    padding-inline: 10px;
    font-size: 0.86rem;
    white-space: normal;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  #programs-title {
    font-size: 1.75rem;
    letter-spacing: 0;
  }

  .store-card__map,
  .store-card__map iframe {
    min-height: 320px;
  }

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

  .button--dark {
    width: 100%;
  }

  .section--programs {
    background-attachment: scroll;
  }

  .program-list {
    gap: 24px;
  }

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

  .program-card:nth-child(even) .program-card__media {
    order: 0;
  }

  .program-card__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .program-card__body {
    padding: 28px 24px 32px;
  }

  .hareruya2-cta__link {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 24px 30px 30px;
    text-align: center;
  }

  .hareruya2-cta__button {
    width: 100%;
  }

  .feature-card__content {
    padding: 32px 24px 38px;
  }

  .mobile-break {
    display: inline;
  }

  .footer-nav {
    display: block;
    width: 85%;
    padding: 30px 0;
    font-size: 0;
    line-height: 1.8;
  }

  .footer-nav__list-wrapper {
    width: 100%;
    margin: -1px 0 0;
    border: 1px solid #fff;
    font-size: 14px;
    text-align: left;
  }

  .footer-nav__list-wrapper:first-child {
    margin-top: 0;
  }

  .footer-nav__list-title {
    position: relative;
    margin: 0 2em 0 1.5em;
    padding: 5px 0 5px 0.5em;
    cursor: pointer;
  }

  .footer-nav__list-title::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 0;
    height: 0;
    margin-top: -8px;
    border: 8px solid transparent;
    border-top: 13px solid;
    content: "";
  }

  .footer-nav__list {
    margin-top: -1px;
    padding: 0 0 0 1.5em;
  }

  .footer-nav__list li {
    height: 0;
    margin: 0 2em 0 0;
    padding: 0 0 0 0.5em;
    overflow: hidden;
    transition: height 300ms ease;
  }

  .footer-nav__list li a {
    height: 33px;
    line-height: 33px;
  }

  .footer-nav__toggle:focus-visible + .footer-nav__list-title {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .footer-nav__toggle:checked + .footer-nav__list-title {
    border-bottom: 1px dotted #fff;
  }

  .footer-nav__toggle:checked + .footer-nav__list-title::after {
    right: 0;
    margin-top: -16px;
    border: 8px solid transparent;
    border-bottom: 13px solid;
  }

  .footer-nav__toggle:checked ~ .footer-nav__list > li {
    height: 34px;
    border-bottom: 1px dotted #fff;
  }

  .footer-nav__toggle:checked ~ .footer-nav__list > li:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
