@charset "UTF-8";
/* ==========================================================================
   入試案内（admissions-*.html）
   style.css → about.css の後に読み込む
   デザイン基準幅: PC 1200px（本文エリア 683px）
========================================================================== */

.sub-side__head img.is-doc { width: 43px; }
.about-cards .about-card__emblem.is-doc { width: 44px; }
.adm .sub-main { max-width: 683px; }

/* 共通：見出し・ボタン・注記
-------------------------------------------------------------------------- */
/* 年度見出し（明朝＋右に罫線） */
.adm-year { display: flex; align-items: baseline; gap: 26px; margin-top: 100px; font-family: var(--ff-mincho); font-weight: 400; font-size: 31px; line-height: 1.3; letter-spacing: .04em; color: var(--c-main); }
.adm-year small { margin: 0 .9em 0 .6em; font-size: 17px; }
.adm-year::after { content: ""; flex: 1 1 0; min-width: 30px; height: 1px; background: var(--c-main); align-self: center; }

/* 黄色枠の大見出し */
.adm-box-ttl { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 8px 16px; border: 1px solid var(--c-yellow-line); font-family: var(--ff-mincho); font-weight: 400; font-size: 28px; line-height: 1.3; letter-spacing: .06em; text-align: center; color: var(--c-main); }
.adm-sec { margin-top: 105px; scroll-margin-top: 40px; }

/* 区分見出し（太字＋黄色の下線） */
.adm-h3 { padding-bottom: 12px; border-bottom: 1px solid var(--c-yellow-line); font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; color: var(--c-main); }
.adm-h3 .sp { margin-left: 1em; }
.adm-h3 .sp2 { margin-left: 3.5em; }

/* 青い注記 */
.adm-note { font-size: 15px; line-height: 1.6; letter-spacing: .06em; color: var(--c-main); }
.adm-note p + p { margin-top: 10px; }
.adm-note .ind { display: block; padding-left: 1em; }
.adm-note.is-tight p + p { margin-top: 0; }

/* 横幅いっぱいの青ボタン（右に矢印） */
.adm-btn { position: relative; display: flex; align-items: center; justify-content: center; height: 60px; padding: 0 60px; background: var(--c-main); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .08em; transition: opacity .3s; }
.adm-btn::after { content: ""; position: absolute; right: 26px; top: 50%; width: 19px; height: 12px; margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 12'%3E%3Cpath d='M0 6h18M12.5.5 18 6l-5.5 5.5' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s; }
.adm-btn:hover { opacity: .85; }
.adm-btn:hover::after { transform: translateX(4px); }

/* 個別相談・お問い合わせ */
.adm-contact { margin-top: 55px; }
.adm-contact__txt { font-family: var(--ff-mincho); font-size: 23px; line-height: 1.37; letter-spacing: .06em; color: var(--c-main); white-space: nowrap; }
.adm-contact .adm-btn { margin-top: 40px; }

/* --------------------------------------------------------------------------
   募集要項・出願方法（admissions-guidelines）
-------------------------------------------------------------------------- */
.adm-cap { display: flex; align-items: center; justify-content: center; gap: 1.2em; height: 65px; margin-top: 45px; border: 1px solid #6c8fd8; background: #e3eaf3; font-size: 18px; font-weight: 700; letter-spacing: .06em; color: var(--c-main); }

.adm-qual { margin-top: 30px; }
.adm-qual .adm-note { margin-top: 0; }
.adm-qual__item { margin-top: 55px; }
.adm-ol { margin-top: 22px; font-size: 15px; line-height: 1.6; letter-spacing: .06em; counter-reset: none; }
.adm-ol li { display: grid; grid-template-columns: 1.4em 1fr; }
.adm-ol li + li { margin-top: 8px; }
.adm-ol li.is-em { font-weight: 700; color: var(--c-main); }
.adm-ol.is-plain li { display: block; }
.adm-kubun { display: flex; align-items: flex-start; gap: 20px; margin-top: 26px; font-size: 15px; line-height: 1.4; letter-spacing: .06em; color: var(--c-main); }
.adm-kubun__label { flex-shrink: 0; padding: 1px 9px; background: var(--c-main); color: #fff; font-weight: 700; }
.adm-kubun__val { padding-top: 2px; }

.adm-lead-txt { margin-top: 45px; font-size: 15px; line-height: 1.5; letter-spacing: .06em; }
.adm-sec .adm-note.is-after { margin-top: 18px; }

/* 出願の流れ（フローチャート） */
.adm-chart { margin-top: 50px; font-weight: 700; color: var(--c-text); }
.adm-bar { display: flex; align-items: center; justify-content: center; gap: 2.4em; min-height: 50px; padding: 8px 20px; font-size: 16px; line-height: 1.4; letter-spacing: .06em; text-align: center; }
.adm-bar.is-head { background: var(--c-main); color: #fff; font-size: 18px; }
.adm-bar.is-blue { background: #b9dcee; }
.adm-bar.is-pink { background: #f2c8c8; }
.adm-bar.is-green { background: #c8f2c8; }
.adm-bar .note { font-weight: 500; }
/* 縦の矢印（●│↓） */
.adm-down { position: relative; height: 33px; }
.adm-down::before { content: ""; position: absolute; left: 50%; top: 3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--c-main); }
.adm-down::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 1px; width: 12px; margin-left: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 30' preserveAspectRatio='none'%3E%3Cpath d='M6 0v28.5M.6 23.1 6 28.5l5.4-5.4' fill='none' stroke='%230b3daf' stroke-width='1.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

.adm-split { display: grid; grid-template-columns: 200px 1fr; column-gap: 40px; }
.adm-split > .adm-down { height: 58px; }
.adm-split > .adm-down::after { top: 6px; }
.adm-foreign { position: relative; display: flex; flex-direction: column; padding: 22px 19px 20px; background: #fbe0a3; text-align: center; }
.adm-foreign__ttl { font-size: 16px; line-height: 1.35; letter-spacing: .04em; }
.adm-foreign__box { display: flex; align-items: center; justify-content: center; height: 50px; background: #fff; font-size: 16px; letter-spacing: .06em; }
.adm-foreign__ttl + .adm-foreign__box { margin-top: auto; } /* 個別審査・合格は下に揃える（合格の中心＝枠の下から45px） */
.adm-foreign__ttl { margin-bottom: 13px; }
.adm-foreign .arr { display: block; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M6 1v15M1 11l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E") center / 12px 17px no-repeat; }
/* 合格 → ① への接続線 */
/* 合格の●（中心：枠の下から45px）から右へ → 列の間で上へ → ①の中央へ */
.adm-foreign::after { content: ""; position: absolute; left: calc(100% - 19px); top: 24.25px; bottom: 44.25px; width: 39.75px;
  border-right: 1.5px solid var(--c-main); border-bottom: 1.5px solid var(--c-main); }
.adm-foreign__box.is-pass { position: relative; }
.adm-foreign__box.is-pass::after { content: ""; position: absolute; z-index: 1; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--c-main); }
.adm-steps { position: relative; }
.adm-steps::before { content: ""; position: absolute; left: 50%; top: 25px; bottom: 25px; width: 1.5px; margin-left: -.75px; background: var(--c-main); }
.adm-steps li { position: relative; display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; height: 50px; padding: 0 0 0 26px; background: #b9dcee; font-size: 16px; letter-spacing: .06em; }
.adm-steps li + li { margin-top: 16px; }
.adm-steps li .n { font-size: 19px; font-weight: 500; }
.adm-steps li .t { text-align: center; }
.adm-steps li:first-child::before { content: ""; position: absolute; left: -21.5px; top: 50%; width: 21.5px; height: 12px; margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.5 12'%3E%3Cpath d='M0 6h20.5M15 .6 20.5 6 15 11.4' fill='none' stroke='%230b3daf' stroke-width='1.5'/%3E%3C/svg%3E") left center / 100% 100% no-repeat; }
.adm-split + .adm-down { margin-top: 0; }

/* 受験区分タブ */
.adm-pick { margin-top: 40px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-align: center; color: var(--c-main); }
.adm-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.adm-tabs button { height: 50px; border: 1px solid #bdbdbd; background: transparent; font-size: 16px; letter-spacing: .06em; color: var(--c-text); transition: background-color .3s, color .3s; }
.adm-tabs button:hover { background: #fff; }
.adm-tabs button[aria-selected="true"] { border-color: var(--c-main); background: var(--c-main); color: #fff; font-weight: 700; }
.adm-tabs .sp { margin-left: 1em; }
.adm-panel { margin-top: 50px; }
.adm-panel[hidden] { display: none; }

/* 出願書類 */
.adm-legend { display: flex; flex-wrap: wrap; gap: 8px 44px; margin-top: 30px; padding-left: 12px; font-size: 13px; letter-spacing: .04em; }
.adm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.adm-mark { display: inline-block; flex-shrink: 0; width: 17px; height: 17px; border: 1.5px solid var(--c-main); border-radius: 50%; }
.adm-mark.is-entry { background: var(--c-main); }
.adm-legend .adm-mark { width: 16px; height: 16px; }
.adm-docs { margin-top: 12px; border-top: 1px solid #6c8fd8; background: #fff; }
.adm-docs li { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding: 12px 34px 12px 14px; border-bottom: 1px solid #6c8fd8; font-size: 15px; line-height: 1.45; letter-spacing: .04em; }
.adm-docs li b { font-weight: 700; }
.adm-docs li .sub { display: block; padding-left: 1em; }
.adm-docs + .adm-note { margin-top: 26px; }

/* 出願方法（郵送・WEB） */
.adm-method { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; margin-top: 65px; }
.adm-method + .adm-btn { margin-top: 32px; }
.adm-method__box { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; padding: 20px 10px; border: 1px solid #6c8fd8; background: #e3eaf3; text-align: center; color: var(--c-main); }
.adm-method__ttl { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.adm-method__ttl small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; }
.adm-method__box img { margin-top: 18px; }
.adm-method__box img.is-post { width: 55px; }
.adm-method__box img.is-pc { width: 92px; }
.adm-method__txt { font-size: 15px; line-height: 1.5; letter-spacing: .06em; text-align: justify; }
.adm-method__txt .adm-ul { margin-top: 30px; }
.adm-ul { font-size: 15px; line-height: 1.35; letter-spacing: .04em; color: var(--c-main); }
.adm-ul li { position: relative; padding-left: .8em; }
.adm-ul li::before { content: "・"; position: absolute; left: -.25em; top: 0; }
.adm-ul li + li { margin-top: 6px; }
.adm-sec.is-method .adm-btn:last-child { margin-top: 32px; }
.adm-sec.is-method .adm-method.is-web { margin-top: 74px; }

/* 出願期間及び選考日程 */
.adm-panel .adm-kubun { margin-top: 30px; }
.adm-sched { margin-top: 8px; border-top: 1px solid #6c8fd8; background: #fff; }
.adm-sched div { display: grid; grid-template-columns: 228px 1fr; align-items: center; min-height: 58px; padding: 10px 0 10px 25px; border-bottom: 1px solid #6c8fd8; font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: .06em; color: var(--c-main); }
.adm-sched dt { grid-column: 1; }
.adm-sched dd { grid-column: 2; }
.adm-sched + .adm-sched { margin-top: 30px; }
.adm-flow-ttl { margin-top: 64px; font-size: 18px; font-weight: 700; letter-spacing: .06em; color: var(--c-main); }
.adm-flow-ttl .sp { margin-left: 1em; }
.adm-flow { margin-top: 12px; font-weight: 700; color: var(--c-text); }
.adm-flow .adm-bar { position: relative; }
.adm-flow .adm-bar .note { position: absolute; left: calc(50% + 66px); top: 50%; transform: translateY(-50%); white-space: nowrap; }
.adm-flow + .adm-note { margin-top: 40px; }
.adm-flow + .adm-note p + p { margin-top: 6px; }

/* 試験科目・日程 */
.adm-subj { margin-top: 60px; }
.adm-subj + .adm-subj { margin-top: 55px; }
.adm-subj p { margin-top: 26px; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.adm-subj-note { margin-top: 80px; }
.adm-final { margin-top: 100px; }

/* --------------------------------------------------------------------------
   入学までの流れ（admissions-flow）
-------------------------------------------------------------------------- */
.adm-lead .txt { margin-top: 26px; text-align: justify; }
.adm-lead .adm-btn { margin-top: 40px; }
.adm-stepcards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 21px; }
.adm-stepcards li { display: flex; flex-direction: column; align-items: center; height: 200px; padding: 18px 0 10px; border: 1px solid #6c8fd8; background: #e3eaf3; color: var(--c-main); }
.adm-stepcards .num { font-family: var(--ff-en); font-size: 16px; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.adm-stepcards .ttl { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.05; letter-spacing: .02em; writing-mode: vertical-rl; text-orientation: upright; }
.adm-stepcards .ttl .gap { display: inline-block; height: .8em; }

/* --------------------------------------------------------------------------
   よくある質問（admissions-faq）
-------------------------------------------------------------------------- */
.adm-faq-intro .adm-btn { margin-top: 175px; }
.faq-list { margin-top: 65px; }
.faq-item { border: 1px solid #6c8fd8; background: #e3eaf3; }
.faq-item + .faq-item { margin-top: 32px; }
.faq-item h2 { margin: 0; }
.faq-q { position: relative; display: flex; align-items: center; gap: 20px; width: 100%; min-height: 58px; padding: 20px 70px 20px 21px; text-align: left; font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; color: var(--c-main); }
.faq-q::after { content: ""; position: absolute; right: 27px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: linear-gradient(var(--c-main), var(--c-main)) center / 18px 1px no-repeat, linear-gradient(var(--c-main), var(--c-main)) center / 1px 18px no-repeat; transition: background-size .3s; }
.faq-item.is-open .faq-q::after { background-size: 18px 1px, 1px 0; }
.faq-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; font-family: "Jost", var(--ff-base); font-size: 22px; font-weight: 500; font-style: normal; line-height: 1; color: #fff; }
.faq-ico.is-q { background: var(--c-main); }
.faq-ico.is-a { background: #fcd000; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; }
.faq-a__body { display: flex; align-items: flex-start; gap: 20px; padding: 0 40px 28px 21px; }
.faq-a__body p { padding-top: 2px; font-size: 15px; line-height: 1.87; letter-spacing: .06em; text-align: justify; }

/* ==========================================================================
   Tablet（〜1024px）
========================================================================== */
@media (max-width: 1024px) {
  .adm .sub-main { max-width: none; }
  .adm-contact__txt { white-space: normal; }
  .adm-stepcards { gap: 10px; }
  .adm-faq-intro .adm-btn { margin-top: 60px; }
}

/* ==========================================================================
   Smartphone（〜767px）
========================================================================== */
@media (max-width: 767px) {
  .adm-year { flex-wrap: wrap; gap: 0 12px; margin-top: 64px; font-size: 22px; }
  .adm-year small { margin: 0 .2em; font-size: 14px; }
  .adm-year::after { display: none; }
  .adm-box-ttl { min-height: 52px; font-size: 21px; }
  .adm-sec { margin-top: 72px; }
  .adm-h3 { font-size: 17px; }
  .adm-h3 .sp2 { display: block; margin-left: 0; }
  .adm-note, .adm-ol, .adm-kubun, .adm-lead-txt, .adm-method__txt, .adm-ul { font-size: 14px; }
  .adm-btn { height: 54px; padding: 0 44px; font-size: 15px; }
  .adm-btn::after { right: 18px; }
  .adm-contact__txt { font-size: 18px; line-height: 1.6; }

  .adm-cap { height: 56px; font-size: 16px; }
  .adm-qual__item { margin-top: 44px; }
  .adm-kubun { gap: 12px; }

  .adm-bar { gap: 1em; font-size: 14px; }
  .adm-bar.is-head { font-size: 16px; }
  .adm-split { grid-template-columns: 1fr; }
  .adm-split > .adm-down:first-child { display: none; }
  .adm-foreign { order: 3; margin-top: 24px; }
  .adm-foreign::after, .adm-foreign__box.is-pass::after, .adm-steps li:first-child::before { display: none; }
  .adm-foreign__ttl br { display: none; }
  .adm-steps li { grid-template-columns: 34px 1fr 20px; padding-left: 14px; font-size: 14px; }
  .adm-steps li .n { font-size: 16px; }

  .adm-tabs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .adm-tabs button { height: 46px; font-size: 13px; letter-spacing: .02em; }
  .adm-tabs .sp { margin-left: .4em; }
  .adm-legend { gap: 6px 20px; padding-left: 0; font-size: 12px; }
  .adm-docs li { padding: 12px 12px 12px 10px; font-size: 14px; }

  .adm-method { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
  .adm-method__box { min-height: 0; flex-direction: row; gap: 20px; padding: 16px; }
  .adm-method__box img { margin-top: 0; }
  .adm-method__box img.is-post { width: 32px; }
  .adm-method__box img.is-pc { width: 56px; }
  .adm-method__txt .adm-ul { margin-top: 18px; }
  .adm-sec.is-method .adm-method.is-web { margin-top: 56px; }

  .adm-sched div { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; font-size: 14px; }
  .adm-sched dd { grid-column: 1; }
  .adm-flow-ttl { margin-top: 48px; font-size: 16px; }
  .adm-flow-ttl .sp { display: block; margin-left: 0; }
  .adm-flow .adm-bar { flex-direction: column; gap: 2px; }
  .adm-flow .adm-bar .note { position: static; transform: none; font-size: 12px; white-space: normal; }
  .adm-subj p { font-size: 14px; }
  .adm-subj-note { margin-top: 50px; }
  .adm-final { margin-top: 60px; }

  .adm-stepcards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .adm-stepcards li { height: 180px; }
  .adm-stepcards .num { font-size: 14px; }
  .adm-stepcards .ttl { font-size: 14px; }

  .faq-list { margin-top: 44px; }
  .faq-item + .faq-item { margin-top: 16px; }
  .faq-q { gap: 12px; padding: 14px 46px 14px 12px; font-size: 15px; }
  .faq-q::after { right: 16px; width: 14px; height: 14px; margin-top: -7px; background-size: 14px 1px, 1px 14px; }
  .faq-item.is-open .faq-q::after { background-size: 14px 1px, 1px 0; }
  .faq-ico { width: 32px; height: 32px; font-size: 18px; }
  .faq-a__body { gap: 12px; padding: 0 16px 20px 12px; }
  .faq-a__body p { padding-top: 4px; font-size: 14px; line-height: 1.8; }
}
