:root {
  --cream: #fbfaf5;
  --paper: #fffefb;
  --ink: #6f5746;
  --brown: #a36d3d;
  --green: #8bc34a;
  --deep-green: #5eaa73;
  --blue: #59b3cb;
  --orange: #f2a244;
  --line: #e7cfb4;
  --container: 1060px;
  --section-space: clamp(5rem, 9vw, 9rem);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image: url("../images/common/bg_p.webp");
  background-repeat: repeat;
  color: var(--brown);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

body,
a,
button {
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
}

.mobile-only {
  display: none;
}

/* モバイル時のみ改行させたい <br> に付与するユーティリティクラス */
.br-sm {
  display: none;
}

.manrope {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 86px;
  border-bottom: 1px solid rgba(163, 109, 61, 0.08);
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 36px), 1340px);
  height: 100%;
  margin-inline: auto;
  gap: 2rem;
}

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

.site-logo__image {
  display: block;
  width: clamp(128px, 11vw, 166px);
  height: auto;
}

.site-logo__mark,
.hero-brand__mark {
  position: relative;
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 50% 50% 50% 8%;
  background: linear-gradient(145deg, var(--orange) 0 48%, var(--green) 49% 100%);
  transform: rotate(-45deg);
}

.site-logo__mark span,
.hero-brand__mark span {
  width: 20px;
  height: 30px;
  border: 4px solid var(--cream);
  border-bottom-width: 8px;
  border-radius: 50%;
  transform: rotate(45deg);
}

.site-logo__type {
  display: grid;
  color: var(--brown);
  line-height: 1;
}

.site-logo__type strong {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 1.2rem;
  letter-spacing: 0.17em;
}

.site-logo__type small {
  margin-top: 0.35rem;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: clamp(1.5rem, 3vw, 3.8rem);
  color: #9a7652;
  font-size: 1rem;
  font-weight: 700;
}

.desktop-nav a,
.site-footer nav a {
  transition: color 0.2s ease;
}

.desktop-nav a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--orange);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  transform: translateY(-3px);
}

.header-actions {
  display: flex;
  gap: 0.65rem;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  transition: box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover,
.button:focus-visible {
  transform: scale(1.06);
}

.button--green {
  background: var(--green);
}

.button--orange {
  background: var(--orange);
}

.mobile-menu {
  display: none;
}

.hero-section {
  position: relative;
  min-height: min(700px, 72vh);
  overflow: hidden;
}

.hero-section__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-section__image.is-active {
  opacity: 1;
}

.hero-section__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 251, 251, 0.68), transparent 58%);
}

.hero-section__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(700px, 72vh);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 4%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: hero-copy-reveal 1.1s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-copy-reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  display: grid;
  justify-items: center;
  margin: -2rem 0 2rem;
  color: var(--brown);
  line-height: 1.1;
}

.hero-brand__image {
  display: block;
  width: 128px;
  height: auto;
}

.hero-brand__mark {
  width: 100px;
  margin-bottom: 0.7rem;
}

.hero-brand__mark span {
  width: 42px;
  height: 65px;
  border-width: 7px;
  border-bottom-width: 16px;
}

.hero-brand strong {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 1.55rem;
  letter-spacing: 0.22em;
}

.hero-brand small {
  margin-top: 0.45rem;
  font-size: 1rem;
  letter-spacing: 0.24em;
}

.hero-title {
  margin: 0;
  color: var(--brown);
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: clamp(2.2rem, 3.5vw, 4.65rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.16em;
  text-align: center;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92);
  paint-order: stroke fill;
  text-shadow: 0 1px 5px rgba(255, 255, 255, 0.9);
}

.hero-title__name {
  width: 100%;
  margin: 0.7rem 0 0;
  color: var(--brown);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.95);
  paint-order: stroke fill;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
}

.opening-banner {
  background: var(--green);
  color: white;
}

.opening-banner__inner {
  display: flex;
  width: min(calc(100% - 40px), 1050px);
  min-height: 114px;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  gap: 1.4rem;
}

.opening-banner p {
  margin: 0;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.opening-banner__date {
  display: inline-block;
}

.opening-banner em {
  font-size: 3.5rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
}

.opening-banner small {
  font-size: 2.7rem;
  font-weight: 500;
}

@media (min-width: 961px) {
  .opening-banner__date {
    transform: translateY(3px);
  }
}

.section-title__eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-title h2 {
  margin: 0 0 1.75rem;
  color: var(--brown);
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: clamp(2rem, 3.25vw, 2.85rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.promise-grid,
.about-grid,
.facility-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.promise-grid {
  margin-bottom: clamp(7rem, 13vw, 12rem);
}

.promise-wheel {
  display: block;
  width: min(100%, 500px);
  aspect-ratio: 1;
}

.promise-wheel.is-reveal-ready {
  opacity: 0;
  transform: rotate(8deg);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.promise-wheel.is-reveal-ready.is-visible {
  opacity: 1;
  transform: rotate(0);
}

.promise-wheel__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promise-wheel__segment {
  display: grid;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--cream);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transform: rotate(-45deg);
}

.promise-wheel__segment--orange {
  background: var(--orange);
}

.promise-wheel__segment--blue {
  background: var(--blue);
}

.promise-wheel__segment--teal {
  background: #52a58d;
}

.promise-wheel__segment--green {
  background: var(--green);
}

.promise-wheel__center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 38%;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown);
  line-height: 1.2;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.promise-wheel__center strong {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 1rem;
  letter-spacing: 0.13em;
}

.promise-wheel__center small {
  margin-top: 0.25rem;
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.mini-logo {
  width: 34px;
  aspect-ratio: 1;
  margin-bottom: 0.4rem;
  border: 7px solid var(--green);
  border-top-color: var(--orange);
  border-radius: 50%;
}

.promise-copy > p:last-child,
.about-copy > p,
.facility-intro__copy p,
.recruit-copy p {
  margin: 0;
  color: var(--brown);
  font-size: 1rem;
}

.frame-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.frame-photo img {
  object-fit: cover;
}

.about-photo {
  aspect-ratio: 1.25;
}

.pill-link {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  background: var(--deep-green);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.pill-link:hover {
  filter: brightness(1.05);
  transform: translateX(9px);
}

.town-divider {
  position: relative;
  height: max(70px, 5.23vw);
  overflow: hidden;
  border-bottom: 0;
  background-image: url("../images/common/house_base.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
}

.town-divider::after {
  position: absolute;
  z-index: 1;
  bottom: calc(clamp(3px, 0.45vw, 8px) - 5px);
  left: 0;
  width: clamp(16px, 1.85vw, 32px);
  aspect-ratio: 19.02 / 11.31;
  background: url("../images/common/car.svg") center / contain no-repeat;
  content: "";
  opacity: var(--car-opacity, 0);
  transform: translate3d(var(--car-x, -120%), 0, 0) scale(1.05);
  will-change: transform, opacity;
}

.town-divider--news {
  background-image: url("../images/common/house_base_town.svg");
}

.town-divider--town {
  background-image: url("../images/common/house_base_town.svg");
}

.town-divider--news::after {
  background-image: url("../images/common/car_white.svg");
  transform: translate3d(var(--car-x, 100vw), 0, 0) scaleX(-1) scale(1.05);
}

.features-section {
  padding-bottom: calc(var(--section-space) * 0.75);
}

.facility-intro-group {
  background: white;
}

.feature-slider {
  position: relative;
  margin: 2.5rem 24px 0;
}

.feature-cards {
  display: grid;
  grid-auto-columns: calc((100% - 4rem) / 3);
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 2rem;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.feature-cards::-webkit-scrollbar {
  display: none;
}

.feature-card {
  position: relative;
  scroll-snap-align: start;
}

.feature-slider__button {
  position: absolute;
  z-index: 4;
  top: 32%;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(72, 102, 49, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.feature-slider__button:hover,
.feature-slider__button:focus-visible {
  transform: translateY(-50%) scale(1.08);
}

.feature-slider__button:disabled {
  opacity: 0.3;
  cursor: default;
  transform: translateY(-50%);
}

.feature-slider__button--prev {
  left: -24px;
}

.feature-slider__button--next {
  right: -24px;
}

.feature-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.2;
  margin-bottom: 1.15rem;
  border-radius: 10px;
}

.feature-card__image img {
  object-fit: cover;
}

.feature-card__number {
  display: inline-grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #f4e7d9;
  color: var(--brown);
  font-size: 1rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0.8rem 0;
  color: var(--brown);
  font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}

.feature-card p {
  margin: 0;
  color: var(--brown);
  font-size: 1rem;
}

.facility-gallery {
  overflow: hidden;
  margin: clamp(6rem, 10vw, 9rem) 0;
}

.facility-gallery__track {
  display: flex;
  width: max-content;
  gap: 1.2rem;
  will-change: transform;
}

.facility-gallery__item {
  position: relative;
  flex: 0 0 clamp(300px, 31vw, 520px);
  overflow: hidden;
  aspect-ratio: 1.7;
  border-radius: 16px;
}

.facility-gallery__item img {
  object-fit: cover;
}

.facility-intro {
  align-items: start;
}

.promise-copy .lead,
.facility-intro__copy h3,
.recruit-copy h3 {
  margin: 0 0 1.4rem;
  color: var(--brown);
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.75;
}
.lead {
  color: var(--brown);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0;
}

.promise-copy .lead,
.facility-intro__copy .lead,
.recruit-copy .lead {
  color: var(--brown);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0;
}

h3.lead,
.promise-copy h3.lead,
.facility-intro__copy h3.lead,
.recruit-copy h3.lead {
  font-family: "Hiragino Sans W6", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  font-weight: 700;
}

.pill-link--green {
  float: right;
  background: var(--green);
}

.town-divider--bottom {
  margin-top: 1rem;
}

.town-divider--bottom.town-divider--news {
  margin-top: 0;
}

.news-section .section-title {
  margin-bottom: 2.8rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.news-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.45;
  margin-bottom: 0.9rem;
  border-radius: 9px;
}

.news-card__image img {
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card__meta {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  color: var(--brown);
  font-size: 1rem;
}

.news-card__meta span {
  font-size: 0.8rem;
  padding: 0.15rem 0.65rem;
  border: solid 1px var(--brown);
  border-radius: 999px;
  background: none;
}

.news-card h3 {
  margin: 0.55rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
}

.pill-link--orange {
  background: var(--orange);
}

.error-404 {
  padding-block: 2rem 4rem;
  color: var(--brown);
  text-align: center;
}

.error-404__lead {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.8;
}

.error-404__text {
  margin: 0;
  line-height: 1.9;
}

.pill-link--white {
  min-width: 260px;
  padding: 1rem 1.6rem;
  background: #fff;
  color: var(--green);
  font-size: 1.15rem;
}

.news-section__more {
  display: flex;
  width: fit-content;
  margin: 3.5rem auto 0;
}

.recruit-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 620px;
}

.recruit-split__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.15fr 1fr;
}

.recruit-split__photo {
  position: relative;
  overflow: hidden;
}

.recruit-split__photo--wide {
  grid-column: 1 / -1;
}

.recruit-split__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  padding: clamp(2.5rem, 4vw, 5rem);
}

.recruit-split__inner {
  max-width: 520px;
}

.recruit-split .section-title__eyebrow {
  color: #fff;
}

.recruit-split .section-title h2 {
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
}

.recruit-split .recruit-copy h3.lead,
.recruit-split .recruit-copy p {
  color: #fff;
}

.pill-link--blue {
  float: right;
  background: var(--blue);
}

.contact-section {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) 0 80px;
  overflow: hidden;
  background-color: #edf8cc;
}

.contact-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid #c9b590;
  border-radius: 16px;
  background: rgba(255, 254, 251, 0.95);
}

.contact-box__heading {
  display: block;
}

.contact-box__heading h2 {
  margin-bottom: 0;
}

.contact-box > p {
  margin: 0;
  color: var(--brown);
  font-size: 1rem;
  transform: translateY(10px);
}

.contact-box__actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-box__actions > a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding-block: 1.3rem;
  border-right: 1px solid var(--line);
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-box__actions > a:last-child {
  border-right: 0;
}

.contact-box__actions > a:nth-child(2) {
  border-right: 0;
}

.contact-box__actions > a:first-child {
  font-size: 1.4rem;
}

.contact-box__actions > a:first-child .contact-icon {
  font-size: 0.9rem;
}

.contact-icon {
  display: grid;
  width: 32px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: white;
}

.contact-icon--green {
  background: var(--green);
}

.contact-icon--orange {
  background: var(--orange);
}

.contact-box__tel {
  display: grid !important;
  align-content: center;
  gap: 0.15rem;
  justify-items: center;
  color: var(--brown);
  text-align: center;
}

.contact-box__tel strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-style: normal;
  line-height: 1;
}

.contact-box__tel small {
  font-size: 0.8rem;
  line-height: 1;
}

.site-footer {
  padding: 2.4rem 0 1.4rem;
  background: var(--paper);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 2.4rem;
  color: var(--brown);
  font-size: 1rem;
  font-weight: 700;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  color: var(--brown);
  font-size: 1rem;
}

.site-footer__bottom > a {
  font-size: 0.75rem;
}

.page-top {
  position: fixed;
  z-index: 40;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(75, 111, 48, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.recruit-floating-banner {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem 0.85rem;
  border: 2px solid var(--orange);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(242 162 68 / 20%);
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  animation: recruit-banner-enter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: filter 0.3s ease, padding-left 0.3s ease;
}

.recruit-floating-banner:hover,
.recruit-floating-banner:focus-visible {
  filter: brightness(1.05);
  padding-left: 1.25rem;
}

.recruit-floating-banner__inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: transform 0.3s ease;
}

.recruit-floating-banner:hover .recruit-floating-banner__inner,
.recruit-floating-banner:focus-visible .recruit-floating-banner__inner {
  transform: translateX(-8px);
}

.recruit-floating-banner i {
  writing-mode: horizontal-tb;
}

@keyframes recruit-banner-enter {
  from {
    opacity: 0;
    translate: 100% 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 960px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .site-header {
    height: 72px;
  }

  .mobile-menu {
    position: static;
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    position: relative;
    z-index: 72;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }

  .mobile-menu::before {
    position: fixed;
    z-index: 69;
    inset: 0;
    background: rgba(50, 68, 38, 0.46);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .mobile-menu nav {
    position: fixed;
    z-index: 70;
    top: 0;
    right: 0;
    display: flex;
    width: min(86vw, 380px);
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    padding: 6.5rem clamp(1.5rem, 6vw, 3rem) 3rem;
    overflow-y: auto;
    background: var(--green);
    box-shadow: -18px 0 60px rgba(48, 79, 37, 0.26);
    transform: translateX(105%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu nav a {
    position: relative;
    padding: 1.15rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    color: white;
    font-size: clamp(1rem, 2.3vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.35s ease, transform 0.35s ease, padding-left 0.2s ease;
  }

  .mobile-menu nav a::after {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    content: "→";
    font-size: 1rem;
    transform: translateY(-50%);
  }

  .mobile-menu nav a:hover,
  .mobile-menu nav a:focus-visible {
    padding-left: 1rem;
  }

  .mobile-menu__actions {
    display: grid;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .mobile-menu nav .mobile-menu__actions a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 14px;
    background: white;
    color: var(--deep-green);
    text-align: center;
  }

  .mobile-menu nav .mobile-menu__actions a::after {
    content: none;
  }

  .mobile-menu nav .mobile-menu__actions a:hover,
  .mobile-menu nav .mobile-menu__actions a:focus-visible {
    padding-left: 1rem;
    transform: translateY(-2px);
  }

  .mobile-menu.is-visible::before {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu.is-visible summary {
    position: fixed;
    top: 14px;
    right: 18px;
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(90deg);
  }

  .mobile-menu.is-visible summary span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu.is-visible summary span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.is-visible summary span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu.is-visible nav {
    transform: translateX(0);
  }

  .mobile-menu.is-visible nav a {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-menu.is-visible nav a:nth-child(2) {
    transition-delay: 0.05s;
  }

  .mobile-menu.is-visible nav a:nth-child(3) {
    transition-delay: 0.1s;
  }

  .mobile-menu.is-visible nav a:nth-child(4) {
    transition-delay: 0.15s;
  }

  .mobile-menu.is-visible nav a:nth-child(5) {
    transition-delay: 0.2s;
  }

  .hero-section,
  .hero-section__content {
    min-height: 620px;
  }

  .hero-section__image {
    object-position: 62% center;
  }

  .opening-banner__inner {
    gap: 0.7rem;
  }

  .opening-banner p {
    font-size: 1.3rem;
  }

  .opening-banner em {
    font-size: 2.4rem;
  }

  .opening-banner small {
    font-size: 2.4rem;
  }

  .promise-grid,
  .about-grid,
  .facility-intro {
    gap: 3rem;
  }

  .recruit-split {
    min-height: 520px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.2rem;
  }

  .feature-cards {
    grid-auto-columns: calc((100% - 2rem) / 2);
  }

  .contact-box__actions {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box__actions > a:nth-child(2) {
    border-right: 0;
  }

  .site-footer nav {
    gap: 1rem;
  }
}

@media (max-width: 960px) {
  .recruit-floating-banner {
    top: auto;
    right: auto;
    bottom: 14px;
    left: 50%;
    justify-content: center;
    width: min(calc(100% - 30px), 430px);
    padding: 0.85rem 1.2rem;
    border-right: 2px solid var(--orange);
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    writing-mode: horizontal-tb;
    transform: translateX(-50%);
  }

  .recruit-floating-banner:hover,
  .recruit-floating-banner:focus-visible {
    transform: translate(-50%, -3px);
  }

  .has-staff-banner .site-footer {
    padding-bottom: 7rem;
  }

  .has-staff-banner .page-top {
    bottom: 82px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 5rem;
  }

  .has-jobs-floating-banner .site-footer {
    padding-bottom: 90px;
  }

  .has-jobs-floating-banner .page-top {
    bottom: 90px;
  }

  .town-divider {
    background-position: calc(50% + 24px) bottom;
    background-size: auto clamp(45px, 12vw, 54px);
  }

  .town-divider::after {
    bottom: calc(clamp(3px, 0.45vw, 8px) - 2px);
    width: clamp(17px, 4.8vw, 21px);
  }

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

  .hero-section {
    min-height: 0;
    padding-top: 81.5vw;
    background: var(--paper);
  }

  .hero-section__image {
    height: 81.5vw;
    object-position: right center;
  }

  .hero-section__veil {
    right: 0;
    bottom: auto;
    height: 81.5vw;
    background: none;
  }

  .hero-section__content {
    width: 100%;
    min-height: clamp(320px, 80vw, 520px);
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 3.5rem;
    background: rgb(255 254 251 / 96%);
  }

  .hero-brand {
    display: grid;
    margin: -65px 0 2rem;
  }

  .hero-brand__image {
    width: clamp(135px, 38vw, 165px);
  }

  .hero-title {
    width: 100%;
    font-size: clamp(2rem, 9vw, 2.5rem);
    line-height: 1.55;
  }

  .hero-title__name {
    margin-top: 1.3rem;
  }

  .opening-banner__inner {
    min-height: 250px;
    justify-content: center;
    padding: 2rem 15px;
  }

  .opening-banner p {
    width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.3rem);
    line-height: 1.3;
    text-align: center;
  }

  .opening-banner em {
    font-size: clamp(3.2rem, 15vw, 4rem);
  }

  .opening-banner small {
    display: block;
    margin-top: 0.75rem;
    font-size: clamp(2.2rem, 11vw, 2.8rem);
    line-height: 1.35;
  }

  .mobile-only {
    display: block;
  }

  .br-sm {
    display: block;
  }

  .promise-grid,
  .about-grid,
  .facility-intro {
    grid-template-columns: 1fr;
  }

  .recruit-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .recruit-split__photos {
    grid-template-rows: 220px 160px;
  }

  .recruit-split__panel {
    padding: 2.5rem 1.5rem;
  }

  .recruit-split__inner {
    max-width: none;
  }

  .promise-grid {
    margin-bottom: 6.5rem;
  }

  .promise-wheel {
    width: min(78vw, 480px);
    margin-inline: auto;
  }

  .about-photo {
    grid-row: 1;
  }

  .feature-cards {
    grid-auto-columns: 100%;
    gap: 1.5rem;
  }

  .feature-card__image {
    aspect-ratio: 1.5;
  }

  .feature-slider__button {
    top: 28%;
    width: 44px;
  }

  .feature-slider {
    margin-inline: 22px;
  }

  .feature-slider__button--prev {
    left: -22px;
  }

  .feature-slider__button--next {
    right: -22px;
  }

  .facility-gallery {
    margin-inline: 0;
  }

  .facility-gallery__item {
    flex-basis: 82vw;
  }

  .pill-link {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }

  .pill-link--green,
  .pill-link--blue,
  .pill-link--orange {
    float: none;
  }


  .contact-section {
    padding-top: 4rem;
  }

  .contact-box {
    display: block;
  }

  .contact-box__heading {
    display: block;
  }

  .contact-box__heading h2 {
    margin-bottom: 1.75rem;
  }

  .contact-box > p {
    margin-bottom: 2rem;
    transform: none;
  }

  .contact-box__actions {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .contact-box__actions > a {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 0;
  }

  .contact-box__actions > a:first-child {
    border-bottom: 1px solid var(--line);
    justify-content: center;
  }

  .contact-box__tel {
    display: grid !important;
    grid-column: auto;
    align-content: center;
    justify-content: center !important;
    justify-items: center;
    padding-block: 1rem;
    border-top: 0;
  }

  .contact-box__tel strong {
    font-size: 1.8rem;
  }

  .news-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.875rem;
  }

  .site-footer__inner {
    align-items: center;
    flex-direction: column;
    gap: 2rem;
  }

  .site-footer__inner .site-logo {
    justify-content: center;
    width: 100%;
  }

  .site-footer__inner .site-logo__image {
    width: clamp(170px, 46vw, 220px);
  }

  .site-footer nav {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.4rem;
  }

  .site-footer nav a {
    text-align: center;
  }

  .page-top {
    right: 16px;
    bottom: 16px;
  }

}

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

  .news-card h3 {
    font-size: 1rem;
  }

  .site-footer__inner {
    display: flex;
    gap: 2rem;
  }

  .site-footer__bottom {
    display: grid;
    gap: 0.6rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared lower-page modules */
.page-hero {
  display: grid;
  min-height: 290px;
  align-items: center;
  padding-top: 2rem;
}

.page-hero span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brown);
  font-size: 1rem;
  font-weight: 800;
}

.page-hero h1 {
  margin: 0;
  color: var(--brown);
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: clamp(2.3rem, 4.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.single-facility .page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.5rem);
}

.page-lower .section-title:not(.contact-box__heading) h2 {
  font-size: clamp(2rem, 2.8vw, 2.85rem);
}

.breadcrumb {
  display: flex;
  padding-block: 1.6rem;
  gap: 0.35rem;
  color: #ae8761;
  font-size: 1rem;
}

.breadcrumb + .about-page-intro,
.breadcrumb + .lower-section {
  padding-top: clamp(2rem, 3vw, 3rem);
}

.facility-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.4;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  border-radius: var(--radius);
}

.facility-cover img,
.module-photo img,
.module-card__image img {
  object-fit: cover;
}

.facility-cover__note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgb(0 0 0 / 45%);
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns, 3), minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.media-module {
  align-items: center;
}

.module-card h3 {
  color: var(--brown);
  font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
}

.media-module p,
.module-card p {
  color: #8f7866;
  font-size: 1rem;
}

body.page-lower p {
  color: var(--brown);
}

.module-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.15;
  border-radius: var(--radius);
}

.card-module {
  margin: 2.5rem 0 clamp(5rem, 9vw, 8rem);
}

.module-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.45;
  border-radius: 12px;
}

.module-card h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.1rem;
}

.module-card p {
  margin: 0;
}

.narrow-container {
  max-width: 760px;
}

/* CMSで追加した固定ページ（page.php／専用テンプレート未割り当てのページ）の本文幅 */
.page-content {
  max-width: 900px;
}

.data-list {
  margin: 2rem 0 4rem;
  border-top: 1px solid var(--line);
}

.data-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 28%) 1fr;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.data-list dt {
  color: var(--brown);
  font-weight: 800;
}

.data-list dd {
  margin: 0;
}

@media (max-width: 720px) {
  .data-list > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.map-placeholder {
  display: grid;
  min-height: 280px;
  place-content: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #e7f2f3, #f3eadb);
  color: #78959b;
  text-align: center;
}

.map-placeholder--embed {
  display: block;
  min-height: 0;
  background: none;
}

.map-placeholder--embed iframe {
  display: block;
  width: 100%;
}

.news-module .section-title {
  margin-bottom: 2.8rem;
}

.news-card__link {
  display: block;
  transition: filter 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card__link:hover,
.news-card__link:focus-visible {
  filter: drop-shadow(0 12px 15px rgba(116, 83, 54, 0.12));
  transform: translateY(-6px);
}

.news-card__link:hover .news-card__image img,
.news-card__link:focus-visible .news-card__image img {
  transform: scale(1.045);
}

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

  .breadcrumb + .about-page-intro,
  .breadcrumb + .lower-section {
    padding-top: 1.5rem;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .facility-cover {
    aspect-ratio: 1.45;
  }

}

/*
 * Contact Form 7: 送信成功メッセージの改行を保持する
 * .sent（CF7が送信成功時に付与するクラス）/ data-status="mail_sent"（CF7 5.5+の状態属性）
 * のみを対象にし、入力エラー・送信エラー・スパム判定時の .wpcf7-response-output には影響しない。
 */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form[data-status="mail_sent"] .wpcf7-response-output {
  white-space: pre-line;
}
