.onpc {
    display: none;
}
/* ヘッダーｰCTA */
.cta-btn .swell-block-columns__inner{
  grid-template-columns: 1fr !important; /* 1列にする */
}

.cta-tel,.cta-line,.cta-mail {
    padding: .8em 0 !important;
}
.cta-btn .swell-block-columns__inner{
  margin-left: 0 !important; 
}
.cta-btn .swell-block-columns .swell-block-column{
  margin: 0 !important; 
  padding: 0 !important; 
  width: 100% !important;
}

.cta-btn .swell-block-column > .wp-block-group{
  display: grid !important;
  grid-template-columns: 80px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 12px 20px;
  box-sizing: border-box;
}

.cta-btn .wp-block-group figure{
  width: 60px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin: 0;
}
.cta-btn .wp-block-group figure img{
  width: auto !important;
  object-fit: contain;
}

.cta-tel img,.cta-mail img {
    height: 28px !important;
}
.cta-line img {
    height: 38px !important;
}

.cta-btn .swell-block-column > .wp-block-group p{ margin: 0; }

.header-cta .swell-block-columns__inner {
    justify-content: center !important;
}
.header-cta .btn-tel img,
.header-cta .btn-mail img {
    width: 40px !important;
}
.header-cta .btn-line img {
    width: 55px !important;
}

.l-header__logo, .l-fixHeader__logo {
    margin-left: 8px;
}

/* フッターリンク */
.footer-page-links {
    flex-wrap: wrap;
}

/* 下層ページタイトルエリア */
/* =========================================
   モバイル/タブレット：画像→タイトルの縦積み
   ※この塊は CSS の一番最後に置く！
   ========================================= */

  /* 親をフレックス縦積みに */
  #top_title_area.l-topTitleArea.c-filterLayer.-texture-dot{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: relative !important;
  }

  /* 画像（先頭） */
  #top_title_area.l-topTitleArea.c-filterLayer.-texture-dot > img.l-topTitleArea__img.c-filterLayer__img.u-obf-cover{
    order: 1 !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    /* z-index: auto !important; */
  }

  /* タイトル（2番目・全幅） */
  #top_title_area.l-topTitleArea.c-filterLayer.-texture-dot > .l-topTitleArea__body.l-container{
    order: 2 !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: auto !important;
  }

  /* タイトルの体裁（任意） */
  #top_title_area .c-pageTitle{
    display: block !important;
    text-align: center !important;
    font-size: clamp(20px, 5vw, 28px) !important;
  }
  #top_title_area .c-pageTitle__subTitle{
    display: block !important;
    position: static !important;
  }

  /* 画像の比率を固定したい場合（任意） */
  #top_title_area > img.l-topTitleArea__img{
    aspect-ratio: 3 / 1;  /* 好みで 3/2, 4/3 などに変更可 */
    height: auto !important;
    z-index: 50 !important;
  }

.l-topTitleArea {
    padding: 0;
    min-height:auto !important;
}

  #top_title_area .c-pageTitle{
    position: relative !important;
    display: block !important;
    text-align: center !important;
    line-height: 1.1 !important;
    z-index: 2 !important;     /* グラデ(#top_title_area::before)より上 */
    margin: 0 !important;
  }

  /* サブタイトルを絶対配置で重ねる */
  #top_title_area .c-pageTitle__subTitle{
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important; /* ど真ん中に重ねる */
    display: inline-block !important;
    margin: 0 !important;

    /* 見た目調整（お好みで） */
    font-size: clamp(28px, 12vw, 64px) !important;
    letter-spacing: .14em !important;
    opacity: .2 !important;     /* うっすら背景に */
    z-index: 1 !important;      /* 本文(タイトル)より下、グラデより上 */
    pointer-events: none !important;
  }

/* TOPページ */
  /* fv-gradient のカラムを縦積みに */
  .fv-gradient .swell-block-columns__inner {
    flex-direction: column !important;
  }

  /* 左側（縦書き部分）を写真の下に移動 */
  .fv-left {
    order: 2; /* 2番目に表示 */
    width: 100% !important;
    padding: 20px !important;
  }

  /* 右側（写真）を先に表示 */
  .fv-right {
    order: 1;
    width: 100% !important;
    height: auto !important;
  }

  /* 横書きに切り替え */
  .fv-left .vertical-text,
  .fv-left .vertical-text-sub {
    writing-mode: horizontal-tb !important;
    text-orientation: initial !important;
    transform: none !important;
    text-align: center;
    justify-content: flex-start !important;
  }

  /* テキストの行間や余白調整 */
  .fv-left .vertical-text p,
  .fv-left .vertical-text-sub p {
    margin: 0.5em 0;
    line-height: 1.4;
  }

  .vertical-text-sub {
    width: 100% !important;
    font-size: 22px !important;

  }
.vertical-text {
    font-size: 48px !important;
    width: 100% !important;
}

.fv-gradient {
    height: 600px;
}
.first-view{
	height:600px;
}
.top-topics {
    transform: translateY(-180px);
}
.top-topics .p-postListWrap {
    padding: 24px 12px;
}

.top-topics .p-postListWrap .p-postList.-type-list .p-postList__thumb {
    width: 100%;
    /* height: 110px; */
    flex: 0 0 auto;
}

.top-topics-title h2 {
    font-size: 32px;
}

.top-topics-base {
    height: auto;
}

.top-service {
    padding-top: 0 !important;
}

.top-service .font-serif {
    font-size: 24px;
    padding: 1em;
}

.point-num {
    font-size: 38px !important;
}
.point-title {
    font-size: 24px !important;
}
.top-point-content:nth-child(1) .swell-block-columns__inner,
.top-point-content:nth-child(3) .swell-block-columns__inner  {
    flex-direction: column-reverse;
    gap:0;
}
.top-point-content:nth-child(2) .swell-block-columns__inner {
    flex-direction: column;
    gap:0;
}

.top-point-text .wp-block-group {
  display: flex;
  align-items: flex-end !important; /* 下端を基準に */
}
.point-label,
.point-num,
.point-title {
  line-height: 1.2;
  margin: 0;
}
.top-point-content .font-serif {
    padding-left: 0 !important;
}


  .p-postList.-type-card {
    display: flex;
    flex-direction: column; /* 縦積み */
    gap: 20px;              /* カード間の余白 */
  }

  .p-postList.-type-card .p-postList__item {
    width: 100% !important; /* 横幅いっぱい */
    max-width: none !important;
  }

.top-works .is-style-more_btn a {
    min-width: 40%;
}

.service-content > .swell-block-columns__inner {
    gap: 0 !important;
}

/* トピックスページ */
/* タブ縦積み */
.p-homeContent {
    flex-direction: column;
    gap: 24px;
  }
  .p-postListTab {
    flex-basis: auto;
}
.topics-message {
    padding-bottom: 0 !important;
}