/* =========================================================
   alterna - sections.css
   セクション別レイアウト（PC基準 → タブレット → SP）
   ========================================================= */

/* プレースホルダー（画像未配置時） */
.c-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--color-bg-pale);
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

/* =========================================================
   Header
   ========================================================= */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  transition: box-shadow var(--transition);
}
.l-header.is-scrolled { box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06); }
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: calc(var(--content-width) + var(--gutter-pc) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter-pc);
}
.l-header__logo img { height: 38px; width: auto; }

.l-nav__list { display: flex; align-items: center; gap: 36px; }
.l-nav__list a {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.l-nav__list a:hover { color: var(--color-primary); }
.l-nav__cta a { font-family: var(--font-en); }
.l-nav__cta .c-btn { padding: 12px 24px; }
/* モバイルメニュー専用要素は PC では非表示（Top項目・日本語サブ・閉じる・フッター・暗幕） */
.l-nav__sp-only,
.l-nav__ja,
.l-nav__close,
.l-nav__foot,
.l-nav__overlay { display: none; }

/* ハンバーガー（SPのみ表示） */
.l-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.l-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  margin-inline: auto;
  transition: transform var(--transition), opacity var(--transition);
}

/* =========================================================
   Hero（ヒーロー画像は上・右が画面から見切れる）
   ========================================================= */
.p-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.p-hero__inner { position: static; }
.p-hero__body {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding-block: 88px;
}
.p-hero__side {
  position: absolute;
  left: calc(var(--gutter-pc) - 40px);
  top: 96px;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  z-index: 2;
}
.p-hero__copy {
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.p-hero__lead { color: var(--color-text-light); margin-bottom: 36px; }
.p-hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }
/* 画像は左下を起点に、上＝画面上端へ／右＝画面外へ はみ出して見切れる */
.p-hero__visual {
  position: absolute;
  top: -56px;        /* 上が見切れる */
  bottom: 64px;
  left: 47%;
  right: -56px;      /* 右が画面外へ見切れる */
  z-index: 1;
}
.p-hero__media,
.p-hero__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.p-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-pale);
  color: var(--color-primary);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

/* =========================================================
   Hero — TOP（全画面動画 + テキストオーバーレイ）
   ========================================================= */
.p-hero--top {
  min-height: 0;
  display: block;
  overflow: hidden;
}
/* 動画コンテナを全画面に（width:100% / height:100vh） */
.p-hero--top .p-hero__visual {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  height: 80vh;
  z-index: auto;
}
/* 動画・プレースホルダーを全面に敷く */
.p-hero--top .p-hero__media,
.p-hero--top .p-hero__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* Vimeo 背景埋め込み（iframe を 16:9 維持で全画面カバー） */
.p-hero--top .p-hero__media--vimeo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: url('../img/hero-poster.png') center / cover no-repeat;
}
.p-hero--top .p-hero__media--vimeo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;   /* 16:9: 画面高さ基準の幅 */
  min-width: 100%;
  height: 56.25vw;   /* 16:9: 画面幅基準の高さ */
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.p-hero--top .p-hero__media--vimeo iframe.is-playing {
  opacity: 1;
}
/* 可読性確保オーバーレイ */
.p-hero--top .p-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.30) 45%,
    rgba(0, 0, 0, 0.08) 100%
  );
}
/* テキストコンテンツ（縦中央・左寄せ） */
.p-hero--top .p-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: calc(var(--gutter-pc) + 48px); /* 左の縦書きラベルと十分離す */
}
/* タイトルは 32px 固定（ブレークポイントでの拡大を無効化） */
.p-hero--top .p-hero__copy { color: #fff; font-size: 32px; font-family: var(--font-jp); font-weight: 300; }
.p-hero--page .p-hero__copy { font-family: var(--font-jp); font-weight: 300; }
/* テキスト枠を狭めて、見切れ画像との間に余白を確保 */
.p-hero--page .p-hero__body { max-width: 440px; padding-right: 32px; }
.p-hero--top .p-hero__lead { color: rgba(255, 255, 255, 0.88); }
/* 縦書きサイドラベル（高さ中央・画面左端寄せ。テキストと重ねない） */
.p-hero--top .p-hero__side {
  top: 50%;
  bottom: auto;
  left: 24px;
  transform: translateY(-50%);
  color: #fff;
  z-index: 3;
}

/* =========================================================
   About
   ========================================================= */
.p-about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.p-about__img { margin-top: 32px; aspect-ratio: 4 / 3; }
.p-about__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.p-about__body { padding-top: 0; }
.p-about__body .c-heading { margin-bottom: 28px; }
.p-about__body .c-lead + .c-lead { margin-top: 24px; }
.p-about__body .c-arrow-link { margin-top: 32px; }

/* =========================================================
   Service
   ========================================================= */
.p-service { background: #fff; }
.p-service__head { margin-bottom: 48px; }
.p-service__head .c-label { margin-bottom: 12px; }
/* 2+3 レイアウト（上段2枚＝広め / 下段3枚） */
.p-service__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.p-service__card:nth-child(1),
.p-service__card:nth-child(2) { grid-column: span 3; }
.p-service__card:nth-child(3),
.p-service__card:nth-child(4),
.p-service__card:nth-child(5) { grid-column: span 2; }
.p-service__card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.p-service__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); }
.p-service__card:hover .p-service__thumb img { transform: scale(1.05); }
/* テキスト：右側に画像ぶんの余白を確保 */
.p-service__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  padding-right: calc(44% + 16px);
}
.p-service__icon { width: 36px; height: 36px; color: var(--color-primary); margin-bottom: 18px; }
.p-service__icon svg { width: 100%; height: 100%; display: block; }
/* 画像：カード右側に大きく、上・右へはみ出して見切れる */
.p-service__thumb {
  position: absolute;
  top: -14px;
  right: -14px;
  bottom: -14px;
  width: 44%;
  overflow: hidden;
}
.p-service__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.p-service__title { font-family: var(--font-mincho); font-size: 21px; font-weight: 600; color: var(--color-primary); margin-bottom: 6px; }
.p-service__sub { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.p-service__desc { font-size: 13px; color: var(--color-text-light); line-height: 1.9; margin-bottom: 20px; }
.p-service__card .c-arrow-link { margin-top: auto; font-size: 13px; }

/* =========================================================
   Works
   ========================================================= */
.p-works { background: var(--color-bg-pale); }
.p-works__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.p-works__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}
/* ---- Card ---- */
.p-works__link { display: block; }
.p-works__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0;
  background: #111;
}
.p-works__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.4s ease;
}
.p-works__card:hover .p-works__thumb img {
  transform: scale(1.05);
  opacity: 0.82;
}

/* グラデーションオーバーレイ */
.p-works__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.32) 48%,
    rgba(0, 0, 0, 0.04) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  transition: background var(--transition);
}
.p-works__card:hover .p-works__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.44) 48%,
    rgba(0, 0, 0, 0.10) 100%
  );
}

/* カテゴリ pill（オーバーレイ内・上部） */
.p-works__cat {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* タイトル・説明（オーバーレイ内・下部） */
.p-works__overlay-body { margin-top: auto; }
.p-works__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 6px;
}
.p-works__desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   Philosophy
   ========================================================= */
.p-philosophy { background: var(--color-bg-pale); }
.p-philosophy__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.p-philosophy__body .c-lead + .c-lead { margin-top: 24px; }

/* =========================================================
   Process & News（横並び）
   ========================================================= */
.p-lower__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.p-process__steps { margin: 40px 0 32px; }
.p-process__step { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.p-process__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--color-line);
}
.p-process__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-en);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-process__title { font-size: 16px; margin-bottom: 4px; }
.p-process__desc { font-size: 14px; color: var(--color-text-light); }

.p-news { position: relative; }
.p-news__more { display: inline-flex; margin-top: 16px; }
.p-news__list { margin-top: 24px; }

/* FAQ列（3カラム時の体裁） */
.p-faq-col .c-heading { margin: 12px 0 16px; }
.p-faq-col .c-lead { font-size: 14px; margin-bottom: 20px; }
.p-news__item { border-bottom: 1px solid var(--color-line); }
.p-news__item a { display: flex; align-items: center; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.p-news__item time { font-family: var(--font-en); font-size: 13px; color: var(--color-text-light); }
.p-news__cat {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--color-primary);
  background: var(--color-bg-pale);
  padding: 2px 10px;
  border-radius: 2px;
}
.p-news__title { font-size: 14px; flex: 1; min-width: 60%; }
.p-news__item a:hover .p-news__title { color: var(--color-primary); }

/* =========================================================
   FAQ（アコーディオン）
   ========================================================= */
.p-faq__head { margin-bottom: 32px; }
.p-faq__head .c-label { margin-bottom: 12px; }
.p-faq__list { border-top: 1px solid var(--color-line); margin-bottom: 28px; }
.p-faq__item { border-bottom: 1px solid var(--color-line); }
.p-faq__item details { width: 100%; }
.p-faq__item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.p-faq__item summary::-webkit-details-marker { display: none; }
.p-faq__q {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}
.p-faq__question { flex: 1; font-size: 16px; font-weight: 700; }
/* +／− マーク */
.p-faq__mark { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.p-faq__mark::before,
.p-faq__mark::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
}
.p-faq__mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.p-faq__mark::after { top: 0; left: 7px; width: 2px; height: 16px; }
.p-faq__item details[open] .p-faq__mark::after { opacity: 0; transform: rotate(90deg); }
.p-faq__answer {
  display: flex;
  gap: 12px;
  padding: 4px 0 28px 0;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.9;
}
.p-faq__a {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-top: 1px;
}
.p-faq__a-body { flex: 1; }
.p-faq__a-body p + p { margin-top: 12px; }
.p-faq__a-body ul,
.p-faq__a-body ol { margin-top: 8px; padding-left: 20px; }
.p-faq__a-body li { margin-bottom: 4px; }
.p-faq__a-body ol { list-style: decimal; }
.p-faq__a-body ul { list-style: disc; }

/* =========================================================
   FAQ カテゴリグループ
   ========================================================= */
.p-faq-group { margin-bottom: 8px; }
.p-faq-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 2px solid var(--color-line);
}
.p-faq-group__meta { display: flex; align-items: center; gap: 12px; }
.p-faq-group__icon { color: var(--color-primary); }
.p-faq-group__icon svg { width: 26px; height: 26px; display: block; }
.p-faq-group__title { font-size: 17px; font-weight: 700; }
.p-faq-group__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.p-faq-group__toggle:hover { opacity: 0.75; }
.p-faq-group__chevron svg { width: 16px; height: 16px; display: block; transition: transform var(--transition); }
.p-faq-group__toggle[aria-expanded="true"] .p-faq-group__chevron svg { transform: rotate(180deg); }

/* =========================================================
   FAQ フィルタータブ
   ========================================================= */
.p-faq-filter__wrap { background: var(--color-bg-pale); padding: 28px 0; }
.p-faq-filter__nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.p-faq-filter__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-text);
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1.3;
}
.p-faq-filter__btn:hover,
.p-faq-filter__btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.p-faq-filter__btn--all {
  flex-direction: row;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.p-faq-filter__icon { display: block; }
.p-faq-filter__icon svg { width: 22px; height: 22px; display: block; }
.p-faq-filter__name { font-size: 12px; font-weight: 700; }
.p-faq-filter__sub  { font-size: 11px; opacity: 0.75; }

/* =========================================================
   Hero 中央揃えバリアント（FAQ 等）
   ========================================================= */
.p-hero--center {
  min-height: 448px; /* 通常ヒーロー（640px）の約70% */
}
.p-hero--center .p-hero__inner {
  display: block;
}
.p-hero--center .p-hero__body {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding-block: 80px;
}
.p-hero--center .p-hero__side { position: absolute; }

/* =========================================================
   Contact CTA
   ========================================================= */
.p-cta__banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.p-cta__text { padding: 64px 56px; align-self: center; }
.p-cta__heading { font-family: var(--font-mincho); font-size: 28px; font-weight: 600; line-height: 1.55; letter-spacing: 0.04em; margin-bottom: 24px; }
.p-cta__lead { line-height: 2; margin-bottom: 36px; opacity: 0.95; font-size: 15px; }
.p-cta__img { min-height: 100%; }
.p-cta__img img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   Footer
   ========================================================= */
.l-footer { border-top: 1px solid var(--color-line); padding-block: 64px 32px; }
.l-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
  max-width: calc(var(--content-width) + var(--gutter-pc) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter-pc);
}
.l-footer__logo { height: 72px; width: auto; margin-bottom: 16px; }
.l-footer__catch { font-family: var(--font-jp); font-weight: 300; font-size: 12px; color: var(--color-text-light); margin-bottom: 4px; }
.l-footer__tagline { font-family: var(--font-en); font-size: 12px; color: var(--color-text-light); letter-spacing: 0.05em; }
.l-footer__nav ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.l-footer__nav a { font-family: var(--font-en); font-size: 14px; }
.l-footer__nav a:hover { color: var(--color-primary); }
.l-footer__sns { display: flex; gap: 20px; align-items: center; }
.l-footer__sns a { font-family: var(--font-en); font-size: 14px; display: inline-flex; }
.l-footer__sns-icon { width: 24px; height: 24px; object-fit: contain; transition: opacity var(--transition); }
.l-footer__sns-icon--wide { width: auto; }
.l-footer__sns a:hover .l-footer__sns-icon { opacity: 0.6; }
.l-footer__bottom { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; }
.l-footer__copy { font-family: var(--font-en); font-size: 12px; color: var(--color-text-light); }
.l-footer__policy { font-family: var(--font-jp); font-size: 12px; color: var(--color-text-light); }
.l-footer__policy:hover { color: var(--color-primary); }

/* =========================================================
   下層ページ共通（page / single / archive / 404）
   ========================================================= */
.p-page__head,
.p-single__head { margin-bottom: 40px; }
.p-page__head .c-label,
.p-single__head .c-label { margin-bottom: 12px; }
.p-single__date { display: block; font-family: var(--font-en); font-size: 14px; color: var(--color-text-light); margin-bottom: 12px; }
.p-single__thumb { margin-bottom: 32px; }
.p-single__back { margin-top: 48px; }

/* 投稿本文 */
.c-content { line-height: 1.9; }
.c-content > * + * { margin-top: 1.5em; }
.c-content h2 { font-size: 24px; margin-top: 2em; padding-bottom: 0.4em; border-bottom: 1px solid var(--color-line); }
.c-content h3 { font-size: 20px; margin-top: 1.6em; }
.c-content a { color: var(--color-primary); text-decoration: underline; }
.c-content img { border-radius: var(--radius); }
.c-content ul { list-style: disc; padding-left: 1.4em; }
.c-content ol { list-style: decimal; padding-left: 1.4em; }

/* アーカイブ・ニュース一覧 */
.p-archive__list { border-top: 1px solid var(--color-line); }
.p-archive__item { border-bottom: 1px solid var(--color-line); }
.p-archive__item a { display: flex; align-items: center; gap: 16px; padding: 20px 0; flex-wrap: wrap; }
.p-archive__item time { font-family: var(--font-en); font-size: 14px; color: var(--color-text-light); }
.p-archive__title { flex: 1; min-width: 60%; }
.p-archive__item a:hover .p-archive__title { color: var(--color-primary); }

/* ページネーション */
.p-pagination { margin-top: 48px; }
.p-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.p-pagination a,
.p-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-size: 14px;
}
.p-pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.p-pagination a:hover { background: var(--color-bg-pale); }

/* =========================================================
   Service ページ
   ========================================================= */
.p-svc__head { text-align: center; margin-bottom: 48px; }
.p-svc__head .c-label { margin-bottom: 12px; }
.p-svc__head .c-lead { margin-top: 16px; }
.p-svc__head--left { text-align: left; margin-bottom: 32px; }
.p-svc-price__tax { font-size: 11px; color: var(--color-text-light); }

/* パンくず */
.p-breadcrumb { font-family: var(--font-en); font-size: 13px; color: var(--color-text-light); margin-bottom: 20px; }
.p-breadcrumb a:hover { color: var(--color-primary); }

/* alternaが選ばれる理由 */
.p-reason { background: var(--color-bg-pale); }
.p-reason__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.p-reason__item { text-align: center; }
.p-reason__icon { display: inline-flex; width: 56px; height: 56px; color: var(--color-primary); margin-bottom: 20px; }
.p-reason__icon svg { width: 100%; height: 100%; }
.p-reason__title { font-family: var(--font-mincho); font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.p-reason__desc { font-size: 14px; color: var(--color-text-light); line-height: 1.9; text-align: left; }

/* サービスと料金（番号＋アイコン＋画像カード） */
.p-price__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-price__card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.p-price__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); }
/* 左カラム：イラスト */
.p-price__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-pale);
  color: var(--color-primary);
}
.p-price__icon svg { width: 36px; height: 36px; }
/* 右カラム：情報 */
.p-price__num { display: block; font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.p-price__title { font-family: var(--font-mincho); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.p-price__sub { font-size: 12px; color: var(--color-text-light); margin-bottom: 12px; line-height: 1.7; }
.p-price__amount { font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--color-primary); }

/* スタートパック */
.p-svc-pack { background: var(--color-bg-pale); }
.p-svc-pack__intro { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.p-svc-pack__intro .c-lead { margin-top: 16px; }
.p-svc-pack__merits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 24px; }
.p-svc-pack__merits li { position: relative; padding-left: 20px; font-size: 14px; }
.p-svc-pack__merits li::before { content: "○"; position: absolute; left: 0; color: var(--color-primary); }
.p-svc-pack__price { margin-top: 32px; padding: 28px; background: #fff; border-radius: var(--radius); display: inline-block; }
.p-svc-pack__regular { font-size: 13px; color: var(--color-text-light); text-decoration: line-through; }
.p-svc-pack__main { margin: 6px 0; }
.p-svc-pack__amount { font-size: 40px; font-weight: 700; color: var(--color-primary); font-family: var(--font-en); }
.p-svc-pack__add { font-size: 13px; color: var(--color-text-light); margin-top: 8px; }

.p-svc-pack__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.p-svc-pack__item { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.p-svc-pack__item-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.p-svc-pack__item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-svc-pack__item-title { font-size: 18px; font-weight: 700; color: var(--color-primary); margin: 24px 28px 6px; }
.p-svc-pack__item-catch,
.p-svc-pack__item-desc,
.p-svc-pack__item-spec { margin-left: 28px; margin-right: 28px; }
.p-svc-pack__item-spec { margin-bottom: 28px; }
.p-svc-pack__item-catch { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.p-svc-pack__item-desc { font-size: 14px; color: var(--color-text-light); margin-bottom: 14px; }
.p-svc-pack__item-spec { font-size: 12px; color: var(--color-text-light); padding-top: 12px; border-top: 1px solid var(--color-line); }

.p-svc-pack__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.p-svc-pack__sub { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.p-svc-list li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 14px; }
.p-svc-list li::before { content: "・"; position: absolute; left: 4px; color: var(--color-primary); }
.p-svc-list--check li::before { content: "◯"; left: 0; font-size: 12px; top: 2px; }
.p-svc-pack__effect .c-lead { margin-top: 16px; font-size: 14px; }

/* 追加オプション ＋ 制作の流れ（2カラム） */
.p-svc-lower__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.p-svc-option__list { display: block; }
.p-svc-option__item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.p-svc-option__name { font-size: 15px; position: relative; padding-left: 20px; }
.p-svc-option__name::before { content: "○"; position: absolute; left: 0; color: var(--color-primary); font-size: 12px; }
.p-svc-option__price { font-family: var(--font-en); font-weight: 700; color: var(--color-primary); white-space: nowrap; }

/* 制作の流れ */
.p-svc-flow__steps { margin: 0; }
.p-svc-flow__step { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.p-svc-flow__step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--color-line); }
.p-svc-flow__num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-family: var(--font-en); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.p-svc-flow__title { font-size: 16px; margin-bottom: 4px; padding-top: 10px; }
.p-svc-flow__desc { font-size: 14px; color: var(--color-text-light); }

/* =========================================================
   About ページ
   ========================================================= */
.p-about-hero { padding-bottom: 0; }
.p-about-hero__lead { margin-top: 20px; }

/* 会社概要 */
.p-company__list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--color-line); }
.p-company__row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--color-line); }
.p-company__row dt { font-weight: 700; font-size: 15px; }
.p-company__row dd { margin: 0; color: var(--color-text-light); }
.p-company__biz { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.p-company__biz li { position: relative; padding-left: 18px; }
.p-company__biz li::before { content: "○"; position: absolute; left: 0; color: var(--color-primary); font-size: 11px; top: 4px; }

/* メンバー（PCでは約70%幅・間延び防止） */
.p-members__list { display: flex; flex-direction: column; gap: 40px; max-width: 70%; margin: 0 auto; }
.p-members__sub-head { margin-top: 72px; }
.p-member { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--color-line); }
.p-member__photo { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--color-bg-pale); }
.p-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.p-member__role { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.04em; color: var(--color-primary); font-weight: 600; margin-bottom: 8px; }
.p-member__name { font-size: 24px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.p-member__kana { font-size: 13px; font-weight: 400; color: var(--color-text-light); }
.p-member__profile { font-size: 14px; color: var(--color-text-light); line-height: 1.9; }
.p-member__extra { font-size: 13px; color: var(--color-primary); margin-top: 12px; }
.p-member__certs { display: flex; gap: 16px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.p-member__cert { display: inline-block; transition: opacity var(--transition); }
.p-member__cert img { width: 110px; height: auto; }
.p-member__cert:hover { opacity: 0.8; }
.p-member__hobby { font-size: 13px; color: var(--color-text-light); margin-top: 16px; }
.p-member__hobby span { display: inline-block; font-weight: 700; color: var(--color-text); margin-right: 10px; }
.p-member__links { display: flex; gap: 18px; margin: 16px 0 20px; align-items: center; }
.p-member__links a { display: inline-flex; }
.p-member__links a:hover { opacity: 0.6; }
.p-member__sns-icon { height: 26px; width: auto; object-fit: contain; transition: opacity var(--transition); }

/* サポートメンバーはコンパクトに2カラム */
.p-members__list--support { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.p-member--support { grid-template-columns: 120px 1fr; gap: 24px; padding-bottom: 0; border-bottom: none; }
.p-member--support .p-member__name { font-size: 20px; }

/* =========================================================
   Contact ページ
   ========================================================= */
/* ヒーロー（中央揃え・画像なし） */
.p-contact-hero { text-align: center; padding-bottom: 0; }
.p-breadcrumb--center { text-align: center; }
.p-contact-hero__title { font-family: var(--font-jp); font-weight: 300; margin: 8px 0 56px; }
.p-contact-hero__copy { margin: 0 0 24px; }
.p-contact-hero__lead { color: var(--color-text-light); }

/* 安心材料エリア */
.p-assure { padding-block: 48px; }
.p-assure__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: var(--color-bg-pale); border-radius: var(--radius-lg); padding: 40px; }
.p-assure__item { display: flex; gap: 16px; align-items: flex-start; }
.p-assure__icon { flex-shrink: 0; width: 40px; height: 40px; color: var(--color-primary); }
.p-assure__icon svg { width: 100%; height: 100%; }
.p-assure__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.p-assure__desc { font-size: 13px; color: var(--color-text-light); line-height: 1.8; }

/* フォーム本体カード */
.p-form { padding-top: 24px; }
.p-form__card { max-width: none; margin: 0 auto; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 56px; }

/* 直接連絡 ＋ お約束 */
.p-contact-lower__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.p-direct { background: var(--color-primary); color: #fff; border-radius: var(--radius-lg); padding: 48px; }
.p-direct__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.p-direct__icon { flex-shrink: 0; width: 44px; height: 44px; }
.p-direct__icon svg { width: 100%; height: 100%; }
.p-direct__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.p-direct__lead { font-size: 13px; opacity: 0.9; }
.p-direct__list li { border-top: 1px solid rgba(255,255,255,0.25); }
.p-direct__list a { display: flex; align-items: center; gap: 14px; padding: 16px 0; font-family: var(--font-en); font-size: 18px; font-weight: 700; flex-wrap: wrap; }
.p-direct__label { font-size: 11px; letter-spacing: 0.1em; background: rgba(255,255,255,0.2); padding: 3px 10px; border-radius: var(--radius-pill); font-weight: 600; }
.p-direct__note { font-family: var(--font-jp); font-size: 12px; font-weight: 400; opacity: 0.9; }

.p-promise { background: var(--color-bg-pale); border-radius: var(--radius-lg); padding: 48px; }
.p-promise__title { font-family: var(--font-mincho); font-size: 22px; font-weight: 600; margin-bottom: 24px; }
.p-promise__list li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--color-line); font-size: 15px; }
.p-promise__list li:last-child { border-bottom: none; }
.p-promise__list li::before { content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 7px; height: 13px; border-right: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary); }

/* Contact Form 7（フォーム本体） */
.p-form__card .wpcf7-form { font-size: 15px; }

/* セクション（番号＋見出し 左／入力 右） */
.c-form__section { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--color-line); }
.c-form__section:first-of-type { border-top: none; padding-top: 0; }
.c-form__head { display: flex; gap: 14px; align-items: flex-start; }
.c-form__num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--color-bg-pale); color: var(--color-primary); font-family: var(--font-en); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.c-form__sec-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.c-form__sec-note { font-size: 12px; color: var(--color-text-light); line-height: 1.7; }

/* 入力フィールド */
.c-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.c-form__row + .c-form__row { margin-top: 20px; }
.c-form__field { display: block; }
.c-form__field.is-full { grid-column: 1 / -1; }
.c-form__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.c-form__req { color: #d9534f; font-size: 11px; margin-left: 6px; }
.c-form__opt { color: var(--color-text-light); font-size: 11px; margin-left: 6px; font-weight: 400; }
.p-form__card input[type="text"],
.p-form__card input[type="email"],
.p-form__card input[type="tel"],
.p-form__card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.p-form__card input:focus,
.p-form__card textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99,164,194,0.12); }
.p-form__card textarea { min-height: 150px; resize: vertical; }

/* カード型の選択肢（ラジオ／チェックボックス） */
.p-form__card .wpcf7-checkbox,
.p-form__card .wpcf7-radio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.p-form__card .wpcf7-list-item { margin: 0; }
.p-form__card .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}
.p-form__card .wpcf7-list-item label:hover { border-color: var(--color-primary); }
.p-form__card .wpcf7-list-item input { accent-color: var(--color-primary); width: 16px; height: 16px; }
/* 選択中（:has 対応ブラウザ） */
.p-form__card .wpcf7-list-item label:has(input:checked) { border-color: var(--color-primary); background: var(--color-bg-pale); }

/* プライバシー文・送信ボタン */
.c-form__privacy { text-align: center; font-size: 13px; color: var(--color-text-light); margin: 32px 0 20px; }
.c-form__privacy a { color: var(--color-primary); text-decoration: underline; }
.c-form__submit { text-align: center; }
.p-form__card .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  justify-content: center;
  padding: 17px 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.p-form__card .wpcf7-submit:hover { background: var(--color-primary-dark); }

/* バリデーション */
.p-form__card .wpcf7-not-valid-tip { color: #d9534f; font-size: 12px; margin-top: 6px; }
.p-form__card .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; }

/* =========================================================
   共用：見出し装飾ライン
   ========================================================= */
.c-deco {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin: 16px auto 0;
}
.c-deco--left { margin-left: 0; }

/* =========================================================
   Philosophy ページ — Our Values（4カラム）
   ========================================================= */
.p-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.p-values__card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.p-values__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-pale);
  color: var(--color-primary);
  margin-bottom: 20px;
}
.p-values__icon svg { width: 32px; height: 32px; display: block; }
.p-values__title { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.p-values__desc { font-size: 13px; color: var(--color-text-light); line-height: 1.9; }

/* =========================================================
   Philosophy ページ — Philosophy in Action（2カラム）
   ========================================================= */
.p-phil-action { background: #fff; }
/* 背景ユーティリティ（薄い水色） */
.u-bg-pale { background: var(--color-bg-pale); }
.p-phil-action__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.p-phil-action__body { padding-block: 24px; }
.p-phil-action__body .c-lead { margin-top: 24px; line-height: 2; }
.p-phil-action__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.p-phil-action__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   Philosophy ページ — Our Commitment（3カラム）
   ========================================================= */
.p-commit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.p-commit__item { display: flex; flex-direction: column; gap: 12px; }
.p-commit__icon { color: var(--color-primary); }
.p-commit__icon svg { width: 32px; height: 32px; display: block; }
.p-commit__title { font-size: 16px; font-weight: 700; }
.p-commit__desc { font-size: 13px; color: var(--color-text-light); line-height: 1.9; }

/* =========================================================
   Tablet（768〜1023px）
   ========================================================= */
@media (max-width: 1023px) {
  :root { --gutter-pc: 40px; --section-gap-pc: 88px; }
  .p-service__list { grid-template-columns: repeat(2, 1fr); }
  .p-service__card:nth-child(n) { grid-column: auto; }
  .p-works__list { grid-template-columns: repeat(3, 1fr); }
  .p-lower__inner { grid-template-columns: 1fr; gap: 64px; }

  /* ヒーロー: タブレットは見切れ解除して通常2カラム */
  .p-hero { min-height: 0; display: block; overflow: hidden; }
  .p-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .p-hero__body { max-width: none; padding-block: 64px; }
  .p-hero__visual { position: static; inset: auto; aspect-ratio: 5 / 4; }
  .p-hero__copy { font-size: 40px; }
  /* Philosophy */
  .p-values__grid { grid-template-columns: repeat(2, 1fr); }
  .p-phil-action__inner { grid-template-columns: 1fr; }
  .p-phil-action__img { order: -1; }
}

/* =========================================================
   SP（〜767px）
   ========================================================= */
@media (max-width: 767px) {
  :root { --section-gap-pc: 72px; }
  .l-container { padding-inline: var(--gutter-sp); }
  .l-header__inner { height: 64px; padding-inline: var(--gutter-sp); }
  .l-header__logo img { height: 30px; }
  /* backdrop-filter は position:fixed の基準枠(containing block)を作り、
     ドロワーがヘッダー高さに潰れてしまうため SP では無効化する */
  .l-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* ===== ドロワー型モバイルメニュー ===== */
  .l-hamburger { display: flex; z-index: 110; }
  .is-nav-open .l-hamburger { opacity: 0; pointer-events: none; }

  /* 背景の暗幕（タップで閉じる） */
  .l-nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 24, 28, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 120;
  }
  .is-nav-open .l-nav__overlay { opacity: 1; visibility: visible; }

  /* パネル本体（右からスライドイン） */
  .l-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 80%;
    max-width: 380px;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 130;
    overflow-y: auto;
    padding: 22px 26px 40px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  }
  .is-nav-open .l-nav { transform: none; }

  /* 閉じる × */
  .l-nav__close {
    display: block;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
  }

  /* メニュー項目（英語＋日本語サブ＋シェブロン） */
  .l-nav__sp-only { display: block; }
  .l-nav__list { flex-direction: column; gap: 0; align-items: stretch; }
  .l-nav__list > li { border-bottom: 1px solid var(--color-line); }
  .l-nav__list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 6px;
  }
  .l-nav__label { display: flex; flex-direction: column; gap: 3px; }
  .l-nav__ja { display: block; font-family: var(--font-jp); font-size: 12px; color: var(--color-text-light); }
  .l-nav__list .l-nav__en { font-family: var(--font-en); font-size: 21px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; }
  /* シェブロン（Contact以外） */
  .l-nav__list > li:not(.l-nav__cta) > a::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid var(--color-text-light);
    border-right: 1.5px solid var(--color-text-light);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  /* Contact（青の塗りカード） */
  .l-nav__cta { border-bottom: none; margin-top: 22px; }
  .l-nav__cta .c-btn {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 22px;
    border-radius: 12px;
  }
  .l-nav__cta .c-btn::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: rotate(45deg);
    flex-shrink: 0;
  }
  .l-nav__cta .l-nav__en { font-size: 17px; }
  .l-nav__cta .l-nav__ja { color: rgba(255, 255, 255, 0.85); }

  /* フッター（SNS・リンク・コピーライト） */
  .l-nav__foot { display: block; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--color-line); }
  .l-nav__sns { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
  .l-nav__sns img { width: 26px; height: 26px; object-fit: contain; }
  .l-nav__sns .l-nav__sns-wide { width: auto; height: 26px; }
  .l-nav__sns a:hover img { opacity: 0.6; }
  .l-nav__links { font-size: 12px; color: var(--color-text-light); }
  .l-nav__links a { color: var(--color-text-light); }
  .l-nav__links a:hover { color: var(--color-primary); }

  .is-nav-open { overflow: hidden; }

  /* Hero（SPは縦積み・見切れ解除） */
  .p-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .p-hero__body { padding-block: 0; }
  .p-hero__visual { position: static; inset: auto; aspect-ratio: 5 / 4; margin-top: 28px; }
  .p-hero__side { display: none; }
  .p-hero__copy { font-size: 30px; }
  /* TOP: モバイルはタイトル縮小・左パディング解除（ラベル非表示のため） */
  .p-hero--top .p-hero__copy { font-size: 26px; }
  .p-hero--top .p-hero__content { padding-left: var(--gutter-sp); }
  .p-hero__btns { flex-wrap: wrap; }

  /* About / Philosophy */
  .p-about__inner,
  .p-philosophy__inner { grid-template-columns: 1fr; gap: 28px; }
  .p-about__body { padding-top: 0; }

  /* Service / Works */
  .p-service__list { grid-template-columns: 1fr; }
  .p-works__list { grid-template-columns: repeat(2, 1fr); }
  .p-service__card:nth-child(n) { grid-column: auto; }
  .p-works__head { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* News */
  .p-news__more { position: static; display: inline-flex; margin-top: 8px; }

  /* 見出し */
  .c-heading { font-size: 24px; }
  .p-cta__heading { font-size: 22px; }
  .p-faq__question { font-size: 15px; }

  /* CTAバナー（SPは縦積み・画像上） */
  .p-cta__banner { grid-template-columns: 1fr; }
  .p-cta__img { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
  .p-cta__text { padding: 40px 28px; }
  .p-hero__copy { font-size: 30px; }

  /* Footer */
  .l-footer__inner { grid-template-columns: 1fr; gap: 28px; }

  /* Service ページ */
  .p-price__list,
  .p-reason__list,
  .p-svc-pack__items { grid-template-columns: 1fr; }
  .p-svc-pack__cols { grid-template-columns: 1fr; gap: 32px; }
  .p-svc-lower__inner { grid-template-columns: 1fr; gap: 48px; }
  .p-svc-pack__amount { font-size: 32px; }

  /* Contact ページ */
  .p-assure__list { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .p-form__card { padding: 28px 20px; }
  .c-form__section { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .c-form__row { grid-template-columns: 1fr; gap: 16px; }
  .p-form__card .wpcf7-checkbox,
  .p-form__card .wpcf7-radio { grid-template-columns: 1fr; }
  .p-contact-lower__inner { grid-template-columns: 1fr; gap: 24px; }
  .p-direct, .p-promise { padding: 32px 24px; }
  .p-form__card .wpcf7-submit { width: 100%; }

  /* Philosophy ページ */
  .p-values__grid { grid-template-columns: 1fr; }
  .p-commit__grid { grid-template-columns: 1fr; }

  /* About ページ */
  .p-company__row { grid-template-columns: 1fr; gap: 8px; }
  .p-members__list { max-width: none; }
  .p-member { grid-template-columns: 1fr; gap: 20px; }
  .p-member__photo { max-width: 200px; }
  .p-members__list--support { grid-template-columns: 1fr; }
  .p-member--support { grid-template-columns: 100px 1fr; }

}


/* =========================================================
   Works フィルター
   ========================================================= */
.p-works-filter__wrap { background: var(--color-bg-pale); padding: 28px 0; }
.p-works-filter__nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.p-works-filter__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1.3;
  cursor: pointer;
}
.p-works-filter__btn:hover,
.p-works-filter__btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.p-works-filter__btn--all {
  flex-direction: row;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.p-works-filter__icon { display: block; }
.p-works-filter__icon svg { width: 22px; height: 22px; display: block; }
.p-works-filter__name { font-size: 12px; font-weight: 700; }
.p-works-filter__sub  { font-size: 11px; opacity: 0.75; }

/* =========================================================
   Pagination
   ========================================================= */
.c-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.c-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.c-pagination a.page-numbers:hover { background: var(--color-bg-pale); }
.c-pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
}
.c-pagination .page-numbers.dots { width: auto; padding: 0 4px; }

/* Works フィルター SP（ベーススタイルより後に記述してカスケードを正しく保つ） */
@media (max-width: 767px) {
  .p-works-filter__nav { gap: 6px; }
  .p-works-filter__btn { padding: 8px 12px; }
  .p-works-filter__btn--all { padding: 10px 20px; }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .p-price__list,
  .p-reason__list,
  .p-svc-pack__items { grid-template-columns: repeat(2, 1fr); }
  /* タブレット（2列）最終行に1枚のとき → 幅を半分に保ちつつ中央揃え */
  .p-price__card:last-child:nth-child(2n + 1) {
    grid-column: 1 / span 2;
    justify-self: center;
    width: calc(50% - 12px);
  }
}

/* PC（3列）最終行に1枚のとき → 中央列（column 2）に配置して視覚的センタリング */
@media (min-width: 1024px) {
  .p-price__card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* FAQ フィルター・Hero SP オーバーライド（ベーススタイルより後に記述） */
@media (max-width: 767px) {
  .p-faq-filter__nav { gap: 4px; }
  .p-faq-filter__btn { padding: 10px 10px; }
  .p-faq-filter__btn--all { padding: 10px 14px; }
  .p-faq-filter__name { font-size: 11px; }
  .p-hero--center .p-hero__body { padding-block: 40px; }
}

/* =========================================================
   Works 詳細（single-works）
   ========================================================= */

/* Hero: 背景画像モディファイア */
.p-hero--bg {
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-pale);
}
.p-hero--bg .p-hero__visual { display: none; }
.p-hero--bg .p-hero__body {
  max-width: 720px;
  padding-block: 100px;
}
.p-hero--bg .p-hero__copy,
.p-hero--bg .p-hero__lead { color: #fff; }
.p-hero--bg .c-label { color: rgba(255, 255, 255, 0.85); }

.p-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 100%
  );
  z-index: 1;
}

/* パンくず */
.p-breadcrumb {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 16px;
}
.p-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.p-breadcrumb a:hover { color: var(--color-primary); }
.p-hero--bg .p-breadcrumb { color: rgba(255, 255, 255, 0.7); }
.p-hero--bg .p-breadcrumb a:hover { color: #fff; }

/* Project Info */
.p-wsingle__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.p-wsingle__cat {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.p-wsingle__desc {
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 680px;
}
.p-wsingle__url-btn { margin-top: 8px; }

/* 投稿内ボタン（VK Blocks）をサイト共通のピル型ボタンに揃える */
.p-wsingle__vk-btn { margin-top: 8px; }
.p-wsingle__vk-btn .vk_button { margin: 0; }
.p-wsingle__vk-btn .vk_button_link.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px !important;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-primary) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px !important;
  line-height: 1;
  box-shadow: none;
  transition: background var(--transition);
}
.p-wsingle__vk-btn .vk_button_link.btn:hover { background: var(--color-primary-dark) !important; }
.p-wsingle__vk-btn .vk_button_link_caption { display: inline-flex; align-items: center; }
.p-wsingle__vk-btn .vk_button_link_txt { font-weight: 600; font-size: 15px; }
.p-wsingle__vk-btn .vk_button_link.btn::after { content: "→"; }

/* Gallery */
.p-wsingle__gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.p-wsingle__gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--color-bg-pale);
}
.p-wsingle__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.p-wsingle__gallery-item:hover img { transform: scale(1.03); }

/* 一覧へ戻る */
.p-wsingle__back { text-align: center; }
.p-wsingle__back .c-btn::before { content: "←"; }
.p-wsingle__back .c-btn::after { content: none; }

/* Related Works */
.p-wsingle__related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  list-style: none;
  margin-top: 32px;
}

/* ---- SP / Tablet ---- */
@media (max-width: 767px) {
  .p-hero--bg .p-hero__body { padding-block: 56px; }
  .p-wsingle__gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .p-wsingle__related-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .p-wsingle__gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .p-wsingle__related-grid  { grid-template-columns: repeat(3, 1fr); }
  /* タブレットは3カラム → 4件目を隠して3件ぴったりに */
  .p-wsingle__related-grid .p-works__card:nth-child(4) { display: none; }
  /* Top の Works はタブレットで4件目を隠して3件に */
  .p-works .p-works__list .p-works__card:nth-child(4) { display: none; }
}

/* =========================================================
   プライバシーポリシー
   ========================================================= */
.p-policy__body { max-width: 800px; margin: 0 auto; }
.p-policy__intro { margin-bottom: 48px; line-height: 1.9; }
.p-policy__section { margin-bottom: 40px; }
.p-policy__heading { font-family: var(--font-jp); font-size: 18px; font-weight: 500; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--color-line); }
.p-policy__section p { line-height: 1.9; }
.p-policy__section p + p { margin-top: 1em; }
.p-policy__list { list-style: disc; padding-left: 1.4em; margin-top: 0.8em; line-height: 1.9; }
.p-policy__list li + li { margin-top: 4px; }
.p-policy__contact { margin-top: 12px; line-height: 2; }
.p-policy__contact a { color: var(--color-primary); text-decoration: underline; }
.p-policy__date { margin-top: 48px; font-size: 14px; color: var(--color-text-light); text-align: right; }

/* =========================================================
   ライトボックス（Works ギャラリー）
   ========================================================= */
.c-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.c-lightbox.is-open { opacity: 1; visibility: visible; }
.is-lightbox-open { overflow: hidden; }
.c-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.c-lightbox__close,
.c-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
}
.c-lightbox__close:hover,
.c-lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.c-lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.c-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 32px;
  line-height: 1;
}
.c-lightbox__nav--prev { left: 20px; }
.c-lightbox__nav--next { right: 20px; }
@media (max-width: 767px) {
  .c-lightbox { padding: 48px 12px; }
  .c-lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
  .c-lightbox__nav--prev { left: 8px; }
  .c-lightbox__nav--next { right: 8px; }
}
