/* =======================================
共通
======================================== */

.l-container {
  background-color: #fff;
}



.bg-top {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background: url("../images/common/bg-line.png");
  width: 60%;
  height: 80%;
  overflow: hidden;
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
  transform: matrix(1, 0, -0.42, 1, 0, 0);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.bg-top-over {
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: matrix(1, 0, 0.42, 1, 0, 0);
  transform: matrix(1, 0, 0.42, 1, 0, 0);
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.bg-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  background: rgba(249, 249, 249, .5);
  width: 30%;
  height: 100%;
  overflow: hidden;
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
  transform: matrix(1, 0, -0.42, 1, 0, 0);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.home .bg-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  background: rgba(249, 249, 249, .5);
  width: 30%;
  height: 80%;
  overflow: hidden;
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
  transform: matrix(1, 0, -0.42, 1, 0, 0);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.bg-right-over {
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: matrix(1, 0, 0.42, 1, 0, 0);
  transform: matrix(1, 0, 0.42, 1, 0, 0);
  position: relative;
  z-index: 1;
  width: 100%;
  height: 50%;
  object-fit: cover;
}


.bg-top2 {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  background: url("../images/common/bg-line.png");
  width: 20%;
  height: 100%;
  overflow: hidden;
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: matrix(1, 0, 0.42, 1, 0, 0);
  transform: matrix(1, 0, 0.42, 1, 0, 0);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.bg-top2-over {
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
  transform: matrix(1, 0, -0.42, 1, 0, 0);
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media (min-width: 768px) {
  .bg-top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: url("../images/common/bg-line.png");
    width: 50%;
    height: 80%;
    overflow: hidden;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .bg-top-over {
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, 0.42, 1, 0, 0);
    transform: matrix(1, 0, 0.42, 1, 0, 0);
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


}

@media (min-width: 992px) {

  .bg-top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: url("../images/common/bg-line.png");
    width: 50%;
    height: 80%;
    overflow: hidden;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .bg-top-over {
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, 0.42, 1, 0, 0);
    transform: matrix(1, 0, 0.42, 1, 0, 0);
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}

@media (min-width: 1680px) {
  .bg-top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: url("../images/common/bg-line.png");
    width: 40%;
    height: 80%;
    overflow: hidden;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .bg-right {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
    z-index: 0;
    background: rgba(249, 249, 249, .5);
    width: 44%;
    height: 80%;
    overflow: hidden;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .home .bg-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    background: rgba(249, 249, 249, .5);
    width: 34%;
    height: 50%;
    overflow: hidden;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

}


/* main
---------------------------------------------------- */
.main {
  position: relative;
  height: 420px;
}

.main .top-logo {
  position: absolute;
  z-index: 110;
  top: 110px;
  left: 10px;
  display: block;
}

.main .logo {
  margin-bottom: 30px;
}

.main .logo img {
  width: 150px;
  height: auto;
}

.main .sub {
  text-align: center;
}

.main .sub span {
  background: #2e95d4;
  border-radius: 5px;
  color: white;
  font-size: 13px;
  padding: 5px 7px;
  margin: 0px 2px;
}

.over {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 60%;
  height: 420px;
  overflow: hidden;
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
  transform: matrix(1, 0, -0.42, 1, 0, 0);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.bg-over {
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: matrix(1, 0, 0.42, 1, 0, 0);
  transform: matrix(1, 0, 0.42, 1, 0, 0);
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-txt2 {
  position: absolute;
  right: 10px;
  bottom: 0px;
  z-index: 5;
}

.main-txt2 img {
  width: 280px;
  height: auto;
  vertical-align: bottom;
}

.swiper-wrapper {
  position: relative;
  margin: 0 auto;
  /* text-align: center; */

}

.main-txt {}

.main-txt img {
  position: absolute;
  top: 130px;
  right: 15px;
  z-index: 50;
  width: 160px;
  height: auto;
}

.swiper-slide img {
  height: 400px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 768px),
print {
  .main {
    position: relative;
    height: 65vh;
  }

  .main .top-logo {
    position: absolute;
    z-index: 110;
    top: 130px;
    left: 15px;
    display: block;
  }

  .main .logo img {
    width: 200px;
    height: auto;
  }

  .over {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 50%;
    height: 65vh;
    overflow: hidden;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .swiper-slide img {
    height: 60vh;
  }

  .main-txt img {
    top: 140px;
    right: 100px;
    z-index: 50;
    width: 260px;
    height: auto;
  }

  .main-txt2 {
    position: absolute;
    right: 10px;
    bottom: 0px;
    z-index: 5;
  }

  .main-txt2 img {
    width: 650px;
    height: auto;
  }

}

@media (min-width: 992px),
print {
  .main {
    position: relative;
    height: 100vh;
  }

  .over {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .swiper-slide img {
    object-fit: cover;
    height: 92vh;
  }

  .main .top-logo {
    position: absolute;
    z-index: 150;
    top: 100px;
    left: 50px;
    display: block;
  }

  .main .logo {
    margin-bottom: 60px;
  }

  .main .logo img {
    width: 220px;
    height: auto;
  }


  .main .sub {
    text-align: center;
  }

  .main .sub span {
    background: #2e95d4;
    border-radius: 5px;
    color: white;
    font-size: 15px;
    padding: 9px 10px;
    margin: 0px 5px;
  }

  .main-txt img {
    top: 30%;
    right: 100px;
    z-index: 50;
    width: auto;
    height: auto;
  }

  .main-txt2 {
    position: absolute;
    right: 70px;
    bottom: 0px;
    z-index: 5;
  }

  .main-txt2 img {
    width: 750px;
    height: auto;
  }


}

@media (min-width: 1280px),
print {
  .main {
    position: relative;
    height: 100vh;
  }

  .over {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .swiper-slide img {
    object-fit: cover;
    height: 92vh;
  }

  .main .top-logo {
    position: absolute;
    z-index: 150;
    top: 150px;
    left: 10%;
    display: block;
  }

  .main .logo {
    margin-bottom: 80px;
  }

  .main .logo img {
    width: auto;
    height: auto;
  }


  .main .sub {
    text-align: center;
  }

  .main .sub span {
    background: #2e95d4;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    padding: 9px 10px;
    margin: 0px 5px;
  }

  .main-txt img {
    top: 30%;
    right: 25%;
    z-index: 50;
    width: auto;
    height: auto;
  }

  .main-txt2 {
    position: absolute;
    right: 70px;
    bottom: 0px;
    z-index: 5;
  }

  .main-txt2 img {
    width: 850px;
    height: auto;
  }


}


.photo-ofi img {
  object-fit: cover;
  object-position: 50% 50%;
  font-family: 'object-fit: cover; object-position: 50% 50%;'
}



.swiper-container {
  max-width: 100%;
  width: 100%;
  margin: auto;
}

.swiper-item {
  max-width: 100%;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.slide-img {
  display: block;
}

@media (min-width:1680px),
print {
  .over {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 40%;
    height: 100vh;
    overflow: hidden;
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: matrix(1, 0, -0.42, 1, 0, 0);
    transform: matrix(1, 0, -0.42, 1, 0, 0);
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .main .top-logo {
    position: absolute;
    z-index: 150;
    top: 160px;
    left: 5%;
    display: block;
  }

  .main .logo {
    margin-bottom: 80px;
  }

  .main .logo img {
    width: auto;
    height: auto;
  }

  .main .sub {
    text-align: center;
  }

  .main .sub span {
    background: #2e95d4;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    padding: 9px 10px;
    margin: 0px 7px;
  }

  .main-txt img {
    top: 30%;
    right: 30%;
    z-index: 50;
    width: auto;
    height: auto;
  }

  .main-txt2 img {
    width: auto;
    height: auto;
  }

}


.scrolldown2 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 0px;
  right: 50px;
  z-index: 50;
}

/*Scrollテキストの描写*/
.scrolldown2 span {
  /*描画位置*/
  position: absolute;
  left: 10px;
  bottom: 5px;
}

/* 丸の描写 */
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: -4px;
  /*丸の形状*/
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f60;
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

.scrolldown2 img {
  width: 10px;
  height: 34px;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
  0% {
    bottom: 60px;
  }

  100% {
    bottom: -5px;
  }
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  80% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

/* 線の描写 */
.scrolldown2:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 2px;
  height: 8vh;
  background: #f7f7f7;
}


@media (max-width: 991px) {
  .scrolldown2 {
    display: none;
  }

}



/* =======================================
メッセージ
======================================== */
.p-mv__swiper.message-area::before {
  background-color: rgba(58, 60, 61, 0.75);
}

.p-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 125vh;
}

.p-message__text {
  padding-top: 25vh;
}

.p-message__text p {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 52px;
  text-align: center;
  color: #fff;
}

.p-message__text p+p {
  margin-top: 60px;
}


.p-about {
  padding: 16vw 0 20vw 0;
}

.p-about__text {
  width: 31.8vw;
  margin: 0 auto;
}

@media (max-width: 1280px) {
  .p-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
}

@media (max-width: 767px) {
  .p-message__text p {
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 46px;
    text-align: center;
    color: #fff;
  }
}

@media (max-width: 767px) {
  .p-message__text {
    padding: 0 25px;
  }
}

@media (max-width: 480px) {
  .p-message__text {
    padding: 0 20px;
  }

  .p-message__text p {
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    color: #fff;
  }
}

/* =======================================
お知らせ
======================================== */

.news-area {
  padding: 0 0 240px;
  background: #fff;
}

.news-area .container {
  max-width: 1300px;
}

@media (max-width: 1680px) {
  .news-area .container {
    max-width: 1150px;
  }
}

/* 左：見出し */
.news-area .news-label {
  font-size: 12px;
  color: #065a8e;
  margin: 0 0 16px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.news-area .news-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 45px;
  color: #1a1a1a;
}

/* =========================
  Tabs（左メニュー）
========================= */

/* Bootstrapの nav-tabs を「縦メニュー」見た目に上書き */
.news-area .news-tab-list {
  display: block;
  border-bottom: none;
  /* 通常の下線を消す */
  padding: 0;
  margin: 0;
}

.news-area .news-tab-list .nav-item {
  margin: 0 0 10px;
}

.news-area .news-tab-list .nav-link {
  width: 100%;
  text-align: left;
  padding: 10px 0;
  border: none;
  border-radius: 0;
  background: transparent;

  font-size: 20px;
  font-weight: 500;
  color: #b1b2b2;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  transition: opacity .2s ease, color .2s ease, background .2s ease;
}

.news-area .news-tab-list .nav-link:hover {
  opacity: .85;
  background: #f5f7fb;
}

.news-area .news-tab-list .nav-link.active {
  color: #1b4f8a;
  background: transparent;
  position: relative;
}

/* 左の四角（スクショのアイコンっぽい） */
.news-area .news-tab-list .nav-link.active::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #1b4f8a;
  display: inline-block;
  flex: 0 0 12px;
}

/* 非アクティブは薄い四角 */
.news-area .news-tab-list .nav-link::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #d7d7d7;
  display: inline-block;
  flex: 0 0 12px;
}

/* active のときだけ色を濃くする（上の before を上書き） */
.news-area .news-tab-list .nav-link.active::before {
  background: #1b4f8a;
}

/* =========================
  右：記事リスト
========================= */


.news-area .news-item {
  padding: 0 0 40px;
  margin: 0 0 40px;
  border-bottom: 1px solid #d9d9d9;
}

.news-area .news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-detail {
  display: flex;
}

/* 日付＋カテゴリ（上段） */
.news-area .news-date {
  font-size: 18px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: #3a3c3d;
  font-weight: 400;
  margin-right: 18px;
}

.news-area .news-cat {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: #1b4f8a;
  padding: 8px 8px;
  line-height: 1;
  border-radius: 3px;
  vertical-align: middle;
}

/* 本体：サムネ＋文章 */
.news-area .news-body {
  margin-top: 24px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.news-area .news-thumb {
  width: 240px;
  margin: 0;
  flex: 0 0 240px;
}

.news-area .news-thumb img {
  width: 100%;
  height: 200px;
  display: block;
  border-radius: 2px;
  object-fit: contain;
}

/* テキスト */
.news-area .news-text {
  flex: 1 1 auto;
}

.news-area .news-item-ttl {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 15px;
  font-family: "Noto Serif JP", serif;
  color: #3a3c3d;
}

.news-area .news-text p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #525557;
  font-family: "Noto Serif JP", serif;
}

@media (max-width: 1680px) {

  .news-text br.pc {
    display: none;
  }
}

/* =========================
  レスポンシブ（SP）
========================= */
@media (max-width: 991px) {
  .news-area {
    padding: 140px 0 240px;
    background: #fff;
  }
}

@media (max-width: 767px) {
  .news-area {
    padding: 48px 0;
  }

  /* 左メニューの余白調整 */
  .news-area .news-title {
    margin-bottom: 14px;
  }

  /* タブを横スクロールに（スマホで使いやすく） */
  .news-area .news-tab-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 18px;
  }

  .news-area .news-tab-list .nav-item {
    margin: 0;
    flex: 0 0 auto;
  }

  /* 記事カードは縦積み */
  .news-area .news-body {
    flex-direction: column;
    gap: 14px;
  }

  .news-area .news-thumb {
    width: 100%;
    flex: 0 0 auto;
  }
}


/* =========================
  複数画像ギャラリーレイアウト
  （画像3枚以上のarticle用）
========================= */
.news-body--gallery {
  flex-direction: column;
  gap: 24px;
}

.news-body--gallery .news-thumb {
  width: 100%;
  flex: none;
}

.news-body--gallery .news-thumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 1500px) {
  .news-body--gallery .news-thumb-list {
    gap: 10px;
  }
}

@media (max-width: 575px) {
  .news-body--gallery .news-thumb-list {
    flex-direction: column;
    align-items: center;
  }
}

.news-body--gallery .news-thumb-list img {
  width: 240px;
  max-height: 200px;
  flex: 0 0 240px;
  height: auto;
  display: block;
  border-radius: 2px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .news-body--gallery .news-thumb-list img {
    width: 100%;
    flex: none;
  }
}

.js-modal-trigger {
  cursor: pointer;
}

/* =========================
  スクロールバー（Windows / 他OS向け）
========================= */

/* Chrome / Edge / Safari */
.news-area .news-list::-webkit-scrollbar {
  width: 6px;
}

.news-area .news-list::-webkit-scrollbar-track {
  background: #e6e6e6;
  /* バー背景：グレー */
}

.news-area .news-list::-webkit-scrollbar-thumb {
  background: #1b4f8a;
  /* つまみ：青 */
}

.news-area .news-list::-webkit-scrollbar-thumb:hover {
  background: #163f6f;
}

/* Firefox */
.news-area .news-list {
  scrollbar-width: thin;
  scrollbar-color: #1b4f8a #e6e6e6;
  /* つまみ / 背景 */
}

.news-area .news-list {
  height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 18px;
}

.news-area .news-list::-webkit-scrollbar-track {
  background: #e6e6e6;
}

.news-area .news-list::-webkit-scrollbar-thumb {
  background: #1b4f8a;
}

/* =========================
  SP：固定高・スクロール解除
========================= */
@media (max-width: 991px) {

  .news-area .news-list {
    padding-right: 0x;
    margin-left: 0;
    margin-right: 0;
  }

  .news-area .news-body {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }

  .news-area .news-list {
    height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 18px;
  }

  .news-area .news-thumb {
    display: flex;
    justify-content: center;
  }

  .news-tab-box {
    margin-bottom: 40px;
  }

  .news-area .news-tab-list {
    display: flex;
    border-bottom: none;
    flex-wrap: wrap;
    padding: 0;
    gap: 30px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .news-area .news-tab-list {
    display: flex;
    border-bottom: none;
    flex-wrap: wrap;
    padding: 0;
    gap: 5px 20px;
    margin: 0;
  }

  .news-area .news-tab-list .nav-link {
    width: 100%;
    text-align: left;
    padding: 10px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    color: #b1b2b2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity .2s ease, color .2s ease, background .2s ease;
  }

}

@media (max-width: 480px) {
  .news-area .news-thumb {
    width: 100%;
    margin: 0 auto;
    flex: 0;
  }
}

/* =========================
  服部地質調査の特徴
========================= */
.about-area {
  padding: 0 0 200px;
  background: #fff;
}

.about-area .container {
  margin: 0 auto;

  display: grid;
  grid-template-columns: 470px 1fr;
  gap: 30px;
  align-items: center;
}

.about-area .about-media {
  margin-right: calc(50% - 50vw);
}

.about-area .about-media img {
  width: 100%;
  height: 420px;
  /* 必要に応じて調整 */
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.about-area .about-label {
  font-size: 12px;
  color: #065a8e;
  margin: 0 0 10px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.about-area .about-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 70px;
  color: #3a3c3d;

}

.about-area .about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #525557;
  font-family: "Noto Serif JP", serif;
  margin: 0 0 70px;
}

.about-area .about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  min-width: 240px;
  height: 44px;
  padding: 0 20px;

  background: #2f7ed4;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 4px;

  transition: opacity .2s ease, transform .2s ease;
}

.about-area .about-btn-icon {
  width: 8px;
  height: 8px;
  background-color: #fff;
  line-height: 1;
  display: inline-block;
  transition: transform .4s ease;
  /* ← これ大事 */
}

.about-area .about-btn:hover .about-btn-icon {
  transform: scale(1.2);
}

.about-area .sp {
  display: none;
}

@media (max-width: 1280px) {
  .about-area .container {
    margin: 0 auto;

    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 30px;
    align-items: center;
  }
}

@media (max-width: 991px) {
  .about-area .about-wrap {
    grid-template-columns: 360px 1fr;
    gap: 26px;
  }

  .about-area .about-media img {
    height: 360px;
  }


}

@media (max-width: 768px) {
  .about-area .container {
    margin: 0 auto;

    display: grid;
    grid-template-columns: 100%;
    gap: 30px;
    align-items: center;
  }

  .about-area .pc {
    display: none;
  }

  .about-area .sp {
    display: block;
  }

  .about-area .about-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 40px;
    color: #3a3c3d;
  }

}

@media (max-width: 767px) {
  .about-area {
    padding: 0 0 100px;
  }

  .about-area .about-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* SPはフルブリード維持でもOKだが、不要なら戻す */
  .about-area .about-media {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    margin-bottom: 20px;
    margin-left: 0;
  }

  .about-area .about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #525557;
    font-family: "Noto Serif JP", serif;
    margin: 0 0 30px;
  }

  .about-area .about-media img {
    height: 220px;
  }

  .about-area .about-btn {
    margin: 0 auto;
    display: flex;
    max-width: 240px;
  }
}

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

.service-area {
  padding: 0;
  background: #fff;
}

.service-area .service-row {
  margin-top: 0;
  gap: 20px 0;
}

.service-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.service-overlay {
  position: absolute;
  inset: 0;
  transition: opacity .3s ease;
}

.service-card:hover .service-overlay {
  opacity: .2;
}

.service-ttl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 1.6;
  padding: 0 20px;
}

.service-ttl {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  /* ← 文字と四角の間隔 */
  color: #fff;
}

.service-ttl .sml {
  font-size: 14px;
  margin-top: 5px;
  display: block;
  line-height: 1.2;
}

/* 白い四角 */
.service-ttl::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
  transition: transform .4s ease;
  transform-origin: center;
}

/* hover時 */
.service-card:hover {
  opacity: 0.9;
}

.service-card:hover .service-ttl::after {
  transform: scale(1.1);
}

.service-area .row>* {
  margin-top: 0;
}

/* 中央テキストカード　*/
.service-card--text {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.service-label {
  color: #065a8e;
  font-size: 12px;
  letter-spacing: .08em;
  margin: 0 0 10px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.service-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0 0 40px;
  color: #1a1a1a;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.lg-block {
  display: none;
}

@media (max-width: 1100px) {
  .service-ttl {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .service-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .service-card--text {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

  .lg-none {
    display: none;
  }

  .lg-block {
    display: block;
  }

  .service-card--text {
    min-height: auto;
    margin-bottom: 30px;
  }
}


/* =========================
  banner-area
========================= */

.banner-area {
  padding: 180px 0 160px;
  background: #fff;
}

.banner-area .container .row {
  margin-top: 0;
}

/* カード */
.banner-card {
  padding-right: 15px;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.banner-area .col-md-6 {
  margin-top: 0;
}

.banner-card.second {
  padding-left: 15px;
}

/* 画像 */
.banner-card img {
  width: 100%;
  height: 100%;
  min-height: 288px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* オーバーレイ */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, .55) 0%,
      rgba(0, 0, 0, .35) 40%,
      rgba(0, 0, 0, .15) 100%);
}

/* テキスト */
.banner-content {
  width: 100%;
  position: absolute;
  padding: 0 0 0 60px;
  top: 63px;
  max-width: 560px;
}

.banner-label {
  font-size: 12px;
  opacity: .8;
  margin: 0 0 15px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.banner-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 30px;
}

.banner-text {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* hover */
.banner-card:hover .banner-overlay {
  opacity: .85;
  transition: opacity .3s ease;
}

.c-button__arrow {
  width: 8px;
  height: 8px;
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;

  transition: transform .4s ease;
}

.banner-card:hover {
  opacity: 0.9;
}

.banner-card:hover .c-button__arrow {
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1500px) {
  .banner-content {
    width: 100%;
    position: absolute;
    padding: 0 40px 0 40px;
    top: 63px;
    max-width: 560px;
  }

  .c-button__arrow {
    width: 8px;
    height: 8px;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
  }
}

@media (max-width: 1380px) {
  .banner-card {
    padding-right: 0;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
  }

  .banner-card.second {
    padding-left: 0;
  }

  .banner-content {
    width: 100%;
    position: absolute;
    padding: 0 40px 0 40px;
    top: 63px;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .banner-content {
    width: 100%;
    position: absolute;
    padding: 0 20px 0 40px;
    top: 0;
    max-width: 100%;
  }

  .banner-content {
    padding: 28px 45px 28px 30px;
    max-width: 100%;
  }

  .banner-card img {
    min-height: 300px;
  }

  .c-button__arrow {
    width: 8px;
    height: 8px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
  }
}

@media (max-width: 767px) {
  .banner-area {
    margin-top: 80px;
    padding-top: 0;
    padding-bottom: 80px;
  }

  .banner-title {
    font-size: 20px;
  }

  .banner-area .col-md-6 {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
  }

  .banner-area .col-md-6+.col-md-6 {
    margin-top: 30px;
  }

  .banner-area .row {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

.c-swiper-fade-slide__swiper.swiper-fade .swiper-slide {
  transition-property: opacity !important;
}

.c-swiper-fade-slide__swiper.swiper-fade .swiper-slide {
  will-change: opacity;
}