/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #1a3566;
  --navy-dark:  #0f2040;
  --navy-light: #2a4f8a;
  --accent:     #e8a020;
  --accent-light: #f5c060;
  --bg:         #f5f7fa;
  --white:      #ffffff;
  --text:       #2c2c2c;
  --text-light: #666666;
  --border:     #dce3ee;
  --green:      #029179;
  --green-light: #65c7b6;
  --brown:      #542b01;
  --brown-light: #b08458;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: "M PLUS Rounded 1c", "Hiragino Sans", "Yu Gothic", sans-serif;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== SPLASH SCREEN ===== */
#splash {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

#splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

#splash-logo {
  width: min(560px, 80vw);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#splash-logo.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
header {
  background-color: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  /*background: var(--white);*/
  color: var(--navy);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-mark .mark-main {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-mark .mark-sub {
  font-size: 7.5px;
  font-weight: bold;
  letter-spacing: 0.04em;
  opacity: 0.75;
  margin-top: 1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  white-space: nowrap;
}

.logo-text .univ-name {
  font-size: 14px;
  opacity: 0.82;
  letter-spacing: 0.05em;
  color: var(--white);
}

.logo-text .site-title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* ===== NAVIGATION ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

nav ul li a {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

nav ul li a:hover {
  background-color: var(--navy-light);
  color: var(--accent-light);
}

/* Hamburger button (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* Keep Vegas slides behind hero content */
.hero .vegas-slide,
.hero .vegas-slide-inner { z-index: 0; }
.hero-inner              { z-index: 2; }

/* ===== ZOOM-IN CUSTOM ANIMATIONS ===== */
@keyframes kenburns-in-center     { from { transform: scale(1.0);                } to { transform: scale(1.15);                    } }
@keyframes kenburns-in-left       { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(-3%,0);   } }
@keyframes kenburns-in-right      { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(3%,0);    } }
@keyframes kenburns-in-up         { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(0,-3%);   } }
@keyframes kenburns-in-up-left    { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(-3%,-3%); } }
@keyframes kenburns-in-up-right   { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(3%,-3%);  } }
@keyframes kenburns-in-down       { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(0,3%);    } }
@keyframes kenburns-in-down-left  { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(-3%,3%);  } }
@keyframes kenburns-in-down-right { from { transform: scale(1.0) translate(0,0); } to { transform: scale(1.15) translate(3%,3%);   } }

.vegas-animation-kenburnsInCenter    { animation-name: kenburns-in-center;     animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInLeft      { animation-name: kenburns-in-left;       animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInRight     { animation-name: kenburns-in-right;      animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInUp        { animation-name: kenburns-in-up;         animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInUpLeft    { animation-name: kenburns-in-up-left;    animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInUpRight   { animation-name: kenburns-in-up-right;   animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInDown      { animation-name: kenburns-in-down;       animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInDownLeft  { animation-name: kenburns-in-down-left;  animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsInDownRight { animation-name: kenburns-in-down-right; animation-timing-function: linear; animation-fill-mode: both; }

/* ===== ZOOM-OUT CUSTOM ANIMATIONS ===== */
@keyframes kenburns-out-center      { from { transform: scale(1.15);                    } to { transform: scale(1.0);                   }}
@keyframes kenburns-out-left        { from { transform: scale(1.15) translate(-3%, 0);  } to { transform: scale(1.0)  translate(0, 0);  }}
@keyframes kenburns-out-right       { from { transform: scale(1.15) translate(3%, 0);   } to { transform: scale(1.0)  translate(0, 0);  }}
@keyframes kenburns-out-up          { from { transform: scale(1.15) translate(0, -3%);  } to { transform: scale(1.0)  translate(0, 0);  }}
@keyframes kenburns-out-up-left     { from { transform: scale(1.15) translate(-3%, -3%);} to { transform: scale(1.0)  translate(0, 0);  }}
@keyframes kenburns-out-up-right    { from { transform: scale(1.15) translate(3%, -3%); } to { transform: scale(1.0)  translate(0, 0);  }}
@keyframes kenburns-out-down        { from { transform: scale(1.15) translate(0, 3%);   } to { transform: scale(1.0)  translate(0, 0);  }}
@keyframes kenburns-out-down-left   { from { transform: scale(1.15) translate(-3%, 3%); } to { transform: scale(1.0)  translate(0, 0);  }}
@keyframes kenburns-out-down-right  { from { transform: scale(1.15) translate(3%, 3%);  } to { transform: scale(1.0)  translate(0, 0);  }}

.vegas-animation-kenburnsOutCenter    { animation-name: kenburns-out-center;     animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutLeft      { animation-name: kenburns-out-left;       animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutRight     { animation-name: kenburns-out-right;      animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutUp        { animation-name: kenburns-out-up;         animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutUpLeft    { animation-name: kenburns-out-up-left;    animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutUpRight   { animation-name: kenburns-out-up-right;   animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutDown      { animation-name: kenburns-out-down;       animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutDownLeft  { animation-name: kenburns-out-down-left;  animation-timing-function: linear; animation-fill-mode: both; }
.vegas-animation-kenburnsOutDownRight { animation-name: kenburns-out-down-right; animation-timing-function: linear; animation-fill-mode: both; }

/* Disable Vegas default overlay pattern */
.vegas-overlay {
  background-image: none !important;
  background: transparent !important;
}

/* Show line break on PC, hide on mobile */
.br-pc { display: inline; }

@media (max-width: 768px) {
  .br-pc { display: none; }
}

/* Contain Vegas slides within hero section */
.hero.vegas-container {
  overflow: hidden;
}

.hero .vegas-slide {
  overflow: hidden;
}

/* ===== HERO SECTION ===== */
.hero {
  background-color: #000;
  color: var(--white);
  padding: 30px 24px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  z-index: 3;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 0px;
  letter-spacing: 0.03em;
}

.hero h1.hero-title-text {
  font-family: 'KouzanBrush', serif;
  font-size: clamp(120px, 40vw, 280px);
  font-weight: normal;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.15em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero-title-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto 10px ;
  mix-blend-mode: multiply;
}

.hero p {
  font-size: clamp(14px, 2vw, 17px);
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--navy-dark);
}

.btn-primary:hover {
  color: var(--navy-dark);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ===== SECTION COMMON ===== */
section {
  padding: 36px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 12px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: var(--navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.section-header h2 {
  font-size: clamp(22px, 4vw, 32px);
  color: var(--navy-dark);
  font-weight: bold;
}

.section-header p {
  margin-top: 0px;
  color: var(--text-light);
  font-size: 15px;
}

/* ===== NO LINK NEWS ===== */
.news-item-nolink {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 8px;
  color: var(--text);
  cursor: auto;
}

/* ===== EVENT CARDS ===== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.event-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: row; 
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.card-color-bar {
  width: 6px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--navy), var(--navy-light));
}

.card-color-bar.green {
  width: 6px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--green), var(--green-light));
}

.card-color-bar.accent {
  width: 6px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
}

.card-body {
  padding: 28px 28px 32px;
  flex: 1; 
}

.card-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.card-body h3 {
  font-size: 20px;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.sub-copy {
  font-size: 0.7em;
  font-weight: bold;
  color: var(--navy-dark);
  margin-top: -12px; 
}

.card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.card-meta {
  font-size: 13px;
  color: var(--navy);
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: bold;
  color: var(--navy);
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.card-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.card-link::after {
  content: '→';
}

/* ===== NEWS SECTION ===== */
.news-section {
  background-color: var(--white);
}

.news-list {
  list-style: none;
  border-top: 2px solid var(--navy);
}

.news-list li {
  border-bottom: 1px solid var(--border);
}

.news-list li a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 8px;
  color: var(--text);
  transition: background 0.2s;
}

.news-list li a:hover {
  background-color: var(--bg);
  color: var(--navy);
}

.news-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 90px;
}

.news-tag {
  font-size: 11px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.news-tag.contest {
  background-color: var(--accent);
  color: var(--white);
  border-radius: 12px;
}

.news-tag.seminar {
  background-color: var(--green);
  color: var(--white);
  border-radius: 12px;
}

.news-tag.info {
  background-color: var(--navy);
  color: var(--white);
  border-radius: 12px;
}

.news-meta {
  display: flex;
  gap: 10px;
  min-width: 180px;
  flex-shrink: 0;
}

.news-title {
  font-size: 15px;
  line-height: 1.5;
}

.news-more {
  text-align: center;
  margin-top: 28px;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 120px;
  margin-bottom: 40px;
}

.footer-brand .site-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand .univ-name {
  font-size: 12px;
  opacity: 0.7;
}

.footer-nav h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  background: url("../images/hero-page-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 30px 24px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 64, 0.1);
  z-index: 0;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.page-hero h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: bold;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 0.7em;
  font-weight: bold;
  display: inline-block;
  margin-top: 4px;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.88;
}

/* ===== OVERVIEW BOX ===== */
.overview-box {
  background: var(--white);
  border-left: 6px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 28px 32px;
  font-size: 15px;
  line-height: 1.9;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ===== SPEC TABLE ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.spec-table th {
  background-color: var(--navy);
  color: var(--white);
  font-weight: bold;
  width: 28%;
  white-space: nowrap;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}

.timeline-item.active .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-date {
  font-size: 13px;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline-item.active .timeline-date {
  color: var(--accent);
}

.timeline-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== STEPS (application flow) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step-counter;
}

.step-item {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: relative;
  counter-increment: step-counter;
}

.step-item::before {
  content: counter(step-counter);
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: bold;
  margin: 0 auto 14px;
}

.step-item h4 {
  font-size: 15px;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== NOTES ===== */
.notes-box {
  background: #f0f4fa;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
}

.notes-box h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 12px;
}

.notes-box ul {
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}

.cta-banner h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 15px;
  opacity: 0.88;
  margin-bottom: 28px;
}

/* ===== SEMINAR CARDS ===== */
.seminar-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.seminar-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seminar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.seminar-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seminar-no {
  font-size: 13px;
  font-weight: bold;
  color: var(--navy);
  background: #e8eef8;
  padding: 3px 12px;
  border-radius: 20px;
}

.seminar-target {
  font-size: 12px;
  font-weight: bold;
  background: var(--navy);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 20px;
}

.seminar-target.teacher {
  background: var(--accent);
  color: var(--navy-dark);
}

.seminar-card h3 {
  font-size: 17px;
  color: var(--navy-dark);
  line-height: 1.5;
}

.seminar-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
}

.seminar-info {
  list-style: none;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.seminar-info li {
  display: flex;
  gap: 10px;
  color: var(--text-light);
}

.seminar-info li span {
  font-weight: bold;
  color: var(--navy);
  min-width: 72px;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--navy);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 8px;
  text-align: left;
  font-size: 15px;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--navy);
}

.faq-question[aria-expanded="true"] {
  color: var(--navy);
}

.faq-icon {
  font-size: 20px;
  color: var(--navy);
  flex-shrink: 0;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 8px 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  display: block;
}

/* ===== NEWS FILTER ===== */
.news-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.filter-btn {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.news-list-full {
  border-top: 2px solid var(--navy);
}

/* ===== CONTACT FORM ===== */
.contact-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-type-card {
  background: #eef2fa;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-type-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.contact-type-card strong {
  display: block;
  font-size: 14px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.contact-type-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== CONTEST DIVISION CARDS ===== */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.division-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.division-header {
  padding: 22px 26px 18px;
  color: var(--white);
}

.division-header.tane {
  background: linear-gradient(135deg, #542b01 0%, #d69b60 100%);
}

.division-header.minori {
  background: linear-gradient(135deg, #004e00 0%, #73cc73 100%);
}

.division-header .division-tag {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.1em;
  opacity: 0.82;
  margin-bottom: 6px;
}

.division-header h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}

.division-header .division-sub {
  font-size: 13px;
  opacity: 0.88;
}

.division-body {
  padding: 22px 26px 28px;
}

.division-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.division-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 13px;
}

.division-specs li {
  display: flex;
  gap: 10px;
  color: var(--text-light);
}

.division-specs li strong {
  color: var(--navy);
  min-width: 76px;
  flex-shrink: 0;
}

/* ===== AWARD CARDS ===== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.award-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.award-card h4 {
  font-size: 15px;
  color: var(--navy-dark);
  font-weight: bold;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}

.award-card.brown h4 {border-color: var(--brown); }
.award-card.green h4 { border-color: #2d9e56; }
.award-card.gold   h4 { border-color: var(--navy); }

.award-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.award-list li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.award-list li .aw-icon { flex-shrink: 0; }

/* ===== SEMINAR POINT CARDS ===== */
.point-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .point-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.point-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.point-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 20px;
  width: fit-content;
  letter-spacing: 0.06em;
}

.point-card h3 {
  font-size: 17px;
  color: var(--navy-dark);
  font-weight: bold;
  line-height: 1.4;
}

.point-tagline {
  font-size: 13px;
  color: var(--accent);
  font-weight: bold;
}

.point-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== SEMINAR FLYER ===== */
/* Clickable image */
.clickable-image {
  display: block;
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s;
}

.clickable-image:hover {
  transform: scale(1.02);
}

/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

/* Enlarged image */
.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

/* ===== SEMINAR FEATURE CARDS ===== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.feature-icon {
  font-size: 38px;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 15px;
  color: var(--navy-dark);
  font-weight: bold;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONTACT INFO BOX ===== */
.contact-info-box {
  background: #eef2fa;
  border-left: 5px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 22px 28px;
  font-size: 15px;
  line-height: 2;
}

.contact-info-box strong {
  color: var(--navy-dark);
}

/* Contact card left border */
.contact-type-card.contact-seminar {
  border-left: 6px solid var(--green);
  padding-left: 16px;
}

.contact-type-card.contact-contest {
  border-left: 6px solid var(--accent);
  padding-left: 16px;
}

/* ===== GOOGLE FORMS EMBED ===== */
.gform-wrap {
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  background: var(--white);
}

.gform-iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .logo-text .site-title {
    font-size: 16px;
  }
  .logo-text .univ-name {
    font-size: 11px;
  }
  nav ul li a {
    font-size: 13px;
    padding: 8px 8px;
  }

  nav ul {
    gap: 2px;
  }
}

@media (max-width: 820px) {
  .logo-text .site-title {
    font-size: 13px;
  }
  .logo-text .univ-name {
    font-size: 10px;
  }
  nav ul li a {
    font-size: 13px;
    padding: 8px 8px;
  }

  nav ul {
    gap: 2px;
  }
}

@media (max-width: 768px) {
  .logo-text .site-title {
    font-size: 13px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
  .news-filter {
    gap: 6px;
  }
  .point-cards {
    grid-template-columns: 1fr;
  }
  .point-cards {
    grid-template-columns: 1fr;
  }
  .feature-cards {
    grid-template-columns: 1fr;
  }
  .point-cards {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--navy-dark);
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li a {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 15px;
  }

  .hero {
    padding: 60px 20px 56px;
  }

  .news-list li a {
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .contact-types {
    grid-template-columns: 1fr;
  }

  .spec-table th {
    width: auto;
    white-space: normal;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    border-radius: 0;
    padding-bottom: 8px;
  }

  .spec-table td {
    padding-top: 8px;
    padding-bottom: 16px;
  }
}

@media (max-width: 1160px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
}
