/* ===================================================
   CSS CUSTOM PROPERTIES（カラー変数）
=================================================== */
:root {
  --peach:     #FF8C69;
  --peach-d:   #E8714E;
  --peach-lt:  #FFD4C2;
  --peach-bg:  #fff5f083;
  --mint:      #5CC8A0;
  --mint-lt:   #C2EDD9;
  --mint-bg:   #F0FBF6;
  --yellow:    #FFD166;
  --sky:       #7EC8E3;
  --sky-lt:    #c0e3f0;
  --sky-bg:    #f4fcff;
  --cream:     #fffbf781;
  --border:    #F0E4DC;
  --white:     #ffffff88;
  
}

/* ===================================================
   RESET & BASE
=================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Zen Maru Gothic",'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: #333;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===================================================
   HEADER & GLOBAL NAV
=================================================== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(61, 43, 31, 0.06);
}

.topbar-link {
  color: white;
  padding: 0.35rem 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.15s;
}

.topbar-link:hover { background: rgba(255, 255, 255, 0.15); }

/* main header row */
.header-main {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
}

.logo { display: flex; align-items: center; gap: 0.6rem; }

.logo-icon {
  width: 60px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 3rem;
}

.logo-name {
  font-size: 2.5rem; font-weight: 900;
  color: var(--peach); letter-spacing: 0.05em; line-height: 1;
}

.logo-sub {
  font-size: 1.3rem; 
  color: var(--text-mid); 
  letter-spacing: 0.04em;
}
/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  border-radius: 0.5rem;
  transition: background 0.15s;
  z-index: 250;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--peach-bg); }
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* ✕ 変形 */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ドロワー */
@media (max-width: 1200px) {
  .gnav          { display: none; }
  .gnav-wrap {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: white;
    box-shadow: -4px 0 24px rgba(61, 43, 31, 0.12);
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 240;
  }
  .gnav-wrap.open { 
    transform: translateX(0); }

  .gnav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(61, 43, 31, 0.35);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .gnav-overlay.open { opacity: 1; pointer-events: all; }

  .gnav { flex-direction: column; gap: 0; }
  .gnav > li > a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
  }
  


  /* ドロップダウン → アコーディオン */
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    background: var(--peach-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    min-width: unset;
  }
  .gnav > li.open .dropdown { max-height: 400px; }
  .dropdown a {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
  }

  .hamburger { display: flex; }
  .header-ctas { display: none; }
  /* 以降の既存レスポンシブ設定も 1024px → 1200px に変更 */
}
/* global nav */
.gnav { display: flex; align-items: center; gap: 0; list-style: none; }
.gnav > li { position: relative; }

.gnav > li > a {
  display: flex; align-items: center; gap: 0.25rem;
  padding: 0.6rem 0.9rem;
  font-size: 1rem; 
  font-weight: 700;
  color: var(--text); transition: color 0.15s; white-space: nowrap;
}

.gnav > li > a:hover { color: var(--peach); }

.gnav-arrow { font-size: 0.55rem; margin-top: 1px; }

/* dropdown */
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 1rem; padding: 0.5rem 0; min-width: 200px;
  box-shadow: 0 8px 30px rgba(61, 43, 31, 0.1);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 300;
}

.gnav > li:hover .dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block; 
  padding: 0.55rem 1.5rem;
  font-size: 0.9rem; 
  font-weight: 500; 
  color: var(--text);
  transition: 0.15s, color 0.15s;
}

.dropdown a:hover { background: var(--peach-bg); color: var(--peach); }

.hcta {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 1.1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 800; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.hcta:hover { transform: translateY(-2px); }

.hcta-oc {
  background: linear-gradient(135deg, var(--peach), #FF6B6B);
  color: white; box-shadow: 0 3px 12px rgba(255, 140, 105, 0.3);
}

.hcta-oc:hover { box-shadow: 0 6px 18px rgba(255, 140, 105, 0.4); }

.hcta-doc {
  background: white; color: var(--peach);
  border: 2px solid var(--peach-lt);
}

.hcta-doc:hover { border-color: var(--peach); }

/* ===================================================
   FLOATING SIDE BUTTONS
=================================================== */
.side-btns {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 150; display: flex; flex-direction: column; gap: 2px;
}

.side-btn {
  writing-mode: vertical-rl; text-orientation: mixed;
  padding: 1.2rem 1rem;
  font-size: 1rem; font-weight: 800; color: white;
  letter-spacing: 0.08em; 
  transition: padding-right 0.2s;
  cursor: pointer; 
  border-radius: 8px 0 0 8px;
}

.side-btn:hover { 
  padding-right: 0.9rem; }

.side-oc   { background: var(--peach); }
.side-doc  { background: var(--sky); }
.side-line { background: var(--mint); }

/* ===================================================
   HERO / メインビジュアル
=================================================== */
.hero {
  margin-top: 95px;
  height: 100vh;
  position: relative;
  background: linear-gradient(to bottom, #FFF0E8 0%, #FFF8F0 60%, #FFFFFF 100%);
  overflow: hidden; min-height: 520px;
  display: flex; align-items: center;
}

.hero-bg-paw {
  position: absolute; 
  font-size: 32rem;
  left: 0; 
  top: -70px;
  opacity: 0.05; pointer-events: none;
  animation: drift 12s ease-in-out infinite; line-height: 1;
}

@keyframes drift {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(-2deg); }
}

.hero-inner {
  position: relative; 
  z-index: 2; 
  align-items: center;
  max-width: 1400px; 
  margin: 0 auto;
  padding:0 2rem; 
  width: 100%;
}

.hero-text { 
  width: 65%;
  flex: 1; }

.hero-en-catch {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  margin-bottom: 1.2rem;
  -webkit-text-stroke: 2px var(--peach);
}

.hero-en-catch span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 2px 2px #674b4b;
  display: block;
}

.hero-en-accent {
  color: transparent !important;

}
.hero-catch-en {
  font-size: 0.72rem; font-weight: 800;
  color: var(--peach); letter-spacing: 0.2em; margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900; line-height: 1.25;
  color: var(--text); margin-bottom: 1rem;
}

.hero-title .c-pink  { color: var(--peach); }
.hero-title .c-green { color: var(--mint); }

.hero-desc {
  font-size: 0.95rem; color: var(--text-mid);
  line-height: 1.9; margin-bottom: 1.6rem; font-weight: 400;
}

.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.btn-filled {
  display: inline-flex; 
  align-items: center; 
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--peach), #FF6B6B);
  color: white; 
  padding: 0.8rem 1.8rem;
  border-radius: 100px; 
  font-weight: 800; 
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255, 140, 105, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-filled:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 140, 105, 0.45);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: white; color: var(--peach);
  padding: 0.8rem 1.8rem;
  border-radius: 100px; font-weight: 700; font-size: 0.88rem;
  border: 2px solid var(--peach-lt); transition: border-color 0.2s;
}

.btn-ghost:hover { border-color: var(--peach); }

/* hero stats */
.hero-stats { display: flex; 
  gap: 1.2rem; 
  margin-bottom: 1.8rem; }

.h-stat {
  width: 240px;
  text-align: center; 
  background: white;
  border-radius: 1rem; border: 1.5px solid var(--border);
  padding: 0.7rem 1.1rem;
  box-shadow: 0 2px 8px rgba(61, 43, 31, 0.05);
}

.h-stat-n { 
  font-size: 2.5rem; 
  font-weight: 900; color: var(--peach); 
  line-height: 1; 
  margin-top: 0.4rem;
}
.h-stat-l { 
  font-size: 1rem; 
  color: var(--text-lt); 
}

/* hero visual */
.hero-visual {
  width: 45%;
  flex-shrink: 0;
  position: absolute;
  top: -120px;
  right: 0;

}

.hero-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  animation: blob-morph 8s ease-in-out infinite;
  box-shadow:
    0 12px 40px rgba(255, 140, 105, 0.28),
    0  4px 16px rgba(255, 140, 105, 0.14);
}
@keyframes blob-morph {
  0%   { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
  25%  { border-radius: 40% 60% 55% 45% / 48% 62% 38% 52%; }
  50%  { border-radius: 53% 47% 38% 62% / 56% 40% 60% 44%; }
  75%  { border-radius: 45% 55% 62% 38% / 42% 58% 42% 58%; }
  100% { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
}
/* スライドショー */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スライドがない場合のフォールバック（絵文字プレースホルダー） */
.hero-slide-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem;
}
.hero-slide-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-bg-1 { background: linear-gradient(135deg, #FFE8D6, #FFDBC9); }
.slide-bg-2 { background: linear-gradient(135deg, #C2EDD9, #A8DFC8); }
.slide-bg-3 { background: linear-gradient(135deg, #D5EEF7, #B8E0F0); }


.hero-float {
  position: absolute; background: white; border-radius: 1rem;
  padding: 0.75rem 1.1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  border: 1.5px solid var(--border); font-size: 0.75rem;
}

.hf1 { top: -1rem; right: -1rem; animation: bob 4s ease-in-out infinite; }
.hf2 { bottom: 1rem; left: -1.5rem; animation: bob 5s ease-in-out infinite reverse; }

.hf-icon  { font-size: 1.3rem; margin-bottom: 0.2rem; }
.hf-title { font-weight: 800; color: var(--text); }
.hf-sub   { color: var(--text-lt); font-size: 0.68rem; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ===================================================
   paw
=================================================== */
/* 足跡：固定背景レイヤー */
.paw-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  /* ヒーローより下からのみ表示 */
  opacity: 0;
  transition: opacity 0.5s;
}
.paw-bg.visible { opacity: 1; }

.paw-bg span {
  position: absolute;
  font-size: 8rem;
  opacity: 0.06;
  user-select: none;
  transform: rotate(var(--rot));
}
.section,
footer {
  position: relative;
  z-index: 1;
}
/* ===================================================
   SECTION COMMON
=================================================== */
.section   { 
  padding: 8rem 0; }
.container { 
  max-width: 1280px; margin: 0 auto; padding: 0 3rem; }

.sec-head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1rem;
}

.sec-head-left {}

.sec-en {
  font-size: 1.2rem; 
  font-weight: 800;
  letter-spacing: 0.2em; 
  color: var(--peach); 
  margin-bottom: 0.3rem;
}

.sec-en.green { color: var(--mint); }

.sec-title { font-size: 2.5rem; 
  font-weight: 900; 
  color: var(--text); }

.more-link {
  display: inline-flex; 
  align-items: center; gap: 0.3rem;
  font-size: 1.5rem; 
  color: var(--peach);
  border-bottom: 1.5px solid var(--peach-lt); padding-bottom: 1px;
  transition: border-color 0.15s; white-space: nowrap;
}

.more-link:hover { border-color: var(--peach); }
.more-link.green { color: var(--mint); border-bottom-color: var(--mint-lt); }
.more-link.green:hover { border-bottom-color: var(--mint); }

/* ===================================================
   NEWS セクション
=================================================== */
#news { background: var(--white); }

.news-list { display: grid; gap: 0; }

.news-item {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.news-item:hover { 
  background: var(--peach-bg); }
.news-item:first-child { 
  border-top: 1px solid var(--border); }

.news-date {
  font-size: 1rem; 
  font-weight: 700;
  color: var(--text-lt); white-space: nowrap;
  width: 90px; flex-shrink: 0;
}

.news-tag {
  background: var(--peach-bg); 
  color: var(--peach);
  padding: 0.5rem; 
  border-radius: 100px;
  font-size: 1rem; 
  font-weight: 800;
  white-space: nowrap;
  width: 100px; flex-shrink: 0;
  text-align: center;
  display: inline-block;
}

.news-tag.oc      { 
  background: var(--mint-bg); color: var(--mint); }
.news-tag.nyuushi { 
  background: var(--sky-bg); color: var(--sky); }

.news-text { 
  font-size: 1.2rem; 
  color: var(--text); 
  transition: color 0.15s; 
  flex: 1; }
.news-item:hover .news-text { 
  color: var(--peach); }

/* ===================================================
   OC / イベント
=================================================== */
#oc { 
      background: linear-gradient(to bottom, #ffffff00 0%, #FFF8F0 20%, #FFF8F0 50%, #FFF8F0 80%, #ffffff00 100%); }

.oc-grid {
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 2rem;
}

.oc-card {
  border-radius: 1.2rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s; 
  cursor: pointer;
}

.oc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(255, 140, 105, 0.15);
}
.oc-card:hover .oc-thumb img {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}
.oc-thumb {
  display: flex; 
}
.oc-thumb img{
  object-fit: cover;
  border-radius: 0;
}
.oc-body { 
  background: white;
  padding: 1.5rem; 
  font-size: 1rem;}

.oc-date  { 
  font-size: 1.2rem; 
  font-weight: 800; 
  color: var(--peach); 
  margin-bottom: 0.3rem; }
.oc-name  { 
  font-size: 1.2rem; 
  font-weight: 700; color: var(--text); line-height: 1.4; }

/* ===================================================
   PHOTO GALLERY（在校生の様子）
=================================================== */
#gallery { background: white; overflow: hidden; }

.gallery-track {
  display: flex; 
  gap: 0.8rem;
  animation: slide 30s linear infinite; 
  margin-top: 5rem;
  width: max-content;
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.gallery-photo {
  width: 400px; 
  height: auto; 
}
.gallery-photo:nth-child(2n){
  margin-top: 3rem;
}
.gallery-photo img{
  border-radius: 1rem;
}
/* ===================================================
   COURSE / 学科
=================================================== */

.course-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.course-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 1.5rem;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

/* 偶数カード：画像を右に */
.course-item.reverse {
  direction: rtl;
}
.course-item.reverse > * {
  direction: ltr;
}

/* 画像エリア */
.course-item-img {
  height: 380px;
  border-radius: 1.5rem; 
  position: relative;
}
.course-item-img::before{
  content: "";
  position: absolute;
  bottom: -10px;
  left: 5px;
  border-radius: 1.5rem; 
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 3px solid var(--peach);
}
.d2 .course-item-img::before{
  border: 3px solid var(--mint);
}
.d3 .course-item-img::before{
  border: 3px solid var(--sky);
}
.course-item-img::before:hover{
  transform: scale(1.04);
}
.course-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: transform 0.4s ease;
}

.course-item:hover .course-item-img img {
  transform: scale(1.04);
}

/* テキストエリア */
.course-item-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.course-item-head { 
  display: flex; flex-direction: column; gap: 0.4rem; }

/* カラーバリエーション */
.course-item-head[data-color="peach"] .course-name { color: var(--peach); }
.course-item-head[data-color="green"] .course-name { color: var(--mint); }
.course-item-head[data-color="sky"]   .course-name { color: var(--sky); }

.course-item-head .course-year {
  display: inline-block;
  background: var(--peach-bg);
  color: var(--peach);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 800;
  width: fit-content;
}

.course-item-head[data-color="green"] .course-year {
  background: var(--mint-bg); color: var(--mint);
}
.course-item-head[data-color="sky"] .course-year {
  background: #EFF8FC; color: var(--sky);
}

.course-item-body .course-name {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
}

.course-item-body .course-name-en {
  font-size: 0.75rem;
  color: var(--text-lt);
  letter-spacing: 0.12em;
}

.course-item-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.course-link{
  color: var(--peach);
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-link::after{
  content: '→';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--peach);
  color: var(--peach);
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.course-link.g{
  color: var(--mint);
}
.course-link.g::after{
  border: 2px solid var(--mint);
  color: var(--mint);}

.course-link.s{
  color: var(--sky);
}
.course-link.s::after{
  border: 2px solid var(--sky);
  color: var(--sky);}

/* レスポンシブ */
@media (max-width: 768px) {
  
  .header-main { padding: 1rem 1.5rem; }
  .course-item,
  .course-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .course-item-img { height: 240px; }
  .course-item-body { padding: 2rem 1.5rem; }
  .course-item-body .course-name { font-size: 1.5rem; }
}

/* ===================================================
   就職・資格
=================================================== */

#career .more-link{
  text-align: center;
}
.career-inner {
  align-items: center;
}

.career-nums { 
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 1rem;
  margin-bottom: 40px; }

.cnum-card {
  animation: blob-morph 20s ease-in-out infinite;
  box-shadow: 0 12px 40px rgba(255, 140, 105, 0.28), 0 4px 16px rgba(255, 140, 105, 0.14);
  background: var(--peach-bg); border-radius: 1.3rem;
  padding: 5rem 0; 
  border: 2px solid var(--peach-lt);
  text-align: center; 
}
.cnum-card.g { 
  animation: blob-morph 15s ease-in-out infinite;
  background: var(--mint-bg); border-color: var(--mint-lt); }
.cnum-card.s { 
  animation: blob-morph 15s ease-in-out infinite;
  background: var(--sky-bg); 
  border-color: var(--sky-lt); }

.cnum-n { 
  font-size: 3.5rem; 
  font-weight: 900; 
  color: var(--peach); line-height: 1; 
}
.cnum-card.g .cnum-n { 
  color: var(--mint); }
.cnum-card.s .cnum-n { 
  color: var(--sky); }
.cnum-l { 
  font-size: 1.2rem; 
  color: var(--text-mid); 
  margin-top: 0.5rem; 
  font-weight: 500; }

.qual-list { 
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 0.8rem; 
  margin-bottom: 1.5rem; }

.qual-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1rem; background: var(--cream);
  border-radius: 0.9rem; border: 1.5px solid var(--border);
}

.qual-num {
  background: var(--peach); color: white;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 900; flex-shrink: 0;
}

.qual-name { 
  font-size: 1.5rem;
  font-weight: 700; 
  color: var(--text); }

/* ===================================================
   キャンパスライフ ナビバナー
=================================================== */
#campus-links {
  padding: 8rem 2rem;
}
.sec-head.campus{
  display: block;
  border-bottom: none;
}
.sec-head.campus .sec-head-left{
  text-align: center;
}
.campus-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 1rem;

}

.campus-btn {
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.campus-btn:hover {

  transform: translateY(-4px);
  border-color: var(--peach-lt);
}

.campus-btn-icon { 
  font-size: 2.5rem; margin-bottom: 0.7rem; 
}

  .campus-btn-icon img{
  animation: blob-morph 20s ease-in-out infinite;
  height: 300px;
  object-fit: cover;
  margin: auto;
  }

.campus-btn-ja   { 
  font-size: 1.2rem; 
  font-weight: 800; 
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; 
}

.campus-btn-ja::after {
  content: '→';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--peach);
  color: var(--peach);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.campus-btn:hover .campus-btn-ja::after ,.course-link:hover .course-link::after{
  background: var(--peach);
  color: white;
  transform: translateX(4px);
}

/* ===================================================
   FOOTER
=================================================== */
footer {
  background: linear-gradient(to bottom, #ffffff00 0%, #FFF8F0 100%,);
  padding: 3.5rem 3rem 0;
}

.ft-inner { max-width: 1200px; margin: 0 auto; }

.ft-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.ft-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }

.ft-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--peach), #FF6B6B);
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.ft-logo-name { 
  font-size: 3rem; 
  font-weight: 900; 
  color: var(--peach); 
  letter-spacing: 0.05em; }

.ft-address { 
  font-size: 0.9rem; 
  color: var(--text);
  line-height: 1.9; }

.ft-col-title {
  font-size: 1.3rem; 
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 0.12em; 
  color: var(--peach);
}

.ft-col-links { 
  list-style: none; display: grid; gap: 0.6rem; }

.ft-col-links a { font-size: 1rem; 
  color: var(--text);
  transition: color 0.15s; }
.ft-col-links a:hover { 
  color: var(--peach-lt); }

.ft-bottom {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 1.2rem 0; 
  font-size: 0.9rem; 
  color: var(--text);
}

.ft-sns { 
  display: flex; gap: 0.6rem; }

.ft-sns a {
  width: 34px; 
  height: 34px;
  background: rgba(255, 255, 255, 0.07); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: background 0.15s;
}

.ft-sns a:hover { background: rgba(255, 140, 105, 0.25); }

/* ===================================================
   REVEAL ANIMATION
=================================================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible { 
  opacity: 1; 
  transform: none; }

/* transition delay helpers */
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.1s; }
.d3 { transition-delay: 0.15s; }
.d4 { transition-delay: 0.2s; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1023px) {

  .hero-inner    { flex-direction: column; padding: 0 1rem; }
  .hero-visual   { width: 80%; top: -400px; right: 0; }
  .hero-text     { width: 100%; position: relative; z-index: 10;}
  .oc-grid       { grid-template-columns: repeat(2, 1fr); }
  .course-grid   { grid-template-columns: 1fr 1fr; }
  .career-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .qual-list     { grid-template-columns: 1fr;}
  .qual-name     { font-size: 1.3rem;}
  .campus-grid   { grid-template-columns: repeat(1, 1fr); }
  .other-grid    { grid-template-columns: 1fr 1fr; }
  .container     { padding: 0 1.5rem; }
  .ft-top        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .side-btns     { display: none; }
}

@media (max-width: 767px) {
  #header        { background: none; }
  .logo-name     { font-size: 2rem; }
  .logo-sub      { font-size: 1rem; padding: 70px 0 0; }
  .hero          { margin-top: 0; padding: 80px 0 0;}
  .hero-visual   { top: -300px; }
  .news-item     { display: block;}
  .news-text     { display: block;}
  .oc-grid       { grid-template-columns: repeat(1, 1fr); }
  .course-grid   { grid-template-columns: 1fr; }
  .campus-grid   { grid-template-columns: repeat(1, 1fr); }
  .other-grid    { grid-template-columns: 1fr; }
  .ft-top        { grid-template-columns: 1fr; }
  .career-nums   { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero          { margin-top: 0; padding: 30rem 0 0;}
}