/* ===============================
   学園紹介ページ 共通トーン
   （トップと同じ、やわらかポップ寄り）
================================= */

:root {
  --about-green: #009c84;
  --about-yellow: #ffe66f;
  --about-pink: #ff8fb8;
  --about-bg-cream: #fff7dd;
  --about-text-main: #053047;
}

/* ============================
   1. ページ全体のデフォルト文字サイズを上げる
============================ */
.page-wrap {
  font-size: 18px;          /* 全体の基準を大きくする */
  line-height: 1.9;         /* 読みやすさアップ */
}

body {
  font-size: 18px;        /* 基本文字サイズを大きめに */
  line-height: 1.9;
  color: #333;
}

/* 小さすぎる要素を揃える */
p,
li,
td,
th {
  font-size: 18px;
}

/* 見出し */
h1,
h2,
h3 {
  line-height: 1.4;
}

/* ============================
   2. セクションタイトル（pickup-title）
============================ */
.about-section .pickup-title,
.hero--subpage .pickup-title {
  font-size: 32px;          /* 今より大きく */
  margin-bottom: 2rem;
}

/* ============================
   3. 各セクションの本文
============================ */
.about-block-lead,
.about-block p,
.about-section-inner p,
.about-section-inner li {
  font-size: 18px;
  line-height: 1.9;
}

/* 箇条書きの文字サイズ */
.about-list li {
  font-size: 18px;
  padding-left: 0.5rem;
  margin-bottom: 0.6rem;
}

/* ============================
   4. 見出し h3（教育理念、建学の精神など）
============================ */
.about-block-title {
  font-size: 24px;
  margin-bottom: 1rem;
}

/* ============================
   5. 法人概要テーブル
============================ */
.corporate-table th,
.corporate-table td {
  font-size: 18px;
  padding: 1rem 1.2rem;
}

/* ============================
   6. 沿革（Timeline）
============================ */
.history-year {
  font-size: 20px;
  font-weight: 700;
}

.history-body p {
  font-size: 18px;
}

/* ============================
   7. 理事長メッセージ
============================ */
.message-label {
  font-size: 15px;
}

.message-role {
  font-size: 16px;
}

.message-name {
  font-size: 24px;
  font-weight: 700;
}

.message-body p {
  font-size: 18px;
  line-height: 1.9;
}

/* 理事長メッセージ内の最後の一文 */
.message-closing {
  font-size: 20px;
  font-weight: bold;
  margin-top: 2rem;
}


/* ページ全体の背景：ごく薄い模様 */
.page-wrap {
  background:
    radial-gradient(circle at 5% 0%, rgba(0, 156, 132, 0.08) 0, transparent 55%),
    radial-gradient(circle at 95% 100%, rgba(255, 184, 210, 0.12) 0, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      #fffdf6 0,
      #fffdf6 22px,
      #f9fff9 22px,
      #f9fff9 44px
    );
}

/* ===============================
   サブヒーロー
   └ トップの動画ヒーローと世界観を揃えつつ、
      斜めの帯＋キラキラで「遊び」感
================================= */

.sub-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: min(54vh, 420px);
  min-height: 320px;
  overflow: hidden;
  color: #fff;
}

/* 斜めのカラーバンド＋写真 */
.sub-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("../img/about/top01.jpg") center/cover no-repeat;
  z-index: 1;
}

/* 斜めの白帯（下部） */
.sub-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -30%;
  height: 55%;
  background: #fff7dd;
  transform: skewY(-6deg);
  z-index: 1;
}

/* 中央のテキストブロック */
.sub-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.8rem 1.8rem 2.8rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.65);
}

/* 英語ラベル */
.sub-hero-label-en {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  opacity: 0.9;
}

/* メインタイトル */
.sub-hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.sub-hero-title span {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  background: rgba(255, 230, 111, 0.95);
  color: #000;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  box-shadow: 0 4px 0 rgba(0,0,0,0.35);
}

/* リード文：白い吹き出し風 */
.sub-hero-lead {
  margin: 1.3rem 0 0;
  max-width: 640px;
  font-size: 0.96rem;
  line-height: 1.9;
  background: rgba(255,255,255,0.92);
  color: #053047;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}

/* サブヒーローのデコ（★や●） */
.sub-hero-symbol {
  position: absolute;
  z-index: 2;
  font-weight: 900;
  opacity: 0.8;
  text-shadow: 0 3px 0 rgba(0,0,0,0.4);
  animation: subHeroFloat 5s ease-in-out infinite;
}

.sub-hero-symbol--star {
  top: 18%;
  left: 10%;
  font-size: 1.8rem;
  color: #ffe66f;
}
.sub-hero-symbol--circle {
  top: 8%;
  right: 12%;
  font-size: 2rem;
  color: #ffb4c2;
}
.sub-hero-symbol--triangle {
  bottom: 12%;
  left: 22%;
  font-size: 1.5rem;
  color: #c5ffef;
}

@keyframes subHeroFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-6px) rotate(-4deg); }
  50%  { transform: translateY(0) rotate(2deg); }
  75%  { transform: translateY(6px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* スマホ調整 */
@media (max-width: 768px) {
  .sub-hero-inner {
    padding: 3.2rem 1.4rem 2.2rem;
  }
  .sub-hero-lead {
    max-width: 100%;
    margin-top: 1rem;
  }
  .sub-hero-symbol--star {
    top: 14%;
    left: 6%;
    font-size: 1.4rem;
  }
  .sub-hero-symbol--circle {
    top: 6%;
    right: 8%;
    font-size: 1.6rem;
  }
  .sub-hero-symbol--triangle {
    display: none;
  }
}

/* ===============================
   共通セクション
================================= */

.about-section {
  padding: 4rem 1.6rem 4.5rem;
  position: relative;
}

/* セクションタイトル「pickup-title」を少しポップに */
.about-section .pickup-title {
  text-align: center;
  margin: 0 0 2.2rem;
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.2em;
}

/* 背景に薄い模様を追加（セクション1,3） */
.about-section:nth-of-type(1),
.about-section:nth-of-type(3) {
  background:
    radial-gradient(circle at 10% 0%, rgba(0,156,132,0.08) 0, transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(255,184,210,0.12) 0, transparent 55%),
    #fffdf7;
}

/* Section 2（法人概要）はクリーム＋ドット */
.about-section--soft-bg {
  background:
    radial-gradient(circle, rgba(0,156,132,0.06) 1px, transparent 1px) 0 0/18px 18px,
    #fff7dd;
}

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

/* 2カラム */
.about-section-inner--two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem;
}

@media (max-width: 960px) {
  .about-section-inner--two-col {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   建学の精神・教育理念 ブロックカード
================================= */

.about-block {
  background: #ffffff;
  border-radius: 28px;
  border: 3px solid #000;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  padding: 1.9rem 1.7rem;
  position: relative;
  overflow: hidden;
}

/* 左上の色帯（カードごとに色を変えてもOK） */
.about-block::before {
  content: "";
  position: absolute;
  inset: -40px -40px auto auto;
  height: 46%;
  background: linear-gradient(135deg, #6fd4ff, #ffe66f);
  opacity: 0.25;
  transform: skewY(-8deg);
}

/* ブロックタイトル（前にちいさなアイコン風） */
.about-block-title {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
}

.about-block-title::before {
  content: "◆";
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.9rem;
  color: var(--about-green);
}

/* 「建学の精神」は色違いアイコンにしても良い */
.about-block:nth-of-type(1) .about-block-title::before {
  content: "★";
  color: #ffb300;
}

.about-block-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--about-text-main);
  position: relative;
  z-index: 1;
}

.about-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.about-list li + li {
  margin-top: 0.2rem;
}

/* 小さなふわふわアイコン */
.about-block-symbol {
  position: absolute;
  font-weight: 900;
  opacity: 0.45;
  pointer-events: none;
  text-shadow: 0 2px 0 rgba(0,0,0,0.12);
  animation: aboutFloat 4.8s ease-in-out infinite;
}

.about-block-symbol--1 {
  top: 14%;
  right: 8%;
  font-size: 1.4rem;
  color: #ffd4be;
}
.about-block-symbol--2 {
  bottom: 10%;
  left: 6%;
  font-size: 1.1rem;
  color: #c9d8ff;
}

@keyframes aboutFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-5px) rotate(-4deg); }
  50%  { transform: translateY(0) rotate(2deg); }
  75%  { transform: translateY(4px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* ===============================
   法人概要テーブル
================================= */

.corporate-table-wrap {
  background: #fff;
  border-radius: 32px;
  border: 3px solid #000;
  box-shadow: 0 16px 36px rgba(0,0,0,0.16);
  padding: 1.9rem 1.7rem;
  overflow-x: auto;
  position: relative;
}

/* 上部に小さなタグバッジ */
.corporate-table-wrap::before {
  content: "CORPORATE PROFILE";
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: #009c84;
  color: #fff;
  box-shadow: 2px 2px 0 #000;
}

.corporate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.corporate-table th,
.corporate-table td {
  padding: 0.7rem 0.8rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.corporate-table th {
  width: 26%;
  font-weight: 700;
  white-space: nowrap;
  background: #fdf6d5;
}

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

@media (max-width: 640px) {
  .corporate-table th,
  .corporate-table td {
    display: block;
    width: 100%;
  }
  .corporate-table th {
    border-bottom: none;
    border-radius: 999px;
    margin-top: 0.6rem;
  }
}

/* ===============================
   理事長メッセージ（ヘッダー内に写真）
================================= */

.about-section--message {
  background:
    radial-gradient(circle at 12% 0%, rgba(0,156,132,0.05) 0, transparent 60%),
    radial-gradient(circle at 88% 100%, rgba(255,184,210,0.08) 0, transparent 60%),
    #fffef9;
  padding: 4rem 0 4.5rem;
}

.about-section--message .about-section-inner {
  max-width: 820px;   /* 960 → 820 くらいに絞る */
  margin: 0 auto;
}

/* カード本体 */
.message-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  border: 3px solid #000;
  padding: 2.4rem 2.2rem 2.6rem;
  box-shadow: 0 18px 36px rgba(0,0,0,0.16);
}

/* デコレーション記号 */
.message-card-deco {
  position: absolute;
  font-size: 4.6rem;
  font-weight: 900;
  color: rgba(255, 230, 111, 0.55);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
  pointer-events: none;
}

.message-card-deco--left {
  top: -10px;
  left: 10px;
}

.message-card-deco--right {
  bottom: -20px;
  right: 15px;
  transform: scaleX(-1);
}

/* ヘッダー：左テキスト＋右写真 */
.message-card-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* 左：テキスト　右：写真を広めに */
  align-items: center;
  column-gap: 2rem;
  margin-bottom: 2rem;
}

.message-header-main {
  text-align: left;
}

/* ラベル・肩書・氏名（文字大きめ） */
.message-label {
  display: inline-block;
  background: #009c84;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 0.7rem;
  box-shadow: 2px 2px 0 #000;
}

.message-role {
  margin: 0;
  font-size: 1.05rem;
  color: #444;
}

.message-name {
  margin: 0.3rem 0 0;
  font-size: 1.55rem;
  font-weight: 900;
}

.message-name-kana {
  font-size: 0.95rem;
  margin-left: 0.3rem;
  color: #555;
}

/* 写真をカード右側で大きめに */
.message-header-photo {
  width: 240px;         /* 大きさ（必要なら 260〜300px も可） */
  justify-self: end;
  position: relative;
}

/* 画像そのもののデザイン */
.message-header-photo img {
  width: 100%;
  height: auto;
  display: block;

  /* 丸ではなく少しの角丸 */
  border-radius: 10px;

  /* 枠なし */
  border: none;

  /* ふわっと広いぼかし影（柔らかい雰囲気） */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.10);

  /* ちょい浮いてる感じ */
  transform: translateX(10px); 
}

/* タイトル（吹き出し風） */
.message-title {
  font-size: 1.45rem;
  font-weight: 900;
  background: #fff3c8;
  border: 2px solid #000;
  padding: 0.3rem 1.2rem;
  border-radius: 999px;
  display: inline-block;
  margin: 0 0 1.3rem;
}

/* 本文（少し大きめ） */
.message-body p {
  font-size: 1.05rem;
  line-height: 1.95;
  margin-bottom: 1.2rem;
  color: #333;
}

.message-closing {
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 1.6rem;
}

/* スマホ対応 ---------------------- */
@media (max-width: 768px) {
  .message-card {
    padding: 2rem 1.4rem 2.3rem;
  }

  .message-card-header {
    flex-direction: column-reverse; /* 上：写真、下：テキスト にもできる */
    align-items: flex-start;
  }

  .message-header-photo {
    align-self: center;
    flex: 0 0 130px;
  }

  .message-card-deco {
    font-size: 3.6rem;
  }

  .message-title {
    font-size: 1.3rem;
  }

  .message-body p {
    font-size: 1rem;
  }
}



/* ===============================
   沿革タイムライン
================================= */

.history-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.4rem;
  position: relative;
}

/* うっすら色の縦線 */
.history-timeline::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    rgba(0,156,132,0.4),
    rgba(255,143,184,0.4)
  );
}

.history-item {
  position: relative;
  padding: 0 0 1.7rem 2.6rem;
}

/* 年号の丸 */
.history-item::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.25rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #000;
  background: #ffe66f;
  box-shadow: 2px 2px 0 #000;
}

/* 年号と本文をピル型に */
.history-year {
  display: inline-block;
  padding: 0.15rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #000;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.history-body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  background: #ffffff;
  border-radius: 18px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.08);
}

/* ===============================
   サブページ用 hero 微調整
   （style.css の hero と組み合わせ）
================================= */

.hero.hero--subpage {
  margin-top: 0;
  padding-top: 3.2rem;
}

/* ここはトップと同じ hero デザインを前提に、
   文字だけ少しだけコンパクトに */
.hero.hero--subpage .hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
}
/* ==========================================
   最後に：学園紹介ページの文字サイズを
   情報公開ページと同程度にそろえる上書き
   （本文・リスト・表・沿革・メッセージなど）
========================================== */

/* 全体の基準サイズ */
body {
  font-size: 18px;
  line-height: 1.9;
}

/* セクション内の本文・リスト */
.about-section-inner p,
.about-section-inner li,
.about-block-lead,
.about-block p,
.about-list li {
  font-size: 18px;
  line-height: 1.9;
}

/* 法人概要テーブル */
.corporate-table th,
.corporate-table td {
  font-size: 18px;
  line-height: 1.9;
}

/* 沿革タイムライン */
.history-year,
.history-body p {
  font-size: 18px;
  line-height: 1.9;
}

/* 理事長メッセージの本文 */
.message-body p {
  font-size: 18px;
  line-height: 1.9;
}

/* セクションタイトル（学園紹介ページ用） */
.about-section .pickup-title,
.hero--subpage .pickup-title {
  font-size: 32px;
}
/* ==========================================
   学園紹介ページ：ヘッダーテキストを大きくする上書き
   （disclosure.php と同等のサイズ感へ）
========================================== */

/* 英語ラベル（ABOUT / VISION など） */
.sub-hero-label-en {
  font-size: 1.2rem !important;   /* 0.9rem → 大幅アップ */
  letter-spacing: 0.25em;
}

/* メインタイトル（学園紹介 / 建学の精神 など） */
.sub-hero-title {
  font-size: clamp(2.6rem, 4.6vw, 3.4rem) !important;
  font-weight: 900;
  letter-spacing: 0.20em;
}

/* タイトル内の黄色ピル部分 */
.sub-hero-title span {
  font-size: 1.1rem !important;
  padding: 0.3rem 1.2rem;
}

/* リード文（白い吹き出し部分） */
.sub-hero-lead {
  font-size: 1.15rem !important;
  line-height: 2.0;
  padding: 1.2rem 1.4rem;        /* ボックスも少し大きく */
}

/* スマホ時の調整 */
@media (max-width: 768px) {
  .sub-hero-title {
    font-size: clamp(2.2rem, 6vw, 2.7rem) !important;
  }
  
  .sub-hero-lead {
    font-size: 1.05rem !important;
  }
}
