/* =======================================
共通
======================================== */
.wrapper.company {
  overflow: visible;
}

.page-header {
  height: 96px;
}

.page-sec-ttl {
  position: relative;
  margin-bottom: 40px;
}

.page-sec-ttl h3 {
  position: relative;
  color: var(--main-color);
  padding-bottom: 40px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.flow-area {
  text-align: center;
}

.page-sec-ttl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(0);
  display: block;
  background-color: #065a8e;
  height: 1px;
  width: 80px;
}

.page-sec-ttl .text-en {
  font-size: 12px;
  color: #065a8e;
  margin: 0 0 10px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.about-head-area .page-sec-ttl::after,
.flow-area .page-sec-ttl::after {
  left: 50%;
  transform: translateX(-50%);
}

.text {
  font-family: "Noto Serif JP", serif;
  color: var(--text-color);
}

br.sp {
  display: none;
}

@media (max-width: 991px) {
  .section-box .sec-title {
    font-size: min(calc(40px + (60 - 40) * (100vw - 320px) / (991 - 320)),
        60px);
    margin-bottom: min(calc(20px + (60 - 20) * (100vw - 320px) / (991 - 320)),
        60px);
  }

  .section-box .sub-title {
    font-size: min(calc(14px + (20 - 14) * (100vw - 320px) / (991 - 320)),
        20px);
  }

  .main_ttl h2 {
    padding: 0 1em 0 0;
  }

  .main_ttl .fs-en {
    font-size: min(calc(30px + (60 - 30) * (100vw - 320px) / (991 - 320)), 60px);
  }

  .main_ttl .txt {
    font-size: min(calc(14px + (20 - 14) * (100vw - 320px) / (991 - 320)), 20px);
  }

  .sec-ttl-box {
    margin-bottom: 35px;
  }

  .page-box h3.sec-title {
    padding-bottom: 0;
  }

  .page-box h3::after {
    top: 25px;
  }

  .page-box h3::before {
    top: 25px;
  }
}

@media (max-width: 768px) {
  br.sp {
    display: block;
  }

  .page-box h3.sec-title {
    font-size: 30px;
  }

  .sec-ttl-box {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-box h3.sec-title {
    font-size: 26px;
  }

  .page-box h3::after {
    top: 20px;
  }

  .page-box h3::before {
    top: 20px;
  }

  .page-sec-ttl h3 {
    font-size: 22px;
    margin: 0px 0px 40px;
  }

  .page-sec-ttl::after {
    width: 70px;
  }
}

/* ページタイトル */
.main-ttl-wrap {
  margin-bottom: 120px;
  margin-top: var(--header-height, 0px);
}

.main_ttl {
  height: 380px;
  display: flex;
  align-items: center;
  margin-top: 96px;
  background-color: #000;
  position: relative;
  z-index: 10;
}

.main_ttl:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 25vw;
  background-color: var(--navy-color);
  transform: skewX(16.5deg);
  transform-origin: 100% 100%;
  pointer-events: none;
  z-index: 10;
}

.main_ttl>.bg {
  width: 100%;
  height: 380px;
}

.bg img {
  max-width: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg {
  position: relative;
}

.bg img {
  width: 100%;
  height: auto;
  display: block;
}

/* 黒をうっすら重ねる */
.bg::after {
  width: 100% !important;
  height: 100% !important;
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  /* ← 数値で濃さ調整 */
  pointer-events: none;
}

.main_ttl>.bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.main_ttl h2 {
  justify-content: center;
  z-index: 100;
  margin-top: 10px;
}

.main_ttl>.bg img {
  max-width: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_ttl_text_box {
  height: 100%;
  z-index: 100;
  padding-left: 40px;
  display: flex;
  justify-content: center;
  flex-flow: column;

}

.main-ttl-box {
  height: 100%;
  display: block;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  align-items: center;
  position: absolute;
  justify-content: center;
}

.main-ttl-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 400px;
  height: auto;
  margin: 0 auto;
}


.main_ttl>.bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 300px;
  background-size: contain;
  left: 0;
  background-repeat: no-repeat;
  background-image: url('../images/common/circle-left.svg');
}

.main_ttl .fs-en {
  font-weight: 500;
  display: block;
  color: #fff;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: 32px;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.achievements.main_ttl .fs-en {
  font-size: 42px;
}

.main_ttl .txt {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
  display: block;
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.section-box .sec-title {
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--main-color);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 60px;
}

.section-box .sub-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--main-color);
  margin-bottom: 5px;
  display: table;
}

.detail-btn-list .flex-box {
  display: flex;
  justify-content: center;
  gap: 0 20px;
}



@media (max-width: 1280px) {
  .main_ttl {
    height: 300px;
    display: flex;
    align-items: center;
    margin-top: 96px;
    background-color: #000;
    position: relative;
    z-index: 10;
  }

  .main_ttl:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 25vw;
    background-color: var(--navy-color);
    transform: skewX(16.5deg);
    transform-origin: 100% 100%;
    pointer-events: none;
    z-index: 10;
  }

  .main_ttl>.bg {
    width: 100%;
    height: 300px;
  }

  .main-ttl-wrap {
    margin-bottom: min(calc(80px + (100 - 80) * (100vw - 992px) / (1500 - 992)),
        100px);
  }

  .main_ttl .fs-en {
    font-size: min(calc(25px + (32 - 25) * (100vw - 992px) / (1500 - 992)),
        32px);
  }

  .main_ttl .txt {
    font-size: min(calc(38px + (50 - 38) * (100vw - 992px) / (1500 - 992)),
        50px);
  }

  .main-ttl-bg {
    width: min(calc(300px + (400 - 300) * (100vw - 992px) / (1500 - 992)),
        400px);
  }


  .section-box .sec-title {
    font-weight: 700;
    color: #00b98f;
    font-size: min(calc(48px + (72 - 48) * (100vw - 992px) / (1500 - 992)),
        72px);
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: min(calc(40px + (60 - 40) * (100vw - 992px) / (1500 - 992)),
        60px);
  }

  .section-box .sub-title {
    font-size: min(calc(16px + (20 - 16) * (100vw - 992px) / (1500 - 992)),
        20px);
  }

}

@media (max-width: 991px) {
  .main_ttl:after {
    width: 35vw;
  }

  .main-ttl-wrap {
    margin-bottom: min(calc(60px + (80 - 60) * (100vw - 320px) / (991 - 320)),
        80px);
  }

  .main_ttl .fs-en {
    font-size: min(calc(20px + (25 - 20) * (100vw - 320px) / (991 - 320)),
        25px);
  }

  .main_ttl .txt {
    font-size: min(calc(26px + (38 - 26) * (100vw - 320px) / (991 - 320)),
        38px);
  }


  .main_ttl h2 {
    display: block;
    left: 0;

  }

  .section-box .sec-title {
    font-size: min(calc(40px + (60 - 40) * (100vw - 320px) / (991 - 320)),
        60px);
    margin-bottom: min(calc(20px + (40 - 20) * (100vw - 320px) / (991 - 320)),
        40px);
  }

  .section-box .sub-title {
    font-size: min(calc(16px + (20 - 16) * (100vw - 320px) / (991 - 320)),
        20px);
  }

  .detail-btn-list .flex-box {
    display: block;
  }

  .achievements.main_ttl .fs-en {
    font-size: 33px;
  }

  .main_ttl>.bg::before {
    width: min(calc(100px + (169 - 100) * (100vw - 320px) / (991 - 320)),
        169px);
    height: min(calc(120px + (200 - 120) * (100vw - 320px) / (991 - 320)),
        200px);
  }

  .main_ttl>.bg::after {
    width: min(calc(250px + (400 - 250) * (100vw - 320px) / (991 - 320)),
        400px);
    height: min(calc(200px + (300 - 200) * (100vw - 320px) / (991 - 320)),
        300px);
  }
}

@media (max-width: 768px) {
  .main_ttl {
    margin-bottom: 20px;
  }

  .main_ttl {
    height: 260px;
  }

  .main_ttl>.bg {
    width: 100%;
    height: 260px;
  }

}

@media (max-width: 480px) {
  .main_ttl {
    margin-bottom: 20px;
    margin-top: 96px;
  }

  .main_ttl {
    height: 220px;
  }

  .main_ttl>.bg {
    width: 100%;
    height: 220px;
  }

  .main_ttl:after {
    width: 45vw;
  }

}

.h2area {
  width: 100%;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  position: relative;
  z-index: 1;
  margin-top: 96px;
}

.h2area::after {
  content: '';
  background: url("../images/common/bg-dot.png");
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 230px;
}

@media (min-width: 768px) {
  .h2area::after {
    height: 280px;
  }
}

@media (min-width: 992px) {
  .h2area::after {
    height: 320px;
  }
}

@media (min-width: 1140px) {
  .h2area::after {
    height: 380px;
  }
}

@media (min-width: 1280px) {
  .h2area::after {
    height: 460px;
  }
}

@media (min-width: 768px) {
  .h2area {
    width: 100%;
    height: 280px;
  }
}

@media (min-width: 992px) {
  .h2area {
    width: 100%;
    height: 320px;
  }
}

@media (min-width: 1140px) {
  .h2area {
    width: 100%;
    height: 380px;
  }
}

@media (min-width: 1280px) {
  .h2area {
    width: 100%;
    height: 460px;
  }
}

.h2area.h2-about {
  background: url("../images/page/about/h2-about.jpg");
  background-size: cover;
  background-position: center;
}

.h2area.h2-business {
  background: url("../images/page/business/h2-business.jpg");
  background-size: cover;
  background-position: center;
}

.h2area.h2-works {
  background: url("../images/page/works/h2-works.jpg");
  background-size: cover;
  background-position: center;
}

.h2area.h2-company {
  background: url("../images/page/company/h2-company.jpg");
  background-size: cover;
  background-position: center;
}

.h2-txt {
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.05rem;
  padding: 0px 15px;
  text-align: center;
  font-weight: 500;
  position: relative;
  z-index: 10;
}

.h2-backtext {
  position: absolute;
  z-index: 5;
  right: 10px;
  bottom: 10px;
}

.h2-shadow {
  -webkit-filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, .3));
  filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, .3));
}

@media (min-width: 992px) {
  .h2-backtext {
    bottom: 20px;
  }
}

@media (min-width: 1280px) {
  .h2-backtext {
    bottom: 50px;
  }
}


@media (min-width: 768px) {
  .h2-txt {
    font-size: 36px;
    letter-spacing: 0.1rem;
  }
}

@media (min-width: 992px) {
  .h2-txt {
    font-size: 36px;
    letter-spacing: 0.2rem;
    padding-top: 80px;
  }
}

@media (min-width: 1280px) {
  .h2-txt {
    font-size: 46px;
  }
}

/* =======================================
パンくず
======================================== */
.breadcrumb_wrap {
  position: static;
  margin-top: 20px;
  margin-left: auto;
  padding-right: 20px;
  text-align: right;
}

.breadcrumb_wrap .panlist {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow-y: hidden;
  overflow-x: auto;
}

.breadcrumb_wrap .panlist>li {
  display: flex;
  align-items: center;
}


.breadcrumb_wrap .panlist>li {
  font-size: 11px;
}

.breadcrumb_wrap .panlist>li>a {
  color: var(--blue-color);
  white-space: nowrap;
}

.breadcrumb_wrap .panlist>li.active {
  color: #3a3c3d;
  text-decoration: none;
  pointer-events: none;
}

.breadcrumb_wrap .panlist>li+li:before {
  content: ">";
  letter-spacing: normal;
  display: block;
  padding: 0 0.5em;
}

.breadcrumb_wrap .panlist>li+li:before {
  transform: translateY(-0.1em);
}

/* =======================================
実績紹介
======================================== */

.works-item-top-area {
  padding-bottom: 120px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.works-item-top-area__select {
  max-width: 420px;
}

.works-item-top-area__select-control {
  border-radius: 0;
  border-color: rgba(0, 0, 0, .12);
  color: var(--main-color);
}

/* Category-Title（左に青い線 + 太字） */
.works-item-top-area__category-title {
  position: relative;
  padding-left: 22px;
  font-size: clamp(28px, 2.2vw, 44px);
  font-weight: 800;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

.works-item-top-area__category-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 14px;
  height: 3px;
  background: var(--blue-color);
}

.works-item-top-area h3 {
  font-weight: 700;
}

.works-item-top-area__item-title {
  color: var(--blue-color);
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}

.works-item-top-area__thumb {
  aspect-ratio: 16 / 9;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: 600;
  user-select: none;
}

.works-item-top-area__thumb {
  aspect-ratio: 4 / 3;
  /* ← 好きな比率に変更可 */
  overflow: hidden;
  background: #eee;
}

.works-item-top-area__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ← 重要 */
  display: block;
}

.works-item-top-area__text {
  color: var(--text-color);
  line-height: 1.8;
  background: #fff;
  white-space: normal;
  word-break: break-word;
}

.works-item-top-area__select-control {
  background-color: var(--blue-color);
  color: #fff;
  font-size: 20px;
  border: none;
  font-weight: 500;
}

.works-item-top-area__select {
  position: relative;
  max-width: 420px;
}

/* デフォルト矢印を消す */
.works-item-top-area__select-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
  padding-right: 3rem;
}

.works-item-top-area__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg) translateY(-2px);
  pointer-events: none;
}

.works-gallery-area {
  padding: 120px 0;
  background: #fff;
}

.works-gallery__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.works-gallery-area .swiper {
  width: 100%;
}

/* メイン表示エリアの高さ固定（画像サイズがバラバラでも揃う） */
.works-gallery__frame--main {
  height: clamp(260px, 38vw, 520px);
}

/* サムネ高さ固定 */
.works-gallery__frame--thumb {
  height: 92px;
}

@media (max-width: 576px) {
  .works-gallery__frame--thumb {
    height: 78px;
  }
}

/* 枠：画像をcontainで収める（縦長でも切れない） */
.works-gallery__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.works-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* サムネボタン */
.works-gallery__thumb {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.works-gallery__thumb .works-gallery__frame {
  outline: 1px solid var(--main-color);
  outline-offset: -1px;
}

/* thumbsのスライド幅（固定で中央寄せが安定） */
.worksThumbsSwiper .swiper-slide {
  width: 150px;
}

@media (max-width: 576px) {
  .worksThumbsSwiper .swiper-slide {
    width: 120px;
  }
}

/* 選択中サムネの強調 */
.worksThumbsSwiper .swiper-slide-thumb-active .works-gallery__frame {
  outline: 4px solid var(--blue-color);
  outline-offset: -4px;
}

/* 矢印（自作） */
.works-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
  z-index: 5;
}

/* ←ここが重要：-10px をやめて「枠内」に固定（ズレ防止） */
.works-gallery__nav--prev {
  left: 0;
}

.works-gallery__nav--next {
  right: 0;
}

/* 三角 */
.works-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
}

/* 共通の三角（白） */
.works-gallery__nav::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

/* ← 左矢印 */
.works-gallery__nav--prev::before {
  border-width: 8px 12px 8px 0;
  border-color: transparent #fff transparent transparent;
}

/* → 右矢印 */
.works-gallery__nav--next::before {
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}

/* ===== タブレット ===== */
@media (max-width: 991px) {
  .works-gallery__nav {
    width: 48px;
    height: 48px;
  }

  .works-gallery__nav--prev::before {
    border-width: 8px 12px 8px 0;
  }

  .works-gallery__nav--next::before {
    border-width: 8px 0 8px 12px;
  }
}

@media (max-width: 768px) {
  .works-gallery__nav--prev {
    left: 10px;
  }

  .works-gallery__nav--next {
    right: 10px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 576px) {
  .works-gallery__nav {
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
  }

  .works-gallery__nav--prev::before {
    border-width: 7px 10px 7px 0;
  }

  .works-gallery__nav--next::before {
    border-width: 7px 0 7px 10px;
  }
}




/* 下のテキスト枠（添付の枠） */
.works-detail__text {
  line-height: 1.8;
  color: var(--text-color);
}

/* テーブル全体 */
.works-detail__table {
  border: 1px solid var(--main-color);
}

.works-detail__table th,
.works-detail__table td {
  border-top: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  padding: 14px 16px;
  vertical-align: middle;
}

.works-detail__table th:last-child,
.works-detail__table td:last-child {
  border-right: 0;
}

/* ヘッダーの薄ブルー */
.works-detail__table thead th {
  background: #f0f8fe;
  border-top: none;
  color: #000;
  font-weight: 700;
  text-align: center;
}

/* 文字は左寄せ */
.works-detail__table tbody td {
  text-align: left;
}

.works-detail__table-wrap {
  border: 0;
}

/* サムネの謎余白（ボタンの行高・ベースライン）を消す */
.works-gallery__thumb {
  display: block;
  line-height: 0;
  font-size: 0;
}

/* 念のため：slide側も高さ固定を持たないように */
.works-gallery__thumbs .swiper-slide {
  height: auto !important;
}

/* 1260px未満：折り返し開始（4列） */
@media (max-width: 1260px) {

  .works-gallery__thumbs .swiper-wrapper {
    transform: none !important;
    /* Swiperの移動を止める */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .works-gallery__thumbs .swiper-slide {
    width: calc((100% - 48px) / 4) !important;
    /* 4列 */
    margin: 0 !important;
  }
}

@media (max-width: 1020px) {

  /* 余計な横スクロールを起こさない */
  .works-detail__table-wrap {
    overflow-x: visible;
  }

  .works-detail__table {
    border: 0;
  }

  .works-detail__table thead {
    display: none;
    /* 見出し行は隠す */
  }

  .works-detail__table,
  .works-detail__table tbody,
  .works-detail__table tr,
  .works-detail__table td {
    display: block;
    width: 100%;
  }

  /* 1案件 = 1カード */
  .works-detail__table tr {
    border: 1px solid rgba(0, 0, 0, .18);
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff;
  }

  /* 1列 + ラベル（::before） */
  .works-detail__table td {
    border: 0 !important;
    padding: 8px 0;
    position: relative;
    padding-left: 92px;
    /* ← ラベル分の左余白 */
    line-height: 1.6;
  }

  /* ラベル共通 */
  .works-detail__table td::before {
    position: absolute;
    left: 0;
    top: 8px;
    width: 84px;
    /* ← ラベル幅固定 */
    font-weight: 700;
    color: var(--navy-color);
    line-height: 1.6;
    white-space: nowrap;
  }

  /* 列順でラベル付与（data属性不要） */
  .works-detail__table td:nth-child(1)::before {
    content: "年月";
  }

  .works-detail__table td:nth-child(2)::before {
    content: "業務名";
  }

  .works-detail__table td:nth-child(3)::before {
    content: "発注者";
  }



}

@media (max-width: 991px) {
  .works-gallery__thumbs .swiper-slide {
    width: calc((100% - 32px) / 3) !important;
  }

  .works-item-top-area {
    padding-bottom: 100px;
  }

  .works-gallery-area {
    padding: 100px 0;
    background: #fff;
  }



}

@media (max-width: 576px) {
  .works-gallery__thumbs .swiper-slide {
    width: calc((100% - 16px) / 2) !important;
  }
}

@media (max-width: 480px) {

  .works-item-top-area {
    padding-bottom: 80px;
  }

  .works-gallery-area {
    padding: 80px 0;
    background: #fff;
  }

  .works-item-top-area__select-control {
    font-size: 16px;
  }
}

/* =======================================
会社概要
======================================== */
.sp-nav-wrap {
  display: none;
}

.content-block {
  margin-bottom: 120px;
}

/* ===== 見出し ===== */
.ttl-bar {
  width: 16px;
  height: 3px;
  background: var(--accent);
  display: inline-block;
  flex: 0 0 auto;
}

/* ===== 社是ボックス ===== */
.motto-box {
  background: #f0f8fe;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.motto-box h4 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--main-color);
}

.motto-box h5 {
  line-height: 1.4;
  font-size: 26px;
  color: var(--text-color);
}

@media (min-width: 768px) {
  .motto-box {
    padding: 48px;
  }
}

.side-nav__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #222;
  padding: 6px 8px;
  border-radius: 6px;
}

.side-nav__link::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--blue-color);
  display: inline-block;
}

.side-nav__link:hover {
  background: rgba(30, 120, 214, .08);
}

.side-nav__link.is-active {
  font-weight: 700;
}

.side-nav__link.is-active {
  font-weight: 700;
  background: rgba(30, 120, 214, .08);
}

.sp-nav__link.is-active {
  font-weight: 700;
  border-color: var(--blue-color);
  background: rgba(30, 120, 214, .06);
}

.policy-box {
  margin-top: 60px;
}

.policy__text-box {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 28px;
  justify-content: center;
  margin-bottom: 30px;
  background-color: #f0f8fe;
  padding: 18px 18px;
  border-bottom: 2px solid var(--blue-color);
}

.policy__item:last-child {
  margin-bottom: 0;
}

/* 数字 */
.policy__num {
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: 24px;
  color: var(--blue-color);
}

/* 本文 */
.policy-box h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
  color: var(--main-color);
}

@media (min-width: 768px) {
  .side-col {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: fit-content;
    /* flexで伸びるのを止める */
    z-index: 2;
  }

  /* rowの伸び対策（保険） */
  .company-row {
    align-items: flex-start;
  }
}

/* ===== SPメニュー（collapse） ===== */
.sp-nav-box {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 14px;
}

.sp-nav__link {
  display: block;
  text-decoration: none;
  color: #222;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .08);
}

.sp-nav__link:hover {
  background: rgba(30, 120, 214, .06);
}

/* ===== 重要：stickyの祖先に transform/overflow を入れない（保険で潰す） ===== */
.company-section,
.company-section .container,
.company-section .company-row {
  overflow: visible;
  transform: none;
  filter: none;
  perspective: none;
}

#sec-outline .page-sec-ttl {
  margin-bottom: 0;
}

#sec-outline .page-sec-ttl::after {
  content: none;
}

/* ===============================
   dl全体
================================= */
.profile-dl {
  margin: 0;
  padding: 0;
}


/* ===============================
   1行
================================= */
.profile-item {
  display: grid;
  grid-template-columns: 260px 1fr;
}


/* ===============================
   dt（左カラム）
   上下のみ青ライン
================================= */
.profile-item dt {
  margin: 0;
  font-weight: 700;
  color: var(--blue-color);
  padding: 18px 0;

  border-bottom: 1px solid var(--blue-color);
}

.profile-item:first-child dt {
  border-top: 1px solid var(--blue-color);
}

/* ===============================
   dd（右カラム）
================================= */
.profile-item dd {
  margin: 0;
  padding: 18px 0;
  line-height: 1.8;
  border-bottom: 1px solid var(--navy-color);
}

.profile-item:first-child dd {
  border-top: 1px solid var(--navy-color);
}

/* ===============================
   TEL / FAX 横並び
================================= */
.profile-tel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.profile-tel a {
  text-decoration: none;
  color: inherit;
}

.profile-tel a:hover {
  text-decoration: underline;
}


/* ===============================
   補足テキスト
================================= */
.profile-note {
  margin-left: 12px;
  font-size: 0.95em;
  opacity: 0.8;
}


.profile-item--license dd {
  padding: 18px 0;
}

.license-grid {
  column-gap: 30px;
  row-gap: 14px;
  align-items: flex-end;
}

.license-name {
  line-height: 1.8;
}

.license-num {
  text-align: right;
  white-space: nowrap;
}


.profile-links__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-links__list li {
  margin-bottom: 6px;
  color: var(--blue-color);
}

.profile-links__list a {
  color: var(--blue-color);
  text-decoration: underline;
  transition: opacity .2s ease;
}

.profile-links__list a:hover {
  opacity: .7;
}

/* =========================
   HISTORY (中身だけ)
========================= */
.history {
  position: relative;
  display: grid;
  gap: 42px;
}

/* 縦ライン（全体） */
.history::before {
  content: "";
  position: absolute;
  left: 180px;
  /* 日付カラム幅に合わせる */
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(47, 126, 212, .28);
}

/* 1件 */
.history__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  column-gap: 44px;
  align-items: start;
  position: relative;
}

/* 日付（左） */
.history__date {
  margin: 0;
  font-weight: 500;
  color: var(--blue-color);
  font-size: 22px;
  line-height: 1.25;
  padding-top: 2px;
  text-wrap: balance;
}

/* 右側の中身 */
.history__body {
  position: relative;
  padding-left: 6px;
}

/* ライン上の丸（ノード） */
.history__body::before {
  content: "";
  position: absolute;
  left: -70px;
  /* column-gap(44) の中でライン位置に合わせる */
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-color);
  box-shadow: 0 0 0 6px rgba(47, 126, 212, .18);
}

/* ノードから右へ伸びる短いライン */
.history__body::after {
  content: "";
  position: absolute;
  left: -60px;
  top: 12px;
  width: 56px;
  height: 2px;
  background: rgba(47, 126, 212, .55);
}

/* テキスト */
.history__text {
  margin: 0 0 18px 0;
  color: var(--text-color);
  line-height: 1.9;
  font-size: 15.5px;
}

/* 写真 */
.history__photo {
  margin: 0;
  width: min(520px, 100%);
  /* 画像がなくても枠がキレイ */
  border-radius: 14px;
  overflow: hidden;
  background: #e9edf1;
  box-shadow: 0 14px 28px rgba(6, 90, 142, .10);
}

.history__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タイトル */
.office-title {
  color: var(--blue-color);
  font-weight: 500;
  font-size: 24px;
}

/* 本文 */
.office-text {
  color: var(--text-color);
  line-height: 1.9;
  margin: 0;
  font-size: 16px;
}

/* 連絡先 */
.office-contact__row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 6px;
}

.office-contact__label {
  font-weight: 700;
  color: var(--main-color);
  min-width: 64px;
  font-size: 16px;
  /* TEL/FAX/e-mail の揃え */
}

.office-contact__link {
  color: var(--main-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 126, 212, .35);
  transition: opacity .2s ease;
}

.office-contact__link:hover {
  opacity: .7;
}

.office-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--blue-color);
}

.office-block.first {
  padding: 0 0 40px;
}

/* 地図枠 */
.office-map {
  overflow: hidden;
  background: #eef3f8;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 区切り線 */
.office-divider {
  border: 0;
  border-top: 1px solid rgba(58, 60, 61, .18);
}

@media (max-width: 1320px) {

  .license-grid {
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
  }

}

/* SPで左の余白感を少し整える */
@media (max-width: 991px) {
  .sp-nav-wrap {
    display: block;
    margin-bottom: 50px;
  }

  .side-nav-wrap {
    display: none;
  }

  .office-contact__label {
    min-width: 58px;
  }

  .content-block {
    margin-bottom: 100px;
  }

}

@media (max-width: 768px) {
  .motto-box h4 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--main-color);
  }

  .office-title {
    font-size: 22px;
  }

  .motto-box h5 {
    font-size: 22px;
    color: var(--text-color);
  }

  .history {
    gap: 28px;
  }

  .history::before {
    left: -5px;
  }

  .history__item {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding-left: 28px;
    /* ライン分 */
    column-gap: 0;
  }

  .history__date {
    font-size: 18px;
  }

  .history__body {
    padding-left: 0;
  }

  .history__body::before {
    left: -40px;
    top: -28px;
  }

  .history__body::after {
    left: -30px;
    top: -22px;
    width: 22px;
  }

  .history__photo {
    width: 100%;
    border-radius: 12px;
  }

  .sp-none .history__date {
    display: none;
  }

  .sp-none .history__body::before {
    top: 8px;
  }

  .sp-none .history__body::after {
    top: 14px;
  }
}

@media (max-width: 768px) {

  .license-grid {
    grid-template-columns: 1fr 60px;
  }


  .profile-item {
    grid-template-columns: 1fr;
  }

  .profile-item dt {
    margin: 0;
    padding: 18px 0;
    line-height: 1.8;
    border-bottom: none;
  }

  .profile-item dd {
    border-top: none;
    padding: 0 0 18px;
  }

  .profile-item:first-child dd {
    border-top: none;
  }

  .profile-item:first-child dt {
    border-top: 1px solid var(--navy-color);
  }
}

@media (max-width: 480px) {
  .content-block {
    margin-bottom: 80px;
  }

  .motto-box {
    background: #f0f8fe;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
  }

  .motto-box h4 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--main-color);
  }

  .policy__text-box {
    grid-template-columns: 25px 1fr;
    column-gap: 20px;
  }
}

/* =======================================
地質調査・土地調査
======================================== */
.page-about .text {
  color: var(--text-color);
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
}

.page-about-image {
  margin-top: 70px;
  background-image: url("../images/page/about/about-main-img.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 400px;
  /* 必須：高さがないと見えない */
}

.geology-about-area .page-about-image {
  background-image: url("../images/page/business/geology-about-img.jpg");
}

.quality-about-area .page-about-image {
  background-image: url("../images/page/business/quality-about-img.jpg");
}

.field-about-area .page-about-image {
  background-image: url("../images/page/business/field-about-img.jpg");
}

.analysis-about-area .page-about-image {
  background-image: url("../images/page/business/analysis-about-img.jpg");
}

.environment-about-01-area .page-about-image {
  background-image: url("../images/page/business/environment-about-img_01.jpg");
}

.environment-about-02-area .page-about-image {
  background-image: url("../images/page/business/environment-about-img_02.jpg");
}

.project-area {
  padding: 120px 0;
  background-color: #f0efef;
}



.section-line {
  height: 1px;
  width: 100%;
  background-color: var(--blue-color);
  margin-bottom: 120px;
}


@media print,
screen and (min-width: 992px) {
  .page-about-image {
    background-attachment: fixed;
  }
}



.areas-list {
  list-style: none;
  /* デフォルトの黒丸を消す */
  padding-left: 0;
  margin: 0;
  background-color: #fff;
  padding: 20px;
  border: 1px solid var(--blue-color);
  border-radius: 16px;
}


.qualification-area .areas-list {
  background-color: #f0f8fe;
  margin-top: 30px;
}

.qualification-area.second {
  background-color: #f0efef;
}

.areas-list li {
  color: var(--text-color);
  font-size: 18px;
  position: relative;
  padding-left: 1.2em;
  /* 「・」の分スペース確保 */
  line-height: 1.8;
}

.areas-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.areas-list {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 10px 60px;
  justify-content: center;
  text-align: left;
}

.qualification-area {
  padding: 120px 0;
}

.flow-area {
  padding-bottom: 120px;
}

.flow-area.pd-t {
  padding-top: 120px;
}

/* 調査の流れ */
.survey-flow {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 920px;
}

.survey-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  background-color: #f0f8fe;
  padding: 18px 18px;
  border-bottom: 2px solid var(--blue-color);
}

.survey-flow__item:last-child {
  margin-bottom: 0;
}

/* 数字 */
.survey-flow__num {
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: 24px;
  color: var(--blue-color);
}

/* 本文 */
.survey-flow__txt {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
  color: var(--main-color);
}

/* 下向き矢印（各行の左・添付の雰囲気） */
.survey-flow__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -33px;
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--blue-color);
  border-bottom: 2px solid var(--blue-color);
  transform: rotate(45deg) translateX(-50%);
  filter: drop-shadow(0 2px 6px rgba(66, 118, 186, .18));
}

.survey-flow__item:last-child::after {
  content: none;
}

/* ホバーでちょい上品に（PCだけ） */
@media (hover:hover) {
  .survey-flow__item {
    transition: transform .2s ease, background-color .2s ease;
  }

  .survey-flow__item:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 1100px) {
  .areas-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {

  .project-area,
  .qualification-area {
    padding: 100px 0;
  }

  .flow-area {
    padding-bottom: 100px;
  }

  .flow-area.pd-t {
    padding-top: 100px;
  }
}

@media (max-width: 768px) {
  .survey-flow__item {
    grid-template-columns: 54px 1fr;
    column-gap: 10px;
    padding: 16px 0;
    align-items: flex-start;
  }

  .survey-flow__num {
    font-size: 17px;
  }

  .survey-flow__txt {
    font-size: 17px;
  }

}

@media (max-width: 480px) {

  .project-area,
  .qualification-area {
    padding: 80px 0;
  }

  .flow-area.pd-t {
    padding-top: 80px;
  }

  .flow-area {
    padding-bottom: 80px;
  }

  .survey-flow__txt {
    font-size: 17px;
    text-align: left;
  }

  .areas-list li {
    font-size: 16px;
  }

}

/* =======================================
弊社の特徴
======================================== */
.about-main-photo-area {
  position: relative;
  height: 400px;
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
  /* ここは残す */

  z-index: 0;
  /* スタッキング基準 */
}

.about-main-photo-area::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url("../images/page/about/about-main-img.jpg");
  background-repeat: no-repeat;
  background-size: cover;

  /* まず基準位置 */
  background-position: 70% 35%;

  transform: translateZ(0);
  will-change: transform;
}

/* iPhoneのアドレスバー対策（効く環境だけ） */
@supports (height: 100dvh) {
  .about-main-photo-area::after {
    height: 100dvh;
    /* inset:0 でもOKだけど、効かない端末があるので保険 */
  }
}

.about-main-photo-area>* {
  position: relative;
  z-index: 1;
}

.about-main-img img {
  display: none;
}

.about-head-area {
  padding: 0 0 120px;
}

.about-head-area h3 {
  text-align: center;
}


.about-head-area p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}

.txt_ad_ttl {
  font-weight: bold;
  font-size: clamp(24px, 1.4vw, 28px);
}

.about-list-area {
  padding: 120px 0;
}



/* item間隔（必要なら調整） */
.about-item+.about-item {
  margin-top: 100px;
}


/* =========================
   画像
========================= */
.about-img {
  margin: 0;
  overflow: hidden;
  /* 高さはお好みで。カンプに合わせて変えてOK */
  aspect-ratio: 16 / 9;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PC（992px〜）：画像だけ画面端にベタ付け */


/* =========================
   テキスト
========================= */
.about-body {
  padding: 28px 0;
}


.about-ttl {
  margin: 0 0 30px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--blue-color);
}

.about-txt {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  line-height: 1.9;
  color: var(--text-color);
}

/* 1500px以下 */
@media (max-width: 1500px) {
  :root {
    --c-pad: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

/* 1500px以上 */
@media print,
screen and (min-width: 1500px) {
  :root {
    --c-pad: calc((100vw - 1500px) / 2 + 15px);
  }
}

@media print,
screen and (min-width: 992px) {

  /* 左画像：container左余白ぶんだけ左へ出す → 画面左端に付く */
  .about-img--left {
    margin-left: calc(-1 * var(--c-pad));
  }

  /* 右画像：container右余白ぶんだけ右へ出す → 画面右端に付く */
  .about-img--right {
    margin-right: calc(-1 * var(--c-pad));
  }

  /* 画像の縦横比を解除してブロック高で見せたい場合（任意） */
  .about-img {
    aspect-ratio: auto;
    /* height: 520px; */
    /* カンプに合わせて調整OK */
  }

  /* 顔など切れたくないなら寄せる（任意） */
  .about-img--left img {
    object-position: 15% 50%;
  }

  .about-body--right {
    padding-left: 70px;
  }

  .about-body--left {
    padding-right: 70px;
  }
}

@media (max-width: 991px) {

  .about-head-area {
    padding: 0 0 100px;
  }

  .about-list-area {
    padding: 80px 0 100px;
  }

  .about-item+.about-item {
    margin-top: 60px;
  }

  .about-body {
    padding: 28px 0 0;
  }
}

@media (max-width: 768px) {
  .about-main-photo-area::after {
    background-position: 70% calc(35% - 100px);
  }

  .about-main-photo-area {
    position: relative;
    height: 300px;
    overflow: hidden;
    clip-path: inset(0);
    isolation: isolate;
    /* ここは残す */
    z-index: 0;
    /* スタッキング基準 */
  }

  .sp-order-1 {
    order: 1;
  }

  .sp-order-2 {
    order: 2;
  }

  .about-head-area .text {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {

  .about-head-area {
    padding: 0 0 80px;
  }

  .about-list-area {
    padding: 80px 0;
  }

  .about-ttl {
    margin: 0 0 30px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--blue-color);
  }
}

.about-ttl-adbr {
  display: none;
}

@media (max-width: 415px) {
  .about-ttl-adbr {
    display: block;
  }
}


/* =======================================
技術・サービスページ
======================================== */

.page-business-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
  z-index: 0;
  margin-top: 70px;
}

.about-main-photo-area {
  margin-top: 100px;
}

.page-business-image::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/page/business/business-main-img.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 70% 35%;
  transform: translateZ(0);
  will-change: transform;
}

#business-02 .text {
  text-align: center;
}

.business-bottom-box {
  padding: 20px;
  background-color: #f0f8fe;
  height: 100%;
}

#business-02+.business-area-box {
  padding: 60px 0 100px;
}

@supports (height: 100dvh) {
  .page-business-image::after {
    height: 100dvh;
  }
}

@media (max-width:991px) {
  .business-area-box.bottom .row>div {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-business-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    clip-path: inset(0);
    isolation: isolate;
    z-index: 0;
  }

  .page-business-image::after {
    background-position: 70% calc(35% - 100px);
  }

  .about-main-photo-area {
    margin-top: 80px;
  }
}

.business .main-page-sec-ttl h2 {
  position: relative;
  color: #065a8e;
  padding-bottom: 40px;
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 40px;
}

.business .main-page-sec-ttl h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  background-color: #065a8e;
  height: 2px;
  width: 100px;
}

.business .business-area-box {
  padding: 100px 0;
}

.business .business-area-box.even {
  background-color: #f0efef;
}

.business .flex-box {
  display: flex;
  gap: 0 30px;
  justify-content: space-between;
}

.business .w-50 {
  width: 100% !important;
}

.business .w-50 .flex-box {
  width: 100%;
}

.soil-box {
  width: 100%;
}

.business .w-50 .flex-box .text-box {
  width: 100%;
  max-width: inherit;
}

.business .flex-box.wrap {
  flex-wrap: wrap;
}

.business-img {
  max-width: 600px;
  width: 100%;
}

.business-img.w-100 {
  max-width: 800px;
  width: 100%;
  margin: 30px auto 0;
}

.business .flex-box .text-box {
  display: block;
  width: 100%;
  max-width: calc(100% - 630px);
}

.business .flex-box .text-box.only_txt {
  display: block;
  width: 100%;
  max-width: 100%;
}

.business .business-area-box h4 {
  display: block;
  width: 100%;
  padding: 14px 38px 14px 14px;
}

.business .areas-list {
  display: block;
  flex-wrap: wrap;
  gap: 10px 60px;
  text-align: left;
  justify-content: flex-start;

}

.business .business-area-box h4 {
  position: relative;
  column-gap: 28px;
  align-items: center;
  margin-bottom: 30px;
  background-color: #f0f8fe;
  padding: 14px 38px 14px 14px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  border-bottom: 2px solid var(--blue-color);
}

.business-box-wrap+.business-box-wrap {
  margin-top: 80px;
}

.business .business-box-wrap .pc-w-50>div {
  width: calc(50% - 15px);
  max-width: 100%;
}

.business-area-box.soil .business-box-wrap+.business-box-wrap {
  margin-top: 40px;
}

.note {
  text-align: left;
  font-size: 16px;
  margin-top: 15px;
}

@media (max-width: 1120px) {
  .business-img {
    max-width: 400px;
    width: 100%;
  }

  .business .flex-box .text-box {
    display: block;
    width: 100%;
    max-width: calc(100% - 430px);
  }

}

@media (max-width: 991px) {
  .business .areas-list li {
    color: var(--text-color);
    font-size: 16px;
    position: relative;
    padding-left: 1.2em;
    line-height: 1.8;
  }

  .business-img {
    max-width: 320px;
    width: 100%;
  }

  .business .flex-box .text-box {
    display: block;
    width: 100%;
    max-width: calc(100% - 350px);
  }

  .business .business-area-box h4 {
    font-size: 20px;
  }

  .business .flex-box {
    display: flex;
    gap: 0 20px;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .business .main-page-sec-ttl h2 {
    position: relative;
    color: #065a8e;
    padding-bottom: 30px;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .business .main-page-sec-ttl h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    background-color: #065a8e;
    height: 2px;
    width: 80px;
  }

  .business .business-area-box h4 {
    position: relative;
    column-gap: 28px;
    align-items: center;
    margin-bottom: 30px;
    background-color: #f0f8fe;
    padding: 12px 36px 12px 12px;
    font-size: 20px;
  }

  .business-box-wrap+.business-box-wrap {
    margin-top: 60px;
  }

  .business .business-area-box {
    padding: 80px 0;
  }

  .business .flex-box {
    display: block;
    gap: 0 30px;
    justify-content: space-between;
  }

  .business .flex-box .text-box {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .business .flex-box .text-box+.text-box {
    margin-top: 50px;
  }

  .business .flex-box.reverse {
    flex-flow: column;
    display: flex;
  }

  .business-img {
    max-width: 100%;
    margin-top: 30px;
    width: 100%;
  }

  .business .flex-box.reverse .business-img {
    order: 2;
  }

  .business .business-box-wrap .pc-w-50>div {
    width: 100%;
    max-width: 100%;
  }

  .business .business-box-wrap .pc-w-50>div:last-child h4 {
    margin-bottom: 0;
  }

  .business .business-box-wrap .pc-w-50>div+div {
    margin-top: 35px !important;
  }


  .section-line {
    height: 1px;
    width: 100%;
    background-color: var(--blue-color);
    margin-bottom: 80px;
  }
}

.business-ttl-adbr {
  display: none;
}

@media (max-width: 415px) {
  .business-ttl-adbr {
    display: block;
  }
}

.results-box .results-img {
  margin-bottom: 20px;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.results-box h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.results-box h3 br.sp {
  display: none;
}

@media (max-width: 1420px) {
  .results-box h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }

  .results-box h3 br.sp {
    display: block;
  }
}


@media (max-width: 991px) {
  #sec-results .row>div+div {
    margin-top: 40px;
  }

  .results-box h3 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
  }

  .results-box h3 br.sp {
    display: none;
  }
}

.results-img img {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.img-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.img-modal.is-open {
  display: block;
}

.img-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.img-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 1000px);
  max-height: 90vh;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.img-modal__content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.img-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.works-detail__table-wrap .table td:first-child {
  white-space: nowrap;
}



/* business-swiper */
.business-swiper {
  position: relative;
  width: 100%;
}

.business-swiper .swiper-slide img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.business-swiper .swiper-button-prev,
.business-swiper .swiper-button-next {
  color: #fff;
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}

.business-swiper .swiper-button-prev {
  left: 5px;
  transform: translateY(-50%) scaleX(-1);
}

.business-swiper .swiper-button-next {
  right: 5px;
}


.business-swiper .swiper-button-prev::after,
.business-swiper .swiper-button-next::after {
  font-size: 20px;
}