@charset "UTF-8";

/* ==========================================================================
   SOLAB 共通スタイル（整理版）
   - 本CSSはVOGUEのヒーローヘッダー拡張・ページトップ・reCAPTCHA制御・
     タブレット動画切替などを担当
   - 2025-10 改訂
   ========================================================================== */


/* ==========================================================================
   0) ベース / ユーティリティ
   ========================================================================== */

/* フッターロゴの余白調整 */
.l-footer__logo {
  padding-top: 100px;
}

/* 注意: .p-hero-header__desc* は position:absolute;
   → 期待通りの座標で出すには、**相対基準となる親要素**に
      position: relative を指定してください。
   例) .p-hero-header__nav や .p-hero-header__nav-item 等
*/
header {
  box-shadow: 0 6px 3px -3px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   1) ヒーローヘッダー - タイトル/説明文の基本挙動
   - ナビにマウスオーバーで説明文を出す
   ========================================================================== */

/* タイトルの共通 */
.p-hero-header__nav-item-title {
  bottom: auto;
  display: inline-block;
  padding: 10px;
  width: auto;
  white-space: nowrap;
  /* タイトルの折返し防止 */
}

/* --- 説明文は初期は非表示 --- */
.p-hero-header__nav-item .p-hero-header__desc1_a,
.p-hero-header__nav-item .p-hero-header__desc1_b,
.p-hero-header__nav-item .p-hero-header__desc2_a,
.p-hero-header__nav-item .p-hero-header__desc2_b,
.p-hero-header__nav-item .p-hero-header__desc3_a,
.p-hero-header__nav-item .p-hero-header__desc3_b,
.p-hero-header__nav-item .p-hero-header__desc4_a,
.p-hero-header__nav-item .p-hero-header__desc4_b {
  display: none;
}

/* --- ナビ項目にホバー時、説明文をまとめて表示 --- */
.p-hero-header__nav-item:hover .p-hero-header__desc1_a,
.p-hero-header__nav-item:hover .p-hero-header__desc1_b,
.p-hero-header__nav-item:hover .p-hero-header__desc2_a,
.p-hero-header__nav-item:hover .p-hero-header__desc2_b,
.p-hero-header__nav-item:hover .p-hero-header__desc3_a,
.p-hero-header__nav-item:hover .p-hero-header__desc3_b,
.p-hero-header__nav-item:hover .p-hero-header__desc4_a,
.p-hero-header__nav-item:hover .p-hero-header__desc4_b {
  display: block;
}

/* --- 説明文の共通スタイル（8種類を集約） --- */
.p-hero-header__desc1_a,
.p-hero-header__desc1_b,
.p-hero-header__desc2_a,
.p-hero-header__desc2_b,
.p-hero-header__desc3_a,
.p-hero-header__desc3_b,
.p-hero-header__desc4_a,
.p-hero-header__desc4_b {
  display: inline-block;
  position: absolute;
  /* 座標指定は個別で */
  padding: 5px;
  font-size: 30px;
  white-space: nowrap;
}

/* 通常は 30px / 350px の帯で縦位置を揃える（必要に応じて調整） */
.p-hero-header__desc1_a,
.p-hero-header__desc2_a,
.p-hero-header__desc3_a,
.p-hero-header__desc4_a {
  top: 300px;
}

.p-hero-header__desc1_b,
.p-hero-header__desc2_b,
.p-hero-header__desc3_b,
.p-hero-header__desc4_b {
  top: 350px;
}

/* ==========================================================================
   2) ヒーローヘッダー - 各タブ個別の装飾
   - A: ドローン / B: 映像 / C: Web・印刷制作 / D: 研修
   ========================================================================== */

/* --- A: ドローン --------------------------------------------------------- */
.nav-item-title_a {
  background-image: linear-gradient(135deg, rgba(4, 202, 255, 1), rgba(144, 245, 154, 1));
  left: 30px;
  top: 200px;
  color: #fff;
}

.p-hero-header__desc1_a,
.p-hero-header__desc1_b {
  background-image: linear-gradient(135deg, rgba(4, 202, 255, 1), rgba(144, 245, 154, 1));
  left: 30px;
  /* 位置は左寄せ */
  color: #fff;
  /* タイトルと合わせて白 */
}

/* 内側の <span> は親の色を継承（テキストを普通に表示） */
.p-hero-header__desc1_a span,
.p-hero-header__desc1_b span {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: inherit;
}

/* --- B: 映像 ------------------------------------------------------------- */
.nav-item-title_b {
  background-image: linear-gradient(1deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
  left: 30px;
  top: 200px;
  color: #000;
}

.p-hero-header__desc2_a,
.p-hero-header__desc2_b {
  background-color: #000;
  /* 黒帯にして中のspanをグラデ文字に */
  left: 30px;
}

.p-hero-header__desc2_a span,
.p-hero-header__desc2_b span {
  background-image: linear-gradient(1deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- C: Web・印刷制作 --------------------------------------------------- */
.nav-item-title_c {
  left: 30px;
  top: 200px;
  position: relative;
  padding: 7px 9px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  font-weight: bold;
}

.nav-item-title_c span {
  color: #000;
  background: #fff;
  padding: 2px 23px;
}

.nav-item-title_c:before,
.nav-item-title_c:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: calc(100% + 14px);
  background-color: #000;
}

.nav-item-title_c:before {
  left: 7px;
}

.nav-item-title_c:after {
  right: 7px;
}

.p-hero-header__desc3_a,
.p-hero-header__desc3_b {
  left: 30px;
  border: 2px solid #000;
  background-color: #fff;
}

.p-hero-header__desc3_a span,
.p-hero-header__desc3_b span {
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

/* --- D: 研修 ------------------------------------------------------------- */
.nav-item-title_d {
  right: 100px;
  top: 200px;
  position: relative;
  line-height: 1.4;
  padding: 0.25em 0;
  display: inline-block;
  color: #000;
}

.nav-item-title_d span {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 6px 30px 11px;
}

.nav-item-title_d:before,
.nav-item-title_d:after {
  position: absolute;
  top: 0;
  content: '';
  width: 8px;
  height: 100%;
  display: inline-block;
}

.nav-item-title_d:before {
  border-left: 3px solid #000;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  left: 0;
}

.nav-item-title_d:after {
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  right: 0;
}

.p-hero-header__desc4_a,
.p-hero-header__desc4_b {
  right: 30px;
  /* Dだけ右寄せ */
  background-color: rgba(255, 255, 255, 0.6);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.p-hero-header__desc4_a span,
.p-hero-header__desc4_b span {
  color: #000;
  /* ← 記述ミス修正（color;#000; → color:#000;）*/
}

/* --- マーカー（強調） --- */
.marker {
  background: linear-gradient(transparent 60%, #ff6 60%);
}

.marker2 {
  background: linear-gradient(transparent 60%, #FFA500 60%);
}


/* ==========================================================================
   3) セキュリティ（reCAPTCHA バッジ制御）
   - 通常は非表示、該当ページIDでは表示
   ========================================================================== */

.grecaptcha-badge {
  display: none !important;
}

.page-id-687 .grecaptcha-badge {
  display: block !important;
}


/* ==========================================================================
   4) ページトップ（#d-pagetop）
   - 初期は非表示（JSでfadeIn）
   - ホバーステートでアイコン差し替え
   ========================================================================== */

#d-pagetop {
  display: none;
  position: fixed;
  bottom: 94px;
  right: 50px;
  font-size: 14px;
  line-height: 1;
  z-index: 99;
  animation: step01 6s ease-in-out infinite;
}

@keyframes step01 {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-6px, -10px) rotate(-0.5deg);
  }

  50% {
    transform: translate(0, 0);
  }

  75% {
    transform: translate(6px, -10px) rotate(0.5deg);
  }

  100% {
    transform: translate(0, 0);
  }
}

#d-pagetop a {
  color: #fff;
  width: 80px;
  padding: 28px 5px;
  text-align: center;
  display: block;
  border-radius: 90px;
  opacity: 0.9;
  transition: all .3s ease;
}

#d-pagetop a:hover {
  text-decoration: none;
  opacity: .5;
}

/* 通常時アイコン */
#d-pagetop a .totop-img {
  content: url("https://solab-works.com/wp/wp-content/uploads/2025/09/totop.svg");
}

/* hover時のアイコン差替え */
#d-pagetop a:hover .totop-img {
  content: url("https://solab-works.com/wp/wp-content/uploads/2025/09/totop2.svg");
}


/* ==========================================================================
   5) タブレット用ヒーロー動画（#tablet-header）
   - 768〜1024pxでPCヒーローを隠し、動画を表示
   ========================================================================== */

/* 初期は非表示（PC向け） */
#tablet-header {
  display: none;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

/* 埋め込んだ動画を全面に広げる */
#tablet-header video {
  position: absolute;
  inset: 0;
  /* top/right/bottom/left:0 の省略 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* トリミングしながらキャンバスをカバー */
}


/* ==========================================================================
  フローcss
   ========================================================================== */

/* .flow は solab.css で管理 */

.flow__title {
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 8px 0 24px;
  letter-spacing: .02em;
}

/* list */
/* .flow__list は solab.css で管理 */

/* .flow__item は solab.css で管理 */

/* inner card layout */
/* .flow-card は solab.css で管理 */

/* .flow-card__media は solab.css で管理 */

/* .flow-card__hd は solab.css で管理 */

/* .flow-card__badge は solab.css で管理 */

/* .flow-card__title は solab.css で管理 */

/* .flow-card__body は solab.css で管理 */

/* arrow between cards (desktop only, purely decorative) */
.flow__item+.flow__item {
  position: relative;
}

@media (min-width:960px) {
  .flow__item+.flow__item::before {
    content: "";
    position: absolute;
    left: calc(140px + 16px + 18px);
    /* media width + card padding + gap */
    top: -12px;
    width: 24px;
    height: 24px;
    border-left: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    transform: rotate(-45deg);
    background: #fff;
  }
}

/* ==========================================================================
  表一覧
   ========================================================================== */


/* 色・余白・タイポ設定（ブランドに合わせてここを微調整） */
:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #1f2937;
  /* 本文 */
  --muted: #6b7280;
  /* サブ */
  --line: #e5e7eb;
  /* 枠線 */
  --ring: #d1d5db;
  /* hover/フォーカス時の縁 */

  /* 各プランのアクセント（淡色ペール＋本文は濃色） */
  --lp: #22b8cf;
  /* LP: シアン */
  --lp-tint: #e6f7fb;

  --start: #3b82f6;
  /* スタート: ブルー */
  --start-tint: #eaf2fe;

  --simple: #f59e0b;
  /* シンプル: オレンジ */
  --simple-tint: #fff4de;

  --master: #10b981;
  /* マスター: グリーン */
  --master-tint: #e8fbf3;

  --perfect: #ec4899;
  /* パーフェクト: ピンク */
  --perfect-tint: #ffe9f4;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Hiragino Kaku Gothic ProN, Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ラッパーと注記 */
.pricing-wrap {
  max-width: 1120px;
  margin: 48px auto;
  padding: 0 20px;
}

.pricing-wrap h1 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: .01em;
}

.pricing-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* 横スクロール（テーブルを崩さずPCでも見やすい） */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.table-scroll:focus-within {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.table-scroll table {
  min-width: 860px;
}

/* 比較テーブル */
.pricing-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.pricing-matrix th,
.pricing-matrix td {
  padding: 16px 14px;
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

/* 項目名（最左列） */
.pricing-matrix .feat-label {
  text-align: left;
  font-weight: 700;
  color: #111827;
  background: #fafafa;
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--line);
}

/* 最下行のボーダー消し */
.pricing-matrix tr:last-child>* {
  border-bottom: 0;
}

/* 上部ヘッダ（プラン名＋サブ） */
.plan-head {
  width: 18%;
  background: #fff;
}

.plan-head .title {
  margin: 0 0 4px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 800;
  letter-spacing: .01em;
}

.plan-head .sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* 価格表示 */
.is-price {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: #111827;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.is-price .yen {
  font-size: .9em;
  color: var(--muted);
  margin-left: .2em;
}

/* チェック・ハイフン（アイコン非依存） */
.check {
  font-weight: 900;
  color: #10b981;
}

/* 既定は緑 */
.dash {
  color: var(--muted);
}

/* カラムごとのアクセント（列ヘッダと価格の軽い強調） */
.plan--lp .title {
  color: var(--lp);
}

.plan--start .title {
  color: var(--start);
}

.plan--simple .title {
  color: var(--simple);
}

.plan--master .title {
  color: var(--master);
}

.plan--perfect .title {
  color: var(--perfect);
}

/* ヘッダ行の淡い帯（列ごとに背景のニュアンス差分） */
thead th.plan--lp {
  background: linear-gradient(#fff, var(--lp-tint));
}

thead th.plan--start {
  background: linear-gradient(#fff, var(--start-tint));
}

thead th.plan--simple {
  background: linear-gradient(#fff, var(--simple-tint));
}

thead th.plan--master {
  background: linear-gradient(#fff, var(--master-tint));
}

thead th.plan--perfect {
  background: linear-gradient(#fff, var(--perfect-tint));
}

/* 価格行だけ、ほのかな下地で視線誘導 */
tbody tr:first-of-type td:nth-child(2) {
  background: var(--lp-tint);
}

tbody tr:first-of-type td:nth-child(3) {
  background: var(--start-tint);
}

tbody tr:first-of-type td:nth-child(4) {
  background: var(--simple-tint);
}

tbody tr:first-of-type td:nth-child(5) {
  background: var(--master-tint);
}

tbody tr:first-of-type td:nth-child(6) {
  background: var(--perfect-tint);
}

/* hover：薄い影と背景でセルを強調（PCのみ） */
@media (hover:hover) and (pointer:fine) {
  .pricing-matrix td:hover {
    background: #f9fafb;
  }
}

/* 角丸（スクロール容器に付与しているため控えめ） */
.pricing-matrix thead th:first-child {
  border-top-left-radius: 12px;
}

.pricing-matrix thead th:last-child {
  border-top-right-radius: 12px;
}

/* ======================================
   モバイルカード（560px未満で表示）
   ====================================== */
.card-stack {
  display: none;
}

@media (max-width: 560px) {
  .table-scroll {
    display: none;
  }

  .card-stack {
    display: grid;
    gap: 16px;
  }

  .plan-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 14px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  }

  .plan-card h3 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800;
  }

  /* 各カードの見出し色（列色と一致） */
  .plan-card[data-plan="lp"] h3 {
    color: var(--lp);
  }

  .plan-card[data-plan="start"] h3 {
    color: var(--start);
  }

  .plan-card[data-plan="simple"] h3 {
    color: var(--simple);
  }

  .plan-card[data-plan="master"] h3 {
    color: var(--master);
  }

  .plan-card[data-plan="perfect"] h3 {
    color: var(--perfect);
  }

  .plan-card p {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--muted);
  }

  .kv {
    font-size: 18px;
    font-weight: 800;
    margin: 4px 0 8px;
  }

  .kv .yen {
    font-size: .9em;
    color: var(--muted);
    margin-left: .2em;
  }

  .feat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
  }

  .feat-list li {
    display: grid;
    grid-template-columns: 9.5em 1fr;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
  }

  .feat-name {
    color: var(--muted);
    font-size: 12px;
  }

  .feat-val {
    text-align: right;
    font-size: 13px;
  }
}

/* ======================================
   細かな調整（読みやすさ・間延び抑止）
   ====================================== */
.pricing-matrix td,
.pricing-matrix th {
  line-height: 1.6;
}

.pricing-matrix tbody tr:nth-child(odd) td:not(:first-child) {
  /* 奇数行のごく薄い縞（最左列は除外） */
  background: color-mix(in oklab, #ffffff 94%, #000 6%);
}

.pricing-matrix tbody tr:nth-child(odd) .feat-label {
  background: #f7f7f7;
}

/* キーボードフォーカス見失い防止 */
.table-scroll:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

/* ===== 列数に応じた幅の最適化（間延び防止） ===== */
/* 3列：項目20%／各プラン 26.666% */
.pricing-matrix.is-cols-3 .feat-label {
  width: 20%;
}

.pricing-matrix.is-cols-3 .plan-head {
  width: calc((100% - 20%) / 3);
}

/* 4列：項目18%／各プラン 20.5% */
.pricing-matrix.is-cols-4 .feat-label {
  width: 18%;
}

.pricing-matrix.is-cols-4 .plan-head {
  width: calc((100% - 18%) / 4);
}

/* 5列（必要なら明示） */
.pricing-matrix.is-cols-5 .feat-label {
  width: 16%;
}

.pricing-matrix.is-cols-5 .plan-head {
  width: calc((100% - 16%) / 5);
}


/* 2列（料金＋備考）に最適化 */
.pricing-matrix.is-cols-2 .feat-label {
  width: 28%;
}

.pricing-matrix.is-cols-2 .plan-head {
  width: calc((100% - 28%) / 2);
}

/* 価格行の淡色ハイライト（列2つに合わせる） */
.pricing-matrix.is-cols-2 tbody tr:first-of-type td {
  background: transparent;
}

.pricing-matrix.is-cols-2 tbody tr:first-of-type td:nth-child(2) {
  background: var(--lp-tint);
}

.pricing-matrix.is-cols-2 tbody tr:first-of-type td:nth-child(3) {
  background: var(--start-tint);
}

/* ===== 価格行（1行目）の淡色ハイライトも列数に合わせて上書き ===== */
.pricing-matrix.is-cols-3 tbody tr:first-of-type td {
  background: transparent;
}

.pricing-matrix.is-cols-3 tbody tr:first-of-type td:nth-child(2) {
  background: var(--lp-tint);
}

.pricing-matrix.is-cols-3 tbody tr:first-of-type td:nth-child(3) {
  background: var(--start-tint);
}

.pricing-matrix.is-cols-3 tbody tr:first-of-type td:nth-child(4) {
  background: var(--simple-tint);
}

.pricing-matrix.is-cols-4 tbody tr:first-of-type td {
  background: transparent;
}

.pricing-matrix.is-cols-4 tbody tr:first-of-type td:nth-child(2) {
  background: var(--lp-tint);
}

.pricing-matrix.is-cols-4 tbody tr:first-of-type td:nth-child(3) {
  background: var(--start-tint);
}

.pricing-matrix.is-cols-4 tbody tr:first-of-type td:nth-child(4) {
  background: var(--simple-tint);
}

.pricing-matrix.is-cols-4 tbody tr:first-of-type td:nth-child(5) {
  background: var(--master-tint);

}

:is(.tcdce-body, .editor-styles-wrapper) :is(th, td) {

  border: none;
}

/* ==========================================================================
   5.5) コンテンツビルダー背景グラデーション
   ========================================================================== */

#js-contents-builder {
  background: linear-gradient(to bottom, #67ccfb, #fff 10%);
  position: relative;
}

/* CMSで追記された飾り画像の親要素を絶対配置で中央寄せ */
#js-contents-builder .tcdce-body:has(.solab_cross) {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 10;
  pointer-events: none;
}

.solab_sora,
.solab_cross,
.solab_square {
  margin: 0 !important;
  line-height: 1;
}


.solab_sora img {
  height: 100px;
  width: auto;
  display: block;
}

.solab_cross img,
.solab_square img {
  height: 80px;
  width: auto;
  display: block;
}

/* --- Entrance Animations --- */
.solab_sora img,
.solab_cross img,
.solab_square img {
  opacity: 0;
  /* JSで.is-visibleが付くまで非表示 */
}

/* 1. Sora: 山を描くような動き (X軸とY軸を分離して滑らかな曲線を実現) */
/* X軸: 左外から定位置へ */
@keyframes soraX {
  0% {
    transform: translateX(-120vw);
  }

  100% {
    transform: translateX(0);
  }
}

/* Y軸: 下からグッと上がって(ヒーローヘッダー内へ)、定位置に降りる */
@keyframes soraY {
  0% {
    opacity: 0;
    transform: translateY(50vh);
  }

  40% {
    opacity: 1;
    transform: translateY(-270px);
    /* ヒーローヘッダー領域まで上昇 (距離を調整) */
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 親要素で横移動 */
.solab_sora.is-visible {
  animation: soraX 3.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 子画像で縦移動 */
.solab_sora.is-visible img {
  animation: soraY 3.0s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

/* 2. Cross: 右外からIN (Delayあり: Sora 3.0s 完了後) */
@keyframes rightEntrance {
  0% {
    opacity: 0;
    transform: translateX(50vw);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.solab_cross.is-visible img {
  animation: rightEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) 3.0s forwards;
}

/* 3. Square: 透明から現れる (Fade In: Cross完了後 4.2s~) */
@keyframes simpleFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.solab_square.is-visible img {
  animation: simpleFadeIn 1.5s ease-out 4.2s forwards;
}

.p-content01 {
  padding: 250px 0 91.6px;
  text-align: center;
}

/* ==========================================================================
   6) レスポンシブその他
   ========================================================================== */

/* タブレットのみメインビジュアルを切替 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #js-hero-header {
    display: none !important;
  }

  /* PCヒーローを隠す */
  #tablet-header {
    display: block;
  }

  /* タブレット動画を出す */
  #tablet-header {
    height: 480px;
  }
}



/* 991px以下はページトップ隠す（JS出し分けと二重管理なら調整可） */
@media (max-width: 991px) {
  #d-pagetop {
    display: none;
  }
}

/* responsive */
@media (max-width:719px) {
  .flow-card {
    grid-template-columns: 1fr;
  }

  .flow-card__media {
    order: -1
  }

  /* コンテンツビルダー画像をスマホで小さく */
  .solab_sora img {
    height: 50px;
  }

  .solab_cross img,
  .solab_square img {
    height: 40px;
  }

  /* 間隔も詰める */
  #js-contents-builder .tcdce-body:has(.solab_cross) {
    gap: 10px;
  }

  .p-content01 {
    padding: 200px 0 91.6px;
  }
}

/* ==========================================================================
   6) フッター連動アニメーションアイコン (.solab_top)
   - フッターが表示されたら透明から表示100%になる（フェードイン）
   - ふわふわ動く
   ========================================================================== */
.solab_top {
  position: fixed;
  bottom: 100px;
  right: 60px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 1.0s ease;
  pointer-events: auto;
  /* クリック可能にする */
}

.solab_top.is-visible {
  opacity: 1;
  pointer-events: auto;
}



.solab_top img {
  width: 100px;
  height: auto;
  display: block;
  /* ふわふわアニメーション */
  animation: solabFloat 3s ease-in-out infinite;
}

@keyframes solabFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* 991px以下は表示しない */
@media (max-width: 991px) {
  .solab_top {
    display: none !important;
  }
}

/* ==========================================================================
   7) コンテンツリンクボタン (#web-content, #dtp-content)
   - 横並び配置
   - Solabスタイルのかっこいいボタン化
   ========================================================================== */

/* 親コンテナ相当のスタイル（もし親要素があればflex推奨だが、今回は個別指定で横並びにする） */
#web-content,
#dtp-content {
  display: inline-block;
  width: 48%;
  /* 横並びのため */
  margin: 0;
  vertical-align: top;
  box-sizing: border-box;
}

#web-content {
  margin-right: 2%;
  /* 間隔 */
}

/* ボタン本体のスタイル */
#web-content a,
#dtp-content a {
  display: block;
  position: relative;
  width: 100%;
  padding: 20px 10px;
  background: #004353;
  /* Solab Primary Color */
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  /* 角丸（ピル形状） */
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* 軽い影で浮かせる */
  line-height: 1.4;
}

/* ホバーエフェクト */
#web-content a:hover,
#dtp-content a:hover {
  background: #222;
  /* Secondary Color */
  transform: translateY(-2px);
  /* 少し浮く */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  opacity: 1;
  /* 透明度は変えず色変化で */
}

/* アイコン装飾（擬似要素で矢印などを追加しても良いが、今回はシンプルにかっこよく） */
#web-content a::after,
#dtp-content a::after {
  content: '\f054';
  /* FontAwesome angle-right (もし読み込まれていれば) */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.8;
}

/* スマホ対応：縦積み */
@media (max-width: 767px) {

  #web-content,
  #dtp-content {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   lablog h2 左寄せ (修正版)
   ========================================================================== */
body.page-lablog h2,
.page-lablog .p-entry__body h2,
.page-lablog h2 {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
}