/* CSS Document */

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

*,
*::before,
*::after{
  box-sizing: border-box;
}

img{
  max-width: 100%;
  height: auto;
}

/* ========================================
   slider under image
======================================== */

.slider_under_img{
  width: 100%;
  height: 300px;
  background-image: url("/wp-content/uploads/2026/03/img_1_PC_2.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ========================================
   企業情報
======================================== */

.top_company_info{
  position: relative;
  width: 100%;
  min-height: 670px;
  background: #2249B5;
  overflow: hidden;
}

.top_company_info__inner{
  position: relative;
  max-width: 1080px;
  width: 100%;
  min-height: 670px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}

/* 背景の装飾 */
.top_company_info__bg{
  position: absolute;
  z-index: 1;
}

.top_company_info__bg--cyan{
  top: 0;
  left: 50%;
  margin-left: 354px;
  width: 100vw;
  height: 424px;
  background: #01B0DB;
}

.top_company_info__bg--light{
  bottom: 0;
  left: 50%;
  margin-left: -141px;
  width: 439px;
  height: 374px;
  background: rgba(95, 144, 235, 0.7);
}

/* 左側テキスト */
.top_company_info__content{
  position: relative;
  z-index: 3;
  padding-top: 148px;
  max-width: 520px;
}

.top_company_info__title{
  margin: 0;
  color: #fff;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}

.top_company_info__text{
  margin: 80px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  white-space: pre-line;
}

.top_company_info__actions{
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
  padding-left: 10px;
}

/* 共通ボタン（見た目のみ） */
.top_company_info__btn{
  position: relative;
  display: flex;
  align-items: center;
  width: 300px;
  max-width: 100%;
  height: 60px;
  background: #fff;
  border: 1px solid #707070;
  border-radius: 40px;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease;
}

.top_company_info__btn-label{
  display: block;
  margin-left: 78px;
  color: #111;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: color .25s ease;
}

.top_company_info__btn-arrow{
  position: absolute;
  top: 50%;
  right: 35px;
  transform: translateY(-50%);
  color: #111;
  font-size: 20px;
  line-height: 1;
  transition: color .25s ease;
}

.top_company_info__btn:hover{
  background: #5F90EB;
  border-color: #fff;
}

.top_company_info__btn:hover .top_company_info__btn-label,
.top_company_info__btn:hover .top_company_info__btn-arrow{
  color: #fff;
}

/* ロゴ枠 */
.top_company_info__logo{
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(448px, calc(100vw - 80px));
  height: min(448px, calc(100vw - 80px));
  background: #fff;
  transform: translate(-21px, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ロゴ画像 */
.top_company_info__logo img{
  display: block;
  width: min(300px, 70%);
  height: auto;
}

/* ========================================
   グループ企業
======================================== */

.top_group_company{
  width: 100%;
  background: #E6FBFF;
  padding: 100px 0 0;
}

.top_group_company__inner{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* 上段 */
.top_group_company__top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.top_group_company__left{
  flex: 0 1 530px;
  width: 51%;
  min-width: 0;
}

.top_group_company__right{
  flex: 0 1 500px;
  width: 49%;
  min-width: 0;
}

.top_group_company__title{
  display: inline-block;
  margin: 0;
  color: #096FD1;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.1;
  background: transparent;
}

.top_group_company__lead{
  margin: 22px 0 0;
  color: #000000;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.55;
}

.top_group_company__map{
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

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

.top_group_company__text{
  width: 100%;
  max-width: 530px;
  margin-top: 40px;
  padding: 22px 0;
  background: transparent;
}

.top_group_company__text p{
  margin: 0;
  font-size: 20px;
  color: #000;
  font-weight: 500;
  line-height: 1.8;
}

/* VALUE CHAIN 背景 */
.top_group_company__valuechain{
  margin-top: 80px;
  padding: 0 0 70px;
  background: #BFEFFA;
}

/* inner は中央固定 */
.top_group_company__valuechain .top_group_company__inner{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.top_group_company__valuechain-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.top_group_company__valuechain-title{
  margin: 0;
  margin-left: 130px;
  margin-top: 35px;
  color: #166FD3;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.top_group_company__grain-list{
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 20px;
  margin-right: 125px;
  position: relative;
  top: -54px;
}

.top_group_company__grain{
  margin: 0;
  text-align: center;
}

.top_group_company__grain figcaption{
  margin-top: -10px;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  text-align: center;
}

.top_group_company__chain{
  margin: 0 auto;
  margin-top: -30px;
  text-align: center;
}

.top_group_company__chain img{
  display: block;
  width: 100%;
  max-width: 836px;
  height: auto;
  margin: 0 auto;
}

.top_group_company__grain img{
  width: 137px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  box-shadow: none;
}

/* =================================
   グループ企業カード
================================= */

.top_company{
  background: #E6FBFF;
  padding: 83px 0 141px;
}

.top_company__inner{
  max-width: 842px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.top_company__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  justify-content: center;
}

.top_company__item{
  text-align: center;
  min-width: 0;
}

.top_company__item img{
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 400 / 250;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.top_company__name{
  margin-top: 13px;
  font-size: 20px;
  font-weight: 500;
  color: #000;
}

/* グループ企業カード内だけボタン中央 */
.top_company__item .top_company_info__btn{
  margin: 13px auto 0;
}

/* =========================================
   TOP 採用情報
========================================= */

.top-recruit{
  position: relative;
  width: 100%;
  min-height: 840px;
  background: #008ECE;
  overflow: hidden;
}

.top-recruit__inner{
  position: relative;
  width: min(1366px, 100%);
  min-height: 840px;
  margin: 0 auto;
  z-index: 2;
}

/* キャッチコピー */
.top-recruit__catch{
  position: absolute;
  top: 108px;
  left: 50%;
  transform: translateX(-165px);
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  z-index: 3;
}

/* 背景写真
   開始位置：画面中央から左へ258px
   右端：画面右端まで
*/
.top-recruit__photo{
  position: absolute;
  top: 210px;
  left: calc(50vw - 258px);
  width: calc(50vw + 258px);
  height: 502px;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* 青円 */
.top-recruit__circle{
  position: absolute;
  top: 181px;
  left: calc(50% - 497px);
  width: 406px;
  height: 406px;
  border-radius: 50%;
  background: #1841B2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* 採用情報 */
.top-recruit__title{
  margin: 0;
  margin-top: 40px;
  font-size: 84px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 0.02em;
}

/* RECRUIT */
.top-recruit__en{
  margin: 24px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ボタン位置 */
.top_company_info__btn.top-recruit__btn{
  position: absolute;
  top: 595px;
  left: calc(50% - 442px);
  margin: 0;
  z-index: 4;
}

/* レスポンシブ */
@media (max-width: 1366px){
  .top-recruit__inner{
    width: 100%;
  }
}

@media (max-width: 801px){
  .top-recruit{
    min-height: auto;
    padding: 80px 20px 60px;
  }

  .top-recruit__inner{
    min-height: auto;
  }

  .top-recruit__catch,
  .top-recruit__photo,
  .top-recruit__circle,
  .top_company_info__btn.top-recruit__btn{
    position: static;
    transform: none;
  }

  .top-recruit__catch{
    margin: 0 0 32px;
    font-size: 34px;
    white-space: normal;
    text-align: center;
  }

  .top-recruit__photo{
    width: 100%;
    height: 380px;
    margin: 0 auto;
    background-position: center center;
    background-size: cover;
  }

  .top-recruit__circle{
    width: 280px;
    height: 280px;
    margin: -140px auto 24px;
  }

  .top-recruit__title{
    font-size: 58px;
  }

  .top-recruit__en{
    margin-top: 16px;
    font-size: 18px;
  }

  .top_company_info__btn.top-recruit__btn{
    margin: 0 auto;
  }
}

.top-recruit__office_img{
  width: 100%;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

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

/* ========================================
   PC / SP 切り替え
======================================== */

.top-sections--pc{
  display: block;
}

.top-sections--sp{
  display: none;
}

@media (max-width: 800px){
  .top-sections--pc{
    display: none;
  }

  .top-sections--sp{
    display: block;
  }
}

/* ========================================
   PC中間幅対策（801px〜1180px前後）
======================================== */

@media (max-width: 1180px){

  .top_company_info{
    min-height: 620px;
  }

  .top_company_info__inner{
    min-height: 620px;
  }

  .top_company_info__title{
    font-size: clamp(54px, 6vw, 80px);
  }

  .top_company_info__text{
    margin-top: 48px;
    font-size: 18px;
  }

  .top_company_info__logo{
    width: min(360px, 36vw);
    height: min(360px, 36vw);
    transform: translate(20px, -50%);
  }

  .top_group_company{
    padding-top: 80px;
  }

  .top_group_company__title{
    font-size: clamp(52px, 6vw, 80px);
  }

  .top_group_company__lead{
    font-size: clamp(22px, 2.4vw, 30px);
  }

  .top_group_company__text p{
    font-size: 18px;
  }

  .top_group_company__valuechain-title{
    margin-left: 40px;
    margin-top: -50px;
    font-size: 32px;
  }

  .top_group_company__grain-list{
    margin-right: 20px;
  }

  .top_group_company__grain img{
    width: 120px;
  }

  .top_company{
    padding-bottom: 110px;
  }

  .top_company__grid{
    gap: 28px;
  }
}

@media (max-width: 980px){

  .top_company_info{
    min-height: 560px;
  }

  .top_company_info__inner{
    min-height: 560px;
  }

  .top_company_info__content{
    max-width: 430px;
    padding-top: 120px;
  }

  .top_company_info__logo{
    width: 300px;
    height: 300px;
    transform: translate(10px, -50%);
  }

  .top_company_info__btn{
    width: 280px;
  }

  .top_company_info__btn-label{
    margin-left: 64px;
    font-size: 18px;
  }

  .top_company_info__btn-arrow{
    right: 28px;
    font-size: 18px;
  }

  .top_group_company__top{
    gap: 28px;
  }

  .top_group_company__lead{
    line-height: 1.45;
  }

  .top_group_company__text{
    margin-top: 28px;
  }

  .top_group_company__valuechain-title{
    margin-left: 0;
    font-size: 28px;
  }

  .top_group_company__grain-list{
    top: -32px;
  }

  .top_group_company__grain img{
    width: 100px;
  }

  .top_group_company__grain figcaption{
    font-size: 14px;
  }

  .top_group_company__chain{
    margin-top: -10px;
  }

  .top_company__name{
    font-size: 18px;
  }
}

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

@media (max-width: 800px){

  .top-sp-kv-sub{
    width: 100%;
    height: 100px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .top-sp-section-title{
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.02em;
    margin: 32px 0 52px;
  }

  .top-sp-section-title--white{
    color: #fff;
    font-size: 40px;
  }

  .top-sp-section-title--blue{
    color: #096FD1;
    font-size: 40px;
  }

  .top-sp-btn{
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
    max-width: 100%;
    height: 60px;
    margin: 0 auto;
    padding: 0 34px;
    background: #fff;
    border: 1px solid #b9b9b9;
    border-radius: 999px;
    text-decoration: none;
    box-sizing: border-box;
  }

  .top-sp-btn__label{
    display: block;
    width: 100%;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
  }

  .top-sp-btn__arrow{
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #111;
    font-size: 12px;
    line-height: 1;
  }

  .top-sp-btn:hover{
    background: #5F90EB;
    border-color: #fff;
  }

  .top-sp-btn:hover .top-sp-btn__label,
  .top-sp-btn:hover .top-sp-btn__arrow{
    color: #fff;
  }

  /* =========================
     企業情報
  ========================= */
  .top-sp-company-info{
    background: #2249B5;
    padding: 28px 20px 24px;
  }

  .top-sp-company-info__inner{
    max-width: 390px;
    margin: 0 auto;
  }

  .top-sp-company-info__logo{
    width: 266px;
    height: 266px;
    margin: 20px auto 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top-sp-company-info__logo img{
    display: block;
    width: 178px;
    height: auto;
  }

  .top-sp-company-info__text{
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
  }

  .top-sp-company-info .top-sp-btn{
    margin-top: 18px;
  }

  /* =========================
     グループ企業
  ========================= */
  .top-sp-group{
    background: #E6FBFF;
    padding: 28px 0 0;
  }

  .top-sp-group__inner{
    max-width: 390px;
    margin: 0 auto;
    padding: 0 20px 18px;
  }

  .top-sp-group__map{
    margin-top: 18px;
    text-align: center;
  }

  .top-sp-group__map img{
    display: block;
    width: 335px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .top-sp-group__lead{
    margin: 16px 0 0;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.9;
    text-align: left;
  }

  .top-sp-group__text{
    margin: 30px 0 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
    text-align: justify;
  }

  /* =========================
     VALUE CHAIN
  ========================= */
  .top-sp-valuechain{
    background: #BBF3FD;
    padding: 18px 0 20px;
  }

  .top-sp-valuechain__inner{
    max-width: 390px;
    margin: 0 auto;
    padding: 0 14px;
  }

  .top-sp-valuechain__title{
    margin: 30px 0 30px;
    color: #166FD3;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
  }

  .top-sp-valuechain__grains{
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }

  .top-sp-valuechain__grain{
    margin: 0;
    text-align: center;
  }

  .top-sp-valuechain__grain img{
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
  }

  .top-sp-valuechain__grain figcaption{
    margin-top: 4px;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
  }

  .top-sp-valuechain__image{
    text-align: center;
    margin-top: 45px;
    margin-bottom: 72px;
  }

  .top-sp-valuechain__image img{
    display: block;
    width: 232px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* =========================
     グループ企業一覧
  ========================= */
  .top-sp-company-list{
    background: #E6FBFF;
    padding: 78px 0 78px;
  }

  .top-sp-company-list__inner{
    max-width: 390px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .top-sp-company-card + .top-sp-company-card{
    margin-top: 58px;
  }

  .top-sp-company-card img{
    display: block;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
  }

  .top-sp-company-card__name{
    margin: 13px 0 13px;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
  }

  /* =========================
     採用情報
  ========================= */
  .top-sp-recruit{
    background: #008ECE;
    
  }

  .top-sp-recruit .top-recruit__catch{
    font-size: 40px;
    padding-top: 50px;
  }

  .top-sp-recruit__photo{
    width: 100%;
    height: 295px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .top-sp-recruit__circle{
    width: 222px;
    height: 222px;
    margin: -32px auto 57px;
    border-radius: 50%;
    background: #1841B2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
  }

  .top-sp-recruit__title{
    margin: 10px 0;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
  }

  .top-sp-recruit__en{
    margin: 10px 0 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
  }

 .top-sp-recruit__btn{
  width: 300px;
  max-width: calc(100% - 40px); /* ←左右20px余白相当 */
  margin: 14px auto 0;
}

  .top-sp-recruit__office{
    width: 100%;
    height: 130px;
    margin-top: 50px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* =========================
     地図
  ========================= */
  .top-sp-map iframe{
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
  }
}

/* ========================================
   微調整SP
======================================== */

@media (max-width: 420px){

  .top-sp-section-title--white,
  .top-sp-section-title--blue{
    font-size: 34px;
  }

  .top-sp-btn{
    width: 100%;
  }

  .top-sp-btn__label{
    font-size: 18px;
  }

  .top-sp-company-info{
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-sp-group__inner,
  .top-sp-company-list__inner{
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-sp-company-info__logo{
    width: min(266px, 100%);
    height: min(266px, calc(100vw - 64px));
  }

  .top-sp-valuechain__grains{
    gap: 4px;
  }

  .top-sp-valuechain__grain img{
    width: 88px;
    height: 88px;
  }
}