/* Base */
:root {
    --color-main: #6F3D9C;
    --color-accent: #C93279;
    --color-sub-dark: #54318B;
    --color-sub-light: #8450B8;
    --color-background: #FFFFFF;
    --color-text: #53405F;
    --color-white: #FFFFFF;
    --color-light-gray: #FCF6FB;
    --color-mid-gray: #F1E8F6;
    --color-dark-gray: #77677F;
    --font-primary: 'Noto Sans JP', sans-serif;
    --container-width: 1280px;
    --container-padding: 60px;
    --section-spacing: 60px;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(47,28,64,0.1);
    --color-linear-gradient: linear-gradient(66.89deg, #6F3D9C 0%, #8450B8 100%);

    /* 文字の段階（docs/design-rules.md「1. 文字」）。スマホの値は下の @media で入れ替える */
    --fs-display: 40px;
    --fs-h2: 36px;
    --fs-h3-l: 28px;
    --fs-h3-m: 24px;
    --fs-h3: 20px;
    --fs-h4: 18px;
    --fs-body: 16px;
    --fs-card: 15px;
    --fs-sub: 14px;
    --fs-meta: 13px;
    --fs-label: 12px;
}

@media (max-width: 767px) {
    :root {
        --fs-display: 28px;
        --fs-h2: 26px;
        --fs-h3-l: 22px;
        --fs-h3-m: 20px;
        --fs-h3: 18px;
        --fs-h4: 16px;
    }
}
  
/* ===== Noto Sans JP（woff2のみ・ローカル）===== */
/* 400 */
@font-face {
  font-family: 'Noto Sans JP Local';
  src: url("/lp-collection-assets/v1/proone-assets/49b5aee6742a76.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 500 */
@font-face {
  font-family: 'Noto Sans JP Local';
  src: url("/lp-collection-assets/v1/proone-assets/fccb440fff0d52.woff2") format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* 600 */
@font-face {
  font-family: 'Noto Sans JP Local';
  src: url("/lp-collection-assets/v1/proone-assets/bbe6ccc1e71d4e.woff2") format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* 700 */
@font-face {
  font-family: 'Noto Sans JP Local';
  src: url("/lp-collection-assets/v1/proone-assets/339a6a9764fb0a.woff2") format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 800 */
@font-face {
  font-family: 'Noto Sans JP Local';
  src: url("/lp-collection-assets/v1/proone-assets/9086d009af41e1.woff2") format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  /* iOS Safariの自動文字拡大（text autosizing / font boosting）を止める。
     指定が無いと既定値 auto のままで、iPhone実機だけ特定ブロックの文字が
     2倍近くに膨らむ（実例：お問い合わせページのチェックリストが16px→約30px）。
     Chrome・Android・PCでは再現しないためデベロッパーツールでは気づけない。
     100% は「拡大しない」＝指定どおりのサイズで描くという意味 */
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  a {
    color: var(--color-main);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--color-sub-light);
  }
  
  .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 24px;
  }
  
  h4 {
    font-size: 18px;
  }
  
  p {
    margin-bottom: 1em;
  }
  
  /* Buttons */
  .wp-block-button__link,
  .button,
  button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
  }
  
  .wp-block-button__link:hover,
  .button:hover,
  button:hover {
    background-color: #C93279;
    color: var(--color-white);
  }
  
  .wp-block-button.is-style-outline .wp-block-button__link,
  .button-outline {
    background-color: transparent;
    color: var(--color-accent) !important;
    border: 2px solid var(--color-accent);
  }
  
  .wp-block-button.is-style-outline .wp-block-button__link:hover,
  .button-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
  }

.is-layout-grid.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}
.is-layout-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.is-layout-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.is-layout-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
.is-layout-grid.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}
.is-layout-grid.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.is-layout-grid {
  display: grid;
  gap: 2rem;
}
  
/* ===================================
   header.php
   =================================== */
  .site-header {
  background-color: var(--color-white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(47,28,64,0.08);
  transition: box-shadow 0.3s ease;
  }
  
  .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  min-height: 70px;
  }
/* ロゴエリア */
  .site-branding {
  display: flex;
  align-items: center;
  z-index: 1001;
  /* 幅が足りないとロゴが縮んでいた（1025pxで101px→29px）。
     ロゴは犠牲にせず固定し、足りない分はナビ側のラベルで調整する */
  flex-shrink: 0;
  }
  
  .site-branding img {
  max-height: 45px;
  width: auto;
  /* インライン画像のままだと親の <a> の下端にベースライン分の余白（実測6.6px）が
     でき、ロゴが約3.3px 上へずれる。block にして上下中央に揃える */
  display: block;
  }
  
  .site-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  }
  
  .site-title a {
  color: var(--color-main);
  text-decoration: none;
  transition: color 0.3s ease;
  }
  .site-title a:hover {
  color: var(--color-sub-light);
  }
/* メインナビゲーション */
/* gap はナビ最終項目「お役立ち」とCTAボタンの間隔。
   ナビとCTAは役割が違うので、項目間（.nav-menu の 8px）より広く取って区切る */
  .main-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
  }

/* スマホのドロワーでスクロールする範囲を包む箱。
   PCでは display: contents にして「無かったもの」として扱い、
   .nav-menu と .header-cta が従来どおり .main-navigation の
   フレックスアイテムになるようにする（ヘッダーの並びは変えない） */
.drawer-body {
  display: contents;
}
  
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

/* ナビゲーションリンク */
/* ナビ7項目＋CTA2本で横幅が窮屈なため、CTAボタンと同じ15pxに下げ、
   左右のpaddingだけ詰めている（縦のタップ領域は10pxのまま） */
.nav-link {
  display: flex;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 8px;
  /* 幅が足りなくなっても語中で折り返さない（折り返す前にハンバーガーへ切り替わる） */
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
}

/* 一部のナビ項目は狭い幅のときだけ短いラベルにする。
   通常は「導入事例」、1025〜1100px の帯だけ「事例」。
   ロゴを縮めずに収めるための調整で、1024px以下のドロワーでは元の表記に戻す */
.nav-label-short {
  display: none;
}

@media (min-width: 1025px) and (max-width: 1100px) {
  .nav-label-full {
    display: none;
  }
  .nav-label-short {
    display: inline;
  }
  /* 下の「ロゴとの間」を取る分、狭い帯だけ項目の間を詰める */
  .main-navigation { gap: 12px; }
  .nav-menu { gap: 4px; }
}

/* ロゴとナビの1つめの項目がくっつかないよう、間を空ける（2026-10-20 本人「ヘッダーのスペースがギリギリ」） */
@media (min-width: 1025px) {
  .main-navigation { margin-left: 24px; }
}

.nav-link:hover {
  color: var(--color-main);
  background-color: rgba(111,61,156,0.05);
}

/* リンクなしの項目（お役立ち） */
.nav-link-no-href {
  cursor: pointer;
}

/* ドロップダウンがある項目のアイコン。
   PCではヘッダーが窮屈になるため出さない（矢印1つあたり約16px）。
   モバイルのドロワーでは開閉の目印として必要なので1024px以下で復活させる */
.has-dropdown > .nav-link::after {
  content: '';
  display: none;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
/* ドロップダウンメニュー */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  min-width: 280px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(47,28,64,0.15);
  border: 1px solid rgba(47,28,64,0.08);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* ドロップダウン項目 */
.dropdown-item {
  margin: 0;
}

.dropdown-link {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 8px;
}

.dropdown-link:hover {
  color: var(--color-main);
  background-color: rgba(111,61,156,0.08);
  transform: translateX(4px);
}

/* ドロップダウンのヘッダー */
/* ドロップダウン内のセクション見出し（「業種別」など）。
   グレーの小さな文字だと無効化された項目に見えてしまうため、
   ブランド色＋字間＋下罫線で「クリックする項目ではなく見出し」だと分かる形にする。

   左端は項目の文字位置に揃える。.dropdown-link は padding 20px に margin 0 8px が
   付いており文字は menu 端から28pxの位置に来るので、こちらも margin 8px + padding 20px
   で28pxに合わせる（従来は20pxで8pxずれていた）。
   text-transform: uppercase は日本語には効かず、実際の見出しも和文だけなので外した */
.dropdown-header {
  margin: 4px 8px 6px;
  padding: 6px 20px 8px;
  border-bottom: 1px solid rgba(111,61,156,0.18);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ドロップダウンの区切り線 */
.dropdown-divider {
  height: 1px;
  background-color: var(--color-mid-gray);
  margin: 8px 16px;
}
/* CTAボタン */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-button {
  display: inline-flex;
  align-items: center;
  /* 2本の幅を揃える。文字数が違っても同じ見た目の箱にする。
     158px は「お問い合わせ」（6文字＋アイコン＋padding18px＋border2px）の
     実測自然幅。これ未満にすると2本の幅が揃わなくなる */
  justify-content: center;
  min-width: 158px;
  /* ラベルが長いとフレックスの制約でボタン内が2行になるため折り返さない
     （「資料ダウンロード」表記だと1025px付近で高さが48px→72pxになった） */
  white-space: nowrap;
  gap: 8px;
  background-color: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 50px;
  /* 立体感は「上面の内側ハイライト＋足元の中立色シャドウ＋ごく浅い縦グラデ」の3層で出す。
     グラデは白と黒の重ねなので地の色に依存せず、ホバーで色が変わっても崩れない。
     b97beee でオレンジの光彩を外した経緯があるため、影に色は乗せない */
  background-image: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(47,28,64,0.04) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 1px 1px rgba(47,28,64,0.06),
    0 2px 4px rgba(47,28,64,0.08);
  transition: all 0.3s ease;
}

/* ホバーは色の変化だけにする（持ち上げ・影の拡大はしない） */
.header-cta-button:hover {
  background-color: #C93279;
  color: var(--color-white);
}

/* 押し込みだけは動かす。1pxの沈み込みが立体感の裏付けになる。
   transition は 0.3s だと押した感じが遅れるのでこの2プロパティだけ短くする */
.header-cta-button:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 1px 1px rgba(47,28,64,0.06);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}



/* 副CTA（お問い合わせ）。塗りの主CTAと外形サイズを揃えるため、
   ボーダー2px分を padding から引いている */
.header-cta-button--outline {
  /* 影を地の上に落とすため transparent をやめて白で塗る。
     ヘッダーもモバイルのドロワーも白なので見た目の地色は変わらない */
  background-color: var(--color-white);
  /* 白地では内側ハイライトも縦グラデも効かないので外し、影だけを主CTAより一段弱くする。
     ここで差をつけて主CTA（資料請求）との主従を保つ */
  background-image: none;
  box-shadow:
    0 1px 1px rgba(47,28,64,0.05),
    0 2px 4px rgba(47,28,64,0.06);
  color: var(--color-main);
  border: 2px solid var(--color-main);
  padding: 10px 18px;
}

/* ホバーで塗りに変わるので、そのとき主CTAと同じ3層に戻す */
.header-cta-button--outline:hover {
  background-color: var(--color-main);
  color: var(--color-white);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(47,28,64,0.04) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 1px 1px rgba(47,28,64,0.06),
    0 2px 4px rgba(47,28,64,0.08);
}

.header-cta-button--outline:active {
  box-shadow: 0 1px 1px rgba(47,28,64,0.05);
}

/* ハンバーガーメニュー（モバイル用） */
  .menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  z-index: 1001;
  }
  
.menu-toggle:hover {
  background-color: rgba(111,61,156,0.1);
}

.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--color-text);
  margin: 4px auto;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ハンバーガーメニューのアニメーション */
.menu-toggle.active .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* アクティブな状態の表示 */
.nav-item.current-menu-item > .nav-link,
.nav-item.current-menu-ancestor > .nav-link {
  color: var(--color-main);
  background-color: rgba(111,61,156,0.1);
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
  }
  
  .nav-menu {
    gap: 4px;
  }
  
  .nav-link {
    padding: 12px 14px;
    font-size: 15px;
  }
  .menu-toggle {
    display: block;
  }
  /* ドロワーの高さは 100dvh を使う。
     iOS Safariの 100vh はツールバーを除かない「一番広いときの高さ」なので、
     実際に見えている領域より高くなる。中身が「見える高さ」は超えるが 100vh には
     収まる幅のとき、overflow-y:auto にスクロール対象が生まれず、下端のCTAが
     ツールバーの裏に隠れたまま触れなくなっていた（＝特定の幅でスクロール不能）。
     dvh はツールバー分を除いた実際の表示高なので、はみ出せば必ずスクロールできる。
     100vh は dvh 非対応（iOS 15.3以前）向けのフォールバックとして先に置く */
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    /* 上84pxはロゴ・ハンバーガーのための余白＝スクロールしない領域。
       ここは .main-navigation 側に置くのが要点で、スクロールするのは中の
       .drawer-body だけになるため、中身がロゴの位置まで上がってこない。
       以前はこの padding をスクロール要素自身に付けていたので、スクロールすると
       余白ごと流れて中身がロゴに重なっていた（ボタンが帯で半分に切れていた）。

       70px（＝.header-inner の min-height）だとハンバーガーの下端55pxから
       15pxしか空かず、スクロールした中身の切れ目がXボタンとぶつかって見えた。
       84pxにするとX下端から29px・ロゴ下端から36px空く。

       左右の余白はここには置かず、スクロールする .drawer-body 側に移した。
       ここに置くと、スクロールバー（幅10px）が「中身の右端」と「ドロワーの右余白」の
       間に挟まって描画され、資料請求ボタンの縁やドロップダウンの▼と隙間ゼロで
       接してしまう（右側には20〜30pxの余白が空いているのにバーだけ内側にいる状態）。
       .drawer-body 側に移すとバーはドロワーの右端に出て、中身との間に余白ができる */
    padding: 84px 0 0;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    box-shadow: -5px 0 20px rgba(47,28,64,0.1);
  }

  /* スクロールするのはこの中だけ。
     min-height: 0 が無いとフレックスアイテムが縮まずスクロールしない */
  .drawer-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    /* PC用の gap: 18px を打ち消す。縦並びだと CTA とナビの間に乗り、
       「CTAの罫線→特徴の文字」が35pxになって他の項目（17px）と揃わなくなる */
    row-gap: 0;
    /* 上は .main-navigation の84pxと合わせて初期表示の位置を作る（84+16=100pxで従来と同じ）。
       下端はホームバー（セーフエリア）分を足して最後の項目が隠れないようにする。
       左右30pxは .main-navigation から移してきた分（理由はそちらのコメント参照）。
       padding はスクロールバーより内側なので、中身とバーの間に30pxの余白ができる */
    padding: 16px 30px calc(30px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    /* スクロールバーの幅を常に確保する。
       auto のままだと「ドロップダウンを開いた瞬間にバーが出て中身が10px縮む」ため、
       ボタンやナビ項目の右端がその都度ガタッと動いていた。
       stable にすると出ていないときも同じ幅を空けておくのでズレない。
       非対応ブラウザ（iOS Safari 18.2未満など）では従来どおり出たときだけ縮むが、
       左右padding があるのでボタンやトグルに重なることはない */
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .main-navigation.active {
    right: 0;
  }

  /* ロゴ帯の目隠し（不透明な白を固定で敷く方式）は不要になったので撤去した。
     スクロールするのが .drawer-body だけになり、中身がロゴの領域に
     入ってこなくなったため。帯方式は中身を隠せてはいたが、
     スクロール時に「資料請求」ボタンが帯の境目で半分に切れて見えていた */

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-light-gray);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    width: 100%;
    padding: 18px 0;
    font-size: 16px;
    border-radius: 0;
    justify-content: space-between;
  }
  
  .nav-link:hover {
    background-color: transparent;
    color: var(--color-main);
  }
  
  /* モバイルでのドロップダウン */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--color-light-gray);
    border-radius: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    /* 閉じているときは padding も 0 にする。
       PC用の padding: 8px 0 が残っていると、max-height: 0 にしても
       box-sizing: border-box では padding（8+8=16px）より低くできないため、
       閉じたドロップダウンが16pxの灰色の帯として見えてしまう。
       「機能」「活用シーン」「サポート」「お役立ち」の下に出ていた太い線がこれ */
    padding: 0;
  }

  /* 展開時だけ padding を戻す（開いたときの見た目は従来どおり）。

     max-height は開閉アニメーション用の上限で、中身の実寸より小さいと
     overflow: hidden で下が切り捨てられ、ドロワーをスクロールしても
     到達できなくなる。400pxでは「機能」（11項目・実寸599px）の下4項目が
     見えなくなっていた。実寸の内訳は 機能599px / 活用シーン320px /
     お役立ち228px / サポート175px。
     はみ出した分はドロワー側（.main-navigation の overflow-y: auto）が
     スクロールを受け持つので、ここは項目が増えても足りる余裕を持たせる。
     1000pxあれば約18項目まで対応できる */
  .has-dropdown.active .dropdown-menu {
    max-height: 1000px;
    padding: 8px 0;
  }

  .dropdown-link {
    padding: 14px 20px;
    margin: 0;
    border-radius: 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(47,28,64,0.05);
  }

  /* 最後の項目（「機能」なら現場アプリ）の下の罫線は消す。
     その下に項目が続かないので区切る相手がおらず、
     ドロップダウンの終端に線だけが浮いて見えていた。
     .nav-item:last-child と同じ扱い */
  .dropdown-item:last-child .dropdown-link {
    border-bottom: none;
  }
  
  .dropdown-link:hover {
    transform: none;
    background-color: rgba(111,61,156,0.05);
  }
  
  /* モバイルは項目の文字位置が20px（.dropdown-link の padding のみ）なので揃える。
     灰色の下地は「押せない項目」に見えるので外し、罫線もPC側だけに留める
     （モバイルは項目ごとの罫線があり、重ねると煩い） */
  .dropdown-header {
    margin: 0;
    padding: 14px 20px 8px;
    background-color: transparent;
    border-bottom: none;
    font-size: 12px;
  }
  
  .dropdown-divider {
    margin: 0;
    background-color: rgba(47,28,64,0.08);
  }
  /* モバイルCTAボタン。
     ドロワーではナビ項目より前（最上部）に置く。HTMLの並びは
     ナビ→CTAのままで、PCのヘッダー右端の並びを変えたくないため、
     order でモバイルの表示順だけ入れ替える。
     区切りの罫線も上→下に移す（CTAの下がナビ項目になるため） */
  .header-cta {
    width: 100%;
    order: -1;
    /* margin-bottom は付けない。.main-navigation 自体に row-gap: 18px があり、
       さらに .nav-link の padding-top 16px が乗るため、marginを足すと
       罫線→「特徴」が59pxまで開いてナビ項目間（32px）と揃わなくなる。
       gap18px + padding16px = 34px でちょうど他の項目と同じリズムになる */
    margin: 0;
    padding: 0 0 24px;
    border-top: none;
    border-bottom: 1px solid var(--color-light-gray);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .header-cta-button {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
  }

  .header-cta-button--outline {
    padding: 14px 22px;
  }
  
  /* モバイルメニュー開閉のJS制御 */
  body.menu-open {
    overflow: hidden;
  }
  
  /* モバイルのドロワーでは矢印を出す（開閉の目印になるため） */
  .has-dropdown > .nav-link::after {
    display: inline-block;
  }

  .has-dropdown.active > .nav-link::after {
    transform: rotate(180deg);
  }
  
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 15px;
  }
  
  .main-navigation {
    max-width: 100%;
    /* 上84pxはロゴ・ハンバーガーの分（スクロールしない領域）。
       左右は .drawer-body 側で詰める（1024px側のコメント参照） */
    padding: 84px 0 0;
  }

  /* セーフエリア分の下余白はスクロールする側に付ける。
     足さないとiPhoneで最後の項目がホームバーに重なる。
     左右20pxは .main-navigation から移してきた分 */
  .drawer-body {
    padding: 8px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  
  .nav-link {
    font-size: 15px;
    padding: 16px 0;
  }
  
  .header-cta-button {
    font-size: 15px;
    padding: 14px 20px;
  }

  .header-cta-button--outline {
    padding: 12px 18px;
  }
}

/* フォーカス状態。
   :focus だとマウスでクリックした瞬間にも緑の枠が出てしまう。
   :focus-visible にすると、ブラウザが「キーボード操作で移動してきた」と
   判断したときだけ枠が出る。マウス操作では出ない。
   キーボードだけで操作している人には枠が必要なので、消さずに条件を変える */
.nav-link:focus-visible,
.dropdown-link:focus-visible,
.header-cta-button:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
}

/* アニメーション制御 */
@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .dropdown-menu,
  .header-cta-button,
  .menu-toggle-bar {
    transition: none;
  }
}
  
/* ===================================
   footer.php CTAセクション
   =================================== */
/* 全ページの最後に出る出口。写真＋暗幕で構成し、暗幕の下端をフッターの #2F1C40 へ
   落とすことで、CTAとフッターを一続きの締めブロックとして見せる。
   斜めグラデ・ガラス風カード・光のにじみ・光沢スイープは、生成物らしい見た目に
   なるため使わない。暗幕の紺→緑だけは 2026-10-28 に本人指示で入れた（下の資料ボタンの節） */
.footer-cta-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 92px;
  /* 画像が読めなかった場合の下地。写真の暗部に近い色を置く */
  background-color: #2F1C40;
  color: var(--color-white);
}

/* 2026-10-28 建築現場の写真から、作業着の2人がタブレットを指す手元の写真（PIXTA 141907528 購入）に替える（本人指示）。
   建築の会社向けに見えないようにするため。顔は写さない（顔が出てよいのはトップだけ）。
   タブレットが右に来る位置にして、左の文字の下は作業着の布地にする */
.footer-cta-photo {
  position: absolute;
  inset: 0;
  background-image: url("/lp-collection-assets/v1/proone-assets/29cc676a33343e.webp");
  background-size: cover;
  background-position: 75% 70%;
}

/* 2枚重ね。background の並びは先頭が最前面。
   1枚目（縦）を最前面に置き、下端で不透明度1の #2F1C40 まで持っていく。
   ここを 1 未満にすると写真が透けたまま残り、横グラデの濃さが左右で違うぶん
   フッターとの境目に線が出る。下端は必ず #2F1C40 そのものにすること。
   2枚目（横）は左を落として文字を読ませるためのもの */
.footer-cta-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(47,28,64,0) 58%,
      rgba(47,28,64,0.55) 82%,
      rgba(47,28,64,1) 100%),
    linear-gradient(90deg,
      rgba(47,28,64,0.92) 0%,
      rgba(47,28,64,0.72) 45%,
      rgba(47,28,64,0.34) 100%);
}

.footer-cta-section .container {
  position: relative;
  z-index: 2;
}

.footer-cta-body {
  max-width: 640px;
}

.footer-cta-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 18px;
  color: var(--color-white);
  text-shadow: 0 1px 24px rgba(47,28,64,0.5);
}

.footer-cta-description {
  font-size: 16px;
  line-height: 1.95;
  color: #F1E8F6;
  margin: 0 0 34px;
  text-shadow: 0 1px 18px rgba(47,28,64,0.5);
}

.footer-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 19px 34px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  /* ヘッダーCTAと同じオレンジ。色は --color-accent を共有しているので、
     ヘッダー側の色を変えたときにここも自動で追従する */
  background-color: var(--color-accent);
  color: var(--color-white);
  /* 立体感もヘッダーと同じ作り（上面の内側ハイライト＋浅い縦グラデ）。
     ただし写真の上に置くため、足元の影はヘッダーより強めにして輪郭を出す */
  background-image: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(47,28,64,0.04) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 2px 14px rgba(47,28,64,0.32);
  transition: background-color 0.3s ease;
}

.footer-cta-button:hover {
  background-color: #C93279;
  color: var(--color-white);
}

/* 副CTA。ボーダー2px分を padding から引いて主CTAと外形サイズを揃える。
   白地ではないため内側ハイライトと縦グラデは効かないので外す */
.footer-cta-button--outline {
  background-color: rgba(255,255,255,0.1);
  background-image: none;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 17px 32px;
  box-shadow: 0 2px 10px rgba(47,28,64,0.22);
}

.footer-cta-button--outline:hover {
  background-color: rgba(255,255,255,0.2);
}

.footer-cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--color-white);
  text-decoration: none;
}

.footer-cta-tel-number {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-cta-tel-hours {
  font-size: 13px;
  color: #E4D8EC;
}

.footer-cta-sublinks {
  margin: 22px 0 0;
  font-size: 14px;
}

.footer-cta-sublinks a {
  color: #E4D8EC;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-right: 22px;
}

.footer-cta-sublinks a:hover {
  color: var(--color-white);
}

/* 暗い面の上なのでフォーカスリングは白。ヘッダーと同じく :focus-visible に限定し、
   マウスクリックでは出さない */
.footer-cta-button:focus-visible,
.footer-cta-tel:focus-visible,
.footer-cta-sublinks a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* --- フッターCTAの資料ボタンと暗幕（2026-10-28 本人指示）---
   暗幕の横の層をトップのFV（.fv__veil）と同じ紺→緑にする。縦の層は残し、
   下端を #2F1C40 に落としてフッターとの境目に線を出さない（緑から黒へ）。
   .footer-cta-section を付けて2クラスにし、スマホの .footer-cta-scrim の指定より強くする */
.footer-cta-section .footer-cta-scrim {
  background:
    linear-gradient(180deg,
      rgba(47,28,64,0) 62%,
      rgba(47,28,64,0.55) 84%,
      rgba(47,28,64,1) 100%),
    linear-gradient(90deg,
      rgba(84,49,139,0.92) 0%,
      rgba(84,49,139,0.80) 38%,
      rgba(111,61,156,0.62) 70%,
      rgba(111,61,156,0.55) 100%),
    linear-gradient(-45deg,
      rgba(111,61,156,0.35),
      rgba(132,80,184,0.25),
      rgba(84,49,139,0.35));
}

.footer-cta-title--phrases span {
  display: inline-block;
}

.footer-cta-actions--dl {
  align-items: flex-end;
  gap: 20px;
}

/* 吹き出しとボタンの間は18px（本人指示。狭いと吹き出しがボタンに乗って見える） */
.footer-cta-dl-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-cta-dl-callout {
  position: relative;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-accent);
  font-size: var(--fs-sub);
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.footer-cta-dl-callout::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--color-white) transparent transparent;
}

.footer-cta-dl {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 420px;
  padding: 14px 24px 14px 18px;
  border-radius: 999px;
  background-color: var(--color-accent);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(47,28,64,0.04) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 2px 14px rgba(47,28,64,0.32);
  color: var(--color-white);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer-cta-dl:hover {
  background-color: #C93279;
  color: var(--color-white);
}

.footer-cta-dl:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.footer-cta-dl-cover {
  flex: none;
  width: 120px;
  height: auto;
  margin: -6px 0;
}

/* 「無料」は正円（本人指示） */
.footer-cta-dl-free {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-accent);
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 1;
}

/* 「サービス資料」で改行する（本人指示）。右の空きを残さないよう中見出しの大きさにする */
.footer-cta-dl-label {
  font-size: var(--fs-h3-m);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-cta-dl-arrow {
  flex: none;
  margin-left: auto;
}

/* 主ボタンと高さをそろえる。角も資料ボタン・ヘッダーのボタンと同じ丸にする（本人指示。四角だと合わない） */
.footer-cta-actions--dl .footer-cta-button--outline {
  min-height: 72px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .footer-cta-actions--dl {
    align-items: stretch;
  }

  .footer-cta-dl {
    min-width: 0;
    gap: 10px;
    padding: 12px 16px 12px 14px;
  }

  .footer-cta-dl-cover {
    width: 84px;
    margin: -4px 0;
  }

  .footer-cta-dl-free {
    width: 44px;
    height: 44px;
  }

  /* お問い合わせは文字の幅で中央に置く。横いっぱいだと資料ボタンと同じ重さに見えるため（本人指示） */
  .footer-cta-actions--dl .footer-cta-button--outline {
    min-height: 0;
    align-self: center;
    padding: 13px 40px;
  }
}

/* .highlight-text は wp-admin 側の投稿・固定ページでも使われている可能性があるため残す */
.highlight-text {
  color: var(--color-accent);
  position: relative;
}

/* ===================================
   footer.php　Main Footer
   =================================== */
.site-footer {
  background-color: #2F1C40;
  color: #F1E8F6;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  align-items: start;
}

/* Company Section */
.footer-company {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
}

.footer-company-info {
  padding-top: 20px;
  border-top: 1px solid #53405F;
}

.footer-company-links {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-company-links a {
  color: #AA96B6;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.footer-company-links a:hover {
  color: var(--color-accent);
}

.company-name {
  font-size: 14px;
  color: var(--color-white);
  margin: 0;
}

/* .company-name は導入事例（single/archive-case_studies）でも使う共有クラスのため、
   フッター配下に限定する */
.footer-company-info .company-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-company-info .company-name a:hover {
  color: var(--color-accent);
}

/* Navigation Links */
/* 4列（サービス／機能／活用シーン／サポート＋お役立ち）を1行に固定する。
   機能は17本あるので2倍の幅を取り、中を2列にする（2026-10-15） */
.footer-navigation {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1.2fr;
  gap: 24px;
}

.footer-nav-list--2col {
  columns: 2;
  column-gap: 24px;
}

.footer-nav-list--2col li {
  break-inside: avoid;
}

/* サポートの下に続けるお役立ちの見出し */
.footer-nav-title--sub {
  margin-top: 32px;
}

.footer-nav-column {
  /* Styling for each column */
}

.footer-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 1px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 12px;
}

.footer-nav-list a {
  color: #AA96B6;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-nav-list a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

/* ホバーで文字を動かさない（translateX を外した）。
   色の変化と下線アニメーションだけで反応を示す */
.footer-nav-list a:hover {
  color: var(--color-white);
}

.footer-nav-list a:hover::before {
  width: 100%;
}

/* Footer Bottom */
  .footer-bottom {
  background-color: #2F1C40;
  padding: 24px 0;
  border-top: 1px solid #53405F;
  }

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

  .footer-copyright {
  font-size: 14px;
  color: #77677F;
  margin: 0;
  }
/* ===================================
   footer.php Responsive Design
   =================================== */
@media (max-width: 1024px) {
  .footer-cta-body {
    max-width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-navigation {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* 2列のときは、機能を横幅いっぱいに使う */
  .footer-nav-column--features {
    grid-column: 1 / -1;
  }

  .footer-nav-list--2col {
    columns: 3;
  }
}

@media (max-width: 768px) {
  .footer-cta-section {
    padding: 64px 0 60px;
  }

  .footer-cta-title {
    font-size: 28px;
  }

  .footer-cta-description {
    font-size: 15px;
  }

  /* 2026-11-05 見出しと本文も中央にそろえた（宮原さん「CTA内のテキストだけ左寄せで気になる」→本人「中央に直して」）。
     スマホではボタン・電話番号・サブリンクが中央なので、1つの箱の中で左と中央が混ざって見えていた。
     見出しは2行・本文は3行と短く、中央でも読みにくくならない */
  .footer-cta-title,
  .footer-cta-description {
    text-align: center;
  }

  /* 本文が全幅になるため、左を落とす横グラデは効かない。
     全体を均一に落とし、下端は不透明度1の #2F1C40 まで持っていく（PC側と同じ理由） */
  .footer-cta-scrim {
    background: linear-gradient(180deg,
      rgba(47,28,64,0.86) 0%,
      rgba(47,28,64,0.80) 46%,
      rgba(47,28,64,0.9) 84%,
      rgba(47,28,64,1) 100%);
  }

  .footer-cta-photo {
    background-position: 70% 70%;
  }

  /* 2本を縦積みにして全幅で押しやすくする */
  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* ボタンが全幅＝ラベルが中央に来るため、その下の電話番号とサブリンクも
     中央に揃える。左揃えのままだとボタンのラベルと軸がずれて見える */
  .footer-cta-tel {
    display: flex;
    justify-content: center;
    /* 極端に狭い端末で番号と受付時間が収まらない場合に折り返させる */
    flex-wrap: wrap;
  }

  .footer-cta-sublinks {
    text-align: center;
  }

  /* 中央揃えでは片側だけの margin だと軸がずれるので左右に振り分ける */
  .footer-cta-sublinks a {
    margin: 0 11px;
  }

  .footer-main {
    padding: 40px 0 30px;
  }
  
  /* スマホも2列（2026-10-28 本人指示）。1列だと4つの見出しが縦に並んでフッターが長くなるため */
  .footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .footer-nav-list--2col {
    columns: 2;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-cta-section {
    padding: 48px 0 44px;
  }

  .footer-cta-title {
    font-size: 24px;
  }

  /* 狭い幅では意図した位置で折り返せないため、改行はブラウザに任せる */
  .footer-cta-title br {
    display: none;
  }

  .footer-cta-sublinks a {
    display: inline-block;
    margin-bottom: 8px;
  }

  /* 会社情報ブロックの中央揃えを廃止した。
     480px以下だけ中央になり、すぐ下のナビ4列（左揃え）と軸がずれていたため。
     揃え方の原則は「読ませるものは左、押させるものは中央、締めの1行は中央」。
     ナビと会社情報は読ませるものなので左、コピーライトのみ中央
     （.footer-bottom-content の text-align: center は残している） */
}

/* ===================================
   footer Animations and Effects
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTAは写真の面なので読み込み時に動かさない。フッター本体のみ従来どおり */
.footer-main {
  animation: fadeInUp 0.8s ease-out;
}

/* Scroll Animation Trigger */
.footer-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.footer-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .site-footer {
    background-color: #2F1C40;
  }
  
  .footer-bottom {
    background-color: #2F1C40;
  }
}

/* Print styles */
@media print {
  .footer-cta-section {
    display: none;
  }
  
  .site-footer {
    background-color: transparent;
    color: #2F1C40;
    box-shadow: none;
  }
}

/* ===================================
   404 Error Page Styles
   =================================== */

.error-404-page {
  display: flex;
  align-items: center;
}

.error-404-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #FCF6FB 0%, #F1E8F6 100%);
  position: relative;
  overflow: hidden;
  width:100%;
}

.error-404-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(111,61,156,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.error-404-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,50,121,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.error-404-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 404ビジュアル */
.error-404-visual {
  margin-bottom: 40px;
  position: relative;
}

.error-404-number {
  font-size: clamp(80px, 15vw, 120px);
  font-weight: 800;
  color: var(--color-main);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.8;
  text-shadow: 0 4px 8px rgba(111,61,156,0.1);
}

.error-404-icon {
  color: var(--color-accent);
  opacity: 0.7;
}

/* メッセージエリア */
.error-404-message {
  margin-bottom: 50px;
}

.error-404-title {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  color: var(--color-sub-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.error-404-description {
  font-size: 16px;
  color: var(--color-dark-gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.error-404-suggestion {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

/* アクションボタン */
.error-404-actions {
  margin-bottom: 40px;
}

.error-404-home-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(111,61,156,0.2);
  position: relative;
  overflow: hidden;
}

.error-404-home-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.error-404-home-button:hover::before {
  width: 300px;
  height: 300px;
}

.error-404-home-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(111,61,156,0.3);
  color: var(--color-white);
  text-decoration: none;
}

.error-404-home-button svg {
  transition: transform 0.3s ease;
}

.error-404-home-button:hover svg {
  transform: translateX(-2px);
}

/* 補助情報 */
.error-404-help {
  opacity: 0.7;
}

.error-404-help-text {
  margin: 0;
}

.error-404-help-text small {
  font-size: 13px;
  color: var(--color-dark-gray);
  line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .error-404-section {
    padding: 60px 0;
  }
  
  .error-404-content {
    padding: 0 20px;
  }
  
  .error-404-visual {
    margin-bottom: 30px;
  }
  
  .error-404-number {
    font-size: 80px;
  }
  
  .error-404-icon svg {
    width: 80px;
    height: 80px;
  }
  
  .error-404-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  
  .error-404-description {
    font-size: 15px;
  }
  
  .error-404-suggestion {
    font-size: 14px;
  }
  
  .error-404-home-button {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .error-404-actions {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .error-404-section {
    padding: 40px 0;
  }
  
  .error-404-number {
    font-size: 64px;
  }
  
  .error-404-icon svg {
    width: 60px;
    height: 60px;
  }
  
  .error-404-title {
    font-size: 24px;
  }
  
  .error-404-home-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* レスポンシブブレーク */
.mobile-break {
  display: none;
}

.desktop-break {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-break {
    display: inline;
  }
  
  .desktop-break {
    display: none;
  }
}

/* アニメーション効果 */
.error-404-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* フォーカス状態 */
.error-404-home-button:focus {
  outline: 3px solid var(--color-main);
  outline-offset: 4px;
}



/* ===================================
   パンくずリスト
   =================================== */

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 14px;
    color: var(--color-dark-gray);
  }
  
  .breadcrumbs a {
    color: var(--color-main);
  }
  
  .breadcrumbs .separator {
    margin: 0 8px;
  }
  
  .breadcrumbs .current {
    color: var(--color-dark-gray);
  }
  
  /* Front Page Styles */
  .hero-section {
    background: linear-gradient(-45deg, #6F3D9C, #8450B8, #54318B, #6F3D9C); /* 初期グラデーション: プロワンのテーマカラーに近い色を使用 */
    background-size: 400% 400%; /* グラデーションを大きく描画して動かす領域を確保 */
    animation: gradientAnimation 15s ease infinite; /* アニメーションの適用 */
    color: var(--color-white);
    padding: 60px 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  /* グラデーションを動かすためのキーフレームアニメーション */
    @keyframes gradientAnimation {
      0% {
        background-position: 0% 50%;
        }
      50% {
        background-position: 100% 50%;
      }
  100% {
      background-position: 0% 50%;
      }
    }

  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
  }
　.hero-content {
    position: relative;
    z-index: 2;
 } 
  .hero-title {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  
  .hero-buttons {
    display: flex;
    gap: 15px;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
  }
  
  .section-subtitle {
    text-align: center;
    color: var(--color-dark-gray);
    margin-bottom: 40px;
    font-size: 18px;
    padding:20px;
  }
  
  .section-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  
  .features-section,
  .function-section,
  .case-studies-section,
  .news-section {
    padding: var(--section-spacing) 0;
  }
  
  .features-section {
    background-color: var(--color-white);
  }
  
  .function-section {
    background-color: var(--color-light-gray);
  }
  
  .case-studies-section {
    background-color: var(--color-white);
  }
  
  .news-section {
    background-color: var(--color-light-gray);
  }
  
  .features-grid,
  .function-grid,
  .use-cases-grid {
    display: flex;
    margin: -15px;
  }
  
  .feature-box,
  .function-box,
  .use-case-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin: 15px;
    transition: transform 0.3s ease;
    height: 100%;
  }
  
  .function-box,
  .use-case-box {
    display: block;
    text-decoration: none;
    color: var(--color-text);
  }
  
  .feature-box:hover,
  .function-box:hover,
  .use-case-box:hover {
    transform: translateY(-5px);
  }
  
  .feature-title,
  .function-title,
  .use-case-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-main);
  }
  
  .feature-description,
  .function-description,
  .use-case-description {
    font-size: 15px;
    margin-bottom: 0;
  }
  
  .case-studies-grid,
  .news-list,
  .webinar-list {
    display: grid;
    gap: 30px;
    margin-top: 30px;
  }
  
  .case-studies-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .case-study-card,
  .news-item,
  .webinar-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
  }
  
  .case-study-card:hover,
  .news-item:hover,
  .webinar-item:hover {
    transform: translateY(-5px);
  }
  
  .case-study-image img,
  .webinar-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .case-study-content,
  .webinar-content {
    padding: 20px;
  }
  
  .case-study-title,
  .news-title,
  .webinar-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .case-study-excerpt,
  .news-excerpt,
  .webinar-excerpt {
    font-size: 14px;
    color: var(--color-dark-gray);
  }
  
  .news-date,
  .webinar-date {
    font-size: 14px;
    color: var(--color-dark-gray);
    display: block;
    margin-bottom: 8px;
  }
  
  .news-columns {
    align-items: flex-start;
  }
  
  .cta-section {
    background-color: var(--color-sub-dark);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
  }
  
  .cta-title {
    margin-bottom: 15px;
  }
  
  .cta-description {
    max-width: 800px;
    margin: 0 auto 30px;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .cta-button-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white) !important;
  }
  
  .cta-button-outline .wp-block-button__link:hover {
    background-color: var(--color-white);
    color: var(--color-sub-dark) !important;
  }
  
  /* Common Card Styles */
  .post-card,
  .feature-card,
  .case-card {
    display: block;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
  }
  
  .post-card:hover,
  .feature-card:hover,
  .case-card:hover {
    transform: translateY(-5px);
  }
  
  .post-card-image,
  .feature-card-image,
  .case-card-image {
    height: 200px;
    overflow: hidden;
  }
  
  .post-card-image img,
  .feature-card-image img,
  .case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .post-card:hover .post-card-image img,
  .feature-card:hover .feature-card-image img,
  .case-card:hover .case-card-image img {
    transform: scale(1.05);
  }
  
  .post-card-no-image,
  .feature-card-no-image,
  .case-card-no-image {
    background-color: var(--color-mid-gray);
    height: 100%;
  }
  
  .post-card-content,
  .feature-card-content,
  .case-card-content {
    padding: 20px;
  }
  
  .post-card-title,
  .feature-card-title,
  .case-card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .post-card-excerpt,
  .feature-card-excerpt,
  .case-card-excerpt {
    font-size: 14px;
    color: var(--color-dark-gray);
  }
  
  .post-meta {
    font-size: 14px;
    color: var(--color-dark-gray);
    margin-bottom: 10px;
  }
  
  .posted-on {
    margin-right: 10px;
  }
  
  /* Archive & Grid Layouts */
  .post-grid,
  .features-grid,
  .case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
  }
  
  .page-header {
    margin-bottom: 30px;
  }
  
  .page-title {
    margin-bottom: 10px;
  }
  
  .archive-description {
    color: var(--color-white);
  }
  
  /* Pagination */
  .pagination {
    margin: 40px 0;
    text-align: center;
  }
  
  .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: var(--color-white);
    border: 1px solid var(--color-mid-gray);
    border-radius: var(--border-radius);
  }
  
  .page-numbers.current {
    background-color: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
      .hero-title {
        font-size: 32px;
      }
      
      .features-grid,
      .function-grid,
      .use-cases-grid {
        margin: -10px;
        flex-wrap:wrap;
      }
      
      .feature-box,
      .function-box,
      .use-case-box {
        margin: 10px;
        padding: 20px;
      }
      
      .footer-widget {
        flex: 0 0 100%;
        padding-right: 0;
      }
      
      .post-grid,
      .features-grid,
      .case-studies-grid {
        grid-template-columns: 1fr;
      }
      
      .footer-widgets {
        flex-direction: column;
      }
    }
    
    @media (max-width: 480px) {
      .hero-section {
        padding: 60px 0;
      }
      
      .hero-title {
        font-size: 28px;
      }
      
      .hero-buttons,
      .cta-buttons {
        flex-direction: column;
      }
      
      .news-columns {
        flex-direction: column;
      }
    }
    /* Thanks Pages Styles */
.thanks-page {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
}

.thanks-content {
  flex: 1;
  min-width: 280px;
}

.thanks-sidebar {
  width: 300px;
}

.thanks-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--color-main);
}

.thanks-message {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.6;
}

.thanks-next-steps {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.thanks-next-steps h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-main);
}

.thanks-next-steps ol {
  padding-left: 20px;
}

.thanks-next-steps li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.thanks-note {
  background-color: #FCF6FB;
  border-left: 4px solid var(--color-accent);
  padding: 15px;
  margin-bottom: 30px;
  font-size: 14px;
}

.thanks-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.download-now {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.download-now h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-main);
}

.download-button {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  padding: 12px 30px;
  margin-top: 15px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #C93279;
  color: var(--color-white);
}

.thanks-recommendations {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.thanks-recommendations h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--color-main);
}

.thanks-recommendations ul {
  list-style: none;
  padding: 0;
}

.thanks-recommendations li {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-mid-gray);
  padding-bottom: 12px;
}

.thanks-recommendations li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.thanks-recommendations a {
  color: var(--color-text);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.thanks-recommendations a:hover {
  color: var(--color-main);
}

@media (max-width: 768px) {
  .thanks-page {
    flex-direction: column;
  }
  
  .thanks-sidebar {
    width: 100%;
  }
  
  .thanks-buttons {
    flex-direction: column;
  }
  
  .button {
    width: 100%;
    text-align: center;
  }
}
/* Legal Pages Styles */
.privacy-page-content,
.terms-page-content {
  padding: 40px 0;
}

.privacy-date,
.terms-date {
  text-align: right;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--color-dark-gray);
}

.privacy-lead,
.terms-lead {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-section-title,
.terms-section-title {
  font-size: 20px;
  color: var(--color-main);
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-mid-gray);
}

.terms-list {
  margin-left: 20px;
  margin-bottom: 20px;
}

.terms-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.terms-list ol {
  margin-top: 10px;
  margin-left: 20px;
}

.terms-list ol li {
  margin-bottom: 5px;
}

.terms-end {
  text-align: right;
  margin-top: 40px;
  font-weight: 700;
}

/* Column & News Styles */
.column-filter,
.news-filter {
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.category-filter .category-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.category-filter .category-list li a {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--color-light-gray);
  color: var(--color-text);
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.category-filter .category-list li a:hover,
.category-filter .category-list li a.active {
  background-color: var(--color-main);
  color: var(--color-white);
}

.search-filter .search-form {
  display: flex;
  position: relative;
}

.search-filter .search-field {
  padding: 10px 15px;
  border: 1px solid var(--color-mid-gray);
  border-radius: 4px;
  width: 250px;
  font-size: 14px;
}

.search-filter .search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.column-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.column-card:hover {
  transform: translateY(-5px);
}

.column-card-link {
  display: block;
  color: var(--color-text);
  text-decoration: none;
}

.column-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.column-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.column-card:hover .column-card-image img {
  transform: scale(1.05);
}

.column-card-content {
  padding: 20px;
}

.column-card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
}

.column-category {
  background-color: rgba(111,61,156,0.1);
  color: var(--color-main);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ------------------------------------------------ */
/* コラム */
/* ------------------------------------------------ */

.column-date {
  font-size: 14px;
  color: var(--color-dark-gray);
}

@media (max-width: 480px) {
  .column-date {
    font-size: 12px;
  }
}

/* ------------------------------------------------ */

.column-card-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.column-card-excerpt {
  font-size: 14px;
  color: var(--color-dark-gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.column-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.column-tag {
  font-size: 12px;
  color: var(--color-dark-gray);
  background-color: var(--color-light-gray);
  padding: 3px 8px;
  border-radius: 3px;
}

/* ------------------------------------------------ */
/* コラム */
/* ------------------------------------------------ */

.column-single {
  background-color: var(--color-white);
  padding: 0px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .column-single {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
  }

  /* 2026-10-28 記事の箱の下の影を消し、左右の影も最後の600pxで白へ薄めて、
     その下のフッターCTAまで目で途切れずにつなぐ（本人指示）。
     clip-path で下だけ影を切り、左右の影の上に白へ向かうグラデーションの帯を重ねる。
     本文の地は白（body）なので、白で消せる */
  .column-single {
    position: relative;
    clip-path: inset(-20px -20px 0 -20px);
  }

  .column-single::before,
  .column-single::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 20px;
    height: min(600px, 100%);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--color-white) 100%);
    pointer-events: none;
  }

  .column-single::before {
    left: -20px;
  }

  .column-single::after {
    right: -20px;
  }
}

/* ------------------------------------------------ */

.column-featured-image {
  margin-bottom: 30px;
}

.column-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* PCでは本文幅いっぱいだと1画面目が画像で埋まるため、幅を抑えて中央に置く */
@media (min-width: 1024px) {
  .column-featured-image {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

.column-toc {
  background-color: var(--color-light-gray);
  padding: 20px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
}

.toc-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.column-author {
  display: flex;
  align-items: center;
  background-color: var(--color-light-gray);
  padding: 20px;
  margin: 30px 0;
  border-radius: var(--border-radius);
}

.author-avatar {
  margin-right: 20px;
}

.author-avatar img {
  border-radius: 50%;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-bio {
  font-size: 14px;
  color: var(--color-dark-gray);
  line-height: 1.6;
}

.column-share {
  margin: 30px 0;
  padding: 20px;
  border-top: 1px solid var(--color-mid-gray);
  border-bottom: 1px solid var(--color-mid-gray);
}

.share-title {
  font-size: 16px;
  margin-bottom: 15px;
}

.share-buttons {
  display: flex;
  gap: 15px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 4px;
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.share-button:hover {
  opacity: 0.8;
  color: var(--color-white);
}

.twitter-share {
  background-color: #7C4FD8;
}

.facebook-share {
  background-color: #7C4FD8;
}

.linkedin-share {
  background-color: #54318B;
}

.share-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.related-columns {
  margin-top: 40px;
}

.related-title {
  font-size: 24px;
  margin-bottom: 20px;
}

/* News Styles */
.news-list {
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-3px);
}

.news-date {
  min-width: 120px;
  padding-right: 20px;
  color: var(--color-dark-gray);
  font-size: 14px;
}

.news-content {
  flex: 1;
}

.news-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.news-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--color-main);
}

.news-excerpt {
  font-size: 14px;
  color: var(--color-dark-gray);
  line-height: 1.6;
}

.news-year-filter select {
  padding: 8px 15px;
  border: 1px solid var(--color-mid-gray);
  border-radius: 4px;
  font-size: 14px;
  background-color: var(--color-white);
}

/* Single News */

.news-featured-image {
  margin: 20px 0 30px;
}

.news-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.news-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-mid-gray);
}

.news-prev, .news-next {
  flex: 1;
}

.news-next {
  text-align: right;
}

.news-list-link {
  text-align: center;
}

/* Materials Styles */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.service-materials-section,
.industry-materials-section,
.helpful-materials-section {
  margin-bottom: 60px;
}

.section-description {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--color-dark-gray);
}

.material-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  height: 100%;
}

.material-card:hover {
  transform: translateY(-5px);
}

.material-card-link {
  display: block;
  height: 100%;
  color: var(--color-text);
  text-decoration: none;
}

.material-card-image {
  height: 200px;
  overflow: hidden;
}

.material-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.material-card:hover .material-card-image img {
  transform: scale(1.05);
}

.material-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
}

.material-card-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.material-card-excerpt {
  font-size: 14px;
  color: var(--color-dark-gray);
  margin-bottom: 15px;
  line-height: 1.6;
  flex: 1;
}

.material-card-button {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.3s ease;
}

.material-card:hover .material-card-button {
  background-color: #C93279;
}

/* Single Material */
.material-single {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 40px;
}

.material-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.material-info {
  flex: 1;
  min-width: 300px;
}

.material-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--color-dark-gray);
  font-size: 14px;
}

.material-highlights {
  margin-top: 30px;
  padding: 20px;
  background-color: var(--color-light-gray);
  border-radius: var(--border-radius);
}

.material-highlights h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--color-main);
}

.highlight-list {
  margin-left: 20px;
}

.highlight-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.material-download-box {
  width: 450px;
  background-color: var(--color-light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.material-thumbnail {
  margin-bottom: 20px;
  text-align: center;
}

.material-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.download-form h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--color-main);
}

.download-form p {
  margin-bottom: 20px;
  font-size: 14px;
}

.related-materials {
  margin-top: 40px;
}

.related-materials h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* Scene Styles */
.scene-single {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
}

.scene-industries,
.scene-problems {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.scene-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
}

.industry-tag {
  background-color: var(--color-main);
  color: var(--color-white);
}

.industry-tag:hover {
  background-color: var(--color-sub-light);
  color: var(--color-white);
}

.problem-tag {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.problem-tag:hover {
  background-color: #C93279;
  color: var(--color-white);
}

.scene-featured-image {
  margin: 20px 0 30px;
}

.scene-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.scene-summary {
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--color-light-gray);
  border-radius: var(--border-radius);
}

.scene-summary h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-main);
}

.challenges-list {
  margin-left: 20px;
}

.challenges-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.scene-benefits {
  margin: 30px 0;
  padding: 20px;
  background-color: var(--color-main);
  color: var(--color-white);
  border-radius: var(--border-radius);
}

.scene-benefits h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-white);
}

.benefits-list {
  margin-left: 20px;
}

.benefits-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.scene-cases {
  margin: 30px 0;
}

.scene-cases h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.scene-cases-link {
  margin-top: 20px;
  text-align: center;
}

.related-scenes {
  margin-top: 40px;
}

.related-scenes h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.scene-cta {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--color-sub-dark);
  color: var(--color-white);
  border-radius: var(--border-radius);
  text-align: center;
}

.scene-cta h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.scene-cta p {
  margin-bottom: 20px;
  font-size: 16px;
}

.scene-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .column-filter .category-list,
  .filter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-filter .search-field {
    width: 100%;
  }
  
  .news-item {
    flex-direction: column;
  }
  
  .news-date {
    margin-bottom: 10px;
  }
  
  .material-content-wrapper {
    flex-direction: column;
  }
  
  .material-download-box {
    width: 100%;
  }
  
  .scene-cta-buttons {
    flex-direction: column;
  }
}
/* Case Studies Single Page Styles */
.case-single {
  margin-bottom: 40px;
}

.case-header {
  padding: 30px;
  background-color: var(--color-main);
  background-image: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
  color: var(--color-white);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.case-header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
　display: flex;
  flex-wrap: wrap;
　align-items: center;
}

.case-header-content {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.case-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.case-industries .industry-tag {
  background-color: rgba(255,255,255,0.2);
  color: var(--color-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.case-industries .industry-tag:hover {
  background-color: rgba(255,255,255,0.3);
}

.case-single .entry-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--color-white);
}

.company-name {
  font-size: 18px;
  margin-bottom: 15px;
}

.solution-summary {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.case-featured-image {
  width: 300px;
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.case-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
  gap: 40px;
}

.case-main-content {
  flex: 1;
  min-width: 300px;
}

.case-overview {
  margin-bottom: 30px;
}

.case-overview h2,
.case-results h2 {
  font-size: 24px;
  color: var(--color-white);
  padding: 20px;
  border-bottom: 1px solid var(--color-mid-gray);
  margin:0px;
}

.case-overview h2 {
  background-color: #AA96B6;
  text-align:center;
}
.case-results h2{
  background-color:#C93279;
  text-align:center;
}

.case-challenges {
  line-height: 1.6;
  padding:20px 40px;
  background-color:var(--color-light-gray);
}

.entry-content {
  margin-bottom: 30px;
}

.case-results {
  margin-bottom: 30px;
}

.results-content {
  margin-bottom: 30px;
  line-height: 1.6;
  background-color:var(--color-light-gray);
  padding:20px 40px;
}

.result-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.metric-item {
  background-color: var(--color-light-gray);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 10px;
}

.metric-label {
  font-size: 14px;
  color: var(--color-dark-gray);
}

.case-testimonial {
  background-color: var(--color-light-gray);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-quote:before {
  content: '"';
  font-size: 60px;
  color: var(--color-main);
  opacity: 0.2;
  position: absolute;
  left: -15px;
  top: -20px;
}

.testimonial-author {
  text-align: right;
}

.author-name {
  font-weight: 700;
  margin-bottom: 5px;
}

.author-position {
  font-size: 14px;
  color: var(--color-dark-gray);
}

.case-sidebar {
  width: 300px;
}

.company-info,
.case-related-links {
  background-color: var(--color-light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 30px;
}

.company-info h3,
.case-related-links h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--color-main);
}

.company-data {
  margin: 0;
}

.company-data dt {
  font-weight: 700;
  margin-bottom: 5px;
}

.company-data dd {
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
  border-bottom: 1px solid var(--color-mid-gray);
}

.company-data dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-links-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-mid-gray);
  padding-bottom: 10px;
}

.related-links-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.related-links-list a {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-links-list a:hover {
  color: var(--color-main);
}

.related-cases {
  margin: 0 auto;
}

.related-cases h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.case-cta {
  background-color: var(--color-sub-dark);
  color: var(--color-white);
  padding: 30px;
  text-align: center;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.case-cta h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.case-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .case-header {
    flex-direction: column;
  }
  
  .case-header-content {
    padding-right: 0;
    margin-bottom: 20px;
  }
  
  .case-featured-image {
    width: 100%;
  }
  
  .case-sidebar {
    width: 100%;
  }
  
  .result-metrics {
    flex-direction: column;
  }
  
  .case-cta-buttons {
    flex-direction: column;
  }
}

/* Additional CSS */
/* 機能紹介セクションのスタイル - 既存のテーマに合わせたスタイル */
.features-connect-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-white);
}

.features-connect-section .section-title {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}

.features-connect-section .section-subtitle {
  text-align: center;
  color: var(--color-dark-gray);
  margin-bottom: 40px;
  font-size: 18px;
}

.text-accent {
  color: var(--color-main);
}

/* タブ切り替え部分 */
.features-connect-section .features-tabs {
  max-width: 100%;
  margin: 0 auto;
}

.features-connect-section .tabs-header {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-mid-gray);
  flex-wrap: nowrap; /* タブを折り返さない */
  overflow-x: auto; /* 横スクロール可能に */
  -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
  scrollbar-width: thin; /* Firefox用 */
  position: relative;
  padding-bottom: 5px; /* スクロールバー用の余白 */
}

/* スクロールバーのスタイル調整 */
.features-connect-section .tabs-header::-webkit-scrollbar {
  height: 4px;
}

.features-connect-section .tabs-header::-webkit-scrollbar-track {
  background: #FCF6FB;
  border-radius: 10px;
}

.features-connect-section .tabs-header::-webkit-scrollbar-thumb {
  background: var(--color-mid-gray);
  border-radius: 10px;
}

/* スクロール可能であることを示す視覚的なヒント */
.features-connect-section .tabs-header:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, transparent, white);
  pointer-events: none;
  opacity: 0.8;
}

.features-connect-section .tab-button {
  background: none;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-dark-gray);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 2px;
  border-radius: 5px 5px 0 0;
  text-align: center;
  display: inline-block;
  line-height: normal;
  box-shadow: none;
  white-space: nowrap; /* テキストを折り返さない */
  flex-shrink: 0; /* 幅を縮めない */
}

.features-connect-section .tab-button:hover {
  background-color: rgba(111,61,156,0.1);
  color: var(--color-main);
  transform: none;
  box-shadow: none;
}

.features-connect-section .tab-button:focus {
  outline: none;
}

.features-connect-section .tab-button.active {
  color: white;
  font-weight: 700;
  background-color: var(--color-main);
  box-shadow: 0 2px 5px rgba(47,28,64,0.1);
}

.features-connect-section .tab-button.active:after {
  display: none;
}

/* タブコンテンツ部分 */
.features-connect-section .tab-pane {
  display: none;
  padding: 25px;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: var(--color-white);
}

.features-connect-section .tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.features-connect-section .tab-content-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.features-connect-section .feature-description {
  flex: 1;
}

.features-connect-section .feature-description h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-sub-dark);
}

.features-connect-section .feature-description p {
  margin-bottom: 25px;
  color: var(--color-dark-gray);
  line-height: 1.6;
}

.features-connect-section .feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.features-connect-section .feature-list li {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.features-connect-section .feature-icon {
  color: var(--color-main);
  font-size: 20px;
  margin-right: 15px;
  min-width: 24px;
}

.features-connect-section .feature-list li div h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-sub-dark);
}

.features-connect-section .feature-list li div p {
  margin-bottom: 0;
  font-size: 15px;
}

.features-connect-section .feature-more {
  margin-top: 30px;
}

.features-connect-section .feature-more .section-button {
  display: inline-block;
  background-color: transparent;
  color: var(--color-main);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  border: 2px solid var(--color-main);
  text-decoration: none;
  transition: all 0.3s ease;
}

.features-connect-section .feature-more .section-button:hover {
  background-color: var(--color-main);
  color: var(--color-white);
}

.features-connect-section .feature-image {
  flex: 1;
  text-align: center;
}

.features-connect-section .feature-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .features-connect-section .tab-button {
    padding: 12px 18px;
    font-size: 15px;
  }
  
  .features-connect-section .tab-content-inner {
    flex-direction: column-reverse;
    gap: 30px;
  }
  
  .features-connect-section .feature-image {
    width: 100%;
  }
  
  .features-connect-section .feature-description {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .features-connect-section .tabs-header {
    justify-content: flex-start;
  }
  
  .features-connect-section .tab-button {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .features-connect-section .tab-pane {
    padding: 20px 15px;
  }
  
  .features-connect-section .feature-description h3 {
    font-size: 20px;
  }
  
  .features-connect-section .feature-list li div h4 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .features-connect-section .tab-button {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .features-connect-section .feature-description h3 {
    font-size: 18px;
  }
}

/* Hero Section New Design */

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-title {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  margin-left: 0px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.secondary-button .wp-block-button__link {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white) !important;
}

.secondary-button .wp-block-button__link:hover {
  background-color: var(--color-white);
  color: var(--color-main) !important;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    margin-bottom:0px;
  }
  
  .hero-text {
    text-align: center;
    order: 1;
  }
  
  .hero-image {
    order: 2;
    margin-bottom: 30px;
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 28px;
  }
 .hero-text {
    text-align:center;
  }  
  .hero-buttons {
    flex-direction: column;
  }
}
/* Logo Slider Section */
.logo-slider-section {
  padding: 40px 0;
  background-color: var(--color-white);
}

.logo-slider-title {
  text-align: center;
  font-size: 18px;
  color: var(--color-dark-gray);
  margin-bottom: 30px;
}

.logo-slider {
  position: relative;
  padding: 10px 0;
  overflow:hidden;
}

.logo-track {
  display: flex;
  animation: slideLogos 40s linear infinite both;
  width: fit-content;
}

.logo-slide {
  flex: 0 0 auto;
  min-width: 160px;
  height: 80px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

@keyframes slideLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 最初のセットのロゴ分だけ移動(-100%) */
    transform: translateX(calc(-100% / 2));
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .logo-slide {
    min-width: 120px;
    height: 60px;
    margin: 0 15px;
  }
  
  .logo-slide img {
    max-height: 40px;
  }
}

@media (max-width: 480px) {
  .logo-slider-section {
    padding: 30px 0;
  }
  
  .logo-slide {
    min-width: 100px;
    margin: 0 10px;
  }
}
/* 機能詳細ページのスタイル */
.feature-detail-page {
  margin-bottom: 60px;
}

/* ヒーローセクション */
.feature-hero-section {
  background-color: var(--color-main);
  background-image: var(--color-linear-gradient);
  color: var(--color-white);
  padding: 60px 0 40px;
  margin-bottom: 20px;
}

.feature-hero-section .feature-tag {
  display: inline-block;
  background-color: rgba(255,255,255,0.2);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

/* 2026-08-19 32px → 40px。ページの主語（機能名）が、下の「主な機能」の
   見出し（28px）とほぼ同じ大きさで、面の主従が付いていなかった。
   ヒーローの帯は551pxあり、上げても収まる */
.feature-hero-section .feature-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* パンくずリスト */
.breadcrumbs {
  margin: 15px 0;
  font-size: 14px;
  color: var(--color-dark-gray);
}

.breadcrumbs a {
  color: var(--color-main);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 8px;
}

/* メインコンテンツ */
.feature-header-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px 0 40px;
  position: relative;
}

.feature-header-section:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--color-mid-gray), transparent);
}

.feature-header-content {
  flex: 1;
  max-width: 50%;
  padding-right: 40px;
}

/* ヒーローセクションに移動したので非表示 */
.feature-header-content .feature-tag,
.feature-header-content .feature-title {
  display: none;
}

.feature-description {
  color: var(--color-white);
  font-size: 16px;
  line-height: 1.8;
}

.feature-image-wrapper {
  flex: 1;
  max-width: 50%;
  position: relative;
}

.feature-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.placeholder-image {
  background-color: var(--color-light-gray);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-caption {
  text-align: center;
  color: var(--color-white);
  font-size: 14px;
  margin-top: 10px;
}

.feature-content-section {
  padding: 20px 0;
}

.entry-content {
  margin-bottom: 40px;
}

.entry-content h2 {
  font-size: clamp(28px, 4vw, 32px);
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-main);
  position: relative;
  padding-bottom: 10px;
  display:inline-block;
}

.entry-content h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;  
  height: 3px;
  width:100%;
  background-color: var(--color-main);
}

.entry-content h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-sub-dark);
}

.entry-content p {
  margin-bottom: 20px;
  line-height: 1.6!important;
}

.entry-content ul, 
.entry-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.entry-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.feature-other-list{
    background-color:var(--color-light-gray);
    padding: 40px 0px;
}

.related-features h2 {
    text-align: center;
    color: var(--color-main);
    margin-bottom: 20px;
    margin-bottom: 40px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    position: relative;
    display:inline-block;
}
.related-features h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;  
  height: 3px;
  width:100%;
  background-color: var(--color-main);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .feature-header-content,
  .feature-image-wrapper {
    max-width: 100%;
    padding-right: 0;
  }
  
  .feature-header-section {
    flex-direction: column;
  }
  
  .feature-header-content {
    margin-bottom: 30px;
  }
  
  .feature-hero-section .feature-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .feature-hero-section {
    padding: 40px 0 30px;
  }
  
  .feature-header-section {
    padding: 20px 0 30px;
  }
  
  .feature-hero-section .feature-title {
    font-size: 28px;
  }
  
  .entry-content h2 {
    font-size: 22px;
  }

  .entry-content h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .feature-hero-section {
    padding: 30px 0 25px;
  }
  
  .feature-hero-section .feature-title {
    font-size: 26px;
  }
  
  .breadcrumbs {
    margin: 15px 0 20px;
    font-size: 12px;
  }
}

/* ------------------------------------------------ */
/* コラム */
/* ------------------------------------------------ */

/* heading */

.column-single .entry-title {
    font-size: 32px;
    margin-top: 12px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
.column-single .entry-title {
    font-size: 32px;
}
}

.column-content .entry-content h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
.column-content .entry-content h2 {
    font-size: 32px;
  }
}

.column-content .entry-content h3 {
  font-size: 24px;
  margin-bottom: 32px;
}

/* text */

.column-content .entry-content p {
  margin-bottom: 32px;
  line-height: 1.8!important;
}

.column-content .entry-content p strong {
  font-weight: 700;
  color: inherit; 
  box-shadow: inset 0 -0.5em 0 #EA8FBC;
}

.column-content .wp-block-table {
  margin-bottom: 32px;
}

/* ornament */

.column-content .wp-block-group.has-background {
  padding: 36px 24px 12px 24px;
}

.column-content .wp-block-group ul {
  margin-bottom: 32px;
}

/* image */

.column-content .wp-block-image.aligncenter {
  margin-left: auto;
  margin-right: auto;
  width: max-content;
  max-width: 100%;
}

.column-content .wp-block-image.aligncenter .wp-element-caption {
  text-align: center;
}

.column-content figure.wp-block-image img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------ */

/* 追加のスタイル */
.breadcrumbs-container {
  padding-top: 0px;
  padding-bottom: 0;
}

.feature-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.feature-hero-text {
  flex: 1;
  max-width: 50%;
}

.feature-hero-image {
  flex: 1;
  max-width: 50%;
  position: relative;
}

.feature-hero-image img,
.feature-hero-image video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 動画は width/height 属性で比率を持たせてあるので、poster を読む前でも
   高さが確定して FV がガタつかない。display:block はインライン要素の
   ベースライン分の隙間（キャプションとの間の4px）を消すため */
.feature-hero-image video {
  display: block;
  background-color: #FFFFFF;
}

.feature-buttons {
  margin-top: 25px;
}

.feature-detail-button {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  /* 2026-11-05 スマホで全幅になるボタン（FV・中段CTA）で、文字が左に寄っていた（宮原さん指摘）。
     中身の幅のときは見た目が変わらないので、元の指定で中央にそろえる */
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.feature-detail-button:hover {
  background-color: #C93279;
  color: var(--color-white);
}

.button-icon {
  margin-right: 8px;
  font-size: 12px;
}

.feature-tags {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
}

.efficiency-tag {
  background-color: var(--color-sub-light);
  color: var(--color-white);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
}

.curve-separator {
  height: 80px;
  background-color: var(--color-white);
  margin-top: -40px;
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
  position: relative;
  z-index: 10;
}

@media (max-width: 992px) {
  .feature-hero-content {
    flex-direction: column;
  }
  
  .feature-hero-text,
  .feature-hero-image {
    max-width: 100%;
  }
  
  .feature-hero-text {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .curve-separator {
    height: 40px;
    margin-top: -20px;
  }
}

/* 新しいヒーローセクションのスタイル */

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 25px;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(201,50,121,0.4);
  z-index: -1;
  border-radius: 4px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
/* 
.hero-badge {
  display: inline-block;
  background-color: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
}
 */
.hero-badge img {
  max-width:45%;
}
/* 
.hero-badge span {
  display: flex;
  align-items: center;
}

.hero-badge span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-right: 8px;
}
 */
.hero-device-wrapper {
  position: relative;
  z-index: 5;
}

.hero-device-wrapper img {
  transform: perspective(800px) rotateY(-10deg);
  transition: all 0.5s ease;
}

.hero-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: perspective(900px) rotateY(-5deg);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(47,28,64,0.1);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.floating-card svg {
  margin-right: 8px;
}

.floating-card-1 {
  top: 2%;
  left: 200px;
}

.floating-card-2 {
  top: 0%;
  right: 155px;
}

.floating-card-3 {
  bottom: -20px;
  left: 10%;
}
.floating-card-4 {
  bottom: 0px;
  left: 50%;
}
.floating-card-5 {
  bottom: 225px;
  left: 5%;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ロゴスライダーと成功メトリクス */
.logo-slider-section {
  background-color: var(--color-white);
  padding: 40px 0 60px;
  position: relative;
}

.logo-slider-title {
  text-align: center;
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 30px;
}

.logo-slider-title .text-accent {
  color: var(--color-main);
  font-weight: 700;
}

.metrics-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0px;
}

.metric-item {
  flex: 1;
  background-color: var(--color-light-gray);
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(47,28,64,0.05);
  background-color: white;
}

.metric-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-main);
  margin-bottom: 10px;
  line-height: 1;
}

.metric-unit {
  font-size: 24px;
  font-weight: 700;
}

.metric-label {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
}

/* 共通セクションタイトルのスタイル強化 */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  font-weight: 800;
}

.section-title .text-accent {
  color: var(--color-main);
  position: relative;
}

.section-title.with-line {
  margin-bottom: 20px;
}

.section-title.with-line::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-main);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-dark-gray);
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 特徴ボックスの改良 */
.features-grid {
  gap: 30px;
  margin-bottom: 40px;
}

.feature-box {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(47,28,64,0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(47,28,64,0.05);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(47,28,64,0.1);
  border-color: var(--color-main);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: rgba(111,61,156,0.1);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-sub-dark);
}

.feature-description {
  font-size: 15px;
  color: var(--color-dark-gray);
  line-height: 1.7;
  flex-grow: 1;
}

/* ボタンスタイルの強化 */
.button-arrow, 
.button-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.section-button{
  text-align: center;
}


.section-button:hover .button-arrow {
  transform: translateX(3px);
}

.primary-button .wp-block-button__link {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(201,50,121,0.2);
}

.primary-button .wp-block-button__link:hover {
  background-color: #C93279;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,50,121,0.3);
}

.secondary-button .wp-block-button__link {
  background-color: rgba(255,255,255,0.2);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.secondary-button .wp-block-button__link:hover {
  background-color: var(--color-white);
  color: var(--color-main);
  transform: translateY(-2px);
}

.section-button .wp-block-button__link {
  background-color: transparent;
  color: var(--color-main)!important;
  border: 2px solid var(--color-main);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.section-button .wp-block-button__link:hover {
  background-color: var(--color-main);
  color: var(--color-white)!important;
  transform: translateY(-2px);
}

.section-button-small .wp-block-button__link {
  background-color: transparent;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.section-button-small .wp-block-button__link:hover {
  background-color: rgba(111,61,156,0.1);
}

.section-button-small svg {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.section-button-small:hover svg {
  transform: translateX(3px);
}

/* タブのスタイル改良 */
.features-connect-section {
  background-color: var(--color-white);
  padding: 80px 0;
  position: relative;
}

.features-tabs {
  max-width: 100%;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-mid-gray);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  position: relative;
  padding-bottom: 5px;
}

.tab-button {
  background: none;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark-gray);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 2px;
  border-radius: 5px 5px 0 0;
  text-align: center;
  display: inline-flex;
  align-items: center;
  line-height: normal;
  box-shadow: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-icon {
  margin-right: 8px;
}

.tab-button:hover {
  background-color: rgba(111,61,156,0.1);
  color: var(--color-main);
}

.tab-button.active {
  color: white;
  font-weight: 700;
  background-color: var(--color-main);
  box-shadow: 0 2px 5px rgba(47,28,64,0.1);
}

.tab-pane {
  display: none;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(47,28,64,0.05);
  border: 1px solid rgba(47,28,64,0.05);
  overflow: hidden;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-content-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  padding: 30px;
}

.feature-device-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(47,28,64,0.1);
  transition: all 0.3s ease;
}

.feature-device-frame:hover {
  transform: translateY(-5px);
}

.feature-device-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-tags {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
}

.efficiency-tag {
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}

/* 利用シーンの改良 */
.use-cases-section {
  background-color: var(--color-light-gray);
  padding: 80px 0;
}

.use-cases-grid {
  gap: 30px;
  margin-bottom: 40px;
}

.use-case-box {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(47,28,64,0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid rgba(47,28,64,0.05);
  position: relative;
}

.use-case-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(47,28,64,0.1);
  border-color: var(--color-main);
}

.use-case-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: rgba(111,61,156,0.1);
}

.use-case-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-sub-dark);
  transition: color 0.3s ease;
}

.use-case-box:hover .use-case-title {
  color: var(--color-main);
}

.use-case-description {
  font-size: 15px;
  color: var(--color-dark-gray);
  margin-bottom: 15px;
  line-height: 1.7;
  flex-grow: 1;
}

.use-case-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-main);
  font-weight: 700;
  font-size: 14px;
  margin-top: auto;
}

.use-case-link::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.use-case-box:hover .use-case-link::after {
  transform: translateX(3px);
}

/* 機能ボックスの改良 */
.function-section {
  background-color: var(--color-white);
  padding: 80px 0;
}

.function-grid {
  gap: 30px;
  margin-bottom: 40px;
}

.function-box {
  background-color: var(--color-light-gray);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  align-items:center;
  color: var(--color-text);
  position: relative;
}

.function-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(47,28,64,0.1);
  background-color: var(--color-white);
  border-color: var(--color-main);
}

.function-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: rgba(111,61,156,0.1);
}

.function-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-sub-dark);
  transition: color 0.3s ease;
}

.function-box:hover .function-title {
  color: var(--color-main);
}

.function-description {
  font-size: 15px;
  color: var(--color-dark-gray);
  margin-bottom: 20px;
  line-height: 1.7;
  flex-grow: 1;
}

.function-link-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--color-main);
  opacity: 0;
  transition: all 0.3s ease;
}

.function-box:hover .function-link-icon {
  opacity: 1;
}

/* 導入事例のスタイル改良 */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header-text {
  flex: 1;
}

.section-header-text .section-title {
  text-align: left;
  margin-bottom: 10px;
}

.section-header-text .section-subtitle {
  text-align: left;
  margin-bottom: 0;
}

.case-studies-section {
  background-color: var(--color-light-gray);
  padding: 80px 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.case-study-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(47,28,64,0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(47,28,64,0.05);
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(47,28,64,0.1);
  border-color: var(--color-main);
}

.case-study-image {
  height: 200px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-tags {
  display: flex;
  gap: 8px;
  padding: 15px 20px 0;
}

.case-study-industry,
.case-study-result {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.case-study-industry {
  background-color: rgba(111,61,156,0.1);
  color: var(--color-main);
}

.case-study-result {
  background-color: rgba(201,50,121,0.1);
  color: var(--color-accent);
}

.case-study-content {
  padding: 15px 20px 20px;
}

.case-study-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.case-study-title a {
  color: var(--color-sub-dark);
  text-decoration: none;
}

.case-study-card:hover .case-study-title a {
  color: var(--color-main);
}

.case-study-excerpt {
  font-size: 14px;
  color: var(--color-dark-gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.case-study-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-dark-gray);
}

.case-study-company,
.case-study-date {
  display: flex;
  align-items: center;
}

.case-study-company svg,
.case-study-date svg {
  margin-right: 5px;
}

/* FAQ セクション */
.faq-section {
  background-color: var(--color-white);
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto 40px;
}

.faq-item {
  background-color: var(--color-light-gray);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(47,28,64,0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--color-white);
  border: 1px solid rgba(47,28,64,0.05);
  border-radius: 12px;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-sub-dark);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-main);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.faq-item.active .faq-toggle {
  transform: rotate(-180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border-top: 0;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 1000px;
}

.faq-answer p {
  margin: 0;
  color: var(--color-dark-gray);
  line-height: 1.7;
}

/* ニュースとウェビナーセクション */
.news-section {
  background-color: var(--color-light-gray);
  padding: 80px 0;
}

.news-columns {
  gap: 30px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.news-item {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(47,28,64,0.03);
  transition: all 0.3s ease;
  border: 1px solid rgba(47,28,64,0.03);
}

.news-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(47,28,64,0.05);
  border-color: var(--color-main);
}

.news-item-inner {
  flex: 1;
  padding:10px;
}

.news-date {
  display: block;
  font-size: 14px;
  color: var(--color-dark-gray);
  margin-bottom: 5px;
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.news-title a {
  color: var(--color-sub-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-item:hover .news-title a {
  color: var(--color-main);
}

.news-item-arrow {
  color: var(--color-main);
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.news-item:hover .news-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

.webinar-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.webinar-item {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(47,28,64,0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(47,28,64,0.03);
}

.webinar-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(47,28,64,0.1);
  border-color: var(--color-main);
}

.webinar-image {
  height: 160px;
  overflow: hidden;
}

.webinar-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.webinar-item:hover .webinar-image img {
  transform: scale(1.05);
}

.webinar-content {
  padding: 15px 20px 20px;
}

.webinar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.webinar-date {
  font-size: 14px;
  color: var(--color-dark-gray);
}

.webinar-status {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-main);
  background-color: rgba(111,61,156,0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.webinar-status svg {
  margin-right: 5px;
}

.webinar-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}

.webinar-title a {
  color: var(--color-sub-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.webinar-item:hover .webinar-title a {
  color: var(--color-main);
}

.webinar-buttons {
  display: flex;
  justify-content: flex-end;
}

.webinar-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.webinar-button:hover {
  background-color: var(--color-sub-light);
  color: var(--color-white);
}

.button-arrow-small {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.webinar-button:hover .button-arrow-small {
  transform: translateX(3px);
}

/* CTA セクション */
.cta-section {
  background-color: var(--color-sub-dark);
  color: var(--color-white);
  padding: 100px 0 80px;
  position: relative;
}

.cta-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.cta-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.cta-card {
  background-color: var(--color-main);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(47,28,64,0.2);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-sub-light) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 1;
}

.cta-container {
    padding:20px;
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.cta-badge {
  display: flex;
  align-items: center;
  background-color: rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
}

.cta-badge svg {
  margin-right: 8px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cta-button .wp-block-button__link {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(201,50,121,0.3);
}

.cta-button .wp-block-button__link:hover {
  background-color: #C93279;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,50,121,0.4);
}

.cta-button-outline .wp-block-button__link {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.cta-button-outline .wp-block-button__link:hover {
  background-color: var(--color-white);
  color: var(--color-main);
  transform: translateY(-2px);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-device-wrapper {
    transform: scale(0.9);
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cta-title {
    font-size: 28px;
  }
  
  .cta-card {
    padding: 40px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-description,
  .hero-buttons {
    margin-left: auto;
    margin-right: auto;
  }
  
  .floating-card-1 {
    top: 10%;
    left: 0;
  }
  
  .floating-card-3 {
    bottom: 0;
    left: 40%;
  }
  
  .metrics-grid {
    flex-direction: column;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tab-content-inner {
    flex-direction: column;
  }
  
  .feature-description,
  .feature-image {
    width: 100%;
  }
  
  .news-columns {
    flex-direction: column;
  }
  
  .webinar-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-description {
    font-size: 16px;
  }
 .hero-device-wrapper {
    transform: scale(0.7);
  }
  .section-title {
    font-size: 24px;
  }
  
  .features-grid,
  .use-cases-grid,
  .function-grid {
    gap: 20px;
  }
  
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .section-header-text .section-title {
    text-align: center;
  }
  
  .section-header-text .section-subtitle {
    text-align: center;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-card {
    padding: 30px;
  }
  
  .cta-title {
    font-size: 24px;
  }
  
  .cta-description {
    font-size: 16px;
  }
  
  .cta-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .wp-block-button {
    width: 100%;
  }
  .hero-device-wrapper {
    transform: scale(0.5);
  }
  .primary-button .wp-block-button__link,
  .secondary-button .wp-block-button__link {
    width: 100%;
    justify-content: center;
  }
  
  .features-grid > .wp-block-column,
  .use-cases-grid > .wp-block-column
  .function-grid > .wp-block-column {
    width: 100%;
  }
  
  .tab-button {
    padding: 12px 18px;
    font-size: 14px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .cta-card {
    padding: 25px 20px;
  }
  
  .cta-title {
    font-size: 22px;
  }
  
  .cta-badge {
    padding: 8px 15px;
    font-size: 12px;
  }
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* JavaScript 機能のためのCSS */
.faq-item .faq-answer {
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* --- トップページデザイン改善のためのCSS --- */

/* A. ヒーローセクションの強化 */
.hero-section.alignfull { /* .alignfull クラスが既にあれば不要 */
  padding-top: 100px; /* 十分なパディングを確保 */
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--color-main), var(--color-sub-light)); /* グラデーション背景 */
  position: relative;
  overflow: hidden; /* wave SVGのため */
}

.hero-background { /* 背景の装飾要素（必要に応じて画像やSVGパターンを指定） */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: none; */
  /* background-repeat: no-repeat; */
  /* background-position: center center; */
  /* background-size: cover; */
  opacity: 0.1;
  z-index: 1;
}

.hero-section .container {
  position: relative; /* hero-background の上にコンテンツを配置 */
  z-index: 2;
}
.hero-section .hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1; /* 背景よりは手前、コンテンツよりは奥の場合 */
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px; /* テキストと画像の間のスペース */
}

.hero-text {
  flex: 1.2; /* テキストエリアの幅を少し広めに */
  text-align: left;
}

.hero-title {
  font-size: 40px; /* 少し大きく */
  font-weight: 800; /* より強調 */
  line-height: 1.3;
  margin-bottom: 25px;
  color: var(--color-white);
}

.hero-title .highlight {
  /* 必要に応じて特定の単語をハイライトするスタイル */
  /* 例: border-bottom: 4px solid var(--color-accent); padding-bottom: 2px; */
}

.hero-title .text-accent { /* HTML側で特定の単語にこのクラスを付与 */
    color: var(--color-accent);
}

.hero-buttons .wp-block-button {
  margin-right: 15px; /* ボタン間のスペース */
}
.hero-buttons .wp-block-button:last-child {
  margin-right: 0;
}

.hero-buttons .button-icon {
    margin-right: 10px;
}

.primary-cta-button .wp-block-button__link {
  background-color: var(--color-accent);
  color: var(--color-white) !important; /* importantでテーマのデフォルトを上書き */
  padding: 14px 28px;
  border-radius: 50px; /* 角丸を強く */
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  box-shadow: 0 4px 15px rgba(47,28,64,0.1);
  display: inline-flex; /* アイコンとテキストを中央揃え */
  align-items: center;
}

.primary-cta-button .wp-block-button__link:hover {
  background-color: #C93279; /* 少し濃いオレンジ */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47,28,64,0.15);
}

.secondary-cta-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: var(--color-white) !important;
  border: 2px solid var(--color-white);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.2s ease-out, color 0.2s ease-out, transform 0.2s ease-out;
  display: inline-flex; /* アイコンとテキストを中央揃え */
  align-items: center;
}

.secondary-cta-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--color-white);
  color: var(--color-main) !important;
  transform: translateY(-2px);
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255,255,255,0.15); /* 背景を少し濃く */
  color: var(--color-white);
  padding: 10px 20px; /* 少し大きめに */
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700; /* 少し太く */
  margin-top: 30px;
}
.hero-badge span {
  display: flex;
  align-items: center;
}
.hero-badge span::before { /* 既存のスタイルに加えて */
  background-color: var(--color-accent); /* アクセントカラーに変更 */
}


.hero-image {
  flex: 1;
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
}

.hero-device-wrapper {
  position: relative; /* フローティング要素の基準点 */
  min-width: 800px; /* 画像の最小幅を設定 */
}

.hero-device-wrapper img {
  width: 100%;
  /* transform: perspective(1500px) rotateY(-7deg) rotateX(3deg); ホバーなしでの初期傾き */
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.hero-floating-elements {
    display: none;
}

.floating-card {
  background-color: rgba(255,255,255,0.90); /* 半透明度を調整 */
  backdrop-filter: blur(5px); /* ガラス効果（対応ブラウザのみ） */
  padding: 20px; /* パディング調整 */
  font-size: 14px; /* フォントサイズ調整 */
}
.floating-card svg {
    color: var(--color-main); /* SVGの色をメインカラーに */
}

/* B. 導入実績・お客様の声 */

.logo-slider-title {
  font-size: 22px; /* 少し大きく */
  color: var(--color-sub-dark); /* 色を調整 */
  margin-bottom: 35px;
}
.logo-slider-title .text-accent { /* HTML側でクラス付与 */
    color: var(--color-main);
    font-weight: 700;
}

/* テキストリンク：見た目を変えずにリンクを付与するための共通クラス */
.text-link-plain,
.text-link-plain:hover,
.text-link-plain:active,
.text-link-plain:visited {
  color: inherit;
  text-decoration: none;
}

.metrics-grid {
  gap: 30px; /* 各アイテム間のスペース */
}

.metric-item {
  background-color: var(--color-white); /* 背景を白に */
  padding: 30px 20px;
  border: 1px solid var(--color-mid-gray); /* 薄いボーダーを追加 */
}
.metric-item:hover {
    border-color: var(--color-main);
    box-shadow: 0 10px 25px rgba(111,61,156,0.1); /* ホバー時の影 */
}

.metric-value {
  font-size: 38px; /* 少し小さく */
  margin-bottom: 8px;
}
.metric-label {
  font-size: 15px; /* 少し小さく */
  font-weight: 500; /* 少し細く */
}

/* C. プロワンの特徴・機能紹介 */
.features-section {
  padding: 80px 0; /* パディング調整 */
}
.section-subtitle { /* 既存のスタイルに加えて */
    font-size: 18px; /* フォントサイズ調整 */
    max-width: 750px; /* 最大幅調整 */
    margin-bottom: 50px;
}

.feature-box { /* 既存のスタイルに加えて */
  border: 1px solid transparent; /* ホバー前のボーダーは透明に */
  padding: 35px; /* パディング調整 */
}
.feature-icon { /* 既存のスタイルに加えて */
  width: 50px; /* アイコンサイズ調整 */
  height: 50px;
  margin-bottom: 25px;
}
.feature-icon svg {
    width: 28px; /* SVG自体のサイズ調整 */
    height: 28px;
}
.feature-title { /* 既存のスタイルに加えて */
  font-size: 24px; /* フォントサイズ調整 */
  margin-bottom: 12px;
}
.feature-title .text-accent { /* HTML側でクラス付与 */
    color: var(--color-main);
}
.feature-description { /* 既存のスタイルに加えて */
  font-size: 16px; /* フォントサイズ調整 */
}

/* 「すべてをつなぐ」機能紹介タブセクション */
.features-connect-section {
    padding: 80px 0; /* パディング調整 */
    background-color: #FCF6FB; /* 背景色 */
}
.tabs-header { /* 既存のスタイルに加えて */
    margin-bottom: 40px; /* 下の余白調整 */
    border-bottom: 1px solid var(--color-mid-gray); /* ボーダー調整 */
}
.tab-button { /* 既存のスタイルに加えて */
    padding: 15px 25px; /* パディング調整 */
    font-size: 16px; /* フォントサイズ調整 */
}
.tab-button.active { /* 既存のスタイルに加えて */
    color: var(--color-main); /* アクティブ時の文字色 */
    background-color: transparent; /* 背景は透明 */
    border-bottom: 3px solid var(--color-main); /* 下線でアクティブを示す */
    box-shadow: none; /* 影は不要 */
    border-radius: 0; /* 角丸も不要 */
}
.tab-button.active svg {
    color: var(--color-main); /* アイコンの色も合わせる */
}

.tab-content-inner { /* 既存のスタイルに加えて */
    gap: 60px; /* 説明と画像の間のスペース */
    padding: 40px; /* タブパネル内のパディング */
}
.feature-description h3 { /* 既存のスタイルに加えて */
    font-size: 28px; /* タイトルサイズ調整 */
    margin-bottom: 25px;
}
.feature-description p { /* 既存のスタイルに加えて */
    font-size: 16px; /* 説明文フォントサイズ */
    margin-bottom: 20px;
    color:var(--color-white);
}
.feature-list li div h4 { /* 既存のスタイルに加えて */
    font-size: 18px; /* リスト内タイトル */
    margin-bottom: 8px;
}
.feature-list li div p { /* 既存のスタイルに加えて */
    font-size: 15px; /* リスト内説明文 */
}
.feature-image img { /* 既存のスタイルに加えて */
    border-radius: 10px; /* 画像の角丸 */
}
.feature-more .section-button { /* 既存のスタイルに加えて */
    padding: 10px 22px; /* ボタンパディング調整 */
    font-size: 15px;
}

/* D. 利用シーンと導入事例 */
.use-cases-section { /* 既存のスタイルに加えて */
    padding: 80px 0;
    background-color: var(--color-white); /* 背景色変更 */
}
.use-case-box { /* 既存のスタイルに加えて */
    padding: 35px; /* パディング調整 */
}
.use-case-icon { /* 既存のスタイルに加えて */
    width: 50px; /* アイコンサイズ調整 */
    height: 50px;
    margin-bottom: 25px;
}
.use-case-icon svg {
    width: 28px;
    height: 28px;
}
.use-case-title { /* 既存のスタイルに加えて */
    font-size: 24px; /* タイトルサイズ調整 */
}
.use-case-description { /* 既存のスタイルに加えて */
    font-size: 16px; /* 説明文フォントサイズ */
    margin-bottom: 20px;
}
.use-case-link { /* 既存のスタイルに加えて */
    font-size: 15px; /* リンク文字サイズ */
}

.case-studies-section { /* 既存のスタイルに加えて */
    padding: 80px 0;
    background-color: #FCF6FB; /* 背景色変更 */
}
.section-header-flex { /* 既存のスタイルに加えて */
    margin-bottom: 40px; /* 下の余白調整 */
}
.section-header-text .section-title { /* 既存のスタイルに加えて */
    margin-bottom: 8px; /* サブタイトルとの間隔 */
}
.case-studies-grid { /* 既存のスタイルに加えて */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* カード幅調整 */
    gap: 35px; /* カード間スペース */
    margin-top: 0; /* 上の余白は section-header-flex で調整 */
}
.case-study-card { /* 既存のスタイルに加えて */
    border-color: var(--color-mid-gray); /* 通常時のボーダー */
}
.case-study-tags { /* 既存のスタイルに加えて */
    padding: 12px 20px 0; /* パディング調整 */
}
.case-study-industry, .case-study-result { /* 既存のスタイルに加えて */
    padding: 5px 12px; /* タグのパディング */
    font-size: 12px; /* タグの文字サイズ */
}
.case-study-result { /* 具体的な成果を強調するスタイル */
    background-color: rgba(var(--color-accent-rgb, 242, 139, 48), 0.15); /* --color-accent のRGB版が必要 */
    color: var(--color-accent);
}
.case-study-content { /* 既存のスタイルに加えて */
    padding: 18px 20px 25px; /* コンテンツパディング調整 */
}
.case-study-title { /* 既存のスタイルに加えて */
    font-size: 20px; /* タイトルサイズ */
    margin-bottom: 12px;
}
.case-study-excerpt { /* 既存のスタイルに加えて */
    font-size: 15px; /* 抜粋文字サイズ */
    margin-bottom: 18px;
}
.case-study-meta { /* 既存のスタイルに加えて */
    font-size: 13px; /* メタ情報文字サイズ */
}
.case-study-company svg, .case-study-date svg { /* 既存のスタイルに加えて */
    width: 14px; /* アイコンサイズ調整 */
    height: 14px;
}

/* E. CTA (コールトゥアクション) の最適化 (既存のCTAセクションスタイルに統合・調整) */
.cta-section { /* 既存のスタイルに加えて */
    padding: 80px 0; /* パディング調整 */
    background-color: var(--color-sub-dark);
}
.cta-wave { /* 既存のスタイルに加えて */
    height: 80px; /* ウェーブの高さ調整 */
}
.cta-card { /* 既存のスタイルに加えて */
    border-radius: 15px; /* 角丸調整 */
    padding: 60px 50px; /* パディング調整 */
    text-align: center; /* 中央寄せ */
}
.cta-card::before { /* 既存のスタイルに加えて */
    opacity: 0.2; /* 装飾の透明度 */
}
.cta-title { /* 既存のスタイルに加えて */
    font-size: 28px; /* タイトルサイズ */
    margin-bottom: 25px;
}
.cta-description { /* 既存のスタイルに加えて */
    font-size: 16px; /* 説明文サイズ */
    max-width: 650px; /* 最大幅 */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
}
.cta-badges { /* 既存のスタイルに加えて */
    justify-content: center; /* 中央寄せ */
    gap: 12px; /* バッジ間のスペース */
    margin-bottom: 35px;
}
.cta-badge { /* 既存のスタイルに加えて */
    padding: 12px 22px; /* バッジパディング */
    font-size: 13px; /* バッジ文字サイズ */
}
.cta-badge svg { /* 既存のスタイルに加えて */
    width: 18px; /* アイコンサイズ */
    height: 18px;
}
.cta-buttons { /* 既存のスタイルに加えて */
    justify-content: center; /* 中央寄せ */
    gap: 25px; /* ボタン間のスペース */
}
.cta-button .wp-block-button__link,
.cta-button-outline .wp-block-button__link { /* 既存のスタイルに加えて */
    padding: 15px 30px; /* ボタンパディング */
    font-size: 17px; /* ボタン文字サイズ */
}
.cta-button .wp-block-button__link svg,
.cta-button-outline .wp-block-button__link svg {
    width: 18px; /* アイコンサイズ */
    height: 18px;
    margin-right: 10px; /* アイコンとテキストの間隔 */
}

/* F. 全体的なデザイン・レイアウト調整 */
/* (既存の main.css のベーススタイルやメディアクエリと合わせて調整してください) */
/* 例: body { font-family: 'Noto Sans JP', sans-serif; } など */
/* 余白の調整は各セクションの padding, margin で行っています */

/* モバイル表示の調整 */
@media (max-width: 992px) {
  .hero-content {
    text-align: center; /* SP時は中央寄せに */
  }
  .hero-text {
    order: 1; /* SP時はテキストを下に */
    margin-bottom: 30px;
  }
  .hero-image {
    order: 2; /* SP時は画像を上に */
    margin-bottom: 0; /* 画像下のマージンを削除、hero-text側で調整 */
  }
  .hero-title {
    font-size: 36px;
  }
  .metrics-grid {
    flex-direction: column; /* SP時は縦並び */
    align-items: center;
  }
  .metric-item {
    width: 100%;
    max-width: 350px; /* 最大幅を設定 */
  }
  .tab-content-inner {
    flex-direction: column-reverse; /* SP時は画像を上に */
  }
  .feature-image {
    margin-bottom: 30px;
  }
  .case-studies-grid {
    grid-template-columns: 1fr; /* SP時は1カラム */
  }
}

@media (max-width: 768px) {
  .hero-section.alignfull {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-description {
    font-size: 16px;
  }
  .primary-cta-button .wp-block-button__link,
  .secondary-cta-button.is-style-outline .wp-block-button__link {
    padding: 12px 24px;
    font-size: 15px;
  }
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .feature-box, .use-case-box, .function-box {
    padding: 25px;
  }
  .feature-title, .use-case-title, .function-title {
    font-size: 20px;
  }
  .tabs-header {
    justify-content: flex-start; /* SP時は左寄せでスクロール */
  }
  .tab-button {
    padding: 12px 18px;
    font-size: 15px;
  }
  .tab-content-inner {
    padding: 30px 20px;
  }
  .feature-description h3 {
    font-size: 22px;
  }
  .section-header-flex {
    flex-direction: column;
    align-items: center; /* 中央寄せ */
    text-align: center;
  }
  .section-header-text .section-title,
  .section-header-text .section-subtitle {
    text-align: center;
  }
  .section-header-cta {
    margin-top: 20px;
  }
  .cta-card {
    padding: 40px 30px;
  }
  .cta-title {
    font-size: 26px;
  }
  .cta-description {
    font-size: 16px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .cta-buttons .wp-block-button {
    width: 100%;
  }
  .cta-button .wp-block-button__link,
  .cta-button-outline .wp-block-button__link {
    width: 100%;
    justify-content: center;
  }
}

/* --- ここまで追記・修正案 --- */

/* front-pageの追加 */
.solution-section {
    background-color: var(--color-main);
    border-radius: 15px;
    padding: 50px;
    display: flex;
    gap: 50px;
    align-items: center;
    color: white;
}
.solution-content {
    flex: 1;
}
.solution-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: white;
}

.solution-description {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.solution-list {
    margin-bottom: 30px;
}

.solution-list li {
    display: flex;
    margin-bottom: 15px;
}

.solution-icon {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.solution-list li p {
    margin: 0;
}

.solution-image {
    flex: 1;
}

.solution-image img {
    width: 100%;
}
.solution-action{
    text-align:center;
}

.solution-action .cta-button {
    width:80%;
    background-color: white;
    color: var(--color-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-medium);
}

.solution-action .cta-button:hover {
    background-color: #FCF6FB;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}
@media (max-width: 768px) {
 .solution-section {
        flex-direction: column;
        gap: 30px;
    }
    
.solution-image {
        order: -1;
    }
}

/* ニュース スライドショーセクション - 横並び版 */
.news-slider-section {
  padding: 50px 0 20px;
  background-color: var(--color-light-gray);
  position: relative;
  margin-bottom:40px;
}

/* メインラッパー - 見出しとスライダーを横並びに */
.news-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 見出し部分 */
.news-slider-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
  position: relative;
  flex-shrink: 0; /* 幅を固定 */
  min-width: 200px; /* 最小幅を確保 */
  top:-20px
}

.news-slider-title::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-main) 0%, var(--color-sub-light) 100%);
  border-radius: 2px;
}

/* スライダー本体 */
.news-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 150px;
  flex: 1; /* 残りの幅を全て使用 */
}

.news-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.news-slide-item {
  flex: 0 0 100%;
  width: 100%;
}

.news-slide-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.news-slide-content {
  padding: 40px 50px;
  background: linear-gradient(135deg, var(--color-white) 0%, #FFFFFF 100%);
  border-radius: 16px;
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 80px;
}

.news-slide-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.news-slide-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent));
}

.news-slide-link:hover .news-slide-content {
  background: linear-gradient(135deg, rgba(111,61,156,0.03) 0%, rgba(201,50,121,0.02) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(47,28,64,0.08);
}

.news-slide-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark-gray);
  flex-shrink: 0; /* 幅を固定 */
}

.news-tag-new {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), #C93279);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(201,50,121,0.3);
  animation: pulse 2s infinite;
  margin-left: 8px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.news-slide-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  display: inline;
  transition: color 0.3s ease;
  flex: 1;
}

.news-slide-link:hover .news-slide-title {
  color: var(--color-main);
}

/* ドットインジケーター - スライダー内に配置 */
.news-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.news-dot::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background-color: var(--color-mid-gray);
  transition: background-color 0.3s ease;
}

.news-dot.active {
  background-color: var(--color-sub-light);
  transform: scale(1.4);
  box-shadow: 0 2px 8px rgba(47,28,64,0.3);
}

.news-dot.active::before {
  background-color: var(--color-sub-light);
}

.news-dot:hover:not(.active) {
  background-color: var(--color-sub-light);
  transform: scale(1.2);
}

/* 空の状態 */
.news-slider-empty {
  text-align: center;
  padding: 60px 40px;
  background-color: var(--color-white);
  border-radius: 16px;
}

.news-slider-empty p {
  color: var(--color-dark-gray);
  font-size: 16px;
  margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .news-slider-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  
  .news-slider-title {
    min-width: auto;
    align-self: flex-start;
  }
  
  .news-slider-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .news-slider-section {
    padding: 40px 0;
  }
  
  .news-slider-wrapper {
    gap: 20px;
  }
  
  .news-slider-title {
    font-size: 24px;
    top:0;
  }
  
  .news-slider-title::before {
    left: -20px;
    width: 3px;
  }
  
  .news-slide-content {
    padding: 25px 20px;
    min-height: 60px;
  }
  
  .news-slide-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .news-slide-date {
    margin-right: 0;
    font-size: 14px;
  }
  
  .news-slide-title {
    font-size: 16px;
  }
  
  .news-slider-container {
    min-height: 100px;
  }
  
  .news-slider-dots {
    bottom: 10px;
    gap: 8px;
  }
  
  .news-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .news-slider-title {
    font-size: 22px;
  }
  
  .news-slider-title::before {
    display: none;
  }
  
  .news-slide-content {
    padding: 25px 20px;
  }
  
  .news-slide-title {
    font-size: 16px;
  }
  
  .news-slider-container {
    min-height: 100px;
  }
}

/* アニメーション効果 */
@keyframes newsSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-slide-item {
  animation: newsSlideIn 0.6s ease-out;
}

/* --- New Picked Case Slider Styles (Design Proposal) --- */
.picked-case-slider-section {
    padding: 40px 0; /* 上下のパディング */
    position: relative;
    max-width:100%;
    overflow-x: clip;
}

.case-study-slider-new .slick-list {
    padding: 0 !important; /* slickが勝手につけるpaddingをリセット */
    overflow:visible; /* slickのoverflowをリセット */
}

.case-study-slider-new .slider-item-new {
    padding: 0 10px; /* スライド間のわずかな隙間を作る（左右合わせて20px） */
    box-sizing: border-box;
}

.slider-item-new .slider-item-inner {
    display: flex;
    background-color: var(--color-main); /* スライドアイテムの背景色 */
    color: var(--color-white); /* 基本の文字色を白に */
    border-radius: var(--border-radius); /* 必要であれば角丸 */
    overflow: hidden; /* 角丸のため */
    max-height: 350px; /* スライドの最大高さを指定（デザインに応じて調整） */
}

.slider-image-area {
    flex: 0 0 45%; /* 画像エリアの幅（デザインに応じて調整） */
    position: relative;
    overflow: hidden; /* 画像がはみ出ないように */
}

.slider-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がエリアに合わせてトリミングされる */
    display: block;
}

.slider-content-area {
    flex: 1;
    padding: 30px 35px; /* テキストエリアのパディング */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 内容を中央寄せ（垂直方向）*/
}

.slider-case-title {
    font-size: 20px; /* タイトルサイズ */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--color-white);
}

.slider-case-excerpt {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-white);
    opacity: 0.9;
    /* 必要であれば表示行数制限と「...」を追加 (JSまたはCSSの-webkit-line-clamp) */
    max-height: calc(1.7em * 4); /* 例: 4行まで表示 (line-height *行数) */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 表示行数 */
    -webkit-box-orient: vertical;
}


.slider-case-meta {
    font-size: 12px;
    margin-bottom: 25px;
    color: var(--color-white);
    opacity: 0.8;
}

.slider-case-meta .meta-item {
    display: block;
    margin-bottom: 5px;
}

.slider-read-more-button {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-sub-dark); /* ボタンの文字色 */
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    align-self: flex-start; /* ボタンを左寄せ */
}

.slider-read-more-button:hover {
    background-color: #FCF6FB; /* ホバー時の背景色を少し暗く */
    color: var(--color-main);
}

/* Slick Arrows (Design Proposal) */
.case-study-slider-new .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;  /* 円の直径 */
    height: 44px; /* 円の直径 */
    background-color: rgba(255,255,255,0.9); /* 半透明の白背景 */
    border: 1px solid var(--color-mid-gray); /* 薄いグレーの境界線 */
    border-radius: 50%; /* 円形 */
    cursor: pointer;
    font-size: 0; /* テキスト非表示 */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-slider-new .slick-arrow:hover {
    background-color: var(--color-white);
    border-color: var(--color-main);
}

.case-study-slider-new .slick-prev {
    left: 20px; /* スライダーコンテナの端からの位置 */
}

.case-study-slider-new .slick-next {
    right: 20px; /* スライダーコンテナの端からの位置 */
}

.case-study-slider-new .slick-arrow::before {
    content: '';
    display: block;
    width: 10px; /* 矢印のサイズ */
    height: 10px; /* 矢印のサイズ */
    border-top: 2px solid var(--color-main); /* 矢印の色 */
    border-left: 2px solid var(--color-main); /* 矢印の色 */
}

.case-study-slider-new .slick-prev::before {
    transform: translateX(2px) rotate(-45deg); /* 矢印の向きと位置調整 */
}

.case-study-slider-new .slick-next::before {
    transform: translateX(-2px) rotate(135deg); /* 矢印の向きと位置調整 */
}


/* Slick Dots (Design Proposal) */
.case-study-slider-new .slick-dots {
    list-style: none;
    padding: 0;
    margin: 0; /* ドットのマージンをリセット */
    text-align: center;
    position: absolute;
    left: 50%;
    bottom:-30px;
    transform: translateX(-50%);
    z-index: 15; /* 矢印よりは手前、コンテンツよりは奥の場合も考慮 */
}

.case-study-slider-new .slick-dots li {
    display: inline-block;
    margin: 0 6px; /* ドット間の余白 */
}

.case-study-slider-new .slick-dots li button {
    font-size: 0; /* テキスト非表示 */
    width:15px;
    height:15px;
    background-color: var(--color-mid-gray); /* 通常時のドット色 (半透明白) */
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.case-study-slider-new .slick-dots li.slick-active button {
    background-color: var(--color-main); /* アクティブ時のドット色 (白) */
    transform: scale(1.2); /* 少し大きく */
}

.case-study-slider-new .slick-dots li.slick-active button:before {
    color: transparent; /* slickのデフォルトのcssを上書きで透明に */
}

.case-study-slider-new .slick-dots li button:hover {
    background-color: var(--color-main); /* ホバー時も白に */
}

.case-study-slider-new .slick-dots li button:before {
    color: transparent; /* slickのデフォルトのcssを上書きで透明に */
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .slider-item-new .slider-item-inner {
        flex-direction: column; /* タブレット以下では縦積みに変更 */
        min-height: auto;
    }
    .slider-image-area {
        flex: 0 0 auto; /* 幅の指定を解除 */
        width: 100%;
        height: 250px; /* 画像の高さを固定 */
    }
    .slider-content-area {
        padding: 25px;
    }
    .slider-case-title {
        font-size: 18px;
    }
    .slider-case-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 3; /* 表示行数を減らす */
         max-height: calc(1.7em * 3);
    }
    .case-study-slider-new .slick-arrow {
        width: 38px;
        height: 38px;
    }
    .case-study-slider-new .slick-prev {
        left: 10px;
    }
    .case-study-slider-new .slick-next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .picked-case-slider-section {
        padding: 30px 0;
    }
    .slider-image-area {
        height: 200px; /* スマホでは画像高さをさらに小さく */
    }
    .slider-content-area {
        padding: 20px;
    }
    .slider-case-excerpt {
        -webkit-line-clamp: 3; /* 表示行数 */
         max-height: calc(1.7em * 3);
    }
    .case-study-slider-new .slick-dots {
        bottom: -40px; /* ドットの位置調整 */
    }
    .case-study-slider-new .slick-dots li button {
        width: 8px;
        height: 8px;
    }
     .case-study-slider-new .slick-arrow { /* スマホでは矢印を非表示にする例 */
        display: none !important;
    }
}

/* --- End New Picked Case Slider Styles --- */

        /* About Page Hero Section */
        .about-hero-section {
            background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
            color: var(--color-white);
            padding: 60px 0px;
            position: relative;
            overflow: hidden;
        }

        .about-hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
            pointer-events: none;
            z-index: 1;
        }

        .about-hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .about-hero-badge {
            display: inline-block;
            background-color: rgba(255,255,255,0.2);
            color: var(--color-white);
            padding: 10px 20px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .about-hero-title {
            font-size: 40px;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 20px;
            color: var(--color-white);
        }

        .about-hero-description {
            font-size: 18px;
            line-height: 1.7;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto;
        }

        /* FSM Section */
        .about-fsm-section {
            padding: 80px 0;
            background-color: var(--color-white);
        }

        .about-section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .about-section-badge {
            display: inline-block;
            background-color: rgba(111,61,156,0.1);
            color: var(--color-main);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .about-section-title {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 20px;
            color: var(--color-sub-dark);
        }

        .about-section-lead {
            font-size: 18px;
            color: var(--color-dark-gray);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .about-fsm-content {
            display: flex;
            align-items: center;
            gap: 60px;
        }

        .about-fsm-visual {
            flex: 1;
            position: relative;
        }

        .about-fsm-diagram {
            background: linear-gradient(135deg, #FCF6FB, #F1E8F6);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            position: relative;
            box-shadow: var(--box-shadow);
        }

        .about-fsm-diagram::before {
            content: '🔄';
            font-size: 48px;
            display: block;
            margin-bottom: 20px;
        }

        .about-fsm-diagram-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--color-main);
            margin-bottom: 15px;
        }

        .about-fsm-diagram-text {
            color: var(--color-dark-gray);
            font-size: 16px;
        }

        .about-fsm-features {
            flex: 1;
        }

        .about-feature-list {
            list-style: none;
            padding: 0;
        }

        .about-feature-list li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            padding: 20px;
            background-color: var(--color-white);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(47,28,64,0.05);
            border-left: 4px solid var(--color-main);
            transition: transform 0.3s ease;
        }

        .about-feature-list li:hover {
            transform: translateX(5px);
        }

        .about-feature-list li::before {
            content: '✓';
            color: var(--color-main);
            font-weight: bold;
            font-size: 18px;
            margin-right: 15px;
            flex-shrink: 0;
        }

        /* Features Detail Section */
        .about-features-detail-section {
            padding: 80px 0;
            background-color: var(--color-light-gray);
        }

        .about-feature-detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }

        .about-feature-detail-card {
            background-color: var(--color-white);
            border-radius: 20px;
            padding: 40px;
            box-shadow: var(--box-shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .about-feature-detail-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--color-main), var(--color-sub-light));
        }

        .about-feature-detail-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(47,28,64,0.15);
        }

        .about-feature-detail-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            margin-bottom: 25px;
        }

        .about-feature-detail-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--color-sub-dark);
            margin-bottom: 15px;
        }

        .about-feature-detail-text {
            font-size: 16px;
            color: var(--color-dark-gray);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .about-feature-detail-list {
            list-style: none;
            padding: 0;
        }

        .about-feature-detail-list li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
            font-size: 15px;
            color: var(--color-text);
        }

        .about-feature-detail-list li::before {
            content: '→';
            color: var(--color-main);
            font-weight: bold;
            margin-right: 10px;
            flex-shrink: 0;
        }

        /* Comparison Section */
/* Comparison Section - Clean Design Based on Reference */
/* Comparison Section - Rich Design with Proper Borders */
.about-comparison-section {
    padding: 80px 0;
}

.about-comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
    border-radius: 16px;
    box-shadow: 
        0 10px 25px rgba(47,28,64,0.1),
        0 4px 10px rgba(47,28,64,0.05);
    background: var(--color-white);
    border: 2px solid #F1E8F6;
}

.about-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    min-width: 800px;
}

/* ヘッダー行 */
.about-comparison-table th {
    padding: 28px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    border-right: 2px solid #F1E8F6;
    border-bottom: 2px solid #F1E8F6;
}

.about-comparison-table th:last-child {
    border-right: none;
}

/* 比較項目列のヘッダー */
.about-comparison-table th:first-child {
    background: #2F1C40;
    color: var(--color-white);
    text-align: center;
    border-top-left-radius: 14px;
    text-shadow: 0 1px 2px rgba(47,28,64,0.2);
}

/* プロワン列のヘッダー - リッチな強調 */
.about-comparison-table th:nth-child(2) {
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-sub-light) 100%);
    color: var(--color-white);
    font-size: 20px;
    position: relative;
    text-shadow: 0 1px 3px rgba(47,28,64,0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(111,61,156,0.3);
}

/* 他社列のヘッダー */
.about-comparison-table th:nth-child(3),
.about-comparison-table th:nth-child(4) {
    background: #2F1C40;
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(47,28,64,0.2);
}

.about-comparison-table th:last-child {
    border-top-right-radius: 14px;
}

/* データ行 */
.about-comparison-table td {
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid #F1E8F6;
    border-bottom: 1px solid #F1E8F6;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.7;
    position: relative;
}

.about-comparison-table td:last-child {
    border-right: none;
}

.about-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.about-comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 14px;
}

.about-comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 14px;
}

/* 比較項目名の列 */
.about-comparison-table td:first-child {
    background: linear-gradient(135deg, #FCF6FB 0%, #F1E8F6 100%);
    text-align: center;
    font-weight: 700;
    color: var(--color-sub-dark);
    font-size: 16px;
    border-right: 2px solid #DFF2FC;
}

/* プロワン列の豊かな強調スタイル */
.about-comparison-table .about-highlight {
    background: linear-gradient(135deg, 
        rgba(132,80,184,0.08) 0%, 
        rgba(132,80,184,0.12) 50%,
        rgba(132,80,184,0.08) 100%);
    color: var(--color-text);
    font-weight: 700;
    font-size: 16px;
    position: relative;
    border-left: 5px solid var(--color-main);
    border-right: 5px solid var(--color-main);
    box-shadow: 
        inset 0 1px 3px rgba(132,80,184,0.1),
        0 1px 3px rgba(111,61,156,0.1);
}

/* プロワン列の左右グラデーションボーダー */
.about-comparison-table .about-highlight::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
}

.about-comparison-table .about-highlight::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
}

/* プロワン列のホバー効果 */
.about-comparison-table .about-highlight:hover {
    background: linear-gradient(135deg, 
        rgba(132,80,184,0.15) 0%, 
        rgba(132,80,184,0.20) 50%,
        rgba(132,80,184,0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 1px 3px rgba(132,80,184,0.15),
        0 4px 12px rgba(111,61,156,0.2);
}

/* 他社列のスタイル */
.about-comparison-table td:nth-child(3),
.about-comparison-table td:nth-child(4) {
    background: linear-gradient(135deg, #FCF6FB 0%, #FCF6FB 100%);
    color: var(--color-dark-gray);
}

/* 行の交互背景で読みやすさ向上 */
.about-comparison-table tbody tr:nth-child(even) td:first-child {
    background: linear-gradient(135deg, #F1E8F6 0%, #DFF2FC 100%);
}

.about-comparison-table tbody tr:nth-child(even) td:nth-child(3),
.about-comparison-table tbody tr:nth-child(even) td:nth-child(4) {
    background: linear-gradient(135deg, #FCF6FB 0%, #F1E8F6 100%);
}

.about-comparison-table tbody tr:nth-child(even) .about-highlight {
    background: linear-gradient(135deg, 
        rgba(132,80,184,0.1) 0%, 
        rgba(132,80,184,0.15) 50%,
        rgba(132,80,184,0.1) 100%);
}

/* テーブル全体のホバー効果 */
.about-comparison-table tbody tr:hover td:not(.about-highlight) {
    background: linear-gradient(135deg, #FCF6FB 0%, #FCF6FB 100%);
}

.about-comparison-table tbody tr:hover .about-highlight {
    background: linear-gradient(135deg, 
        rgba(132,80,184,0.18) 0%, 
        rgba(132,80,184,0.25) 50%,
        rgba(132,80,184,0.18) 100%);
}

/* プロワン列に微細な内側グロー */
.about-comparison-table .about-highlight {
    text-shadow: 0 1px 2px rgba(47,28,64,0.05);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .about-comparison-table th,
    .about-comparison-table td {
        padding: 20px 16px;
        font-size: 14px;
    }
    
    .about-comparison-table .about-highlight {
        font-size: 15px;
        border-left-width: 4px;
        border-right-width: 4px;
    }
    
    .about-comparison-table .about-highlight::before,
    .about-comparison-table .about-highlight::after {
        width: 4px;
    }
    
    .about-comparison-table th:nth-child(2) {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .about-comparison-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #FCF6FB 0%, #F1E8F6 100%);
    }
    
    .about-comparison-table th,
    .about-comparison-table td {
        padding: 16px 12px;
        font-size: 13px;
    }
    
    .about-comparison-table .about-highlight {
        font-size: 14px;
        border-left-width: 3px;
        border-right-width: 3px;
    }
    
    .about-comparison-table .about-highlight::before,
    .about-comparison-table .about-highlight::after {
        width: 3px;
    }
    
    .about-comparison-table th:nth-child(2) {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about-comparison-table-wrapper {
        border-radius: 12px;
        margin-top: 30px;
        border-width: 1px;
    }
    
    .about-comparison-table {
        border-radius: 10px;
    }
    
    .about-comparison-table th:first-child,
    .about-comparison-table th:last-child {
        border-radius: 10px 10px 0 0;
    }
    
    .about-comparison-table tbody tr:last-child td:first-child,
    .about-comparison-table tbody tr:last-child td:last-child {
        border-radius: 0 0 10px 10px;
    }
    
    .about-comparison-table th,
    .about-comparison-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .about-comparison-table .about-highlight {
        font-size: 13px;
    }
    
    .about-comparison-table th:nth-child(2) {
        font-size: 15px;
    }
}

        /* Case Example Section */
        .about-case-example-section {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
            color: var(--color-white);
        }

        .about-case-example-section .about-section-title {
            color: var(--color-white);
        }

        .about-case-example-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }

        .about-case-example-card {
            background-color: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            transition: transform 0.3s ease;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .about-case-example-card:hover {
            transform: translateY(-10px);
            background-color: rgba(255,255,255,0.15);
        }

        .about-case-example-icon {
            width: 80px;
            height: 80px;
            background-color: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            margin: 0 auto 25px;
        }

        .about-case-example-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--color-white);
        }

        .about-case-example-value {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 15px;
            color: var(--color-white);
        }

        .about-accent-text {
            color: var(--color-accent);
            font-size: 40px;
            display: block;
        }

        .about-case-example-text {
            font-size: 16px;
            opacity: 0.9;
            line-height: 1.6;
        }

        .about-section-buttons {
            text-align: center;
            margin-top: 50px;
        }

        .about-section-button .wp-block-button__link {
            background-color: var(--color-white);
            color: var(--color-main);
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 16px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .about-section-button .wp-block-button__link:hover {
            background-color: var(--color-accent);
            color: var(--color-white);
            transform: translateY(-2px);
        }

        /* CTA Section Enhancement */
        .about-cta-section {
            background-color: var(--color-sub-dark);
            color: var(--color-white);
            padding: 100px 0;
            text-align: center;
            position: relative;
        }

        .about-cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 70%, rgba(201,50,121,0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .about-cta-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .about-cta-title {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 20px;
            color: var(--color-white);
        }

        .about-cta-description {
            font-size: 18px;
            line-height: 1.7;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .about-hero-title {
                font-size: 40px;
            }
            
            .about-fsm-content {
                flex-direction: column;
                gap: 40px;
            }
            
            .about-feature-detail-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 30px;
            }
            
            .about-case-example-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .about-hero-section {
                padding: 80px 0 60px;
            }
            
            .about-hero-title {
                font-size: 32px;
            }
            
            .about-section-title {
                font-size: 28px;
            }
            
            .about-feature-detail-card {
                padding: 30px;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 480px) {
            .about-hero-title {
                font-size: 28px;
            }
            
            .about-hero-description {
                font-size: 16px;
            }
            
            .about-feature-detail-grid {
                grid-template-columns: 1fr;
            }
            
            .about-feature-detail-card {
                padding: 25px;
            }
            
            .about-case-example-card {
                padding: 30px 20px;
            }
        }

        /* Animation Enhancement */
        @keyframes aboutFadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .about-animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .about-animate-on-scroll.about-visible {
            opacity: 1;
            transform: translateY(0);
        }

/* =========================================
   資料ダウンロードボタン
   ========================================= */
.download-btn-container {
  display: inline-block;           /* 必要に応じて表示形式を変更 */
  position: relative;              /* 吹き出しを絶対配置するため */
  text-align: center;              /* 吹き出しテキストを中央寄せ */
  margin: 20px 0;                  /* 上下余白はお好みで調整可 */
  font-family: "Noto Sans JP", sans-serif; /* フォントは必要に応じ変更 */
}

.download-btn-callout {
  display: inline-block;
  background-color: #FFFFFF;       /* 吹き出しの背景色 */
  color: #C93279;                  /* 吹き出しの文字色はボタンと統一 */
  font-size: 14px;                 /* 吹き出しテキストの大きさ */
  font-weight:700;
  padding: 4px 12px;               /* 吹き出し内の余白 */
  border-radius: 16px;             /* 吹き出しの角丸 */
  position: absolute;
  top: -24px;                      /* ボタンとの垂直距離（調整可） */
  left: 50%;
  transform: translateX(-50%);     /* 横中央揃え */
  white-space: nowrap;             /* テキストを折り返さない */
  z-index: 2;                      /* ボタンより手前に出す */
}

/* 吹き出しの下部三角（擬似要素で作成） */
.download-btn-callout::after {
  content: "";
  position: absolute;
  bottom: -6px;                    /* 吹き出し本体の下に重ねる */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;     /* 三角形のサイズ（下辺を0にして逆さ三角） */
  border-style: solid;
  border-color: #FFFFFF transparent transparent transparent;
  display: block;
}

.download-btn-callout:hover{
  background-color: var(--color-accent);
  color:var(--color-white); 
}

.download-btn {
  display: inline-flex;
  align-items: center;
  background-color:var(--color-accent);       /* ボタン背景色 */
  color: #FFFFFF;                  /* ボタン文字色 */
  text-decoration: none;           /* リンクの下線を消す */
  padding: 12px 24px;              /* ボタン内の余白（上下12px／左右24px） */
  border-radius: 30px;             /* ボタンの丸み具合 */
  box-shadow: 0 4px 6px rgba(47,28,64,0.1); /* 軽い影（任意） */
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 1;                      /* 吹き出しより背面になるように */
}

/* ホバー時の背景色変化 */
.download-btn:hover {
  background-color: var(--color-white);       /* 必要に応じて微調整 */
}


.download-btn-icon {
  width: 60px;      /* アイコンの横幅を指定 */
  height: auto;
  margin-right: 8px; /* テキストとの隙間 */
}

.download-btn-text {
  display: flex;
  flex-direction: row;
  line-height: 1;
}

/* 小さい「無料」テキスト */
.download-btn-subtext {
  font-size: 12px;
  font-weight:700;
  line-height: 1;
  display: block;
  margin-right:4px;
  background-color:var(--color-white);
  color:var(--color-accent);
  border-radius:20px;
  padding:6px 10px;
  align-items:center;
}
.download-btn-subtext:hover {
  background-color:var(--color-accent);  
  color: var(--color-white);
}

/* メインテキスト「メールで資料を受け取る」 */
.download-btn-text > span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.download-btn-text > span:hover {
  color: var(--color-accent);
}

.download-btn-arrow {
  margin-left: 8px; /* テキストとの隙間 */
  display: inline-block;
}

/* =========================================
   Scene Archive Page Styles
   ========================================= */

/* Scene Hero Section */
.scene-hero {
    background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scene-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    pointer-events: none;
}

.scene-hero-content {
    position: relative;
    z-index: 2;
}

.scene-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-white);
}

.scene-hero .subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scene-hero .breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    opacity: 0.8;
    font-size: 14px;
}

.scene-hero .breadcrumbs a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.scene-hero .breadcrumbs a:hover {
    opacity: 0.8;
}

.scene-hero .breadcrumbs .separator {
    margin: 0 4px;
}

.scene-hero .breadcrumbs .current {
    color: var(--color-white);
    opacity: 0.8;
}

/* Scene Tabs Section */
.scene-tabs {
    background: var(--color-white);
    padding: 32px 0;
    box-shadow: 0 2px 10px rgba(47,28,64,0.1);
    position: sticky;
    top: 70px; /* ヘッダーの高さに合わせる */
    z-index: 50;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.tab-button {
    padding: 12px 32px;
    border: 2px solid var(--color-main);
    background: var(--color-white);
    color: var(--color-main);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 16px;
}

.tab-button.active {
    background: var(--color-main);
    color: var(--color-white);
}

.tab-button:hover {
    background: var(--color-sub-light);
    color: var(--color-white);
    border-color: var(--color-sub-light);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    background-color: var(--color-light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--color-dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.scene-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(47,28,64,0.08);
    text-decoration: none;
    color: inherit;
    border: 1px solid #F1E8F6;
    display: block;
}

.scene-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(111,61,156,0.15);
    border-color: var(--color-main);
    text-decoration: none;
    color: inherit;
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-icon {
    font-size: 48px;
    color: var(--color-white);
    z-index: 2;
    position: relative;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.scene-card:hover .card-title {
    color: var(--color-main);
}

.card-description {
    font-size: 14px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #FCF6FB;
    color: var(--color-main);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.scene-card:hover .tag {
    background: rgba(111,61,156,0.1);
    color: var(--color-main);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* CTA Section adjustment for this page */
.scene-cta-section {
    background: linear-gradient(135deg, var(--color-sub-dark), var(--color-main));
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}

.scene-cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-white);
}

.scene-cta-content p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.scene-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scene-btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.scene-btn-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 16px 32px;
    border: 2px solid var(--color-white);
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.scene-btn-primary:hover, 
.scene-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47,28,64,0.2);
    text-decoration: none;
}

.scene-btn-primary:hover {
    background: #C93279;
    color: var(--color-white);
}

.scene-btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-main);
}

/* Responsive Design */
@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .scene-hero {
        padding: 60px 0;
    }
    
    .scene-hero h1 {
        font-size: 28px;
    }
    
    .scene-hero .subtitle {
        font-size: 16px;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 12px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .tab-button {
        width: 100%;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .scene-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .scene-btn-primary,
    .scene-btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .scene-hero {
        padding: 40px 0;
    }
    
    .scene-hero h1 {
        font-size: 24px;
    }
    
    .scene-tabs {
        padding: 20px 0;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-description {
        font-size: 13px;
    }
}

/* =========================================
   Single Scene Page Styles - Modern Design
   ========================================= */

/* Section Navigation - Glassmorphism Style */
.single-scene-nav {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(47,28,64,0.08);
    position: sticky;
    top: 70px;
    z-index: 90;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.single-scene-nav.visible {
    transform: translateY(0);
}

.scene-nav-content {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scene-nav-content::-webkit-scrollbar {
    display: none;
}

.scene-nav-item {
    color: var(--color-dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.scene-nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(111,61,156,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.scene-nav-item:hover::before {
    width: 100px;
    height: 100px;
}

.scene-nav-item:hover,
.scene-nav-item.active {
    color: var(--color-main);
}

.scene-nav-item.active {
    background: linear-gradient(135deg, rgba(111,61,156,0.1), rgba(132,80,184,0.08));
    font-weight: 700;
}

.scene-breadcrumbs{
    margin-top:-80px;
    margin-bottom:0px;
}

/* Hero Section - Modern Gradient */
.single-scene-hero {
    background: linear-gradient(135deg, #6F3D9C 0%, #8450B8 50%, #54318B 100%);
    color: var(--color-white);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.single-scene-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(201,50,121,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.single-scene-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 C150,80 350,0 600,40 C850,80 1050,0 1200,40 L1200,120 L0,120 Z" fill="white"/></svg>');
    background-size: cover;
}

.scene-breadcrumb {
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
}

.scene-breadcrumb .breadcrumbs {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.scene-breadcrumb .breadcrumbs a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.scene-breadcrumb .breadcrumbs a:hover {
    opacity: 0.8;
}

.scene-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.scene-hero-text h1 {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scene-subtitle {
    font-size: 20px;
    margin-bottom: 24px;
    opacity: 0.95;
    font-weight: 800;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.scene-description {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.85;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.scene-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.scene-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.industry-tag {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-white);
}

.industry-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47,28,64,0.1);
}

.problem-tag {
    background: rgba(201,50,121,0.2);
    border: 1px solid rgba(201,50,121,0.4);
    color: var(--color-white);
}

.problem-tag:hover {
    background: rgba(201,50,121,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,50,121,0.2);
}

.hero-icon {
    font-size: 120px;
    text-align: center;
}
.hero-icon img {
    max-width:550px;
    border-radius:30px;
}


/* Content Section Base */
.single-scene-content {
    background: var(--color-white);
}

.scene-content-section {
    padding: 100px 0;
    position: relative;
}
.scene-section-bg{
    max-width: var(--container-width);
    margin:0 auto;
    padding:0 var(--container-padding);
}


/* Editor Content Styles */
.scene-editor-content {
    /* 概要セクション - Elegant Minimal */
    #overview {
        padding: 100px 0;
        background-color: #FCF6FB;
        position: relative;
        overflow: hidden;
        scroll-margin-top: 150px;
    }
    
    #overview::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(111,61,156,0.03) 0%, transparent 70%);
        border-radius: 50%;
    }
    
    #overview h2 {
        text-align: center;
        color: var(--color-sub-dark);
        margin-bottom: 16px;
        font-size: clamp(28px, 4vw, 36px);
        font-weight: 800;
        position: relative;
        width: 100%;
    }
    
    #overview h2::after {
        content: '';
        position: absolute;
        bottom: -16px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--color-main), var(--color-sub-light));
        border-radius: 2px;
    }
    
    #overview p {
        max-width: 720px;
        margin: 32px auto 0;
        text-align: center;
        font-size: 18px;
        line-height: 1.8;
        color: #54318B;
        font-weight: 400;
    }
    
    /* お悩みセクション - Card Based Design */
    #problems {
        padding: 100px 0px;
        background: var(--color-white);
        position: relative;
        scroll-margin-top: 150px;
    }
    
    #problems::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 5%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(201,50,121,0.05) 0%, transparent 70%);
        border-radius: 50%;
    }
    
    #problems h2 {
        text-align: center;
        color: var(--color-sub-dark);
        margin-bottom: 60px;
        font-size: clamp(28px, 4vw, 36px);
        font-weight: 800;
        position: relative;
    }
    
    #problems .wp-block-columns {
        gap: 32px;
        margin-bottom: 0;
        position: relative;
        z-index: 2;
    }
    
    #problems .problem-item {
        background: var(--color-white);
        padding: 40px 32px;
        border-radius: 20px;
        border: 1px solid rgba(47,28,64,0.05);
        box-shadow: 0 10px 40px rgba(47,28,64,0.05);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
    }
    
    #problems .problem-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--color-main), rgba(111,61,156,0.6));
    }
    
    #problems .problem-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(47,28,64,0.12);
        border-color: var(--color-main);
    }
    
    #problems .problem-item h3 {
        color: var(--color-sub-dark);
        font-size: 24px;
        margin-bottom: 20px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    #problems .problem-item h3::before {
        font-size: 32px;
        filter: grayscale(0);
    }
    
    #problems .problem-item p {
        color: #54318B;
        line-height: 1.8;
        font-size: 15px;
    }
    
    /* プロワンで解決セクション - Modern Split Layout */
    #solutions {
        padding: 100px 0px;
        background: linear-gradient(135deg, #F1E8F6 0%, #FCF6FB 100%);
        position: relative;
        overflow: hidden;
        scroll-margin-top: 150px;
    }
    
    #solutions::before {
        content: '';
        position: absolute;
        top: -20%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(111,61,156,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(111,61,156,0.08)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(111,61,156,0.05)" stroke-width="0.5"/></svg>');
        background-size: contain;
        animation: rotate 30s linear infinite;
    }
    
    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    #solutions h2 {
        text-align: center;
        color: var(--color-sub-dark);
        margin-bottom: 60px;
        font-size: clamp(28px, 4vw, 36px);
        font-weight: 800;
        position: relative;
        z-index: 2;
    }
    
    #solutions .solution-item {
        padding: 40px 0px;
        margin-bottom: 40px;
        border-radius: 24px;
        overflow: hidden;
        position: relative;
        z-index: 2;
    }
    
    #solutions .solution-item .wp-block-columns {
        align-items: stretch;
        gap: 0;
        margin: 0;
    }
    
    #solutions .solution-item:nth-child(even) .wp-block-columns {
        flex-direction: row-reverse;
    }
    
    #solutions .solution-item h3 {
        color: var(--color-main);
        font-size: 28px;
        margin-bottom: 20px;
        font-weight: 800;
        line-height: 1.3;
    }
    
    #solutions .solution-item p {
        font-size: 16px;
        line-height: 1.8;
        color: #54318B;
        margin-bottom: 24px;
    }
    
    #solutions .solution-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }
    
    #solutions .solution-item:hover img {
        transform: scale(1.05);
    }
    
    #solutions .solution-item ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    #solutions .solution-item li {
        padding: 12px 0;
        padding-left: 36px;
        position: relative;
        color: #54318B;
        font-size: 15px;
        line-height: 1.6;
    }
    
    #solutions .solution-item li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 18px;
        width: 20px;
        height: 20px;
        background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #solutions .solution-item li::after {
        content: '✓';
        position: absolute;
        left: 5px;
        top: 15px;
        color: white;
        font-weight: bold;
        font-size: 12px;
    }
    
    /* お客様の声セクション - Testimonial Cards */
    #testimonials {
        padding: 100px 0;
        background: var(--color-sub-dark);
        position: relative;
        overflow: hidden;
        scroll-margin-top: 150px;
    }
    
    #testimonials::before {
        content: '';
        position: absolute;
        top: 10%;
        left: -5%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(111,61,156,0.03) 0%, transparent 70%);
        border-radius: 50%;
    }
    
    #testimonials h2 {
        text-align: center;
        color: var(--color-white);
        margin-bottom: 60px;
        font-size: clamp(28px, 4vw, 36px);
        font-weight: 800;
    }
    
    #testimonials .wp-block-quote {
        background: linear-gradient(135deg, #FCF6FB 0%, #FFFFFF 100%);
        padding: 48px;
        border-radius: 20px;
        border: 1px solid rgba(47,28,64,0.05);
        box-shadow: 0 10px 40px rgba(47,28,64,0.05);
        margin: 0 auto 40px;
        max-width: 800px;
        position: relative;
        overflow: hidden;
    }
    
    #testimonials .wp-block-quote::before {
        content: '"';
        position: absolute;
        top: -20px;
        left: 20px;
        font-size: 120px;
        color: var(--color-main);
        opacity: 0.1;
        font-family: Georgia, serif;
        line-height: 1;
    }
    
    #testimonials .wp-block-quote p {
        font-size: 18px;
        line-height: 1.8;
        color: #54318B;
        margin-bottom: 24px;
        position: relative;
        z-index: 2;
        font-style: italic;
    }
    
    #testimonials .wp-block-quote cite {
        display: block;
        text-align: right;
        color: #54318B;
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        position: relative;
        padding-top: 20px;
    }
    
    #testimonials .wp-block-quote cite::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, var(--color-main), var(--color-sub-light));
    }
}

/* Case Studies Section - Grid Cards */
#case-studies {
    padding: 100px 0;
    background: linear-gradient(180deg, #FCF6FB 0%, #FFFFFF 100%);
    scroll-margin-top: 150px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--color-sub-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #54318B;
    max-width: 600px;
    margin: 0 auto;
}

.scene-case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.scene-case-study-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(47,28,64,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(47,28,64,0.05);
}

.scene-case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(47,28,64,0.12);
    border-color: var(--color-main);
}

.case-header {
    background: linear-gradient(135deg, #54318B 0%, #6F3D9C 100%);
    color: var(--color-white);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.case-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}


.company-logo {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.company-details h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.company-details p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

.case-challenge {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}


.result-item {
    color: var(--color-main);
    font-size: 14px;
    font-weight: 700;
}

.scene-cases-link {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
    color: var(--color-white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(111,61,156,0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(111,61,156,0.4);
}

/* Related Section - Minimal Cards */
#related {
    padding: 100px 0;
    background: var(--color-white);
    scroll-margin-top: 150px;
}

.related-scenes-wrapper {
    display: grid;
    gap: 80px;
}

.related-category-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-sub-dark);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.related-category-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--color-main);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.related-card {
    background: linear-gradient(135deg, #FCF6FB 0%, #FFFFFF 100%);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(47,28,64,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-main), var(--color-sub-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.related-card:hover::before {
    transform: scaleX(1);
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(47,28,64,0.1);
    border-color: var(--color-main);
}

.related-icon {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.7;
    transition: transform 0.4s ease;
}

.related-card:hover .related-icon {
    transform: scale(1.1);
}

.related-content {
    padding:10px 0 ;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.related-card:hover .related-title {
    color: var(--color-main);
}

.related-description {
    font-size: 15px;
    color: #54318B;
    line-height: 1.7;
}

/* CTA Section - Modern Gradient */
.single-scene-cta {
    background: linear-gradient(135deg, #54318B 0%, #6F3D9C 50%, #8450B8 100%);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.single-scene-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201,50,121,0.1) 0%, transparent 40%);
    animation: rotate 20s linear infinite;
}

.scene-cta-content {
    position: relative;
    z-index: 2;
}

.scene-cta-content h2 {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.scene-cta-content p {
    font-size: 18px;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scene-cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.scene-btn-primary {
    background: linear-gradient(135deg, var(--color-accent), rgba(201,50,121,0.9));
    color: var(--color-white);
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(201,50,121,0.3);
    position: relative;
    overflow: hidden;
}

.scene-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.scene-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.scene-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201,50,121,0.4);
}

.scene-btn-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 18px 48px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scene-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(47,28,64,0.2);
}
/* Responsive Design - Modern Breakpoints */
@media (max-width: 1200px) {
   .scene-hero-content {
       gap: 40px;
   }
   
   .scene-case-studies-grid {
       grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   }
}

@media (max-width: 992px) {
   .scene-hero-content {
       grid-template-columns: 1fr;
       text-align: center;
       gap: 32px;
   }
    .scene-hero-content img {
    max-width:100%;
    }

   .hero-icon {
       font-size: 80px;
   }
   
   .scene-tags {
       justify-content: center;
   }
   
   #solutions .solution-item .wp-block-columns {
       display: block;
   }
   
   #solutions .solution-item .wp-block-column:first-child {
       padding: 40px;
   }
   
   #solutions .solution-item:nth-child(even) .wp-block-columns {
       flex-direction: column;
   }
   
   .related-grid {
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   }
}

@media (max-width: 768px) {
   /* Navigation */
   .scene-section-bg {
       padding: 0 20px;
   }
   .single-scene-nav {
       padding: 12px 0;
   }
   
   .scene-nav-content {
       gap: 4px;
       padding: 0 16px;
   }
   
   .scene-nav-item {
       font-size: 14px;
       padding: 8px 16px;
   }
   
   /* Hero */
   .single-scene-hero {
       padding: 80px 0 60px;
   }
   
   .scene-hero-text h1 {
       font-size: 32px;
   }
   
   .scene-subtitle {
       font-size: 18px;
   }
   
   /* Content Sections */
   .scene-content-section,
   #overview,
   #problems,
   #solutions,
   #testimonials,
   #case-studies,
   #related {
       padding: 60px 0;
   }
   
   /* Section Headers */
   #overview h2,
   #problems h2,
   #solutions h2,
   #testimonials h2,
   .section-title {
       font-size: 28px;
   }
   
   /* Problems Section */
   #problems .wp-block-columns {
       display: block;
   }
   
   #problems .problem-item {
       margin-bottom: 24px;
       padding: 32px 24px;
   }
   
   #problems .problem-item h3 {
       font-size: 20px;
   }
   
   /* Solutions Section */
   #solutions .solution-item {
       margin-bottom: 24px;
   }
   
   #solutions .solution-item .wp-block-column:first-child {
       padding: 32px 24px;
   }
   
   #solutions .solution-item h3 {
       font-size: 24px;
   }
   
   /* Testimonials */
   #testimonials .wp-block-quote {
       padding: 32px 24px;
   }
   
   #testimonials .wp-block-quote p {
       font-size: 16px;
   }
   
   #testimonials .wp-block-quote::before {
       font-size: 80px;
       top: -10px;
       left: 10px;
   }
   
   /* Case Studies */
   .scene-case-studies-grid {
       grid-template-columns: 1fr;
       gap: 24px;
   }
   
   .case-header {
       padding: 24px;
   }
   
   .company-info {
       gap: 16px;
   }
   
   .company-logo {
       width: 48px;
       height: 48px;
       font-size: 24px;
   }
   
   .company-details h4 {
       font-size: 18px;
   }
   
   /* Related */
   .related-scenes-wrapper {
       gap: 60px;
   }
   
   .related-grid {
       grid-template-columns: 1fr;
       gap: 20px;
   }
   
   /* CTA */
   .single-scene-cta {
       padding: 60px 0;
   }
   
   .scene-cta-content h2 {
       font-size: 28px;
   }
   
   .scene-cta-content p {
       font-size: 16px;
       margin-bottom: 32px;
   }
   
   .scene-cta-buttons {
       flex-direction: column;
       align-items: center;
       gap: 16px;
   }
   
   .scene-btn-primary,
   .scene-btn-secondary {
       width: 100%;
       max-width: 320px;
       text-align: center;
   }
}

@media (max-width: 576px) {
   /* Navigation - Horizontal Scroll */
   .scene-nav-content {
       justify-content: flex-start;
       padding: 0 12px;
   }
   
   .scene-nav-item {
       font-size: 13px;
       padding: 6px 14px;
   }
   
   /* Hero */
   .single-scene-hero {
       padding: 60px 0 50px;
   }
   
   .scene-hero-text h1 {
       font-size: 28px;
   }
   
   .scene-subtitle {
       font-size: 16px;
   }
   
   .scene-description {
       font-size: 14px;
   }
   
   .scene-tag {
       font-size: 12px;
       padding: 6px 16px;
   }
   
   .hero-icon {
       font-size: 60px;
   }
   
   /* Content Padding */
   .scene-content-section,
   #overview,
   #problems,
   #solutions,
   #testimonials,
   #case-studies,
   #related {
       padding: 40px 0;
   }
   
   /* Typography */
   #overview h2,
   #problems h2,
   #solutions h2,
   #testimonials h2,
   .section-title {
       font-size: 24px;
       margin-bottom: 40px;
   }
   
   #overview p {
       font-size: 16px;
   }
   
   .section-subtitle {
       font-size: 16px;
   }
   
   /* Problems */
   #problems .problem-item {
       padding: 24px 20px;
   }
   
   #problems .problem-item h3 {
       font-size: 18px;
       margin-bottom: 12px;
   }
   
   #problems .problem-item h3::before {
       font-size: 24px;
   }
   
   #problems .problem-item p {
       font-size: 14px;
   }
   
   /* Solutions */
   #solutions .solution-item .wp-block-column:first-child {
       padding: 24px 20px;
   }
   
   #solutions .solution-item h3 {
       font-size: 20px;
   }
   
   #solutions .solution-item p {
       font-size: 14px;
   }
   
   #solutions .solution-item li {
       font-size: 14px;
       padding-left: 32px;
   }
   
   /* Testimonials */
   #testimonials .wp-block-quote {
       padding: 24px 20px;
       border-radius: 16px;
   }
   
   #testimonials .wp-block-quote::before {
       font-size: 60px;
       top: -5px;
       left: 5px;
   }
   
   #testimonials .wp-block-quote p {
       font-size: 15px;
   }
   
   #testimonials .wp-block-quote cite {
       font-size: 14px;
   }
   
   /* Related */
   .related-category-title {
       font-size: 22px;
   }
   
   .related-icon {
       font-size: 48px;
   }
   
   .related-title {
       font-size: 18px;
   }
   
   .related-description {
       font-size: 14px;
   }
   
   /* Buttons */
   .view-all-btn {
       padding: 14px 32px;
       font-size: 14px;
   }
   
   .scene-btn-primary,
   .scene-btn-secondary {
       padding: 16px 32px;
       font-size: 14px;
   }
   
   /* CTA */
   .scene-cta-content h2 {
       font-size: 24px;
       margin-bottom: 16px;
   }
   
   .scene-cta-content p {
       font-size: 14px;
   }
}

/* Animation Classes for Scroll Effects */
.scene-animate {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.8s ease, transform 0.8s ease;
}

.scene-animate.visible {
   opacity: 1;
   transform: translateY(0);
}

.scene-animate-left {
   opacity: 0;
   transform: translateX(-30px);
   transition: opacity 0.8s ease, transform 0.8s ease;
}

.scene-animate-left.visible {
   opacity: 1;
   transform: translateX(0);
}

.scene-animate-right {
   opacity: 0;
   transform: translateX(30px);
   transition: opacity 0.8s ease, transform 0.8s ease;
}

.scene-animate-right.visible {
   opacity: 1;
   transform: translateX(0);
}

/* Loading States */
.scene-loading {
   position: relative;
   min-height: 200px;
}

.scene-loading::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 40px;
   height: 40px;
   border: 3px solid var(--color-light-gray);
   border-top-color: var(--color-main);
   border-radius: 50%;
   animation: spin 1s linear infinite;
   transform: translate(-50%, -50%);
}

@keyframes spin {
   to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hover States Enhancement */
@media (hover: hover) {
   .scene-tag {
       position: relative;
       z-index: 1;
   }
   
   .scene-tag::after {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background: rgba(255,255,255,0.1);
       border-radius: inherit;
       transform: scale(0);
       transition: transform 0.3s ease;
       z-index: -1;
   }
   
   .scene-tag:hover::after {
       transform: scale(1.1);
   }
}

/* Print Styles */
@media print {
   .single-scene-nav,
   .scene-hero-icon,
   .single-scene-cta {
       display: none;
   }
   
   .single-scene-hero {
       background: none;
       color: var(--color-text);
       padding: 20px 0;
   }
   
   .scene-hero-text h1,
   .scene-subtitle,
   .scene-description {
       color: var(--color-text);
   }
   
   #problems .problem-item,
   #solutions .solution-item,
   #testimonials .wp-block-quote,
   .scene-case-study-card,
   .related-card {
       box-shadow: none;
       border: 1px solid #F1E8F6;
   }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
   *,
   *::before,
   *::after {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
}

/* Focus Styles */
.scene-nav-item:focus,
.scene-tag:focus,
.scene-btn-primary:focus,
.scene-btn-secondary:focus,
.view-all-btn:focus,
.scene-case-study-card:focus,
.related-card:focus {
   outline: 3px solid var(--color-main);
   outline-offset: 2px;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
   /* ダークモード対応が必要な場合はここに追加 */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
   width: 10px;
   height: 10px;
}

::-webkit-scrollbar-track {
   background: #FCF6FB;
}

::-webkit-scrollbar-thumb {
   background: var(--color-main);
   border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
   background: var(--color-sub-light);
}

/* Firefox Scrollbar */
.scene-nav-content {
   scrollbar-width: thin;
   scrollbar-color: var(--color-main) #FCF6FB;
}

/* Performance Optimization */
.scene-case-study-card img,
.related-card img,
#solutions .solution-item img {
   will-change: transform;
}

/* 最終調整 - エレガントなディテール */
.container {
   position: relative;
}

/* セクション間の自然な流れ */
.scene-content-section + .scene-content-section {
   position: relative;
}

.scene-content-section + .scene-content-section::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 1px;
   height: 60px;
   background: linear-gradient(to bottom, transparent, var(--color-mid-gray), transparent);
}

/* エンドマーク */
.single-scene-content::after {
   content: '';
   display: block;
   width: 60px;
   height: 3px;
   background: linear-gradient(90deg, var(--color-main), var(--color-sub-light));
   margin: 80px auto;
   border-radius: 2px;
}

/* =========================================
   News Pages Styles - Simplified Version
   ========================================= */

/* ===================================
   News Archive Page
   =================================== */

/* News Hero Section */
.news-hero {
    background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
    color: var(--color-white);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.news-hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-white);
}

.news-hero-description {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.news-hero .breadcrumbs {
    color: rgba(255,255,255,0.8);
    justify-content: center;
    margin-top: 20px;
}

.news-hero .breadcrumbs a {
    color: var(--color-white);
}

/* News Content Section */
.news-content-section {
    padding: 60px 0;
    background-color: var(--color-light-gray);
}

/* Content Container - Optimized for reading */
.news-content-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Filter Section */
.news-filter {
    background: var(--color-white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(47,28,64,0.05);
    border: 1px solid rgba(47,28,64,0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.news-year-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-year-filter label {
    font-weight: 700;
    color: var(--color-text);
    font-size: 14px;
}

.news-year-filter select {
    padding: 10px 16px;
    border: 2px solid var(--color-mid-gray);
    border-radius: 8px;
    font-size: 14px;
    background-color: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.news-year-filter select:focus {
    outline: none;
    border-color: var(--color-main);
}

.search-filter .search-form {
    display: flex;
    position: relative;
    align-items: center;
}

.search-filter .search-field {
    padding: 10px 45px 10px 16px;
    border: 2px solid var(--color-mid-gray);
    border-radius: 8px;
    width: 280px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-filter .search-field:focus {
    outline: none;
    border-color: var(--color-main);
}

.search-filter .search-submit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark-gray);
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.search-filter .search-submit:hover {
    color: var(--color-main);
}

/* News List */
.news-list {
    margin-bottom: 40px;
}

.news-item {
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(47,28,64,0.05);
    border: 1px solid rgba(47,28,64,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(47,28,64,0.1);
    border-color: var(--color-main);
}

.news-item-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 40px;
    transition: all 0.3s ease;
    width:100%;
}

.news-item-thumbnail {
    flex-shrink: 0;
    width: 240px;
    height: 135px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-light-gray);
}

.news-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-thumbnail img {
    transform: scale(1.05);
}

.news-item-content {
    flex: 1;
    min-width: 0;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-date {
    font-size: 14px;
    color: var(--color-dark-gray);
    font-weight: 500;
}

.news-badge-new {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-accent), #C93279);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(201,50,121,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--color-main);
}

.news-excerpt {
    font-size: 14px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-arrow {
    flex-shrink: 0;
    color: var(--color-main);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.news-item:hover .news-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    margin: 0 4px;
    background-color: var(--color-white);
    border: 2px solid var(--color-mid-gray);
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 48px;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background-color: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111,61,156,0.2);
}

.news-pagination .page-numbers.dots {
    border: none;
    background: none;
    pointer-events: none;
}

/* Empty State */
.news-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(47,28,64,0.05);
}

.news-empty p {
    font-size: 16px;
    color: var(--color-dark-gray);
    margin: 0;
}

/* ===================================
   Single News Page
   =================================== */

.news-single-hero {
    background: var(--color-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-mid-gray);
}

.news-single-hero-content .breadcrumbs {
    margin: 0;
}

.news-single-content-section {
    padding: 60px 0;
}

/* Single News Container - Optimized for reading */
.news-single-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 ;
}

.news-single {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

/* Article Header */
.news-single-header {
    padding: 40px 0px;
    border-bottom: 1px solid var(--color-light-gray);
}

.news-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.news-single-meta .news-date {
    font-size: 16px;
    color: var(--color-dark-gray);
    font-weight: 700;
}

.news-single-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text);
    margin: 0;
}

/* Featured Image */
.news-single-featured-image {
    line-height: 0;
}

.news-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.news-single-entry-content {
    padding: 40px 0px;
    line-height: 1.8;
    font-size: 16px;
    color: var(--color-text);
}

.news-single-entry-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-main);
}

.news-single-entry-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin: 32px 0 16px;
}

.news-single-entry-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.news-single-entry-content ul,
.news-single-entry-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.news-single-entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.news-single-entry-content blockquote {
    background: var(--color-light-gray);
    border-left: 4px solid var(--color-main);
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.news-single-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
    box-shadow: 0 4px 15px rgba(47,28,64,0.1);
}

.news-single-entry-content a {
    color: var(--color-main);
    text-decoration: underline;
    text-decoration-color: rgba(111,61,156,0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.news-single-entry-content a:hover {
    color: var(--color-sub-light);
    text-decoration-color: var(--color-sub-light);
}

/* Article Footer */
.news-single-footer {
    padding: 40px;
    border-top: 1px solid var(--color-light-gray);
    background: linear-gradient(135deg, #FCF6FB 0%, #FFFFFF 100%);
}

/* News Navigation */
.news-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

.news-nav-item {
    position: relative;
}

.news-prev {
    justify-self: start;
}

.news-list-link {
    justify-self: center;
}

.news-next {
    justify-self: end;
    text-align: right;
}

.news-nav-link {
    display: block;
    padding: 16px 20px;
    background: var(--color-white);
    border: 2px solid var(--color-mid-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 280px;
}

.news-nav-link:hover {
    border-color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47,28,64,0.1);
    color: var(--color-text);
    text-decoration: none;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-dark-gray);
    margin-bottom: 8px;
    font-weight: 700;
}

.news-next .nav-direction {
    justify-content: flex-end;
}

.nav-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(111,61,156,0.2);
}

.news-list-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111,61,156,0.3);
    color: var(--color-white);
    text-decoration: none;
}

/* ===================================
   Related News Section
   =================================== */

.related-news-section {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px;
}

.related-news-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.related-news-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-main), var(--color-sub-light));
    border-radius: 2px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-news-item {
    background: var(--color-light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(47,28,64,0.05);
}

.related-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(47,28,64,0.1);
    border-color: var(--color-main);
}

.related-news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-news-thumbnail {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background-color: var(--color-mid-gray);
}

.related-news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-news-item:hover .related-news-thumbnail img {
    transform: scale(1.05);
}

.related-news-content {
    padding: 20px;
}

.related-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.related-news-date {
    font-size: 13px;
    color: var(--color-dark-gray);
    font-weight: 500;
}

.related-news-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-item:hover .related-news-item-title {
    color: var(--color-main);
}

.related-news-excerpt {
    font-size: 14px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 992px) {
    .news-content-container,
    .news-single-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .news-hero-title {
        font-size: 36px;
    }
    
    .news-single-title {
        font-size: 28px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-filter .search-field {
        width: 100%;
    }
    
    .related-news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .news-hero {
        padding: 40px 0 30px;
    }
    
    .news-hero-title {
        font-size: 28px;
    }
    
    .news-hero-description {
        font-size: 16px;
    }
    
    .news-content-section,
    .news-single-content-section {
        padding: 40px 0;
    }
    
    .news-filter {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .news-item-link {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
    }
    
    .news-item-thumbnail {
        width: 100%;
        height: 200px;
        order: -1;
    }
    
    .news-item-arrow {
        align-self: flex-end;
        margin-top: 12px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-single-header {
        padding: 30px 24px 24px;
    }
    
    .news-single-title {
        font-size: 24px;
    }
    
    .news-single-entry-content {
        padding: 30px 24px;
        font-size: 15px;
    }
    
    .news-single-entry-content h2 {
        font-size: 22px;
        margin: 32px 0 16px;
    }
    
    .news-single-entry-content h3 {
        font-size: 20px;
        margin: 24px 0 12px;
    }
    
    .news-single-footer {
        padding: 30px 24px;
    }
    
    .news-navigation {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .news-prev,
    .news-next,
    .news-list-link {
        justify-self: stretch;
        text-align: center;
    }
    
    .news-nav-link {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    .nav-direction {
        justify-content: center;
    }
    
    .news-next .nav-direction {
        justify-content: center;
    }
    
    .related-news-section {
        padding: 30px 24px;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .news-content-container,
    .news-single-container {
        padding: 0 16px;
    }
    
    .news-hero {
        padding: 30px 0 25px;
    }
    
    .news-hero-title {
        font-size: 24px;
    }
    
    .news-filter {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .news-year-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .news-year-filter select {
        width: 100%;
    }

    .news-item {
        padding:0px;
    }
    .news-item-link {
        padding: 16px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    .news-single-header {
        padding: 24px 20px 20px;
    }
    
    .news-single-title {
        font-size: 22px;
    }
    
    .news-single-entry-content {
        padding: 24px 20px;
        font-size: 14px;
    }
    
    .news-single-entry-content h2 {
        font-size: 20px;
        margin: 24px 0 12px;
    }
    
    .news-single-entry-content h3 {
        font-size: 18px;
        margin: 20px 0 10px;
    }
    
    .news-single-footer {
        padding: 24px 20px;
    }
    
    .news-pagination .page-numbers {
        padding: 10px 12px;
        font-size: 14px;
        min-width: 40px;
    }
    
    .related-news-section {
        padding: 24px 20px;
    }
    
    .related-news-content {
        padding: 16px;
    }
    
    .related-news-item-title {
        font-size: 15px;
    }
    
    .related-news-excerpt {
        font-size: 13px;
    }
}

/* ===================================
   Animation and Interaction
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item {
    animation: fadeInUp 0.6s ease-out;
}

.news-item:nth-child(even) {
    animation-delay: 0.1s;
}

.news-item:nth-child(odd) {
    animation-delay: 0.05s;
}

/* ===================================
   Focus States for Accessibility
   =================================== */

.news-item-link:focus,
.news-nav-link:focus,
.news-list-button:focus,
.search-filter .search-field:focus,
.news-year-filter select:focus,
.related-news-link:focus {
    outline: 3px solid var(--color-main);
    outline-offset: 2px;
}


/* ===================================
   Reduced Motion Support
   =================================== */

@media (prefers-reduced-motion: reduce) {
    .news-item,
    .news-item-thumbnail img,
    .news-item-arrow,
    .news-nav-link,
    .news-list-button,
    .related-news-item,
    .related-news-thumbnail img {
        animation: none;
        transition: none;
    }
    
    .news-item:hover,
    .news-nav-link:hover,
    .news-list-button:hover,
    .related-news-item:hover {
        transform: none;
    }
}

.page-header-section{
    background:linear-gradient(135deg, #6F3D9C 0%, #8450B8 50%, #54318B 100%);
    color: var(--color-white);
    padding: 40px 0px;
    text-align:center;
}

/* 2026-08-24 本人指摘。archive-features.php・archive-scene.php・
   page-general.php・page-support_system.php は、このヒーロー直下のCTAに
   グローバルヘッダーのナビ用クラス .header-cta（display:flex、既定は
   justify-content:flex-start）をそのまま流用している。親の text-align:center
   は文字には効くがflexコンテナ自身の並びには効かないため、見出し・本文は
   中央なのにボタンだけ左端に寄っていた。ヘッダー本来の .header-cta は
   左寄せのままにしたいので、このセクション配下だけを上書きする */
.page-header-section .header-cta {
    justify-content: center;
}

/* ===================================
   Single Webinar Page Styles
   =================================== */

/* ヒーローセクション */
.webinar-single-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.webinar-single-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111,61,156,0.85) 0%, rgba(84,49,139,0.85) 100%);
    z-index: 1;
}

.webinar-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.webinar-breadcrumbs {
    margin-bottom: 30px;
}

.webinar-breadcrumbs .breadcrumbs {
    color: rgba(255,255,255,0.8);
}

.webinar-breadcrumbs .breadcrumbs a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.webinar-breadcrumbs .breadcrumbs a:hover {
    opacity: 0.8;
}

.webinar-breadcrumbs .separator {
    margin: 0 8px;
}

.webinar-hero-title {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    max-width: 100%;
}

.webinar-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    max-width: 100%;
}

.webinar-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.webinar-meta-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.webinar-meta-content {
    flex: 1;
}

.webinar-meta-label {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webinar-meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
}

.webinar-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin: 40px 0px 20px;
}

.webinar-status-badge.upcoming {
    background: linear-gradient(135deg, #8450B8, #6F3D9C);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(132,80,184,0.3);
}

.webinar-status-badge.deadline-passed {
    background: linear-gradient(135deg, #C93279, #C93279);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(201,50,121,0.3);
}

.webinar-status-badge.past {
    background: linear-gradient(135deg, #77677F, #54318B);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(119,103,127,0.3);
}

/* メインコンテンツエリア */
.webinar-single-main {
    position: relative;
    padding: 0;
    margin-top: -120px;
    z-index: 10;
}

.webinar-content-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    align-items: start;
}

.webinar-content-area {
    background: var(--color-white);
    border-radius: 20px;
    padding: 0px 40px;
    box-shadow: 0 20px 60px rgba(47,28,64,0.1);
    border: 1px solid rgba(47,28,64,0.05);
}


/* 本文エリア内のコンテンツスタイル */
.webinar-content-area h1,
.webinar-content-area h2,
.webinar-content-area h3,
.webinar-content-area h4,
.webinar-content-area h5,
.webinar-content-area h6 {
    color: var(--color-sub-dark);
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 32px;
}

.webinar-content-area h1 {
    font-size: 36px;
    margin-top: 0;
}

.webinar-content-area h2 {
    font-size: 28px;
    border-bottom: 3px solid var(--color-main);
    padding-bottom: 12px;
}

.webinar-content-area h3 {
    font-size: 24px;
}

.webinar-content-area h4 {
    font-size: 20px;
}

.webinar-content-area p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text);
    font-size: 16px;
    text-align:left;
}

.webinar-content-area ul,
.webinar-content-area ol {
    margin: 20px 0;
}

.webinar-content-area li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--color-text);
}

.webinar-content-area blockquote {
    background: linear-gradient(135deg, #FCF6FB, #EDF4FF);
    border-left: 4px solid var(--color-main);
    padding: 24px 32px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--color-sub-dark);
}

.webinar-content-area img {
    text-align:center;
    width:100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(47,28,64,0.1);
}

.webinar-content-area a {
    color: var(--color-main);
    text-decoration: underline;
    text-decoration-color: rgba(111,61,156,0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.webinar-content-area a:hover {
    color: var(--color-sub-light);
    text-decoration-color: var(--color-sub-light);
}

/* 投稿編集用HTMLセクション共通スタイル */
.webinar-intro-section,
.webinar-recommend-section,
.webinar-speaker-section,
.webinar-overview-section {
    margin: 0px 0px 40px 0px;
    padding: 0px;
    border-radius: 16px;
    background: var(--color-white);
}

/* ウェビナー紹介セクション */
.webinar-intro-section {
}

.webinar-intro-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-main);
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.webinar-intro-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* このような方におすすめセクション */
.webinar-recommend-section {
}

.webinar-recommend-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.webinar-recommend-title::before {
    content: '👥';
    font-size: 32px;
}

.webinar-recommend-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.webinar-recommend-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(132,80,184,0.1);
    transition: all 0.3s ease;
}

.webinar-recommend-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(132,80,184,0.15);
}

.webinar-recommend-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
    color: var(--color-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.webinar-recommend-text {
    font-size: 16px;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
}

/* 講師紹介セクション */
.webinar-speaker-section {
}

.webinar-speaker-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.webinar-speaker-title::before {
    content: '🎤';
    font-size: 32px;
}

.webinar-speaker-profile {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    background: var(--color-white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #6F3D9C;
    box-shadow: 0 8px 25px rgba(111,61,156,0.1);
}

.webinar-speaker-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-main);
    box-shadow: 0 8px 20px rgba(111,61,156,0.2);
}

.webinar-speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webinar-speaker-info {
    flex: 1;
}

.webinar-speaker-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-sub-dark);
    margin-bottom: 8px;
}

.webinar-speaker-position {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.webinar-speaker-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

/* ウェビナー概要セクション */
.webinar-overview-section {
}

.webinar-overview-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.webinar-overview-title::before {
    content: '📋';
    font-size: 32px;
}

.webinar-overview-table {
    width: 100%;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #6F3D9C;
    box-shadow: 0 8px 25px rgba(111,61,156,0.2);
}

.webinar-overview-table th,
.webinar-overview-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid #EDF4FF;
}

.webinar-overview-table th {
    background: linear-gradient(135deg, #6F3D9C, #6F3D9C);
    color: var(--color-white);
    font-weight: 700;
    font-size: 16px;
    width: 30%;
}

.webinar-overview-table td {
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-white);
}

.webinar-overview-table tr:last-child th,
.webinar-overview-table tr:last-child td {
    border-bottom: none;
}

.webinar-overview-table .highlight {
    font-weight: 700;
    color: var(--color-main);
}

.webinar-overview-table .free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8450B8, #6F3D9C);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* サイドバーエリア（申込フォーム） */
.webinar-sidebar-area {
    position: sticky;
    top: 40px;
}

.webinar-form-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(47,28,64,0.15);
    border: 1px solid rgba(47,28,64,0.05);
    position: relative;
    overflow: hidden;
}

.webinar-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-main), var(--color-accent));
}

.webinar-form-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-sub-dark);
    margin-bottom: 16px;
    text-align: center;
}

.webinar-form-description {
    font-size: 14px;
    color: var(--color-dark-gray);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
}

.webinar-deadline-notice {
    background: #F8D8EB;
    border: 1px solid #C93279;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #9D245F;
}

.webinar-form-container {
    margin-bottom: 24px;
}

.webinar-participation-note {
    background: #FCF6FB;
    border: 1px solid #7C4FD8;
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: #54318B;
    line-height: 1.5;
}

/* Contact Form 7 スタイル */
.webinar-form-card .wpcf7-form {
    margin: 0;
}

.webinar-form-card .wpcf7-form p {
    margin-bottom: 20px;
}

.webinar-form-card .wpcf7-form label {
    display: block;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    font-size: 14px;
}

.webinar-form-card .wpcf7-form input[type="text"],
.webinar-form-card .wpcf7-form input[type="email"],
.webinar-form-card .wpcf7-form input[type="tel"],
.webinar-form-card .wpcf7-form textarea,
.webinar-form-card .wpcf7-form select {
    width: 100%;
    padding: 8px 16px;
    border: 2px solid var(--color-mid-gray);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--color-white);
}

.webinar-form-card .wpcf7-form input:focus,
.webinar-form-card .wpcf7-form textarea:focus,
.webinar-form-card .wpcf7-form select:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(111,61,156,0.1);
}

.webinar-form-card .wpcf7-form input[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, var(--color-accent), #C93279);
    color: var(--color-white);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(201,50,121,0.3);
}

.webinar-form-card .wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #C93279, #C93279);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(201,50,121,0.4);
}

.webinar-form-card .wpcf7-form .wpcf7-not-valid-tip {
    color: #C93279;
    font-size: 12px;
    margin-top: 4px;
}

.webinar-form-card .wpcf7-form .wpcf7-validation-errors {
    background: #FFF0F7;
    border: 1px solid #F8D8EB;
    color: #C93279;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.webinar-form-card .wpcf7-form .wpcf7-mail-sent-ok {
    background: #F8D8EB;
    border: 1px solid #F8D8EB;
    color: #6F3D9C;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ステータスメッセージ */
.webinar-status-message {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #FCF6FB, #F1E8F6);
    border-radius: 16px;
    border: 2px solid #E4D8EC;
}

.webinar-status-message h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.webinar-status-message p {
    font-size: 14px;
    color: var(--color-dark-gray);
    margin: 0;
    line-height: 1.6;
}

.webinar-status-message.deadline-passed {
    background: linear-gradient(135deg, #F8D8EB, #EA8FBC);
    border-color: #C93279;
}

.webinar-status-message.deadline-passed h3 {
    color: #9D245F;
}

.webinar-status-message.deadline-passed p {
    color: #9D245F;
}

.webinar-status-message.past {
    background: linear-gradient(135deg, #FCF6FB, #FCF6FB);
    border-color: #AA96B6;
}

.webinar-status-message.past h3 {
    color: #54318B;
}

.webinar-status-message.past p {
    color: var(--color-dark-gray);
}

/* 関連ウェビナーセクション */
.webinar-related-section {
    padding: 80px 0;
    background-color: var(--color-light-gray);
}

.webinar-section-bg {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.webinar-related-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--color-sub-dark);
    margin-bottom: 48px;
    position: relative;
}

.webinar-related-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-main), var(--color-sub-light));
    border-radius: 2px;
}

.webinar-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.webinar-related-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(47,28,64,0.08);
    border: 1px solid rgba(47,28,64,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.webinar-related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(47,28,64,0.12);
    border-color: var(--color-main);
}

.webinar-related-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.webinar-related-image {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #FCF6FB, #F1E8F6);
    position: relative;
}

.webinar-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.webinar-related-card:hover .webinar-related-image img {
    transform: scale(1.05);
}

.webinar-related-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AA96B6;
    font-size: 48px;
}

.webinar-related-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.webinar-related-badge.past {
    background: linear-gradient(135deg, #77677F, #54318B);
    color: var(--color-white);
}

.webinar-related-badge.upcoming {
    background: linear-gradient(135deg, #8450B8, #6F3D9C);
    color: var(--color-white);
}

.webinar-related-content {
    padding: 24px;
}

.webinar-related-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-dark-gray);
    font-weight: 500;
}

.webinar-related-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.webinar-related-card:hover .webinar-related-card-title {
    color: var(--color-main);
}

.webinar-related-excerpt {
    font-size: 14px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.webinar-related-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.webinar-related-more span {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-main);
}

.webinar-related-more svg {
    color: var(--color-main);
    transition: transform 0.3s ease;
}

.webinar-related-card:hover .webinar-related-more svg {
    transform: translateX(4px);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .webinar-hero-content,
    .webinar-content-wrapper,
    .webinar-section-bg {
        padding: 0 40px;
    }
    
    .webinar-content-wrapper {
        gap: 40px;
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 992px) {
    .webinar-single-hero {
        background-attachment: scroll;
    }
    
    .webinar-single-hero::before {
        background: linear-gradient(135deg, rgba(111,61,156,0.9) 0%, rgba(84,49,139,0.9) 100%);
    }
    
    .webinar-hero-title {
        max-width: 100%;
        font-size: 36px;
    }
    
    .webinar-hero-meta {
        max-width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px;
    }
    
    .webinar-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: -80px;
    }
    
    .webinar-content-area {
        padding: 0px 20px;
    }
    
    .webinar-form-card {
        padding: 32px;
    }
    
    .webinar-sidebar-area {
        position: static;
        order: 1;
        padding-bottom:20px;
    }
    
    .webinar-speaker-profile {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .webinar-speaker-image {
        align-self: center;
    }
    
    .webinar-recommend-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .webinar-hero-content,
    .webinar-content-wrapper,
    .webinar-section-bg {
        padding: 0 20px;
    }
    
    .webinar-hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .webinar-hero-meta {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .webinar-meta-item {
        padding: 12px 16px;
    }
    
    .webinar-meta-value {
        font-size: 14px;
    }
    
    .webinar-content-wrapper {
        gap: 40px;
        margin-top: -60px;
    }
    
    .webinar-content-area {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .webinar-content-area h1 {
        font-size: 24px;
    }
    
    .webinar-content-area h2 {
        font-size: 22px;
    }
    
    .webinar-content-area h3 {
        font-size: 20px;
    }
    
    .webinar-content-area h4 {
        font-size: 18px;
    }
    
    .webinar-content-area p {
        font-size: 15px;
    }
    
    .webinar-form-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .webinar-form-title {
        font-size: 20px;
    }
    
    .webinar-form-card .wpcf7-form input[type="submit"] {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .webinar-intro-section,
    .webinar-recommend-section,
    .webinar-speaker-section,
    .webinar-overview-section {
        margin: 32px 0;
    }
    
    .webinar-speaker-image {
        width: 120px;
        height: 120px;
    }
    
    .webinar-overview-table th,
    .webinar-overview-table td {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .webinar-overview-table th {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .webinar-hero-content,
    .webinar-content-wrapper,
    .webinar-section-bg {
        padding: 0 10px;
    }
    
    .webinar-hero-title {
        font-size: 24px;
    }
    
    .webinar-content-area {
        padding: 0px 15px;
    }
    
    .webinar-form-card {
        padding: 20px;
    }
    
    .webinar-content-wrapper {
        margin-top: -40px;
    }
    
    .webinar-intro-section,
    .webinar-recommend-section,
    .webinar-speaker-section,
    .webinar-overview-section {
        margin: 24px 0;
    }
    
    .webinar-overview-table {
        font-size: 13px;
    }
    
    .webinar-overview-table th,
    .webinar-overview-table td {
        padding: 12px 16px;
    }
    
    .webinar-speaker-profile {
        padding: 24px;
    }
    
    .webinar-speaker-image {
        width: 100px;
        height: 100px;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .webinar-form-card .wpcf7-form input[type="submit"],
    .webinar-related-card,
    .webinar-recommend-item {
        transition: none;
    }
    
    .webinar-form-card .wpcf7-form input[type="submit"]:hover,
    .webinar-related-card:hover,
    .webinar-recommend-item:hover {
        transform: none;
    }
}

/* フォーカス状態 */
.webinar-form-card .wpcf7-form input:focus,
.webinar-form-card .wpcf7-form textarea:focus,
.webinar-form-card .wpcf7-form select:focus,
.webinar-form-card .wpcf7-form input[type="submit"]:focus,
.webinar-related-link:focus {
    outline: 3px solid var(--color-main);
    outline-offset: 2px;
}

/* カードコンテンツ */
.webinar-card-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.webinar-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.webinar-card:hover .webinar-card-title {
    color: var(--color-main);
}/* ===================================
   Webinar Archive Page Styles - Modern Design
   =================================== */

/* ヒーローセクション */
.webinar-archive-hero {
    background: linear-gradient(135deg, #6F3D9C 0%, #8450B8 50%, #54318B 100%);
    color: var(--color-white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.webinar-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201,50,121,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.webinar-archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.webinar-breadcrumbs {
    margin-bottom: 32px;
}

.webinar-breadcrumbs .breadcrumbs {
    color: rgba(255,255,255,0.8);
    justify-content: center;
}

.webinar-breadcrumbs .breadcrumbs a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.webinar-breadcrumbs .breadcrumbs a:hover {
    opacity: 0.8;
}

.webinar-archive-title {
    font-size: clamp(32px, 6vw, 40px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-white);
    line-height: 1.2;
}

.webinar-archive-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 統計情報 */
.webinar-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.webinar-stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 24px 32px;
    transition: all 0.3s ease;
}

.webinar-stat-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(47,28,64,0.2);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* メインコンテンツ */
.webinar-archive-content {
    padding: 80px 0;
    background-color: var(--color-light-gray);
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 36px;
    font-weight: 800;
    color: var(--color-main);
    margin-bottom: 16px;
}

.section-icon {
    font-size: 36px;
}

.section-description {
    font-size: 16px;
    color: var(--color-dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ウェビナーグリッド */
.webinar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.upcoming-grid .webinar-card {
    border: 2px solid transparent;
    background: linear-gradient(var(--color-white), var(--color-white)) padding-box,
                linear-gradient(135deg, var(--color-main), var(--color-sub-light)) border-box;
}

.past-grid .webinar-card {
    border: 1px solid rgba(47,28,64,0.08);
}

/* ウェビナーカード */
.webinar-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(47,28,64,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.webinar-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(47,28,64,0.12);
}

.upcoming-webinar:hover {
    box-shadow: 0 20px 50px rgba(111,61,156,0.15);
}

.past-webinar {
    opacity: 0.95;
}

.past-webinar:hover {
    opacity: 1;
    box-shadow: 0 20px 50px rgba(47,28,64,0.12);
}

/* カードヘッダー */
.webinar-card-header {
    position: relative;
    overflow: hidden;
}

.webinar-card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FCF6FB, #F1E8F6);
}

.webinar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.webinar-card:hover .webinar-card-image img {
    transform: scale(1.08);
}

.webinar-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    background: linear-gradient(135deg, rgba(111,61,156,0.1), rgba(132,80,184,0.05));
}

.webinar-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(47,28,64,0.7);
    border-radius: 50%;
    padding: 16px;
    opacity: 0;
    transition: all 0.3s ease;
}

.past-webinar:hover .webinar-overlay {
    opacity: 1;
}

/* ステータスバッジ */
.webinar-status-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.webinar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(47,28,64,0.15);
    backdrop-filter: blur(10px);
}

.webinar-badge.upcoming {
    background: linear-gradient(135deg, #8450B8, #6F3D9C);
    color: var(--color-white);
    animation: pulse 2s infinite;
}

.webinar-badge.deadline-passed {
    background: linear-gradient(135deg, #C93279, #C93279);
    color: var(--color-white);
}

.webinar-badge.archive {
    background: linear-gradient(135deg, #77677F, #54318B);
    color: var(--color-white);
}

.webinar-badge.free {
    background: linear-gradient(135deg, var(--color-accent), #C93279);
    color: var(--color-white);
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(47,28,64,0.15), 0 0 0 0 rgba(132,80,184,0.4);
    }
    50% { 
        box-shadow: 0 4px 12px rgba(47,28,64,0.15), 0 0 0 8px rgba(132,80,184,0);
    }
}

.webinar-card-meta {
    margin-bottom: 20px;
}

.webinar-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-dark-gray);
}

.webinar-meta-item svg {
    color: var(--color-main);
    flex-shrink: 0;
}

.meta-label {
    font-weight: 700;
    color: var(--color-text);
}

.meta-value {
    font-weight: 500;
}

/* 抜粋文 */
.webinar-card-excerpt {
    flex-grow: 1;
    font-size: 15px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 申込期限情報 */
.webinar-deadline-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F8D8EB, #EA8FBC);
    color: #9D245F;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid #C93279;
}

.webinar-deadline-info svg {
    color: #C93279;
}

/* アクション表示 */
.webinar-card-actions {
    margin-top: auto;
}

.webinar-action-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    background: rgba(111,61,156,0.1);
    color: var(--color-main);
    border: 2px solid rgba(111,61,156,0.2);
}

/* セクション間の区切り */
.upcoming-webinars-section {
    margin-bottom: 80px;
    position: relative;
}

.upcoming-webinars-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-mid-gray), transparent);
}

.past-webinars-section {
    margin-bottom: 40px;
}

/* ページネーション */
.webinar-pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.webinar-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin: 0 4px;
    background-color: var(--color-white);
    border: 2px solid var(--color-mid-gray);
    border-radius: 12px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 48px;
}

.webinar-pagination .page-numbers:hover,
.webinar-pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--color-main), var(--color-sub-light));
    color: var(--color-white);
    border-color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111,61,156,0.2);
}

.webinar-pagination .page-numbers.dots {
    border: none;
    background: none;
    pointer-events: none;
    color: var(--color-dark-gray);
}

.webinar-pagination .page-numbers svg {
    width: 16px;
    height: 16px;
}

/* ウェビナーなしの状態 */
.no-webinars-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(47,28,64,0.06);
}

.no-webinars-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-webinars-icon {
    font-size: 80px;
    margin-bottom: 32px;
    opacity: 0.7;
}

.no-webinars-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-sub-dark);
    margin-bottom: 16px;
}

.no-webinars-section p {
    font-size: 16px;
    color: var(--color-dark-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.no-webinars-section a {
    color: var(--color-main);
    text-decoration: none;
    font-weight: 700;
}

.no-webinars-section a:hover {
    text-decoration: underline;
}

.no-webinars-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .webinar-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 28px;
    }
    
    .webinar-stats {
        gap: 32px;
    }
    
    .webinar-stat-item {
        padding: 20px 28px;
    }
}

@media (max-width: 992px) {
    .webinar-archive-hero {
        padding: 60px 0 80px;
    }
    
    .webinar-archive-content {
        padding: 60px 0;
    }
    
    .webinar-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .webinar-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .webinar-stat-item {
        padding: 20px 40px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .upcoming-webinars-section {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .webinar-archive-hero {
        padding: 50px 0 60px;
    }
    
    .webinar-archive-title {
        font-size: 32px;
    }
    
    .webinar-archive-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .webinar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .webinar-card-content {
        padding: 24px 20px;
    }
    
    .webinar-card-image {
        height: 180px;
    }
    
    .section-title {
        font-size: 28px;
        flex-direction: column;
        gap: 8px;
    }
    
    .section-icon {
        font-size: 32px;
    }
    
    .no-webinars-section {
        padding: 60px 24px;
    }
    
    .no-webinars-icon {
        font-size: 64px;
    }
    
    .no-webinars-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .no-webinars-actions .webinar-action-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .webinar-archive-hero {
        padding: 40px 0 50px;
    }
    
    .webinar-archive-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .webinar-archive-description {
        font-size: 15px;
    }
    
    .webinar-archive-content {
        padding: 40px 0;
    }
    
    .webinar-card-content {
        padding: 20px 16px;
    }
    
    .webinar-card-title a {
        font-size: 18px;
    }
    
    .webinar-meta-item {
        font-size: 13px;
    }
    
    .webinar-card-excerpt {
        font-size: 14px;
    }
    
    .webinar-action-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .webinar-status-badges {
        top: 12px;
        right: 12px;
    }
    
    .webinar-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .webinar-pagination .page-numbers {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 42px;
    }
    
    .no-webinars-section {
        padding: 40px 20px;
    }
    
    .no-webinars-section h2 {
        font-size: 24px;
    }
    
    .no-webinars-icon {
        font-size: 56px;
        margin-bottom: 24px;
    }
}

/* フォーカス状態とアクセシビリティ */
.webinar-card-link:focus,
.webinar-pagination .page-numbers:focus {
    outline: 3px solid var(--color-main);
    outline-offset: 2px;
}

/* アニメーション制御 */
@media (prefers-reduced-motion: reduce) {
    .webinar-card,
    .webinar-badge {
        animation: none;
        transition: none;
    }
    
    .webinar-card:hover {
        transform: none;
    }
}

/* 印刷スタイル */
@media print {
    .webinar-archive-hero {
        background: none;
        color: var(--color-text);
        padding: 20px 0;
    }
    
    .webinar-status-badges,
    .webinar-card-actions,
    .webinar-pagination,
    .no-webinars-actions {
        display: none;
    }
    
    .webinar-card {
        box-shadow: none;
        border: 1px solid #F1E8F6;
        break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .webinar-archive-title,
    .section-title,
    .webinar-card-title a {
        color: var(--color-text);
    }
}

/* =========================================
   Contact Form 7 カスタムスタイル
   ========================================= */

/* フォーム全体のスタイル */
.wpcf7 {
  font-family: var(--font-primary, 'Noto Sans JP', sans-serif);
}

.wpcf7-form {
  padding: 0px;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* フォーム項目の基本スタイル */
.wpcf7-form label {
  display: block;
  font-weight: 700;
  color: var(--color-text, #53405F);
  margin-bottom: 10px;
  font-size: 15px;
  position: relative;
}

/* 必須項目のマーク */
.formlabel::after {
  content: '*';
  color: #C93279;
  font-weight: 700;
  margin-left: 6px;
  font-size: 16px;
}

/* 任意項目（必須マークを非表示） */
.wpcf7-form label.optional::after {
  display: none;
}

/* ラベルテキストのスタイル */
.wpcf7-form label > span {
  display: block;
  margin-bottom: 0px;
  font-size: 15px;
}

/* 姓名を一行で表示 */
.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.name-row label {
  margin-bottom: 0;
}

/* 入力フィールドの共通スタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-mid-gray, #F1E8F6);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: var(--color-white, #FFFFFF);
  color: var(--color-text, #53405F);
  box-shadow: 0 2px 4px rgba(47,28,64,0.02);
}

/* フォーカス状態 */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--color-main, #6F3D9C);
  box-shadow: 0 0 0 3px rgba(111,61,156,0.1);
  transform: translateY(-1px);
}

/* プレースホルダーのスタイル */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--color-dark-gray, #77677F);
  opacity: 0.7;
  font-size: 14px;
}

/* テキストエリアの調整 */
.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* セレクトボックスのスタイル */
.wpcf7-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2377677F' d='M8 12L3 7h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* チェックボックスとラジオボタンのコンテナ */
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wpcf7-form .wpcf7-checkbox label,
.wpcf7-form .wpcf7-radio label {
  display: flex;
  gap: 10px;
}

/* チェックボックス・ラジオボタンの項目 */
.wpcf7-form .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 16px;
  background: var(--color-light-gray, #FCF6FB);
  border-radius: 8px;
  transition: background-color 0.3s ease;
  margin: 0;
}

.wpcf7-form .wpcf7-list-item:hover {
  background: rgba(111,61,156,0.05);
}

/* チェックボックス・ラジオボタンのスタイル */
.wpcf7-form .wpcf7-list-item input[type="checkbox"],
.wpcf7-form .wpcf7-list-item input[type="radio"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

/* チェックボックス・ラジオボタンのラベル */
.wpcf7-form .wpcf7-list-item-label {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, var(--color-accent, #C93279), #C93279);
  color: var(--color-white, #FFFFFF);
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(201,50,121,0.3);
  margin-top: 5px;
  position: relative;
  overflow: hidden;
}

/* 送信ボタンのホバー効果 */
.wpcf7-form input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.wpcf7-form input[type="submit"]:hover::before {
  width: 300px;
  height: 300px;
}

.wpcf7-form input[type="submit"]:hover {
  background: linear-gradient(135deg, #C93279, #C93279);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(201,50,121,0.4);
}

/* ボタンのアクティブ状態 */
.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(201,50,121,0.3);
}

/* エラーメッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
  color: #C93279;
  font-size: 13px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.wpcf7-form .wpcf7-not-valid-tip::before {
  content: '⚠';
  font-size: 14px;
}

/* 入力エラー時のフィールドスタイル */
.wpcf7-form .wpcf7-not-valid {
  border-color: #C93279 !important;
  box-shadow: 0 0 0 3px rgba(201,50,121,0.1) !important;
  background-color: rgba(252,246,251,0.5);
}

/* 全体エラーメッセージ */
.wpcf7-form .wpcf7-validation-errors {
  background: linear-gradient(135deg, #FCF6FB, #FFF0F7);
  border: 1px solid #F8D8EB;
  color: #9D245F;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpcf7-form .wpcf7-validation-errors::before {
  content: '❌';
  font-size: 16px;
}

/* 送信完了メッセージ */
.wpcf7-form .wpcf7-mail-sent-ok {
  background: linear-gradient(135d, #F8D8EB, #F8D8EB);
  border: 1px solid #8450B8;
  color: #6F3D9C;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpcf7-form .wpcf7-mail-sent-ok::before {
  content: '✅';
  font-size: 16px;
}

/* 送信失敗メッセージ */
.wpcf7-form .wpcf7-mail-sent-ng {
  background: linear-gradient(135deg, #FCF6FB, #FFF0F7);
  border: 1px solid #F8D8EB;
  color: #9D245F;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpcf7-form .wpcf7-mail-sent-ng::before {
  content: '❌';
  font-size: 16px;
}

/* 送信結果のメッセージ（CF7 5.2 以降は form の状態クラス＋.wpcf7-response-output で出る）
   プラグイン標準の黄・緑の枠を消し、ボタン下に小さい文字だけで出す */
.wpcf7 form .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: #77677F;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  color: #C93279;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #6F3D9C;
}

/* スピナー（送信中）のスタイル */
.wpcf7-form .wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgeDE9IjAiIHkxPSIwIiB4Mj0iMCIgeTI9IjEiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjEiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgZmlsbD0idXJsKCNhKSI+PGNpcmNsZSBmaWxsLW9wYWNpdHk9Ii4zIiBjeD0iMCIgY3k9IjAiIHI9IjEiLz48cGF0aCBkPSJtMTAgMGExMCAxMCAwIDAgMSAwIDIwYTEwIDEwIDAgMCAxIDAtMjB2MyIvPjwvZz48L2c+PC9zdmc+) no-repeat;
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  margin: 0 10px 0 5px;
  opacity: 0.75;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wpcf7-form.submitting .wpcf7-spinner {
  visibility: visible;
}

/* reCAPTCHAのスタイル調整 */
.wpcf7-form .wpcf7-recaptcha {
  margin: 24px 0;
  text-align: center;
}

/* ファイルアップロードのスタイル */
.wpcf7-form input[type="file"] {
  padding: 12px;
  background: var(--color-light-gray, #FCF6FB);
  border: 2px dashed var(--color-mid-gray, #F1E8F6);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-form input[type="file"]:hover {
  border-color: var(--color-main, #6F3D9C);
  background: rgba(111,61,156,0.05);
}

/* プライバシーポリシーやリンクのスタイル */
.wpcf7-form a {
  color: var(--color-main, #6F3D9C);
  text-decoration: underline;
  text-decoration-color: rgba(111,61,156,0.3);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.wpcf7-form a:hover {
  color: var(--color-sub-light, #8450B8);
  text-decoration-color: var(--color-sub-light, #8450B8);
}

/* =========================================
   レスポンシブデザイン
   ========================================= */

/* タブレット表示 */
@media (max-width: 992px) {
  .wpcf7-form {
    padding: 32px;
  }
  
  .name-row {
    gap: 12px;
  }
  
  .wpcf7-form input[type="submit"] {
    font-size: 15px;
    padding: 15px 28px;
  }
}

/* スマートフォン表示 */
@media (max-width: 768px) {
  .wpcf7-form {
    padding: 24px;
    border-radius: 12px;
  }
  
  .name-row {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  
  .wpcf7-form p {
    margin-bottom: 20px;
  }
  
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    padding: 12px 14px;
    font-size: 16px; /* iOS のズーム防止 */
  }
  
  .wpcf7-form textarea {
    min-height: 100px;
  }
  
  .wpcf7-form input[type="submit"] {
    padding: 14px 24px;
    font-size: 15px;
    margin-top: 24px;
  }
  
  .wpcf7-form .wpcf7-checkbox,
  .wpcf7-form .wpcf7-radio {
    gap: 8px;
  }
  
  .wpcf7-form .wpcf7-list-item {
    padding: 10px 12px;
  }
}

/* 小さなスマートフォン表示 */
@media (max-width: 480px) {
  .wpcf7-form {
    padding: 20px;
  }
  
  .wpcf7-form label {
    font-size: 14px;
  }
  
  .wpcf7-form input[type="submit"] {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .wpcf7-validation-errors,
  .wpcf7-mail-sent-ok,
  .wpcf7-mail-sent-ng {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* =========================================
   アクセシビリティ対応
   ========================================= */

/* フォーカス表示の強化 */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpcf7-form input[type="submit"]:focus {
  outline: 3px solid var(--color-main, #6F3D9C);
  outline-offset: 2px;
}

/* 動画を無効にする設定への対応 */
@media (prefers-reduced-motion: reduce) {
  .wpcf7-form input,
  .wpcf7-form textarea,
  .wpcf7-form select,
  .wpcf7-form input[type="submit"] {
    transition: none;
  }
  
  .wpcf7-form input[type="submit"]:hover {
    transform: none;
  }
  
  .wpcf7-spinner {
    animation: none;
  }
}


/* =========================================
   カスタムクラス用の拡張スタイル
   ========================================= */

/* インライン表示用クラス */
.wpcf7-form .form-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.wpcf7-form .form-inline p {
  margin-bottom: 0;
}

/* 幅調整用クラス */
.wpcf7-form .form-half {
  max-width: 50%;
}

.wpcf7-form .form-third {
  max-width: 33.333%;
}

.wpcf7-form .form-quarter {
  max-width: 25%;
}

/* 特別なボタンスタイル */
.wpcf7-form .btn-outline {
  background: transparent !important;
  color: var(--color-main, #6F3D9C) !important;
  border: 2px solid var(--color-main, #6F3D9C) !important;
  box-shadow: none !important;
}

.wpcf7-form .btn-outline:hover {
  background: var(--color-main, #6F3D9C) !important;
  color: var(--color-white, #FFFFFF) !important;
}

/* skip link対策 */
/* スキップリンクを通常は画面外に。フォーカス時のみ見えるようにする */
/* --- skip link の正しい隠し方（高さ寄与ゼロ & フォーカス時のみ見せる）--- */
.skip-link,
.screen-reader-text {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.skip-link:focus,
.screen-reader-text:focus {
  left: 16px !important;
  top: 16px !important;
  width: auto !important;
  height: auto !important;
  padding: .5rem .75rem !important;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(47,28,64,.2);
  z-index: 10000;
}

/* 念のためのリセット（未設定だと上に8px空きます） */
body { margin: 0; }

#page { display: flow-root; }
/* ===================================
   フォーム面のロゴ帯 template-parts/logo-band.php
   トップページの .logo-slider とは別部品。狭いカラムに入れる前提で小さくしてある。
   ロゴは6社しかないので、置き場所の幅が 1セット分（実測708px）を超えると
   同じロゴが同時に2つ映る。それより広い面に置くならロゴを増やすかサイズを見直すこと
   =================================== */
/* 上余白は padding ではなく margin で持たせる。
   /inquiry/ 側は直前の ✓リストが margin-bottom:30px を持っているので、
   margin なら相殺（collapse）して両ページとも32pxで揃う */
.po-logo-band {
  margin: 32px 0 0;
  padding: 0;
}

.po-logo-band__title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-sub-dark);
  margin: 0 0 14px;
}

.po-logo-band__viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #2F1C40 6%, #2F1C40 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #2F1C40 6%, #2F1C40 94%, transparent);
}

.po-logo-band__track {
  display: flex;
  width: max-content;
  animation: poLogoBand 40s linear infinite;
}

/* コマ幅は固定せず、ロゴの高さを揃えて幅を可変にする。
   幅を固定すると横長のロゴ（JFE 5.3:1・川崎 5.0:1）が幅で頭打ちになり、
   高さ16pxまで縮んで他のロゴ（30px）と並んだときに見えなくなる */
.po-logo-band__slide {
  flex: 0 0 auto;
  height: 48px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.po-logo-band__slide img {
  height: 32px;
  width: auto;
  max-width: none;
}

@keyframes poLogoBand {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .po-logo-band__track {
    animation: none;
  }
}

/* ===================================
   ロゴだけのヘッダー header-logo.php
   ロゴのサイズはトップページと同じ（.site-branding img の実寸 101x26px）にする。
   一度 38px に拡大したが、他ページと並べたときに大きさが揃わず違和感が出たため戻した。
   サイズ指定を足さないこと自体が「トップページと揃える」という意図なので、この節は残す
   =================================== */

/* ===================================
   資料請求ページのフォーム面をお問い合わせページ（.po-lp-*）に揃える
   揃える前の実測差（1280px幅）: h1の左 90px vs 60px／フォーム幅 450px vs 575px／
   入力欄 410px vs 527px。カラム比率と記事のパディングが違うことが原因だった。

   .material-content-wrapper / .material-info / .material-download-box は
   広告LP（single-landing_page.php）でも使われているため、
   資料請求ページだけに効くよう .material-single 配下に限定する
   =================================== */
.material-single {
  padding: 0;
}

/* flex-wrap を nowrap にする。.material-content-wrapper には wrap が付いており、
   45%+50%+gap40px が親幅を超える約800px以下でメディアクエリ(768px)を待たずに
   折り返していた。お問い合わせ側は nowrap で縮むため、2カラムを解除する幅が
   790pxで食い違っていた（実測）*/
.material-single .material-content-wrapper {
  justify-content: space-between;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .material-single .material-content-wrapper {
    flex-wrap: wrap;
  }
}

/* min-width:300px を解除する。お問い合わせ側は768pxまで2カラムを維持するのに対し、
   資料請求は約970pxで折り返していた。折り返すと画像が中央寄せのままカラムだけ広がり、
   h1や見出しと左端が揃わなくなる */
.material-single .material-info {
  width: 45%;
  flex: 0 0 auto;
  min-width: 0;
}

.material-single .material-download-box {
  width: 50%;
}

/* サムネイルはカラム幅いっぱいに伸ばす。実寸600px固定＋中央寄せだったため、
   カラムが600pxより広い幅では画像だけ右にずれて見えていた */
.material-single .material-thumbnail {
  text-align: left;
}

.material-single .material-thumbnail img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .material-single .material-info,
  .material-single .material-download-box {
    width: 100%;
  }
}
