/* ========================================
   Variables
======================================== */
:root {
  --navy:   #1E3260;
  --coral:  #9e005d;
  --amber:  #F9C46B;
  --green:  #6BB88F;
  --cream:  #FEF8EE;
  --white:  #ffffff;
  --text:   #333333;
  --muted:  #666666;
  --border: #e8e0d4;
  --shadow: 0 4px 20px rgba(0,0,0,.09);
  --r:      10px;
}

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  background: #fff;
}

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

.kosugi-regular {
  font-family: "Kosugi", sans-serif;
  font-weight: 400;
  font-style: normal;
}

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: opacity .2s; }
a:hover { opacity: .75; }

ul { list-style: none; }

.pc-only { display: inline; }

/* ========================================
   Container
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ========================================
   Header
======================================== */
.site-header {
  background: #fff;
  border-bottom: 10px solid var(--coral);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-partner {
  font-size: 11px;
  color: #999;
  margin-bottom: 2px;
}
.header-partner img {
  width: 150px;
  height: auto;
}
.header-title-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.header-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.header-title-logo {
  height: 3.5rem;
  width: auto;
  display: block;
}
.header-tel {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  white-space: nowrap;
}
.header-tel i {
  font-size: 15px;
}
.header-tel:hover { opacity: .75; }
.header-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  width: 200px;
  flex-shrink: 0;
}
.header-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.logo-star {
  font-size: 22px;
  color: var(--amber);
  line-height: 1;
}
.logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Kiwi Maru', serif;
}

/* ========================================
   Hero
======================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  height: clamp(500px, 50vw, 680px);
}
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  margin: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20,36,74,.82) 0%,
    rgba(20,36,74,.6)  50%,
    rgba(20,36,74,.15) 100%
  );
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 560px;
  color: #fff;
  padding: 40px 0;
}
.hero-heading {
  font-family: 'Kiwi Maru', serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-sub {
  font-family: 'Kosugi', sans-serif;
  font-size: 0.88rem;
  line-height: 2;
  margin: 20px 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.hero-btns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* ========================================
   CTA Buttons
======================================== */
.cta-btn {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 32px 10px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
  gap: 0;
  min-width: 220px;
  line-height: 1.6;
}
.cta-main {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: .85;
  line-height: 1.4;
}
.cta-btn--coral {
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--coral);
}
.cta-btn--coral:hover {
  background: #7a0048;
  border-color: #7a0048;
  opacity: 1;
}
.cta-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cta-btn--outline:hover {
  background: rgba(255,255,255,.15);
  opacity: 1;
}
.cta-btn--navy {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}
.cta-btn--navy:hover {
  background: #14244a;
  border-color: #14244a;
  opacity: 1;
}
.cta-btn--lg {
  padding: 16px 48px;
  font-size: 1.05rem;
  min-width: 200px;
}

/* ========================================
   Section title (centered)
======================================== */
.section-title-center {
  font-family: 'Kosugi', sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.section-title-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}
.title-deco {
  font-size: 1rem;
  opacity: .7;
}
.title-deco-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.title-deco--left { color: var(--coral); }
.title-deco--right { color: var(--amber); }

/* ========================================
   Decorative circles
======================================== */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .09;
  pointer-events: none;
}
.deco-circle--coral { background: var(--coral); }
.deco-circle--amber  { background: var(--amber); }
.deco-circle--green  { background: var(--green); }
.deco-circle--navy   { background: var(--navy); }
.deco-circle--light  { opacity: .035; }

/* worry extras */
.worry-deco-l  { width: 170px; height: 170px; left: -50px; bottom: 30px; }
.worry-deco-tl { width: 90px;  height: 90px;  left: 8%;    top: 15%; }
.worry-deco-br { width: 70px;  height: 70px;  right: 10%;  bottom: 20%; }

/* reasons extras */
.reasons-deco-tl { width: 110px; height: 110px; left: 6%;  top: 8%; }
.reasons-deco-br { width: 80px;  height: 80px;  right: 8%; bottom: 12%; }
.reasons-deco-c  { width: 60px;  height: 60px;  left: 48%; top: 45%; }

/* course */
.course-deco-tr  { width: 160px; height: 160px; right: -40px; top: 30px; }
.course-deco-bl  { width: 120px; height: 120px; left: -30px;  bottom: 50px; }
.course-deco-c1  { width: 75px;  height: 75px;  left: 28%;    top: 55%; }
.course-deco-c2  { width: 70px;  height: 70px;  right: 15%;   top: 20%; }

/* price */
.price-deco-tr { width: 160px; height: 160px; right: -40px; top: 20px; }
.price-deco-bl { width: 110px; height: 110px; left: -30px;  bottom: 40px; }

/* trust */
.trust-deco-r  { width: 180px; height: 180px; right: -50px; top: 20px; }
.trust-deco-l  { width: 120px; height: 120px; left: -30px;  bottom: 30px; }
.trust-deco-c  { width: 65px;  height: 65px;  left: 40%;    top: 30%; }

/* schedule */
.schedule-deco-tl { width: 140px; height: 140px; left: -30px;  top: -30px; }
.schedule-deco-br { width: 100px; height: 100px; right: -20px; bottom: 40px; }
.schedule-deco-c  { width: 70px;  height: 70px;  left: 65%;    top: 30%; }

/* ========================================
   News Section
======================================== */
.news-section {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid #eee;
}
.news-section__heading {
  font-family: 'Kosugi', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin: 0 auto 12px;
  max-width: 66.666%;
  padding-left: 4px;
}
.news-section .schedule-list {
  max-width: 100%;
  margin: 0;
}
.news-section .schedule-item {
  flex-wrap: nowrap;
  align-items: center;
  padding: 14px 24px;
  gap: 12px;
  max-width: 66.666%;
}
.news-section .schedule-item__title {
  white-space: nowrap;
}

/* ========================================
   Worry Section
======================================== */
.worry-section {
  background: var(--cream);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.worry-deco-r {
  width: 280px;
  height: 280px;
  right: -100px;
  top: -60px;
}

.worry-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.worry-card {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.worry-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.worry-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.worry-card__body {
  padding: 16px;
  font-size: 0.88rem;
  font-family: 'Kiwi Maru', serif;
  line-height: 1.75;
  color: var(--text);
  flex: 1;
}

/* ========================================
   Reasons Section
======================================== */
.reasons-section {
  background: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.reasons-deco-l {
  width: 200px;
  height: 200px;
  left: -80px;
  bottom: 80px;
}
.reasons-deco-r {
  width: 260px;
  height: 260px;
  right: -100px;
  top: 120px;
}

.reasons-intro {
  text-align: center;
  margin-bottom: 52px;
}
.reasons-main-title {
  font-family: 'Kosugi', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.reasons-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}

.reason-block {
  margin-bottom: 40px;
  border-radius: var(--r);
  overflow: hidden;
}
.reason-header {
  background: var(--navy);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}
.reason-num {
  font-family: 'Kosugi', sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: rgba(255,255,255,.25);
  flex-shrink: 0;
  line-height: 1;
}
.reason-title {
  font-family: 'Kosugi', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  flex: 1;
}
.reason-header-dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.hdot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
}
.hdot--coral { background: var(--coral); }
.hdot--amber { background: var(--amber); }
.hdot--green { background: var(--green); }
.hdot--white { background: rgba(255,255,255,.4); }

.reason-body {
  background: var(--cream);
  padding: 28px;
  font-family: 'Kiwi Maru', serif;
}
.reason-lead {
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.reason-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reason-point {
  background: #fff;
  border-radius: 8px;
  padding: 18px 22px;
  border-left: 4px solid var(--coral);
}
.reason-point h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reason-point h4 i { color: var(--coral); flex-shrink: 0; }
.reason-point p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ========================================
   Course Section
======================================== */
.course-section {
  background: var(--cream);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.course-item {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.course-header {
  padding: 15px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.course-header--green { background: #2c5d45; }
.course-header--amber { background: #7a6020; }
.course-header--coral { background: #5e0038; }
.course-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.course-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.course-option {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  margin-left: 4px;
}
.course-body {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.course-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  align-items: baseline;
}
.course-row:last-child { border-bottom: none; }
.course-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.course-value {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
.course-common {
  background: #fff;
  border-radius: var(--r);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--amber);
  margin-top: 8px;
}
.course-common h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-common h4 i { color: var(--amber); }
.course-common p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ========================================
   Trust Section
======================================== */
/* ========================================
   Price Section
======================================== */
.price-section {
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.price-section .container { padding-top: 72px; padding-bottom: 72px; }
.price-section .section-title-center { margin-bottom: 16px; }
.price-lead {
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 16px;
}
.price-enrollment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 14px 28px;
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto 16px;
}
.price-enrollment strong { font-size: 1.2rem; }
.price-enrollment em { font-size: 0.8rem; opacity: .8; font-style: normal; }

.price-table-wrap {
  max-width: 70%;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr 2fr;
}
.price-row--head {
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.price-row:not(.price-row--head) { border-bottom: 1px solid #e8e0d4; }
.price-row:not(.price-row--head):last-child { border-bottom: none; }
.price-row:not(.price-row--head):nth-child(even) { background: #fff; }
.price-row:not(.price-row--head):nth-child(odd)  { background: var(--cream); }
.price-cell {
  padding: 14px 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
}
.price-cell--plan { font-weight: 700; color: var(--navy); }
.price-cell--amount strong { font-size: 1rem; color: #9e005d; }
.price-cell--free {
  color: #9e005d;
  font-weight: 700;
  gap: 5px;
}
.price-cell--dash { color: var(--muted); }

/* 受給者証＋放デイ利用：黄色の枠線（PC：4列目を囲む） */
.price-cell:nth-child(4) { border-left: 5px solid var(--amber); border-right: 5px solid var(--amber); }
.price-row:first-child .price-cell:nth-child(4) { border-top: 5px solid var(--amber); }
.price-row:last-child .price-cell:nth-child(4) { border-bottom: 5px solid var(--amber); }

.price-notes {
  list-style: none;
  padding: 0 4px;
  margin: 0 auto;
  max-width: 70%;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 2;
}

.trust-section {
  background: var(--cream);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.trust-content {
  background: #fff;
  border-radius: var(--r);
  padding: 30px 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}
.trust-content p {
  margin-bottom: 14px;
  line-height: 1.95;
  color: var(--muted);
  font-size: 0.95rem;
}
.trust-content p:last-child { margin-bottom: 0; }
.trust-content strong { color: var(--navy); }

/* ========================================
   Schedule Section
======================================== */
.schedule-section {
  background: #fff;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.schedule-note {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 32px;
}
.schedule-list {
  list-style: none;
  max-width: 100%;
  margin: 0 auto 40px;
}
.schedule-item {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-left: 4px solid var(--coral);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  max-width: 66.666%;
  margin: 0 auto;
}
.schedule-item__badge {
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.schedule-item__date {
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.schedule-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  cursor: help;
  white-space: nowrap;
}
.schedule-item__form-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
  border: 2px solid var(--coral);
  border-radius: 6px;
  padding: 5px 16px;
  margin-left: 12px;
  white-space: nowrap;
  vertical-align: middle;
}
.schedule-item__form-link:hover {
  background: var(--coral);
  color: #fff;
}
.schedule-item__info-icon {
  font-size: 0.85rem;
  color: var(--coral);
  margin-left: 5px;
  vertical-align: middle;
}
.schedule-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.8;
  padding: 10px 16px;
  border-radius: var(--r);
  white-space: nowrap;
  box-shadow: var(--shadow);
  z-index: 100;
  pointer-events: none;
  text-align: left;
}
.schedule-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--navy);
}
.schedule-item__title:hover .schedule-tooltip,
.schedule-item__title.is-active .schedule-tooltip {
  display: block;
}
.cta-btns {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 52px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-left {
  text-align: left;
}
.footer-map {
  border-radius: var(--r);
  overflow: hidden;
  min-height: 280px;
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.footer-logo .logo-star {
  font-size: 26px;
  color: var(--amber);
}
.footer-logo .logo-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo-img {
  height: 3rem;
  width: auto;
}
.footer-info {
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 2;
}
.footer-info a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 2rem;
}
.footer-toplink {
  margin-bottom: 20px;
}
.footer-toplink a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
}
.footer-toplink a:hover { color: #fff; opacity: 1; }
.footer-nav {
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  padding-top: 28px;
}
.footer-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 4px;
  background: #9e005d;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}
.footer-nav a:hover { color: #fff; opacity: 1; }
.copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ========================================
   Back to top
======================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .2s;
  z-index: 999;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: #7a0048; }

/* ========================================
   Brochure Modal
======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-window {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  transform: translateY(16px);
  transition: transform .25s;
}
.modal-overlay.is-open .modal-window {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
}
.modal-close:hover { color: #333; }
.modal-title {
  font-family: 'Kosugi', sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-lead {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.mform-row {
  margin-bottom: 14px;
}
.mform-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.mform-req {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.mform-input,
.mform-textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 9px 12px;
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 0.88rem;
  color: #333;
  transition: border-color .2s;
  box-sizing: border-box;
}
.mform-input:focus,
.mform-textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(158,0,93,.12);
}
.mform-textarea { resize: vertical; }
.mform-error {
  color: #c00;
  font-size: 0.8rem;
  min-height: 1.2em;
  margin-bottom: 8px;
}
.mform-submit {
  width: 100%;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-family: 'Kosugi', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, opacity .2s;
  letter-spacing: 0.05em;
}
.mform-submit:hover { background: #7a0048; }
.mform-submit:disabled { opacity: .6; cursor: default; }
/* 送信完了 */
.modal-success {
  text-align: center;
  padding: 16px 0;
}
.modal-success__icon {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 16px;
}
.modal-success__title {
  font-family: 'Kosugi', sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.modal-success__msg {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}
.modal-dl-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Kosugi', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: background .2s;
}
.modal-dl-btn:hover { background: #111d40; }
.modal-success__close {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 24px;
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
}
.modal-success__close:hover { background: #f5f5f5; }

/* ========================================
   Responsive – Tablet (≤860px)
======================================== */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  /* Header */
  .header-title { font-size: 1.15rem; }
  .header-title-logo { height: 2.9rem; }
  .header-tel { font-size: 15px; }
  .header-logo { width: 160px; }

  /* Hero */
  .hero-section { height: 520px; }
  .hero-heading { font-size: 2rem; }
  .hero-content { max-width: 480px; padding: 28px 0; }
  .hero-sub { margin: 14px 0 18px; }

  /* Reasons */
  .reason-header { flex-wrap: wrap; gap: 12px; }
  .reason-header-dots { margin-left: auto; }
  .reason-title { font-size: 1rem; }

  /* Course */
  .course-item { margin-bottom: 16px; }

  /* Price */
  .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table { min-width: 540px; }

  /* Deco circles: 少し小さく */
  .worry-deco-r { width: 200px; height: 200px; }
  .reasons-deco-l { width: 140px; height: 140px; }
  .reasons-deco-r { width: 180px; height: 180px; }
}

/* ========================================
   Responsive – Mobile (≤640px)
======================================== */
@media (max-width: 640px) {
  .pc-only { display: none; }

  /* News & Schedule items – mobile */
  .news-section { padding: 20px 0; }
  .news-section__heading { max-width: 100%; margin-left: 0; }
  .news-section .schedule-list { max-width: 100%; }
  .news-section .schedule-item { max-width: 100%; margin: 0; }
  .schedule-item {
    max-width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
    padding: 12px 16px;
  }
  .schedule-item__badge {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
  }
  .schedule-item__date {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.8rem;
    text-align: left;
    justify-self: start;
  }
  .schedule-item__title {
    grid-column: 2;
    grid-row: 2;
    white-space: normal;
    font-size: 0.88rem;
    text-align: left;
    justify-self: stretch;
  }
  .schedule-item__form-link {
    display: block;
    font-size: 0.8rem;
    padding: 4px 12px;
    margin-left: 0;
    margin-top: 6px;
    width: fit-content;
  }

  /* Header */
  .header-inner { gap: 8px; }
  .header-partner img { width: 100px; }
  .header-title-row { gap: 8px; flex-wrap: nowrap; }
  .header-title { font-size: 0.95rem; }
  .header-title-logo { height: 2.35rem; }
  .header-tel { font-size: 12px; gap: 4px; white-space: nowrap; }
  .header-tel i { font-size: 11px; }
  .header-logo { width: 130px; }
  .logo-star { font-size: 18px; }
  .logo-name { font-size: 12px; }

  /* Hero: 正方形クロップ */
  .hero-section { height: 390px; }
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    margin-top: 0;
    margin-bottom: 0;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(20,36,74,.78) 0%,
      rgba(20,36,74,.55) 100%
    );
    align-items: center;
  }
  .hero-content { padding: 0; max-width: 100%; }
  .hero-heading { font-size: 1.55rem; margin-bottom: 10px; }
  .hero-sub { display: block; font-size: 0.72rem; line-height: 1.6; margin: 40px 0; }
  .hero-btns { flex-direction: row; gap: 10px; flex-wrap: nowrap; }
  .hero-btns .cta-btn { padding: 10px 12px; font-size: 0.82rem; min-width: 0; flex: 1; }

  /* Section titles */
  .section-title-center { font-size: 1.15rem; gap: 8px; }
  .reasons-main-title { font-size: 1.3rem; }

  /* Sections padding */
  .worry-section,
  .reasons-section,
  .course-section,
  .trust-section,
  .schedule-section { padding: 48px 0; }

  /* Worry */
  .worry-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Reasons */
  .reason-header { padding: 16px 18px; gap: 10px; }
  .reason-num { font-size: 1.6rem; }
  .reason-title { font-size: 0.92rem; flex: 1 0 70%; }
  .reason-header-dots { display: none; }
  .reason-body { padding: 18px 16px; }
  .reason-point { padding: 14px 16px; }
  .reason-point h4 { font-size: 0.88rem; }
  .reason-point p { font-size: 0.85rem; }

  /* Course */
  .course-row { grid-template-columns: 82px 1fr; gap: 8px; }
  .course-header h3 { font-size: 0.92rem; }
  .course-common { padding: 18px 16px; }

  /* Trust */
  .trust-content { padding: 20px 18px; }

  /* Schedule & CTA */
  .cta-btns { flex-direction: column; align-items: center; gap: 12px; }
  .cta-btn--lg { min-width: 220px; padding: 12px 32px; font-size: 0.95rem; }

  /* Footer */
  .site-footer { padding: 40px 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-left { text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-map { min-height: 220px; }
  .footer-info { font-size: 0.82rem; }
  .footer-nav ul { flex-direction: row; flex-wrap: nowrap; gap: 6px 10px; justify-content: center; }
  .footer-nav a { font-size: 0.5rem; }

  /* Deco: 非表示 */
  .deco-circle { display: none; }

  /* Price: transposed layout (横=利用日数|週1日|週3日|週5日 / 縦=月額|諸経費/月|受給者証) */
  .price-table-wrap { max-width: 100%; overflow-x: hidden; }
  .price-table { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; min-width: 0; }
  .price-row { display: contents; }

  /* Grid placement: DOM row N × cell M → grid-row M, grid-column N */
  .price-row:nth-child(1) .price-cell:nth-child(1) { grid-row:1; grid-column:1; }
  .price-row:nth-child(1) .price-cell:nth-child(2) { grid-row:2; grid-column:1; }
  .price-row:nth-child(1) .price-cell:nth-child(3) { grid-row:3; grid-column:1; }
  .price-row:nth-child(1) .price-cell:nth-child(4) { grid-row:4; grid-column:1; }
  .price-row:nth-child(2) .price-cell:nth-child(1) { grid-row:1; grid-column:2; }
  .price-row:nth-child(2) .price-cell:nth-child(2) { grid-row:2; grid-column:2; }
  .price-row:nth-child(2) .price-cell:nth-child(3) { grid-row:3; grid-column:2; }
  .price-row:nth-child(2) .price-cell:nth-child(4) { grid-row:4; grid-column:2; }
  .price-row:nth-child(3) .price-cell:nth-child(1) { grid-row:1; grid-column:3; }
  .price-row:nth-child(3) .price-cell:nth-child(2) { grid-row:2; grid-column:3; }
  .price-row:nth-child(3) .price-cell:nth-child(3) { grid-row:3; grid-column:3; }
  .price-row:nth-child(3) .price-cell:nth-child(4) { grid-row:4; grid-column:3; }
  .price-row:nth-child(4) .price-cell:nth-child(1) { grid-row:1; grid-column:4; }
  .price-row:nth-child(4) .price-cell:nth-child(2) { grid-row:2; grid-column:4; }
  .price-row:nth-child(4) .price-cell:nth-child(3) { grid-row:3; grid-column:4; }
  .price-row:nth-child(4) .price-cell:nth-child(4) { grid-row:4; grid-column:4; }

  /* 横ヘッダー行（利用日数 | 週1日 … ）: navy */
  .price-cell:nth-child(1) { background: var(--navy); color: #fff; font-weight: 700; justify-content: center; text-align: center; }
  /* 縦ラベル列（月額 / 諸経費/月 / 受給者証…）: navy */
  .price-row:nth-child(1) .price-cell { background: var(--navy); color: #fff; font-weight: 700; }

  /* データエリア交互背景 */
  .price-row:nth-child(n+2) .price-cell:nth-child(2) { background: #fff; }
  .price-row:nth-child(n+2) .price-cell:nth-child(3) { background: var(--cream); }
  .price-row:nth-child(n+2) .price-cell:nth-child(4) { background: #fff; }

  /* 横罫線 */
  .price-cell:nth-child(n+2) { border-top: 1px solid #e8e0d4; }
  .price-row:nth-child(1) .price-cell:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,0.15); }

  /* コンパクトなパディング・文字 */
  .price-cell { padding: 8px 6px; font-size: 0.7rem; line-height: 1.4; word-break: break-all; }
  .price-cell--amount strong { font-size: 0.78rem; }
  .price-cell--free { flex-direction: column; gap: 1px; justify-content: center; text-align: center; font-size: 0.64rem; }
  .price-cell--free i { font-size: 0.75rem; }
  .price-notes { max-width: 100%; }

  /* 受給者証＋放デイ利用：黄色の枠線（モバイル：grid-row 4 = nth-child(4) の行を囲む） */
  .price-cell:nth-child(4) { border-left: none; border-right: none; border-top: 5px solid var(--amber); border-bottom: 5px solid var(--amber); }
  .price-row:nth-child(1) .price-cell:nth-child(4) { border-left: 5px solid var(--amber); border-top: 5px solid var(--amber); }
  .price-row:nth-child(4) .price-cell:nth-child(4) { border-right: 5px solid var(--amber); }
}

/* ========================================
   Responsive – Small mobile (≤480px)
======================================== */
@media (max-width: 480px) {
  /* Header: tel を非表示にしてスペース確保 */
  .header-tel { display: none; }
  .header-partner img { width: 80px; }
  .header-title { font-size: 0.9rem; }
  .header-title-logo { height: 2.1rem; }
  .header-logo { width: 100px; }

  /* Hero */
  .hero-section { height: 360px; }
  .hero-heading { font-size: 1.3rem; line-height: 1.55; }
  .hero-sub { font-size: 0.68rem; }

  /* スケジュールCTAのみ全幅 */
  .cta-btns .cta-btn { min-width: unset; width: 100%; }

  /* Worry */
  .worry-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .worry-card__body { padding: 12px; font-size: 0.82rem; }

  /* Reasons */
  .reason-header { padding: 14px 14px; }
  .reason-title { font-size: 0.88rem; }
  .reason-body { padding: 16px 14px; }

  /* Course */
  .course-row { grid-template-columns: 76px 1fr; }
  .course-label { font-size: 0.78rem; }
  .course-value { font-size: 0.85rem; }

  /* Footer */
  .footer-nav ul { gap: 12px; }
}
