@charset "UTF-8";
/*
Theme Name: Company Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: 汎用的な企業サイト向けテーマ。TOP・事業内容・選ばれる理由・ブログ・会社概要・お問い合わせ・プライバシーポリシーの7ページ構成。
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: company-theme
*/

/* ===============================================
   CSS Variables (カスタマイザーから上書き可能)
   =============================================== */
:root {
  /* ===== メインカラー（カスタマイザーで上書き可能） ===== */
  --color-primary:      #1a1a1a;
  --color-primary-dark: #333333;   /* ボタンhover等、primaryより少し明るい */
  --color-text:         #1a1a1a;
  --color-text-sub:     #6b6b6b;
  --color-bg:           #ffffff;
  --color-bg-sub:       #f5f3ee;
  --color-bg-light:     #f8f7f4;
  --color-border:       #d0d0d0;
  --color-white:        #ffffff;

  /* ===== 固定ブランドカラー ===== */
  --color-line:         #06C755;   /* LINE公式ブランドカラー */

  /* ===== UI補助色 ===== */
  --color-placeholder:  #d4d1c8;   /* 画像未設定時の背景 */
  --color-disabled:     #aaaaaa;   /* 非活性テキスト */
  --color-error:        #d0021b;   /* バリデーションエラー */

  /* ===== フッター（カスタマイザーで上書き可能） ===== */
  --color-footer-bg:     #3a3a3a;
  --color-footer-text:   #bbbbbb;
  --color-footer-sub:    #999999;
  --color-footer-border: #4d4d4d;

  /* ===== フォント・スタイル ===== */
  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --letter-spacing: 0.08em;
  --radius: 0px;
  --shadow: none;

  /* ===== タイプスケール ===== */
  --fs-body:  16px;
  --fs-lead:  20px;
  --fs-h3:    24px;
  --fs-h2:    32px;
  --fs-h1:    48px;
  --lh-text:  2.0;

  /* ===== レイアウト ===== */
  --container-max:   1400px;
  --container-inner: 1264px;

  /* ===== セクション余白（カスタマイザーで上書き可能） ===== */
  --spacing-section:    140px;  /* PC セクション上下パディング */
  --spacing-section-sm:  72px;  /* SP セクション上下パディング */
}

/* ===============================================
   Reset & Base
   =============================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-text);
  letter-spacing: var(--letter-spacing);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }
button { font-family: inherit; letter-spacing: inherit; cursor: pointer; border: none; background: none; padding: 0; }
input, textarea, select { font-family: inherit; letter-spacing: inherit; }

/* ===============================================
   Layout
   =============================================== */
.container { max-width: var(--container-inner); margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .container { padding: 0 20px; } }

.section { padding: var(--spacing-section) 0; }
.section-bg { background: var(--color-bg-sub); }

@media (max-width: 767px) {
  .section { padding: var(--spacing-section-sm) 0; }
}

/* ===============================================
   Typography — Section Head
   =============================================== */
.section-head {
  margin-bottom: 96px;
  text-align: center;
}
.section-head__num { display: none; }

.section-head__en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--color-text-sub);
  font-weight: 400;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section-head__en::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border));
}
.section-head__en::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--color-border));
}

.section-head__jp {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  position: relative;
  display: inline-block;
}
.section-head__jp::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--color-primary);
}
.section-head--left .section-head__jp::after {
  left: 0;
  transform: none;
}

/* 左寄せセクション見出し */
.section-head--left {
  text-align: left;
  margin-bottom: 40px;
}
.section-head--left .section-head__en {
  justify-content: flex-start;
}
.section-head--left .section-head__en::before {
  display: none;
}

@media (max-width: 767px) {
  .section-head { margin-bottom: 52px; }
  .section-head__en { font-size: 10px; gap: 16px; }
  .section-head__en::before,
  .section-head__en::after { width: 32px; }
  .section-head__jp { font-size: 24px; }
}

/* ===============================================
   Buttons
   =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 280px;
  padding: 18px 24px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
  position: relative;
}
.btn::after {
  content: '→';
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.btn:hover::after { transform: translateX(8px); }
.btn:hover { opacity: 1; }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn--outline:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.btn--white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--white:hover { background: var(--color-white); color: var(--color-text); }

.btn-wrap { text-align: center; margin-top: 56px; }

@media (max-width: 767px) {
  .btn { width: 240px; padding: 16px 20px; font-size: 13px; }
  .btn-wrap { margin-top: 40px; }
}
@media (max-width: 374px) {
  .btn { width: 100%; }
}

/* ===============================================
   Header
   =============================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  /* iOS Safari の fixed ズレ防止 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 3vw, 48px);
  height: 80px;
}

.header__logo { display: flex; align-items: center; }
.header__logo a {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.4s ease;
}
.header__logo img {
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}
.header.is-scrolled .header__logo a { color: var(--color-text); }
.header.is-scrolled .header__logo img { filter: none; }

.header__nav { display: flex; gap: 24px; align-items: center; }
.header__nav > a {
  font-size: 13px;
  font-weight: 400;
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.header.is-scrolled .header__nav > a { color: var(--color-text); }
.header__nav > a:not(.header__cta):not(.header__tel)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.25s;
}
.header__nav > a:not(.header__cta):not(.header__tel):hover { opacity: 1; }
.header__nav > a:not(.header__cta):not(.header__tel):hover::after { width: 100%; }

/* 電話番号 */
.header__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.4s ease;
}
.header.is-scrolled .header__tel { color: var(--color-text); }
.header__tel-icon {
  flex-shrink: 0;
  color: inherit;
}
.header__tel-body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.header__tel-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.header__tel-hours {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  transition: color 0.4s ease;
}
.header.is-scrolled .header__tel-hours { color: var(--color-text-sub); }

/* CTAボタン */
.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.header.is-scrolled .header__cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-color: transparent;
}
body:not(.home) .header .header__cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-color: transparent;
}
.header__cta:hover { opacity: 0.8; }

.header__line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.4s ease, opacity 0.2s;
}
.header__line:hover { opacity: 0.7; }
.header.is-scrolled .header__line { color: var(--color-line); }
body:not(.home) .header .header__line { color: var(--color-line); }

.header__menu-btn { display: none; }
.header__drawer { display: none; }

/* サブページのみヘッダー高さ分オフセット（TOPはヒーローがヘッダー裏に潜るため不要） */
body:not(.home) { padding-top: 80px; }

/* サブページは常に白背景 */
body:not(.home) .header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
body:not(.home) .header .header__logo a { color: var(--color-text); }
body:not(.home) .header .header__logo img { filter: none; }
body:not(.home) .header .header__nav > a { color: var(--color-text); }
body:not(.home) .header .header__tel { color: var(--color-text); }
body:not(.home) .header .header__tel-hours { color: var(--color-text-sub); }
body:not(.home) .header .header__cta { background: var(--color-primary); color: var(--color-white); border-color: transparent; }

@media (max-width: 1023px) {
  .header__inner { padding: 0 20px; height: 72px; }
  .header__nav { display: none; }
  body:not(.home) { padding-top: 72px; }

  .header__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
  }
  .header__menu-btn span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.3s;
  }
  .header__menu-btn.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .header__menu-btn.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

  .header__drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* bottom:0 はiOS Safariで不安定なため height で管理 */
    height: 100%;
    height: 100dvh;
    background: var(--color-white);
    /* padding-top でヘッダー分を確保 */
    padding: 88px 24px 48px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* ヘッダー(z-index:1000)より下に置いて常に上に重なるようにする */
    z-index: 998;
  }
  .header__drawer.is-open { transform: translateX(0); }
  /* ドロワー開放中はヘッダーを確実に白背景に */
  .header.drawer-open {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom-color: var(--color-border) !important;
  }
  .header__drawer ul { display: flex; flex-direction: column; gap: 0; }
  .header__drawer li { border-bottom: 1px solid var(--color-border); }
  .header__drawer a { display: block; padding: 20px 0; font-size: 15px; font-weight: 400; color: var(--color-text); }
  .header__drawer-cta { margin-top: 32px; }
  .header__drawer-cta a {
    display: block;
    padding: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
  }
}

/* ===============================================
   Page Header (下層ページ共通)
   =============================================== */
.page-header {
  background: var(--color-bg-sub);
  padding: 96px 40px 80px;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.0) 60%, rgba(255,255,255,0.45) 100%);
  pointer-events: none;
}
.page-header__num { display: none; }
.page-header__en {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--color-text-sub);
  font-weight: 400;
  margin-bottom: 16px;
  text-transform: uppercase;
  position: relative;
}
.page-header__jp {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
}
.page-header__breadcrumb { font-size: 12px; color: var(--color-text-sub); position: relative; }
.page-header__breadcrumb span { margin: 0 8px; color: var(--color-text-sub); opacity: 0.5; }

@media (max-width: 767px) {
  .page-header { padding: 56px 20px; }
  .page-header__jp { font-size: 32px; }
}

/* ===============================================
   Hero (TOP) — フルスクリーン背景画像型
   =============================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* スライドショー */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center;
}
/* 最初のスライドはズームイン（JSが交互に切り替える） */
.hero__slide.is-active img {
  animation: hero-zoom-in 5.5s ease-in-out forwards;
}
@keyframes hero-zoom-in {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
@keyframes hero-zoom-out {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}
.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-primary);
}

/* 左側グラデーションオーバーレイ */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.60) 30%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

/* テキストエリア */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(24px, 3vw, 48px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__text {
  width: 100%;
}
.hero__label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.hero__title {
  font-size: clamp(40px, 4.5vw, 76px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 28px;
}
.hero__sub {
  font-size: clamp(14px, 1vw, 17px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 2;
}
.hero__title-img {
  margin-bottom: 28px;
}
.hero__title-img img {
  max-width: min(560px, 80vw);
  height: auto;
  display: block;
}

/* SCROLLインジケーター（左下固定） */
.hero__scroll-wrap {
  position: absolute;
  bottom: clamp(32px, 4vh, 56px);
  left: clamp(24px, 3vw, 48px);
  z-index: 2;
}
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.55);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  writing-mode: horizontal-tb;
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1023px) {
  .hero { max-height: none; }
  .hero__title { font-size: clamp(38px, 5vw, 60px); }
}
@media (max-width: 767px) {
  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: unset;
    max-height: none;
  }
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.45) 60%,
      rgba(0, 0, 0, 0.30) 100%
    );
  }
  .hero__title {
    font-size: clamp(34px, 8vw, 48px);
    margin-bottom: 20px;
  }
  .hero__sub { font-size: 14px; }
  .hero__label { margin-bottom: 20px; }

  /* タイトル画像が大きすぎて overflow:hidden でクリップされるのを防ぐ */
  .hero__title-img img {
    max-height: 30vh;
    width: auto;
    max-width: min(300px, 75vw);
  }
  /* コンテンツが多い場合でも上から表示されるよう justify を変更 */
  .hero__inner {
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
  }
}

/* ===============================================
   About Section — 全幅スプリットレイアウト
   =============================================== */
.section--about { padding: 0; overflow: hidden; }

.about__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.about__split-img {
  overflow: hidden;
  position: relative;
  background: var(--color-placeholder);
}
.about__split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}
.about__split-img:hover img { transform: scale(1.04); }

.about__split-body {
  padding: clamp(60px, 7vw, 120px) clamp(48px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg);
}
.about__text {
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 40px;
  color: var(--color-text-sub);
}

@media (max-width: 1023px) {
  .about__split { grid-template-columns: 1fr; min-height: auto; }
  .about__split-img { aspect-ratio: 16 / 9; order: 2; }
  .about__split-body { padding: 60px 40px; order: 1; }
}
@media (max-width: 767px) {
  .about__split-img { aspect-ratio: 16 / 9; }
  .about__split-body { padding: 48px 20px; }
  .about__text { font-size: 14px; }
}

/* ===============================================
   Card Grid (事業内容)
   =============================================== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid--3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.card-grid--3 > .card { flex: 0 1 calc((100% - 64px) / 3); min-width: 0; }
.card-grid--3 .card__img { aspect-ratio: 16 / 9; }
.card-grid--3 .card__body { padding: 28px 28px 32px; }
.card-grid--3 .card__label { font-size: 12px; margin-bottom: 12px; }
.card-grid--3 .card__title { font-size: 18px; margin-bottom: 12px; }
.card-grid--3 .card__desc { font-size: 14px; }
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.card:hover {
  opacity: 1;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-placeholder);
  overflow: hidden;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 28px; }
.card__label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 500;
  opacity: 0.6;
}
.card__title { font-size: 17px; font-weight: 700; margin-bottom: 12px; line-height: 1.55; }
.card__desc { font-size: 13px; color: var(--color-text-sub); line-height: 1.9; }

@media (max-width: 1023px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 > .card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-grid--3 { gap: 20px; }
  .card-grid--3 > .card { flex-basis: 100%; }
  .card-grid--3 .card__img { aspect-ratio: 16 / 9; }
  .card__body { padding: 16px; }
  .card__title { font-size: 14px; }
  .card__desc { font-size: 12px; }
}

/* ===============================================
   Parallax Background (section modifier)
   =============================================== */
.section--parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.section--parallax__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
}
.section--parallax .container {
  position: relative;
  z-index: 1;
}

/* セクション見出し・ボタンの色はそのまま維持 */
.section--parallax .section-head__en,
.section--parallax .section-head__jp { position: relative; }

/* iOS Safari は fixed attachment 非対応のためスクロールに切り替え */
@media (max-width: 1023px) {
  .section--parallax {
    background-attachment: scroll;
  }
}

/* ===============================================
   Reason (選ばれる理由) TOP — 白背景クリーンレイアウト
   =============================================== */
.section--reason { background: var(--color-bg); }

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.reason-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.reason-row--reverse .reason-row__img { order: -1; }

.reason-row__img {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-sub);
}
.reason-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.reason-row:hover .reason-row__img { }
.reason-row:hover .reason-row__img img { transform: scale(1.04); }

.reason-row__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reason-row__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 6px 16px 6px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-text-sub);
  width: fit-content;
  background: var(--color-bg-sub);
}
.reason-row__badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.reason-row__num {
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.07;
  margin-bottom: -28px;
}
.reason-row__title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}
.reason-row__desc {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 2.0;
}

@media (max-width: 1023px) {
  .reason-row { gap: 40px; }
}
@media (max-width: 767px) {
  .reason-list { gap: 56px; }
  .reason-row { grid-template-columns: 1fr; gap: 24px; }
  .reason-row--reverse .reason-row__img { order: 0; }
  .reason-row__num { font-size: 48px; margin-bottom: -16px; }
}

/* 下層ページ用グリッド（page-reason.php で引き続き使用） */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-card {
  position: relative;
  padding: 48px 36px 44px;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.35s ease;
}
.reason-card:hover { transform: translateY(-8px); }
.reason-card__num {
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  position: absolute;
  top: 16px;
  right: 20px;
  pointer-events: none;
}
.reason-card__title { font-size: 19px; font-weight: 700; margin-bottom: 16px; line-height: 1.5; position: relative; margin-top: 24px; }
.reason-card__desc { font-size: 14px; line-height: 2; position: relative; }

/* 下層ページ用（横並びリスト型） */
.reason-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 48px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 80px 1fr 240px;
  gap: 32px;
  align-items: center;
}
.reason-item__num { font-size: 40px; font-weight: 300; color: var(--color-border); margin: 0; line-height: 1; }
.reason-item__label { font-size: 11px; color: var(--color-text-sub); margin-bottom: 8px; font-weight: 400; letter-spacing: 0.15em; }
.reason-item__title { font-size: 20px; font-weight: 500; margin-bottom: 16px; line-height: 1.5; }
.reason-item__desc { font-size: 14px; color: var(--color-text-sub); line-height: 2; }
.reason-item__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-placeholder);
  border-radius: 0;
  overflow: hidden;
}
.reason-item__img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1023px) {
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-item { grid-template-columns: 60px 1fr; padding: 32px; }
  .reason-item__img { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card { padding: 32px 24px; }
  .reason-item { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .reason-item__num { font-size: 28px; }
}

/* ===============================================
   Service Detail (事業内容下層)
   =============================================== */
.service-detail { margin-bottom: 72px; }
.service-detail:last-child { margin-bottom: 0; }
.service-detail__item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.service-detail__item.reverse { grid-template-columns: 1.2fr 1fr; }
.service-detail__item.reverse .service-detail__img-wrap { order: 2; }
.service-detail__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-placeholder);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.service-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__label { font-size: 11px; letter-spacing: 0.2em; color: var(--color-text-sub); margin-bottom: 12px; font-weight: 400; }
.service-detail__en { font-size: 11px; margin-bottom: 12px; font-weight: 400; }
.service-detail__title { font-size: 26px; font-weight: 500; margin-bottom: 24px; line-height: 1.5; }
.service-detail__desc { font-size: 15px; line-height: 2; margin-bottom: 28px; color: var(--color-text-sub); }
.service-detail__features { margin-bottom: 36px; }
.service-detail__features li {
  font-size: 14px;
  color: var(--color-text-sub);
  padding: 10px 0 10px 22px;
  position: relative;
  line-height: 1.7;
  border-bottom: 1px solid var(--color-border);
}
.service-detail__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

@media (max-width: 767px) {
  .service-detail__item,
  .service-detail__item.reverse { grid-template-columns: 1fr; gap: 28px; }
  .service-detail__item.reverse .service-detail__img-wrap { order: 0; }
  .service-detail__title { font-size: 22px; }
}

/* ===============================================
   Blog
   =============================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; justify-items: center; }
.blog-grid .blog-card { width: 100%; }
.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.blog-card:hover {
  opacity: 1;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-placeholder);
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 22px; }
.blog-card__meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 12px;
  font-weight: 400;
  align-items: center;
}
.blog-card__cat {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 3px 10px;
  border-radius: var(--radius);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.blog-card__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

@media (max-width: 1023px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Blog Filter */
.blog-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.blog-filter a,
.blog-filter span {
  padding: 8px 22px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 13px;
  color: var(--color-text);
  display: inline-block;
  transition: all 0.2s;
}
.blog-filter a:hover { opacity: 1; border-color: var(--color-text); background: var(--color-text); color: var(--color-white); }
.blog-filter .is-active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination a,
.pagination .current,
.pagination .dots {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  transition: all 0.2s;
}
.pagination a:hover { opacity: 1; border-color: var(--color-text); background: var(--color-text); color: var(--color-white); }
.pagination .current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Blog Article */
.article-header { max-width: 800px; margin: 0 auto 56px; text-align: center; }
.article-header__meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 24px;
  font-weight: 400;
}
.article-header__cat {
  background: var(--color-bg-sub);
  padding: 4px 14px;
  border-radius: 0;
  font-size: 11px;
  border: 1px solid var(--color-border);
}
.article-header__title { font-size: 30px; font-weight: 500; line-height: 1.6; }
.article__eyecatch {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: var(--color-placeholder);
  border-radius: 0;
  margin: 0 auto 56px;
  display: block;
  overflow: hidden;
}
.article__eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.article__content { max-width: 720px; margin: 0 auto; }
.article__content h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 48px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.6;
}
.article__content h3 { font-size: 17px; font-weight: 500; margin: 36px 0 16px; line-height: 1.6; }
.article__content p { font-size: 15px; line-height: 2; margin-bottom: 24px; }
.article__content ul,
.article__content ol { margin: 0 0 24px 20px; padding-left: 20px; font-size: 15px; line-height: 2; }
.article__content ul li { list-style: disc; }
.article__content ol li { list-style: decimal; }
.article__content img { margin: 24px 0; border-radius: var(--radius); }
.article__content blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--color-bg-light);
  font-size: 14px;
  color: var(--color-text-sub);
}

.article__share {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.article__share-label { font-size: 12px; letter-spacing: 0.15em; color: var(--color-text-sub); margin-bottom: 16px; font-weight: 400; }
.article__share-icons { display: flex; gap: 12px; justify-content: center; }
.article__share-icons a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s;
}
.article__share-icons a:hover { opacity: 1; border-color: var(--color-text); background: var(--color-text); color: var(--color-white); }

.article__back {
  text-align: center;
  padding: 64px 40px;
  background: var(--color-bg-light);
}

@media (max-width: 767px) {
  .article-header__title { font-size: 22px; }
  .article__content h2 { font-size: 18px; }
  .article__content p { font-size: 14px; }
}

/* ===============================================
   Company (会社概要)
   =============================================== */
.company-greeting {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
}
.company-greeting__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-placeholder);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.company-greeting__img img { width: 100%; height: 100%; object-fit: cover; }
.company-greeting__text { font-size: 15px; line-height: 2; }
.company-greeting__text p { margin-bottom: 20px; }
.company-greeting__name { margin-top: 36px; font-size: 14px; color: var(--color-text-sub); }
.company-greeting__name strong { font-size: 16px; color: var(--color-text); font-weight: 500; margin-left: 8px; }

.info-table { }
.info-table__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  column-gap: 24px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  align-items: baseline;
  transition: background 0.2s;
}
.info-table__row:first-child { border-top: 1px solid var(--color-border); }
.info-table__row:hover { background: var(--color-bg-sub); }
.info-table__label { color: var(--color-text-sub); font-weight: 400; font-size: 13px; letter-spacing: 0.05em; }
.info-table__value { line-height: 1.8; }

.history-list__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.history-list__year { font-weight: 500; }
.history-list__desc { color: var(--color-text-sub); line-height: 1.9; }

.company-map { width: 100%; height: 400px; overflow: hidden; }
.company-map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) {
  .company-map { height: auto; aspect-ratio: 16 / 9; }
}

.subsection-head { margin-bottom: 56px; text-align: center; }
.subsection-head__label { font-size: 11px; letter-spacing: 0.25em; color: var(--color-text-sub); margin-bottom: 10px; font-weight: 400; }
.subsection-head__title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }

@media (max-width: 767px) {
  .company-greeting { grid-template-columns: 1fr; gap: 28px; }
  .info-table__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .info-table__label { min-width: auto; font-size: 13px; }
  .history-list__item { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; font-size: 14px; }
  .subsection-head__title { font-size: 22px; }
}

/* ===============================================
   Contact Form
   =============================================== */
.contact-intro { text-align: center; margin-bottom: 56px; font-size: 14px; color: var(--color-text-sub); line-height: 2; }

.contact-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 56px; max-width: min(480px, 100%); margin-left: auto; margin-right: auto; }
.contact-step { flex: 1; text-align: center; position: relative; }
.contact-step__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-disabled);
  margin: 0 auto 8px;
  background: var(--color-white);
  position: relative;
  z-index: 2;
}
.contact-step.is-active .contact-step__num {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.contact-step__label { font-size: 12px; color: var(--color-disabled); font-weight: 400; }
.contact-step.is-active .contact-step__label { color: var(--color-text); }
.contact-step.is-done .contact-step__num {
  background: var(--color-text-sub);
  color: var(--color-white);
  border-color: var(--color-text-sub);
}
.contact-step::after {
  content: '';
  position: absolute;
  top: 19px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  z-index: 1;
}
.contact-step:last-child::after { display: none; }

.contact-form { margin: 0 auto; }
.contact-form__field { margin-bottom: 32px; }
.contact-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.contact-form__required,
.contact-form__optional {
  padding: 2px 8px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 400;
}
.contact-form__required { background: var(--color-primary); color: var(--color-white); }
.contact-form__optional { background: var(--color-border); color: var(--color-text-sub); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: var(--letter-spacing);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--color-primary); }

.contact-form__radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-form__radio-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }

.contact-form__privacy {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 36px 0;
  max-height: 140px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

.contact-form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
  font-size: 14px;
  cursor: pointer;
}

.contact-form__actions { text-align: center; margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* LINE問い合わせバナー */

/* contact-direct: 電話＋LINE 横並びボックス */
.contact-direct {
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-direct__box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius);
  color: var(--color-white);
  transition: opacity 0.2s;
}
.contact-direct__box:hover { opacity: 0.85; }
.contact-direct__box--tel { background: var(--color-primary); }
.contact-direct__box--line { background: var(--color-line); }
.contact-direct__icon { flex-shrink: 0; }
.contact-direct__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-direct__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.75;
}
.contact-direct__value {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .contact-direct { grid-template-columns: 1fr; }
  .contact-direct__box { padding: 20px 24px; }
  .contact-direct__value { font-size: 18px; }
}

/* btn--primary */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover { opacity: 0.8; }

/* フォームエラー */
.contact-form__error {
  display: block;
  font-size: 12px;
  color: var(--color-error);
  margin-top: 6px;
  min-height: 1em;
}
.contact-form__send-error {
  text-align: center;
  color: var(--color-error);
  font-size: 13px;
  margin-top: 20px;
}

/* 確認画面 */
.contact-confirm { margin: 0 auto; }
.contact-confirm__table {
  border-top: 1px solid var(--color-border);
  margin-bottom: 56px;
}
.contact-confirm__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  column-gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  line-height: 1.8;
}
.contact-confirm__label {
  color: var(--color-text-sub);
  font-size: 13px;
  padding-top: 2px;
}
.contact-confirm__value { white-space: pre-wrap; word-break: break-all; }

@media (max-width: 767px) {
  .contact-confirm__row { grid-template-columns: 1fr; gap: 4px; }
  .contact-confirm__label { font-size: 11px; }
}

/* 完了画面 */
.contact-complete { text-align: center; padding: 80px 40px; }
.contact-complete__icon {
  width: 72px;
  height: 72px;
  color: var(--color-text);
  margin: 0 auto 36px;
}
.contact-complete__icon svg { width: 100%; height: 100%; }
.contact-complete__title { font-size: 26px; font-weight: 500; margin-bottom: 24px; }
.contact-complete__desc { font-size: 14px; color: var(--color-text-sub); line-height: 2; margin-bottom: 48px; }


/* ===============================================
   FAQ (よくある質問)
   =============================================== */
.faq-list { max-width: 100%; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-item__question {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 16px;
  padding: 24px 8px;
  cursor: pointer;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  letter-spacing: inherit;
  color: inherit;
  transition: background 0.2s;
}
.faq-item__question:hover { background: var(--color-bg-light); }

.faq-item__q-mark {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}
.faq-item__q-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.faq-item__q-icon {
  width: 16px;
  height: 16px;
  position: relative;
  justify-self: end;
  flex-shrink: 0;
}
.faq-item__q-icon::before,
.faq-item__q-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__q-icon::before { width: 14px; height: 1px; }
.faq-item__q-icon::after { width: 1px; height: 14px; transition: transform 0.3s; }
.faq-item.is-open .faq-item__q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item__answer-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-item__answer-wrap { max-height: 600px; }

.faq-item__answer {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 16px;
  padding: 0 8px 28px;
  align-items: flex-start;
  background: var(--color-bg-light);
}
.faq-item__a-mark {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-sub);
  padding-top: 14px;
}
.faq-item__a-text {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-sub);
  padding-top: 14px;
}
.faq-item__a-text p { margin: 0 0 12px; }
.faq-item__a-text p:last-child { margin: 0; }

@media (max-width: 767px) {
  .faq-item__question { grid-template-columns: 32px 1fr 20px; gap: 12px; padding: 20px 4px; }
  .faq-item__q-mark { font-size: 14px; }
  .faq-item__q-text { font-size: 14px; }
  .faq-item__answer { grid-template-columns: 32px 1fr 20px; gap: 12px; padding: 0 4px 20px; }
  .faq-item__a-mark { font-size: 14px; }
  .faq-item__a-text { font-size: 13px; }
}

/* ===============================================
   CTA Banner
   =============================================== */
.cta-banner {
  background-color: var(--color-primary);
  background-image: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22));
  color: var(--color-white);
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@keyframes cta-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.cta-banner__title-wrap {
  position: relative;
  overflow: visible;
  margin-bottom: 16px;
}
.cta-banner__marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.cta-banner__marquee-inner {
  display: flex;
  flex-shrink: 0;
  gap: 56px;
  padding-right: 56px;
  animation: cta-marquee 50s linear infinite;
  white-space: nowrap;
}
.cta-banner__marquee-inner span {
  font-size: 100px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.12em;
  line-height: 1;
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-inner);
  margin: 0 auto;
}
.cta-banner__en {
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.cta-banner__title { font-size: 52px; font-weight: 700; margin-bottom: 0; line-height: 1.3; position: relative; z-index: 1; padding: 16px 0; }
.cta-banner__desc { font-size: 17px; color: rgba(255, 255, 255, 0.9); line-height: 2; margin-bottom: 52px; }

/* アクション：横並び均等レイアウト */
.cta-banner__actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: var(--container-inner);
  margin: 0 auto;
}
/* 電話・LINE ボックスをアクション直下に展開（均等幅のため） */
.cta-banner__contacts {
  display: contents;
}
/* 電話・LINE 共通ボックス */
.cta-banner__contact-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s, opacity 0.2s;
}
.cta-banner__contact-box:hover { opacity: 1; border-color: rgba(255, 255, 255, 0.7); }
.cta-banner__contact-box--line {
  background: var(--color-line);
  border-color: var(--color-line);
}
.cta-banner__contact-box--line:hover { border-color: var(--color-line); opacity: 0.85; }
.cta-banner__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}
.cta-banner__contact-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  letter-spacing: 0.05em;
}
.cta-banner__contact-value {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.3;
}
/* お問い合わせフォームボタン */
.cta-banner__form-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.cta-banner__form-btn:hover { opacity: 0.85; }

@media (max-width: 767px) {
  .cta-banner { padding: 72px 20px; }
  .cta-banner__title { font-size: 24px; }
  .cta-banner__desc { font-size: 14px; }
  /* SP：縦積みで等高グリッド */
  .cta-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
  }
  .cta-banner__contacts { height: 100%; }
  .cta-banner__contact-box { height: 100%; box-sizing: border-box; }
  .cta-banner__form-btn { height: 100%; }
  .cta-banner__contact-value { font-size: 16px; }
}

/* ===============================================
   Footer
   =============================================== */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 72px 40px 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  max-width: var(--container-inner);
  margin: 0 auto 56px;
}
.footer__logo { color: var(--color-white); font-size: 18px; font-weight: 500; margin-bottom: 20px; letter-spacing: 0.05em; }
.footer__logo a { display: inline-block; }
.footer__logo img { max-height: 36px; width: auto; height: auto; filter: brightness(0) invert(1); }
.footer__info { font-size: 13px; color: var(--color-footer-sub); line-height: 2; }
.footer__sns {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}
.footer__sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-footer-text);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.footer__sns-icon:hover {
  opacity: 1;
  background: var(--color-primary);
  color: var(--color-white);
}
.footer__col-title { color: var(--color-white); font-size: 13px; font-weight: 500; margin-bottom: 20px; letter-spacing: 0.05em; }
.footer__col a { display: block; font-size: 13px; color: var(--color-footer-text); margin-bottom: 12px; transition: color 0.2s; }
.footer__col a:hover { opacity: 1; color: var(--color-white); }
.footer__bottom {
  max-width: var(--container-inner);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-footer-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__sub { display: flex; gap: 24px; font-size: 12px; color: var(--color-footer-sub); }
.footer__sub a { color: var(--color-footer-text); transition: color 0.2s; }
.footer__sub a:hover { opacity: 1; color: var(--color-white); }
.footer__copy { font-size: 12px; color: var(--color-footer-sub); }

@media (max-width: 767px) {
  .footer { padding: 56px 20px 120px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

/* ===============================================
   SP Fixed CTA
   =============================================== */
.sp-fixed { display: none; }
@media (max-width: 767px) {
  .sp-fixed {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--color-border);
    z-index: 50;
    backdrop-filter: blur(4px);
  }
  .sp-fixed__btn {
    flex: 1;
    padding: 12px 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }
  .sp-fixed__btn--tel { color: var(--color-text); border-right: 1px solid var(--color-border); }
  .sp-fixed__btn--contact { background: var(--color-primary); color: var(--color-white); }
}

/* ===============================================
   PC バナー（右下ポップアップ）
   =============================================== */
.pc-banner {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 280px;
  /* 画面幅が小さい場合に右端がはみ出ないよう制限 */
  max-width: calc(100vw - 40px);
  z-index: 900;
  border-radius: var(--radius, 0);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  background: var(--color-white);
  animation: pc-banner-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* タブレット：少し小さく・余白も詰める */
@media (max-width: 1023px) {
  .pc-banner {
    width: 220px;
    bottom: 20px;
    right: 16px;
  }
}
.pc-banner--hidden {
  display: none !important;
}
.pc-banner__link {
  display: block;
}
.pc-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 150;
  object-fit: cover;
}
.pc-banner__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
  z-index: 1;
}
.pc-banner__close:hover {
  background: rgba(0, 0, 0, 0.85);
}
@keyframes pc-banner-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* SP では非表示 */
@media (max-width: 767px) {
  .pc-banner { display: none !important; }
}

/* ===============================================
   Animations
   =============================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ===============================================
   Accessibility
   =============================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===============================================
   プライバシーポリシー
   =============================================== */
.privacy-intro {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 48px;
  color: var(--color-text);
}
.privacy-article {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}
.privacy-article:first-of-type { border-top: 1px solid var(--color-border); }
.privacy-article__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
}
.privacy-article__body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text);
}
.privacy-article__body ul { padding-left: 1.4em; margin: 12px 0; }
.privacy-article__body li { list-style: disc; margin-bottom: 6px; }
.privacy-contact {
  margin-top: 16px;
  line-height: 2;
  font-size: 14px;
}
.privacy-contact a { color: var(--color-primary); text-decoration: underline; }
.privacy-revised {
  margin-top: 48px;
  text-align: right;
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ===============================================
   料金プラン
   =============================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 1023px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
}

.pricing-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pricing-card--recommended {
  border-color: var(--color-primary);
  border-width: 2px;
}

/* おすすめバッジ */
.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 20px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

/* サブタイトル */
.pricing-card__subtitle {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  margin-top: 8px;
}

/* プラン名 */
.pricing-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}

/* 料金 */
.pricing-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.pricing-card__price {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-card__price--inquiry {
  font-size: 24px;
  font-weight: 700;
}
.pricing-card__unit {
  font-size: 13px;
  color: var(--color-text-sub);
  font-weight: 400;
  line-height: 1.4;
}
.pricing-card__price-note {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* 特徴リスト */
.pricing-card__features {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}
.pricing-card__feature.is-excluded {
  color: var(--color-text-sub);
  opacity: 0.6;
}
.pricing-card__feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.is-included .pricing-card__feature-icon {
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
}
.is-excluded .pricing-card__feature-icon {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text-sub);
}

/* CTA ボタン */
.pricing-card__btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* 注意事項 */
.pricing-card__note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.8;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
