/* メニューボタン：
   - 子は pointer-events:none で #js-menu-btn 本体（50×50）でクリックを受ける
   - テーマの visibility:hidden / GSAP autoAlpha で押せなくなるのを防ぐ
   - #js-progress（z-index:999）より上にしてローディング中も操作可能に */
.menu-btn-wrap {
  z-index: 10000;
}

/* .g-menu-btn の bottom:-10px だとバー内で下寄りになるため、.l-inner 内で縦中央に配置 */
.menu-btn-wrap #js-menu-btn {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: auto !important;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

.menu-btn-wrap #js-menu-btn > * {
  pointer-events: none;
}

/* スマホ：メニューボタンをバー内でやや上へ（縦中央より上） */
@media screen and (max-width: 640px) {
  .menu-btn-wrap #js-menu-btn {
    top: calc(50% - 14px);
  }
}

/* 全画面メニュー：GSAP yPercent と競合しないよう CSS で開閉（html.is-opened は main.js） */
#js-menu.g-menu {
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

html.is-opened #js-menu.g-menu {
  transform: translate3d(0, 0, 0) !important;
  z-index: 9999;
  pointer-events: auto;
}

/* イントロナビ：リンク上のシアン円（style.css の .intro-nav ul li a::before）を非表示 */
.intro-nav ul li a::before {
  display: none !important;
  content: none !important;
}

/* トップ：ヒーロー背景（固定ページ背景 .m-page-bg .s-bg を上書き） */
.p-home .m-page-bg .s-bg {
  background-image: url(../images/ヒーロー.webp) !important;
}

/* トップヒーロー：レイアウト安定
   親に overflow-x:hidden だけを付けると、仕様上 overflow-y が auto 扱いになり
   固定高さのヒーロー内に縦スクロールバーが出ることがあるため、横クリップは子へ委譲 */
.m-intro.e-intro-home {
  box-sizing: border-box;
}

.m-intro.e-intro-home > .l-inner {
  max-width: 100%;
  box-sizing: border-box;
}

/* イントロナビ（absolute）と Our Mission（.hgroup）が縦に重ならないよう余白を確保（テーマは margin-top:100px 固定） */
.p-home .m-intro.e-intro-home .intro-nav {
  height: auto;
  min-height: clamp(100px, 9vw + 88px, 200px);
  padding-bottom: clamp(0.25rem, 1.2vw, 1rem);
  box-sizing: border-box;
}

.m-intro.e-intro-home .hgroup {
  margin-top: 0 !important;
  margin-bottom: clamp(2rem, 4vw, 3.5rem) !important;
  position: relative;
  z-index: 2;
  max-width: 100%;
  min-width: 0;
  /* overflow-x だけ付けると overflow-y が auto 扱いになりスクロールバーが出るため、親は visible */
  overflow: visible;
}

@media screen and (max-width: 640px) {
  .m-intro.e-intro-home .intro-hero-main {
    padding-top: clamp(8rem, 15vw + 4.5rem, 15rem) !important;
  }
}

/* 平板〜：テーマの 7.2rem 固定で折り返し・重なりが出るため clamp で追従（480px 以下は下のメディアで上書き） */
@media screen and (min-width: 481px) {
  .m-intro.e-intro-home .hgroup h1 {
    font-size: clamp(1.85rem, 2.6vw + 1rem, 7.2rem) !important;
    line-height: 1.12;
  }

  .m-intro.e-intro-home .hgroup h2 {
    font-size: clamp(0.75rem, 0.55vw + 0.55rem, 1.4rem) !important;
  }
}

/* Our Mission のドットライン：極端に幅が出ないよう安全側に */
@media screen and (min-width: 1121px) {
  .m-intro.e-intro-home .c-dot-line::after {
    width: max(0px, calc((100vw - 1080px + 40px) / 2));
    left: calc(-1 * max(0px, (100vw - 1080px + 40px) / 2));
  }
}

/* トップヒーロー見出し：改行を「未来をデザインする、」「確かな一歩。」の2行に固定 */
.m-intro.e-intro-home .hgroup h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: clip;
}

/* Our Mission 行：ドットラインの疑似要素が横にはみ出すのを抑える（.hgroup 全体に overflow しない） */
.m-intro.e-intro-home .hgroup h2.c-dot-line {
  max-width: 100%;
  overflow-x: clip;
}

.m-intro.e-intro-home .hgroup h1 .intro-hero-line {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  word-break: keep-all;
  /* テーマの .m-intro h1 span{opacity:0} がラッパーにも当たるため、親だけ不透明にする */
  opacity: 1;
}

/* トップヒーロー：見出しの右にロゴマーク（ロゴのみ.webp） */
.m-intro.e-intro-home .m-table .table-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

/* ナビ下の余白は .hgroup だけに付けると .intro-hero-mark と縦位置がずれるため、親へ padding-top */
.m-intro.e-intro-home .intro-hero-main {
  padding-top: clamp(14rem, 11vw + 8rem, 26rem) !important;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.m-intro.e-intro-home .intro-hero-main .hgroup {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

.m-intro.e-intro-home .intro-hero-mark {
  flex: 0 1 auto;
  max-width: min(42vw, 420px);
}

.m-intro.e-intro-home .intro-hero-mark img {
  display: block;
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  max-height: min(38vh, 360px);
  object-fit: contain;
  object-position: center right;
}

/* 狭い画面：ヒーロー下端と .m-intro-bg の波形（.s-morph-down）が重ならないよう余白とマーク高さを調整 */
@media screen and (max-width: 1120px) {
  .m-intro.e-intro-home {
    padding-bottom: clamp(2.5rem, 7vh, 6rem);
    box-sizing: border-box;
  }

}

/* 481px〜800px：タブレット幅は横並び（480px以下は上のメディアで縦積み） */
@media screen and (min-width: 481px) and (max-width: 800px) {
  .m-intro.e-intro-home .intro-hero-main {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 2.5vw, 24px);
    margin-bottom: clamp(0.5rem, 2vh, 1.5rem);
  }

  .m-intro.e-intro-home .intro-hero-mark {
    align-self: center;
    flex-shrink: 0;
    max-width: min(38vw, 200px);
  }

  .m-intro.e-intro-home .intro-hero-mark img {
    max-height: min(20vh, 180px);
  }
}

/* 480px 以下：縦積み（ベースの flex-direction:row より後に書くことで確実に上書き） */
@media screen and (max-width: 480px) {
  .m-intro.e-intro-home .intro-hero-main {
    flex-direction: column !important;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(16px, 4vw, 28px);
    margin-bottom: clamp(0.5rem, 2vh, 1.5rem);
  }

  .m-intro.e-intro-home .intro-hero-mark {
    align-self: center;
    flex-shrink: 1;
    max-width: min(72vw, 320px);
  }

  .m-intro.e-intro-home .intro-hero-mark img {
    max-height: min(22vh, 200px);
  }

  .m-intro.e-intro-home .hgroup h2 {
    font-size: clamp(0.7rem, 1.5vw + 0.5rem, 0.95rem) !important;
    margin-bottom: 10px;
  }

  .m-intro.e-intro-home .hgroup h1 {
    font-size: clamp(0.78rem, 2.4vw + 0.45rem, 1.05rem) !important;
    line-height: 1.38;
    max-width: 100%;
  }

  .m-intro.e-intro-home .hgroup h1 .intro-hero-line {
    white-space: nowrap;
  }
}

@media screen and (min-width: 801px) and (max-width: 1280px) {
  .m-intro.e-intro-home .intro-hero-mark {
    max-width: min(36vw, 380px);
  }
}

/* 大画面：トップヒーロー（ナビ・Our Mission）を横幅いっぱいにしつつ、左右に適度な余白を残す */
@media screen and (min-width: 1121px) {
  .m-intro.e-intro-home .intro-nav .l-inner,
  .m-intro.e-intro-home > .l-inner {
    max-width: none;
    width: 100%;
    padding-left: clamp(20px, 3vw, 48px);
    padding-right: clamp(20px, 3vw, 48px);
  }

  /* ロゴ＋テキストナビが重ならないようフレックス化（テーマの float を打ち消し） */
  .p-home .m-intro.e-intro-home .intro-nav-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .p-home .m-intro.e-intro-home .intro-nav ul {
    float: none;
    flex: 0 0 auto;
    margin-left: auto;
  }
}

/* ロゴ画像（ヘッダー／イントロナビのみ拡大。フッターは下記 .footer-logo-wrap） */
.intro-logo,
.intro-logo a {
  width: 100%;
  height: auto;
  max-width: min(900px, calc(100vw - 40px));
  aspect-ratio: 900 / 94;
  box-sizing: border-box;
}

@media screen and (min-width: 1121px) {
  .intro-logo,
  .intro-logo a {
    max-width: min(900px, calc(100vw - 280px));
  }
}

.intro-logo a img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* トップヒーロー：ナビ内ロゴを少し上へ（テーマ .intro-logo の top:-2px を上書き） */
.m-intro.e-intro-home .intro-logo {
  top: -12px;
}

@media screen and (min-width: 641px) {
  .footer-logo-wrap h1,
  .footer-logo-wrap h1 a,
  .footer-logo-wrap .footer-logo,
  .footer-logo-wrap .footer-logo a {
    width: 305px;
    height: 32px;
    max-width: 305px;
    box-sizing: border-box;
  }

  .footer-logo-wrap h1 a img,
  .footer-logo-wrap .footer-logo a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }
}

@media screen and (max-width: 640px) {
  .intro-logo,
  .intro-logo a {
    width: 580px;
    height: 60px;
    max-width: min(580px, calc(100vw - 40px));
  }
}

/* TOP（index.html）フッター直前のみ：Google マップ埋め込み（所在地：北海道苫小牧市弥生町2丁目3番1号） */
.g-footer-map-wrap {
  width: 100%;
  background: #e8eaed;
  line-height: 0;
}

.g-footer-map {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 440px);
  border: 0;
  vertical-align: top;
}

/* TOP・下層共通：お問い合わせ（電話・公式LINE） */
.p-home .home-contact-section,
#js-wrapper .home-contact-section {
  padding: clamp(2.5rem, 6vw, 4rem) 20px clamp(2.75rem, 6vw, 4.5rem);
}

.p-home .home-contact-section .hgroup,
#js-wrapper .home-contact-section .hgroup {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.p-home .home-contact-section h2.home-contact-section__jp,
#js-wrapper .home-contact-section h2.home-contact-section__jp {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw + 1rem, 2.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: #0f172a !important;
}

.p-home .home-contact-section__box.activity-reform-contact,
#js-wrapper .home-contact-section__box.activity-reform-contact {
  margin-top: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* #js-footer-bg（Back to Home）の直後に置いたお問い合わせブロック */
#js-footer-bg + .home-contact-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* フッターロゴ：狭い画面・テーマの切り替え幅で位置・縮尺を整える */
@media screen and (max-width: 1120px) {
  #js-footer.g-footer .footer-logo-wrap {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #js-footer .footer-logo-wrap h1,
  #js-footer .footer-logo-wrap h1 a,
  #js-footer .footer-logo-wrap .footer-logo,
  #js-footer .footer-logo-wrap .footer-logo a {
    width: min(305px, calc(100vw - 80px)) !important;
    max-width: min(305px, calc(100vw - 80px)) !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #js-footer .footer-logo-wrap h1 a img,
  #js-footer .footer-logo-wrap .footer-logo a img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media screen and (max-width: 640px) {
  #js-footer .footer-logo-wrap {
    width: 100% !important;
    max-width: min(280px, calc(100vw - 40px)) !important;
    box-sizing: border-box;
    padding: 0 4px;
  }

  #js-footer .footer-logo-wrap h1,
  #js-footer .footer-logo-wrap h1 a,
  #js-footer .footer-logo-wrap .footer-logo,
  #js-footer .footer-logo-wrap .footer-logo a {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 下層ページ：フッター前の Back to Home を表示（テーマ既定は 404 のみ） */
.p-overview .go-to-home,
.p-activity .go-to-home {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  /* .s-morph-up（z-index:1）より上にしないと、SVG がタップを奪う（特にスマホ） */
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.p-overview .go-to-home .c-btn,
.p-activity .go-to-home .c-btn {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* 事業一覧：カード共通（広告ブロック・各事業リンク・子リンク） */
.activity-purpose {
  --activity-card-border: 1px solid #e2e8f0;
  --activity-card-radius: 12px;
  --activity-card-bg: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  --activity-card-bg-hover: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
  --activity-card-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  --activity-card-shadow-hover: 0 6px 20px rgba(15, 23, 42, 0.08);
  --activity-card-r-bg: rgba(248, 250, 252, 0.75);
  --activity-card-r-bg-mobile: rgba(248, 250, 252, 0.85);
  --activity-card-divider: #e8eef2;
}

/* 事業一覧：アンカー行（Service 02〜）＝カード1枚に統一 */
.activity-purpose a.activity-service-link.m-num-list-row {
  display: flex;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: var(--activity-card-border);
  border-radius: var(--activity-card-radius);
  box-sizing: border-box;
  background: var(--activity-card-bg);
  box-shadow: var(--activity-card-shadow);
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.activity-purpose a.activity-service-link.m-num-list-row:last-of-type {
  margin-bottom: 0;
}

.view-pc .activity-purpose a.activity-service-link.m-num-list-row:hover {
  background: var(--activity-card-bg-hover);
  border-color: #cbd5e1;
  box-shadow: var(--activity-card-shadow-hover);
}

.activity-purpose a.activity-service-link.m-num-list-row:focus-visible {
  outline: 2px solid #00b0ff;
  outline-offset: 4px;
}

.activity-purpose a.activity-service-link .num-list._l {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1rem, 2.2vw, 1.35rem);
  box-sizing: border-box;
}

.activity-purpose a.activity-service-link .num-list._l > p:first-child {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.78rem, 0.4vw + 0.72rem, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #64748b;
  text-transform: uppercase;
}

.activity-purpose a.activity-service-link .num-list._l > p:first-child span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  padding: 0.38em 0.55em;
  border-radius: 8px;
  background: linear-gradient(145deg, #1a3d52 0%, #244456 100%);
  color: #fff;
  font-size: 0.95em;
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(36, 68, 86, 0.28);
}

.activity-purpose a.activity-service-link .num-list._l h3 {
  margin: 0;
  font-size: clamp(1.45rem, 1.1vw + 1.2rem, 1.95rem);
  font-weight: 700;
  color: #1a3352;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

@media screen and (min-width: 801px) {
  .activity-purpose a.activity-service-link .num-list._r {
    padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1rem, 2.2vw, 1.35rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--activity-card-divider);
    background: var(--activity-card-r-bg);
    box-sizing: border-box;
  }
}

@media screen and (max-width: 800px) {
  .activity-purpose a.activity-service-link .num-list._r {
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.2vw, 1.35rem);
    border-top: 1px solid var(--activity-card-divider);
    background: var(--activity-card-r-bg-mobile);
  }
}

/* 事業一覧：広告事業（販促・Web・看板を内包）— 見出し行クリックで子リンクを表示 */
.activity-ad-group {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.activity-ad-group__intro[role='button'] {
  cursor: pointer;
  outline: none;
  border: var(--activity-card-border);
  border-radius: var(--activity-card-radius);
  box-sizing: border-box;
  background: var(--activity-card-bg);
  box-shadow: var(--activity-card-shadow);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
}

/* 開いたとき：枠・背景で閉じ状態と明確に差をつける */
#activity-ad-toggle[aria-expanded='true'] {
  border-color: #94a3b8;
  background: linear-gradient(165deg, #ffffff 0%, #e8f0f5 100%);
  box-shadow: 0 4px 18px rgba(36, 68, 86, 0.12);
}

.view-pc .activity-ad-group__intro[role='button']:hover {
  background: var(--activity-card-bg-hover);
  border-color: #cbd5e1;
  box-shadow: var(--activity-card-shadow-hover);
}

.activity-ad-group__intro[role='button']:focus-visible {
  outline: 2px solid #00b0ff;
  outline-offset: 4px;
}

.activity-ad-group__intro .num-list._l {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1rem, 2.2vw, 1.35rem);
  box-sizing: border-box;
}

.activity-ad-group__intro .num-list._l > p:first-child {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.78rem, 0.4vw + 0.72rem, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #64748b;
  text-transform: uppercase;
}

.activity-ad-group__intro .num-list._l > p:first-child span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  padding: 0.38em 0.55em;
  border-radius: 8px;
  background: linear-gradient(145deg, #1a3d52 0%, #244456 100%);
  color: #fff;
  font-size: 0.95em;
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(36, 68, 86, 0.28);
}

.activity-ad-group__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.35rem;
  box-sizing: border-box;
}

.activity-ad-group__title-row h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(1.45rem, 1.1vw + 1.2rem, 1.95rem);
  font-weight: 700;
  color: #1a3352;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.activity-ad-group__accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(36, 68, 86, 0.08);
  color: #244456;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.view-pc .activity-ad-group__intro[role='button']:hover .activity-ad-group__accordion-icon {
  background: rgba(36, 68, 86, 0.14);
}

.activity-ad-group__accordion-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

#activity-ad-toggle[aria-expanded='true'] .activity-ad-group__accordion-icon {
  transform: rotate(180deg);
  background: #244456;
  color: #fff;
  box-shadow: 0 2px 10px rgba(36, 68, 86, 0.28);
}

.activity-ad-group__accordion-hint {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0.65rem 0 0;
  padding: 0.42em 0.85em;
  font-size: clamp(0.92rem, 0.38vw + 0.85rem, 1.05rem);
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.04em;
  background: #f1f5f9;
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    color 0.35s ease,
    background 0.35s ease;
}

#activity-ad-toggle[aria-expanded='true'] .activity-ad-group__accordion-hint {
  color: #244456;
  background: rgba(36, 68, 86, 0.12);
}

/* ベース .num-list._l p::after（見出し横線）をピル文言には適用しない */
.activity-ad-group__accordion-hint::after {
  content: none;
  display: none;
  width: 0;
  margin: 0;
  height: 0;
  background: none;
}

.activity-ad-group__intro .num-list._l p,
.activity-ad-group__intro .num-list._l h3,
.activity-ad-group__intro .num-list._r p {
  cursor: pointer;
}

@media screen and (min-width: 801px) {
  .activity-ad-group__intro .num-list._r {
    padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1rem, 2.2vw, 1.35rem);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-left: 1px solid var(--activity-card-divider);
    background: var(--activity-card-r-bg);
  }
}

@media screen and (max-width: 800px) {
  .activity-ad-group__intro .num-list._r {
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.2vw, 1.35rem);
    border-top: 1px solid var(--activity-card-divider);
    background: var(--activity-card-r-bg-mobile);
  }
}

/* 高さスムーズ展開（grid 0fr→1fr）＋子リンクのフェード／スライド */
.activity-ad-group__panel {
  display: grid;
  grid-template-rows: 0fr;
  padding-top: 0;
  opacity: 0;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.activity-ad-group__panel.is-open {
  grid-template-rows: 1fr;
  padding-top: clamp(0.65rem, 1.5vw, 0.85rem);
  opacity: 1;
}

.activity-ad-group__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.activity-ad-group__panel .activity-ad-group__item {
  opacity: 0;
  transform: translateY(-0.55rem);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-ad-group__panel.is-open .activity-ad-group__item {
  opacity: 1;
  transform: translateY(0);
}

.activity-ad-group__panel.is-open .activity-ad-group__item:nth-child(1) {
  transition-delay: 0.06s;
}

.activity-ad-group__panel.is-open .activity-ad-group__item:nth-child(2) {
  transition-delay: 0.12s;
}

.activity-ad-group__panel.is-open .activity-ad-group__item:nth-child(3) {
  transition-delay: 0.18s;
}

.activity-ad-group__panel.is-open .activity-ad-group__item:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .activity-ad-group__intro[role='button'],
  .activity-ad-group__accordion-icon,
  .activity-ad-group__accordion-hint,
  .activity-ad-group__panel,
  .activity-ad-group__panel .activity-ad-group__item {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* 広告パネル内の子リンク：外枠をメイン行と同じカードに統一 */
.activity-purpose .activity-ad-group__item.activity-service-link.m-num-list-row {
  border: var(--activity-card-border);
  border-radius: var(--activity-card-radius);
  box-sizing: border-box;
  background: var(--activity-card-bg);
  box-shadow: var(--activity-card-shadow);
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  margin-bottom: clamp(0.65rem, 1.5vw, 0.85rem);
}

.activity-purpose .activity-ad-group__item.activity-service-link.m-num-list-row:last-child {
  margin-bottom: 0;
}

.view-pc .activity-purpose .activity-ad-group__item.activity-service-link.m-num-list-row:hover {
  background: var(--activity-card-bg-hover);
  border-color: #cbd5e1;
  box-shadow: var(--activity-card-shadow-hover);
}

.activity-purpose .activity-ad-group__item .num-list._l {
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.2vw, 1.35rem);
  border-left: none;
  box-sizing: border-box;
}

.activity-purpose .activity-ad-group__item .num-list._l h3 {
  margin: 0;
  font-size: clamp(1.2rem, 0.9vw + 1.05rem, 1.55rem);
  font-weight: 700;
  color: #1a3352;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

@media screen and (min-width: 801px) {
  .activity-purpose .activity-ad-group__item .num-list._r {
    padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.2vw, 1.35rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--activity-card-divider);
    background: var(--activity-card-r-bg);
    box-sizing: border-box;
  }
}

@media screen and (max-width: 800px) {
  .activity-purpose .activity-ad-group__item .num-list._r {
    padding: clamp(0.9rem, 2.2vw, 1.15rem) clamp(1rem, 2.2vw, 1.35rem);
    border-top: 1px solid var(--activity-card-divider);
    background: var(--activity-card-r-bg-mobile);
  }
}

.activity-ad-group__more-box {
  display: inline-block;
  margin-top: 0.75em;
  padding: 0.45em 1.15em;
  border: 1px solid #244456;
  border-radius: 2px;
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #244456;
  line-height: 1.3;
}

.view-pc .activity-purpose .activity-service-link:hover .activity-ad-group__more-box {
  background: rgba(36, 68, 86, 0.06);
}

/* 解体事業：白カード＋グラデビジュアル／テキストのジグザグ（オレンジチェック・写真なし）※旧ショーケース用 */
.activity-demolition-showcase {
  --dem-show-accent: #ea580c;
  --dem-show-badge: #374151;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.activity-demolition-showcase__card {
  background: #f8fafc;
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.activity-demolition-showcase__inner {
  display: grid;
  gap: 0;
  align-items: stretch;
  min-height: 0;
}

.activity-demolition-showcase__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  overflow: hidden;
  background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 100%);
}

.activity-demolition-showcase__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background: repeating-linear-gradient(
    -32deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 14px
  );
}

.activity-demolition-showcase__card:nth-child(2) .activity-demolition-showcase__visual {
  background: linear-gradient(145deg, #475569 0%, #1e293b 100%);
}

.activity-demolition-showcase__card:nth-child(3) .activity-demolition-showcase__visual {
  background: linear-gradient(145deg, #0d9488 0%, #134e4a 100%);
}

.activity-demolition-showcase__card:nth-child(4) .activity-demolition-showcase__visual {
  background: linear-gradient(145deg, #b45309 0%, #713f12 100%);
}

.activity-demolition-showcase__visual-icon {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 11vw, 88px);
  height: clamp(64px, 11vw, 88px);
  color: rgba(255, 255, 255, 0.92);
}

.activity-demolition-showcase__visual-icon svg {
  width: 100%;
  height: 100%;
}

.activity-demolition-showcase__badge {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.1rem);
  left: clamp(0.75rem, 2vw, 1.1rem);
  z-index: 2;
  padding: 0.4em 0.95em 0.45em;
  border-radius: 6px;
  background: var(--dem-show-badge);
  color: #fff;
  font-size: clamp(0.8rem, 0.7vw + 0.72rem, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.activity-demolition-showcase__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.65rem, 3.2vw, 2.4rem) clamp(1.35rem, 3.2vw, 2.1rem);
  background: #fff;
}

.activity-demolition-showcase__title {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 2.25vw + 1.25rem, 2.65rem);
  font-weight: 700;
  line-height: 1.35;
  color: #020617;
}

.activity-demolition-showcase__desc {
  margin: 0 0 1.15rem;
  font-size: clamp(1.38rem, 1.05vw + 1.12rem, 1.65rem);
  line-height: 1.8;
  color: #1e293b;
}

.activity-demolition-showcase__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-demolition-showcase__list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 2.5rem;
  font-size: clamp(1.3rem, 0.85vw + 1.12rem, 1.55rem);
  line-height: 1.55;
  color: #1e293b;
}

.activity-demolition-showcase__list li:last-child {
  margin-bottom: 0;
}

.activity-demolition-showcase__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background-color: var(--dem-show-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}

@media screen and (min-width: 900px) {
  /* 左カード：狭いビジュアル | 本文 */
  .activity-demolition-showcase__inner {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  }

  /* 右カード：本文 | 狭いビジュアル（order だけ入れ替えると列幅が逆になるため列定義を反転） */
  .activity-demolition-showcase__card--media-right .activity-demolition-showcase__inner {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  }

  .activity-demolition-showcase__card--media-right .activity-demolition-showcase__visual {
    order: 2;
  }

  .activity-demolition-showcase__card--media-right .activity-demolition-showcase__body {
    order: 1;
  }

  /* 本文列の高さにビジュアル列を揃える（同一グリッド行で stretch） */
  .activity-demolition-showcase__visual {
    min-height: 0;
    height: 100%;
    align-self: stretch;
  }
}

@media screen and (max-width: 899px) {
  .activity-demolition-showcase__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .activity-demolition-showcase__visual {
    order: -1;
    min-height: 140px;
    height: auto;
  }
}

#js-wrapper .activity-demolition-showcase h2.activity-demolition-showcase__title {
  font-size: clamp(2rem, 2.25vw + 1.25rem, 2.65rem) !important;
  color: #020617 !important;
}

#js-wrapper .activity-demolition-showcase p.activity-demolition-showcase__desc {
  font-size: clamp(1.38rem, 1.05vw + 1.12rem, 1.65rem) !important;
  color: #1e293b !important;
}

#js-wrapper .activity-demolition-showcase ul.activity-demolition-showcase__list li {
  font-size: clamp(1.3rem, 0.85vw + 1.12rem, 1.55rem) !important;
  color: #1e293b !important;
}

/* イベント戦略ページ：画像を上から縦並び */
.activity-event-gallery {
  padding-top: 80px;
  max-width: 100%;
}

.activity-event-gallery img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.activity-event-gallery img + img {
  margin-top: clamp(12px, 2vw, 24px);
}

/* 画像ギャラリーがある事業詳細：セクションを #fff にし、画像の白と揃える（:has ＋ クラスで対応） */
.p-activity .activity-content.u-bg-gray:has(.activity-event-gallery),
.p-activity .activity-content.activity-content--gallery-white.u-bg-gray {
  background-color: #fff !important;
}

.p-activity .activity-content.u-bg-gray .activity-event-gallery {
  background-color: #fff;
}

.p-activity .activity-content.u-bg-gray .activity-event-gallery img {
  background-color: #fff;
}

/* 事業詳細ページ：admission-wrap 内の複数段落の間隔 */
.p-activity .admission-wrap .txt + .txt {
  margin-top: 1em;
}

.p-activity .admission-wrap .txt > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* ---------- リフォーム事業ページ：参考レイアウト（ヒーロー／3円＋リング／Case一覧） ---------- */
.activity-reform-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) 20px;
  text-align: center;
  background: #1e1a18;
  color: #fff;
}

.activity-reform-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  pointer-events: none;
  background: repeating-linear-gradient(
    -32deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.035) 2px,
    transparent 2px,
    transparent 10px
  );
}

.activity-reform-hero .l-inner {
  position: relative;
  z-index: 1;
}

.activity-reform-hero__en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin: 0 0 1.25rem;
}

.activity-reform-hero__en-line {
  flex: 1;
  height: 1px;
  max-width: min(140px, 22vw);
  background: #8a9568;
}

.activity-reform-hero__en-text {
  flex-shrink: 0;
  color: #9daa7a;
  font-weight: 300;
  letter-spacing: 0.28em;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-family: Georgia, 'Times New Roman', serif;
}

.activity-reform-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.2vw + 1rem, 2.75rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.activity-reform-hero__lead {
  margin: 0.35em 0 0;
  font-size: clamp(1.35rem, 1.4vw + 1.05rem, 1.65rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.activity-reform-page {
  padding-top: 0;
}

.activity-reform-tris {
  position: relative;
  z-index: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  border-top: 1px solid #e0e0e0;
}

/* 狭い画面：縦並びカード（max-width 460px 中央）／大画面：3列横並び */
.activity-reform-tris__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 768px) {
  .activity-reform-tris__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: clamp(0.75rem, 2vw, 1.25rem);
  }
}

.activity-reform-tris__bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 0;
  padding: 1.65rem 1rem;
  border-radius: 16px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: linear-gradient(165deg, #2a4a6e 0%, #152a45 55%, #0f1f2f 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.activity-reform-tris__en {
  margin: 0;
  font-size: clamp(1.2rem, 1.5vw + 0.95rem, 1.45rem);
  font-weight: 400;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 0.06em;
}

.activity-reform-tris__rule {
  width: 36px;
  margin: 0.4rem auto 0.5rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.activity-reform-tris__ttl {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 1.45vw + 1.05rem, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
}

.activity-reform-tris__sub {
  margin: 0;
  font-size: clamp(1.2rem, 0.7vw + 1.05rem, 1.4rem);
  line-height: 1.55;
  opacity: 0.95;
}

.activity-reform-cases {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0;
}

.activity-reform-case {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: flex-start;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-bottom: 1px solid #e0e0e0;
}

.activity-reform-case:last-child {
  border-bottom: none;
}

.activity-reform-case__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(165deg, #6a9cc4 0%, #2a5a80 45%, #1a3a55 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.activity-reform-case__badge-label {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.activity-reform-case__badge-num {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.activity-reform-case__body {
  flex: 1;
  min-width: 0;
}

.activity-reform-case__ttl {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2rem);
  font-weight: 700;
  line-height: 1.45;
  color: #222;
}

.activity-reform-case__desc {
  margin: 0;
  font-size: clamp(1.35rem, 0.8vw + 1.1rem, 1.55rem);
  line-height: 1.75;
  color: #333;
}

.activity-reform-contact {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f6 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

.activity-reform-contact__text {
  margin: 0;
  font-size: clamp(1.35rem, 1.2vw + 1.1rem, 1.75rem);
  font-weight: 700;
  color: #1a3352;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.activity-reform-contact__text--sub {
  margin-top: 0.65rem;
  font-size: clamp(1.2rem, 1vw + 1.05rem, 1.5rem);
  font-weight: 600;
}

.activity-reform-contact__line-row {
  margin: 0.75rem 0 0;
  display: flex;
  justify-content: center;
}

.activity-reform-contact__line-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  padding: 0.85em 1.75em;
  font-size: clamp(1.15rem, 1vw + 1.05rem, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(165deg, #06c755 0%, #05a84a 100%);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.view-pc .activity-reform-contact__line-box:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
  transform: translateY(-1px);
}

.activity-reform-contact__tel {
  color: #244456;
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 68, 86, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.view-pc .activity-reform-contact__tel:hover {
  color: #00b0ff;
  border-bottom-color: rgba(0, 176, 255, 0.45);
}

#js-wrapper .activity-reform-contact p.activity-reform-contact__text {
  font-size: clamp(1.35rem, 1.2vw + 1.1rem, 1.75rem) !important;
}

#js-wrapper .activity-reform-contact p.activity-reform-contact__text--sub {
  font-size: clamp(1.2rem, 1vw + 1.05rem, 1.5rem) !important;
}

#js-wrapper .activity-reform-contact a.activity-reform-contact__line-box {
  font-size: clamp(1.15rem, 1vw + 1.05rem, 1.4rem) !important;
}

/* 解体ページ（広幅 .l-inner）でも連絡ボックス幅を読みやすく */

/* style.css の h2/h3 等より確実に効かせる（#js-wrapper + 要素 + !important） */
#js-wrapper .activity-reform-hero span.activity-reform-hero__en-text {
  font-size: clamp(1.45rem, 3vw, 2.15rem) !important;
}

#js-wrapper .activity-reform-hero h2.activity-reform-hero__title {
  font-size: clamp(1.75rem, 3.2vw + 1rem, 2.75rem) !important;
}

#js-wrapper .activity-reform-hero p.activity-reform-hero__lead {
  font-size: clamp(1.35rem, 1.4vw + 1.05rem, 1.65rem) !important;
}

#js-wrapper .activity-reform-case h3.activity-reform-case__ttl {
  font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2rem) !important;
}

#js-wrapper .activity-reform-case p.activity-reform-case__desc {
  font-size: clamp(1.35rem, 0.8vw + 1.1rem, 1.55rem) !important;
}

#js-wrapper .activity-reform-tris__bubble p.activity-reform-tris__en {
  font-size: clamp(1.2rem, 1.5vw + 0.95rem, 1.45rem) !important;
}

#js-wrapper .activity-reform-tris__bubble h3.activity-reform-tris__ttl {
  font-size: clamp(1.35rem, 1.45vw + 1.05rem, 1.65rem) !important;
}

#js-wrapper .activity-reform-tris__bubble p.activity-reform-tris__sub {
  font-size: clamp(1.2rem, 0.7vw + 1.05rem, 1.4rem) !important;
}

@media screen and (max-width: 520px) {
  .activity-reform-case {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .activity-reform-case__body {
    text-align: left;
  }
}

/* ---------- 販促戦略ページ（赤アクセント／Case／事例2カラム／制作グリッド） ---------- */
.activity-promotion-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) 20px;
  text-align: center;
  background: #231815;
  color: #fff;
}

.activity-promotion-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  pointer-events: none;
  background: repeating-linear-gradient(
    -32deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 2px,
    transparent 2px,
    transparent 10px
  );
}

.activity-promotion-hero .l-inner {
  position: relative;
  z-index: 1;
}

.activity-promotion-hero__en {
  margin: 0 0 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 200;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: #c0392b;
}

.activity-promotion-hero__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2.5vw, 1.25rem);
  margin: 0 0 1.25rem;
}

.activity-promotion-hero__tagline-line {
  flex: 1;
  height: 1px;
  max-width: min(120px, 20vw);
  background: #c0392b;
}

.activity-promotion-hero__tagline-text {
  flex-shrink: 0;
  font-size: clamp(1.15rem, 2vw + 0.85rem, 1.5rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.12em;
}

.activity-promotion-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  letter-spacing: 0.35em;
}

.activity-promotion-hero__title-inner {
  display: inline-block;
}

.activity-promotion-hero__lead {
  margin: 0;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.55rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.activity-promotion-page {
  padding-top: 0;
}

.activity-promotion-cases {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0;
}

.activity-promotion-case {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: flex-start;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-bottom: 1px solid #e5e5e5;
}

.activity-promotion-case:last-of-type {
  border-bottom: none;
}

.activity-promotion-case__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(165deg, #e74c3c 0%, #c0392b 55%, #922b21 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(192, 57, 43, 0.35);
}

.activity-promotion-case__body {
  flex: 1;
  min-width: 0;
}

.activity-promotion-case__desc {
  margin: 0;
  font-size: clamp(1.4rem, 1.1vw + 1.1rem, 1.65rem);
  line-height: 1.75;
  font-weight: 700;
  color: #222;
}

.activity-promotion-cta {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.activity-promotion-cta__lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 1.3vw + 1.15rem, 1.85rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.55;
}

.activity-promotion-cta__sub {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 0.9vw + 1.1rem, 1.55rem);
  line-height: 1.75;
  color: #333;
}

.activity-promotion-cta__note {
  margin: 0;
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.2rem);
  line-height: 1.65;
  color: #555;
}

.activity-promotion-examples {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.activity-promotion-example__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 1.2vw + 1.05rem, 1.6rem);
  font-weight: 700;
  color: #1f2937;
  line-height: 1.45;
}

.activity-promotion-example__head-bar {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  min-height: 1.4em;
  background: #c0392b;
  border-radius: 2px;
}

.activity-promotion-example__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}

.activity-promotion-example__media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.activity-promotion-example__media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.activity-promotion-example__dl {
  margin: 0;
}

.activity-promotion-example__dl dt {
  margin: 0.85rem 0 0.25rem;
  font-size: clamp(1.1rem, 0.7vw + 0.95rem, 1.25rem);
  font-weight: 700;
  color: #374151;
}

.activity-promotion-example__dl dt:first-child {
  margin-top: 0;
}

.activity-promotion-example__dl dd {
  margin: 0;
  font-size: clamp(1.25rem, 0.75vw + 1.05rem, 1.45rem);
  line-height: 1.7;
  color: #334155;
}

.activity-promotion-example__result {
  margin-top: clamp(1rem, 2vw, 1.35rem);
  padding-top: clamp(0.85rem, 1.5vw, 1.1rem);
  border-top: 1px solid #e5e7eb;
}

.activity-promotion-example__result-label {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: clamp(1.1rem, 0.65vw + 0.95rem, 1.2rem);
  font-weight: 700;
  color: #374151;
}

.activity-promotion-example__result-text {
  display: inline;
  margin: 0;
  font-size: clamp(1.25rem, 0.75vw + 1.05rem, 1.45rem);
  line-height: 1.7;
  font-weight: 700;
  color: #c0392b;
}

.activity-promotion-works {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid #e5e5e5;
}

.activity-promotion-works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 640px) {
  .activity-promotion-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .activity-promotion-works__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.activity-promotion-works__item {
  margin: 0;
}

.activity-promotion-works__ttl {
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  font-size: clamp(1.2rem, 1vw + 1.05rem, 1.4rem);
  font-weight: 700;
  color: #1f2937;
  border-bottom: 1px solid #d1d5db;
}

.activity-promotion-works__thumb {
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.activity-promotion-works__thumb img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.activity-promotion-works__other {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid #d1d5db;
}

.activity-promotion-works__other-ttl {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 1vw + 1.05rem, 1.45rem);
  font-weight: 700;
  color: #1f2937;
}

.activity-promotion-works__other-text {
  margin: 0;
  font-size: clamp(1.15rem, 0.65vw + 1.02rem, 1.35rem);
  line-height: 1.75;
  color: #374151;
}

@media screen and (max-width: 767px) {
  .activity-promotion-example__inner {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 520px) {
  .activity-promotion-case {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .activity-promotion-case__body {
    text-align: left;
  }
}

#js-wrapper .activity-promotion-hero p.activity-promotion-hero__en {
  font-size: clamp(2.25rem, 7vw, 3.75rem) !important;
}

#js-wrapper .activity-promotion-hero h2.activity-promotion-hero__title {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem) !important;
}

#js-wrapper .activity-promotion-hero p.activity-promotion-hero__lead {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.55rem) !important;
}

#js-wrapper .activity-promotion-case p.activity-promotion-case__desc {
  font-size: clamp(1.4rem, 1.1vw + 1.1rem, 1.65rem) !important;
}

/* ---------- WEB・SNS・ICT戦略ページ（水色アクセント／Case／事例2列／6枠グリッド） ---------- */
.activity-web-hero {
  position: relative;
  overflow: hidden;
}

.activity-web-hero__top {
  padding: clamp(1.75rem, 4vw, 2.75rem) 20px clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  background: #fff;
}

.activity-web-hero__label {
  margin: 0 0 1rem;
  font-family: 'Roboto Condensed', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 300;
  font-size: clamp(1.85rem, 4.5vw + 0.85rem, 3rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.activity-web-hero__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2.5vw, 1.25rem);
  margin: 0;
}

.activity-web-hero__tagline-line {
  flex: 1;
  height: 1px;
  max-width: min(100px, 18vw);
  background: #cbd5e1;
}

.activity-web-hero__tagline-text {
  flex-shrink: 0;
  font-size: clamp(1.15rem, 1.8vw + 0.9rem, 1.5rem);
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.14em;
}

.activity-web-hero__banner {
  padding: clamp(2rem, 5vw, 3.25rem) 20px;
  text-align: center;
  background: #2a2d32;
  color: #fff;
  position: relative;
}

.activity-web-hero__banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  pointer-events: none;
  background: repeating-linear-gradient(
    -32deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 2px,
    transparent 2px,
    transparent 10px
  );
}

.activity-web-hero__banner .l-inner {
  position: relative;
  z-index: 1;
}

.activity-web-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 2.8vw + 0.95rem, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.activity-web-hero__lead {
  margin: 0;
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.5rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

.activity-web-page {
  padding-top: 0;
}

.activity-web-cases {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0;
}

.activity-web-case {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: flex-start;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-bottom: 1px solid #e5e7eb;
}

.activity-web-case:last-child {
  border-bottom: none;
}

.activity-web-case__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(165deg, #5b8fd4 0%, #2563eb 45%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.activity-web-case__badge-label {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.activity-web-case__badge-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.activity-web-case__body {
  flex: 1;
  min-width: 0;
}

.activity-web-case__desc {
  margin: 0;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.6rem);
  line-height: 1.75;
  font-weight: 700;
  color: #222;
}

.activity-web-cta {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.35rem, 2.5vw, 2rem) 0;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.activity-web-cta__text {
  margin: 0;
  font-size: clamp(1.25rem, 0.9vw + 1.08rem, 1.5rem);
  line-height: 1.75;
  color: #334155;
}

.activity-web-examples {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid #e5e7eb;
}

.activity-web-examples__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .activity-web-examples__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
  }
}

.activity-web-example__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 1vw + 1rem, 1.4rem);
  font-weight: 700;
  color: #1f2937;
  line-height: 1.45;
}

.activity-web-example__head-bar {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  min-height: 1.35em;
  background: #2563eb;
  border-radius: 2px;
}

.activity-web-example__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.activity-web-example__media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.activity-web-example__media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.activity-web-example__dl {
  margin: 0;
}

.activity-web-example__dl dt {
  margin: 0.65rem 0 0.2rem;
  font-size: clamp(1.05rem, 0.65vw + 0.92rem, 1.2rem);
  font-weight: 700;
  color: #374151;
}

.activity-web-example__dl dt:first-child {
  margin-top: 0;
}

.activity-web-example__dl dd {
  margin: 0;
  font-size: clamp(1.15rem, 0.7vw + 1.02rem, 1.38rem);
  line-height: 1.65;
  color: #334155;
}

.activity-web-example__result-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: clamp(0.85rem, 1.8vw, 1.15rem);
  padding-top: clamp(0.75rem, 1.5vw, 1rem);
  border-top: 1px solid #e5e7eb;
}

.activity-web-example__result {
  flex: 1;
  min-width: 0;
}

.activity-web-example__result-label {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.15rem);
  font-weight: 700;
  color: #374151;
}

.activity-web-example__result-text {
  display: inline;
  margin: 0;
  font-size: clamp(1.15rem, 0.7vw + 1.02rem, 1.38rem);
  line-height: 1.65;
  font-weight: 700;
  color: #2563eb;
}

.activity-web-example__qr {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.activity-web-works {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid #e5e7eb;
}

.activity-web-works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3vw, 2.25rem);
}

@media (min-width: 640px) {
  .activity-web-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .activity-web-works__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.activity-web-works__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.activity-web-works__item--phone .activity-web-works__ttl {
  margin: 0;
  flex: 1;
  font-size: clamp(1.05rem, 0.85vw + 0.95rem, 1.25rem);
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
  text-align: left;
}

.activity-web-works__item--phone .activity-web-works__qr {
  width: 48px;
  height: 48px;
}

.activity-web-works__item--wide .activity-web-works__ttl {
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  font-size: clamp(1.15rem, 0.95vw + 1.02rem, 1.35rem);
  font-weight: 700;
  color: #1f2937;
  border-bottom: 1px solid #cbd5e1;
}

.activity-web-works__thumb {
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.activity-web-works__item--phone .activity-web-works__thumb {
  position: relative;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  /* 列幅が同じ3カラムで高さを一致（元画像の縦横比に近い 252:468 ≒ 7:13） */
  aspect-ratio: 7 / 13;
  overflow: hidden;
}

.activity-web-works__item--phone .activity-web-works__thumb img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.activity-web-works__thumb img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

@media screen and (max-width: 520px) {
  .activity-web-case {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .activity-web-case__body {
    text-align: left;
  }

  .activity-web-example__result-row {
    flex-wrap: wrap;
  }
}

#js-wrapper .activity-web-hero p.activity-web-hero__label {
  font-size: clamp(1.85rem, 4.5vw + 0.85rem, 3rem) !important;
}

#js-wrapper .activity-web-hero h2.activity-web-hero__title {
  font-size: clamp(1.65rem, 2.8vw + 0.95rem, 2.5rem) !important;
}

#js-wrapper .activity-web-hero p.activity-web-hero__lead {
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.5rem) !important;
}

#js-wrapper .activity-web-case p.activity-web-case__desc {
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.6rem) !important;
}

/* ---------- 事業詳細：画像＋テキストの2カラム（ラベル／見出し／チェックリスト） ---------- */
.activity-feature-split {
  --afs-accent: #0d9488;
  --afs-heading: #0f172a;
  --afs-muted: #334155;
  --afs-body: #475569;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #fff;
}

.activity-feature-split + .activity-feature-split {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(0.25rem, 1.5vw, 1rem);
  border-top: 1px solid #e8eef0;
}

.activity-feature-split__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.activity-feature-split__media {
  position: relative;
  margin: 0;
  border-radius: clamp(16px, 2.5vw, 24px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.activity-feature-split__media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.activity-feature-split__badge {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  left: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 1;
  padding: 0.45em 1em 0.5em;
  border-radius: 999px;
  background: var(--afs-accent);
  color: #fff;
  font-size: clamp(0.8rem, 0.8vw + 0.72rem, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.activity-feature-split__label {
  margin: 0 0 0.5rem;
  color: var(--afs-accent);
  font-size: clamp(0.95rem, 0.9vw + 0.82rem, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.activity-feature-split__title {
  margin: 0 0 0.65rem;
  color: var(--afs-heading);
  font-size: clamp(1.65rem, 2.2vw + 1.1rem, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.activity-feature-split__lead {
  margin: 0 0 1rem;
  color: var(--afs-muted);
  font-size: clamp(1.15rem, 1vw + 1rem, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
}

.activity-feature-split__rule {
  width: 48px;
  height: 4px;
  margin: 0 0 1.25rem;
  border: 0;
  border-radius: 2px;
  background: var(--afs-accent);
}

.activity-feature-split__media-link {
  display: block;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}

.activity-feature-split__media-link:focus-visible {
  outline: 3px solid var(--afs-accent);
  outline-offset: 4px;
  border-radius: clamp(12px, 2vw, 18px);
}

.activity-feature-split__media-link img {
  transition: opacity 0.2s ease;
}

.view-pc .activity-feature-split__media-link:hover img {
  opacity: 0.94;
}

.activity-feature-split__cta-wrap {
  margin: 0;
}

.activity-feature-split__detail-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 240px);
  padding: 0.85em 1.75em;
  box-sizing: border-box;
  font-size: clamp(1.1rem, 0.85vw + 1rem, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f172a !important;
  text-decoration: none !important;
  background: #fff;
  border: 2px solid var(--afs-accent);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.activity-feature-split__detail-box:focus-visible {
  outline: 3px solid var(--afs-accent);
  outline-offset: 3px;
}

.view-pc .activity-feature-split__detail-box:hover {
  background: rgba(13, 148, 136, 0.06);
  border-color: #0f766e;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.18);
  transform: translateY(-1px);
}

.activity-feature-split__cta-wrap--surf-line {
  margin-top: 0.85rem;
}

.activity-feature-split__surf-line-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  padding: 0.85em 1.75em;
  box-sizing: border-box;
  font-size: clamp(1.05rem, 0.8vw + 0.98rem, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(165deg, #06c755 0%, #05a84a 100%);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.activity-feature-split__surf-line-box:focus-visible {
  outline: 3px solid #059669;
  outline-offset: 3px;
}

.view-pc .activity-feature-split__surf-line-box:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
  transform: translateY(-1px);
}

#js-wrapper .activity-feature-split a.activity-feature-split__surf-line-box {
  font-size: clamp(1.05rem, 0.8vw + 0.98rem, 1.25rem) !important;
}

.activity-feature-split__desc {
  margin: 0 0 1.5rem;
  color: var(--afs-body);
  font-size: clamp(1.08rem, 0.65vw + 0.98rem, 1.25rem);
  line-height: 1.85;
}

.activity-feature-split__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-feature-split__list li {
  position: relative;
  margin-bottom: 0.85rem;
  padding-left: 2.35rem;
  color: var(--afs-body);
  font-size: clamp(1.05rem, 0.55vw + 0.98rem, 1.2rem);
  line-height: 1.65;
}

.activity-feature-split__list li:last-child {
  margin-bottom: 0;
}

.activity-feature-split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background-color: var(--afs-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

@media screen and (min-width: 900px) {
  .activity-feature-split__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .activity-feature-split--media-right .activity-feature-split__media {
    order: 2;
  }

  .activity-feature-split--media-right .activity-feature-split__content {
    order: 1;
  }
}

@media screen and (max-width: 899px) {
  .activity-feature-split__inner {
    display: flex;
    flex-direction: column;
  }

  .activity-feature-split__media {
    order: -1;
  }
}

.activity-feature-split + .activity-event-gallery {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid #e8eef0;
}

.activity-outdoor-extra {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid #e8eef0;
  text-align: center;
}

.activity-outdoor-extra .activity-feature-split__desc {
  margin-bottom: 1em;
  color: #1e293b;
  font-size: clamp(1.28rem, 0.95vw + 1.1rem, 1.55rem);
  line-height: 1.85;
}

.activity-outdoor-extra .activity-feature-split__desc:last-child {
  margin-bottom: 0;
}

#js-wrapper .activity-outdoor-extra + .admission-wrap .txt {
  color: #1e293b !important;
  font-size: clamp(1.28rem, 0.95vw + 1.1rem, 1.55rem) !important;
  line-height: 1.85;
}

#js-wrapper .activity-feature-split h2.activity-feature-split__title {
  font-size: clamp(1.65rem, 2.2vw + 1.1rem, 2.35rem) !important;
}

/* 会社概要：一覧テーブル（社名・所在地等）文字を大きく・濃く */
#js-wrapper .m-list-table .list-table-body .caption p,
#js-wrapper .m-list-table .list-table-body .txt p {
  color: #020617 !important;
  font-size: clamp(1.95rem, 1.45vw + 1.42rem, 2.45rem) !important;
  line-height: 1.75;
}

#js-wrapper .m-list-table .list-table-body .caption p {
  color: #000 !important;
  font-weight: 700 !important;
}

/* 挨拶ブロック：行幅を全角おおよそ45字、本文をやや大きく */
.m-intro-card .intro-card-inner > p {
  font-size: clamp(1.125rem, 0.85vw + 1rem, 1.375rem);
  line-height: 1.85;
  max-width: 45ch;
  max-width: 45ic;
}

/* SEO/LLMO: FAQ */
.home-faq-section {
  padding: clamp(2.5rem, 6vw, 4rem) 20px clamp(2.75rem, 6vw, 4.5rem);
}

.home-faq-section .hgroup {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.home-faq-section__jp {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw + 1rem, 2.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: #0f172a !important;
}

.home-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.35rem 0 0.85rem;
}

.home-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.2rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  padding: 0.35rem 1.5rem 0.35rem 0;
  position: relative;
}

.home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.2rem;
  font-weight: 400;
  color: #244456;
}

.home-faq-item[open] summary::after {
  content: "–";
}

.home-faq-item p {
  margin: 0.5rem 0 0;
  font-size: clamp(0.95rem, 0.4vw + 0.9rem, 1.05rem);
  line-height: 1.75;
  color: #334155;
  max-width: 42em;
}

/* SEO: フッターロゴを h1 → div.footer-logo に変更したためテーマCSSを継承 */
.footer-logo-wrap .footer-logo {
  width: 305px;
  height: 32px;
}

.footer-logo-wrap .footer-logo a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.footer-logo-wrap .footer-logo img {
  display: block;
}

@media screen and (max-width: 640px) {
  .footer-logo-wrap .footer-logo {
    width: 100%;
    height: auto;
  }
}


