@charset "UTF-8";
/* 任意：英字ロゴ用（必要になったら使う） */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=password],
input[type=search],
input[type=number],
textarea,
select {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

button,
[role=button],
input[type=button],
input[type=submit],
input[type=reset] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type=number] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

textarea {
  resize: vertical;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
  display: block;
}

svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 0;
}

::placeholder {
  opacity: 1;
}

main,
section,
article,
aside,
nav,
header,
footer,
figure,
figcaption {
  display: block;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

sup,
sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* hidden 属性は必ず非表示にする（JSトグルの前提を守る） */
[hidden] {
  display: none !important;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--pb-header-h, 0px);
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
  color: #4A4A4A;
  background-color: #FFFFFF;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------
   1-1. CSS Custom Properties（必要時にJS/inlineで参照）
   ※ SCSS変数を「CSS変数」としても公開しておくと運用が楽です。
---------------------------------------- */
:root {
  /* Colors */
  --pb-color-primary: #002136;
  --pb-color-secondary-a: #E5EBEE;
  --pb-color-secondary-b: #D7CFC4;
  --pb-color-accent-a: #F2C94C;
  --pb-color-accent-b: #3A7FA0;
  --pb-color-text: #4A4A4A;
  --pb-color-muted: #6E7A84;
  --pb-color-border: #AEB9C2;
  /* Typography */
  --pb-font-base: Noto Sans JP, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, Segoe UI, sans-serif;
  --pb-font-heading: Noto Serif JP, Noto Sans JP, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, Segoe UI, sans-serif;
  /* Brand scale (Header logo + catchcopy) */
  --pb-brand-logo-w: clamp(240px, 11vw, 340px); /* 少しだけ大きめ */
  --pb-brand-catch-fs: clamp(12px, 0.7vw, 14px); /* キャッチは控えめに流体 */
  --pb-hamburger-safe-area: 88px; /* ③の占有幅（調整OK） */
}

/* 4K寄りで“2.5倍くらい”まで引き上げる */
@media (min-width: 2560px) {
  :root {
    --pb-brand-logo-w: clamp(340px, 12vw, 480px);
    --pb-brand-catch-fs: clamp(14px, 0.7vw, 18px);
  }
}
@media (min-width: 3600px) {
  :root {
    --pb-brand-logo-w: clamp(440px, 15vw, 580px); /* 4Kでだいたい最大580px */
    --pb-brand-catch-fs: clamp(16px, 0.7vw, 22px);
  }
}
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75rem;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #4A4A4A;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

p {
  margin: 0 0 1rem;
}

small {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25em;
}

li {
  margin: 0 0 0.5rem;
}

blockquote {
  margin: 0 0 1rem;
  padding: 1rem;
  border-left: 4px solid #AEB9C2;
  background: #F8FAFC;
}

dl {
  margin: 0 0 1rem;
}

dt {
  font-weight: 500;
}

dd {
  margin: 0 0 0.5rem 0.75rem;
}

a {
  color: #3A7FA0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color 0.25s ease-out;
}

a:hover {
  color: #002136;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid #3A7FA0;
  outline-offset: 2px;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid #AEB9C2;
  text-align: left;
  vertical-align: top;
}

th {
  background: #F8FAFC;
  font-weight: 500;
}

::selection {
  background: rgba(242, 201, 76, 0.35);
}

:focus:not(:focus-visible) {
  outline: none;
}

.u-br {
  display: block;
}

.u-br--pc {
  display: none;
}

@media (min-width: 1025px) {
  .u-br--pc {
    display: block;
  }
}
.u-br--sp {
  display: block;
}

@media (min-width: 1025px) {
  .u-br--sp {
    display: none;
  }
}
.l-container {
  width: 100%;
  padding-inline: 1rem;
  margin-inline: auto;
  max-width: 1280px;
}
@media (min-width: 768px) {
  .l-container {
    padding-inline: 2rem;
  }
}

.l-container--full {
  width: 100%;
  padding-inline: 1rem;
  margin-inline: 0;
  max-width: none;
}
@media (min-width: 768px) {
  .l-container--full {
    padding-inline: 2rem;
  }
}

.l-container--none {
  width: 100%;
  padding-inline: 1rem;
  margin-inline: auto;
  max-width: 1280px;
}
@media (min-width: 768px) {
  .l-container--none {
    padding-inline: 2rem;
  }
}

.l-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .l-grid {
    gap: 2rem;
  }
}

.l-grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .l-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.l-grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .l-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .l-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.l-grid__item {
  height: 100%;
}

/* 任意：英字ロゴ用（必要になったら使う） */
/* =======================================
  layout/_header.scss
======================================= */
.l-header {
  position: relative;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #111;
  transform: translateY(0);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  /* トップ（ヒーロー上） */
  /* sticky（白背景） */
}
.l-header.is-header-hidden {
  transform: translateY(-100%);
}
.l-header.is-header-shown {
  transform: translateY(0);
}
.l-header.l-header--transparent {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
.l-header.is-header-sticky {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  color: #111;
}
.l-header a {
  color: inherit;
  text-decoration: none;
}

/* 画面固定はしない（全ページ） */
.l-header--top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* サブページは通常フロー（必要なら調整） */
.l-header--sub {
  position: relative;
  width: 100%;
}

.aaaaa {
  color: red;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
}

.l-header__logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  margin: 2vh 0;
}

.catchcopy {
  display: inline-block;
  font-size: var(--pb-brand-catch-fs);
  line-height: 1.2;
  padding: 4px 8px;
  margin-bottom: 0;
  border-radius: 2px;
  background: #002136;
  color: #F8FAFC;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}

.c-site-logo__img {
  display: block;
  width: 100%;
  max-width: var(--pb-brand-logo-w);
  height: auto;
}

/* ロゴの出し分け（白⇄濃色） */
.c-site-logo__img--light {
  display: none;
}

.c-site-logo__img--dark {
  display: block;
}

.l-header.l-header--transparent .c-site-logo__img--light {
  display: block;
}
.l-header.l-header--transparent .c-site-logo__img--dark {
  display: none;
}

.l-header.is-header-sticky .c-site-logo__img--light {
  display: none;
}
.l-header.is-header-sticky .c-site-logo__img--dark {
  display: block;
}

/* グローバルナビ（PC） */
.l-global-nav--pc {
  display: none;
}
@media (min-width: 1024px) {
  .l-global-nav--pc {
    display: block;
  }
}

.c-global-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-global-nav__item > a {
  display: inline-block;
  position: relative;
  padding: 8px 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  /* ✅ ホバーは色だけ薄く（下線は出さない） */
}
.c-global-nav__item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 105%;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.c-global-nav__item > a:hover, .c-global-nav__item > a:focus-visible {
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

/* 現在地（＝表示中ページ）で下線を出す */
.c-global-nav__item.is-current > a::after,
.c-global-nav__item.current-menu-item > a::after,
.c-global-nav__item.current_page_item > a::after,
.c-global-nav__item.current-menu-ancestor > a::after {
  opacity: 1;
}

@media (min-width: 1024px) {
  /* ② PCナビ：右側にハンバーガー分の逃げを作る */
  .l-global-nav--pc {
    padding-right: var(--pb-hamburger-safe-area);
  }
}
@media (min-width: 1024px) {
  .c-hamburger {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10001; /* ← 9999(ドロワー)より上にする */
    cursor: pointer;
  }
}
.p-footer {
  background: #002136;
  color: #F8FAFC;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}

.p-footer__inner {
  padding: 6rem 0 4rem;
}

.p-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .p-footer__grid {
    grid-template-columns: 300px 1px auto;
    gap: 6rem;
    align-items: stretch;
  }
}

.p-footer__left,
.p-footer__right {
  min-width: 0;
  padding: 0.75rem 0;
  width: 100%;
}

.p-footer__right {
  margin-top: auto;
}

.p-footer__divider {
  display: none;
}
@media (min-width: 1024px) {
  .p-footer__divider {
    display: block;
    background: rgba(248, 250, 252, 0.35);
    width: 1px;
  }
}

.p-footer__catch {
  margin: 0 0 0.5rem;
  letter-spacing: 0.08em;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
}

.p-footer__logo {
  display: inline-block;
  margin: 0 0 2rem;
  text-decoration: none;
}
.p-footer__logo img {
  display: block;
  width: min(360px, 100%);
  height: auto;
}

.p-footer__address {
  margin: 0 0 10rem;
}
@media (max-width: 575px) {
  .p-footer__address {
    margin-bottom: 4rem;
  }
}
.p-footer__address p {
  margin: 0 0 0.5rem;
}

.p-footer__cta {
  display: flex;
  justify-content: right;
  gap: 2rem;
  margin: 0 0 1.5rem;
}
@media (max-width: 1023px) {
  .p-footer__cta {
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 6rem;
  }
}

.p-footer__btn {
  min-width: 260px;
  padding: 0.75rem 2rem;
}
@media (max-width: 575px) {
  .p-footer__btn {
    min-width: min(320px, 90%);
  }
}

.p-footer__nav {
  margin: 0 0 1rem;
}
@media (max-width: 575px) {
  .p-footer__nav {
    margin-bottom: 6rem;
  }
}
.p-footer__nav ul {
  margin: 0;
}

.p-footer__menu {
  display: flex;
  justify-content: right;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 575px) {
  .p-footer__menu {
    justify-content: left;
  }
}
.p-footer__menu a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.p-footer__menu a:hover, .p-footer__menu a:focus-visible {
  color: #F2C94C;
}
.p-footer__menu li {
  list-style: none;
  display: inline-flex;
  align-items: center;
}
.p-footer__menu li:not(:first-child)::before {
  content: "|";
  display: inline-block;
  margin: 0 0.75rem 0 0;
  color: rgba(248, 250, 252, 0.5);
}

.p-footer__legal {
  display: flex;
  justify-content: right;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
}
@media (max-width: 767px) {
  .p-footer__legal {
    gap: 1rem;
    justify-content: center;
  }
}

.p-footer__legal-link {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.p-footer__legal-link:hover, .p-footer__legal-link:focus-visible {
  color: #F2C94C;
}

.p-footer__copyright {
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  margin: 5rem 0 0;
  opacity: 0.9;
}
@media (max-width: 575px) {
  .p-footer__copyright {
    display: grid;
    place-items: center;
  }
}

.u-mt-0 {
  margin-top: 0px !important;
}

.u-mb-0 {
  margin-bottom: 0px !important;
}

.u-ml-0 {
  margin-left: 0px !important;
}

.u-mr-0 {
  margin-right: 0px !important;
}

.u-mx-0 {
  margin-inline: 0px !important;
}

.u-my-0 {
  margin-block: 0px !important;
}

.u-pt-0 {
  padding-top: 0px !important;
}

.u-pb-0 {
  padding-bottom: 0px !important;
}

.u-pl-0 {
  padding-left: 0px !important;
}

.u-pr-0 {
  padding-right: 0px !important;
}

.u-px-0 {
  padding-inline: 0px !important;
}

.u-py-0 {
  padding-block: 0px !important;
}

.u-mt-4 {
  margin-top: 4px !important;
}

.u-mb-4 {
  margin-bottom: 4px !important;
}

.u-ml-4 {
  margin-left: 4px !important;
}

.u-mr-4 {
  margin-right: 4px !important;
}

.u-mx-4 {
  margin-inline: 4px !important;
}

.u-my-4 {
  margin-block: 4px !important;
}

.u-pt-4 {
  padding-top: 4px !important;
}

.u-pb-4 {
  padding-bottom: 4px !important;
}

.u-pl-4 {
  padding-left: 4px !important;
}

.u-pr-4 {
  padding-right: 4px !important;
}

.u-px-4 {
  padding-inline: 4px !important;
}

.u-py-4 {
  padding-block: 4px !important;
}

.u-mt-8 {
  margin-top: 8px !important;
}

.u-mb-8 {
  margin-bottom: 8px !important;
}

.u-ml-8 {
  margin-left: 8px !important;
}

.u-mr-8 {
  margin-right: 8px !important;
}

.u-mx-8 {
  margin-inline: 8px !important;
}

.u-my-8 {
  margin-block: 8px !important;
}

.u-pt-8 {
  padding-top: 8px !important;
}

.u-pb-8 {
  padding-bottom: 8px !important;
}

.u-pl-8 {
  padding-left: 8px !important;
}

.u-pr-8 {
  padding-right: 8px !important;
}

.u-px-8 {
  padding-inline: 8px !important;
}

.u-py-8 {
  padding-block: 8px !important;
}

.u-mt-12 {
  margin-top: 12px !important;
}

.u-mb-12 {
  margin-bottom: 12px !important;
}

.u-ml-12 {
  margin-left: 12px !important;
}

.u-mr-12 {
  margin-right: 12px !important;
}

.u-mx-12 {
  margin-inline: 12px !important;
}

.u-my-12 {
  margin-block: 12px !important;
}

.u-pt-12 {
  padding-top: 12px !important;
}

.u-pb-12 {
  padding-bottom: 12px !important;
}

.u-pl-12 {
  padding-left: 12px !important;
}

.u-pr-12 {
  padding-right: 12px !important;
}

.u-px-12 {
  padding-inline: 12px !important;
}

.u-py-12 {
  padding-block: 12px !important;
}

.u-mt-16 {
  margin-top: 16px !important;
}

.u-mb-16 {
  margin-bottom: 16px !important;
}

.u-ml-16 {
  margin-left: 16px !important;
}

.u-mr-16 {
  margin-right: 16px !important;
}

.u-mx-16 {
  margin-inline: 16px !important;
}

.u-my-16 {
  margin-block: 16px !important;
}

.u-pt-16 {
  padding-top: 16px !important;
}

.u-pb-16 {
  padding-bottom: 16px !important;
}

.u-pl-16 {
  padding-left: 16px !important;
}

.u-pr-16 {
  padding-right: 16px !important;
}

.u-px-16 {
  padding-inline: 16px !important;
}

.u-py-16 {
  padding-block: 16px !important;
}

.u-mt-24 {
  margin-top: 24px !important;
}

.u-mb-24 {
  margin-bottom: 24px !important;
}

.u-ml-24 {
  margin-left: 24px !important;
}

.u-mr-24 {
  margin-right: 24px !important;
}

.u-mx-24 {
  margin-inline: 24px !important;
}

.u-my-24 {
  margin-block: 24px !important;
}

.u-pt-24 {
  padding-top: 24px !important;
}

.u-pb-24 {
  padding-bottom: 24px !important;
}

.u-pl-24 {
  padding-left: 24px !important;
}

.u-pr-24 {
  padding-right: 24px !important;
}

.u-px-24 {
  padding-inline: 24px !important;
}

.u-py-24 {
  padding-block: 24px !important;
}

.u-mt-32 {
  margin-top: 32px !important;
}

.u-mb-32 {
  margin-bottom: 32px !important;
}

.u-ml-32 {
  margin-left: 32px !important;
}

.u-mr-32 {
  margin-right: 32px !important;
}

.u-mx-32 {
  margin-inline: 32px !important;
}

.u-my-32 {
  margin-block: 32px !important;
}

.u-pt-32 {
  padding-top: 32px !important;
}

.u-pb-32 {
  padding-bottom: 32px !important;
}

.u-pl-32 {
  padding-left: 32px !important;
}

.u-pr-32 {
  padding-right: 32px !important;
}

.u-px-32 {
  padding-inline: 32px !important;
}

.u-py-32 {
  padding-block: 32px !important;
}

.u-mt-40 {
  margin-top: 40px !important;
}

.u-mb-40 {
  margin-bottom: 40px !important;
}

.u-ml-40 {
  margin-left: 40px !important;
}

.u-mr-40 {
  margin-right: 40px !important;
}

.u-mx-40 {
  margin-inline: 40px !important;
}

.u-my-40 {
  margin-block: 40px !important;
}

.u-pt-40 {
  padding-top: 40px !important;
}

.u-pb-40 {
  padding-bottom: 40px !important;
}

.u-pl-40 {
  padding-left: 40px !important;
}

.u-pr-40 {
  padding-right: 40px !important;
}

.u-px-40 {
  padding-inline: 40px !important;
}

.u-py-40 {
  padding-block: 40px !important;
}

.u-mt-48 {
  margin-top: 48px !important;
}

.u-mb-48 {
  margin-bottom: 48px !important;
}

.u-ml-48 {
  margin-left: 48px !important;
}

.u-mr-48 {
  margin-right: 48px !important;
}

.u-mx-48 {
  margin-inline: 48px !important;
}

.u-my-48 {
  margin-block: 48px !important;
}

.u-pt-48 {
  padding-top: 48px !important;
}

.u-pb-48 {
  padding-bottom: 48px !important;
}

.u-pl-48 {
  padding-left: 48px !important;
}

.u-pr-48 {
  padding-right: 48px !important;
}

.u-px-48 {
  padding-inline: 48px !important;
}

.u-py-48 {
  padding-block: 48px !important;
}

.u-mt-64 {
  margin-top: 64px !important;
}

.u-mb-64 {
  margin-bottom: 64px !important;
}

.u-ml-64 {
  margin-left: 64px !important;
}

.u-mr-64 {
  margin-right: 64px !important;
}

.u-mx-64 {
  margin-inline: 64px !important;
}

.u-my-64 {
  margin-block: 64px !important;
}

.u-pt-64 {
  padding-top: 64px !important;
}

.u-pb-64 {
  padding-bottom: 64px !important;
}

.u-pl-64 {
  padding-left: 64px !important;
}

.u-pr-64 {
  padding-right: 64px !important;
}

.u-px-64 {
  padding-inline: 64px !important;
}

.u-py-64 {
  padding-block: 64px !important;
}

.u-block {
  display: block !important;
}

.u-inline-block {
  display: inline-block !important;
}

.u-inline {
  display: inline !important;
}

.u-hidden {
  display: none !important;
}

.u-flex {
  display: flex !important;
}

.u-inline-flex {
  display: inline-flex !important;
}

.u-flex-center {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.u-flex-col {
  display: flex !important;
  flex-direction: column;
}

.u-flex--col-md-row {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .u-flex--col-md-row {
    flex-direction: row;
  }
}

.u-text-left {
  text-align: left !important;
}

.u-text-center {
  text-align: center !important;
}

.u-text-right {
  text-align: right !important;
}

.u-text-bold {
  font-weight: 700 !important;
}

.u-text-medium {
  font-weight: 500 !important;
}

.u-text-normal {
  font-weight: 400 !important;
}

.u-text-sm {
  font-size: clamp(0.875rem, 0.8vw, 1rem) !important;
}

.u-text-md {
  font-size: clamp(1rem, 1vw, 1.125rem) !important;
}

.u-text-lg {
  font-size: clamp(1.125rem, 1.2vw, 1.375rem) !important;
}

.u-text-muted {
  color: #6E7A84 !important;
}

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background-color: #002136;
  color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: background-color 0.25s ease-out, color 0.25s ease-out, border-color 0.25s ease-out, box-shadow 0.25s ease-out, transform 0.15s ease-out;
}
@media (min-width: 768px) {
  .c-button {
    padding: 0.5rem 1.5rem;
    font-size: clamp(1rem, 1vw, 1.125rem);
  }
}
.c-button:hover, .c-button:focus-visible {
  background-color: rgb(0, 14.3, 23.4);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}
.c-button:active {
  background-color: black;
  box-shadow: none;
  transform: translateY(0);
}
.c-button[disabled], .c-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.4;
  box-shadow: none;
  pointer-events: none;
}

.c-button--accent {
  background-color: #F2C94C;
  color: #FFFFFF;
}
.c-button--accent:hover, .c-button--accent:focus-visible {
  background-color: rgb(239.928125, 192.39375, 47.471875);
}
.c-button--accent:active {
  background-color: rgb(237.85625, 183.7875, 18.94375);
}

.c-button--outline {
  background-color: #FFFFFF;
  color: #002136;
  border-color: #002136;
  box-shadow: none;
}
.c-button--outline:hover, .c-button--outline:focus-visible {
  background-color: rgba(0, 33, 54, 0.06);
}
.c-button--outline:active {
  background-color: rgba(0, 33, 54, 0.12);
}

.c-button--sub {
  background-color: #F8FAFC;
  color: #4A4A4A;
  border-color: #AEB9C2;
}
.c-button--sub:hover, .c-button--sub:focus-visible {
  background-color: white;
}
.c-button--sub:active {
  background-color: rgb(240.86, 244.9, 248.94);
}

.c-button--sm {
  padding: 0.25rem 0.75rem;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
}

.c-button--lg {
  padding: 0.75rem 2rem;
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
}
@media (min-width: 768px) {
  .c-button--lg {
    padding: 0.75rem 3rem;
  }
}

.c-button--block {
  display: flex;
  width: 100%;
}

.c-button--icon {
  gap: 0.5rem;
}

.c-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.c-button__label {
  display: inline-block;
}

.c-button--footer-outline {
  background-color: transparent;
  color: #F8FAFC;
  border-color: #F8FAFC;
  box-shadow: none;
  min-width: 200px;
}
.c-button--footer-outline:hover, .c-button--footer-outline:focus-visible {
  background-color: #F8FAFC;
  color: #002136;
  border-color: transparent;
}
.c-button--footer-outline:active {
  background-color: #F8FAFC;
  color: #002136;
  border-color: transparent;
}

@media (max-width: 1023px) {
  .c-button--footer-outline {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-size: clamp(1rem, 1vw, 1.125rem);
    display: grid;
  }
}
.c-card {
  background-color: #FFFFFF;
  color: #4A4A4A;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease-out, transform 0.15s ease-out;
}
.c-card:hover {
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.c-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: #F8FAFC;
}
.c-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-card__body {
  padding: 1rem;
}
@media (min-width: 768px) {
  .c-card__body {
    padding: 1.5rem;
  }
}

.c-card__title {
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.c-card__text {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  color: #6E7A84;
}

.c-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  font-weight: 500;
  color: #002136;
  text-decoration: none;
}
.c-card__link:hover, .c-card__link:focus-visible {
  text-decoration: underline;
}

.c-card--compact .c-card__body {
  padding: 0.75rem;
}
@media (min-width: 768px) {
  .c-card--compact .c-card__body {
    padding: 1rem;
  }
}
.c-card--compact .c-card__title {
  font-size: clamp(1rem, 1vw, 1.125rem);
}

.c-card--borderless {
  border: none;
}

.c-card--shadowless {
  box-shadow: none;
}
.c-card--shadowless:hover {
  box-shadow: none;
  transform: none;
}

@media (min-width: 768px) {
  .c-card--horizontal {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
  }
}
.c-card--horizontal .c-card__media {
  aspect-ratio: auto;
}
@media (min-width: 768px) {
  .c-card--horizontal .c-card__media {
    height: 100%;
    min-height: 180px;
  }
}

.c-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em 0.6em;
  border-radius: 9999px;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  font-weight: 700;
  background-color: rgba(0, 33, 54, 0.12);
  color: #002136;
}

.c-form {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .c-form {
    gap: 1.5rem;
  }
}

.c-form__row {
  display: grid;
  gap: 0.5rem;
}

.c-form__label {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  font-weight: 500;
  line-height: 1.6;
}

.c-form__required {
  display: inline-flex;
  align-items: center;
  margin-left: 0.25rem;
  padding: 0.1em 0.45em;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  font-weight: 700;
  border-radius: 2px;
  background-color: rgba(242, 201, 76, 0.12);
  color: #F2C94C;
}

.c-form__control {
  width: 100%;
  min-height: 44px;
  padding: 0.65em 0.9em;
  border-radius: 4px;
  border: 1px solid #AEB9C2;
  background-color: #FFFFFF;
  color: #4A4A4A;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  line-height: 1.6;
  transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out, background-color 0.25s ease-out;
}
@media (min-width: 768px) {
  .c-form__control {
    font-size: clamp(1rem, 1vw, 1.125rem);
  }
}
.c-form__control::placeholder {
  color: #6E7A84;
}
.c-form__control:focus-visible {
  outline: none;
  border-color: #002136;
  box-shadow: 0 0 0 3px rgba(0, 33, 54, 0.18);
}
.c-form__control:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  background-color: #F8FAFC;
}

textarea.c-form__control {
  min-height: 10rem;
  resize: vertical;
}

select.c-form__control {
  padding-right: 2.2em;
  background-image: linear-gradient(45deg, transparent 50%, #6E7A84 50%), linear-gradient(135deg, #6E7A84 50%, transparent 50%);
  background-position: calc(100% - 1.2em) 50%, calc(100% - 0.9em) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.c-form__check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.c-form__check-input {
  width: 1.05em;
  height: 1.05em;
  accent-color: #002136;
}

.c-form__check-label {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  line-height: 1.6;
}

.c-form__help {
  margin: 0;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

.c-form__error {
  margin: 0;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #dc2626;
}

.c-form__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.c-media {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .c-media {
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    gap: 1.5rem;
  }
}

.c-media__figure {
  border-radius: 8px;
  overflow: hidden;
  background-color: #F8FAFC;
  aspect-ratio: 4/3;
}
.c-media__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-media__body {
  display: grid;
  gap: 0.5rem;
}

.c-media__title {
  margin: 0;
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  color: #4A4A4A;
}

.c-media__text {
  margin: 0;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  line-height: 1.6;
  color: #6E7A84;
}

@media (min-width: 768px) {
  .c-media--reverse {
    grid-template-columns: 1.6fr 1fr;
  }
  .c-media--reverse .c-media__figure {
    order: 2;
  }
  .c-media--reverse .c-media__body {
    order: 1;
  }
}

.c-media--wide .c-media__figure {
  aspect-ratio: 16/9;
}

.c-media--compact {
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .c-media--compact {
    gap: 0.75rem;
  }
}
.c-media--compact .c-media__title {
  font-size: clamp(1rem, 1vw, 1.125rem);
}

.c-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.c-nav--horizontal {
  flex-direction: row;
}

.c-nav--vertical {
  flex-direction: column;
  align-items: flex-start;
}

.c-nav--gap-sm {
  gap: 0.5rem;
}

.c-nav--gap-md {
  gap: 0.75rem;
}

.c-nav--gap-lg {
  gap: 1rem;
}

.c-nav--center {
  justify-content: center;
}

.c-nav--right {
  justify-content: flex-end;
}

.c-nav__item {
  margin: 0;
  padding: 0;
}

.c-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  border-radius: 2px;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  font-weight: 500;
  line-height: 1.2;
  color: #4A4A4A;
  text-decoration: none;
  transition: color 0.25s ease-out, background-color 0.25s ease-out;
}
.c-nav__link:hover, .c-nav__link:focus-visible {
  color: #002136;
  background-color: rgba(0, 33, 54, 0.06);
  outline: none;
}

.c-nav__item.is-current > .c-nav__link,
.c-nav__link[aria-current=page] {
  color: #002136;
  font-weight: 700;
}

.c-nav--underline .c-nav__link {
  background: none;
  border-radius: 0;
  padding: 0.5rem 0;
  position: relative;
}
.c-nav--underline .c-nav__link:hover, .c-nav--underline .c-nav__link:focus-visible {
  background: none;
}
.c-nav--underline .c-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #002136;
  transition: width 0.25s ease-out;
}
.c-nav--underline .c-nav__link:hover::after, .c-nav--underline .c-nav__link:focus-visible::after {
  width: 100%;
}
.c-nav--underline .c-nav__item.is-current > .c-nav__link::after,
.c-nav--underline .c-nav__link[aria-current=page]::after {
  width: 100%;
}

.c-section-title-1 {
  display: inline-block;
  margin: 0 0 0.25rem;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #002136;
}
@media (max-width: 1023px) {
  .c-section-title-1 {
    text-align: center;
    display: block;
  }
}

.c-section-title-1-en {
  display: block;
  margin-top: 0.5rem;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #6E7A84;
  margin-bottom: 4rem;
}

.c-section-title {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  color: #4A4A4A;
}

.c-section-title__sub {
  margin: 0;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6E7A84;
}

.c-section-title__main {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.c-section-title__lead {
  margin: 0;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  line-height: 1.6;
  color: #6E7A84;
  max-width: 60ch;
}

.c-section-title--center {
  text-align: center;
  justify-items: center;
}

.c-section-title--right {
  text-align: right;
  justify-items: end;
}

.c-section-title--bar {
  padding-left: 0.75rem;
  border-left: 4px solid #002136;
}

.c-section-title--underline .c-section-title__main {
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 33, 54, 0.25);
}

.c-section-title--sm {
  margin-bottom: 1rem;
}
.c-section-title--sm .c-section-title__main {
  font-size: clamp(1.5rem, 2vw, 2rem);
}
.c-section-title--sm .c-section-title__lead {
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
}

.c-table__wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  background-color: #FFFFFF;
}

.c-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  line-height: 1.6;
  color: #4A4A4A;
  background-color: #FFFFFF;
  border: 0;
}

.c-table th,
.c-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #AEB9C2;
  vertical-align: top;
}

.c-table th {
  font-weight: 700;
  color: #4A4A4A;
  background-color: #F8FAFC;
  white-space: nowrap;
}

.c-table tr:last-child th,
.c-table tr:last-child td {
  border-bottom: 0;
}

.c-table--striped tbody tr:nth-child(even) td {
  background-color: rgba(248, 250, 252, 0.7);
}

.c-table--compact th,
.c-table--compact td {
  padding: 0.5rem 0.75rem;
}

.c-table--small {
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
}

.c-table--center th,
.c-table--center td {
  text-align: center;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .c-table {
    min-width: 0;
  }
}
/* まずコンテナを演出しやすい形に */
[data-media-reveal] {
  overflow: hidden;
}

/* 初期：隠す（ready） */
[data-media-reveal].is-media-ready .is-media-target {
  opacity: 0;
  transform: translateY(18px) scale(var(--pb-media-scale-from, 1.06));
  filter: blur(var(--pb-media-blur-from, 0px));
}

/* 表示：in */
[data-media-reveal].is-media-in .is-media-target {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  transition: opacity var(--pb-media-duration, 700ms) ease var(--pb-media-delay, 0ms), transform var(--pb-media-duration, 700ms) ease var(--pb-media-delay, 0ms), filter var(--pb-media-duration, 700ms) ease var(--pb-media-delay, 0ms);
}

.c-scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  /* 管理バー・ヘッダーに被らないように上をずらす */
  top: 0;
  height: 4px;
  z-index: 100000; /* admin-bar / header より前に出す */
  pointer-events: none;
  background: rgba(0, 0, 0, 0.08);
}
.c-scroll-progress::before {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--pb-scroll-progress, 0) * 100%);
  background: red; /* currentColor だと状況によって見えにくいので固定 */
}

/* WP管理バーがあるときのオフセット */
body.admin-bar .c-scroll-progress {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .c-scroll-progress {
    top: 46px;
  }
}
/* レイアウトだけ */
.p-card {
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-top: 12px;
  background: #fff;
}

/* stagger：初期（ready） */
[data-stagger].is-stagger-ready .is-stagger-item {
  opacity: 0;
  transform: translateY(14px);
}

/* stagger：開始（in） */
[data-stagger].is-stagger-in .is-stagger-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--pb-stagger-duration, 600ms) ease, transform var(--pb-stagger-duration, 600ms) ease;
  /* ここが“順番”の肝：index × step + delay */
  transition-delay: calc(var(--pb-stagger-index, 0) * var(--pb-stagger-step, 90ms) + var(--pb-stagger-delay, 0ms));
}

/* 見える化（最小） */
[data-marquee] {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding-block: 10px;
}

/* 横並びにして流す */
[data-marquee-track] {
  display: inline-flex;
  align-items: center;
  gap: var(--pb-marquee-gap, 24px);
  white-space: nowrap;
  will-change: transform;
  animation: pb-marquee var(--pb-marquee-duration, 12000ms) linear infinite;
}

/* 方向：JSが data-marquee-dir を付ける :contentReference[oaicite:6]{index=6} */
[data-marquee][data-marquee-dir=right] [data-marquee-track] {
  animation-direction: reverse;
}

/* hoverで止める：JSがクラスを付ける :contentReference[oaicite:7]{index=7} */
[data-marquee].is-marquee-pause-hover:hover [data-marquee-track] {
  animation-play-state: paused;
}

/* 流れる距離は「半分」動けば成立（JSが2倍以上に複製しているため） */
@keyframes pb-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* 中身の見える化 */
.p-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}

[data-loading] {
  /* ========= 調整用（ここ触ればOK） ========= */
  --pb-loading-bg: #002136;
  /* 中身（ロゴ+スピナー）を先に消す速さ */
  --pb-loading-content-fade: 260ms;
  /* カーテンを動かし始めるまでの待ち（＝中身が消えた後に動かす） */
  --pb-loading-wipe-delay: 260ms;
  /* カーテンの割れスピード（長めにすると「割れてる感」出る） */
  --pb-loading-wipe-duration: 900ms;
  /* カーテン自体のフェード（基本は割れと同じ時間でOK） */
  --pb-loading-wipe-fade: 900ms;
  --pb-loading-logo-w: 140px;
  --pb-loading-seam-overlap: 2px;
  /* ======================================== */
  position: fixed;
  inset: 0;
  z-index: 10000;
  /* z-indexの衝突を確実に防ぐ */
  isolation: isolate;
  /* 中央配置 */
  display: grid;
  place-items: center;
  /* 起動時は即表示（フェードイン不要） */
  opacity: 0;
  pointer-events: none;
  /* ★重要：本体は透明（背景はカーテン擬似要素で作る） */
  background: transparent;
}

/* 起動中：即表示（フェードイン無し） */
body.is-loading-active [data-loading] {
  opacity: 1;
  pointer-events: auto;
}

/* 終了中：最後にオーバーレイ自体を消す（カーテン割れが終わってから） */
body.is-loading-done [data-loading] {
  pointer-events: none;
  opacity: 0;
  /* ほぼ即消しでOK（見せたいのは擬似要素のアニメなので） */
  transition: opacity 1ms linear;
  transition-delay: calc(var(--pb-loading-wipe-delay) + var(--pb-loading-wipe-duration));
}

/* =======================================
   Curtain (左右に割れる + フェードアウト)
   ※必ず中身より“下”に敷く
======================================= */
[data-loading]::before,
[data-loading]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + var(--pb-loading-seam-overlap));
  background: var(--pb-loading-bg);
  z-index: 0;
  transform: translateX(0);
  opacity: 1;
  will-change: transform, opacity;
  transition: transform var(--pb-loading-wipe-duration) cubic-bezier(0.2, 0.8, 0.2, 1), opacity var(--pb-loading-wipe-fade) ease;
}

[data-loading]::before {
  left: calc(-1 * var(--pb-loading-seam-overlap));
  box-shadow: none;
}

[data-loading]::after {
  right: calc(-1 * var(--pb-loading-seam-overlap));
  box-shadow: none;
}

/* done：中身が消えてから、左右に割れながらフェードアウト */
body.is-loading-done [data-loading]::before,
body.is-loading-done [data-loading]::after {
  transition-delay: var(--pb-loading-wipe-delay);
  opacity: 0;
}

body.is-loading-done [data-loading]::before {
  transform: translateX(-110%);
}

body.is-loading-done [data-loading]::after {
  transform: translateX(110%);
}

/* =======================================
   Center contents (logo + spinner)
======================================= */
.c-loading {
  position: relative;
  z-index: 1; /* カーテンより上に確実に出す */
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 18px 22px;
  opacity: 1;
  transition: opacity var(--pb-loading-content-fade) ease;
}

/* done：先にロゴ/スピナーを消す */
body.is-loading-done .c-loading {
  opacity: 0;
}

/* ロゴ（横幅だけ統一） */
.c-loading__logo {
  width: var(--pb-loading-logo-w);
  max-width: 70vw;
  height: auto;
}

/* スピナー（白系） */
.c-loading__spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: pb-loading-spin 0.9s linear infinite;
}

@keyframes pb-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Skip（開発中のみでOK） */
.c-loading__skip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
}

@keyframes pb-loading-shadow-left {
  to {
    box-shadow: 24px 0 40px rgba(0, 0, 0, 0.35);
  }
}
@keyframes pb-loading-shadow-right {
  to {
    box-shadow: -24px 0 40px rgba(0, 0, 0, 0.35);
  }
}
/* 左右が動き始めて少し離れてから影を出す */
body.is-loading-done [data-loading]::before {
  animation: pb-loading-shadow-left 1ms linear both;
  animation-delay: calc(var(--pb-loading-wipe-delay) + 80ms);
}

body.is-loading-done [data-loading]::after {
  animation: pb-loading-shadow-right 1ms linear both;
  animation-delay: calc(var(--pb-loading-wipe-delay) + 80ms);
}

.c-hamburger {
  --pb-hamburger-size: 48px;
  --pb-hamburger-pad: 12px;
  --pb-hamburger-line: 2px;
  --pb-hamburger-duration: 260ms;
  --pb-hamburger-ease: cubic-bezier(0.55, 0, 1, 1);
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10001;
  width: var(--pb-hamburger-size);
  height: var(--pb-hamburger-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  color: #002136;
  padding: 0;
  min-height: 0;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.c-hamburger span {
  position: absolute;
  left: var(--pb-hamburger-pad);
  right: var(--pb-hamburger-pad);
  height: var(--pb-hamburger-line);
  background: currentColor;
  border-radius: 999px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--pb-hamburger-duration) var(--pb-hamburger-ease), opacity var(--pb-hamburger-duration) var(--pb-hamburger-ease);
}
.c-hamburger span:nth-child(1) {
  transform: translateY(calc(-50% - 8px));
}
.c-hamburger span:nth-child(2) {
  transform: translateY(-50%);
}
.c-hamburger span:nth-child(3) {
  transform: translateY(calc(-50% + 8px));
}

.c-hamburger[aria-expanded=true] span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}
.c-hamburger[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0.2);
}
.c-hamburger[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

.c-hamburger:hover,
.c-hamburger:active {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  transform: none;
}

body.is-drawer-lock .c-hamburger span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}
body.is-drawer-lock .c-hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0.2);
}
body.is-drawer-lock .c-hamburger span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

body.is-drawer-lock .c-hamburger {
  color: #002136;
}

body.is-drawer-lock {
  overflow: hidden;
}

.c-drawer {
  /* JSが読む */
  --pb-drawer-duration: 420ms;
  --pb-drawer-ease: cubic-bezier(0.55, 0, 1, 1); /* ゆっくり→速い */
  --pb-drawer-items-delay: 120ms;
  --pb-drawer-stagger: 90ms;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.c-drawer[hidden] {
  display: none !important;
}

.c-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity var(--pb-drawer-duration) var(--pb-drawer-ease);
}

.c-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100%;
  background: #FFFFFF;
  box-shadow: -12px 0 28px rgba(0, 0, 0, 0.25);
  transform: translateX(12%);
  opacity: 0;
  transition: transform var(--pb-drawer-duration) var(--pb-drawer-ease), opacity var(--pb-drawer-duration) var(--pb-drawer-ease);
  /* ×(固定ボタン)の下からメニューが始まる */
  padding: calc(var(--pb-header-h, 64px) + 12px) 16px 16px;
  overflow: auto;
}

/* open */
.c-drawer.is-drawer-panel-open .c-drawer__backdrop {
  opacity: 1;
}
.c-drawer.is-drawer-panel-open .c-drawer__panel {
  transform: translateX(0);
  opacity: 1;
}

/* colose */
.c-drawer__close {
  display: none;
}

/* =========================
   ★ここが今回の修正ポイント
   メニュー（ul）を「内容幅」にして、
   nav側で左右中央に配置する
   ========================= */
/* nav（メニュー全体）を中央寄せの土台に */
.c-drawer .l-global-nav--drawer {
  display: flex;
  justify-content: center; /* ulをパネル中央へ */
}

/* ul自体を “縮む” 形にする（=中央寄せが効く） */
.c-drawer .l-global-nav--drawer .c-global-nav__list {
  display: inline-grid; /* ★ここ重要：内容幅になる */
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  /* テキストも中央寄せ（好みで left にしてもOK） */
  text-align: center;
}

/* a の見た目（Drawer内は下線なし） */
.c-drawer .l-global-nav--drawer .c-global-nav__list a {
  display: inline-block;
  text-decoration: none;
}

/* PCナビ用の下線（::after）が当たってしまう場合の保険 */
.c-drawer .l-global-nav--drawer .c-global-nav__list a::after {
  display: none !important;
  content: none !important;
}

/* ここが “パネル後に上から順表示＋フェード” */
@keyframes pb-drawer-item-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.c-drawer .l-global-nav--drawer .c-global-nav__list > li {
  opacity: 0;
  transform: translateY(-10px);
  will-change: transform, opacity;
}

.c-drawer.is-drawer-panel-open .l-global-nav--drawer .c-global-nav__list > li {
  animation: pb-drawer-item-in 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--pb-drawer-item-delay, 0ms);
}

.c-articlePdf {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(174, 185, 194, 0.55);
}

.c-articlePdf__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 33, 54, 0.45);
  color: #002136;
  text-decoration: none;
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.c-articlePdf__btn:hover {
  color: #F2C94C;
  border-color: rgba(242, 201, 76, 0.6);
  background-color: rgba(242, 201, 76, 0.06);
}

/* =======================================
   p-hero（背景スライダー）
======================================= */
.p-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

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

.p-hero__slides {
  position: absolute;
  inset: 0;
}

.p-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
}

.p-hero__slide.is-active {
  opacity: 1;
}

.p-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 4000ms linear;
  will-change: transform;
}

.p-hero__slide.is-active .p-hero__img {
  transform: scale(1);
}

/* 色味：被せ（テキストより下） */
.p-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 30, 45, 0.35) 0%, rgba(10, 30, 45, 0.45) 55%, rgba(10, 30, 45, 0.65) 100%);
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .p-hero__slide {
    transition: none;
  }
  .p-hero__img {
    transition: none;
    transform: none;
  }
}
/* 高さが短い環境（任意） */
@media (max-height: 650px) {
  .p-hero {
    min-height: 680px;
  }
}
/* =======================================
   p-heroTop（カンプ側の文字・CTA配置）
======================================= */
.p-heroTop__inner {
  position: relative;
  z-index: 2;
  /* ヒーロー領域の高さを確保（ヘッダー分を引く） */
  min-height: calc(100svh - var(--pb-header-h, 0px));
  /* 上は最低限だけ（ヘッダー被り回避） */
  padding-top: calc(var(--pb-header-h, 0px) + clamp(20px, 3vh, 60px));
  /* ★下基準の肝：ヒーロー下からの余白（普段は200px、低い画面では縮む） */
  --pb-hero-bottom-gap: clamp(40px, 10vh, 200px);
  padding-bottom: var(--pb-hero-bottom-gap);
  /* 横の余白は今のままでOK（超ワイド対策） */
  padding-inline: clamp(32px, 5vw, 140px);
  /* ★PCでCTAを「少し上」に持ち上げる量（画面に応じて可変） */
  --pb-hero-cta-lift: clamp(16px, 3.2vh, 64px);
  /* 中身を下へ押し付けられるように縦レイアウトにする */
  display: flex;
  flex-direction: column;
}

.p-heroTop__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(18px, 2vw, 44px);
  /* ★PCは「下揃え」＝Aのボトム基準が安定する */
  align-items: end;
  /* ★これで赤枠全体がヒーロー下へ“押し付け”される */
  margin-top: auto;
}

/* 左：テキストブロック */
.p-heroTop__left {
  min-width: 0;
}

.p-heroTop__label {
  display: inline-block;
  padding: clamp(6px, 0.6vw, 12px) clamp(10px, 1vw, 18px);
  border-radius: 2px;
  background: rgba(10, 30, 45, 0.85);
  color: #fff;
  /* ★スケール */
  font-size: clamp(14px, 0.9vw, 22px);
  letter-spacing: 0.02em;
}

.p-heroTop__brand {
  margin-top: 18px;
  color: #fff;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: clamp(34px, 4vw, 52px);
}

.p-heroTop__catch {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-heroTop__catchLine {
  display: inline-block;
  width: fit-content;
  padding: clamp(2px, 0.2vw, 5px) clamp(9px, 0.8vw, 17px);
  border-radius: 6px;
  background: rgba(10, 30, 45, 0.85);
  color: #fff;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  /* ★ここが「行間がズレる」原因だったので撤去（gapで揃える） */
  margin: 0;
  /* ★スケール（ここが「1.5〜2倍感」の主役） */
  font-size: clamp(26px, 2.2vw, 56px);
  line-height: 1.25;
}

.p-heroTop__sub {
  margin-top: clamp(14px, 1.2vw, 26px);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  /* ★スケール */
  font-size: clamp(26px, 2vw, 56px);
}

.p-heroTop__pills {
  margin-top: clamp(18px, 1.8vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 18px);
}

.p-heroTop__pill {
  display: inline-flex;
  align-items: center;
  padding: clamp(12px, 1vw, 18px) clamp(18px, 1.4vw, 28px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 30, 45, 0.25);
  line-height: 1.2;
  white-space: nowrap;
  /* ★スケール */
  font-size: clamp(18px, 1.2vw, 24px);
}

/* 右：CTA */
.p-heroTop__cta {
  display: grid;
  gap: clamp(14px, 1.4vw, 26px);
  justify-items: end;
  /* ★Aのボトム付近に来るように「下揃え」+「持ち上げ」 */
  align-self: end;
  transform: translateY(calc(-1 * var(--pb-hero-cta-lift)));
}

.p-heroTop__cta .c-button {
  /* ★横幅も“でかく” */
  min-width: clamp(260px, 18vw, 520px);
  /* ★高さ・余白も“でかく” */
  padding: clamp(14px, 1.1vw, 24px) clamp(18px, 1.3vw, 28px);
  border-radius: 6px;
  font-weight: 700;
  /* ★文字も“でかく” */
  font-size: clamp(16px, 1vw, 22px);
}

/* レスポンシブ：右CTAを下へ */
@media (max-width: 960px) {
  .p-heroTop__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: start;
    /* ボトム揃え・持ち上げが不要なので戻す */
    align-items: start;
  }
  .p-heroTop__cta {
    justify-items: start;
    transform: none;
  }
  .p-heroTop__cta .c-button {
    min-width: 220px;
  }
}
@media (max-width: 560px) {
  .p-heroTop__pills {
    gap: 10px;
  }
  .p-heroTop__pill {
    white-space: normal;
    line-height: 1.35;
  }
}
/* =======================================
   A案：スマホ時ヒーロー体裁（< md）
   ・キャッチは3段、濃紺の帯は消す
   ・「現場知×専門知×判断軸」は中央
   ・3つのピルはスマホ非表示
   ・薄い紺の背景パネルは左右フルブリード
======================================= */
@media (max-width: 767px) {
  .p-hero {
    min-height: 640px;
  }
  .p-heroTop__inner {
    /* ④ パネルを左右フル幅にしたいので、外側の左右paddingは0 */
    padding-inline: 0;
    padding-top: calc(var(--pb-header-h, 0px) + 14px);
    --pb-hero-bottom-gap: clamp(18px, 6vh, 48px);
    padding-bottom: var(--pb-hero-bottom-gap);
  }
  .p-heroTop__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    /* ④ 薄い紺パネルを左右フルブリード */
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    /* 中身の余白はここで確保 */
    padding: 18px 16px 16px;
  }
  .p-heroTop__catch {
    margin-top: 0;
    gap: 8px;
  }
  /* ① キャッチの濃い紺色を消して、3段を同じ行間で統一 */
  .p-heroTop__catchLine {
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.25;
    letter-spacing: 0.01em;
    /* gapで揃えるので余白はゼロに固定 */
    margin: 0;
    /* 背景帯を消すので可読性だけ確保 */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }
  /* ② サブコピーは中央に */
  .p-heroTop__sub {
    margin-top: 12px;
    text-align: center;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    font-size: clamp(18px, 5.6vw, 26px);
    letter-spacing: 0.03em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    /* パネルはそのまま（左右いっぱいにするので角は消す） */
    border-radius: 0;
    background: rgba(10, 30, 45, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  /* ③ ピルはスマホ非表示 */
  .p-heroTop__pills {
    display: none;
  }
  /* CTA：スマホは全幅ボタン */
  .p-heroTop__cta {
    margin-top: 10px;
    justify-items: stretch;
    gap: 10px;
    transform: none;
  }
  .p-heroTop__cta .c-button {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    font-size: clamp(15px, 4.6vw, 18px);
    border-radius: 10px;
  }
}
.p-heroTop__catch2A,
.p-heroTop__catch2B {
  display: inline;
}

@media (max-width: 767px) {
  .p-heroTop__catch2B {
    display: block;
  }
}
.javascript-textdemo {
  display: flex;
  flex-direction: column;
}
.javascript-textdemo h3 {
  margin: 0 !important;
  padding: 0 !important;
}

/* ==================================================
   Contact Form 7 / Contact page
   ================================================== */
/* フォーム全体 */
.c-form {
  margin-top: 2rem;
}

/* 1行 */
.c-form__row {
  padding: 1.5rem 0;
  border-top: 1px solid #E5EBEE;
}
.c-form__row:first-child {
  border-top: 0;
  padding-top: 0;
}
@media (min-width: 768px) {
  .c-form__row {
    display: grid;
    grid-template-columns: 240px 1fr;
    column-gap: 2rem;
    align-items: start;
    padding: 2rem 0;
  }
}

/* ラベル側 */
.c-form__label {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #002136;
  font-weight: 500;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.c-form__label label {
  cursor: pointer;
}

/* 必須バッジ */
.c-form__req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  height: 22px;
  border-radius: 9999px;
  background: #002136;
  color: #FFFFFF;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
}

/* 入力側 */
.c-form__field {
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .c-form__field {
    margin-top: 0;
  }
}

/* 入力コントロール共通 */
.c-form__control {
  width: 100%;
  display: block;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid #E5EBEE;
  border-radius: 8px;
  background: #FFFFFF;
  color: #4A4A4A;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
}
.c-form__control::placeholder {
  color: #6E7A84;
  opacity: 0.7;
}
.c-form__control:focus {
  outline: none;
  border-color: #3A7FA0;
  box-shadow: 0 0 0 3px rgba(58, 127, 160, 0.18);
  background: #FFFFFF;
}

/* textareaだけ調整 */
textarea.c-form__control {
  padding: 1rem;
  min-height: 200px;
  resize: vertical;
}

/* selectの見た目（最低限） */
select.c-form__control {
  padding-right: 2.5rem; /* ▼のスペース */
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6E7A84 50%), linear-gradient(135deg, #6E7A84 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* 補足文 */
.c-form__help {
  margin-top: 0.75rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
}

/* アクション（送信ボタン） */
.c-form__actions {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .c-form__actions {
    justify-content: flex-end;
  }
}
.c-form__actions .wpcf7-submit {
  min-height: 52px;
  padding: 0 3rem;
  border: 0;
  border-radius: 9999px;
  background: #002136 !important;
  color: #FFFFFF;
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out, box-shadow 0.15s ease-out;
}
.c-form__actions .wpcf7-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}
.c-form__actions .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

/* CF7 バリデーション */
.wpcf7-not-valid-tip {
  margin-top: 0.5rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #dc2626;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16);
}

/* 送信結果メッセージ */
.wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  line-height: 1.6;
}

/* 成功・失敗で見た目を寄せる（CF7のclassに依存） */
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.08);
  color: #4A4A4A;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.08);
  color: #4A4A4A;
}

/* 送信中のスピナー（CF7） */
.wpcf7-spinner {
  margin-left: 0.75rem;
}

/* ==================================================
   Contact Form 7 / Contact page - Tuning
   ================================================== */
/* 1) フォントサイズを少し大きく */
.c-form__label {
  font-size: clamp(1rem, 1vw, 1.125rem); /* sm→md */
  gap: 0.75rem; /* 必須との距離を広げる */
}

/* 必須バッジも少しだけ大きく見せる */
.c-form__req {
  height: 24px; /* 22→24 */
  padding: 0 0.75rem; /* 横余白を増やす */
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
}

/* 2) 各行の“区切りライン領域”を詰める */
.c-form__row {
  padding: 1rem 0; /* 24px→16px相当に */
}
@media (min-width: 768px) {
  .c-form__row {
    padding: 1.5rem 0; /* 48→24相当に */
    align-items: center; /* textarea以外は上下中央 */
  }
}

/* textarea行だけは上寄せ */
@media (min-width: 768px) {
  .c-form__row--textarea {
    align-items: start;
  }
}

/* 3) 入力欄の“枠がない”問題の保険：未適用でも最低限見えるように */
.wpcf7-form-control:not(.c-form__control) {
  border: 1px solid #E5EBEE;
  border-radius: 8px;
  background: #FFFFFF;
}

/* 4) 入力欄をもう少し“見える”ように（薄すぎる場合） */
.c-form__control {
  border-color: #AEB9C2; /* secondary-aより少し存在感 */
}

/* 5) 送信ボタンを左右中央に */
.c-form__actions {
  justify-content: center; /* 常に中央 */
}
@media (min-width: 768px) {
  .c-form__actions {
    justify-content: center; /* md以上も中央 */
  }
}

/* textareaの高さは今のまま（必要なら調整） */
textarea.c-form__control {
  min-height: 220px;
}

input[type=text], input[type=email], input[type=url], input[type=tel], input[type=password], input[type=search], input[type=number], textarea, select {
  border: 1px solid #6E7A84;
}

select.c-form__control {
  border: 1px solid #6E7A84;
}

[data-text-effect] {
  --pb-text-delay: 0ms;
  --pb-text-duration: 600ms;
  --pb-text-stagger: 24ms;
  position: relative;
}

[data-text-effect] .pb-char,
[data-text-effect] .pb-word {
  display: inline-block;
  will-change: transform, opacity, filter, clip-path;
  transition-property: transform, opacity, filter, clip-path;
  transition-duration: var(--pb-text-duration);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--pb-text-delay) + var(--i, 0) * var(--pb-text-stagger));
}

/* ======================================================
  20 Effects（data-text-effect="..."）
====================================================== */
/* 01: fade-up */
[data-text-effect].text-fade-up.is-text-ready .pb-char,
[data-text-effect].text-fade-up.is-text-ready .pb-word {
  opacity: 0;
  transform: translate3d(0, 0.65em, 0);
  filter: blur(2px);
}

[data-text-effect].text-fade-up.is-text-in .pb-char,
[data-text-effect].text-fade-up.is-text-in .pb-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* 02: fade */
[data-text-effect].text-fade.is-text-ready .pb-char,
[data-text-effect].text-fade.is-text-ready .pb-word {
  opacity: 0;
}

[data-text-effect].text-fade.is-text-in .pb-char,
[data-text-effect].text-fade.is-text-in .pb-word {
  opacity: 1;
}

/* 03: slide-left */
[data-text-effect].text-slide-left.is-text-ready .pb-char,
[data-text-effect].text-slide-left.is-text-ready .pb-word {
  opacity: 0;
  transform: translate3d(0.8em, 0, 0);
}

[data-text-effect].text-slide-left.is-text-in .pb-char,
[data-text-effect].text-slide-left.is-text-in .pb-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 04: slide-right */
[data-text-effect].text-slide-right.is-text-ready .pb-char,
[data-text-effect].text-slide-right.is-text-ready .pb-word {
  opacity: 0;
  transform: translate3d(-0.8em, 0, 0);
}

[data-text-effect].text-slide-right.is-text-in .pb-char,
[data-text-effect].text-slide-right.is-text-in .pb-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 05: slide-down */
[data-text-effect].text-slide-down.is-text-ready .pb-char,
[data-text-effect].text-slide-down.is-text-ready .pb-word {
  opacity: 0;
  transform: translate3d(0, -0.6em, 0);
}

[data-text-effect].text-slide-down.is-text-in .pb-char,
[data-text-effect].text-slide-down.is-text-in .pb-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 06: zoom-in */
[data-text-effect].text-zoom-in.is-text-ready .pb-char,
[data-text-effect].text-zoom-in.is-text-ready .pb-word {
  opacity: 0;
  transform: scale(0.92);
}

[data-text-effect].text-zoom-in.is-text-in .pb-char,
[data-text-effect].text-zoom-in.is-text-in .pb-word {
  opacity: 1;
  transform: scale(1);
}

/* 07: zoom-out */
[data-text-effect].text-zoom-out.is-text-ready .pb-char,
[data-text-effect].text-zoom-out.is-text-ready .pb-word {
  opacity: 0;
  transform: scale(1.08);
}

[data-text-effect].text-zoom-out.is-text-in .pb-char,
[data-text-effect].text-zoom-out.is-text-in .pb-word {
  opacity: 1;
  transform: scale(1);
}

/* 08: blur */
[data-text-effect].text-blur.is-text-ready .pb-char,
[data-text-effect].text-blur.is-text-ready .pb-word {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 0.25em, 0);
}

[data-text-effect].text-blur.is-text-in .pb-char,
[data-text-effect].text-blur.is-text-in .pb-word {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

/* 09: rotate */
[data-text-effect].text-rotate.is-text-ready .pb-char,
[data-text-effect].text-rotate.is-text-ready .pb-word {
  opacity: 0;
  transform: rotate(-6deg) translate3d(0, 0.35em, 0);
  transform-origin: 50% 80%;
}

[data-text-effect].text-rotate.is-text-in .pb-char,
[data-text-effect].text-rotate.is-text-in .pb-word {
  opacity: 1;
  transform: rotate(0) translate3d(0, 0, 0);
}

/* 10: flip */
[data-text-effect].text-flip.is-text-ready .pb-char,
[data-text-effect].text-flip.is-text-ready .pb-word {
  opacity: 0;
  transform: perspective(800px) rotateX(65deg);
  transform-origin: 50% 100%;
}

[data-text-effect].text-flip.is-text-in .pb-char,
[data-text-effect].text-flip.is-text-in .pb-word {
  opacity: 1;
  transform: perspective(800px) rotateX(0);
}

/* 11: skew */
[data-text-effect].text-skew.is-text-ready .pb-char,
[data-text-effect].text-skew.is-text-ready .pb-word {
  opacity: 0;
  transform: skewY(10deg) translate3d(0, 0.35em, 0);
}

[data-text-effect].text-skew.is-text-in .pb-char,
[data-text-effect].text-skew.is-text-in .pb-word {
  opacity: 1;
  transform: skewY(0) translate3d(0, 0, 0);
}

/* 12: clip-up */
[data-text-effect].text-clip-up.is-text-ready .pb-char,
[data-text-effect].text-clip-up.is-text-ready .pb-word {
  opacity: 1;
  clip-path: inset(100% 0 0 0);
}

[data-text-effect].text-clip-up.is-text-in .pb-char,
[data-text-effect].text-clip-up.is-text-in .pb-word {
  clip-path: inset(0 0 0 0);
}

/* 13: clip-left */
[data-text-effect].text-clip-left.is-text-ready .pb-char,
[data-text-effect].text-clip-left.is-text-ready .pb-word {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
}

[data-text-effect].text-clip-left.is-text-in .pb-char,
[data-text-effect].text-clip-left.is-text-in .pb-word {
  clip-path: inset(0 0 0 0);
}

/* 14: tracking（コンテナ演出） */
[data-text-effect].text-tracking.is-text-ready {
  opacity: 0;
  letter-spacing: 0.18em;
  transform: translate3d(0, 0.35em, 0);
  transition: letter-spacing var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1), opacity var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1), transform var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--pb-text-delay);
}

[data-text-effect].text-tracking.is-text-in {
  opacity: 1;
  letter-spacing: 0;
  transform: translate3d(0, 0, 0);
}

/* 15: underline（コンテナ演出） */
[data-text-effect].text-underline {
  display: inline-block;
  padding-bottom: 0.12em;
}

[data-text-effect].text-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--pb-text-delay);
}

[data-text-effect].text-underline.is-text-in::after {
  transform: scaleX(1);
}

/* 16: marker（コンテナ演出） */
[data-text-effect].text-marker {
  display: inline-block;
  background-image: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.14) 60%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  transition: background-size var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--pb-text-delay);
}

[data-text-effect].text-marker.is-text-in {
  background-size: 100% 100%;
}

/* 17: wave（短いアニメ） */
@keyframes pbWaveIn {
  0% {
    transform: translate3d(0, 0.45em, 0);
    opacity: 0;
  }
  60% {
    transform: translate3d(0, -0.1em, 0);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
[data-text-effect].text-wave .pb-char,
[data-text-effect].text-wave .pb-word {
  transition: none;
}

[data-text-effect].text-wave.is-text-ready .pb-char,
[data-text-effect].text-wave.is-text-ready .pb-word {
  opacity: 0;
}

[data-text-effect].text-wave.is-text-in .pb-char,
[data-text-effect].text-wave.is-text-in .pb-word {
  animation: pbWaveIn var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--pb-text-delay) + var(--i, 0) * var(--pb-text-stagger));
}

/* 18: bounce（短いアニメ） */
@keyframes pbBounceIn {
  0% {
    transform: translate3d(0, 0.8em, 0);
    opacity: 0;
  }
  70% {
    transform: translate3d(0, -0.08em, 0);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
[data-text-effect].text-bounce .pb-char,
[data-text-effect].text-bounce .pb-word {
  transition: none;
}

[data-text-effect].text-bounce.is-text-ready .pb-char,
[data-text-effect].text-bounce.is-text-ready .pb-word {
  opacity: 0;
}

[data-text-effect].text-bounce.is-text-in .pb-char,
[data-text-effect].text-bounce.is-text-in .pb-word {
  animation: pbBounceIn var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--pb-text-delay) + var(--i, 0) * var(--pb-text-stagger));
}

/* 19: glitch（コンテナ演出） */
@keyframes pbGlitch {
  0% {
    text-shadow: 0 0 0 transparent;
  }
  30% {
    text-shadow: 2px 0 0 rgba(0, 0, 0, 0.35), -2px 0 0 rgba(0, 0, 0, 0.2);
  }
  60% {
    text-shadow: -1px 0 0 rgba(0, 0, 0, 0.35), 1px 0 0 rgba(0, 0, 0, 0.2);
  }
  100% {
    text-shadow: 0 0 0 transparent;
  }
}
[data-text-effect].text-glitch.is-text-ready {
  opacity: 0;
  transform: translate3d(0, 0.35em, 0);
  transition: opacity var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1), transform var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--pb-text-delay);
}

[data-text-effect].text-glitch.is-text-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: pbGlitch 380ms linear 1;
  animation-delay: calc(var(--pb-text-delay) + 120ms);
}

/* 20: shine（コンテナ演出） */
@keyframes pbShine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
[data-text-effect].text-shine {
  display: inline-block;
  background-image: linear-gradient(90deg, currentColor 0%, currentColor 40%, rgba(255, 255, 255, 0.9) 50%, currentColor 60%, currentColor 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-text-effect].text-shine.is-text-ready {
  opacity: 0;
  transform: translate3d(0, 0.35em, 0);
  transition: opacity var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1), transform var(--pb-text-duration) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--pb-text-delay);
}

[data-text-effect].text-shine.is-text-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: pbShine 900ms ease-out 1;
  animation-delay: calc(var(--pb-text-delay) + 100ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-text-effect] .pb-char,
  [data-text-effect] .pb-word {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
  [data-text-effect].text-tracking,
  [data-text-effect].text-glitch,
  [data-text-effect].text-shine {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    letter-spacing: 0 !important;
    background-size: 100% 100% !important;
  }
}
[data-typewriter] {
  visibility: hidden !important;
}

[data-typewriter].is-typewriter-pending {
  visibility: hidden !important;
}

[data-typewriter].is-typewriter-running,
[data-typewriter].is-typewriter-done {
  visibility: visible !important;
}

/* =======================================
   p-hero（背景スライダー）
======================================= */
.p-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

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

.p-hero__slides {
  position: absolute;
  inset: 0;
}

.p-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
}

.p-hero__slide.is-active {
  opacity: 1;
}

.p-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 4000ms linear;
  will-change: transform;
}

.p-hero__slide.is-active .p-hero__img {
  transform: scale(1);
}

/* 色味：被せ（テキストより下） */
.p-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 30, 45, 0.35) 0%, rgba(10, 30, 45, 0.45) 55%, rgba(10, 30, 45, 0.65) 100%);
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .p-hero__slide {
    transition: none;
  }
  .p-hero__img {
    transition: none;
    transform: none;
  }
}
/* 高さが短い環境（任意） */
@media (max-height: 650px) {
  .p-hero {
    min-height: 680px;
  }
}
/* =======================================
   p-heroTop（カンプ側の文字・CTA配置）
======================================= */
.p-heroTop__inner {
  position: relative;
  z-index: 2;
  /* ヒーロー領域の高さを確保（ヘッダー分を引く） */
  min-height: calc(100svh - var(--pb-header-h, 0px));
  /* 上は最低限だけ（ヘッダー被り回避） */
  padding-top: calc(var(--pb-header-h, 0px) + clamp(20px, 3vh, 60px));
  /* ★下基準の肝：ヒーロー下からの余白（普段は200px、低い画面では縮む） */
  --pb-hero-bottom-gap: clamp(40px, 10vh, 200px);
  padding-bottom: var(--pb-hero-bottom-gap);
  /* 横の余白は今のままでOK（超ワイド対策） */
  padding-inline: clamp(32px, 5vw, 140px);
  /* ★PCでCTAを「少し上」に持ち上げる量（画面に応じて可変） */
  --pb-hero-cta-lift: clamp(16px, 3.2vh, 64px);
  /* 中身を下へ押し付けられるように縦レイアウトにする */
  display: flex;
  flex-direction: column;
}

.p-heroTop__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(18px, 2vw, 44px);
  /* ★PCは「下揃え」＝Aのボトム基準が安定する */
  align-items: end;
  /* ★これで赤枠全体がヒーロー下へ“押し付け”される */
  margin-top: auto;
}

/* 左：テキストブロック */
.p-heroTop__left {
  min-width: 0;
}

.p-heroTop__label {
  display: inline-block;
  padding: clamp(6px, 0.6vw, 12px) clamp(10px, 1vw, 18px);
  border-radius: 2px;
  background: rgba(10, 30, 45, 0.85);
  color: #fff;
  /* ★スケール */
  font-size: clamp(14px, 0.9vw, 22px);
  letter-spacing: 0.02em;
}

.p-heroTop__brand {
  margin-top: 18px;
  color: #fff;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: clamp(34px, 4vw, 52px);
}

.p-heroTop__catch {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-heroTop__catchLine {
  display: inline-block;
  width: fit-content;
  padding: clamp(2px, 0.2vw, 5px) clamp(9px, 0.8vw, 17px);
  border-radius: 6px;
  background: rgba(10, 30, 45, 0.85);
  color: #fff;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  /* ★ここが「行間がズレる」原因だったので撤去（gapで揃える） */
  margin: 0;
  /* ★スケール（ここが「1.5〜2倍感」の主役） */
  font-size: clamp(26px, 2.2vw, 56px);
  line-height: 1.25;
}

.p-heroTop__sub {
  margin-top: clamp(14px, 1.2vw, 26px);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  /* ★スケール */
  font-size: clamp(26px, 2vw, 56px);
}

.p-heroTop__pills {
  margin-top: clamp(18px, 1.8vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 18px);
}

.p-heroTop__pill {
  display: inline-flex;
  align-items: center;
  padding: clamp(12px, 1vw, 18px) clamp(18px, 1.4vw, 28px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 30, 45, 0.25);
  line-height: 1.2;
  white-space: nowrap;
  /* ★スケール */
  font-size: clamp(18px, 1.2vw, 24px);
}

/* 右：CTA */
.p-heroTop__cta {
  display: grid;
  gap: clamp(14px, 1.4vw, 26px);
  justify-items: end;
  /* ★Aのボトム付近に来るように「下揃え」+「持ち上げ」 */
  align-self: end;
  transform: translateY(calc(-1 * var(--pb-hero-cta-lift)));
}

.p-heroTop__cta .c-button {
  /* ★横幅も“でかく” */
  min-width: clamp(260px, 18vw, 520px);
  /* ★高さ・余白も“でかく” */
  padding: clamp(14px, 1.1vw, 24px) clamp(18px, 1.3vw, 28px);
  border-radius: 6px;
  font-weight: 700;
  /* ★文字も“でかく” */
  font-size: clamp(16px, 1vw, 22px);
}

/* レスポンシブ：右CTAを下へ */
@media (max-width: 960px) {
  .p-heroTop__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: start;
    /* ボトム揃え・持ち上げが不要なので戻す */
    align-items: start;
  }
  .p-heroTop__cta {
    justify-items: start;
    transform: none;
  }
  .p-heroTop__cta .c-button {
    min-width: 220px;
  }
}
@media (max-width: 560px) {
  .p-heroTop__pills {
    gap: 10px;
  }
  .p-heroTop__pill {
    white-space: normal;
    line-height: 1.35;
  }
}
/* =======================================
   A案：スマホ時ヒーロー体裁（< md）
   ・キャッチは3段、濃紺の帯は消す
   ・「現場知×専門知×判断軸」は中央
   ・3つのピルはスマホ非表示
   ・薄い紺の背景パネルは左右フルブリード
======================================= */
@media (max-width: 767px) {
  .p-hero {
    min-height: 640px;
  }
  .p-heroTop__inner {
    /* ④ パネルを左右フル幅にしたいので、外側の左右paddingは0 */
    padding-inline: 0;
    padding-top: calc(var(--pb-header-h, 0px) + 14px);
    --pb-hero-bottom-gap: clamp(18px, 6vh, 48px);
    padding-bottom: var(--pb-hero-bottom-gap);
  }
  .p-heroTop__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    /* ④ 薄い紺パネルを左右フルブリード */
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    /* 中身の余白はここで確保 */
    padding: 18px 16px 16px;
  }
  .p-heroTop__catch {
    margin-top: 0;
    gap: 8px;
  }
  /* ① キャッチの濃い紺色を消して、3段を同じ行間で統一 */
  .p-heroTop__catchLine {
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.25;
    letter-spacing: 0.01em;
    /* gapで揃えるので余白はゼロに固定 */
    margin: 0;
    /* 背景帯を消すので可読性だけ確保 */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }
  /* ② サブコピーは中央に */
  .p-heroTop__sub {
    margin-top: 12px;
    text-align: center;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    font-size: clamp(18px, 5.6vw, 26px);
    letter-spacing: 0.03em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    /* パネルはそのまま（左右いっぱいにするので角は消す） */
    border-radius: 0;
    background: rgba(10, 30, 45, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  /* ③ ピルはスマホ非表示 */
  .p-heroTop__pills {
    display: none;
  }
  /* CTA：スマホは全幅ボタン */
  .p-heroTop__cta {
    margin-top: 10px;
    justify-items: stretch;
    gap: 10px;
    transform: none;
  }
  .p-heroTop__cta .c-button {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    font-size: clamp(15px, 4.6vw, 18px);
    border-radius: 10px;
  }
}
.p-heroTop__catch2A,
.p-heroTop__catch2B {
  display: inline;
}

@media (max-width: 767px) {
  .p-heroTop__catch2B {
    display: block;
  }
}
.javascript-textdemo {
  display: flex;
  flex-direction: column;
}
.javascript-textdemo h3 {
  margin: 0 !important;
  padding: 0 !important;
}

/* =======================================
   p-pillars（トップ第2セクション）
======================================= */
.p-pillars {
  position: relative;
  padding: clamp(56px, 7vw, 120px) 0;
  background: #fff;
  overflow: hidden;
}

/* 背景の斜めの淡い帯（カンプの雰囲気） */
.p-pillars::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(110deg, rgba(176, 203, 217, 0.25) 0%, rgba(176, 203, 217, 0.25) 38%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.p-pillars .l-container {
  position: relative;
  z-index: 1;
}

.p-pillars__head {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 54px);
}

.p-pillars__title {
  margin: 0;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #002136;
  font-size: clamp(26px, 2.2vw, 40px);
  line-height: 1.25;
}

.p-pillars__sub {
  margin: 10px 0 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(10, 30, 45, 0.62);
  font-size: clamp(13px, 1vw, 16px);
}

/* グリッド */
.p-pillars__grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 36px);
  grid-template-columns: 1fr;
  max-width: 1120px;
  margin-inline: auto;
  /* 「タブレットも3列」方針 */
}
@media (min-width: 768px) {
  .p-pillars__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* カード */
.p-pillarsCard {
  --card-radius: 14px;
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  /* Staggerのtransformと競合しにくいように */
  will-change: transform, opacity;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

/* 画像（上段） */
.p-pillarsCard__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.p-pillarsCard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タイトル帯（白） */
.p-pillarsCard__body {
  position: relative;
  background: #fff;
  padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px);
  text-align: center;
  min-height: 82px;
  display: grid;
  place-items: center;
}

/* 吹き出しの▼ */
.p-pillarsCard__body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #fff;
}

.p-pillarsCard__title {
  margin: 0;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #002136;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
}

/* 下段：濃紺＋うっすら画像 */
.p-pillarsCard__foot {
  position: relative;
  padding: clamp(18px, 1.8vw, 26px);
  color: rgba(255, 255, 255, 0.92);
  background: #002136;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: center;
}

/* 画像を薄く敷く（PHPから渡した --pb-card-bg を使用） */
.p-pillarsCard__foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pb-card-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.05);
  filter: blur(0.5px);
}

/* 濃紺のグラデで締める（高級感） */
.p-pillarsCard__foot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 30, 45, 0.45) 0%, rgba(10, 30, 45, 0.7) 55%, rgba(10, 30, 45, 0.86) 100%);
}

.p-pillarsCard__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0.015em;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.85;
}

/* ホバー（PCだけ上品に） */
@media (hover: hover) and (pointer: fine) {
  .p-pillarsCard {
    transition: transform 420ms ease, box-shadow 420ms ease;
  }
  .p-pillarsCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
  }
  .p-pillarsCard__img {
    transition: transform 700ms ease;
  }
  .p-pillarsCard:hover .p-pillarsCard__img {
    transform: scale(1.03);
  }
}
/* =======================================
   p-pillars：質感の最終調整
======================================= */
/* 斜め帯を“薄く・上品に” */
.p-pillars::before {
  inset: -26% -12%;
  background: linear-gradient(112deg, rgba(176, 203, 217, 0.22) 0%, rgba(176, 203, 217, 0.22) 40%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);
}

/* 角丸と影を少しだけ“締める” */
.p-pillarsCard {
  --card-radius: 12px; /* 14→12で少し硬派に */
  box-shadow: 0 14px 34px rgba(10, 30, 45, 0.12);
}

/* 画像の角丸がボディと完全一致するように */
.p-pillarsCard__media {
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

/* タイトル帯の“白”をほんの少し柔らかく（真っ白すぎるとチープに見えやすい） */
.p-pillarsCard__body {
  background: rgba(255, 255, 255, 0.98);
}

/* ▼をほんの少し細く見せる（エッジの繊細さ） */
.p-pillarsCard__body::after {
  border-left-width: 8px;
  border-right-width: 8px;
  border-top-width: 8px;
  bottom: -8px;
}

/* 下段のオーバーレイを“上品に統一” */
.p-pillarsCard__foot::before {
  opacity: 0.18; /* 0.22→0.18 */
  filter: blur(0.8px);
}

.p-pillarsCard__foot::after {
  background: linear-gradient(to bottom, rgba(10, 30, 45, 0.42) 0%, rgba(10, 30, 45, 0.72) 55%, rgba(10, 30, 45, 0.9) 100%);
}

/* ホバー：動きを控えめに（高級感寄せ） */
@media (hover: hover) and (pointer: fine) {
  .p-pillarsCard {
    transition: transform 420ms ease, box-shadow 420ms ease, filter 420ms ease;
  }
  .p-pillarsCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(10, 30, 45, 0.16);
  }
  .p-pillarsCard__img {
    transition: transform 900ms ease;
  }
  .p-pillarsCard:hover .p-pillarsCard__img {
    transform: scale(1.02);
  }
}
/* モーション配慮（stagger含め） */
@media (prefers-reduced-motion: reduce) {
  .p-pillarsCard,
  .p-pillarsCard__img {
    transition: none !important;
  }
}
/* =======================================
   p-pillars：SP余白をしっかり確保（体感2倍）
======================================= */
@media (max-width: 767px) {
  /* セクション上下：まずここを大きく取る */
  .p-pillars {
    padding: 104px 0; /* 72 → 104 */
  }
  /* タイトル周り：見出しブロック自体を“独立”させる */
  .p-pillars__head {
    margin-bottom: 64px; /* 34 → 64 */
  }
  .p-pillars__title {
    line-height: 1.25;
    margin-bottom: 16px; /* 10 → 16 */
  }
  /* カード間：ここが体感に効く */
  .p-pillars__grid {
    gap: 52px; /* 22 → 44 */
    max-width: 520px;
    margin-inline: auto;
  }
  /* 1枚のカード内も、少し呼吸させる（見え方が上品になる） */
  .p-pillarsCard__body {
    padding: 24px 18px; /* 18/16 → 24/18 */
    min-height: 104px; /* 88 → 104 */
  }
  .p-pillarsCard__foot {
    padding: 30px 22px; /* 22/18 → 30/22 */
    min-height: 156px; /* 132 → 156 */
  }
}
.p-latest-free {
  padding: 120px 0;
  background: #E6F1F5;
  background: linear-gradient(112deg, rgba(176, 203, 217, 0.22) 0%, rgba(176, 203, 217, 0.22) 40%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);
  ---pb-overlap: clamp(70px, 6vw, 120px);
}
@media (min-width: 1025px) {
  .p-latest-free {
    position: relative;
    z-index: 3;
    margin-bottom: calc(-1 * var(--pb-overlap));
  }
}

.p-latest-free__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.p-latest-free__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

/* ====== 左側（テキスト） ====== */
.p-latest-free__title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.2;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: #4A4A4A;
}

.p-latest-free__subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  opacity: 0.6;
  letter-spacing: 0.06em;
}

.p-latest-free__lead {
  margin: 0 0 28px;
  line-height: 2;
  color: #4A4A4A;
}

.p-latest-free__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 34px;
  border-radius: 10px;
  background: #F2C94C;
  color: #002136;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  transition: filter 0.22s ease, opacity 0.22s ease;
}
.p-latest-free__more:hover {
  filter: brightness(1.08);
  opacity: 0.95;
}

/* ====== 右側（カード一覧） ====== */
/*
  ここが最重要：
  - repeat(3, 245px) をやめる
  - auto-fit + minmax で「入るなら2列、無理なら1列」を自動にする
  - 3件まで表示なら auto-fit で十分安定します
*/
.p-latest-free__cards {
  --card-max: 245px;
  --card-min: 220px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min), var(--card-max)));
  gap: 36px;
  justify-content: end;
  align-items: start;
}
@media (min-width: 765px) {
  .p-latest-free__cards {
    margin-top: 100px;
  }
}

/* PCで3枚並ぶときだけ段差を付ける（2枚/1枚の時は段差なし） */
@media (min-width: 1025px) {
  .p-latest-free__cards > .c-article-card:nth-child(2) {
    margin-top: 25px;
  }
  .p-latest-free__cards > .c-article-card:nth-child(3) {
    margin-top: 50px;
  }
}
/* =========================
   Card
========================= */
.c-article-card {
  width: 100%;
  max-width: var(--card-max);
}

/*
  固定高さ430pxをやめて aspect-ratio で台紙ごとスケールさせる
  → これで「ある幅で3列に戻って重なる」「写真が上に来すぎる」が消えます
*/
.c-article-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 245/430;
  height: auto;
  color: #FFFFFF;
  text-decoration: none;
  background-image: url("../img/parts/card_1.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: 0 18px 14px;
  transition: filter 0.22s ease, opacity 0.22s ease;
}
.c-article-card__link:hover {
  filter: brightness(1.05);
  opacity: 0.94;
}

/* 日付 */
.c-article-card__date {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

/* バッジ */
.c-article-card__badge {
  position: absolute;
  top: 64px;
  left: 28px;
  transform: translate(-35%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #F2C94C;
  color: #002136;
  font-weight: 700;
  font-size: 13px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  z-index: 3;
  pointer-events: none;
}

/* 写真：比率に追従させて安定 */
.c-article-card__thumb {
  margin-top: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 4/3;
}
@media (max-width: 767px) {
  .c-article-card__thumb {
    margin-top: 80px;
  }
}

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

/* 本文ブロック */
.c-article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 5px;
}

.c-article-card__issue {
  font-size: 14px;
  margin: 0;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: #FFFFFF;
  opacity: 0.95;
}

/*
  タイトルの長さで本文位置が変わる問題：
  - clampは使ってOK
  - 「2行分の高さを必ず確保」＝ min-height を固定
*/
.c-article-card__title {
  --t-size: 20px;
  --t-lh: 1.35;
  margin: 0 0 10px;
  font-size: var(--t-size);
  line-height: var(--t-lh);
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: #FFFFFF;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(var(--t-size) * var(--t-lh) * 2);
}

/* 本文 */
.c-article-card__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

/* CTA */
.c-article-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  background: #66500F;
  border-radius: 10px;
  height: 30px;
  padding: 0 14px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.c-article-card__link:hover .c-article-card__cta {
  filter: brightness(1.12);
  opacity: 0.98;
}

.c-article-card__ctaText {
  font-size: 13px;
  font-weight: 700;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

.c-article-card__ctaIcon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #FFFFFF;
  position: relative;
  flex: 0 0 auto;
}

.c-article-card__ctaIcon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #002136;
  border-right: 2px solid #002136;
  transform: translate(-60%, -50%) rotate(45deg);
}

/* =========================
   Responsive
========================= */
/* “スマホ〜PCの間”：2列or1列は自動。見切れたら自動で1列に落ちる */
@media (max-width: 1024px) {
  .p-latest-free__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* 文章・ボタンを中央寄せ（ご要望） */
  .p-latest-free__title,
  .p-latest-free__subtitle {
    text-align: center;
  }
  .p-latest-free__lead {
    text-align: center;
  }
  .p-latest-free__more {
    margin-inline: auto;
  }
  /* カードは中央寄せ・最大幅を少し大きめにして見た目を安定 */
  .p-latest-free__cards {
    justify-content: center;
    --card-max: 320px;
    --card-min: 260px;
  }
  /* 中間幅では段差は不要（崩れ要因にもなる） */
  .p-latest-free__cards > .c-article-card:nth-child(2),
  .p-latest-free__cards > .c-article-card:nth-child(3) {
    margin-top: 0;
  }
}
/* スマホ：要望全部ここに入れる */
@media (max-width: 600px) {
  /* セクションタイトル・英語タイトルは中央（要望） */
  .p-latest-free__title,
  .p-latest-free__subtitle {
    text-align: center;
  }
  /* 「無料記事をもっと見る」ボタンは中央のままOK */
  .p-latest-free__more {
    margin-inline: auto;
    display: grid;
    align-items: center;
    margin: 2em 0;
  }
  /* カード：左右余白を今の2倍くらい＝カード幅を少し小さくして余白を増やす */
  .p-latest-free__cards {
    justify-content: center;
    gap: 5em;
    --card-max: 340px;
    --card-min: 300px;
    padding-inline: 28px;
  }
  /* カード内の文字を全体的に大きく */
  .c-article-card__issue {
    font-size: 15px;
  }
  .c-article-card__title {
    --t-size: 22px;
  }
  .c-article-card__summary {
    font-size: 14px;
  }
  /* 円ラベルを1.5倍 */
  .c-article-card__badge {
    width: 75px;
    height: 75px;
    font-size: 14px;
  }
  /* 998号／タイトル／本文は左詰め（カード内だけ） */
  .c-article-card__issue,
  .c-article-card__title,
  .c-article-card__summary {
    text-align: left;
  }
  /* 詳しく見る：高さ少し大きく + 下の余白(=padding-bottom)を2倍くらい */
  .c-article-card__link {
    padding-bottom: 28px;
  }
  .c-article-card__cta {
    height: 36px;
    padding: 0 16px;
  }
  .c-article-card__ctaText {
    font-size: 14px;
  }
}
/* 超小型端末は“比率維持で縮小”（保険） */
@media (max-width: 380px) {
  .p-latest-free__cards {
    padding-inline: 18px;
    --card-min: 0px;
    --card-max: 92vw;
  }
}
.aaabbb {
  color: blue;
}

.p-concept-video {
  --pb-overlap: clamp(70px, 6vw, 120px);
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: clamp(160px, 12vw, 260px);
}
@media (min-width: 1024px) {
  .p-concept-video {
    padding-top: calc(clamp(160px, 12vw, 260px) + var(--pb-overlap));
  }
}

.p-concept-video__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-concept-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.p-concept-video__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 18, 0.28);
}

.p-concept-video__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  --pb-inner-pad: clamp(20px, 4vw, 96px);
  padding-inline: var(--pb-inner-pad);
}

.p-concept-video__content {
  width: 100%;
  letter-spacing: 0.02em;
}

.p-concept-video__label {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(18px, 2vw, 28px);
  padding-right: clamp(18px, 2.2vw, 28px);
  padding-block: clamp(12px, 1.2vw, 16px);
  background: transparent;
}
.p-concept-video__label::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  z-index: -1;
  pointer-events: none;
}
.p-concept-video__label span {
  display: inline;
  color: #002136;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 2vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.p-concept-video__title {
  margin: 0 0 clamp(22px, 2.8vw, 34px);
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 400;
  color: #F8FAFC;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  line-height: 1.28;
  letter-spacing: 0.04em;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.p-concept-video__text {
  margin: 0;
  max-width: 100ch;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 2.05;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.p-featured-series {
  padding: 4rem 0;
}

.p-featured-series__inner {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
}

.p-featured-series__left {
  padding-top: 6px;
}

.p-featured-series__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: 0.04em;
  margin: 0;
}

.p-featured-series__subtitle {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  color: #6E7A84;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.p-featured-series__lead {
  margin-top: 22px;
  color: #4A4A4A;
  font-size: 14px;
  line-height: 1.9;
}

.p-featured-series__right {
  border-top: none;
  padding-top: 120px;
}

.p-featured-series__rightHead {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(174, 185, 194, 0.55);
}
.p-featured-series__rightHead::before, .p-featured-series__rightHead::after {
  content: none !important;
}

.p-featured-series__brandLogo {
  width: min(240px, 32vw);
  height: auto;
  display: block;
  opacity: 0.9;
}

.p-featured-series__list {
  display: grid;
  gap: 34px;
}

.p-featured-series__item {
  border-bottom: 1px solid rgba(174, 185, 194, 0.55);
  padding-bottom: 34px;
}

.p-featured-series__itemLink {
  display: grid; /* ★これが無いと崩れます */
  grid-template-columns: minmax(260px, 320px) minmax(360px, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

.p-featured-series__itemLink * {
  text-decoration: none;
}

.p-featured-series__itemBody {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 8px;
}

.p-featured-series__date {
  text-align: right;
  color: #6E7A84;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.p-featured-series__issue {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
}

.p-featured-series__itemTitle {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.p-featured-series__summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.p-featured-series__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  border-bottom: none !important;
  text-decoration: none !important;
  color: #002136;
  transition: color 0.35s ease;
}

.p-featured-series__itemLink:hover .p-featured-series__cta {
  color: #F2C94C;
}

.p-featured-series__ctaIcon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 33, 54, 0.55);
}

.p-featured-series__ctaIcon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(0, 33, 54, 0.8);
  border-right: 1px solid rgba(0, 33, 54, 0.8);
  transform: translate(-50%, -50%) rotate(45deg);
}

.p-featured-series__itemLink:hover .p-featured-series__ctaIcon {
  border-color: rgba(242, 201, 76, 0.65);
}

.p-featured-series__itemLink:hover .p-featured-series__ctaIcon::before {
  border-top-color: rgba(242, 201, 76, 0.9);
  border-right-color: rgba(242, 201, 76, 0.9);
}

.p-featured-series__thumb {
  display: flex;
  align-items: flex-end;
  padding-bottom: 8px;
}

.p-featured-series__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.4s ease-out;
}

.p-featured-series__itemLink:hover .p-featured-series__img {
  transform: scale(1.02);
}

@media (max-width: 1023px) {
  .p-featured-series__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .p-featured-series__right {
    padding-top: 18px;
  }
  .p-featured-series__head {
    text-align: center;
  }
  .p-featured-series__lead {
    text-align: left;
  }
  .p-featured-series__rightHead {
    margin: 0 0 18px;
  }
  .p-featured-series__itemLink {
    grid-template-columns: 1fr;
  }
  .p-featured-series__thumb {
    order: -1;
    justify-self: stretch;
    padding-bottom: 0;
  }
  .p-featured-series__date {
    text-align: left;
  }
}
.p-paid-value {
  position: relative;
  padding: clamp(56px, 6vw, 96px) 0;
  background-color: #002136;
  background-image: var(--pb-paid-value-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.p-paid-value::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 127, 160, 0.58) 0%, rgba(58, 127, 160, 0.66) 50%, rgba(0, 33, 54, 0.7) 100%);
  z-index: 0;
}

.p-paid-value__inner {
  position: relative;
  z-index: 1;
  margin-bottom: -10rem;
}

.p-paid-value__ribbon {
  display: inline-block;
  margin: 0 0 clamp(22px, 2.5vw, 34px);
  padding: 0 1em;
  background: rgba(0, 33, 54, 0.55);
  color: #FFFFFF;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: 0.03em;
}

.p-paid-value__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.p-paid-value__left {
  min-width: 0;
}

.p-paid-value__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-paid-value__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding: clamp(16px, 2.2vw, 22px) 0;
}
.p-paid-value__row:last-child {
  border-bottom: none;
}

.p-paid-value__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(54px, 4.2vw, 64px);
  height: clamp(54px, 4.2vw, 64px);
  border-radius: 9999px;
  background: rgba(0, 33, 54, 0.95);
  color: #FFFFFF;
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.4vw, 1.5rem);
  letter-spacing: 0.06em;
  z-index: 100;
}

.p-paid-value__text {
  color: rgba(255, 255, 255, 0.95);
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 1.4vw, 1.5rem);
  line-height: 1.9;
  letter-spacing: 0.02em;
  min-width: 0;
  width: fit-content;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.55);
  padding-left: clamp(2rem, 3vw, 2.5rem);
  margin-left: clamp(-2rem, -3vw, -2.5rem);
}

.p-paid-value__ctaWrap {
  margin-top: clamp(24px, 3vw, 40px);
  display: flex;
  justify-content: center;
}

.p-paid-value__cta {
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s cubic-bezier(0, 0, 0.2, 1);
}
.p-paid-value__cta:hover, .p-paid-value__cta:focus-visible {
  background-color: rgb(239.928125, 192.39375, 47.471875);
}
.p-paid-value__cta:active {
  background-color: rgb(237.85625, 183.7875, 18.94375);
}

.p-paid-value__right {
  min-width: 0;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  justify-items: end;
}

.p-paid-value__rightHead {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.p-paid-value__brand {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  letter-spacing: 0.1em;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  text-transform: uppercase;
}

.p-paid-value__checks {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  transform: rotate(-5deg);
  display: grid;
  gap: 10px;
  margin-top: -2rem;
}

.p-paid-value__check {
  position: relative;
  padding-left: 1.6em;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.25rem, 1.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.p-paid-value__check::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.p-paid-value__sample {
  margin: 0;
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transform: translateY(8px);
}

.p-paid-value__sampleImg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1023px) {
  .p-paid-value__grid {
    grid-template-columns: 1fr;
  }
  .p-paid-value__right {
    justify-items: center;
  }
  .p-paid-value__rightHead {
    justify-content: center;
  }
  .p-paid-value__ribbon {
    display: block;
  }
  .p-paid-value__checks {
    max-width: 36rem;
    margin-top: 5rem;
  }
  .p-paid-value__sample {
    width: min(520px, 80vw);
    transform: none;
  }
}
@media (max-width: 575px) {
  .p-paid-value__badge {
    justify-self: start;
  }
  .p-paid-value__ctaWrap {
    justify-content: stretch;
  }
  .p-paid-value__cta {
    width: 100%;
    margin: 30px 0;
  }
  .p-paid-value__text {
    min-width: 0;
    width: fit-content;
    border-bottom: none;
    padding-left: clamp(2rem, 3vw, 2.5rem);
    margin-left: clamp(-2rem, -3vw, -2.5rem);
    line-height: 1.5;
  }
  .p-paid-value__checks {
    margin-top: 30px;
    gap: 5px;
  }
}
/* 任意：英字ロゴ用（必要になったら使う） */
.p-paid-plan {
  padding-block: 3rem;
  background: #F2F5F7;
  padding-top: 8rem;
  padding-bottom: 10rem;
}
@media (max-width: 575px) {
  .p-paid-plan {
    padding-bottom: 5rem;
  }
}

/* ---------------------------------------
   Head
---------------------------------------- */
.p-paid-plan__head {
  margin-bottom: 4rem;
}

.p-paid-plan__title {
  display: inline-block;
  margin: 0 0 4rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
@media (max-width: 1023px) {
  .p-paid-plan__title {
    text-align: center;
    display: block;
  }
}

.p-paid-plan__title-en {
  display: block;
  margin-top: 0.5rem;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #6E7A84;
}

.p-paid-plan__lead p {
  margin: 0 0 0.75rem;
  color: #4A4A4A;
}

/* ---------------------------------------
   Cards layout
   3 → 2 → 1（変な 3→1→2→1 を排除）
---------------------------------------- */
.p-paid-plan__cards {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .p-paid-plan__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .p-paid-plan__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .p-paid-plan__cards {
    grid-template-columns: 1fr;
  }
}

.p-paid-plan__card {
  position: relative;
  border-radius: 18px;
  background: #E5EBEE;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

/* カード内をflexで整列し、3カードの各エリア位置を揃える */
.p-paid-plan__card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  padding-top: calc(2rem + 52px);
}
.p-paid-plan__card-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 64px;
  background: rgba(0, 0, 0, 0.1);
}

/* タイトルは帯の中央あたりに乗る */
.p-paid-plan__card-title {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  margin: 0;
  text-align: center;
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* features：ここを伸縮させて、価格・ボタンを揃える */
.p-paid-plan__features {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 0.5rem;
  flex: 1;
}
.p-paid-plan__features li {
  margin: 0 0 0.75rem;
  padding-left: 1.6em;
  position: relative;
  font-weight: 600;
  color: #4A4A4A;
}
.p-paid-plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4A4A4A;
}

/* 価格：3カードで高さを揃える（特集分の差を吸収） */
.p-paid-plan__price {
  text-align: center;
  padding-top: 1.5rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-paid-plan__price-main {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
}

.p-paid-plan__yen {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000000;
}

.p-paid-plan__yen-unit {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 700;
  color: #000000;
}

.p-paid-plan__price-sub {
  margin-top: 0.5rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
  letter-spacing: 0.06em;
}

/* ボタン：3カードで同じ位置に揃える */
.p-paid-plan__btn {
  display: block;
  width: min(280px, 100%);
  height: 52px;
  margin: 1.5rem auto 0;
  border-radius: 9999px;
  background: #002136;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 52px;
  text-align: center;
  transition: background-color 0.25s ease-out, color 0.25s ease-out, transform 0.25s ease-out;
}
.p-paid-plan__btn:hover, .p-paid-plan__btn:focus-visible {
  background: #E6F1F5;
  color: #F2C94C;
  transform: translateY(-1px);
}
.p-paid-plan__btn:focus-visible {
  outline: 2px solid #3A7FA0;
  outline-offset: 3px;
}

/* 1年プランボタン */
.p-paid-plan__btn--accent {
  background: #F2C94C;
  color: #002136;
}
.p-paid-plan__btn--accent:hover, .p-paid-plan__btn--accent:focus-visible {
  background: #002136;
  color: #E6F1F5;
}

/* 人気リボン（角の三角） */
.p-paid-plan__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  background: #F2C94C;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 2;
}
.p-paid-plan__ribbon span {
  position: absolute;
  top: 18px;
  right: 12px;
  transform: rotate(45deg);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #000000;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
}

/* ---------------------------------------
   Icons
   PC：6列1行 / 中間：3列×2行 / SP：2列×3行（2個2個2個）
   ※コンテナ超え防止込み
---------------------------------------- */
.p-paid-plan__icons {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.p-paid-plan__icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  justify-items: center;
  max-width: 100%;
  overflow: hidden;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .p-paid-plan__icon-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .p-paid-plan__icon-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.p-paid-plan__icon-item {
  text-align: center;
}

.p-paid-plan__icon-circle {
  width: clamp(112px, 24vw, 140px);
  height: clamp(112px, 24vw, 140px);
  border-radius: 50%;
  border: 2px solid #F2C94C;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.2vw, 0.75rem);
}
.p-paid-plan__icon-circle img {
  width: clamp(34px, 8vw, 42px);
  height: clamp(34px, 8vw, 42px);
  flex: 0 0 auto;
}

.p-paid-plan__icon-title {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4A4A4A;
  line-height: 1.2;
  text-align: center;
  padding-inline: 0.25rem;
}

/* ---------------------------------------
   Notes
---------------------------------------- */
.p-paid-plan__notes {
  margin-top: 3rem;
}

.p-paid-plan__rule {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 2rem 0;
}

.p-paid-plan__note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-paid-plan__note-list li {
  margin: 0 0 0.5rem;
  color: #6E7A84;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  letter-spacing: 0.02em;
}

.p-message {
  background: #FFFFFF;
  position: relative;
  overflow-x: clip;
}

/* Safari等で clip が効かない場合の保険 */
@supports not (overflow: clip) {
  .p-message {
    overflow-x: hidden;
  }
}
/* Gridの子要素が縮めずに横はみ出すのを防ぐ */
.p-message__grid,
.p-message__media,
.p-message__body {
  min-width: 0;
}

/* 英字などの長い単語が原因で右がはみ出すケース対策 */
.p-message__text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.p-message__inner {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (max-width: 1023px) {
  .p-message__inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.p-message__grid {
  position: relative;
  display: grid;
  grid-template-columns: 40% 60%;
  column-gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 1023px) {
  .p-message__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   画像（左）: 左だけ全幅ブリード
   ========================= */
.p-message__media {
  position: relative;
  z-index: 2;
  width: calc(100% + 50vw - 50%);
  margin-left: calc(50% - 50vw);
  transform: translateY(-30%);
}

.p-message__media-inner {
  position: relative;
  width: 100%;
  height: clamp(420px, 34vw, 640px);
  overflow: hidden;
}

.p-message__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-message__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 33, 54, 0.55);
  pointer-events: none;
}

/* =========================
   文章（右）
   ========================= */
.p-message__body {
  position: relative;
  z-index: 1;
  padding-right: 0;
}

.p-message__title--in-body {
  margin: 0 0 clamp(28px, 3.5vw, 56px);
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
  color: #4A4A4A;
}

.p-message__text p {
  margin: 0 0 1.5rem;
  color: #4A4A4A;
  letter-spacing: 0.02em;
  line-height: 2;
}

/* =========================
   SP / 中間：特殊ルール
   ========================= */
@media (max-width: 1023px) {
  .p-message__media {
    width: 80vw;
    margin-left: calc(50% - 50vw);
    transform: translateY(-30%);
  }
  .p-message__media-inner {
    height: clamp(260px, 52vw, 420px);
  }
  .p-message__title--in-body {
    display: none;
  }
  .p-message__title--on-media {
    position: absolute;
    left: 0;
    top: 72%;
    transform: translateY(-60%);
    z-index: 3;
    background: none;
    padding: 0;
  }
  .p-message__title--on-media .p-message__title-text {
    display: inline-block;
    color: #F8FAFC;
    font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 3vw, 2.5rem);
    letter-spacing: 0.04em;
    margin-left: 5vw;
  }
  .p-message__body {
    padding-right: 0;
  }
}
/* =========================
   PC：画像上タイトルは非表示（スマホ専用）
   ========================= */
@media (min-width: 1024px) {
  .p-message__title--on-media {
    display: none;
  }
}
/* 任意：英字ロゴ用（必要になったら使う） */
.p-article {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
@media (min-width: 1024px) {
  .p-article {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.p-article__header {
  display: flex;
  flex-direction: column;
}

.p-article__breadcrumb {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #F2F7FA;
  padding: 0.75rem 1rem;
}
@media (min-width: 1024px) {
  .p-article__breadcrumb {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.p-article__breadcrumb .c-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  line-height: 1.6;
}
.p-article__breadcrumb .c-breadcrumb__list {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-article__breadcrumb .c-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: #6E7A84;
}
.p-article__breadcrumb .c-breadcrumb__item:not(:last-child)::after {
  content: ">";
  display: inline-block;
  margin: 0 0.5rem;
  color: #6E7A84;
}
.p-article__breadcrumb .c-breadcrumb__link {
  color: #6E7A84;
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.p-article__breadcrumb .c-breadcrumb__link:hover {
  color: #F2C94C;
}
.p-article__breadcrumb .c-breadcrumb__item[aria-current=page] {
  color: #002136;
  font-weight: 500;
}

.c-breadcrumb a {
  text-decoration: none !important;
  text-decoration-thickness: initial;
  text-underline-offset: initial;
}

.p-article__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  margin-top: 4rem;
}

.p-article__cat {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 0.75rem;
  border: 1px solid #AEB9C2;
  border-radius: 9999px;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
  background: #FFFFFF;
  text-decoration: none;
  transition: background 0.25s ease-out, color 0.25s ease-out, border-color 0.25s ease-out;
}
.p-article__cat:hover {
  background: #002136;
  color: #F8FAFC;
  border-color: #002136;
}

.p-article__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #002136;
}

.p-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.p-article__metaItem {
  display: inline-flex;
  gap: 0.5rem;
  align-items: baseline;
}

.p-article__metaLabel {
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

.p-article__metaValue {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #4A4A4A;
}

.p-article__thumb {
  margin: 2rem 0 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}

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

.p-article__body {
  margin-top: 2rem;
}

.p-article__content {
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
  color: #4A4A4A;
}

.p-article__locked {
  padding: 2rem;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  background: #F8FAFC;
}

.p-article__summary {
  font-size: clamp(1rem, 1vw, 1.125rem);
  color: #4A4A4A;
  margin: 0;
}

.p-article__cta {
  margin-top: 1.5rem;
}

.p-article__ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 3rem;
  border-radius: 9999px;
  background: #002136;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}
.p-article__ctaBtn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.p-articlePager {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #AEB9C2;
}

.p-articlePager__inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .p-articlePager__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.p-articlePager__item {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.p-articlePager__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}
.p-articlePager__item.is-empty {
  display: none;
}

.p-articlePager__kicker {
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

.p-articlePager__title {
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  color: #002136;
  line-height: 1.35;
}

.p-taxArchive {
  padding: 3rem 0;
}

.p-taxArchive__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #002136;
}

.p-taxArchive__list {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.p-taxArchiveCard__link {
  display: block;
  padding: 1.5rem;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.p-taxArchiveCard__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}

.p-taxArchiveCard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

.p-taxArchiveCard__type {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 0.5rem;
  border-radius: 9999px;
  background: #F2F5F7;
  color: #002136;
}

.p-taxArchiveCard__title {
  margin-top: 0.75rem;
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  line-height: 1.35;
  color: #002136;
}

.p-taxArchiveCard__excerpt {
  margin-top: 0.75rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #4A4A4A;
}

.p-taxArchiveCard__lock {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

/* 任意：英字ロゴ用（必要になったら使う） */
/* =========================================
   Archive
========================================= */
.l-main--archive {
  background: #FFFFFF;
}

.l-archive {
  padding: 3rem 0;
}

.l-archive__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 1024px) {
  .l-archive__inner {
    padding: 0 2rem;
  }
}

.l-archive__header {
  margin-bottom: 2rem;
}

.c-archive-title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.3;
  color: #002136;
  margin: 0 0 0.75rem;
}

.c-archive-description {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
  margin: 0;
}

/* 一覧（カードリスト）は既存の c-card-list を想定 */
/* =========================================
   Pagination (WP標準 the_posts_pagination)
========================================= */
.l-archive__pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.navigation.pagination {
  width: 100%;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
}

/* prev / next / number 共通 */
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25em;
  height: 2.25em;
  padding: 0 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  color: #6E7A84;
  transition: color 0.25s ease-out, background 0.25s ease-out;
}

/* hover */
.navigation.pagination .nav-links a:hover {
  color: #002136;
  background: #F2F7FA;
}

/* 現在ページ：スクショの “下線だけ” っぽい見え方 */
.navigation.pagination .nav-links .current {
  color: #002136;
  background: transparent;
  border-radius: 0;
  height: auto;
  min-width: auto;
  padding: 0 0.25rem;
  border-bottom: 2px solid #002136;
}

/* 省略… */
.navigation.pagination .nav-links .dots {
  min-width: auto;
  padding: 0 0.25rem;
}

/* 任意：英字ロゴ用（必要になったら使う） */
.p-company {
  padding: 4rem 0;
}
.p-company__header {
  margin-bottom: 2rem;
}
.p-company__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #002136;
  margin-bottom: 4rem;
}
.p-company__lead {
  margin-top: 1rem;
  max-width: 64rem;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
  color: #6E7A84;
  margin-bottom: 4rem;
}
.p-company__table {
  border-top: 1px solid #E5EBEE;
}
.p-company__row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #E5EBEE;
}
@media (max-width: 767px) {
  .p-company__row {
    grid-template-columns: 13rem 1fr;
  }
}
@media (max-width: 575px) {
  .p-company__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
.p-company__th {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  font-weight: 500;
  color: #6E7A84;
  letter-spacing: 0.02em;
}
.p-company__td {
  font-size: clamp(1rem, 1vw, 1.125rem);
  color: #002136;
  line-height: 1.6;
}
.p-company__td a {
  color: #3A7FA0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: 0.15s ease-out;
}
.p-company__td a:hover {
  opacity: 0.75;
}

/* ==================================================
   固定ページ（Gutenberg）共通
   ================================================== */
.c-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 5rem;
}
@media (min-width: 1024px) {
  .c-page {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.c-page__header {
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E5EBEE;
}

.c-page__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #002136;
}

.c-page__thumb {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}

.c-page__thumb-img {
  display: block;
  width: 100%;
  height: auto;
}

.c-page__body {
  margin-top: 2rem;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
  color: #4A4A4A;
  /* 余白ルール（読みやすさ） */
  /* 見出し */
  /* リンク */
  /* リスト */
  /* 引用 */
  /* Gutenbergの表 */
  /* Gutenbergボタン（WP標準） */
}
.c-page__body > * + * {
  margin-top: 1rem;
}
.c-page__body h2, .c-page__body h3, .c-page__body h4 {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: #002136;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-top: 3rem;
}
.c-page__body h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}
.c-page__body h3 {
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
}
.c-page__body h4 {
  font-size: clamp(1.25rem, 1.4vw, 1.5rem);
}
.c-page__body a {
  color: #3A7FA0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: 0.15s ease-out;
}
.c-page__body a:hover {
  opacity: 0.75;
}
.c-page__body ul, .c-page__body ol {
  padding-left: 1.4em;
}
.c-page__body li + li {
  margin-top: 0.5rem;
}
.c-page__body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid #002136;
  background: #F8FAFC;
  border-radius: 4px;
  color: #4A4A4A;
}
.c-page__body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #E5EBEE;
  background: #FFFFFF;
}
.c-page__body .wp-block-table th,
.c-page__body .wp-block-table td {
  border: 1px solid #E5EBEE;
  padding: 0.75rem 1rem;
  vertical-align: top;
}
.c-page__body .wp-block-table th {
  background: #F2F5F7;
  color: #002136;
  font-weight: 500;
}
.c-page__body .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 2rem;
  border-radius: 9999px;
  background: #002136;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}
.c-page__body .wp-block-button__link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.c-page__links {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5EBEE;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
}

.c-page__links-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2em;
  height: 2.2em;
  margin-right: 0.5rem;
  border: 1px solid #E5EBEE;
  border-radius: 4px;
  text-decoration: none;
  color: #002136;
}

.c-page__edit-link {
  margin-top: 2rem;
}

.p-plans {
  background-color: #F2F5F7;
}

.p-plans__header {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.p-plans__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  color: #002136;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.p-plans__lead {
  margin-top: 1rem;
  color: #4A4A4A;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
}

.p-plans__notes {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #E5EBEE;
  padding-bottom: 6rem;
}

.p-plans__notes-title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  color: #002136;
  letter-spacing: 0.02em;
}

.p-plans__list {
  margin-top: 1rem;
  padding-left: 1.2em;
  color: #4A4A4A;
}
.p-plans__list li + li {
  margin-top: 0.5rem;
}
.p-plans__list strong {
  font-weight: 500;
  color: #002136;
}

.p-plans__links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.p-plans__link {
  color: #3A7FA0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: 0.15s ease-out;
}
.p-plans__link:hover {
  opacity: 0.75;
}

/* 任意：英字ロゴ用（必要になったら使う） */
.p-article {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
@media (min-width: 1024px) {
  .p-article {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.p-article__header {
  display: flex;
  flex-direction: column;
}

.p-article__breadcrumb {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #F2F7FA;
  padding: 0.75rem 1rem;
}
@media (min-width: 1024px) {
  .p-article__breadcrumb {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.p-article__breadcrumb .c-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  line-height: 1.6;
}
.p-article__breadcrumb .c-breadcrumb__list {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-article__breadcrumb .c-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: #6E7A84;
}
.p-article__breadcrumb .c-breadcrumb__item:not(:last-child)::after {
  content: ">";
  display: inline-block;
  margin: 0 0.5rem;
  color: #6E7A84;
}
.p-article__breadcrumb .c-breadcrumb__link {
  color: #6E7A84;
  text-decoration: none;
  transition: color 0.25s ease-out;
}
.p-article__breadcrumb .c-breadcrumb__link:hover {
  color: #F2C94C;
}
.p-article__breadcrumb .c-breadcrumb__item[aria-current=page] {
  color: #002136;
  font-weight: 500;
}

.c-breadcrumb a {
  text-decoration: none !important;
  text-decoration-thickness: initial;
  text-underline-offset: initial;
}

.p-article__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  margin-top: 4rem;
}

.p-article__cat {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 0.75rem;
  border: 1px solid #AEB9C2;
  border-radius: 9999px;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #6E7A84;
  background: #FFFFFF;
  text-decoration: none;
  transition: background 0.25s ease-out, color 0.25s ease-out, border-color 0.25s ease-out;
}
.p-article__cat:hover {
  background: #002136;
  color: #F8FAFC;
  border-color: #002136;
}

.p-article__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #002136;
}

.p-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.p-article__metaItem {
  display: inline-flex;
  gap: 0.5rem;
  align-items: baseline;
}

.p-article__metaLabel {
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

.p-article__metaValue {
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #4A4A4A;
}

.p-article__thumb {
  margin: 2rem 0 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}

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

.p-article__body {
  margin-top: 2rem;
}

.p-article__content {
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
  color: #4A4A4A;
}

.p-article__locked {
  padding: 2rem;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  background: #F8FAFC;
}

.p-article__summary {
  font-size: clamp(1rem, 1vw, 1.125rem);
  color: #4A4A4A;
  margin: 0;
}

.p-article__cta {
  margin-top: 1.5rem;
}

.p-article__ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 3rem;
  border-radius: 9999px;
  background: #002136;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}
.p-article__ctaBtn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.p-articlePager {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #AEB9C2;
}

.p-articlePager__inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .p-articlePager__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.p-articlePager__item {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.p-articlePager__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}
.p-articlePager__item.is-empty {
  display: none;
}

.p-articlePager__kicker {
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

.p-articlePager__title {
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  color: #002136;
  line-height: 1.35;
}

.p-taxArchive {
  padding: 3rem 0;
}

.p-taxArchive__title {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #002136;
}

.p-taxArchive__list {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.p-taxArchiveCard__link {
  display: block;
  padding: 1.5rem;
  border: 1px solid #AEB9C2;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.p-taxArchiveCard__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}

.p-taxArchiveCard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}

.p-taxArchiveCard__type {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 0.5rem;
  border-radius: 9999px;
  background: #F2F5F7;
  color: #002136;
}

.p-taxArchiveCard__title {
  margin-top: 0.75rem;
  font-size: clamp(1.125rem, 1.2vw, 1.375rem);
  line-height: 1.35;
  color: #002136;
}

.p-taxArchiveCard__excerpt {
  margin-top: 0.75rem;
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: #4A4A4A;
}

.p-taxArchiveCard__lock {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: clamp(0.75rem, 0.7vw, 0.875rem);
  color: #6E7A84;
}