@charset "UTF-8";
/*
Theme Name: 大分交通 変進！ カスタムテーマ
Theme URI: https://henshinoitakotsu.com/
Description: 大分交通「変進！」採用サイト用カスタムテーマ。TOPはLP型縦長構成。
Version: 0.1.0
Author: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oitakotsu-theme
*/
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Zen+Kaku+Gothic+New:wght@400;700&display=swap");
:root {
  --color-brand: #e21900;
  --color-brand-dark: #8b1538;
  --color-brand-maroon: #400000;
  --color-coral: #d4696a;
  --color-cream: #f5f0e8;
  --color-text: #333;
  --color-bg: #fff;
  --section-padding: 4rem 1rem;
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
}

/* TOP の LP main 背景。下層 main には付けない */
main#front-page {
  background-image: url("assets/images/bg_body.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.l-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.l-wrap-fluid {
  width: 100%;
  margin: 0;
  padding: 0 1rem;
}

/* 各セクション共通（仮） */
.section {
  padding: var(--section-padding);
  min-height: 30vh;
}

.section__title {
  margin: 0 0 0.5em;
  font-size: 1.5rem;
  font-weight: bold;
}

.section__lead {
  margin: 0 0 1em;
  font-size: 0.95rem;
  opacity: 0.9;
}

/**
 * TOP 各コンテンツブロック: ビューに入ったタイミングでフェードイン（.js-scroll-fade + .is-in-view）
 */
#front-page .js-scroll-fade {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#front-page .js-scroll-fade.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/**
 * Discover グリッド: 親がビューに入ったあと、カードを順に表示（時間差）
 */
#front-page .js-scroll-fade-stagger .discover-grid__item {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(1) {
  transition-delay: 0s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(2) {
  transition-delay: 0.09s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(3) {
  transition-delay: 0.18s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(4) {
  transition-delay: 0.27s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(5) {
  transition-delay: 0.36s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(6) {
  transition-delay: 0.45s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(7) {
  transition-delay: 0.54s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(8) {
  transition-delay: 0.63s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(9) {
  transition-delay: 0.72s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(10) {
  transition-delay: 0.81s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(11) {
  transition-delay: 0.9s;
}

#front-page .js-scroll-fade-stagger.is-in-view .discover-grid__item:nth-child(12) {
  transition-delay: 0.99s;
}

@media (prefers-reduced-motion: reduce) {
  #front-page .js-scroll-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #front-page .js-scroll-fade-stagger .discover-grid__item {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s !important;
  }
}
/**
 * TOP 上段: HERO + NEWS + SNS をまたぐ装飾バー（パララックス等は別 JS で transform 予定）
 */
@keyframes p-front-top-stack-bar-in {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.p-front-top-stack {
  position: relative;
  isolation: isolate; /* 子孫の z-index と __decor を同一スタック内で比較する */
}

.p-front-top-stack__sections {
  position: relative;
}

/* NEWS: 本紙・バナーともに装飾バーより手前に配置 */
.p-front-top-stack .section--news .news__main {
  position: relative;
  z-index: 2;
}

.p-front-top-stack .section--news .news__banners {
  position: relative;
  z-index: 2;
}

/* SNS 本文が装飾と同じ z-index:1 だと帯に負けることがあるため、スタック内だけ手前へ */
.p-front-top-stack .section--sns .l-wrap {
  position: relative;
  z-index: 2;
}

.p-front-top-stack__decor {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3px; /* デザインの細い隙間（背後のクリーム地が見える） */
  /* 各バーは親 .p-front-top-stack 幅の 7% 相当（3 本で 21% + gap） */
  width: calc(21% + 6px);
  pointer-events: none;
  z-index: 1;
  /* 3本共通で左下が長く・右にいくほど上がる一本の斜め下端 */
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.p-front-top-stack__bar {
  flex: 0 0 calc((100% - 6px) / 3);
  width: calc((100% - 6px) / 3);
  min-width: 0;
  height: 100%;
  /* 読み込み時: 左→右の順で時間差スライドイン（パララックスで同要素に transform を当てる場合は競合に注意） */
  animation: p-front-top-stack-bar-in 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* 左→右: 明るい → 中間 → 暗い（右から #8d0000 / #e21900 / #ff3246） */
.p-front-top-stack__bar--1 {
  background: #ff3246;
  animation-delay: 0.1s;
}

.p-front-top-stack__bar--2 {
  background: #e21900;
  animation-delay: 0.24s;
}

.p-front-top-stack__bar--3 {
  background: #8d0000;
  animation-delay: 0.38s;
}

@media (prefers-reduced-motion: reduce) {
  .p-front-top-stack__bar {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 767px) {
  .p-front-top-stack__decor {
    display: none;
  }
}
/**
 * PROFESSIONAL + CAREER をまたぐ右側装飾バー（ヒーロー上段の .p-front-top-stack__decor と同系）
 */
.pro-career-stack {
  position: relative;
  isolation: isolate;
}

.pro-career-stack .section--professional .l-wrap,
.pro-career-stack .section--career .l-wrap {
  position: relative;
  z-index: 2;
}

.pro-career-stack__decor {
  position: absolute;
  top: 200px;
  bottom: 0;
  left: auto;
  right: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3px;
  /* 従来幅の半分（元は calc(21% + 6px)） */
  width: calc(12% + 6px);
  pointer-events: none;
  z-index: 1;
  /* 右寄せ・内側（左）上辺を斜めに（左配置時の上辺を左右反転） */
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
}

.pro-career-stack__bar {
  flex: 0 0 calc((100% - 6px) / 3);
  width: calc((100% - 6px) / 3);
  min-width: 0;
  height: 100%;
  opacity: 0;
  transform: translateX(clamp(36px, 4vw, 16px));
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pro-career-stack__bar--1 {
  background: #ff3246;
  transition-delay: 0s;
}

.pro-career-stack__bar--2 {
  background: #e21900;
  transition-delay: 0s;
}

.pro-career-stack__bar--3 {
  background: #8d0000;
  transition-delay: 0s;
}

/* スクロールで表示エリアに入ったあと .is-visible（JS）で右外から順にフェードイン */
.pro-career-stack__decor.is-visible .pro-career-stack__bar--1 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.06s;
}

.pro-career-stack__decor.is-visible .pro-career-stack__bar--2 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.pro-career-stack__decor.is-visible .pro-career-stack__bar--3 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.34s;
}

@media (prefers-reduced-motion: reduce) {
  .pro-career-stack__bar {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 767px) {
  .pro-career-stack__decor {
    display: none;
  }
}
/* [1] Hero - セクション専用背景 */
.p-hero {
  position: relative;
  min-height: 80vh;
  padding: 0;
  background-image: url("assets/images/bg_mv.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  border-bottom: 0;
}

.p-hero__inner {
  position: relative;
  min-height: 80vh;
}

.p-hero__logo {
  position: absolute;
  top: 7.6rem;
  left: 7.6rem;
  z-index: 2;
  width: clamp(220px, 33vw, 450px);
}

.p-hero__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.p-hero__bottom-copy {
  position: absolute;
  left: 2.6rem;
  right: 4.6rem;
  bottom: -0.35rem;
  margin: 0;
  z-index: 2;
  color: #ff2f4d;
  font-size: clamp(1.7rem, 3.8vw, 4.1rem);
  font-weight: 700;
  line-height: 1.22;
}

.p-hero__bottom-copy-sp-break {
  display: none;
}

@media (max-width: 1023px) {
  .p-hero__logo {
    top: 2.2rem;
    left: 1.4rem;
  }
  .p-hero__bottom-copy {
    left: 1.4rem;
    right: 1.4rem;
    font-size: clamp(1.4rem, 4.3vw, 2.4rem);
    line-height: 1.3;
    bottom: 0.45rem;
  }
}
@media (max-width: 767px) {
  .p-hero,
  .p-hero__inner {
    min-height: 84vh;
  }
  .p-hero__logo {
    width: clamp(240px, 48vw, 300px);
    left: 0;
    right: 0;
    top: 1.4rem;
    margin-inline: auto;
  }
  .p-hero__bottom-copy {
    font-size: clamp(1.25rem, 7vw, 2rem);
    line-height: 1.34;
    bottom: calc(0.35rem + env(safe-area-inset-bottom));
  }
  .p-hero__bottom-copy-sp-break {
    display: inline;
  }
}
/* 矮いビューポートでロゴとコピーが近づきすぎる場合に縮小 */
@media (max-width: 767px) and (max-height: 560px) {
  .p-hero__logo {
    top: 1rem;
    width: clamp(155px, 44vw, 260px);
  }
  .p-hero__bottom-copy {
    font-size: clamp(1.05rem, 5.5vw, 1.65rem);
    line-height: 1.32;
    bottom: calc(0.45rem + env(safe-area-inset-bottom));
  }
}
/* [10a] News - #ff3246（design_NEWS） */
.section--news {
  background: #ff3246;
  color: #fff;
}

.section--news .section__title,
.section--news .section__lead,
.section--news a {
  color: #fff;
}

/* [10b] SNS - 中央ベージュ/クリーム。NEWSとの境界は右肩上がり斜め（::before＋clip-pathで表示幅に依存しない） */
.section--sns {
  position: relative;
  background: var(--color-cream);
  overflow: hidden;
  padding: 150px 0 150px;
}

.section--sns::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #ff3246; /* NEWS セクションと同じ背景色 */
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 100%); /* 上辺は水平・下辺のみ斜めで隙間なし */
  z-index: 0;
}

.section--sns::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--color-brand); /* 赤背景 */
  clip-path: polygon(0 0, 100% 100%, 0 100%); /* 右下がり三角形 */
  z-index: 0;
}

.section--sns > * {
  position: relative;
  z-index: 1;
}

.section--sns .sns-section__title {
  margin: 0 0 1.75rem;
  text-align: center;
}

.section--sns .sns-section__title-img {
  display: block;
  max-width: 450px;
  width: 96%;
  height: auto;
  margin-inline: auto;
}

/* Instagram Feed 等の埋め込みが viewport からはみ出さないよう制限 */
.section--sns .sns-instagram-feed {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.section--sns .sns-instagram-feed iframe {
  max-width: 100% !important;
}

.section--sns .sns-instagram-feed img {
  max-width: 100% !important;
  height: auto !important;
}

.section--sns .sns-other-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin: 2.2rem 0 0;
  padding: 0;
}

.section--sns .sns-other-links__item {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.1rem;
  padding: 0.2rem 0.4rem;
  border-radius: 12px;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.section--sns .sns-other-links__item:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.section--sns .sns-other-links__logo {
  display: block;
  height: 2.2rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.section--sns .sns-other-links__logo--youtube,
.section--sns .sns-other-links__logo--tiktok {
  height: 4.45rem;
}

@media (max-width: 767px) {
  .section--sns .sns-other-links {
    flex-direction: column;
    align-items: center;
  }
  .section--sns .sns-other-links__item {
    width: min(100%, 280px);
  }
}
/* [2] About 変進とは */
.section--about {
  position: relative;
  background: var(--color-brand);
  color: #fff;
}

.section--about .section__title,
.section--about .section__lead,
.section--about a {
  color: #fff;
}

/* [3] Movie - 白（design_movie） */
.section--movie {
  background: #fff;
}

/* [4] Purpose - 白（design_purpose） */
.section--purpose {
  position: relative;
  background: #fff;
}

.section--purpose::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
  background: #400000;
  clip-path: polygon(0 0, 100% 100%, 0 100%); /* 右下がり三角形 */
  z-index: 0;
}

.section--purpose > * {
  position: relative;
  z-index: 1;
}

/* [5] Discover - ダークレッド（design_discover） */
.section--discover {
  background: var(--color-brand-maroon);
  color: #fff;
}

.section--discover .section__title,
.section--discover .section__lead,
.section--discover a {
  color: #fff;
}

/* [6] Driver - 左白（design_driver） */
.section--driver {
  background: #fff;
  padding: 0 0 0 0 !important;
}

/* [7] Voice - ダークレッド〜茶系（design_voice） */
.section--voice {
  background: var(--color-brand-maroon);
  color: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
}

.section--voice .section__title,
.section--voice .section__lead,
.section--voice a {
  color: #fff;
}

/* [8a] Professional - 白（design_professional） */
.section--professional {
  background: #fff;
}

/* [8] Career - 白（design_career） */
.section--career {
  background: #fff;
}

/* [9] Experience - 左赤（design_experience） */
.section--experience {
  background: #ff3246;
  color: #fff;
  padding-bottom: 0;
  padding-top: 100px;
}

.section--experience .section__title,
.section--experience .section__lead,
.section--experience a {
  color: #fff;
}

.about-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
  position: relative;
}

.about-block__text {
  max-width: 600px;
  padding-bottom: 100px;
}

.about-block__title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
}

.about-block__subtitle {
  margin: 0.3rem 0 1.5rem;
  font-size: 1rem;
  opacity: 0.95;
}

.about-block__lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.9;
}

.about-block__image-wrap {
  position: absolute;
  top: -9%;
  right: 0;
  transform: translateY(-50%);
  width: min(45%, 450px);
  display: flex;
  justify-content: center;
  z-index: 50;
}

.about-block__image {
  width: min(100%, 450px);
  display: block;
}

/* ABOUT + MOVIE をまとめる（斜めバーは MOVIE 先頭・上端＝境界に absolute） */
.about-movie-stack {
  position: relative;
}

.section--about {
  position: relative;
  z-index: 2;
  padding-bottom: 5.5rem;
  overflow: visible;
}

.section--about > .l-wrap {
  position: relative;
  z-index: 1;
}

.section--about::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: #fff;
  clip-path: polygon(0 58%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

/* ABOUT との重なり: 同じ z-index で後続の MOVIE が手前 */
.section--movie {
  position: relative;
  z-index: 2;
  margin-top: -45px;
  padding-top: 0;
  isolation: isolate;
  overflow: visible;
}

/* レイヤー: セクション背景（既定・最下） < バー(z:1) < .l-wrap(z:2) */
.section--movie > .l-wrap {
  position: relative;
  z-index: 2;
  padding-top: 3.2rem;
}

/* MOVIE 上端＝ ABOUT との境界付近。上半分は ABOUT 側へはみ出す */
.section--movie > .about-movie-diagonal-decor {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: clamp(28px, 7vw, 72px) clamp(12px, 4vw, 48px);
  overflow: visible;
  pointer-events: none;
  box-sizing: border-box;
  transform: translateY(-50%);
}

.about-movie-diagonal-decor__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(24px, 4.8vw, 54px);
  box-sizing: border-box;
  padding: 12px clamp(24px, 7vw, 80px) 14px;
}

.about-movie-diagonal-decor__bar {
  flex: 0 0 auto;
  width: clamp(44px, 8.4vw, 92px);
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 高さ・縦位置ともにバラつき（skew は各 modifier で指定） */
.about-movie-diagonal-decor__bar--1 {
  height: clamp(300px, 20vw, 300px);
  background: #ff3246;
  transform: skewX(-24deg) translate(clamp(36px, 8vw, 80px), 250px);
  transition-delay: 0s;
}

.about-movie-diagonal-decor__bar--2 {
  height: clamp(206px, 32vw, 240px);
  background: #e21900;
  transform: skewX(-24deg) translate(clamp(36px, 8vw, 80px), -50px);
  transition-delay: 0s;
}

.about-movie-diagonal-decor__bar--3 {
  height: clamp(400px, 50vw, 400px);
  background: #8d0000;
  transform: skewX(-24deg) translate(clamp(36px, 8vw, 80px), 300px);
  transition-delay: 0s;
}

.about-movie-diagonal-decor.is-visible .about-movie-diagonal-decor__bar--1 {
  opacity: 1;
  transform: skewX(-24deg) translate(0, 250px);
  transition-delay: 0.05s;
}

.about-movie-diagonal-decor.is-visible .about-movie-diagonal-decor__bar--2 {
  opacity: 1;
  transform: skewX(-24deg) translate(0, -50px);
  transition-delay: 0.22s;
}

.about-movie-diagonal-decor.is-visible .about-movie-diagonal-decor__bar--3 {
  opacity: 1;
  transform: skewX(-24deg) translate(0, 300px);
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .about-movie-diagonal-decor__bar {
    opacity: 1;
    transition: none;
  }
  .about-movie-diagonal-decor__bar--1 {
    transform: skewX(-24deg) translate(0, 250px);
  }
  .about-movie-diagonal-decor__bar--2 {
    transform: skewX(-24deg) translate(0, -50px);
  }
  .about-movie-diagonal-decor__bar--3 {
    transform: skewX(-24deg) translate(0, 300px);
  }
}
.movie-block__head {
  margin-bottom: 2rem;
}

.movie-block__title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 4.6vw, 5.2rem);
  line-height: 1;
  color: #650000;
  letter-spacing: 0.02em;
}

.movie-block__subtitle {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  color: #5a2929;
  font-weight: 700;
}

.movie-block__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.4rem;
}

.movie-card {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #a8a8a8;
  overflow: hidden;
}

.movie-card:nth-child(-n+2) {
  grid-column: span 3;
}

.movie-card:nth-child(n+3) {
  grid-column: span 2;
}

.movie-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1023px) {
  .about-block {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .about-block__text {
    max-width: none;
    padding-bottom: 30px;
  }
  .about-block__title,
  .about-block__subtitle {
    text-align: center;
  }
  .about-block__title {
    font-size: clamp(2.55rem, 4.2vw, 4rem);
  }
  .about-block__subtitle {
    font-size: 1.08rem;
  }
  .about-block__lead {
    font-size: 1.07rem;
  }
  .about-block__image-wrap {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    justify-content: flex-end;
  }
  .about-block__image {
    width: min(88%, 520px);
  }
  .movie-block__head {
    text-align: center;
  }
  .movie-block__title {
    font-size: clamp(3.15rem, 4.8vw, 5.2rem);
  }
  .movie-block__subtitle {
    font-size: 1.08rem;
  }
  .movie-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .movie-card:nth-child(-n+2),
  .movie-card:nth-child(n+3) {
    grid-column: auto;
  }
}
@media (max-width: 767px) {
  .about-block__text {
    padding-bottom: 20px;
  }
  .section--about {
    padding-bottom: 3rem;
  }
  .section--about::after {
    height: 70px;
  }
  .section--movie {
    margin-top: -24px;
    padding-top: 0;
  }
  .section--movie > .l-wrap {
    padding-top: 2rem;
  }
  .section--movie > .about-movie-diagonal-decor {
    padding: clamp(20px, 9vw, 48px) clamp(8px, 3vw, 24px);
  }
  .movie-block__grid {
    grid-template-columns: 1fr;
  }
}
.purpose-block {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-areas: "left right" "image right";
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  color: #650000;
}

.purpose-block__left {
  grid-area: left;
}

.purpose-block__right {
  grid-area: right;
}

.purpose-block__title {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
}

.purpose-block__subtitle {
  margin: 0.4rem 0 1.6rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.purpose-block__image-wrap {
  grid-area: image;
  background: transparent;
}

.purpose-block__image {
  display: block;
  width: 100%;
  height: auto;
}

.purpose-block__lead {
  margin: 0 0 1.8rem;
  font-size: clamp(2rem, 2vw, 2.5rem);
  line-height: 1.45;
  font-weight: 400;
}

.purpose-block__text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 2;
}

.purpose-block__text:last-child {
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .purpose-block {
    grid-template-columns: 1fr;
    grid-template-areas: "left" "right" "image";
    gap: 1.8rem;
  }
  .purpose-block__image-wrap {
    max-width: 520px;
  }
  .purpose-block__lead {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
    line-height: 1.35;
  }
}
.section--discover {
  position: relative;
  overflow: hidden;
}

.discover-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.discover-head__title-wrap {
  margin-bottom: 1rem;
  text-align: center;
  margin: 0 auto 50px;
}

.discover-head__icon {
  margin: 0 0 0.25rem;
  font-size: 2.4rem;
  line-height: 1;
}

.discover-head__title-image {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
}

.discover-head__title {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.2;
}

.discover-head__sub {
  margin: 0.35rem 0 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.discover-head__copy p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 2;
  text-align: left;
  letter-spacing: 0.04em;
}

.discover-grid {
  list-style: none;
  margin: 0 0 50px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.discover-card {
  width: 100%;
  min-height: 160px;
  border: 0;
  border-radius: 10px;
  background: #e21900;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 1rem;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.discover-card:hover,
.discover-card:focus-visible {
  transform: translateY(-4px);
  filter: brightness(1.05);
}

.discover-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.discover-card__label {
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  letter-spacing: 0.04em;
}

.discover-modal[hidden] {
  display: none;
}

.discover-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
  perspective: 1200px;
}

.discover-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}

.discover-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.discover-modal.is-open .discover-modal__overlay {
  opacity: 1;
}

.discover-modal__dialog {
  position: relative;
  width: min(92vw, 700px);
  margin: 0;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #fff;
  color: #2a2a2a;
  border-radius: 12px;
  padding: 2rem 1.8rem 1.6rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  transform-origin: center center;
  transform: scale(0.5) rotateY(-270deg);
  transition: transform 0.5s ease;
  backface-visibility: hidden;
}

.discover-modal.is-open .discover-modal__dialog {
  transform: scale(1) rotateY(0deg);
}

.discover-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  color: #8a0f00;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.discover-modal__title {
  margin: 0 0 1rem;
  color: #8a0f00;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.discover-modal__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
}
.discover-modal__body .wp-block-embed {
  margin: 0 0 1rem;
}
.discover-modal__body .wp-block-embed__wrapper {
  max-width: 100%;
}
.discover-modal__body .wp-block-embed iframe {
  width: 100%;
  max-width: 100%;
}

body.discover-modal-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .discover-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .discover-head__title-wrap {
    margin: 0 auto 20px;
  }
  .discover-head__copy p {
    text-align: center;
    font-size: clamp(1.1rem, 2.25vw, 1.75rem);
  }
  .discover-card__label {
    font-size: clamp(1.35rem, 2.25vw, 2rem);
  }
  .discover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* タブレットのみ（スマホは除外） */
@media (min-width: 768px) and (max-width: 1023px) {
  .discover-head__copy {
    padding-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .discover-grid {
    grid-template-columns: 1fr;
  }
  .discover-card {
    min-height: 110px;
  }
  .discover-modal__dialog {
    margin: 0;
    padding: 1.6rem 1rem 1rem;
  }
}
.driver-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 560px;
  color: #111;
}

.driver-block__left {
  padding: clamp(2rem, 3.5vw, 3.2rem) clamp(1.2rem, 6vw, 6rem) 130px;
}

.driver-block__title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 7.5vw, 7rem);
  line-height: 0.9;
  color: #e21900;
  letter-spacing: 0.02em;
}

.driver-block__subtitle {
  margin: 0 0 1.3rem;
  color: #650000;
  font-size: clamp(1.7rem, 2.6vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.driver-block__text {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.driver-block__right {
  position: relative;
  overflow: hidden;
  background-image: url("assets/images/img_bus03.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.driver-block__right::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 170px;
  height: 100%;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.driver-block__right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(226, 25, 0, 0.62);
  opacity: 0.6;
  mix-blend-mode: multiply;
  z-index: 1;
}

.driver-block__copy {
  position: absolute;
  left: clamp(2.6rem, 10vw, 10rem);
  right: clamp(1.4rem, 8vw, 8rem);
  bottom: clamp(1.8rem, 3.2vw, 3.2rem);
  z-index: 3;
}

.driver-block__copy-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.driver-block__copy-sub {
  margin: 0.3rem 0 1.2rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.driver-block__copy-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.95;
}

@media (max-width: 1023px) {
  .driver-block {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .driver-block__left {
    padding: clamp(2rem, 3.5vw, 3.2rem) clamp(1.2rem, 6vw, 6rem) 50px;
  }
  .driver-block__right {
    min-height: 460px;
  }
  .driver-block__right::before {
    display: none;
  }
  .driver-block__title {
    margin-top: 30px;
    text-align: center;
  }
  .driver-block__subtitle {
    margin-bottom: 30px;
    text-align: center;
  }
  .driver-block__copy {
    left: clamp(2.6rem, 5vw, 10rem);
    right: clamp(1.4rem, 5vw, 8rem);
  }
}
@media (max-width: 767px) {
  .driver-block__left {
    padding: 1.4rem 1rem 50px;
  }
  .driver-block__title {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }
  .driver-block__subtitle {
    margin-top: 0.9rem;
    font-size: 1.7rem;
  }
  .driver-block__right {
    min-height: 380px;
  }
  .driver-block__copy {
    left: clamp(2.6rem, 5vw, 10rem);
    right: clamp(1.4rem, 5vw, 8rem);
    bottom: 1.2rem;
  }
}
.professional-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 3vw, 3.2rem);
  align-items: start;
}

.professional-block__title {
  margin: 0 0 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  row-gap: 0.3rem;
  align-items: start;
}

.professional-block__title-main {
  grid-column: 1/2;
  grid-row: 1/3;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(4.2rem, 9vw, 6.6rem);
  line-height: 0.9;
  color: #e21900;
  letter-spacing: 0.02em;
}

.professional-block__title-sub {
  grid-column: 2/3;
  grid-row: 1/2;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  font-weight: 700;
  color: #111;
}

.professional-block__lead {
  grid-column: 2/3;
  grid-row: 2/3;
  margin: 0 0 1.3rem;
  display: block;
  font-size: 0.95rem;
  color: #111;
}

.professional-block__text {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #111;
}

.professional-block__text:last-child {
  margin-bottom: 0;
}

.professional-media {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
  min-height: 340px;
}

.professional-media__item {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 2px;
  background: #e8e8e8;
}

.professional-media__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.professional-media__item--main {
  grid-column: 1/2;
  grid-row: 1/3;
}

.professional-media__item--small1 {
  grid-column: 2/3;
  grid-row: 1/2;
}

.professional-media__item--small2 {
  grid-column: 3/4;
  grid-row: 1/2;
}

.professional-media__item--wide {
  grid-column: 2/4;
  grid-row: 2/3;
}

@media (max-width: 1023px) {
  .professional-block {
    grid-template-columns: 1fr;
  }
  .professional-media {
    min-height: 420px;
  }
}
@media (max-width: 767px) {
  .professional-block__title {
    column-gap: 0.7rem;
  }
  .professional-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .professional-media__item {
    aspect-ratio: 4/3;
  }
  .professional-media__item--main,
  .professional-media__item--wide,
  .professional-media__item--small1,
  .professional-media__item--small2 {
    grid-column: auto;
    grid-row: auto;
  }
  .professional-media__item--wide {
    aspect-ratio: 16/9;
  }
}
.career-block {
  display: grid;
  gap: 1.9rem;
}

.career-item {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 1.7rem;
  align-items: start;
}

.career-item__left {
  padding: 0.3rem 0;
}

.career_title_wrap {
  position: relative;
  padding: 0 0 1rem 1.6rem;
  margin-bottom: 1rem;
}

.career_title_wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: linear-gradient(90deg, #650000 0 4px, #e20000 4px 8px);
}

.career-item__title {
  margin: 0;
  padding-left: 0;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
  color: #570000;
}

.career-item__sub {
  margin: 0.35rem 0 1.2rem;
  padding-left: 0;
  font-size: 0.92rem;
  color: #7a3030;
}

.career-item__summary {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.9;
  color: #2a2a2a;
}

.career-item__right {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
}

.career-license-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-license-list__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e4c5c5;
}

.career-license-list__head {
  font-weight: 700;
  color: #9e0000;
}

.career-license-list__body {
  color: #222;
  line-height: 1.75;
}

.career-license-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: #ececec;
  border-radius: 4px;
}

.career-license-note__title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #9e0000;
  font-weight: 700;
}

.career-license-note__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.career-image-placeholder {
  width: 100%;
  min-height: 260px;
  border-radius: 4px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)), repeating-linear-gradient(135deg, #d8d8d8 0 12px, #cacaca 12px 24px);
}

.career-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 1023px) {
  .career-item {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}
@media (max-width: 767px) {
  .career-item__right {
    padding: 1rem;
  }
  .career-license-list__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .career-image-placeholder {
    min-height: 190px;
  }
}
.experience-block {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
  padding-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

.experience-block__left {
  position: relative;
  color: #fff;
  padding: clamp(1.6rem, 2.5vw, 2.4rem) 0 clamp(16rem, 22vw, 14.5rem);
}

.experience-block__title-image {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto 2.4rem;
}

.experience-block__desc {
  margin: 0 auto;
  max-width: 420px;
  font-size: 0.9rem;
  line-height: 1.9;
  opacity: 0.95;
}

.experience-block__people {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto 0;
  bottom: 0;
  width: min(80%, 320px);
  height: auto;
  pointer-events: none;
}

/* カード + TEL 案内を縦にまとめる */
.experience-block > .wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.experience-block__tel {
  margin-top: 0;
  padding-bottom: 30px;
}

.experience-block__tel-text {
  margin: 0;
  max-width: 42rem;
  margin-inline: auto;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #fff;
  text-align: center;
  opacity: 0.95;
}

.experience-card {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  margin-bottom: 6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: #2a2a2a;
}

.experience-block > .wrapper .experience-card {
  margin-bottom: 0;
}

.experience-card__head {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.experience-card__bus {
  width: 130px;
  height: auto;
  display: block;
}

.experience-card__title-image {
  width: 100%;
  height: auto;
  display: block;
}

.experience-card__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.9rem 0 1rem;
}

.experience-card__thumb {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: #e8e8e8;
}

.experience-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.experience-card__catch {
  text-align: center;
  margin: -3px 0 1.3rem;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #e21900;
  font-weight: 700;
  line-height: 1.3;
}

.experience-card__cta {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 1rem;
  align-items: center;
  padding-top: 0;
}

.experience-card__cta-text {
  border-top: 2px solid #e21900;
}

.experience-card__cta-label {
  margin: -0.9rem 0 0.5rem;
  display: block;
  width: 110px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #e21900;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.experience-card__cta-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: #3a3a3a;
}

.section--experience .experience-card__cta-link {
  color: #06c755;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* タブレット・スマホ表示（PCは QR 横並びのため非表示） */
.experience-card__line-btn {
  display: none;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.experience-card__line-btn:hover,
.experience-card__line-btn:focus-visible {
  filter: brightness(1.05);
}

.experience-card__qr {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1023px) {
  .experience-block {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .experience-block > .wrapper {
    margin-top: 1.25rem;
  }
  /* absolute + bottom:0 だと本文と画像が重なるため、縦に積む */
  .experience-block__left {
    padding: 0;
  }
  .experience-block__people {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    display: block;
    margin: 1.75rem auto 0;
    width: min(85%, 340px);
  }
  .experience-block__desc {
    margin-bottom: 0.25rem;
  }
  .experience-card__cta {
    grid-template-columns: 1fr;
  }
  .experience-card__line-btn {
    display: flex;
  }
  /* タブレット: QR を全幅にせず中央・適正サイズに（スマホは下記 767px で上書き） */
  .experience-card__qr {
    width: min(168px, 42vw);
    max-width: 200px;
    margin-inline: auto;
  }
}
@media (max-width: 767px) {
  .experience-card__head {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .experience-card__bus {
    width: 260px;
    justify-self: center;
  }
  .experience-card__title-image {
    width: 100%;
  }
  .experience-card__thumbs {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .experience-card__qr {
    width: 120px;
  }
}
.news {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.news__head {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.55);
}

.news__title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.news__lead {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1.5;
}

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

.news-list__item {
  border-bottom: 2px dashed rgba(255, 255, 255, 0.55);
}

.news-list__link {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 1.3rem;
  padding: 1rem 0.2rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-list__link:hover {
  opacity: 0.85;
}

.news-list__date {
  font-weight: 700;
  font-size: 1.05rem;
}

.news-list__text {
  font-size: 1.2rem;
  line-height: 1.55;
}

.news__empty {
  margin: 0;
  padding: 1rem 0;
}

.news__more-wrap {
  margin: 2rem 0 0;
  text-align: center;
}

.news__more {
  display: inline-block;
  min-width: 210px;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  background: #ff3246;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.news__more:hover {
  background: #fff;
  color: #ff3246;
}

.news__banners {
  display: grid;
  gap: 1.35rem;
}

.news-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 3rem;
  line-height: 1;
}

.news-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .news {
    grid-template-columns: 1fr;
  }
  /* タブレット: 2列・ブロックを中央寄せ */
  .news__banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    width: 100%;
    max-width: min(42rem, 100%);
    margin-inline: auto;
  }
  /* 3枚目は下段で1列ぶんの幅に合わせて中央 */
  .news__banners .news-banner:nth-child(3) {
    grid-column: 1/-1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 1.35rem) / 2);
  }
  .news-banner {
    min-height: 100px;
    font-size: 2rem;
  }
}
@media (max-width: 767px) {
  .news {
    gap: 2rem;
  }
  .news__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .news__lead {
    border-left: 0;
    padding-left: 0;
    font-size: 1rem;
  }
  .news-list__link {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .news-list__date {
    font-size: 0.95rem;
  }
  .news-list__text {
    font-size: 1rem;
  }
  .news__banners {
    grid-template-columns: 1fr;
    max-width: none;
    margin-inline: 0;
  }
  .news__banners .news-banner:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}
.voice-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  column-gap: 1rem;
  row-gap: 0.5rem;
  margin-bottom: 4rem;
}

.voice-head__title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  color: #ff1f2e;
  font-size: 7rem;
  line-height: 0.9;
  letter-spacing: 0.05em;
}

.voice-head__meta {
  align-self: center;
}

.voice-head__ja {
  margin: 0;
  color: #ff1f2e;
  font-size: 2rem;
  font-weight: 700;
}

.voice-head__en {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.voice-head__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 640px;
  justify-self: end;
}

.voice-slider {
  overflow: visible;
  padding-bottom: 0.5rem;
}

.voice-card {
  position: relative;
  min-height: 430px;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

.voice-slider .swiper-slide {
  overflow: visible;
  padding-bottom: 2.8rem;
}

.voice-card__thumb img,
.voice-card__placeholder {
  width: 58%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.voice-card__placeholder {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-card__caption {
  position: absolute;
  top: 28px;
  right: 0;
  width: 62%;
  background: #fff;
  color: #2c2c2c;
  padding: 1.4rem 1.6rem 1.6rem;
  border-right: 8px solid #ff1f2e;
  border-bottom: 8px solid #ff1f2e;
}

.voice-card__caption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.9rem;
  width: 4px;
  height: 45%;
  background: #ff3250;
}

.voice-card__id {
  margin: 0 0 0 0.8rem;
  color: #cf4f63;
  font-size: 1rem;
  font-weight: 700;
}

.voice-card__title {
  margin: 0.6rem 0 0.7rem 0.8rem;
  color: #c91f46;
  font-size: clamp(1.25rem, 1.4vw, 2.15rem);
  line-height: 1.4;
  font-weight: 700;
}

.voice-card__excerpt {
  margin: 0 0 0 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
}

.voice-card__name {
  margin: 0 0 1rem 0.8rem;
  color: #6e6e6e;
  font-size: 1rem;
  line-height: 1.4;
}

.voice-card__more {
  position: absolute;
  right: 0.2rem;
  bottom: -4rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.5rem 2.2rem;
}

.voice-card__more:hover,
.voice-card__more:focus-visible {
  background: #fff;
  color: var(--color-brand-maroon);
}

.voice-slider__pagination {
  position: static;
  margin-top: 1.2rem;
  text-align: center;
}

.voice-slider__pagination .swiper-pagination-bullet {
  width: 56px;
  height: 6px;
  border-radius: 0;
  opacity: 1;
  background: #fff;
}

.voice-slider__pagination .swiper-pagination-bullet-active {
  background: #ff1f2e;
}

.voice-empty {
  margin: 0;
}

.voice-modal[hidden] {
  display: none;
}

.voice-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.voice-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.voice-modal__dialog {
  position: relative;
  max-width: 860px;
  max-height: calc(90vh - 4rem);
  margin: 10vh 2rem 0;
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: 2em;
  overflow: hidden;
}

.voice-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.voice-modal__title {
  margin: 0 0 1rem;
  color: #b30000;
  font-size: 1.4rem;
  padding: 0 0 0.5rem;
  border-bottom: #b30000 solid 1px;
}

.voice-modal__body {
  margin: 0;
  padding-bottom: 30px;
  font-size: 0.98rem;
  line-height: 1.9;
  white-space: normal;
  max-height: calc(90vh - 10rem);
  overflow-y: auto;
}
.voice-modal__body p {
  margin: 0 0 1.6rem;
  line-height: 1.4;
}

.voice-modal__catchcopy {
  margin: 1rem 0 2rem;
  padding-left: 0.75rem;
  border-left: 4px solid #b30000;
  color: #b30000;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
}

body.voice-modal-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .voice-head {
    grid-template-columns: 1fr;
  }
  .voice-head__title {
    text-align: center;
  }
  .voice-head__meta {
    justify-self: center;
    margin-bottom: 30px;
    text-align: center;
  }
  .voice-head__lead {
    justify-self: start;
    max-width: none;
  }
  .voice-card {
    min-height: 430px;
  }
  .voice-card__thumb img,
  .voice-card__placeholder {
    width: 70%;
    height: 320px;
  }
  .voice-card__caption {
    top: 32px;
    padding: 1.2rem 1.2rem 3.5rem;
  }
  .voice-card__id,
  .voice-card__name,
  .voice-card__title,
  .voice-card__excerpt {
    margin-left: 1.4rem;
  }
  .voice-card__title {
    font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .voice-card__caption {
    width: 55%;
  }
}
@media (max-width: 767px) {
  .voice-slider {
    padding-bottom: 1rem;
  }
  .voice-card {
    min-height: 0;
  }
  /* 「もっとみる」が caption 下に -4rem はみ出す分 + ページネーションとの隙間 */
  .voice-slider .swiper-slide {
    padding-bottom: 6.5rem;
  }
  .voice-slider__pagination {
    margin-top: 2rem;
  }
  .voice-card__thumb img,
  .voice-card__placeholder {
    width: 100%;
    height: 260px;
  }
  .voice-card__caption {
    position: relative;
    top: -26px;
    width: calc(100% - 18px);
    margin-left: auto;
    border-right-width: 6px;
    border-bottom-width: 6px;
    padding: 1rem 1rem 2rem;
  }
  .voice-card__caption::before {
    left: 0.7rem;
    width: 5px;
  }
  .voice-card__id,
  .voice-card__name,
  .voice-card__title,
  .voice-card__excerpt {
    margin-left: 1.1rem;
  }
  .voice-card__title {
    font-size: 1.2rem;
    line-height: 1.45;
  }
  .voice-card__excerpt {
    font-size: 0.92rem;
    line-height: 1.75;
  }
  .voice-card__more {
    right: 0.3rem;
    bottom: -4rem;
    font-size: 0.84rem;
    padding: 0.45rem 1.5rem;
  }
  .voice-head__title {
    font-size: 4rem;
  }
  .voice-head__ja {
    font-size: 1.2rem;
  }
  .voice-slider__pagination .swiper-pagination-bullet {
    width: 36px;
  }
  .voice-modal__dialog {
    max-height: calc(93vh - 2rem);
    margin: 6vh 1rem 0;
    padding: 2em;
  }
  .voice-modal__body {
    max-height: calc(100vh - 10rem);
  }
  .voice-modal__catchcopy {
    margin: 1rem 0 2rem;
    padding-left: 0.6rem;
    font-size: 1rem;
    line-height: 1.45;
  }
}
/* [11] Contact - 一旦白（のちにぼかし写真など） */
.section--contact {
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
}

.section--contact .l-wrap {
  width: 100%;
}

.contact-cta {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 980px;
  margin: 0 auto;
}

.contact-cta--single {
  max-width: 640px;
}

.contact-cta__button {
  flex: 1 1 0;
  min-height: 74px;
  padding: 2.1rem 2.4rem;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.contact-cta--single .contact-cta__button {
  flex: 0 1 100%;
}

.contact-cta__button--primary {
  background: #4a0000;
}

.contact-cta__button--secondary {
  background: #4a0000;
}

.contact-cta__arrow {
  font-size: 1.7rem;
  line-height: 1;
  margin-left: 0.8rem;
  opacity: 0.95;
}

.contact-cta__button:hover {
  filter: brightness(0.95);
}

@media (max-width: 767px) {
  .contact-cta {
    flex-direction: column;
  }
  .contact-cta__button {
    font-size: 0.95rem;
  }
}
.p-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: transparent;
  border-bottom: 0;
}

.p-header .l-wrap-fluid {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.p-header__logo {
  width: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.p-header__logo-link img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

.p-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.p-header__menu-toggle,
.p-header__backdrop {
  display: none;
}

.p-header__nav a {
  display: inline-block;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #2d2d2d;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.p-header__nav a:hover {
  background: #ff3246;
  color: #fff;
}

.p-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #eee;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.p-header.is-scrolled.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.p-header.is-scrolled .l-wrap-fluid {
  justify-content: space-between;
}

.p-header.is-scrolled .p-header__logo {
  width: auto;
  opacity: 1;
  visibility: visible;
}

body.admin-bar .p-header.is-scrolled {
  top: 32px;
}

/* 下層ページ: TOP スクロール後相当のヘッダー・背景は不透明（透過なし） */
body.is-subpage {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
}

body.is-subpage .p-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transform: none;
  opacity: 1;
  transition: none;
}

body.admin-bar.is-subpage .p-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar.is-subpage .p-header {
    top: 46px;
  }
}
body.is-subpage .p-header .l-wrap-fluid {
  justify-content: space-between;
}

body.is-subpage .p-header__logo {
  width: auto;
  opacity: 1;
  visibility: visible;
}

body.is-subpage .p-header__nav a {
  background: #f0f0f0;
}

body.is-subpage .p-header__nav a:hover {
  background: #ff3246;
  color: #fff;
}

/* main が伸び、フッターは下端（短文）または main の下（長文） */
body.is-subpage main:not(#front-page):not(.p-layout-news__main) {
  flex: 1 0 auto;
  width: 100%;
  padding-top: 5.25rem;
  padding-bottom: 2rem;
}

body.is-subpage .p-layout-news {
  flex: 1 0 auto;
  width: 100%;
  padding-top: 5.25rem;
  padding-bottom: 2rem;
}

body.is-subpage .p-layout-news__main {
  min-width: 0;
}

@media (max-width: 767px) {
  body.is-subpage main:not(#front-page):not(.p-layout-news__main) {
    padding-top: 4.75rem;
  }
  body.is-subpage .p-layout-news {
    padding-top: 4.75rem;
  }
}
body.is-subpage .p-footer {
  flex-shrink: 0;
  margin-top: auto;
}

@media (max-width: 1023px) {
  .p-header {
    padding: 0.6rem 0.9rem;
  }
  .p-header .l-wrap-fluid {
    justify-content: space-between;
  }
  .p-header__menu-toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
  }
  .p-header__menu-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #2d2d2d;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .p-header.menu-open .p-header__menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .p-header.menu-open .p-header__menu-toggle-line:nth-child(2) {
    opacity: 0;
  }
  .p-header.menu-open .p-header__menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* header 直下だと .is-scrolled の transform が fixed の包含ブロックになるため、マークアップは body 直下（header 終了直後） */
  .p-header__backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    display: none;
    opacity: 0;
    transition: opacity 0.24s ease;
    pointer-events: none;
    visibility: hidden;
  }
  body.header-drawer-open .p-header__backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .p-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.55rem;
    width: min(84vw, 360px);
    height: 100dvh;
    max-height: 100dvh;
    padding-top: calc(4.6rem + env(safe-area-inset-top));
    padding-right: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    padding-left: 1rem;
    background: #fff;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.24s ease, visibility 0.24s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
  }
  /* 管理バー表示時はドロワーをバー直下から開始（全画面高さの二重オフセットを padding のみに頼らない） */
  body.admin-bar .p-header__nav {
    top: 32px;
    height: calc(100dvh - 32px);
    max-height: calc(100dvh - 32px);
    padding-top: calc(4.6rem + env(safe-area-inset-top));
  }
}
@media (max-width: 1023px) and (max-width: 782px) {
  body.admin-bar .p-header__nav {
    top: 46px;
    height: calc(100dvh - 46px);
    max-height: calc(100dvh - 46px);
  }
}
@media (max-width: 1023px) {
  .p-header.menu-open .p-header__nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    justify-content: flex-start;
  }
  .p-header__nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.78rem 0.9rem;
    border-radius: 8px;
    background: #f3f3f3;
    font-size: 0.92rem;
    text-align: left;
    touch-action: manipulation;
  }
  .p-header__logo-link img {
    height: 40px;
  }
  body.header-drawer-open {
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  .p-header {
    padding: 0.55rem 0.75rem;
  }
  .p-header__menu-toggle {
    width: 44px;
    height: 44px;
  }
  .p-header__menu-toggle-line {
    width: 20px;
  }
  .p-header__nav {
    width: min(88vw, 320px);
    padding-top: calc(4.2rem + env(safe-area-inset-top));
  }
  body.admin-bar .p-header__nav {
    padding-top: calc(4.2rem + env(safe-area-inset-top));
  }
  .p-header__logo-link img {
    height: 34px;
  }
}
/* フッター - ダークグレー（design_footer） */
.p-footer {
  padding: 2rem 1rem;
  background: #4d4d4d;
  color: #ccc;
  text-align: center;
  font-size: 0.85rem;
}

.p-footer a {
  color: #ccc;
}

/* アーカイブ一覧・単一投稿・ページネーション */
/* お知らせ: 左サイドバー（月別アーカイブ）+ メイン */
.p-layout-news {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.p-news-aside {
  position: sticky;
  top: 5.5rem;
}

.p-news-aside__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.p-news-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-news-aside__list > li {
  margin: 0;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  line-height: 1.5;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}

.p-news-aside__list > li:last-child {
  border-bottom: 0;
}

.p-news-aside__list a {
  display: inline;
  color: #333;
  text-decoration: none;
}

.p-news-aside__list a:hover,
.p-news-aside__list a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 767px) {
  .p-layout-news {
    grid-template-columns: 1fr;
  }
  /* DOM は aside → main だが、SP では本文優先で main を上に */
  .p-layout-news__main {
    order: 1;
  }
  .p-news-aside {
    order: 2;
    position: static;
    padding-top: 1rem;
    margin-top: 1.25rem;
    padding-bottom: 0;
    margin-bottom: 0;
    border-top: 1px solid #ddd;
    border-bottom: 0;
  }
}
.p-archive__head {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
}

.p-archive__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text);
}

.p-archive__desc {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.p-archive__desc p {
  margin: 0;
}

.p-archive__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.p-archive__link {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.p-archive__link:hover {
  border-color: #ccc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.p-archive__card-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  line-height: 1.35;
  color: #111;
}

.p-archive__date {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  color: #777;
}

.p-archive__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
}

.p-archive__excerpt p {
  margin: 0;
}

.p-archive__thumb {
  flex: 0 0 140px;
  max-width: 140px;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
}

.p-archive__thumb-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.p-archive__body {
  flex: 1 1 200px;
  min-width: 0;
}

.p-archive__empty {
  margin: 2rem 0;
  color: #666;
}

/* ページネーション（一般的なテキストリンク型） */
.p-pagination {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ddd;
}

.p-pagination nav.navigation {
  display: flex;
  justify-content: center;
  width: 100%;
}

.p-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.35rem;
}

/* paginate_links( type => list ) 用（固定ページテンプレートのカスタムクエリ等） */
.p-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-pagination .page-numbers {
  display: inline-block;
  padding: 0.2rem 0.4rem;
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  border: 0;
  background: transparent;
}

.p-pagination .page-numbers:hover,
.p-pagination .page-numbers:focus-visible {
  text-decoration: underline;
  outline: none;
}

.p-pagination .page-numbers.current {
  font-weight: 700;
  color: #111;
  text-decoration: none;
  cursor: default;
}

.p-pagination .page-numbers.dots {
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  cursor: default;
}

.p-pagination .prev.page-numbers,
.p-pagination .next.page-numbers {
  font-weight: 600;
}

/* 単一投稿 */
.p-single__article {
  max-width: 720px;
  margin: 0 auto;
}

.p-single__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
}

.p-single__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.3;
  color: #111;
}

.p-single__date {
  font-size: 0.88rem;
  color: #666;
}

.p-single__figure {
  margin: 1.25rem 0 0;
}

.p-single__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.p-single__content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.p-single__content > *:first-child {
  margin-top: 0;
}

.p-single__page-links {
  margin: 1.75rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid #eee;
  background: transparent;
  font-size: 0.95rem;
  line-height: 1.6;
}

.p-single__page-links-label {
  font-weight: 700;
  margin-right: 0.35rem;
}

.p-single__page-link {
  display: inline-block;
  margin: 0 0.2rem;
  text-decoration: underline;
}

/* 前後記事（一般的な「前へ／次へ」テキストリンク） */
.p-post-nav {
  max-width: 720px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #ddd;
}
.p-post-nav .nav-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: row;
}

.p-post-nav .post-navigation {
  width: 100%;
}

.p-post-nav .nav-previous,
.p-post-nav .nav-next {
  margin: 0;
}

.p-post-nav .nav-next {
  text-align: right;
}

.p-post-nav a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 0;
  border: 0;
}

.p-post-nav a:hover .p-post-nav__title {
  text-decoration: underline;
}

.p-post-nav a:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
}

.p-post-nav__dir {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 0.2rem;
}

.p-post-nav__title {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111;
}

@media (max-width: 767px) {
  .p-archive__thumb {
    flex-basis: 100%;
    max-width: 220px;
  }
  .p-post-nav .nav-next {
    text-align: right;
  }
}
