@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700;900&display=swap');

:root {
  --orange: #f6a21a;
  --orange-dark: #e67f00;
  --yellow: #ffd86b;
  --cream: #fff7e7;
  --brown: #4a2d16;
  --ink: #2c2c2c;
  --muted: #6b6258;
  --white: #fff;
  --line: #f0dfc5;
  --shadow: 0 18px 45px rgba(148, 91, 16, .16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 42%, #fff7e7 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 12px; z-index: 20; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 223, 197, .7);
}
.header-inner {
  width: min(100% - 28px, 1180px);
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--brown); }
.logo-img {
  width: clamp(56px, 7vw, 92px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(148, 91, 16, .15);
  background: #fff;
}
.logo-text { font-family: "M PLUS Rounded 1c", sans-serif; font-size: 1.2rem; letter-spacing: .04em; }
.global-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.global-nav a { display: block; padding: 10px 12px; border-radius: 999px; font-size: .92rem; font-weight: 700; color: var(--brown); }
.global-nav a:hover, .global-nav a:focus-visible { background: var(--yellow); }
.global-nav .nav-contact { background: var(--brown); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--orange); padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }

.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 216, 107, .45), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(135, 213, 255, .28), transparent 34%),
    linear-gradient(180deg, rgba(255, 225, 133, .52), rgba(255,255,255,0));
}

/* 写真の建物をよりリアルにしたディフォルメCSSイラスト */
.hero-bg::before {
  content: "";
  position: absolute;
  right: clamp(-150px, -7vw, -48px);
  bottom: -38px;
  width: min(76vw, 820px);
  height: min(48vw, 520px);
  opacity: .22;
  filter: blur(.05px);
  animation: libraryFloat 9s ease-in-out infinite;
  background:
    /* 空のグラデーション */
    linear-gradient(180deg, rgba(120,200,255,.35), transparent 40%),

    /* ===== 高層棟（立体感強化） ===== */
    linear-gradient(90deg, rgba(70,70,70,.75), rgba(120,120,120,.55)) 43% 6% / 22% 68% no-repeat,
    /* 左影 */
    linear-gradient(rgba(40,50,50,.45), rgba(40,50,50,.45)) 41% 8% / 5% 64% no-repeat,
    /* 右ハイライト */
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,0)) 60% 8% / 3% 64% no-repeat,

    /* 窓（リアル寄り） */
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(255,255,255,.5) 24px 30px) 45% 10% / 18% 60% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.35) 26px 32px) 45% 10% / 18% 60% no-repeat,

    /* 屋上構造 */
    linear-gradient(rgba(80,80,80,.7), rgba(80,80,80,.7)) 49% 0 / 10% 6% no-repeat,
    linear-gradient(rgba(80,80,80,.5), rgba(80,80,80,.5)) 55% 1% / 2% 16% no-repeat,

    /* ===== 左低層棟 ===== */
    linear-gradient(90deg, rgba(100,95,80,.55), rgba(140,130,110,.4)) 4% 50% / 40% 24% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255,255,255,.55) 44px 54px) 8% 49% / 30% 26% no-repeat,

    /* 外灯（少しリアルに） */
    radial-gradient(circle, rgba(255,255,255,.9) 0 40%, transparent 45%) 6% 44% / 5% 8% no-repeat,
    radial-gradient(circle, rgba(255,255,255,.85) 0 40%, transparent 45%) 14% 44% / 5% 8% no-repeat,
    linear-gradient(rgba(90,90,90,.5), rgba(90,90,90,.5)) 8% 52% / 1% 24% no-repeat,
    linear-gradient(rgba(90,90,90,.5), rgba(90,90,90,.5)) 16% 52% / 1% 24% no-repeat,

    /* ===== 右低層棟（アーチ強化） ===== */
    linear-gradient(90deg, rgba(110,105,90,.5), rgba(150,140,120,.35)) 64% 48% / 32% 24% no-repeat,
    radial-gradient(ellipse at center, rgba(255,255,255,.8) 0 45%, transparent 50%) 68% 56% / 7% 11% no-repeat,
    radial-gradient(ellipse at center, rgba(255,255,255,.75) 0 45%, transparent 50%) 77% 56% / 7% 11% no-repeat,
    radial-gradient(ellipse at center, rgba(255,255,255,.7) 0 45%, transparent 50%) 86% 56% / 7% 11% no-repeat,

    /* ===== 芝生 ===== */
    linear-gradient(rgba(90,150,60,.45), rgba(70,120,50,.45)) 0 72% / 100% 9% no-repeat,

    /* ===== 水面（反射強化） ===== */
    linear-gradient(rgba(25,70,100,.4), rgba(25,70,100,.4)) 0 80% / 100% 14% no-repeat,
    linear-gradient(rgba(80,74,61,.25), rgba(80,74,61,.25)) 45% 80% / 18% 18% no-repeat,
    repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 3px, transparent 3px 10px) 0 83% / 100% 10% no-repeat,

    /* ===== 手前通路 ===== */
    linear-gradient(135deg, transparent 0 48%, rgba(80,74,61,.25) 49% 62%, transparent 63%) 0 72% / 55% 28% no-repeat;

  border-radius: 32px;
}

/* ふんわり光の玉 */
.hero-bg::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 12%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(128, 213, 255, .24);
  box-shadow:
    -130px 88px 0 rgba(255,255,255,.26),
    76px 116px 0 rgba(255,216,107,.20),
    -54px 202px 0 rgba(88,126,48,.13);
  animation: libraryFloatSmall 7s ease-in-out infinite;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,250,240,.94) 0%, rgba(255,250,240,.76) 46%, rgba(255,255,255,.32) 100%);
}

@keyframes libraryFloat {
  0%, 100% { transform: translateY(0) translateX(0) rotate(-.8deg); }
  50% { transform: translateY(-12px) translateX(-6px) rotate(.8deg); }
}

@keyframes libraryFloatSmall {
  0%, 100% { transform: translateY(0) scale(1); opacity: .88; }
  50% { transform: translateY(-12px) scale(1.05); opacity: .62; }
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--orange-dark); font-weight: 900; letter-spacing: .12em; font-size: .78rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: "M PLUS Rounded 1c", sans-serif; color: var(--brown); font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.25; letter-spacing: .02em; margin-bottom: 18px; }

.lead { max-width: 680px; font-size: clamp(1rem, 2vw, 1.22rem); color: var(--brown); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-weight: 800; }
.button.primary { background: var(--orange); color: #fff; box-shadow: 0 12px 25px rgba(246, 162, 26, .35); }
.button.secondary { background: #fff; color: var(--brown); border: 2px solid var(--yellow); }
.hero-card, .panel, .support-card, .mini-card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-card { padding: 28px; transform: rotate(1.5deg); }
.card-label, .tag { display: inline-block; background: var(--cream); color: var(--orange-dark); border-radius: 999px; padding: 4px 10px; font-weight: 900; font-size: .78rem; }
.hero-card h2 { color: var(--brown); line-height: 1.35; }
.hero-card dl { margin: 0; display: grid; gap: 10px; }
.hero-card dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.hero-card dt { color: var(--muted); font-weight: 700; }
.hero-card dd { margin: 0; color: var(--brown); font-weight: 900; }

.section { padding: 70px 0; }
.section-heading { margin-bottom: 28px; }
.section-heading.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-heading h2 { font-family: "M PLUS Rounded 1c", sans-serif; color: var(--brown); font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.35; margin-bottom: 10px; }
.card-grid { display: grid; gap: 20px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.support-card, .mini-card { padding: 24px; transition: transform .18s ease, box-shadow .18s ease; }
.support-card:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(148, 91, 16, .22); }
.support-card h3, .mini-card h3 { color: var(--brown); margin: 8px 0; }
.support-card p, .mini-card p { color: var(--muted); margin-bottom: 0; }
.photo-card { overflow: hidden; padding: 0; }
.photo-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.photo-card .support-card-body { padding: 20px 22px 24px; }
.photo-card h3 { position: relative; padding-left: 14px; }
.photo-card h3::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 1.1em; border-radius: 999px; background: var(--orange); }

.layout-2col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.panel { padding: 30px; }
.panel.warm { background: linear-gradient(135deg, #fff 0%, #fff0c9 100%); }
.info-list { display: grid; gap: 18px; }
.info-list article { padding: 18px; background: rgba(255,255,255,.72); border-radius: var(--radius-md); }
.info-list h3 { margin: 8px 0 4px; color: var(--brown); }
.info-list p { margin-bottom: 0; color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.scroll-news {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-color: var(--orange) #fff1d2;
  scrollbar-width: thin;
}
.scroll-news::-webkit-scrollbar { width: 8px; }
.scroll-news::-webkit-scrollbar-track { background: #fff1d2; border-radius: 999px; }
.scroll-news::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 999px; }
.news-list li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; min-height: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.news-list time { color: var(--orange-dark); font-weight: 900; }
.news-list a { font-weight: 700; text-decoration: underline; text-decoration-color: transparent; }
.news-list a:hover { text-decoration-color: var(--orange); }
.text-link { display: inline-block; margin-top: 20px; color: var(--orange-dark); font-weight: 900; }

.social-section { padding-top: 30px; }
.social-box {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, #fff1c7 50%, #ffe0a3 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.social-box::after {
  content: "SNS";
  position: absolute;
  right: 24px;
  bottom: -26px;
  color: rgba(246, 162, 26, .16);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
}
.social-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 14px 28px rgba(74, 45, 22, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.social-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 18px 36px rgba(74, 45, 22, .24);
}
.social-card.youtube { background: linear-gradient(135deg, #ff4b4b, #d90000); }
.social-card.instagram { background: linear-gradient(135deg, #ff9a3d, #e1306c, #833ab4); }
.social-card.x { background: linear-gradient(135deg, #333, #111); }
.social-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  font-weight: 900;
  font-size: 1.2rem;
}
.social-card strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.social-card small { display: block; opacity: .92; font-weight: 700; }
.audience { background: radial-gradient(circle at top left, #fff0be, transparent 36%); }

.site-footer { background: var(--brown); color: #fff8e9; padding: 44px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.footer-logo { font-size: 1.35rem; font-weight: 900; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }
.copyright { text-align: center; font-size: .84rem; margin: 28px 0 0; color: #ffe6b2; }

/* トップへ戻るボタン（SDGsサイト風にシンプル＋ポップ） */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--orange);
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: all .25s ease;
  z-index: 100;
}

.to-top::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--orange);
  opacity: .3;
}

.to-top span {
  display: block;
  line-height: 1;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-6px) scale(1.05);
  background: var(--orange);
  color: #fff;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .global-nav { position: fixed; inset: 76px 14px auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .18s ease; }
  .global-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .global-nav ul { display: grid; gap: 4px; }
  .global-nav a { padding: 12px 14px; }
  .hero-inner, .layout-2col { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .social-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max)); }
  .header-inner { min-height: 68px; }
  .logo-img { width: 52px; border-radius: 10px; }
  .logo-text { font-size: 1rem; }
  .hero { padding: 46px 0 38px; }
  .hero-actions, .footer-inner { flex-direction: column; }
  .button { width: 100%; }
  .card-grid.four, .card-grid.three, .social-links { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .panel, .support-card, .mini-card, .hero-card { border-radius: 22px; padding: 22px; }
  .photo-card { padding: 0; }
  .social-box { padding: 24px; }
  .social-card { min-height: 82px; }
  .news-list li { grid-template-columns: 1fr; gap: 2px; }
}
/* 学内インターンシップページ */
.internship-overview h2 { color: var(--brown); font-size: clamp(1.55rem, 2.7vw, 2.3rem); line-height: 1.4; }
.internship-overview p { color: var(--muted); }
.internship-point h2 { color: var(--brown); font-size: 1.5rem; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .8rem; }
.recruit-highlight { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.recruit-highlight p { margin: 0; color: var(--brown); font-weight: 900; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.internship-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.internship-table th, .internship-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.internship-table th { background: var(--cream); color: var(--brown); font-weight: 900; white-space: nowrap; }
.internship-table td { color: var(--muted); font-weight: 700; }
.internship-table tbody tr:nth-child(even) { background: #fffaf0; }
.status-open { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .85rem; }
.process-section { background: radial-gradient(circle at top left, #fff0be, transparent 38%); }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.process-list li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; padding: 22px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.process-list li > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #fff; font-weight: 900; box-shadow: 0 10px 22px rgba(246, 162, 26, .28); }
.process-list h3 { color: var(--brown); margin: 0 0 6px; font-size: 1.25rem; }
.process-list p { color: var(--muted); margin: 0; }
.guide-section { padding-top: 30px; }
@media (max-width: 640px) {
  .process-list li { grid-template-columns: 1fr; }
  .process-list li > span { width: 52px; height: 52px; border-radius: 16px; }
  .recruit-highlight { align-items: flex-start; }
}
/* イベントページ */
.event-point h2 { color: var(--brown); font-size: 1.5rem; }
.event-example-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.event-example-main h3 { color: var(--brown); font-size: clamp(1.6rem, 3vw, 2.5rem); margin: 10px 0; }
.event-example-main p { color: var(--muted); margin-bottom: 0; }
.event-example-info dl { margin: 0; display: grid; gap: 12px; }
.event-example-info dl div { padding: 14px 16px; border-radius: 16px; background: var(--cream); }
.event-example-info dt { color: var(--orange-dark); font-weight: 900; }
.event-example-info dd { margin: 4px 0 0; color: var(--brown); font-weight: 700; }
.timeline-card {
  margin-top: 24px;
  padding: 28px;
  background: linear-gradient(135deg, #fff 0%, #fff1c7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.timeline-card h3 { color: var(--brown); font-size: 1.6rem; }
.event-timeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.event-timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.75); color: var(--muted); font-weight: 700; }
.event-timeline span { color: var(--orange-dark); font-weight: 900; }
@media (max-width: 760px) {
  .event-example-card { grid-template-columns: 1fr; }
  .event-timeline li { grid-template-columns: 1fr; gap: 4px; }
}
/* お知らせ一覧ページ */
.news-archive-section { background: linear-gradient(180deg, #fff 0%, #fff7e7 100%); }
.news-archive-layout { display: block; }

.news-filter-card h2 { color: var(--brown); font-size: 1.4rem; margin-bottom: 14px; }

.news-category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--brown);
  font-weight: 900;
}
.news-category-list a::after { content: "›"; color: var(--orange-dark); }
.news-category-list a:hover { background: var(--yellow); }
.news-archive-main { min-width: 0; }
.news-archive-list { display: grid; gap: 16px; }
.news-archive-item a {
  display: grid;
  grid-template-columns: 110px 120px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.news-archive-item a:hover { transform: translateY(-4px); box-shadow: 0 22px 52px rgba(148, 91, 16, .22); }
.news-archive-item time { color: var(--orange-dark); font-weight: 900; white-space: nowrap; }
.news-archive-item h3 { color: var(--brown); font-size: 1.2rem; line-height: 1.45; margin: 0; }
.news-archive-item p { grid-column: 3; color: var(--muted); margin: 4px 0 0; font-size: .95rem; }
.news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}
.news-badge.info { background: var(--orange); }
.news-badge.staff { background: #3aa76d; }
.news-badge.event { background: #e85b8b; }
.news-badge.guide { background: #4c8fd9; }
.news-badge.activity { background: #8d6ad9; }
.news-badge.lost { background: #5f6368; }
@media (max-width: 860px) {
  .news-archive-layout { display: block; }
  .news-filter-card { position: static; }
}
@media (max-width: 640px) {
  .news-archive-item a { grid-template-columns: 1fr; gap: 8px; }
  .news-archive-item p { grid-column: auto; }
  .news-badge { justify-content: flex-start; width: fit-content; }
}
/* aboutページ：左右のバランス最適化（文字と写真を均等＆余白調整） */
.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 左右を完全に均等 */
  gap: 36px; /* 中央の余白を少し広めに */
  align-items: center; /* 縦の中央揃えでバランスUP */
  max-width: 1100px; /* コンテンツ幅を制限して左右の余白を確保 */
  margin: 0 auto; /* 中央寄せ */
  padding: 8px 4px; /* 端の詰まり防止 */
}

.about-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px; /* テキスト側にも余白を入れて左右バランス調整 */
}

.about-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 22px;
}

/* 交互レイアウト */
.about-card.reverse .about-card-text { order: 2; }
.about-card.reverse img { order: 1; }

/* スマホ */
@media (max-width: 760px) {
  .about-card {
    grid-template-columns: 1fr;
    gap: 18px; /* スマホは少し詰める */
    padding: 0;
  }

  .about-card-text {
    padding: 0;
  }



  .about-card img {
    height: 220px;
  }
}
/* 課外活動ページ */
.activities-intro h2,
.activity-point h2 { color: var(--brown); }
.activities-section { position: relative; }

/* プロジェクト：挑戦・実践感を強める */
.project-section {
  background: linear-gradient(135deg, #fff7d6 0%, #ffe7a3 58%, #ffd36b 100%);
}
.project-heading .eyebrow,
.project-section .text-link { color: var(--orange-dark); }
.project-section .activity-card {
  border: 2px solid var(--orange);
  box-shadow: 0 20px 42px rgba(246,162,26,.25);
}
.project-photo-grid { align-items: stretch; }
.project-photo-card {
  overflow: hidden;
  padding: 0;
  background: #fff;
}
.project-photo-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.project-photo-card:hover img { transform: scale(1.05); }
.project-photo-card .activity-card-body { padding: 24px 26px 28px; }
.project-label {
  background: #fff3c4;
  color: var(--orange-dark);
}

/* 学友会：やさしく落ち着いた雰囲気 */
.gakuyukai-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff7e7 100%);
}
.gakuyukai-heading .eyebrow { color: #6d8d2f; }
.gakuyukai-box {
  padding: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.gakuyukai-box .activity-card {
  background: #fffdf6;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.gakuyukai-more {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px dashed var(--line);
  text-align: center;
}
.gakuyukai-more h3 {
  color: var(--brown);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin-bottom: 8px;
}
.gakuyukai-more p { color: var(--muted); }

.activity-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.activity-card-grid.four-cards { grid-template-columns: repeat(4, 1fr); }
.activity-card {
  padding: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.activity-card:hover { transform: translateY(-6px) scale(1.01); }
.activity-card.big-card { min-height: 280px; }
.activity-card-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #dceaa5, #8bb957);
  font-size: 1.8rem;
  box-shadow: 0 10px 22px rgba(139,185,87,.24);
}
.activity-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .78rem;
}
.activity-card h3 {
  color: var(--brown);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.4;
  margin-bottom: 10px;
}
.activity-card p { color: var(--muted); margin-bottom: 0; }

.activity-link-box {
  margin-top: 26px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, #fff1c7 55%, #ffe0a3 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.activity-link-box h3 {
  color: var(--brown);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}
.center-actions { justify-content: center; }
.activity-mood-box {
  max-width: 880px;
  margin: 30px auto 0;
  text-align: center;
}
.activity-mood-box p { color: var(--muted); }
.radio-pickup {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid var(--yellow);
  box-shadow: 0 16px 34px rgba(246,162,26,.20);
  text-align: left;
}
.radio-label {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcf4a, var(--orange));
  color: #fff;
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: .08em;
  box-shadow: 0 10px 22px rgba(246,162,26,.30);
}
.radio-pickup h4 {
  margin: 0 0 4px;
  color: var(--brown);
  font-size: 1.25rem;
}
.radio-pickup p { margin: 0; color: var(--muted); }
.radio-button {
  background: var(--brown);
  color: #fff;
  white-space: nowrap;
}

.choose-section { background: radial-gradient(circle at bottom right, #fff0be, transparent 38%); }
.choose-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.choose-list article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.choose-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
}
.choose-list h3 {
  color: var(--brown);
  font-size: 1.12rem;
  line-height: 1.45;
  margin-bottom: 8px;
}
.choose-list p { color: var(--muted); margin-bottom: 0; }

@media (max-width: 960px) {
  .activity-card-grid.four-cards,
  .choose-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .activity-card-grid,
  .activity-card-grid.four-cards,
  .choose-list { grid-template-columns: 1fr; }
  .activity-card.big-card { min-height: auto; }
  .project-photo-card img { height: 200px; }
  .activity-link-box,
  .gakuyukai-box { padding: 24px; }
  .radio-pickup { grid-template-columns: 1fr; text-align: center; }
  .radio-label { margin-inline: auto; }
  .radio-button { width: 100%; }
}
/* Xボタン（小さめ） */
.x-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #000;
  color: #fff;
  padding: 6px 12px; /* 小さく */
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem; /* 小さく */
  text-decoration: none;
  transition: .2s;
}

.x-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.x-icon {
  font-size: 0.9rem;
  font-weight: 900;
}

.choose-section { background: radial-gradient(circle at bottom right, #fff0be, transparent 38%); }
.choose-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.choose-list article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.choose-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
}
.choose-list h3 {
  color: var(--brown);
  font-size: 1.12rem;
  line-height: 1.45;
  margin-bottom: 8px;
}
.choose-list p { color: var(--muted); margin-bottom: 0; }

@media (max-width: 960px) {
  .activity-card-grid.four-cards,
  .choose-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .activity-card-grid,
  .activity-card-grid.four-cards,
  .choose-list { grid-template-columns: 1fr; }
  .activity-card.big-card { min-height: auto; }
  .project-photo-card img { height: 200px; }
  .activity-link-box,
  .gakuyukai-box { padding: 24px; }
  .radio-pickup { grid-template-columns: 1fr; text-align: center; }
  .radio-label { margin-inline: auto; }
  .radio-button { width: 100%; }
}
.about-intro {
  max-width: 1000px;
  margin: 0 auto;
}

.about-intro {
  max-width: 820px;
  margin: 0 auto;
}

.about-intro-panel {
  padding: 40px 44px;
}

.about-intro {
  max-width: none;
}

.about-intro-panel {
  padding: 40px 44px;
}

.about-intro-photo-center {
  margin-top: 24px;
  text-align: center;
}

.about-intro-photo-center img {
  width: 100%;
  max-width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  display: inline-block;
}

@media (max-width: 768px) {
  .about-intro {
    max-width: 100%;
  }

  .about-intro-panel {
    padding: 30px 22px;
  }

  .about-intro-photo-center img {
    max-width: 100%;
    height: 200px;
  }
}
.about-card .button {
  margin-top: 18px;
}

.learning-intro {
  max-width: 1000px;
}

.learning-flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.learning-flow-item {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4a940;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.schedule-notice {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff7e8;
}

.schedule-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.schedule-table th,
.schedule-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.schedule-table th {
  background: #fff4df;
  font-weight: 700;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.calendar-box {
  margin-top: 32px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  text-align: center;
}

.calendar-box iframe {
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 18px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .learning-flow-list {
    grid-template-columns: 1fr;
  }

  .learning-flow-item,
  .calendar-box {
    padding: 24px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 14px 16px;
  }
}
/* =========================================================
   event/listページ：開催予定イベント一覧
   event/list/index.html 用
   ========================================================= */
.event-list-link-section {
  padding-top: 20px;
}

.event-list-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.event-list-link-box h2 {
  color: var(--brown);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  margin-bottom: 8px;
}

.event-list-link-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.event-lineup-section {
  background: radial-gradient(circle at top left, #fff0be, transparent 36%);
}

.event-lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.event-lineup-card {
  overflow: hidden;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.event-lineup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(148, 91, 16, .22);
}

.event-lineup-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.event-lineup-body {
  padding: 24px 26px 28px;
}

.event-date {
  display: block;
  color: var(--orange-dark);
  font-weight: 900;
  margin-bottom: 8px;
}

.event-lineup-body h3 {
  color: var(--brown);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  margin: 10px 0;
}

.event-lineup-body p {
  color: var(--muted);
}

.event-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
}

.event-meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 14px;
}

.event-meta dt {
  color: var(--orange-dark);
  font-weight: 900;
}

.event-meta dd {
  margin: 0;
  color: var(--brown);
  font-weight: 700;
}

@media (max-width: 820px) {
  .event-list-link-box {
    flex-direction: column;
    align-items: stretch;
  }

  .event-lineup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .event-list-link-box,
  .event-lineup-body {
    padding: 22px;
  }

  .event-lineup-card img {
    height: 190px;
  }

  .event-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
/* トップページ：学生スタッフ募集ボタン */


.recruit-button {
  margin-top: 8px;
  width: fit-content;
  min-height: 46px;
  padding: 10px 20px;
}

@media (max-width: 640px) {
  .recruit-button {
    width: 100%;
  }
}
/* aboutページ：カード内の小さめボタン */
.about-small-button {
  width: fit-content;
  min-height: 40px;
  padding: 7px 16px;
  font-size: .82rem;
  margin-top: 12px;
}

.about-small-button.x-button {
  padding: 6px 14px;
}

.about-small-button .x-icon {
  font-size: .82rem;
}

@media (max-width: 640px) {
  .about-small-button {
    width: fit-content;
  }
}
/* =========================================================
   guideページ：利用ガイド
   guide/index.html 用
   ========================================================= */
.guide-summary-section {
  padding-top: 40px;
}

.guide-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-summary-card {
  padding: 30px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.guide-summary-card h2 {
  color: var(--brown);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.4;
  margin: 12px 0 10px;
}

.guide-summary-card p {
  color: var(--muted);
}

.guide-small-button {
  width: fit-content;
  min-height: 42px;
  padding: 8px 18px;
  font-size: .86rem;
  margin-top: 12px;
}

.guide-space-section {
  background: radial-gradient(circle at top left, #fff0be, transparent 38%);
}

.guide-gallery-section {
  background: linear-gradient(180deg, #fff 0%, #fff7e7 100%);
}

.guide-space-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
  padding: 32px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.guide-space-card.reverse .guide-space-text {
  order: 2;
}

.guide-space-card.reverse .guide-space-photo {
  order: 1;
}

.guide-space-text h2 {
  color: var(--brown);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.35;
  margin-bottom: 14px;
}

.guide-space-text p {
  color: var(--muted);
}

.guide-space-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  background: var(--cream);
}

.guide-use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.guide-use-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.guide-use-card {
  padding: 24px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.guide-use-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  font-weight: 900;
}

.guide-use-card h3 {
  color: var(--brown);
  font-size: 1.18rem;
  line-height: 1.45;
  margin-bottom: 8px;
}

.guide-use-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.guide-note-box {
  margin-top: 24px;
  padding: 28px;
  background: #fff;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.guide-note-box h3 {
  color: var(--brown);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .guide-summary-grid,
  .guide-space-card,
  .guide-use-grid,
  .guide-use-grid.three {
    grid-template-columns: 1fr;
  }

  .guide-space-card.reverse .guide-space-text,
  .guide-space-card.reverse .guide-space-photo {
    order: initial;
  }
}

@media (max-width: 640px) {
  .guide-summary-card,
  .guide-space-card,
  .guide-use-card,
  .guide-note-box {
    padding: 22px;
  }

  .guide-space-photo img {
    height: 220px;
  }

  .guide-small-button {
    width: 100%;
  }
}
/* =========================================================
   contactページ：場所・開館時間・お問い合わせ案内
   contact/index.html 用
   ========================================================= */

/* お問い合わせページ：場所・開館時間 */
.contact-place-section {
  background: radial-gradient(circle at top left, #fff0be, transparent 36%);
}

.contact-place-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-hours-card,
.contact-location-card {
  height: 100%;
}

.contact-hours-card h3,
.contact-location-card h3 {
  color: var(--brown);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin: 10px 0 18px;
}

.contact-hours-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-hours-list div:last-child {
  border-bottom: none;
}

.contact-hours-list dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-hours-list dd {
  margin: 0;
  color: var(--brown);
  font-weight: 900;
  white-space: nowrap;
}

.contact-hours-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.contact-location-main {
  margin-top: 8px;
}

.contact-location-main p,
.campus-map-text p,
.place-card p,
.contact-card-main p {
  color: var(--muted);
  font-weight: 700;
}

.contact-building {
  color: var(--brown) !important;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-location-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-location-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 800;
}

.contact-location-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
}

.contact-location-card h3,
.contact-card-main h3,
.campus-map-text h3,
.place-card h3 {
  color: var(--brown);
}

.contact-card-main h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.4;
  margin: 10px 0 16px;
}

.map-section {
  background: radial-gradient(circle at top left, #fff0be, transparent 36%);
}

.campus-map-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: center;
  padding: 30px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.campus-map-image {
  overflow: hidden;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.campus-map-image img {
  width: 100%;
  display: block;
}

.card-grid.two.contact-place-grid {
  grid-template-columns: repeat(2, 1fr);
}

.place-card {
  overflow: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.place-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--cream);
}

.place-card-body {
  padding: 26px;
}

.place-card h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.contact-info-section {
  background: linear-gradient(180deg, #fff 0%, #fff7e7 100%);
}

.contact-card-main {
  max-width: 860px;
  margin: 0 auto;
}

.contact-mail-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid var(--yellow);
  box-shadow: 0 12px 26px rgba(246, 162, 26, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-mail-card:hover,
.contact-mail-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(246, 162, 26, .28);
}

.contact-mail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.contact-mail-card strong {
  display: block;
  color: var(--brown);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.35;
}

.contact-mail-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.contact-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}

.contact-note p {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .contact-place-grid,
  .campus-map-card,
  .card-grid.two.contact-place-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hours-list div {
    display: grid;
    gap: 2px;
  }

  .contact-hours-list dd {
    white-space: normal;
  }

  .contact-mail-card,
  .campus-map-card,
  .place-card-body {
    padding: 22px;
  }

  .contact-mail-card {
    align-items: flex-start;
  }

  .place-card img {
    height: 190px;
  }
}
/* =========================================================
   トップページ：右カラムの箱分け
   NEWSパネルと申請書・ダウンロードパネルを別々の箱として表示
   ========================================================= */
.side-panel-stack {
  display: grid;
  gap: 24px;
  align-items: start;
}

/* =========================================================
   トップページ：申請書・ダウンロード
   今後、申請書や案内PDFを追加していくための独立パネル
   ========================================================= */
.download-panel {
  background: rgba(255,255,255,.92);
}

.download-heading {
  margin-bottom: 18px;
}

.download-heading h2 {
  color: var(--brown);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.4;
  margin-bottom: 8px;
}

.download-heading p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: .95rem;
}

.download-list {
  display: grid;
  gap: 14px;
}

.download-item {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #fff7e7 100%);
  border: 1px solid var(--line);
}

.download-item h3 {
  color: var(--brown);
  font-size: 1.12rem;
  line-height: 1.45;
  margin: 8px 0 6px;
}

.download-item p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 14px;
}

.download-button {
  width: 100%;
  min-height: 44px;
  padding: 9px 16px;
  font-size: .86rem;
}

@media (max-width: 640px) {
  .side-panel-stack {
    gap: 18px;
  }

  .download-item {
    padding: 16px;
  }
}
/* お問い合わせページ：学ステ周辺を中心に拡大した案内図 */
.campus-map-zoom {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.campus-map-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /*
    学生ステーション周辺が中央に来るように調整。
    位置がずれる場合は、50% 50% の数値を変更してください。
    例：右へ寄せる → 55% 50%
        下へ寄せる → 50% 58%
  */
  object-position: 70% 50%;

  /*
    地図を拡大表示。
    もっと拡大したい場合は 1.20 などに変更。
  */
  transform: scale(1.45);
  transform-origin: center center;
}

@media (max-width: 768px) {
  .campus-map-zoom {
    height: 380px;
  }

  .campus-map-zoom img {
    transform: scale(1.35);
  }
}
/* お問い合わせページ：場所カード内ボタン */
.place-card-button {
  width: fit-content;
  min-height: 42px;
  padding: 8px 18px;
  font-size: .86rem;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .place-card-button {
    width: 100%;
  }
}

/* =========================================================
   最終調整：PCレイアウトを崩さない安全版
   タイトル拡大／上部へ戻る／aboutスマホ写真／課外活動写真
   ========================================================= */

/* ヘッダー左上の「学生ステーション」を少し大きくする */
.site-header .logo-text {
  font-size: 1.35rem;
  letter-spacing: .04em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-header .logo-text {
    font-size: 1.08rem;
  }
}

/* 上部へ戻るボタン：小さめ・やわらかいデザイン */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff7e7;
  color: var(--orange-dark);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(148, 91, 16, .18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease, color .25s ease;
  z-index: 2200;
}

.to-top::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px dashed rgba(246, 162, 26, .45);
}

.to-top span {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px) scale(1.04);
  background: var(--yellow);
  color: var(--brown);
}

.to-top:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

/* aboutページ：PCレイアウトは既存CSSを維持し、スマホだけ写真→本文に整える */
.about-card-photo {
  min-width: 0;
}

.about-card-photo img {
  width: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .about-menu-section .about-card,
  .about-menu-section .about-card.reverse {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .about-menu-section .about-card .about-card-photo,
  .about-menu-section .about-card.reverse .about-card-photo {
    order: 1;
    border-radius: 0;
  }

  .about-menu-section .about-card .about-card-text,
  .about-menu-section .about-card.reverse .about-card-text {
    order: 2;
    padding: 22px;
  }

  .about-menu-section .about-card-photo img {
    width: 100%;
    height: 210px;
    min-height: 0;
    border-radius: 0;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .about-menu-section .about-card-photo img {
    height: 185px;
  }

  .about-menu-section .about-card .about-card-text,
  .about-menu-section .about-card.reverse .about-card-text {
    padding: 20px;
  }

  .about-menu-section .about-small-button {
    width: 100%;
  }
}

/* 課外活動ページ：写真をカード外枠に合わせる（白枠なし） */
.project-section .project-photo-card {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border-radius: var(--radius-lg);
}

.project-section .project-photo-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: var(--cream);
}

.project-section .project-photo-card .activity-card-body {
  padding: 24px 26px 28px;
}

@media (max-width: 640px) {
  .project-section .project-photo-card img {
    height: 200px;
  }

  .project-section .project-photo-card .activity-card-body {
    padding: 22px;
  }
}

/* =========================================================
   最終修正：開館時間レイアウト・SNSボタン挙動
   HTML構造に合わせて、CSSだけに頼りすぎない安全な表示にする
   ========================================================= */

/* トップページ：開館時間カード */
.hero-card .open-hours-list {
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-card .open-hours-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.hero-card .open-hours-list div:last-child {
  border-bottom: none;
}

.hero-card .open-hours-list dt {
  color: var(--muted);
  font-weight: 700;
}

.hero-card .open-hours-list dd {
  margin: 0;
  color: var(--brown);
  font-weight: 900;
  white-space: nowrap;
}

/* 旧HTML構造が残っていても最低限崩れにくくする保険 */
.hero-card > div > dl {
  margin: 0;
}

.hero-card > div > dl dt {
  color: var(--muted);
  font-weight: 700;
}

.hero-card > div > dl dd {
  margin: 0;
  color: var(--brown);
  font-weight: 900;
  white-space: nowrap;
}

/* SNSカード：疑似要素がリンク操作を邪魔しないようにする */
.social-box {
  position: relative;
}

.social-box::after {
  pointer-events: none;
  z-index: 0;
}

.social-box .section-heading,
.social-links {
  position: relative;
  z-index: 1;
}

.social-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-decoration: none;
  transform: none;
  will-change: transform;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(74, 45, 22, .24);
}

.social-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.social-card > span:last-child {
  min-width: 0;
}

.social-card strong,
.social-card small {
  overflow-wrap: anywhere;
}

/* Xの2ボタンは同じ黒背景でも、落とし物側を少し区別する */
.social-card-lost {
  background: linear-gradient(135deg, #4a2d16, #111);
}

@media (max-width: 640px) {
  .hero-card .open-hours-list div {
    display: grid;
    gap: 2px;
  }

  .hero-card .open-hours-list dd {
    white-space: normal;
  }

  .social-card {
    width: 100%;
  }
}

/* =========================================================
   トップページ最終復旧：学ステ情報・新着情報・申請書
   ※このブロックはCSS末尾に置き、必ず最後に効かせる
   ========================================================= */

/* PC: 左を小さく、右を広く */
section.top-info-section > .container.layout-2col,
section.two-column.top-info-section > .container.layout-2col,
section.two-column > .container.layout-2col {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 66%) !important;
  gap: 28px !important;
  align-items: start !important;
}

/* 左の「学ステの情報」 */
section.top-info-section .top-info-panel,
section.two-column .top-info-panel,
section.two-column > .container.layout-2col > .panel.warm:first-child {
  min-width: 0;
}

/* 右側の「新着情報」「申請書・ダウンロード」 */
section.top-info-section .side-panel-stack,
section.two-column .side-panel-stack {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  align-items: start !important;
  min-width: 0;
}

section.top-info-section .news-panel,
section.top-info-section .download-panel,
section.two-column .news-panel,
section.two-column .download-panel {
  min-width: 0;
  width: 100%;
}

/* 学ステ情報側：幅を小さくしてもボタンがはみ出さない */
section.top-info-section .recruit-button,
section.two-column .recruit-button {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 16px;
  font-size: .86rem;
  white-space: normal;
}

/* 新着情報：3列表示を強制復旧 */
section.top-info-section .news-list,
section.two-column .news-panel .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid !important;
  gap: 12px;
}

section.top-info-section .news-list > li,
section.two-column .news-panel .news-list > li {
  display: grid !important;
  grid-template-columns: 96px 112px minmax(0, 1fr) !important;
  grid-template-areas: "date tag text";
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  min-height: 48px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

section.top-info-section .news-list > li time,
section.two-column .news-panel .news-list > li time {
  grid-area: date;
  color: var(--orange-dark);
  font-weight: 900;
  white-space: nowrap;
  line-height: 1.6;
}

section.top-info-section .news-list > li .news-tag,
section.two-column .news-panel .news-list > li .news-tag {
  grid-area: tag;
}

section.top-info-section .news-list > li a,
section.two-column .news-panel .news-list > li a {
  grid-area: text;
  min-width: 0;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: transparent;
}

section.top-info-section .news-list > li a:hover,
section.top-info-section .news-list > li a:focus-visible,
section.two-column .news-panel .news-list > li a:hover,
section.two-column .news-panel .news-list > li a:focus-visible {
  text-decoration-color: var(--orange);
}

/* 新着情報タグ色分け */
.news-tag {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 86px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff !important;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.4;
  white-space: nowrap;
}

.news-tag-notice {
  background: var(--orange) !important;
}

.news-tag-event {
  background: #4c8fd9 !important;
}

.news-tag-internship {
  background: #3aa76d !important;
}

.news-tag-other {
  background: #5f6368 !important;
}

/* 申請書・ダウンロード：右カラムを活かす */
section.top-info-section .download-item,
section.two-column .download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

section.top-info-section .download-item-body,
section.two-column .download-item-body {
  min-width: 0;
}

section.top-info-section .download-button,
section.two-column .download-button {
  width: auto;
  min-width: 220px;
  white-space: nowrap;
}

/* タブレット以下：1列 */
@media (max-width: 960px) {
  section.top-info-section > .container.layout-2col,
  section.two-column.top-info-section > .container.layout-2col,
  section.two-column > .container.layout-2col {
    grid-template-columns: 1fr !important;
  }

  section.top-info-section .download-item,
  section.two-column .download-item {
    grid-template-columns: 1fr;
  }

  section.top-info-section .download-button,
  section.two-column .download-button {
    width: 100%;
    min-width: 0;
  }
}

/* スマホ：新着情報は縦並び */
@media (max-width: 640px) {
  section.top-info-section .news-list > li,
  section.two-column .news-panel .news-list > li {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "date"
      "tag"
      "text";
  }

  .news-tag {
    min-width: 0;
  }
}

/* =========================================================
   問い合わせページ最終修正：開館時間カード
   contact/index.html の dl.contact-hours-list 構造に合わせる
   ========================================================= */

/* 場所・開館時間エリアは、左を開館時間、右を所在地として安定表示 */
#place .contact-place-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

/* 開館時間カード */
#open-hours.contact-hours-card {
  min-width: 0;
}

#open-hours .contact-hours-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

/* 正しいHTML構造: dl.contact-hours-list > div > dt + dd */
#open-hours .contact-hours-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

#open-hours .contact-hours-list > div:last-child {
  border-bottom: none;
}

#open-hours .contact-hours-list dt {
  color: var(--muted);
  font-weight: 800;
  min-width: 0;
}

#open-hours .contact-hours-list dd {
  margin: 0;
  color: var(--brown);
  font-weight: 900;
  white-space: nowrap;
  text-align: right;
}

/* 旧HTML構造が残っている場合の保険: div > dl.contact-hours-list > dt/dd */
#open-hours > div > .contact-hours-list {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

#open-hours > div:last-of-type > .contact-hours-list {
  border-bottom: none;
}

#open-hours > div > .contact-hours-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
}

#open-hours > div > .contact-hours-list dt {
  color: var(--muted);
  font-weight: 800;
}

#open-hours > div > .contact-hours-list dd {
  margin: 0;
  color: var(--brown);
  font-weight: 900;
  white-space: nowrap;
}

/* 注記 */
#open-hours .contact-hours-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.7;
}

/* タブレット以下は1カラム */
@media (max-width: 860px) {
  #place .contact-place-grid {
    grid-template-columns: 1fr;
  }
}

/* スマホでは時間を下に落として読みやすく */
@media (max-width: 640px) {
  #open-hours .contact-hours-list > div,
  #open-hours > div > .contact-hours-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  #open-hours .contact-hours-list dd,
  #open-hours > div > .contact-hours-list dd {
    white-space: normal;
    text-align: left;
  }
}

/* =========================================================
   学内インターンシップページ：横スクロール案内
   スマホで勤務先一覧表が横に動かせることを分かりやすくする
   ========================================================= */

.table-scroll-guide {
  display: none;
}

/* 表の横スクロール領域を少し目立たせる */
.internship-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) #fff1d2;
}

.internship-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.internship-table-wrap::-webkit-scrollbar-track {
  background: #fff1d2;
  border-radius: 999px;
}

.internship-table-wrap::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 999px;
}

.internship-table-wrap:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

/* スマホ・タブレットで横スクロール案内を表示 */
@media (max-width: 760px) {
  .table-scroll-guide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--brown);
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    line-height: 1.4;
    box-shadow: 0 10px 22px rgba(74, 45, 22, .18);
  }

  .table-scroll-arrow {
    display: inline-block;
    font-size: 1rem;
    animation: tableScrollArrow 1.15s ease-in-out infinite;
  }

  .internship-table-wrap {
    margin-inline: -4px;
    padding-bottom: 12px;
    border: 2px solid var(--yellow);
    border-radius: 22px;
    background:
      linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) calc(100% - 42px), rgba(255,247,231,.94) 100%),
      #fff;
  }

  /* 右端にうっすらグラデーションを入れて、続きがあることを示す */
  .internship-table-wrap::after {
    content: "横へ";
    position: sticky;
    right: 0;
    top: 0;
    float: right;
    display: grid;
    place-items: center;
    width: 42px;
    min-height: 48px;
    margin-left: -42px;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(90deg, rgba(255,247,231,0), #fff7e7 56%, #fff7e7);
    color: var(--orange-dark);
    font-size: .72rem;
    font-weight: 900;
    writing-mode: vertical-rl;
    pointer-events: none;
  }

  .internship-table {
    min-width: 920px;
  }
}

@keyframes tableScrollArrow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* =========================================================
   写真バランス最終調整
   既存修正を維持しながら、写真の高さを抑えて見栄えを整える
   ========================================================= */

/* 共通：写真は枠内で自然にトリミング */
.photo-card img,
.about-intro-photo-center img,
.about-card-photo img,
.about-card img,
.project-photo-card img,
.event-lineup-card img,
.guide-space-photo img,
.place-card img {
  object-fit: cover;
  object-position: center center;
}

/* トップページなどの小さめ写真カード */
.photo-card img {
  height: clamp(140px, 16vw, 170px);
}

/* aboutページ冒頭のワイド写真：少し低めで横長に */
.about-intro-photo-center img {
  height: clamp(170px, 22vw, 220px);
  border-radius: 20px;
}

/* aboutページ：主なサポート内容の写真
   PCでは横長すぎない高さ、スマホではカード内で見やすい高さにする */
.about-menu-section .about-card-photo {
  overflow: hidden;
  border-radius: 22px;
  background: var(--cream);
}

.about-menu-section .about-card-photo img,
.about-menu-section .about-card img {
  width: 100%;
  height: clamp(220px, 25vw, 260px);
  min-height: 0;
  display: block;
  border-radius: 22px;
}

/* aboutの古い .about-card img 指定が強くても、高さが伸びすぎないようにする */
.about-menu-section .about-card > img {
  height: clamp(220px, 25vw, 260px);
  min-height: 0;
}

/* 課外活動ページ：プロジェクト写真・夢考房写真
   白枠なし、カード外枠に沿わせたまま高さを少し抑える */
.project-section .project-photo-card {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border-radius: var(--radius-lg);
}

.project-section .project-photo-card img {
  width: 100%;
  height: clamp(180px, 20vw, 210px);
  min-height: 0;
  display: block;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* イベント一覧カードの写真 */
.event-lineup-card img {
  height: clamp(175px, 20vw, 200px);
}

/* 利用ガイドの大きな写真 */
.guide-space-photo img {
  height: clamp(210px, 25vw, 260px);
  border-radius: 22px;
}

/* お問い合わせページなどの場所カード写真 */
.place-card img {
  height: clamp(180px, 20vw, 205px);
}

/* キャンパスマップは写真ではなく案内図なので、既存の拡大表示を維持 */
.campus-map-zoom img {
  height: 100%;
}

/* スマートフォン：写真を低めに統一して、縦に長くなりすぎないようにする */
@media (max-width: 760px) {
  .about-menu-section .about-card,
  .about-menu-section .about-card.reverse {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .about-menu-section .about-card .about-card-photo,
  .about-menu-section .about-card.reverse .about-card-photo {
    order: 1;
    border-radius: 0;
  }

  .about-menu-section .about-card .about-card-text,
  .about-menu-section .about-card.reverse .about-card-text {
    order: 2;
    padding: 22px;
  }

  .about-intro-photo-center img {
    height: 170px;
  }

  .about-menu-section .about-card-photo img,
  .about-menu-section .about-card img {
    height: 185px;
    border-radius: 0;
  }

  .project-section .project-photo-card img,
  .event-lineup-card img,
  .guide-space-photo img,
  .place-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .about-intro-photo-center img {
    height: 155px;
  }

  .about-menu-section .about-card-photo img,
  .about-menu-section .about-card img {
    height: 165px;
  }

  .project-section .project-photo-card img,
  .event-lineup-card img,
  .guide-space-photo img,
  .place-card img {
    height: 165px;
  }
}

/* =========================================================
   ボタン文字の太さ最終調整
   既存デザインを維持しながら、太すぎる文字つぶれを改善
   ========================================================= */

/* 共通ボタン：900/800寄りを少し抑えて読みやすくする */
.button,
.button.primary,
.button.secondary,
.text-link,
.recruit-button,
.download-button,
.place-card-button,
.guide-small-button,
.about-small-button,
.radio-button,
.status-open,
.status-link,
.x-button {
  font-weight: 700;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ヘッダーのグローバルナビも少しだけ軽くして、文字のつぶれを防ぐ */
.global-nav a {
  font-weight: 700;
  letter-spacing: .01em;
}

/* 濃色背景のボタンは少しだけ文字間を広げて読みやすく */
.button.primary,
.nav-contact,
.x-button,
.radio-button,
.status-open,
.status-link,
.download-button {
  letter-spacing: .03em;
}

/* 小さめボタンはフォントをわずかに上げ、太さを抑える */
.about-small-button,
.guide-small-button,
.place-card-button,
.download-button {
  font-size: .88rem;
  font-weight: 700;
}

/* Xボタンは黒背景でつぶれやすいため、特に軽めに */
.x-button,
.about-small-button.x-button {
  font-weight: 700;
  letter-spacing: .025em;
}

.x-icon {
  font-weight: 700;
}

/* SNSカード内の文字も極太になりすぎないように調整 */
.social-card strong {
  font-weight: 700;
  letter-spacing: .01em;
}

.social-card small {
  font-weight: 600;
}

/* タグ・バッジ類は強調を残しつつ、極端な太さを避ける */
.card-label,
.tag,
.news-tag,
.news-badge,
.activity-label,
.status-open,
.table-scroll-guide {
  font-weight: 700;
  letter-spacing: .04em;
}

/* 開館時間・表見出しなど、濃すぎる箇所を少しだけ調整 */
.hero-card dd,
.contact-hours-list dd,
#open-hours .contact-hours-list dd,
.internship-table th {
  font-weight: 800;
}

/* スマホではボタン文字がつぶれやすいため、さらに少しだけ余白を確保 */
@media (max-width: 640px) {
  .button,
  .button.primary,
  .button.secondary,
  .recruit-button,
  .download-button,
  .place-card-button,
  .guide-small-button,
  .about-small-button,
  .x-button {
    font-weight: 700;
    letter-spacing: .025em;
  }

  .about-small-button,
  .guide-small-button,
  .place-card-button,
  .download-button {
    font-size: .86rem;
  }
}

/* =========================================================
   学内インターンシップページ：学内勤務情報カード
   下部3カードに学内勤務サイト・研修申込みボタンを追加
   ========================================================= */

.internship-info-section {
  padding-top: 40px;
  background: radial-gradient(circle at top left, #fff0be, transparent 36%);
}

.internship-info-grid {
  align-items: stretch;
}

.internship-info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.internship-info-card h3 {
  color: var(--brown);
  line-height: 1.45;
}

.internship-info-card p {
  flex: 1;
}

.internship-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.internship-info-button {
  width: fit-content;
  min-height: 40px;
  padding: 8px 16px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.internship-info-card .button.primary,
.internship-info-card .button.secondary {
  box-shadow: 0 8px 18px rgba(246, 162, 26, .18);
}

.internship-info-card .button.secondary {
  background: #fff;
}

@media (max-width: 960px) {
  .internship-info-grid.card-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .internship-info-section {
    padding-top: 32px;
  }

  .internship-info-actions {
    display: grid;
    gap: 10px;
  }

  .internship-info-button {
    width: 100%;
    min-height: 42px;
    font-size: .84rem;
  }
}

/* =========================================================
   学内インターンシップページ：学内勤務情報カード4枠版
   学内勤務サイトを右横の独立枠として表示
   ========================================================= */

.internship-info-section {
  padding-top: 40px;
  background: radial-gradient(circle at top left, #fff0be, transparent 36%);
}

.internship-info-grid.four-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.internship-info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.internship-info-card h3 {
  color: var(--brown);
  line-height: 1.45;
}

.internship-info-card p {
  flex: 1;
}

.internship-info-button {
  width: fit-content;
  min-height: 40px;
  padding: 8px 16px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: 14px;
}

.internship-site-card {
  background: linear-gradient(135deg, #fff 0%, #fff7e7 58%, #fff1c7 100%);
  border: 2px solid var(--yellow);
}

.internship-site-card .tag {
  width: fit-content;
  margin-bottom: 10px;
}

.internship-site-card .button.secondary {
  background: #fff;
  border-color: var(--orange);
  color: var(--brown);
  box-shadow: 0 8px 18px rgba(246, 162, 26, .16);
}

.internship-info-card .button.primary {
  box-shadow: 0 8px 18px rgba(246, 162, 26, .22);
}

/* 画面幅が狭いPC・タブレットでは2列 */
@media (max-width: 1040px) {
  .internship-info-grid.four-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホでは1列 */
@media (max-width: 640px) {
  .internship-info-section {
    padding-top: 32px;
  }

  .internship-info-grid.four-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .internship-info-button {
    width: 100%;
    min-height: 42px;
    font-size: .84rem;
  }
}

/* =========================================================
   学内インターンシップページ：ヒーローボタン横スクロール
   上部ボタンに「学内勤務に関わる情報」を追加
   ========================================================= */

.internship-hero-actions {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) #fff1d2;
}

.internship-hero-actions::-webkit-scrollbar {
  height: 8px;
}

.internship-hero-actions::-webkit-scrollbar-track {
  background: #fff1d2;
  border-radius: 999px;
}

.internship-hero-actions::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 999px;
}

.internship-hero-actions .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* PCで余裕がある場合は、自然な横並びのまま中央に近い配置 */
@media (min-width: 961px) {
  .internship-hero-actions {
    max-width: 100%;
  }
}

/* スマホでは全幅ボタン指定を上書きし、横スクロールしやすくする */
@media (max-width: 640px) {
  .internship-hero-actions {
    margin-inline: -4px;
    padding-inline: 4px;
  }

  .internship-hero-actions .button {
    width: auto;
    min-width: max-content;
  }
}

/* =========================================================
   学内インターンシップページ：学内勤務情報3枠並び順変更
   左から「学内勤務に関する各種情報」「ビジネスマナー研修」「自己評価」
   ========================================================= */

.internship-info-grid.three-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.internship-info-grid.three-info .internship-info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.internship-info-grid.three-info .internship-info-card p {
  flex: 1;
}

.internship-info-actions.center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.internship-info-grid.three-info .internship-info-button {
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 16px;
  text-align: center;
  white-space: normal;
}

/* 学内勤務サイトの枠は、左端で少し目立つように維持 */
.internship-info-grid.three-info .internship-site-card {
  background: linear-gradient(135deg, #fff 0%, #fff7e7 58%, #fff1c7 100%);
  border: 2px solid var(--yellow);
}

.internship-info-grid.three-info .internship-site-card .tag {
  width: fit-content;
  margin-bottom: 10px;
}

/* 以前の4枠指定が残っていても今回の3枠指定を優先 */
.internship-info-grid.four-info {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* タブレットでは1〜2列で自然に */
@media (max-width: 960px) {
  .internship-info-grid.three-info,
  .internship-info-grid.four-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .internship-info-actions.center {
    display: grid;
    width: 100%;
  }

  .internship-info-grid.three-info .internship-info-button {
    width: 100%;
  }
}

/* =========================================================
   自己評価リンクボタン補足
   就業力育成評価システムの長めのボタン文言を読みやすくする
   ========================================================= */

.internship-info-card .internship-info-button {
  line-height: 1.5;
}

@media (min-width: 641px) {
  .internship-info-grid.three-info .internship-info-button {
    max-width: 260px;
  }
}

/* =========================================================
   学内勤務情報ボタン二段表示・配色調整
   各種情報はベタ塗り、そのほかは白抜き
   ========================================================= */

/* 学内勤務サイト枠内の小さいタグを使わない前提で余白を調整 */
.internship-info-grid.three-info .internship-site-card h3 {
  margin-top: 0;
}

/* 学内勤務情報セクションのボタンを2段表示にする */
.internship-info-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  line-height: 1.35;
  text-align: center;
}

.internship-info-button span {
  display: block;
  font-weight: 700;
}

.internship-info-button small {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: .9;
}

/* 各種情報ボタン：ベタ塗り */
.internship-info-button-filled,
.internship-info-card .internship-info-button-filled.button.primary {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  box-shadow: 0 10px 22px rgba(246, 162, 26, .24);
}

.internship-info-button-filled:hover,
.internship-info-button-filled:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

/* そのほかのボタン：白抜き */
.internship-info-button-outline,
.internship-info-card .internship-info-button-outline.button.secondary {
  background: #fff;
  color: var(--brown);
  border: 2px solid var(--orange);
  box-shadow: none;
}

.internship-info-button-outline:hover,
.internship-info-button-outline:focus-visible {
  background: #fff7e7;
  color: var(--brown);
}

/* 長いボタン文言も読みやすく */
.internship-info-grid.three-info .internship-info-button {
  max-width: 280px;
  white-space: normal;
}

@media (max-width: 640px) {
  .internship-info-grid.three-info .internship-info-button {
    max-width: none;
    width: 100%;
  }
}
