/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 21 2026 | 11:53:37 */
/* ==========================================
   ページ初期設定・ヘッダー非表示
   ========================================== */
.page-id-608 .page-header,
.page-id-608 #breadcrumb {
  display: none;
}

/* 共通ヘッダーで本文上部が隠れないように調整 */
.page .subpage-main {
  padding-top: 80px;
}

@media screen and (max-width: 991px) {
  .page .subpage-main {
    padding-top: 60px;
  }
}

/* ==========================================
   ローダーアニメーション (Loader)
   ========================================== */
.site-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.8s ease;
}

.site-loader.hide {
  opacity: 0;
  pointer-events: none;
}

.site-loader__inner {
  text-align: center;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.site-loader__copy {
  font-size: clamp(24px, 3vw, 42px); /* 極小スマホ対応で下限を少し調整 */
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111111;
  margin-bottom: 18px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(18px);
  animation: loaderCopyReveal 0.9s forwards;
}

.site-loader__logo {
  margin: 0;
  line-height: 1;
  /* スマホでの画面はみ出し・見切れ防止：下限を11vw(約40px〜)とし、画面幅に応じて適切にスケールします */
  font-size: clamp(42px, 11vw, 170px); 
  font-weight: 900;
  letter-spacing: 0.055em;
  color: #000000;
  white-space: nowrap;
  display: flex;
  justify-content: center; /* 完全な中央揃えを維持 */
}

.site-loader__logo span {
  display: inline-block;
  opacity: 0;
  transform: translateY(35px);
  animation: loaderLetterReveal 0.5s forwards;
}

/* 一文字ずつのアニメーション遅延設定 */
.site-loader__logo span:nth-child(1) { animation-delay: 0.45s; }
.site-loader__logo span:nth-child(2) { animation-delay: 0.52s; }
.site-loader__logo span:nth-child(3) { animation-delay: 0.59s; }
.site-loader__logo span:nth-child(4) { animation-delay: 0.66s; }
.site-loader__logo span:nth-child(5) { animation-delay: 0.73s; }
.site-loader__logo span:nth-child(6) { animation-delay: 0.80s; }
.site-loader__logo span:nth-child(7) { animation-delay: 0.87s; }
.site-loader__logo span:nth-child(8) { animation-delay: 0.94s; }

@keyframes loaderCopyReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderLetterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   ヘッダー＆メニュー共通スタイル
   ========================================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  transition: height 0.3s ease;
}

.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

/* ==========================================
   PC用グローバルナビゲーション (992px以上)
   ========================================== */
@media screen and (min-width: 992px) {
  .gnav-pc {
    display: block;
  }
  .burger-btn,
  .gnav-sp {
    display: none !important;
  }

  .menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
  }

  .menu-list a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
  }

  .menu-list li:not(.menu-cta) a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0052cc;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .menu-list li:not(.menu-cta) a:hover {
    color: #0052cc;
  }

  .menu-list li:not(.menu-cta) a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .menu-list .menu-cta a {
    background-color: #333333;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .menu-list .menu-cta a:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
  }
}

/* ==========================================
   スマホ用レイアウト＆メニュー制御 (991px以下)
   ========================================== */
@media screen and (max-width: 991px) {
  .gnav-pc {
    display: none !important;
  }

  .l-header {
    height: 60px;
  }

  .header-logo img {
    height: 30px;
  }

  .burger-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    height: 44px;
    width: 64px;
    position: relative;
    z-index: 10001;
    padding: 0;
  }

  .burger-btn::before {
    content: "MENU";
    font-size: 11px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 0.05em;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
  }

  .burger-btn.is-active::before {
    opacity: 0;
  }

  .burger-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333333;
    position: absolute;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease, top 0.4s ease, bottom 0.4s ease;
  }

  .burger-btn .bar:nth-child(1) { top: 13px; right: 0; }
  .burger-btn .bar:nth-child(2) { top: 21px; right: 0; width: 16px; }
  .burger-btn .bar:nth-child(3) { top: 29px; right: 0; }

  .burger-btn:not(.is-active) .bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: scaleX(0);
  }

  .burger-btn:not(.is-active) .bar:nth-child(1)::before { animation: burgerLoop 2.5s infinite 0s; }
  .burger-btn:not(.is-active) .bar:nth-child(2)::before { animation: burgerLoop 2.5s infinite 0.15s; }
  .burger-btn:not(.is-active) .bar:nth-child(3)::before { animation: burgerLoop 2.5s infinite 0.3s; }

  @keyframes burgerLoop {
    0% { transform: scaleX(0); transform-origin: left; }
    20% { transform: scaleX(1); transform-origin: left; }
    21% { transform: scaleX(1); transform-origin: right; }
    40% { transform: scaleX(0); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
  }

  .burger-btn.is-active .bar::before {
    display: none;
  }
  
  .burger-btn.is-active .bar:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  .burger-btn.is-active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  .burger-btn.is-active .bar:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .gnav-sp {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .gnav-sp.is-active {
    opacity: 1;
    visibility: visible;
  }

  .menu-list-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-list-sp a {
    text-decoration: none;
    color: #333333;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
  }

  .menu-list-sp .menu-cta-sp a {
    font-size: 18px;
    background-color: #333333;
    color: #ffffff;
    padding: 14px 48px;
    border-radius: 30px;
    margin-top: 20px;
  }

  .gnav-sp.is-active .menu-list-sp a {
    opacity: 1;
    transform: translateY(0);
  }
  .gnav-sp.is-active li:nth-child(1) a { transition-delay: 0.2s; }
  .gnav-sp.is-active li:nth-child(2) a { transition-delay: 0.3s; }
  .gnav-sp.is-active li:nth-child(3) a { transition-delay: 0.4s; }
  .gnav-sp.is-active li:nth-child(4) a { transition-delay: 0.5s; }
  .gnav-sp.is-active li:nth-child(5) a { transition-delay: 0.6s; }
}

/* ==========================================
   ヒーローヘッダー (Hero Banner)
   ========================================== */
.top-hero-banner {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  line-height: 0;
  aspect-ratio: 1920 / 1080;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: auto;
}

.top-hero-picture {
  display: block;
  width: 100%;
  line-height: 0;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.top-hero-picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  animation: top-hero-fade 1.2s ease both;
}

.top-hero-banner::before,
.top-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.top-hero-banner::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0) 18%,
    rgba(255, 255, 255, 0) 82%,
    rgba(255, 255, 255, 0.08) 100%
  );
  z-index: 1;
}

.top-hero-banner::after {
  background: 
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 36%);
  z-index: 2;
}

@keyframes top-hero-fade {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .top-hero-banner {
    aspect-ratio: 1125 / 2001 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-hero-picture img {
    animation: none;
    transform: none;
  }
}

@media print {
  .top-hero-banner::before,
  .top-hero-banner::after {
    display: none;
  }
}

/* ==========================================
   メインナビゲーションカード
   ========================================== */
.mnav-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 !important;
  background-color: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

.mnav-grid {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; 
}

.mnav-card {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #f7f9fa;
  overflow: hidden;
  text-decoration: none;
  border-radius: 0;
  box-shadow: none; 
}

.mnav-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.mnav-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.1); 
  box-sizing: border-box;
  pointer-events: none;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
  transform: scale(1);
}

.mnav-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  z-index: 4;
  color: #333333;
  font-family: "Helvetica Neue", Arial, sans-serif;
  transition: color 0.4s ease;
}

.mnav-en {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.mnav-ja {
  margin: 10px 0 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  letter-spacing: 0.1em;
  transition: color 0.4s ease;
}

.mnav-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 20px;
  height: 20px;
  z-index: 4;
  transition: transform 0.4s ease;
}

.mnav-arrow::before,
.mnav-arrow::after {
  content: "";
  position: absolute;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.mnav-arrow::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #333333;
}

.mnav-arrow::after {
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #333333;
  border-right: 1px solid #333333;
  transform: translateY(-50%) rotate(45deg);
}

/* ホバー＆タップ連動アニメーション */
.mnav-card:hover .mnav-bg,
.mnav-card.is-hover .mnav-bg {
  opacity: 1;
  transform: scale(1);
}

.mnav-card:hover .mnav-border,
.mnav-card.is-hover .mnav-border {
  border-color: #ffffff;
  transform: scale(0.92);
}

.mnav-card:hover .mnav-content,
.mnav-card.is-hover .mnav-content {
  color: #ffffff;
}

.mnav-card:hover .mnav-ja,
.mnav-card.is-hover .mnav-ja {
  color: rgba(255, 255, 255, 0.9);
}

.mnav-card:hover .mnav-arrow::before,
.mnav-card.is-hover .mnav-arrow::before {
  background-color: #ffffff;
}

.mnav-card:hover .mnav-arrow::after,
.mnav-card.is-hover .mnav-arrow::after {
  border-color: #ffffff;
}

.mnav-card:hover .mnav-arrow,
.mnav-card.is-hover .mnav-arrow {
  transform: translateX(4px);
}

/* スマホ表示 (991px以下) */
@media screen and (max-width: 991px) {
  .mnav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mnav-en {
    font-size: 22px;
  }

  .mnav-ja {
    font-size: 12px;
  }

  .mnav-arrow {
    bottom: 16px;
    right: 16px;
  }
}

/* ==========================================
   企業・事業カード専用スタイル
   ========================================== */
.card-corporate:hover .mnav-content,
.card-corporate.is-hover .mnav-content,
.card-services:hover .mnav-content,
.card-services.is-hover .mnav-content {
  text-shadow: 
     1px  1px 1px rgba(0, 0, 0, 0.25),
    -1px  1px 1px rgba(0, 0, 0, 0.25),
     1px -1px 1px rgba(0, 0, 0, 0.25),
    -1px -1px 1px rgba(0, 0, 0, 0.25);
}

.card-corporate:hover .mnav-ja,
.card-corporate.is-hover .mnav-ja,
.card-services:hover .mnav-ja,
.card-services.is-hover .mnav-ja {
  color: rgba(255, 255, 255, 0.9) !important;
}

.card-corporate:hover .mnav-arrow::before,
.card-corporate.is-hover .mnav-arrow::before,
.card-corporate:hover .mnav-arrow::after,
.card-corporate.is-hover .mnav-arrow::after,
.card-services:hover .mnav-arrow::before,
.card-services.is-hover .mnav-arrow::before,
.card-services:hover .mnav-arrow::after,
.card-services.is-hover .mnav-arrow::after {
  filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.3));
}



/* ==========================================
   オウンドメディア紹介セクション（完全修正・PC/SP完全分離版）
   ========================================== */
.om-section {
  width: 100%;
  padding: 0;
  background-color: #ffffff;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

/* ------------------------------------------
   1. ヒーローバナーエリア（PC標準デザイン）
   ------------------------------------------ */
.om-hero-banner-area {
  display: block; 
  text-decoration: none;
  position: relative;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 60px 0 0 0;
  margin-top: 0;
  margin-bottom: 40px; 
  background-color: #ffffff;
  box-sizing: border-box;
  z-index: 1;
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.om-inner-fullwidth {
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.om-inner-fullwidth::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0; 
  width: 100%; 
  height: calc(100% + 60px);
  background-image: url('https://stroll-er.co.jp/wp-content/uploads/2026/07/owndmedia_pc.webp') !important;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.om-intro-container-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding-bottom: 40px;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ホバー＆タップ連動 */
.om-hero-banner-area:hover .om-inner-fullwidth::before,
.om-hero-banner-area.is-hover .om-inner-fullwidth::before {
  opacity: 1 !important;
}

.om-hero-banner-area:hover .om-intro-container-flex,
.om-hero-banner-area.is-hover .om-intro-container-flex {
  opacity: 0 !important;
  transform: scale(0.99) !important;
}

/* タイトル・ロゴ（PC基準） */
.om-intro-title-block {
  flex: 1.2;
}

.om-logo-text-wrap {
  display: block;
  text-align: center;
}

.om-logo-main {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 12px;
  white-space: nowrap;
  /* 細く美しい袋字（PC） */
  text-shadow: 
    -1px -1px 0 #111111,
     1px -1px 0 #111111,
    -1px  1px 0 #111111,
     1px  1px 0 #111111,
     1px  2px 3px rgba(0, 0, 0, 0.2);
}

.om-logo-sub {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-align: center;
}

.om-intro-text-block {
  flex: 1;
}

.om-intro-text-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #444444;
}

/* ------------------------------------------
   2. スライダーエリア（PC基準）
   ------------------------------------------ */
.om-slider-fullwidth {
  width: 100%;
}

.om-inner-slider-title,
.om-slider-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.om-slider-inner {
  position: relative !important;
}

.om-swiper-title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  border-left: 3px solid #333333;
  padding-left: 12px;
}

.om-swiper-title span {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
  margin-left: 8px;
}

/* ネイティブスナップスライダー */
.article-swiper {
  display: block !important;
  position: relative !important;
  overflow: hidden !important; /* CSSスクロールではなくSwiperのJS制御に一任 */
  padding: 10px 0 20px 0 !important;
  margin: 0 !important;
}

.article-swiper::-webkit-scrollbar {
  display: none;
}

.article-swiper .swiper-wrapper {
  display: flex !important;
  box-sizing: content-box !important;
  width: 100% !important;
  height: 100% !important;
  transition-property: transform !important;
}

.article-swiper .swiper-slide {
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  height: 100% !important;
  position: relative !important;
}

/* 記事カード */
.om-card {
  display: block;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.om-card-thumb {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f7f9fa;
}

.om-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.om-card-body {
  padding: 16px 14px;
}

.om-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  line-height: 1.5;
  display: block;
}

.om-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* ナビボタン */
.om-swiper-button-next,
.om-swiper-button-prev {
  width: 44px !important;
  height: 44px !important;
  background-color: #333333 !important;
  border-radius: 50%;
  position: absolute !important;
  top: 40% !important;
  z-index: 15 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.om-swiper-button-prev { left: 10px !important; }
.om-swiper-button-next { right: 10px !important; }

.om-swiper-button-next::before,
.om-swiper-button-prev::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
}

.om-swiper-button-prev::before { transform: rotate(-135deg); margin-left: 4px; }
.om-swiper-button-next::before { transform: rotate(45deg); margin-right: 4px; }

/* ページネーション（ドット） */
.om-swiper-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 90% !important;
  margin: 15px auto 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.om-swiper-pagination .dot,
.om-swiper-pagination span {
  width: 8px !important;
  height: 4px !important;
  background: #cccccc !important;
  border-radius: 2px !important;
  transition: background 0.3s, width 0.3s !important;
  cursor: pointer;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.om-swiper-pagination .dot.is-active,
.om-swiper-pagination .swiper-pagination-bullet-active {
  background: #333333 !important;
  width: 16px !important;
}

/* ------------------------------------------
   3. スマホ・タブレット専用設定 (991px以下)
   ------------------------------------------ */
@media screen and (max-width: 991px) {
  /* スマホ専用ヒーローエリア（縦横比828x310で枠と画像を完全一致） */
  .om-hero-banner-area {
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
  }

  .om-inner-fullwidth {
    padding: 12px 16px !important;
    width: 100% !important;
    aspect-ratio: 828 / 310 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .om-inner-fullwidth::before {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('https://stroll-er.co.jp/wp-content/uploads/2026/07/owndmedia_sp.webp') !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .om-intro-container-flex {
    flex-direction: column;
    gap: 4px !important;
    padding-bottom: 0 !important;
    width: 100%;
    margin: 0 !important;
  }

.om-logo-main {
    font-size: 17px !important;
    margin-bottom: 2px !important;
    white-space: normal;
    /* スマホ専用：極細・薄型の袋字（輪郭0.5px相当＋微シャドウ） */
    text-shadow: 
      -0.8px -0.8px 0 rgba(17, 17, 17, 0.6),
       0.8px -0.8px 0 rgba(17, 17, 17, 0.6),
      -0.8px  0.8px 0 rgba(17, 17, 17, 0.6),
       0.8px  0.8px 0 rgba(17, 17, 17, 0.6),
       0px 1px 2px rgba(0, 0, 0, 0.15) !important;
  }

  .om-logo-sub {
    font-size: 10px !important;
    white-space: normal;
  }

  .om-intro-text-block p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: center;
  }

  /* スマホ用スライダー（2.2枚表示 & 余白最適化） */
  .om-swiper-pagination {
    gap: 4px !important;
  }

  .om-swiper-pagination .dot,
  .om-swiper-pagination span {
    width: 4px !important;
    height: 3px !important;
  }

  .om-swiper-pagination .dot.is-active,
  .om-swiper-pagination .swiper-pagination-bullet-active {
    width: 10px !important;
  }

  .om-inner-slider-title,
  .om-slider-inner {
    padding: 0 10px !important;
  }

  .article-swiper .swiper-wrapper {
    gap: 8px !important;
  }

  .article-swiper .swiper-slide {
    width: calc((100vw - 20px - 8px) / 2.2) !important;
  }

  .om-card-body {
    padding: 10px 8px !important;
  }

  .om-card-title {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .om-swiper-button-next,
  .om-swiper-button-prev {
    display: none !important;
  }
}


/* ==========================================
   お知らせ共通セクション (News Styles)
   ※TOPページ・固定一覧ページ共通
   ========================================== */
.top-news-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 40px 24px 0; /* スライダーや上部コンテンツとの適度な余白 */
}

/* 2カラムレイアウト（左見出し・右リスト）の構築 */
.news-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  border-top: none;
  padding-top: 0;
}

/* 左側見出しエリア */
.news-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.news-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

/* 右側お知らせリスト */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  border-bottom: 1px solid var(--border-color);
}

.news-link {
  display: flex;
  align-items: center;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
}

/* 日付エリア */
.news-meta {
  display: flex;
  align-items: center;
  margin-right: 40px;
  flex-shrink: 0;
}

.news-date {
  font-size: 1rem;
  font-weight: 700;
  color: #777777;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* 記事タイトル（見切れ制限なく全文表示） */
.news-post-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  flex-grow: 1;
  line-height: 1.6;
  transition: color 0.2s ease;
  display: block;
  overflow: visible;
}

/* 右側の矢印アイコン（→） */
.news-arrow {
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: 20px;
  flex-shrink: 0;
}

.news-arrow::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

/* 記事ホバー時のエフェクト（タイトル色変化＆矢印スライド） */
.news-link:hover .news-post-title {
  color: var(--primary-color);
}
.news-link:hover .news-arrow::after {
  transform: translateY(-50%) translateX(6px);
}

/* お知らせが空の場合のスタイル */
.news-empty {
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 24px 0;
  font-weight: 600;
}

/* ==========================================
   「一覧を見る」ボタン（TOPページ専用）
   ========================================== */
.news-footer {
  display: flex;
  justify-content: flex-end; /* 右寄せでスマートに配置 */
  margin-top: 24px;
}

.news-more-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s ease;
}

/* ボタンホバー時：テキストの色をプライマリーカラーに変更 */
.news-more-btn:hover {
  color: var(--primary-color);
}

/* ==========================================
   レスポンシブ対応（スマホ閲覧時）
   ========================================== */
@media (max-width: 768px) {
  /* 1カラムに切り替え */
  .news-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-link {
    padding: 20px 0;
  }
  /* 日付とタイトルを縦並びにする */
  .news-link {
    flex-wrap: wrap;
  }
  .news-meta {
    width: 100%;
    margin-bottom: 8px;
  }
  .news-arrow {
    margin-left: auto; /* 矢印を右端に固定 */
  }
}

/* ==========================================
   トップページ：お問い合わせCTAセクション (CTA Styles)
   ========================================== */
.top-cta-section {
  background: #f4f8fc; /* サービス一覧でも使用している、爽やかで信頼感のある淡いブルー背景 */
  padding: 90px 24px;
  border-top: 1px solid #e1ecf8;
}

.cta-container {
  max-width: 1100px;
  margin: 0 auto;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.cta-content {
  flex-grow: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0 0 16px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.cta-lead {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0 16px;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.cta-action {
  flex-shrink: 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  background: var(--text-dark);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta::after {
  content: "→";
  margin-left: 12px;
  font-weight: 900;
  transition: transform 0.3s ease;
}

.btn-cta:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(43, 123, 185, 0.25);
}

.btn-cta:hover::after {
  transform: translateX(4px);
}

/* ==========================================
   レスポンシブ対応（スマホ・タブレット幅）
   ========================================== */
@media screen and (max-width: 960px) {
  /* お知らせ */
  .news-container {
    grid-template-columns: 1fr; /* 縦並びに */
    gap: 20px;
    padding-top: 40px;
  }
  .news-title {
    font-size: 2rem;
  }
  .news-link {
    padding: 20px 0;
  }
  
  /* CTA */
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
  }
  .btn-cta {
    width: 100%;
    min-width: 280px;
  }
}

@media screen and (max-width: 768px) {
  .top-news-section {
    margin-bottom: 70px;
    padding: 0 18px;
  }
  
  .news-link {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 18px 24px 18px 0; /* 右端に矢印用の隙間を開ける */
  }
  
  .news-meta {
    margin-right: 0;
    margin-bottom: 8px;
  }
  
  .news-date {
    font-size: 0.9rem;
  }
  
  .news-post-title {
    font-size: 0.98rem;
    line-height: 1.5;
  }
  
  .news-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }

  .top-cta-section {
    padding: 70px 18px;
  }
  
  .cta-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .cta-lead {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  .cta-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .btn-cta {
    padding: 18px 30px;
    font-size: 1.05rem;
    width: 100%;
  }
}







/* ==========================================
   追加：お知らせ個別ページ (single-news.php) のスタイル
   ========================================== */
.single-news-main {
  padding: 60px 0 120px;
  position: relative;
  z-index: 2;
}

.news-detail-container {
  max-width: 800px; /* 本文が読みやすいように横幅をスマートに制限 */
  margin: 0 auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1.5px solid var(--border-color);
}

/* 記事ヘッダー */
.news-detail-header {
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.news-detail-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: #777777;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.news-detail-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background-color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.news-detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

/* 記事本文（Gutenberg等の出力に対応） */
.news-detail-content {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-main);
  font-weight: 600; /* 本文の可読性を高めるウエイト */
}

.news-detail-content p {
  margin: 0 0 24px;
}

.news-detail-content p:last-child {
  margin-bottom: 0;
}

/* 本文内の見出しなども綺麗に装飾 */
.news-detail-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
  margin: 40px 0 20px;
}

.news-detail-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 30px 0 16px;
}

/* フッター（ボタンエリア） */
.news-detail-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.btn-news-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border: 2.5px solid var(--text-dark);
  background: transparent;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.btn-news-back::before {
  content: "←";
  margin-right: 8px;
  font-weight: 900;
  transition: transform 0.3s ease;
}

.btn-news-back:hover {
  background: var(--text-dark);
  color: #ffffff;
}

.btn-news-back:hover::before {
  transform: translateX(-4px);
}

/* ==========================================
   個別ページのレスポンシブ対応
   ========================================== */
@media screen and (max-width: 768px) {
  .single-news-main {
    padding: 40px 0 80px;
  }
  
  .news-detail-container {
    padding: 30px 20px;
    border-radius: 0; /* スマホ時は画面端までスッキリ見せるため角丸をリセット */
    border-left: none;
    border-right: none;
  }
  
  .news-detail-header {
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
  
  .news-detail-title {
    font-size: 1.6rem;
  }
  
  .news-detail-content {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .btn-news-back {
    width: 100%;
    max-width: 300px;
  }
}












/* ==========================================
   共通下層ページ 統一ヒーローエリア (Interactive Text Edition)
   ========================================= */

.underlayer-hero {
  position: relative;
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
  padding: 100px 0 60px;
  overflow: hidden;
  /* 3D立体回転を美しく見せるための視認奥行き設定 */
  perspective: 1000px; 
}

.ul-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ul-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

/* ==========================================
   ✨ テキスト：遊び心のある個別アニメーション
   ========================================== */

/* 1. 英語サブタイトル：その場で「くるっ」と縦回転して出現 */
.ul-hero-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color, #2b7bb9);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  
  opacity: 0;
  transform: rotateX(-90deg); /* 傾いた状態からスタート */
  transform-origin: top center;
  animation: ulFlipIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
  animation-delay: 0.1s;
}

/* 2. メインタイトル：一文字ずつ下から滑らかに湧き上がる */
.ul-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  letter-spacing: 0.05em;
  line-height: 1.2;
  display: flex; /* 文字を横並びに維持 */
  overflow: hidden; /* 下から出てくるときに枠外を隠す */
}

.ul-hero-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%); /* 完全に下部に隠す */
  animation: ulLetterUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 一文字ずつの登場ディレイ（遅延）設定 */
.ul-hero-title span:nth-child(1) { animation-delay: 0.3s; }
.ul-hero-title span:nth-child(2) { animation-delay: 0.38s; }
.ul-hero-title span:nth-child(3) { animation-delay: 0.46s; }
.ul-hero-title span:nth-child(4) { animation-delay: 0.54s; }

/* --- リード文：左から斜めにスライドして出現する遊び心のある動き --- */
.ul-hero-lead {
  font-size: 1.3em;
  line-height: 1.6;
  color: #555555;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.25em; /* 文字間を少し広げる */
	
  opacity: 0;
  /* 左に隠し、少し斜めに歪ませておく */
  transform: translateX(-40px) skewX(15deg);
  
  /* アニメーション設定 */
  animation: ulLeadIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  animation-delay: 0.8s; /* タイトルが出切ったあとに動作開始 */
}


/* ==========================================
   ✨ テキスト用新規アニメーションKeyframes
   ========================================== */

/* 英語サブタイトル：縦フリップ回転 */
@keyframes ulFlipIn {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

/* メインタイトル：一文字ごとの下からの湧き上がり */
@keyframes ulLetterUp {
  0% {
    opacity: 0;
    transform: translateY(110%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- リード文用のアニメーション定義 --- */
@keyframes ulLeadIn {
  0% {
    opacity: 0;
    transform: translateX(-40px) skewX(15deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skewX(0deg);
  }
}


/* ==========================================
   📸 右側：画像マスクエリア（前回のまま、完全に連動）
   ========================================== */
.ul-hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(43, 123, 185, 0.08);
}

.ul-hero-img-mask {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ul-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  animation: ulImgReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.6s;
}

.ul-hero-img-mask::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 123, 185, 0.85);
  transform: scaleX(0);
  transform-origin: left;
  animation: ulShutter 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes ulShutter {
  0% { transform: scaleX(0); transform-origin: left; }
  45% { transform: scaleX(1); transform-origin: left; }
  46% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes ulImgReveal {
  0% { opacity: 0; transform: scale(1.1) translateX(-10px); }
  100% { opacity: 1; transform: scale(1) translateX(0); }
}

/* ==========================================
   スマートフォン対応（縦並び・中央揃え）
   ========================================== */
@media screen and (max-width: 960px) {
  .underlayer-hero {
    padding: 80px 0 50px;
  }
  .ul-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ul-hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ul-hero-title {
    justify-content: center; /* スマホ時も文字の中央揃えを維持 */
  }
  .ul-hero-visual {
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 576px) {
  .underlayer-hero {
    padding: 70px 0 40px;
  }
  .ul-hero-title {
    margin-bottom: 10px;
  }
  .ul-hero-lead {
    font-size: 0.88rem;
    padding: 0 10px;
  }
  .ul-hero-visual {
    aspect-ratio: 1.5 / 1;
  }
}





/* ==========================================
   Company Page Styles
   ========================================== */

/* 全体のレイアウト調整 */
.company-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Arial, meiryo, sans-serif;
  color: #333333;
}

/* 会社概要テーブルのスタイリング */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.company-table th,
.company-table td {
  padding: 24px 15px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1rem;
  line-height: 1.7;
}

.company-table th {
  width: 25%;
  font-weight: 700;
  color: #1a1a1a;
  vertical-align: top;
  white-space: nowrap;
}

.company-table td {
  width: 75%;
  color: #444444;
}

/* 事業内容のリストスタイル */
.business-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.business-list li:last-child {
  margin-bottom: 0;
}

/* 箇条書きのドットをアクセントのブルーに */
.business-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: #2b7bb9;
  border-radius: 50%;
}

/* メールアドレスなどのリンクカラー */
.company-table td a {
  color: #2b7bb9;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.company-table td a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* ==========================================
   レスポンシブ対応（スマホ表示）
   ========================================== */
@media screen and (max-width: 767px) {
  .company-section {
    padding: 40px 15px;
  }
  
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 5px;
  }
  
  .company-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
}










/* ==========================================
   Services Page Styles (High Readability & Scaled Up - Ver 1.3)
   ========================================= */

:root {
  --primary-color: #2b7bb9;
  --career-color: #2b7bb9;
  --web-color: #e07a5f;
  --media-color: #8bc34a;
  --text-dark: #111111; /* より漆黒に近くし、見出しのコントラストを最大化 */
  --text-main: #222222; /* 本文の基本色を濃くし、可読性を大幅に向上 */
  --text-muted: #3a3a3a; /* 【改善】グレーっぽさを排除し、はっきりと読める濃さに */
  --border-color: #dddddd; /* 境界線も少しだけ明瞭に */
  --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 140px; /* 余白を贅沢に広げ、スケールアップした文字とのバランスを維持 */
  font-family: var(--font-base);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  scroll-behavior: smooth;
}

.service-group {
  scroll-margin-top: 120px;
}

/* ==========================================
   導入（イントロダクション）エリア
   ========================================== */
.services-intro-lead {
  max-width: 100%;
  margin: 0 auto 90px;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 5;
  overflow: visible;
}

/* メインコピーの外枠：Safariの文字バグを防ぐため100%幅で安定化 */
.intro-main-copy {
  display: block;
  width: 100%;
  max-width: 1080px; 
  margin: 0 auto 60px;
  padding: 0;
  text-align: center;
}

/* PC/タブレット：基本的に1行（または指定のbr）で表示 */
.copy-group {
  display: inline-block; /* 固形パーツ化 */
  white-space: nowrap;   /* パーツ内での改行を絶対に許可しない */
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); /* 画面幅に合わせて滑らかに縮小 */
  font-weight: 800;
  line-height: 1.8;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-align: center;
}

/* PCでのみ改行を入れるためのヘルパークラス */
@media screen and (min-width: 769px) {
  .pc-only {
    display: block;
    content: "";
    margin-top: 4px;
  }
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none; /* スマホではHTMLの強制改行を無効にして、グループ単位の自然落下に任せる */
  }
}

/* ==========================================
   3事業ドメイン 円形ダイアグラム
   ========================================== */
.intro-diagram-outer {
  position: relative;
  max-width: 760px; /* 少し外枠を広げてゆとりを確保 */
  margin: 0 auto;
  padding: 40px 0;
}

.diagram-central-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 42vw, 460px);
  height: clamp(300px, 42vw, 460px);
  background: radial-gradient(circle, rgba(244, 247, 254, 0.75) 0%, rgba(224, 235, 250, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.diagram-connect-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  height: 65%;
  border: 2px dashed rgba(43, 123, 185, 0.22); /* 線を太く、少し濃くして見やすく */
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.intro-diagram-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 60px;
  column-gap: 90px;
  max-width: 720px;
  margin: 0 auto;
}

.diagram-circle {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 250px; /* 円自体のサイズをアップ */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 14px 40px rgba(43, 123, 185, 0.08);
  border: 2.5px solid #ffffff;
  overflow: hidden;
  margin: 0 auto;
}

.circle-career { 
  grid-column: 1 / 2; 
  background: radial-gradient(circle at center, #ffffff 0%, #f4f8fc 60%, #e2effd 100%);
  --circle-accent: var(--career-color);
}
.circle-web { 
  grid-column: 2 / 3; 
  background: radial-gradient(circle at center, #ffffff 0%, #fdf5f2 60%, #fae2da 100%);
  --circle-accent: var(--web-color);
}
.circle-media { 
  grid-column: 1 / 3; 
  max-width: 250px; 
  background: radial-gradient(circle at center, #ffffff 0%, #f7fbf4 60%, #e6f7df 100%);
  --circle-accent: var(--media-color);
}

.circle-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 2;
}

.circle-num {
  font-size: 1.15rem; 
  font-weight: 900;
  opacity: 0.6;
  margin-bottom: 4px;
  color: var(--circle-accent);
}

.circle-tag {
  font-size: 0.8rem; 
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 30px;
  color: #ffffff;
  background-color: var(--circle-accent);
}

.circle-title {
  font-size: clamp(1rem, 1.4vw, 1.15rem); 
  font-weight: 800;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.circle-arrow {
  font-size: 1.25rem; 
  font-weight: 800;
  transition: transform 0.3s ease;
  color: var(--circle-accent);
}

.diagram-circle:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--circle-accent);
}

.diagram-circle:hover .circle-arrow {
  animation: arrowBounce 0.6s infinite alternate;
}

@keyframes arrowBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(5px); }
}

/* ==========================================
   SECTION 1: キャリア系支援事業
   ========================================== */
.sm-service-nav {
  display: none;
  background: #ffffff;
  border: 2px dashed var(--primary-color); 
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.sm-service-nav .nav-title {
  font-size: 1.05rem; 
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0 14px;
}

.nav-links-wrap {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: #f4f9ff;
  border: 1.5px solid #c0daf3;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem; 
  font-weight: 800;
  transition: background 0.2s;
}

.career-group { margin-bottom: 140px; }
.career-group .group-header { text-align: center; margin-bottom: 70px; }
.career-group h3 { font-size: 2.2rem; margin: 0 0 18px; color: var(--text-dark); letter-spacing: 0.01em; font-weight: 800; } 
.career-group .group-desc { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; font-weight: 600; } 

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.service-card {
  display: flex; 
  flex-direction: column; 
  background: #ffffff; 
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
  text-decoration: none; 
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  overflow: hidden; 
  border: 1.5px solid var(--border-color); 
}

.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(43, 123, 185, 0.14); }
.card-img-wrap { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f7f7f7; border-bottom: 1.5px solid var(--border-color); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .card-img-wrap img { transform: scale(1.04); }

.card-content { 
  padding: 36px 30px; 
  display: flex; 
  flex-direction: column; 
  flex-grow: 1; 
}
.service-category { font-size: 0.95rem; color: var(--primary-color); font-weight: 800; margin-bottom: 12px; letter-spacing: 0.03em; } 
.card-content h4 { font-size: 1.5rem; margin: 0 0 20px; color: var(--text-dark); line-height: 1.4; font-weight: 800; } 
.card-lead { font-size: 1.1rem; line-height: 1.8; color: var(--text-dark); margin: 0 0 22px; font-weight: 700; } 

.card-features { 
  list-style: none; 
  padding: 20px 12px; 
  margin: 0 0 22px; 
  background: #f5f8fc; 
  border-radius: 8px; 
  border: 1px solid #e1ecf8; 
}
.card-features li { font-size: 1rem; line-height: 1.7; color: var(--text-main); position: relative; padding-left: 22px; margin-bottom: 12px; font-weight: 700; } 
.card-features li:last-child { margin-bottom: 0; }
.card-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #2e9d3d; font-weight: 900; font-size: 1.1rem; }
.card-closing { font-size: 1rem; line-height: 1.7; color: var(--text-muted); margin: 0 0 28px; font-weight: 600; } 

.btn-arrow { 
  margin-top: auto; 
  font-size: 1.05rem; 
  font-weight: 800; 
  color: var(--primary-color); 
  display: flex; 
  align-items: center; 
  border-top: 1.5px dashed #e5e5e5; 
  padding-top: 20px; 
}
.btn-arrow::after { content: "→"; margin-left: 8px; transition: transform 0.3s ease; font-weight: 900; }
.service-card:hover .btn-arrow::after { transform: translateX(5px); }

/* ==========================================
   SECTION 2: Webサイト制作
   ========================================== */
.web-group { margin-bottom: 130px; }
.web-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; background: linear-gradient(135deg, #f4f9ff 0%, #eef5fc 100%); border-radius: 20px; overflow: hidden; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1.5px solid var(--border-color); }
.web-img-link-wrap { display: block; overflow: hidden; height: 100%; }
.web-img-wrap { width: 100%; height: 100%; min-height: 420px; position: relative; }
.web-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.web-panel:hover .web-img-wrap img { transform: scale(1.03); }

/* 光のエフェクト */
.web-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; 
  left: -100%; 
  width: 50%; 
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
}
.web-panel:hover .web-img-wrap::after {
  left: 150%;
  transition: all 0.8s ease;
}
.web-group.is-visible .web-img-wrap::after {
  animation: shineLoop 3s ease-in-out infinite;
}

@keyframes shineLoop {
  0% { left: -100%; }
  35%, 100% { left: 150%; }
}

.web-content { padding: 60px; }
.web-tag { background: var(--primary-color); color: #ffffff; margin-bottom: 14px; display: inline-block; padding: 5px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.web-content h3 { font-size: 2.3rem; margin: 18px 0; color: var(--text-dark); font-weight: 800; } 
.service-desc { font-size: 1.15rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 40px; font-weight: 600; } 
.btn-web-link { display: inline-block; padding: 16px 40px; background: var(--text-dark); color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 1.05rem; font-weight: 800; transition: background 0.3s ease, transform 0.3s ease; } 
.btn-web-link:hover { background: var(--primary-color); transform: translateY(-2px); }

/* ==========================================
   SECTION 3: オウンドメディア運営
   ========================================== */
.media-group { margin-bottom: 20px; }
.media-split-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; background: #ffffff; border: 1.5px solid var(--border-color); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.03); align-items: center; }
.media-visual-link { display: block; width: 100%; height: 100%; text-decoration: none; overflow: hidden; position: relative; }
.media-visual-stage-inner { width: 100%; height: 0; padding-top: 56.25%; position: relative; background-image: url('https://stroll-er.co.jp/wp-content/uploads/2026/07/services_chs-nt.webp') !important; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.media-split-panel:hover .media-visual-stage-inner { transform: scale(1.02); }
.media-visual-title-block { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 2; padding: 20px; }
.om-logo-text-wrap { display: block; text-align: center; width: 100%; }

/* 【改善点②】以前の美しくシャープに縁取られたデザインに完全復元（ガビガビを完全に解消） */
.om-logo-main {
  display: block; 
  font-size: 32px; 
  font-weight: 900; 
  color: #ffffff; 
  letter-spacing: 0.05em; 
  line-height: 1.2; 
  margin-bottom: 12px; 
  white-space: nowrap;
  text-shadow: -1.5px -1.5px 0 #111111, 1.5px -1.5px 0 #111111, -1.5px 1.5px 0 #111111, 1.5px 1.5px 0 #111111, -1.5px 0px 0 #111111, -1.5px 0px 0 #111111, 0px -1.5px 0 #111111, 0px 1.5px 0 #111111, 2px 3px 4px rgba(0, 0, 0, 0.15);
}
.om-logo-sub { 
  display: inline-block; 
  font-size: 13px; 
  font-weight: 800; 
  color: #111111; 
  letter-spacing: 0.06em; 
  white-space: nowrap; 
  text-align: center; 
}
.om-intro-text-block { flex: 1; }
.om-intro-text-block p { margin: 0; font-size: 15px; line-height: 1.8; color: #444444; }

.media-info-wrap { padding: 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: #ffffff; }
.media-tag { background: var(--media-color); color: #ffffff; margin-bottom: 12px; display: inline-block; padding: 5px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; }
.media-cat-label { font-size: 0.95rem; color: #0288d1; font-weight: 800; letter-spacing: 0.05em; margin-bottom: 25px; } 

.media-description { 
  font-size: 1.15rem; 
  line-height: 1.8; 
  color: var(--text-muted); 
  margin: 0 0 40px; 
  font-weight: 600; 
  text-align: left; 
}
.media-br { display: block; }
.btn-media-outline { display: inline-block; padding: 16px 40px; border: 2.5px solid var(--text-dark); background: transparent; color: var(--text-dark); text-decoration: none; border-radius: 6px; font-size: 1.05rem; font-weight: 800; transition: all 0.3s ease; } 
.btn-media-outline .arrow-icon { display: inline-block; margin-left: 8px; transition: transform 0.3s ease; font-weight: 900; }
.btn-media-outline:hover { background: var(--text-dark); color: #ffffff; }
.btn-media-outline:hover .arrow-icon { transform: translateX(4px); }

/* ==========================================
   背景装飾 & フェードアニメーション
   ========================================== */
.bg-decorations { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.shape { position: absolute; opacity: 0.12; animation: floatUpDown 6s ease-in-out infinite alternate; }
.circle-green { top: 15%; left: -30px; width: 100px; height: 100px; background: #39b54a; border-radius: 50%; }
.triangle-orange { top: 45%; right: -20px; width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid #f7931e; animation-delay: -2s; }
@keyframes floatUpDown { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(20px) rotate(15deg); } }

.anim-fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.anim-fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   マルチデバイス レスポンシブ最適化（タブレット幅以下）
   ========================================== */
@media screen and (max-width: 1024px) {
  .copy-line { font-size: 1.75rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .media-split-panel { grid-template-columns: 1fr; }
  .media-visual-stage-inner { padding-top: 50%; }
  .om-logo-main { font-size: 34px; }
}

/* ==========================================
   スマートフォン レスポンシブ最適化（横幅768px以下）
   ========================================== */
@media screen and (max-width: 768px) {
  .services-section { padding: 60px 18px 100px; }
  .services-intro-lead { margin-bottom: 55px; padding: 0 8px; }
  .intro-main-copy { margin-bottom: 35px; }

  /* 【解決】iPhone Safariで絶対に中途半端な改行をさせないためのルール */
  .copy-group {
    font-size: clamp(14px, 4.3vw, 18px); /* スマホ画面に収まる最適なサイズ感 */
    line-height: 1.9;
    display: inline-block;
    white-space: nowrap; /* 各パーツ内は絶対に1行をキープ */
  }

  /* ダイアグラム（3つの円）のスマホ表示最適化 */
  .intro-diagram-outer { max-width: 340px; margin: 25px auto 0; padding: 20px 0; }
  .diagram-central-sphere { width: 220px; height: 220px; }
  .diagram-connect-line { width: 85%; height: 70%; }
  .intro-diagram-nav { row-gap: 30px; column-gap: 25px; max-width: 320px; }
  .diagram-circle { max-width: 135px; border-width: 2px; }
  .circle-media { max-width: 135px; }
  .circle-content { padding: 10px; }
  .circle-num { font-size: 0.9rem; margin-bottom: 2px; }
  .circle-tag { font-size: 0.65rem; padding: 3px 8px; margin-bottom: 8px; letter-spacing: 0.02em; }
  .circle-title { font-size: 0.78rem; line-height: 1.4; margin-bottom: 2px; font-weight: 800; } 
  .circle-arrow { font-size: 0.9rem; }

  /* 下部各サービスセクションのスマホ最適化 */
  .sm-service-nav { display: block; }
  
  .career-group .group-header { text-align: center; margin-bottom: 25px; }
  .career-group .no-wrap-title { font-size: 1.45rem; white-space: nowrap; letter-spacing: -0.02em; font-weight: 800; } 
  .career-group .group-desc { font-size: 1.05rem; line-height: 1.6; font-weight: 600; } 
  
  .sm-service-nav {
    padding: 12px 6px; 
    margin-bottom: 35px;
  }
  .nav-links-wrap {
    gap: 4px; 
  }
  .nav-item {
    padding: 10px 2px; 
    font-size: clamp(10px, 2.5vw, 13px); 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: clip;
  }

  .card-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-content { padding: 32px 24px; }
  .card-content h4 { font-size: 1.35rem; font-weight: 800; } 
  .card-lead { font-size: 1.05rem; line-height: 1.7; font-weight: 700; } 
  
  .card-features {
    padding: 16px 10px;
  }
  .card-features li { font-size: 0.98rem; line-height: 1.6; font-weight: 700; padding-left: 20px; } 
  .card-closing { font-size: 0.98rem; font-weight: 600; } 

  .web-panel { grid-template-columns: 1fr; }
  .web-img-wrap { min-height: 260px; height: 260px; }
  .web-content { padding: 40px 24px; }
  .web-content h3 { font-size: 1.8rem; font-weight: 800; } 
  .service-desc { font-size: 1.05rem; line-height: 1.7; font-weight: 600; } 
  
  .media-visual-stage-inner { padding-top: 56.25%; }
  
  .om-logo-main { font-size: 26px; margin-bottom: 10px; } 
  .om-logo-sub { font-size: 12px; padding: 5px 16px; font-weight: 900; }
  
  .media-info-wrap { padding: 45px 24px; align-items: flex-start; text-align: left; }
  .media-description { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.7; margin: 0 0 30px; padding: 0; font-weight: 600; text-align: left; } 
  .btn-media-outline { width: 100%; max-width: 300px; font-size: 1.05rem; text-align: center; }
}

/* 非常に横幅の狭いスマートフォン（iPhone SEなど）への安全ガード */
@media screen and (max-width: 360px) {
  .copy-group { font-size: 13px; }
  .om-logo-main { font-size: 22px; }
  .om-logo-sub { font-size: 11px; }
}






/* ==========================================
   Company Philosophy Styles (Optimized)
   ========================================= */

.philosophy-main {
  font-family: var(--font-base);
  color: var(--text-main);
  overflow: hidden;
  background-color: #fcfdfe;
}

.ph-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only { display: block; }
@media screen and (max-width: 768px) {
  .pc-only { display: none; }
}

/* 共通パーツ */
.font-bold { font-weight: 700; }
.text-dark { color: var(--text-dark); }

/* ==========================================
   1. STATEMENT SECTION
   ========================================== */
.ph-statement-section {
  position: relative;
  padding: 100px 0 80px;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
}

.ph-statement-box {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
  padding: 60px 40px;
  background: radial-gradient(100% 100% at 50% 0%, #ffffff 0%, #fbfdff 100%);
  border-radius: 32px;
  box-shadow: 
    0 4px 30px rgba(43, 123, 185, 0.03),
    0 30px 70px rgba(43, 123, 185, 0.07);
  border: 1px solid rgba(43, 123, 185, 0.12);
}

.ph-statement-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-color, #2b7bb9);
  background-color: rgba(43, 123, 185, 0.08);
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

.ph-statement {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.8;
  color: #1a1a1a;
  margin: 0 auto 35px;
  letter-spacing: 0.05em;
  word-break: keep-all;
  text-align: center;
  max-width: 850px;
}

.ph-statement-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 250px;
  margin: 0 auto;
}

.ph-statement-divider .line-left,
.ph-statement-divider .line-right {
  flex: 1;
  height: 1px;
}

.ph-statement-divider .line-left {
  background: linear-gradient(to left, rgba(43, 123, 185, 0.6), transparent);
}
.ph-statement-divider .line-right {
  background: linear-gradient(to right, rgba(212, 175, 55, 0.6), transparent);
}

.ph-statement-divider .dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary-color, #2b7bb9);
  border-radius: 50%;
  display: inline-block;
}

.ph-hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    circle, 
    rgba(224, 235, 250, 0.4) 0%, 
    rgba(253, 246, 227, 0.25) 50%, 
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
}

/* ==========================================
   2. STORY SECTION
   ========================================== */
.ph-story {
  padding: 80px 0 100px;
  background: #ffffff;
}

.ph-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.ph-story-content {
  position: relative;
}

.ph-para {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #4a4a4a;
  margin-bottom: 24px;
}

.ph-para.highlight {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.6;
  color: var(--primary-color);
  margin-bottom: 35px;
  position: relative;
  padding-left: 15px;
  border-left: 4px solid var(--primary-color);
}

.ph-focus-box {
  background: #f7faff;
  border-radius: 16px;
  padding: 30px;
  margin: 35px 0;
  border-left: 4px solid var(--primary-color);
}

.ph-focus-box .ph-para {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.ph-support-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ph-support-list li {
  font-size: 0.92rem;
  font-weight: 700;
  color: #333333;
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.ph-support-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 900;
}

.ph-story-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-image-wrap {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.ph-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-image-wrap.img-primary {
  width: 70%;
  height: 70%;
  top: 5%;
  left: 5%;
  z-index: 2;
}

.ph-image-wrap.img-secondary {
  width: 55%;
  height: 55%;
  bottom: 5%;
  right: 0;
  z-index: 3;
  border: 4px solid #ffffff;
}

.ph-deco-frame {
  position: absolute;
  width: 60%;
  height: 60%;
  border: 2px dashed rgba(43, 123, 185, 0.2);
  top: 20%;
  right: 15%;
  border-radius: 16px;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================
   3. ORIGIN SECTION
   ========================================== */
.ph-origin {
  padding: 60px 0 120px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.ph-origin-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(43, 123, 185, 0.06);
  border: 1px solid var(--border-color, #e2e8f0);
  overflow: hidden;
}

.ph-origin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.ph-origin-visual {
  width: 100%;
  height: 100%;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.ph-origin-img-wrap {
  width: 100%;
  height: 100%;
}

.ph-origin-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-origin-content {
  padding: 60px 50px;
}

.ph-origin-sub {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--web-color, #2b7bb9);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.ph-origin-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.ph-origin-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.ph-origin-lead strong {
  color: var(--primary-color);
  font-weight: 800;
}

.ph-origin-text-walk p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 20px;
}

.ph-origin-text-walk .marker {
  display: inline;
  background: linear-gradient(transparent 60%, #e2effd 60%);
  font-weight: 700;
  color: var(--text-dark);
  padding: 0 4px;
}

.ph-origin-message {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 2px dashed #e2e8f0;
}

.ph-msg-line {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.ph-msg-line.highlight {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* ==========================================
   ✨ SCROLL ANIMATION SYSTEM (全セクション対応)
   ========================================= */

/* ① トリガー要素の初期状態 */
.scroll-trigger {
  opacity: 0;
  animation-play-state: paused !important;
  will-change: transform, opacity;
}

/* ② クラス「is-active」が付与された瞬間 */
.scroll-trigger.is-active {
  animation-play-state: running !important;
}

/* ==========================================
   【タイプA】ステートメント用
   ========================================== */
.reveal-box-grow {
  animation: animBoxGrow 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes animBoxGrow {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal-glow-up {
  animation: animGlowUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.12s);
}
@keyframes animGlowUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal-text-rise {
  animation: animTextRise 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.12s);
}
@keyframes animTextRise {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-line-stretch {
  animation: animLineStretch 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.15s);
}
@keyframes animLineStretch {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ==========================================
   【タイプB】ストーリー用
   ========================================== */
.reveal-fade-left {
  animation: animFadeLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.15s);
}
@keyframes animFadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal-fade-up {
  animation: animFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.12s);
}
@keyframes animFadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-3d-scale {
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: anim3DScale 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}
@keyframes anim3DScale {
  0% {
    opacity: 0;
    transform: translateZ(-100px) rotateX(-12deg) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateZ(0) rotateX(0deg) scale(1);
  }
}

.reveal-img-slide-1 {
  animation: animImgSlide1 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes animImgSlide1 {
  0% {
    opacity: 0;
    transform: translate(-40px, -20px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.reveal-img-slide-2 {
  animation: animImgSlide2 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.12s);
}
@keyframes animImgSlide2 {
  0% {
    opacity: 0;
    transform: translate(40px, 30px) scale(1.1) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

.reveal-deco {
  animation: animDeco 1.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.12s);
}
@keyframes animDeco {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-8deg);
  }
  100% {
    opacity: 0.8;
    transform: scale(1) rotate(0deg);
  }
}

/* ==========================================
   【タイプC】社名の由来用
   ========================================== */
.reveal-card-rise {
  animation: animCardRise 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes animCardRise {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-mask-expand {
  opacity: 0;
  transform: scale(1.1);
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-mask-expand.is-active,
.no-js .reveal-mask-expand {
  opacity: 1;
  transform: scale(1);
}

.reveal-swipe-right {
  animation: animSwipeRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}
@keyframes animSwipeRight {
  0% {
    opacity: 0;
    transform: translateX(-50px);
    letter-spacing: -0.1em;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    letter-spacing: 0.1em;
  }
}

.ph-origin-text-walk .marker.reveal-marker-paint {
  display: inline;
  background: linear-gradient(transparent 50%, #e2effd 50%);
  background-size: 0% 100% !important;
  background-repeat: no-repeat !important;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0 4px;
  transition: background-size 1s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 1 !important; 
}

.scroll-trigger.is-active .marker.reveal-marker-paint {
  background-size: 100% 100% !important;
  transition-delay: 0.8s;
}

/* ==========================================
   4. RESPONSIVE STYLES
   ========================================== */
@media screen and (max-width: 960px) {
  .ph-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ph-story-visual {
    height: 380px;
    order: -1;
  }
  .ph-origin-grid {
    grid-template-columns: 1fr;
  }
  .ph-origin-visual {
    min-height: 300px;
    height: 300px;
  }
  .ph-origin-content {
    padding: 40px 30px;
  }
}

@media screen and (max-width: 576px) {
  .ph-statement-box {
    padding: 30px 20px;
    border-radius: 16px;
  }
  .ph-para.highlight {
    font-size: 1.15rem;
  }
  .ph-focus-box {
    padding: 20px;
  }
  .ph-origin-title {
    font-size: 1.5rem;
  }
  .ph-msg-line.highlight {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}













/* ==========================================
   【極シンプル・誠実版】代表あいさつスタイル (Optimized)
   ========================================= */

.message-main {
  font-family: var(--font-base);
  color: #334155; /* 柔らかく知的なグレーブラック */
  background-color: #ffffff; /* 完全な白背景 */
}

/* 読み手にストレスを与えない、読みやすい小説やエッセイのような幅 */
.ms-content-layout {
  padding: 80px 0 120px;
}

.ms-content-container {
  max-width: 680px; /* 目が泳がない、読書に最適な狭めの横幅 */
  margin: 0 auto;
  padding: 0 24px;
}

/* 各セクション */
.ms-section {
  margin-bottom: 60px;
}
.ms-section:last-of-type {
  margin-bottom: 0;
}

/* 飾り気をなくした、品のある明朝体に近いシャープな見出し */
.ms-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a; /* 締まったネイビーブラック */
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

/* プレーンな本文テキスト */
.ms-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 20px;
}
.ms-body p:last-of-type {
  margin-bottom: 0;
}

/* 最初のリード文のみ少しだけ視線を引きつける太さに */
.ms-body .ms-lead-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

/* セリフ・引用句部分をシンプルに表現 */
.ms-body .ms-quote {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color, #2b7bb9);
  padding: 8px 0 8px 16px;
  border-left: 2px solid var(--primary-color, #2b7bb9);
  margin: 24px 0;
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media screen and (max-width: 768px) {
  .ms-content-layout {
    padding: 50px 0 80px;
  }
  .ms-section {
    margin-bottom: 45px;
  }
  .ms-title {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }
}









/* ==========================================
   【誠実クリーン版】お問い合わせフォームスタイル
   ========================================= */

.contact-main {
  font-family: var(--font-base);
  color: #334155;
  background-color: #ffffff;
}

.ct-content-layout {
  padding: 80px 0 120px;
}

.ct-content-container {
  max-width: 680px; /* 代表メッセージと同じ、視線が散らない読みやすい横幅 */
  margin: 0 auto;
  padding: 0 24px;
}

/* フォーム全体のラッパー */
.ct-form-wrapper {
  width: 100%;
}

/* 導入文 */
.ct-intro-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 40px;
  text-align: center;
}

/* フォーム各行 */
.ct-form-row {
  margin-bottom: 28px;
}

/* ラベル表示 */
.ct-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

/* 必須バッジ */
.ct-required {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #e11d48; /* 誠実に見える落ち着いた赤 */
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

/* 入力エリア（input/textarea）の基本スタイル */
.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #f8fafc;
  color: #0f172a;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* 入力中（フォーカス）の挙動 */
.ct-field input[type="text"]:focus,
.ct-field input[type="email"]:focus,
.ct-field textarea:focus {
  border-color: var(--primary-color, #2b7bb9);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(43, 123, 185, 0.1);
  outline: none;
}

/* プレースホルダー（薄い灰色文字） */
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #94a3b8;
}

/* テキストエリアの高さ固定 */
.ct-field textarea {
  height: 180px;
  resize: vertical;
}

/* プライバシーポリシー表示エリア */
.ct-policy-box {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 20px;
  height: 100px;
  overflow-y: scroll; /* スクロールできるようにして場所をとらない工夫 */
  margin-bottom: 12px;
}

.ct-policy-box p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* 同意チェックボックス部分 */
.ct-consent-wrap {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: center;
}

/* チェックボックスの初期位置調整 */
.ct-consent-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  cursor: pointer;
}

/* 送信ボタンのエリア（親要素） */
.ct-submit-wrap {
  display: flex;          /* 縦並びのレイアウトに強制固定 */
  flex-direction: column; /* 上下に並べる */
  align-items: center;    /* 左右の中心を完璧に一致させる（超重要） */
  justify-content: center;
  width: 100%;
  margin-top: 40px;
}

/* 送信ボタン：誠実なブルーのクリーンなデザイン */
.ct-btn-submit {
  display: block;         /* インラインの特性を消して完全なブロックにする */
  background-color: var(--primary-color, #2b7bb9);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 60px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(43, 123, 185, 0.15);
  transition: all 0.3s ease;
  margin: 0 auto;         /* 念のための左右中央揃え */
}

.ct-btn-submit:hover {
  background-color: #1d6096; /* 深い青 */
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(43, 123, 185, 0.25);
}

/* 同意チェックが入っていない時は送信ボタンを無効化（※Contact Form 7が自動制御） */
.ct-btn-submit[disabled],
.ct-btn-submit[disabled]:hover {
  background-color: #cbd5e1 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Contact Form 7特有のバリデーションエラー・送信完了表示の微調整 */
.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #e11d48;
  margin-top: 6px;
  font-weight: bold;
}

.wpcf7-response-output {
  margin: 30px 0 0 0 !important;
  padding: 15px 20px !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  text-align: center;
  border-width: 1px !important;
}

/* エラーメッセージ（赤枠） */
.wpcf7-response-output.wpcf7-validation-errors {
  background-color: #fef2f2;
  border-color: #fca5a5 !important;
  color: #b91c1c;
}

/* 送信成功メッセージ（緑枠） */
.wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: #f0fdf4;
  border-color: #bbf7d0 !important;
  color: #15803d;
}


/* Google reCAPTCHAのバッジを公式ガイドラインに沿って非表示にする */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media screen and (max-width: 768px) {
  .ct-content-layout {
    padding: 50px 0 80px;
  }
  .ct-intro-text {
    margin-bottom: 30px;
  }
  .ct-btn-submit {
    width: 100%; /* スマホでは押しやすいよう100%幅に */
    padding: 14px 20px;
  }
}







/* ==========================================
   【誠実クリーン版】プライバシーポリシー・免責事項
   ========================================= */

.policy-main {
  font-family: var(--font-base);
  color: #334155;
  background-color: #ffffff;
}

.po-content-layout {
  padding: 80px 0 120px;
}

.po-content-container {
  max-width: 680px; /* 他の下層ページと完全に揃えた「読みやすい」黄金幅 */
  margin: 0 auto;
  padding: 0 24px;
}

/* 記事のかたまり */
.po-article {
  margin-bottom: 60px;
}

/* 大見出し（プライバシーポリシー / 免責事項） */
.po-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

/* 冒頭文 */
.po-lead {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 40px;
}

/* 各セクションの余白 */
.po-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* 各項目の見出し（中見出し） */
.po-sub-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* 本文テキスト */
.po-section p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #475569; /* やや落ち着かせたチャコールグレー */
  margin: 0;
}

/* お問い合わせ窓口（囲み枠をあえてつけず、上品な左線でシンプルに強調） */
.po-contact-box {
  padding-left: 20px;
  border-left: 2px solid #cbd5e1;
  margin-top: 10px;
}

.po-contact-box .po-sub-title {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* プライバシーポリシーと免責事項を区切る控えめな線 */
.po-separator {
  border: none;
  border-top: 1px dashed #e2e8f0;
  margin: 60px 0;
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media screen and (max-width: 768px) {
  .po-content-layout {
    padding: 50px 0 80px;
  }
  .po-main-title {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }
  .po-lead {
    margin-bottom: 30px;
  }
  .po-sections {
    gap: 28px;
  }
  .po-sub-title {
    font-size: 0.98rem;
  }
  .po-separator {
    margin: 45px 0;
  }
}









/* ==========================================
   全ページ共通フッター（誠実・クリーンデザイン）
   ========================================= */

.l-footer {
  background-color: #0f172a; /* 信頼感のある深いネイビー */
  color: #94a3b8; /* 目に優しいライトグレーの文字色 */
  padding: 60px 0 30px;
  font-family: var(--font-base);
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* フッター上部：2カラム構成 */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding-bottom: 40px;
  margin-bottom: 25px;
}

/* 会社情報エリア */
.footer-info {
  max-width: 300px;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo img {
  height: 28px; /* ヘッダーのロゴサイズ感に合わせる */
  width: auto;
  display: block;
  /* ロゴが黒背景に沈む場合は、反転用のフィルタを有効にできます */
  /* filter: brightness(0) invert(1); */
}

.footer-company-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ナビゲーションエリア */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

.footer-menu li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu li a:hover {
  color: #ffffff; /* ホバー時に白く優しく光る */
}

/* フッター下部：コピーライト */
.footer-bottom {
  display: flex;
  justify-content: center;
}

.copyright {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  letter-spacing: 0.05em;
}

/* ==========================================
   レスポンシブ対応（スマホ・タブレット表示用）
   ========================================== */
@media screen and (max-width: 768px) {
  .l-footer {
    padding: 45px 0 25px;
  }

  .footer-top {
    flex-direction: column; /* 縦並びにする */
    gap: 35px;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }

  .footer-menu {
    flex-direction: column; /* メニューもスマホでは縦に並べて押しやすく */
    gap: 18px;
  }

  .footer-menu li a {
    font-size: 0.95rem; /* スマホでは指で押しやすいよう少し大きく */
    display: block;
  }
}





/* ==========================================
   404ページ 専用スタイル調整
========================================== */

/* 1. デフォルトのヘッダータイトル・パンくずリスト・サイドバーを非表示 */
.error404 .page-header,
.error404 #breadcrumb,
.error404 .sub-section {
    display: none !important;
}

/* 2. メインエリアを1カラム（全幅・中央揃え）化 */
.error404 .main-section--col--two {
    width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 60px 20px 80px !important;
    max-width: 800px;
}

/* 3. 404コンテンツ全体のスタイル */
.stroller-404-container {
    text-align: center;
    font-family: inherit;
    color: #333333;
}

/* 404の巨大数字 */
.stroller-404-number {
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
    color: #004BB1; /* ブランドカラー（青系）調整可 */
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* メインの見出し */
.stroller-404-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222222;
}

/* 説明文 */
.stroller-404-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 40px;
}

/* ボタンのデザイン */
.stroller-404-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stroller-404-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #004BB1; /* ボタン色 */
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stroller-404-btn:hover {
    background-color: #003380;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.stroller-404-btn--sub {
    background-color: #f4f5f7;
    color: #333333 !important;
}

.stroller-404-btn--sub:hover {
    background-color: #e5e7eb;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .stroller-404-number {
        font-size: 70px;
    }
    .stroller-404-title {
        font-size: 20px;
    }
    .stroller-404-btn-wrap {
        flex-direction: column;
    }
    .stroller-404-btn {
        width: 100%;
        box-sizing: border-box;
    }
}





/* =====================================================================
   Lightning標準の上へ戻るボタンを完全に非表示にする
   ===================================================================== */
a#page_top {
    display: none !important;
}





