/*
Theme Name: Kankyo Theme
Theme URI: https://example.com
Author: 武庫川女子大学
Author URI: https://example.com
Description: 武庫川女子大学 生活環境学科のオリジナルWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kankyo
*/

/* ========================================
 * @import
 * ======================================== */
@import url("https://fonts.googleapis.com/css2?family=Alata&display=swap");

/* ========================================
 * CSS Reset & Base Styles
 * ======================================== */

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

/* Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
}

/* HTML defaults */
html {
  overflow-x: hidden;
}

/* Featureページのみ200px */
html:has(#feature-page) {
  scroll-padding-top: 200px;
}

/* Body defaults */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #181737;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.2;
}

/* Images */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Forms */
input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.85;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Prevent text overflow */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* ========================================
 * Utility Classes (レスポンシブ表示切替)
 * ======================================== */
.pc-only {
  display: block;
}

.tablet-sp-only {
  display: none;
}

/* ========================================
 * Header
 * ======================================== */
#header {
  max-width: 1427px;
  width: calc(100% - 64px);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 16px;
  align-items: center;
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  left: 50%;
  transform: translateX(-50%);
  transition: padding 0.3s ease;
}

/* スクロール時: ヘッダーのpaddingを小さくする */
#header.scrolled {
  padding: 8px 32px 5px 32px;
  top: 5px;
}

/* フロントページ以外: ヘッダーを画面上部に固定表示風に */
body:not(.home) #header {
  border-radius: 16px;
  /* 角丸なし */
  margin-top: 5px;
  top: 0;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* single-teacher専用: ヘッダーを初期状態で非表示 */
body.single-teacher #header {
  transform: translateX(-50%) translateY(-120%);
  transition: transform 0.3s ease-in-out;
}

/* single-teacher専用: スクロール時にヘッダーを表示 */
body.single-teacher #header.header-visible {
  transform: translateX(-50%) translateY(0);
}

/* フロントページ以外: コンテンツエリアのスタイル */
.page-content-wrapper {
  /* max-width: 1427px; */
  width: 100%;
  margin: 0 auto;
}

.wrap-header-logo {
  max-width: 152px;
  width: 100%;
}

/* PC用ナビゲーション（1024px以上） */
.nav-pc {
  display: flex;
}

.nav-pc > ul {
  display: flex;
  align-items: center;
  gap: 55px;
}

.nav-pc > ul > li > a {
  font-weight: bold;
  font-size: 16px;
}

.nav-pc .email-icon {
  margin-left: -20px;
}

.nav-pc .instagram-icon {
  margin-left: -30px;
}

/* スマホ用ナビゲーション（1024px以下） - デフォルトは非表示 */
.nav-sp {
  display: none;
}

/* ハンバーガーメニューボタン - デフォルトは非表示 */
.hamburger-menu {
  display: none;
  /* デフォルトでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #181737;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ハンバーガーメニューが開いている時のアニメーション */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* メニューオーバーレイ - デフォルトは非表示 */
.menu-overlay {
  display: none;
}

/* PC表示ではレスポンシブ用ボタンを非表示 */
.button-container {
  display: none;
}

/* ========================================
 * Section: First View (FV)
 * ======================================== */
.first-view-area {
  background: linear-gradient(to bottom, #ebeae9, #fffdf9);
  padding-top: 16px;
  height: 1800px;
  position: relative;
  /* ★ 重ね順の基準にするため 'relative' を追加 */
}

.circle {
  background: url(img/hero-circle.png);
  height: 1200px;
  background-repeat: no-repeat;
  background-position: center 140%;
  /* ▼ 以下を追記 (背景として背面に固定) */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* 幅100% */
  z-index: 1;
  /* 背面 */
}

.mv-balloons {
  position: relative;
  min-height: 800px;
  max-width: 1320px;
  margin: 0 auto;
  z-index: 2;
  /* ★ 'relative' と 'z-index: 2' (前面) を追加 */
  top: 100px;
}

.balloon-1 {
  top: 2%;
  left: 0;
  width: 20.8%;
  position: absolute;
}

.balloon-2 {
  top: 7.9%;
  left: 28.2%;
  width: 20%;
  position: absolute;
}

.balloon-3 {
  top: -5%;
  left: 53.3%;
  width: 23.2%;
  position: absolute;
}

.balloon-4 {
  top: 9.5%;
  right: 0;
  width: 22.5%;
  position: absolute;
}

.balloon-5 {
  top: 38.4%;
  left: 8.3%;
  width: 19.1%;
  position: absolute;
}

.balloon-6 {
  display: block;
  top: 28.7%;
  right: 2%;
  width: 20.8%;
  position: absolute;
}

.balloon-6 img {
  width: 100%;
  height: auto;
  display: block;
}

.balloon-7 {
  top: 47%;
  left: 0;
  width: 29.6%;
  position: absolute;
}

.balloon-8 {
  top: 58.9%;
  left: 32.2%;
  width: 20%;
  position: absolute;
}

.balloon-9 {
  top: 52.3%;
  left: 56.4%;
  width: 13.9%;
  position: absolute;
}

.balloon-10 {
  top: 65.5%;
  right: 5%;
  width: 19.5%;
  position: absolute;
}

.balloon-mv {
  width: 43.8%;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 上下左右中央 */
}

/* --- Keyframes (バウンドアニメーションの定義) --- */
@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.5);
    /* 小さく透明な状態から開始 */
  }

  60% {
    opacity: 1;
    transform: scale(1.1);
    /* 100%を少し超えて拡大 (バウンド) */
  }

  80% {
    transform: scale(0.95);
    /* 少し縮小 (沈み込み) */
  }

  100% {
    opacity: 1;
    transform: scale(1);
    /* 最終的なサイズ */
  }
}

/* --- バルーンの初期状態 --- */
/* すべてのバルーンを最初は非表示に */
.mv-balloons .balloon {
  opacity: 0;
}

/* 中央(MV)のバルーン: 初期状態 (センタリング + 縮小) */
.mv-balloons .balloon.balloon-mv {
  transform: translate(-50%, -50%) scale(0.9) translateY(10px);
  /* 中央の画像はバウンドさせず、シンプルな transition を使用 */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* --- バルーンの表示状態 (JSで .is-visible が追加された時) --- */
/* 中央(MV)のバルーン: 表示状態 */
.mv-balloons .balloon.balloon-mv.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) translateY(0);
}

/* 「中央以外」のバルーン: 表示状態 */
.mv-balloons .balloon.is-visible:not(.balloon-mv) {
  /* .is-visible が追加されたら、@keyframes で定義したアニメーションを実行 */
  animation: bounce-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ========================================
 * Section: About
 * ======================================== */
.about {
  position: relative;
  /* ★ 'relative' を追加 */
  max-width: 630px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
  margin-top: 240px;
  z-index: 2;
  /* ★ 'z-index: 2' (前面) を追加 */
}

/* 黄色の小さい丸 */
.circle-small {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #f4e17b, #f9ed9e);
  border-radius: 50%;
  position: absolute;
  top: -90px;
  right: -30px;
}

/* オレンジ〜黄色のグラデーション大きい丸 */
.circle-large {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #e8b574, #f4e17b);
  border-radius: 50%;
  position: absolute;
  top: -60px;
  right: 0;
}

/* オレンジ〜ピンクの大きい丸 */
.circle-orange-pink {
  width: 61px;
  height: 61px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5c896 0%, #f4a895 100%);
  position: absolute;
  bottom: -53px;
  left: -30px;
}

/* グリーンの小さい丸 */
.circle-green {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d4e6b5 0%, #a8d5b5 100%);
  position: absolute;
  bottom: -100px;
  left: 45px;
}

/* ========================================
 * Section: Feature
 * ======================================== */
.feature-section {
  background: #f6eddb;
  padding: 60px 20px 80px;
  position: relative;
  /* overflow-x: hidden; */
}

.feature-section::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 100px;
  top: -99px;
  background: #f6eddb;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
}

/* 下部の曲線 */
.feature-section::after {
  content: "";
  position: absolute;
  bottom: -99px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  width: 120%;
  height: 100px;
  background: #f6eddb;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
}

.section-title {
  font-family: "Alata", sans-serif;
  font-weight: bold;
  max-width: 992px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 50px;
}

.section-title p {
  font-size: 25.88px;
  margin-bottom: -10px;
}

.section-title h2 {
  font-size: 82.81px;
  font-weight: 500;
}

.feature-inner-content {
  display: flex;
  margin-left: auto;
  margin-right: 150px;
  padding-left: calc((100% - 992px) / 2);
  gap: 80px;
  align-items: center;
}

.feature-text-area {
  max-width: 619px;
  width: 100%;
}

.feature-text-area-content p.point,
.feature-text-area-content h3 {
  font-family: "Alata", sans-serif;
  font-weight: bold;
}

.feature-text-area-content p.point {
  font-size: 24px;
  margin-bottom: 35px;
  margin-top: 50px;
}

.feature-text-area-content h3 {
  font-size: 32px;
  margin-bottom: 35px;
}

.feature-text-area-content .description {
  margin-bottom: 50px;
  font-size: 20px;
}

.feature-image-area {
  position: relative;
}

.feature-image-area img {
  max-width: 384px;
  width: 100%;
  border-radius: 30px;
  position: relative;
  z-index: 2;
  display: block;
}

/* 基本サークルスタイル */
.feature-image-area .deco-circle {
  position: absolute;
  border-radius: 50%;
}

/* 左上のグリーンサークル（中） */
.feature-image-area .circle-green {
  width: 39px;
  height: 39px;
  background: linear-gradient(180deg, #bfd791 0%, #bce3e1 100%);
}

.feature-image-area .circle-top {
  top: -60px;
  left: 60px;
  z-index: 10;
}

/* 左側のオレンジ〜ピンクサークル（小） */
.feature-image-area .circle-orange {
  width: 27px;
  height: 27px;
  background: linear-gradient(180deg, #f2ac82 0%, #f09c89 100%);
}

.feature-image-area .circle-left {
  top: -20px;
  left: 30px;
  z-index: 10;
}

/* 右下の小さいイエローサークル */
.feature-image-area .circle-yellow {
  width: 24px;
  height: 24px;
  background: linear-gradient(180deg, #dbe37b 0%, #e8d26a 100%);
}

.feature-image-area .circle-bottom {
  bottom: 20px;
  right: 80px;
  z-index: 10;
}

/* 右下のブルー〜グリーンサークル（中） */
.feature-image-area .circle-blue {
  width: 39px;
  height: 39px;
  background: linear-gradient(180deg, #e8d26a 0%, #bce3e1 100%);
}

.feature-image-area .circle-bottom-right {
  bottom: -32px;
  right: 20px;
  z-index: 10;
}

/* 下中央の大きいイエロー〜オレンジサークル */
.feature-image-area .circle-large-yellow {
  width: 63px;
  height: 63px;
  background: linear-gradient(180deg, #e8d26a 0%, #f2ac82 100%);
}

.feature-image-area .circle-bottom-center {
  bottom: -78px;
  right: 74px;
  z-index: 10;
}

/* ========================================
 * Component: Button
 * ======================================== */
.btn a {
  /* レイアウト (Figmaの仕様を反映) */
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 440px;
  font-size: 24px;
  height: 88px;
  box-sizing: border-box;
  /* サイズ計算を容易にするため */
  padding: 0 30px 0 30px;
  /* デザイン */
  background-color: #181737;
  /* 濃い紺色 */
  color: #ffffff;
  border-radius: 50px;
  /* Figmaの仕様 (16) を反映 */
  text-decoration: none;
  /* シャドウ (Figmaの仕様を反映) */
  box-shadow: 7px 7px 0 0 rgba(0, 0, 0, 0.15);
  font-weight: bold;
  /* アニメーション */
  transition: all 0.3s ease;
  /* ポジショニングとアニメーション準備 */
  position: relative;
  /* transformの基準点に */
  top: 0;
  /* 初期位置 */
  left: 0;
  /* 初期位置 */
}

/* 矢印アイコン */
.btn a::after {
  content: "►";
  font-size: 0.8em;
  margin-left: 16px;
  transition: all 0.3s ease-out;
}

/* ホバー効果 (影の指定をFigmaの値に近づけます) */
.animation-btn a:hover {
  top: 7px;
  /* 影のY軸オフセット分下に移動 */
  left: 7px;
  /* 影のX軸オフセット分右に移動 */
  box-shadow: none;
  /* 影をなくす */
  opacity: 0.85;
}

.animation-btn a:hover::after {
  transform: scale(1.35);
  /* 1.25倍に拡大 (元の1em相当) */
}

.feature-section div.btn {
  max-width: 992px;
  width: 100%;
  margin: 0 auto;
  margin-top: 60px;
}

/* ========================================
 * Section: Research
 * ======================================== */
section.research {
  margin-top: 250px;
  position: relative;
}

.research .about {
  margin-top: 60px;
  font-size: 20px;
  max-width: 700px;
}

section.research .btn {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 120px;
}

/* ========================================
 * Section: Activities
 * ======================================== */
section.activities {
  background-image: url(img/activities_purple.png);
  padding: 180px 0 380px 0;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* --- サークルの基本スタイル --- */
section.activities .activities-deco-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  /* コンテンツより後ろに配置 */
}

/* --- コンテンツをサークルより手前に表示 --- */
section.activities .section-title,
section.activities .about,
section.activities .btn {
  position: relative;
  z-index: 2;
  /* サークル(z-index: 1)より手前 */
}

/* --- 右上のサークル (大・緑系) --- */
section.activities .activities-circle-tr-green {
  width: 63px;
  height: 63px;
  background: linear-gradient(180deg, #bfd791 0%, #bce3e1 100%);
  top: -2.5%;
  right: 5%;
}

/* --- 右上のサークル (小・オレンジ系) --- */
section.activities .activities-circle-tr-orange {
  width: 30px;
  height: 30px;
  background: linear-gradient(180deg, #f2ac82 0%, #f09c89 100%);
  top: 50px;
  right: 10%;
  /* 位置は画面幅に応じて調整してください */
}

/* --- 左下のサークル (大・黄系) --- */
section.activities .activities-circle-bl-yellow {
  width: 80px;
  height: 80px;
  background: linear-gradient(180deg, #e8d26a 0%, #f2ac82 100%);
  bottom: 110px;
  left: 8%;
  z-index: 1000;
}

/* --- 左下のサークル (小・緑系) --- */
section.activities .activities-circle-bl-green {
  width: 24px;
  height: 24px;
  background: linear-gradient(180deg, #bfd791 0%, #bce3e1 100%);
  bottom: 60px;
  left: 5%;
  z-index: 1000;
}

section.activities .about {
  margin-top: 60px;
  font-size: 20px;
  max-width: 992px;
  margin: 0 auto;
  text-align: left;
}

section.activities .btn {
  width: 982px;
  margin: 0 auto;
  margin-top: 300px;
}

section.activities .btn a {
  background-color: #fff;
  color: #181737;
}

/* ========================================
 * Component: Carousel (Swiper)
 * ======================================== */
section.research .carousel,
.other-teacher .carousel {
  max-width: 1480px;
  width: 100%;
  margin: 60px auto 0;
  padding: 0;
  /* paddingはSwiper側で制御 */
  position: relative;
  /* overflow-x: hidden; */
  height: 120%;
  padding: 20px 0;
  box-sizing: border-box;
}

/* Swiper カルーセルのスタイル */
.facultySwiper {
  width: 100%;
  padding: 20px 0;
  /* カードの影のための余白 */
  /* ★ 最重要: overflow: visible に変更 */
  overflow: visible !important;
}

/* スライド（固定幅） */
.facultySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faculty-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  /* モバイルでは100% */
  max-width: 467px;
  /* 最大幅 */
  transition: transform 0.3s ease;
  /* ★ 変更: テキストボックスを重ねるための基準 */
  position: relative;
}

.faculty-image {
  width: 100%;
  overflow: hidden;
  /* はみ出た部分を隠す */
  border-radius: 16px;
  /* 親要素に角丸を適用 */
}

.faculty-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.faculty-image img {
  width: 100%;
  object-fit: cover;
  display: block;
  /* 余白を消す */
  border-radius: 16px;
  /* 画像自体にも角丸を適用 */
  transition: transform 0.3s ease;
  /* スムーズなアニメーション */
}

/* ホバー時のスケールアップ */
.faculty-image:hover img,
.faculty-image a:hover img {
  transform: scale(1.1);
  /* 1.1倍に拡大 */
}

.faculty-content {
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 16px;
  background-color: #fff;
  padding: 6px 9px;
  border: 1px solid #000000;
  max-width: 347px;
  box-sizing: border-box;
}

.faculty-name {
  font-size: 18px;
  font-weight: bold;
  color: #181737;
  margin: 0 0 12px 0;
}

.faculty-text {
  font-size: 19.42px;
  /* 画像の見た目に合わせる */
  line-height: 1.6;
  color: #181737;
  margin: 0;
  font-weight: bold;
  line-height: 1.3;
}

/* ナビゲーションボタンのカスタマイズ */
.facultySwiper .swiper-button-prev,
.facultySwiper .swiper-button-next {
  width: 80px;
  height: 50px;
  background-color: #181737;
  border-radius: 25px;
  /* 楕円形 */
  color: #fff;
}

.facultySwiper .swiper-button-prev:after,
.facultySwiper .swiper-button-next:after {
  content: "";
  font-size: 0;
}

/* 左矢印 - 横棒 */
.facultySwiper .swiper-button-prev::before {
  content: "";
  position: absolute;
  width: 27px;
  height: 4px;
  background-color: #fff;
  left: 46%;
  top: 50%;
  transform: translate(-30%, -50%);
}

/* 左矢印 - 先端 */
.facultySwiper .swiper-button-prev::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  left: 55%;
  top: 50%;
  transform: translate(-150%, -50%) rotate(45deg);
  border-radius: 2px;
}

/* 右矢印 - 横棒 */
.facultySwiper .swiper-button-next::before {
  content: "";
  position: absolute;
  width: 27px;
  height: 4px;
  background-color: #fff;
  right: 45%;
  top: 50%;
  transform: translate(30%, -50%);
}

/* 右矢印 - 先端 */
.facultySwiper .swiper-button-next::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-right: 4px solid #fff;
  border-top: 4px solid #fff;
  right: 55%;
  top: 50%;
  transform: translate(150%, -50%) rotate(45deg);
  border-radius: 2px;
}

.facultySwiper .swiper-button-prev:hover,
.facultySwiper .swiper-button-next:hover {
  background-color: #2a2a3e;
}

/* ========================================
 * Section: Career
 * ======================================== */
section.career {
  position: relative;
  background-image: url(img/career.png);
  min-height: 300px;
  z-index: 100;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -200px;
  padding-top: 180px;
  padding-bottom: 400px;
}

section.career .about {
  margin-top: 80px;
  max-width: 700px;
}

section.career .btn {
  text-align: center;
  margin-top: 120px;
}

/* ========================================
 * Section: Admission
 * ======================================== */
section.admission {
  position: relative;
  background-image: url(img/admission.png);
  min-height: 300px;
  z-index: 100;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -200px;
  padding-top: 300px;
  padding-bottom: 320px;
}

/* --- コンテンツをサークルより手前に表示 --- */
section.admission .section-title,
section.admission .about,
section.admission .examinee-link {
  position: relative;
  z-index: 2;
  /* サークル(z-index: 1)より手前 */
}

/* --- サークルの基本スタイル --- */
section.admission .admission-deco-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  /* コンテンツより後ろに配置 */
  opacity: 0.8;
  /* 画像に合わせて少し薄くする */
}

/* --- 右上のサークル (小・オレンジ系) --- */
section.admission .admission-circle-tr-orange {
  width: 30px;
  height: 30px;
  background: linear-gradient(180deg, #f2ac82 0%, #f09c89 100%);
  top: -14px;
  right: 20%;
}

/* --- 左下のサークル (小・黄系) --- */
section.admission .admission-circle-bl-yellow {
  width: 24px;
  height: 24px;
  background: linear-gradient(180deg, #dbe37b 0%, #e8d26a 100%);
  bottom: 230px;
  left: 12%;
  z-index: 1000;
}

section.admission .about {
  margin-top: 80px;
  max-width: 700px;
}

section.admission .examinee-link {
  max-width: 490px;
  width: 100%;
  margin: 0 auto;
  margin-top: 80px;
  text-align: center;
}

section.admission .examinee-link p {
  margin-top: 45px;
  font-weight: 600;
}

section.admission .examinee-link img {
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.15);
  /* アニメーション */
  transition: all 0.3s ease;
  position: relative;
  /* transformの基準点に */
  top: 0;
  /* 初期位置 */
  left: 0;
  /* 初期位置 */
}

section.admission .examinee-link img:hover {
  top: 6px;
  /* 影のY軸オフセット分下に移動 */
  left: 6px;
  /* 影のX軸オフセット分右に移動 */
  box-shadow: none;
  /* 影をなくす */
  opacity: 0.85;
}

/* ========================================
 * Section: FAQ
 * ======================================== */
section.faq {
  position: relative;
  background-image: url(img/faq.png);
  min-height: 300px;
  z-index: 100;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -200px;
  padding-top: 200px;
  padding-bottom: 200px;
}

/* --- FAQのコンテンツをサークルより手前に表示 --- */
section.faq .section-title,
section.faq .faq-inner {
  position: relative;
  z-index: 2;
  /* サークル(z-index: 1)より手前 */
}

/* --- FAQサークルの基本スタイル --- */
section.faq .faq-deco-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  /* コンテンツより後ろに配置 */
  opacity: 0.8;
}

/* --- (移動) 左上上のサークル (大・緑系) --- */
section.faq .faq-circle-bl-green {
  width: 70px;
  height: 70px;
  background: linear-gradient(180deg, #bfd791 0%, #bce3e1 100%);
  top: -9px;
  left: 7%;
}

/* --- FAQコンテナ --- */
.faq-inner {
  width: 992px;
  margin: 0 auto;
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
}

.faq-item {
  margin-bottom: 24px;
}

/* --- 質問部分 --- */
.faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  height: 93px;
  box-sizing: border-box;
  padding: 0 30px;
  background: #ffffff;
  border: 1px solid #181737;
  border-radius: 16px;
  color: #181737;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: border-radius 0.2s ease;
  position: relative;
  z-index: 10;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question {
  list-style: none;
}

/* --- Q / A アイコン --- */
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Alata", sans-serif;
  font-size: 20px;
  font-weight: bold;
}

.faq-icon-q {
  background: #181737;
  margin-right: 20px;
}

.faq-icon-a {
  background: #181737;
  margin-right: 20px;
}

/* --- 質問テキスト --- */
.faq-question-text {
  flex-grow: 1;
  text-align: left;
  text-align: justify;
}

/* --- 開閉矢印 (カスタム) --- */
.faq-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 3px solid #181737;
  border-bottom: 3px solid #181737;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* --- 回答部分 (修正箇所) --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out;
  /* ↓ 元のスタイル */
  background: #f8f8f8;
  border: 1px solid #181737;
  border-top: none;
  border-radius: 0 0 16px 16px;
  margin-top: -16px;
  position: relative;
  z-index: 5;
  /* ★重要: 親要素の padding は 0 にする */
  padding: 0;
}

/* ★重要: 中身の .faq-answer-content に padding を設定する */
.faq-answer-content {
  display: flex;
  align-items: flex-start;
  padding: 39px 30px 27px 30px;
  /* ← ここに padding を移動 */
}

.faq-answer-text {
  margin: 0;
  color: #181737;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

/* --- 開いたときの動作 --- */
.faq-item[open] > .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-item[open] .faq-arrow {
  transform: rotate(-135deg);
  /* 矢印を上向きに */
}

/* 開いたときの .faq-answer のスタイル */
.faq-item[open] > .faq-answer {
  /* コンテンツの高さより十分大きな値を設定 */
  max-height: 2000px;
  /* 全てのコンテンツが表示されるように十分な高さを確保 */
}

/* ========================================
 * Section: News
 * ======================================== */
section.news {
  padding-bottom: 200px;
  position: relative;
}

section.news .section-title {
  margin-top: 180px;
}

/* --- Newsセクションの装飾丸 --- */
section.news .news-deco-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

/* 右上のオレンジ系（大） */
section.news .news-circle-orange {
  width: 63px;
  height: 63px;
  background: linear-gradient(180deg, #f2ac82 0%, #f0da89 100%);
  top: -212px;
  right: 8%;
  z-index: 300;
}

/* 右中央の緑系（中） */
section.news .news-circle-green {
  width: 45px;
  height: 45px;
  background: linear-gradient(180deg, #bfd791 0%, #bce3e1 100%);
  top: -140px;
  right: 12%;
}

/* 右下の黄色系（小） */
section.news .news-circle-yellow {
  width: 30px;
  height: 30px;
  background: linear-gradient(180deg, #dbe37b 0%, #e8d26a 100%);
  top: -90px;
  right: 6%;
}

/* --- News List --- */
.news-list {
  max-width: 888px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  border-top: 1px solid #c0c0c0;
  /* リスト全体の上の線 */
  min-height: 400px;
}

.news-item {
  border-bottom: 1px solid #c0c0c0;
  /* 各項目の下の線 */
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 24px;
  /* 各要素の間隔 */
  padding: 30px 10px;
  /* 上下の余白 */
  text-decoration: none;
  color: inherit;
  /* 親の文字色を継承 */
  transition: background-color 0.2s ease;
}

.news-item a:hover {
  background-color: #f9f9f9;
  /* わずかにホバー色をつける */
}

/* --- 日付 --- */
.news-date {
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
  /* 縮まないように */
  width: 90px;
  /* 幅を固定して揃える */
  color: #333;
}

/* --- カテゴリ --- */
.news-category {
  flex-shrink: 0;
  background-color: #bce3e1;
  /* デフォルト色（カテゴリー未設定の場合） */
  color: #fff;
  /* 白文字 */
  padding: 6px 0px;
  border-radius: 50px;
  /* ピル型 */
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  width: 98px;
  text-align: center;
}

/* --- カテゴリーごとの色設定 (News Archiveより) --- */
.news-category[data-category*="education"] {
  background-color: #e8d26b;
}

.news-category[data-category*="research"] {
  background-color: #8ad2d4;
}

.news-category[data-category*="student-activities"] {
  background-color: #f1a088;
}

.news-category[data-category*="careers"] {
  background-color: #a2d998;
}

.news-category[data-category*="admissions"] {
  background-color: #f3b3b3;
}

/* --- タイトル --- */
.news-title {
  flex-grow: 1;
  /* 残りのスペースをすべて使う */
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  text-align: left;
  line-height: 1.6;
  text-align: justify;
}

/* --- 矢印アイコン (円) --- */
.news-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: #181737;
  /* 濃い紺色 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* --- 矢印アイコン (中身) --- */
.news-arrow::after {
  content: "";
  width: 8px;
  /* 矢印のサイズ */
  height: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-left: -2px;
  /* 視覚的な中央揃え */
}

/* 矢印のホバーアニメーション */
.news-item a:hover .news-arrow {
  transform: translateX(5px);
}

.news .btn {
  max-width: 888px;
  text-align: right;
  margin: 0 auto;
  margin-top: 120px;
}

/* ========================================
 * Footer
 * ======================================== */
.footer-img {
  padding: 90px 0;
  background-image: url(img/footer-img.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.download-button-container img {
  width: 27px;
}

/* ボタンを配置するコンテナ */
.download-button-container {
  text-align: center;
  padding: 80px 20px;
}

.download-button {
  /* レイアウト */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 45px;
  gap: 15px;
  /* デザイン */
  background-color: #181737;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  /* ★ 白い枠線 */
  border: 5px solid #ffffff;
  /* フォント */
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 7px 7px 0 0 rgba(0, 0, 0, 0.15);
  /* ★ ポジショニングとアニメーション準備 */
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.25s ease-out;
  /* ★ 影との重なり順を確保 */
  z-index: 2;
  /* ★ ホバー時の透明度 */
  opacity: 1;
}

/* ホバー時のアニメーション */
.download-button:hover {
  /* ★ 影のオフセット分、ボタンを移動させる */
  top: 6px;
  left: 6px;
  box-shadow: 0px 0px 0 0 rgba(0, 0, 0, 0.15);
  /* ★ 不透明度を変更 */
  opacity: 0.85;
}

.download-icon {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  margin-right: 15px;
}

footer {
  /* padding-bottom: 180px; */
  background-color: #f3f3f3;
}

.footer-contents {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 90px 0;
}

.footer-contents .footer-left-col {
  max-width: 241px;
  width: 100%;
}

.footer-contact a {
  margin-bottom: 27px;
  display: block;
}

.footer-contact a img {
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.2s ease;
}

.footer-contact a img:hover {
  top: 1px;
  left: 1px;
  box-shadow: none;
}

.contents-wrap {
  display: flex;
  justify-content: space-between;
}

.footer-right-col {
  display: flex;
  max-width: 551px;
  width: 100%;
  justify-content: space-between;
}

.footer-nav ul li {
  margin-bottom: 37px;
}

.footer-nav ul li:last-child {
  margin-bottom: 0;
}

.footer-nav ul li a {
  font-weight: 600;
  margin-bottom: 20px;
}

nav.footer-nav {
  padding-left: 39px;
  border-left: 1px solid #181737;
}

/* ========================================
 * Section: More Info (Related Content)
 * ======================================== */
.more-info {
  background-color: #ebe8e5;
  padding: 82px 12px;
}

.more-info-card > a {
  width: 100%;
  max-width: 298px;
  display: block;
  background-color: #fff;
  padding-bottom: 18px;
}

.more-info-card > a > div {
  overflow: hidden;
}

.more-info-card img {
  transition: transform 0.3s ease;
  display: block;
}

.more-info-card > a:hover img {
  transform: scale(1.1);
}

.more-info h2 {
  font-size: 32px;
  text-align: center;
  color: #181737;
  margin-bottom: 82px;
}

.more-info-wrap-card {
  display: flex;
  max-width: 994px;
  width: 100%;
  justify-content: center;
  gap: 50px;
  margin: auto;
}

.more-info-wrap-card p {
  color: #181737;
  font-size: 16px;
  margin-top: 54px;
  font-weight: bold;
  font-family: "Alata", sans-serif;
}

.more-info-wrap-card h3 {
  color: #181737;
  font-size: 47px;
  font-family: "Alata", sans-serif;
  font-weight: 500;
}

.more-info-wrap-card p,
.more-info-wrap-card h3 {
  padding-left: 24px;
}

/* ========================================
 * Page: 教員一覧 (archive-teacher.php)
 * ======================================== */
header.archive-header {
  margin-top: 200px;
  text-align: center;
  padding: 24px;
}

header.archive-header h1 {
  font-size: 26px;
  color: #181737;
}

header.archive-header h2 {
  font-size: 82px;
  color: #181737;
  font-family: "Alata", sans-serif;
  font-weight: 400;
  margin-top: -10px;
}

header.archive-header p {
  font-size: 20px;
  font-weight: bold;
  margin: 180px auto 120px auto;
}

/* タグフィルター */
.teacher-filter {
  margin: 40px auto;
  max-width: 1002px;
  padding: 0 20px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding-top: 20px;
  padding-bottom: 30px;
  text-align: center;
}

.teacher-filter ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-list li {
  margin: 0;
}

.filter-tag {
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  max-width: 193px;
  color: #181737;
  background-color: #ebebeb;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  border: 1px solid #181737;
  width: 100%;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  padding: 0 2px;
}

.filter-tag:hover {
  opacity: 0.85;
}

.filter-tag.active {
  background: #181737;
  color: #fff;
  border-color: #181737;
}

/* 教員一覧グリッド */
.teacher-list {
  display: grid;
  grid-template-columns: repeat(3, 318px);
  gap: 24px;
  max-width: 1002px;
  margin: 60px auto;
  padding: 0 20px;
  justify-content: center;
  min-height: 400px;
}

.teacher-list-hr {
  border: none;
  border-top: 1px solid #000;
  width: 89%;
  margin: 21px auto 9px auto;
}

/* 教員カード */
.teacher-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.1);
  padding: 18px;
  border: 1px solid #d9d9d9;
  margin-bottom: 21px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* 教員カードのアニメーション */
.teacher-card.fade-out {
  opacity: 0;
}

.teacher-card.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.teacher-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.teacher-card:hover .teacher-card-link {
  opacity: 0.85;
}

/* 教員カード画像 */
.teacher-card-image {
  width: 100%;
  height: 343px;
  overflow: hidden;
}

.teacher-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-card-image img {
  transform: scale(1.05);
}

.teacher-card-category {
  display: inline-block;
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
  margin-top: 12px;
}

/* カテゴリーごとの色 */
.teacher-card-category.category-machizukuri {
  background-color: #f9b75b;
}

.teacher-card-category.category-apparel {
  background-color: #6bd2ff;
}

.teacher-card-category.category-design {
  background-color: #faadad;
}

.teacher-card-name {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.teacher-card-position {
  font-size: 20px;
  color: #000;
  margin: 0 0 12px 0;
}

.teacher-card-catchphrase {
  font-size: 20px;
  color: #000;
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
 * Page: 教員個別 (single-teacher.php)
 * ======================================== */
body.single-teacher {
  padding-top: 0 !important;
}

/* ヒーロー画像 */
.teacher-hero {
  width: 100%;
  max-height: 706px;
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
  margin-top: 0;
}

.teacher-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* キャッチコピーと教員情報をまとめるラッパー */
.teacher-header-group {
  background-color: #fff7e9;
  position: relative;
}

/* キャッチコピー */
.teacher-catchphrase {
  font-size: 34px;
  font-weight: bold;
  font-weight: 600;
  line-height: 1.6;
  color: #181737;
  margin: 0 auto;
  padding: 45px 20px;
  max-width: 1145px;
  width: 100%;
  box-sizing: border-box;
}

/* 教員情報カード */
.teacher-info-card {
  position: absolute;
  background-color: #f3f3f3;
  padding: 44px 10px 44px 42px;
  right: 0;
  top: 150px;
  display: flex;
  max-width: 600px;
  width: 100%;
  gap: 20%;
  align-items: end;
  opacity: 0.9;
}

.teacher-name {
  font-size: 36px;
  font-weight: 700;
  color: #181737;
  margin: 0 0 15px 0;
}

.teacher-meta {
  display: block;
}

.teacher-category-badge {
  background-color: #6bd2ff;
  color: #fff;
  padding: 4px 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 3px;
  text-align: center;
}

.teacher-classroom-badge {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 9px;
}

/* プロフィールセクション */
.teacher-profile-section {
  max-width: 940px;
  margin: 200px auto 60px auto;
  box-sizing: border-box;
}

.section-heading {
  font-size: 36px;
  font-weight: 500;
  color: #181737;
  margin-bottom: 30px;
  font-family: "Alata", sans-serif;
}

.teacher-profile-box {
  background-color: #ebebea;
  padding: 62px 36px 72px 36px;
  border-radius: 30px;
  line-height: 2;
  font-size: 16px;
  color: #000;
  text-align: justify;
}

/* 本文コンテンツ */
.teacher-main-content {
  line-height: 1.8;
  font-size: 16px;
  color: #000;
  background-color: #fff7e9;
  padding: 120px 0 150px 0;
}

.teacher-main-content .content-wrap {
  max-width: 949px;
  width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
  margin: 0 auto;
}

.teacher-main-content h2 {
  font-size: 34px;
  font-weight: 700;
  color: #181737;
  margin: 60px 0 45px;
}

.teacher-main-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #181737;
  margin: 40px 0 20px;
}

.teacher-main-content p {
  margin-bottom: 20px;
  letter-spacing: 1.4px;
  line-height: 2.1;
  text-align: justify;
}

.teacher-main-content ul,
.teacher-main-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.teacher-main-content li {
  margin-bottom: 10px;
}

.teacher-main-content img {
  max-width: 679px;
  width: 100%;
  margin: 70px auto 100px auto;
  border-radius: 15px;
}

p.image-caption {
  max-width: 679px;
  width: 100%;
  text-align: right;
  margin: -90px auto 100px auto;
}

.other-teacher {
  padding: 30px 0 112px 0;
}

.other-teacher h2 {
  font-size: 32px;
  color: #181737;
  text-align: center;
  margin-top: 180px;
}

/* ========================================
 * Page: 活動紹介 (page-activities.php)
 * ======================================== */
.activities-hero-image {
  background-image: url(img/activities-hero.webp);
  background-size: cover;
  margin-left: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  margin-bottom: 120px;
}

#activities-page .section-title {
  margin-top: -100px;
  color: #fff;
  padding: 300px 0 350px 0;
}

.page-description {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  line-height: 2;
  text-align: center;
}

#activities-page .page-description {
  margin-bottom: 120px;
}

/* カード全体のスタイル */
.showcase-item {
  background-color: #fff5eb;
  border-radius: 40px;
  padding: 40px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 85%;
  box-sizing: border-box;
  justify-content: space-between;
  margin-bottom: 66px;
}

/* 1つ目のアイテム (左に余白) */
.showcase-item:nth-child(1) {
  margin-left: 0;
  margin-right: 15%;
}

.showcase-item:nth-child(2) {
  margin-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  padding-right: 13%;
  border-radius: 70px 0 0 70px;
  padding-left: 80px;
  justify-content: center;
  gap: 90px;
  box-shadow: 6px 4px 4px 3px rgba(0, 0, 0, 0.3);
}

.showcase-item:nth-child(3) {
  margin-left: 0;
  margin-right: 15%;
  padding-left: 13%;
  border-radius: 0 70px 70px 0;
  padding-right: 80px;
  justify-content: center;
  gap: 90px;
  box-shadow: -6px 4px 4px 3px rgba(0, 0, 0, 0.3);
}

.showcase-item:nth-child(4) {
  margin-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  padding-right: 13%;
  padding-left: 80px;
  border-radius: 70px 0 0 70px;
  justify-content: center;
  gap: 90px;
  box-shadow: 6px 4px 4px 3px rgba(0, 0, 0, 0.3);
}

.showcase-item:nth-child(5) {
  margin-left: 0;
  margin-right: 15%;
  padding-left: 13%;
  border-radius: 0 70px 70px 0;
  padding-right: 80px;
  justify-content: center;
  gap: 90px;
  box-shadow: -6px 4px 4px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 180px;
}

/* テキストコンテンツエリア */
.showcase-text {
  flex: 1;
  min-width: 300px;
  max-width: 385px;
  width: 100%;
}

/* 画像コンテンツエリア */
.showcase-image {
  flex: 1;
  max-width: 500px;
  width: 100%;
}

/* 見出し (h2) */
.showcase-text h2 {
  font-size: 32px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #181737;
  margin-bottom: 36px;
  justify-content: flex-start;
  gap: 14px;
}

/* 見出しの前の丸いアイコン */
.showcase-text h2::before {
  content: "";
  display: inline-block;
  width: 29px;
  height: 29px;
  background-color: #181737;
  border-radius: 50%;
  margin-bottom: -6px;
  min-width: 29px;
  min-height: 29px;
}

/* 段落 (p) */
.showcase-text p {
  font-size: 16px;
  line-height: 2;
  color: #000;
  letter-spacing: 1.7px;
}

/* SNSアイコンのリンク */
.social-icon-link {
  display: inline-block;
  width: 70px;
  height: 70px;
  margin-top: 30px;
  text-decoration: none;
  margin-left: -10px;
}

/* 画像のプレースホルダー */
.image-placeholder {
  width: 100%;
  height: 350px;
  background-color: #eeeeee;
  border-radius: 20px;
}

/* ========================================
 * Page: 進路・就職 (page-career.php)
 * ======================================== */
section#career-page {
  padding-top: 210px;
}

section#career-page .page-description {
  text-align: left;
  max-width: 998px;
  width: 100%;
  margin: 0 auto 100px auto;
}

/* (1) 全体をまとめるラッパー */
.career-section-wrapper {
  position: relative;
  /* 重ね合わせの基準 */
  padding: 60px 0;
  /* セクション全体の上下余白 */
}

/* (2) 背景用のCSS (旧 .career-content) */
.career-content-background {
  background-color: #fff7e9;
  border-radius: 30px 0 0 30px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 10%;
  width: 90%;
  height: 100%;
}

.career-content-inner {
  max-width: 998px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.career-content-inner .card {
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 20px;
  max-width: 449px;
  width: 100%;
}

.career-content-inner .card-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
}

.career-content span,
.employment span {
  font-family: "Alata", sans-serif;
  font-size: 96px;
  color: rgba(24, 23, 55, 0.51);
  font-weight: 400;
  margin-left: 30px;
  margin-right: 12px;
}

.career-content h3,
.employment h3 {
  font-size: 40px;
  margin-bottom: 120px;
}

.career-content .card-description {
  padding: 20px;
  box-sizing: border-box;
}

.card-description > p.comment {
  color: #181737;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1.7px;
  line-height: 1.3;
  margin-bottom: 24px;
  text-align: justify;
}

.career-content-inner .card img {
  background-color: #fff7e9;
}

.career-content-inner small {
  color: #3c3c3c;
  font-size: 16px;
}

.career-content-inner .tag {
  color: #fff;
  background-color: #181737;
  text-align: center;
  font-size: 12px;
  padding: 2px 12px;
  margin: 9px 0;
  display: inline-block;
}

.career-content-inner p.company-name {
  font-size: 20px;
  font-weight: 500;
  margin-top: 5px;
  line-height: 1.2;
}

.career-content-inner p.occupation {
  font-size: 16px;
  margin-top: 9px;
}

.employment {
  margin-top: 129px;
}

/* (1) 親ラッパー（これが基準点になります） */
.employment-section-wrapper {
  position: relative;
  /* ★ これが必須です */
  padding: 60px 0;
}

/* (2) 背景用のCSS */
.employment-content-background {
  background-color: #fff7e9;
  border-radius: 30px 0 0 30px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 10%;
  width: 90%;
  height: 100%;
}

/* (3) 中身用のCSS */
.career-content-inner {
  max-width: 998px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 15px;
  box-sizing: border-box;
}

.near-future {
  background-color: #fff;
  padding: 30px;
  line-height: 1.8;
}

.employment h4 {
  font-size: 24px;
  margin-bottom: 45px;
  color: #181737;
}

.employment h4::before {
  content: "";
  display: inline-block;
  width: 29px;
  height: 29px;
  background-color: #181737;
  border-radius: 50%;
  margin-bottom: -6px;
  margin-right: 12px;
}

.employment .tag {
  max-width: none;
  font-size: 16px;
  margin-bottom: 18px;
}

.near-future .description {
  margin-bottom: 27px;
}

.further-education-inner {
  margin-top: 60px;
}

.employment .btn-area {
  max-width: 990px;
  display: flex;
  justify-content: space-between;
  margin: 140px auto 140px auto;
}

/* ========================================
 * Page: お知らせ一覧 (archive.php)
 * ======================================== */
.news-archive {
  padding-top: 200px;
}

.news-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ページタイトル */
.news-archive-header {
  text-align: center;
  margin-bottom: 60px;
}

.news-archive-subtitle {
  font-size: 26px;
  color: #181737;
  font-weight: bold;
  margin-bottom: -10px;
}

.news-archive-title {
  font-size: 82px;
  color: #181737;
  font-family: "Alata", sans-serif;
  font-weight: 400;
  margin: 0;
}

/* カテゴリータブ */
.news-category-tabs {
  max-width: 992px;
  margin: 0 auto 60px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 30px;
  padding-top: 30px;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
}

.news-tab {
  padding: 2px 0;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 118px;
  letter-spacing: 2.2px;
  box-shadow: 0px 3px 0 0 rgba(0, 0, 0, 0.15);
  position: relative;
  top: 0;
}

.news-tab:hover {
  top: 3px;
  box-shadow: none;
  opacity: 0.85;
}

/* タブが選択された時の色設定 */
.news-tab-all.active {
  background-color: #181737;
  color: #fff;
  border-color: #181737;
}

.news-tab-education.active {
  background-color: #e8d26b;
  color: #fff;
  border-color: #e8d26b;
}

.news-tab-research.active {
  background-color: #8ad2d4;
  color: #fff;
  border-color: #8ad2d4;
}

.news-tab-student.active {
  background-color: #f1a088;
  color: #fff;
  border-color: #f1a088;
}

.news-tab-careers.active {
  background-color: #a2d998;
  color: #fff;
  border-color: #a2d998;
}

.news-tab-admissions.active {
  background-color: #f3b3b3;
  color: #fff;
  border-color: #f3b3b3;
}

/* お知らせ一覧 */
.news-archive .news-list-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

.news-archive .news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  border: none;
  margin-bottom: 120px;
}

.news-archive .news-item {
  background: #f3f3f3;
  border-radius: 8px;
  transition: background 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  border-bottom: none;
}

.news-archive .news-item.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.news-archive .news-item.fade-in {
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-archive .news-item-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 11px 30px;
  text-decoration: none;
  color: inherit;
  min-height: 60px;
}

.news-archive .news-item:hover {
  background: #e8e8e8;
}

.news-archive .news-item-meta {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.news-archive .news-date {
  font-size: 16px;
  font-weight: 500;
  color: #181737;
  min-width: 80px;
}

.news-archive .news-category {
  display: inline-block;
  padding: 3px 0px 5px 0px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
}

.news-archive .news-item-title {
  font-size: 16px;
  font-weight: bold;
  color: #181737;
  margin: 0;
  flex: 1;
  line-height: 1.6;
  border-left: 1px solid #000;
  padding-left: 30px;
  word-wrap: break-word;
  align-items: center;
}

/* ページネーション */
.news-archive .news-pagination {
  margin-top: 60px;
  text-align: center;
}

.news-archive .news-pagination a,
.news-archive .news-pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border: 1px solid #181737;
  color: #181737;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-archive .news-pagination a:hover {
  background: #181737;
  color: #fff;
}

.news-archive .news-pagination .current {
  background: #181737;
  color: #fff;
}

.news-archive .no-posts {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: #666;
}

/* ========================================
 * Page: 投稿詳細 (single.php)
 * ======================================== */
.single-post {
  padding: 0px 0px 120px;
  background-color: #fff;
}

/* 投稿ヘッダー */
.post-header-wrapper {
  max-width: 978px;
  margin: 250px auto 60px auto;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.post-date {
  color: #838383;
  font-size: 20px;
  font-weight: 500;
}

.post-category {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

/* カテゴリーカラー */
.single-post .post-category {
  padding: 0px 0px;
  font-size: 24px;
  width: 147px;
  text-align: center;
  letter-spacing: 5px;
}

.post-category[data-category*="education"] {
  background-color: #e8d26b;
}

.post-category[data-category*="research"] {
  background-color: #8ad2d4;
}

.post-category[data-category*="student-activities"] {
  background-color: #f1a088;
}

.post-category[data-category*="careers"] {
  background-color: #a2d998;
}

.post-category[data-category*="admissions"] {
  background-color: #f3b3b3;
}

.post-title {
  font-size: 36px;
  line-height: 1.5;
  color: #222;
  font-weight: bold;
  margin: 72px 0;
}

/* 投稿コンテンツ */
.post-content-wrapper {
  max-width: 978px;
  margin: 0 auto 80px;
}

.post-content {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
}

.post-content p {
  margin-bottom: 1.5em;
  font-size: 16px;
}

.post-content h2 {
  font-size: 24px;
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: bold;
}

.post-content h3 {
  font-size: 20px;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-weight: bold;
}

.post-content img {
  display: block;
  margin: 72px auto;
  max-width: 585px;
  width: 100%;
  height: auto;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: 0.5em;
}

/* 戻るボタン */
.post-back-button {
  max-width: 978px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 120px;
  margin-top: 210px;
}

.back-to-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 440px;
  height: 88px;
  padding: 0 60px 0 30px;
  background-color: #181737;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  top: 0;
  left: 0;
  box-shadow: 7px 7px 0 0 rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.back-to-news::before {
  content: "◀";
  font-size: 0.8em;
  margin-right: 16px;
  transition: all 0.3s ease-out;
}

.back-to-news:hover {
  opacity: 0.85;
  top: 7px;
  left: 7px;
  box-shadow: none;
}

.back-to-news:hover::before {
  transform: scale(1.35);
}

/* ========================================
 * Page: 固定ページ - サイドバー付き (page-sidebar.php)
 * ======================================== */
.page-with-sidebar,
#feature-page {
  padding: 0;
  background-color: #fff;
  overflow: visible;
}

/* タイトルと画像エリア */
#feature-page .feature-title-area {
  max-width: 1427px;
  margin: 0 auto;
  padding: 130px 12px 60px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 100px;
}

#feature-page .feature-title-content {
  flex: 0 0 auto;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#feature-page .page-main-content .page-subtitle {
  font-size: 25.88px;
  font-weight: bold;
  color: #181737;
  margin-bottom: -10px;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 12px;
}

#feature-page .page-main-content .page-title {
  font-size: 82.81px;
  font-weight: 500;
  color: #181737;
  line-height: 1.2;
  font-family: "Alata", sans-serif;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 12px;
}

.feature-title-content-flex {
  display: flex;
  max-width: 980px;
  justify-content: start;
  gap: 0;
  margin: 0 auto;
  align-items: end;
  padding: 0 12px;
}

#feature-page .feature-title-content .page-description {
  font-size: 16px;
  line-height: 1.9;
  color: #000;
  text-align: left;
  font-weight: bold;
}

#feature-page .feature-title-content .page-description p {
  margin-bottom: 1em;
  font-size: 20px;
  color: #000;
  font-weight: bold;
}

#feature-page .feature-title-image {
  flex: 1;
  max-width: 637px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  margin-left: -60px;
  position: relative;
  z-index: 1;
  margin-bottom: -60px;
}

/* サイドバーとコンテンツエリア */
.page-container {
  margin: 0 auto;
  padding: 0 0px 120px;
  display: block;
  gap: 0;
  align-items: flex-start;
  position: relative;
}

/* 左側インデックス（サイドバー） */
.page-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: fixed;
  top: 100px;
  align-self: flex-start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  top: 160px;
  padding: 70px 12px 30px 12px;
  box-shadow: 3px 3px 0px rgb(166 166 166 / 83%);
}

/* PC用とタブレット用のIndexを切り替え（PC） */
.page-sidebar.tablet-sp-only {
  display: none;
}

.page-sidebar.pc-only {
  display: block;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

/* .more-infoセクションに到達したら非表示 */
.page-sidebar.sidebar-hidden {
  opacity: 0;
  visibility: hidden;
}

.sidebar-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #181737;
  display: flex;
  align-items: center;
  font-family: "Alata", sans-serif;
  padding-bottom: 24px;
  border-bottom: 1px solid #000;
}

.sidebar-title::before {
  content: "●";
  margin-right: 8px;
  font-size: 12px;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav > li {
  margin-bottom: 0;
  border-bottom: 1px solid #e0e0e0;
}

.sidebar-nav > li:last-child {
  border-bottom: none;
}

.sidebar-nav-link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0 20px 60px;
  color: #181737;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-nav-link::before {
  content: "point";
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  color: #999;
  font-family: "Alata", sans-serif;
  position: absolute;
  left: 0;
  top: 20px;
}

.sidebar-nav-link::after {
  content: attr(data-number);
  font-size: 19px;
  line-height: 1;
  font-weight: 400;
  color: #999;
  font-family: "Alata", sans-serif;
  position: absolute;
  left: 0;
  top: 32px;
  display: block;
  text-align: center;
  width: 23px;
}

.sidebar-nav-link:hover {
  opacity: 0.7;
}

/* サブメニュー */
.sidebar-subnav {
  list-style: none;
  padding-left: 40px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.sidebar-subnav li {
  margin-bottom: 8px;
  position: relative;
}

.sidebar-subnav li::before {
  content: "—";
  margin-right: 8px;
  color: #181737;
}

.sidebar-subnav a {
  color: #181737;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sidebar-subnav a:hover {
  opacity: 0.7;
}

/* 右側メインコンテンツ */
.page-main-content {
  display: block;
  min-width: 0;
  padding-left: 250px;
  padding-right: 12px;
}

.page-main-content.bg-beige {
  background-color: #fff7e9;
  margin-top: 120px;
  padding-top: 90px;
}

section#section-01,
section#section-02,
section#section-03 {
  margin: 0 auto;
  max-width: 970px;
  padding-left: 12px;
  scroll-margin-top: 100px;
}

.page-content-section {
  margin-bottom: 80px;
}

.page-content-section h2 {
  font-size: 40px;
  font-weight: bold;
  color: #181737;
  margin-bottom: 50px;
  position: relative;
  padding-left: 100px;
}

.page-content-section h2::before {
  content: "point";
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  color: #595959;
  font-family: "Alata", sans-serif;
  position: absolute;
  left: 0;
  top: -30px;
  width: 80px;
  text-align: center;
}

.page-content-section h2::after {
  content: attr(data-number);
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  color: #595959;
  font-family: "Alata", sans-serif;
  position: absolute;
  left: 0;
  top: -10px;
  width: 82px;
  text-align: center;
}

.page-content-section h3 {
  font-size: 22px;
  font-weight: bold;
  color: #181737;
  margin-bottom: 20px;
  margin-top: 120px;
}

#section-03 h3 {
  font-size: 40px;
  color: #181737;
  scroll-margin-top: 100px;
}

.page-content-section p {
  font-size: 18px;
  line-height: 1.9;
  color: #181737;
  margin-bottom: 1.5em;
  font-weight: 500;
  margin-bottom: 60px;
}

.page-content-section img {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px 0;
  margin-bottom: 120px;
}

.page-content-section ul,
.page-content-section ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.page-content-section ul {
  list-style: disc;
}

.page-content-section ol {
  list-style: decimal;
}

.page-content-section li {
  margin-bottom: 0.5em;
  font-size: 16px;
  line-height: 1.9;
}

/* Section 03 - 固有スタイル */
div#section-03 {
  width: 980px;
  margin: 0 auto;
  padding-left: 12px;
}

.section03-1-inner,
.section03-4-inner {
  margin-left: 0;
  margin-right: calc(50% - 50vw);
  padding: 94px 70px;
  background-color: #f8f8f8;
}

.section03-1-inner h3 {
  margin-bottom: 94px;
}

.teachers {
  max-width: 980px;
  width: 100%;
  background-color: #fff;
  padding: 38px 90px;
  box-sizing: border-box;
  display: flex;
  margin-bottom: 90px;
  border-radius: 30px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

.teachers img {
  margin: 0;
  max-width: 313px;
  width: 100%;
}

.teachers .right-col {
  width: 58%;
}

.teachers .left-col {
  width: 42%;
}

.section03-1-inner .tag {
  display: inline-block;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
  width: 187px;
}

.section03-1-inner p.position {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
  margin-top: 8px;
}

.section03-1-inner h4.name {
  font-size: 30px;
  color: #000;
  margin-bottom: 27px;
}

.section03-1-inner p.classes {
  font-size: 11px;
  background-color: #000;
  width: 66px;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
}

div.section03-1-inner p.classes-info {
  font-size: 16px;
  font-weight: 400;
  border: 1px solid #000;
  margin-bottom: 27px;
  padding: 4px 0;
}

.section03-1-inner .teachers:nth-child(2) .tag {
  background-color: #6bd2ff;
}

.section03-1-inner .teachers:nth-child(3) .tag {
  background-color: #faadad;
}

.section03-1-inner .teachers:nth-child(4) .tag {
  background-color: #f9b75b;
}

.section03-1-inner p.class-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.6px;
  margin-bottom: 0;
}

.equipment-wrap #section-03-2 {
  padding-left: 70px;
}

.equipment-wrap p {
  padding-left: 70px;
}

.equipment {
  margin-left: 0;
  margin-right: calc(50% - 50vw);
  overflow-x: scroll;
  padding-right: 90px;
  cursor: grab;
  user-select: none;
  position: relative;
}

/* スクロールインジケーター */
.equipment::before {
  content: "Scroll　>";
  position: absolute;
  right: 20%;
  /* top: 50%; */
  transform: translateY(-50%);
  background-color: rgba(24, 23, 55, 0.85);
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  z-index: 100;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 1s ease-out, visibility 1s ease-out, transform 1s ease-out;
  bottom: 60px;
  animation: slideAndPulse 1.5s ease-in-out infinite;
}

/* スクロールインジケーターのアニメーション */
@keyframes slideAndPulse {
  0% {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-50%) translateX(100px);
    opacity: 0;
  }
}

/* スクロール後にインジケーターを非表示 */
.equipment.scrolled::before {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-80px);
  animation: none;
}

.equipment::-webkit-scrollbar {
  height: 0px;
}

.equipment ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding-left: 0;
}

.equipment ul::after {
  content: "";
  display: block;
  min-width: 94px;
  flex-shrink: 0;
}

.equipment ul > li {
  flex-shrink: 0;
  max-width: 320px;
  text-align: center;
  margin-bottom: 120px;
}

.equipment ul > li img {
  width: 320px;
  margin: 0;
  margin-top: -24px;
}

.equipment ul > li > span {
  position: relative;
  z-index: 10;
  max-width: 245px;
  color: #fff;
  background-color: #181737;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  border: 3px solid #fff;
  border-radius: 9px;
  width: 245px;
  padding: 6px 0;
  box-sizing: border-box;
  font-weight: bold;
  margin: 0 auto;
}

.graduation-research {
  background: #fff;
  padding-left: 250px;
  box-sizing: border-box;
  padding-right: 18px;
}

.graduation-research h3 {
  scroll-margin-top: 100px;
}

.graduation-research-inner {
  margin: 0 auto;
  max-width: 980px;
}

.graduation-content {
  margin-left: 0;
  margin-right: calc(50% - 50vw);
  padding: 94px 70px;
  background-color: #fff;
  overflow: hidden;
}

.graduation-content h3 {
  font-size: 40px;
  font-weight: bold;
  color: #181737;
  margin-bottom: 20px;
  margin-top: 60px;
}

.graduation-content p {
  font-size: 18px;
  line-height: 1.9;
  color: #181737;
  margin-bottom: 1.5em;
  font-weight: 500;
  margin-bottom: 60px;
}

/* 卒業研究作品 無限スクロール */
/* 卒業研究Swiper */
.graduationSwiper {
  overflow: visible;
  margin-left: -70px;
  pointer-events: auto; /* マウスイベントを有効化 */
}

.graduationSwiper .swiper-wrapper {
  transition-timing-function: linear !important;
  pointer-events: auto; /* マウスイベントを有効化 */
}

.graduationSwiper .swiper-slide {
  width: 320px !important;
}

.graduationSwiper .swiper-slide img {
  width: 320px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* デフォルト（PC）の表示 */
.page-content-section .feature-section1_img_pc {
  display: block;
  /* または inline */
  width: 100%;
  /* 必要に応じて調整してください */
}

.page-content-section .feature-section1_img_sp {
  display: none;
  /* SP用は非表示 */
}

.section03-4-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.section03-4-inner h3#section-03-4 {
  margin-bottom: 72px;
  font-size: 40px;
}

h4.qualification-title {
  font-size: 24px;
  margin-bottom: 24px;
}

h4.qualification-title::before {
  content: "";
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: #181737;
  display: inline-block;
  margin-bottom: -2px;
  margin-right: 21px;
}

.section03-4-inner ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 45px;
}

.section03-4-inner li {
  margin-bottom: 0;
  padding-left: 0;
  text-indent: -30px;
  margin-left: 30px;
  line-height: 2;
  font-size: 18px;
  font-weight: 500;
}

.section03-4-inner li.indent {
  margin-left: 50px;
}

.section03-4-inner li.space-top {
  margin-top: 20px;
}

.section03-4-inner .qualification-notes {
  margin-top: 60px;
  font-size: 13px;
  line-height: 1.8;
  color: #000;
}

.section03-4-inner .qualification-notes p {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.2px;
  max-width: 721px;
}

.showcase-image img {
  border-radius: 21px;
}

.single-post .single-content .post-content a {
  color: #009999;
}

@media (max-width: 1298px) {
  .nav-pc > ul {
    gap: 30px;
  }

  .nav-pc .instagram-icon {
    margin-left: -15px;
  }
}

@media (max-width: 1108px) {
  .nav-pc > ul {
    gap: 25px;
  }
}

@media (max-width: 1068px) {
  .nav-pc > ul {
    gap: 20px;
  }
}

/* ========================================
 *
 * MEDIA QUERIES
 *
 * ======================================== */

/* ========================================
 * 1025px以上（PC）
 * ======================================== */
@media (min-width: 1025px) {
  .carousel {
    overflow: hidden;
  }

  .facultySwiper {
    padding-bottom: 100px;
    overflow: visible !important;
  }
}

/* ========================================
 * 1024px以下（タブレット・スマホ）
 * ======================================== */
@media screen and (max-width: 1024px) {
  /* Utility */
  .pc-only {
    display: none;
  }

  .tablet-sp-only {
    display: block;
  }

  /* Header & Nav */
  #header {
    position: fixed;
    z-index: 1001;
    top: 16px;
    width: calc(100% - 40px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1427px;
    padding: 16px 20px;
    box-sizing: border-box;
    height: 142px;
  }

  /* スクロール時も元のpaddingを維持（タブレット） */
  #header.scrolled {
    padding: 16px 20px;
    top: 16px;
  }

  .wrap-header-logo {
    max-width: 232px;
  }

  .hamburger-menu {
    width: 43px;
    height: 36px;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(12px, 12px);
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(11px, -11px);
  }

  #header.menu-open {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  .nav-pc {
    display: none;
  }

  #header .hamburger-menu {
    display: flex;
  }

  .nav-sp {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    max-height: 0;
    background-color: #fff;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .nav-sp.active {
    max-height: 100vh;
    overflow-y: auto;
    height: 100%;
    margin-top: -80px;
  }

  .nav-sp > ul {
    flex-direction: column;
    gap: 0;
    width: 80%;
    margin: 0 auto;
    padding-top: 210px;
  }

  .nav-sp > ul > li {
    border-bottom: 1px solid #181737;
    padding: 20px 0;
    width: 100%;
    position: relative;
  }

  .nav-sp > ul > li:last-child {
    border-bottom: none;
  }

  .nav-sp > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
  }

  .nav-sp > ul > li > a::after {
    content: "";
    width: 25px;
    height: 25px;
    background-image: url("img/responsive_arrow.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    position: absolute;
    right: 3%;
  }

  .nav-sp .email-icon > a {
    display: none;
  }

  .nav-sp > ul > li.email-icon,
  .nav-sp > ul > li.instagram-icon {
    border-bottom: none;
    padding: 0;
    width: 80%;
    display: none;
  }

  .icons-sp {
    display: flex;
    justify-content: space-between;
    margin-top: 39px;
  }

  .access-icon-sp,
  .contact-icon-sp {
    width: 49%;
  }

  .access-icon-sp img,
  .contact-icon-sp img {
    width: 100%;
  }

  .button-container {
    display: flex;
    gap: 16px;
    padding: 20px 30px;
    width: 80%;
    flex-wrap: wrap;
  }

  .nav-sp .access-button {
    flex: 1;
    display: block;
    width: 49%;
  }

  .nav-sp .access-button img {
    width: 100%;
    height: auto;
    display: block;
  }

  .nav-sp .contact-button {
    flex: 1;
    display: block;
    width: 49%;
  }

  .nav-sp .contact-button img {
    width: 100%;
    height: auto;
    display: block;
  }

  .nav-sp .instagram-icon {
    padding: 20px 30px;
    display: flex;
    justify-content: flex-start;
  }

  .nav-sp .instagram-icon a {
    display: block;
  }

  .nav-sp .instagram-icon img {
    width: 62px;
    height: 62px;
  }

  .nav-sp .email-icon a::after,
  .nav-sp .email-icon a::before,
  .nav-sp .instagram-icon a::after,
  .nav-sp .instagram-icon a::before,
  .nav-sp .instagram-icon-sp a::after,
  .nav-sp .instagram-icon-sp a::before {
    display: none;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .menu-overlay.active {
    display: block;
  }

  .instagram-icon-sp img {
    width: 60px;
  }

  /* Section: FV */
  .circle {
    background-position: center;
    height: auto;
    aspect-ratio: 1320 / 1200;
    background-size: auto 120%;
    background-position: center -50%;
    scale: 1.3;
  }

  .mv-balloons {
    min-height: unset;
    aspect-ratio: 1320 / 800;
    margin-top: -140px;
  }

  .balloon-mv {
    max-width: 665px;
    top: 115%;
    width: 100%;
    min-width: 321px;
  }

  .balloon-1 {
    top: 30%;
    left: 16%;
    width: 19%;
  }

  .balloon-2 {
    top: 67%;
    left: 16%;
    width: 30%;
  }

  .balloon-3 {
    top: 24%;
    left: 61.3%;
    width: 25%;
  }

  .balloon-4 {
    top: 70%;
    right: 15.5%;
    width: 35%;
  }

  .balloon-5 {
    top: 51.4%;
    left: 31%;
    max-width: 295px;
    width: 30%;
  }

  .balloon-6 {
    top: 132.7%;
    right: 29%;
    width: 28.5%;
  }

  .balloon-7 {
    top: 149%;
    left: 10%;
    width: 34%;
  }

  .balloon-8 {
    top: 133.9%;
    left: 21%;
    width: 23%;
  }

  .balloon-9 {
    top: 155.3%;
    left: 69.4%;
    width: 15%;
  }

  .balloon-10 {
    top: 175%;
    right: 30%;
    width: 27%;
  }

  .first-view-area {
    height: auto;
    padding-bottom: 240px;
  }

  .about {
    margin-top: 80%;
  }

  .about p {
    text-align: left;
    font-size: 24px;
  }

  .about p.main_about {
    text-align: center;
  }

  /* Component: Carousel */
  .facultySwiper .swiper-button-prev,
  .facultySwiper .swiper-button-next {
    display: none;
  }

  p.faculty-text {
    font-size: 15px;
  }

  section.research .carousel {
    overflow-x: scroll;
    min-height: 500px;
    height: 550px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  section.research .carousel::-webkit-scrollbar {
    display: none;
  }

  .facultySwiper {
    min-height: 500px;
  }

  .facultySwiper .swiper-slide {
    width: 285px !important;
  }

  .facultySwiper .swiper-slide:nth-child(even) {
    margin-top: 112px;
  }

  .faculty-image img {
    height: 372px;
  }

  /* Section: Feature */
  .feature-section-wrapper {
    margin-top: 0px;
  }

  .feature-section {
    padding: 30px 82px 80px;
  }

  .feature-text-area {
    max-width: 417px;
  }

  .feature-inner-content {
    margin-right: 0;
  }

  .feature-text-area-content p.point {
    font-size: 22px;
    font-weight: 400;
  }

  .feature-text-area-content h3 {
    font-size: 39px;
  }

  .feature-section div.btn {
    text-align: center;
  }

  /* Component: Button */
  .btn a {
    height: 106px;
    width: 432px;
    font-size: 26px;
    font-weight: 600;
  }

  .btn a::after {
    content: "►";
    font-size: 1em;
    padding-right: 10px;
  }

  /* Section: Research */
  section.research .section-title {
    padding: 0 82px;
  }

  .research .about {
    padding-left: 82px;
    max-width: none;
  }

  section.research .btn {
    margin-top: 100px;
    margin-bottom: 90px;
  }

  /* Section: Activities */
  section.activities {
    padding: 180px 82px 380px 82px;
    background-position: bottom;
  }

  section.activities .btn {
    margin-top: 500px;
    text-align: center;
    width: auto;
  }

  section.activities .btn a {
    background-color: #181737;
    color: #fff;
  }



  /* Section: Career, Admission, FAQ, News, Footer (Layout Padding) */
  section.career,
  section.admission,
  section.faq,
  section.news,
  .footer-contents {
    padding-left: 82px;
    padding-right: 82px;
    box-sizing: border-box;
  }

  section.career {
    padding-bottom: 250px;
  }

  section.career .about {
    max-width: none;
  }

  section.admission .about {
    max-width: none;
  }

  section.admission .admission-circle-tr-orange {
    top: 80px;
  }

  section.admission .examinee-link {
    max-width: 590px;
  }

  section.faq {
    padding-top: 120px;
  }

  section.faq .faq-inner {
    width: 100%;
  }

  .faq-arrow {
    margin-top: -9px;
  }

  .faq-answer-text {
    font-size: 24px;
    line-height: 2;
    font-weight: 500;
    font-family: "Noto Sans JP";
    padding-left: 30px;
    padding-right: 30px;
  }

  .faq-question-text {
    font-size: 24px;
    padding-right: 30px;
    padding-left: 30px;
  }

  .faq-question {
    min-height: 120px;
    height: auto;
  }

  .faq-icon {
    width: 52px;
    height: 52px;
    font-size: 27px;
  }

  section.news .section-title {
    margin-top: 120px;
  }

  section.news .news-circle-orange {
    top: -152px;
  }

  section.news .news-circle-green {
    top: -70px;
    right: 14%;
  }

  section.news .news-circle-yellow {
    top: -10px;
  }

  .news .btn {
    text-align: center;
  }

  /* Section: News List (Home) */
  .news-list {
    max-width: 714px;
  }

  .news-item a {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .news-title {
    width: calc(100% - 40px);
    order: 3;
    padding-top: 12px;
    font-size: 24px;
    line-height: 2;
    font-family: "Noto Sans JP";
    font-weight: 500;
  }

  .news-arrow {
    order: 4;
    display: none;
  }

  .home .news-category {
    width: 148px;
    font-size: 23px;
    letter-spacing: 5px;
    padding: 6px 0px 9px 0;
  }

  .home .news-date {
    font-size: 27px;
    width: 150px;
  }

  /* Section: More Info */
  .more-info-card {
    max-width: 268px;
    width: 100%;

  }

  /* Page: Teacher List */
  .teacher-list {
    gap: 12px;
  }

  header.archive-header {
    text-align: left;
    max-width: 783px;
    margin: 200px auto 0 auto;
  }

  header.archive-header p {
    font-size: 24px;
    margin: 50px auto 80px auto;
  }

  .teacher-list-hr {
    width: 94%;
  }

  /* 教員フィルターのグリッドレイアウト（タブレット以下） */
  .teacher-filter ul {
    max-width: 700px;
    margin: 0 auto;
  }

  .filter-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    justify-items: center;
    flex-wrap: unset !important;
  }

  .filter-list li {
    max-width: 219px;
    width: 100%;
  }

  .filter-list li:first-child {
    grid-column: 1 / -1 !important;
    justify-self: center;
  }

  .filter-tag {
    width: 100% !important;
    max-width: 219px !important;
    padding: 3px 0;
  }

  /* Page: Teacher Single */
  .teacher-hero img {
    height: 900px;
  }

  .teacher-hero {
    max-height: 900px;
  }

  .teacher-info-card {
    position: absolute;
    background-color: #f3f3f3;
    padding: 36px 10px 36px 42px;
    top: -200px;
    max-width: 460px;
        gap: 15%;
  }

  .teacher-catchphrase {
    padding-left: 80px;
  }

  .teacher-profile-section {
    max-width: 778px;
    margin-top: 120px;
    margin-bottom: 120px;
  }

  .section-heading {
    font-size: 40px;
  }

  .teacher-profile-box {
    font-size: 24px;
  }

  .teacher-main-content .content-wrap {
    max-width: 800px;
  }

  .teacher-main-content {
    padding-top: 50px;
  }

  .teacher-main-content p {
    font-size: 18px;
  }

  .teacher-main-content img {
    max-width: 573px;
  }

  p.image-caption {
    max-width: 573px;
  }

  .other-teacher h2 {
    margin-top: 120px;
  }

  .teacher-card-catchphrase {
    font-size: 18px;
  }

  /* Page: Activities */
  .activities-hero-image {
    margin-left: -8%;
  }

  #activities-page .section-title {
    margin-top: -120px;
    padding: 300px 0 350px calc(8% + 108px);
  }

  .page-description {
    font-size: 24px;
    text-align: left;
    max-width: 840px;
    margin: 0 auto;
  }

  .showcase-item {
    width: 100%;
  }

  .showcase-image {
    max-width: 389px;
  }

  .showcase-item:nth-child(2),
  .showcase-item:nth-child(4) {
    margin-right: 0;
    margin-left: 5%;
    padding-left: 40px;
    justify-content: flex-start;
    padding-right: 30px;
    box-sizing: border-box;
    padding-top: 80px;
    padding-bottom: 40px;
    padding-right: 12%;
  }

  .showcase-item:nth-child(4) {
    padding-bottom: 80px;
  }

  .showcase-item:nth-child(3),
  .showcase-item:nth-child(5) {
    margin-left: -5%;
    margin-right: 5%;
    border-radius: 0 70px 70px 0;
    justify-content: flex-end;
    box-shadow: -6px 4px 4px 3px rgba(0, 0, 0, 0.3);
    padding-right: 40px;
    padding-top: 80px;
    padding-bottom: 40px;
    padding-left: 12%;
  }

  /* Page: Career */
  #career-page .section-title {
    max-width: 823px;
  }

  .section-title {
    max-width: unset;
  }

  section#career-page .page-description {
    max-width: 823px;
  }

  .employment {
    margin-top: 0px;
  }

  .career-content-inner .card {
    width: 365px;
  }

  .employment-content-background {
    background-color: unset;
    display: none;
  }

  .career-content-inner .card-wrap {
    padding-left: 39px;
  }

  .near-future {
    margin-left: 39px;
    margin-right: -30px;
    padding-right: 45px;
  }

  p.description {
    font-size: 18px;
    font-weight: 500;
  }

  .near-future .description {
    line-height: 1.9;
  }

  .employment .btn-area {
    display: block;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 120px;
  }

  .employment .btn-area .btn.animation-btn a {
    margin-top: 30px;
    height: 88px;
  }

  /* 進路・就職ページの背景修正（タブレット以下） */
  .career-section-wrapper {
    position: static;
  }

  .career-content-background {
    display: none;
  }

  .career-content-inner {
    position: static;
    background-color: #fff7e9;
    border-radius: 30px;
    padding: 60px 30px;
    margin: 0 30px;
  }

  /* Page: News Archive */
  .news-archive .news-list-wrapper {
    max-width: 874px;
    margin: 0 auto;
    min-height: 700px;
  }

  .news-tab {
    width: 137px;
  }

  .news-archive .news-list {
    gap: 41px;
  }

  /* Page: Single Post */
  .single-content {
        margin: 0 auto;
        max-width: 843px;
        width: 100%;
        padding: 0 21px;
  }

  .post-content p {
    font-size: 18px;
    font-weight: 500;
  }

  .post-title {
    font-size: 32px;
  }

  .post-back-button {
    margin-bottom: 0;
    margin-top: 120px;
  }

  /* Page: Sidebar */
  .page-container {
    gap: 60px;
  }

  .page-sidebar {
    width: 200px;
  }

  .page-title {
    font-size: 48px;
  }

  /* PC用サイドバーを非表示 */
  .page-sidebar.pc-only {
    display: none !important;
  }

  /* タブレット用インデックスを表示 */
  .page-sidebar.tablet-sp-only {
    display: block !important;
    width: 100%;
    max-width: 838px;
    margin: 60px auto 0;
    padding: 0;
    position: static;
    box-shadow: none;
    background-color: transparent;
    max-height: none;
    margin-top: 160px;
  }

  .page-sidebar.tablet-sp-only .sidebar-title {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
    position: relative;
    padding-left: 27px;
  }

  .page-sidebar.tablet-sp-only .sidebar-title::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav > li {
    border-bottom: 1px solid #000;
    padding: 30px 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav > li:last-child {
    border-bottom: none;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-left: 80px;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav-link::before {
    content: "point";
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    font-weight: normal;
    text-align: center;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav-link::after {
    content: attr(data-number);
    position: absolute;
    left: 0;
    top: 20px;
    width: 80px;
    font-size: 36px;
    line-height: 1;
    color: #666;
    font-weight: normal;
    text-align: center;
  }

  .page-sidebar.tablet-sp-only .sidebar-subnav {
    list-style: none;
    padding: 20px 0 0 0;
    margin: 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-subnav li {
    padding: 15px 0;
    border-top: none;
    padding-left: 80px;
  }

  .page-sidebar.tablet-sp-only .sidebar-subnav li:first-child {
    border-top: none;
    margin-top: 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-subnav a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: normal;
  }

  /* メインコンテンツの左パディングを0に */
  .page-main-content {
    padding: 0 60px;
  }

  #feature-page .feature-title-image {
    max-width: 637px;
    margin-left: -180px;
    max-height: 388px;
    object-fit: cover;
    margin-top: 80px;
  }

  .feature-title-content-flex {
    align-items: flex-start;
    margin-top: 45px;
  }

  #feature-page .feature-title-content .page-description p {
    line-height: 2.2;
    margin-bottom: 45px;
  }

  .teachers {
    padding: 40px 58px;
    justify-content: space-between;
  }

  .teachers .left-col {
    width: 38%;
  }

  /* section-03の全幅背景（タブレット以下のみ） */
  section#section-03 {
    max-width: 100%;
    padding-left: 0;
  }

  div#section-03 {
    width: 100%;
    padding-left: 0;
  }

  .section03-4-wrap {
    max-width: none;
  }

  .section03-1-inner,
  .section03-4-inner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f8f8f8;
    box-sizing: border-box;
  }

  .section03-1-inner h4.name {
    margin-left: 30px;
  }

  .graduation-content p {
    font-size: 24px;
  }

  .section03-4-inner .qualification-notes {
    line-height: 1.5;
  }

  .equipment-wrap #section-03-2 {
    padding-left: 0;
  }

  .equipment-wrap p {
    padding-left: 0px;
    margin-left: 30px;
  }

  .equipment ul {
    margin-left: 30px;
  }

  .graduation-content h3 {
    margin-left: 30px;
  }

  .graduation-content p {
    margin-left: 30px;
  }

  .graduation-research {
    padding-left: 0;
    padding-right: 0;
  }

  .graduation-research-inner {
    max-width: none;
  }

  .page-content-section h2 {
    margin-left: 30px;
  }

  .page-content-section p {
    margin-left: 30px;
  }

  .graduation-content {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .page-container {
    padding-bottom: 0;
  }

  .page-main-content.bg-beige {
    padding-bottom: 80px;
    margin-top: 0;
  }

  .bg-beige p {
    font-size: 24px;
  }

  .teachers p.class-description {
    font-size: 18px;
  }

  #section-03 h3 {
    font-size: 32px;
    scroll-margin-top: 100px;
    margin-left: 30px;
    margin-top: 0px;
  }

  .section03-1-inner h3 {
    margin-bottom: 39px;
  }

  .section03-1-inner {
    padding-bottom: 30px;
  }

  .equipment-wrap {
    margin-top: 80px;
  }

  .equipment::before {
    right: 30px;
  }

  .section03-1-inner p.classes-info {
    font-size: 16px;
  }

  .news-archive .news-item-link {
    min-height: 111px;
  }

  /* ホバー効果 (影の指定をFigmaの値に近づけます) */
.animation-btn a:hover {
  top: 0;
  /* 影のY軸オフセット分下に移動 */
  left: 0;

}


h3#section-03-3, .graduation-content p {
    padding: 0 70px;
  }
}

@media (min-width: 2100px) {
  .teacher-hero {
    width: 100%;
    max-height: unset;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    margin-top: 0;
    height: 80vh;
}
}

/* ========================================
 * 768px以上（タブレット）
 * ======================================== */
@media (min-width: 768px) {
  /* タブレット・PC時は467px固定 */
  .facultySwiper .swiper-slide {
    width: 467px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .more-info-wrap-card h3 {
    font-size: 39px;
}
}

@media screen and (max-width: 850px) {
nav.footer-nav {
    padding-left: 21px;
}

#career-page .section-title{
  padding: 0 24px;
}

section#career-page .page-description {
  padding: 0 24px;
}

.page-description {
  padding: 0 24px;
}

#feature-page .feature-title-content .page-description {
  padding: 0;
}
}



@media screen and (max-width: 800px) {
    nav.footer-nav {
    padding-left: 9px;
}
}

/* @media screen and (max-width: 800px) {
    .contents-wrap {
        flex-wrap: wrap;
    }
} */

@media screen and (max-width: 1000px) {
.teacher-list {
   
    grid-template-columns: repeat(2, 368px);

}

.teacher-card-image img {
    object-position: 100% 20%;
}
}

@media screen and (max-width: 928px) {
.career-content-inner .card {
        width: 44%;
    }

    .teacher-profile-section{
      padding: 24px;
    }
}

/* ========================================
 * 768px以下（スマホ）
 * ======================================== */
@media screen and (max-width: 768px) {
  /* Header */
  .wrap-header-logo {
    max-width: 109px;
  }

  #header {
    height: 65px;
    top: 6px;
    width: calc(100% - 20px);
  }

  /* スクロール時も元のpaddingとtopを維持（スマホ 768px以下） */
  #header.scrolled {
    padding: 16px 20px;
    top: 6px;
  }

  .hamburger-menu {
    width: 20px;
    height: 21px;
  }

  .hamburger-menu span {
    height: 2px;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Section: FV */
  .mv-balloons {
    margin-top: -210px;
    scale: 0.8;
  }

  .balloon-mv {
    width: 70%;
    top: 145%;
  }

  .circle {
    background-size: auto 100%;
    background-position: center 10%;
    scale: 1.5;
    height: 700px;
    max-width: 100%;
    width: 100%;
    margin-top: 140px;
  }

  .balloon-1 {
    top: 19%;
    left: 3%;
    width: 30%;
    z-index: 2;
  }

  .balloon-2 {
    top: 75%;
    left: 6%;
    width: 43%;
  }

  .balloon-3 {
    top: 13%;
    left: 63.3%;
    width: 38%;
  }

  .balloon-4 {
    top: 80%;
    right: 3.5%;
    width: 48%;
  }

  .balloon-5 {
    top: 52.4%;
    left: 29%;
    width: 39%;
  }

  .balloon-6 {
    right: 19%;
    width: 42.5%;
    top: 167.7%;
  }

  .balloon-7 {
    left: -5.3%;
    width: 56%;
    top: 190%;
  }

  .balloon-8 {
    top: 169.9%;
    left: 8%;
    width: 33%;
  }

  .balloon-9 {
    width: 21%;
    left: unset;
    right: 2%;
    top: 200.3%;
  }

  .balloon-10 {
    top: 232%;
    width: 38%;
    right: 20%;
  }

  /* Section: About */

  .about {
    margin-top: 90%;
  }

  .about p {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* Deco Circles */
  .circle-small,
  .circle-large,
  .circle-orange-pink,
  .circle-green,
  .feature-image-area .deco-circle,
  .feature-image-area .circle-green,
  .feature-image-area .circle-orange,
  .feature-image-area .circle-yellow,
  .feature-image-area .circle-blue,
  .feature-image-area .circle-large-yellow,
  section.activities .activities-deco-circle,
  section.admission .admission-deco-circle,
  section.faq .faq-deco-circle,
  section.news .news-deco-circle,
  section.news .news-circle-orange,
  section.news .news-circle-green,
  section.news .news-circle-yellow {
    transform: scale(0.5);
  }

  .circle-small {
    top: -70px;
    right: 7%;
  }

  .circle-large {
    top: -70px;
    right: 10%;
  }

  .circle-orange-pink {
    bottom: -83px;
    left: 10px;
  }

  /* Section: Feature */
  .feature-image-area .circle-top {
    top: -50px;
    left: 40px;
  }

  .feature-image-area .circle-bottom {
    bottom: 10px;
    right: 66px;
  }

  .feature-image-area .circle-bottom-right {
    bottom: -19px;
    right: 30px;
    scale: 1.3;
  }

  .feature-image-area .circle-bottom-center {
    bottom: -58px;
    right: 54px;
    scale: 1.2;
  }

  .feature-section::before {
    border-radius: 0 0 50% 60% / 0 0 70% 70%;
  }

  .feature-section::after {
    border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  }

  .feature-section div.btn {
    text-align: center;
  }

  .feature-inner-content {
    gap: 30px;
  }

  /* Section: Research */
  section.research {
    margin-top: 130px;
  }

  .research .about p {
    font-size: 14px;
    text-align: left;
    padding: 0 21px;
  }

  section.research .carousel {
    height: 540px;
  }

  section.research .btn {
    margin-top: 0;
  }

  .research .about {
    padding-left: 0;
  }

  section.research .carousel {
    padding-bottom: 0;
  }

  /* Page: Teacher List */
  .teacher-list {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  .teacher-card {
    max-width: unset;
  }

  .teacher-card-image {
    height: 300px;
  }

  .teacher-card-name {
    font-size: 28px;
  }

  .teacher-card-catchphrase {
    font-size: 18px;
    letter-spacing: 1.2px;
  }

  /* Page: Teacher Single */
  .teacher-hero img {
    height: 250px;
  }

  .teacher-catchphrase {
    font-size: 22px;
    margin: 40px 0 30px;
  }

  .teacher-info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    padding: 25px;
    width: 45%;

  }

  .teacher-name {
    font-size: 26px;
  }

  .teacher-meta {
    flex-wrap: wrap;
  }

  .section-heading {
    font-size: 26px;
  }

  .teacher-profile-box {
    padding: 25px;
    font-size: 15px;
  }

  .teacher-main-content {
    font-size: 15px;
  }

  .teacher-main-content h2 {
    font-size: 24px;
    margin: 40px 0 20px;
  }

  .teacher-main-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
  }

  /* Footer */
  .footer-contents .footer-left-col {
    max-width: 220px;
  }

  /* Page: News Archive */
  .news-archive {
    padding-top: 120px;
  }

  .news-archive-subtitle {
    font-size: 20px;
  }

  .news-archive-title {
    font-size: 48px;
  }

  .news-category-tabs {
    padding: 0 12px 20px;
  }

  .news-tab {
    font-size: 14px;
    padding: 6px 18px;
  }

  .news-archive .news-item-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
  }

  .news-archive .news-item-meta {
    gap: 12px;
  }

  .news-archive .news-date {
    font-size: 14px;
    min-width: auto;
  }

  .news-archive .news-category {
    font-size: 12px;
    padding: 4px 12px;
  }

  .news-archive .news-item-title {
    font-size: 15px;
    border-left: none;
    padding-left: 0;
  }

  /* Page: Single Post */
  .post-header-wrapper {
    margin-bottom: 40px;
  }

  .post-meta {
    gap: 12px;
    margin-bottom: 20px;
  }

  .post-date {
    font-size: 14px;
  }

  .post-category {
    font-size: 12px;
    padding: 4px 16px;
  }

  .post-title {
    font-size: 24px;
  }

  .post-content-wrapper {
    margin-bottom: 60px;
  }

  .post-content {
    font-size: 15px;
  }

  .post-content h2 {
    font-size: 20px;
  }

  .post-content h3 {
    font-size: 18px;
  }

  .back-to-news {
    max-width: 249px;
    width: 100%;
    font-size: 15px;
    height: 61px;
    padding: 0 30px 0 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .back-to-news:hover {
    left: calc(50% + 7px);
    transform: translateX(-50%);
  }

  /* Page: Sidebar */
  .page-with-sidebar,
  #feature-page {
    padding: 0;
  }

  #feature-page .feature-title-area {
    flex-direction: column;
    padding: 100px 12px 40px;
    gap: 30px;
  }

  #feature-page .feature-title-content {
    max-width: 100%;
  }

  #feature-page .feature-title-content .page-title {
    font-size: 36px;
  }

  #feature-page .feature-title-image {
    max-width: 100%;
    order: -1;
  }

  .page-container {
    flex-direction: column-reverse;
    gap: 40px;
    padding-bottom: 60px;
  }

  .page-sidebar {
    width: 100%;
    position: static;
    order: 2;
    padding-right: 0;
  }

  .page-main-content {
    order: 1;
    max-width: 100%;
    padding-left: 0;
  }

  .page-content-section h2 {
    font-size: 22px;
  }

  .page-content-section h3 {
    font-size: 18px;
  }

  .page-content-section p {
    font-size: 15px;
  }

  .sidebar-nav-link {
    font-size: 13px;
  }

  .career-content-inner .card {
    /* width: 295px; */
    width: 44%;
  }

  .career-content-inner .card-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
  }

  .research .about p {
    padding: 0 82px;
    font-size: 24px;
  }

  .activities .about p {
    font-size: 24px;
    text-align: left;
    padding: 0;
  }

  .about p.main_about {
    font-size: 24px;
  }

  .career .about p,
  .admission .about p {
    font-size: 24px;
    padding: 0;
    text-align: left;
  }

  nav.footer-nav {
    padding-left: 21px;
  }

  .nav-sp > ul {
    padding-top: 120px;
  }

  .showcase-item:nth-child(2),
  .showcase-item:nth-child(3),
  .showcase-item:nth-child(4),
  .showcase-item:nth-child(5) {
    gap: 20px;
  }

  .showcase-text h2 {
    font-size: 24px;
  }

  #activities-page .page-description {
    padding: 0 12px;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 8px);
  }

  #feature-page .feature-title-image {
    order: 1;
  }

  #feature-page .page-main-content {
    width: calc(100% - 20px);
        padding: 0 20px;
  }

  .page-sidebar.tablet-sp-only .sidebar-title {
    padding-left: 12px;
  }

  section#section-01,
  section#section-02,
  section#section-03 {
    padding-top: 80px;
    padding-right: 12px;
  }

  .section03-1-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .teachers {
    padding: 20px 18px;
    gap: 0;
    justify-content: unset;
  }

  .graduation-content {
    padding: 0;
  }

  .graduation-content h3 {
    font-size: 32px;
  }

  .graduation-content p {
    font-size: 15px;
  }

  .section03-4-inner {
    padding: 94px 12px;
  }

  .more-info-wrap-card {
    gap: 20px;
  }

  .teacher-list {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  

  header.archive-header {
    margin-top: 150px;
    margin-top: 150px;
        width: calc(100% - 20px);
        padding: 0 20px;
  }

  section#career-page {
    padding-top: 150px;
  }

  #career-page .section-title,
  section#career-page .page-description {
    width: calc(100% - 20px);  }

  .news-category-tabs {
    padding: 20px 12px 20px;
  }

      #feature-page .page-main-content.bg-beige{
    padding-top: 90px;
  }

  .contents-wrap {
        flex-wrap: wrap;
    }
}

/* ========================================
 * 600px以下（小型スマホ）
 * ======================================== */
@media screen and (max-width: 600px) {
  /* Section: FV */
  .balloon-mv {
    width: 85%;
  }

  .circle {
    background-size: auto 100%;
    background-position: center 10%;
    scale: 1;
    height: 700px;
    max-width: 100%;
    width: 100%;
    margin-top: -10px;
  }

  /* Component: Button */


  /* Component: Carousel */
  .faculty-image img {
    height: 281px;
    width: 205px;
  }

  .faculty-card {
    max-width: 205px;
  }

  .facultySwiper .swiper-slide {
    width: 204px !important;
  }

  .facultySwiper .swiper-slide:nth-child(even) {
    margin-top: 50px;
  }

  section.research .carousel {
    overflow-x: scroll;
    min-height: 450px;
  }

  .faculty-content {
    max-width: 183px;
  }

  p.faculty-text {
    font-size: 11px;
  }

  .btn a {
    height: 61px;
        width: 249px;
        font-size: 15px;
  }

  /* Section: Research */
  .research .btn a {
    max-width: 249px;
    width: 100%;
    font-size: 15px;
    left: 0;
    transform: unset;
    height: 61px;
    margin-top: -100px;
  }

  section.research {
    position: relative;
  }

  section.research::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 120%;
    height: 100px;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 70% 70% 0 0;
    z-index: 1;
  }

  section.research .btn {
    margin-bottom: 50px;
  }

  section.research .section-title {
    padding: 0 21px;
  }

  .research .about p {
    font-size: 14px;
    word-break: auto-phrase;
    padding-right: 76px;
  }

  /* Section: Title */
  .about {
    font-size: 14px;
    margin-top: 150%;
  }

  .research .about p {
    padding: 0 21px;
  }

  .activities .about p,
  section.career .about p,
  section.admission .about p {
    padding: 0 21px;
    font-size: 14px;
  }

  .section-title h2 {
    font-size: 40px;
  }

  .section-title p {
    font-size: 12px;
    margin-bottom: 0px;
  }

  .section-title {
    padding-left: 21px;
  }

  /* Section: Feature */
  .feature-section {
    padding: 30px 21px 20px;
  }

  .feature-section .section-title {
    padding-left: 0;
    margin-bottom: 20px;
  }

  .feature-text-area {
    max-width: auto;
  }

  .feature-image-area {
    width: 100%;
  }

  .feature-image-area img {
    max-width: none;
    padding: 0 21px;
    box-sizing: border-box;
  }

  .feature-text-area-content .description {
    font-size: 14px;
  }

  .feature-text-area-content h3 {
    font-size: 28px;
  }

  .feature-text-area-content p.point {
    font-size: 16px;
    margin-bottom: 21px;
  }

  .feature-inner-content {
    flex-wrap: wrap;
  }

  .feature-section div.btn {
    margin-top: 150px;
  }

  /* Section: Activities */
  section.activities .activities-circle-tr-green {
    top: 0%;
    right: 1%;
  }

  section.activities {
    padding: 100px 0 120px 0;
  }

  section.career section.activities .about p {
    padding-left: 21px;
    text-align: left;
  }

  section.activities .activities-circle-bl-green {
    bottom: 30px;
    left: 8%;
  }

  section.activities .activities-circle-bl-yellow {
    bottom: 36px;
    scale: 0.7;
  }

  section.activities .btn {
    text-align: center;
    margin-top: 180px;
  }

  /* Section: Career */
  section.career {
    padding-top: 30px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 60px;
    position: relative;
    background-color: #fffcf6;
    z-index: 102;
    overflow: visible;
    margin-top: -30px;
  }

  .career-wave-top {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q300,-20 600,30 T1200,30 L1200,100 L0,100 Z' fill='%23FFFCF6'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 101;
  }

  .career-wave-bottom {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,70 Q300,120 600,70 T1200,70 L1200,0 L0,0 Z' fill='%23FFFCF6'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 101;
  }

  section.career .about {
    margin-top: 65px;
  }

  section.career .about p,
  section.admission .about p {
    padding: 0;
    text-align: left;
  }

  section.career .btn {
    text-align: center;
  }

  section.career,
  section.admission,
  section.faq,
  section.news,
  .footer-contents {
    padding-left: 21px;
    padding-right: 21px;
  }

  /* Section: Admission */
  section.admission .admission-circle-tr-orange {
    top: 220px;
    scale: 1.2;
    right: 10%;
  }

  section.admission .examinee-link p {
    font-size: 10px;
    margin-top: 21px;
  }

  section.admission .admission-circle-bl-yellow {
    bottom: 210px;
    left: 21%;
  }

  section.admission {
    padding-bottom: 250px;
  }

  /* Section: FAQ */
  section.faq .faq-circle-bl-green {
    top: -29px;
  }

  section.faq {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .faq-question .faq-icon {
    margin-top: 0px;
  }

  .faq-question {
    height: auto;
    padding-left: 21px;
    padding-right: 21px;
  }

  .faq-question-text {
    font-size: 14px;
    padding-right: 18px;
    padding-left: 0px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .faq-answer-content {
    padding: 39px 21px 27px 21px;
  }

  .faq-answer-text {
    padding-right: 8px;
    padding-left: 0px;
    font-size: 14px;
  }

  /* Section: News */
  section.news .news-circle-orange {
    top: -75px;
  }

  section.news .news-circle-green {
    top: -28px;
    right: 18%;
  }

  section.news .news-circle-yellow {
    top: 0px;
  }

  section.news .section-title {
    margin-top: 60px;
    padding-left: 0;
  }

  .home .news-date {
    font-size: 12px;
    width: auto;
  }

  .home .news-category {
    width: 68px;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 3px 0px 5px 0;
  }

  .news-item a {
    padding: 13px 0;
    row-gap: 8px;
  }

  p.news-title {
    padding-top: 0;
    font-size: 14px;
  }

  section.news .btn {
    text-align: center;
    margin-top: 60px;
  }

  section.news .btn a {
    max-width: 270px;
    width: 100%;
  }

  section.news {
    padding-bottom: 80px;
  }

  /* Header (adjustments for 600px) */
  #header {
    height: auto;
    width: 98%;
    padding: 5px 20px;
    top: -3px;
  }

  /* スクロール時も元のpaddingとtopを維持（スマホ 600px以下） */
  #header.scrolled {
    padding: 5px 20px;
    top: 3px;
  }

  .wrap-header-logo {
    max-width: 109px;
  }

  .hamburger-menu {
    width: 30px;
    height: 21px;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-sp > ul {
    padding-top: 120px;
  }

  /* Footer */
  .footer-contents .footer-left-col {
    max-width: 129px;
  }

  .contents-wrap {
    flex-wrap: wrap;
  }

  nav.footer-nav {
    border-right: 1px solid #181737;
    border-left: none;
    padding-right: 13px;
    padding-left: 0;
  }

  .footer-nav ul li {
    margin-bottom: 12px;
  }

  .footer-right-col {
    margin-top: 39px;
  }

  footer {
    padding-bottom: 0;
  }

  .footer-nav ul li a {
    font-size: 13px;
  }

  .footer-contact a img {
    width: 114px;
  }

  .footer-contents {
    padding-bottom: 35px;
  }

  .download-button-container img {
    width: 20px;
  }

  span.download-text {
    font-size: 15px;
  }

  .download-button {
    gap: 12px;
    padding: 15px 8px;
    width: 90%;
    align-items: center;
  }

  /* Section: More Info */
  .more-info-wrap-card {
    flex-wrap: wrap;
  }

  /* Page: Teacher List */
  .teacher-card {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: none;
  }

  .teacher-list {
    gap: 30px;
    padding: 0 33px;
    grid-template-columns: 1fr;
  }

  /* Page: Feature (Sidebar) */
  #feature-page .page-main-content .page-subtitle {
    font-size: 14px;
    /* padding-left: 21px; */
  }

  #feature-page .page-main-content .page-title {
    font-size: 48px;
    /* padding-left: 21px; */
  }

  #feature-page .feature-title-content .page-description p {
    font-size: 14px;
    /* padding-left: 9px; */
  }

  /* 600px以下でテキストと画像を縦積みにする */
  .feature-title-content-flex {
    flex-direction: column;
  }

  /* 768pxで設定された画像の順序(order: -1)をリセットし、HTMLの記述順（画像を下）に戻す */
  #feature-page .feature-title-image,
  .feature-title-image {
    order: initial;
    height: auto;
    width: 100%;
    margin: 0;
    background-size: contain;
    min-height: 211px;
  }

  .page-main-content {
    padding-right: 0;
  }

  #feature-page .feature-title-content {
    margin: 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-title {
    font-size: 24px;
    padding-left: 30px;
    margin-bottom: 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav-link::after {
    font-size: 20px;
    position: absolute;
    top: 22px;
  }

  .page-sidebar.tablet-sp-only {
    margin-top: 80px;
    padding-right: 80px;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav-link::before {
    position: absolute;
    top: 12px;
    font-size: 10px;
    line-height: 1;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav-link {
    font-size: 14px;
  }

  .page-sidebar.tablet-sp-only .sidebar-nav > li {
    padding: 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-subnav li:first-child {
    border: none;
    margin-top: 0px;
  }

  .page-sidebar.tablet-sp-only .sidebar-subnav {
    padding: 0;
  }

  .page-sidebar.tablet-sp-only .sidebar-subnav li {
    border-top: none;
    margin-bottom: 0;
    padding-top: 3px;
  }

  .sidebar-subnav li::before {
    content: "";
    /* 文字を空にします */
    display: inline-block;
    /* 幅と高さを指定できるようにします */
    width: 24px;
    /* 線の「長さ」をお好みで調整 */
    height: 1.5px;
    /* 線の「太さ」をお好みで調整 (ここを太くします) */
    background-color: #181737;
    /* 線の色 */
    margin-right: 18px;
    /* 右側の余白 */

    /* ▼ テキストとの垂直位置を調整します (必要に応じて値を変えてください) */
    vertical-align: middle;
    margin-bottom: 2px;
    /* 位置の微調整用 */
  }

  .page-main-content.bg-beige {
    margin-top: 60px;
  }

  .page-content-section h2::before {
    font-size: 17px;
  }

  .page-content-section h2::after {
    font-size: 34px;
  }

  .page-content-section p {
    margin-left: 0px;
    padding: 0 39px;
    word-break: auto-phrase;
  }

  .page-content-section h2 {
    font-size: 28px;
    margin-left: 0px;
    padding-left: 75px;
    margin-top: -20px;
    padding-right: 45px;
    word-break: auto-phrase;
  }

  section#section-01 {
    padding-left: 2px;
  }

  .page-content-section h2::before {
    top: -10px;
  }

  .page-content-section h2::after {
    top: 7px;
  }

  .page-content-section .feature-section1_img_pc {
    display: none;
    /* PC用は非表示 */
  }

  .page-content-section .feature-section1_img_sp {
    display: block;
    width: 60%;
    margin: 0 auto;
  }

  section#section-02 {
    margin-top: 100px;
    padding-right: 12px;
  }

  .section03-1-inner,
  .section03-4-inner {
    position: unset;

    margin-left: 0;
    margin-right: 0;
    background-color: #f8f8f8;
    box-sizing: border-box;
  }

  .section03-1-inner {
    padding: 0 21px;
    padding-bottom: 10px;
  }

  #section-03 h3 {
    margin-left: 18px;
    font-size: 22px;
    padding-top: 60px;
  }

  .teachers {
    padding: 18px 21px 42px 21px;
    flex-wrap: wrap;
    box-shadow: 3px 3px 3px #ababab;
  }

  .teachers .left-col {
    width: 100%;
  }

  .teachers .right-col {
    width: 100%;
    margin-top: -30px;
  }

  .teachers img {
    margin: 0;
    max-width: 244pxpx;
    width: 100%;
    min-height: 219px;
    object-fit: cover;
    object-position: 100% 20%;
    max-height: 280px;
    padding: 12px;
  }

  .section03-1-inner .teachers .tag {
    padding: 2px;
  }

  .section03-1-inner p.position {
    padding-left: 0;
  }

  .section03-1-inner h4.name {
    font-size: 24px;
    margin-left: 0;
  }

  .page-content-section p {
    padding: 0;
  }

  #section-01 p,
  #section-03 p {
    padding: 0 21px;
    word-break: auto-phrase;
    font-size: 16px;
  }

  #section-02 p {
    padding: 0 9px;
    word-break: auto-phrase;
    font-size: 16px;
  }

  .section03-1-inner p.classes-info {
    padding: 12px 0;
  }

  .section03-1-inner p.class-description {
    font-size: 14px;
    font-weight: 400;
  }

  .equipment ul {
    margin-left: 0px;
  }

  .equipment ul > li img {
    width: 236px;
  }

  .equipment ul > li > span {
    font-size: 11px;

    width: 180px;
  }

  /* スマホ用スクロールインジケーター調整 */
  .equipment::before {
    right: 30px;
    font-size: 12px;
    padding: 10px 16px;
  }

  /* スマホ用: 卒業研究Swiper */
  .graduationSwiper {
    margin-left: -37px;
  }

  .graduationSwiper .swiper-slide {
    width: 168px !important;
  }

  .graduationSwiper .swiper-slide img {
    width: 168px;
  }

  .mv-balloons {
    margin-top: -100px;
    scale: 1;
  }

  .about p.main_about {
    font-size: 14px;
  }

  #section-03 .section03-1-inner .tag {
    font-size: 16px;
    padding: 0;
  }

  #section-03 .classes {
    font-size: 12px;
    padding: 0;
  }

  .equipment-wrap {
    margin-top: 10px;
  }

  .page-main-content.bg-beige {
    padding-bottom: 0px;
  }

  .equipment ul {
    margin-bottom: 0;
  }

  .graduation-content h3 {
    font-size: 22px;
  }

  .graduation-content {
    padding: 0;
  }

  .graduation-content h3#section-03-3, .graduation-content p {
    padding: 0 21px;
  }

  .graduation-content p {
    margin-left: 0px;
  }

  .graduation-content h3 {
    margin-left: 0px;
  }

  .section03-4-inner {
    padding: 30px 21px;
  }

  .section03-4-inner h3#section-03-4 {
    margin-bottom: 30px;
    font-size: 22px;
  }

  h4.qualification-title {
    font-size: 20px;
  }

  .section03-4-inner li {
    font-size: 14px;
  }

  .section03-4-inner ul {
    padding-left: 3px;
  }

  .section03-4-inner .qualification-notes p {
    font-size: 14px;
  }

  .more-info h2 {
    font-size: 24px;
    word-break: auto-phrase;
    padding: 0 21px;

    margin-bottom: 35px;
  }

  .more-info-wrap-card p {
    margin-top: 21px;
    font-size: 12px;
  }

  .more-info-wrap-card h3 {
    font-size: 38px;
  }

  .more-info-wrap-card {
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
  }

  .more-info-card {
    width: 100%;
    margin: 0 auto;
    max-width: unset;
  }

  .more-info-card > a {
    width: 90%;
    margin: 0 auto;
  }

  .download-button-container {
    padding: 60px 20px;
  }

  .download-button {
    border: 3px solid #fff;
  }

  .footer-img {
    padding: 0;
  }

  #activities-page .section-title {
    margin-top: -120px;
    padding: 220px 0 150px calc(18% + 21px);
  }

  .activities-hero-image {
    margin-top: 0;
    margin-left: -18%;
    margin-bottom: 80px;
  }

  #activities-page .page-description {
    font-size: 14px;
    padding: 0 21px;
    margin-bottom: 50px;
  }

  .showcase-text h2 {
    font-size: 20px;
  }

  .showcase-text h2::before {
    width: 21px;
    height: 21px;
    min-width: 21px;
    min-height: 21px;
  }

  section.showcase-item {
    gap: 30px;
  }

  .showcase-item:nth-child(2),
  .showcase-item:nth-child(4) {
    padding-left: 5%;
    gap: 30px;
    padding-right: 13%;
    flex-wrap: wrap;
  }

  .showcase-item:nth-child(3),
  .showcase-item:nth-child(5) {
    padding-right: 5%;
    gap: 30px;
    flex-wrap: wrap-reverse;
    padding-left: 13%;
  }

  #career-page .section-title {
    font-size: 48px;
    padding-left: 21px;
  }

  section#career-page .page-description {
    font-size: 14px;
    padding: 0 21px;
    margin-bottom: 0;
  }

  .career-content span,
  .employment span {
    font-size: 52px;
    margin-left: 0;
  }

  .career-content h3,
  .employment h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .career-content-inner .card-wrap {
    padding-left: 0;
  }

  .career-content-inner {
    margin: 0;
  }

  .career-content-inner .card {
    width: 100%;
    max-width: unset;
  }

  .card-description > p.comment {
    font-size: 18px;
  }

  .career-content-inner small {
    font-size: 14px;
  }

  .career-content-inner .tag {
    padding: 1px 12px;
    letter-spacing: 2px;
    font-size: 14px;
  }

  .career-content-inner p.company-name {
    font-size: 16px;
  }

  .employment {
    margin-top: 0px;
  }

  .career-section-wrapper {
    padding-bottom: 0;
  }

  .near-future {
    margin-left: 0;
    margin-right: 0;
    padding: 45px 21px;
  }

  .employment h4::before {
    width: 21px;
    height: 21px;
    position: relative;
    top: -3px;
  }

  .employment h4 {
    font-size: 20px;
  }

  .near-future .description {
    font-size: 16px;
    font-weight: 400;
  }

  .employment .btn-area {
    text-align: center;
  }

  .employment .btn-area .btn.animation-btn a {
    height: 61px;
  }

  section#career-page {
    padding-top: 150px;
  }

  .news-category-tabs {
    overflow-x: scroll;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    /* 【2】Firefox 対策 */
    scrollbar-width: none;
  }

  .news-category-tabs::-webkit-scrollbar {
    display: none;
  }

  .news-tab {
    width: 102px;
    min-width: 102px;
    padding: 3px;
  }

  .news-category-tabs {
    padding: 21px;
    justify-content: unset;
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .news-archive .news-item-link {
    background-color: #fff;
    gap: 0;
    height: auto;
  }

  .news-archive .news-date {
    font-size: 12px;
    min-width: unset;
    width: unset;
  }

  .news-archive .news-category {
    font-size: 10px;
    padding: 4px 6px;
    width: 60px;
    letter-spacing: 2px;
  }

  .news-archive .news-item-meta {
    flex-wrap: wrap;
  }

  .news-archive .news-item-title {
    font-size: 14px;
    border-left: none;
    font-weight: 500;
    padding: 12px 0 21px 0;
    width: 100%;
    border-bottom: 1px solid #181737;
  }

  .news-archive .news-list {
    gap: 0px;
  }

  .post-header-wrapper {
    margin-top: 80px;
  }

  .site-main.single-post {
    padding-left: 21px;
    padding-right: 21px;
    padding-bottom: 90px;
  }

  .single-content {
    width: 100%;
    padding: 0;
  }

  .single-post .post-category {
    padding: 3px 0px;
    font-size: 14px;
    width: 107px;
  }

  .site-main.single-post .post-title {
    font-size: 24px;
    margin-top: 45px;
    margin-bottom: 60px;
  }

  .site-main.single-post .post-content p {
    font-size: 14px;
    font-weight: 400;
  }

  .site-main.single-post .post-content img {
    margin: 39px auto;

    width: 95%;
  }

  .post-back-button {
    margin-top: 72px;
    text-align: unset;
  }

  .back-to-news {
    max-width: 289px;
  }

  .single-post {
    padding-bottom: 0;
  }

  header.archive-header {
    margin: 120px auto 0 auto;
    padding-left: 0;
  }

  header.archive-header h1 {
    font-size: 14px;
    padding-left: 21px;
    margin-bottom: 9px;
  }

  header.archive-header h2 {
    font-size: 48px;
    padding-left: 21px;
  }
  header.archive-header p {
    font-size: 14px;
    margin: 10px auto 40px auto;
    padding: 21px;
  }

  button.filter-tag {
    width: auto;
    padding: 3px 9px;
  }

  /* リスト全体のレイアウトをFlexboxに変更 */
  .teacher-filter .filter-list {
    display: flex !important; /* Gridを打ち消してFlexにする */
    flex-wrap: wrap !important; /* 折り返しを許可 */
    justify-content: flex-start !important; /* 左寄せ（中央寄せなら center） */
    gap: 10px !important; /* ボタン間の余白 */

    /* 必要に応じてコンテナの幅を調整してください */
    /* max-width: 600px; */
    /* margin: 0 auto; */
  }

  /* リストアイテム（li）の強制的な幅指定を解除 */
  .teacher-filter .filter-list li {
    display: block;
    width: auto; /* 幅を自動（中身に合わせる）にする */
    max-width: none !important; /* 最大幅制限を解除 */
    margin: 0 !important; /* 余白はgapで管理するため0にする */
  }

  /* 最初の要素（#すべて）に対する特別な指定があれば解除 */
  /* ※もし「#すべて」だけは1行目に単独で置きたい場合は、このブロックは不要です */
  .teacher-filter .filter-list li:first-child {
    grid-column: auto !important;
    justify-self: auto !important;
    width: auto;
  }

  /* ボタン自体のデザイン（角丸のピル型） */
  .teacher-filter .filter-tag {
    display: block;
    padding: 5px 6px; /* 内側の余白（上下 左右） */
    border-radius: 50px; /* 両端を丸くする */
    background-color: #eaeaea; /* 背景色（画像に合わせて調整） */
    border: 1px solid #333; /* 枠線 */
    color: #333; /* 文字色 */
    text-decoration: none;
    font-weight: bold;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  /* ホバー時やアクティブ時のスタイル */
  .teacher-filter .filter-tag:hover {
    background-color: #ddd; /* 少し濃くする */
  }

  .teacher-filter .filter-tag.active {
    color: #fff;
    background-color: #181737;
  }
  .teacher-filter ul {
    max-width: unset;
  }

  .filter-list li:has(button[data-tag="all"]) {
    width: auto !important; /* 例：これだけ全幅にする */
  }

  .teacher-info-card {
    max-width: 65%;
    flex-direction: unset;
    align-items: center;
    gap: 15px;
    padding: 15px;
    top: -160px;
  }

  .teacher-name {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .teacher-classroom-badge {
    font-size: 12px;
  }

  .teacher-category-badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  .teacher-hero img {
    height: 500px;
    object-position: 60% 100%;
  }

  .teacher-catchphrase {
    font-size: 20px;
    margin: 0;
    padding-left: 42px;
    padding-right: 42px;
  }

  .teacher-profile-section {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0 21px;
  }

  .section-heading {
    font-size: 24px;
  }

  .teacher-main-content {
    padding-top: 2px;
    padding-bottom: 80px;
  }

  .teacher-main-content h2 {
    font-size: 20px;
  }

  .teacher-main-content .content-wrap {
    padding: 0 21px;
  }

  .teacher-main-content p {
    font-size: 14px;
  }

  .teacher-main-content img {
    margin: 50px auto 80px auto;
    width: 100%!important;
  }
  p.image-caption {
    margin: -60px auto 80px auto;
  }

  .other-teacher h2 {
    margin-top: 30px;
    font-size: 24px;
  }

  .other-teacher {
    padding-bottom: 0;
  }

  .career .section-title,
  section.admission .section-title,
  section.faq .section-title {
    padding-left: 0;
  }

  #section-03 .teachers .classes-info {
    padding: 9px 21px;
  }

  #section-03 .teachers p.class-description {
    padding: 0;
  }

  #section-03 .teachers p.position {
    padding: 0;
  }

  .equipment-wrap p,
  .graduation-content p {
    font-weight: 400;
  }

  h4.qualification-title::before {
    margin-right: 15px;
  }

  .news-item a {
    gap: 15px;
  }

      .nav-sp > ul > li > a {
        font-size: 16px;
        font-weight: bold;
    }

     #feature-page .page-main-content.bg-beige{
    padding-top: 45px;
  }

  .social-icon-link {
    width: 44px;
    height: 44px;
margin-top: 12px;
    margin-left: unset;
}

.showcase-item {
  flex-wrap: wrap;
}
.showcase-image {
  min-width: 165px;
  max-width: unset;
  width: 100%;
}
.showcase-item:nth-child(5){
  margin-bottom: 120px;
}

.showcase-text {
  max-width: unset;
}

.teacher-card-image img {
object-position: 100% 20%;
}

.teacher-info-card {

        width: 100%;
    }

}


/* @media screen and (max-width: 500px) {

} */

/* ========================================
 * Fixed Banner (right bottom) - Added 2025-12-10
 * ======================================== */
 .fixed-banner-wrapper {
  position: fixed;
  right: 36px;
  bottom: 36px;
  z-index: 998;
  width: 387px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.fixed-banner-wrapper.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.fixed-banner-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.6);
  color: rgba(0, 0, 0, 0.6);;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(50%, -50%);
  transition: background-color 0.3s ease;
  z-index: 10;
}

.fixed-banner-close:hover {
opacity:0.7;
}

.fixed-banner-link {
  display: block;
}

.fixed-banner-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* iPad Pro (1024px) */
@media screen and (max-width: 1024px) {
  .fixed-banner-wrapper {
    width: 264px;
  }
}

/* iPad (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .fixed-banner-wrapper {
    width: 500px;
    right: 3px;
    bottom: 3px;
  }

  .fixed-banner-close {
    top: -20px;
    right: 15px;
  }
}

/* Smartphone (767px and below) */
@media screen and (max-width: 767px) {
  .fixed-banner-wrapper {
    width: 244px;
     right: 3px;
    bottom: 3px;
  }
.fixed-banner-close {
    top: -20px;
    right: 13px;
  }
  
}
