/* ===================================================
   石澤工業株式会社 — style.css
   =================================================== */
@import "https://unpkg.com/open-props/sizes.min.css";
@import "scroll-anim.css";
:root {
  --color-navy: #003C81;
  --color-navy-dark: #0d1b3e;
  --color-navy-light: #003C81;
  --color-blue: #3b7fd1;
  --color-red: #E22600;
  --color-red-dark: #E22600;
  --color-red-light: #E22600;
  --color-ink: #262626;
  --color-bg-gray: #E8E8E8;
	--color-gray:#BBBBBB;
  --color-white: #ffffff;
  --color-navy-light-rgb: 0, 60, 129;
  --color-navy-dark-rgb: 0, 13, 27;
  --color-red-light-rgb: 226, 38, 0;
  --color-red-dark-rgb: 129, 0, 0;
  --color-gray-light-rgb: 255, 255, 255;
  --color-gray-dark-rgb: 199, 199, 199;
  --font-base: "Noto Sans JP", sans-serif;
  --font-title: "Hiragino Kaku Gothic Std";
  --container: 1180px;
  --header-h: 84px;
	--pad-inline: clamp(20px, 5vw, 90px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-ink);
  background: var(--color-bg-gray);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: min(calc(16 / var(--vw-min) * 100vw), 16px);
}
img {
  max-width: 100%;
  display: block;
	height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
main {
	margin-top: var(--header-h);
}
.section-title {
  font-family: var(--font-title);
  text-align: center;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 28px;
	padding: 0 10px;
}
.txt-red {
  color: var(--color-red);
}
.txt-navy {
  color: var(--color-navy);
}
.txt-center {
  text-align: center;
}
/* ===================== HEADER ===================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-gray);
  min-height: var(--header-h);
	
	position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.header__inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
}
.header__logo img {
  height: auto;
  width: 100%;
}
.header__nav ul {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
}
.header__nav a {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}
.header__nav a span {
  font-weight: 500;
  font-size: .82em;
}
.header__contact {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-red-dark) 100%);
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: var(--size-3);
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  line-height: 1.6;
  padding: 18px 12px;
  writing-mode: vertical-rl;
  position: fixed;
  top: 6rem;
  right: 0;
  z-index: 1;
}
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  margin-right: 8px;
}
.header__burger span {
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: transform .25s ease, opacity .25s ease;
}
.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ===================================================
   GLOBAL NAV — ホバー／カレント表現
   ・デスクトップ表示時（1367px以上）でのみ適用
     ※ iPad は横向きでも最大 1366px のため、この範囲には入りません
   ・オンマウス時：文字色がネイビーへ変化＋グラデーション下線が左から伸びる
   ・カレント（該当コンテンツ表示中）：文字をグラデーション表示＋下線を常時表示
   =================================================== */
@media (width > 1366px) {
  .header__nav a {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: var(--color-ink);
    /* 下線カラーはここで一括変更できます */
    --nav-underline: linear-gradient(90deg, var(--color-red) 0%, var(--color-navy) 100%);
    transition: color .3s ease;
  }
  /* --- グラデーション下線本体 --- */
  .header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--nav-underline);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  }
  /* --- オンマウス／キーボードフォーカス --- */
  .header__nav a:hover,
  .header__nav a:focus-visible {
    color: var(--color-navy);
  }
  .header__nav a:hover::after,
  .header__nav a:focus-visible::after {
    transform: scaleX(1);
  }
  /* --- カレント（該当コンテンツへアクセス中） --- */
  .header__nav .is-current > a::after {
    transform: scaleX(1);
  }
  .header__nav .is-current > a {
    color: var(--color-navy);
  }
  /* 文字自体もグラデーション（background-clip 対応ブラウザのみ） */
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .header__nav .is-current > a {
      background: var(--nav-underline);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }
    /* ::after（下線）は透明化の影響を受けないよう色を戻す */
    .header__nav .is-current > a::after {
      -webkit-text-fill-color: initial;
    }
  }
}

/* --- お問い合わせボタンのカレント（タブレットでも表示されるため範囲外に置く） --- */
.header__contact.is-current {
  box-shadow: inset 4px 0 0 var(--color-white);
}

/* ===================================================
   バーガーメニューの表示条件
   ---------------------------------------------------
   次のいずれかに当てはまる場合、グローバルメニューを
   バーガーメニュー（開閉式）に切り替えます。

     1. 表示幅が 1366px 以下
        iPad は横向きでも最大 1366px（Pro 13インチ／Air 13インチ）
        のため、Mini・Air・Pro すべてが縦横どちらでもこの条件に入ります。

     2. ホバーできないタッチ端末
        1366px より広いタブレットが出た場合の保険です。

   デスクトップ側の境界を 1366px にしているため、
   1280px・1366px 幅のノートPCもバーガー表示になります。
   PCでは従来どおり 760px までとしたい場合は、
   下の 1366px を 760px に変更してください。
   =================================================== */
@media (width <=1366px), (hover: none) and (pointer: coarse) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 12px 18px rgba(0, 0, 0, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    z-index: 20;
  }

  .header__nav.is-open {
    max-height: 420px;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .header__nav li {
    border-bottom: 1px solid #eee;
  }

  .header__nav a {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    font-size: .95rem;
  }

  /* カレント項目を左のグラデーションバーで示す */
  .header__nav .is-current > a {
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--color-red), var(--color-navy)) 1;
    color: var(--color-navy);
    font-weight: 700;
  }
}

/* --- モーション低減設定を尊重 --- */
@media (prefers-reduced-motion: reduce) {
  .header__nav a,
  .header__nav a::after {
    transition: none;
  }
}

/* ===================== CONTACT ===================== */
.contact {
  background: url("../images/bg-blue.png") no-repeat;
  background-size: cover;
  padding: 64px 24px;
  text-align: center;
  color: var(--color-white);
}
.contact__inner {
	margin: auto;
}
.contact .section-title {
  color: var(--color-white);
}
.contact__lead {
  font-size: clamp(15px, 1.5vw, 18px);
  margin: 0 0 30px;
  opacity: .9;
}
.contact__btn {
  font-family: var(--font-title);
  display: flex;
    align-items: center;
    justify-content: center;
  gap: 20px;
  background: var(--color-ink);
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 18px);
  padding: clamp(16px, 2.2vw, 20px);
  letter-spacing: .04em;
  transition: opacity .2s ease;
	width: 100%;
  max-width: 500px;
	margin: auto;
}
.contact__btn:hover {
  background-color: var(--color-gray);
}

.recruit__buttons {
	display: grid;
    grid-template-columns: 1fr 1fr;
	gap:20px;
	max-width: var(--container);
	margin: auto;
	justify-items: center;
}

.recruit__btn {
  font-family: var(--font-title);
  display: flex;
    align-items: center;
    justify-content: center;
  gap: 20px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 18px);
  padding: clamp(16px, 2.2vw, 20px);
  letter-spacing: .04em;
  transition: opacity .2s ease;
	width: 100%;
  max-width: 500px;
}
.recruit__btn:hover {
  background-color: var(--color-gray);
}
/* ===================== FOOTER ===================== */
.footer {
  background: var(--color-bg-gray);
  padding: 56px 24px 24px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #d6d9dc;
}
.footer__brand img {
  height: 60px;
  width: auto;
  margin-bottom: 18px;
}
.footer__brand address {
  font-style: normal;
  font-size: .78rem;
  color: var(--color-sub);
}
.footer__brand address p {
  margin: 0 0 4px;
}
.footer__label {
  font-weight: 700;
  color: var(--color-ink) !important;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.footer__col-title {
  font-weight: 700;
  font-size: .85rem;
  margin: 0 0 14px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: .78rem;
  color: var(--color-sub);
}
.footer__col a:hover {
  color: var(--color-red);
}
.footer__copy {
  text-align: center;
  font-size: .7rem;
  color: var(--color-sub);
  margin: 24px 0 0;
}
/* ===================================================
   INSIDE PAGE HERO
   =================================================== */
.business__hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: flex-end;
}
.business__hero-bg {
  position: absolute;
  inset: 0;
}
.business__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(20px, 4vw, 40px) var(--pad-inline) clamp(24px, 4vw, 40px);
}
.business__hero-title {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 1.1rem + 3.4vw, 4rem);
  font-weight: 800;
  line-height: 1.28;
  background: linear-gradient(0deg, #FFFFFF 20%, #E22600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.business__hero-lead {
  color: var(--color-white);
  font-size: clamp(14px, 0.75rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ---------- Intro ---------- */
.business__intro {
  padding-block: clamp(36px, 6vw, 64px);
}

.business__intro-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.business__intro-inner p {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-text-soft);
}

.business__intro-inner p + p {
  margin-block-start: 1.4em;
}

/* ===================================================
   Breadcrumb
   =================================================== */
.breadcrumb {
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--color-text-soft);
}
.breadcrumb__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6em;
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px var(--pad-inline);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "";
  display: inline-block;
  width: 1.6em;
  height: 1px;
  background: #9aa0a6;
  margin-inline-end: 0.6em;
  vertical-align: middle;
}
.breadcrumb__item a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb__item a:hover {
  text-decoration: underline;
}

/* ==============================
   FOOTER NOTE
=============================== */
.voice {
  background: var(--color-white);
  padding-block: 72px;
}

.voice__box {
	max-width: var(--container);
	margin-inline: auto;
  position: relative;
  border: 1px solid;
  border-image: linear-gradient(
    180deg,
    var(--color-navy) 0%,
    var(--color-red-dark) 100%
  ) 1;
  padding: 56px 40px 40px;
  overflow: hidden;
}

.voice__watermark {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(60px, 10vw, 96px);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.18;
  white-space: nowrap;
}

.voice__heading {
  position: relative;
  font-size: var(--size-5);
  font-weight: 700;
  color: var(--color-ink);
  margin: 24px 0 28px;
	text-align: center;
}

.voice__title {
	color: var(--color-navy);
	    font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem);
	text-align: center;
	line-height: 1.6;
}

.voice__quote {
  position: relative;
  max-width: 780px;
  margin: 20px auto;
  font-size: var(--size-3);
  line-height: 2;
  color: var(--color-ink);
}

.voice__author {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
  text-align: right;
  max-width: 780px;
  margin: 0 auto;
}

/* ===================================================
   CARD
   =================================================== */
.detail__body {
  padding: clamp(18px, 2.5vw, 28px);
  position: relative;
	
	display: flex;
  flex-direction: column;
	flex: 1;
}

.detail__heading {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.9em;
}

.detail__text {
  font-size: clamp(13px, 1.4vw, 14px);
  margin: 0;
}

.detail__arrow {
  display: block;
	margin-top: auto;
	align-self: flex-end;
}

/* ==============================
   関連リンク
=============================== */
.related-links__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 48px;
  background: linear-gradient(
  90deg,
  var(--color-bg-gray) 0%,
  var(--color-gray) 100%
);
  text-decoration: none;
  transition: background 0.2s ease;
}

.related-link:nth-child(1) { justify-content: flex-start; }
.related-link:nth-child(2) {
  justify-content: flex-end;
  text-align: right;
  background: linear-gradient(
  90deg,
  var(--color-bg-gray) 0%,
  var(--color-gray) 100%
);
}

.related-link:hover {
  background: #d8d8d8;
}

.related-link__arrow:first-child img {
  transform: scaleX(-1);
}

.related-link__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-link__title {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 700;
  color: var(--color-ink);
}

.related-link__text {
  font-size: clamp(0.75rem, 0.72rem + 0.2vw, 0.875rem);
}

/* ===================================================
   underline-title
   =================================================== */

.section-title-line {
  text-align: center;
  font-family: var(--font-title), var(--font-base);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-ink);
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 48px;
}

.section-title-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue));
}

.section-title--light {
  color: var(--color-white);
}


/* ===================================================
   RESPONSIVE — Tablet
   =================================================== */
@media (width <=1024px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__nav {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ===================================================
   RESPONSIVE — Mobile / hamburger menu
   =================================================== */
@media (width <=760px) {
  :root {
    --header-h: 64px;
  }
  body {
    font-size: 10px;
    font-size: 1rem;
    font-size: calc(13 / var(--vw-min) * 100vw);
    min-width: 320px;
  }
  .header__inner {
    padding: 10px 16px;
  }
  .header__logo img {
    width: 150px;
    height: auto;
  }
  /* ナビ／バーガーの定義は上部のバーガー表示条件ブロックに集約しています */
  .header__contact {
    display:none;
  }
	
	  .business__hero {
    min-height: clamp(200px, 60vw, 320px);
		  padding-top: 65px;
  box-sizing: border-box;
  }
 
.recruit__buttons {
	grid-template-columns: 1fr;
}

  .contact {
    padding: 48px 16px;
  }
  .contact__btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
  .footer {
    padding: 40px 16px 20px;
  }
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
	  .voice__box {
    padding: 48px 20px 32px;
  }

  .voice__author {
    text-align: center;
  }
}
@media (width <=420px) {
  .hero__title {
    font-size: 1.5rem;
  }
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width <= 480px) {
  .breadcrumb__list {
    font-size: 11px;
    flex-wrap: wrap;
  }
}

@media (width <= 960px) {
  .related-links__inner {
    grid-template-columns: 1fr;
  }

  .related-link,
  .related-link:nth-child(2) {
    justify-content: flex-start;
    text-align: left;
  }

}

/* ===================================================
   PAGE TOP — ページ上部に戻るボタン（全ページ共通）
   マークアップは includes/footer.html にあります
   =================================================== */
.pagetop {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: clamp(52px, 5vw, 62px);
  height: clamp(52px, 5vw, 62px);
  padding: 0;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-red-dark) 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  /* 既定は非表示。スクロール量に応じて JS が is-visible を付けます */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  background: linear-gradient(160deg, var(--color-red-dark) 0%, var(--color-navy) 100%);
}

.pagetop:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: -6px;
}

.pagetop__label {
  font-family: var(--font-title);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
}

@media (width <=760px) {
  .pagetop__label {
    display: none;
  }

  .pagetop {
    width: 48px;
    height: 48px;
  }
}

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

@media print {
  .pagetop {
    display: none;
  }
}

/* ===================================================
   矢印アイコン（インラインSVG）
   arrow.svg は白色固定のため、白背景のボタンでは
   currentColor を使うこちらを使用しています
   =================================================== */
.icon-arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 16px;
  color: inherit;
}

/* ===================================================
   SECTION NAV — 下層ページ用ナビゲーション
   ・「◯◯を知るトップへ戻る」ボタン
   ・他のインタビューへのリンク
   マークアップは includes/section-nav.html にあります
   =================================================== */
.sectionnav {
  background: var(--color-bg-gray);
  padding: clamp(40px, 6vw, 80px) var(--pad-inline);
}

.sectionnav__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.sectionnav__title {
  font-family: var(--font-title);
  font-size: clamp(17px, 1.1rem + 0.8vw, 26px);
  font-weight: 700;
  text-align: center;
  letter-spacing: .06em;
  margin: 0 0 clamp(24px, 3.5vw, 40px);
  padding-bottom: 14px;
  position: relative;
}

.sectionnav__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-navy));
}

/* --- 一覧 --- */
.sectionnav__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  margin: 0 0 clamp(32px, 4.5vw, 52px);
  padding: 0;
  list-style: none;
}

.sectionnav__card {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 18px);
  height: 100%;
  padding: 12px 16px 12px 12px;
  background: var(--color-white);
  color: var(--color-ink);
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--color-navy), var(--color-red-dark)) 1;
  transition: transform .25s ease, box-shadow .25s ease;
}

.sectionnav__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.sectionnav__photo {
  flex: 0 0 auto;
  width: clamp(72px, 8vw, 92px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-gray);
}

.sectionnav__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sectionnav__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sectionnav__role {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--color-navy);
  letter-spacing: .04em;
}

.sectionnav__desc {
  font-size: clamp(12px, 1.2vw, 13.5px);
  line-height: 1.7;
  /* 2行を超える説明文は省略して高さを揃える */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sectionnav__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--color-navy);
  transition: transform .25s ease;
}

.sectionnav__card:hover .sectionnav__arrow {
  transform: translateX(4px);
}

/* --- 戻るボタン --- */
.sectionnav__back {
  display: flex;
  justify-content: center;
}

.sectionnav__back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 1.8vw, 18px) clamp(28px, 4vw, 48px);
  background: var(--color-white);
  color: var(--color-navy);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 17px);
  letter-spacing: .06em;
  box-shadow: inset 0 0 0 2px var(--color-navy);
  transition: background-color .25s ease, color .25s ease;
}

.sectionnav__back-link:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.sectionnav__back-icon {
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}

.sectionnav__back-link:hover .sectionnav__back-icon {
  transform: translateX(-4px);
}

@media (width <=760px) {
  .sectionnav__list {
    grid-template-columns: 1fr;
  }

  .sectionnav__back-link {
    width: 100%;
    justify-content: center;
  }
}
