/* ============================================================
   top.css - Pivory株式会社 フロントページ専用スタイル（SWELL子テーマ）
   構造: <section class="pv-section pv-{name}"> > <div class="pv-inner">
   中央寄せ: min(100% - 40px, 1100px) + margin-inline: auto のみ
   禁止: vw / 100vw / calc(-50vw+50%) / position:absolute センタリング
   ============================================================ */

/* ============================================================
   0. SWELLの本文エリア制限をフルワイドに解放
      + overflow: visible で position:sticky を妨げない
   ============================================================ */
.home .l-mainContent,
.home .l-mainContent__inner,
.home .l-article__inner,
.home .p-article__body,
.home .post_content,
.home .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* ============================================================
   position:sticky を阻害する全先祖要素の overflow を力技で解放
   ============================================================ */
html,
body,
#body_wrap,
#l-container,
#content,
#l-main,
main,
.l-mainContent,
.l-mainContent__inner {
  overflow:    visible !important;
  height:      auto    !important;
}

/* 横スクロール防止: clip は sticky を壊さない唯一の方法 */
html,
body {
  overflow-x: clip !important;
}

.home #content.l-container,
.home #content.l-container > main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.home .l-mainContent {
  padding-top: 0 !important;
}

/* ============================================================
   1. CSS カスタムプロパティ
   ============================================================ */
:root {
  --pv-color-main:      #00CDD2;
  --pv-color-main-dark: #0090A8;
  --pv-color-sub:       #E0F7FA;
  --pv-color-accent:    #E05A00;
  --pv-color-base:      #FFFFFF;
  --pv-color-text:      #1a1a2e;
  --pv-color-text-muted:#666;
  --pv-color-bg-light:  #f9fafb;
  --pv-gradient-main:   linear-gradient(135deg, #00CDD2 0%, #0082A8 100%);
  --pv-font-sans: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  --pv-font: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
}

/* Inter / Outfit をGoogle Fontsから追加取得 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

/* ============================================================
   SWELL標準ヘッダーを非表示（カスタムヘッダーで代替）
   ============================================================ */
.home #header,
.home .l-header,
.home .p-fixHeader,
.home .l-header__inner {
  display: none !important;
}

/* スクロール検知用トリガー（1px・不可視・sticky非依存） */
#pv-scroll-trigger {
  position:   absolute;
  top:        0;
  left:       0;
  width:      1px;
  height:     1px;
  visibility: hidden;
  pointer-events: none;
}

/* ============================================================
   カスタムヘッダー
   ============================================================ */
.pv-custom-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  z-index: 9999;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  will-change: transform, top, width, border-radius;
  /* transition: all で全プロパティを一括管理（Magic Hat 準拠） */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* .is-scrolled: カプセル → バー への変身
   left: 50% と transform: translateX(-50%) を確実に 0 で上書き */
.pv-custom-header.is-scrolled {
  top:           0                           !important;
  left:          0                           !important;
  transform:     translateX(0)               !important;
  width:         100%                        !important;
  max-width:     100%                        !important;
  border-radius: 0                           !important;
  background:    rgba(255, 255, 255, 0.98)   !important;
  box-shadow:    0 2px 16px rgba(0,0,0,0.10) !important;
}

.pv-custom-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 14px 28px;
}

.pv-custom-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.pv-custom-header__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.pv-custom-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.pv-custom-header__nav-link {
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  transition: opacity 0.25s;
}

/* 上部ライン：左から右へスライドイン */
.pv-custom-header__nav-link::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--pv-color-main);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pv-custom-header__nav-link:hover {
  opacity: 0.55;
  text-decoration: none;
}

.pv-custom-header__nav-link:hover::before {
  transform: scaleX(1);
}

/* お問い合わせボタン（黒カプセル） */
.pv-custom-header__cta {
  flex-shrink: 0;
  display: inline-block;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--pv-color-main);
  border: 1.5px solid var(--pv-color-main);
  padding: 7px 24px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.pv-custom-header__cta:hover {
  background-color: #ffffff;
  color: var(--pv-color-main);
  transform: translateY(-1px);
  text-decoration: none;
  color: #ffffff;
}

/* ハンバーガーボタン（SP用、PCでは非表示） */
.pv-custom-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.pv-custom-header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1a1a2e;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* ハンバーガー → ✕ */
.pv-custom-header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.pv-custom-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.pv-custom-header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SP時のナビ */
@media (max-width: 767px) {
  .pv-custom-header {
    position: absolute;
    top: 12px;
  }

  .pv-custom-header.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(0);
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .pv-custom-header__inner {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 0;
  }

  .pv-custom-header__logo {
    flex: 1;
  }

  /* hamburger を __right より前の行に固定（DOM順は __right → hamburger なので order で逆転） */
  .pv-custom-header__hamburger {
    display: flex;
    order: 2;
  }

  /* ドロワーロゴ：SPのみ表示 */
  .pv-custom-header__drawer-logo {
    display: block;
    padding: 12px 4px 16px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    margin-bottom: 4px;
  }

  /* __right はSPでは非表示→is-openで縦並びドロワーとして展開 */
  .pv-custom-header__right {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-left: 0;
    padding: 8px 0;
    order: 3;
  }

  .pv-custom-header__right.is-open {
    display: flex;
  }

  .pv-custom-header__right .pv-custom-header__cta {
    display: inline-block;
    margin-top: 8px;
  }

  .pv-custom-header__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-left: 0;
  }

  .pv-custom-header__nav-link {
    padding: 12px 4px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
}

/* ============================================================
   Hero entrance / float keyframes
   ============================================================ */
@keyframes pvSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   2. セクション共通ベース
   ============================================================ */
.pv-section {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--pv-font);
}

/* 幅制御は pv-inner だけで行う */
.pv-inner {
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
  box-sizing: border-box;
}

/* ============================================================
   3. 共通テキスト要素
   ============================================================ */

/* 英語ラベル：背景に溶け込むテクスチャとして */
.pv-label {
  display: block;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.28em;
  color: rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  margin: 0 0 14px 0;
  padding: 0;
}

.pv-heading {
  display: block;
  font-family: var(--pv-font);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--pv-color-text);
  margin: 0 0 28px 0;
  padding: 0;
}

.pv-body {
  display: block;
  font-family: var(--pv-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 2.0;
  color: var(--pv-color-text-muted);
  margin: 0;
  padding: 0;
}

/* Hero を除く全セクション: Hero より前面に重なる（カーテンエフェクト維持）
   背景が透明だと Hero が透けるため不透明に塗り固める */
.pv-section:not(.pv-hero) {
  position: relative;
  z-index: 10;
}

/* セクション中央ヘッダー（Business で使用） */
.pv-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.pv-section-header .pv-heading {
  margin-bottom: 0;
}

/* ============================================================
   4. ボタン
   ============================================================ */
.pv-btn {
  display: inline-block;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  padding: 16px 40px;
  margin: 0;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.4s ease, color 0.4s ease,
              border-color 0.4s ease, transform 0.35s ease,
              box-shadow 0.4s ease, opacity 0.4s ease;
}

.pv-btn--primary {
  background-color: var(--pv-color-main);
  color: var(--pv-color-base);
  border-color: var(--pv-color-main);
}
.pv-btn--primary:hover {
  background-color: var(--pv-color-base);
  border-color: var(--pv-color-main);
  color: var(--pv-color-main);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 150, 168, 0.28);
  text-decoration: none;
}

.pv-btn--outline {
  background-color: transparent;
  color: var(--pv-color-main);
  border-color: var(--pv-color-main);
}
.pv-btn--outline:hover {
  background-color: var(--pv-color-main);
  color: var(--pv-color-base);
  border-color: var(--pv-color-main);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 150, 168, 0.2);
  text-decoration: none;
}

.pv-btn--white {
  background-color: var(--pv-color-base);
  color: var(--pv-color-main);
  border-color: var(--pv-color-base);
}
.pv-btn--white:hover {
  background-color: var(--pv-color-sub);
  border-color: var(--pv-color-sub);
  color: var(--pv-color-main-dark);
  transform: translateY(-3px) scale(1.02);
  text-decoration: none;
}

.pv-btn--accent {
  background-color: var(--pv-color-accent);
  color: var(--pv-color-base);
  border-color: transparent;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(224, 90, 0, 0.22);
}
.pv-btn--accent:hover {
  background-color: #FF6D00;
  border-color: transparent;
  color: var(--pv-color-base);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 109, 0, 0.38);
  text-decoration: none;
}

.pv-btn--lg {
  padding: 20px 56px;
  font-size: 16px;
}

.pv-btn:focus-visible {
  outline: 3px solid var(--pv-color-main);
  outline-offset: 3px;
}

/* ============================================================
   5. フェードインアニメーション（0.8s、より深く沈む開始位置）
   ============================================================ */
.pv-fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.pv-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 子要素へのスタガー（連続登場） */
.pv-fade-in:nth-child(2) { transition-delay: 0.1s; }
.pv-fade-in:nth-child(3) { transition-delay: 0.2s; }
.pv-fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   6. Hero（メッシュグラデーション MV）
   ============================================================ */
.pv-section.pv-hero {
  position:        sticky         !important;
  top:             0              !important;
  z-index:         1              !important;
  height:          100vh          !important;
  overflow:        hidden         !important;
  background-size:     cover;
  background-position: center;
  background-color:    #0d1b2a;
  display:         flex           !important;
  flex-direction:  column         !important;
  align-items:     center;
  justify-content: center         !important;
  text-align:      left;
  border-radius:   0 0 50px 50px;
  will-change:     transform;
}

/* 暗いグラデーションオーバーレイ */
.pv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}


.pv-hero > .pv-inner {
  padding-top: 120px;
  padding-bottom: 120px;
  margin-top: 0 !important;
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.pv-hero-text {
  max-width: 760px;
  font-family: var(--pv-font);
}

.pv-hero-title {
  display: block;
  font-family: var(--pv-font);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 32px 0;
  padding-left: 2.5rem;
  text-align: center;
  animation: pvSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

.pv-accent {
  display: inline-block; /* transform有効化 */
  color: var(--pv-color-main);
  animation: pvSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.45s;
}

.pv-hero-sub {
  display: block;
  font-family: var(--pv-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 2.0;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  padding: 0;
  text-align: center;
  animation: pvSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.65s;
}

/* ============================================================
   7. About（白背景）
   ============================================================ */
.pv-section.pv-about {
  position:         relative !important;
  z-index:          100      !important;
  background:       #ffffff  !important;
  margin-top:       0        !important;
  border-radius:    50px 50px 0 0;
}

.pv-about > .pv-inner {
  padding-top: 130px;
  padding-bottom: 130px;
}

.pv-about-columns {
  display: flex;
  align-items: center;
  gap: 72px;
  width: 100%;
}

.pv-about-image {
  flex: 1;
  min-width: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.07);
}

.pv-about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.pv-about-text {
  flex: 1;
  min-width: 0;
  font-family: var(--pv-font);
}

.pv-about-text .pv-body {
  margin-bottom: 36px;
}

/* ============================================================
   8. Business（薄いグレー背景 → 浮遊感カード）
   ============================================================ */
.pv-section.pv-business {
  background-color: var(--pv-color-bg-light);
}

.pv-business > .pv-inner {
  padding-top: 130px;
  padding-bottom: 130px;
}

.pv-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.pv-card {
  background-color: var(--pv-color-base);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--pv-font);
}


.pv-card__image {
  overflow: hidden;
}

.pv-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.pv-card__body {
  padding: 32px 36px 36px;
}

.pv-card__tag {
  display: inline-block;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: var(--pv-color-main);
  color: var(--pv-color-base);
  padding: 5px 14px;
  border-radius: 20px;
  margin: 0 0 14px 0;
}

.pv-card__title {
  display: block;
  font-family: var(--pv-font);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--pv-color-text);
  margin: 0 0 12px 0;
  padding: 0;
}

.pv-card__desc {
  display: block;
  font-family: var(--pv-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--pv-color-text-muted);
  margin: 0 0 28px 0;
  padding: 0;
}

/* ============================================================
   9. News（白背景）
   ============================================================ */
.pv-section.pv-news {
  background-color: var(--pv-color-base);
}

.pv-news > .pv-inner {
  padding-top: 110px;
  padding-bottom: 110px;
}

.pv-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.pv-news-heading-group .pv-heading {
  margin-bottom: 0;
}

.pv-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--pv-color-main);
  border-bottom: 1px solid var(--pv-color-main);
  padding: 0 0 3px 0;
  margin: 0;
  text-decoration: none;
  transition: opacity 0.3s, gap 0.3s;
}

.pv-more-link:hover {
  opacity: 0.7;
  gap: 12px;
  text-decoration: none;
}

/* PC表示のみ（SPでは非表示） */
.pv-news-more-pc {
  display: inline-flex;
}

/* SP表示のみ（PCでは非表示） */
.pv-news-footer {
  display: none;
}

.pv-news-list {
  border-top: 1px solid #EBEBEB;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv-news-item {
  border-bottom: 1px solid #EBEBEB;
  transition: background-color 0.3s;
  margin: 0;
  padding: 0;
}

.pv-news-item:hover {
  background-color: rgba(0, 205, 210, 0.03);
}

.pv-news-link {
  display: flex;
  align-items: center;
  gap: 24px;
  row-gap: 8px;
  padding: 26px 0;
  margin: 0;
  flex-wrap: wrap;
  text-decoration: none;
  transition: opacity 0.3s;
  font-family: var(--pv-font);
}

.pv-news-link:hover {
  opacity: 1;
  text-decoration: none;
}

.pv-news-date {
  display: inline-block;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  letter-spacing: 0.04em;
}

.pv-news-tag {
  display: inline-block;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--pv-color-main-dark);
  background-color: var(--pv-color-sub);
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
}

.pv-news-title {
  display: inline;
  font-family: var(--pv-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--pv-color-text);
  flex: 1;
  margin: 0;
  padding: 0;
  transition: color 0.3s;
}

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

/* ============================================================
   10. Recruit（スプリットレイアウト・ホワイト基調）
   ============================================================ */
.pv-section.pv-recruit {
  background-color: #3C475C;
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* 背景の大文字テクスチャ */
.pv-recruit-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.pv-recruit > .pv-inner {
  padding-top: 130px;
  padding-bottom: 130px;
  position: relative;
  z-index: 1;
}

.pv-recruit-text {
  max-width: 840px;
}

.pv-recruit-body-row {
  display: flex;
  align-items: flex-end;
  gap: 48px;
}

.pv-recruit-body-row .pv-recruit-body {
  flex: 1;
  margin-bottom: 0;
}

.pv-recruit .pv-label {
  color: rgba(255, 255, 255, 0.5);
}

.pv-recruit .pv-heading {
  color: #ffffff;
  margin-bottom: 20px;
}

/* キャッチコピー（大きく・太く） */
.pv-recruit-catch {
  display: block;
  font-family: var(--pv-font);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 28px 0;
  padding: 0;
}

.pv-recruit-body {
  display: block;
  font-family: var(--pv-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 2.0;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 40px 0;
  padding: 0;
}

/* Recruitボタン：左から塗りつぶされるホバー */
.pv-btn--recruit {
  display: inline-block;
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 16px 40px;
  border: 2px solid var(--pv-color-main);
  border-radius: 6px;
  background-color: transparent;
  color: var(--pv-color-main);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s ease, box-shadow 0.4s ease;
}

.pv-btn--recruit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--pv-color-main);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.pv-btn--recruit:hover {
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 205, 210, 0.3);
}

.pv-btn--recruit:hover::before {
  transform: scaleX(1);
}


/* ============================================================
   12. SP折り返し防止用クラス
   ============================================================ */
.pv-br-pc { display: inline; }
.pv-br-sp { display: none; }

/* ============================================================
   13. レスポンシブ：タブレット（〜1199px）
   ============================================================ */
@media (max-width: 1199px) {
  .pv-hero-columns {
    gap: 48px;
  }

  .pv-about-columns {
    gap: 48px;
  }

  .pv-card-grid {
    gap: 28px;
  }

  .pv-hero-title {
    font-size: 50px;
  }

  .pv-heading {
    font-size: 36px;
  }
}

/* ============================================================
   14. レスポンシブ：スマートフォン（〜767px）
   ============================================================ */
@media (max-width: 767px) {

  .pv-heading {
    font-size: 30px;
  }

  /* Hero SP */
  .pv-section.pv-hero {
    min-height: 100svh;
    align-items: center;
  }

  .pv-hero > .pv-inner {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pv-hero-image {
    border-radius: 14px;
  }

  .pv-hero-title {
    font-size: 36px;
  }

  .pv-hero-sub {
    font-size: 15px;
  }

  .pv-br-pc { display: none; }
  .pv-br-sp { display: inline; }

  /* About SP */
  .pv-about > .pv-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .pv-about-columns {
    flex-direction: column;
    gap: 36px;
  }

  .pv-about-image,
  .pv-about-text {
    flex: none;
    width: 100%;
  }

  /* Business SP */
  .pv-business > .pv-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .pv-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* News SP */
  .pv-news > .pv-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .pv-news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 36px;
  }

  .pv-news-more-pc {
    display: none;
  }

  .pv-news-footer {
    display: block;
    text-align: center;
    margin-top: 36px;
  }

  .pv-news-link {
    gap: 12px;
    padding: 20px 0;
  }

  .pv-news-title {
    flex-basis: 100%;
  }

  /* Recruit SP */
  .pv-recruit > .pv-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .pv-recruit-catch {
    font-size: 24px;
  }

  .pv-recruit-body br {
    display: none;
  }

}

/* ============================================================
   コンタクトカードセクション（採用直下）
   ============================================================ */
.pv-section.pv-contact-card-section {
  background-color: #fafafa;
}

.pv-contact-card-section > .pv-inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ============================================================
   LayerX風コンタクトカード（lx-style-）
   使い方: SWELLの固定ページ・カスタムHTMLウィジェットに
           下記HTMLを貼り付けて使用してください。
   ============================================================ */

.lx-style-contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 48px 56px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1),
              box-shadow 0.45s cubic-bezier(0.33, 1, 0.68, 1);
  cursor: pointer;
}

.lx-style-contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.10);
  text-decoration: none;
}

.lx-style-contact-left {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  transition: opacity 0.4s ease;
}

.lx-style-contact-title {
  font-family: var(--pv-font);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1a1a2e;
}

.lx-style-contact-sub {
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #666666;
}

.lx-style-contact-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: 40px;
}

.lx-style-contact-cta-text {
  font-family: PPMori-SemiBold, TazuganeGothicStdN-Bold, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

/* サークルアイコン */
.lx-style-circle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: none;
  color: #1a1a2e;
}

/* 枠線SVG：絶対配置でボタン全体を覆う */
.lx-style-circle-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* 12時の位置からスタート */
}

/* ベース枠線（常に表示） */
.lx-style-circle-svg circle:first-child {
  /* グレーのベース線はそのまま */
}

/* アニメーション用ターコイズ枠線 */
.lx-style-circle-progress {
  stroke-dasharray: 150.8;  /* 2π × 24 */
  stroke-dashoffset: 150.8; /* 初期: 非表示 */
  transition: stroke-dashoffset 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

/* 矢印アイコン */
.lx-style-arrow-svg {
  position: relative;
  z-index: 1;
  color: var(--pv-color-main);
}

/* ホバー: ターコイズ枠線を描画 */
.lx-style-contact-card:hover .lx-style-circle-progress,
.pv-card:hover .lx-style-circle-progress,
.lx-style-recruit-btn:hover .lx-style-circle-progress {
  stroke-dashoffset: 0;
}

/* カードホバー: 浮上 */
.pv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* カードホバー: ボタンテキストもじわっと薄く */
.pv-card:hover .lx-style-contact-cta-text {
  opacity: 0.65;
}

/* ホバー: 文字をじわっと薄く */
.lx-style-contact-card:hover .lx-style-contact-left,
.lx-style-contact-card:hover .lx-style-contact-cta-text {
  opacity: 0.65;
}

/* 採用セクション：サークルボタンリンク */
.lx-style-recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

/* 採用セクション内：テキスト・アイコンをすべて白 */
.pv-recruit .lx-style-contact-cta-text {
  color: #ffffff;
}

.pv-recruit .lx-style-circle-btn {
  color: #ffffff;
}

.pv-recruit .lx-style-arrow-svg {
  color: #ffffff;
}


/* SP対応 */
@media (max-width: 767px) {
  .lx-style-contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    padding: 36px 28px;
  }

  .lx-style-contact-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .lx-style-contact-title {
    font-size: 30px;
  }

  .lx-style-contact-right {
    margin-left: 0;
  }

  /* タップ時（active擬似クラスで代替） */
  .lx-style-contact-card:active .lx-style-circle-progress {
    stroke-dashoffset: 0;
  }
}

/* ============================================================
   強制上書き：SWELL標準ヘッダー完全消去 ＋ カスタムヘッダー最前面固定
   ============================================================ */

/* SWELL標準ヘッダーを完全消去 */
body #header,
body .l-header,
body .p-fixHeader,
body .l-header__inner,
body #siteHeader,
body .site-header {
  display: none !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ===== PC（960px以上）：カスタムヘッダー ===== */
@media (min-width: 960px) {
  .pv-custom-header {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95% !important;
    max-width: 1200px !important;
    z-index: 99999 !important;
    background: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 100px !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  }
  .pv-custom-header.is-scrolled {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10) !important;
  }
}

/* ===== モバイル（959px以下）：カスタムヘッダー ===== */
@media (max-width: 959px) {
  .pv-custom-header {
    position: absolute !important;
    top: 12px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 94% !important;
    max-width: 100% !important;
    border-radius: 28px !important;
    background: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
    z-index: 99999 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  }
  .pv-custom-header.is-scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    z-index: 99999 !important;
  }
}

/* 内部レイアウト */
.pv-custom-header__inner {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 14px 28px !important;
}

/* ドロワーロゴ：PCでは非表示 */
.pv-custom-header__drawer-logo {
  display: none;
}

/* スペーサー：ロゴとメニューの間を広げる */
.pv-header-spacer {
  flex-grow: 1 !important;
}

/* nav＋CTAのラッパー */
.pv-custom-header__right {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  margin-left: 0 !important;
  flex-shrink: 0 !important;
}

/* SP：ハンバーガーを右端に固定 */
@media (max-width: 767px) {
  .pv-custom-header__right {
    display: none !important;
  }
  .pv-custom-header__right.is-open {
    display: flex !important;
  }
  .pv-custom-header__hamburger {
    margin-left: auto !important;
  }
}

/* お問い合わせボタン（ターコイズカプセル） */
.pv-custom-header__cta {
  background: #00CDD2 !important;
  color: #ffffff !important;
  border: 1.5px solid #00CDD2 !important;
  border-radius: 100px !important;
  padding: 7px 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: background-color 0.25s ease, color 0.25s ease !important;
}

.pv-custom-header__cta:hover {
  background: #ffffff !important;
  color: #00CDD2 !important;
}

/* Hero：下角丸 ＋ 暗いオーバーレイ */
.pv-section.pv-hero {
  border-radius: 0 0 60px 60px !important;
  overflow: hidden !important;
}

.pv-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.55) 100%
  ) !important;
  border-radius: 0 0 60px 60px !important;
}

/* ============================================================
   SWELL標準フッターを非表示・余白消去
   ============================================================ */
body #footer,
body .l-footer,
body .p-footer,
body .l-footer__inner {
  display: none !important;
}

body,
html,
.l-wrap,
.l-body,
#page,
#wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ============================================================
   カスタムフッター
   ============================================================ */
.pv-footer {
  background-color: #ffffff;
  color: #1a1a2e;
  padding: 0 0 0;
  font-family: var(--pv-font);
}

.pv-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pv-footer__logo img {
  height: 36px;
  width: auto;
  filter: none;   /* 白背景なのでロゴ色をそのまま表示 */
  opacity: 1;
}

.pv-footer__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.pv-footer__nav-link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.65);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.pv-footer__nav-link:hover {
  color: rgba(26, 26, 46, 0.35);
  text-decoration: none;
}


.pv-footer__bottom {
  text-align: center;
  padding: 20px 40px;
}

.pv-footer__copy {
  font-size: 12px;
  color: rgba(26, 26, 46, 0.4);
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .pv-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-inline: 24px;
    padding-bottom: 32px;
  }

  .pv-footer__nav {
    flex-wrap: wrap;
    gap: 20px 28px;
  }

  .pv-footer__bottom {
    padding: 16px 24px;
    text-align: left;
  }
}

/* ============================================================
   フッター下余白・SWELL残余要素の完全消去
   ============================================================ */

/* SWELL固有の最下部要素 */
body .c-copyright,
body .p-footerContent,
body .c-foot,
body #wp-footer,
body .p-fixBtn {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* コンテンツ領域の余白リセット */
#l-content { min-height: auto !important; }
#l-main    { padding-bottom: 0 !important; margin-bottom: 0 !important; }

/* 最終セクションのマージンリセット */
body main > section:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 管理バーの余白・表示リセット */
html { margin-top: 0 !important; }
#wpadminbar { display: none !important; }

/* ============================================================
   フッター下余白 追加消去（SWELL残余要素）
   ============================================================ */

/* コピーライト・最下部エリア */
body .l-footer__copy,
body .c-copyright,
body .p-footerContent,
body .c-foot {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* ページトップへ戻るボタン・下部固定バー */
body .c-pageTop,
body .p-fixBtn,
body .p-fixNav {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}

/* コンテナ全体の余白ゼロ化 */
#body_wrap,
#l-container,
#page,
#l-main,
.l-wrap {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* 最終セクションの突き抜け防止 */
body main > section:last-child,
body main > section:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* html/body の高さ固定
   overflow-x: clip を使用（hidden は position:sticky を破壊するため） */
html, body {
  overflow-x: clip;
  height: auto !important;
}

/* bodyの背景色：トップページのみ濃色（カーテンパララックス保険）*/
#body_wrap.home { background-color: #1a1a2e !important; }

/* トップページ：SWELLのCSS変数を 0 に上書き（ヘッダー高さ予約ロジックの無効化） */
html.home {
  --swl-headerH:  0px !important;
  --swl-offset_y: 0px !important;
}

/* トップページ：#body_wrap の padding-top を二重定義で確実に封殺 */
.home #body_wrap {
  padding-top: 0 !important;
  padding-top: 0px !important;
  margin-top:  0px !important;
}

/* トップページ：y=0 固定 — margin崩壊・管理バー・SWELLヘッダー余白をすべて封じる */
html:has(#body_wrap.home),
#body_wrap.home,
#body_wrap.home #body_wrap,
#body_wrap.home #l-container,
#body_wrap.home #l-wrap,
#body_wrap.home #content,
#body_wrap.home #l-main,
#body_wrap.home main,
#body_wrap.home .l-mainContent,
#body_wrap.home .l-mainContent__inner {
  padding-top: 0 !important;
  margin-top:  0 !important;
  border-top:  none !important;
}

/* 固定ページ（トップ以外）は白背景・濃色テキスト */
#body_wrap:not(.home),
#body_wrap:not(.home) #body_wrap,
#body_wrap:not(.home) #l-main,
#body_wrap:not(.home) .l-mainContent {
  background-color: #ffffff !important;
  color: #1a1a1c !important;
}

/* 採用セクションは常に #3C475C を維持（最優先） */
#body_wrap:not(.home) .pv-section.pv-recruit {
  background-color: #3C475C !important;
}

/* ページトップボタン・SWELL固定UI の完全抹消 */
.c-pageTop,
.p-fixBtn,
.p-fixNav,
#wp-footer {
  display:    none    !important;
  height:     0       !important;
  visibility: hidden  !important;
  margin:     0       !important;
  padding:    0       !important;
}

body       { padding-bottom: 0 !important; margin-bottom: 0 !important; }
#body_wrap { padding-bottom: 0 !important; }


/* ============================================================
   SWELLのJS動的余白・高さ計算リセット
   ============================================================ */
body {
  padding-bottom: 0 !important;
  margin-bottom:  0 !important;
  height:         auto !important;
  min-height:     0 !important;
}

html {
  height:        auto !important;
  margin-bottom: 0 !important;
}

#body_wrap,
#l-container,
#l-main,
.l-wrap {
  padding-bottom: 0 !important;
  margin-bottom:  0 !important;
  height:         auto !important;
}

/* ============================================================
   body直下の隠れ要素を抹消（カスタム要素・mainは除外）
   ============================================================ */
body > *:not(.pv-custom-header):not(.pv-footer):not(#pv-scroll-trigger):not(main):not(#body_wrap):not(script):not(style) {
  display:    none   !important;
  height:     0      !important;
  overflow:   hidden !important;
}

/* ============================================================
   真犯人: ページトップボタン (.c-fixBtn.c-plainBtn.hov-bg-main) の
   予約領域を物理的に 0px にして完全削除
   ※ .hov-bg-main は SWELL 汎用クラスのため compound selector で限定
   ============================================================ */
.c-fixBtn,
.c-pageTop,
.p-fixBtn,
.c-fixBtn.c-plainBtn,
.c-fixBtn.hov-bg-main,
.c-fixBtn.c-plainBtn.hov-bg-main {
  display:    none       !important;
  height:     0          !important;
  width:      0          !important;
  margin:     0          !important;
  padding:    0          !important;
  visibility: hidden     !important;
  border:     none       !important;
  overflow:   hidden     !important;
  position:   absolute   !important;
  pointer-events: none   !important;
}

/* 予約余白を持つ可能性のある全コンテナを 0 にリセット */
body,
#body_wrap,
#l-container {
  padding-bottom: 0 !important;
  margin-bottom:  0 !important;
}

/* ============================================================
   Sticky Footer: html/body に height:100% を与え、
   #body_wrap の min-height:100vh と組み合わせて底付き固定
   ============================================================ */
html,
body {
  height:  100% !important;
  margin:  0    !important;
  padding: 0    !important;
}

#body_wrap {
  display:        flex       !important;
  flex-direction: column     !important;
  min-height:     100vh      !important;
  height:         auto       !important;
}

/* コンテンツエリアを伸長させてフッターを底に押し下げる */
#content,
#l-content {
  flex-grow:   1 !important;
  flex-shrink: 0 !important;
}

/* SWELLネイティブフッターを flex で底に吸着させ、
   さらに display:none で物理スペースを消す（二重保険） */
.l-footer {
  margin-top:     auto !important;
  margin-bottom:  0    !important;
  padding-bottom: 0    !important;
}


/* ============================================================
   固定ページ共通スタイル（.home クラスがないページ全般）
   ============================================================ */

/* ヘッダー z-index 強化（固定ページでもコンテンツの上に） */
#body_wrap:not(.home) .pv-custom-header {
  z-index: 9999999 !important;
}

/* 3. コンテンツがヘッダーに隠れないよう padding-top */
#body_wrap:not(.home) #body_wrap {
  padding-top: 80px !important;
}

/* 4. フッターの可視化（白背景・濃色テキスト） */
#body_wrap:not(.home) .pv-footer {
  background-color: #ffffff  !important;
  color:            #1a1a1c  !important;
  display:          block     !important;
}

#body_wrap:not(.home) .pv-footer__nav-link,
#body_wrap:not(.home) .pv-footer__copy {
  color: #1a1a1c !important;
}

/* ===== 関連ニュース セクション ===== */
.pv-related-news {
  max-width: 760px !important;
  margin: 60px auto 0 !important;
  padding-top: 48px !important;
  border-top: 1px solid #eee !important;
}

.pv-related-news__en {
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  color: #00CDD2 !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

.pv-related-news__title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1c !important;
  margin-bottom: 24px !important;
}

.pv-related-news__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.pv-related-news__item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid #eee !important;
  text-decoration: none !important;
  color: #333 !important;
  transition: opacity 0.3s ease !important;
}

.pv-related-news__item:hover {
  opacity: 0.6 !important;
}

.pv-related-news__date {
  font-size: 13px !important;
  color: #999 !important;
  flex-shrink: 0 !important;
  min-width: 80px !important;
}

.pv-related-news__cat {
  font-size: 11px !important;
  padding: 2px 10px !important;
  background: #00CDD2 !important;
  color: #fff !important;
  border-radius: 3px !important;
  flex-shrink: 0 !important;
  font-weight: 500 !important;
}

.pv-related-news__item-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  line-height: 1.6 !important;
}

.pv-related-news__more {
  display: inline-block !important;
  margin-top: 24px !important;
  font-size: 14px !important;
  color: #00CDD2 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: opacity 0.3s ease !important;
}

.pv-related-news__more:hover {
  opacity: 0.6 !important;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .pv-related-news__item {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .pv-related-news__item-title {
    width: 100% !important;
  }
}
