/* ======================================
   PC（共通）
====================================== */

.top-slider {
  width: 100%;
  margin: 130px auto;
  position: relative;
  overflow: visible;
}

.top-slider .swiper-slide {
  width: 943px;
  margin: 0;
  transition: 0.4s;
  opacity: 0.45;
  transform: scale(0.90);
}
.top-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.top-slider .slide-item {
  position: relative;
}

.top-slider .slide-item {
  width: 100%;
  height: 430px;
  position: relative;
  overflow: hidden;
}
.top-slider .image-zoom {
  width: 100%;
  height: 430px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.swiper-slide-active:hover .image-zoom {
  transform: scale(1.06);
}
.top-slider a:hover{opacity:1;}
/* テキスト */
.top-slider .slide-content {
  position: absolute;
  left: 50px;
  top: 50px;
  color: #fff;
  max-width: 500px;
}

.top-slider .slide-title {
  font-size: 40px;font-family: 'Nunito Sans', sans-serif; font-style: italic;font-weight: bold;
  font-weight: 700;
}
.top-slider .slide-title:before{display:none;}
.top-slider .slide-sub {transform: rotate(0.05deg);

  font-size: 15px;
  margin-top: 10px;
}
.top-slider .slide-text {
  font-size: 17px;transform: rotate(0.05deg);
  margin-top: 30px;
  line-height: 1.7;
}

/* 装飾リンク（右下） */
.top-slider .slide-link {
  position: absolute;
  right: 40px;
  bottom: 34px;
  width: 56px;
  height: 54px;
  padding: 16px;
  display: flex;
  background-color: #111;
}
.top-slider .slide-link > img{
  width: 100%;
  object-fit: contain;
}

/* 矢印 */
.custom-prev,
.custom-next {
  width: 64px;
  height: 64px;
  position: absolute;
  top: calc(50% + 23px);
  transform: translateY(-50%) !important;
  z-index: 30;
  background-size: contain;
  background-repeat: no-repeat;
}

/* 左矢印 */
.custom-prev {transition: all 0.25s ease;
  left: calc((100% - 943px) / 2 - 64px + 8px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23187fc4'/%3E%3Cpath d='M106.1,0,108.5,2.394,98.288,12.6,108.5,22.816,106.1,25.21,93.5,12.6Z' transform='translate(-68.498 19)' fill='%23fff'/%3E%3C/svg%3E");
}

/* 右矢印 */
.custom-next {transition: all 0.25s ease;
  right: calc((100% - 943px) / 2 - 64px + 8px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23187fc4'/%3E%3Cpath d='M106.1,0,108.5,2.394,98.288,12.6,108.5,22.816,106.1,25.21,93.5,12.6Z' transform='translate(-68.498 19)' fill='%23fff'/%3E%3C/svg%3E");
  transform: translateY(-50%) scaleX(-1) !important;
}
.custom-prev:hover,.custom-next:hover{opacity: .8;}
/* ドット */
.top-slider .swiper-pagination {
  bottom: -30px;
}

/* デフォルト矢印削除 */
.top-slider .swiper-button-next::after,
.top-slider .swiper-button-prev::after {
  content: '' !important;
}

/* ========================================
   中間幅（～1060px）
======================================== */
@media (max-width: 1060px) {

  .top-slider .swiper-slide {
    width: 80% !important;
    transform: scale(0.95);
  }

  .top-slider .swiper-slide-active {
    transform: scale(1) !important;
  }

  .top-slider .slide-item {
    height: calc(430px * 0.85) !important;
  }
  .top-slider .slide-item .image-zoom {
    height: calc(430px * 0.85) !important;
  }

  .top-slider .slide-content {
    left: 55px !important;
    top: 40px !important;
    max-width: 400px !important;
  }

  .top-slider .slide-link {
    right: 35px !important;
    bottom: 35px !important;
  }

  .top-slider .custom-prev {
    left: 10px !important;
  }
  .top-slider .custom-next {
    right: 10px !important;
  }

  .top-slider .swiper-pagination {
    bottom: -20px !important;
  }
}
/* ======================================================
   1060px 以下時
====================================================== */
@media (max-width: 1060px) {

  .top-slider .custom-prev {
    left: 50px !important; 
    transform: translateY(-50%) scaleX(1) !important;
  }
  .top-slider .custom-next {
    right: 50px !important; 
    transform: translateY(-50%) scaleX(-1) !important;
  }

  .top-slider .swiper-pagination {
    bottom: -30px !important;
  }

  .top-slider .slide-content {
    max-width: 380px;
  }
}
@media (max-width: 767px) {
	.top-slider .custom-prev {left: 35px !important;}
	.top-slider .custom-next {right: 35px !important;}
	.custom-prev,
	.custom-next {
	width: 44px;
	height: 44px;
	}
	.swiper-slide-active{}

	.top-slider .slide-item{
	height: calc(350px * 1) !important;
	}
	.top-slider .slide-title {
	font-size: 22px;

	}
	.top-slider .slide-sub {
	font-size: 12px;margin-top: 0;
	}
	.top-slider .slide-text {
	font-size: 16px;margin-top: 15px;
	}

	.top-slider .slide-content {
		left: 36px !important;
		top: 40px !important;
		max-width: 220px !important;
	}

	.top-slider .swiper-slide,    .top-slider .slide-item .image-zoom {
		transform: scale(1);
	}
}

@media (max-width: 550px) {
	.top-slider {
  margin: 100px auto 30px;
}
		.top-slider .custom-prev {left: 20px !important;}
	.top-slider .custom-next {right: 20px !important;}
	.page .top-slider .slide-link, .eng .top-slider .slide-link{display:none;}
	.top-slider .slide-item,    .top-slider .slide-item .image-zoom{
	height: calc(260px * 1) !important;
	}
	.top-slider .slide-content {
		top: 30px !important;
	}
}



/* ================================
   Recruit 
================================ */
.recruit-block {
  padding: 130px 40px 100px;
}

.recruit-inner {background: #EEF5FB;max-width: 1456px;
  margin: 0 auto;position: relative;
  padding: 97px 145px;
}

/* ================================
   左側テキスト
================================ */
.recruit-text {
  flex: 1;
}

.recruit-desc {
  font-size: 18px;
  line-height: 1.7;
  margin:35px 0 35px 0;transform: rotate(0.05deg);
}

/* ================================
   ボタン
================================ */
.recruit-btn {
  display: inline-flex;
  align-items: center;transform: rotate(0.05deg);
  justify-content: space-between;
  background: #187fc4;
  color: #fff;
  font-size: 16px;
  padding: 14px 26px;
  text-decoration: none;
  position: relative;
  width: 280px;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background 0.25s ease, 
              color 0.25s ease,
              border-color 0.25s ease;
}

.recruit-btn .arrow {
  display: inline-block;
  width: 22px;
  height: 10px;
  margin-left: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='5.002' viewBox='0 0 24 5.002'%3E%3Cpath d='M-2608.5-428.935v-1h17.128l-.011-4,6.883,5h-3.35v0Z' transform='translate(2608.5 433.937)' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.25s ease, transform 0.25s ease;
}

/* ================================
   右側画像
================================ */
.recruit-image {
  position: absolute;top: 60px;right: -40px;
}

.recruit-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.recruit-btn:hover {
  background: #fff;
  color: #187FC4;
  border-color: #187fc4;opacity: 1;
}

.recruit-btn:hover .arrow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='5.002' viewBox='0 0 24 5.002'%3E%3Cpath d='M-2608.5-428.935v-1h17.128l-.011-4,6.883,5h-3.35v0Z' transform='translate(2608.5 433.937)' fill='%23187fc4'/%3E%3C/svg%3E");

}
@media (max-width: 1342px) {
	.recruit-inner {background: #EEF5FB;max-width: 1456px;
  margin: 0 auto;position: relative;
  padding: 50px 75px;}
}
@media (max-width: 1266px) {

	.recruit-image {
  width: 50%;
}
}
@media (max-width: 900px) {
	.recruit-inner {background: #EEF5FB;max-width: 1456px;
  margin: 0 auto;position: relative;
  padding: 25px 35px;
	}
	
}
/* ======================================
   SP（〜767px）
====================================== */
@media (max-width: 767px) { .recruit-block {padding: 40px 0px 270px;overflow: hidden;}}
@media (max-width: 500px) {.recruit-block {padding: 40px 0px 215px;}}
@media (max-width: 400px) {.recruit-block {padding: 40px 0px 160px;}}
	@media (max-width: 350px) {.recruit-block {padding: 40px 0px 130px;}}
@media (max-width: 767px) {
  .recruit-inner {
    padding: 40px 20px 100px;
    display: block;
  }

  .recruit-text {
    margin-bottom: 28px;
  }

  .recruit-title {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .title-bar {
    margin-bottom: 24px;
  }

  .recruit-desc {
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .recruit-btn {
    width: 100%;
    /*max-width: 320px;*/
    padding: 14px 18px;
  }

  .recruit-image {position: absolute;top: 72%;
    width: calc(100% + 20px);
    margin-top: 28px;
  }

  .recruit-image img {
    width: 100%;
    height: auto;
  }
}
.recruit-image,
.recruit-image * {
  pointer-events: none !important;
}
/* ================================
   セクション背景
================================ */
.about-hero {
  width: 100%;
  height: 100%;max-height: 798px;
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 40px;margin: 100px 0;
  box-sizing: border-box;
  align-items: center;
}

.about-hero__inner {
  max-width: 1164px;width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}


/* ================================
   タイトル
================================ */
.about-hero__title {
  font-size: 48px;text-align: left;
  font-weight: 700;
}
.about-hero__title::before{display:none;}
.about-hero__subtitle {text-align: left;
  font-size: 18px;transform: rotate(0.05deg);
  margin-bottom: 6px;
}

.about-hero__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: #fff;
  margin: 16px 0 90px;
}


/* ================================
   キャッチコピー & テキスト
================================ */
.about-hero__catch {
  font-size: 46px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 40px;
}

.about-hero__text {
  font-size: 18px;transform: rotate(0.05deg);
  line-height: 1.8;
  margin-bottom: 80px;
}


/* ================================
   ボタン（Recruit の黒白版）
================================ */
.about-hero__btn {
  display: inline-flex;transform: rotate(0.05deg);
  align-items: center;
  justify-content: space-between;
  width: 280px;
  padding: 16px 20px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.about-hero__btn .arrow {
  display: inline-block;
  width: 22px;
  height: 10px;
  margin-left: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='5.002' viewBox='0 0 24 5.002'%3E%3Cpath d='M-2608.5-428.935v-1h17.128l-.011-4,6.883,5h-3.35v0Z' transform='translate(2608.5 433.937)' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: background-image 0.25s ease;
}

/* hover：背景白、文字黒、矢印黒、枠線白（透過なし） */
.about-hero__btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
	opacity: 1;
}

.about-hero__btn:hover .arrow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='5.002' viewBox='0 0 24 5.002'%3E%3Cpath d='M-2608.5-428.935v-1h17.128l-.011-4,6.883,5h-3.35v0Z' transform='translate(2608.5 433.937)' fill='%23000'/%3E%3C/svg%3E");
}


/* ================================
   SP（〜767px）
================================ */
@media (max-width: 767px) {

  .about-hero {
    padding: 80px 26px 70px;margin: 70px 0;
  }

  .about-hero__title {
    font-size: 32px;
  }
.about-hero__subtitle {
  font-size: 15px;
}
  .about-hero__catch {
    font-size: 27px;
    line-height: 1.5;
		  margin-bottom: 60px;
  }

  .about-hero__text {
    font-size: 15px;
    line-height: 1.7;
  }
.about-hero__bar {
  width: 30px;  margin: 16px 0 60px;
}
  .about-hero__btn {
    width: 100%;
    /*max-width: 300px;*/
  }
}


/* ================================
   Company メニューエリア
================================ */

.menu-block {
  position: relative;
  background: #187FC4;
  color: #fff;
  
  overflow: hidden;margin: 18px 0;
}

.menu-inner {
  position: relative;
  z-index: 2;
  max-width: 1166px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu-left {
  width: 50%;
  padding: 80px 80px 80px 26px;
  box-sizing: border-box;
}

.menu-title {
  font-size: 40px;
  font-weight: 700;
}

.menu-subtitle {
  font-size: 18px;transform: rotate(0.05deg);
}

.menu-bar {
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 16px 0 40px;
}

.menu-desc {
  font-size: 16px;transform: rotate(0.05deg);
  line-height: 1.8;
  margin-bottom: 40px;
}

.menu-btn {
  width: 280px;
  padding: 14px 26px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  display: inline-flex;
  justify-content: space-between;transform: rotate(0.05deg);
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.25s;
}

.btn-arrow {
  width: 22px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='5.002' viewBox='0 0 24 5.002'%3E%3Cpath d='M-2608.5-428.935v-1h17.128l-.011-4,6.883,5h-3.35v0Z' transform='translate(2608.5 433.937)' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.25s;
}

.menu-btn:hover {
  background: #fff;
  color: #187FC4;
  border-color: #187FC4;opacity: 1;
}

.menu-btn:hover .btn-arrow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='5.002' viewBox='0 0 24 5.002'%3E%3Cpath d='M-2608.5-428.935v-1h17.128l-.011-4,6.883,5h-3.35v0Z' transform='translate(2608.5 433.937)' fill='%23187fc4'/%3E%3C/svg%3E");
}
.top-menu-img01{  background-image: url("../img/menu1.webp");}
.top-menu-img02{  background-image: url("../img/menu2.webp");}
.top-menu-img03{  background-image: url("../img/menu3.webp");}
.top-menu-img04{  background-image: url("../img/menu4.webp");}
.menu-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.menu-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 3;
}

.menu-overlay-inner {
  margin: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu-overlay-lists {
  display: flex;
  gap: 100px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  margin-bottom: 18px;
}

.menu-list a {
  position: relative;
  display: inline-block;
  padding-left: 32px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.menu-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='5.002' viewBox='0 0 24 5.002'%3E%3Cpath d='M-2608.5-428.935v-1h17.128l-.011-4,6.883,5h-3.35v0Z' transform='translate(2608.5 433.937)' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.menu-list a:hover{opacity: 1;}
.menu-list a:hover::before{transform: translate(4px,-50%);transition: transform 0.3s;}


.center-arrow {
  position: absolute;
  top: 0;
  right: 50%;
  width: 50px;
  height: 100%;
  cursor: pointer;
  z-index: 4;
}

.center-arrow-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s;
}

.center-arrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 25px;
  transform: translate(-50%, -50%) scaleX(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='25.21' viewBox='0 0 15 25.21'%3E%3Cpath d='M106.1,0,108.5,2.394,98.288,12.6,108.5,22.816,106.1,25.21,93.5,12.6Z' transform='translate(-93.498)' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s;
}

.menu-block.is-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-block.is-open .center-arrow-bg {
  background: rgba(255, 255, 255, 0.2);
}

.menu-block.is-open .center-arrow-icon {
  transform: translate(-50%, -50%) scaleX(1);
}

/* =========================================================
   SP
========================================================= */
@media (max-width: 922px) {

  .menu-block {
    min-height: auto;
    padding-bottom: 40px;margin: 0;
  }

  .menu-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0px;
  }

  .menu-bg-image {
    position: relative;
    width: 100%;
    height: 200px;
    right: auto;
    top: auto;
    order: -1;
  }

  .menu-left {
    width: 100%;
    padding: 30px 26px 0 26px;
  }

  .menu-title {
    font-size: 32px;
  }
	.menu-subtitle {
    font-size: 15px;
  }
.menu-bar {
  width: 30px;
  margin: 12px 0 30px;
}


  .menu-desc {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .menu-btn {
    width: 100%;
    /*max-width: 320px;*/
    margin: 0 auto;
  }

  .center-arrow {
    display: none;
  }

  .menu-overlay {
    display: none !important;
  }
}



/* =========================================================
   左右反転
========================================================= */
.menu-block.reverse .menu-inner {
  flex-direction: row-reverse;
}

.menu-block.reverse .menu-left {
  padding: 80px 0 80px 80px;
}

.menu-block.reverse .center-arrow {
  right: auto;
  left: 50%;
}

.menu-block.reverse .menu-overlay {
  right: auto;
  left: 0;
}

.menu-block.reverse .menu-bg-image {
  right: auto;
  left: 0;
}

.menu-block.reverse .center-arrow-icon {
  transform: translate(-50%, -50%) scaleX(1);
}
.menu-block.reverse.is-open .center-arrow-icon {
  transform: translate(-50%, -50%) scaleX(-1);
}

/* =========================================================
   SP
========================================================= */
/* ====================================================
   反転版（画像上 → 青背景下）SPレイアウト
   ※ max-width: 922px 以下で適用
==================================================== */
@media (max-width: 922px) {

  /* セクション全体の縦並び */
  .menu-block.reverse {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  /* ==========================
     画像（上）
  ========================== */
  .menu-block.reverse .menu-bg-image {
    position: relative;
    width: 100%;
    height: 220px;         /* 好みで調整可 */
    order: 1;
  }

  /* オーバーレイはSPでは消す */
  .menu-block.reverse .menu-overlay {
    display: none !important;
  }

  /* ==========================
     テキスト（下）
  ========================== */
  .menu-block.reverse .menu-inner {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    padding: 0 0px;
    margin: 0;
    box-sizing: border-box;
    order: 2;
    display: block; /* 1カラム */
  }

  .menu-block.reverse .menu-left {
    width: 100%;
            padding: 30px 26px 0 26px;
  }


  .menu-block.reverse .menu-bar {
    margin: 16px 0 24px;
  }

  .menu-block.reverse .menu-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  /* ボタン */
  .menu-block.reverse .menu-btn {
    width: 100%;
    /*max-width: 320px;*/
    padding: 14px 20px;
    margin-top: 10px;
  }

  /* ==========================
     中央矢印（SPでは不要→非表示）
  ========================== */
  .menu-block.reverse .center-arrow {
    display: none !important;
  }
}

/* CCS追加 */
.swiper-slide_results .slide-title{
  font-style: initial;
  font-size: 32px;
  top: 110px;
}
@media (max-width: 767px){
  .swiper-slide_results .slide-title{
  font-size: 22px;
  top: 0;
}
}
@media (max-width: 550px){
  .swiper-slide_results .slide-title{
  line-height: 1.2;
}
}
.swiper-slide_results .slide-link{
  /* border: 1px solid #111; */
}
@media (max-width: 767px){
  .swiper-slide_results .slide-link{
  display: none;
}
}
.swiper-slide_results .slide-title{
  color: #111111;
}
