@charset "UTF-8";
/* 共通で使う色・フォント */
:root {
    --purple: #5b54aa;
    --purple-dark: #514a98;
    --pink: #fcf3f4;
    --ink: #333;
    --font:  "Noto Sans JP", sans-serif;
  }
  
/* 余白の単位：枠・配置はrem、文字に連動する余白はem、画面に連動する値はvw・%を使う。
   1pxの重なりやメニューアイコンの微調整はpxを維持する。 */

  /* 基本設定 */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  
  html {
    /* ブラウザで設定された標準文字サイズを基準にする */
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  
  body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--font);
    /* 本文はPCで20px（ルート16px時） */
    font-size: 1.25rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button {
    font: inherit;
  }
  
  svg {
    display: block;
    flex-shrink: 0;
  }
  
  a[href], button {
    -webkit-tap-highlight-color: transparent;
  }
  
  a[href]:hover {
    opacity: .78;
  }
  
  a:focus-visible, button:focus-visible {
    outline: 3px solid #e29e26;
    outline-offset: 5px;
  }
  
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  
  .skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: .625rem 1.125rem;
    background: #fff;
    color: var(--purple);
    transform: translateY(-160%);
  }
  
  .skip-link:focus {
    transform: translateY(0);
  }
  
  /* ヘッダー・ナビゲーション */
  .site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(64px, 5.2vw, 100px);
    background: #fff;
  }
  
  .brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-left: clamp(1.125rem, 1.55vw, 1.875rem);
    color: var(--purple);
    line-height: 1.25;
  }
  
  .brand__name {
    font-size: clamp(1.375rem, 1.9vw, 2.25rem);
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  
  .brand__english {
    margin-top: .4375rem;
    font-size: clamp(0.5rem, .6vw, 0.75rem);
    letter-spacing: .48em;
    padding-left: .48em;
  }
  
  .main-navigation {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: clamp(1.375rem, 2.7vw, 3.25rem);
    color: var(--purple);
    font-size: 1.25rem;
    font-weight: 700;
  }
  
  .main-navigation > a {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  
  .main-navigation .navigation-contact, .main-navigation .navigation-line {
    justify-content: center;
    gap: .5rem;
    padding: 0 clamp(1.25rem, 1.4vw, 1.75rem);
    color: #fff;
  }
  
  .main-navigation .navigation-contact {
    align-self: stretch;
    margin-left: -.625rem;
    background: var(--purple);
  }
  
  .main-navigation .navigation-line {
    align-self: stretch;
    margin-left: calc(clamp(1.375rem, 2.7vw, 3.25rem) * -1);
    background: #06c755;
  }
  
  /* 封筒は文字色に合わせて、ホバー時も同じ色に切り替える */
  .navigation-contact img {
    display: none;
  }

  .navigation-contact::before {
    content: "";
    flex-shrink: 0;
    width: 30px;
    aspect-ratio: 35 / 24;
    background: currentColor;
    -webkit-mask: url("../img/Vector.svg") center / contain no-repeat;
    mask: url("../img/Vector.svg") center / contain no-repeat;
  }
  
  .navigation-line__icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    object-fit: contain;
  }

  .menu-toggle {
    display: none;
  }
  
  .mobile-menu-brand {
    display: none;
  }
  
  /* ナビゲーションの下線 */
  .main-navigation > a,
  .footer-navigation > a {
    text-underline-offset: .3em;
    text-decoration-thickness: 1px;
  }
  
  .main-navigation > a:hover,
  .footer-navigation > a:hover,
  .footer-navigation > a:focus-visible {
    text-decoration-line: underline;
  }
  
  /* メインビジュアル */
  .hero {
    position: relative;
  }
  
  /* JavaScriptの読み込み前は最初の画像だけ表示 */
  .hero__slider:not(.slick-initialized) .hero__slide:not(:first-child) {
    display: none;
  }
  
  .hero__slide {
    background: #fff;
  }
  
.hero picture {
    display: block;
  }
  
  .hero__image {
    width: 100%;
    aspect-ratio: 1920 / 793;
    object-fit: cover;
  }
  
  /* メッセージ */
  .message {
    position: relative;
    z-index: 2;
    margin-top: -6vw;
    padding: 12vw 0 13.5vw;
    color: #fff;
    background: url("../img/topbackground.png") center / 100% 100% no-repeat;
  }
  
  .message__inner {
    width: min(63%, 1210px);
    margin: 0 auto;
  }
  
  .message h2 {
    margin: 0 0 clamp(2.375rem, 3.8vw, 4.5625rem);
    font-size: clamp(1.75rem, 3.646vw, 4.375rem);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: .025em;
  }
  
  .message__body {
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: .02em;
    font-size: 2rem;
  }
  
  .message__body p {
    margin: 0 0 1.8em;
  }
  
  .message__body p:last-child {
    margin-bottom: 0;
  }
  
  .message__signature {
    width: 31%;
    margin: 3.5vw 0 0 auto;
  }
  
  .message__signature img {
    width: 100%;
  }
  
  /* プロフィール */
  .profile {
    position: relative;
    z-index: 1;
    margin-top: -5vw;
    padding: 3vw 0 10vw;
    overflow: hidden;
    background: url("../img/top-background2.png") center / 100% 100% no-repeat;
  }
  
  .profile__inner {
    position: relative;
    width: min(75%, 1440px);
    min-height: min(37vw, 710px);
    margin: auto;
    padding-top: 7vw;
  }
  
  .profile__heading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2.1875rem;
    margin-bottom: 1.875rem;
  }
  
  .profile__heading h2 {
    margin: 0;
    font-size: clamp(2rem, calc(.5rem + 2.916667vw), 4rem);
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
  }
  
  .profile__heading p {
    margin: 0;
    font-size: 2rem;
    letter-spacing: .13em;
  }
  
  .profile__portrait {
    position: absolute;
    right: -5%;
    top: 0;
    z-index: 1;
    width: 45%;
    height: 47vw;
    max-height: 900px;
    object-fit: cover;
    object-position: center top;
  }
  
  .profile__details {
    position: relative;
    z-index: 2;
    width: 62%;
    margin: 0;
    line-height: 1.6;
    font-size: 1.5rem;
  }
  
  .profile__details > div {
    display: grid;
    grid-template-columns: 6.5em minmax(0, 1fr);
    gap: 1em;
    align-items: start;
    margin-bottom: .85em;
  }
  
  .profile__details dt {
    padding: .1em .35em;
    color: #fff;
    background: var(--purple);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
  }
  
  .profile__details dd {
    margin: .1em 0 0;
  }
  
  /* プロフィール共通：委員会・その他の活動を1件ずつ読みやすく表示 */
  .profile__details dd,
  .profile-page__details dd {
    min-width: 0;
  }

  .profile-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .profile-detail-list > li + li {
    margin-top: .35em;
  }

  .profile__more {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 300px;
    min-height: 70px;
    margin-top: 4.375rem;
    background: #333;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
  }
  
  /* SNS・寄付バナー */
  .connections {
    position: relative;
    z-index: 4;
    padding: 8vw 0 8vw;
    background: var(--pink);
  }
  
  .connections::before {
    content: "";
    position: absolute;
    top: -6.8vw;
    left: 0;
    width: 100%;
    height: 7.2vw;
    /* 画像の両端にある透明部分が、画面内へ出ないように拡大 */
    background: url("../img/top-background3.png") center top / 115% 115% no-repeat;
    pointer-events: none;
  }
  
  .connections__inner {
    width: min(56%, 1080px);
    margin: auto;
  }
  
  .social-links {
    display: grid;
    gap: clamp(1.125rem, 1.6vw, 1.875rem);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 8vw;
    max-height: 150px;
    color: #fff;
    background: url("../img/top-line.png") center / 100% auto no-repeat;
    font-family: var(--font);
    font-size: clamp(1.75rem, 2.7vw, 3.75rem);
    font-weight: 600;
    letter-spacing: .025em;
  }
  
  /* 公式ロゴは変形させず、表示枠の中に収める */
  .social-link__icon {
    flex-shrink: 0;
    width: 1.12em;
    height: 1.12em;
    object-fit: contain;
  }

  .social-link__icon--youtube {
    width: 2em;
    height: 1.75em;
  }

  .donation-banner {
    display: block;
    margin-top: 5.5vw;
    border: 1px solid #d2cdd1;
  }
  
  .donation-banner img {
    width: 100%;
  }
  
  /* フッター */
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.8vw 1.25rem 1.8vw;
    background: var(--purple) url("../img/footer-background.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
  }
  
  .brand--footer {
    margin: 0;
    color: #fff;
  }
  
  .brand--footer .brand__name {
    font-size: clamp(1.5rem, 2.1vw, 2.5rem);
  }
  
  .brand--footer .brand__english {
    font-size: clamp(0.5625rem, .65vw, 0.8125rem);
  }
  
  .site-footer__address {
    margin-top: 1.5625rem;
    font-size: clamp(0.75rem, .95vw, 1.125rem);
    font-style: normal;
    line-height: 1.55;
    letter-spacing: .02em;
  }
  
  .footer-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.75rem;
    margin: 1.25rem 0;
    font-size: clamp(0.75rem, .95vw, 1.125rem);
  }
  
  .site-footer__policy {
    margin-bottom: 1.75rem;
    text-underline-offset: .2em;
    text-decoration: underline;
    font-size: clamp(0.8125rem, 1vw, 1rem);
  }
  
  .site-footer small {
    font-size: clamp(0.625rem, .8vw, 0.9375rem);
  }
  
  /* 1921px以上の画面 */
  @media (min-width: 1921px) {
    .message {
      padding: 15.625rem 0 16.25rem;
    }
  
    .profile {
      padding: 6.25rem 0 7.5rem;
    }
  
    .profile__inner {
      padding-top: 6rem;
    }
  
    .connections {
      padding: 11.25rem 0 9rem;
    }
  
    .social-link {
      min-height: 150px;
    }
  
    .donation-banner {
      margin-top: 6.875rem;
    }
  
  }
  
  /* 768px〜1100pxの画面 */
  @media (max-width: 1100px) and (min-width: 768px) {
    .message__body,
    .profile__heading p {
      font-size: 1.5rem;
    }

    .profile__details {
      font-size: 1.25rem;
    }

    .main-navigation {
      gap: 1.25rem;
    }
  
    .main-navigation .navigation-contact, .main-navigation .navigation-line {
      padding: 0 .875rem;
    }
  
    .main-navigation .navigation-line {
      margin-left: -1.25rem;
    }
  
    .navigation-contact::before {
      width: 24px;
    }
  
    .brand__name {
      font-size: 1.375rem;
    }
  
    .profile__more {
      width: 210px;
      min-height: 52px;
      margin-top: 2.1875rem;
      font-size: 1rem;
    }
  
  }
  
  /* TOPプロフィール：文字と写真を分け、写真の下端をセクションにそろえる */
  @media (min-width: 768px) {
    .profile__inner {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
      column-gap: clamp(1.5rem, 3vw, 3.5rem);
      width: min(86%, calc(45vw + 36rem), 90rem);
    }

    .profile__heading {
      grid-area: 1 / 1 / 2 / 2;
      flex-wrap: wrap;
      gap: .5em 1em;
    }

    .profile__heading p {
      font-size: clamp(1.5rem, 1.667vw, 2rem);
    }

    .profile__details {
      grid-area: 2 / 1 / 3 / 2;
      width: 100%;
      font-size: clamp(1.25rem, 1.25vw, 1.5rem);
    }

    .profile__more {
      grid-area: 3 / 1 / 4 / 2;
      width: clamp(13.125rem, 15.625vw, 18.75rem);
      max-width: 100%;
      min-height: clamp(3.25rem, 3.65vw, 4.375rem);
      margin-top: clamp(2.1875rem, 3.65vw, 4.375rem);
      font-size: clamp(1rem, 1.042vw, 1.25rem);
      align-self: start;
    }

    .profile__portrait {
      grid-area: 1 / 2 / 4 / 3;
      top: -7vw;
      right: 0;
      bottom: -10vw;
      width: 100%;
      height: calc(100% + 17vw);
      max-height: none;
      object-fit: cover;
      object-position: center top;
    }
  }

  /* 追加項目が長いため、狭いPC・タブレットでは人物を上段、基本情報を横幅いっぱいに表示 */
  @media (min-width: 768px) and (max-width: 1199.98px) {
    .profile__heading {
      align-self: end;
      margin-bottom: 1rem;
    }

    .profile__portrait {
      position: relative;
      grid-area: 1 / 2 / 2 / 3;
      justify-self: end;
      top: auto;
      right: auto;
      bottom: auto;
      width: min(100%, 16rem);
      height: clamp(16rem, 30vw, 18rem);
    }

    .profile__details {
      grid-column: 1 / -1;
      margin-top: 1.5rem;
    }

    .profile__more {
      grid-column: 1 / -1;
      justify-self: center;
    }
  }

  @media (min-width: 1921px) {
    .profile__portrait {
      top: -96px;
      bottom: -120px;
      height: calc(100% + 216px);
    }
  }

  /* 1000px未満のPC用ナビは18px（ルート16px時） */
  @media (min-width: 768px) and (max-width: 999.98px) {
    .main-navigation {
      font-size: 1.125rem;
    }
  }

  /* 狭いPC幅では余白も詰めてナビを収める */
  @media (min-width: 768px) and (max-width: 900px) {
    .main-navigation {
      flex-shrink: 0;
      gap: .5rem;
    }

    .main-navigation .navigation-contact,
    .main-navigation .navigation-line {
      gap: .25rem;
      padding-inline: .25rem;
    }

    .main-navigation .navigation-contact {
      margin-left: 0;
    }

    .main-navigation .navigation-line {
      margin-left: -.5rem;
    }

    .navigation-contact::before {
      flex-shrink: 0;
      width: 20px;
    }
  }

  @media (min-width: 768px) and (max-width: 820px) {
    .site-header > .brand {
      margin-left: .75rem;
    }

    .site-header .brand__name {
      font-size: 1.1875rem;
    }
  }

  /* スマートフォン（767px以下） */
  @media (max-width: 767px) {
    /* 本文はSPで16px（ルート16px時） */
    body {
      font-size: 1rem;
    }

    .site-header {
      height: 55px;
    }
  
    .brand {
      margin-left: .75rem;
    }
  
    .brand__name {
      font-size: 1.1875rem;
    }
  
    .brand__english {
      margin-top: .5em;
      font-size: 0.375rem;
      letter-spacing: .43em;
    }
  
    /* ボタンの位置とサイズは、開閉どちらでも共通 */
    .menu-toggle {
      position: relative;
      z-index: 1001;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 5px;
      width: 62px;
      height: 55px;
      padding: 12px 12px 0;
      border: 0;
      background: #fff;
      color: var(--purple);
      cursor: pointer;
    }
  
    .menu-toggle__lines {
      position: relative;
      display: block;
      flex-shrink: 0;
      width: 28px;
      height: 25px;
      border: 0;
      /* 線は2px、線と線の空きは7px。3本で高さ20px */
      background: repeating-linear-gradient(
        to bottom,
        #aaa4db 0,
        #aaa4db 2px,
        transparent 2px,
        transparent 9px
      ) left top / 100% 20px no-repeat;
    }

    .menu-toggle__label {
      font-family: var(--font);
      font-size: 0.625rem;
      font-weight: 800;
      line-height: 1;
      letter-spacing: .02em;
    }

    /* 開閉でスクロールバーが消えても、ヘッダーの横幅を維持 */
    html {
      scrollbar-gutter: stable;
    }
  
    /* メニューを開いている間は、背面のページをスクロールさせない */
    html.menu-open,
    body.menu-open {
      overflow: hidden;
    }
  
    /* スマホメニューの背景・配置 */
    .main-navigation {
      position: fixed;
      inset: 0;
      z-index: 1;
      display: none;
      height: 100vh;
      height: 100dvh;
      padding: clamp(4.5rem, 16.67vh, 6.25rem) 1.5rem 3.75rem;
      overflow-y: auto;
      overscroll-behavior: contain;
      border: 0;
      background: #fff url("../img/sp-menu.jpg") center / 100% 100% no-repeat;
      box-shadow: none;
      color: var(--purple);
      font-size: 1.25rem;
      font-weight: 500;
    }
  
    .main-navigation.is-open {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
    }
  
    /* メニュー上部の名前 */
    .mobile-menu-brand {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
      margin-bottom: .5rem;
    }
  
    .mobile-menu-brand__name {
      font-size: 1.625rem;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: .02em;
    }
  
    .mobile-menu-brand__english {
      margin-top: .3em;
      padding-left: .42em;
      font-family: var(--font);
      font-size: 0.625rem;
      font-weight: 400;
      line-height: 1.3;
      letter-spacing: .42em;
    }
  
    .main-navigation > a {
      justify-content: center;
      flex-shrink: 0;
      width: 100%;
      min-height: 60px;
      padding: .9375rem 0;
      border: 0;
    }
  
    /* お問い合わせ・LINEボタン */
    .main-navigation .navigation-contact,
    .main-navigation .navigation-line {
      align-self: center;
      gap: .4375rem;
      width: 200px;
      min-height: 54px;
      margin: 0;
      padding: .5rem .625rem;
      font-size: 1.25rem;
      line-height: 1.3;
    }
  
    .main-navigation .navigation-contact {
      margin-top: 3.125rem;
      font-weight: 400;
    }
  
    .main-navigation .navigation-line {
      margin-top: .625rem;
      min-height: 55px;
      padding-block: 0;
      font-weight: 700;
    }
  
    .main-navigation .navigation-contact::before {
      width: 35px;
    }
  
    .main-navigation .navigation-line__icon {
      width: 55px;
      height: 55px;
    }
  
    /* 開いた時も、ボタン・アイコン枠・文字の位置と大きさは変えない */
    .menu-toggle[aria-expanded="true"] {
      background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__lines {
      border: 0;
      background: none;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before,
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
      content: "";
      position: absolute;
      top: 13px;
      left: -6px;
      width: 40px;
      border-top: 1.5px solid var(--purple);
      transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
      transform: rotate(-45deg);
    }

    .hero__image {
      aspect-ratio: 390 / 600;
    }
  
.message {
      margin-top: -1px;
      padding: 3.125rem 1.25rem 5.625rem;
      background-image: url("../img/top-background-sp.png");
      background-size: 100% 100%;
    }
  
    .message__inner {
      width: 100%;
    }
  
    .message h2 {
      margin: 0 0 1.875rem;
      font-size: clamp(1.5rem, 7.2vw, 2rem);
      line-height: 1.7;
      letter-spacing: 0;
    }
  
    .message__body {
      font-weight: 500;
      line-height: 1.55;
      letter-spacing: .025em;
      font-size: 1rem;
    }
  
    .message__body p {
      margin-bottom: 1.7em;
    }
  
    .desktop-break {
      display: none;
    }
  
    .message__signature {
      width: 45%;
      margin-top: 1.6875rem;
    }
  
    .profile {
      margin-top: -1.5625rem;
      padding: 0 0 4.125rem;
      background-image: url("../img/top-profile-background-sp.png");
      background-position: center 100px;
      background-size: 100% auto;
    }
  
    .profile__inner {
      display: grid;
      grid-template-columns: 1fr;
      width: 100%;
      min-height: 0;
      max-height: none;
      padding: 1.25rem 1.25rem 0;
    }
  
    .profile__heading {
      grid-area: 1 / 1;
      display: block;
      align-self: center;
      width: 56%;
      min-height: 0;
      margin: 0;
      padding-top: 4.75rem;
    }
  
    .profile__heading h2 {
      font-size: 2rem;
      letter-spacing: -.06em;
    }
  
    .profile__heading p {
      margin-top: .25em;
      font-size: 1rem;
      letter-spacing: .02em;
      white-space: nowrap;
    }
  
    .profile__portrait {
      position: relative;
      grid-area: 1 / 1;
      justify-self: end;
      align-self: start;
      top: auto;
      right: -20px;
      bottom: auto;
      /* ネクタイの下で切り、画面幅が変わっても同じ比率を保つ */
      width: min(53vw, 13rem);
      height: auto;
      aspect-ratio: 50 / 49;
      max-height: none;
      object-fit: cover;
      object-position: top;
    }
  
    .profile__details {
      width: 100%;
      margin-top: .75rem;
      line-height: 1.65;
      font-size: .875rem;
    }
  
    .profile__details > div {
      grid-template-columns: 6.2em 1fr;
      gap: .7em;
      margin-bottom: .7em;
    }
  
    .profile__details dt {
      padding: .2em .25em;
    }
  
    /* .profile__details dd {
      margin-top: .2em;
    } */
  
    .profile__more {
      width: 230px;
      min-height: 62px;
      margin: 3.125rem auto 0;
      font-size: 1rem;
    }
  
    .connections {
      padding: 4.375rem 1.25rem 3.125rem;
    }
  
    .connections__inner {
      width: 100%;
    }
  
    .social-links {
      gap: .875rem;
      padding: 0 .9375rem;
    }
  
    .social-link {
      min-height: 64px;
      max-height: none;
      font-size: 1.5rem;
    }
  
    .donation-banner {
      margin-top: 3.125rem;
    }
  
    .site-footer {
      padding: 2.875rem .9375rem 1.6875rem;
    }
  
    .brand--footer .brand__name {
      font-size: 1.75rem;
    }
  
    .brand--footer .brand__english {
      margin-top: 1em;
      font-size: 0.6rem;
    }
  
    .site-footer__address {
      margin-top: 1.25rem;
      font-size: 0.89rem;
    }
  
    .footer-navigation {
      gap: .5rem .9375rem;
      margin: 1.25rem 0;
      font-size: 0.89rem;
    }
  
    .site-footer__policy {
      margin-bottom: 1.25rem;
      font-size: 0.89rem;
    }
  
    .site-footer small {
      font-size: 0.75rem;
    }
  
  }
  
  /* 端末でアニメーションを減らす設定をしている場合 */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  
  }

/* ==================================================
   下層ページ：プロフィール・政策・党員へのお願い
   ================================================== */

/* 下層ページ共通
   文字：rem、文字に連動する余白：em、可変幅：%、細部：px
*/
.page-main {
  overflow: hidden;
}

.page-container {
  width: min(75%, 90rem);
  margin-inline: auto;
}

.page-title {
  display: grid;
  place-items: start center;
  min-height: min(19.3vw, 371px);
  padding: 4.5vw 1.25rem 6.5vw;
  color: #fff;
  text-align: center;
  background: url("../img/title-background.png") center top / 100% 100% no-repeat;
}

.page-title h1 {
  margin: 0;
}

.page-title__english,
.page-title__japanese {
  display: block;
}

.page-title__english {
  font-family: var(--font);
  font-size: clamp(2rem, 2.7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .08em;
}

.page-title__japanese {
  margin-top: .3em;
  font-size: clamp(1rem, 1.6vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .05em;
}

/* プロフィール：基本情報・経歴 */
.profile-page {
  position: relative;
  margin-top: -2vw;
  padding: 7.5vw 0 8vw;
  background: url("../img/profile-background.png") center bottom / 100% auto no-repeat;
}

.profile-page__inner {
  position: relative;
}

.profile-page__name {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2em;
  width: 65%;
  margin-bottom: 1.875rem;
}

.profile-page__name h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.3;
  white-space: nowrap;
}

.profile-page__name p {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: .12em;
  white-space: nowrap;
}

.profile-page__portrait {
  position: absolute;
  right: -5%;
  bottom: -8vw;
  z-index: 2;
  width: 45%;
  height: auto;
  pointer-events: none;
}

.profile-page__details {
  position: relative;
  z-index: 3;
  width: 58%;
  margin: 0 0 2.3rem;
  line-height: 1.6;
  font-size: 1.15rem;
}

.profile-page__details > div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  align-items: start;
  gap: 1.5em;
  margin-bottom: .5em;
}

.profile-page__details dt {
  padding: .12em .3em;
  color: #fff;
  background: var(--purple);
  text-align: center;
  white-space: nowrap;
}

.profile-page__details dd {
  font-size: 1.25rem;
}

.profile-history {
  position: relative;
  z-index: 1;
  width: 62%;
  padding: 2.5rem 3.125rem;
  border: 2px solid var(--purple);
  background: rgb(255 255 255 / 88%);
  line-height: 1.55;
  font-size: 1.25rem;
}

.profile-history h3 {
  margin: 0 0 .65em;
  color: var(--purple);
  font-size: 1.75rem;
}

.profile-history p {
  margin: 0;
}

.profile-history hr {
  margin: 1em 0;
  border: 0;
  border-top: 1px solid #ccc;
}

.profile-history__list {
  margin: 0;
  padding-left: 1.2em;
  list-style-type: square;
}

.profile-history__list > li {
  margin-bottom: .75em;
}

.profile-history__list > li:last-child {
  margin-bottom: 0;
}

.profile-history__list > li::marker {
  content: "■ ";
  color: var(--purple);
}

.profile-history__list ul {
  padding-left: 1.2em;
  list-style: disc;
}

/* 経歴は年月の表記を保ち、長い行は左端から折り返す */
.profile-history__career > span {
  display: block;
}

/* 項目名の字間とコロンの位置をそろえ、本文だけを折り返す */
.profile-history__list .profile-history__service-details {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-history__service-details > li {
  position: relative;
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  padding-left: .75em;
}

.profile-history__service-details > li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

.profile-history__service-label {
  display: grid;
  grid-template-columns: 4em 1em;
  align-self: start;
}

.profile-history__service-label > span:first-child {
  text-align: justify;
  text-align-last: justify;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-gallery img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

/* 政策：導入とページ内リンク */
.policies-intro {
  position: relative;
  margin-top: -2vw;
  padding-top: 5vw;
  background: url("../img/policies-background.png") center bottom / 100% auto no-repeat;
}

.policies-intro__inner {
  position: relative;
  min-height: 57vw;
}

.policies-intro__copy {
  position: relative;
  z-index: 2;
  width: 56%;
  padding-top: 2vw;
}

.policies-intro h2 {
  width: min(100%, 735px);
  margin: 0 0 clamp(1rem, 4vw, 4.8rem);
  line-height: 0;
}

.policies-intro h2 img {
  width: 100%;
  height: auto;
}

.policies-intro__portrait {
  position: absolute;
  right: -17%;
  bottom: 0;
  width: 91%;
  max-width: none;
}

.policy-jump-links {
  display: grid;
  gap: 2rem;
  width: 100%;
}

.policy-jump-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.875rem;
  min-height: 3.5em;
  padding: 1.25rem 3rem;
  border: 1px solid #a9a0d6;
  background: #fff;
  color: var(--purple);
  font-size: clamp(.875rem, 1.667vw, 2rem);
  font-weight: 700;
}

.policy-jump-links a::after {
  content: "";
  flex-shrink: 0;
  width: .6em;
  height: .6em;
  margin-top: -.3em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* 政策：各分野 */
.policy-section {
  position: relative;
  padding: 8vw 0;
  scroll-margin-top: 1.5rem;
}

.policy-section--purple {
  z-index: 2;
  margin-top: -5vw;
  padding: 11vw 0 12vw;
  color: #fff;
  background: url("../img/policies-background2.png") center / 178% 100% no-repeat;
}

/* SNSの直前だけ、背景画像の下端の白をピンクになじませる */
.policy-section--purple#security {
  background-image:
    url("../img/policies-background2.png"),
    linear-gradient(to bottom, #fff 50%, var(--pink) 50%);
  background-blend-mode: darken;
}

.policy-section h2 {
  margin: 0 0 1.8em;
  color: var(--purple);
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: .08em;
}

.policy-section--purple h2 {
  color: #fff;
}

.policy-rows {
  display: grid;
  gap: 3.7vw;
}

.policy-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 3.7vw;
}

.policy-row--reverse .policy-row__image {
  order: -1;
}

.policy-row h3 {
  margin: 0 0 .65em;
  padding-bottom: .4em;
  border-bottom: 1px solid #d9d7e8;
  color: var(--purple);
  font-size: 2rem;
  line-height: 1.6;
}

.policy-section--purple .policy-row h3 {
  border-color: rgb(255 255 255 / 40%);
  color: #fff;
}

.policy-row ul {
  margin: 0;
  padding-left: 1em;
  line-height: 1.65;
  list-style-type: square;
}

.policy-row li::marker {
  color: var(--purple);
}

.policy-section--purple .policy-row li::marker {
  color: #fff;
}

.policy-row__image img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

/* SNS・動画・寄付バナー */
.page-social {
  margin-top: -4vw;
  padding: 10vw 0 8vw;
  background: var(--pink);
}

.page-social__inner {
  display: grid;
  grid-template-columns: 22% minmax(0, 1fr);
  align-items: start;
  gap: 5%;
}

.page-social h2,
.page-contact h2 {
  margin: 0 0 .6rem;
  color: var(--purple);
  font-family: var(--font);
  font-size: 3rem;
  letter-spacing: .06em;
}

.instagram-account {
  display: flex;
  align-items: center;
  gap: 1.875rem;
  margin-bottom: 1.25rem;
  font-size: clamp(.875rem, 1vw, 1.25rem);
}

.instagram-account img {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Instagram公式プロフィール埋め込み */
.instagram-grid {
  display: grid;
  justify-items: center;
  min-width: 0;
  width: 100%;
}

/* 公式埋め込みの固定幅を、スマホでも枠内に収める */
.instagram-grid > .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 540px !important;
  margin: 0 !important;
}

.page-social__button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 2.5em;
  padding: .3em .7em;
  background: #333;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.page-media {
  padding: 6vw 0 8vw;
  background: #f7f7f7;
}

.page-media__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 3.125rem;
  margin-bottom: 5vw;
}

.x-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.625rem;
  border: 1px solid #d4d4d4;
  background: #fff;
}

/* X公式の個別投稿2件を、枠内でスクロールして表示 */
.x-card__posts {
  min-width: 0;
  height: 20rem;
  overflow: auto;
  overscroll-behavior: contain;
}

.x-card__posts:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

.x-card__posts > .twitter-tweet {
  margin: 0 auto 1em;
}

.x-card__posts > blockquote.twitter-tweet {
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: .75em;
  font-size: 1rem;
}

.x-card__posts blockquote a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.x-card__posts iframe {
  display: block;
  max-width: 100%;
  margin-inline: auto;
}

.x-card h3 {
  margin: 0 0 1em;
}

/* TOPと同じ白ロゴを、白背景に合わせて黒で表示 */
.x-card__logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0);
}

.x-card p {
  margin: 0 0 1em;
}

.video-embed {
  align-self: center;
  min-width: 0;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-embed__link {
  display: block;
  margin-top: .5em;
  color: var(--purple);
  font-size: 1rem;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.page-media__banner {
  display: block;
  width: 75%;
  margin-inline: auto;
  border: 1px solid #d2cdd1;
}

/* 党員へのお願い：導入・各ご案内 */
.support-intro {
  padding: 7vw 0 10vw;
  /* 輪郭を残し、縦方向を広げて斜めの傾きと下側への広がりを調整 */
  background-image: url("../img/profile-background.png");
  background-position: right top;
  background-size: 120% 105vw;
  background-repeat: no-repeat;
}

.support-intro__lead {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 5vw;
  margin-bottom: 5vw;
}

.support-intro__lead h2 {
  margin: 0 0 .53em;
  color: var(--purple);
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 1.5;
  letter-spacing: .02em;
}

.support-intro__lead p {
  margin: 0;
  line-height: 1.65;
  font-size: 1.5rem;
}

.support-intro__lead img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5vw;
}

.support-card {
  display: flex;
  flex-direction: column;
  padding: 2.5vw;
  background: rgb(255 255 255 / 88%);
}

.support-card h3 {
  margin: 0 0 0.5em;
  color: var(--purple);
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.55;
}

.support-card p {
  margin: 0 0 1.5em;
  line-height: 1.7;
}

.support-card img {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
}

.support-join {
  width: 62%;
  margin: 6.5vw auto 0;
  padding:3.125rem;
  border: 1px solid var(--purple);
  background: #fff;
  color: var(--purple);
}

.support-join h3 {
  margin: 0 0 .5em;
  font-size: 2.5rem;
  text-align: center;
}

.support-join p {
  margin: 0 0 1.5em;
  color: var(--ink);
  text-align: center;
}

.support-join a {
  display: flex;
  align-items: center;
  gap: .5em;
  width: fit-content;
  margin: .25em auto;
  font-size: clamp(1rem, 1.8vw, 1.875rem);
  font-weight: 700;
}

.support-join img {
  width: 1.4em;
  height: 1.4em;
}

/* 寄付のお願い */
.support-donation {
  position: relative;
  padding: 8.5vw 0;
  background: var(--pink);
}

.support-donation::before {
  content: "";
  position: absolute;
  top: -7vw;
  width: 100%;
  height: 7.2vw;
  background: url("../img/top-background3.png") center top / 140% 100% no-repeat;
}

.support-donation__inner {
  width: 56%;
  max-width: 67rem;
  margin-inline: auto;
}

.support-donation h2 {
  margin: 0 0 1.8em;
  color: var(--purple);
  font-size: 2.5rem;
  text-align: center;
}

.support-donation img {
  width: 100%;
  margin-bottom: 2.5rem;
}

.support-donation p {
  margin: 0 0 3em;
  line-height: 1.75;
  font-size: 1rem;
}

.support-donation__notes {
  padding: 1.5rem;
  border: 1px solid #bbb;
  background: #fff;
  font-size: 1rem;
  line-height: 1.7;
}

/* お問い合わせフォーム（表示用） */
.page-contact {
  padding: 8.5vw 0;
  background: #f7f7f7;
}

.page-contact__heading {
  margin-bottom: 3.125rem;
  text-align: center;
}

.page-contact__heading p {
  margin: 0;
  color: var(--purple);
  font-size: 2rem;
  font-weight: 700;
}

.contact-form {
  width: 62%;
  max-width: 62rem;
  margin-inline: auto;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 12em minmax(0, 1fr);
  align-items: start;
  gap: 1.5em;
  margin-bottom: 1.875rem;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: .7em;
  padding-top: .6em;
}

.contact-form__error-summary {
  margin: 0 0 1.5rem;
  padding: 1.2rem;
  border: 2px solid #a51d32;
  background: #fff6f7;
  color: #831629;
  overflow-wrap: anywhere;
  scroll-margin-top: 6rem;
}

.contact-form__error-summary[hidden],
.contact-form__field-error[hidden] {
  display: none;
}

.contact-form__error-summary h3 {
  margin: 0 0 .5em;
  font-size: 1.1em;
}

.contact-form__error-summary p {
  margin: 0 0 .6em;
}

.contact-form__error-summary ul {
  margin: 0;
  padding-left: 1.3em;
}

.contact-form__error-summary a {
  color: inherit;
  text-decoration: underline;
}

.contact-form__error-summary:focus,
.contact-form__error-summary a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.contact-form__field-error {
  margin: .2em 0 0;
  color: #a51d32;
  font-size: .875em;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-form__row > .contact-form__field-error {
  grid-column: 2;
  margin-top: -.75em;
}

.contact-form [aria-invalid="true"] {
  border-color: #a51d32 !important;
  outline: 1px solid #a51d32;
  outline-offset: 1px;
}

.contact-form__required {
  flex-shrink: 0;
  padding: 0 .35em;
  background: #eab1cd;
  color: #fff;
  font-size: .7em;
  line-height: 1.4;
}

.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .6em .7em;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bbb;
}

.contact-form textarea {
  min-height: 12em;
  resize: vertical;
}

.contact-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: .35em 1.2em;
  padding-top: .5em;
}

.contact-form__choices label {
  display: inline-flex;
  align-items: center;
  gap: .4em;
}

.contact-form__address {
  display: grid;
  gap: .6em;
}

.contact-form__postal {
  display: flex;
  align-items: center;
  gap: .5em;
}

.contact-form__postal input {
  max-width: 12em;
}

.contact-form__postal button {
  flex-shrink: 0;
  padding: .35em .6em;
  border: 0;
  background: #333;
  color: #fff;
  font-size: .8em;
}

.contact-form__postal button:disabled {
  cursor: wait;
  opacity: .6;
}

.contact-form__postal-status,
.contact-form__postal-help {
  margin: 0;
  font-size: .8em;
  line-height: 1.6;
}

.contact-form__postal-status:empty,
.contact-form__postal-choices[hidden] {
  display: none;
}

.contact-form__postal-status[data-error="true"] {
  color: #a51d32;
}

.contact-form__postal-choices {
  display: grid;
  min-width: 0;
  gap: .4em;
  font-size: .875em;
}

.contact-form__postal-choices select {
  min-width: 0;
}

.contact-form__privacy {
  margin: 3.0625rem 0 3.0625rem;
  padding: 3.0625rem;
  border: 1px solid #bbb;
  background: #fff;
  font-size: .875rem;
  line-height: 1.75;
}

.contact-form__privacy h3 {
  margin: 0 0 1em;
  font-size: 1.1em;
}

.contact-form__privacy p {
  margin: 0 0 1em;
}

/* 1項目目までを表示し、続きはこの枠の中でスクロール */
.contact-form__privacy-scroll {
  position: relative;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

/* 最初の項目で枠の高さを決め、続きはスクロール領域に配置 */
.contact-form__privacy-scroll > p {
  margin: 0;
}

.contact-form__privacy-more {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding-top: 1em;
}

.contact-form__privacy-scroll:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

.contact-form__privacy-scroll p:last-child {
  margin-bottom: 0;
}

.contact-form__privacy .contact-form__privacy-hint {
  margin: .75em 0 0;
  color: #666;
  font-size: .9em;
}

.contact-form__consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  margin-top: 1.5em;
}

.contact-form__submit {
  display: block;
  width: 12em;
  min-height: 3em;
  margin-inline: auto;
  border: 0;
  background: var(--purple);
  color: #fff;
  font-size: 1rem;
}

/* プロフィール：PCは文字と人物の領域を分け、人物を下ぞろえ */
@media (min-width: 768px) {
  .profile-page__inner {
    display: grid;
    grid-template-columns: minmax(0, 916fr) minmax(0, 560fr);
    column-gap: min(2.03125vw, 2.4375rem);
    width: min(78.90625vw, 94.6875rem);
    margin-inline: 12.5vw auto;
  }

  .profile-page__name {
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
  }

  .profile-page__details {
    grid-area: 2 / 1 / 3 / 2;
    width: 100%;
  }

  .profile-history {
    grid-area: 3 / 1 / 4 / 2;
    width: 100%;
  }

  .profile-page__portrait {
    position: relative;
    grid-area: 1 / 2 / 4 / 3;
    align-self: end;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: -8vw;
  }
}

/* タブレット */
@media (min-width: 768px) and (max-width: 1100px) {
  .page-container {
    width: 86%;
  }

  .profile-page__name {
    gap: 1em;
  }

  .profile-page__details,
  .profile-history {
    width: 68%;
    font-size: 1.25rem;
  }

  .profile-page__name h2 {
    font-size: 2rem;
  }

  .profile-page__name p {
    font-size: 1.25rem;
  }

  .profile-history {
    padding: 1.875rem;
  }

  .contact-form {
    width: 80%;
  }
}

/* プロフィール：狭いPC・タブレットでは経歴を写真の下へ */
@media (min-width: 768px) and (max-width: 1199px) {
  .profile-page__inner {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 38%);
    column-gap: 2rem;
    width: 86%;
    margin-inline: auto;
  }

  .profile-page__name {
    display: block;
  }

  .profile-page__name h2 {
    font-size: 2rem;
  }

  .profile-page__name p {
    margin-top: .3em;
    font-size: 1.25rem;
  }

  .profile-page__details {
    width: 100%;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
  }

  .profile-page__details > div {
    grid-template-columns: 6em minmax(0, 1fr);
    gap: .75em;
  }

  .profile-page__portrait {
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 0;
    margin-bottom: 0;
  }

  .profile-history {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2rem;
    padding: 1.875rem;
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  .page-container {
    width: auto;
    margin-inline: 1.25rem;
  }

  .page-title {
    min-height: 164px;
    padding: 1.8125rem 1.25rem 3.25rem;
    background-size: auto 100%;
    background-position: center bottom;
  }

  .page-title__english {
    font-size: 2.375rem;
  }

  .page-title__japanese {
    margin-top: .15em;
    font-size: 1.5rem;
  }

  .profile-page {
    margin-top: 0;
    padding: 0 0 3.125rem;
    /* 本文の長さに左右されず、人物の後ろからかすれを見せる */
    background-size: auto 43rem;
    background-position: 85% 3rem;
  }

  .profile-page__name {
    display: block;
    width: 52%;
    min-height: 216px;
    margin-bottom: 0;
    padding-top: 6.5625rem;
  }

  .profile-page__name h2 {
    font-size: clamp(1.75rem, 8.6vw, 2rem);
  }

  .profile-page__name p {
    margin-top: .15em;
    font-size: clamp(1rem, 4.8vw, 1.125rem);
    letter-spacing: .04em;
  }

  .profile-page__portrait {
    top: 0;
    right: 0;
    bottom: auto;
    /* 横幅だけが拡大して首元で切れないよう、スマホの写真幅に上限を設ける */
    width: min(58%, 12.5rem);
    height: 214px;
    object-fit: cover;
    object-position: top;
  }

  .profile-page__details {
    width: 100%;
    margin: .4375rem 0 1.75rem;
    line-height: 1.65;
    font-size: .875rem;
  }

  .profile-page__details > div {
    grid-template-columns: 5.25em minmax(0, 1fr);
    gap: .7em;
    margin-bottom: .7em;
  }

  .profile-page__details dt {
    padding: .25em .1em;
  }

  .profile-page__details dd{
    font-size: .875rem;
  }

  .profile-history {
    width: 100%;
    padding: 1.25rem;
    font-size: .875rem;
    line-height: 1.45;
    letter-spacing: .02em;
  }

  .profile-history h3 {
    font-size: 1.25rem;
  }

  .profile-gallery {
    display: block;
  }

  .profile-gallery img {
    aspect-ratio: 1.9;
  }

  .profile-gallery img:not(:first-child) {
    display: none;
  }

  .policies-intro {
    overflow: hidden;
    margin-top: 0;
    padding-top: 4rem;
    padding-bottom: 3rem;
    background-size: auto 100%;
    background-position: 65% bottom;
  }

  /* スマホは人物を右側、見出しとボタンを手前に配置 */
  .policies-intro__inner {
    display: block;
    min-height: 0;
    margin-inline: 1.25rem;
  }

  .policies-intro__copy {
    display: block;
    width: 100%;
    padding-top: 0;
  }

  .policies-intro h2 img{
    width: 95%;
  }

  .policies-intro h2 {
    width: min(75%, 26rem);
    margin: 0 0 4.5rem;
  }

  .policies-intro__portrait {
    top: -8rem;
    right: -20px;
    bottom: auto;
    width: min(85vw, 36rem);
    height: auto;
  }

  .policy-jump-links {
    width: 100%;
    gap: .625rem;
  }

  .policy-jump-links a {
    position: relative;
    justify-content: center;
    gap: .5em;
    min-height: 3.5em;
    padding: 1.25rem 0;
    border: 2px solid var(--purple);
    font-size: 1.25rem;
  }

  .policy-jump-links a::after {
    position: absolute;
    right: 1em;
  }

  .policy-section--purple {
    margin-top: -2.5rem;
    padding: 5rem 0 4.5rem;
  }

  .policy-section h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: .03em;
  }

  .policy-rows {
    gap: 3rem;
  }

  .policy-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .policy-row__image,
  .policy-row--reverse .policy-row__image {
    order: -1;
  }

  .policy-row__image img {
    aspect-ratio: 2.3;
  }

  .policy-row h3 {
    font-size: 1.4rem;
    text-align: center;
    text-wrap: balance;
  }

  .policy-row ul {
    line-height: 1.5;
  }

  .page-social {
    margin-top: -2rem;
    padding: 2rem 0;
  }

  .page-social__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .page-social__heading {
    display: contents;
  }

  .page-social h2 {
    order: 0;
    text-align: center;
  }

  .instagram-grid {
    order: 1;
  }

  .instagram-account {
    order: 2;
    gap: .625rem;
    justify-content: center;
    margin-bottom: 0;
  }

  .page-social__button {
    order: 3;
    width: 12em;
    margin-inline: auto;
  }

  .page-media {
    padding: 2rem 0 3rem;
  }

  .page-media__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .x-card {
    padding: 1.3rem;
  }

  .page-media__banner {
    width: 100%;
  }

  .support-intro {
    padding: 3rem 0 5rem;
    background-image: url("../img/lower-background-sp.png");
    background-size: 100% auto;
    background-position: center 2rem;
  }

  .support-intro__lead {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 4.5rem;
  }

  .support-intro__lead h2 {
    font-size: clamp(2rem, 10.7vw, 2.5rem);
  }

  .support-intro__lead p {
    font-size: 1.25rem;
  }

  .support-intro__lead img {
    aspect-ratio: 1.75;
  }

  .support-cards {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .support-card {
    padding: 1.25rem;
  }

  .support-card img {
    aspect-ratio: 2.05;
  }

  .support-card h3 {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
  }

  .support-join {
    width: 100%;
    margin-top: 4.5rem;
    padding: 1.25rem;
  }
  .support-join p{
    margin: 0 0 1.25em;
    text-align: left;
  }

  .support-join h3 {
    font-size: 1.5rem;
  }

  .support-join a {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.25rem;
  }

  .support-donation {
    padding: 3rem 0;
  }

  .support-donation__inner {
    width: auto;
    margin-inline: 1.25rem;
  }

  .support-donation img {
    aspect-ratio: 1.75;
    object-fit: cover;
    margin-bottom: 1.25rem;
  }

  .support-donation h2 {
    font-size: 1.5rem;
    margin: 0 0 1.25em;
  }
  
  .support-donation p{
    margin: 0 0 1.25em;
  }
  .support-donation__notes {
    padding: 1.21875rem;
    font-size: .8125rem;
  }

  .page-contact {
    padding: 3rem 0;
  }

  .page-contact__heading {
    margin-bottom: 2rem;
  }

  .page-contact h2 {
    font-size: 2rem;
  }

  .page-contact__heading p {
    font-size: 1.125rem;
  }

  .contact-form {
    width: auto;
    margin-inline: 1.25rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: .6em;
    margin-bottom: 2rem;
  }

  .contact-form__row > .contact-form__field-error {
    grid-column: 1;
    margin-top: 0;
  }

  .contact-form__label {
    padding-top: 0;
  }

  .contact-form__choices {
    padding-top: 0;
  }

  .contact-form__privacy {
    margin: 1.75rem 0 1.75rem;
    padding: 1.09375rem;
    font-size: .875rem;
  }
}

/* 補足：本文・フォーム・表示の切り替え */
.only-mobile {
  display: none;
}

.policy-row ul ul {
  padding-left: 1em;
  font-size: 1em;
  list-style-type: disc;
}

.x-card__post + .x-card__post {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #ccc;
}

.x-card__post time {
  display: block;
  margin-bottom: 1em;
  color: #999;
  font-size: .75rem;
}

.x-card .page-social__button {
  width: fit-content;
  margin: 2rem auto 0;
  padding-inline: 1.5em;
}

.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  accent-color: var(--purple);
}

.contact-form__amount {
  display: flex;
  align-items: stretch;
  width: 16em;
  max-width: 100%;
  border: 1px solid #ddd;
  background: #fff;
}

.contact-form .contact-form__amount input[type="text"] {
  flex: 1;
  min-width: 0;
  width: 0;
  border: 0;
  text-align: right;
}

.contact-form__amount input::placeholder {
  text-align: left;
}

.contact-form__amount-unit {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding-inline: .7em;
  background: #eee;
}

.contact-form__submit:disabled {
  opacity: 1;
}

@media (max-width: 767px) {
  .only-desktop {
    display: none;
  }

  .only-mobile {
    display: inline;
  }

  .support-card {
    box-shadow: 4px 4px 0 #c6c6c6;
  }

  .x-card h3 {
    margin: 0 0 0;
  }
}



/* ==================================================
   サイトポリシー・404ページ
   ================================================== */

/* サイトポリシー */
.site-policy {
  padding: 6vw 0 8vw;
  background: url("../img/profile-background.png") right top / 110% auto no-repeat;
}

.site-policy__content {
  width: min(75%, 70rem);
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 4rem);
  background: rgb(255 255 255 / 90%);
  font-size: 1.25rem;
  line-height: 1.9;
}

.site-policy__section + .site-policy__section {
  margin-top: 3.75rem;
}

.site-policy__section h2 {
  margin: 0 0 1em;
  padding-bottom: .45em;
  border-bottom: 1px solid #d9d7e8;
  color: var(--purple);
  font-size: clamp(1.5rem, 1.667vw, 2rem);
  line-height: 1.5;
}

.site-policy__section p {
  margin: 0;
}

.site-policy__section p + p {
  margin-top: 1.25em;
}

/* 404：大きな見出しと斜めのかすれ背景 */
.error-page {
  padding: clamp(5rem, 6.25vw, 7.5rem) 1.25rem clamp(6rem, 7.5vw, 9rem);
  background: url("../img/lower-background-pc.jpg") center top / cover no-repeat;
  text-align: center;
}

.error-page__inner {
  width: min(100%, 75rem);
  margin-inline: auto;
}

.error-page__title {
  margin: 0;
  color: var(--purple);
  font-weight: 800;
  line-height: 1;
}

.error-page__code,
.error-page__label {
  display: block;
}

.error-page__code {
  font-size: clamp(6.25rem, 10.417vw, 12.5rem);
  letter-spacing: .035em;
}

.error-page__label {
  margin-top: .1em;
  font-size: clamp(3.25rem, 5vw, 6rem);
  line-height: 1.2;
  letter-spacing: .04em;
  white-space: nowrap;
}

.error-page__message {
  margin: 2rem 0 0;
  font-size: clamp(1.125rem, 1.25vw, 1.5rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .04em;
}

.error-page__message span {
  display: block;
}

.error-page__home {
  display: grid;
  place-items: center;
  width: 18.75rem;
  max-width: 100%;
  min-height: 4.375rem;
  margin: 6rem auto 0;
  padding: .8em 1em;
  background: #333;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.error-page__home:hover {
  background: var(--purple-dark);
}

.error-page__home:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

/* スマートフォン */
@media (max-width: 767px) {
  .site-policy {
    padding: 2.5rem 0 4rem;
    background-size: auto 43rem;
    background-position: 85% 3rem;
  }

  .site-policy__content {
    width: auto;
    margin-inline: 1.25rem;
    padding: 1.5rem 1rem;
    font-size: 1rem;
  }

  .site-policy__section + .site-policy__section {
    margin-top: 2.5rem;
  }

  .site-policy__section h2 {
    font-size: 1.25rem;
  }

  .error-page {
    padding: 5.5rem 1.25rem 5.25rem;
    background-image: url("../img/top-profile-background-sp.png");
    background-position: center -2rem;
    background-size: 100% calc(100% + 2rem);
  }

  .error-page__code {
    font-size: 6.25rem;
  }

  .error-page__label {
    font-size: clamp(2.5rem, 13.333vw, 3.25rem);
    letter-spacing: .025em;
  }

  .error-page__message {
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.45;
    text-align: left;
  }

  .error-page__message span {
    display: inline;
  }

  .error-page__home {
    width: 14.375rem;
    min-height: 4rem;
    margin-top: 4.5rem;
    font-size: 1rem;
  }
}

/* 紫と白のボタン：マウスを重ねている間だけ配色を反転 */
@media (hover: hover) {
  .contact-form__submit:hover {
    background: #fff;
    color: var(--purple);
    box-shadow: inset 0 0 0 1px var(--purple);
    opacity: 1;
  }

  .policy-jump-links a:hover {
    border-color: var(--purple);
    background: var(--purple);
    color: #fff;
    opacity: 1;
  }
}

/* ==================================================
   お問い合わせ：内容確認・送信完了
   ================================================== */
.page-contact-result .page-title__english {
  font-family: "Akshar", sans-serif;
}

.contact-result {
  padding: clamp(3rem, 5vw, 6rem) 1.25rem clamp(4rem, 7vw, 8rem);
  background: url("../img/profile-background.png") right top / 110% auto no-repeat;
}

.contact-result__inner {
  width: min(100%, 62rem);
  margin-inline: auto;
}

/* 入力・確認・完了の現在位置 */
.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 42rem);
  margin: 0 auto clamp(2rem, 4vw, 4rem);
  padding: 0;
  list-style: none;
}

.contact-steps > li {
  position: relative;
  color: #777;
  text-align: center;
}

.contact-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: calc(50% + 1.75rem);
  width: calc(100% - 3.5rem);
  border-top: 1px solid #c9c5e1;
}

.contact-steps__number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-inline: auto;
  border: 1px solid #c9c5e1;
  border-radius: 50%;
  background: #fff;
  color: #888;
  font-family: "Akshar", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.contact-steps__label {
  display: block;
  margin-top: .6em;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-steps > .is-complete,
.contact-steps > [aria-current="step"] {
  color: var(--purple);
}

.contact-steps > .is-complete .contact-steps__number {
  border-color: var(--purple);
  background: var(--pink);
  color: var(--purple);
}

.contact-steps > [aria-current="step"] .contact-steps__number {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

/* 白い内容パネル */
.contact-result__panel {
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
  border: 1px solid #dedbe9;
  background: rgb(255 255 255 / 95%);
}

.contact-result__heading {
  margin-bottom: 3.125rem;
  text-align: center;
}

.contact-result__heading h2,
.contact-complete h2 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  text-wrap: balance;
}

.contact-result__heading p {
  margin: 1.25em 0 0;
  line-height: 1.8;
}

/* 確認内容 */
.contact-confirm__details {
  margin: 0;
  border-top: 1px solid #dedbe9;
}

.contact-confirm__details > div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 1.5em;
  padding-block: 1.25em;
  border-bottom: 1px solid #dedbe9;
}

.contact-confirm__details dt {
  color: var(--purple);
  font-weight: 700;
}

.contact-confirm__details dd {
  min-width: 0;
  margin: 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.contact-confirm__message p {
  margin: 0;
}

.contact-confirm__message p + p {
  margin-top: 1em;
}

.contact-confirm__amount > span {
  margin-left: .35em;
}

.contact-confirm__consent {
  display: inline-flex;
  align-items: center;
  gap: .6em;
}

.contact-confirm__consent::before {
  content: "";
  width: .75em;
  height: .4em;
  margin-top: -.2em;
  border-bottom: 2px solid var(--purple);
  border-left: 2px solid var(--purple);
  transform: rotate(-45deg);
}

/* 戻る・送信・TOPへのボタン */
.contact-result__actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 3rem;
}

.contact-result__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  width: min(100%, 17rem);
  min-height: 3.5em;
  padding: .85em 1.25em;
  border: 1px solid var(--purple);
  background: var(--purple);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.contact-result__button--secondary {
  background: #fff;
  color: var(--purple);
}

.contact-result__button:disabled {
  opacity: 1;
  cursor: not-allowed;
}

@media (hover: hover) {
  .contact-result__button:hover {
    background: #fff;
    color: var(--purple);
    opacity: 1;
  }

  .contact-result__button--secondary:hover {
    background: var(--purple);
    color: #fff;
  }
}

/* 送信完了 */
.contact-complete {
  padding-block: clamp(3rem, 5vw, 5rem);
  text-align: center;
}

.contact-complete__icon {
  position: relative;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--purple);
  border-radius: 50%;
  background: var(--pink);
}

.contact-complete__icon::after {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 1.65rem;
  width: 2.5rem;
  height: 1.35rem;
  border-bottom: 3px solid var(--purple);
  border-left: 3px solid var(--purple);
  transform: rotate(-45deg);
}

.contact-complete__eyebrow {
  margin: 0 0 .5em;
  color: var(--purple);
  font-family: "Akshar", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .15em;
}

.contact-complete__message {
  margin-top: 1.5em;
  line-height: 1.9;
}

.contact-complete__message p {
  margin: 0;
}

.contact-complete__message p + p {
  margin-top: 1em;
}

.contact-complete__phone {
  max-width: 40rem;
  margin: 2.5rem auto 0;
  padding: 1.5625rem;
  background: var(--pink);
}

.contact-complete__phone p {
  margin: 0 0 .6em;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-complete__phone a {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6em;
  color: var(--purple);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-complete__phone a > span {
  font-family: "Akshar", sans-serif;
  font-size: .65em;
}

.contact-complete > .contact-result__button {
  margin: 2.5rem auto 0;
}

/* 狭いPC・タブレット */
@media (min-width: 768px) and (max-width: 999px) {
  .contact-confirm__details > div {
    grid-template-columns: 9em minmax(0, 1fr);
    gap: 1em;
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  .contact-result {
    padding: 2.5rem 1.25rem 4rem;
    background-size: auto 43rem;
    background-position: 85% top;
    font-size: 1rem;
  }

  .contact-steps {
    margin-bottom: 2rem;
  }

  .contact-steps__label {
    font-size: .875rem;
  }

  .contact-result__panel {
    padding: 1.75rem 1rem;
  }

  .contact-result__heading {
    margin-bottom: 2rem;
  }

  .contact-result__heading h2,
  .contact-complete h2 {
    font-size: 1.5rem;
    letter-spacing: .02em;
  }

  .contact-result__heading p {
    margin-top: 1em;
    text-align: left;
  }

  .contact-confirm__details > div {
    grid-template-columns: 1fr;
    gap: .5em;
    padding-block: 1.25em;
  }

  .contact-result__actions {
    flex-direction: column-reverse;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }

  .contact-result__button {
    font-size: 1rem;
  }

  .contact-complete {
    padding-block: 2.5rem;
  }

  .contact-complete__icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.25rem;
  }

  .contact-complete__icon::after {
    top: 1.35rem;
    left: 1.3rem;
    width: 2.15rem;
    height: 1.15rem;
  }

  .contact-complete__message {
    line-height: 1.8;
    text-wrap: pretty;
  }

  .contact-complete__phone {
    margin-top: 2rem;
    padding: 1.25rem .75rem;
  }

  .contact-complete__phone a {
    gap: .4em;
    font-size: clamp(1.25rem, 6vw, 1.5rem);
  }

  .contact-complete > .contact-result__button {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-result__button {
    transition: none;
  }
}
