:root {
  --color-gray-base: #5c6266;
  --color-celeste: #81D8D0;
  --color-celeste-light: #E0F5F3;
  --color-deep-green-blue: #144955;
  --color-accent-warm: #E68A69;
  --color-bg-light: #F7FAFA;
  --color-bg-white: #ffffff;
  --color-text-main: #333C40;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-en: 'Outfit', sans-serif;
  --line-height-base: 1.8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: var(--line-height-base);
  font-size: clamp(16px, 1.2vw, 18px);
  overflow-x: hidden;
  letter-spacing: 0.05em;
}

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

ul {
  list-style: none;
}

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

.section {
  padding-top: 10vw;
  padding-bottom: 10vw;
  position: relative;
  z-index: 2;
}

.container-dynamic {
  width: 100%;
  padding-left: 7vw;
  padding-right: 7vw;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

.container-dynamic.reverse {
  padding-left: 7vw;
  padding-right: 7vw;
}

/* セクションタイトル */
.sec-title {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--color-deep-green-blue);
  margin-bottom: 4rem;
  font-weight: 800;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 0.1em;
  text-align: center;
}

.sec-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent-warm);
  margin-top: 25px;
  border-radius: 2px;
}

/* ボタン */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.6rem 0.6rem 2.5rem;
  background-color: var(--color-deep-green-blue);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 8px 20px rgba(20, 73, 85, 0.15);
  border: 2px solid var(--color-deep-green-blue);
  cursor: pointer;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--color-celeste);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.btn::after {
  content: "➔";
  margin-left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #fff;
  color: var(--color-deep-green-blue);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover {
  color: var(--color-deep-green-blue);
  border-color: var(--color-celeste);
  box-shadow: 0 15px 25px rgba(129, 216, 208, 0.3);
  transform: translateY(-4px);
}

.btn:hover::before {
  width: 100%;
}

.btn:hover::after {
  background-color: var(--color-deep-green-blue);
  color: #fff;
  transform: translateX(3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-deep-green-blue);
  border: 2px solid var(--color-deep-green-blue);
  box-shadow: none;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem !important;
}

.btn-outline::after {
  width: 32px;
  height: 32px;
  font-size: 1rem;
  margin-left: 10px;
  background-color: var(--color-deep-green-blue);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--color-deep-green-blue);
  color: #fff;
}

.btn-outline:hover::before {
  background-color: var(--color-deep-green-blue);
}

.btn-outline:hover::after {
  background-color: #fff;
  color: var(--color-deep-green-blue);
}

/* ヘッダー */
header.global-header {
  position: fixed;
  top: 20px;
  left: 2vw;
  right: 2vw;
  width: auto;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo {
  display: block;
  width: 50px;
  flex-shrink: 0;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-logo-text .catch {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-celeste);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.header-logo-text .name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-deep-green-blue);
  font-family: var(--font-en);
  line-height: 1.1;
}

.global-nav ul {
  display: flex;
  gap: 2vw;
  align-items: center;
}

.global-nav a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gray-base);
  transition: color 0.3s;
}

.global-nav a:hover {
  color: var(--color-celeste);
}

.lang-switcher {
  margin-left: 2vw;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 2vw;
  border-left: 1px solid rgba(0,0,0,0.1);
}

.lang-switcher a {
  color: var(--color-gray-base);
  transition: color 0.3s;
}

.lang-switcher a.active {
  color: var(--color-deep-green-blue);
  border-bottom: 2px solid var(--color-celeste);
}

.lang-switcher a:hover {
  color: var(--color-celeste);
}

/* ヒーローセクション */
.page-hero {
  position: relative;
  height: 56vh;
  min-height: 500px;
  background:
    linear-gradient(
      135deg,
      rgba(20, 73, 85, 0.8),
      rgba(129, 216, 208, 0.7)
    ),
    url('../images/DSC00747.jpg') center 68% / cover fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  border-radius: 0 0 40px 40px;
  margin-bottom: 0;
  padding-top: 80px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.page-hero h1 {
  font-family: var(--font-en);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  line-height: 1.1;
}

.page-hero p {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-top: 15px;
  opacity: 0.9;
}

/* 住所・マップ セクション */
.map-wrapper {
  background-color: #ffffff;
  border-radius: 40px;
  padding: 6vw 5vw;
  box-shadow: 0 20px 60px rgba(20, 73, 85, 0.06);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: -50px;
  z-index: 10;
}

.map-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--color-celeste),
    var(--color-deep-green-blue)
  );
  border-radius: 0 0 10px 10px;
}

.access-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.access-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-celeste-light);
  color: var(--color-deep-green-blue);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.15rem;
  border: 2px solid var(--color-celeste);
  width: fit-content;
  margin-bottom: 10px;
}

.access-badge svg {
  width: 24px;
  height: 24px;
}

.access-address {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--color-text-main);
  font-weight: 600;
}

.access-tel {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-deep-green-blue);
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.google-map-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  position: relative;
  padding-bottom: 65%;
  border: 1px solid rgba(0,0,0,0.05);
}

.google-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 全体地図イラスト枠 */
.map-illustration-box {
  max-width: 650px;
  margin: 0 auto 50px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(20, 73, 85, 0.08);
  border: 1px solid rgba(20, 73, 85, 0.05);
  background: #fff;
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.2, 1, 0.3, 1),
    box-shadow 0.4s;
}

.map-illustration-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(20, 73, 85, 0.12);
}

.map-illustration-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-color: var(--color-celeste-light);
}

.map-illustration-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--color-deep-green-blue);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.map-illustration-box::after {
  content: '＋';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 60px;
  height: 60px;
  background: rgba(20, 73, 85, 0.85);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 300;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}

.map-illustration-box:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
#lightbox {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  backdrop-filter: blur(8px);
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

#lightbox.active img {
  transform: scale(1);
}

#lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  z-index: 2001;
}

#lightbox-close:hover {
  background: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}

/* 道順（図解）セクション */
.directions-section {
  background-color: var(--color-bg-light);
  border-radius: 40px 40px 0 0;
  margin-top: -40px;
  padding-top: 8vw;
  position: relative;
  z-index: 9;
}

.directions-map-visual {
  width: min(100%, 1180px);
  margin: 0 auto clamp(48px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(20, 73, 85, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 73, 85, 0.09);
}

.directions-map-visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .directions-map-visual {
    margin-bottom: 40px;
    border-radius: 14px;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 73, 85, 0.04);
  border: 1px solid rgba(20, 73, 85, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s, box-shadow 0.4s;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(20, 73, 85, 0.08);
}

.step-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.step-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-celeste);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-main);
  font-weight: 600;
}

/* 建物外観とエントランス */
.exterior-section {
  background-color: var(--color-deep-green-blue);
  color: #fff;
  border-radius: 40px 40px 0 0;
  margin-top: -40px;
  padding-top: 8vw;
  padding-bottom: 8vw;
  position: relative;
  z-index: 7;
}

.exterior-section .sec-title {
  color: #fff;
}

.exterior-section .sec-title::after {
  background-color: var(--color-celeste);
}

.exterior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.exterior-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.exterior-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.exterior-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}

/* フッター・CTA系 */
footer {
  background: #0F172A;
  color: #fff;
  padding: 80px 4vw 40px;
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-right {
  display: flex;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
  margin-bottom: 40px;
}

.footer-logo {
  display: block;
  width: 90px;
  flex-shrink: 0;
}

.footer-logo-text .catch {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-celeste);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 5px;
}

.footer-logo-text .name {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-en);
  line-height: 1.2;
  color: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 60px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-nav a {
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s;
  font-size: 1.05rem;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--color-celeste);
}

/* 追従CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.circle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #FF9E7D 0%,
    var(--color-accent-warm) 100%
  );
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 12px 25px rgba(230, 138, 105, 0.5),
    inset 0 4px 8px rgba(255, 255, 255, 0.5),
    inset 0 -4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.circle-btn:hover {
  background: linear-gradient(
    135deg,
    #1A5A69 0%,
    var(--color-deep-green-blue) 100%
  );
  box-shadow:
    0 15px 35px rgba(20, 73, 85, 0.4),
    inset 0 4px 8px rgba(255, 255, 255, 0.3),
    inset 0 -4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.circle-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: rotateText 12s linear infinite;
}

.circle-text svg {
  width: 100%;
  height: 100%;
}

.circle-text text {
  fill: #fff;
  font-size: 13px;
  font-weight: 700;
}

.circle-icon {
  font-size: 1.8rem;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.25));
}

.circle-btn:hover .circle-icon {
  transform: scale(1.15) rotate(-15deg);
}

@keyframes rotateText {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.i18n-elem {
  transition: opacity 0.3s ease;
}

@media (max-width: 992px) {

  header.global-header {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 20px;
    border-radius: 30px;
  }

  .header-logo-wrap {
    gap: 8px;
  }

  .header-logo {
    width: 40px;
  }

  .header-logo-text .catch {
    font-size: 0.6rem;
  }

  .header-logo-text .name {
    font-size: 0.85rem;
  }

  .global-nav {
    display: none;
  }

  .section {
    padding-top: 15vw;
    padding-bottom: 15vw;
  }

  .container-dynamic {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .container-dynamic.reverse {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .map-wrapper {
    padding: 40px 20px;
    border-radius: 25px;
  }

  .access-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .google-map-container {
    padding-bottom: 80%;
  }

  .exterior-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .exterior-img {
    height: 250px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }

  .footer-left {
    align-items: center;
  }

  .footer-logo-wrap {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 30px;
  }

  .footer-logo-text {
    text-align: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
    gap: 40px;
  }

  .floating-cta {
    bottom: 20px;
    right: 20px;
  }

  .circle-btn {
    width: 90px;
    height: 90px;
  }

  .circle-text text {
    font-size: 10.5px;
  }

  .circle-icon {
    font-size: 1.5rem;
  }
}

/* Mobile layout hardening: 360–600px */
@media (max-width: 600px) {

  *,
  *::before,
  *::after {
    min-width: 0;
  }

  html {
    font-size: 15px;
    overflow-x: hidden;
  }

  body {
    overflow-x: clip;
    overflow-wrap: anywhere;
  }

  header.global-header {
    top: 6px;
    left: 6px;
    right: 6px;
    padding: 8px 12px;
    border-radius: 24px;
    gap: 8px;
  }

  .header-logo-wrap {
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-logo {
    width: 32px;
  }

  .header-logo-text {
    min-width: 0;
  }

  .header-logo-text .catch {
    display: none;
  }

  .header-logo-text .name {
    display: block;
    max-width: 145px;
    font-size: 0.72rem;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  header.global-header > div:last-child {
    flex: 0 0 auto;
  }

  .lang-switcher {
    margin-left: 6px;
    padding-left: 8px;
    gap: 8px;
    font-size: 0.85rem;
  }

  .page-hero {
    height: auto;
    min-height: 360px;
    padding: 110px 16px 70px;
    border-radius: 0 0 24px 24px;
    background-attachment: scroll;
    background-position: center 68%;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
  }

  .page-hero p {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .container-dynamic,
  .container-dynamic.reverse {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sec-title {
    display: block;
    max-width: 100%;
    margin-bottom: 40px;
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.35;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 8px 8px 8px 18px;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .btn::after {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-left: 10px;
  }

  .btn-outline {
    padding: 8px 8px 8px 16px !important;
  }

  footer {
    padding: 60px 16px 28px;
  }

  .footer-container {
    width: 100%;
    padding-bottom: 42px;
    gap: 36px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .footer-logo {
    width: 72px;
  }

  .footer-logo-text .name {
    font-size: 1.15rem;
    overflow-wrap: anywhere;
  }

  .footer-nav {
    width: 100%;
    gap: 26px;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
  }

  .circle-btn {
    width: 76px;
    height: 76px;
  }

  .circle-text text {
    font-size: 9.5px;
  }

  .circle-icon {
    font-size: 1.25rem;
  }
}

@media (max-width: 600px) {

  .map-wrapper {
    padding: 30px 16px;
    border-radius: 20px;
  }

  .access-badge {
    width: 100%;
    padding: 9px 14px;
    font-size: 1rem;
    white-space: normal;
  }

  .access-address {
    font-size: 1rem;
    line-height: 1.8;
  }

  .access-tel {
    font-size: 1.05rem;
    flex-wrap: wrap;
  }

  .google-map-container {
    padding-bottom: 90%;
    border-radius: 16px;
  }

  .map-illustration-box {
    margin-bottom: 34px;
    border-radius: 18px;
  }

  .map-illustration-label {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .steps-grid,
  .exterior-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .step-content {
    padding: 24px 18px;
  }

  .step-desc {
    font-size: 1rem;
    line-height: 1.75;
  }

  .exterior-img {
    height: 210px;
  }

  .exterior-label {
    padding: 20px 18px;
    font-size: 1.05rem;
  }

  #lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }
}

/* 左右幅の統一：全ページのコンテンツを画面中央に配置 */
html,
body {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.container-dynamic,
.container-dynamic.reverse {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 7vw, 112px);
  padding-right: clamp(16px, 7vw, 112px);
}

@media (max-width: 992px) {

  .container-dynamic,
  .container-dynamic.reverse {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (max-width: 600px) {

  .container-dynamic,
  .container-dynamic.reverse {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================================================
   2026 Revision: Access Page Updates
========================================================= */
.access-hours {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--color-bg-warm);
  border: 1px solid rgba(20, 73, 85, 0.1);
  border-radius: 12px;
  color: var(--color-deep-green-blue);
  font-size: 0.95rem;
  line-height: 1.6;
}

.access-hours svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent-warm);
}

.steps-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(16px, 1.8vw, 24px) !important;
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 620px) {
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.step-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.step-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* =========================================================
   Clean Backgrounds for Access Page
========================================================= */

/* Access Info Section */
.section:has(.map-wrapper),
.access-info-section {
  background-color: var(--color-bg-base);
}

.map-wrapper {
  background: #FFFFFF;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(20, 73, 85, 0.08);
  box-shadow: 0 8px 24px rgba(20, 73, 85, 0.05);
}

/* Directions Section */
.directions-section {
  background-color: var(--color-bg-warm) !important;
}

.step-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(20, 73, 85, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20, 73, 85, 0.04) !important;
}

/*
 * 背景人物は各ボックス内の写真と重ならないよう、
 * PCではセクション下端の余白だけに収める。
 */
@media (min-width: 1201px) {
  .access-info-section,
  .directions-section {
    padding-bottom: clamp(300px, 26vw, 420px);
  }

  .access-info-section > .ambient-photo,
  .directions-section > .ambient-photo {
    top: auto;
    bottom: 28px;
    width: clamp(380px, 34vw, 560px);
  }

  .access-info-section > .ambient-pos-band-right,
  .directions-section > .ambient-pos-foot-right {
    right: clamp(28px, 4vw, 64px);
    left: auto;
  }

  .access-info-section > .ambient-pos-foot-left,
  .directions-section > .ambient-pos-band-left {
    right: auto;
    left: clamp(28px, 4vw, 64px);
  }
}

/* 狭い画面では背景人物用の安全な余白がないため表示しない。 */
@media (max-width: 1200px) {
  .access-info-section > .ambient-photo,
  .directions-section > .ambient-photo {
    display: none !important;
  }
}

/* PCのSTEP 2：カード幅に合わせて日本語の案内を一行に収める。 */
@media (min-width: 1025px) {
  html:lang(ja) main > .directions-section .step-content:has(> .step-desc--single-line) {
    container-type: inline-size;
  }

  html:lang(ja) main > .directions-section .step-desc.step-desc--single-line {
    font-size: min(clamp(0.9rem, 0.95vw, 0.98rem), 100cqi / 18) !important;
    letter-spacing: 0;
    white-space: nowrap;
  }
}
