/**
 * style.css - トップ・下層ページのレイアウト・コンポーネント
 * common.css の変数を利用
 */

/* アンカーリンクのスムーススクロール */
html {
  scroll-behavior: smooth;
}

/* ---------- .idx-wrap ベース ---------- */
.idx-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: var(--idx-fs-body);
  line-height: 1.6;
  color: var(--idx-black);
}

/* ---------- Fluid typography 適用 ---------- */
.idx-wrap .idx-fs-watermark {
  font-size: var(--idx-fs-watermark);
}
.idx-wrap h1 { font-size: var(--idx-fs-h1); }
.idx-wrap h2 { font-size: var(--idx-fs-h2); }
.idx-wrap h3 { font-size: var(--idx-fs-h3); }
.idx-wrap h4 { font-size: var(--idx-fs-h4); }
.idx-wrap .idx-fs-caption,
.idx-wrap .caption,
.idx-wrap [class*="caption"] {
  font-size: var(--idx-fs-caption);
}

/* ---------- Header（ビューポート幅100％・フルード高さ・ファーストビューで表示・2000px以降で追従） ---------- */
/* 重ね順: ヘッダー(100/1000) > FV(2) > コンテンツ(0) > ウォーターマーク(-1) */
.header {
  --idx-orange: #fe6c00;
  --idx-black: #1E2227;
  --idx-white: #ffffff;
  --idx-line: #06c755;
  --idx-width: 1440px;
  --header-fs-nav: clamp(11px, calc(8px + 0.4vw), 14px);
  position: relative;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  background: var(--idx-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: var(--header-height);
  min-height: var(--header-height);
  transition: box-shadow 0.3s ease;
}

.header.is-sticky-visible {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  pointer-events: auto;
  overflow: visible;
}

/* ドロワーは閉じている間は常に完全に非表示（ファーストビュー・追従どちらも重複表示を防ぐ） */
.header .header__drawer:not(.is-open) {
  display: none !important;
}

.header__inner {
  width: 100%;
  max-width: var(--idx-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--fluid-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fluid-24);
  box-sizing: border-box;
}

.header__left {
  flex-shrink: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.header__logo img {
  height: clamp(40px, 4vw + 28px, 56px);
  width: auto;
  display: block;
  object-fit: contain;
}

.header__right {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: var(--fluid-12);
  flex: 1;
  min-width: 0;
  padding: var(--fluid-8) 0;
}

.header__row1 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header__row2 {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header__nav--top {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--fluid-16);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__nav--top a {
  color: var(--idx-black);
  font-size: var(--header-fs-nav);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header__nav--top a:hover {
  color: var(--idx-orange);
}

.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--idx-black);
  font-size: var(--idx-fs-body);
  font-weight: 500;
  text-decoration: none;
}

.header__tel:hover {
  color: var(--idx-orange);
}

.header__tel-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.header__btn {
  padding: 10px 24px;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  border: none;
}

.header__btn--line {
  background: var(--idx-line);
  color: var(--idx-white);
}

.header__btn--line:hover {
  opacity: 0.9;
}

.header__btn--contact {
  background: var(--idx-orange);
  color: var(--idx-white);
}

.header__btn--contact:hover {
  opacity: 0.9;
}

/* ハンバーガーボタン（PCでは非表示） */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--idx-black);
  border-radius: 1px;
}

/* 1000px未満：上段メニューを非表示・ハンバーガー表示・ドロワー有効 */
@media (max-width: 999px) {
  .header__row1 {
    display: none;
  }

  .header__right {
    justify-content: center;
  }

  .header__hamburger {
    display: flex;
    flex-shrink: 0;
  }

  /* ドロワー（ハンバーガー開いたときのメニュー） */
  .header__drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
  }

  .header__drawer.is-open {
    display: block !important;
    visibility: visible;
    opacity: 1;
  }

  .header__drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }

  .header__drawer-inner {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    background: var(--idx-white);
    box-shadow: none;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 24px 20px 0;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .header__drawer.is-open .header__drawer-inner {
    transform: translateX(0);
  }

  .header__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fluid-32);
  }

  .header__drawer-logo img {
    height: 40px;
    width: auto;
    display: block;
  }

  .header__drawer-close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__drawer-close-icon {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
  }

  .header__drawer-close-icon::before,
  .header__drawer-close-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2px;
    background: var(--idx-black);
    border-radius: 1px;
  }

  .header__drawer-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .header__drawer-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .header__drawer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin-bottom: var(--fluid-24);
    justify-items: center;
    text-align: center;
  }

  .header__drawer-nav-col {
    display: flex;
    flex-direction: column;
    gap: var(--fluid-16);
    align-items: center;
  }

  .header__drawer-nav a {
    color: var(--idx-black);
    font-size: var(--idx-fs-body);
    font-weight: 700;
    text-decoration: none;
  }

  .header__drawer-nav a:hover {
    color: var(--idx-orange);
  }

  .header__drawer-tel {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: var(--fluid-24);
    text-align: center;
  }

  .header__drawer-tel-ttl {
    font-size: var(--idx-fs-caption);
    color: var(--idx-black);
    margin: 0 0 12px;
  }

  .header__drawer-tel-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin: 0 0 12px;
  }

  .header__drawer-tel-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--idx-black);
    font-size: var(--idx-fs-body);
    font-weight: 500;
    text-decoration: none;
  }

  .header__drawer-tel-num:hover {
    color: var(--idx-orange);
  }

  .header__drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-bottom: 24px;
  }

  .header__drawer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    border: none;
    font-size: var(--idx-fs-body);
    font-weight: bold;
  }

  .header__drawer-btn-sub {
    font-size: var(--idx-fs-caption);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 0.95;
  }

  .header__drawer-btn-main {
    font-size: var(--idx-fs-body);
    font-weight: bold;
  }

  .header__drawer-btn--line {
    background: var(--idx-line);
    color: var(--idx-white);
  }

  .header__drawer-btn--contact {
    background: var(--idx-orange);
    color: var(--idx-white);
  }

  .header__drawer-tel-num img {
    flex-shrink: 0;
  }
}

/* ---------- Header スマホ（769px未満） ---------- */
/* 769px以下：ロゴ・CTA2つ・ハンバーガーを1列に並べる（重なり防止） */
@media (max-width: 768px) {
  .header__inner {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    gap: 12px;
    min-width: 0;
  }

  .header__left {
    flex-shrink: 0;
    min-width: 0;
  }

  .header__logo {
    display: flex;
    max-width: 45vw;
    min-width: 0;
  }

  .header__logo img {
    height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .header__right {
    height: 60px;
    flex-direction: row;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    gap: 0;
  }

  .header__row1 {
    display: none;
  }

  .header__row2 {
    height: 60px;
    min-height: 60px;
    min-width: 0;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 1;
  }

  .header__tel {
    display: none;
  }

  .header__btn {
    padding: 8px 12px;
    font-size: var(--idx-fs-body);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header__btn--line,
  .header__btn--contact {
    display: none;
  }

  .header__hamburger {
    display: flex;
    flex-shrink: 0;
  }

  /* 768px以下のみ：ドロワー内CTAは一列・ボタン内は白線で区切り */
  .header__drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-bottom: 24px;
  }

  .header__drawer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    min-height: 72px;
  }

  .header__drawer-btn-sub {
    font-size: var(--idx-fs-caption);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 0.95;
  }

  .header__drawer-btn-main {
    font-size: var(--idx-fs-body);
    font-weight: bold;
  }

  .header__drawer-tel-num {
    font-size: var(--idx-fs-h4);
    font-weight: bold;
  }

  .header__drawer-tel-num img {
    flex-shrink: 0;
  }
}

/* ---------- Hero ---------- */
.idx-hero {
  position: relative;
  width: 100%;
  max-width: var(--idx-width);
  margin: 0 auto;
  height: 560px;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
}

.idx-hero__bg {
  position: absolute;
  inset: 0;
}

.idx-hero__bg img,
.idx-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.idx-hero__watermark {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: bold;
  color: var(--idx-white);
  opacity: 0.1;
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
}

.idx-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 0 var(--fluid-80) var(--fluid-40);
  box-sizing: border-box;
}

.idx-hero__text-box {
  background: rgba(30, 34, 39, 0.6);
  padding: var(--fluid-32) var(--fluid-40);
  margin-bottom: var(--fluid-24);
  max-width: 640px;
}

/* 768px以下：ヒーローテキストを左下に配置・タイトル2行で収まるサイズ感 */
@media (max-width: 768px) {
  .idx-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: var(--fluid-40);
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
  }

  .idx-hero__text-box {
    margin-bottom: 0;
    max-width: 100%;
    padding: var(--fluid-24) var(--fluid-28);
  }

  .idx-hero__ttl {
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.25;
    margin: 0 0 var(--fluid-12);
  }

  .idx-hero__lead {
    font-size: clamp(13px, 3.2vw, 15px);
    line-height: 1.7;
    margin: 0;
  }
}

.idx-hero__ttl {
  font-size: var(--idx-fs-h2);
  font-weight: bold;
  line-height: 1.3;
  color: var(--idx-white);
  margin: 0 0 var(--fluid-16);
}

.idx-hero__lead {
  font-size: var(--idx-fs-body);
  line-height: 1.8;
  color: var(--idx-white);
  margin: 0;
}

.idx-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--fluid-16) var(--fluid-32);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-hero__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

/* 三角形の矢印は廃止。矢印は img（arrow.svg）を使用 */
.idx-hero__btn-arrow:not(img),
.idx-btn-arrow:not(img) {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--idx-orange);
  margin-left: 4px;
}
.idx-hero__btn .idx-hero__btn-arrow:not(img),
.idx-hero__btn .idx-btn-arrow:not(img) { border-left-color: var(--idx-orange); }

/* ---------- Section common ---------- */
.idx-section {
  padding: var(--fluid-80) 0;
}

.idx-section__inner {
  width: 100%;
  max-width: var(--idx-width);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 var(--fluid-40);
}

.idx-section__ttl {
  font-size: var(--idx-fs-h3);
  font-weight: bold;
  color: var(--idx-black);
  margin: 0 0 var(--fluid-4);
}

.idx-section__ttl-sub {
  font-size: var(--idx-fs-h3);
  font-weight: bold;
  color: var(--idx-black);
  margin: 0 0 var(--fluid-8);
}

.idx-section__subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
  margin: 0 0 var(--fluid-40);
  font-weight: bold;
}

/* ---------- Service (事業内容) ---------- */
.idx-service {
  position: relative;
  background: var(--idx-darkgray);
}

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

.idx-service__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-service__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(25px, calc(12.5px + 3.125vw), 50px);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.30);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

.idx-service .idx-section__ttl,
.idx-service .idx-section__subttl {
  color: var(--idx-white);
}

.idx-service .idx-section__ttl {
  font-size: var(--idx-fs-h2);
}

.idx-service .idx-section__subttl {
  color: var(--idx-orange);
  font-size: var(--idx-fs-body);
}

/* 事業内容：見出し＋画像をまとめるピンゾーン（ここをピンすると見出しも表示される） */
.idx-service__pin-zone {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* 事業内容：上・タイトルエリア（背景・画像より前面に表示） */
.idx-service__top-content {
  position: relative;
  z-index: 2;
  padding-top: var(--fluid-24);
  padding-bottom: var(--fluid-24);
  text-align: center;
}

/* 事業内容：ピン＋横スクロールエリア */
.idx-service--side-scroll {
  padding-bottom: 0;
}

/* 画像ブロック：ネストを浅くし overflow でクリップ（横スライドは JS で transform） */
.idx-service__pin-wrap {
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
  position: relative;
}

/* 768px以下：ピンなし・横スクロール（スワイプ）で隠れた領域を見せる */
@media (max-width: 768px) {
  .idx-service__pin-wrap {
    min-height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .idx-service__scroll-container {
    width: max-content;
    min-width: 100%;
    pointer-events: auto;
  }
}

/* 事業内容：スクロールコンテナ（pin-wrap 直下・幅120vwで横スライド） */
.idx-service__scroll-container {
  width: max-content;
  min-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  will-change: transform;
}

.idx-service__scroll-container-img {
  display: block;
  width: 120vw;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 768px) {
  .idx-service__scroll-container-img {
    width: 200vw;
  }
}

.idx-service__scroll-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
  padding: 0 var(--fluid-40);
  margin: 0;
  width: max-content;
  will-change: transform;
}

.idx-service__scroll-item {
  flex: 0 0 auto;
  width: 380px;
  min-width: 380px;
  padding-right: var(--fluid-24);
}

/* 1セット＝上：サービス六角形、下：ロゴ六角形 */
.idx-service__scroll-item--set {
  display: flex;
  flex-direction: column;
  width: 380px;
  min-width: 380px;
  padding-right: var(--fluid-24);
}

.idx-service__set {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fluid-20);
  width: 100%;
}

/* サービス・ロゴ画像は全て同じサイズ・画像全体を表示 */
.idx-service__item--hex,
.idx-service__item--logo {
  width: 320px;
  height: 368px; /* 320 × 1.15 */
  min-width: 320px;
  min-height: 368px;
  max-width: 320px;
  max-height: 368px;
}

/* ロゴカード（背景画像をそのまま表示・文字なし） */
.idx-service__item--logo {
  position: relative;
  padding: 0;
  background-color: var(--idx-darkgray);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  overflow: hidden;
}

/* サービスカード（背景画像をそのまま表示・CSSで六角形は作らない） */
.idx-service__item--hex {
  position: relative;
  padding: 0;
  background: var(--idx-darkgray);
  border: 1px solid rgba(255,255,255,0.4);
  overflow: hidden;
}

.idx-service__item-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.idx-service__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.idx-service__item-inner {
  position: relative;
  z-index: 2;
  padding: var(--fluid-28) var(--fluid-24) var(--fluid-32);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.idx-service__label {
  display: block;
  font-size: var(--idx-fs-caption);
  font-weight: bold;
  color: var(--idx-orange);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.idx-service__num {
  display: block;
  font-size: var(--idx-fs-h2);
  font-weight: bold;
  color: var(--idx-white);
  line-height: 1;
  margin-bottom: var(--fluid-12);
}

.idx-service__name {
  font-size: var(--idx-fs-body);
  font-weight: bold;
  color: var(--idx-white);
  margin: 0 0 var(--fluid-12);
  line-height: 1.35;
}

.idx-service__desc {
  font-size: var(--idx-fs-caption);
  color: rgba(255,255,255,0.95);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* 事業内容：下・CTA */
.idx-service__bottom-content {
  position: relative;
  z-index: 2;
  padding-top: var(--fluid-48);
  padding-bottom: var(--fluid-80);
  text-align: center;
}

.idx-service__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--fluid-16) var(--fluid-40);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-service__btn .idx-btn-arrow {
  display: block;
  width: 32px;
  height: 15px;
  margin-left: 4px;
  flex-shrink: 0;
}

.idx-service__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

/* ---------- Strength (私たちの強み) ---------- */
.idx-strength {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fluid-60);
  align-self: stretch;
  padding: var(--fluid-60) 0;
}

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

.idx-strength__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-strength__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(25px, calc(12.5px + 3.125vw), 50px);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: bold;
  color: rgba(53, 53, 53, 0.20);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

.idx-strength__inner {
  position: relative;
  z-index: 1;
}

.idx-strength__header {
  text-align: center;
}

.idx-strength .idx-section__ttl {
  font-size: var(--idx-fs-h2);
}

.idx-strength .idx-section__subttl {
  font-size: var(--idx-fs-body);
}

.idx-strength__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fluid-40);
}

/* 横並び時のみ：要素を一つずつフェードイン */
@media (min-width: 769px) {
  .idx-strength__grid .idx-strength__col {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .idx-strength__grid.is-visible .idx-strength__col {
    opacity: 1;
    transform: translateY(0);
  }
  .idx-strength__grid .idx-strength__col:nth-child(1) { transition-delay: 0s; }
  .idx-strength__grid .idx-strength__col:nth-child(2) { transition-delay: 0.15s; }
  .idx-strength__grid .idx-strength__col:nth-child(3) { transition-delay: 0.3s; }
}

/* 768px以下：強みカードを縦1列で表示 */
@media (max-width: 768px) {
  .idx-strength__grid {
    grid-template-columns: 1fr;
  }
}

.idx-strength__col {
  background: var(--idx-white);
  overflow: hidden;
}

.idx-strength__img {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.idx-strength__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-strength__name {
  font-size: var(--idx-fs-h4);
  font-weight: bold;
  padding: var(--fluid-24) var(--fluid-24) 0;
  margin: 0;
}

.idx-strength__text {
  font-size: var(--idx-fs-body);
  line-height: 1.8;
  padding: var(--fluid-12) var(--fluid-24) var(--fluid-32);
  margin: 0;
  color: var(--idx-darkgray);
}

.idx-philosophy--card {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -1px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  min-height: 600px;
  padding: var(--fluid-56) var(--fluid-64) var(--fluid-64);
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url("../img/top/strength_content-card.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: border-box;
  /* 初回表示時のみフワッと出現（1秒遅れて開始） */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.idx-philosophy--card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.idx-philosophy--card .idx-philosophy__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.idx-philosophy--card .idx-philosophy__ttl {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: bold;
  color: var(--idx-black);
  margin: 0 0 8px;
}

.idx-philosophy--card .idx-philosophy__ttl-sub {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: bold;
  color: var(--idx-darkgray);
  margin: 0 0 var(--fluid-28);
}

.idx-philosophy--card .idx-philosophy__logo {
  margin-bottom: var(--fluid-28);
  width: 100%;
  box-sizing: border-box;
}

.idx-philosophy--card .idx-philosophy__logo img {
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.idx-philosophy--card .idx-philosophy__text {
  font-size: var(--idx-fs-h4);
  line-height: 2;
  margin: 0;
  color: var(--idx-darkgray);
}

/* ---------- Reason（選ばれる理由） ---------- */
.idx-reason {
  position: relative;
  padding: 0;
  overflow: hidden;
}

/* 選ばれる理由：単一バナー（背景1枚・左寄せコンテンツ） */
.idx-reason--banner .idx-reason__wrap {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.idx-reason--banner .idx-reason__bg {
  position: absolute;
  inset: 0;
}

.idx-reason--banner .idx-reason__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-reason--banner .idx-reason__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.idx-reason--banner .idx-reason__watermark {
  position: absolute;
  top: 24px;
  right: 40px;
  transform: none;
  font-size: clamp(48px, 8vw, 80px);
  opacity: 0.15;
  color: var(--idx-white);
}

.idx-reason--banner .idx-reason__body {
  position: relative;
  z-index: 2;
  padding: var(--fluid-60) var(--fluid-80);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 65%;
  box-sizing: border-box;
}

.idx-reason--banner .idx-reason__copy {
  font-size: var(--idx-fs-h3);
  font-weight: bold;
  color: var(--idx-white);
  margin: 0 0 0;
  line-height: 1.4;
}

.idx-reason--banner .idx-reason__copy-accent {
  color: var(--idx-orange);
  font-size: var(--idx-fs-h1);
}

.idx-reason--banner .idx-reason__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--idx-white);
  margin: var(--fluid-16) 0 var(--fluid-20);
}

.idx-reason--banner .idx-reason__text {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: var(--idx-white);
  margin: 0 0 var(--fluid-28);
}

.idx-reason--banner .idx-reason__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--fluid-12) var(--fluid-28);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-reason--banner .idx-reason__btn .idx-btn-arrow {
  width: 32px;
  height: 15px;
  border: none;
  background: transparent;
}
.idx-reason--banner .idx-reason__btn img.idx-btn-arrow {
  filter: brightness(0) invert(1);
}

.idx-reason--banner .idx-reason__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

/* 768px以下：選ばれる理由バナーのbodyを幅90%・中央揃え・高さはコンテンツに合わせる */
@media (max-width: 768px) {
  .idx-reason--banner .idx-reason__wrap {
    min-height: auto;
  }

  .idx-reason--banner .idx-reason__body {
    width: 90%;
    max-width: none;
    min-height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: var(--fluid-48) var(--fluid-40);
    align-items: center;
    text-align: center;
    justify-content: flex-start;
  }

  .idx-reason--banner .idx-reason__btn {
    align-self: center;
  }
}

/* 選ばれる理由：2パネル（施工実績などで使用） */
.idx-reason__watermark {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: bold;
  color: var(--idx-white);
  opacity: 0.08;
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
}

.idx-reason__grid {
  display: flex;
  width: 100%;
  max-width: var(--idx-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.idx-reason__panel {
  position: relative;
  width: 50%;
  min-height: 420px;
  overflow: hidden;
}

.idx-reason__bg {
  position: absolute;
  inset: 0;
}

.idx-reason__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.idx-reason__body {
  position: relative;
  z-index: 2;
  padding: var(--fluid-60) var(--fluid-40);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.idx-reason__label {
  font-size: var(--idx-fs-h4);
  font-weight: bold;
  color: var(--idx-white);
  margin: 0 0 8px;
}

.idx-reason__copy {
  font-size: var(--idx-fs-h3);
  font-weight: bold;
  color: var(--idx-white);
  margin: 0 0 var(--fluid-24);
  line-height: 1.35;
}

.idx-reason__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: var(--fluid-12) var(--fluid-28);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-reason__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

.idx-reason__btn .idx-btn-arrow { border-left-color: var(--idx-orange); }

/* ---------- Achievement（施工実績） ---------- */
.idx-achievement {
  position: relative;
  padding: 0;
  overflow: hidden;
}

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

.idx-achievement__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-achievement__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(25px, calc(12.5px + 3.125vw), 50px);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.30);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}

.idx-achievement__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--idx-width);
  margin: 0 auto;
  padding: var(--fluid-48) var(--fluid-40) var(--fluid-56);
  box-sizing: border-box;
}

.idx-achievement__header {
  text-align: center;
  margin-bottom: var(--fluid-40);
}

.idx-achievement .idx-section__ttl {
  font-size: var(--idx-fs-h2);
  color: var(--idx-white);
}

.idx-achievement .idx-section__subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
}

.idx-achievement__grid {
  display: flex;
  width: 100%;
  gap: 0;
  align-items: stretch;
}

.idx-achievement__content {
  width: 50%;
  padding-right: var(--fluid-40);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.idx-achievement__copy {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: bold;
  color: var(--idx-white);
  line-height: 1.4;
  margin: 0 0 var(--fluid-24);
}

.idx-achievement__text {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: var(--idx-white);
  margin: 0 0 var(--fluid-32);
}

.idx-achievement__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: var(--fluid-12) var(--fluid-28);
  background: transparent;
  color: var(--idx-white);
  border: 1px solid var(--idx-white);
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-achievement__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
  border-color: var(--idx-orange);
}

.idx-achievement__btn img.idx-btn-arrow {
  width: 32px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.idx-achievement__img-wrap {
  width: 50%;
  overflow: hidden;
}

.idx-achievement__img-slider-track {
  display: flex;
  width: 400%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.idx-achievement__img-slider-track img {
  flex: 0 0 25%;
  width: 25%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

/* 768px以下：縦並び・右ブロック(画像)を上、左ブロック(テキスト)を下に表示 */
@media (max-width: 768px) {
  .idx-achievement__grid {
    flex-direction: column;
    gap: var(--fluid-40);
  }

  .idx-achievement__content {
    order: 2;
    width: 100%;
    padding-right: 0;
    padding-top: 0;
  }

  .idx-achievement__img-wrap {
    order: 1;
    width: 100%;
  }
}

/* ---------- Company / Area（会社概要・施工エリア） ---------- */
.idx-company-area {
  padding: 0;
}

.idx-company-area__grid {
  display: flex;
  width: 100%;
  max-width: var(--idx-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.idx-company-area__panel {
  position: relative;
  width: 50%;
  min-height: 360px;
  overflow: hidden;
}

.idx-company-area__bg {
  position: absolute;
  inset: 0;
}

.idx-company-area__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-company-area__body {
  position: relative;
  z-index: 2;
  padding: var(--fluid-48) var(--fluid-40);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.idx-company-area .idx-section__ttl {
  font-size: var(--idx-fs-h2);
  font-weight: bold;
  color: var(--idx-white);
  margin: 0 0 8px;
}

.idx-company-area .idx-section__subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
  margin: 0 0 var(--fluid-16);
  font-weight: bold;
  text-transform: uppercase;
}

.idx-company-area__text {
  font-size: var(--idx-fs-body);
  color: var(--idx-white);
  line-height: 1.8;
  margin: 0 0 var(--fluid-20);
}

.idx-company-area__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--fluid-16) var(--fluid-40);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-company-area__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

.idx-company-area__btn .idx-btn-arrow,
.idx-company-area__btn img.idx-btn-arrow {
  width: 32px;
  height: 15px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* 768px以下：縦並び・左ブロック(採用情報)→右ブロック(対応エリア)の順・高さはコンテンツに合わせる */
@media (max-width: 768px) {
  .idx-company-area__grid {
    flex-direction: column;
  }

  .idx-company-area__panel {
    width: 100%;
    min-height: auto;
  }

  .idx-company-area__body {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
  }
}

/* ---------- Message (代表メッセージ) ---------- */
.idx-message {
  position: relative;
}

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

.idx-message__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-message .idx-section__inner {
  position: relative;
  z-index: 1;
}

.idx-message__header {
  text-align: center;
  margin-bottom: var(--fluid-40);
}

.idx-message .idx-section__ttl {
  font-size: var(--idx-fs-h2);
  color: var(--idx-black);
}

.idx-message .idx-section__subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
}

.idx-message__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(25px, calc(12.5px + 3.125vw), 50px);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: bold;
  color: rgba(53, 53, 53, 0.30);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

.idx-message__inner {
  display: flex;
  gap: var(--fluid-60);
  align-items: flex-start;
}

.idx-message__img {
  width: 360px;
  flex-shrink: 0;
  margin: 0;
}

/* 768px以下：縦並び・右ブロック(テキスト)を上、左ブロック(画像)を下に表示 → 画像を上、文章を下（右→左の順） */
@media (max-width: 768px) {
  .idx-message__inner {
    flex-direction: column;
    gap: var(--fluid-40);
  }

  .idx-message__img {
    order: 1;
    width: 100%;
    max-width: 360px;
    align-self: center;
  }

  .idx-message__body {
    order: 2;
  }
}

.idx-message__img img {
  width: 100%;
  height: auto;
  display: block;
}

.idx-message__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fluid-12);
  width: 100%;
  max-width: 759px;
  padding: var(--fluid-40) var(--fluid-20);
  box-sizing: border-box;
  border: 2px solid #FFF;
  background: rgba(255, 255, 255, 0.60);
}

.idx-message__company {
  font-size: var(--idx-fs-h2);
  font-weight: bold;
  color: #333333;
  margin: 0 0 4px;
}

.idx-message__role-name {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  margin: 0;
}

/* 代表紹介：1行表示（オレンジ） */
p.idx-message__role-name {
  font-size: var(--idx-fs-h3);
  font-weight: bold;
  color: var(--idx-orange);
}

.idx-message__role-name .idx-message__role,
.idx-message__role-name h4 {
  font-size: var(--idx-fs-h4);
  font-weight: 500;
  color: var(--idx-orange);
  margin: 0;
}

.idx-message__role-name .idx-message__name,
.idx-message__role-name h3 {
  font-size: var(--idx-fs-h3);
  font-weight: bold;
  color: var(--idx-black);
  margin: 0;
}

.idx-message__text {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  margin: 0 0 var(--fluid-16);
}

.idx-message__text p {
  margin: 0 0 1em;
}

.idx-message__text p:last-child {
  margin-bottom: 0;
}

.idx-message__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--fluid-16) var(--fluid-32);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-message__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

.idx-message__btn .idx-btn-arrow { border-left-color: var(--idx-orange); }
.idx-message__btn img.idx-btn-arrow {
  width: 32px;
  height: 15px;
  filter: brightness(0) invert(1);
}

/* ---------- News / 千寿の施工へのこだわり（2カラム・セクション分割） ---------- */
.idx-two-col {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
}

.idx-two-col > section {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  box-sizing: border-box;
  min-width: 0;
}

/* 768px以下：縦並び・左ブロック(ニュース)→右ブロック(こだわり)の順に表示 */
@media (max-width: 768px) {
  .idx-two-col {
    flex-direction: column;
  }

  .idx-two-col > section {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .idx-news__more {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}

.idx-news {
  position: relative;
  width: 100%;
  background: var(--idx-lgray);
  padding-top: 0;
}

.idx-news .idx-section__inner {
  max-width: 100%;
  margin: 0;
  padding: var(--fluid-80) var(--fluid-40);
}

.idx-news__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(25px, calc(12.5px + 3.125vw), 50px);
  font-size: clamp(50px, 8vw, 100px);
  font-weight: bold;
  color: rgba(0,0,0,0.06);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  z-index: 0;
}

.idx-news__header {
  text-align: center;
  margin-bottom: var(--fluid-40);
  padding-bottom: var(--fluid-16);
  border-bottom: 1px solid #000;
}

.idx-news .idx-section__ttl {
  font-size: var(--idx-fs-h2);
}

.idx-news .idx-section__subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
}

.idx-insistence {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  padding: 0;
}

.idx-insistence__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.idx-insistence__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.idx-insistence__link:hover::after {
  opacity: 1;
}

.idx-insistence__link .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.idx-insistence__watermark {
  position: absolute;
  top: clamp(0, 2vw, 24px);
  right: clamp(24px, 5vw, 48px);
  left: auto;
  font-size: clamp(72px, 12vw, 120px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.15);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  line-height: 1;
  text-align: right;
  z-index: 1;
  pointer-events: none;
}

.idx-insistence__watermark br {
  display: block;
}

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

.idx-insistence__scroll-wrap {
  display: flex;
  overflow: hidden;
  height: 100%;
}

.idx-insistence__scroll-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  height: 100%;
}

.idx-insistence__scroll-list--left {
  animation: idx-insistence-scroll-left 80s infinite linear both;
}

@keyframes idx-insistence-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.idx-insistence__scroll-item {
  width: 100vw;
  min-width: 100vw;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
}

.idx-insistence__scroll-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.idx-insistence__body {
  position: relative;
  z-index: 1;
  padding: var(--fluid-48) var(--fluid-40);
  height: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
}

.idx-insistence__ttl {
  font-size: var(--idx-fs-h2);
  font-weight: bold;
  color: var(--idx-white);
  margin: 0 0 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.idx-insistence__subttl {
  font-size: var(--idx-fs-body);
  font-weight: bold;
  color: var(--idx-orange);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.idx-news__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--fluid-32);
}

.idx-news__list li {
  border-bottom: 1px solid #ddd;
}

.idx-news__list li a {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--fluid-24);
  row-gap: 4px;
  align-items: start;
  padding: var(--fluid-20) 0;
  text-decoration: none;
  color: inherit;
}

.idx-news__list figure {
  grid-column: 1;
  grid-row: 1 / -1;
  width: 100%;
  max-width: 160px;
  min-height: 0;
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  align-self: start;
}

.idx-news__list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-news__meta {
  grid-column: 2;
  grid-row: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--fluid-12);
}

.idx-news__badge {
  background: var(--idx-orange);
  color: var(--idx-white);
  font-size: var(--idx-fs-caption);
  padding: 4px 10px;
}

.idx-news__meta time {
  font-size: var(--idx-fs-body);
  color: var(--idx-gray);
}

.idx-news__title {
  grid-column: 2;
  grid-row: 2;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  margin: 0;
  align-self: start;
  min-width: 0;
}

.idx-news__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--fluid-16) var(--fluid-32);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-news__more:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

.idx-news__more .idx-btn-arrow:not(img) { border-left-color: var(--idx-orange); }
.idx-news__more img.idx-btn-arrow {
  width: 32px;
  height: 15px;
  filter: brightness(0) invert(1);
}

/* ---------- Blog ---------- */
.idx-blog {
  position: relative;
  overflow: hidden;
}

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

.idx-blog__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-blog .idx-section__inner {
  position: relative;
  z-index: 1;
}

.idx-blog__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(24px, 5vw, 48px);
  z-index: 1;
  font-size: clamp(50px, 8vw, 100px);
  font-weight: bold;
  color: rgba(254, 108, 0, 0.30);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  pointer-events: none;
  text-align: right;
}

.idx-blog__header {
  text-align: center;
  margin-bottom: var(--fluid-40);
}

.idx-blog .idx-section__ttl {
  font-size: var(--idx-fs-h2);
}

.idx-blog .idx-section__subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
}

.idx-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fluid-32);
  margin-bottom: var(--fluid-40);
}

/* 768px以下：ブログを縦1列・ニュース同様のレイアウト（画像左・テキスト右） */
@media (max-width: 768px) {
  .idx-blog__grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: var(--fluid-40);
  }

  .idx-blog__item {
    border-bottom: 1px solid #ddd;
  }

  .idx-blog__item a {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--fluid-24);
    align-items: center;
    padding: 20px 0;
  }

  .idx-blog__thumb {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    max-width: 160px;
    margin: 0;
    aspect-ratio: 16 / 10;
  }

  .idx-blog__head {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }

  .idx-blog__excerpt {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-self: start;
  }

  .idx-blog__cat {
    margin-bottom: 4px;
  }

  .idx-blog__title {
    font-size: 16px;
    margin: 0 0 4px;
  }

  .idx-blog__date {
    margin: 0 0 4px;
  }
}

.idx-blog__more-wrap {
  text-align: center;
}

.idx-blog__item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.idx-blog__thumb {
  margin: 0 0 var(--fluid-16);
  aspect-ratio: 16/10;
  overflow: hidden;
}

.idx-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-blog__cat {
  display: inline-block;
  background: var(--idx-orange);
  color: var(--idx-white);
  font-size: var(--idx-fs-caption);
  padding: 4px 10px;
  margin-bottom: var(--fluid-12);
}

.idx-blog__title {
  font-size: var(--idx-fs-h4);
  font-weight: bold;
  margin: 0 0 8px;
  line-height: 1.4;
}

.idx-blog__date {
  font-size: var(--idx-fs-body);
  color: var(--idx-gray);
  margin: 0 0 8px;
  display: block;
}

.idx-blog__excerpt {
  font-size: var(--idx-fs-body);
  line-height: 1.6;
  margin: 0;
}

/* 768px以下：ブログリンクを画像左・テキスト右に（ベースの display:block より後に記述して適用） */
@media (max-width: 768px) {
  .idx-blog__item a {
    display: grid !important;
    grid-template-columns: 160px 1fr;
    gap: var(--fluid-24);
    align-items: center;
    padding: 20px 0;
  }

  .idx-blog__thumb {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    max-width: 160px;
    margin: 0;
    aspect-ratio: 16 / 10;
  }

  .idx-blog__head {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }

  .idx-blog__excerpt {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-self: start;
  }

  .idx-blog__cat {
    margin-bottom: 4px;
  }

  .idx-blog__title {
    font-size: 16px;
    margin: 0 0 4px;
  }

  .idx-blog__date {
    margin: 0 0 4px;
  }
}

.idx-blog__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--fluid-16) var(--fluid-32);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-blog__more:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

.idx-blog__more .idx-btn-arrow:not(img) { border-left-color: var(--idx-orange); }
.idx-blog__more img.idx-btn-arrow {
  width: 32px;
  height: 15px;
  filter: brightness(0) invert(1);
}

/* ---------- Instagram ---------- */
.idx-insta {
  position: relative;
  background: var(--idx-white);
}

.idx-insta__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(25px, calc(12.5px + 3.125vw), 50px);
  z-index: 1;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: bold;
  color: rgba(0, 0, 0, 0.06);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  pointer-events: none;
  text-align: right;
}

.idx-insta .idx-section__inner {
  position: relative;
  z-index: 1;
}

.idx-insta__header {
  text-align: center;
  margin-bottom: var(--fluid-40);
}

.idx-insta .idx-section__ttl {
  font-size: var(--idx-fs-h2);
}

.idx-insta .idx-section__subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
}

.idx-insta__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--fluid-16);
  margin-bottom: var(--fluid-32);
}

.idx-insta__btn-wrap {
  text-align: center;
}

.idx-insta__item {
  aspect-ratio: 1;
  overflow: hidden;
}

.idx-insta__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-insta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--fluid-16) var(--fluid-32);
  background: var(--idx-black);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.idx-insta__btn:hover {
  background: var(--idx-orange);
  color: var(--idx-white);
}

.idx-insta__btn .idx-btn-arrow:not(img) { border-left-color: var(--idx-orange); }
.idx-insta__btn img.idx-btn-arrow {
  width: 32px;
  height: 15px;
  filter: brightness(0) invert(1);
}

/* ---------- Contact ---------- */
.idx-contact {
  position: relative;
  padding: var(--fluid-100) 0;
  overflow: hidden;
}

.idx-contact__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(25px, calc(12.5px + 3.125vw), 50px);
  z-index: 1;
  font-size: clamp(50px, 8vw, 100px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.25);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  pointer-events: none;
  text-align: right;
}

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

.idx-contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx-contact__inner {
  position: relative;
  z-index: 3;
}

.idx-contact__header {
  text-align: center;
  margin-bottom: var(--fluid-40);
}

.idx-contact__ttl {
  color: var(--idx-white) !important;
  font-size: var(--idx-fs-h2);
}

.idx-contact__subttl {
  color: var(--idx-orange) !important;
  font-size: var(--idx-fs-body);
}

.idx-contact__buttons {
  display: flex;
  justify-content: center;
  gap: var(--fluid-24);
  margin-top: var(--fluid-40);
}

.idx-contact__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: var(--fluid-20) var(--fluid-32);
  font-size: var(--idx-fs-body);
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

.idx-contact__btn-label {
  display: block;
  width: 100%;
}

.idx-contact__btn-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: var(--fluid-12);
  padding-top: var(--fluid-12);
  border-top: 1px solid currentColor;
  font-size: var(--idx-fs-body);
  font-weight: normal;
  opacity: 0.95;
  box-sizing: border-box;
}

.idx-contact__btn-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.idx-contact__btn--tel {
  background: var(--idx-white);
  color: var(--idx-black);
}

.idx-contact__btn--tel .idx-contact__btn-sub {
  border-top-color: rgba(0, 0, 0, 0.2);
  font-size: var(--idx-fs-h4);
  font-weight: bold;
}

.idx-contact__btn--form {
  background: var(--idx-line);
  color: var(--idx-white);
}

.idx-contact__btn--line {
  background: var(--idx-orange);
  color: var(--idx-white);
}

/* 768px以下：お問い合わせボタンを縦並びに */
@media (max-width: 768px) {
  .idx-contact__buttons {
    flex-direction: column;
    align-items: center;
  }

  .idx-contact__btn {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }
}

/* ---------- Footer ---------- */
.idx-footer {
  background: var(--idx-white);
  padding: var(--fluid-40) 0 0;
}

.idx-footer__inner {
  width: 100%;
  max-width: var(--idx-width);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 var(--fluid-40) var(--fluid-32);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fluid-40);
}

.idx-footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--fluid-16);
}

/* 768px以下：ロゴとアイコンを縦並び・中央揃え、ナビも中央揃え */
@media (max-width: 768px) {
  .idx-footer__logo-wrap {
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .idx-footer__nav {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

.idx-footer__logo img {
  height: 60px;
  width: auto;
  opacity: 0.9;
}

.idx-footer__instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.idx-footer__instagram img {
  width: 24px;
  height: 24px;
  opacity: 0.9;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.idx-footer__instagram:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(1deg);
}

.idx-footer__nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fluid-24);
}

.idx-footer__nav a {
  color: var(--idx-black);
  font-size: var(--idx-fs-body);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.idx-footer__nav a:hover {
  color: var(--idx-orange);
}

.idx-footer__copy {
  text-align: center;
  padding: var(--fluid-16) var(--fluid-20);
  background: var(--idx-white);
  color: var(--idx-black);
  font-size: var(--idx-fs-body);
  margin: 0;
}

/* ---------- トップへボタン（常に画面右下に固定） ---------- */
.idx-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  background: var(--idx-orange);
  color: var(--idx-white);
  border: none;
  font-size: var(--idx-fs-h4);
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- フローティングバナー（Instagram・トップへボタンの上に配置） ---------- */
@keyframes idx-floating-banner-pulse {
  0%, 100% { transform: scale(0.96); }
  50%       { transform: scale(1.04); }
}

.idx-floating-banner-wrap {
  position: fixed;
  right: 24px;
  bottom: 84px; /* トップへボタン(48px) + 余白(12px) の上 */
  z-index: 999;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.idx-floating-banner-wrap.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.idx-floating-banner__close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--idx-black);
  color: var(--idx-white);
  font-size: var(--idx-fs-h4);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.idx-floating-banner__close span {
  display: block;
  margin-top: -1px;
}
.idx-floating-banner__close:hover {
  background: #333;
  transform: scale(1.08);
}

.idx-floating-banner {
  display: block;
  line-height: 0;
  transition: opacity 0.25s ease;
  transform-origin: right bottom;
  animation: idx-floating-banner-pulse 2.2s ease-in-out infinite;
}
.idx-floating-banner:hover {
  opacity: 0.95;
  animation-play-state: paused;
  transform: scale(1.04);
  transition: transform 0.35s ease-out, opacity 0.25s ease;
}
.idx-floating-banner img {
  display: block;
  width: clamp(var(--idx-floating-banner-min), 13.33vw + 160px, var(--idx-floating-banner-max));
  height: auto;
  vertical-align: top;
}

.idx-to-top__icon {
  display: block;
  transform: rotate(-90deg);
}

.idx-to-top:hover {
  opacity: 0.9;
}
/* ---------- 下層ページ
 * 命名: main にページタイトルと同じクラス（page-XXX.php → class="xxx"）、スタイルは .xxx の入れ子で記述
 * ---------- */
/* about（私たちについて / page-about.php） */
.about {
  width: 100%;
}

.about .about__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about .about__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about .about__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.about .about__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.about .about__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.about .about__fv-heading {
  text-align: center;
}

.about .about__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.about .about__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.about .about__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.about .about__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.about .about__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.about .about__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about .about__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.about .about__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.about .about__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.about .about__text p:last-child {
  margin-bottom: 0;
}

.about .about__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.about .about__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.about .about__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.about .about__nav-btn::after {
  display: none;
}

.about .about__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 768px) {
  .about .about__fv {
    min-height: 50vh;
  }

  .about .about__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .about .about__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fluid-12) var(--fluid-20);
  }

  .about .about__nav-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* about gallery (page-about.php only) */
.about .about__gallery {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* About 01・02: 2K resolution (2048px) display */
.about .about__gallery-2k {
  max-width: 2048px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about .about__gallery-img--2k {
  display: block;
  width: 100%;
  max-width: 2048px;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

.about .about__gallery-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* about_02・about_03: 左右2カラム（各50%） */
/* 一定幅以上：2カラム / 以下：1列 */
.about .about__gallery-two-col {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0;
}

.about .about__gallery-img--half {
  width: 50%;
  flex: 0 0 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about .about__gallery-two-col {
    flex-direction: column;
  }
  .about .about__gallery-img--half {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* service（事業内容 / page-service.php） */
.service {
  width: 100%;
}

.service .service__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service .service__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service .service__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.service .service__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.service .service__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.service .service__fv-heading {
  text-align: center;
}

.service .service__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service .service__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.service .service__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.service .service__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.service .service__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.service .service__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.service .service__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.service .service__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.service .service__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.service .service__text p:last-child {
  margin-bottom: 0;
}

.service .service__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.service .service__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.service .service__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.service .service__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 768px) {
  .service .service__fv {
    min-height: 50vh;
  }

  .service .service__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .service .service__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fluid-12) var(--fluid-20);
  }

  .service .service__nav-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* service gallery（page-service.php）隙間なく並べる */
.service .service__gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.service .service__gallery-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* reason（選ばれる理由 / page-reason.php） */
.reason {
  width: 100%;
}

.reason .reason__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reason .reason__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reason .reason__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.reason .reason__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.reason .reason__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.reason .reason__fv-heading {
  text-align: center;
}

.reason .reason__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.reason .reason__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.reason .reason__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.reason .reason__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.reason .reason__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.reason .reason__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.reason .reason__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.reason .reason__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.reason .reason__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.reason .reason__text p:last-child {
  margin-bottom: 0;
}

.reason .reason__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.reason .reason__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.reason .reason__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.reason .reason__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 768px) {
  .reason .reason__fv {
    min-height: 50vh;
  }

  .reason .reason__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .reason .reason__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fluid-12) var(--fluid-20);
  }

  .reason .reason__nav-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* reason gallery：ビューポート幅いっぱい（page-reason.php） */
.reason .reason__gallery {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reason .reason__gallery-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

/* recruit（採用情報 / page-recruit.php） */
.recruit {
  width: 100%;
}

.recruit .recruit__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.recruit .recruit__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.recruit .recruit__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.recruit .recruit__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.recruit .recruit__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.recruit .recruit__fv-heading {
  text-align: center;
}

.recruit .recruit__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.recruit .recruit__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.recruit .recruit__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.recruit .recruit__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.recruit .recruit__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.recruit .recruit__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.recruit .recruit__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.recruit .recruit__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.recruit .recruit__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.recruit .recruit__text p:last-child {
  margin-bottom: 0;
}

.recruit .recruit__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.recruit .recruit__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.recruit .recruit__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.recruit .recruit__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 768px) {
  .recruit .recruit__fv {
    min-height: 50vh;
  }

  .recruit .recruit__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .recruit .recruit__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fluid-12) var(--fluid-20);
  }

  .recruit .recruit__nav-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* recruit gallery：ビューポート幅いっぱい（page-recruit.php） */
.recruit .recruit__gallery {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recruit .recruit__gallery-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

/* contact（お問い合わせ / page-contact.php） */
.contact {
  width: 100%;
}

.contact .contact__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact .contact__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact .contact__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.contact .contact__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.contact .contact__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.contact .contact__fv-heading {
  text-align: center;
}

.contact .contact__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact .contact__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.contact .contact__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.contact .contact__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.contact .contact__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.contact .contact__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact .contact__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.contact .contact__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.contact .contact__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.contact .contact__text p:last-child {
  margin-bottom: 0;
}

.contact .contact__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.contact .contact__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact .contact__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.contact .contact__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact .contact__fv {
    min-height: 50vh;
  }

  .contact .contact__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .contact .contact__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fluid-12) var(--fluid-20);
  }

  .contact .contact__nav-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* contact お問い合わせフォームセクション（page-contact.php・背景 bg_section_blog） */
.contact .contact__form-section {
  position: relative;
  padding: clamp(60px, 10vw, 100px) 24px;
  overflow: hidden;
}

.contact .contact__form-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact .contact__form-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact .contact__form-watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(24px, 5vw, 48px);
  z-index: 2;
  font-size: clamp(80px, 15vw, 100px);
  font-weight: bold;
  color: rgba(254, 108, 0, 0.25);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  line-height: 1;
  pointer-events: none;
}

.contact .contact__form-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact .contact__form-header {
  margin-bottom: var(--fluid-24);
}

.contact .contact__form-ttl {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: var(--idx-black);
  margin: 0 0 8px;
}

.contact .contact__form-subttl {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
  margin: 0;
}

.contact .contact__form-lead {
  font-size: var(--idx-fs-body);
  line-height: 1.8;
  color: var(--idx-black);
  margin: 0 0 var(--fluid-32);
}

.contact .contact__page-content {
  margin: 0 0 var(--fluid-40);
  font-size: var(--idx-fs-body);
  line-height: 1.8;
  color: var(--idx-black);
  text-align: left;
}

.contact .contact__page-content img {
  max-width: 100%;
  height: auto;
}

.contact .contact__page-content p {
  margin: 0 0 1.5em;
}

.contact .contact__page-content p:last-child {
  margin-bottom: 0;
}

.contact .contact__form-phone-ttl {
  font-size: var(--idx-fs-h4);
  font-weight: bold;
  color: var(--idx-black);
  margin: 0 0 var(--fluid-16);
}

.contact .contact__form-phone-box {
  display: inline-block;
  background: #fff;
  border-radius: var(--fluid-12);
  padding: var(--fluid-32) var(--fluid-56);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.contact .contact__form-tel {
  margin: 0 0 var(--fluid-12);
  font-size: var(--idx-fs-h1);
  font-weight: bold;
}

.contact .contact__form-tel a {
  color: var(--idx-orange);
  text-decoration: none;
}

.contact .contact__form-tel a:hover {
  text-decoration: underline;
}

.contact .contact__form-hours {
  margin: 0;
  font-size: var(--idx-fs-h3);
  color: var(--idx-black);
}

/* ========== achievement-archive（施工実績アーカイブ / archive-achievement.php） ========== */
.achievement-archive {
  width: 100%;
}

.achievement-archive .achievement-archive__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.achievement-archive .achievement-archive__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.achievement-archive .achievement-archive__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.achievement-archive .achievement-archive__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.achievement-archive .achievement-archive__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.achievement-archive .achievement-archive__fv-heading {
  text-align: center;
}

.achievement-archive .achievement-archive__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.achievement-archive .achievement-archive__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.achievement-archive .achievement-archive__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.achievement-archive .achievement-archive__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.achievement-archive .achievement-archive__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.achievement-archive .achievement-archive__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.achievement-archive .achievement-archive__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.achievement-archive .achievement-archive__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.achievement-archive .achievement-archive__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.achievement-archive .achievement-archive__text p:last-child {
  margin-bottom: 0;
}

.achievement-archive .achievement-archive__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.achievement-archive .achievement-archive__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.achievement-archive .achievement-archive__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.achievement-archive .achievement-archive__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

/* ========== 施工実績スライダー ========== */
.achv-slider {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 10vw, 100px) 24px;
}

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

.achv-slider__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achv-slider__overlay {
  display: none;
}

.achv-slider__watermark {
  position: absolute;
  top: clamp(-18px, calc(-9px - 2.25vw), -36px);
  right: clamp(24px, 5vw, 48px);
  z-index: 2;
  font-size: clamp(60px, 12vw, 100px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.30);
  font-family: "Alfa Slab One", sans-serif;
  margin: 0;
  line-height: 1;
  pointer-events: none;
}

.achv-slider__inner {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
}

.achv-slider__header {
  text-align: center;
  margin-bottom: var(--fluid-40);
}

.achv-slider__ttl {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
}

.achv-slider__sub {
  font-size: var(--idx-fs-body);
  color: var(--idx-orange);
  margin: 0;
}

/* スライドステージ */
.achv-slider__stage {
  position: relative;
}

.achv-slider__track {
  position: relative;
  overflow: hidden;
}

.achv-slider__slide {
  display: none;
}

.achv-slider__slide--active {
  display: block;
}

.achv-slider__slide--slide-out-left,
.achv-slider__slide--slide-out-right {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.achv-slider__slide--slide-in-left,
.achv-slider__slide--slide-in-right {
  z-index: 2;
}

.achv-slider__slide .achv-slider__images {
  overflow: hidden;
}

.achv-slider__slide--slide-in-right .achv-slider__images > * {
  animation: achvSlideInRight 0.5s ease forwards;
}

.achv-slider__slide--slide-in-left .achv-slider__images > * {
  animation: achvSlideInLeft 0.5s ease forwards;
}

.achv-slider__slide--slide-out-right .achv-slider__images > * {
  animation: achvSlideOutRight 0.5s ease forwards;
}

.achv-slider__slide--slide-out-left .achv-slider__images > * {
  animation: achvSlideOutLeft 0.5s ease forwards;
}

@keyframes achvSlideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes achvSlideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

@keyframes achvSlideOutRight {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}

@keyframes achvSlideOutLeft {
  from { transform: translateX(0);     opacity: 1; }
  to   { transform: translateX(-100%); opacity: 0; }
}

/* 左右矢印 */
.achv-slider__arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.25s ease;
}

.achv-slider__arrow:hover {
  opacity: 0.7;
}

.achv-slider__arrow-icon {
  width: 32px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.achv-slider__arrow--prev {
  left: -56px;
}

.achv-slider__arrow--prev .achv-slider__arrow-icon {
  transform: rotate(180deg);
}

.achv-slider__arrow--next {
  right: -56px;
}

/* BEFORE / AFTER 画像エリア */
.achv-slider__images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--fluid-24);
}

.achv-slider__img-col {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.achv-slider__label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 6px 18px;
  font-size: var(--idx-fs-caption);
  font-weight: bold;
  letter-spacing: 0.08em;
}

.achv-slider__label--before {
  background: #2d2d2d;
  color: #fff;
}

.achv-slider__label--after {
  background: var(--idx-orange);
  color: #fff;
}

.achv-slider__fig {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

/* 三角再生アイコン（BEFORE→AFTER の間） */
.achv-slider__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  font-size: var(--idx-fs-h3);
  color: var(--idx-orange);
}

/* 施工情報テーブル */
.achv-slider__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--fluid-24);
}

.achv-slider__table th,
.achv-slider__table td {
  padding: var(--fluid-10) var(--fluid-16);
  font-size: var(--idx-fs-body);
  line-height: 1.6;
  vertical-align: top;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.achv-slider__table th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: bold;
  white-space: nowrap;
  width: 100px;
  text-align: center;
}

.achv-slider__table td {
  background: transparent;
}

/* ドットインジケーター */
.achv-slider__dots {
  display: flex;
  justify-content: center;
  gap: var(--fluid-10);
}

.achv-slider__dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.25s ease;
}

.achv-slider__dot--active {
  background: var(--idx-orange);
}

@media (max-width: 900px) {
  .achv-slider__arrow--prev { left: 0; }
  .achv-slider__arrow--next { right: 0; }
}

@media (max-width: 768px) {
  .achv-slider__images {
    flex-direction: column;
    gap: var(--fluid-12);
  }

  .achv-slider__img-col {
    max-width: 100%;
  }

  .achv-slider__play {
    transform: rotate(90deg);
    width: auto;
    height: 32px;
  }

  .achv-slider__table th,
  .achv-slider__table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .achv-slider__table tr {
    display: flex;
    flex-wrap: wrap;
  }

  .achv-slider__table th {
    flex: 0 0 100px;
  }

  .achv-slider__table td {
    flex: 1;
    min-width: 0;
  }

  .achv-slider__table td[colspan] {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .achievement-archive .achievement-archive__fv {
    min-height: 50vh;
  }

  .achievement-archive .achievement-archive__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .achievement-archive .achievement-archive__nav {
    display: flex;
    justify-content: center;
  }

  .achievement-archive .achievement-archive__nav-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* ========== blog-archive（ブログアーカイブ / archive-blog.php） ========== */
.blog-archive {
  width: 100%;
}

.blog-archive .blog-archive__fv,
.blog-single .blog-archive__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-archive .blog-archive__fv-bg,
.blog-single .blog-archive__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-archive .blog-archive__fv-overlay,
.blog-single .blog-archive__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.blog-archive .blog-archive__fv-inner,
.blog-single .blog-archive__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.blog-archive .blog-archive__fv-body,
.blog-single .blog-archive__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.blog-archive .blog-archive__fv-heading,
.blog-single .blog-archive__fv-heading {
  text-align: center;
}

.blog-archive .blog-archive__fv-logo,
.blog-single .blog-archive__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.blog-archive .blog-archive__fv-ttl,
.blog-single .blog-archive__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.blog-archive .blog-archive__fv-sub,
.blog-single .blog-archive__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.blog-archive .blog-archive__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.blog-archive .blog-archive__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.blog-archive .blog-archive__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.blog-archive .blog-archive__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.blog-archive .blog-archive__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.blog-archive .blog-archive__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.blog-archive .blog-archive__text p:last-child {
  margin-bottom: 0;
}

.blog-archive .blog-archive__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.blog-archive .blog-archive__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.blog-archive .blog-archive__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.blog-archive .blog-archive__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

/* ブログ一覧（3カラムグリッド） */
.blog-archive__list {
  padding: clamp(48px, 8vw, 80px) 24px;
  background: #fff;
}

.blog-archive__list-inner {
  max-width: 960px;
  margin: 0 auto;
}

.blog-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fluid-32);
}

.blog-archive__card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}

.blog-archive__card:hover {
  opacity: 0.8;
}

.blog-archive__thumb {
  margin: 0 0 var(--fluid-12);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
}

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

.blog-archive__date {
  display: block;
  font-size: var(--idx-fs-caption);
  color: var(--idx-gray, #555);
  margin: 0 0 6px;
}

.blog-archive__card-ttl {
  font-size: var(--idx-fs-body);
  font-weight: bold;
  color: var(--idx-black, #1E2227);
  margin: 0 0 6px;
  line-height: 1.4;
}

.blog-archive__excerpt {
  font-size: var(--idx-fs-body);
  line-height: 1.6;
  color: var(--idx-gray, #555);
  margin: 0;
}

@media (max-width: 768px) {
  .blog-archive .blog-archive__fv,
  .blog-single .blog-archive__fv {
    min-height: 50vh;
  }

  .blog-archive .blog-archive__fv-logo,
  .blog-single .blog-archive__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .blog-archive .blog-archive__nav {
    display: flex;
    justify-content: center;
  }

  .blog-archive .blog-archive__nav-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    box-sizing: border-box;
  }

  .blog-archive__grid {
    grid-template-columns: 1fr;
    gap: var(--fluid-24);
  }
}

/* ========== blog-single（ブログ個別記事 / single.php） ========== */
.blog-single {
  width: 100%;
}

.blog-single__content {
  position: relative;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: hidden;
}

.blog-single__content-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-single__content-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-single__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.blog-single__article {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: var(--fluid-40) var(--fluid-32);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.blog-single__meta {
  display: flex;
  align-items: center;
  gap: var(--fluid-12);
  margin-bottom: var(--fluid-16);
}

.blog-single__cat {
  display: inline-block;
  background: var(--idx-orange);
  color: #fff;
  font-size: var(--idx-fs-caption);
  font-weight: bold;
  padding: 4px 12px;
  text-decoration: none;
  border-radius: 2px;
}

.blog-single__date {
  font-size: var(--idx-fs-body);
  color: var(--idx-gray, #555);
}

.blog-single__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: bold;
  color: var(--idx-black);
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
}

.blog-single__eyecatch {
  width: 90%;
  margin: 0 auto var(--fluid-32);
  border-radius: 6px;
  overflow: hidden;
}

.blog-single__eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-single__body {
  font-size: var(--idx-fs-body);
  line-height: 2;
  color: var(--idx-black);
}

.blog-single__body p {
  margin: 0 0 1.5em;
}

.blog-single__body p:last-child {
  margin-bottom: 0;
}

.blog-single__body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 前後記事ナビ + 戻る */
.blog-single__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--fluid-24);
  margin-top: var(--fluid-40);
}

.blog-single__nav-item {
  display: flex;
  align-items: center;
}

.blog-single__nav-item--next,
.blog-single__nav-item--prev {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.blog-single__nav-link {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.blog-single__nav-link:hover {
  color: var(--idx-orange);
}

.blog-single__nav-item--back {
  flex: 0 0 auto;
}

.blog-single__nav-btn--back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--fluid-20) var(--fluid-48);
  background: var(--idx-black);
  color: #fff;
  border: none;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: bold;
  border-radius: 0;
  letter-spacing: 0.08em;
  transition: background 0.25s ease;
}

.blog-single__nav-btn--back:hover {
  background: var(--idx-orange);
  color: #fff;
}

@media (max-width: 768px) {
  .blog-single__article {
    padding: var(--fluid-24) var(--fluid-20);
  }

  .blog-single__nav {
    flex-direction: column;
    gap: var(--fluid-12);
  }

  .blog-single__nav-btn--back {
    width: 100%;
    justify-content: center;
  }
}

/* ========== news-archive（お知らせアーカイブ / archive-news.php） ========== */
.news-archive {
  width: 100%;
}

.news-archive .news-archive__fv,
.news-single .news-archive__fv {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-archive .news-archive__fv-bg,
.news-single .news-archive__fv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-archive .news-archive__fv-overlay,
.news-single .news-archive__fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.news-archive .news-archive__fv-inner,
.news-single .news-archive__fv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--fluid-80) var(--fluid-24);
  text-align: center;
}

.news-archive .news-archive__fv-body,
.news-single .news-archive__fv-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.news-archive .news-archive__fv-heading,
.news-single .news-archive__fv-heading {
  text-align: center;
}

.news-archive .news-archive__fv-logo,
.news-single .news-archive__fv-logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--fluid-24);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.news-archive .news-archive__fv-ttl,
.news-single .news-archive__fv-ttl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.news-archive .news-archive__fv-sub,
.news-single .news-archive__fv-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
}

.news-archive .news-archive__content {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: #2d2d2d;
  padding: clamp(48px, 8vw, 80px) 24px;
  overflow: visible;
}

.news-archive .news-archive__watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
  font-family: "Alfa Slab One", sans-serif;
  transform: rotate(-15deg);
  transform-origin: left bottom;
}

.news-archive .news-archive__content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.news-archive .news-archive__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: #fff;
  margin: 0 0 var(--fluid-32);
  line-height: 1.5;
  text-align: center;
}

.news-archive .news-archive__text {
  margin-bottom: var(--fluid-48);
  text-align: center;
}

.news-archive .news-archive__text p {
  font-size: var(--idx-fs-body);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 1em;
  text-align: center;
}

.news-archive .news-archive__text p:last-child {
  margin-bottom: 0;
}

.news-archive .news-archive__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fluid-12) var(--fluid-20);
  justify-content: center;
  padding-bottom: var(--fluid-10);
}

.news-archive .news-archive__nav-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--fluid-16) var(--fluid-24) var(--fluid-20);
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: clamp(15px, 2vw, 17px);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.news-archive .news-archive__nav-btn:hover {
  background: #fff;
  color: #2d2d2d;
}

.news-archive .news-archive__nav-arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%) rotate(90deg);
  width: 28px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
}

/* お知らせ一覧（3カラムグリッド） */
.news-archive__list {
  padding: clamp(48px, 8vw, 80px) 24px;
  background: #fff;
}

.news-archive__list-inner {
  max-width: 960px;
  margin: 0 auto;
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fluid-32);
}

.news-archive__card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}

.news-archive__card:hover {
  opacity: 0.8;
}

.news-archive__thumb {
  margin: 0 0 var(--fluid-12);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
}

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

.news-archive__date {
  display: block;
  font-size: var(--idx-fs-caption);
  color: var(--idx-gray, #555);
  margin: 0 0 6px;
}

.news-archive__card-ttl {
  font-size: var(--idx-fs-body);
  font-weight: bold;
  color: var(--idx-black, #1E2227);
  margin: 0 0 6px;
  line-height: 1.4;
}

.news-archive__excerpt {
  font-size: var(--idx-fs-body);
  line-height: 1.6;
  color: var(--idx-gray, #555);
  margin: 0;
}

.news-archive__card-cat {
  display: inline-block;
  font-size: var(--idx-fs-caption);
  color: var(--idx-orange);
  font-weight: bold;
  margin: 4px 0 0;
}

.news-archive__none {
  text-align: center;
  color: var(--idx-gray, #555);
  padding: var(--fluid-40);
  margin: 0;
}

@media (max-width: 768px) {
  .news-archive .news-archive__fv,
  .news-single .news-archive__fv {
    min-height: 50vh;
  }

  .news-archive .news-archive__fv-logo,
  .news-single .news-archive__fv-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .news-archive .news-archive__nav {
    display: flex;
    justify-content: center;
  }

  .news-archive .news-archive__nav-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    box-sizing: border-box;
  }

  .news-archive__grid {
    grid-template-columns: 1fr;
    gap: var(--fluid-24);
  }
}
