/* style.css */

/* ========== reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  font-family: var(--main-serif);
  color: #333;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

a {
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
}
img {
  width: 100%;
  height: auto;
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
ul {
  list-style-type: none;
}
th,
td {
  text-align: left;
  vertical-align: top;
}

/* ========== fonts ========== */
:root {
  --main-serif: "a-otf-ryumin-pr6n", serif;
  --main-sans: "adobe-caslon-pro", Arial, sans-serif;
}

.serif-text {
  font-family: var(--main-serif);
  font-style: normal;
}
.serif-text--light {
  font-weight: 300;
  color: #3f2e2a;
  font-size: clamp(16px, 1.43vw, 24px);
  letter-spacing: 5px;
}
.serif-text--regular {
  font-weight: 400;
}
.serif-text--semibold {
  font-weight: 600;
}
.serif-text--bold {
  font-weight: 700;
}
.en {
  font-family: var(--main-sans) !important;
}

/* ========== wrapper & container ========== */
.wrap,
.container {
  width: 100%;
  /*max-width: 1680px;*/
  margin: 0 auto;
}

.w800 {
  max-width: 800px;
}

.w990 {
  max-width: 990px;
  margin: 0 auto;
}

.w1200 {
  max-width: 1200px;
  margin: 0 auto;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.text-r {
  text-align: right;
}

a:hover {
  opacity: 0.8;
}

/* === 自動 nolink（href が空 or '#' の場合）=== */
.primary-nav-list a[href="#"],
.primary-nav-list a[href=""],
.overlay-menu a[href="#"],
.overlay-menu a[href=""],
.footer-nav-list a[href="#"],
.footer-nav-list a[href=""],
.header-buttons a[href="#"],
.header-buttons a[href=""],
.footer-cta a[href="#"],
.footer-cta a[href=""] {
  background: #cdcdcd;
  color: #3a3a3a;
  pointer-events: none;
  cursor: default;
  transition: none;
}

/* ホバーでも色を変えない */
.primary-nav-list a[href="#"]:hover,
.primary-nav-list a[href=""]:hover,
.overlay-menu a[href="#"]:hover,
.overlay-menu a[href=""]:hover,
.footer-nav-list a[href="#"]:hover,
.footer-nav-list a[href=""]:hover,
.header-buttons a[href="#"]:hover,
.header-buttons a[href=""]:hover,
.footer-cta a[href="#"]:hover,
.footer-cta a[href=""]:hover {
  background: #cdcdcd;
  color: #3a3a3a;
  opacity: 1;
}

.float-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.float-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* 遅延クラス */
.float-up.delay-1 {
  transition-delay: 0.2s;
}
.float-up.delay-2 {
  transition-delay: 0.6s;
}

@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .w800,
  .w990 {
    width: 90%;
  }
}

/* ========== header ========== */
.site-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.header-upper {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 110px;
  padding: 0 32px;
  box-sizing: border-box;
}

/*-----------スクロールしたときの動き -----------------*/
@media (min-width: 769px) {
  .site-header .header-inner {
    height: 110px;
    transition: height 0.3s ease;
  }

  .site-header.is-shrink .header-inner {
    height: 50px;
  }

  .site-header .header-inner .logo img {
    height: 56px;
    transition: height 0.3s ease;
  }
  .site-header.is-shrink .header-inner .logo img {
    height: 40px;
  }

  .primary-nav-list li {
    height: 60px;
    transition: height 0.3s ease;
  }
  .site-header.is-shrink .primary-nav-list li {
    height: 35px;
  }
}

/* ロゴ共通 */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 56px;
}

.logo.pc.logo--default {
  display: inline-flex;
}
.logo.pc.logo--scrolled {
  display: none;
}

.logo.sp {
  display: none;
}

.header-link-map {
  margin-left: auto;
  font-size: clamp(12px, 0.95vw, 16px);
  letter-spacing: 0.1em;
  text-decoration: none;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

.header-link-map__icon {
  display: inline-block;
  transform: translateY(-1px);
}

.header-buttons {
  margin-left: 0;
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 1.5em;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}

.btn.nav {
  min-width: 150px;
  height: 40px;
}

.btn-golden {
  background: #cbb070;
  color: #fff;
}

.btn-peach {
  background: #c9816f;
  color: #fff;
}

.btn-gray {
  background: #225734;
  color: #fff;
}

/* ========== ハンバーガー（共通ベース） ========== */
.nav-toggle {
  background: #fff;
  width: 60px;
  height: 60px;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  position: relative;
  z-index: 110;
  padding: 0.5em;
}

.nav-toggle .hamburger {
  width: 24px;
  height: 21px;
  background: linear-gradient(#333, #333) top center / 100% 3px no-repeat,
    linear-gradient(#333, #333) center center / 100% 3px no-repeat,
    linear-gradient(#333, #333) bottom center / 100% 3px no-repeat;
  transition: transform 0.3s, background 0.3s;
}

.nav-toggle.active .hamburger {
  transform: rotate(45deg);
  background: linear-gradient(#333, #333) center center / 100% 3px no-repeat,
    linear-gradient(90deg, #333, #333) center center / 3px 100% no-repeat;
}

.nav-toggle .label {
  font-family: var(--main-serif);
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #333;
  user-select: none;
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* ========== PC ナビゲーション帯（ヘッダー下段） ========== */
.header-lower {
  background: #e2e1d2;
}

.primary-nav {
  max-width: 1400px;
  margin: 0 auto;
}

.primary-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav-list li {
  position: relative;
  flex: 1 1 0;
  height: 60px;
}

.primary-nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #231815;
  background: transparent;
  border: none;
  overflow: hidden;
  transition: color 0.25s ease, background 0.25s ease;
}

.primary-nav-list li + li a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: #9fa0a0;
}

.primary-nav-list li:first-child a::before,
.primary-nav-list li:last-child a::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: #9fa0a0;
}
.primary-nav-list li:first-child a::before {
  left: 0;
}
.primary-nav-list li:last-child a::before {
  right: 0;
}

.primary-nav-list a:hover {
  color: #ffffff;
  background: linear-gradient(
    to right,
    transparent 7%,
    #868c56 7%,
    #868c56 93%,
    transparent 93%
  );
}

/* ========== SP header (768px以下) ========== */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10000;
  }

  .header-upper {
    box-shadow: none;
  }
  .header-lower,
  .primary-nav {
    display: none;
  }

  .header-inner {
    max-width: 100%;
    margin: 0;
    background: #fff;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 60px;
    padding: 0;
    gap: 0;
  }

  .logo.pc {
    display: none !important;
  }
  .logo.sp {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .logo.sp img {
    height: 40px;
    width: auto;
    padding: 0 8px;
  }

  .header-link-map {
    display: none !important;
  }

  .header-buttons {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    font-size: 14px;
  }

  .header-buttons .btn.nav {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    padding: 0 0.8em;
    aspect-ratio: initial;
  }

  .nav-toggle {
    flex: 0 0 auto;
    width: 75px;
    height: 60px;
    margin: 0;
    background: #fff;
    box-shadow: none;
    border: none;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    position: relative;
    z-index: 110;
  }

  .nav-toggle .hamburger {
    width: 24px;
    height: 21px;
    background: linear-gradient(#333, #333) top center / 100% 3px no-repeat,
      linear-gradient(#333, #333) center center / 100% 3px no-repeat,
      linear-gradient(#333, #333) bottom center / 100% 3px no-repeat;
    transition: transform 0.3s;
  }

  .nav-toggle.active .hamburger {
    transform: rotate(45deg);
    background: linear-gradient(#333, #333) center center / 100% 3px no-repeat,
      linear-gradient(90deg, #333, #333) center center / 3px 100% no-repeat;
  }

  .nav-toggle .label {
    font-family: var(--main-serif);
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #333;
    user-select: none;
  }

  .site-header.scrolled .header-inner {
    height: 60px;
  }
  .site-header.scrolled .logo.sp img {
    height: 50px;
  }
}

/* ========== Footer ========== */
footer {
  margin-bottom: 3em;
}

.site-footer {
  background: none;
  padding: 0;
  text-align: center;
}

.footer-nav {
  background: #e2e1d2;
}

.footer-nav .footer-nav-list {
  display: flex;
  margin: 0;
  padding: 1em 0;
  list-style: none;
  letter-spacing: 2px;
}

.footer-nav .footer-nav-list li {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1em;
  text-align: center;
}

.footer-nav .footer-nav-list li a {
  display: inline-block;
  padding: 0.5em 0;
  color: inherit;
  text-decoration: none;
}

.footer-nav .footer-nav-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: currentColor;
}

.footer-nav .footer-nav-list li:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: currentColor;
}

.footer-cta,
.footer-contact {
  background: #67544d;
  color: #fff;
  text-align: center;
}
.footer-cta {
  padding: 2em 0 1em;
}
.footer-cta .btn.bottom {
  width: 330px;
  height: 55px;
  margin: 0 0.5em;
}
.inquiry {
  padding: 3em 0 2em;
}
.inquiry .contact-label {
  color: #fff;
}
.inquiry .contact-tel {
  color: #fff;
  font-size: 4em;
  letter-spacing: 0.08em;
}
.contact-tel a {
  color: #fff;
  text-decoration: none;
}
.inquiry .contact-info {
  color: #fff;
}

.footer-logos,
.footer-copy {
  background: #fff;
  padding: 3em 0;
  text-align: center;
}

.footer-logos.container {
  max-width: 990px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.footer-logos.container .logo-item {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logos.container .logo-item:first-child img {
  height: 90px;
  max-width: 300px;
}

.footer-logos.container .logo-item:first-child::before {
  content: "（売主）";
  font-size: 0.875rem;
}

.footer-logos.container .logo-item:nth-child(2)::before {
  content: "（販売提携（代理））";
  font-size: 0.875rem;
}

.footer-logos.container .logo-item img {
  display: block;
  height: 50px;
  width: auto;
}
@media (max-width: 768px) {
  .footer-nav {
    display: none;
  }
  .footer-nav-list {
    gap: 1em;
    font-size: 0.75rem;
  }
  .footer-cta {
    padding: 2em 1em;
  }
  .footer-cta .btn {
    width: auto;
  }
  .footer-cta .btn.bottom {
    margin: 0.5em;
  }
  .inquiry .contact-tel {
    font-size: 2em;
  }
  .inquiry .contact-info {
    color: #fff;
  }
  .footer-logos.container {
    display: block;
  }
  .footer-logos.container .logo-item {
    display: block;
    text-align: center;
  }
  .footer-logos.container .logo-item img {
    height: 45px;
    width: auto;
    margin: 0.5em auto;
  }
  .footer-logos.container .logo-item:first-child img {
    height: 120%;
  }
  .footer-copy {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .logo-item {
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .logo-item img {
    width: 80%;
  }
}

/* ========== KV スライダー位置調整（PCのみ・ヘッダー高さ分下げる） ========== */
@media (max-width: 768px) {
  .global-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    background: #f9f5ef;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5em 1.5em 4.5em;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.6s ease;
    z-index: 9000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .global-nav-overlay.open {
    transform: translateX(0);
  }

  .overlay-logo {
    width: 100%;
    margin-bottom: 1em;
    text-align: center;
  }

  .overlay-logo img {
    max-height: 50px;
    width: auto;
    margin: 0 auto;
    display: inline-block;
  }

  .overlay-menu {
    grid-column: 1;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .overlay-menu li {
    height: 3rem;
    margin-bottom: 0.5em;
  }

  .overlay-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 1em;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #231815;
    text-decoration: none;
    background: #e2e1d2;
  }

  .overlay-menu li.brown a {
    background: #67544d;
    color: #fff;
  }

  .overlay-menu li:first-child a {
    background: #868c56;
    color: #fff;
  }

  .overlay-menu .overlay-en {
    font-weight: normal;
    font-size: 0.675rem;
  }
  .overlay-menu .overlay-ja {
    font-size: 0.475rem;
  }

  .nav-close {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: none;
    font-size: 1.5rem;
    padding: 0.4em 2em;
    cursor: pointer;
    color: #666464;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9100;
  }
}

/* ========== hero slider  ========== */
.hero {
  position: relative;
  margin: 0;
  padding: 0;
}

.hero .slider {
  position: relative;
  overflow: hidden;

  aspect-ratio: 640 / 381;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero .slider.slick-initialized {
  opacity: 1;
}

.hero .slider .slide,
.hero .slider .slide picture,
.hero .slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero .slider:not(.slick-initialized) .slide {
  display: none;
}
.hero .slider:not(.slick-initialized) .slide:first-child {
  display: block;
}

@media (max-width: 768px) {
  .hero .slider {
    aspect-ratio: 75 / 71;
  }
}

@media (min-width: 769px) {
  .hero {
    margin-top: 170px !important;
  }
}

.hero .slider {
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  opacity: 1;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.hero .slider.slick-initialized {
  filter: blur(0);
}

/* ========== hero info block ========== */
.hero-info {
  background: transparent;
  padding: 0;
  margin: 0;
}

.hero-info .info-list {
  background: #67544d;
  color: #fff;
  padding-top: 28px;
  padding-bottom: 0;
}

.hero-info .info-row--top {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px 24px;
}

.hero-info .info-lead {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: clamp(25px, 2.9vw, 40px);
}

.hero-info .info-stations {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.hero-info .info-station {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(12px, 1.43vw, 24px);
}

.hero-info .info-line {
  display: inline-block;
  font-size: clamp(8px, 0.95vw, 16px);
}

.hero-info .info-name {
  display: inline-block;
  margin: 0 0.25em;
  font-size: clamp(16px, 1.9vw, 32px);
}

.hero-info .info-time {
  margin-left: 0.25em;
}

.hero-info .info-time-label {
  font-size: clamp(12px, 1.43vw, 24px);
}

.hero-info .info-time-main {
  font-size: clamp(22px, 3.19vw, 44px);
  line-height: 1;
}

.hero-info .info-time-sub {
  font-size: clamp(12px, 1.43vw, 24px);
}

.hero-info .info-row--bottom {
  background: #868c56;
  padding: 18px 0;
}

.hero-info .info-points {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0;
  font-size: clamp(14px, 1.43vw, 24px);
  white-space: nowrap;
}

.hero-info .info-points li {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.hero-info .info-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
}

.hero-info .info-points li:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .hero-info .info-item img {
    height: 25px;
  }

  .hero-info .info-stations {
    display: block;
  }

  .hero-info .info-row--bottom {
    padding: 8px 0;
  }

  .hero-info .info-points {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    list-style: none;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.75rem;
    column-gap: 0;
    white-space: normal;
  }

  .hero-info .info-points li {
    flex: none !important;
    text-align: center;
    padding: 0 0.75rem;
    position: relative;
    border-right: none;
  }

  .hero-info .info-points li:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.7);
  }

  .hero-info .info-points li::before,
  .hero-info .info-points li:last-child::after {
    content: none !important;
  }
}

/* ========== sections common ========== */
.info-container {
  padding-top: 2em;
  padding-bottom: 4em;
}

.section {
  padding: 0;
  text-align: center;
}
.section.information,
.section.whats-new {
  padding: 2em;
  background: #fff;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
.section-divider {
  max-width: 800px;
  height: 1px;
  background: #9fa0a0;
  margin: 0.5em auto;
  border: none;
}

.information-text {
  font-size: 1.87rem;
  letter-spacing: 0.08em;
  margin-top: 0.5em;
}

.information-text span.small {
  font-size: 0.75em;
}

@media (max-width: 768px) {
  .information-text {
    font-size: 1.52rem;
  }
  .section.information,
  .section.whats-new {
    padding: 1em;
  }
}

/* ===== モデルルームオープン予定 ===== */
.open-notice-wrapper {
  max-width: 1680px;
  margin: 60px auto 40px;
  padding: 0 40px;
  box-sizing: border-box;
}

.open-notice {
  position: relative;
  text-align: center;
  font-family: var(--main-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.86vw, 48px);
  letter-spacing: 0.05em;
}

.open-notice::before,
.open-notice::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 160px);
  max-width: 1120px;
  height: 1px;
  background: #dcdcdc;
}

.open-notice::before {
  top: -18px;
}

.open-notice::after {
  bottom: -18px;
}

@media (max-width: 768px) {
  .open-notice-wrapper {
    margin: 40px auto 32px;
    padding: 0 16px;
  }
  .open-notice::before,
  .open-notice::after {
    width: 100%;
    max-width: none;
  }
}

/* ========== top button ========== */
.button-container {
  max-width: 990px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.button-item a {
  padding: 1em 2em;
}

@media (max-width: 768px) {
  .button-container {
    display: block;
  }

  .button-item a {
    margin: 0.5em;
  }
}

/* ========== news list ========== */
.whats-new .news-list {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  padding: 1em;
  border: 1px solid #9fa0a0;
  max-width: 1000px;
  margin: 1em auto 0;
  background: transparent;
}

.whats-new .news-item {
  display: flex;
  align-items: flex-start;
}
.whats-new .news-date {
  flex-shrink: 0;
  width: 80px;
  font-size: 0.875rem;
}
.whats-new .news-text {
  margin-left: 1em;
  font-size: 0.875rem;
  text-align: left;
}
.whats-new .news-text a {
  color: #cbb070;
  font-weight: 600;
}

/* =================== CONCEPT  =================== */
#concept {
  /* margin-bottom: 4em; */
}

.section.concept {
  background-image: url("../images/concept_bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding: 6em 1em 6em;
  text-align: center;
}

.concept-container {
  margin: 0 auto;
  color: #67544d;
}

.concept-en {
  font-size: clamp(36px, 4.3vw, 72px);
  letter-spacing: 1rem;
}

.concept-main {
  font-size: clamp(32px, 3.8vw, 64px);
  margin: 2rem 0 4rem;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.concept-body {
  font-size: clamp(16px, 1.9vw, 32px);
  line-height: 2;
  letter-spacing: 0.12em;
}

.concept-body p {
  margin: 0 0 0.7em;
}

@media (max-width: 768px) {
  .section.concept {
    padding: 3em 1.5em 3em;
  }

  .concept-en {
    letter-spacing: 0.5rem;
  }
}

/* ========== Banners ========== */
.banner-section {
  position: relative;
  width: 100%;
  height: 30vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(90, 58, 26, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.banner-section .banner-overlay .banner-title,
.banner-section .banner-overlay .banner-subtitle,
.banner-section .banner-overlay .banner-text {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: normal;
}

.location-banner {
  background-image: url("../images/banner_location.webp");
}
.plan-banner {
  background-image: url("../images/banner_plan.webp");
}
.design-banner {
  background-image: url("../images/banner_design.webp");
}
.quality-banner {
  background-image: url("../images/banner_quality.webp");
}
.gallery-banner {
  background-image: url("../images/banner_photogallery.webp");
}
.access-banner {
  background-image: url("../images/banner_access.webp");
}

.banner-overlay {
  position: relative;
  text-align: center;
  z-index: 1;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.5em;
  margin-top: 2em;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.banner-btn:hover {
  color: #fff;
  background: #cebe88;
}

.banner-btn.no-hover:hover {
  background: #000;
  color: #fff;
}

.banner-section:hover::before {
  opacity: 0;
}
.banner-section:hover .banner-overlay .banner-title,
.banner-section:hover .banner-overlay .banner-subtitle,
.banner-section:hover .banner-overlay .banner-text {
  color: #5a3a1a;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(79, 35, 4, 0.3);
}
.banner-section:hover .banner-overlay .banner-title.white,
.banner-section:hover .banner-overlay .banner-subtitle.white,
.banner-section:hover .banner-overlay .banner-text.white {
  color: #ffffff;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(79, 35, 4, 0.3);
}

.banner-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  padding: 0.1em 0.8em;
  z-index: 2;
  max-width: 80%;
  text-align: right;
  font-size: 0.575rem;
}
.slide .banner-caption {
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  .banner-section {
    height: 40vh;
  }
  .banner-title {
    font-size: 1.25rem;
  }
  .banner-text {
    font-size: 0.875rem;
  }
  .banner-btn {
    font-size: 0.75rem;
    padding: 0.4em 1.2em;
  }
}
/* ===== 免責・注釈テキスト ===== */
.site-note {
  padding: 3em 0;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: left;
}
.site-note ul {
  list-style: none;
  padding-left: 0;
}
.site-note ul li {
  position: relative;
  padding-left: 1.5em;
}
.site-note ul li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 1em;
  line-height: 1;
}

/* ========== Under ========== */
.hero-image {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.hero-image__overlay {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.hero-image__overlay::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 4rem;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.01),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.01)
  );
  z-index: 1;
  @media (max-width: 768px) {
    height: 2rem;
  }
}

.hero-image__title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1rem;
  text-transform: uppercase;
  color: #fff;
  /* text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); */
  white-space: nowrap;
  @media (max-width: 768px) {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
  }
}
.under {
  width: 100%;
  margin: 0 auto;
  margin-top: 170px;
}

.section-head {
  padding-bottom: 2em;
}
.section-head h2 {
  letter-spacing: 5px;
  font-weight: 400;
}
.section-head h3 {
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 3px;
  border-bottom: 1px solid #000;
  padding-bottom: 0.25em;
}

.point {
  text-align: left;
  padding: 5em;
  background-color: #f5f2e9;
  @media (max-width: 768px) {
    padding-left: 1em;
    padding-right: 1em;
  }
}

.point h3 {
  text-align: center;
  font-size: 1.55em;
  font-weight: 400;
  letter-spacing: 4px;
}

.wide {
  position: relative;
  margin: 0 calc(50% - 50vw);
}
@media (max-width: 768px) {
  .under {
    width: 100%;
    padding-left: 1em;
    padding-right: 1em;
    margin: 1em auto;
  }
}

/* ========== location ========== */
.location {
  text-align: center;
  padding: 3em 0;
  @media (max-width: 768px) {
    padding-top: 2em;
    padding-bottom: 2em;
  }
}

.location .container {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.section-head > .item {
  padding: 1.5em 0;
}

.section-head > .item span.main {
  font-size: 2em;
  @media (max-width: 768px) {
    font-size: 1.35em;
  }
}

.location .container .item {
  padding: 0.5em 0 1em 0;
}
.location.top .container .item {
  padding: 0.5em 0 4px 0;
}
.location .container .item p {
}

.location .container .item p span {
  font-size: 0.85em;
  line-height: 1;
}

.location.convenience {
  padding-bottom: 0;
}

.location.convenience .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 990px;
  margin: 0 auto;
}

.location.convenience .container .item {
  width: 310px;
  line-height: 1;
}
.location.convenience .container .item img {
  margin-bottom: 8px;
}

.location .caption {
  font-size: 0.7em;
  text-align: right;
  padding: 4px 0;
  @media (max-width: 768px) {
    font-size: 8px;
    line-height: 2;
  }
}
.location.top .caption span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  height: 1.5em;
  background: #000;
  color: #fff;
  line-height: 1;
  border-radius: 0;
  margin-right: 0.2em;
}

.point .grid-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  padding-top: 1em;
}

.point .grid-container ul {
  padding: 1em 0;
}

.aobadai-station {
  text-align: center;
}

.tokyu {
  position: relative;
}

.tokyu .banner-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  padding: 0.1em 0.8em;
  z-index: 2;
  max-width: 80%;
  text-align: right;
  font-size: 0.575rem;
}

.point.aobadai-station .grid-container {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 650px;
  gap: 2em;
  padding-top: 1em;
  @media (max-width: 768px) {
    display: block;
  }
}

.point.aobadai-station .grid-container .facility-title {
  padding-top: 8px;
  border-bottom: solid 1px #000;
}

.point .facility-list {
  display: block;
  padding: 4px 0;
}

.point .facility {
  display: block;
}

.point .facility .name {
  display: block;
  text-align: left;
}

.point .facility .distance {
  display: block;
  text-align: right;
  white-space: nowrap;
  margin-left: 1em;
}

.location.information {
  background-color: #bfccbb;
  @media (max-width: 768px) {
    padding-left: 1em;
    padding-right: 1em;
  }
}

/* —— タブ全体ラッパー —— */
.location.information .tabs {
  display: grid;
  max-width: 990px;
  margin: 0 auto;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0 0.25em;
  @media (max-width: 768px) {
    padding: 0 0.5em;
  }
}

/* —— 非表示にするラジオボタン —— */
.location.information .tabs input[type="radio"] {
  display: none;
}

/* —— タブラベル —— */
.location.information .tabs .tab-label {
  grid-row: 1;
  text-align: center;
  padding: 0;
  margin-bottom: 8px;
  color: #fff;
  border: 1px solid #fff;
  cursor: pointer;
  transition: background 0.2s, border-bottom-color 0.2s;
}
.location.information .tabs .tab-label:hover {
  opacity: 0.8;
}

.information .sports {
  background: #93b447;
}
.information .facility {
  background: #ca475d;
}
.information .education {
  background: #d59533;
}
.information .finance {
  background: #3d9794;
}
.information .medical {
  background: #396eac;
}

/* —— 選択中のタブ強調 —— */
.location.information .tabs input[type="radio"]:checked + .tab-label {
  border: #fff;
  font-weight: 400;
}

/* —— コンテンツ領域 —— */
.location.information .tabs .tab-contents {
  grid-row: 2;
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid #ccc;
  margin-top: -1px;
  padding: 1em;
}

/* —— 各タブのコンテンツは隠す —— */
.location.information .tabs .tab-content {
  display: none;
}

/* —— 対応するタブが選択されたら表示 —— */
#tab1:checked ~ .tab-contents #content1,
#tab2:checked ~ .tab-contents #content2,
#tab3:checked ~ .tab-contents #content3,
#tab4:checked ~ .tab-contents #content4,
#tab5:checked ~ .tab-contents #content5,
#tab6:checked ~ .tab-contents #content6 {
  display: block;
}

/* —— 地図画像とリストの基本スタイル —— */
.location.information .tabs .tab-content img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1em;
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 950px;
  margin: 0 auto 1em;
}

.map-base {
  width: 100%;
  height: auto;
  display: block;
}

.pin-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

/* タブごとのピン画像切り替え */
#tab1:checked ~ .tab-contents .pin-layer {
  background-image: url("../images/pins_01.svg");
}
#tab2:checked ~ .tab-contents .pin-layer {
  background-image: url("../images/pins_02.svg");
}
#tab3:checked ~ .tab-contents .pin-layer {
  background-image: url("../images/pins_03.svg");
}
#tab4:checked ~ .tab-contents .pin-layer {
  background-image: url("../images/pins_04.svg");
}
#tab5:checked ~ .tab-contents .pin-layer {
  background-image: url("../images/pins_05.svg");
}

.location.information .tabs .tab-content .information-list {
  padding: 1em 0;
  text-align: center;
}

.location.information .tabs .tab-content .information-list p {
  color: #fff;
  padding: 0;
}

.location.information .tabs .tab-content .information-list .green {
  background: #7b9676;
  margin: 1em 0;
}

.location.information .tabs .tab-content .information-list .gold {
  background: #cbb070;
  margin: 1em 0;
}

.location.information .tabs .tab-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.location.information .tabs .tab-content li {
  margin-bottom: 0.5em;
  font-size: 0.9rem;
}

/* —— リストの分割 —— */
.location.information .tabs .tab-content ul.list {
  list-style: none;
  padding: 0;
  margin: 0;
  -moz-column-count: 2;
  column-count: 2;
  -moz-column-gap: 2em;
  column-gap: 2em;
  -moz-column-rule: 1px solid #ccc;
  column-rule: 1px solid #ccc;
  counter-reset: circle-number;
}

.location.information .tabs .tab-content ul.list li {
  counter-increment: circle-number;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.8em;
  font-size: 0.9rem;
  -moz-column-break-inside: avoid;
  break-inside: avoid-column;
}

.location.information .tabs .tab-content ul.list li::before {
  content: counter(circle-number);
  flex-shrink: 0;
  width: 1.5em;
  height: 1.5em;
  background-color: #888;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location.information .tabs .tab-content ul.list li .facility-list__name {
  flex: 1;
  text-align: left;
  word-break: break-word;
}

.location.information .tabs .tab-content ul.list li .facility-list__detail {
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
}

/* 番号を付けない要素 */
.location.information .tabs .tab-content ul.list li.no-number {
  counter-increment: none;
}
.location.information .tabs .tab-content ul.list li.no-number::before {
  visibility: hidden;
}

/* 番号の丸の色を個別変更したい場合は以下を利用（任意） */
.location.information .tabs .tab-content ul.list.green li::before {
  background-color: #9dba5b;
}
.location.information .tabs .tab-content ul.list.red li::before {
  background-color: #bf6270;
}
.location.information .tabs .tab-content ul.list.yellow li::before {
  background-color: #caa14c;
}
.location.information .tabs .tab-content ul.list.list-1 li::before {
  background-color: #c6b16f;
}
.location.information .tabs .tab-content ul.list.list-2 li::before {
  background-color: #7e9675;
}
.location.information .tabs .tab-content ul.list.blue li::before {
  background-color: #6080af;
}
.location.safety {
  background-color: #f4f2e9;
}

.location.safety .container {
  justify-content: space-between;
  gap: 2em;
  @media (max-width: 768px) {
    display: block;
  }
}

.safty-item .safty-text {
  padding: 1em 0;
}

.safty-item .safty-text .safty-text-title {
  font-size: 1.35em;
}
.safty-item .safty-text .safty-text-small {
  font-size: 0.75em;
}

.safty-item .safty-text .safty-text-flex {
  display: flex;
  gap: 0.5em;
  text-align: left;
  padding: 1em 0;
  @media (max-width: 768px) {
    display: grid;
    grid-template-columns: 1fr 150px;
  }
}

.safty-item .safty-text .safty-text-flex img {
  max-width: 190px;
}

/* —— SP用スタイル —— */
@media (max-width: 767px) {
  .location.information .tabs {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto) auto;
  }

  .location.information .tabs .tab-label {
    grid-row: auto;
  }

  .location.information .tabs .tab-contents {
    grid-row: 4;
    grid-column: 1 / -1;
  }

  .location.information .tabs .tab-content ul.list {
    -moz-column-count: 1 !important;
    column-count: 1 !important;
    -moz-column-gap: 0 !important;
    column-gap: 0 !important;
    -moz-column-rule: none !important;
    column-rule: none !important;
  }

  .location.information .tabs .tab-content ul.list li {
    -moz-column-break-after: auto !important;
    break-after: auto !important;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .location.information .tabs .tab-content ul.list li .facility-list__name {
    max-width: 80%;
    font-size: 1em;
    text-align: left;
    word-break: break-word;
  }

  .location.information .tabs .tab-content ul.list li .facility-list__detail {
    font-size: 0.85rem;
    white-space: nowrap;
    text-align: right;
  }
}

.aobaku-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 4em;
  justify-content: center;
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    padding: 0 1em;
  }
}

.aobaku-notice {
  text-align: right;
  font-size: 10px;
  padding: 1em 0;
}

.aobaku .point .grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  padding-top: 1em;
}

/* ========== design ========== */
.design {
  text-align: center;
  padding: 0 0;
  @media (max-width: 768px) {
  }
}

.design.top {
  @media (max-width: 768px) {
    margin-top: -3em;
  }
}

.design .section-head {
  padding-top: 2em;
}

.design-sp-image {
  display: none;
  @media (max-width: 768px) {
    display: block;
    text-align: center;
  }
}

.design-sp-image img {
  width: 100%;
  height: auto;
}

.design.pt-3 {
  padding-top: 3em;
  @media (max-width: 768px) {
    padding-top: 0em;
  }
}

.design-bg {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.design-overlay {
  position: relative;
  max-width: 990px;
  margin: 0 auto;
  padding: 4em 1em;
  background-size: contain;
  text-align: center;
  box-sizing: border-box;
  @media (max-width: 768px) {
    padding: 0;
  }
}

.design-bg.facede {
  background-image: url("../images/design_facede.webp");
  aspect-ratio: 15 / 16;
  @media (max-width: 768px) {
    background-image: url("../images/design_facede_sp.webp");
    aspect-ratio: 768 / 1568;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.design-bg.entrance {
  background-image: url("../images/design_entrance.webp");
  aspect-ratio: 16 / 10;
  @media (max-width: 768px) {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.design-bg.bottom {
  background-image: url("../images/design_bottom.webp");
  aspect-ratio: 215 / 153;
  @media (max-width: 768px) {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.design-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 4em;
  justify-content: center;
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    padding: 0 1em;
  }
}

.design-grid-container-item .public-title {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.12em;
  line-height: 1.2;
  border-bottom: solid 0.5px #000;
  padding: 1em 0;
  @media (max-width: 768px) {
    min-height: ;
    font-size: 0.9em;
  }
}

.public-text {
  font-size: 0.98em;
  line-height: 1.4;
  text-align: left;
  padding: 1em 0;
  @media (max-width: 768px) {
    font-size: 0.78em;
  }
}
.public-text span {
  font-size: 0.55em;
  list-style: 1;
}

.design-grid-image-wrapper {
  position: relative;
  display: inline-block;
}

.design-grid-text-with-logo {
  position: relative;
}

.public-text {
  line-height: 1.8;
  text-align: justify;
}

.public-logo {
  float: right;
  margin: 0.3em 0 0.3em 1em;
  width: 98px;
  height: auto;
}
.greenplan-image-wrapper .banner-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #fff;
  padding: 0.1em 0.8em;
  max-width: 80%;
  text-align: right;
  font-size: 0.575rem;
  z-index: 2;
}

.landplan-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #000000;
  padding: 0.1em 0.8em;
  z-index: 2;
  max-width: 80%;
  text-align: right;
  font-size: 0.575rem;
}

.greenplan-flex-container {
  display: flex;
  justify-content: space-between;
  @media (max-width: 768px) {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
  }
}

.greenplan-flex-item {
}

.greenplan-image-wrapper {
  position: relative;
  display: inline-block;
  width: 155px;
}

.greenplan-image-wrapper .banner-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #fff;
  padding: 0.1em 0.8em;
  max-width: 80%;
  text-align: right;
  font-size: 0.575rem;
  z-index: 2;
}
/* ========== access ========== */
.access {
  text-align: center;
  padding: 2em 0;
}

.access .section-head h2 {
  font-weight: 400;
}

.access .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.access .container.p3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-around;
  gap: 16px;
}

.access .container.p3 > .item .item-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5em;
  font-size: 0.9rem;
  color: #333;
}

.access .container.p3 > .item .item-caption .item-caption__left {
  text-align: left;
}

.access .container.p3 > .item .item-caption .item-caption__right {
  text-align: right;
  font-weight: bold;
}

.access .container.p4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 12px;
}

.access .container.p4 > .item {
  position: relative;
  display: inline-block;
}

.access .container.p4 > .item > .overlay-text {
  position: absolute;
  bottom: -5%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.25em;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 1), 2px 2px 4px rgba(0, 0, 0, 0.9),
    3px 3px 6px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  @media (max-width: 768px) {
    font-size: 1em;
    white-space: normal;
  }
}

.access .container.p4 > .item > .overlay-text span {
  font-size: 0.7em;
}
.access .container.p4 > .item > .overlay-text span.time {
  font-size: 1.25em;
  line-height: 1;
}
.access .container.p4 > .item > .overlay-text--left {
  left: 0%;
  margin-left: 0.1em;
  text-align: left;
  @media (max-width: 768px) {
    top: 1em;
    left: 0.5em;
    bottom: auto;
    margin: 0;
    text-align: left;
  }
}

.access .container.p4 > .item > .overlay-text--right {
  right: 0;
  margin-right: 0.4em;
  text-align: right;
  @media (max-width: 768px) {
    top: 2.5em;
    left: 0.5em;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
    display: block;
  }
}

.access .route-caption {
  margin: 1em 0;
  list-style: none;
  padding-left: 1em;
  text-align: left;
  font-size: 0.7em;
}

.access .route-caption li {
  position: relative;
  padding-left: 1em;
  text-indent: -1em;
}

.access .route-caption li::before {
  content: "■";
  display: inline-block;
  width: 1em;
  color: black;
}

.access .box {
  width: 100%;
  padding: 4px;
  border: solid 1px #000;
  margin: 1em 0;
}

.access.metro .point {
  text-align: center;
  padding: 2em;
  background: #edf6f3;
  @media (max-width: 768px) {
    padding-left: 1em;
    padding-right: 1em;
  }
}

.access.metro .point .grid-container {
  grid-template-columns: 1fr 1fr;
  text-align: left;
  @media (max-width: 768px) {
    display: block;
  }
}

.access.metro .point .grid-container .point-item-title {
  background: #259b82;
}

.access.metro .point .grid-container .item {
  text-align: center;
}

.access.metro .point .grid-container .point-item-title p {
  color: #fff;
}
.access.metro .point .grid-container .point-item-text > p {
  font-size: 25px;
  line-height: 1;
  @media (max-width: 768px) {
    font-size: 0.825em;
    padding: 1em 0;
  }
}

.access.metro .point .grid-container .point-item-text span.large {
  font-size: 3em;
  padding-left: 8px;
  padding-right: 4px;
}
.access.metro .point .grid-container .point-item-text span.red {
  color: #a72126;
}
.access.metro .point .grid-container .point-item-text span.medium {
  font-size: 1.2em;
}
.access.metro .point .grid-container span.small {
  font-size: 0.7em;
}

.access.metro .point .caption {
  padding: 2em 0;
  text-align: right;
  font-size: 0.7em;
  @media (max-width: 768px) {
    padding: 1em 0;
    text-align: center;
  }
}
.along-railway {
  padding: 3em 0;
  background-color: #f5f5f5;
}

.along-railway .w990 {
  margin: 0 auto;
}

.along-railway .container {
  display: grid;
  padding: 0 2.5em;
  gap: 16px;
  @media (max-width: 768px) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1em;
  }
}

.along-railway .container .item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "image";
  @media (max-width: 768px) {
    grid-template-areas:
      "image"
      "title";
  }
}

.along-railway .item .facility {
  grid-area: title;
}

.along-railway .item .facility-wrapper {
  grid-area: image;
}

.along-railway .container .item {
  border-top: solid 2px #000;
}

.along-railway .container .item p {
  padding: 0.85em 0;
  @media (max-width: 768px) {
    padding: 0;
  }
}
.facility-wrapper {
  position: relative;
  display: inline-block;
  @media (max-width: 768px) {
    padding: 0.5em 0;
  }
}
.facility-wrapper .banner-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  padding: 0.1em 0.8em;
  z-index: 2;
  max-width: 80%;
  text-align: right;
  font-size: 0.575rem;
  @media (max-width: 768px) {
    bottom: 12%;
  }
}

.along-railway .facility-wrapper .banner-caption > p {
  padding: 0;
}

.along-railway .container .item p.facility-text {
  font-size: 0.85em;
  text-align: left;
}
.access .container .item p span {
  font-size: 0.85em;
}

.caraccess {
  padding: 0.5em 0;
  line-height: 1;
}

.access.car .container.p3 {
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.access.car .container.p3 .item:nth-child(3) {
  @media (max-width: 768px) {
    grid-column: 1 / 3;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - 8px);
  }
}

.access .container .item .caraccess p span.large {
  font-size: 1.5em;
}

.access .container .item .caraccess p span.medium {
  font-size: 1.25em;
}

.caraccess .caraccess-title {
  border-bottom: solid 1px #000;
  padding: 8px 0;
}

.caraccess .caraccess-text {
  padding: 8px 0;
}

/* ========== /map ========== */
#map {
}

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

.map-section .map-item img {
  display: block;
  width: 100%;
  height: auto;
}

.map-section .gmap {
  background-color: #7b9676;
  color: #fff;
  border: none;
  width: 300px;
  padding: 2em 1em;
  margin: 3em auto;
}

.map-section .gmap a {
  color: #fff;
}

@media (max-width: 768px) {
  .map-section .gmap {
    width: 180px;
    padding: 1em;
  }
}

/* ========== outline ========== */
.outline-section .outline-item {
  text-align: center;
}

.outline-section .outline-item h3,
.map-section h3 {
  font-size: clamp(18px, 1.43vw, 24px);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border: solid 0.5px #000;
  font-size: 0.9em;
}

.info-table th,
.info-table td {
  padding: 0.5em;
  border-bottom: 1px solid #ddd;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0.5px solid #000;
}
.info-table th {
  width: 30%;
  text-align: left;
  background: #eeedec;
}
.info-table td {
  width: 70%;
  text-align: left;
}

.info-table td ul li.disc {
  list-style-type: disc;
  margin-left: 2em;
}

.info-table td ul li.disc::marker {
  font-size: 0.5em;
}

.table-note {
  border: 1px solid #000;
  padding: 1em;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.6;
}

.table-note p {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.table-note ul {
  padding-left: 1.2em;
}

.table-note ul li {
  margin-bottom: 0.5em;
  list-style: none;
  position: relative;
}

.table-note ul li::before {
  content: "※";
  position: absolute;
  left: -1.2em;
}

@media (max-width: 768px) {
  .outline-section .outline-item h3,
  .map-section h3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* ========== entry & reserve ========== */
.contact-head h2 {
  font-size: clamp(30px, 3.8vw, 64px);
  margin-bottom: 1rem;
}
.contact-head h2 span {
  font-size: clamp(16px, 1.9vw, 32px);
}
.contact-head p {
  font-size: clamp(12px, 1.43vw, 24px);
}

/* photogallary */
.photogallery {
  text-align: center;
}
.slider-guard {
  position: relative;
  width: 100%;
  overflow-x: clip;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
}

.slider-guard .slick-list {
  overflow: visible;
  margin-inline: -12px;
  padding-inline: 12px;
}

.gallery-main img,
.gallery-nav img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}
.gallery-main .main-slide {
  position: relative;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  right: 6px;
  bottom: 6px;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.slide-caption,
.main-slide.two-cap::before,
.main-slide.two-cap::after {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.35);
}

.gallery-nav {
  margin-top: 14px;
}
.gallery-nav .thumb {
  padding: 2px;
}
.gallery-nav img {
  display: block;
  width: 100%;
  height: 80px;
  object-fit: cover;
}
.gallery-nav .slick-current img {
  border-color: #999;
}

.slick-slide {
  outline: none;
}

.main-slide.two-cap {
  --cap-bottom: 6px;
  position: relative;
}

.main-slide.two-cap::before,
.main-slide.two-cap::after {
  position: absolute;
  bottom: var(--cap-bottom);
  color: #fff;
  font-size: 24px;
  pointer-events: none;
  white-space: nowrap;
}

.main-slide.two-cap::before {
  content: attr(data-cap-left);
  left: calc(50% - 6px);
  transform: translateX(-100%);
}

.main-slide.two-cap::after {
  content: attr(data-cap-right);
  right: 6px;
}

.main-slide.two-cap .slide-caption {
  display: none;
}

.gallery-nav .slick-slide img {
  filter: brightness(0.45) contrast(1.05);
  transition: filter 0.2s ease;
}

.gallery-nav .slick-slide.slick-current img {
  filter: none;
}

.gallery-nav .slick-slide:hover img {
  filter: brightness(0.9);
}

@media (max-width: 768px) {
  .slide-caption,
  .main-slide.two-cap::before,
  .main-slide.two-cap::after {
    font-size: 12px;
  }
  .gallery-nav img {
    width: 100%;
    height: 80px;
    object-fit: contain;
  }
}

/* plan */
:root {
  --brand-green: #0f4228;
  --brand-beige: #d5c8a0;
  --brand-light-beige: #eae4d1;
  --badge-fg: #e7e6cf;
  --arrow-size: 25px;
  --arrow-color: #d5c8a0;
}
.bg-green {
  background: var(--brand-green);
  background: linear-gradient(to bottom, #0f4228 0%, #337a52 100%);
  color: #fff;
  padding-bottom: 5em;
  @media (max-width: 768px) {
    padding-bottom: 2em;
  }
}

.bg-beige {
  background-color: var(--brand-light-beige);
  padding-bottom: 5em;
}

.plan .section-head {
  text-align: center;
}

.point-strip {
  max-width: 990px;
  margin: 0 auto;
  margin-bottom: 0.5em;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  background: var(--brand-light-beige);
}

.point-strip__badge {
  background: #000;
  color: var(--brand-light-beige);
  padding: 6px 30px;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 2.2vw, 28px);
  white-space: nowrap;
}

.point-strip__text {
  margin: 0;
  padding: 6px 16px;
  color: var(--brand-green);
  font-size: clamp(12px, 1.85vw, 34px);
}

.point-strip__text small {
  display: inline-block;
  font-size: 0.6em;
  white-space: nowrap;
}

.point-strip__text_middle {
  font-size: clamp(16px, 1.45vw, 24px);
}

@media (max-width: 480px) {
  .point-strip__badge {
    padding: 8px 14px;
  }
  .point-strip__text {
    padding: 8px 12px;
    letter-spacing: -0.85px;
  }
  .under .bg-green {
    margin-top: -3em;
    margin-left: -1em;
    margin-right: -1em;
    padding-left: 1em;
    padding-right: 1em;
  }
  .under .bg-beige {
    margin-left: -1em;
    margin-right: -1em;
    padding-left: 1em;
    padding-right: 1em;
  }
}
.plan-point {
  margin-bottom: 5em;
  @media (max-width: 768px) {
    margin-bottom: 2em;
  }
}
.plan-point .point-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 0.5em;
  @media (max-width: 768px) {
    display: block;
  }
}
.plan-point .point-container.col-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  @media (max-width: 768px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.point-item.left img {
  display: block;
  width: 100%;
  height: auto;
}

.point-item.right,
.right-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.point-rows {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 0;
  @media (max-width: 768px) {
    gap: 8px;
  }
}

.point-row {
  display: grid;
  grid-template-columns: 125px 1fr;
  align-items: stretch;
  min-height: 0;
}

:root {
  --row-pad-block: 0.6em;
  --row-pad-inline: 0.9em;
}

.point-row__badge {
  background: var(--brand-beige);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  padding: var(--row-pad-block) var(--row-pad-inline);
  line-height: 1;
  white-space: nowrap;
  font-size: clamp(20px, 2.6vw, 32px);
}

.point-row__text {
  margin: 0;
  background: #fff;
  color: #111;
  padding: var(--row-pad-block) var(--row-pad-inline);
  line-height: 1.5;
  font-size: clamp(12px, 1.6vw, 18px);
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
}

@media (max-width: 600px) {
  .point-row {
    grid-template-columns: 110px 1fr;
  }
}

.plan-point .point-container.wide-gap {
  grid-template-columns: 1fr auto 1fr; /* 画像 / 矢印 / 画像 */
  align-items: center;
}

/* 画像＋左上バッジのオーバーレイ */
.photo-card {
  position: relative;
  margin: 0;
}
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
}
.photo-badge {
  position: absolute;
  left: 0px;
  top: 0px;
  background: #000;
  color: #fff;
  padding: 0.5em 0.85em;
  line-height: 1;
  letter-spacing: 0.08em;
  font-size: clamp(12px, 1.55vw, 24px);
  pointer-events: none;
}

.photo-arrow {
  width: 0;
  height: 0;
  color: var(--brand-light-beige);
  border-top: var(--arrow-size) solid transparent;
  border-bottom: var(--arrow-size) solid transparent;
  border-left: calc(var(--arrow-size) * 1.6) solid var(--arrow-color);
  align-self: center;
}

/* SP：縦並び＋下向き矢印 */
@media (max-width: 768px) {
  .plan-point .point-container.wide-gap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto; /* 画像 / 矢印 / 画像 */
    row-gap: 16px;
  }
  .photo-arrow {
    border: none;
    border-left: var(--arrow-size) solid transparent;
    border-right: var(--arrow-size) solid transparent;
    border-top: calc(var(--arrow-size) * 1.6) solid var(--arrow-color); /* 下向き */
    margin: 12px auto;
  }
}

.point-caption {
  margin-top: 0.6em;
  text-align: center;
  line-height: 1.6;
  font-size: clamp(12px, 1.3vw, 16px);
  color: inherit;
  padding: 0 0.25em;
}
.w1280 {
  max-width: 1280px;
  margin: 0 auto;
}
.ldk-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.ldk-item {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
}
.ldk-item > img {
  grid-row: 1;
  grid-column: 1;
  display: block;
  width: 100%;
  height: auto;
}

.ldk-item > .banner-caption {
  grid-area: 1 / 1;
  position: static;
  justify-self: end;
  align-self: end;
  z-index: 2;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  padding: 0.1em 0.8em;
  max-width: 80%;
  text-align: right;
  font-size: 0.575rem;
}
.banner-caption p {
  margin: 0;
}

.ldk-item > .point-caption {
  grid-row: 2;
  margin-top: 0.9em;
  min-height: 100px;
}

.point-caption__title {
  display: block;
  color: var(--brand-green);
  line-height: 1.5;
  font-size: clamp(12px, 1.65vw, 17px);
  font-weight: 600;
}
.point-caption__desc {
  display: block;
  text-align: left;
  margin-top: 0.5em;
  color: #111;
  line-height: 1.4;
  font-size: clamp(10px, 1.55vw, 13px);
}

.plan.top.plot {
  padding: 5em 0;
}
.plot-slider {
  margin: 1em 0;
}

.plot-slider img {
  width: 50%;
  margin: 0 auto;
  height: auto;
  display: block;
  @media (max-width: 768px) {
    width: 80%;
  }
}

.plot-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 12px;
  @media (max-width: 768px) {
    display: block;
  }
}
.plot-nav button {
  border: none;
  background: transparent;
  background-color: #fff;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: all 0.3s;
}
.plot-nav button:hover {
  opacity: 0.7;
}
.plot-nav img {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

body.no-scroll {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.plot-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.plot-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.plot-modal-box {
  --pad: 1em;
  background: #fff;
  padding: var(--pad);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
  max-width: 96vw;
  max-height: 96dvh;
  transform: scale(0.97);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plot-modal.show .plot-modal-box {
  transform: scale(1);
}

.plot-modal .plot-modal-content {
  display: block !important;
  height: calc(98dvh - (var(--pad) * 2)) !important;
  height: calc(98vh - (var(--pad) * 2)) !important;
  width: auto !important;
  max-width: calc(98vw - (var(--pad) * 2)) !important;
  max-height: none !important;
  object-fit: contain !important;
}

.plot-modal-close {
  position: absolute;
  top: 2vh;
  right: 20vw;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
  z-index: 10000;
  pointer-events: auto;
  touch-action: manipulation;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.plot-modal-close:hover {
  opacity: 0.8;
}
.plot-modal-close:focus {
  outline: none;
}
.plot-modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .plot-modal-box {
    --pad: 0.8em;
    max-width: 95vw;
    max-height: 80dvh;
  }
}

/* QUALITY　*/
:root {
  --tab-bg: #b8a86c;
  --tab-bg-active: #6f5f2a;
  --tab-text: #ffffff;
  --tab-gap: 7px;
  --tab-height: 36px;
}

.equip-tabs {
  margin: 0 auto;
}

:focus {
  outline: none !important;
}
.equip-tabs .tablist {
  display: flex;
  gap: var(--tab-gap);
  align-items: center;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: thin;
  @media (max-width: 768px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
.equip-tabs .tablist::-webkit-scrollbar {
  height: 6px;
}
.equip-tabs .tablist::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.equip-tabs .tab {
  flex: 0 0 auto;
  min-width: 230px;
  height: var(--tab-height);
  border: 0;
  background: var(--tab-bg);
  color: var(--tab-text);
  font-family: var(--main-serif);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.05s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12) inset;
  padding: 0px 4px;
  @media (max-width: 768px) {
    min-width: auto;
    font-size: 14px;
  }
}
.equip-tabs .tab:hover {
  filter: brightness(0.95);
}
.equip-tabs .tab:active {
  transform: translateY(1px);
}
.equip-tabs .tab.is-active {
  background: var(--tab-bg-active);
}

@media (max-width: 480px) {
  :root {
    --tab-gap: 12px;
    --tab-height: 36px;
  }
  .equip-tabs .tab {
    min-width: 120px;
    font-size: 13px;
  }
  .equip-tabs .tabpanel {
    padding: 16px;
  }
}

.__tab_contents {
  margin: 0 auto;
  padding: 2.5em 0;
}

.__tab_contents .section-head {
  margin: 0 auto;
  text-align: center;
}
.quality-top-image img {
  width: 100%;
  @media (max-width: 768px) {
    width: 100%;
    padding: 0;
  }
}

.quality-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  @media (max-width: 768px) {
    display: block;
  }
}

.quality-container {
  display: grid;
  grid-auto-flow: row dense;
  justify-items: stretch;
  align-items: start;
}

.__col-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding: 0;
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 2em;
  }
}

.__col-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 2em 0;
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.quality-item .caption-wrap {
  position: relative;
}

.quality-item.__wide {
  grid-column: span 2;
}

.quality-item.__wide img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  @media (max-width: 768px) {
    height: auto;
  }
}

.quality-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quality-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  @media (max-width: 768px) {
    height: auto;
  }
}

.quality-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

h3.quality-title {
  font-weight: 450;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 1px;
  margin: 0;
  color: #333;
  padding: 0.35em 0;
  border-bottom: none;
  @media (max-width: 768px) {
    font-size: 14px;
    line-height: 1.2;
    min-height: 50px;
    align-content: center;
  }
}

h3.quality-title.short {
  letter-spacing: -2px;
}

.quality-caption {
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  margin: 0;
  color: #666;
  text-align: justify;
  @media (max-width: 768px) {
    line-height: 1.5;
  }
}

.quality-item figcaption {
  width: 100%;
}
.quality-container.__col-4 {
  --quality-gap: 30px;
  --quality-card-measure: 240px;
}

.quality-item:not(:has(img)) figcaption {
  max-width: var(--quality-card-measure);
  margin-inline: auto;
}

.quality-item.__wide:not(:has(img)) figcaption {
  max-width: calc(2 * var(--quality-card-measure) + var(--quality-gap));
}

.quality-item.__noimg figcaption {
  max-width: var(--quality-card-measure);
  margin-inline: auto;
}
.quality-item.__wide.__noimg figcaption {
  max-width: calc(2 * var(--quality-card-measure) + var(--quality-gap));
}
.quality-container.__col-4.__keep-gaps {
  grid-auto-flow: row;
}

.quality-placeholder {
  visibility: hidden;
  pointer-events: none;
  width: 100%;
  min-height: 220px;
}

.borb img {
  border: solid 1px #9a9a9a;
}

/* ===== PC：3カラム1行。左右は中で2段に積む ===== */
.five-split {
  --fs-gap: 15px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  column-gap: var(--fs-gap);
  align-items: start;
}

.fs-left,
.fs-right {
  display: grid;
  grid-auto-rows: auto;
  row-gap: var(--fs-gap);
}

.fs-left-top,
.fs-left-bottom,
.fs-right-top,
.fs-right-bottom,
.fs-center {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.five-split .quality-title {
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .five-split {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--fs-gap);
  }
  .fs-center {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .five-split {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .fs-center,
  .fs-left,
  .fs-right {
    grid-column: 1;
  }
  .fs-left,
  .fs-right {
    row-gap: 16px;
  }
}

/* === SPカレンダーはみ出し対策 === */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .flatpickr-calendar {
    max-width: 100vw;
    width: calc(100vw - 32px);
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999;
  }

  .flatpickr-months,
  .flatpickr-current-month {
    min-width: 0;
  }
  .flatpickr-current-month .cur-month,
  .flatpickr-current-month .numInputWrapper {
    flex: 0 1 auto;
  }
}
