@charset "UTF-8";
/* ==========================================================================
   学院の歴史
 ========================================================================== */
.bnr_140_wrap {
  margin: 0 auto;
  padding: 0 20px;
}
@media screen and (min-width: 769px) {
  .bnr_140_wrap {
    padding: 0 10px;
    max-width: 820px;
  }
}

/* ==========================================================================
   東洋英和の歩み ローカルスタイル：みどころ / ギャラリー / 2列ボタン
 ========================================================================== */
.p-history-gallery {
  margin: 40px 0;
}
.p-history-gallery__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0;
  list-style: none;
}
@media screen and (min-width: 769px) {
  .p-history-gallery__list {
    flex-wrap: nowrap;
    gap: 25px;
  }
}
.p-history-gallery__item {
  width: calc((100% - 15px) / 2);
}
@media screen and (min-width: 769px) {
  .p-history-gallery__item {
    width: auto;
    flex: 1;
  }
}
.p-history-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}
.p-history-gallery__item figcaption {
  font-family: sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: #333333;
}
@media screen and (min-width: 769px) {
  .p-history-gallery__item figcaption {
    font-size: 14px;
  }
}

.p-nav-banners {
  display: flex;
  width: 100%;
}
.p-nav-banners__item {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  background-color: #791336;
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}
.p-nav-banners__item span {
  color: #ffffff;
  text-decoration: none;
}
.p-nav-banners__item:first-child {
  border-right: 1px solid #aa853e;
}
.p-nav-banners__item:hover {
  background-color: #862b4a;
  text-decoration: none !important;
}
@media screen and (min-width: 561px) {
  .p-nav-banners__item {
    padding: 20px 40px;
  }
}
.p-nav-banners__item .banner-text {
  font-weight: normal;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  word-break: break-all;
}
@media screen and (min-width: 561px) {
  .p-nav-banners__item .banner-text {
    font-size: 16px;
  }
}
@media screen and (min-width: 769px) {
  .p-nav-banners__item .banner-text {
    font-size: 20px;
  }
}
.p-nav-banners__item .banner-icon {
  width: 40px;
  margin-left: 5px;
  flex-shrink: 0;
}
@media screen and (min-width: 561px) {
  .p-nav-banners__item .banner-icon {
    width: 65px;
    margin-left: 20px;
  }
}
.p-nav-banners__item .banner-icon img, .p-nav-banners__item .banner-icon svg {
  width: 100%;
  height: auto;
  display: block;
}

.p-history-container {
  border: 1px solid #791336;
  background-color: #ffffff;
}
.p-history-container .p-history-header {
  background-color: #f4eff1;
  border-bottom: 1px solid #791336;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  color: #333333;
  margin: 0;
}
@media screen and (min-width: 561px) {
  .p-history-container .p-history-header {
    font-size: 20px;
  }
}

.p-siryo-container {
  border: 1px dotted #aa853e;
  padding: 20px;
  background-color: #ffffff;
}
@media screen and (min-width: 561px) {
  .p-siryo-container {
    padding: 40px;
  }
}

.c-table-list {
  list-style: none;
  padding: 20px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px 40px;
  counter-reset: item-count;
}
.c-table-list li {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  counter-increment: item-count;
}
.c-table-list li::before {
  content: counter(item-count);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #791336;
  color: #791336;
  font-size: 14px;
  margin-right: 12px;
  margin-top: 2px;
}

/* ==========================================================================
 学院資料・村岡花子文庫展示コーナー みどころセクション (Highlights)
 ========================================================================== */
.bnr_sources_wrap {
  margin: 0 auto;
  padding: 0 20px;
}
@media screen and (min-width: 561px) {
  .bnr_sources_wrap {
    max-width: 620px;
    padding: 0 10px;
  }
}

/* --- Attention Note with Icon --- */
.c-note-icon {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  margin-top: 15px;
}
.c-note-icon::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 20px;
  background-color: #aa853e;
  background-image: url("/gakuin/_shared/images/icn_img.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  margin-top: 4px;
}
.c-note-icon.--center {
  justify-content: center;
  text-align: center;
}

.p-highlights {
  position: relative;
  background-color: #f4eff1;
  padding: 0px 20px;
  margin-top: 80px;
}
@media screen and (min-width: 769px) {
  .p-highlights {
    padding: 0px 0;
    margin-top: 160px;
  }
}
.p-highlights::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: #f4eff1;
  top: -80px;
}
@media screen and (max-width: 560px) {
  .p-highlights::before {
    width: 80vw;
    height: 80vw;
    top: -60px;
  }
}
.p-highlights__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 20px 30px;
}
@media screen and (min-width: 769px) {
  .p-highlights__inner {
    padding: 0 60px 60px;
  }
}
.p-highlights__head {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 10px;
}
@media screen and (min-width: 769px) {
  .p-highlights__head {
    margin-bottom: 60px;
  }
}
.p-highlights__head .title {
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  color: #791336;
  font-size: 24px;
  letter-spacing: 0.15em;
}
@media screen and (min-width: 769px) {
  .p-highlights__head .title {
    font-size: 32px;
  }
}
.p-highlights__ornament {
  display: none;
}
@media screen and (min-width: 1024px) {
  .p-highlights__ornament {
    display: block;
    position: absolute;
    right: -30px;
    top: 100px;
    writing-mode: vertical-rl;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 56px;
    color: #c9b171;
    opacity: 0.5;
    pointer-events: none;
    letter-spacing: 0.05em;
  }
}
.p-highlights__item {
  padding: 40px 0;
  border-top: 1px solid #aa853e;
}
@media screen and (min-width: 769px) {
  .p-highlights__item {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    padding: 60px 0;
  }
}
.p-highlights__item:last-child {
  border-bottom: 1px solid #aa853e;
}
@media screen and (min-width: 769px) {
  .p-highlights__item.--reverse {
    flex-direction: row-reverse;
  }
}
.p-highlights__img {
  margin-bottom: 25px;
}
@media screen and (min-width: 769px) {
  .p-highlights__img {
    width: 48%;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}
.p-highlights__img img {
  width: 100%;
  height: auto;
  display: block;
}
.p-highlights__content {
  margin-bottom: 20px;
}
@media screen and (min-width: 769px) {
  .p-highlights__content {
    margin-bottom: 0;
  }
}
.p-highlights__content .item-title {
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  color: #791336;
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 769px) {
  .p-highlights__content .item-title {
    font-size: 22px;
  }
}
.p-highlights__content .item-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  text-align: justify;
  overflow: visible;
  display: block;
}
@media screen and (min-width: 769px) {
  .p-highlights__content .item-text {
    font-size: 15px;
  }
}

/* ==========================================================================
   東洋英和と村岡花子：キャプチャ再現（上見出し・左本文・右写真）
   ========================================================================== */
.p-muraoka-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}
@media screen and (min-width: 769px) {
  .p-muraoka-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }
}
.p-muraoka-layout__text {
  flex: 1;
}
.p-muraoka-layout__img {
  margin: 0;
  width: 100%;
}
@media screen and (min-width: 769px) {
  .p-muraoka-layout__img {
    width: 30%;
    flex-shrink: 0;
  }
}
.p-muraoka-layout__img figure {
  margin: 0;
}
.p-muraoka-layout__img figure img {
  width: 100%;
  height: auto;
  display: block;
  cursor: default;
}

/* ==========================================================================
   村岡花子：プロフィール（見出し中央強制 / 本文justify）
   ========================================================================== */
.p-muraoka-profile.p-highlights::before {
  top: -100px;
}
@media screen and (max-width: 560px) {
  .p-muraoka-profile.p-highlights::before {
    top: -70px;
  }
}
.p-muraoka-profile__top {
  position: relative;
  margin-top: -40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.p-muraoka-profile__main-img {
  width: 180px;
  margin: 0 auto 15px;
}
@media screen and (min-width: 769px) {
  .p-muraoka-profile__main-img {
    width: 230px;
    margin-bottom: 20px;
  }
}
.p-muraoka-profile__main-img img {
  width: 100%;
  height: auto;
  display: block;
}
.p-muraoka-profile__info {
  margin-bottom: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  color: #791336;
  font-weight: bold;
}
.p-muraoka-profile__info p {
  text-align: center !important;
  justify-content: center;
}
.p-muraoka-profile__info .profile-text-s {
  font-size: 14px;
  margin-bottom: 8px;
}
@media screen and (min-width: 769px) {
  .p-muraoka-profile__info .profile-text-s {
    font-size: 15px;
  }
}
.p-muraoka-profile__info .profile-text-l {
  font-size: 22px;
  line-height: 1.4;
}
@media screen and (min-width: 769px) {
  .p-muraoka-profile__info .profile-text-l {
    font-size: 26px;
  }
}
.p-muraoka-profile__intro {
  max-width: 680px;
  margin: 0 auto;
}
.p-muraoka-profile__intro p {
  text-align: justify;
  text-justify: inter-ideograph;
}

/* ==========================================================================
   村岡花子：下部3枚並びフォトギャラリー
   ========================================================================== */
.p-muraoka-gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #aa853e;
}
@media screen and (min-width: 769px) {
  .p-muraoka-gallery {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
}
.p-muraoka-gallery__item {
  flex: 1;
}
.p-muraoka-gallery__item figure {
  margin: 0;
}
.p-muraoka-gallery__item figure img {
  width: 100%;
  height: auto;
  display: block;
}
.p-muraoka-gallery__item figure figcaption {
  margin-top: 10px;
}

/* ==========================================================================
   花子が在学していた頃の東洋英和（変則レイアウト・ギャラリー）
   ========================================================================== */
.u-history-block__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.u-flex-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media screen and (min-width: 769px) {
  .u-flex-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}
.u-flex-layout__img-group {
  flex: 1;
}
.u-flex-layout__img-group .is-main {
  margin-bottom: 15px;
}
.u-flex-layout__img-group .u-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
@media screen and (min-width: 769px) {
  .u-flex-layout__text {
    width: 38%;
    flex-shrink: 0;
  }
}
.u-flex-layout__text p {
  text-align: justify;
}

.u-center-gallery {
  text-align: center;
  margin-bottom: 40px;
}
.u-center-gallery .u-sub-title {
  color: #791336;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  margin-bottom: 25px;
}
.u-center-gallery .is-large {
  max-width: 560px;
  margin: 0 auto;
}

.u-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 15px;
}
@media screen and (min-width: 769px) {
  .u-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
}
.u-gallery-grid figure {
  margin: 0;
}
.u-gallery-grid figure img {
  width: 100%;
  height: auto;
  display: block;
}
.u-gallery-grid figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
}

/* ==========================================================================
   東洋英和での英語の学び
   ========================================================================== */
.u-history-block__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.u-flex-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media screen and (min-width: 769px) {
  .u-flex-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.u-flex-layout__text {
  flex: 1;
}
.u-flex-layout__text p {
  line-height: 1.8;
}
@media screen and (min-width: 769px) {
  .u-flex-layout__img-group {
    width: 43%;
    flex-shrink: 0;
  }
}
.u-flex-layout__img-group figure {
  margin: 0;
}
.u-flex-layout__img-group figure img {
  width: 100%;
  height: auto;
  display: block;
}
.u-flex-layout__img-group figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

/* --- ミス・ブラックモア：配置調整のみ --- */
.p-app-block__inner {
  padding: 30px 20px;
}
@media screen and (min-width: 769px) {
  .p-app-block__inner {
    padding: 60px;
  }
}

.p-person-comment {
  margin-top: 40px;
}
.p-person-comment .c-line {
  margin: 0;
}
.p-person-comment__inner {
  padding: 30px 0;
}
@media screen and (min-width: 769px) {
  .p-person-comment__inner {
    display: flex;
    gap: 60px;
    padding: 50px 0;
  }
}
@media screen and (min-width: 769px) {
  .p-person-comment__img {
    width: 37%;
  }
}
.p-person-comment__img img {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .p-person-comment__img img {
    width: 100%;
  }
}
.p-person-comment__body {
  margin-bottom: 20px;
}
@media screen and (min-width: 769px) {
  .p-person-comment__body {
    width: 60%;
    margin-bottom: 0;
  }
}
.p-person-comment__body .u-text {
  line-height: 2.2;
  margin-bottom: 1.5em;
}
.p-person-comment__body .u-text:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------
  卒業後の花子と東洋英和セクション（クラス名を分離）
----------------------------------------------------------------- */
.p-history-hanako {
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid #aa853e;
  /* --- 06. 『赤毛のアン』セクション（中央配置） --- */
}
.p-history-hanako + .p-history-hanako {
  border-top: none;
}
.p-history-hanako__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 0;
}
@media screen and (min-width: 769px) {
  .p-history-hanako__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 50px 0;
  }
}
.p-history-hanako__body {
  flex: 1;
  display: block;
}
.p-history-hanako__body .u-text {
  color: #333333;
  font-size: 14px;
  line-height: 1.8;
}
.p-history-hanako__img {
  margin: 0;
  width: 100%;
}
@media screen and (min-width: 769px) {
  .p-history-hanako__img {
    width: 340px;
    flex-shrink: 0;
  }
}
.p-history-hanako__img img {
  width: 100%;
  height: auto;
  display: block;
}
.p-history-hanako__img figcaption {
  color: #333333;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 10px;
}
.p-history-hanako.__noboader {
  border: none;
}
.p-history-hanako.--center {
  display: block;
}
.p-history-hanako.--center .p-history-hanako__img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
}
@media screen and (min-width: 769px) {
  .p-history-hanako.--center .p-history-hanako__img {
    margin-bottom: 40px;
  }
}
.p-history-hanako.--center .p-history-hanako__body {
  width: 100%;
  text-align: left;
}

.u-mt-m {
  margin-top: 20px;
}

/* 演目ボタン専用ポップアップの見た目 */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.custom-modal__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.custom-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
}
.custom-modal__content img {
  width: 100%;
  height: auto;
  display: block;
}
.custom-modal__close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.3s;
}
.custom-modal__close:hover {
  opacity: 0.7;
}

/* -----------------------------------------------------------------
  【デザイン完全準拠】学院の歴史リンクボタン
  ・背景：エンジ / 文字：白 / 角丸：なし
  ・高さ：130px (PC)
  ・文字サイズ：24px
  ・アイコン：幅80px (元画像のエンジ色のまま)
----------------------------------------------------------------- */
.p-btn-history-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  height: 130px;
  margin: 0 auto;
  background-color: #791336;
  color: #fff !important;
  border: none;
  border-radius: 0;
  text-decoration: none;
  font-weight: normal;
  font-size: 24px;
  line-height: 1;
  transition: opacity 0.3s;
}
.p-btn-history-more::after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-left: 20px;
  background-image: url("/gakuin/images/icon-history2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* filterなし：エンジ背景にエンジのアイコンをそのまま配置 */
}
.p-btn-history-more:hover {
  opacity: 0.8;
  text-decoration: none !important;
}
@media screen and (max-width: 560px) {
  .p-btn-history-more {
    height: 100px;
    font-size: 20px;
  }
  .p-btn-history-more::after {
    width: 60px;
    height: 60px;
  }
}

/* ==========================================================================
   刊行物 (Publications)
   スクリーンショット寄せ調整
   ========================================================================== */
.p-pub-card {
  margin-bottom: 30px;
}
@media screen and (min-width: 769px) {
  .p-pub-card {
    margin-bottom: 60px;
  }
}
@media screen and (min-width: 769px) {
  .p-pub-card__main {
    display: flex;
    align-items: flex-start;
    gap: 56px;
  }
}
.p-pub-card__info {
  flex: 1;
  min-width: 0;
}
.p-pub-card__img {
  flex-shrink: 0;
}
.p-pub-card__img img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
  box-shadow: none;
}
.p-pub-card__img.--sp-only {
  width: 52%;
  margin: 0 auto 24px;
  display: block;
}
@media screen and (min-width: 769px) {
  .p-pub-card__img.--sp-only {
    display: none;
  }
}
.p-pub-card__img.--pc-only {
  display: none;
}
@media screen and (min-width: 769px) {
  .p-pub-card__img.--pc-only {
    display: block;
    width: 240px;
  }
}
.p-pub-card__body-group {
  margin-top: 28px;
}
.p-pub-card__desc {
  font-size: 16px;
  line-height: 2;
  color: #333333;
  margin-bottom: 36px;
}
@media screen and (min-width: 769px) {
  .p-pub-card__desc {
    font-size: 18px;
  }
}
.p-pub-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-right: 16px;
  padding-bottom: 16px;
  overflow: visible;
}
.p-pub-card__actions.--center {
  justify-content: center;
}
.p-pub-card__actions.--center .c-btn-pub {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .p-pub-card__actions.--center {
    grid-template-columns: 1fr;
  }
}
@media screen and (min-width: 769px) {
  .p-pub-card__actions:not(.--center) {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   楓の会
 ========================================================================== */
.kaede_ttl {
  max-width: 280px;
  margin: 0 auto 20px;
}

.c-btn-container {
  width: 100%;
  padding: 0 20px;
  margin: 40px auto;
  text-align: center;
}

.c-btn-banner {
  display: block;
  background-color: #791336;
  color: #ffffff !important;
  text-decoration: none !important;
  max-width: 600px;
  margin: 0 auto;
  padding: 25px 20px;
  transition: background-color 0.3s ease;
}
.c-btn-banner:hover {
  background-color: #862b4a;
}
.c-btn-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.c-btn-banner__text {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .c-btn-banner__text {
    font-size: 24px;
  }
}

.c-btn-note {
  margin-top: 15px;
  font-size: 12px !important;
  line-height: 1.5;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .c-btn-note {
    font-size: 14px !important;
  }
}

.icon-device {
  display: block;
  width: 40px;
  height: 30px;
  background: url("../images/associated/kaedenokai/icon-pc.png") no-repeat center center/contain;
}
@media screen and (min-width: 768px) {
  .icon-device {
    width: 60px;
    height: 45px;
  }
}

/* ==========================================================================
   後援会
 ========================================================================== */
.p-history {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.p-history__item {
  padding: 0px 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #aa853e;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .p-history__item {
    flex-direction: row;
    padding: 0px 0 30px;
    margin-bottom: 30px;
  }
}
.p-history__item:last-child {
  border-bottom: none;
}
.p-history__year {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #791336;
  font-weight: 500;
  margin-bottom: 8px;
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .p-history__year {
    width: 180px;
    font-size: 20px;
    margin-bottom: 0;
  }
}
.p-history__year-sub {
  font-size: 14px;
  display: inline-block;
}
@media screen and (min-width: 768px) {
  .p-history__year-sub {
    display: block;
    margin-top: 4px;
  }
}
.p-history__event {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}
@media screen and (min-width: 768px) {
  .p-history__event {
    font-size: 16px;
    flex: 1;
  }
}
.p-history__event p {
  margin: 0;
}
.p-history__event p + p {
  margin-top: 1.2em;
}

/* ==========================================================================
寄付をする
 ========================================================================== */
.p-donation-area {
  width: 100%;
  margin: 0px 0 40px;
}
.p-donation-area .p-donation-btn {
  /* ★親のflex：中身を全部まとめて中央に寄せる */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  /* 左右のpaddingは均等にする（18pxの矢印分は後で補正します） */
  padding: 15px 20px !important;
  background: #791336 !important;
  color: #fff !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  position: relative;
  /* ★矢印の固定に必要 */
  /* ★新規：ボタンの左側に、右端の矢印と同じ「18px」のダミー余白を作る */
  /* これで「アイコン+文字」全体が、視覚的に完璧な中央になります */
}
.p-donation-area .p-donation-btn::before, .p-donation-area .p-donation-btn::after {
  display: none !important;
}
@media screen and (min-width: 769px) {
  .p-donation-area .p-donation-btn {
    padding: 20px 30px !important;
  }
}
.p-donation-area .p-donation-btn::before {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  /* 右端の.u-arrowと同じ幅 */
  height: 1px;
  flex-shrink: 0;
  order: 1;
  /* 一番左に配置 */
}
.p-donation-area .p-donation-btn .u-icon {
  /* ★絶対配置は削除！ */
  position: static !important;
  transform: none !important;
  width: 70px !important;
  flex-shrink: 0;
  margin-right: 15px;
  /* ★文字との隙間 */
  order: 2;
  /* 2番目に配置 */
}
.p-donation-area .p-donation-btn .u-icon img {
  width: 100%;
  height: auto;
  display: block;
}
.p-donation-area .p-donation-btn .u-text {
  /* ★flex:1、text-alignなどは削除！ */
  flex: 0 0 auto !important;
  /* 文字の長さ分だけ幅を取る */
  font-family: sans-serif !important;
  font-weight: normal !important;
  font-size: 18px !important;
  letter-spacing: 0.1em !important;
  order: 3;
  /* 3番目に配置 */
  /* 前述の重心補正（下を1px厚く） */
  padding-top: 0px;
  padding-bottom: 1px;
}
@media screen and (min-width: 769px) {
  .p-donation-area .p-donation-btn .u-text {
    font-size: 22px !important;
  }
}
.p-donation-area .p-donation-btn .u-arrow {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  /* ★重要：矢印だけは右端にピン留めする（absoluteに戻す） */
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  /* PCとスマホで右端からの距離を調整 */
  right: 20px !important;
}
@media screen and (min-width: 769px) {
  .p-donation-area .p-donation-btn .u-arrow {
    right: 30px !important;
  }
}
.p-donation-area .p-donation-btn .u-arrow::before {
  content: "" !important;
  display: block !important;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 4px;
  right: 4px;
}
.p-donation-area .p-donation-btn .u-arrow::after {
  display: none !important;
}
.p-donation-area .p-donation-btn:hover {
  background: #862b4a !important;
  opacity: 0.9;
}

/* ==========================================================================
   アクセスページ用テンプレート（整理版）
   ========================================================================== */
.p-access {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.p-access__address {
  margin-bottom: 40px;
}
.p-access__map {
  margin-bottom: 40px;
}
.p-access__map .c-map-container {
  width: 100%;
  line-height: 0;
}
.p-access__map .c-map-container img {
  width: 100%;
  height: auto;
}

/* 住所リスト */
.c-address-list__item {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  font-size: 15px;
}
@media screen and (min-width: 769px) {
  .c-address-list__item {
    flex-direction: row;
    align-items: flex-start;
    font-size: 16px;
  }
}
.c-address-list__item dt {
  margin-bottom: 5px;
}
@media screen and (min-width: 769px) {
  .c-address-list__item dt {
    width: 35%;
    margin-bottom: 0;
  }
}
.c-address-list__item dd {
  margin: 0;
}
.c-address-list__item dd span {
  display: inline;
}
.c-address-list__item dd span + span {
  margin-left: 1em;
}
@media screen and (min-width: 769px) {
  .c-address-list__item dd {
    width: 65%;
    display: flex;
    gap: 30px;
  }
  .c-address-list__item dd span {
    display: block;
    margin-left: 0 !important;
    min-width: 13em;
  }
}

/* 行き方リスト */
.c-route-list {
  padding: 0;
  list-style: none;
}
.c-route-list__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  padding-left: 1.2em;
  position: relative;
  font-size: 15px;
}
@media screen and (min-width: 769px) {
  .c-route-list__item {
    flex-direction: row;
    font-size: 16px;
  }
}
.c-route-list__item::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #791336;
  font-weight: bold;
}
.c-route-list__item .label {
  font-weight: bold;
  color: #791336;
}
@media screen and (min-width: 769px) {
  .c-route-list__item .label {
    width: 320px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   お問い合わせリスト（アクセスページ・連絡先用）
 ========================================================================== */
.p-contact {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.p-contact__item {
  padding: 25px 0;
  border-bottom: 1px solid #aa853e;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .p-contact__item {
    flex-direction: row;
    padding: 40px 0;
  }
}
.p-contact__item:last-child {
  border-bottom: none;
}
.p-contact__label {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  color: #791336;
  margin-bottom: 15px;
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .p-contact__label {
    width: 45%;
    font-size: 24px;
    margin-bottom: 0;
    padding-right: 30px;
  }
}
.p-contact__content {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}
@media screen and (min-width: 768px) {
  .p-contact__content {
    font-size: 16px;
    flex: 1;
  }
}
.p-contact__content .c-contact-group {
  margin-bottom: 25px;
}
.p-contact__content .c-contact-group:last-child {
  margin-bottom: 0;
}
.p-contact__content p {
  margin: 0;
}
.p-contact__content p + p {
  margin-top: 1.5em;
}
.p-contact__content strong {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 5px;
}

/* ==========================================================================
   【採用情報ページ専用】リンク集レイアウト（お問い合わせ幅同期・完全版）
   ========================================================================== */
.p-recruit-item {
  display: flex;
  flex-direction: column;
  padding: 25px 0;
  border-bottom: 1px solid #791336;
  width: 100%;
  box-sizing: border-box;
  /* -------------------------------------------------------------
     左側：学校名エリア（★お問い合わせの .p-contact__label に完全同期）
     ------------------------------------------------------------- */
  /* -------------------------------------------------------------
     右側：リンクのグループエリア（★お問い合わせの .p-contact__content に同期）
     ------------------------------------------------------------- */
}
@media screen and (min-width: 768px) {
  .p-recruit-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 35px 0;
  }
}
.p-recruit-item .u-name {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  color: #791336;
  line-height: 1.3;
  text-align: left;
  margin: 0;
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .p-recruit-item .u-name {
    width: 45%;
    font-size: 24px;
    margin-bottom: 0;
    padding-right: 30px;
    box-sizing: border-box;
  }
}
.p-recruit-item .p-group {
  width: 100%;
  text-align: left;
  margin: 0;
  /* ★ul（リスト）の直後に .u-ttl が来たら、確実に上に余白を入れる */
}
@media screen and (min-width: 768px) {
  .p-recruit-item .p-group {
    flex: 1;
    width: auto;
  }
}
.p-recruit-item .p-group .u-ttl {
  font-weight: bold;
  color: #333333;
  font-size: 14px;
  text-align: left;
  display: block;
  margin: 0;
  margin-bottom: 8px;
}
@media screen and (min-width: 768px) {
  .p-recruit-item .p-group .u-ttl {
    font-size: 16px;
  }
}
.p-recruit-item .p-group ul + .u-ttl {
  margin-top: 10px !important;
}
@media screen and (min-width: 768px) {
  .p-recruit-item .p-group ul + .u-ttl {
    margin-top: 15px !important;
  }
}
.p-recruit-item .p-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.u-ttl + .p-recruit-item .p-group ul {
  margin-top: 0;
}
.p-recruit-item .p-group ul + ul {
  margin-top: 20px;
}
@media screen and (min-width: 768px) {
  .p-recruit-item .p-group ul + ul {
    margin-top: 25px;
  }
}
.p-recruit-item .p-group ul li {
  margin-bottom: 12px;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .p-recruit-item .p-group ul li {
    margin-bottom: 10px;
  }
}
.p-recruit-item .p-group ul li:last-child {
  margin-bottom: 0;
}
.p-recruit-item .p-group .u-job-ttl {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 15px;
}
@media screen and (min-width: 768px) {
  .p-recruit-item .p-group .u-job-ttl {
    font-size: 20px;
  }
}
.p-recruit-item .p-group .u-job-ttl::before {
  content: "●";
  color: #791336;
  font-size: 0.85em;
  margin-right: 8px;
  flex-shrink: 0;
  line-height: 1;
}
.p-recruit-item .p-group .u-job-ttl a {
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
}
.p-recruit-item .p-group .u-job-ttl a:hover {
  color: #791336;
}
.p-recruit-item .p-group ul + .u-job-ttl,
.p-recruit-item .p-group .u-job-ttl + .u-job-ttl {
  margin-top: 25px !important;
}
@media screen and (min-width: 768px) {
  .p-recruit-item .p-group ul + .u-job-ttl,
  .p-recruit-item .p-group .u-job-ttl + .u-job-ttl {
    margin-top: 50px !important;
  }
}

/* 共通アイコン設定（c-link-text）は既存のままで動作します */
/* ==========================================================================
ニュース一覧ページ
 ========================================================================== */
/* --- Category Navigation (トップページ共通デザイン) --- */
.p-category-nav {
  margin: 20px 0 30px;
  padding: 0 15px;
  font-family: "Noto Serif JP", serif !important;
}
@media screen and (min-width: 769px) {
  .p-category-nav {
    margin: 50px 0;
  }
}
.p-category-nav__inner {
  overflow: visible;
}
.p-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
  list-style: none;
  padding: 0;
  width: 100%;
  margin: 0 auto;
}
.p-category-nav__item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0 15px 5px;
  /* --- 縦の区切り線（トップページ仕様） --- */
  /* 最初の項目の線は消す */
  /* --- 下線アニメーション（中央から広がる） --- */
  /* アクティブ状態 */
}
@media screen and (min-width: 769px) {
  .p-category-nav__item {
    padding: 0 20px 5px;
  }
}
.p-category-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: rgba(170, 133, 62, 0.5);
}
.p-category-nav__item:first-child::before {
  display: none;
}
.p-category-nav__item a {
  display: block;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.8;
  transition: color 0.3s;
}
@media screen and (min-width: 769px) {
  .p-category-nav__item a {
    font-size: 15px;
  }
}
.p-category-nav__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #791336;
  transition: width 0.3s;
}
.p-category-nav__item:hover {
  opacity: 0.7;
}
.p-category-nav__item:hover a {
  color: #791336;
}
.p-category-nav__item.is-active a {
  color: #791336;
  pointer-events: none;
}
.p-category-nav__item.is-active::after {
  width: calc(100% - 30px);
}
@media screen and (min-width: 769px) {
  .p-category-nav__item.is-active::after {
    width: calc(100% - 40px);
  }
}

/* --- News List Grid (スマホ2列 / タブレット以上3列) --- */
.p-news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 12px;
  padding: 0 15px;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .p-news-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    padding: 0;
  }
}
@media screen and (min-width: 1025px) {
  .p-news-list {
    gap: 60px 40px;
  }
}

/* --- News Card Item (ゴシック体) --- */
.p-news-card {
  width: 100%;
  font-family: sans-serif;
}
.p-news-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.p-news-card__link:hover .p-news-card__img img {
  transform: scale(1.05);
}
.p-news-card__link:hover .p-news-card__title {
  color: #862b4a;
  text-decoration: underline;
}
.p-news-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #f4eff1;
}
.p-news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.p-news-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
@media screen and (min-width: 450px) {
  .p-news-card__meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.p-news-card__meta time {
  font-size: 12px;
  color: #888888;
}
@media screen and (min-width: 560px) {
  .p-news-card__meta time {
    font-size: 14px;
  }
}
.p-news-card__label {
  width: 68px;
  text-align: center;
  padding: 3px 0 4px;
  font-size: 10px;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  background-color: #9A6273;
}
@media screen and (min-width: 560px) {
  .p-news-card__label {
    width: 90px;
    font-size: 11px;
  }
}
.p-news-card__label.is-brand {
  background-color: #791336;
}
.p-news-card__label.is-shiryo {
  background-color: #787881;
}
.p-news-card__label.is-koen {
  background-color: #7F9A51;
}
.p-news-card__label.is-kaede {
  background-color: #AA853E;
}
.p-news-card__label.is-dosou {
  background-color: #2A3261;
}
.p-news-card__title {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #333333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.5em * 2);
}
@media screen and (min-width: 560px) {
  .p-news-card__title {
    font-size: 16px;
    line-height: 1.6;
    min-height: calc(1.6em * 2);
  }
}

.p-pagination {
  margin: 40px 0;
  width: 100%;
  /* 前へ・次へ：エンジ色、矢印スタイル */
}
.p-pagination__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
@media screen and (min-width: 560px) {
  .p-pagination__inner {
    gap: 25px;
  }
}
.p-pagination__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-pagination__item {
  font-size: 16px;
  /* 現在のページ：ボールド＋下線（画像イメージ） */
}
.p-pagination__item a, .p-pagination__item span {
  display: block;
  padding: 0 8px;
  color: #791336;
  text-decoration: none;
  transition: opacity 0.3s;
}
@media screen and (min-width: 560px) {
  .p-pagination__item a, .p-pagination__item span {
    padding: 0 10px;
    font-size: 18px;
  }
}
.p-pagination__item a:hover {
  opacity: 0.6;
}
.p-pagination__item.is-active span {
  font-weight: bold;
  text-decoration: underline;
  pointer-events: none;
}
.p-pagination__arrow {
  font-size: 14px;
  color: #791336;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.p-pagination__arrow:hover {
  opacity: 0.6;
}
.p-pagination__arrow.is-disabled {
  opacity: 0.2;
  pointer-events: none;
  cursor: default;
}
@media screen and (min-width: 560px) {
  .p-pagination__arrow {
    font-size: 16px;
  }
}

.p-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.p-modal__inner {
  position: relative;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-modal__inner {
    max-width: 900px;
  }
}
@media screen and (min-width: 1024px) {
  .p-modal__inner {
    max-width: 1000px;
  }
}
.p-modal__img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.p-modal__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.p-modal__video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.p-modal__caption {
  margin-top: 15px;
  color: #ffffff;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-modal__caption {
    font-size: 16px;
    margin-top: 20px;
  }
}

.p-video-thumb-container {
  display: block;
  position: relative;
  width: calc(100% - 40px);
  max-width: 450px;
  margin: 0 auto 30px;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background-color: #000;
  overflow: hidden;
  padding: 0;
  border: none;
}
.p-video-thumb-container:hover .p-video-thumb-img {
  transform: scale(1.05);
  opacity: 0.8;
}
.p-video-thumb-container:hover .c-play-button {
  background-color: #862b4a;
  transform: translate(-50%, -50%) scale(1.1);
}

.p-video-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.c-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #791336;
  border-radius: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.c-play-button::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}
