@charset "utf-8";
/* ==========================================================================
   確認用_260801_トップページ(A案) 専用スタイル
   mock/index_rev1.html（2026.06.01 画面案 反映版）をCSS化したもの。
   すべて .topr 配下にスコープしており、既存 style.css には影響しない。
   ========================================================================== */

.topr {
  --brand: #FBC600;
  --brand-hi: #FFD83A;
  --brand-dark: #C99700;
  --brand-on: #1a1a1a;
  --page-bg: #fffbef;
  --section-bg: #ffffff;
  --text: #1d1d1b;
  --text-mute: #6b6b66;
  --accent-soft: #fff5cc;
  --card: #ffffff;
  --card-border: #efe6c5;
  --radius: 12px;

  background: var(--page-bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.topr a { color: inherit; text-decoration: none; }
.topr ul { margin: 0; padding: 0; list-style: none; }
.topr img { max-width: 100%; }

.topr-inner { max-width: 1080px; margin: 0 auto; }
.topr-inner--wide { max-width: 1200px; margin: 0 auto; }

/* グリッド／フレックスの子は既定が min-width:auto のため、
   長い日本語見出しがカラム幅を押し広げて外に溢れる。まとめて 0 にしておく。 */
.topr-support-row > *,
.topr-hours-row > *,
.topr-shops-row > *,
.topr-news-row > * { min-width: 0; }

.topr-icon {
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
  /* 個別指定が無い箇所でSVGが伸びないよう既定サイズを持たせる */
  width: 16px;
  height: 16px;
}
.topr-icon svg { display: block; width: 100%; height: 100%; }

/* --- 見出し（A案：下線スタイル） ------------------------------------- */
.topr-title { margin: 0 0 20px; }
.topr-title h2 {
  margin: 0;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.topr-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
}
.topr-title .en {
  margin-left: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--text-mute);
}

.topr-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
}
.topr-more .topr-icon { width: 14px; height: 14px; }

/* ==========================================================================
   1. ヒーロー（学生向け案内の掲出枠）
   ========================================================================== */
.topr-hero { background: #fff; padding: 24px 32px 28px; }
.topr-hero .topr-swiper {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
}
.topr-hero-slide {
  position: relative;
  display: block;
  height: 480px;
  background: #111;
}
.topr-hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;"; /* ofi.min.js polyfill 用 */
}
.topr-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 100%);
}
.topr-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 56px;
  color: #fff;
}
.topr-hero-cap-body { max-width: 70%; }
.topr-hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--brand);
  color: var(--brand-on);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.topr-hero-cap h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}
.topr-hero-cap p {
  margin: 10px 0 0;
  font-size: 15px;
  opacity: .95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.topr-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 22px;
  background: var(--brand);
  color: var(--brand-on);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}
.topr-hero .swiper-pagination {
  top: 24px;
  right: 24px;
  bottom: auto;
  left: auto;
  width: auto;
  text-align: right;
}
.topr-hero .swiper-pagination-bullet {
  width: 10px;
  height: 4px;
  border-radius: 0;
  background: rgba(255, 255, 255, .6);
  opacity: 1;
}
.topr-hero .swiper-pagination-bullet-active {
  width: 32px;
  background: var(--brand);
}

/* ==========================================================================
   2. 学生生活応援（学割・キャンペーン・生活サポート）
   ========================================================================== */
.topr-support {
  position: relative;
  overflow: hidden;
  background: var(--accent-soft);
  padding: 64px 40px;
}
.topr-support::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(135deg, transparent 0 24px, rgba(0, 0, 0, .025) 24px 25px);
}
.topr-support > .topr-inner--wide { position: relative; }

.topr-support-head { text-align: center; margin-bottom: 32px; }
.topr-support-head .en {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
  opacity: .75;
}
.topr-support-head h2 {
  margin: 6px 0 0;
  font-size: 38px;
  font-weight: 900;
}
.topr-support-head p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-mute);
}

.topr-support-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 20px;
}
.topr-mascot { display: flex; align-items: flex-end; }
.topr-mascot img {
  width: 130px;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, .15));
}

.topr-support-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.topr-support-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--card-border);
}
.topr-support-card-head::before {
  content: "";
  width: 8px;
  height: 24px;
  background: var(--brand);
  border-radius: 2px;
  flex-shrink: 0;
}
.topr-support-card-head h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

.topr-support-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 6px;
}
.topr-support-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  transition: background .2s;
}
.topr-support-list li a:hover { background: var(--accent-soft); }
.topr-support-list .no {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.topr-support-list .topr-icon { width: 24px; height: 24px; color: var(--brand-dark); }
.topr-support-list .label { flex: 1; font-size: 15px; font-weight: 600; }
.topr-support-list .chev { width: 14px; height: 14px; color: var(--text-mute); }

/* ==========================================================================
   3. 営業時間ご案内（見出し＋説明文の右にPDFリンク）
   ========================================================================== */
.topr-hours { background: var(--section-bg); padding: 72px 40px 0; }
.topr-hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.topr-hours-lead {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mute);
}
.topr-hours-pdf {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  transition: all .2s;
}
.topr-hours-pdf:hover {
  background: var(--brand-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}
.topr-hours-pdf .badge {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--text);
  color: var(--brand);
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .05em;
}
.topr-hours-pdf .badge b { font-size: 16px; line-height: 1; }
.topr-hours-pdf .badge span { margin-top: 2px; font-size: 8px; }
/* min-width:0 が無いと flex アイテムが縮まず、長い見出しがカードから溢れる */
.topr-hours-pdf .body { flex: 1; min-width: 0; }
.topr-hours-pdf .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  opacity: .7;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.topr-hours-pdf .name {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.topr-hours-pdf > .topr-icon { width: 26px; height: 26px; }

/* ==========================================================================
   4. カテゴリ ＋ "今週の" リスト
   ========================================================================== */
.topr-shops { background: var(--section-bg); padding: 40px 40px 80px; }
.topr-shops-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}
.topr-cats { display: flex; flex-direction: column; gap: 10px; }
/* 寮生食事のご案内 → リストランテ翔21 は間隔をあけて最下段に */
.topr-cats-tail { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.topr-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all .2s;
}
.topr-cat:hover { border-color: var(--brand); transform: translateX(4px); }
.topr-cat .ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--brand);
  color: var(--brand-on);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.topr-cat .ic .topr-icon { width: 22px; height: 22px; }
.topr-cat .label {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: pre-line;
}
.topr-cat .chev { width: 14px; height: 14px; color: var(--text-mute); }

.topr-panels { display: flex; flex-direction: column; gap: 18px; }
.topr-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.topr-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  background: var(--text);
}
.topr-panel-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
}
.topr-panel-head h4 .q { color: var(--brand); margin-right: 6px; }
.topr-panel-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.topr-panel-head a .topr-icon { width: 12px; height: 12px; }

.topr-row {
  /* Grid で列数を固定すると、マークアップ側の要素数が変わったときに
     中身が別の列へずれて崩れる。Flex なら各要素が自分の幅指定で決まるため
     要素数が増減しても崩れない。 */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-top: 1px solid var(--card-border);
  transition: background .15s;
}
.topr-row .date { flex: 0 0 76px; }
.topr-row .txt  { flex: 1 1 auto; }
.topr-row .chev { flex: 0 0 auto; }
.topr-row:hover { background: var(--accent-soft); }
.topr-row .date {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-mute);
  letter-spacing: .05em;
  white-space: nowrap;
}
.topr-row .uni {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  background: var(--text);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
}
/* 行の高さを揃えるため、はみ出すタイトルは1行で省略する */
.topr-row .txt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topr-row .chev { width: 14px; height: 14px; color: var(--text-mute); }
.topr-row--empty {
  color: var(--text-mute);
  font-size: 13px;
}

/* ==========================================================================
   5. お知らせ（外向け）＋ CORPORATE LINKS
   ========================================================================== */
.topr-news { background: var(--page-bg); padding: 64px 40px; }
.topr-news-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
.topr-news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.topr-news-head .topr-title { margin-bottom: 0; }

.topr-news-list li a {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--card-border);
  transition: transform .2s;
}
.topr-news-list li a:hover { transform: translateX(4px); }
.topr-news-list .date {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .05em;
}
.topr-news-list .txt { font-size: 15px; font-weight: 600; }
.topr-news-list .topr-icon { width: 14px; height: 14px; color: var(--brand); }
.topr-pickup-label {
  display: inline-block;
  padding: 3px 9px;
  background: #e1232a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
}
/* PICKUP のうちカスタムリンク（既存 index.php の pickup-label-orange 相当） */
.topr-pickup-label.is-orange { background: #ef8200; }

.topr-corp-head {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
  opacity: .7;
  margin-bottom: 22px;
}
.topr-corp { display: grid; gap: 14px; }
.topr-corp a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all .2s;
}
.topr-corp a.is-primary { background: var(--brand); border-color: var(--brand); }
.topr-corp a:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.topr-corp .sub {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: .6;
  letter-spacing: .18em;
}
.topr-corp .label { display: block; font-size: 20px; font-weight: 900; margin-top: 2px; }
.topr-corp .topr-icon { width: 24px; height: 24px; }

/* ==========================================================================
   SP（モックの JS ブレークポイント 760px に合わせる）
   ========================================================================== */
@media screen and (max-width: 759px) {
  .topr-hero { padding: 0; }
  .topr-hero .topr-swiper { border-radius: 0; }
  .topr-hero-slide { height: 320px; }
  .topr-hero-cap { padding: 20px 18px; }
  .topr-hero-cap-body { max-width: 100%; }
  .topr-hero-eyebrow { margin-bottom: 8px; padding: 3px 10px; font-size: 11px; }
  .topr-hero-cap h2 { font-size: 22px; }
  .topr-hero-cap p { display: none; }
  .topr-hero-cta { display: none; }
  .topr-hero .swiper-pagination { top: 14px; right: 14px; }
  .topr-hero .swiper-pagination-bullet-active { width: 24px; }

  .topr-title h2 { font-size: 22px; }
  .topr-title .en { font-size: 11px; }

  .topr-support { padding: 36px 16px; }
  .topr-support-head { margin-bottom: 22px; }
  .topr-support-head .en { font-size: 11px; }
  .topr-support-head h2 { font-size: 24px; }
  .topr-support-head p { font-size: 12px; }
  .topr-support-row { grid-template-columns: 1fr; gap: 16px; }
  .topr-support-card { padding: 18px 16px; }
  .topr-support-card-head h3 { font-size: 16px; }
  .topr-support-list { grid-template-columns: 1fr; row-gap: 4px; }
  .topr-support-list li a { padding: 8px 6px; }
  .topr-support-list .no { min-width: 28px; height: 28px; font-size: 11px; }
  .topr-support-list .topr-icon { width: 20px; height: 20px; }
  .topr-support-list .label { font-size: 14px; }
  /* マスコットはカードの下に左右振り分け */
  .topr-mascots-sp {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 16px;
  }
  .topr-mascots-sp img { width: 72px; height: auto; }
  .topr-support-row .topr-mascot { display: none; }

  .topr-hours { padding: 40px 16px 0; }
  .topr-hours-row { grid-template-columns: 1fr; gap: 16px; }
  .topr-hours-lead { font-size: 13px; }
  .topr-hours-pdf { gap: 14px; padding: 18px; }
  .topr-hours-pdf .badge { width: 48px; height: 48px; }
  .topr-hours-pdf .badge b { font-size: 14px; }
  .topr-hours-pdf .eyebrow { font-size: 11px; }
  .topr-hours-pdf .name { font-size: 16px; }
  .topr-hours-pdf > .topr-icon { width: 22px; height: 22px; }

  .topr-shops { padding: 24px 16px 48px; }
  .topr-shops-row { grid-template-columns: 1fr; gap: 18px; }
  .topr-cats-tail { margin-top: 8px; }
  .topr-cat { padding: 14px; }
  .topr-cat .ic { width: 40px; height: 40px; }
  .topr-cat .ic .topr-icon { width: 20px; height: 20px; }
  .topr-cat .label { font-size: 13px; }
  .topr-panels { gap: 14px; }
  .topr-panel-head { padding: 12px 14px; }
  .topr-panel-head h4 { font-size: 13px; }
  .topr-row {
    grid-template-columns: 64px 1fr;
    gap: 8px;
    align-items: flex-start;
    padding: 9px 14px;
  }
  .topr-row .date { font-size: 11px; }
  .topr-row .chev { display: none; }
  .topr-row { align-items: flex-start; }
  .topr-row .date { flex: 0 0 64px; }
  .topr-row .txt {
    font-size: 13px;
    white-space: normal;
    overflow: visible;
  }

  .topr-news { padding: 36px 16px; }
  .topr-news-row { grid-template-columns: 1fr; gap: 28px; }
  .topr-news-head { margin-bottom: 16px; }
  .topr-news-list li a { grid-template-columns: 70px 1fr; gap: 8px; padding: 12px 0; }
  .topr-news-list li a .topr-icon { display: none; }
  .topr-news-list .date { font-size: 12px; }
  .topr-news-list .txt { font-size: 13px; }
  .topr-corp-head { font-size: 11px; margin-bottom: 14px; }
  .topr-corp { gap: 10px; }
  .topr-corp a { padding: 16px 18px; }
  .topr-corp .sub { font-size: 10px; }
  .topr-corp .label { font-size: 16px; }
  .topr-corp .topr-icon { width: 20px; height: 20px; }
}

/* PC 幅ではSP用マスコットを出さない */
@media screen and (min-width: 760px) {
  .topr-mascots-sp { display: none; }
}
