@charset "UTF-8";

/* =========================================================
   01. サイト全体の基本設定
   ========================================================= */

:root {
  /* レイアウト */
  --site-max-width: 1200px;
  --side-padding: 24px;
  --header-top-height: 92px;
  --nav-height: 62px;
  --logo-size: 64px;

  /* 共通カラー */
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-subtext: #666666;
  --color-line: #d8e4dc;

  /* ブランドカラー */
  --color-main: #8fc28a;
  --color-main-dark: #739f6f;
  --color-main-soft: #edf5ea;

  /* メニューカラー */
  --color-menu: #8fc28a;
  --color-menu-dark: #739f6f;
  --color-menu-light: #edf5ea;

  /* このデザインに合わせた補助カラー */
  --color-accent-yellow: #f3c85b;
  --color-accent-blue: #5ab3d6;
  --color-accent-pink: #e39aa3;
  --color-accent-green: #97c98b;
  --color-base-beige: #e7e1dd;
  --color-base-light: #f8f8f6;

  /* その他 */
  --color-overlay: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 8px 24px rgba(80, 64, 56, 0.08);
  --shadow-submenu: 0 10px 24px rgba(80, 64, 56, 0.10);
}

/* =========================================================
   02. 基本設定
   ========================================================= */

html {
  box-sizing: border-box;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 共通コンテナ */
.header-inner,
.nav-inner,
.content-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

/* 汎用コンテナ */
.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   03. ヘッダー
   ========================================================= */

.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e3e3e3;
}

.site-header__title-wrap {
  display: flex;
  flex-direction: column;
}

.site-header__sub {
  font-size: 12px;
  color: var(--color-subtext);
  margin-top: 4px;
  line-height: 1.4;
}

.header-top {
  background: var(--color-main-soft);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
  max-height: 200px;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}

.header-top.is-hidden {
  max-height: 0;
  opacity: 0;
}

.header-inner {
  min-height: var(--header-top-height);
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-brand {
  flex: 1 1 auto;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.site-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-sub {
  margin: 0 0 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-subtext);
}

.brand-main {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f2d3d;
  word-break: keep-all;
}

.header-utility {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--color-main);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-main);
  background: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.utility-link:hover,
.utility-link:focus {
  background: var(--color-main);
  color: #fff;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--color-main);
  border-radius: 6px;
  background: #fff;
  color: var(--color-main-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle-icon {
  font-size: 18px;
  line-height: 1;
}

.menu-toggle-text {
  line-height: 1;
}

/* =========================================================
   ページヘッダー（共通）
   ========================================================= */

.page-header {
  position: relative;
  width: 100%;
  margin: 0 0 5px 0;
  padding: 0;
  background: url('/_img/back_title.jpg') center center / cover no-repeat;
  min-height: 260px;
  overflow: hidden;
}

/* 白い被せ */
.page-header__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
}

/* タイトル内側 */
.page-header__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 32px));
  min-height: 260px;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 日本語タイトル */
.page-header__title {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.35;
  color: #222222;
}

/* 英語 */
.page-header__sub {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5f6f5d;
}

/* 説明 */
.page-header__desc {
  margin: 20px 0 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.8;
  color: #444444;
}

/* =========================================================
   04. グローバルメニュー
   ========================================================= */

.global-nav {
  position: relative;
  background: var(--color-menu);
  transition: all 0.3s ease;
}

.nav-inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.menu-item {
  position: relative;
  flex: 0 0 auto;
}

.menu-item > a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  color: #fff;
}

.menu-item > a:hover,
.menu-item > a:focus {
  background: var(--color-menu-dark);
  color: #fff;
}

.has-sub {
  position: relative;
}

.sub-toggle {
  display: none;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  border: 1px solid #dddddd;
  box-shadow: var(--shadow-submenu);
  z-index: 2100;
}

.sub-menu a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.sub-menu a:hover,
.sub-menu a:focus {
  background: var(--color-menu-light);
  color: var(--color-menu-dark);
}

@media (min-width: 901px) {
  .has-sub:hover > .sub-menu,
  .has-sub:focus-within > .sub-menu {
    display: block;
  }
}

/* =========================================================
   スクロール後 固定ナビ
   ========================================================= */

.global-nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   05. ヒーロースライダー
   ========================================================= */

.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 420px;
}

/* =========================================================
   スライドを重ねる
   ※ 横並びではなく、全部同じ場所に配置する
   ========================================================= */

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 2.4s ease,
    visibility 2.4s ease;
  z-index: 1;
}

/* 現在表示中のスライド */
.hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   必要なら画像の上に文字を載せる用
   ※ 今はHTMLにoverlayが無くても残しておいてOK
   ========================================================= */

.hero-slider__overlay {
  position: absolute;
  left: 8%;
  bottom: 12%;
  max-width: 520px;
  padding: 28px 32px;
  background: var(--color-overlay);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  z-index: 3;
}

.hero-slider__sub {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-main-dark);
}

.hero-slider__title {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.35;
  color: #1f2d3d;
}

.hero-slider__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* =========================================================
   矢印
   ========================================================= */

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: none;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  padding: 0;
  font-size: 52px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.hero-slider__nav--prev {
  left: 20px;
}

.hero-slider__nav--next {
  right: 20px;
}

.hero-slider__nav:hover {
  opacity: 0.75;
}

/* =========================================================
   トップ用：第三者評価説明ボックス
   ========================================================= */

.hero-slider__overlay--about {
  left: 6%;
  right: auto;
  bottom: 10%;
  max-width: 720px;
  width: min(720px, calc(100% - 120px));
  padding: 30px 34px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.hero-slider__text-block p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.95;
  color: #333333;
}

.hero-slider__text-block p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   トップ用：第三者評価お問い合わせ導線
   ========================================================= */

.home-hyouka-cta {
  padding: 24px 0 30px;
  background: #ffffff;
  text-align: center;
}

.home-hyouka-cta__notice {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: #d93025;
}

.home-hyouka-cta__button-wrap {
  margin: 0;
}

.home-hyouka-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 360px;
  min-height: 58px;
  padding: 14px 28px;
  border: 1px solid var(--color-main);
  background: #ffffff;
  color: var(--color-main-dark);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-hyouka-cta__button:hover,
.home-hyouka-cta__button:focus {
  background: var(--color-main);
  color: #ffffff;
}

/* =========================================================
   06. メイン本文
   ========================================================= */

.page-main {
  padding: 40px 0 80px;
}

.page-title {
  margin-top: 0;
  font-size: 32px;
}

/* =========================================================
   07. フッター
   ========================================================= */

.site-footer {
  margin-top: 64px;
  background: linear-gradient(to bottom, #f8fbf9 0%, #edf5ef 100%);
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
}

.site-footer__inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 24px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: start;
  padding-bottom: 32px;
}

.site-footer__content {
  min-width: 0;
}

.site-footer__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-main-dark);
}

.site-footer__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
}

.site-footer__text {
  margin: 0;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-subtext);
}

.site-footer__info-list {
  margin-top: 20px;
}

.site-footer__info-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-subtext);
}

.site-footer__info-list p + p {
  margin-top: 4px;
}

.site-footer__info-list a {
  color: var(--color-main-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__info-list a:hover {
  opacity: 0.8;
}

/* =========================================================
   フッター：貸借対照表の公告
   ========================================================= */

.site-footer__koukoku {
  margin-top: 24px;
}

.site-footer__koukoku-title {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-main-dark);
  font-weight: 700;
}

.site-footer__koukoku-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__koukoku-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.site-footer__koukoku-buttons a:hover,
.site-footer__koukoku-buttons a:focus {
  background: var(--color-main);
  border-color: var(--color-main);
  color: #fff;
}

.site-footer__nav-wrap {
  width: 420px;
  max-width: 100%;
  margin-left: auto;
}

.site-footer__heading {
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-main-dark);
  border-bottom: 2px solid var(--color-main);
}

.site-footer__menu-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px 36px;
}

.site-footer__menu-grid li {
  margin: 0;
  padding: 0;
}

.site-footer__menu-grid a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer__menu-grid a:hover {
  color: var(--color-main-dark);
  transform: translateX(4px);
}

.site-footer__sub {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}

.site-footer__sub-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: end;
}

.site-footer__info {
  min-width: 0;
}

.site-footer__info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-subtext);
}

.site-footer__info p + p {
  margin-top: 2px;
}

.site-footer__info a {
  color: var(--color-main-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__copy {
  width: 420px;
  max-width: 100%;
  margin: 0 0 0 auto;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-subtext);
  text-align: left;
  white-space: nowrap;
}

/* =========================================================
   08. 寄付のお願い
   ========================================================= */

.donation-block {
  background: #e7e1dd;
  padding: 34px 0 42px;
}

.donation-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.donation-block__left {
  padding-right: 34px;
}

.donation-block__right {
  border-left: 1px solid #8b8b8b;
  padding-left: 34px;
}

.donation-block__title {
  margin: 0 0 20px;
  color: #f05a00;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.donation-block__text {
  margin: 0;
  color: #222;
  font-size: 15px;
  line-height: 2;
}

.donation-block__button-wrap {
  margin-top: 40px;
  text-align: center;
}

.donation-block__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 72px;
  padding: 16px 28px;
  border: 3px solid #f05a00;
  background: #fff;
  color: #f05a00;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.donation-block__links {
  margin: 6px 0 18px;
  padding-left: 1.2em;
  color: #222;
  font-size: 15px;
  line-height: 1.9;
}

.donation-block__links a {
  color: #222;
  text-decoration: none;
  word-break: break-all;
}

.donation-block__links a:hover {
  text-decoration: underline;
}

.donation-block__logos {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.donation-block__logos img {
  display: block;
  width: 90%;
  max-width: 320px;
  height: auto;
  background: #fff;
}

/* =========================================================
   ページトップへ戻るボタン（共通）
   ========================================================= */

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: 72px;
  height: 72px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--color-main);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: var(--color-main-dark);
}

.page-top:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 4px;
}

/* 矢印 */
.page-top__icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: block;
}

.page-top__icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: translateX(-50%) rotate(45deg);
}

/* =========================================================
   共通ボタン
   ========================================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--color-main);
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-main-dark);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}

/* =========================================================
   パンくず（シンプル・NECST風）
   ========================================================= */

.breadcrumb {
  padding: 8px 0 0;
  background: none;
  border: none;
}

.breadcrumb .container {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

/* リスト */
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #666;
}

/* 各要素 */
.breadcrumb__item {
  display: flex;
  align-items: center;
}

/* リンク */
.breadcrumb__item a {
  color: #666;
  text-decoration: none;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

/* 区切り */
.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  margin: 0 6px;
  color: #aaa;
}

/* =========================================================
   共通見出し 1〜5
   今後は
   ・見出し1 = .heading-1
   ・見出し2 = .heading-2
   ・見出し3 = .heading-3
   ・見出し4 = .heading-4
   ・見出し5 = .heading-5
   で統一
   ========================================================= */

/* =========================================================
   見出し1
   ページ内の最上位見出し
   ========================================================= */

.heading-1 {
  margin: 0 0 28px;
  font-size: 36px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f2d3d;
}

/* =========================================================
   見出し2
   大見出し / メインセクション見出し
   緑の縦線つき
   ========================================================= */

.heading-2 {
  position: relative;
  margin: 56px 0 24px;
  padding-left: 20px;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f2d3d;
}

.heading-2::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 6px;
  height: 1.35em;
  border-radius: 999px;
  background: var(--color-main-dark);
}

/* =========================================================
   見出し3
   中見出し
   薄めの緑の縦線つき
   ========================================================= */

.heading-3 {
  position: relative;
  margin: 40px 0 18px;
  padding-left: 16px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2f5d46;
}

.heading-3::before {
  content: "";
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 4px;
  height: 1.2em;
  border-radius: 999px;
  background: var(--color-main);
}

/* =========================================================
   見出し4
   小見出し
   線なし・落ち着いた緑
   ========================================================= */

.heading-4 {
  margin: 28px 0 14px;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #3e6b55;
}

/* =========================================================
   見出し5
   補助見出し
   本文に近いが少し強調
   ========================================================= */

.heading-5 {
  margin: 22px 0 10px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #556f63;
}

/* =========================================================
   見出し直後の本文余白調整
   ========================================================= */

.heading-1 + p,
.heading-2 + p,
.heading-3 + p,
.heading-4 + p,
.heading-5 + p {
  margin-top: 0;
}

/* =========================================================
   共通：ページ内ジャンプメニュー
   about / research 詳細ページなどで共通使用
   ========================================================= */

.page-anchor-nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(6px);
}

.page-anchor-nav__inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  text-align: center;
}

.page-anchor-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.page-anchor-nav__item {
  margin: 0;
  padding: 0;
}

.page-anchor-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--color-main);
  background: #ffffff;
  color: var(--color-main-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.page-anchor-nav__link:hover,
.page-anchor-nav__link:focus {
  background: var(--color-main);
  color: #ffffff;
  border-color: var(--color-main);
  box-shadow: 0 6px 16px rgba(68, 108, 84, 0.12);
}

/* =========================================================
   固定ヘッダー・固定グローバルメニュー対策
   ジャンプ先見出しが隠れにくいようにする
   ========================================================= */

[id] {
  scroll-margin-top: 130px;
}

/* =========================================================
   09. 共通レスポンシブ
   ========================================================= */

@media (max-width: 1100px) {
  .donation-block__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .donation-block__left {
    padding-right: 0;
  }

  .donation-block__right {
    border-left: none;
    border-top: 1px solid #8b8b8b;
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .site-logo {
    width: 52px;
    height: 52px;
  }

  .brand-main {
    font-size: 18px;
    line-height: 1.35;
  }

  .brand-sub {
    font-size: 11px;
  }

  .header-utility {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
    margin-left: auto;
  }

  .global-nav {
    display: none;
  }

  .global-nav.is-open {
    display: block;
  }



  .nav-inner {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  .menu {
    display: block;
  }

  .menu-item {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .menu-item > a {
    display: block;
    height: auto;
    min-height: 54px;
    padding: 15px 52px 15px 16px;
    background: var(--color-menu);
    color: #fff;
  }

  .sub-toggle {
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .sub-menu {
    position: static;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0;
    background: var(--color-menu-light);
  }

  .has-sub.is-open > .sub-menu {
    display: block;
  }

  .sub-menu a {
    padding: 12px 24px;
    color: #333;
  }

  .hero-slider {
    height: 320px;
  }

  .hero-slider__overlay {
    left: 16px;
    right: 16px;
    bottom: 48px;
    max-width: none;
    padding: 20px;
  }

  .hero-slider__overlay--about {
    left: 16px;
    right: 16px;
    bottom: 44px;
    width: auto;
    max-width: none;
    padding: 22px 20px;
  }

  .hero-slider__text-block p {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-slider__title {
    font-size: 24px;
  }

  .hero-slider__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-slider__nav {
    width: auto;
    height: auto;
    font-size: 40px;
  }

  .hero-slider__nav--prev {
    left: 10px;
  }

  .hero-slider__nav--next {
    right: 10px;
  }

  .home-hyouka-cta__notice {
    font-size: 20px;
  }

  .home-hyouka-cta__button {
    min-width: 280px;
    font-size: 16px;
  }

  .site-footer__main {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
  }

  .site-footer__nav-wrap {
    width: 360px;
  }

  .site-footer__menu-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 10px 24px;
  }

  .site-footer__sub-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
  }

  .site-footer__copy {
    width: 360px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(1100px, calc(100% - 24px));
  }

  .page-header {
    min-height: 150px;
    margin-bottom: 20px;
  }

  .page-header__inner {
    width: min(1100px, calc(100% - 24px));
    min-height: 150px;
    padding: 18px 0;
  }

  .page-header__title {
    font-size: 26px;
    line-height: 1.35;
  }

  .page-header__sub {
    margin-top: 8px;
    font-size: 11px;
  }

  .page-header__desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
  }

  
  .page-main {
    padding: 32px 0 56px;
  }

  .heading-1 {
    margin-bottom: 22px;
    font-size: 28px;
    line-height: 1.45;
  }

  .heading-2 {
    margin: 42px 0 20px;
    padding-left: 16px;
    font-size: 24px;
  }

  .heading-2::before {
    width: 5px;
    height: 1.3em;
  }

  .heading-3 {
    margin: 32px 0 16px;
    padding-left: 14px;
    font-size: 20px;
  }

  .heading-3::before {
    width: 4px;
    height: 1.15em;
  }

  .heading-4 {
    margin: 24px 0 12px;
    font-size: 18px;
  }

  .heading-5 {
    margin: 18px 0 8px;
    font-size: 16px;
  }

  .page-anchor-nav__inner {
    width: min(1100px, calc(100% - 24px));
    padding: 10px 0;
  }

  .page-anchor-nav__list {
    gap: 8px;
    justify-content: center;
  }

  .page-anchor-nav__item {
    width: auto;
  }

  .page-anchor-nav__link {
    width: auto;
    min-height: 42px;
    padding: 9px 13px;
    font-size: 13px;
    justify-content: center;
  }

  [id] {
    scroll-margin-top: 110px;
  }

  .site-footer {
    margin-top: 48px;
  }

  .site-footer__inner {
    width: calc(100% - 20px);
    padding: 36px 0 20px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 24px;
  }

  .site-footer__nav-wrap {
    width: 100%;
    margin-left: 0;
  }

  .site-footer__menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
  }

  .site-footer__menu-grid a {
    white-space: normal;
  }

  .site-footer__sub {
    margin-top: 20px;
    padding-top: 16px;
  }

  .site-footer__sub-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .site-footer__copy {
    width: 100%;
    margin-left: 0;
    text-align: left;
    white-space: normal;
  }

  .page-top {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .page-top__icon {
    width: 18px;
    height: 18px;
  }

  .page-top__icon::before {
    width: 12px;
    height: 12px;
    top: 5px;
  }
}

@media (max-width: 640px) {
  .donation-block {
    padding: 28px 0 32px;
  }

  .donation-block__title {
    font-size: 24px;
  }

  .donation-block__text,
  .donation-block__links {
    font-size: 14px;
  }

  .donation-block__button {
    min-width: 220px;
    min-height: 60px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  :root {
    --side-padding: 16px;
  }

  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-link {
    gap: 10px;
  }

  .brand-main {
    font-size: 14px;
    line-height: 1.35;
    word-break: normal;
  }

  .brand-sub {
    font-size: 10px;
  }

  .site-logo {
    width: 46px;
    height: 46px;
  }

  .menu-toggle {
    padding: 9px 10px;
    font-size: 13px;
  }

  .hero-slider {
    height: 260px;
  }

  .hero-slider__overlay {
    padding: 16px;
    bottom: 42px;
  }

  .hero-slider__overlay--about {
    padding: 18px 16px;
    bottom: 36px;
  }

  .hero-slider__title {
    font-size: 20px;
  }

  .hero-slider__sub {
    font-size: 11px;
  }

  .hero-slider__text {
    font-size: 13px;
  }

  .hero-slider__text-block p {
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-slider__nav {
    width: auto;
    height: auto;
    font-size: 34px;
  }

  .home-hyouka-cta {
    padding: 20px 0 24px;
  }

  .home-hyouka-cta__notice {
    font-size: 18px;
    line-height: 1.5;
  }

  .home-hyouka-cta__button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .site-footer__title {
    font-size: 16px;
  }

  .site-footer__text,
  .site-footer__info-list p,
  .site-footer__info p,
  .site-footer__copy,
  .site-footer__menu-grid a {
    font-size: 13px;
  }

  .site-footer__menu-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer__koukoku-buttons {
    gap: 6px;
  }

  .site-footer__koukoku-buttons a {
    min-height: 30px;
    padding: 4px 8px;
    font-size: 12px;
  }
}


/* =========================================================
   スマホ版：トップスライダー説明文を画像下に移動
   ========================================================= */
@media (max-width: 767px) {
  .hero-slider {
    height: auto;
    overflow: visible;
    background: #ffffff;
  }

  .hero-slider__track {
    height: 260px;
    overflow: hidden;
  }

  .hero-slider__slide {
    height: 260px;
  }

  .hero-slider__overlay--about {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100% - 24px, 720px);
    margin: 0 auto;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
  }

  .home-hyouka-cta {
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  .hero-slider__track {
    height: 230px;
  }

  .hero-slider__slide {
    height: 230px;
  }

  .hero-slider__overlay--about {
    width: calc(100% - 24px);
    padding: 18px 16px;
  }
}

/* =========================================================
   スマホ：スクロール後もロゴ・MENUボタンを表示
   ========================================================= */
@media (max-width: 900px) {
  .header-top.is-hidden {
    max-height: none;
    opacity: 1;
  }

  .global-nav.is-fixed {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    box-shadow: none;
  }
}

/* =========================================================
   スマホ：ロゴマーク・ハンバーガーメニューを常に上部固定
   ========================================================= */
@media (max-width: 900px) {
  body {
    padding-top: 77px;
  }

  .site-header {
    position: static;
    z-index: auto;
  }

  .header-top,
  .header-top.is-hidden {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 77px;
    max-height: none;
    opacity: 1;
    visibility: visible;
    display: block;
    background: var(--color-main-soft);
    border-bottom: 1px solid var(--color-line);
    z-index: 9999;
    transform: none;
  }

  .header-inner {
    min-height: 76px;
  }

  .global-nav {
    position: fixed;
    top: 77px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 9998;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav.is-fixed {
    position: fixed;
    top: 77px;
    display: none;
    box-shadow: none;
  }

  .global-nav.is-fixed.is-open {
    display: block;
  }
}