/* ============================================
   Variables & Reset
   ============================================ */
:root {
  --color-primary:       #5ABECF;
  --color-primary-hover: #44A8BA;
  --color-yellow:        #F5C842;
  --color-pink:          #E8A4A4;
  --color-navy:          #1E2A38;
  --color-text:          #333333;
  --color-bg-beige:      #ffdc00;
  --color-bg-blue:       #EBF6FA;
  --color-border:        #DDE8EC;
  --color-white:         #ffffff;

  --font-en:  'Playfair Display', serif;
  --font-ja:  'Noto Sans JP', sans-serif;

  --max-width: 1140px;
  --header-h: 72px;

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #ffdc00;
  overflow-x: clip;
}

body {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg-beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: '';
  position: fixed;
  inset: -30px;
  border: 40px solid #ffdc00;
  border-radius: 50px;
  z-index: 99990;
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-ja);
}

/* ============================================
   Utility
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-white);
  opacity: 1;
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 16px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
}

.btn-outline-sm:hover {
  background: var(--color-text);
  color: var(--color-white);
  opacity: 1;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 60px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-arrow {
  font-size: 14px;
}

.btn-circle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  margin-left: auto;
}

/* ---- Section headers ---- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-en {
  font-family: 'Barriecito', cursive;
  font-size: 42px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-text);
}

.section-en-key {
  color: var(--color-primary);
}

.section-ja {
  font-size: 13px;
  font-weight: 300;
  color: #888;
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.section-label {
  font-family: var(--font-en);
  font-size: 30px;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-link {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.section-link:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* ---- Fade-in animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Link more ---- */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.link-more:hover {
  opacity: 0.7;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header-h);
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 100%;
  padding: 0 40px;
  gap: 32px;
}

/* ---- Logo ---- */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
}

.logo-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--color-white);
  transition: color var(--transition);
}


/* ---- Navigation ---- */
.header-nav {
  flex: 1;
  display: none;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
}

.header-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--color-white);
  transition: color var(--transition);
}


.header-nav a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.3);
  margin: 0 4px;
}

/* ---- Header CTA ---- */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-tel {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--color-white);
  transition: color var(--transition);
}


/* ---- Nav drawer (all widths) ---- */
.header-nav.nav-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-beige);
  z-index: 99992;
  padding: 88px 24px 40px;
  overflow-y: auto;
}

.header-nav.nav-open ul {
  flex-direction: column;
  gap: 0;
}

.header-nav.nav-open ul li a {
  display: block;
  padding: 18px 0;
  font-size: 16px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

/* ---- Hamburger ---- */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99993;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg-beige);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: transparent;
}

/* ---- Video ---- */
.hero-video-wrap {
  position: fixed;
  inset: 10px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scaleX(-1);
}


/* ---- Content ---- */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: var(--color-white);
  padding: 0 60px 64px;
}

.hero-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title img {
  width: 390px;
  max-width: 100%;
  display: block;
}

.hero-title em {
  font-style: italic;
}

.hero-sub {
  font-family: var(--font-ja);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #000000;
  opacity: 0.85;
}


/* ============================================
   Concept
   ============================================ */
.concept {
  padding: 120px 0;
  margin-top: 10px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.concept-inner {
  display: block;
  max-width: 680px;
  margin-left: 0;
}

.concept .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.concept .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.concept .btn-outline:hover {
  background: var(--color-bg-beige);
  color: var(--color-text);
  border-color: var(--color-white);
}

.concept-heading {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.concept-body {
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

#material .section-label {
  max-width: 800px;
}

#material .concept-heading {
  font-size: 34px;
  font-weight: 900;
  max-width: 800px;
  color: #000000;
}

#material .concept-body {
  font-size: 18px;
  font-weight: 900;
  max-width: 800px;
  color: #000000;
}

#material .section-label {
  max-width: 800px;
  font-family: 'Barriecito', cursive;
  font-style: normal;
  font-size: 42px;
  color: var(--color-primary);
}

/* ---- Media ---- */
.concept-media {
  position: relative;
}

.concept-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.concept-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--color-bg-beige);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  letter-spacing: 0.06em;
}

.play-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  flex-shrink: 0;
}

.play-btn:hover .play-icon {
  background: rgba(255,255,255,0.3);
}

/* ============================================
   Main Content Wrap
   ============================================ */
.main-content {
  position: relative;
  z-index: 1;
  clip-path: none;
  background: var(--color-white);
}

/* ============================================
   Feature
   ============================================ */
.feature {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--color-bg-beige);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---- Images ---- */
.feature-img-main {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.feature-img-main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.feature-img-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.feature-img-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity var(--transition);
}

.feature-img-thumbs img:hover {
  opacity: 0.8;
}

/* ---- Tabs ---- */
.feature-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.feature-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-family: var(--font-en);
  color: #aaa;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
  letter-spacing: 0.06em;
}

.feature-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.feature-tab:hover {
  color: var(--color-primary);
}

/* ---- Panels ---- */
.feature-panel {
  display: none;
}

.feature-panel.active {
  display: block;
}

.feature-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.feature-desc {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 24px;
}

/* ============================================
   Counseling
   ============================================ */
.counseling {
  position: relative;
  z-index: 1;
  padding: 60px 0 100px;
  background: var(--color-bg-blue);
}

.counseling-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.counseling-text {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

/* ---- Card ---- */
.counseling-card {
  background: var(--color-bg-beige);
  border-radius: 4px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  min-width: 280px;
  max-width: 320px;
}

.counseling-card-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.counseling-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.counseling-price {
  font-size: 16px;
  color: #555;
}

.counseling-price strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-left: 4px;
}

.counseling-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13px;
}

.counseling-table th,
.counseling-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  line-height: 1.5;
}

.counseling-table th {
  width: 72px;
  font-weight: 500;
  color: #888;
  text-align: left;
  white-space: nowrap;
}

/* ---- Counseling image ---- */
.counseling-img {
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-right: calc(-40px - max(0px, (100vw - 1320px) / 2));
}

.counseling-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ============================================
   Two-column Cards
   ============================================ */
.two-col-cards {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: #ffdc00;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.two-col-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 4px;
  background: var(--color-white);
}

.two-col-card-img {
  order: 2;
  overflow: hidden;
  margin-top: 24px;
}

.two-col-card:nth-child(1) .two-col-card-img {
  border-radius: 58% 42% 38% 62% / 52% 44% 56% 48%;
}

.two-col-card:nth-child(2) .two-col-card-img {
  border-radius: 42% 58% 62% 38% / 48% 60% 40% 52%;
}

.two-col-card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.two-col-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.two-col-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

/* ============================================
   Informations
   ============================================ */
.informations {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--color-bg-beige);
}

.informations-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

/* ---- Info list ---- */
.info-item {
  display: grid;
  grid-template-columns: 100px 80px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-item:first-child {
  border-top: 1px solid var(--color-border);
}

.info-date {
  font-size: 13px;
  color: #888;
  font-family: var(--font-en);
  white-space: nowrap;
}

.info-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 2px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.info-title {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

/* ---- Calendar ---- */
.info-calendar {
  background: var(--color-bg-beige);
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cal-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cal-prev,
.cal-next {
  font-size: 18px;
  color: #aaa;
  padding: 4px 8px;
  transition: color var(--transition);
}

.cal-prev:hover,
.cal-next:hover {
  color: var(--color-primary);
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.calendar-table th {
  font-size: 11px;
  font-weight: 500;
  color: #888;
  padding: 6px 0;
}

.calendar-table td {
  font-size: 13px;
  padding: 7px 2px;
  color: var(--color-text);
  border-radius: 50%;
  line-height: 1;
}

.calendar-table td.sun { color: #E05A5A; }
.calendar-table td.sat { color: #5A8AE0; }
.calendar-table td.closed {
  background: #f0f0f0;
  color: #bbb;
  border-radius: 50%;
}
.calendar-table td.today {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
}

.calendar-legend {
  margin-top: 12px;
  font-size: 11px;
  color: #888;
}

.legend-closed {
  color: #bbb;
}

/* ============================================
   Access
   ============================================ */
.access {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--color-bg-beige);
}

.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}


.spec-table {
  margin-bottom: 32px;
}

.access-name {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.access-dl {
  margin-bottom: 32px;
}

.access-dl dt {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 4px;
}

.access-dl dt:first-child {
  margin-top: 0;
}

.access-dl dd {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}

.access-dl dd a {
  color: var(--color-text);
}

.access-dl dd a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.access-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.map-embed {
  width: 100%;
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--color-bg-beige);
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.required {
  display: inline-block;
  font-size: 11px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-ja);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-bg-beige);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(90,190,207,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-success {
  text-align: center;
  padding: 60px 24px;
}

.form-success-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-primary);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background-image: url('../img/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  color: rgba(255,255,255,0.75);
  border-top: 10px solid #ffdc00;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 56, 0.75);
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: var(--font-ja);
  font-size: 20px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-address {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}

.footer-address a {
  color: rgba(255,255,255,0.6);
}

.footer-tel-num {
  font-size: 19.2px;
  font-weight: 700;
  font-style: normal;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-address a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}

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

.footer-nav a {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  color: var(--color-white);
  letter-spacing: 0.06em;
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--color-white);
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-video-wrap {
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

/* ============================================
   Responsive — 840px
   ============================================ */
@media (max-width: 840px) {
  .container {
    padding: 0 24px;
  }

  /* ---- Header ---- */
  .header-inner {
    padding: 0 24px;
  }

  .header-cta {
    display: none;
  }

  /* ---- Mobile nav drawer ---- */
  .header-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-beige);
    z-index: 10000;
    padding: 88px 24px 40px;
    overflow-y: auto;
  }

  .header-nav.nav-open ul {
    flex-direction: column;
    gap: 0;
  }

  .header-nav.nav-open ul li a {
    display: block;
    padding: 18px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  /* ---- Concept ---- */
  .concept {
    padding: 64px 0;
  }

  .concept-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .concept-img-wrap img {
    height: 320px;
  }

  .play-btn {
    bottom: -16px;
    right: 16px;
  }

  /* ---- Feature ---- */
  .feature {
    padding: 64px 0;
  }

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-img-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  /* ---- Section header ---- */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 36px;
  }

  .section-en {
    font-size: 32px;
  }

  .section-label {
    font-size: 22px;
    line-height: 1.2;
  }

  .concept-heading,
  #material .concept-heading {
    font-size: 22px;
  }

  .concept-body,
  #material .concept-body {
    font-size: 15px;
  }

  .hero-sub {
    font-size: 15px;
    letter-spacing: 0.05em;
  }

  /* ---- Hero content padding ---- */
  .hero-content {
    padding: 0 24px 20px;
  }

  .hero-title img {
    width: 70vw;
    max-width: 70vw;
  }

  /* ---- body::before 黄色フレーム非表示 ---- */
  body::before {
    display: none;
  }

  /* ---- Counseling ---- */
  .counseling {
    padding: 64px 0;
  }

  .counseling-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .counseling-card {
    max-width: 100%;
    min-width: unset;
  }

  .counseling-img {
    margin-right: 0;
    border-radius: 15px;
  }

  .counseling-img img {
    height: 240px;
  }

  /* ---- Two-col cards ---- */
  .two-col-cards {
    padding: 64px 0;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .two-col-card {
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 24px;
  }

  /* ---- Informations ---- */
  .informations {
    padding: 64px 0;
  }

  .informations-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-item {
    grid-template-columns: 90px 70px 1fr;
    gap: 10px;
  }

  /* ---- Access ---- */
  .access {
    padding: 64px 0;
  }

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

  .map-embed {
    height: 300px;
  }

  /* ---- Key Features ---- */
  .kf-grid {
    grid-template-columns: 1fr;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    padding: 36px 32px;
    aspect-ratio: auto;
  }

  /* nth-childの高詳細度ルールをモバイルでリセット */
  .use-case-card:nth-child(1),
  .use-case-card:nth-child(2),
  .use-case-card:nth-child(3),
  .use-case-card:nth-child(4) {
    padding: 36px 32px;
    aspect-ratio: auto;
    border-radius: 20px;
  }

  /* ---- Contact ---- */
  .contact-form-section {
    padding: 64px 0;
  }

  /* ---- Footer ---- */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 36px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ============================================
   Responsive — 540px
   ============================================ */
@media (max-width: 540px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  /* ---- Hero ---- */
  .hero-title {
    font-size: 32px;
  }

  .hero-content {
    padding: 0 16px 20px;
  }

  .hero-title img {
    width: 70vw;
    max-width: 70vw;
  }

  .hero-sub {
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .section-label {
    font-size: 18px;
  }

  .section-en {
    font-size: 28px;
  }

  .counseling-heading {
    font-size: 24px;
  }

  /* ---- Counseling img ---- */
  .counseling-img {
    margin-right: 0;
  }

  /* ---- Concept ---- */
  .concept-heading {
    font-size: 20px;
  }

  .concept-img-wrap img {
    height: 240px;
  }

  /* ---- Feature ---- */
  .feature-img-main img {
    height: 220px;
  }

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

  .feature-img-thumbs img {
    height: 100px;
  }

  /* ---- Two-col cards ---- */
  .two-col-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .two-col-card-img img {
    height: 180px;
  }

  /* ---- Info items ---- */
  .info-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  /* ---- Map ---- */
  .map-embed {
    height: 240px;
  }

  /* ---- Footer ---- */
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* ---- Key Features ---- */
  .kf-card-icon {
    width: 64px;
    height: 64px;
  }

  .kf-icon-char {
    font-size: 40px;
  }

  .kf-card-title {
    font-size: 20px;
  }

  .kf-card-body {
    font-size: 16px;
  }

  /* ---- Use Cases ---- */
  .use-case-card {
    padding: 28px 24px;
    aspect-ratio: auto;
  }

  .use-case-card:nth-child(1),
  .use-case-card:nth-child(2),
  .use-case-card:nth-child(3),
  .use-case-card:nth-child(4) {
    padding: 28px 24px;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .use-case-label {
    font-size: 20px;
  }

  .use-case-body {
    font-size: 16px;
  }

  /* ---- Counseling heading ---- */
  .counseling-heading {
    font-size: 24px;
  }

  /* ---- Buttons ---- */
  .btn-lg {
    padding: 16px 40px;
  }
}

/* ============================================
   Sustainable Choice
   ============================================ */
.sustainable {
  padding: 60px 0 100px;
  background: var(--color-bg-beige);
}

.sustainable .container {
  background: var(--color-white);
  padding-top: 64px;
  padding-bottom: 64px;
}

.sustainable-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sustainable-body {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  margin-top: 32px;
}

.sustainable-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 840px) {
  .sustainable {
    padding: 64px 0;
  }

  .sustainable-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================
   Key Features
   ============================================ */
.key-features {
  padding: 60px 0 100px;
  background: var(--color-bg-beige);
}

.kf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.kf-card {
  padding: 36px 24px;
  text-align: left;
}

.kf-card-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-beige);
  border-radius: 50%;
  color: var(--color-primary);
  position: relative;
}

.kf-card-icon::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid var(--color-bg-beige);
}

.kf-icon-char {
  font-family: 'Sawarabi Gothic', sans-serif;
  font-size: 60px;
  line-height: 1;
  color: var(--color-primary);
}

.kf-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  text-align: center;
}

.kf-card-body {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 840px) {
  .key-features {
    padding: 64px 0;
  }

  .kf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
  }
}

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

/* ============================================
   Counseling Heading (Creative Experience)
   ============================================ */
.counseling-heading {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-text);
}

@media (max-width: 840px) {
  .counseling-heading {
    font-size: 24px;
  }
}

/* ============================================
   Two-col Card Description
   ============================================ */
.two-col-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 12px 0 16px;
}

/* ============================================
   Use Cases
   ============================================ */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.use-case-card {
  background: #ffdc00;
  padding: 56px 72px;
  aspect-ratio: 10 / 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/card-logotype.svg') center / 60% auto no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.use-case-card > * {
  position: relative;
  z-index: 1;
}

.use-case-card:nth-child(1) {
  border-radius: 72% 28% 55% 45% / 45% 62% 38% 55%;
}
.use-case-card:nth-child(1)::before {
  transform: rotate(-7deg);
}

.use-case-card:nth-child(2) {
  border-radius: 38% 62% 43% 57% / 57% 35% 65% 43%;
}
.use-case-card:nth-child(2)::before {
  transform: rotate(4deg);
}

.use-case-card:nth-child(3) {
  border-radius: 55% 45% 70% 30% / 38% 58% 42% 62%;
}
.use-case-card:nth-child(3)::before {
  transform: rotate(-3deg);
}

.use-case-card:nth-child(4) {
  border-radius: 44% 56% 32% 68% / 65% 42% 58% 35%;
}
.use-case-card:nth-child(4)::before {
  transform: rotate(9deg);
}

@media (max-width: 840px) {
  .use-case-card:nth-child(1),
  .use-case-card:nth-child(2),
  .use-case-card:nth-child(3),
  .use-case-card:nth-child(4) {
    border-radius: 20px;
  }
}



.use-case-label {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.use-case-body {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 840px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
  }
}

@media (max-width: 540px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Page Layout — 3-column
   ============================================ */
.page-layout {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 10px;
  padding-top: 10px;
  align-items: start;
  width: 100%;
  position: relative;
  z-index: 1;
  background: var(--color-bg-beige);
}

/* LEFT SIDEBAR */
.sidebar-left {
  align-self: stretch;
  background: var(--color-white);
  z-index: 10;
}

.toc-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 40px 0;
}

.toc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-nav a {
  display: block;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-family: 'Barriecito', cursive;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-text);
  text-decoration: none;
  padding: 8px;
  width: 100%;
  text-align: center;
  transition: color var(--transition);
  transform: translateX(-10px) rotate(-150deg);
}

.toc-nav a:hover {
  color: var(--color-primary);
}

/* RIGHT SIDEBAR */
.sidebar-right {
  align-self: stretch;
  background: var(--color-white);
  display: flex;
  align-items: flex-end;
}

.sidebar-copy {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
  padding: 0 12px;
  position: sticky;
  bottom: 40px;
}

.sidebar-copy-large {
  font-size: 34px;
}

/* Mobile: サイドバー非表示 */
@media (max-width: 840px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-left,
  .sidebar-right {
    display: none;
  }
}

/* main-content 内全セクション: 背景を白に統一 */
.main-content .sustainable,
.main-content .key-features,
.main-content .counseling,
.main-content .informations,
.main-content .access,
.main-content .contact-form-section {
  background: var(--color-white);
}

#spec {
  background: #f2f2f2;
  margin: 0 20px;
  padding: 50px 0;
  border-radius: 10px;
}


.spec-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.spec-left {
  padding: 0;
}

.spec-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 840px) {
  .spec-inner {
    grid-template-columns: 1fr;
  }

  .spec-left {
    padding: 0 24px 32px;
  }

  .spec-right {
    display: flex;
    justify-content: center;
  }

  .spec-right img {
    width: 300px;
    height: 300px;
    object-fit: contain;
  }
}

/* ============================================
   DEBUG — モバイル崩れ特定用（確認後に削除）
   セクションを1つずつコメントアウトを外して
   どこで崩れるか確認してください。
   ============================================ */
@media (max-width: 840px) {
  /* .site-header       { display: none; } */ /* 1: ヘッダー — 表示中 */
  /* .hero              { display: none; } */ /* 2: ヒーロー動画 — 表示中 */
  /* .concept           { display: none; } */ /* 3: Concept — 表示中 */
  /* .page-layout       { display: none; } */ /* 4: ページレイアウト全体 — 表示中 */

  /* page-layout 内セクション個別制御 */
  /* .sustainable          { display: none; } */ /* A: Sustainable Choice — 表示中 */
  /* .key-features         { display: none; } */ /* B: Key Features — 表示中 */
  /* .counseling           { display: none; } */ /* C: Counseling/Experience — 表示中 */
  /* .two-col-cards         { display: none; } */ /* D: Two-col Cards — 表示中 */
  /* .informations         { display: none; } */ /* E: Informations/Use-cases — 表示中 */
  /* .access               { display: none; } */ /* F: Access/Spec — 表示中 */
  /* .contact-form-section { display: none; } */ /* G: Contact Form — 表示中 */

  /* .site-footer        { display: none; } */ /* 5: フッター — 表示中 */
}
