@charset "UTF-8";

/* ==================================================
  変数
================================================== */
:root {
  --blue:   #00a1e5;   /* メインブルー（ヘッダー帯・見出し帯） */
  --navy:   #31318b;   /* STEP1 / ネイビーボタン */
  --pink:   #e5539a;   /* STEP2 */
  --yellow: #fff34c;   /* ナビボタン */
  --orange: #ff5019;   /* ハンバーガー / UCAROボタン */
  --red:    #d40000;   /* 注意文・赤ボタン */
  --green:  #047412;   /* 新入生応援サイトボタン */
  --hero:   #6a8ccc;   /* メインビジュアル背景 */
  --th-bg:  #e3ebee;   /* 表の見出しセル背景 */
  --text:   #333333;
  --container: 800px;
  --header-h: 125px;
}

/* ==================================================
  リセット / ベース
================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.is-menu-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, dl, dd, table { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
small { font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.red { color: var(--red); }
.sp-only { display: none; }

/* ==================================================
  ヘッダー
================================================== */
.header {
  position: relative;
  height: var(--header-h);
  background: #fff;
}
.header__inner {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__logo { font-size: 0; line-height: 0; }
.header__logo img { width: 272px; height: auto; }

/* ハンバーガーボタン */
.header__menu-btn {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 76px;
  height: 76px;
  border-radius: 10px;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  z-index: 1001;
}
.header__menu-btn span {
  display: block;
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.header__menu-btn.is-open span:nth-child(1) { transform: translateY(14px) rotate(45deg); }
.header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.header__menu-btn.is-open span:nth-child(3) { transform: translateY(-14px) rotate(-45deg); }

/* グローバルナビ（ドロワー） */
.gnav {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 85%;
  height: 100vh;
  padding: var(--header-h) 0 40px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1000;
}
.gnav.is-open { transform: translateX(0); }
.gnav__list li { border-bottom: 1px solid #e0e0e0; }
.gnav__list a {
  display: block;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: bold;
  color: var(--navy);
}
.gnav__list a::before { content: "▼ "; color: var(--blue); }
.gnav__list a:hover { background: var(--yellow); }

.gnav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 999;
}
.gnav-overlay.is-open { opacity: 1; visibility: visible; }

/* ==================================================
  メインビジュアル
================================================== */
.hero {
  width: 100%;
  height: 340px;
  background: var(--hero) url("../images/main_bg@2x.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 90px;
}
.hero__label {
  display: inline-block;
  min-width: 296px;
  padding: 4px 28px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .1em;
  text-align: center;
  line-height: 1.5;
}
.hero__title {
  font-size: 46px;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: .05em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

/* ==================================================
  ページ内ナビ（黄色ボタン）
================================================== */
.pagenav { padding: 56px 0 70px; }
.pagenav__group + .pagenav__group { margin-top: 26px; }
.pagenav__title {
  font-size: 20px;
  font-weight: bold;
  color: var(--navy);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 12px;
}
.pagenav__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 52px;
}
.btn-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--yellow);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .25);
  color: var(--blue);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  transition: opacity .2s;
}
.btn-nav::before { content: "▼ "; white-space: pre; }
.btn-nav--small { font-size: 16px; }
.btn-nav:hover { opacity: .8; }

/* ==================================================
  セクション共通
================================================== */
.section { padding-bottom: 70px; }

/* 帯見出し（上：塗り / 下：白抜き線） */
.sec-title {
  padding: 0 0 12px;
  border-bottom: 7px solid var(--blue);
  margin-bottom: 60px;
}
.sec-title span {
  display: block;
  padding: 32px 20px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  background: var(--blue);
}
.sec-title--navy { border-bottom-color: var(--navy); }
.sec-title--navy span { background: var(--navy); }
.sec-title--pink { border-bottom-color: var(--pink); }
.sec-title--pink span { background: var(--pink); }

/* 小見出し */
.sub-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 10px;
}
.sub-title--navy { color: var(--navy); }
.sub-title--pink { color: var(--pink); }
.sub-title--blue { color: var(--blue); }
.sub-title__sub { font-size: 24px; }

/* 本文 */
.text { font-size: 16px; line-height: 1.8; }
.text + .text { margin-top: 28px; }
.text--red { color: var(--red); }
.text--note { font-size: 14px; line-height: 1.85; }
.sub-title + .text--note { margin-top: 0; }
.link-red { color: var(--red); text-decoration: underline; }
.link-red:hover { text-decoration: none; }

/* ブロック */
.block + .block { margin-top: 90px; }

/* ==================================================
  ボタン
================================================== */
.btn-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

/* 塗りボタン（2行） */
.btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 378px;
  min-height: 92px;
  padding: 14px 10px;
  border-radius: 6px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  transition: opacity .2s;
}
.btn small { display: block; font-size: 18px; margin-top: 2px; }
.btn--single { min-height: 86px; font-size: 24px; }
.btn--small  { font-size: 20px; }
.btn--red    { background: var(--red); }
.btn--blue   { background: var(--blue); }
.btn--orange { background: var(--orange); }
.btn--navy   { background: var(--navy); }
.btn--green  { background: var(--green); }
.btn:hover { opacity: .8; }

/* 線ボタン */
.btn-line {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 378px;
  border: 2px solid;
  border-radius: 6px;
  background: #fff;
  font-weight: bold;
  text-align: center;
  transition: opacity .2s;
}
.btn-line--orange {
  min-height: 50px;
  border-color: var(--orange);
  color: var(--orange);
  font-size: 16px;
}
.btn-line--blue {
  min-height: 89px;
  border-color: var(--blue);
  color: var(--blue);
  font-size: 20px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, .25);
}
.btn-line:hover { opacity: .8; }

/* テキストリンク */
.link-arrow {
  color: var(--red);
  font-size: 16px;
  font-weight: bold;
}
.link-arrow:hover { text-decoration: underline; }

/* 詳しくはこちら（黄色小ボタン） */
.btn-detail {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 43px;
  border-radius: 6px;
  background: var(--yellow);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .25);
  color: var(--blue);
  font-size: 16px;
  font-weight: bold;
  transition: opacity .2s;
}
.btn-detail__arrow { margin-left: 2px; letter-spacing: -.1em; }
.btn-detail:hover { opacity: .8; }

/* ==================================================
  入学手続きの流れ（STEP）
================================================== */
.step {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-top: 50px;
}
.step + .step { margin-top: 60px; }
.step__mark { flex: 0 0 210px; }
.step__mark img { width: 210px; height: auto; }
.step__body { flex: 1; padding-top: 6px; }
.step__item + .step__item { margin-top: 36px; }
.step__heading {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 14px;
}
.step--2 .step__heading { color: var(--pink); }
.step .btn-detail { margin-left: 48px; }

/* ==================================================
  料金表
================================================== */
.fee-table {
  width: 690px;
  margin: 36px auto 30px;
  border-collapse: collapse;
  border: 2px solid var(--blue);
  table-layout: fixed;
}
.fee-table th,
.fee-table td {
  height: 84px;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  border: 2px solid var(--blue);
  line-height: 1.4;
}
.fee-table th {
  width: 295px;
  background: var(--th-bg);
  font-size: 20px;
  font-weight: bold;
  color: var(--navy);
}
.fee-table td {
  font-size: 26px;
  font-weight: bold;
  color: #0d3b4a;
}

/* ==================================================
  書類提出（誓約書 / パスポート）
================================================== */
.doc { margin-top: 22px; }
.doc + .text { margin-top: 24px; }
.sub-title + .doc { margin-top: 14px; }
.doc__title { font-size: 16px; font-weight: bold; margin-bottom: 2px; }
.doc__list,
.doc__text { font-size: 14px; line-height: 1.85; padding-left: 1.5em; }
.doc__indent { padding-left: 1em; }
.text--note .doc__indent { padding-left: 1.5em; }

/* ==================================================
  その他の手続き
================================================== */
.other-block { padding: 0 0 70px; }
.other-block + .other-block {
  padding-top: 60px;
  border-top: 7px solid var(--blue);
}
.other-block:last-child { padding-bottom: 0; }

/* ==================================================
  お問い合わせ
================================================== */
.section--contact { padding-bottom: 80px; }
.contact__hours {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  letter-spacing: .05em;
}
.contact__list {
  width: 640px;
  margin: 44px auto 0;
}
.contact__item + .contact__item { margin-top: 34px; }
.contact__item dt {
  position: relative;
  padding-left: 18px;
  font-size: 22px;
  font-weight: bold;
  color: var(--blue);
  line-height: 1.4;
}
.contact__item dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  background: var(--blue);
}
.contact__item dd {
  padding-left: 18px;
  font-size: 25px;
  white-space: nowrap;
  font-weight: bold;
  line-height: 1.4;
}

.adobe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 90px;
}
.adobe__icon img { width: 158px; height: auto; }
.adobe__text { font-size: 12px; line-height: 1.7; }

/* ==================================================
  フッター
================================================== */
.footer {
  border-top: 4px solid var(--blue);
  padding: 28px 0 60px;
  text-align: center;
}
.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 24px;
  font-size: 12px;
  font-weight: bold;
}
.footer__links a:hover { text-decoration: underline; }
.footer__logo { margin-top: 30px; }
.footer__logo img { width: 272px; height: auto; }
.footer__address { margin-top: 14px; font-size: 13px; line-height: 1.7; }
.footer__univ { margin-top: 34px; }
.footer__univ img { width: 167px; height: auto; }
.footer__copy { margin-top: 40px; font-size: 13px; letter-spacing: .02em; }

/* ==================================================
  トップへ戻るボタン（右下固定）
================================================== */
.pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: var(--blue);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .25);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 900;
}
.pagetop.is-show { opacity: 1; visibility: visible; }
.pagetop:hover { opacity: .8; }
.pagetop__arrow {
  display: block;
  width: 16px;
  height: 16px;
  margin-top: 8px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: rotate(45deg);
}

/* ==================================================
  レスポンシブ（768px以下 = SP）
================================================== */
@media (max-width: 768px) {
  :root { --header-h: 80px; }
  body { font-size: 14px; }
  .container { padding: 0 15px; }
  .sp-only { display: inline; }

  /* ヘッダー */
  .header__inner { justify-content: flex-start; padding-left: 15px; }
  .header__logo img { width: 180px; }
  .header__menu-btn {
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    gap: 6px;
  }
  .header__menu-btn span { width: 28px; height: 4px; }
  .header__menu-btn.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .header__menu-btn.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .gnav { padding-top: var(--header-h); }

  /* メインビジュアル（SP画像に差し替え） */
  .hero {
    height: auto;
    aspect-ratio: 750 / 700;
    background-image: url("../images/sp_main.jpg");
    align-items: flex-start;
  }
  .hero__inner { padding: 20px 15px 0; }
  .hero__label {
    min-width: 0;
    width: 220px;
    padding: 3px 10px;
    margin-bottom: 6px;
    font-size: 16px;
    border-radius: 6px;
  }
  .hero__title { font-size: 36px; line-height: 1.3; }

  /* ページ内ナビ */
  .pagenav { padding: 24px 0 36px; }
  .pagenav__group + .pagenav__group { margin-top: 14px; }
  .pagenav__title { font-size: 16px; margin-bottom: 8px; }
  .pagenav__list {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
  }
  .btn-nav { height: 46px; font-size: 15px; border-radius: 5px; }
  .btn-nav--small { font-size: 13px; }

  /* セクション */
  .section { padding-bottom: 40px; }
  .sec-title { padding-bottom: 8px; border-bottom-width: 5px; margin-bottom: 26px; }
  .sec-title span { padding: 16px 10px; font-size: 19px; }
  .sub-title { font-size: 20px; text-align: center; }
  .sub-title__sub { font-size: 16px; }
  .text { font-size: 14px; }
  .text + .text { margin-top: 20px; }
  .text--note { font-size: 12px; }
  .block + .block { margin-top: 50px; }

  /* ボタン */
  .btn-area { margin-top: 28px; gap: 14px; }
  .btn, .btn-line { width: 100%; max-width: 320px; }
  .btn { min-height: 70px; font-size: 19px; padding: 10px; }
  .btn small { font-size: 14px; }
  .btn--single { min-height: 64px; font-size: 18px; }
  .btn-line--orange { min-height: 40px; font-size: 13px; }
  .btn-line--blue { min-height: 56px; font-size: 15px; }
  .link-arrow { font-size: 13px; }
  .btn-detail { width: 200px; height: 40px; font-size: 15px; }

  /* STEP（縦積み・中央） */
  .step {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    text-align: center;
  }
  .step + .step { margin-top: 40px; }
  .step__mark { flex: none; }
  .step__mark img { width: 210px; }
  .step__body { width: 100%; padding-top: 0; }
  .step__item + .step__item { margin-top: 20px; }
  .step__heading { font-size: 22px; margin-bottom: 10px; }
  .step .btn-detail { margin-left: 0; }

  /* 料金表 */
  .fee-table { width: 100%; margin: 24px 0 20px; }
  .fee-table th, .fee-table td { height: 56px; padding: 6px; }
  .fee-table th { width: 45%; font-size: 14px; }
  .fee-table td { font-size: 20px; }

  /* 書類提出 */
  .doc__title { font-size: 14px; }
  .doc__list, .doc__text { font-size: 12px; padding-left: 1em; }

  /* その他の手続き */
  .other-block { padding-bottom: 40px; }
  .other-block + .other-block { padding-top: 30px; border-top-width: 5px; }

  /* お問い合わせ */
  .section--contact { padding-bottom: 50px; }
  .contact__hours { font-size: 12px; }
  .contact__list { width: 100%; margin-top: 28px; }
  .contact__item + .contact__item { margin-top: 22px; }
  .contact__item dt { font-size: 16px; padding-left: 14px; }
  .contact__item dt::before { width: 5px; height: 5px; }
  .contact__item dd { font-size: 17px; padding-left: 14px; white-space: normal; }
  .adobe { flex-direction: column; gap: 20px; margin-top: 50px; }
  .adobe__icon img { width: 116px; }
  .adobe__text { font-size: 11px; text-align: left; }

  /* フッター */
  .footer { padding: 20px 15px 40px; }
  .footer__links { gap: 12px 24px; font-size: 11px; }
  .footer__logo img { width: 160px; }
  .footer__address { font-size: 11px; }
  .footer__univ { margin-top: 24px; }
  .footer__univ img { width: 120px; }
  .footer__copy { margin-top: 28px; font-size: 11px; }
    
   /* トップへ戻る */
  .pagetop { right: 15px; bottom: 15px; width: 44px; height: 44px; }
  .pagetop__arrow { width: 12px; height: 12px; border-width: 3px; margin-top: 6px; }
}
