@charset "UTF-8";
/* ==========================================================================
   トップページ：校章・スクールモットー（枠付き完全画像化版）
   ========================================================================== */
.p-top-motto {
  width: 100%;
  margin: 40px 0;
}
.p-top-motto__crest {
  width: 60px;
  margin: 0 auto 15px;
}
.p-top-motto__crest img {
  width: 100%;
  height: auto;
}
.p-top-motto__title {
  width: 160px;
  margin: 0 auto;
}
.p-top-motto__title img {
  width: 100%;
  height: auto;
}
.p-top-motto__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
}
@media screen and (min-width: 769px) {
  .p-top-motto {
    margin: 80px 0;
  }
  .p-top-motto__crest {
    width: 76px;
    margin-bottom: 25px;
  }
  .p-top-motto__title {
    width: 220px;
  }
  .p-top-motto__cards {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
  }
}

/* モットーカード（枠線ごと画像を表示するため、枠や余白の設定をすべてクリア） */
.p-motto-card {
  width: 100%;
  max-width: 328px;
}
.p-motto-card img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (min-width: 769px) {
  .p-motto-card {
    max-width: 351px;
  }
}

/* ==========================================================================
   トップページ：プロモーションメインビジュアル（固定高トリミング版）
   ========================================================================= */
.p-hero-stage {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}
.p-hero-stage__image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* --------------------------------------------------
     PC表示（画面幅がブレイクポイントより大きい場合）
     -------------------------------------------------- */
}
@media screen and (min-width: 769px) {
  .p-hero-stage__image {
    height: 400px;
  }
}

/* ==========================================================================
   トップページ：2連バナーリンク（モバイルファースト）
   ========================================================================== */
.p-nav-banners {
  display: flex;
  width: 100%;
  background-color: #791336;
  margin: 40px 0 0;
  padding: 0;
  box-sizing: border-box;
}
.p-nav-banners__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  padding: 25px 10px;
  transition: background-color 0.3s;
}
.p-nav-banners__link:first-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: #aa853e;
}
.p-nav-banners__link:hover {
  background-color: #8b163e;
}
.p-nav-banners__title {
  font-family: "Noto Serif JP", serif;
  color: #ffffff;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.05em;
  font-size: 20px;
  margin-bottom: 12px;
}
.p-nav-banners__icon {
  display: block;
  height: auto;
  width: 32px;
  transition: transform 0.3s;
}
.p-nav-banners__link:hover .p-nav-banners__icon {
  transform: translateY(-3px);
}
@media screen and (min-width: 769px) {
  .p-nav-banners {
    margin: 60px 0 0;
  }
  .p-nav-banners__link {
    padding: 30px 20px;
  }
  .p-nav-banners__title {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .p-nav-banners__icon {
    width: 45px;
  }
}

/* ==========================================================================
  トップページ：スクープエッジ内プロフィール展開（モバイルファースト）
   ========================================================================== */
.p-history-profile {
  text-align: center;
  margin-bottom: 30px;
}
.p-history-profile__photo {
  width: 200px;
  margin: 0 auto 20px;
  box-sizing: border-box;
  border: 1px solid #aa853e;
  padding: 10px;
  border-radius: 50%;
  background-color: #ffffff;
}
.p-history-profile__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 50%;
}
.p-history-profile__meta .name {
  font-size: 22px;
  color: #791336;
  margin: 0 0 5px;
  text-align: center;
}
.p-history-profile__meta .years {
  font-size: 14px;
  color: #791336;
  margin: 0 0 15px;
  text-align: center;
}
.p-history-profile__meta .title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  color: #791336;
  text-align: center;
  margin: 0;
}
@media screen and (min-width: 769px) {
  .p-history-profile {
    margin-bottom: 40px;
  }
  .p-history-profile__photo {
    width: 210px;
  }
  .p-history-profile__meta .name {
    font-size: 26px;
  }
  .p-history-profile__meta .title {
    font-size: 18px;
  }
}

/* 中央の紋章付き区切り線 */
.c-decorator-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}
.c-decorator-line::before, .c-decorator-line::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #aa853e;
}
.c-decorator-line img {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}
@media screen and (min-width: 769px) {
  .c-decorator-line {
    margin: 40px 0;
  }
  .c-decorator-line img {
    width: 60px;
  }
}

/* 本文エリア */
.p-history-body {
  max-width: 680px;
  margin: 0 auto;
}
.p-history-body p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: left;
}
@media screen and (min-width: 769px) {
  .p-history-body p {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* ==========================================================================
   歴史ページ：人物紹介（文字サイズ最新版・PC時画像上揃え）
   ========================================================================== */
.p-founder-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 35px;
  border-bottom: 1px solid #aa853e;
  /* --------------------------------------------------
     PC表示時の基本（デフォルト：画像が左、テキストが右）
     -------------------------------------------------- */
}
.p-founder-block:last-child {
  margin-bottom: 0;
}
.p-founder-block__photo {
  width: 200px;
  margin: 0 auto 10px;
  box-sizing: border-box;
  border: 1px solid #aa853e;
  padding: 10px;
  border-radius: 50%;
}
.p-founder-block__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 50%;
}
.p-founder-block__text {
  width: 100%;
}
.p-founder-block__text .name {
  font-size: 24px;
  color: #791336;
  margin-bottom: 5px;
}
.p-founder-block__text .years {
  font-size: 16px;
  color: #791336;
  margin-bottom: 15px;
}
.p-founder-block__text .title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: #791336;
  margin-bottom: 15px;
  font-size: 18px;
}
.p-founder-block__bg-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 200;
  color: #c9b171;
  opacity: 0.7;
  line-height: 1;
  z-index: 0;
  position: absolute;
  bottom: -6px;
  font-size: 30px;
  text-align: center;
  background-color: transparent;
  pointer-events: none;
  left: auto;
  right: 0;
}
@media screen and (min-width: 769px) {
  .p-founder-block {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 160px;
    padding-bottom: 40px;
  }
  .p-founder-block:last-child {
    margin-bottom: 0;
  }
  .p-founder-block__photo {
    width: 232px;
    margin: 0;
    flex-shrink: 0;
  }
  .p-founder-block__text {
    flex-grow: 1;
  }
  .p-founder-block__text .title {
    font-size: 25px;
  }
  .p-founder-block__bg-text {
    font-size: 50px;
    bottom: -8px;
  }
  .p-founder-block .p-founder-block__bg-text {
    right: 0;
    left: auto;
    text-align: right;
  }
  .p-founder-block.--reverse {
    flex-direction: row-reverse;
  }
  .p-founder-block.--reverse .p-founder-block__bg-text {
    left: 0;
    right: auto;
    text-align: left;
  }
}

/* ==========================================================================
   アクセス：Googleマップ埋め込み（レスポンシブ対応）
   ========================================================================== */
.c-map-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.c-map-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}
@media screen and (min-width: 769px) {
  .c-map-container {
    margin-top: 40px;
    aspect-ratio: 16 / 9;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   下層ページ：PDFダウンロードリスト（バッティング完全回避版）
   ========================================================================== */
.p-download-list {
  list-style: none !important;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* --------------------------------------------------
     PC表示
     -------------------------------------------------- */
}
.p-download-list li {
  width: 100%;
  list-style-type: none !important;
  list-style-position: static !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
}
.p-download-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333333;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.p-download-list li a:hover {
  opacity: 0.7;
}
.p-download-list li a:hover span {
  text-decoration: underline;
}
.p-download-list li img {
  width: 20px;
  height: auto;
  margin-right: 12px;
  flex-shrink: 0;
  display: block;
}
.p-download-list li span {
  font-size: 15px;
  line-height: 1.4;
  text-indent: 0;
}
@media screen and (min-width: 769px) {
  .p-download-list {
    margin: 40px auto;
    gap: 20px;
  }
  .p-download-list li span {
    font-size: 17px;
  }
}
