/*------------------------------------
:root
------------------------------------*/
:root {
  /* ブランドカラー */
  --brand-main:      #00355b; /* 確定：メインカラー */
  --brand-accent:    #e63946; /* 確定：アクセントカラー */

  /* テキストカラー */
  --text-main:       #00355b; /* 確定：タイトル、強調、本文（旧900） */
  --text-muted:      #a6cce7; /* 確定：淡いサブタイトル、装飾（旧400） */

  /* 背景・境界線 */
  --bg-main:         #ffffff; /* 基本背景（白） */
  --bg-sub:          #f4f8fb; /* セクション切り替え用（薄い青グレー） */
  --border-light:    #e9eff5; /* 枠線・区切り線（さらに淡い） */

  /* オーバーレイ */
  --overlay-gray:    rgba(30, 45, 60, 0.75); /* グレー系 */
}


/*------------------------------------
body
------------------------------------*/
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
  margin: 0;
  color: #000;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}


/*------------------------------------
.header
------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  color: #fff;
  transition: background-color 0.5s, padding 0.5s, box-shadow 0.5s;
}

/* トップページ：初期は透明 */
.header--transparent {
  background-color: transparent;
}

/* 中ページ：常にブランドカラー */
.header--solid {
  background-color: var(--brand-main);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* スクロール後にJSで付与 */
.header--scrolled {
  background-color: var(--brand-main);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
  .header {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s;
}

.header__logo:hover {
  opacity: 0.8;
}

.header__logo-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .header__logo-img {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.header__logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .header__logo-name {
    font-size: 1.25rem;
  }
}

.header__divider {
  display: none;
  width: 1px;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .header__divider {
    display: block;
  }
}

.header__companies {
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .header__companies {
    display: flex;
  }
}

/* PC ナビ */
.header__nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.header__nav-link:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* 現在ページのアクセント下線 */
.header__nav-link--active {
  position: relative;
}

.header__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-accent);
}

/* ハンバーガーボタン */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 50;
}

.header__menu-btn span {
  display: block;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-btn span:nth-child(1) { width: 24px; }
.header__menu-btn span:nth-child(2) { width: 24px; }
.header__menu-btn span:nth-child(3) { width: 16px; align-self: flex-end; }


/*------------------------------------
#side-menu（サイドメニュー）
------------------------------------*/
#side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 60;
  background-color: var(--brand-main);
  color: #fff;
  padding: 0;         /* 子要素側でpadding管理 */
  display: flex;
  flex-direction: column;
  overflow-y: scroll; /* メニュー全体をスクロール */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

#side-menu::-webkit-scrollbar {
  width: 3px;
}

#side-menu::-webkit-scrollbar-track {
  background: transparent;
}

#side-menu::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
}

@media (min-width: 768px) {
  #side-menu {
    width: 450px;
  }
}

#side-menu.open {
  transform: translateX(0);
}

.side-menu__close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4rem;
  padding: 2rem 2rem 0;
  position: sticky; /* スクロールしても閉じるボタンを上部に固定 */
  top: 0;
  z-index: 1;
  background-color: var(--brand-main);
}

@media (min-width: 768px) {
  .side-menu__close-row {
    padding: 3rem 3rem 0;
  }
}

.side-menu__close-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}

.side-menu__close-btn:hover {
  color: #fff;
}

.side-menu__close-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-menu__close-icon span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: currentColor;
}

.side-menu__close-icon span:nth-child(1) { transform: rotate(45deg); }
.side-menu__close-icon span:nth-child(2) { transform: rotate(-45deg); }

.side-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 2rem;
}

@media (min-width: 768px) {
  .side-menu__nav {
    padding: 0 3rem;
  }
}

.side-menu__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.2s;
  display: block;
}

.side-menu__link:hover {
  transform: translateX(12px);
}

.side-menu__link--active {
  color: var(--brand-accent);
}

.side-menu__link--muted {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* アコーディオン（採用情報） */
.accordion-item {
  display: flex;
  flex-direction: column;
}

.accordion-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s;
}

.accordion-item__header:hover {
  transform: translateX(4px);
}

.accordion-trigger {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.2s;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .accordion-trigger {
    width: 2rem;
    height: 2rem;
  }
}

.accordion-trigger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.accordion-trigger span {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%);
}

.accordion-trigger .bar-h {
  width: 1rem;
  height: 2px;
}

.plus-vertical {
  width: 2px;
  height: 1rem;
  transition: transform 0.5s;
}

.accordion-item.active .plus-vertical {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-sub {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0 1rem 1rem;
  margin: 1rem 0 0 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .accordion-sub {
    margin: 0.75rem 0 0 0.5rem;
  }
}

.accordion-sub__link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .accordion-sub__link {
    font-size: 0.8125rem;
  }
}

.accordion-sub__link:hover {
  opacity: 1;
  color: #fff;
}

/* SNSリンク */
.side-menu__social {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .side-menu__social {
    padding: 3rem 0;
  }
}

.side-menu__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-main);
  transition: background 0.25s;
}

.side-menu__social-link:hover {
  background: rgba(255, 255, 255, 0.7);
}


/*------------------------------------
#menu-overlay
------------------------------------*/
#menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}


/*------------------------------------
.section-head（セクション共通見出し）
------------------------------------*/
.section-head {
  text-align: center;
}

.section-en-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.section-title {
	display: inline-block;
	position: relative;
	font-size: 1.5rem;
	font-weight: 900;
	margin-bottom: 1.75rem;
	padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--brand-accent);
}

.section-title--left::after {
  left: 0;
  transform: none;
}

.section-title--white {
  color: #fff;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2rem;
    letter-spacing: 0.08em;
  }
}

.section-desc {
  font-size: 0.875rem;
  line-height: 1.9;
  margin: 0;
  text-align: justify;
}

@media (min-width: 1024px) {
  .section-desc {
    font-size: 1rem;
    text-align: center;
  }
}


/*------------------------------------
.cta（お問い合わせCTAセクション）
------------------------------------*/
.cta {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
  color: #fff;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__bg picture,
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.cta__inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.cta__en-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.cta__title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .cta__title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }
}

.cta__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 2;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .cta__desc {
    font-size: 1rem;
    letter-spacing: .05em;
  }
}

.cta__btn {
  display: inline-block;
  background-color: var(--brand-main);
  color: #fff;
  padding: 1rem 4rem;
  font-size: 1rem;
  font-weight: 700;
  transition: filter 0.2s;
}

@media (min-width: 1024px) {
  .cta__btn {
    padding: 1.25rem 4rem;
    font-size: 1.125rem;
    letter-spacing: .05em;
  }
}

.cta__btn:hover {
  filter: brightness(1.1);
}


/*------------------------------------
.section-recruit-cta（メイン＋補助CTA）
------------------------------------*/
.section-recruit-cta {
  display: flex;
  flex-direction: column;
}

/* メインCTA */
.recruit-cta-main {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
  color: #fff;
}

.recruit-cta-main__bg {
  position: absolute;
  inset: 0;
}

.recruit-cta-main__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.recruit-cta-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    30deg,
    rgba(15, 30, 45, 0.92) 0%,
    rgba(15, 30, 45, 0.4)  60%,
    rgba(15, 30, 45, 0)    100%
  );
}

.recruit-cta-main__inner {
  position: relative;
  z-index: 10;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.recruit-cta-main__title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0.5rem 0 1.25rem;
}
@media (min-width: 1024px) {
  .recruit-cta-main__title {
    font-size: 2rem;
  }
}

.recruit-cta-main__desc {
  font-size: 0.875rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .recruit-cta-main__desc {
    font-size: 1rem;
  }
}

.recruit-cta-main__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--brand-accent);
  color: #fff;
  padding: 1.125rem 3.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: filter 0.2s, transform 0.2s;
}

.recruit-cta-main__btn:hover {
  filter: brightness(1.1);
}

/* 補助CTA */
.recruit-cta-sub {
  background-color: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 3rem 1.5rem;
}

.recruit-cta-sub__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .recruit-cta-sub__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    text-align: left;
  }
}

.recruit-cta-sub__text {
  flex: 1;
}

.recruit-cta-sub__title {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--brand-main);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.recruit-cta-sub__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #64748b;
}

.recruit-cta-sub__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-shrink: 0;
  align-items: center;
}

@media (min-width: 480px) {
  .recruit-cta-sub__actions {
    flex-direction: row;
  }
}

.recruit-cta-sub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: filter 0.2s, transform 0.2s;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .recruit-cta-sub__btn {
    width: 16rem;
  }
}

.recruit-cta-sub__btn:hover {
  transform: translateY(-1px);
}

.recruit-cta-sub__btn--form {
  background-color: var(--brand-main);
  border: 2px solid var(--brand-main);
  color: #fff;
}

.recruit-cta-sub__btn--form:hover {
  filter: brightness(1.15);
}

.recruit-cta-sub__btn--tel {
  border: 2px solid var(--brand-main);
  color: var(--brand-main);
}

.recruit-cta-sub__btn--tel:hover {
  background-color: var(--brand-main);
  color: #fff;
}


/*------------------------------------
.footer
------------------------------------*/
.footer {
  background-color: var(--brand-main);
  color: #fff;
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s;
}

.footer__logo:hover {
  opacity: 0.8;
}

.footer__logo img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.footer__logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer__logo-divider {
  display: none;
  width: 1px;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .footer__logo-divider {
    display: block;
  }
}

.footer__companies {
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .footer__companies {
    display: flex;
  }
}

.footer__address {
  font-size: 0.6875rem;
  opacity: 0.4;
  line-height: 1.8;
  font-weight: 300;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-main);
  transition: background 0.25s;
}

.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.7);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__nav-link {
  font-size: 0.6875rem;

  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}

.footer__nav-link:hover {
  opacity: 1;
}

.footer__nav-link--active {
  opacity: 1;
}

.footer__copyright-row {
  max-width: 80rem;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer__copyright {
  font-size: 0.5625rem;
  opacity: 0.3;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}


/*------------------------------------
.fade-up（スクロール出現アニメーション）
------------------------------------*/
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }
.delay-800 { transition-delay: 800ms; }


/*------------------------------------
ユーティリティ
------------------------------------*/
.u-vertical-text {
  writing-mode: vertical-rl;
}


/*------------------------------------
改行制御ユーティリティ
------------------------------------*/
/* スマホ（1024px未満）でのみ改行する */
.br-sp {
  display: block;
}

/* PC（1024px以上）でのみ改行する */
.br-pc {
  display: none;
}

@media (min-width: 1024px) {
  /* PCサイズになったらスマホ用改行を消し、PC用を表示する */
  .br-sp {
    display: none;
  }
  .br-pc {
    display: block;
  }
}


/*------------------------------------
.page-hero（中ページ共通：ページヒーロー）
------------------------------------*/
.page-hero {
  background-color: var(--brand-main);
  position: relative;
  overflow: hidden;
  padding: 1rem 1.5rem 5rem;
  color: #fff;
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 8rem 3rem 7rem;
  }
}

/* アクセントグロー */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 70% 50%,
    rgba(255, 140, 0, 0.08) 0%,
    transparent 70%
  );
}

/* グリッドライン装飾 */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero__inner {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
}

/* 背景の大文字テキスト */
.hero-en {
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  letter-spacing: -0.03em;
  position: absolute;
  bottom: -0.15em;
  right: -0.05em;
  pointer-events: none;
  user-select: none;
}

/* ページラベル（例："Company Profile"） */
.hero-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero__title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .page-hero__title {
    font-size: 3rem;
    letter-spacing: 0.1em;
    margin: 1.5rem 0 2rem;
  }
}

.page-hero__desc {
  font-size: 0.875rem;
  line-height: 2;
  text-align: justify;
}

@media (min-width: 768px) {
  .page-hero__desc {
    font-size: 1rem;
  }
}


/*------------------------------------
AIOSEOパンくずリスト・カスタマイズ
------------------------------------*/

/* 全体のコンテナ */
.aioseo-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* 折り返し対応 */
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* リンク要素 */
.aioseo-breadcrumb a {
  color: inherit; /* 親のrgba(255, 255, 255, 0.4)を継承 */
  text-decoration: none;
  transition: opacity 0.2s;
}

.aioseo-breadcrumb a:hover {
  opacity: 0.6;
}

/* 区切り文字 (/) */
.aioseo-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
}

/* 現在のページ */
.aioseo-breadcrumb *:last-child {
  color: rgba(255, 255, 255, 0.4);
}


/*------------------------------------
.main--inner（中ページ共通：ヘッダー分のpadding-top）
------------------------------------*/
.main--inner {
  padding-top: 72px;
}

@media (min-width: 1024px) {
  .main--inner {
    padding-top: 80px;
  }
}

/*------------------------------------
.section-404（404ページ：案内セクション）
------------------------------------*/
.section-404 {
  padding: 4rem 1.5rem 6rem;
  background-color: var(--bg-main);
}

@media (min-width: 1024px) {
  .section-404 {
    padding: 6rem 3rem 8rem;
  }
}

.section-404__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

/* エラーコード（大きな赤文字の「404」） */
.section-404__code {
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--brand-accent);
  margin: 0 0 1.5rem;
}

/* リード文 */
.section-404__lead {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
  color: #333;
  margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
  .section-404__lead {
    font-size: 1.25rem;
  }
}

/* 補足文 */
.section-404__msg {
  font-size: 0.8125rem;
  line-height: 2;
  color: #666;
  margin: 0 0 2.5rem;
}

@media (min-width: 1024px) {
  .section-404__msg {
    font-size: 0.875rem;
  }
}

/* 案内リンク（トップへ戻るボタン） */
.section-404__links {
  max-width: 22rem;
  margin: 0 auto;
}

.section-404__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: filter 0.2s;
}

/* 主導線：トップへ戻る */
.section-404__link--primary {
  background-color: var(--brand-main);
  color: #fff;
}

.section-404__link--primary:hover {
  filter: brightness(1.15);
}


/*------------------------------------
外部スタイルの上書き（強制指定）
------------------------------------*/
body,input,textarea,button,.button,.faux-button,.wp-block-button__link,.wp-block-file__button,.has-drop-cap:not(:focus)::first-letter,.entry-content .wp-block-archives,.entry-content .wp-block-categories,.entry-content .wp-block-cover-image,.entry-content .wp-block-latest-comments,.entry-content .wp-block-latest-posts,.entry-content .wp-block-pullquote,.entry-content .wp-block-quote.is-large,.entry-content .wp-block-quote.is-style-large,.entry-content .wp-block-archives *,.entry-content .wp-block-categories *,.entry-content .wp-block-latest-posts *,.entry-content .wp-block-latest-comments *,.entry-content p,.entry-content ol,.entry-content ul,.entry-content dl,.entry-content dt,.entry-content cite,.entry-content figcaption,.entry-content .wp-caption-text,.comment-content p,.comment-content ol,.comment-content ul,.comment-content dl,.comment-content dt,.comment-content cite,.comment-content figcaption,.comment-content .wp-caption-text,.widget_text p,.widget_text ol,.widget_text ul,.widget_text dl,.widget_text dt,.widget-content .rssSummary,.widget-content cite,.widget-content figcaption,.widget-content .wp-caption-text {
    font-family: 'Noto Sans JP', sans-serif !important;
}