@charset "UTF-8";
/* 西九州大学・短期大学部 一時公開停止中のお知らせページ */

:root {
  --navy: #004da0;
  --navy-dark: #003a78;
  --green: #00a040;
  --text: #222;
  --sub: #555;
  --line: #d5dbe3;
  --bg: #f4f6f9;
  --alert: #c8102e;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--navy); }

/* ヘッダー */
.site-header {
  background: #fff;
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 20px;
}
.site-header__logo { display: block; height: auto; }
.site-header__logo--univ { width: 245px; }
.site-header__logo--jc { width: 268px; }

/* 本文 */
.main {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.section {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 30, 80, 0.08);
}

/* お知らせ */
.notice__label {
  display: inline-block;
  background: var(--alert);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .08em;
  padding: 2px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.notice__title {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--navy-dark);
}
.notice p { margin: 0 0 12px; }
.notice__small { font-size: 14px; color: var(--sub); }
.notice__point {
  margin: 20px 0 0 !important;
  padding: 12px 16px;
  background: #eaf2fb;
  border-left: 4px solid var(--navy);
  font-weight: bold;
  color: var(--navy-dark);
}

/* 受験生向けボタン */
.cta {
  border: 2px solid var(--navy);
  text-align: center;
}
.cta__title {
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--navy-dark);
}
.cta__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 560px;
  display: grid;
  gap: 16px;
}
.btn {
  position: relative;
  display: block;
  padding: 18px 48px 18px 24px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s, transform .1s;
}
.btn::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; font-size: 20px; padding-top: 22px; padding-bottom: 22px; }
.btn--primary:hover { background: var(--navy-dark); }
.btn--secondary { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn--secondary:hover { background: #eaf2fb; }
.cta__note { display: block; font-size: 13px; color: var(--sub); margin-top: 6px; }

/* 見出し */
.heading {
  font-size: 19px;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 5px solid var(--navy);
  line-height: 1.4;
  color: var(--navy-dark);
}

/* 出願の手順 */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--bg);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 15px;
}
.steps li::before {
  content: "STEP " counter(step);
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: var(--green);
  letter-spacing: .08em;
}

/* 出願期間の表 */
.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.schedule th, .schedule td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}
.schedule thead th {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}
.schedule tbody th { font-weight: normal; width: 46%; }
.schedule tbody tr:nth-child(even) { background: #f8fafc; }
.schedule .sub { display: block; font-size: 13px; color: var(--sub); }
.schedule .group th { background: #eaf2fb; font-weight: bold; color: var(--navy-dark); }
.table-note { font-size: 13px; color: var(--sub); margin: 10px 0 0; }

/* お問い合わせ */
.contact__name { font-weight: bold; margin: 0 0 4px; }
.contact__tel { font-size: 24px; font-weight: bold; margin: 0; line-height: 1.4; }
.contact__tel a { color: var(--navy); text-decoration: none; }
.contact__time { font-size: 14px; color: var(--sub); margin: 0; }

/* フッター */
.site-footer {
  background: var(--navy-dark);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 18px 20px;
}

/* スマートフォン */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header__logo--univ { width: 190px; }
  .site-header__logo--jc { width: 240px; }
  .main { padding: 20px 12px 40px; }
  .section { padding: 22px 18px; }
  .notice__title { font-size: 19px; }
  .btn { font-size: 16px; padding: 16px 44px 16px 18px; }
  .btn--primary { font-size: 18px; }
  .steps { grid-template-columns: 1fr; }

  /* 表をカード表示に */
  .schedule thead { display: none; }
  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: 100%; }
  .schedule tr { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
  .schedule tbody tr:nth-child(even) { background: #fff; }
  .schedule th, .schedule td { border: none; padding: 8px 14px; }
  .schedule tbody th { width: 100%; background: #eaf2fb; font-weight: bold; color: var(--navy-dark); }
  .schedule td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 5.5em;
    font-size: 12px;
    font-weight: bold;
    color: var(--sub);
  }
  .schedule td + td { border-top: 1px dashed var(--line); }
  .schedule .group { border: none; margin: 18px 0 8px; }
  .schedule .group th { background: none; padding: 0; }
  .contact__tel { font-size: 22px; }
}
