/* Generated by build-patterns — do not edit */

.AudienceValueProps__section {
  position: relative;
  padding: 0;
}

.AudienceValueProps__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.AudienceValueProps__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(25, 87, 92, 0.72);
}

.AudienceValueProps__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: clamp(48px, 6vh, 96px) clamp(24px, 8vw, 160px);
}

.AudienceValueProps__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1000px;
  margin-right: auto;
}

.AudienceValueProps__heading {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
}

.AudienceValueProps__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.AudienceValueProps__eyebrowLabel {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.AudienceValueProps__eyebrowLine {
  flex: 1;
  height: 2px;
  background: #fafafa;
}

.AudienceValueProps__intro {
  margin: 0;
  color: #eee;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.7;
}

.AudienceValueProps__items {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.AudienceValueProps__item {
  display: flex;
  align-items: center;
  gap: 64px;
}

.AudienceValueProps__itemReverse {
  flex-direction: row-reverse;
}

.AudienceValueProps__itemImage {
  flex: none;
  width: min(40%, 720px);
  height: auto;
  margin: 0;
}

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

.AudienceValueProps__itemBody {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.AudienceValueProps__itemNumber {
  margin: 0 0 -16px;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}

.AudienceValueProps__itemTitle {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
}

.AudienceValueProps__itemText {
  margin: 0;
  color: #eee;
  opacity: 0.9;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .AudienceValueProps__item,
  .AudienceValueProps__itemReverse {
    flex-direction: column;
    gap: 24px;
  }

  .AudienceValueProps__itemImage {
    width: 100%;
  }

  .AudienceValueProps__intro {
    font-size: 16px;
  }

  .AudienceValueProps__itemNumber {
    font-size: 32px;
  }

  .AudienceValueProps__itemText {
    font-size: 16px;
  }
}

.BusinessDetailHero__section {
  padding: clamp(48px, 8vw, 120px) 0 0 clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.BusinessDetailHero__titleRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.BusinessDetailHero__title {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.BusinessDetailHero__titleLabel {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.BusinessDetailHero__card {
  position: relative;
  width: 100%;
  border: 2px solid #111;
  border-right: none;
  padding: 0;
  margin-bottom: clamp(48px, 8vw, 120px);
  min-height: auto;
}

.BusinessDetailHero__card .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/*
 * 背景画像を暗く落とすための覆い。エディターで編集する領域に装飾用の
 * 空要素を置くとカスタムHTMLブロックになってしまうため擬似要素で描く。
 * 内側のコンテンツは .wp-block-cover__inner-container 側で z-index: 1。
 */
.BusinessDetailHero__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(11, 31, 59, 0.55);
}

.BusinessDetailHero__cardContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 10vw, 160px) clamp(48px, 6vw, 80px) clamp(24px, 6vw, 80px);
}

.BusinessDetailHero__tagline {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
  letter-spacing: 0.25em;
}

.BusinessDetailHero__description {
  margin: 0;
  color: #eee;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
}

.BusinessDetailServices__section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 160px);
}

.BusinessDetailServices__headerBlock {
  display: flex;
  flex-direction: column;
}

.BusinessDetailServices__heading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
}

.BusinessDetailServices__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.BusinessDetailServices__eyebrowLabel {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
}

/* ラベル右側に伸びる罫線。装飾用の空要素を置かず擬似要素で描く。 */
.BusinessDetailServices__eyebrowRow::after {
  content: '';
  flex: 1;
  height: 2px;
  background: #111;
}

.BusinessDetailServices__description {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

.BusinessDetailServices__layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.BusinessDetailServices__sidebar {
  position: sticky;
  top: 88px;
  flex: none;
  width: clamp(280px, 33vw, 640px);
  height: calc(100vh - 112px);
  min-height: 560px;
  padding: 0;
  outline: 2px solid #111;
  outline-offset: -2px;
}

.BusinessDetailServices__sidebarImages {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.BusinessDetailServices__sidebarImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.BusinessDetailServices__sidebarImage[data-active="true"] {
  opacity: 1;
}

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

.BusinessDetailServices__sidebar .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.BusinessDetailServices__sidebarList {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #fff;
  outline: 1px solid #eee;
  outline-offset: -1px;
}

.BusinessDetailServices__sidebarItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: none;
  background: none;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.BusinessDetailServices__sidebarItem[data-active="true"] {
  background: #4eb9c1;
}

.BusinessDetailServices__sidebarNumber,
.BusinessDetailServices__sidebarLabel {
  margin: 0;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.25s ease;
}

.BusinessDetailServices__sidebarItem[data-active="true"] .BusinessDetailServices__sidebarNumber,
.BusinessDetailServices__sidebarItem[data-active="true"] .BusinessDetailServices__sidebarLabel {
  color: #fff;
}

.BusinessDetailServices__cards {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.BusinessDetailServices__card {
  position: relative;
  padding: 32px;
  background: #fff;
  outline: 2px solid #111;
  outline-offset: -2px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.BusinessDetailServices__card[data-active="true"] {
  padding-left: 48px;
  background: #f9fafb;
}

/*
 * 左端のアクセントバー。カードはブロックエディターで編集する領域なので、
 * 装飾用の空要素を置かず擬似要素で描く(空のspanはカスタムHTMLブロックに
 * なってしまうため)。
 */
.BusinessDetailServices__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  background: #4cafb6;
  border: 2px solid #111;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.BusinessDetailServices__card[data-active="true"]::before {
  opacity: 1;
}

.BusinessDetailServices__cardHead {
  display: flex;
  align-items: center;
  gap: 16px;
}

.BusinessDetailServices__cardNumber {
  margin: 0;
  color: #4cafb6;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 56px;
}

.BusinessDetailServices__cardTag {
  margin: 0;
  padding: 4px 12px;
  background: #4eb9c1;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

.BusinessDetailServices__cardTitle {
  margin: 0;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
}

.BusinessDetailServices__cardBody {
  margin: 0;
  color: #333;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

/*
 * 固定ページ本文の通常編集幅(900px)では、2カラムの事業詳細ブロックが
 * 極端に狭くなり、長い見出しや本文が見切れる。事業詳細本文を含む編集画面
 * だけキャンバスを広げ、画像は重ねず一覧表示して選択・差し替えやすくする。
 */
:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper):has(.BusinessDetailServices__section) {
  width: 100%;
  max-width: none;
  padding: 32px clamp(24px, 4vw, 64px);
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__section {
  padding-right: 0;
  padding-left: 0;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__layout {
  flex-direction: column;
  align-items: stretch;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebar {
  position: relative;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 0;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebar > .wp-block-cover__image-background,
:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebar > .wp-block-cover__background {
  display: none;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebar .wp-block-cover__inner-container {
  height: auto;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebarImages {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 24px;
  overflow: visible;
  background: #f4f7fb;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebarImage,
:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebarImage[data-active] {
  position: relative;
  inset: auto;
  width: 100%;
  height: 180px;
  opacity: 1;
  transition: none;
  outline: 1px solid #d6dce5;
  outline-offset: -1px;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__sidebarList {
  position: relative;
  inset: auto;
  margin: 0 24px 24px;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) .BusinessDetailServices__cards {
  width: 100%;
}

@media (max-width: 900px) {
  .BusinessDetailServices__layout {
    flex-direction: column;
  }

  .BusinessDetailServices__sidebar {
    display: none;
  }

  .BusinessDetailServices__description {
    font-size: 16px;
  }

  .BusinessDetailServices__card {
    padding: 24px;
  }

  .BusinessDetailServices__card[data-active="true"] {
    padding-left: 32px;
  }

  .BusinessDetailServices__cardNumber {
    font-size: 28px;
  }

  .BusinessDetailServices__cardTitle {
    font-size: 18px;
  }

  .BusinessDetailServices__cardBody {
    font-size: 14px;
  }
}

/**
 * .section はスクロール量を確保するための背の高い外枠(高さはJSで付与)。
 * .pin がその中で画面に固定され続け、右のカードが1枚ずつ入れ替わる。
 */
.BusinessSection__section {
  position: relative;
}

.BusinessSection__pin {
  position: sticky;
  top: 0;
  height: 100lvh;
  padding: 0;
}

/**
 * .bg のクロップ専用ラッパー。.pin自体にoverflow:hiddenを付けると
 * SP版で.innerがpinより高くなる分(ボタンをstackスクロール完了まで
 * 隠しておくための余白)まで一緒に消えてしまうため、クロップ対象を
 * .bgだけに限定している。
 */
.BusinessSection__bgClip {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/**
 * inner の背景写真レイヤー。カードが下からせり上がってくる
 * タイミングに合わせて、同じ写真へ opacity の transition で切り替える。
 */
.BusinessSection__bg {
  position: absolute;
  /* blurのはみ出し(透明フチ)を.bgClipのoverflow:hiddenでクリップするため
     ビューポートより一回り大きく取る */
  inset: -24px;
}

.BusinessSection__bgLayer0,
.BusinessSection__bgLayer1,
.BusinessSection__bgLayer2,
.BusinessSection__bgLayer3,
.BusinessSection__bgLayer4 {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /*
   * backdrop-filterは背後を毎フレーム再サンプリングするため、5画面分
   * sticky表示され続けるこのセクションでは重くスクロールがカクつく原因に
   * なっていた。同じ見た目を、変化しない静的なfilter(コンポジタが
   * 使い回せる)で代替する。
   */
  filter: blur(6px);
  transition: opacity 0.9s ease;
}

.BusinessSection__bgLayer0 {
  background-image: url("../assets/images/top-about-us.webp");
  opacity: 1;
}

.BusinessSection__bgLayer1 {
  background-image: url("../assets/images/solution01.webp");
}

.BusinessSection__bgLayer2 {
  background-image: url("../assets/images/solution02.webp");
}

.BusinessSection__bgLayer3 {
  background-image: url("../assets/images/contact-cta.webp");
}

.BusinessSection__bgLayer4 {
  background-image: url("../assets/images/solution03.webp");
}

.BusinessSection__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.6);
}

.BusinessSection__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: clamp(40px, 6vw, 120px);
  width: 100%;
  height: 100%;
  padding: clamp(64px, 10vh, 120px) 0  0 clamp(48px, 8vh, 80px);
}

.BusinessSection__textCol {
  flex: none;
  width: min(500px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: clamp(64px, 10vh, 120px);
}

.BusinessSection__textTop {
  display: flex;
  flex-direction: column;
}

.BusinessSection__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.BusinessSection__eyebrowBar {
  display: inline-block;
  flex: 1;
  height: 2px;
  background: currentColor;
}

.BusinessSection__eyebrowLabel {
  margin: 0;
  color: currentColor;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  width: fit-content;
}

.BusinessSection__heading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 48px;
}

.BusinessSection__lead {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.8;
  margin-top: 32px;
}

/**
 * Figmaの指定は白抜き(#FAFAFA)outlineだが、このセクションは
 * 白いwash(60%)がかかった明るい背景のため、tone="light"(黒文字/黒枠)
 * に変更している。見出し・本文も黒基調なので、白のままだと視認できない。
 */
.BusinessSection__servicesButton.BusinessSection__servicesButton {
  width: 100%;
  max-width: 400px;
}

.BusinessSection__stack {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.BusinessSection__card0,
.BusinessSection__card1,
.BusinessSection__card2,
.BusinessSection__card3,
.BusinessSection__card4 {
  position: absolute;
  inset: 0;
  border: 2px solid #fafafa;
  will-change: transform;
  padding: 0;
}

.BusinessSection__card0 .wp-block-cover__inner-container,
.BusinessSection__card1 .wp-block-cover__inner-container,
.BusinessSection__card2 .wp-block-cover__inner-container,
.BusinessSection__card3 .wp-block-cover__inner-container,
.BusinessSection__card4 .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* 後のカードほど手前(高z-index)。下からせり上がって前のカードに重なる。 */
.BusinessSection__card0 {
  z-index: 1;
}

.BusinessSection__card1 {
  z-index: 2;
}

.BusinessSection__card2 {
  z-index: 3;
}

.BusinessSection__card3 {
  z-index: 4;
}

.BusinessSection__card4 {
  z-index: 5;
}

.BusinessSection__cardOverlay {
  position: absolute;
  inset: 0;
}

.BusinessSection__cardGradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 55%);
}

.BusinessSection__cardText {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
  padding: clamp(24px, 3vw, 40px);
}

.BusinessSection__cardTopRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.BusinessSection__cardBadge {
  margin: 0;
  padding: 8px 24px;
  outline: 2px solid #fafafa;
  outline-offset: -2px;
  backdrop-filter: blur(6px);
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 22px;
  white-space: nowrap;
}

.BusinessSection__cardEyebrow {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.BusinessSection__cardDescription {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.2em;
}

@media (max-width: 1200px) {
  .BusinessSection__inner {
    padding: 70px 0 0 40px;
  }

  .BusinessSection__textCol {
    width: 320px;
  }

  .BusinessSection__heading {
    font-size: 32px;
  }
}

@media (max-width: 920px) {
  .BusinessSection__section {
    --business-section-margin-bottom: 160px;

    margin-bottom: var(--business-section-margin-bottom);
  }

  .BusinessSection__inner {
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 40px 0 var(--business-section-margin-bottom) 16px;
    height: calc(100lvh + var(--business-section-margin-bottom));
  }

  .BusinessSection__textTop {
    padding-right: 16px;
  }

  .BusinessSection__textCol {
    width: 100%;
    flex: none;
    gap: 24px;
    padding: 0;
    display: contents;
  }

  /*
   * SPは画面幅が狭くstackが縦長になるぶん、leadの下で止まらず
   * leadの上端まで完全に被さるようにする。leadの高さぶんだけ
   * stackを押し下げないよう、高さだけ0にしてoverflow:visibleで
   * テキスト自体は同じ位置に描画されたままにする(margin-topは
   * そのまま残すことで、stackの上端がleadの視覚上の開始位置と
   * ぴったり揃う)。
   */
  .BusinessSection__lead {
    height: 0;
    overflow: visible;
    font-size: 16px;
  }

  .BusinessSection__stack {
    width: 100%;
  }

  .BusinessSection__cardText {
    max-width: 100%;
  }

  .BusinessSection__servicesButton.BusinessSection__servicesButton {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);

    &:hover,
    &:focus-visible {
      transform: translateX(-50%) translateY(-2px);
    }
  }
}

@media (max-width: 768px) {
  .BusinessSection__section {
    --business-section-margin-bottom: 92px;
  }

  .BusinessSection__heading {
    font-size: 24px;
  }

  .BusinessSection__eyebrowLabel {
    font-size: 14px;
  }

  .BusinessSection__servicesButton.BusinessSection__servicesButton {
    width: calc(100% - 32px);
  }

  .BusinessSection__cardBadge {
    font-size: 14px;
    padding: 8px 13px;
    outline-width: 1px;
  }

  .BusinessSection__cardEyebrow {
    font-size: 13px;
  }

  .BusinessSection__cardDescriptionWrapper {
    &::before {
      content: "";
      position: absolute;
      inset: -5px;
      left: -8px;
      filter: blur(2px);
      background: rgba(0, 0, 0, 0.5);
    }
  }

  .BusinessSection__cardDescription {
    font-size: 16px;
    z-index: 1;
  }

  .BusinessSection__servicesButton.BusinessSection__servicesButton {
    bottom: 16px;
  }
}
.Button__button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.Button__button:hover,
.Button__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 59, 0.16);
}

/*
 * カード全域を覆うストレッチリンクにする。グローバルリセット(style.css)が
 * 全要素にposition:relativeを当てているため、ボタン自身はstaticに戻し、
 * ::beforeの絶対配置が祖先の position:relative な要素(カード)まで
 * 広がるようにする。アイコンは::afterを使っているので::beforeを使う。
 */
.Button__stretched {
  position: static;
}

.Button__stretched::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.Button__button::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

/* pill: 半透明の白背景に暗い文字。ヒーロー等の写真の上に載せる小さいボタン。 */
.Button__pill {
  gap: 6px;
  width: fit-content;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.8);
  outline: 2px solid #111;
  outline-offset: -2px;
  backdrop-filter: blur(8px);
  color: #0b1f3b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
}

/* ホバー時は背景色と文字色を反転する(元の文字色を背景に、コントラストの取れる白黒を文字に)。 */
.Button__pill:hover,
.Button__pill:focus-visible {
  background: #0b1f3b;
  color: #fff;
}

.Button__pill::after {
  width: 12px;
  height: 12px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* pillDark: 黒半透明の背景に白文字。「VIEW MORE」等、写真カードの中の小さいボタン。 */
.Button__pillDark {
  gap: 6px;
  width: fit-content;
  padding: 4px 20px 4px 24px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.Button__pillDark:hover,
.Button__pillDark:focus-visible {
  background: #fff;
  color: #111;
}

.Button__pillDark::after {
  width: 12px;
  height: 12px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* boxOutline: 枠線のみの大きいCTA(セクション末尾の「もっと見る」等)。toneで色を切り替える。 */
.Button__boxOutline {
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 400px);
  min-height: 72px;
  padding: 20px 24px;
  outline: 2px solid currentColor;
  outline-offset: -2px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
}

.Button__boxOutline::after {
  width: 20px;
  height: 20px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.Button__toneDark {
  color: #fafafa;
}

.Button__toneLight {
  color: #111;
}

/*
 * boxOutlineは背景が透過なので、ホバー時は元の文字色(#fafafa/#111)を
 * そのまま背景にし、視認性が保たれるよう反対色(黒/白)を文字色にする。
 */
.Button__boxOutline.Button__toneDark:hover,
.Button__boxOutline.Button__toneDark:focus-visible {
  background: #fafafa;
  color: #111;
}

.Button__boxOutline.Button__toneLight:hover,
.Button__boxOutline.Button__toneLight:focus-visible {
  background: #111;
  color: #fafafa;
}

/*
 * filledAccent: アクセントカラー塗りつぶしのCTA(相談・お問い合わせ導線)。
 * Figma「Link-button-custom」の無料相談ボタンに合わせ、枠線なしの
 * 塗りつぶしのみにしている。
 */
.Button__filledAccent {
  gap: 6px;
  padding: 24px 32px;
  background: #4cafb6;
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.Button__filledAccent:hover,
.Button__filledAccent:focus-visible {
  background: #fff;
  color: #111;
}

/*
 * 水平右向き矢印(→)。site-headerのpanelContactButtonアイコンと同じ形状で、
 * Figma「Link-button-custom」に合わせている。pill/pillDark/boxOutlineも
 * 同じ矢印(サイズのみ各バリアントに合わせて可変)。
 */
.Button__filledAccent::after {
  width: 24px;
  height: 24px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9H14M14 9L9.5 4.5M14 9L9.5 13.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
  .Button__boxOutline {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
    min-height: 56px;
    font-size: 14px;
  }

  .Button__boxOutline::after {
    width: 18px;
    height: 18px;
  }

  /* filledAccentはFigma「Link-button-custom」のSPサイズに合わせる。 */
  .Button__filledAccent {
    padding: 16px 16px 16px 24px;
    font-size: 16px;
  }
}

.ContactCtaSection__section {
  position: relative;
  width: 100%;
  padding: 0;
  min-height: auto;
}

.ContactCtaSection__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.ContactCtaSection__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(11, 31, 59, 0.7);
}

.ContactCtaSection__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  height: 100%;
  padding: clamp(32px, 6vw, 80px) clamp(24px, 8vw, 160px);
}

.ContactCtaSection__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ContactCtaSection__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ContactCtaSection__heading {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.ContactCtaSection__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ContactCtaSection__eyebrowLabel {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
}

.ContactCtaSection__eyebrowLine {
  width: 100%;
  height: 2px;
  background: #fafafa;
}

.ContactCtaSection__lead {
  margin: 0;
  max-width: 1000px;
  color: #eee;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.7;
}

.ContactCtaSection__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.ContactCtaSection__ctaButton {
  justify-content: center;
  height: 64px;
  padding: 16px 32px;
  box-sizing: border-box;
}

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

.ContactCtaSection__telButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  height: 64px;
  box-sizing: border-box;
  padding: 14px 48px 14px 24px;
  outline: 2px solid #fafafa;
  outline-offset: -2px;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.ContactCtaSection__telButton:hover,
.ContactCtaSection__telButton:focus-visible {
  background: #4cafb6;
  transform: translateY(-2px);
}

.ContactCtaSection__telLabel {
  font-weight: 700;
  font-size: 20px;
}

.ContactCtaSection__telNumber {
  font-weight: 700;
  font-size: 28px;
}

.ContactCtaSection__telHours {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 14px;
}

@media (max-width: 640px) {
  .ContactCtaSection__inner {
    padding: 24px;
  }

  .ContactCtaSection__headerBlock {
    gap: 0;
  }

  .ContactCtaSection__heading {
    font-size: 24px;
  }

  .ContactCtaSection__eyebrowLabel {
    font-size: 16px;
  }

  .ContactCtaSection__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

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

  .ContactCtaSection__telBlock {
    width: 100%;
  }

  .ContactCtaSection__telButton {
    justify-content: flex-start;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    white-space: nowrap;
  }

  /* Issue #4: SPでは電話番号ボタンの文字を小さくする(Figma仕様の固定20px/28pxより優先)。 */
  .ContactCtaSection__telLabel {
    font-size: 14px;
  }

  .ContactCtaSection__telNumber {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .ContactCtaSection__telNumber {
    font-size: 18px;
  }
}

.SectionTitle__root {
  width: fit-content;
  margin: 0;
}

.SectionTitle__label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.SectionTitle__title {
  width: fit-content;
  margin: 0;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(26px, 2vw, 32px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.WorksSection__section {
  margin-bottom: 80px;

  &::after {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 1920 / 132;
    background-image: url("../assets/images/round-bg.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    transform: scaleY(-1);
  }
}

.WorksSection__container {
  position: relative;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 80px) 0;
  background-image: url("../assets/images/repeat-noise-bg.webp");
  background-repeat: repeat;
}

.WorksSection__header {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 4px;
  align-items: end;
  max-width: 1600px;
  margin: 0 auto;
}

.WorksSection__headerMain {
  display: contents;
}

.WorksSection__heading {
  grid-column: 1 / 3;
  grid-row: 1;
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 48px);
}

.WorksSection__eyebrowRow {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
}

.WorksSection__eyebrowLabel {
  margin: 0;
  flex: none;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.WorksSection__nav {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
}

.WorksSection__navButtons {
  display: flex;
  gap: 4px;
}

.WorksSection__navButton {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 2px solid #111;
  color: #111;
  cursor: pointer;
}

.WorksSection__navButton:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.WorksSection__navIcon {
  display: block;
}

.WorksSection__headerRule {
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: center;
  width: 100%;
  border-bottom: 2px solid #111;
}

.WorksSection__track {
  margin-top: 80px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  max-width: 1600px;
  margin-inline: auto;
}

.WorksSection__railQuery {
  display: contents;
}

.WorksSection__buttonWrapper {
  max-width: 1632px;
  margin: 0 auto;
}

.WorksSection__rail > li {
  display: contents;
}

.WorksSection__rail {
  display: flex;
  gap: 32px;
  width: fit-content;
  max-width: 1632px;
  margin: 0 auto;
  padding: 0 clamp(0px, 1vw, 16px) 8px;
}

.WorksSection__card {
  position: relative;
  flex: 0 0 auto;
  width: min(400px, 78vw);
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-snap-align: start;
}

/*
 * カードのどこにホバーしても、画像のズームとVIEW MOREの配色反転を連動
 * させる。VIEW MOREは画像/抜粋とは別の独立したリンクになったため、
 * 自身がホバーされた時だけでなく.cardホバー時にも反転させる。
 */
.WorksSection__card:hover .WorksSection__cardImageMedia img,
.WorksSection__card:focus-within .WorksSection__cardImageMedia img {
  transform: scale(1.07);
}

/*
 * VIEW MOREは画像・タイトル・抜粋とは別のリンクなので、それらをホバー
 * してもボタン自身の:hoverは発火しない。Button(pillDark)のホバー見た目
 * (Button.module.css参照)をこちらからも同じく適用し、カードのどこを
 * 触っても画像のズームと一緒にボタンが連動して見えるようにする。
 */
.WorksSection__card:hover .WorksSection__viewMore.WorksSection__viewMore,
.WorksSection__card:focus-within .WorksSection__viewMore.WorksSection__viewMore {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 59, 0.16);
}

/* cardImageはWpPostLinkが生成する<a>タグそのものなので、display:blockで
   ブロックボックス化してaspect-ratio/overflowが効くようにする。 */
.WorksSection__cardImage {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border: 2px solid #111;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.WorksSection__cardExcerptLink {
  display: block;
  color: inherit;
  text-decoration: none;
}

.WorksSection__cardImageMedia {
  position: absolute;
  inset: 0;
  margin: 0;
}

.WorksSection__cardImageMedia a {
  display: block;
  width: 100%;
  height: 100%;
}

.WorksSection__cardImageMedia img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.WorksSection__cardCaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.WorksSection__cardCaptionTitle {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  white-space: nowrap;
}

/*
 * グローバルリセット(style.css)が全要素にposition:relativeを当てて
 * いるため、そのままだとVIEW MOREのストレッチリンクがこの要素までしか
 * 広がらない。staticに戻して.cardを基準にする。
 */
.WorksSection__cardBody {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.WorksSection__cardMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.WorksSection__cardTag {
  margin: 0;
  padding: 4px 12px;
  background: #4cafb6;
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

.WorksSection__cardTag a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.WorksSection__cardDate {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

.WorksSection__cardDescription {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  white-space: pre-line;
}

/* WorksSectionのdarkテーマ用に、共通pillDarkの配色(黒背景/白文字)を反転する。 */
.WorksSection__viewMoreDark {
  background: rgba(255, 255, 255, 0.9);
  color: #0b1f3b;
}

/*
 * pillDark:hoverの反転(白背景/黒文字)は、このdarkテーマ配色(白背景寄り/
 * 濃紺文字)とほぼ同色になり変化が分かりにくいため、resting stateの
 * 文字色(#0b1f3b)を背景に、白文字にする形で明示的に反転させる。
 */
.WorksSection__viewMoreDark.WorksSection__viewMoreDark:hover,
.WorksSection__viewMoreDark.WorksSection__viewMoreDark:focus-visible {
  background: #0b1f3b;
  color: #fff;
}

/* darkテーマではカードホバー連動も上記の反転色に合わせる(.viewMoreの打ち消し)。 */
.WorksSection__card:hover .WorksSection__viewMoreDark.WorksSection__viewMoreDark,
.WorksSection__card:focus-within .WorksSection__viewMoreDark.WorksSection__viewMoreDark {
  background: #0b1f3b;
  color: #fff;
}

.WorksSection__divider {
  max-width: 1600px;
  margin: 80px auto 0;
  height: 0;
  border-top: 2px solid #111;
}

.WorksSection__worksButton.WorksSection__worksButton {
  margin: clamp(32px, 4vw, 56px) auto 0;
  display: flex;
}

@media (max-width: 768px) {
  .WorksSection__container {
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 16px;
  }

  .WorksSection__header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
  }

  .WorksSection__heading {
    grid-column: 1 / 3;
    font-size: 28px;
  }

  .WorksSection__eyebrowRow {
    margin-bottom: auto;
    grid-column: 1;
    grid-row: 2;
  }

  .WorksSection__nav {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
  }

  .WorksSection__headerRule {
    display: none;
  }

  .WorksSection__track {
    margin-top: 28px;
  }

  .WorksSection__rail {
    gap: 20px;
  }

  .WorksSection__card {
    width: min(340px, calc(100vw - 40px));
  }

  .WorksSection__cardCaption {
    padding: 8px 16px;
  }

  .WorksSection__cardCaptionTitle {
    font-size: 16px;
  }

  .WorksSection__divider {
    margin-top: 40px;
  }
}

/*
 * ダークテーマ(企業紹介ページ等の暗い背景セクションで使用)。
 * 白背景/黒文字の各要素を反転させる。
 */
.WorksSection__dark {
  background-color: #000000;
  /* 丸み帯を外すとmargin-bottom分だけ白地が挟まってしまうため詰める */
  margin-bottom: 0;
}

/* 真っ黒な背景の上ではノイズテクスチャと丸み帯(::after)が浮いてしまうため外す */
.WorksSection__dark .WorksSection__container {
  background-image: none;
}

.WorksSection__dark::after {
  background-image: none;
}

.WorksSection__dark .WorksSection__heading,
.WorksSection__dark .WorksSection__eyebrowLabel {
  color: #fafafa;
}

.WorksSection__dark .WorksSection__divider {
  background: #fafafa;
}

.WorksSection__dark .WorksSection__headerRule {
  border-bottom-color: #fafafa;
}

.WorksSection__dark .WorksSection__divider {
  background: none;
  border-top-color: #fafafa;
}

.WorksSection__dark .WorksSection__cardImage {
  border-color: #fafafa;
}

.WorksSection__dark .WorksSection__cardDescription {
  color: #fafafa;
}

.about-greeting__section {
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 80px);
}

.about-greeting__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 1600px;
  margin: 0 auto;
}

.about-greeting__heading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 48px);
}

.about-greeting__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-greeting__eyebrowLabel {
  margin: 0;
  flex: none;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.about-greeting__eyebrowLine {
  flex: 1 1 0;
  height: 2px;
  background: #111;
}

.about-greeting__content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1600px;
  margin: clamp(32px, 4vw, 56px) auto 0;
}

.about-greeting__photo {
  flex: none;
  width: min(360px, 100%);
  aspect-ratio: 360 / 381;
  border: 2px solid #111;
  overflow: hidden;
}

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

.about-greeting__textColumn {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 小見出しと本文の間隔。段落同士(.bodyBlock)より広く取る。 */
.about-greeting__textBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*
 * 本文の段落同士の間隔。以前は<br /><br />で1行分(約31px)空けていて
 * 小見出しとの間より広くなっていたため、段落に分けてここで詰める。
 */
.about-greeting__bodyBlock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-greeting__subheading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 32px);
}

.about-greeting__body {
  margin: 0;
  color: #374151;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

.about-greeting__signatureBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-greeting__signatureDivider {
  display: block;
  height: 2px;
  background: #4cafb6;
}

.about-greeting__signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.about-greeting__signatureRole {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.about-greeting__signatureName {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 22px;
}

@media (max-width: 768px) {
  .about-greeting__body {
    font-size: 16px;
  }
}

.about-hero__section {
  position: relative;
  padding: 0;
}

.about-hero__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.about-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
}

.about-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(60px, 8vw, 144px) 0 clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px);
}

.about-hero__titleRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.about-hero__title {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.about-hero__titleLabel {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.about-hero__card {
  position: relative;
  padding: 0;
  border: 2px solid #111;
  min-height: auto;
}

.about-hero__card .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.about-hero__cardWash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.5) 52%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.about-hero__cardContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(32px, 5vw, 80px) clamp(24px, 8vw, 160px) clamp(32px, 5vw, 80px) clamp(24px, 4vw, 80px);
}

.about-hero__tagline {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.about-hero__description {
  margin: 0;
  color: #eee;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
}

.about-overview__section {
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 80px);
}

.about-overview__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 1600px;
  margin: 0 auto;
}

.about-overview__heading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 48px);
}

.about-overview__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-overview__eyebrowLabel {
  margin: 0;
  flex: none;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.about-overview__eyebrowLine {
  flex: 1 1 0;
  height: 2px;
  background: #111;
}

.about-overview__table {
  max-width: 1600px;
  margin: clamp(32px, 4vw, 56px) auto 0;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.about-overview__row {
  display: flex;
  background: #fff;
}

.about-overview__rowAlt {
  background: #f9fafb;
}

.about-overview__label {
  width: 320px;
  max-width: 100%;
  margin: 0;
  padding: 24px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  color: #0b1f3b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.about-overview__value {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.about-overview__row:last-child .about-overview__label,
.about-overview__row:last-child .about-overview__value {
  border-bottom: 0;
}

@media (max-width: 768px) {
  .about-overview__label {
    width: 100px;
    justify-content: center;
    padding: 8px 16px;
    white-space: nowrap;
  }

  .about-overview__value {
    flex: 1 1 120px;
    padding: 8px 16px;
    font-size: 16px;
  }
}
.block-examples__section {
  padding: 3rem 2rem;
}

.block-examples__heading {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.block-examples__lead {
  color: #555;
  margin-bottom: 2rem;
}

.block-examples__primaryButton .wp-block-button__link {
  background-color: #0073aa;
  color: #fff;
}

.block-examples__secondaryButton .wp-block-button__link {
  border: 2px solid #0073aa;
  color: #0073aa;
  background: transparent;
}

.block-examples__featureImage {
  border-radius: 8px;
  overflow: hidden;
}

.block-examples__list {
  line-height: 2;
}

.block-examples__divider {
  margin: 3rem 0;
}

/*
 * site-headerはposition:fixedで画面右上に常時重なっているため(ハンバー
 * ガーのみのcompact時で約100px、ロゴ+ナビのfull時で約68px)、通常の
 * ドキュメントフローに置かれるこのパンくずが隠れないよう、ヘッダーの
 * 最大の高さより余裕を持ったpadding-topを確保する。
 */
.breadcrumbs__nav {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(88px, 14vw, 128px) clamp(24px, 6vw, 80px) 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #666;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__link {
  color: #666;
  text-decoration: none;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: #4cafb6;
  text-decoration: underline;
}

.breadcrumbs__current {
  color: #111;
  font-weight: 700;
}

.breadcrumbs__separator {
  color: #999;
}

@media (max-width: 640px) {
  .breadcrumbs__nav {
    padding-top: 12px;
  }

  .breadcrumbs__list {
    font-size: 12px;
  }
}

.business-hero__section {
  position: relative;
  padding: 0;
}

.business-hero__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.business-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
}

.business-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(60px, 8vw, 144px) 0 clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px);
}

.business-hero__titleRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.business-hero__title {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.business-hero__titleLabel {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.business-hero__card {
  position: relative;
  padding: 0;
  border: 2px solid #111;
}

.business-hero__card .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

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

.business-hero__cardContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(32px, 5vw, 80px) clamp(24px, 8vw, 160px) clamp(32px, 5vw, 80px) clamp(24px, 4vw, 80px);
}

.business-hero__tagline {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.business-hero__description {
  margin: 0;
  color: #eee;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
}

.business-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.8);
  outline: 2px solid #111;
  outline-offset: -2px;
  backdrop-filter: blur(8px);
  color: #0b1f3b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.business-hero__buttonIcon {
  color: #0b1f3b;
}

.business-scope-of-works__section {
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 80px);
}

.business-scope-of-works__headerBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 1600px;
  margin: 0 auto;
}

.business-scope-of-works__heading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 48px);
  width: 100%;
}

.business-scope-of-works__eyebrowRow {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 8px;
}

.business-scope-of-works__eyebrowLabel {
  margin: 0;
  flex: none;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.business-scope-of-works__eyebrowLine {
  flex: 1 1 0;
  height: 2px;
  background: #111;
}

.business-scope-of-works__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1600px;
  margin: clamp(32px, 4vw, 56px) auto 0;
}

.business-scope-of-works__item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px;
  background: #fff;
  outline: 2px solid #000;
  outline-offset: -2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition:
    outline-color 0.3s ease,
    box-shadow 0.3s ease;
}

.business-scope-of-works__item:hover,
.business-scope-of-works__item:focus-within {
  outline-color: #4cafb6;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.business-scope-of-works__itemImage {
  flex: 1 1 420px;
  margin: 0;
  overflow: hidden;
}

.business-scope-of-works__itemImage img {
  display: block;
  width: 100%;
  aspect-ratio: 520 / 280;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.business-scope-of-works__item:hover .business-scope-of-works__itemImage img,
.business-scope-of-works__item:focus-within .business-scope-of-works__itemImage img {
  transform: scale(1.07);
}

/*
 * カード全域をクリック可能にする透明なオーバーレイリンク。
 * itemLink(施工内容の詳細ボタン)は別途z-indexで手前に出し、
 * ボタン自体のホバー演出はそのまま保つ。
 */
.business-scope-of-works__itemOverlayLink {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.business-scope-of-works__itemBody {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.business-scope-of-works__itemText {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.business-scope-of-works__itemTitle {
  margin: 0;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 28px);
}

.business-scope-of-works__itemDescription {
  margin: 0;
  color: #4b5563;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
}

.business-scope-of-works__itemLink {
  position: relative;
  z-index: 2;
  align-self: flex-end;
}

@media (max-width: 640px) {
  .business-scope-of-works__item {
    padding: 20px;
  }

  .business-scope-of-works__itemImage {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.business-solution__section {
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 80px);
}

.business-solution__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 1600px;
  margin: 0 auto;
}

.business-solution__heading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 48px);
}

.business-solution__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.business-solution__eyebrowLabel {
  margin: 0;
  flex: none;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.business-solution__eyebrowLine {
  flex: 1 1 0;
  height: 2px;
  background: #111;
}

.business-solution__stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1600px;
  margin: clamp(32px, 4vw, 56px) auto 0;
}

.business-solution__card {
  position: relative;
  width: 100%;
  min-height: clamp(200px, 18vw, 320px);
  padding: 0;
  overflow: hidden;
  outline: 2px solid #fafafa;
  outline-offset: -2px;
  transition: outline-color 0.3s ease;
}

.business-solution__card:hover,
.business-solution__card:focus-within {
  outline-color: #4cafb6;
}

.business-solution__card .wp-block-cover__image-background {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.business-solution__card:hover .wp-block-cover__image-background,
.business-solution__card:focus-within .wp-block-cover__image-background {
  transform: scale(1.07);
}

/*
 * position:staticにして.cardOverlayLinkの絶対配置がこの要素を素通りし、
 * 直接.card基準で広がるようにする(inner-containerのflexサイズ計算に
 * 依存させない)。cardOverlay自身はposition:relativeのままなので、
 * 画像より手前に重なる順序(DOM順)には影響しない。
 */
.business-solution__card .wp-block-cover__inner-container {
  position: static;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  margin-top: auto;
}

.business-solution__cardOverlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.business-solution__cardBadge {
  margin: 0;
  padding: 12px 16px;
  outline: 2px solid #fff;
  outline-offset: -2px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 18px;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

/*
 * カード全域(画像部分も含む)をクリック可能にする透明なオーバーレイリンク。
 * cardOverlayの中に文字としてリンクを置くのではなく、card直下の独立した
 * 要素として重ねることで、cardOverlay/inner-containerのposition/重なり順
 * (画像の背後に文字用の半透明背景を正しく重ねるために必要)に影響を与えない。
 */
.business-solution__cardOverlayLink {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid #111;
}

.business-solution__cardDescription {
  margin: 0;
  max-width: 800px;
  color: #f0f0f0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.75);
}

.contact-complete__section {
  display: flex;
  justify-content: center;
  padding: clamp(80px, 12vw, 160px) clamp(24px, 8vw, 160px);
  background: #fafafa;
}

.contact-complete__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
}

.contact-complete__eyebrow {
  margin: 0;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.contact-complete__heading {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
}

.contact-complete__lead {
  margin: 0;
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
}

.contact-complete__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: #4cafb6;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.contact-faq__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 160px);
  background: #fff;
}

.contact-faq__heading {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
}

.contact-faq__list {
  display: flex;
  flex-direction: column;
}

.contact-faq__item {
  border: 1px solid #e5e7eb;
  margin-top: -1px;
  background: #fff;
}

.contact-faq__item[data-open="true"] {
  background: #f9fafb;
}

.contact-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: clamp(20px, 3vw, 32px);
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.contact-faq__question {
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 20px);
}

.contact-faq__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
}

.contact-faq__iconBarH,
.contact-faq__iconBarV {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #0b1f3b;
  transition: transform 0.25s ease;
}

.contact-faq__iconBarH {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.contact-faq__iconBarV {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.contact-faq__item[data-open="true"] .contact-faq__iconBarV {
  transform: translate(-50%, -50%) rotate(90deg);
}

/**
 * max-heightをJSで実測値↔0に切り替えて開閉アニメーションさせる。
 * data-open="true"の初期値はJS実行前に中身が見えるようnoneにしておき、
 * JS側で実測px値に置き換えてから以降のトグルに使う。
 */
.contact-faq__answerWrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.contact-faq__item[data-open="true"] .contact-faq__answerWrap {
  max-height: none;
}

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

.contact-faq__answer {
  margin: 0;
  padding: 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}

.contact-form-section__section {
  position: relative;
  padding: 0;
  background-image: url("../assets/images/repeat-noise-bg.webp");
  background-repeat: repeat;
}

.contact-form-section__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.contact-form-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 160px);
}

.contact-form-section__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-section__heading {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
}

.contact-form-section__lead {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.contact-form-section__form {
  width: 100%;
  max-width: 800px;
}

.contact-form-section__summary {
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
}

.contact-form-section__fields {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form-section__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-section__label {
  color: #0b1f3b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.contact-form-section__input,
.contact-form-section__select,
.contact-form-section__textarea {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

.contact-form-section__input,
.contact-form-section__select {
  height: 56px;
}

.contact-form-section__textarea {
  resize: vertical;
}

.contact-form-section__input::placeholder,
.contact-form-section__textarea::placeholder {
  color: #9ca3af;
}

.contact-form-section__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%230B1F3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}

.contact-form-section__field[data-has-error="true"] .contact-form-section__input,
.contact-form-section__field[data-has-error="true"] .contact-form-section__select,
.contact-form-section__field[data-has-error="true"] .contact-form-section__textarea {
  border-color: #dc2626;
}

.contact-form-section__errorMessage {
  margin: 0;
  color: #dc2626;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
}

/* 横幅は他の入力欄と揃える(.fieldsのflexで伸ばす)。 */
.contact-form-section__agreement {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form-section__agreement:hover {
  border-color: #4eb9c1;
  background: #ecfeff;
}

.contact-form-section__agreement:focus-within {
  border-color: #0b1f3b;
  box-shadow: 0 0 0 3px rgba(78, 185, 193, 0.25);
}

.contact-form-section__agreement:has(.contact-form-section__checkbox:checked) {
  border-color: #4eb9c1;
  background: #e6f7f8;
}

.contact-form-section__checkbox {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #0b1f3b;
  cursor: pointer;
}

.contact-form-section__agreementLink {
  color: inherit;
  text-decoration: underline;
}

.contact-form-section__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 18px 32px;
  background: #4eb9c1;
  box-shadow: 0 8px 24px rgba(78, 185, 193, 0.25);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .contact-form-section__agreement {
    padding: 16px;
  }

  .contact-form-section__submit {
    width: 100%;
  }
}

.contact-hero__section {
  position: relative;
  padding: 0;
  min-height: auto;
}

.contact-hero__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.contact-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
}

.contact-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(60px, 8vw, 144px) 0 clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px);
}

.contact-hero__titleRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.contact-hero__title {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.contact-hero__titleLabel {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.contact-hero__card {
  position: relative;
  padding: 0;
  border: 2px solid #111;
  min-height: auto;
}

.contact-hero__card .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.contact-hero__cardWash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(11, 31, 59, 0.55);
}

.contact-hero__cardContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(32px, 5vw, 80px) clamp(24px, 8vw, 160px) clamp(32px, 5vw, 80px) clamp(24px, 4vw, 80px);
}

.contact-hero__tagline {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.contact-hero__description {
  margin: 0;
  color: #eee;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
}

.front-about-us__section {
  position: relative;
  padding: 320px 160px;
}

.front-about-us__section .wp-block-cover__inner-container {
  width: 100%;
  height: 100%;
}

.front-about-us__section .wp-block-cover__image-background {
  object-position: top;
}

.front-about-us__inner {
  position: relative;
  display: grid;
  grid-template-areas: "title text"
                       "link text";
  flex-direction: column;
  align-items: flex-start;
  gap: 240px;
  color: #fff;
}

.front-about-us__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.front-about-us__eyebrowBar {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: #4cafb6;
}

.front-about-us__eyebrowLabel {
  margin: 0;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.front-about-us__heading {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.front-about-us__lead {
  margin: 0;
  max-width: min(100%, 960px);
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 22px);
  line-height: 1.8;
  letter-spacing: 0.4em;
  grid-area: text;
}

.front-about-us__button {
  margin-top: auto;
}

@media (max-width: 1200px) {
  .front-about-us__section {
    padding: 200px 64px;
  }

  .front-about-us__inner {
    gap: 96px;
  }
}

@media (max-width: 900px) {
  .front-about-us__section {
    padding: 80px 24px;
  }

  .front-about-us__section,
  .front-about-us__inner {
    min-height: 0;
  }

  .front-about-us__inner {
    grid-template-areas:
      "title"
      "text"
      "link";
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .front-about-us__lead {
    font-size: 16px;
    letter-spacing: 0.15em;
  }
}

.front-footer__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: #f9f9f9;
}

/* Left: brand / contact
-------------------------------------------------- */

.front-footer__left {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  background: #fff;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 80px) clamp(48px, 8vw, 120px) clamp(24px, 8vw, 160px);
}

.front-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 会社名+ロゴをひとまとまりにし、説明文とは別の余白(40px)を保つ。 */
.front-footer__brandIdentity {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.front-footer__companyName {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 20px;
}

.front-footer__logo {
  display: block;
  flex: none;
  width: 240px;
  height: auto;
  min-height: 40px;
  color: #111;
}

.front-footer__description {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
}

.front-footer__contactBlock {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.front-footer__contactDivider {
  display: block;
  width: 120px;
  height: 1px;
  background: #4cafb6;
}

.front-footer__contactList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.front-footer__contactLabel {
  margin: 0;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 14px;
}

.front-footer__contactRow {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.front-footer__contactLink {
  color: currentColor;
  text-decoration: none;
}

.front-footer__address {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* Divider
-------------------------------------------------- */

.front-footer__divider {
  display: block;
  width: 4px;
  align-self: stretch;
  background: #4cafb6;
}

/* Right: inquiry / navigation
-------------------------------------------------- */

.front-footer__right {
  flex: 1 1 640px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  background: #1c1c1e;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px);
}

.front-footer__rightInner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/*
 * MAIL/PHONE INQUIRYを1つのグループにまとめる(Figma上も横並び2列では
 * なく縦積みのまま)。NAVIGATIONとはrightInner側のgapで別扱いにする。
 */
.front-footer__inquiryGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 24px;
}

.front-footer__inquiryBlock,
.front-footer__navBlock {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.front-footer__inquiryBlock {
  width: fit-content;
}

.front-footer__navBlock {
  gap: 12px;
}

.front-footer__inquiryLabel {
  margin: 0;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 14px;
}

.front-footer__inquiryContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.front-footer__inquiryContent .Button__boxOutline {
  /* Button.module.cssのmin-height:72pxがheightより優先されてしまうため、
     min-heightも明示的に上書きする。white-space:nowrapのラベルにより
     flexアイテムとしてのデフォルトmin-width:autoが効いて列幅からはみ出す
     ため、min-width:0で明示的に縮小を許可する。 */
  height: 64px;
  min-height: 64px;
  width: 100%;
  min-width: 0;
  padding: 16px 20px;
  box-sizing: border-box;
}

.front-footer__inquiryTitle {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 20px;
}


.front-footer__telBlock {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.front-footer__telButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  height: 64px;
  padding: 14px 48px 14px 24px;
  box-sizing: border-box;
  outline: 2px solid #fafafa;
  outline-offset: -2px;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.front-footer__telButton:hover,
.front-footer__telButton:focus-visible {
  background: #4cafb6;
  transform: translateY(-2px);
}

.front-footer__telLabel {
  font-weight: 700;
  font-size: 20px;
}

.front-footer__telNumber {
  font-weight: 700;
  font-size: 28px;
}

.front-footer__telHours {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 14px;
}

.front-footer__navGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.front-footer__navColumn {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;

  &:not(:first-of-type) {
    margin-top: 8px;
  }
}

.front-footer__navItem {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.front-footer__navNumber {
  color: #4cafb6;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
}

.front-footer__navLabel {
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  transition: color 0.2s ease;
}

.front-footer__navGroup {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.front-footer__navSubList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.front-footer__navSubItem {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.front-footer__navBullet {
  color: #4cafb6;
  font-size: 12px;
  line-height: 1;
}

.front-footer__navSubLabel {
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  transition: color 0.2s ease;
}

.front-footer__navItem:hover,
.front-footer__navItem:focus-visible,
.front-footer__navSubItem:hover,
.front-footer__navSubItem:focus-visible {
  transform: translateX(4px);
}

.front-footer__navItem:hover .front-footer__navLabel,
.front-footer__navItem:focus-visible .front-footer__navLabel,
.front-footer__navSubItem:hover .front-footer__navSubLabel,
.front-footer__navSubItem:focus-visible .front-footer__navSubLabel {
  color: #4cafb6;
}

.front-footer__bottomRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.front-footer__copyright {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

@media (max-width: 1199px) {
  .front-footer__left,
  .front-footer__right {
    flex-basis: 100%;
  }

  .front-footer__divider {
    width: 100%;
    height: 4px;
  }

  .front-footer__navGrid {
    gap: 0;
  }
}


@media (max-width: 768px) {
  .front-footer__left,
  .front-footer__right {
    padding-left: 20px;
    padding-right: 20px;
  }

  .front-footer__inquiryGrid {
    gap: 40px;
  }

  .front-footer__companyName {
    font-size: 18px;
  }

  .front-footer__logo {
    visibility: visible;
    opacity: 1;
    width: min(240px, 100%);
  }

  .front-footer__contactRow {
    font-size: clamp(16px, 5.4vw, 22px);
  }

  .front-footer__telButton {
    justify-content: center;
    width: 100%;
  }

  .front-footer__inquiryTitle {
    font-size: 18px;
  }

  .front-footer__navGrid {
    flex-direction: column;
  }

  .front-footer__navColumn {
    flex-basis: auto;
    min-width: 0;
  }

  /*
   * min-height:48pxでタップ領域自体は確保しつつ、上下左右のpaddingは
   * 詰めて見た目の余白を小さくする(背景色でのハイライトはなし)。
   */
  .front-footer__navItem,
  .front-footer__navSubItem {
    min-height: 48px;
    padding: 4px 8px;
  }

  .front-footer__navSubList {
    padding-left: 16px;
  }

  .front-footer__navSubItem {
    padding-left: 0;
  }

  .front-footer__bottomRow {
    flex-wrap: wrap;
    gap: 16px;
  }

  .front-footer__brand {
    gap: 22px;
  }

  .front-footer__brandIdentity {
    gap: 4px;
  }

  .front-footer__description {
    font-size: 14px;
  }

  .front-footer__inquiryBlock {
    width: 100%;
  }
}

.front-hero__hero {
  position: relative;
  padding: 0;
}

/**
 * メインビジュアルと相談CTAが背景画像を共有しているため、背景は
 * .heroの直接の子ではなく.pin(position:sticky; height:100lvh)の中に
 * 置き、スクロール中は常に画面に固定された1画面ぶんの背景として
 * 振る舞う。margin-bottom:-100lvhで.pin自身が占有するはずのフロー上の
 * スペースを相殺し、後に続くheroInner/ctaInnerを押し下げないように
 * している(=中身は今まで通り普通にスクロールし、背景だけが後ろで
 * ピン留めされ続ける)。
 */
.front-hero__pin {
  position: sticky;
  top: 0;
  height: 100lvh;
  margin-bottom: calc(-100lvh);
  overflow: hidden;
  z-index: 0;
}

/**
 * .pinの中でスクロールにつれて背景がそのまま拡大しながら少しずつ下へ
 * 動いていく演出を付ける(useViewScript側でscale/translateYを操作)。
 * 拡大は常に元のサイズ以上になるので余白は生まれないが、下方向への
 * 移動(パン)にはズーム量に依存しない余白がある程度必要なため、背景
 * 自体を上下80pxずつ大きめにレンダリングしておき、.pinのoverflow:
 * hiddenで枠からのはみ出しだけをクロップする。
 */
.front-hero__bg {
  position: absolute;
  top: -80px;
  right: 0;
  left: 0;
  height: calc(100% + 160px);
  background-image: url("../assets/images/front-hero.webp");
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.front-hero__wash {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.front-hero__heroInner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100svh;
}

.front-hero__catch {
  --hero-catch-size: clamp(28px, 3.4vw, 64px);

  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: #fff;
}

.front-hero__logo {
  width: min(
    100%,
    clamp(196px, calc(var(--hero-catch-size) * 6.0625), 388px)
  );
  height: auto;
  color: #fff;
}

.front-hero__title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: var(--hero-catch-size);
  line-height: 1.3;
}

.front-hero__titleUnderline {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  text-decoration: none;
}

.front-hero__titleUnderline::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
}

.front-hero__newsRow {
  position: absolute;
  left: 0;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* newsはWpPostLinkが生成する<a>タグそのもの(ボックス全体がリンク)。
   下線・文字色をリセットし、ホバーはopacityを下げるだけにする。 */
.front-hero__news {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100%, 800px);
  padding: 24px clamp(24px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  color: #111;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.front-hero__news:hover {
  opacity: 0.7;
}

.front-hero__newsLabel {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
}

.front-hero__newsDivider {
  align-self: stretch;
  width: 2px;
  background: #111;
}

.front-hero__newsQuery,
.front-hero__newsQuery .wp-block-post-template,
.front-hero__newsQuery .wp-block-post-template > li {
  display: contents;
}

.front-hero__newsBody {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.front-hero__newsDate,
.front-hero__newsTitle {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.front-hero__newsListLink.front-hero__newsListLink {
  padding: 12px 20px 12px 24px;
}

/**
 * 相談CTA部分(front-consult-ctaと統合)
 * -------------------------------------------------- */

.front-hero__ctaInner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: clamp(60px, 8vw, 120px) clamp(24px, 6vw, 80px);
  background-color: rgba(0, 0, 0, 0.75);
}

.front-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 1014px;
  text-align: center;
  color: #fff;
}

.front-hero__ctaTitle {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.2;
}

.front-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 24px);
  line-height: 1.6;
}

.front-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 400px);
  min-height: 72px;
  padding: 20px 32px;
  border: 2px solid #fff;
  background: #4cafb6;
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.front-hero__button:hover,
.front-hero__button:focus-visible {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}

.front-hero__buttonIcon {
  flex: none;
  color: currentColor;
}

@media (max-width: 768px) {

  .front-hero__heroInner {
    padding-bottom: 130px;
  }

  .front-hero__catch {
    --hero-catch-size: clamp(30px, 9vw, 42px);

    width: fit-content;
    gap: 20px;
  }

  .front-hero__logo {
    width: min(
      100%,
      clamp(196px, calc(var(--hero-catch-size) * 6.0625), 388px)
    );
  }

  .front-hero__title {
    font-size: var(--hero-catch-size);
  }

  .front-hero__news {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 16px 20px;
  }

  .front-hero__newsBody {
    flex-basis: 100%;
  }

  .front-hero__newsLabel {
    font-size: 16px;
  }

  .front-hero__newsDate,
  .front-hero__newsTitle {
    font-size: 15px;
  }

  .front-hero__ctaTitle {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .front-hero__button {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .front-hero__buttonIcon {
    width: 18px;
    height: 18px;
  }
}

.front-recruit__section {
  position: relative;
  width: calc(100% - 160px);
  aspect-ratio: 1920 / 320;
  margin-bottom: 80px;
  padding: 0
}

.front-recruit__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: stretch;
}

.front-recruit__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 55%
  );
}

.front-recruit__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: 100%;
  padding: clamp(24px, 3vw, 48px) clamp(24px, 5vw, 80px);
}

.front-recruit__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.front-recruit__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.front-recruit__eyebrowBar {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: #fff;
}

.front-recruit__eyebrowLabel {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
}

.front-recruit__heading {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 40px);
}

.front-recruit__button.front-recruit__button {
  position: relative;
  z-index: 2;
  flex: none;
  align-self: flex-end;
  width: min(38%, 400px);
}

/*
 * バナー全体をクリック可能にするための透明リンク。.buttonより下の
 * z-indexにすることで、ボタン自体は従来通り独立したリンク/ホバー
 * 状態を保ちつつ、それ以外の領域をクリックしても同じ遷移先へ飛べる。
 */
.front-recruit__overlayLink {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/*
 * .overlayLinkはボタンとは別要素のため、画像側をホバーしてもボタン自身の
 * :hoverは発火しない。.section:hoverで、Button(boxOutline/toneDark)の
 * ホバー見た目(Button.module.css参照)をこちらからも同じく適用し、
 * バナーのどこを触ってもボタンが連動して見えるようにする。
 */
.front-recruit__section:hover .front-recruit__button.front-recruit__button,
.front-recruit__section:focus-within .front-recruit__button.front-recruit__button {
  background: #fafafa;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 59, 0.16);
}

@media (max-width: 640px) {
  .front-recruit__section {
    width: calc(100% - 40px);
  }

  .front-recruit__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
  }

  .front-recruit__button.front-recruit__button {
    order: 2;
    width: 100%;
  }
}

.front-solution__section {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background-color: #fff;
}

.front-solution__section > .wp-block-cover__image-background {
  object-fit: cover;
  object-position: center top;
}

.front-solution__section > .wp-block-cover__inner-container {
  width: 100%;
}

.front-solution__heading {
  position: relative;
  z-index: 1;

  margin: 0;
  margin-bottom: -0.17em;
  color: #333;

  font-family: "Noto Serif", serif;
  font-size: clamp(80px, 11.5vw, 220px);
  font-weight: 200;
  line-height: 1;
  top: -0.17em;

  padding-left: 0.4em;
  letter-spacing: 0.4em;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.front-solution__inner {
  position: relative;
  z-index: 1;

  width: min(calc(100% - 80px), 1580px);
  margin: 0 auto;

  padding-top: 40px;
  padding-bottom: 80px;
}

.front-solution__lead {
  margin: 0 auto 40px;

  color: #111;

  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 1.8;

}


/* Cards
-------------------------------------------------- */

.front-solution__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  width: 100%;

  gap: 24px;
}

.front-solution__card {
  position: relative;

  min-width: 0;
  min-height: 0;

  overflow: hidden;
  padding: 0;

  outline: 2px solid #fafafa;
  outline-offset: -2px;
  transition: outline-color 0.3s ease;
}

.front-solution__card:hover,
.front-solution__card:focus-within {
  outline-color: #4cafb6;
}

.front-solution__card .wp-block-cover__image-background {
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.front-solution__card:hover .wp-block-cover__image-background,
.front-solution__card:focus-within .wp-block-cover__image-background {
  transform: scale(1.07);
}

/*
 * position:staticにして.cardOverlayLinkの絶対配置がこの要素を素通りし、
 * 直接.card基準で広がるようにする(inner-containerのgrid行サイズ計算に
 * 依存させない)。cardOverlay自身はposition:relativeのままなので、
 * 画像より手前に重なる順序(DOM順)には影響しない。
 */
.front-solution__card .wp-block-cover__inner-container {
  position: static;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 4fr 6fr;

  &::before {
    content: "";
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
  }
}

.front-solution__cardOverlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  height: 100%;

  margin-top: auto;
  padding: 12px;

  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.50) 100%);
}

.front-solution__cardTag {
  margin: 0 0 8px;
  padding: 6px 16px;

  border: 1px solid rgba(255, 255, 255, 0.85);

  color: #fff;

  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 1.4;
}

/*
 * カード全域(画像部分も含む)をクリック可能にする透明なオーバーレイリンク。
 * cardOverlayの中に文字としてリンクを置くのではなく、card直下の独立した
 * 要素として重ねることで、cardOverlay/inner-containerのposition/重なり順
 * (画像の背後に文字用の半透明背景を正しく重ねるために必要)に影響を与えない。
 */
.front-solution__cardOverlayLink {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.front-solution__cardDescription {
  margin: 0;

  color: #fff;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .front-solution__inner {
    width: min(calc(100% - 96px), 1580px);
  }

  .front-solution__cards {
    gap: 16px;
  }

  .front-solution__cardTag {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .front-solution__heading {
    font-size: clamp(40px, 16vw, 80px);
    letter-spacing: 0.15em;
    padding-left: 0;
    white-space: normal;
  }

  .front-solution__inner {
    width: min(calc(100% - 48px), 1580px);
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .front-solution__cards {
    grid-template-columns: 1fr;
  }

  .front-solution__lead {
    font-size: 16px;
  }

  .front-solution__cardTag {
    min-height: 0;
  }
}

.generic-page-content__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 80px) clamp(48px, 6vw, 80px);
}

.generic-page-content__title {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.4;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.generic-page-content__content {
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
}

.generic-page-content__content p {
  margin: 0 0 1.5em;
}

.generic-page-content__content h2,
.generic-page-content__content h3 {
  margin: 1.5em 0 0.75em;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.generic-page-content__content img {
  max-width: 100%;
  height: auto;
}

.generic-page-content__content a {
  color: #0b1f3b;
}

.generic-page-content__content ul,
.generic-page-content__content ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

/*
 * ブロックエディターの投稿編集画面では、フロントエンドと違ってこのパターン
 * (generic-page-content)が本文を包む .content 要素が描画されない — 投稿本文の
 * ブロックだけが単体で表示されるため、上の `.content` スコープのルールが
 * 一切マッチしない。WordPressは編集用iframeのbodyに親ページの
 * `post-type-{post_type}` クラスをそのままコピーするので、それを使って
 * 「固定ページ(page)の編集画面だけ」に同じ見た目を複製する。
 */
:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 80px) clamp(48px, 6vw, 80px);
  box-sizing: border-box;
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) p {
  margin: 0 0 1.5em;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) h2,
:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) h3 {
  margin: 1.5em 0 0.75em;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) img {
  max-width: 100%;
  height: auto;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) a {
  color: #0b1f3b;
}

:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) ul,
:is(.editor-styles-wrapper.post-type-page, .post-type-page .editor-styles-wrapper) ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

.layout-components__section {
  background: #f4f7fb;
}

.layout-components__panel {
  border: 1px solid #b8c4d6;
  border-radius: 8px;
  background: #fff;
}

.news-hero__section {
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 80px) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-hero__titleRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.news-hero__title {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.news-hero__titleLabel {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.news-list__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 8vw, 160px) clamp(48px, 6vw, 80px);
  background: #fff;
}

.news-list__list {
  display: flex;
  flex-direction: column;
}

.news-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #e5e7eb;
  margin-top: -1px;
  padding: clamp(20px, 3vw, 32px);
  background: #fff;
  transition: background-color 0.2s ease;
}

.news-list__item:hover {
  background: #f9fafb;
}

.news-list__date {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

.news-list__title {
  /*
   * グローバルリセット(style.css)が全要素にposition:relativeを
   * 当てているため、そのままだと下のstretched linkが.itemではなく
   * このh2自身を基準に広がってしまう。staticに戻して.itemを
   * 基準にする。
   */
  position: static;
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 20px);
}

.news-list__title a {
  position: static;
  color: inherit;
  text-decoration: none;
}

/* タイトルのリンクをカード全体に拡張し、カードのどこをクリックしても
   遷移できるようにする(いわゆるstretched link)。 */
.news-list__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.news-list__excerpt {
  margin: 0;
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.news-list__pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
}

.news-list__pageNav {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid #0b1f3b;
  color: #0b1f3b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.news-single__section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 80px) clamp(48px, 6vw, 80px);
}

.news-single__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.news-single__date {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.news-single__title {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.4;
}

.news-single__content {
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
}

.news-single__content p {
  margin: 0 0 1.5em;
}

.news-single__content h2,
.news-single__content h3 {
  margin: 1.5em 0 0.75em;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.news-single__content img {
  max-width: 100%;
  height: auto;
}

.news-single__content a {
  color: #0b1f3b;
}

.news-single__content ul,
.news-single__content ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

/*
 * ブロックエディターの投稿編集画面では、フロントエンドと違ってこのパターン
 * (news-single)が本文を包む .content 要素が描画されない — 投稿本文の
 * ブロックだけが単体で表示されるため、上の `.content` スコープのルールが
 * 一切マッチしない。WordPressは編集用iframeのbodyに親ページの
 * `post-type-{post_type}` クラスをそのままコピーするので、それを使って
 * 「投稿(post)の編集画面だけ」に同じ見た目を複製する。
 */
:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 80px) clamp(48px, 6vw, 80px);
  box-sizing: border-box;
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

/* WordPressのエディター既定のブロック幅・中央マージンを解除する。 */
:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) .block-editor-block-list__block {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) .reactwp-news-editor-header {
  width: 100%;
  margin: 0 0 32px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  pointer-events: none;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) .reactwp-news-editor-header__date {
  margin: 0 0 12px;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) .reactwp-news-editor-header__title {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.4;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) p {
  margin: 0 0 1.5em;
  text-align: left;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) h2,
:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) h3 {
  margin: 1.5em 0 0.75em;
  color: #0b1f3b;
  text-align: left;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) img {
  max-width: 100%;
  height: auto;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) a {
  color: #0b1f3b;
}

:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) ul,
:is(.editor-styles-wrapper.post-type-post, .post-type-post .editor-styles-wrapper) ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
  text-align: left;
}

/*
 * 404ページ本文。ヘッダーとフッターの間に挟むだけなので、どんな画面高でも
 * 間延びしないよう最低高さを持たせたうえで中央に寄せる。
 */
.not-found__section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: clamp(80px, 12vw, 160px) clamp(24px, 8vw, 160px);
  background: #fafafa;
}

.not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  text-align: center;
}

.not-found__code {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.not-found__headingBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.not-found__heading {
  margin: 0;
  color: #0b1f3b;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px);
}

.not-found__eyebrow {
  margin: 0;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.not-found__lead {
  margin: 0;
  color: #374151;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
}

.not-found__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 16px 40px;
  background: #4cafb6;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.not-found__button:hover,
.not-found__button:focus-visible {
  background: #0b1f3b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 59, 0.16);
}

/*
 * 1920:900の見た目の比率は下限として保ちつつ、幅が狭くて文章が折り返した
 * 時は縦に伸ばす。aspect-ratioで高さを固定すると、.wp-block-coverの
 * overflow:clipによって項目の下側が切れてしまう(issue #36)。
 */
.recruit-candidate__section {
  position: relative;
  width: 100%;
  padding: 0;
  min-height: calc(100vw * 900 / 1920);
}

.recruit-candidate__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.recruit-candidate__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.65);
}

.recruit-candidate__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 4vw, 56px);
  width: 100%;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 8vw, 160px);
}

.recruit-candidate__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.recruit-candidate__eyebrow {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.recruit-candidate__heading {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
}

.recruit-candidate__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.recruit-candidate__item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.recruit-candidate__number {
  margin: 0;
  flex: none;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.recruit-candidate__text {
  margin: 0;
  min-width: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .recruit-candidate__list {
    grid-template-columns: 1fr;
  }
}

.recruit-hero__section {
  position: relative;
  width: 100%;
  padding: 0;
}

.recruit-hero__section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.recruit-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.65);
}

.recruit-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(48px, 8vw, 160px);
  padding: clamp(48px, 8vw, 120px) clamp(24px, 8vw, 160px);
}

.recruit-hero__titleBlock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 1600px;
}

.recruit-hero__titleRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.recruit-hero__title {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.recruit-hero__titleLabel {
  margin: 0;
  color: #fafafa;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.recruit-hero__catch {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 1.05;
}

.recruit-hero__sub {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 28px);
  line-height: 1.5;
}

.recruit-hero__bottomRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
  max-width: 1600px;
}

.recruit-hero__description {
  flex: 1 1 480px;
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 24px);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.recruit-hero__applyButton {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  outline: 2px solid #111827;
  outline-offset: -2px;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.recruit-hero__applyButtonIcon {
  color: #111827;
}

.recruit-job-description__section {
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 80px);
}

.recruit-job-description__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
}

.recruit-job-description__eyebrow {
  margin: 0;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.recruit-job-description__heading {
  margin: 0;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
}

/*
 * 外枠は企業紹介ページ(about-overview)と同じborderで引く。outlineだと
 * 各行の背景色があとから塗られて四辺の枠が見えなくなる(issue #36)。
 */
.recruit-job-description__table {
  max-width: 1600px;
  margin: clamp(32px, 4vw, 56px) auto 0;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.recruit-job-description__row {
  display: flex;
  background: #fff;
}

.recruit-job-description__rowAlt {
  background: #f9fafb;
}

.recruit-job-description__label {
  width: 240px;
  max-width: 100%;
  margin: 0;
  padding: 24px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  color: #0b1f3b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.recruit-job-description__value {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

/* 最終行はtable側のborderと二重線になるので消す。 */
.recruit-job-description__row:last-child .recruit-job-description__label,
.recruit-job-description__row:last-child .recruit-job-description__value {
  border-bottom: 0;
}

/* SPは企業紹介ページ(about-overview)のテーブルと同じ見せ方に揃える。 */
@media (max-width: 768px) {
  .recruit-job-description__label {
    width: 100px;
    justify-content: center;
    padding: 8px 16px;
    white-space: nowrap;
  }

  .recruit-job-description__value {
    flex: 1 1 120px;
    padding: 8px 16px;
    font-size: 16px;
  }
}

.recruit-why-join-us__section {
  background: #111827;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 8vw, 160px);
}

.recruit-why-join-us__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
}

.recruit-why-join-us__eyebrow {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.recruit-why-join-us__heading {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
}

.recruit-why-join-us__list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 96px);
  max-width: 1600px;
  margin: clamp(32px, 4vw, 56px) auto 0;
}

.recruit-why-join-us__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 4vw, 64px);
}

.recruit-why-join-us__rowReverse {
  flex-direction: row-reverse;
}

.recruit-why-join-us__image {
  flex: 1 1 320px;
  max-width: 720px;
  margin: 0;
}

.recruit-why-join-us__image img {
  display: block;
  width: 100%;
  aspect-ratio: 720 / 520;
  object-fit: cover;
}

.recruit-why-join-us__content {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-why-join-us__number {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
}

.recruit-why-join-us__title {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 40px);
}

.recruit-why-join-us__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

.recruit-work-style__section {
  background: #fff;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 8vw, 160px);
}

.recruit-work-style__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
}

.recruit-work-style__eyebrow {
  margin: 0;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
}

.recruit-work-style__heading {
  margin: 0;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
}

.recruit-work-style__lead {
  max-width: 1600px;
  margin: clamp(24px, 3vw, 40px) auto 0;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

.recruit-work-style__panels {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1600px;
  margin: clamp(24px, 3vw, 40px) auto 0;
}

.recruit-work-style__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  background: #fff;
  outline: 2px solid #000;
  outline-offset: -2px;
}

.recruit-work-style__panelImage {
  flex: 1 1 320px;
  margin: 0;
}

.recruit-work-style__panelImage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 770 / 590;
  object-fit: cover;
  border: 2px solid #111;
}

.recruit-work-style__panelBody {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recruit-work-style__panelTitle {
  margin: 0;
  color: #111827;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 24px;
}

.recruit-work-style__roleRow {
  margin: 0;
  padding: 16px;
  outline: 2px solid #000;
  outline-offset: -2px;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
}

.recruit-work-style__note {
  margin: 0;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 18px;
}

.simple-cta__section {
  padding: 4rem 2rem;
  text-align: center;
}

.simple-cta__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.simple-cta__button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.simple-cta__button:hover {
  background-color: #005a87;
}

/**
 * 既定(＝サイトトップ最上部以外: 他ページ全般 / トップページのスクロール後)は
 * ロゴもナビも無し。右上のハンバーガーアイコンだけを固定表示する。
 */
.site-header__header {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: auto;
  padding: clamp(16px, 3vw, 40px);
}

.site-header__logoLink,
.site-header__nav {
  display: none;
}

/**
 * サイトトップ最上部(＝トップページ・未スクロール)、および
 * 下層ページのPC表示では、ロゴ＋横並びナビゲーションのバーを表示する。
 * data-mode 未設定時(JS実行前)も body.home なら full 扱いにしてチラつきを防ぐ。
 * トップページのSP(767px以下)は常にハンバーガーのままにしたいので、
 * その幅では出さない(JS側のapplyModeも767px以下では常にcompactを設定するが、
 * JS実行前の一瞬のチラつきもここで防ぐ)。768px以上はfull、下層ページの
 * full-fixedは従来どおり1200px以上でのみJSがセットする。
 */
@media (min-width: 768px) {
  body.home .site-header__header:not([data-mode='compact']),
  .site-header__header[data-mode='full'],
  .site-header__header[data-mode='full-fixed'] {
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    height: 68px;
    padding: 0 clamp(20px, 4vw, 64px);
    transition:
      background-color 0.3s ease,
      box-shadow 0.3s ease,
      padding 0.3s ease;
  }

  body.home .site-header__header:not([data-mode='compact']),
  .site-header__header[data-mode='full'] {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    background: rgba(255, 255, 255, 0.75);
  }

  /**
   * 下層ページ(PC): 常にロゴ＋ナビを表示し、画面に固定して追従させる。
   */
  .site-header__header[data-mode='full-fixed'] {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 12px rgba(17, 17, 17, 0.08);
  }

  body.home .site-header__header:not([data-mode='compact']) .site-header__logoLink,
  .site-header__header[data-mode='full'] .site-header__logoLink,
  .site-header__header[data-mode='full-fixed'] .site-header__logoLink {
    display: block;
    line-height: 0;
  }

  body.home .site-header__header:not([data-mode='compact']) .site-header__nav,
  .site-header__header[data-mode='full'] .site-header__nav,
  .site-header__header[data-mode='full-fixed'] .site-header__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  body.home .site-header__header:not([data-mode='compact']) .site-header__menuToggle,
  .site-header__header[data-mode='full'] .site-header__menuToggle,
  .site-header__header[data-mode='full-fixed'] .site-header__menuToggle {
    display: none;
  }
}

.site-header__logo {
  width: clamp(160px, 16vw, 240px);
  height: auto;
  color: #111;
}

.site-header__navItem {
  padding: 0 16px;
  border-left: 1px solid #111;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(13px, 1vw, 18px);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-header__navItem:hover,
.site-header__navItem:focus-visible {
  color: #278f97;
}

/* 右上ハンバーガーアイコン(68x68) */
.site-header__menuToggle {
  position: relative;
  z-index: 2100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  color: #111;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: site-header__menu-toggle-enter 0.2s ease-out both;
}

.site-header__menuToggle:hover,
.site-header__menuToggle:focus-visible {
  background: #4cafb6;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.14);
}

.site-header__menuToggleClosedIcon {
  display: block;
}

.site-header__menuToggleOpenIcon {
  display: none;
}

/* メニュー展開中はアイコンを × 表示のダークボックスに切り替える */
.site-header__header[data-menu-open='true'] .site-header__menuToggle {
  background: #111;
  color: #fafafa;
}

@keyframes site-header__menu-toggle-enter {
  from {
    transform: translateY(calc(-100% - clamp(16px, 3vw, 40px)));
  }

  to {
    transform: translateY(0);
  }
}

.site-header__header[data-menu-open='true'] .site-header__menuToggleClosedIcon {
  display: none;
}

.site-header__header[data-menu-open='true'] .site-header__menuToggleOpenIcon {
  display: block;
}

/* ===== ハンバーガーメニュー オーバーレイ ===== */
.site-header__overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-header__header[data-menu-open='true'] .site-header__overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header__overlayBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.35);
}

/**
 * パネル: 上部(社名・ロゴ)は固定、下部だけスクロール。
 * 横幅が広い時は 3 カラム(ブランド / NAVIGATION / CONTACT)。
 */
.site-header__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fafafa;
  transform: translateY(-16px);
  transition: transform 0.35s ease;
}

.site-header__header[data-menu-open='true'] .site-header__panel {
  transform: translateY(0);
}

.site-header__panelHead {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 5vh, 44px) clamp(24px, 8vw, 160px) 18px;
  background: #fafafa;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

/* SP でメニュー内スクロールできるよう overscroll と Lenis 抑止を効かせる。 */
.site-header__panelScroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.site-header__panelScrollInner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 7vw, 48px);
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 44px) clamp(24px, 8vw, 64px) clamp(48px, 8vh, 96px);
}

.site-header__panelCompany {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(13px, 1.4vw, 20px);
  letter-spacing: 0.06em;
}

.site-header__panelLogo {
  width: clamp(180px, 26vw, 320px);
  height: auto;
  color: #111;
}

.site-header__panelDescription {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(13px, 1.3vw, 18px);
  line-height: 1.8;
}

.site-header__panelNav,
.site-header__panelContact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-header__panelSectionLabel {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #4cafb6;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
}

/* --- NAVIGATION --- */
.site-header__navList {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-header__navGroup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-header__navRow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-header__navRowLink {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-header__navRowLink:hover,
.site-header__navRowLink:focus-visible {
  color: #278f97;
  transform: translateX(4px);
}

.site-header__navRowNumber {
  color: #4cafb6;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1;
}

.site-header__navRowLabel {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.04em;
}

.site-header__navSubList {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
}

.site-header__navSubItem {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(14px, 1.2vw, 18px);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-header__navSubItem:hover,
.site-header__navSubItem:focus-visible {
  color: #278f97;
  transform: translateX(4px);
}

.site-header__navSubItem::before {
  content: "・";
  color: #4cafb6;
  font-size: 0.7em;
}

/* --- CONTACT --- */
.site-header__panelContactBox {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid #111;
}

.site-header__panelContactText {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
}

.site-header__panelContactButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: clamp(14px, 1.6vw, 24px) clamp(20px, 2vw, 32px);
  background: #4cafb6;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.3vw, 20px);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header__panelContactButton:hover,
.site-header__panelContactButton:focus-visible {
  background: #278f97;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 143, 151, 0.24);
}

.site-header__panelContactButtonIcon {
  flex: none;
}

.site-header__panelContactDetails {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-header__panelContactRow {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: 0.04em;
}

.site-header__panelAddress {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(13px, 1.2vw, 18px);
}

/*
 * ===== 横幅が広い時: 2 カラム =====
 * デザイン上はNAVIGATIONが独立した列ではなく、ブランド情報(440px列)の
 * 下に縦積みされ、CONTACTだけが残り幅を使う2カラム構成。以前はNAVIGATIONを
 * CONTACTと横並びの別の1fr列にしてしまい、ブランド列と同じ440px分の
 * 横幅を使えず、1200〜1550px程度でナビ項目とCONTACTの文字が重なっていた。
 * 2カラムに直したことで、ナビの内部2分割(各グループ)が本来の440px分の
 * 幅を使えるようになり、この幅でも重ならないことを実測して確認した。
 */
@media (min-width: 1200px) {
  .site-header__panel {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    align-content: start;
    align-items: start;
    column-gap: 40px;
    row-gap: 40px;
    padding: clamp(96px, 14vh, 148px) 160px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header__panelHead {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    border-bottom: none;
  }

  .site-header__panelScroll,
  .site-header__panelScrollInner {
    display: contents;
  }

  .site-header__panelDescription {
    grid-column: 1;
    grid-row: 2;
  }

  .site-header__panelNav {
    grid-column: 1;
    grid-row: 3;
  }

  .site-header__panelContact {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .site-header__navList {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }

  .site-header__navGroup {
    flex: 1;
  }
}

@media (max-width: 1199px) {
  .site-header__panelHead {
    padding-right: max(92px, 8vw);
    padding-left: max(24px, calc((100vw - 1016px) / 2));
  }

  .site-header__navRowLink,
  .site-header__navSubItem {
    min-height: 48px;
    padding: 12px 16px;
    background: #fff;
  }

  .site-header__navSubList {
    gap: 8px;
    padding-left: 16px;
  }
}

/*
 * ===== さらに横幅が広い時: 3 カラム(元のデザイン) =====
 * デザイン上、画面が十分広い場合はNAVIGATIONもブランド情報とは別の
 * 独立した列(flex:1)になり、CONTACTと合わせて3カラムで横並びになる。
 * この幅を下回ると2カラム(NAVIGATIONがブランドの下に縦積み)に
 * フォールバックする。
 */
@media (min-width: 1920px) {
  .site-header__panelNav {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .site-header__panelContact {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .site-header__panel {
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__overlay,
  .site-header__panel,
  .site-header__menuToggle {
    transition: none;
    animation: none;
  }
}

@media (max-width: 640px) {
  .site-header__panelScrollInner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header__panelContactBox {
    padding: 16px;
  }

  .site-header__panelContactButton {
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
  }
}

/* メニュー展開中は背景スクロールを止める */
html.has-site-header-menu-open,
html.has-site-header-menu-open body {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .site-header__panel {
    padding-inline: 0;
  }

  .site-header__panelScrollInner {
    max-width: 100%;
    padding-inline: 92px;
  }
}

@media (max-width: 768px) {
  .site-header__panelHead {
    padding: 22px clamp(24px, 8vw, 160px) 18px;
  }

  .site-header__panelDescription {
    font-size: 14px;
  }

  .site-header__panelScrollInner {
    padding: 16px;
  }
}
.works-archives__section {
  background: #333;
  padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.works-archives__headerRow {
  padding-bottom: 24px;
  border-bottom: 2px solid #fff;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.works-archives__heading {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 28px;
}

/*
 * 中身(各施工種別へのリンク)はfunctions.phpのrender_blockフックで
 * 実行時に差し込む(タクソノミーの項目はDB依存でビルド時点では分からない
 * ため)。
 */
.works-archives__categoryFilter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.works-archives__categoryFilterLink {
  padding: 8px 20px 5px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.works-archives__categoryFilterLink:hover {
  background: #4eb9c1;
  border-color: #4eb9c1;
}

.works-archives__categoryFilterLinkActive {
  background: #4eb9c1;
  border-color: #4eb9c1;
}

.works-archives__listQuery {
  display: contents;
}

.works-archives__list {
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.works-archives__list > li {
  display: contents;
}

/*
 * thumb/rowBody/archiveLinkは.rowの直接の子(兄弟)。gridの3カラムに
 * 割り当てることで、サムネイルだけ.thumbのalign-self:stretchで行の
 * 高さいっぱいに広げつつ、本文・ボタンは中央揃えのまま独立してサイズ
 * 調整できるようにする(flexのflex-basis調整より意図が明確になる)。
 */
.works-archives__row {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  grid-template-areas: "thumb body link";
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 2px solid #fff;
}

/* 行のどこにホバーしても、サムネイルのズームとVIEW ARCHIVEの配色反転を連動させる。 */
.works-archives__row:hover .works-archives__thumb img,
.works-archives__row:focus-within .works-archives__thumb img {
  transform: scale(1.07);
}

.works-archives__row:hover .works-archives__archiveLink,
.works-archives__row:focus-within .works-archives__archiveLink {
  background: #fafafa;
  color: #111;
}

.works-archives__thumb {
  grid-area: thumb;
  align-self: stretch;
  width: 100%;
  min-height: 100px;
  margin: 0;
  overflow: hidden;
  border: 2px solid #fff;
}

.works-archives__thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.works-archives__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-archives__rowBody {
  grid-area: body;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.works-archives__rowMeta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.works-archives__rowCategory {
  margin: 0;
  color: #4eb9c1;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

.works-archives__rowCategory a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.works-archives__rowDate {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
}

.works-archives__rowTitle {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/*
 * position:staticにして、行全体を覆うストレッチリンクにする(グローバル
 * リセットのposition:relativeが効いたままだと::beforeが自分自身の
 * 大きさにしか広がらないため)。
 */
.works-archives__archiveLink {
  grid-area: link;
  position: static;
  width: 400px;
  max-width: 100%;
  height: 72px;
  padding: 24px;
  background: #111;
  border: 2px solid #fafafa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fafafa;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.works-archives__archiveLink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.works-archives__archiveLink::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 4L13 10L7 16' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 4L13 10L7 16' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.works-archives__pagination {
  padding: 48px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.works-archives__pageNav {
  padding: 12px;
  background: #fff;
  border: 2px solid #333;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;

  &:hover {
    background-color: #b2f0f4;
  }
}

.works-archives__pagination .wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.works-archives__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid #333;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;

  &:hover {
    background-color: #b2f0f4;
  }
}

.works-archives__pagination .page-numbers.current {
  background: #4eb9c1;
  color: #fff;
  border-color: #4eb9c1;
  cursor: default;
}

.works-archives__pagination .page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
}

/*
 * タブレット幅では3カラム(1 2 3)を保つほど余裕がないため、サムネイル(1)
 * を左側に高さいっぱいで縦長に配置し、右側にrowBody(2)/archiveLink(3)を
 * 上下に積む2x2のレイアウトに切り替える。
 */
@media (max-width: 1200px) {
  .works-archives__row {
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-areas:
      "thumb body"
      "thumb link";
  }

  .works-archives__archiveLink {
    width: 100%;
  }
}

@media (max-width: 786px) {
  .works-archives__headerRow {
    padding-bottom: 12px;
  }

  .works-archives__heading {
    font-weight: 500;
  }

  .works-archives__section {
    gap: 16px;
  }

  .works-archives__row {
    border-width: 1px;
    padding: 16px 0;
    gap: 16px;
    display: flex;
    flex-direction: column;
  }

  .works-archives__rowTitle {
    font-size: 16px;
  }

  .works-archives__rowBody {
    width: 100%;
  }

  .works-archives__thumb {
    border-width: 1px;
  }

  .works-archives__pagination {
    padding: 16px 0 0;
  }

  .works-archives__archiveLink {
    height: auto;
    font-size: 13px;
    width: 190px;
    border: 1px solid #fff;
    margin-left: auto;
    padding: 8px 16px;
  }
}

.works-hero__section {
  margin-bottom: clamp(48px, 6vw, 96px);
  padding: clamp(48px, 8vw, 120px) 0 0 clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.works-hero__titleRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.works-hero__title {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.works-hero__titleLabel {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.works-hero__banner {
  position: relative;
  width: 100%;
  padding: 0;
  border: 2px solid #111;
  border-right: none;
  min-height: 370px;
}

.works-hero__banner .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.works-hero__bannerWash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(11, 31, 59, 0.55);
}

.works-hero__bannerInner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 10vw, 160px) clamp(48px, 6vw, 80px) clamp(24px, 6vw, 80px);
}

.works-hero__bannerHeading {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: 0.25em;
}

.works-hero__bannerText {
  margin: 0;
  color: #eee;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .works-hero__section {
    padding-left: 16px;
  }

  .works-hero__banner {
    min-height: auto;
  }

  .works-hero__bannerInner {
    padding: 18px 24px;
    gap: 8px;
  }

  .works-hero__bannerHeading {
    font-size: 16px;
  }

  .works-hero__bannerText {
    font-size: 14px;
  }
}
.works-pickup__section {
  padding: 0 clamp(24px, 6vw, 80px) clamp(48px, 6vw, 96px);
}

.works-pickup__headerBlock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 1600px;
  margin: 0 auto;
}

.works-pickup__heading {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 48px);
}

.works-pickup__eyebrowRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.works-pickup__eyebrowLabel {
  margin: 0;
  flex: none;
  color: #4cafb6;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
}

.works-pickup__eyebrowLine {
  flex: 1 1 0;
  height: 2px;
  background: #4cafb6;
}

.works-pickup__gridQuery {
  display: contents;
}

.works-pickup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
  max-width: 1600px;
  margin: clamp(32px, 4vw, 56px) auto 0;
}

.works-pickup__grid > li {
  display: contents;
}

.works-pickup__card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*
 * カードのどこにホバーしても、画像のズームとVIEW MOREの配色反転を連動
 * させる。VIEW MOREは画像/抜粋とは別の独立したリンクになったため、
 * 自身がホバーされた時だけでなく.cardホバー時にも反転させる。
 */
.works-pickup__card:hover .works-pickup__cardImageMedia img,
.works-pickup__card:focus-within .works-pickup__cardImageMedia img {
  transform: scale(1.07);
}

/*
 * VIEW MOREは画像・タイトル・抜粋とは別のリンクなので、それらをホバー
 * してもボタン自身の:hoverは発火しない。Button(pillDark)のホバー見た目
 * (Button.module.css参照)をこちらからも同じく適用する。
 */
.works-pickup__card:hover .works-pickup__viewMore.works-pickup__viewMore,
.works-pickup__card:focus-within .works-pickup__viewMore.works-pickup__viewMore {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 59, 0.16);
}

/* cardImageはWpPostLinkが生成する<a>タグそのものなので、display:blockで
   ブロックボックス化してaspect-ratio/overflowが効くようにする。 */
.works-pickup__cardImage {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 780 / 300;
  border: 2px solid #111;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.works-pickup__cardExcerptLink {
  display: block;
  color: inherit;
  text-decoration: none;
}

.works-pickup__cardImageMedia {
  position: absolute;
  inset: 0;
  margin: 0;
}

.works-pickup__cardImageMedia a {
  display: block;
  width: 100%;
  height: 100%;
}

.works-pickup__cardImageMedia img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-pickup__cardCaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.works-pickup__cardCaptionTitle {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

/*
 * グローバルリセット(style.css)が全要素にposition:relativeを当てて
 * いるため、そのままだとVIEW MOREのストレッチリンクがこの要素までしか
 * 広がらない。staticに戻して.cardを基準にする。
 */
.works-pickup__cardBody {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.works-pickup__cardMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.works-pickup__cardTag {
  margin: 0;
  padding: 4px 12px;
  background: #4cafb6;
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

.works-pickup__cardTag a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.works-pickup__cardDate {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

.works-pickup__cardDescription {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  white-space: wrap;
}

.works-pickup__viewMore {
  padding: 6px 20px 4px 24px
}

@media (max-width: 900px) {
  .works-pickup__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .works-pickup__card {
    gap: 12px;
  }

  .works-pickup__cardImage {
    aspect-ratio: 3 / 2;
  }

  .works-pickup__cardCaption {
    padding: 8px 12px;
  }

  .works-pickup__cardCaptionTitle {
    font-size: 16px;
    white-space: normal;
  }

  .works-pickup__cardDescription {
    font-size: 14px;
    white-space: normal;
  }

  .works-pickup__viewMore {
    justify-content: center;
    width: 100%;
  }
}
.works-single-content__section {
  max-width: 1920px;
  margin: auto;
  background: #fff;
}

.works-single-content__content {
  display: block;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 160px);
}

/*
 * 「プロジェクト概要」「施工写真ギャラリー」「施工について」といった
 * 大見出し。投稿ごとに数・並びが変わることはない想定なので、通常の
 * core/heading(H2)をそのまま使い、サイト共通のセクション見出しに
 * 近い見た目をCSSだけで再現する。
 */
.works-single-content__content h2 {
  margin: 3em 0 1em;
  padding-bottom: 4px;
  border-bottom: 2px solid #4cafb6;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 48px);
}

.works-single-content__content h2:first-child {
  margin-top: 0;
}

/* 「本プロジェクトの工夫」等、投稿者が自由に追加する小見出し。 */
.works-single-content__content h3 {
  margin: 0 0 1em;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
}

.works-single-content__content p {
  margin: 0 0 1.5em;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;

  &:last-of-type {
    margin-bottom: 0;
  }
}

.works-single-content__content a {
  color: #4cafb6;
}

.works-single-content__content img {
  max-width: 100%;
  height: auto;
}

/* プロジェクト概要: 表 + 説明文の2カラム。 */
.works-single-content__content .wp-block-columns {
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: 2em;
}

.works-single-content__content .wp-block-table {
  margin: 0;
}

.works-single-content__content table {
  width: 100%;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  border-collapse: collapse;
}

.works-single-content__content td {
  padding: 16px 24px;
  border: 1px solid #333;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  vertical-align: top;
}

.works-single-content__content td:first-child {
  width: 180px;
  font-weight: 700;
  white-space: nowrap;
}

/*
 * 施工写真ギャラリー: core/galleryブロック。枚数は投稿ごとに自由に増減する。
 * Figmaデザインでは1枚目を大きく全幅表示し、2枚目以降を3列グリッドで並べる。
 */
.works-single-content__content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 2em;
}

/*
 * core/galleryブロックのCSS (wp-includes/blocks/gallery/style.min.css) は
 * `figure.wp-block-image:not(#individual-image)` という :not(#id) を使った
 * 実質ID相当の高詳細度セレクタでwidth/marginを指定してくる。通常のクラス
 * セレクタでは詳細度で勝てないため、ここだけ !important で上書きする。
 */
.works-single-content__content .wp-block-gallery .wp-block-image {
  width: 100% !important;
  margin: 0 !important;
}

.works-single-content__content .wp-block-gallery .wp-block-image:first-child {
  grid-column: 1 / -1;
}

.works-single-content__content .wp-block-gallery .wp-block-image img {
  display: block;
  width: 100%;
  aspect-ratio: 517 / 280;
  border: 2px solid #333;
  object-fit: cover;
}

.works-single-content__content .wp-block-gallery .wp-block-image:first-child img {
  aspect-ratio: 1600 / 640;
}

.works-single-content__content .wp-block-gallery figcaption {
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
}

/* 施工について: 見出し+本文のグループを投稿ごとに必要な数だけ複製する。 */
.works-single-content__content .wp-block-group {
  margin-bottom: 2.5em;
}

.works-single-content__content .wp-block-group:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .works-single-content__content .wp-block-columns {
    flex-wrap: wrap;
  }

  .works-single-content__content .wp-block-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .works-single-content__content .wp-block-gallery {
    grid-template-columns: 1fr;
  }

  .works-single-content__content .wp-block-gallery .wp-block-image:first-child img {
    aspect-ratio: 517 / 280;
  }
}

/*
 * ブロックエディターの投稿編集画面では、フロントエンドと違ってこのパターン
 * (works-single-content)が本文を包む .content 要素が描画されない — 投稿本文の
 * ブロックだけが単体で表示されるため、上の `.content` スコープのルールが
 * 一切マッチしない。WordPressは編集用iframeのbodyに親ページの
 * `post-type-{post_type}` クラスを使って「work投稿の編集画面だけ」に同じ
 * 見た目を複製する。WordPressはブロック構成によってエディターをiframe内に
 * 描画する場合と通常DOMに描画する場合があるため、同一要素・祖先要素の両方を
 * `:is()` で許容する。
 */
:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 160px);
  box-sizing: border-box;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) h2 {
  margin: 3em 0 1em;
  padding-bottom: 16px;
  border-bottom: 2px solid #4cafb6;
  color: #111;
  text-align: left;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) h2:first-child {
  margin-top: 0;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) h3 {
  margin: 0 0 1em;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
  color: #333;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) p {
  color: #333;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) a {
  color: #4cafb6;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-columns {
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: 2em;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-table {
  margin: 0;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) table {
  width: 100%;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  border-collapse: collapse;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) td {
  padding: 16px 24px;
  border: 1px solid #333;
  color: #333;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  vertical-align: top;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) td:first-child {
  width: 180px;
  font-weight: 700;
  white-space: nowrap;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 2em;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery .wp-block-image {
  width: 100% !important;
  margin: 0 !important;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery .wp-block-image:first-child {
  grid-column: 1 / -1;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery .wp-block-image img {
  display: block;
  width: 100%;
  aspect-ratio: 517 / 280;
  border: 2px solid #333;
  object-fit: cover;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery .wp-block-image:first-child img {
  aspect-ratio: 1600 / 640;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery figcaption {
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-group {
  margin-bottom: 2.5em;
}

:is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-group:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  :is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  :is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery {
    grid-template-columns: 1fr;
  }

  :is(.editor-styles-wrapper.post-type-work, .post-type-work .editor-styles-wrapper) .wp-block-gallery .wp-block-image:first-child img {
    aspect-ratio: 517 / 280;
  }
}

@media (max-width: 786px) {
  .works-single-content__content {
    margin-top: 32px;
    padding: 0 32px 32px;

    h2 {
      font-size: 24px;
      padding-bottom: 8px;
    }
  }
}
.works-single-hero__section {
  display: flex;
  flex-direction: column;
  background: #fff;
  max-width: 1920px;
  margin: auto;
}

.works-single-hero__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 160px);
}

.works-single-hero__meta {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.works-single-hero__tag {
  margin: 0;
  padding: 4px 12px;
  background: #4cafb6;
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

.works-single-hero__tag a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.works-single-hero__date {
  margin: 0;
  color: #8b8b8b;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

.works-single-hero__eyebrow {
  margin: 0;
  color: #333;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.9;
}

.works-single-hero__title {
  margin: 0;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 52px);
  line-height: 1.6;
}

.works-single-hero__imageWrap {
  padding: 0 clamp(24px, 8vw, 160px) clamp(48px, 6vw, 80px);
}

.works-single-hero__imageWrap figure {
  margin: 0;
}

.works-single-hero__image {
  display: block;
  width: 100%;
  height: clamp(240px, 40vw, 720px);
  border: 2px solid #111;
}

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

@media (max-width: 786px) {
  .works-single-hero__eyebrow {
    font-size: 24px;
  }

  .works-single-hero__header {
    padding: 32px 24px;
  }

  .works-single-hero__imageWrap {
    padding: 0 24px;
  }

  .works-single-hero__image {
    border-width: 1px;
  }
}