/* ============================================
   Minori International Academy
   ============================================ */

:root {
  --color-primary: #197ebe;
  --color-primary-dark: #197ebe;
  --color-accent: #b08968;
  --color-white: #ffffff;
  --color-bg: #fafaf5;
  --color-bg-alt: #f3f2ec;
  --color-text: #2c2c2c;
  --color-text-light: #555555;
  --color-text-muted: #888888;
  --color-border: #d5d2ca;
  --font-heading: "Noto Serif JP", "Yu Mincho", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-logo: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", sans-serif;
  --max-width: 1240px;
}

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

html {
  font-size: 15.5px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.85;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: none
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1001;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex-direction: column;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.header-cert {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  margin-right: auto;
  padding-left: 0.25rem;
}

.header-cert img {
  height: 38px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ヘッダーの学校名の隣にも認定バナーを表示（デスクトップのみ） */
@media (max-width: 1100px) {
  .header-cert {
    display: none;
  }
}

/* ヘッダー直下・hero 直上の認定バナー（全画面サイズ共通で中央表示） */
.hero-banner-mobile {
  display: block;
  background: #ffffff;
  padding: 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero-banner-mobile img {
  display: inline-block;
  max-width: 100%;
  max-height: 45px;
  height: auto;
  width: auto;
}

@media (max-width: 1100px) {
  .hero-banner-mobile {
    padding: 0.6rem 1rem;
  }
  .hero-banner-mobile img {
    max-height: 45px;
  }
}

@media (max-width: 768px) {
  .hero-banner-mobile {
    padding: 0.5rem 1rem;
  }
  .hero-banner-mobile img {
    max-height: 45px;
  }
}

.site-logo .logo-ja {
  font-family: var(--font-logo);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.1em;
  line-height: 1.3;
  white-space: nowrap;
}

.site-logo .logo-en {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.88rem;
  color: var(--color-text);
  padding: 0.5rem 0.8rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
  white-space: nowrap;
}

.main-nav li {
  flex-shrink: 0;
}

.main-nav a:hover,
.main-nav a.active {
  text-decoration: none;
}

.main-nav a:hover:after,
.main-nav a.active:after {
  transform: scaleX(1);
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 0.45rem 1.1rem !important;
  border-bottom: none !important;
  border-radius: 3px;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  text-decoration: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  position: absolute;
  left: 9px;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
  transform-origin: center;
}

.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }

.header-inner:has(.main-nav.active) .menu-toggle span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.header-inner:has(.main-nav.active) .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.header-inner:has(.main-nav.active) .menu-toggle span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* HERO */
.hero {
  color: var(--color-white);
  text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  background: var(--color-primary);
  position: relative;
  z-index: 1;
}

/* サブページ用：少し背を低く + ロゴ位置をページ間で固定 */
.hero.hero--page {
  padding: 3rem 1.5rem 2.8rem;
}

/* ロゴとタイトルを 2 列の grid で固定配置（タイトル幅で位置が動かない） */
.hero.hero--page .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  max-width: 720px;
}

.hero.hero--page .hero-inner > h1,
.hero.hero--page .hero-inner > .hero-text {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  text-align: left;
}

.hero.hero--page .hero-inner > .hero-stamp {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

/* hero に hero-text または h1 のみ（認定ロゴ無し）の場合は中央寄せ */
.hero.hero--page .hero-inner > .hero-text:only-child,
.hero.hero--page .hero-inner > h1:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  align-items: center;
  text-align: center;
}

.hero-school {
  font-family: var(--font-logo);
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  color: var(--color-white);
  margin: 0;
}

.hero-text h1 {
  font-family: var(--font-logo);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0;
  opacity: 0.95;
}

/* slogan のみのケース（Slogan を h1 に格下げしてもサブとして見せる） */
.hero.hero--page .hero-text h1 {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .hero-school {
    font-size: 2rem;
    letter-spacing: 0.08em;
  }
  .hero.hero--page .hero-text h1 {
    font-size: 1.05rem;
  }
  .hero-text {
    gap: 0.3rem;
  }
}

.hero.hero--page h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.hero.hero--page .hero-stamp img {
  width: 130px;
  max-width: 130px;
}

.hero.hero--page .hero-stamp figcaption {
  font-size: 0.85rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.hero-stamp img {
  width: 170px;
  max-width: 170px;
  height: auto;
  background: #ffffff;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-stamp--transparent img {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero-stamp figcaption {
  color: var(--color-white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.hero-description {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 2.5rem;
  opacity: 0.88;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.2s;
  text-align: center;
}

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

.btn-white:hover {
  background: #eee;
  text-decoration: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
}

/* PAGE HEADER */
.page-header {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.page-header p {
  font-size: 0.92rem;
  opacity: 0.85;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb a {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.15s;
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: #222;
  background: #f5f5f3;
}

.breadcrumb .sep {
  display: flex;
  align-items: center;
  margin: 0 2px;
  color: #ccc;
  white-space: nowrap;
}

.breadcrumb .current,
.breadcrumb span {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.04em;
  padding: 4px 6px;
  word-break: break-word;
  overflow-wrap: anywhere;
  flex: 1 1 100%;
  min-width: 0;
}

.breadcrumb .current {
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.15);
}

/* SECTION */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

h2.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding-bottom: 0.5rem;
  /* border-bottom: 2px solid var(--color-primary); */
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 38px;
}

h2.section-title:after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  background-image:
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary)),
    linear-gradient(var(--color-primary), var(--color-primary));
  background-size: 9px 9px;
  background-position: 0 0, 13px 0, 0 13px, 13px 13px;
  background-repeat: no-repeat;
}

.inner-banner {
  margin-bottom: 18px;
}

.section-lead {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

h3.sub-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 2rem 0 0.8rem;
  padding: 0.4rem 0.6rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

h4.item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 1.2rem 0 0.3rem;
}

.lead-text {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 1rem;
}

.greeting-signature {
  text-align: right;
  margin: 1.5rem 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

/* 理念ブロック */
.philosophy-block {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 2px solid var(--color-primary);
  margin: 1.5rem auto 2rem;
  max-width: 700px;
  background: var(--color-white);
}

.philosophy-block .quote {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.philosophy-block .sub {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* テーブル */
.basic-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  font-size: 0.9rem;
  background: var(--color-white);
}

.basic-table th,
.basic-table td {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.basic-table th {
  background: #444;
  color: white;
  font-weight: 600;
}

.basic-table td.number {
  text-align: right;
}

.basic-table tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.basic-table tfoot td {
  font-weight: 700;
  background: var(--color-bg-alt);
  border-top: 2px solid var(--color-primary);
}

.subjects-table {
  border: 1px solid #b0c8d8;
}

.subjects-table th,
.subjects-table td {
  text-align: center;
  vertical-align: middle;
  padding: 1rem 0.8rem;
  border: 1px solid #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

.subjects-table thead th {
  background: #dcedf5;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.95rem;
}

.subjects-table tbody tr {
  background: #ffffff;
}

.subjects-table .subjects-row-2yr td {
  background: #9ecfe4;
}

.subjects-table .subjects-row-18mo td {
  background: #4a90d9;
  color: #1a1a1a;
}

.subjects-table tbody tr:nth-child(odd) {
  background: transparent;
}

/* 囲み */
.notice-box {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 1rem 1.3rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.notice-box .notice-label {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}

/* 施設 */
.facility-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.facility-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.facility-item:last-child {
  border-bottom: none;
}

.facility-item .photo {
  width: 100%;
  min-height: 140px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
  text-align: center;
  padding: 0.5rem;
}

.facility-item .detail h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.facility-item .detail p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* 2カラム */
.two-col {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 2.5rem;
  align-items: start;
  margin: 1.5rem 0;
}

.access-map {
  background: #fff;
  border: 1px solid var(--color-border);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.access-map img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* フォーム */
.form-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--color-white);
}

.form-table th,
.form-table td {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  vertical-align: top;
}

.form-table th {
  background: var(--color-bg-alt);
  font-weight: 600;
  width: 30%;
  text-align: left;
}

.form-table .required {
  color: #c0392b;
  font-size: 0.75rem;
  margin-left: 0.3rem;
}

.form-table input,
.form-table select,
.form-table textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-table textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin: 1.5rem 0;
}

.submit-btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 3rem;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  border-radius: 3px;
}

.submit-btn:hover {
  background: var(--color-primary-dark);
}

/* CTA */
.cta-section {
  position: relative;
  background: #0d2d4a;
  overflow: hidden;
  padding: 80px 40px;
}

/* Layered background depth */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 110%, #1a5278 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% -20%, #1e3f5c 0%, transparent 55%);
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 49.5%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

.dots-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -4px -4px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(41, 128, 185, 0.18);
  top: -80px;
  left: -60px;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(26, 188, 156, 0.1);
  bottom: -40px;
  right: 20%;
  animation-delay: -3s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: rgba(52, 152, 219, 0.12);
  top: 30%;
  right: 8%;
  animation-delay: -5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Content wrapper */
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  text-align: center;
}

/* Contact details */
.cta-contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: baseline;
  justify-content: center;
}

.cta-contact-item {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
  text-align: center;
}

.cta-contact-item > div {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}

.cta-contact-item .contact-label::after {
  content: "：";
  margin-left: 2px;
}


.contact-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  display: inline;
  margin-bottom: 0;
}

.contact-value {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Right CTA */
.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: #ffffff;
  color: #0d2d4a;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 200, 227, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cta-button svg {
  width: 16px;
  height: 16px;
  stroke: #0d2d4a;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.cta-button:hover svg {
  transform: translateX(3px);
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-align: center;
}

/* Thin top accent line */
.accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2980b9 30%, #7ec8e3 60%, transparent);
}

/* Responsive */
@media (max-width: 640px) {
  .cta-inner {
    gap: 24px;
  }

  .cta-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
}

/* FOOTER */
.site-footer {
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 0 1.2rem;
  font-size: 0.82rem;
  line-height: 1.8;
}

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

.footer-cols {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.footer-col-main {
  flex: 2;
  min-width: 260px;
}

.footer-col {
  flex: 1;
  min-width: 160px;
}

.footer-col-main .name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col li {
  margin-bottom: 0.25rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* 施設案内グリッド */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1rem 0;
}

.facility-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.facility-item figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

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

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

/* PDF iframe ビューワー */
.pdf-viewer-wrap {
  margin: 1rem 0 2rem;
}

.pdf-frame {
  width: 100%;
}

.pdf-viewer {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #f5f5f5;
  display: block;
}

.pdf-fallback {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--color-text-light);
  text-align: center;
}

@media (max-width: 640px) {
  /* モバイルでは論理幅 800px で iframe を描画し、
     transform: scale で viewport 幅にフィットさせる。
     モバイル PDF ビューアが幅を無視して拡大表示してしまう問題を回避。 */
  .pdf-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 210 / 297;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #f5f5f5;
  }

  .pdf-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 800px;
    height: calc(800px * 297 / 210);
    min-height: 0;
    border: none;
    border-radius: 0;
    transform-origin: top left;
    transform: scale(calc((100vw - 3rem) / 800));
  }
}

/* 入学案内 — 入学試験について（文書スタイル、装飾なし） */
.admission-list {
  list-style: none;
  counter-reset: admission-counter;
  padding-left: 0.5rem;
  margin: 0.3rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.95;
}

.admission-list > li {
  counter-increment: admission-counter;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 0.1rem;
}

.admission-list > li::before {
  content: "（" counter(admission-counter) "）";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text);
}

.admission-subblock {
  margin: 0.3rem 0 0.3rem;
  padding: 0 0 0 1.4rem;
  background: none;
  border: none;
}

.admission-subhead {
  margin: 0.3rem 0 0.15rem;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 400;
}

.admission-subblock ul {
  list-style: none;
  padding-left: 1rem;
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  line-height: 1.95;
}

.admission-subblock ul li {
  position: relative;
  padding-left: 1rem;
}

.admission-subblock ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.admission-note {
  margin: 0.3rem 0 1rem;
  padding-left: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
}

.admission-notice {
  margin: 0.6rem 0 2rem;
  padding: 0;
  background: none;
  border: none;
}

.admission-notice-title {
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--color-text);
}

.admission-notice ul {
  list-style: none;
  padding-left: 0.5rem;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--color-text);
}

.admission-notice ul li {
  position: relative;
  padding-left: 1rem;
}

.admission-notice ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.admission-notice-foot {
  margin: 0.4rem 0 0 0.5rem;
  font-size: 0.93rem;
  color: var(--color-text);
}

.procedure-steps {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--color-text);
}

.procedure-steps p {
  margin: 0.15rem 0;
}

/* 入学案内の書類テーブル（他ページの basic-table とヘッダー配色を統一） */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.9rem;
  background: var(--color-white);
}

.doc-table th,
.doc-table td {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.doc-table thead th {
  background: #444;
  color: #ffffff;
  font-weight: 600;
}

.doc-table tbody tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.doc-table tbody td:first-child {
  text-align: center;
  color: var(--color-text-light);
}

.admission-subblock .doc-table tbody td:first-child {
  text-align: left;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .admission-list > li {
    padding-left: 2.4rem;
  }
  .admission-subblock {
    padding: 0.5rem 0.8rem;
  }
  .doc-table {
    font-size: 0.82rem;
  }
  .doc-table th,
  .doc-table td {
    padding: 0.5rem 0.55rem;
  }
}

/* コース紹介 タイムライン */
.course-timeline-wrap {
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.course-timeline {
  min-width: 1100px;
  background: #ffffff;
  padding: 1.25rem 1rem 0;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 10px 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  position: relative;
}

.course-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc((100% / 24) - 1px),
    rgba(0, 0, 0, 0.18) calc((100% / 24) - 1px),
    rgba(0, 0, 0, 0.18) calc(100% / 24)
  );
  pointer-events: none;
  z-index: 0;
}

.course-timeline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  background-image:
    linear-gradient(to right, transparent calc(25% - 0.5px), #222 calc(25% - 0.5px), #222 calc(25% + 0.5px), transparent calc(25% + 0.5px)),
    linear-gradient(to right, transparent calc(50% - 0.5px), #222 calc(50% - 0.5px), #222 calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to right, transparent calc(75% - 0.5px), #222 calc(75% - 0.5px), #222 calc(75% + 0.5px), transparent calc(75% + 0.5px));
  pointer-events: none;
  z-index: 0;
}

.course-bar {
  display: flex;
  align-items: center;
  padding: 10px 42px 10px 22px;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.15rem;
  color: #333;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.course-bar-2yr {
  grid-column: 1 / -1;
  grid-row: 1;
  background: #f5c0d0;
}

.course-bar-18mo {
  grid-column: 7 / -1;
  grid-row: 2;
  background: #b0d8f4;
}

.level-card {
  background: #fffac4;
  border: 1px solid #d0c050;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 3;
  align-self: start;
  grid-row: 3;
  margin-right: 14px;
}

.level-b2 {
  margin-right: 0;
}

.level-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px 0;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.level-card p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.level-a1 {
  grid-column: 1 / 4;
  margin-top: 90px;
}

.level-a2 {
  grid-column: 4 / 7;
  margin-top: 50px;
}

.level-b1 {
  grid-column: 7 / 13;
  margin-top: 10px;
}

.level-b2 {
  grid-column: 13 / 25;
  margin-top: 0;
}

.month-axis {
  grid-row: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  border-top: 2px solid #555;
  padding-top: 6px;
  padding-bottom: 4px;
  margin-top: 8px;
  position: relative;
  z-index: 2;
}

.month-axis span {
  text-align: center;
  writing-mode: horizontal-tb;
  font-size: 0.75rem;
  font-weight: 500;
  color: #333;
  justify-self: center;
  padding: 4px 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.month-axis-en span {
  font-size: 0.72rem;
}

/* 認定バナーはヘッダー（.header-cert）に移動したため、フッター手前のバナーは非表示 */
.affiliation-banner {
  display: none;
}

.affiliation-banner-legacy {
  background: #f5f5f5;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.affiliation-banner-track {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.affiliation-banner-track img {
  display: none;
}

.affiliation-banner-track::after {
  content: "認定ロゴ掲載予定（認定取得後に差し替え）";
  display: inline-block;
  padding: 1rem 2rem;
  background: #ffffff;
  color: #888;
  font-size: 0.88rem;
  border: 1px dashed #bbb;
  border-radius: 4px;
  min-width: 320px;
}

@media (max-width: 640px) {
  .affiliation-banner {
    padding: 1rem 0.8rem;
  }
  .affiliation-banner-track::after {
    padding: 0.8rem 1.2rem;
    min-width: auto;
    font-size: 0.82rem;
  }
}

/* 下の帯 (footer band) */
.footer-band {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 1.8rem;
}

.footer-band > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-band > ul > li {
  flex: 1 1 auto;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-band > ul > li:last-child {
  border-right: none;
}

.footer-band > ul > li > a {
  display: block;
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

.footer-band > ul > li > a:hover,
.footer-band > ul > li:hover > a {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-submenu {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  min-width: 180px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  list-style: none;
  padding: 0.3rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
  text-align: left;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
}

.footer-band > ul > li:hover .footer-submenu,
.footer-band > ul > li:focus-within .footer-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-submenu li {
  border: none;
  flex: none;
  text-align: left;
  display: block;
}

.footer-submenu a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}

.footer-submenu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 600px) {
  .footer-band > ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
  .footer-band > ul > li {
    flex: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
  }
  .footer-band > ul > li:nth-child(2n) {
    border-right: none;
  }
  .footer-band > ul > li:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .footer-band > ul > li > a {
    padding: 0.8rem 2rem 0.8rem 1rem;
    font-weight: 600;
    text-align: left;
    position: relative;
  }
  /* 親メニュー（サブメニュー持ち）にシェブロンを表示 */
  .footer-band > ul > li:has(.footer-submenu) > a::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
  }
  .footer-band > ul > li.open > a::after {
    transform: translateY(-30%) rotate(-135deg);
  }
  /* サブメニュー：モバイルでは非表示、.open で表示 */
  .footer-submenu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
  }
  .footer-band > ul > li.open .footer-submenu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 0 0 0.6rem;
  }
  .footer-submenu a {
    padding: 0.4rem 1rem 0.4rem 1.8rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
  }
}

.footer-info {
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-info .name {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .footer-band li {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-band li:nth-child(even) {
    border-right: none;
  }
  .footer-band li:nth-last-child(-n+1) {
    border-bottom: none;
  }
}

/* お知らせ */
.news-tabs {
  display: flex;
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.news-tabs a {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text);
  border-right: 1px solid var(--color-border);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.news-tabs a:last-child {
  border-right: none;
}

.news-tabs a:hover {
  background: var(--color-bg-alt);
  text-decoration: none;
}

.news-tabs a.active {
  background: var(--color-primary);
  color: #fff;
}

.news-list {
  margin: 0;
}

.news-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  color: var(--color-text);
  display: block;
}

.news-item a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.news-category {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-text-muted);
  color: #fff;
  border-radius: 2px;
}

.news-title {
  font-size: 0.93rem;
  line-height: 1.6;
}

.news-more-link {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.news-more-link:hover {
  border-bottom-color: var(--color-primary);
}

/* フッター SNS アイコン（一時非表示。SNS 開設後に下の display:none を削除して復活させる） */
.footer-sns {
  display: none;
  /* display: flex; */
  justify-content: center;
  gap: 0.9rem;
  padding: 0.2rem 0 0.6rem;
}

.footer-sns-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
}

.footer-sns-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.footer-sns-link svg {
  width: 18px;
  height: 18px;
}

.news-more {
  text-align: right;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.news-more a {
  color: var(--color-primary);
}

/* 言語切り替え（右下固定） */
.lang-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

.lang-float-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
  border-radius: 24px;
}

.lang-float-btn:hover {
  background: var(--color-primary);
}

.lang-float-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 0.4rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  min-width: 160px;
}

.lang-float-menu.open {
  display: block;
}

.lang-float-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.lang-float-menu a:last-child {
  border-bottom: none;
}

.lang-float-menu a:hover {
  background: var(--color-bg-alt);
  text-decoration: none;
}

.lang-float-menu a.active {
  color: var(--color-primary);
  font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  /* 背景オーバーレイ（body側で描画してパネルの下に置く） */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 990;
    pointer-events: none;
  }

  body:has(.main-nav.active)::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* 右からスライドインするパネル */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 300px;
    max-width: 82vw;
    background: #ffffff;
    padding: 5.5rem 0 2rem;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: block;
    overflow-y: auto;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1.25rem;
    list-style: none;
    margin: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav li:last-child {
    border-bottom: none;
    margin-top: 1.2rem;
    padding-top: 0.5rem;
  }

  .main-nav a {
    display: block;
    padding: 1rem 0.5rem;
    font-size: 1rem;
    text-align: left;
    color: var(--color-text);
    transition: background 0.15s, color 0.15s;
    border-radius: 4px;
  }

  .main-nav a:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.active {
    color: var(--color-primary);
    font-weight: 700;
  }

  .main-nav a.nav-cta {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 0.9rem 1rem;
    font-weight: 600;
  }

  .main-nav a.nav-cta:hover,
  .main-nav a.nav-cta.active {
    background: var(--color-primary-dark, var(--color-primary));
    color: #fff;
  }

  /* メニュー開いている間は body スクロールロック */
  body:has(.main-nav.active) {
    overflow: hidden;
  }

  .mobile-lang {
    display: none !important;
  }

  .lang-float {
    bottom: 1rem;
    right: 1rem;
  }

  .hero {
    padding: 3rem 1.2rem;
  }

  .hero-inner {
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .hero h1 {
    font-size: 1.2rem;
    margin-bottom: 0;
    letter-spacing: 0.06em;
  }

  .hero-stamp img {
    width: 110px;
  }

  .hero-stamp figcaption {
    font-size: 0.78rem;
  }

  /* サブページ hero もモバイルではトップと同等サイズに揃える */
  .hero.hero--page {
    padding: 2.2rem 1rem;
  }

  .hero.hero--page h1 {
    font-size: 1.15rem;
    letter-spacing: 0.06em;
  }

  .hero.hero--page .hero-stamp img {
    width: 100px;
    max-width: 100px;
  }

  .hero.hero--page .hero-stamp figcaption {
    font-size: 0.72rem;
  }

  .header-cert {
    display: none;
  }

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

  .facility-item {
    flex-direction: column;
  }

  .facility-item .photo {
    width: 100%;
  }

  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }

  .form-table th {
    border-bottom: none;
  }

  .footer-cols {
    flex-direction: column;
    gap: 1.5rem;
  }

  .basic-table {
    font-size: 0.82rem;
  }
}