/* =========================================================
   Admission page — match admission-design.png
   ========================================================= */

.page-admission{
  --g: #0d8a46;
  --r: #9f1123;
  --ink: #1a1a1a;
  --mute: #555;
  --line: #ddd;
  --soft: #f5f5f5;
  --w: 90%;
  --side: clamp(20px, 5.5vw, 120px);

  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  color:var(--ink);
  background:#fff;
}

.admission-main{ overflow-x:clip; }

.adm-wrap{
  width:var(--content);
  max-width:var(--w);
  margin:0 auto;
}

.sub-hero__visual{
  top: -30px;
}

/* ---------- Major section head (centered EN + JP) ---------- */
.adm-sec-head{
  text-align:center;
  margin:0 0 clamp(48px, 6vw, 72px);
}

.adm-sec-head__en{
  display:block;
  font-family:"Poppins","Zen Kaku Gothic New",sans-serif;
  font-size:13px;
  font-weight:600;
  letter-spacing:.18em;
  color:var(--g);
  text-transform:uppercase;
  margin-bottom:14px;
}

.adm-sec-head__jp{
  font-size:clamp(26px, 3.2vw, 36px);
  font-weight:700;
  letter-spacing:.04em;
  line-height:1.4;
}

/* ---------- Sub heading with green bar ---------- */
.adm-h{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:clamp(20px, 2.4vw, 26px);
  font-weight:700;
  line-height:1.4;
  margin:0 0 28px;
}

.adm-h::before{
  content:"";
  flex:none;
  width:4px;
  height:1.1em;
  background:var(--g);
  border-radius:1px;
}

.adm-block{
  padding:clamp(64px, 8vw, 100px) var(--side);
}

.adm-block + .adm-block{
  padding-top:clamp(40px, 5vw, 64px);
}

.adm-block__inner{ width:var(--content); max-width:100%; margin:0 auto; }

.adm-lead{
  font-size:16px;
  line-height:2;
  color:var(--ink);
  margin:0 0 36px;
}

.adm-note{
  margin-top:18px;
  font-size:13px;
  line-height:1.9;
  color:var(--mute);
}

.adm-spacer{ height:clamp(48px, 6vw, 72px); }

/* ---------- Definition rows (green label + underline) ---------- */
.adm-def{
  width:100%;
  border-collapse:collapse;
  margin-bottom:clamp(40px, 5vw, 64px);
}

.adm-def tr{ border-bottom:1px solid #e6e6e6; }

.adm-def th,
.adm-def td{
  padding:22px 8px;
  vertical-align:middle;
  font-size:16px;
  line-height:1.7;
}

.adm-def th{
  width:26%;
  min-width:140px;
  max-width:240px;
  font-weight:700;
  color:var(--g);
  text-align:center;
  position:relative;
  padding-left:0;
  padding-right:16px;
  border-bottom:1px solid var(--g);
}

.adm-def td{
  color:var(--ink);
  text-align:left;
  padding-left:28px;
  border-bottom:1px solid #e6e6e6;
}

.adm-def tr{ border-bottom:none; }

/* ---------- Data tables (red header) ---------- */
.adm-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin-bottom:8px;
}

.adm-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:480px;
}

.adm-table th,
.adm-table td{
  border:1px solid var(--line);
  padding:16px 12px;
  text-align:center;
  vertical-align:middle;
  line-height:1.7;
}

.adm-table thead th{
  background:var(--r);
  color:#fff;
  font-weight:700;
  white-space:nowrap;
}

.adm-table tbody th{
  background:#fff;
  font-weight:700;
  white-space:nowrap;
}

.adm-table .num{
  font-family:"Poppins","Zen Kaku Gothic New",sans-serif;
  font-variant-numeric:tabular-nums;
}

.adm-table--fee{ min-width:920px; font-size:13px; }
.adm-table--fee .num{ white-space:nowrap; }

.adm-caption{
  font-size:14px;
  font-weight:500;
  margin:28px 0 14px;
  color:var(--ink);
}

/* ---------- Numbered plain lists ---------- */
.adm-olist{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.adm-olist li{
  font-size:16px;
  line-height:2;
  padding-left:0;
}

/* ---------- Document tables ---------- */
.adm-doc-band{
  margin:40px 0 0;
  background:var(--r);
  color:#fff;
  text-align:center;
  font-size:16px;
  font-weight:700;
  letter-spacing:.04em;
  padding:14px 20px;
}

.adm-doc-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:640px;
}

.adm-doc-table th,
.adm-doc-table td{
  border:1px solid var(--line);
  padding:16px 14px;
  vertical-align:middle;
  line-height:1.75;
}

.adm-doc-table thead th{
  background:#f2f2f2;
  font-weight:700;
  text-align:center;
}

.adm-doc-table .col-no{
  width:52px;
  text-align:center;
  font-weight:700;
}

.adm-doc-table .col-name{
  width:28%;
  text-align:center;
  font-weight:700;
}

.adm-doc-table .col-fmt{
  width:18%;
  text-align:center;
}

.adm-doc-table .col-note{
  text-align:left;
}

.adm-doc-table tbody tr:nth-child(even) td{
  background:#fafafa;
}

.adm-caution{
  margin-top:36px;
}

.adm-caution__title{
  font-size:16px;
  font-weight:700;
  margin-bottom:12px;
}

.adm-caution ul{
  margin:0;
  padding:0;
  list-style:none;
}

.adm-caution li{
  position:relative;
  padding-left:1.2em;
  font-size:14px;
  line-height:2;
  color:var(--ink);
}

.adm-caution li::before{
  content:"・";
  position:absolute;
  left:0;
}

/* ---------- Flowchart ---------- */
.adm-flow{
  background:var(--soft);
  border-radius:20px;
  padding:clamp(24px, 3vw, 40px) clamp(16px, 2.5vw, 32px);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.adm-flow__grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.15fr);
  gap:12px 16px;
  min-width:860px;
  align-items:start;
}

.adm-flow__colhead{
  text-align:center;
  font-size:14px;
  font-weight:700;
  padding-bottom:8px;
}

.adm-flow__pill{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-size:13px;
  font-weight:500;
  line-height:1.55;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
  min-height:48px;
}

.adm-flow__pill--sm{ font-size:12px; padding:10px 14px; }

.adm-flow__stack{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}

.adm-flow__pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  width:100%;
}

.adm-flow__arrow{
  display:flex;
  justify-content:center;
  color:var(--g);
  line-height:1;
  font-size:18px;
  font-weight:700;
  padding:2px 0;
}

.adm-flow__arrow::before{
  content:"▼";
  font-size:14px;
}

.adm-flow__divider{
  grid-column:1 / -1;
  border:0;
  border-top:1px dotted #bbb;
  margin:10px 0;
}

.adm-flow__span2{ grid-column:1 / 2; }
.adm-flow__center{ justify-self:center; width:100%; max-width:280px; }
.adm-flow__wide{ width:100%; }

.adm-flow__cell{ display:flex; flex-direction:column; gap:10px; align-items:stretch; }

/* ---------- Prose / nested policy lists ---------- */
.adm-prose{
  font-size:15px;
  line-height:2;
}

.adm-prose p{ margin:0 0 16px; }

.adm-policy{ margin:0; padding:0; list-style:none; }

.adm-policy > li{
  margin-bottom:28px;
  font-size:15px;
  line-height:2;
}

.adm-policy__title{
  display:block;
  font-weight:700;
  margin-bottom:10px;
}

.adm-policy__sub{
  margin:0;
  padding:0;
  list-style:none;
}

.adm-policy__sub > li{
  margin-bottom:14px;
  padding-left:0;
}

.adm-policy__sub strong{
  display:block;
  font-weight:700;
  margin-bottom:4px;
}

.adm-policy__sub p{
  margin:0;
  color:var(--ink);
}

/* ---------- Partners ---------- */
.adm-partners{
  margin:20px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.adm-partners > li{
  font-size:15px;
  line-height:2;
}

.adm-partners__label{
  font-weight:700;
  margin-bottom:8px;
}

.adm-partners dl{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:4px 16px;
  margin:0;
}

.adm-partners dt{
  font-weight:500;
  color:var(--mute);
}

.adm-partners dd{ margin:0; }

.adm-sublabel{
  font-size:16px;
  font-weight:700;
  margin:36px 0 12px;
}

.adm-life-item{ margin-bottom:36px; }

.adm-life-item__h{
  font-size:16px;
  font-weight:700;
  margin:0 0 10px;
}

.adm-life-item p{
  margin:0;
  font-size:15px;
  line-height:2;
}

.adm-life-item .note{
  display:block;
  margin-top:8px;
  font-size:14px;
  color:var(--mute);
}

/* ---------- Map + hospitals ---------- */
.adm-map{
  margin:48px 0 40px;
  border-radius:16px;
  overflow:hidden;
  aspect-ratio:16 / 9;
  box-shadow:0 12px 36px rgba(0,0,0,.08);
}

.adm-map iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.adm-hospitals{
  display:flex;
  flex-direction:column;
  gap:28px;
  margin:0;
  padding:0;
  list-style:none;
}

.adm-hospitals__cat{
  font-size:16px;
  font-weight:700;
  margin-bottom:8px;
}

.adm-hospitals p{
  margin:0;
  font-size:15px;
  line-height:2;
}

/* ---------- Reveal (JS applies initial hide) ---------- */
.adm-reveal.is-in{
  opacity:1;
  transform:none;
}

@media (prefers-reduced-motion: reduce){
  .adm-reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .adm-def th{
    width:34%;
    max-width:none;
  }
}

@media (max-width:640px){
  .adm-def,
  .adm-def tbody,
  .adm-def tr,
  .adm-def th,
  .adm-def td{ display:block; width:100%; }

  .adm-def tr{ padding:14px 0; }
  .adm-def th{
    padding:0 0 8px;
    width:100%;
    max-width:none;
    text-align:left;
    border-bottom:1px solid var(--g);
  }
  .adm-def td{
    padding:10px 0 0;
    border-bottom:1px solid #e6e6e6;
  }

  .adm-sec-head__jp{ font-size:24px; }
  .adm-h{ font-size:20px; }

  .adm-flow__grid{ min-width:720px; }
}
