:root {
  --green: #039b5f;
  --pink: #f32057;
  --ink: #252525;
  --line: #77c89c
}
html { scroll-behavior: smooth }
body {
  color: var(--ink); font-family: "M PLUS 1", sans-serif;
  font-size: 16px; line-height: 1.9
}
.skip-link { position: absolute; left: -9999px }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1100; background: #fff; padding: .5rem 1rem }
.site-header { background: #fff; box-shadow: 0 1px 7px #00000012 }
.site-header .navbar { padding-top: 0; padding-bottom: 0 }
.site-header .navbar-brand { height: 80px; padding: 0; margin: 0; display: flex; align-items: center; }
.site-header .navbar-toggler {
  margin: 18px 0;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}
.site-header .navbar-toggler:focus,
.site-header .navbar-toggler:active,
.site-header .navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
.brand-logo { display: block; width: auto; height: 48px; max-width: 260px; object-fit: contain }
.brand-program {
  display: block; padding-left: 16px; border-left: 1px solid #cfd9d4;
  color: var(--green); font-size: 20px; font-weight: 800;
  letter-spacing: .03em; line-height: 1.35; white-space: nowrap
}
.brand-program small {
  display: block; color: var(--pink); font-size: 12px; font-weight: 600; letter-spacing: .08em
}
.brand-program span { color: var(--ink); font-size: .68em }

.nav-link { color: #222; font-size: .92rem; font-weight: 700; padding: 1.7rem .85rem !important }
.nav-link:hover, .nav-link:focus { color: var(--green) }

.hero { overflow: hidden; background: #e8f0f2 }
.hero img { display: block; width: 100%; height: auto; min-height: 250px; object-fit: cover }
.fade-in-image { animation: mainFadeIn 1.5s ease-out forwards }
@keyframes mainFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
.section { position: relative; padding: 88px 0; overflow: hidden }
.section h1, .section h2, .section h3 { font-weight: 800 }
.content-image { display: block; width: 100%; height: auto; object-fit: contain }
.about-section { background: #fff }
.about-section:before, .about-section:after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background-repeat: no-repeat; background-size: contain
}
.about-section:before {
  top: 0; right: 0; width: min(52vw, 760px); height: 370px;
  background-image: url("../assets/about-bg-top-right.png"); background-position: top right
}
.about-section:after {
  bottom: 0; left: 0; width: min(38vw, 520px); height: 330px;
  background-image: url("../assets/about-bg-bottom-left.png"); background-position: bottom left
}
.about-content { position: relative; z-index: 1 }
.about-label { margin: 0 0 2px; color: var(--pink); font-size: 30px; font-weight: 800; letter-spacing: .04em }
.about-title { margin: 0; color: var(--ink); font-size: clamp(26px, 2.5vw, 37px); font-weight: 800; line-height: 1.45 }
.about-lead { margin: 6px 0 30px; color: var(--green); font-size: 20px; font-weight: 700 }
.about-copy p { margin: 0 0 6px; font-size: 15px; line-height: 1.85 }
.overview-table-wrap { border: 1px solid var(--green); background: rgb(255 255 255 / 86%); padding: 8px 12px }
.overview-table { --bs-table-bg: transparent; --bs-table-border-color: #c8d8d1; color: #4a4a4a; font-size: 13.5px }
.overview-table > :not(caption) > * > * { padding: .55rem .35rem }
.overview-table tbody tr:last-child > * { border-bottom: 0 }
.overview-table th { width: 16%; color: #3f3f3f; font-weight: 700; white-space: nowrap }
.overview-table td { width: 34% }
.overview-mobile { display: none }
.license-section {
  background-color: rgb(234 243 234);
  background-image: radial-gradient(circle, rgb(240 245 245) 0, rgb(240 245 245) 6px, transparent 6px), radial-gradient(circle, rgb(240 245 245) 0, rgb(240 245 245) 6px, transparent 6px);
  background-position: 0 0, 22px 22px; background-size: 44px 44px
}
.section-kicker { margin: 0 0 4px; color: var(--green); font-size: 26px; font-weight: 800; letter-spacing: .03em }
.license-title { margin: 0 0 20px; color: var(--pink); font-size: clamp(18px, 2vw, 25px) }
.features-section {
  padding: 80px 0; background-color: #6ec35d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6 Q 6 0, 12 6 T 24 6' fill='none' stroke='rgba(255, 255, 255, 0.45)' stroke-width='1.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
  background-size: 24px 12px;
}
.point-row { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start }
.point-copy p { font-size: 15.5px }
.appeal-section { padding-bottom: 0 }
.appeal-card p { font-size: 15.5px }

.bg-success.text-white {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

/* === 学生納付金テーブル（元の配色・シンプル緑＋SP縦組み対応） === */
.tuition-table {
  margin: 0;
  border: 1px solid #c8d8d1;
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}

.tuition-table thead th {
  background-color: #6bbb6b !important;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 12px;
  border: 1px solid #5cae5c;
  vertical-align: middle;
}

.tuition-table tbody th {
  background-color: #f8fbf9;
  color: #333;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 12px;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.tuition-table tbody td {
  font-size: 13.5px;
  padding: 9px 12px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  vertical-align: middle;
}

.tuition-table tbody td[rowspan] {
  border-left: 1px solid #ddd;
}

.tuition-note {
  margin-top: 12px !important;
  border: 0 !important;
  border-radius: 0;
  color: var(--green) !important;
  font-size: 15px !important;
  font-weight: 700;
  text-align: left;
  padding: 0 !important;
}

.facility-grid h3 { font-size: 14.5px }
.facility-grid p { margin: 0; font-size: 12px; line-height: 1.6 }
.network-section { padding-top: 54px; background: #fff }
.major-hospitals h3 { margin: 0 0 8px; color: var(--green); font-size: 20px; line-height: 1.45 }
.major-hospitals p { font-size: 14px }
.hospital-grid p, .hospital-grid p small { color: var(--ink) }
.lift-link { display: inline-block; color: inherit; transition: opacity .28s ease }
.lift-link:hover, .lift-link:focus-visible { opacity: .7 }
.hospital-grid p > .lift-link { color: var(--green) }
.campus-section { padding-top: 54px }

.campus-grid article { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 16px; align-items: start }
.campus-grid .campus-body { display: flex; flex-direction: column; }
.campus-grid h3 { margin: 0 0 4px; color: var(--green); font-size: 17.5px }
.campus-grid .campus-address { margin: 0 0 8px; font-size: 13.5px; color: #555 }
.campus-grid .campus-departments { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink) }

.site-footer { border-top: 4px solid var(--green); background: #f6f6f6; padding: 40px 0; color: #5c5c5c }
.footer-brand { display: block }
.footer-identity { display: flex }
.footer-identity .brand-logo { display: block; width: auto; object-fit: contain }
.footer-identity .brand-program { font-size: 20px }
.footer-identity .brand-program small { font-size: 12px }
.footer-tel { color: var(--green); font-size: 22px; font-weight: 700 }
.mail-link { color: var(--ink); text-decoration: none }
.footer-links a { display: block; width: max-content; max-width: 100%; color: #5c5c5c }

.page-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--pink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(243, 32, 87, 0.35);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .2s ease;
  text-decoration: none;
}
.page-top-btn:hover, .page-top-btn:focus {
  color: #fff;
  background-color: #d91447;
  transform: translateY(-3px);
}
.page-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}

[data-animate] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1)
}
[data-animate].is-visible { opacity: 1; transform: none }

@media (min-width:576px) and (max-width:1199.98px) {
  .brand-logo { height: 38px; max-width: 205px }
  .brand-program { padding-left: 10px; font-size: 15px }
  .brand-program small { font-size: 10px }
  .nav-link { padding-right: .45rem !important; padding-left: .45rem !important; font-size: 12px; white-space: nowrap }
  .footer-identity .brand-logo { height: auto; max-width: 320px }
  .footer-identity .brand-program { font-size: 20px }
  .footer-identity .brand-program small { font-size: 14px }
  .footer-identity .brand-program spanl { font-size: .68em }

}
@media (max-width: 767.98px) {
  .point-row { display: flex; flex-direction: column; gap: 20px }
  .point-photo-wrap { width: 100% }
}
@media (max-width:575.98px) {
  body { font-size: 15.5px; line-height: 1.8 }
  .site-header .navbar { min-height: auto; }
  .site-header .navbar-brand { height: 66px; }
  .brand-logo { height: 36px; max-width: 165px }
  .brand-program { padding-left: 10px; font-size: 13px; line-height: 1.25 }
  .brand-program small { display: block; font-size: 9px }
  .navbar-toggler { border: 0 !important; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; margin: 8px 0; }
  .navbar-toggler-icon { width: 1.4em; height: 1.4em; background-image: none }
  .navbar-toggler-icon:before { content: "☰"; display: block; color: var(--ink); font-size: 1.45rem; line-height: 1 }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before { content: "×"; font-size: 2rem; line-height: .78 }
  .navbar-collapse { margin-top: 4px; border-bottom: 1px solid #eee }
  .nav-link { border-top: 1px solid #eee; padding: .75rem 0.7rem !important }
  .section { padding: 55px 0 }
  .hero img { min-height: 180px }
  .about-section { padding-top: 46px }
  .about-section:before { width: 80vw; height: 250px; opacity: .45 }
  .about-section:after { width: 65vw; height: 200px; opacity: .55 }
  .about-label { font-size: 22px }
  .about-title { font-size: 24px }
  .about-lead { margin-bottom: 22px; font-size: 16px; line-height: 1.65 }
  .about-copy p { font-size: 14.5px; line-height: 1.8 }
  .point-copy p { font-size: 14.5px }
  .appeal-card p { font-size: 14.5px }
  .overview-table-wrap { display: none }
  .overview-mobile { display: block; margin: 0; border: 1px solid var(--green); background: rgb(255 255 255 / .9) }
  .overview-mobile div { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; padding: 10px; border-bottom: 1px solid #c8d8d1; font-size: 13.5px }
  .overview-mobile div:last-child { border-bottom: 0 }
  .overview-mobile dd { margin: 0 }
  .features-section { padding: 44px 0 }
  .point-row { display: flex; flex-direction: column; gap: 15px }
  .section-kicker { font-size: 19px }
  .license-title { font-size: 19px }

  .network-section { padding-top: 36px }
  .major-hospitals h3 { font-size: 16px }
  .major-hospitals p { font-size: 13px; line-height: 1.7 }
  .campus-grid article { grid-template-columns: 140px minmax(0, 1fr); gap: 10px }
  .campus-grid h3 { font-size: 15px }
  .campus-grid .campus-address { font-size: 12px; margin-bottom: 4px; }
  .campus-grid .campus-departments { font-size: 12px }
  .footer-identity .brand-logo { height: auto; max-width: 320px }
  .footer-identity .brand-program { padding-left: 9px; font-size: 20px }
  .footer-identity .brand-program small { font-size: 14px }
  .footer-identity .brand-program spanl { font-size: .68em }
  .site-footer { padding: 28px 0 }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important }
  [data-animate] { opacity: 1 !important; transform: none !important }
}
.sub-line-title { padding-bottom: 8px; border-bottom: 2px solid var(--line) }
.network-section { padding: 54px 0 0 }
.campus-section { padding-top: 36px }
@media (max-width:575.98px) {
  .network-section { padding-top: 36px }
}
.btn-outline-pamphlet{
  color: var(--pink);
  border: 1px solid var(--pink);
  background: transparent;
  font-size: .95rem;
  font-weight: 600;
  transition: all .2s ease;
}

.btn-outline-pamphlet:hover{
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.btn-outline-pamphlet:focus,
.btn-outline-pamphlet:active{
  background: var(--pink) !important;
  border-color: var(--pink) !important;
  color: #fff !important;
}