@charset "utf-8";

h1, h2, h3, h4, h5, h6 {
	text-align: center;
}

h2 {
	font-size: 50px;
}


.home .site-body .container, .home .site-body .container-lg, .home .site-body .container-md, .home .site-body .container-sm {
  max-width: inherit;
}
.home .site-body .container, .home .site-body .container-fluid, .home .site-body .container-lg, .home .site-body .container-md, .home .site-body .container-sm, .home .site-body .container-xl {
  padding-right: 0;
  padding-left: 0;
}

.home .site-body {
	padding: 0 0 3rem;
}


.home .site-header {
  background-color: transparent;
  position: absolute;
  box-shadow: none;
}
  .site-header nav ul li a {
    color: #000;
    
  }

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
         max-width: 1900px; 
    }


}
/*mv*************************************/

.container .sec_first-view {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  margin: 0;
  display: block;
}


.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
}



.site-header-logo a {
    display: inline-flex !important;
    align-items: center;
}

.site-header-logo a span {
    display: inline-block;
    width: auto;
}


.site-header-logo a::after {
    content: "";
    display: block;
    width: 65px;
    height: 50px;
    background-image: url("../img/top/fv_since.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 15px;
    flex-shrink: 0;
}



.content-overlay {
  position: absolute;
  top: 26%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  color: #ffffff;
  z-index: 20;
  /*mix-blend-mode: overlay; *//* オーバーレイを指定 */
}

.main-copy {
  font-size: 4.3rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.sub-copy {
  font-size: 1.6rem;
  margin-top: 10px;
  margin-top: 0;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}
.kenko_ifh_logo {
  position: absolute;
  width: 130px;
  right: 0;
  bottom: 265px;
  transition: all 0.3s ease;
}

.kenko_ifh_logo img {
  display: block;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
}



.kenko_ifh_logo:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px); /* 少し上に浮く */
}

/* クリックした時の沈む動き */
.kenko_ifh_logo:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


/*mv*************************************/
/*news***********************************/
.sec_news {
    position: relative;
    z-index: 30;
    display: flex;
    margin-top: -76px;
  margin-right: inherit;
    margin-left: auto;
    margin-bottom: -122px;
    padding: 10px 0;
    max-width: 1200px;
    min-height: 220px;
    width: 90%;
    background-color: #021887;
  justify-content: space-between;
  border-radius: 13px 0 0 13px;
  align-items: flex-start;
}
.news_l {
  width: 225px;
  display: flex;
  flex-direction: column;
}
.ttl_news {
  font-size: 50px;
  color: #fff;
  line-height: 1.2;
  padding-bottom: 12px;
}
.ttl_news span {
  font-size: 18px;
  display: block;
  margin-top: 6px;
}
.news_r {
  width: calc(100% - 225px);
  color: #fff;
  padding: 0 120px 0 30px;
}

/*news読み込み部分*/
.top_news_cont {
}
.top_news_det_f {
  color: #fff;
  
}
.top_news_time, .top_news_title {
  font-size: 20px;
  font-weight: 300;
  text-align: left;
}
.top_news_det a:hover{
  color: #fff;
  opacity: .8;
}
.top_news_det {
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}
.top_news_det:last-child {
  border-bottom: none;
}

.top_news_cate {
  font-size: .8em;
  font-weight: 300;
 background-color: #fff;
  padding: 1px 4px 0 4px;
  border-radius: 2px;
  color: #021887;
}
.top_news_new {
  font-size: .8em;
  background-color: #f7931e;
  padding: 1px 4px 0 4px;
  border-radius: 2px;
}
/*news読み込み部分*/
/*news***********************************/
/*働きやすい環境への取り組み***********************************/
.sec_attempt {
  padding-top: 300px;
  
}

.img_attempt_logo {
  width: 300px;
  display: block;
  margin: 0 auto;
}
.ttl_attempt {
  font-size: 50px;
}
.attempt_cont {
  background-image: url(../img/top/attempt_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* コンテナ全体 */
.attempt_det {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 基本は上揃え */
  gap: 40px;
  padding: 50px 0;
}

/* 共通設定 */
.attempt_item {
  display: flex;
  flex-direction: column;
}

/* 01 */
.attempt_item-large {
  flex: 1.4; /* 他が1に対して2の割合 */
}

/* 02, 03 */
.attempt_item-small {
  flex: 1;
}

/* 02: 下付きにする */
.attempt_item-bottom {
  align-self: flex-end; /* 親のFlexの中で下へ移動 */
  position: relative;
  top: 20px; 
  left: 10px;
}

/* 03: 上付きにする */
.attempt_item-top {
  align-self: flex-start;
  position: relative;
  top: -30px;
}





.attempt_image_box {
  position: relative;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background-color: #eee;
  /* aspect-ratioを削除し、画像の高さに任せる */
  will-change: transform; /* Safari等での角丸バグを防ぐ */
}

.attempt_image_box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}


.attempt_image_title {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
  width: 90%;
  text-align: center;
  line-height: 1.4;
}

.attempt_caption {
  margin-top: 6px;
  font-size: 18px;
  color: #000;
  text-align: center;
  display: flex;
  justify-content: center;
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", sans-serif;
}

.attempt_caption p {
  line-height: 1.1;
}

.att_cap01_b {
  font-size: 14px;
}

.att_cap01_a {
  font-size: 28px;
}
.icon_pdf {
  width: 28px;
  padding-left: 6px;
  display: block;
}

.attempt_item:hover .attempt_link img {
  transform: scale(1.1);
}



/*働きやすい環境への取り組み***********************************/
/*about****************************************************/
.sec_about {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 200px 0;
}
.about_cont_l,.about_cont_img {
  width: 48%;
}
.sttl_about {
  font-size: 36px;
  color: #fff;
  padding: 16px 6px 16px 120px;
  margin: 100px 0 50px;
  text-align: left;
  border-radius: 0 15px 15px 0;
}

.about_det {
  padding: 0 6px 0 120px;
  font-size: 20px;
  font-weight: 600;
}

.about_cont_img {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.about_cont_img .about_img {
  background-size: cover;
  background-position: center;
}

.about_cont_img .about_img:nth-child(1) {
    width: 43%;
    height: 610px;
    margin-top: 120px;
    background-image: url(../img/top/about_01.webp);
    border-radius: 22px;
}
.about_cont_img .about_img:nth-child(2) {
    width: 46%;
    height: 480px;
    margin-top: 0;
    background-image: url(../img/top/about_02.webp);
  border-radius: 22px;
}
.about_cont_img .about_img:nth-child(3) {
    width: 40%;
    height: 520px;
    margin-top: -220px;
    background-image: url(../img/top/about_03.webp);
  border-radius: 22px;
  margin-left: auto;
    margin-right: 11%;
}


/*about****************************************************/
/*数字で見る*************************************************/
.sec_data {
  margin: 200px 0;
  background-image: url(../img/top/history_bg.webp);
  padding: 100px 0;
}
.data_det {
  display: flex;
  justify-content: center;
  gap: 4%;
  width: 100%;
  align-items: center;
}
.data_sttl {
  font-size: 130px;
  color: #021887;
  /*width: 60%;*/
  line-height: 1.2;
  text-align: left;
}
.data_sttl_esp {
  font-size: 220px;
}
.data_sttl_add {
  font-size: 16px;
  color: #000;
  font-weight: 300;
  display: block;
  line-height: 1.6;
}
.data_sttl_f {
  font-size: 20px;
  color: #000;
  display: block;
}

.data_sttl_t {
  font-size: 40px;
  color: #000;
  position: relative;
  top: -5px;
}

.data_img_icon {
  width: 32%;
  position: relative;
    top: 10px;
}
.data_icon01 {
  width: 70%;
}

.data_in_small {
  font-size: .35em;
  padding-right: 4px;
}


.timeline {
  max-width: 600px;
  margin: 20px;
  line-height: 1.6;
}
.timeline-item {
  display: flex;
  position: relative;
  padding-bottom: 60px; 
}
/* 縦線の描画 */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 70px;
  width: 1px;
  height: 30px;
  background-color: #000;
}
.year {
  width: 180px;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 26px;
}

.description {
  flex-grow: 1;
}


/*grid*/
.data_grid-container {
  display: grid;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto auto;
  grid-template-areas:
    "left right-top"
    "left right-bottom";
  gap: 0;
  padding-top: 50px;
  
}

.data_grid-item {
  padding: 20px 10px;
}

/* エリア名の割り当て */
.data_item-left   { grid-area: left; }
.data_item-top    { grid-area: right-top; }
.data_item-bottom { grid-area: right-bottom; }

/* PC用の境界線 */
.data_item-left {
  border-right: 1px solid #ccc;
}
.data_item-top {
  border-bottom: 1px solid #ccc;
  border-right: none; /* 念のため右線を打ち消し */
}



/*数字で見る*************************************************/
/*OUR BUSINESS********************************************/
.sec_business {
  margin: 200px 0;
}
/* 全体背景の設定 */
.business-container {
    background-image: url('../img/top/business_bg.webp');
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
    padding: 100px 0;
    margin: 40px 0 50px 0;
}

.business-item {
    width: 100%;
    margin-bottom: 80px;
    display: flex;
    justify-content: flex-start;
}

.business-item:last-child {
    margin-bottom: 0;
}


.busi_blue-card {
    width: 1700px;
    max-width: 90%; /* 画面幅が1700px以下の時の考慮 */
    height: 370px;
    display: flex;
    align-items: center;
    padding-left: 300px;
    position: relative; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
  border-radius: 0 14px 14px 0;
}

/* テキストエリア */
.busi_content-left {
    color: #fff;
    width: 550px;
}

.busi_label {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.busi_sttl {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
  text-align: left;
}

.busi_desc {
    font-size: 18px;
    margin-bottom: 30px;
}



/*スライダーに変更したため一時的にコメントアウト*/
/*.busi_floating-img {
    width: auto;
    height: 380px;
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
    object-fit: cover;
    border-radius: 14px 14px 14px 14px;
}*/


.sec_business .business-item .u_btn-wrapper {
  justify-content: flex-start;
}



/* =========================
   スライダー全体の配置コンテナ
 ======================== */
.busi_content-right {
    position: absolute;
    top: 25px;
    right: 45px;
    width: 100%;
    max-width: 500px;
}

/* スライダーのラッパー */
.busi_floating-slider {
    width: 100%;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden; 
}

/* MetaSlider内の画像（PC時：高さ380pxでトリミング） */
.busi_content-right .metaslider img {
    width: 100%!important;
    height: 380px!important; 
    object-fit: cover;
    display: block!important;
}
/* =========================
   スライダー全体の配置コンテナ↑
 ======================== */


/*OUR BUSINESS********************************************/
/*recruit*************************************************/
.sec_recruit {
  background-color: #f9f9f9;
  margin: 200px auto;
  padding: 150px 0;
  align-items: center;
}

.recruit_cont {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recruit_cont_l , .recruit_cont_r {
  width: 50%;
}
.sec_recruit .ttl_large {
  margin-top: 0;
}
.recruit_c_copy {
  font-size: 24px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 0;
  color: #021887;
}
.rectuit_sttl {
  font-size: 24px;
  line-height: 1.6;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  margin-top: 80px;
}
.rectuit_sttl::before , .rectuit_sttl::after {
 width: 28px;
    height: 1.2px;
    content: "";
    background-color: #000;
    border-radius: 1.2px;
}
.rectuit_sttl::before {
 margin-right: 0.1em;
    transform: rotate(60deg);
}
.rectuit_sttl::after {
 margin-left: 0.1em;
  transform: rotate(-60deg);
  position: static;
}

.rectuit_note a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rectuit_icon_pdf {
  width: 30px;
  display: block;
  padding-left: 10px;
}




/* ベースのカード設定 */
        .recruit_card {
            position: relative;
            width: 455px;
            height: 485px;
            border-radius: 26px;
            overflow: hidden;
            cursor: pointer;
          display: block;
        }

        /* 背景画像の設定 */
        .recruit_card_bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
          position: absolute;
            top: 0;
            left: 0;
          z-index: 10;
        }

        /* ホバー時に中の画像のみ拡大 */
        .recruit_card:hover .recruit_card_bg {
            transform: scale(1.1);
        }

        /* 重ねるコンテンツのオーバーレイ */
        .recruit_overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 30px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: space-between; 
            pointer-events: none;
          z-index: 100;
        }

        /* 右上方のテキスト */
        .recruit_copy {
            align-self: flex-start; 
            color: #fff;
            font-size: 40px;
            font-weight: 600;
            line-height: 1.4;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        /* 右下方のグループ（ロゴ・テキスト・アイコン） */
        .recruit_bottom-group {
            align-self: flex-end;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            color: #fff;
        }

        .recruit_logo {
            width: 190px;
            height: auto;
            margin-bottom: 5px;
        }

        .recruit_site-name {
            font-size: 45px;
            font-weight: bold;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .recruit_btn-icon {
            width: 40px;
            height: auto;
            margin: 0 auto;
          display: block;
        }





/*recruit*************************************************/

/*company*************************************************/
.sec_company {
  padding: 70px 0;
}
.company_cont {
  width: 1700px;
    max-width: 90%;
    border-radius: 0 14px 14px 0;
  background-color: #fff;
  padding: 70px 0;

}
.company_copy {
  font-size: 36px;
  text-align: center;
  padding-top: 40px;
}
.company_btn_cont {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.company_btn_det {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
/*companyボタンstyle*************/
/*company紺ボタン*/
.ub_btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 10px 0;
}

.ub_custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #021887;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 24, 135, 0.3);
  z-index: 1;
  width: 480px;
}


.ub_btn-text {
  margin-right: 20px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.ub_btn-text_en {
  font-size: 16px;
  display: block;
  font-weight: 300;
}

.ub_btn-icon_w {
  width: 28px;
  height: auto;
  transition: transform 0.3s ease;
}

.ub_custom-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s;
  z-index: -1;
}



.ub_custom-btn:hover {
  background-color: #0a25b0; /* 少し明るい紺に */
  box-shadow: 0 6px 20px rgba(2, 24, 135, 0.5);
  transform: translateY(-2px); /* 少し上に浮く */
  color: #fff;
}

/* アイコンが右に動く */
.ub_custom-btn:hover .ub_btn-icon_w {
  transform: translateX(5px);
}

/* 光の筋が通り抜ける */
.ub_custom-btn:hover::before {
  left: 100%;
}

/* クリックした時の沈む動き */
.ub_custom-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(2, 24, 135, 0.3);
}
/*company紺ボタン*/
/*company白ボタン*/
.company_btn_det > .ub_btn-wrapper {
  width: 33%;
  padding: 20px 0 10px 20px;
  min-width: 322px;
}
.ub_btn-wrapper .ub_custom-btn_w {
  background-color: #fff;
  color: #021887;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #021887;
}
/* 光の筋（company白ボタン用） */
.ub_custom-btn_w::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(2, 24, 135, 0.1), 
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transition: all 0.5s;
  z-index: -1;
}

/* ホバー時の挙動 */
.ub_custom-btn_w:hover {
  background-color: #f0f4ff; 
  color: #021887;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* 光の筋が通り抜ける */
.ub_custom-btn_w:hover::before {
  left: 100%;
}

/* アイコンの動き */
.ub_custom-btn_w:hover .ub_btn-icon_w {
  transform: translateX(5px);
}

/* クリック時 */
.ub_custom-btn_w:active {
  transform: translateY(0);
  background-color: #e5eaff;
}

/* テキストとアイコンの共通パーツ（必要に応じて） */
.ub_custom-btn_w .ub_btn-text {
  margin-right: 20px;
  font-size: 24px;
}
.ub_custom-btn_w .ub_btn-text_en {
  font-size: 14px;
  text-align: center;
}

.ub_custom-btn_w .ub_btn-icon_w {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease;
  /* アイコンがSVGなどの場合、色が変わるよう調整が必要であればここに追加 */
}
/*company白ボタン*/
/*companyボタン追加style************/
/*company*************************************************/
/*fixedボタン**********************************************/
.btn_rec_fixed {
  position: fixed;
  right: 0;
  bottom: 170px;
  z-index: 1000;
  background-color: #f7931e;
  padding: 6px;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  /*スマホ時の画面下スクロールのちらつきを抑える*/
  transform: translate3d(0, 0, 0)!important;
    will-change: transform!important;
    
    /* 2. チラつきや裏返りバグを防止する */
    backface-visibility: hidden!important;
    -webkit-backface-visibility: hidden!important;
}

.btn_rec_ttl {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  display: flex;
    align-items: center;
}
.btn_rec_note {
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  display: block;
  padding-top: 6px;
  text-align: center;
}
.fixedbtn-rec_w {
  display: block;
  width: 13px;
  margin: 0 auto;
}



.btn_rec_fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s;
  z-index: -1;
}



.btn_rec_fixed:hover {
  background-color: #0a25b0; /* 少し明るい紺に */
  box-shadow: 0 6px 20px rgba(2, 24, 135, 0.5);
  transform: translateY(-2px); /* 少し上に浮く */
  color: #fff;
}

/* アイコンが右に動く */
.btn_rec_fixed:hover .fixedbtn-rec_w {
  transform: translateX(5px);
}

/* 光の筋が通り抜ける */
.btn_rec_fixed:hover::before {
  left: 100%;
}

/* クリックした時の沈む動き */
.btn_rec_fixed:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(2, 24, 135, 0.3);
}


.btn_rec_fixed .rec_btn-icon_w {
    width: 11px;
    height: auto;
    display: inline-block;
  margin-left: 4px;
}
/*fixedボタン**********************************************/














/****************************************************/
/****************** media queries *******************/
/****************************************************/

/********************************************/
/************ max-width: 1630px *************/
/********************************************/
/*OUR BUSINESS********************************************/
@media screen and (max-width: 1630px) {
  .busi_blue-card {
        padding-left: 50px;
    
}
 .busi_blue-card {
   
    max-width: 95%; 
}

  .busi_desc {
    font-size: 16px;
    margin-bottom: 30px;
}
}
/*OUR BUSINESS********************************************/

/********************************************/
/************ max-width: 1290px *************/
/********************************************/
/*OUR BUSINESS********************************************/
@media screen and (max-width: 1290px) {

  /*スライダーに変更したため一時的にコメントアウト*/
/*    .busi_floating-img {
    width:350px;
}*/
  /* =========================
   スライダー全体の配置コンテナ
 ======================== */
  .busi_content-right {
        right: 20px;
        max-width: 350px;
      top: 50%;
        transform: translateY(-50%);
    }
    
    
    .busi_content-right .metaslider img {
        height: 300px!important;
    }
  /* =========================
   スライダー全体の配置コンテナ↑
 ======================== */
  
}
/*OUR BUSINESS********************************************/

/********************************************/
/************ max-width: 1144px *************/
/********************************************/
@media screen and (max-width: 1144px) {
/*数字で見る*************************************************/
  .timeline {
    max-width: 600px;
    margin: 20px 0 20px 20px;
}
  .data_grid-item {
    padding: 16px;
}
  .data_det {
    gap: 2%;
}
  .data_sttl_esp {
    font-size: 120px;
}
  .data_sttl {
  font-size: 90px;
}
  .data_sttl_f {
    font-size: 18px;
}
  .data_sttl_t {
    font-size: 26px;
}
  .year {
    width: 130px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 20px;
}
/*数字で見る*************************************************/
/*company*************************************************/
  .company_cont {
    width: 97%;
    max-width: none;
  }
/*company*************************************************/
}

/********************************************/
/************ max-width: 1024px *************/
/********************************************/
/*タブレット横*/
@media screen and (max-width: 1024px) {
/*mv****************************************************/
    .content-overlay {
    left: 3%;
    
  }
/*mv****************************************************/
/*news***************************************************/
/*news***************************************************/
/*働きやすい環境への取り組み***********************************/
/*働きやすい環境への取り組み***********************************/
/*about****************************************************/
  .sttl_about {
    padding: 16px 6px 16px 40px;
    margin: 80px 0 50px;
}
  .about_det {
    padding: 0 6px 0 40px;
}
/*about****************************************************/
/*数字で見る*************************************************/
/*数字で見る*************************************************/
/*OUR BUSINESS********************************************/
  /*iOSの仕様でぼやけるため*/
  .business-container {
       background-attachment: scroll;
    background-image: url('../img/top/business_bg_sp.webp');
    }
  /*iOSの仕様でぼやけるため*/
  .busi_blue-card {
    padding-left: 30px;
    height: 500px;
    }
.busi_content-left {
    width: 42%;
}
/*OUR BUSINESS********************************************/
/*recruit*************************************************/

  .recruit_card {
    width: 100%;
}
/*recruit*************************************************/
/*company*************************************************/
  .company_copy {
    font-size: 30px;
  }
/*company*************************************************/
/*fixedボタン**********************************************/
/*fixedボタン**********************************************/
	
}



/********************************************/
/* max-width: 991px ハンバーガー切替サイズ*******/
/********************************************/
@media screen and (max-width: 991px) {

/*mv****************************************************/
.img_since {
  top: 6px;
  left: auto;
  right: 6px;
}
  .img_since img {
    width: 40px;
}

/*mv****************************************************/
/*news***************************************************/
/*news***************************************************/
/*働きやすい環境への取り組み***********************************/
/*働きやすい環境への取り組み***********************************/
/*about****************************************************/
/*about****************************************************/
/*数字で見る*************************************************/
/*数字で見る*************************************************/
/*OUR BUSINESS********************************************/
/*OUR BUSINESS********************************************/
/*recruit*************************************************/
/*recruit*************************************************/
/*company*************************************************/
/*company*************************************************/
/*fixedボタン**********************************************/
/*fixedボタン**********************************************/

}

/********************************************/
/************ max-width: 834px *************/
/********************************************/
@media screen and (max-width: 834px) {
/*タブレット縦*/
/*mv****************************************************/
  .sec_first-view {
  position: relative;
  height: 100dvh; 
  width: 100%;
  overflow: hidden;
}
  
  .video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center center; 
  display: block;
}
  

  .main-copy {
    font-size: 3rem;
  }
  .sub-copy {
    font-size: 1.2rem;
  }

/*mv****************************************************/
/*news***************************************************/
    .sec_news {
    width: 96%;
}
/*news***************************************************/
/*働きやすい環境への取り組み***********************************/
    .sec_attempt {
    padding-top: 200px;
}

  .attempt_det {
    gap: 20px;
}
  .attempt_item-bottom {
    left: 6px;
}
/*働きやすい環境への取り組み***********************************/
/*about****************************************************/
/*about****************************************************/
/*数字で見る*************************************************/
/*数字で見る*************************************************/
/*OUR BUSINESS********************************************/
/*OUR BUSINESS********************************************/
/*recruit*************************************************/
   .recruit_cont_l {
    width: 60%;
}
  .recruit_cont_r {
    width: 40%;
}
  .recruit_overlay {
    padding: 30px 20px;
}
  .recruit_copy {
    font-size: 36px;
}
/*recruit*************************************************/
/*company*************************************************/
/*company*************************************************/
/*fixedボタン**********************************************/
/*fixedボタン**********************************************/

}

/********************************************/
/************ max-width: 768px *************/
/********************************************/
/*タブレット縦*/
@media screen and (max-width: 768px) {

/*mv****************************************************/
/*mv****************************************************/
/*news***************************************************/

  
    .sec_news {
    width: 100%;
    border-radius: 0;
    display: block;
    padding: 6px 10px;
}
  .news_l {
  width: 100%;
  flex-direction: row;
}
    .ttl_news {
  font-size: 35px;
      padding-bottom: 0;
}
.ttl_news span {
  font-size: 14px;
  margin-top: 0px;
}
  .sec_news .u_btn-wrapper {
    padding: 0 0 0 14px;
}
  .news_r {
    width: 100%;
    padding: 10px 90px 0 10px;
}
  .sec_news .u_custom-btn {
    font-size: 16px;
    padding: 10px 10px 10px 16px;
}
  .sec_news .u_custom-btn_w .u_btn-text {
    margin-right: 10px;
}
  
  .top_news_time, .top_news_title {
    font-size: 20px;
    font-weight: 300;
    text-align: left;
}
  
  /*news読み込み部分*/
  .top_news_time, .top_news_title {
    font-size: 16px;

}
  .top_news_time, .top_news_title {
    font-size: 16px;
}
  
  /*news読み込み部分*/
/*news***************************************************/
/*働きやすい環境への取り組み***********************************/
  .img_attempt_logo {
        width: 200px;
    }
  .ttl_attempt {
        font-size: 30px;
    line-height: 1.1;
    }
  .attempt_cont {
    background-size: cover;
}
.attempt_det {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  /* 1枚目は全幅 */
  .attempt_item-large {
    width: 100%;
  }

  .attempt_item-large .attempt_image_box {
    height: 200px;
  }

  .attempt_item-large .attempt_image_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }


  .attempt_item-small {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: static;
  }


  .attempt_item-bottom,
  .attempt_item-top {
    top: 0;
    left: 0;
    align-self: stretch;
  }

 
  .attempt_item-small .attempt_link {
    width: 50%;
  }

  .attempt_item-small .attempt_image_box {
    height: 150px;
    border-radius: 20px 20px 20px 20px;
  }

  .attempt_item-small .attempt_image_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .attempt_item-small .attempt_caption {
    width: 50%;
    margin-top: 0;
    display: flex;
    justify-content:flex-start;
    align-items: center;
    padding: 0 0 0 10px;
    box-sizing: border-box;
    text-align: center;
  }

  .attempt_item-small .attempt_caption p {
    font-size: 18px;
    line-height: 1.4;
  }

  .attempt_item-small .icon_pdf {
    width: 24px;
    margin-left: 6px;
    padding-left: 0;
  }

  .attempt_item-small .attempt_image_title {
    font-size: 14px;
    top: 18%;
  }

/*働きやすい環境への取り組み***********************************/
/*about****************************************************/
  .sec_about {
    display: block;
    margin: 80px 0;
  }
  .sttl_about {
    padding: 16px 6px 16px 20px;
    margin: 30px 0 20px;
    width: 96%;
    font-size: 30px;
    }
  .about_det {
    padding: 0 20px 30px;
    font-size: 18px;
    }
  .about_cont_l,.about_cont_img {
  width: 100%;
}
  .about_cont_img .about_img:nth-child(1) {
   border-radius: 18px;
    margin-top: 20px;
    height: 350px;
    width: 50%
    }
.about_cont_img .about_img:nth-child(2) {
  border-radius: 18px;
  height: 280px;
  width: 44%;
 }
.about_cont_img .about_img:nth-child(3) {
  border-radius: 18px;
  height: 220px;
  margin-top: -80px;
      width: 50%;
  margin-right: 8%;
  }
/*about****************************************************/
/*数字で見る*************************************************/
  /*max-width: 767pxに記載！*/
/*数字で見る*************************************************/
/*OUR BUSINESS********************************************/
  .sec_business {
    margin: 80px 0;
}
  .business-container {
    margin: 20px 0 0 0;
    padding: 50px 0;
  }
  .business-item {
    margin-bottom: 40px;
}
      .busi_blue-card {
        width: 95%;
        height: auto;
        padding: 30px 20px;
        flex-direction: column;
        align-items: flex-start;
    }


/*スライダーに変更したため一時的にコメントアウト*/
 /*   .busi_floating-img {
        width: 100%;
        height: auto;
    }*/
  /* =========================
   スライダー全体の配置コンテナ
 ======================== */
  
  .busi_content-right {
        position: static; 
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
        text-align: center;
      top: auto;
    transform: none;
    }

    .busi_floating-slider {
        width: 100%;
    }

    /* スマホ時は 300px の固定を解除し、元のアスペクト比で自動可変 */
    .busi_content-right .metaslider img {
        height: auto!important;
        
    }
   /* =========================
   スライダー全体の配置コンテナ↑
 ======================== */
  
  
  
  .busi_content-left {
    width: 100%;
}
  .busi_label {
    font-size: 14px;
    margin-bottom: 3px;
}
  .busi_sttl {
    font-size: 40px;
    margin-bottom: 10px;
}
    .busi_desc {
        margin-bottom: 16px;
    }
  .sec_business .business-item .u_btn-wrapper {
    padding: 0;
  }

/*OUR BUSINESS********************************************/
/*recruit*************************************************/
  .sec_recruit {
    margin: 80px auto;
    padding: 60px 0;
}
  .rectuit_sttl {
    margin-top: 30px;
}
    .recruit_cont {
    flex-direction: column;
  }
    .recruit_cont_l {
    width: 100%;
}
  .recruit_cont_r {
    width: 70%;
}
  .recruit_c_copy {
  font-size: 18px;
}
  .recruit_card {
    height: 320px;
    border-radius: 14px;
  }
  .recruit_bottom-group_sub {
    display: flex;
    gap: 10px;
  }
  .recruit_site-name {
    font-size: 36px;
    margin-bottom: 0;
    line-height: 1.2;
}
/*recruit*************************************************/
/*company*************************************************/
  .sec_company {
    padding: 40px 0;
}
  .company_cont {
    padding: 30px 0;
}
  .company_copy {
    font-size: 23px;
    padding-top: 20px;
    line-height: 1.4;
}
  .ub_custom-btn {
    width: 340px;
}
  .ub_btn-wrapper .ub_custom-btn_w {
    height: 76px;
    padding: 0;
  }
  .ub_btn-text {
    font-size: 26px;
}
  .ub_custom-btn_w .ub_btn-text {
    font-size: 18px;
}
  .company_btn_det > .ub_btn-wrapper {
    padding: 10px 0 0 20px;
    min-width: auto;
    width: 48%;
}
  .company_btn_det {
    margin-bottom: 20px;
}
/*company*************************************************/
/*fixedボタン**********************************************/
/*fixedボタン**********************************************/

  }
/********************************************/
/******* max-width: 767px 数字で見るスマホ用*************/
/********************************************/
  @media (max-width: 767px) {
/*数字で見る*************************************************/
  .sec_data {
    margin: 80px 0;
    padding: 30px 0;
}
  .data_grid-container {
    /* 縦1列に変更 */
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "left"
      "right-top"
      "right-bottom";
    padding-top: 20px;
  }

  /* PC用の横線をリセットし、スマホ用の下線へ調整 */
  .data_item-left {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
  
  .data_item-top {
    /* border-bottom はPCから継承しているのでそのままでOK */
  }

  .data_item-bottom {
    /* 最後の要素なので線は不要 */
    border-bottom: none;
  }
    .data_det {
      padding-bottom: 10px;
    }
  .timeline {
    margin: 10px 0;
  }
  .timeline-item {
    padding-bottom: 30px;
}
    .timeline-item::after {
    top: 40px;
    left: 50px;
    height: 20px;
}
}
/*数字で見る*************************************************/

/********************************************/
/************ max-width: 480px *************/
/********************************************/
/*スマホ縦*/
@media screen and (max-width: 480px) {

/*mv****************************************************/
  .video-container {
    height: calc(100% - 70px);
  }
  .content-overlay {
    left: 4%;
    top: 26%;
  }
  .main-copy {
    font-size: 2rem;
    letter-spacing: inherit;
  }
  .sub-copy {
    font-size: 1.4rem;
    margin-top: 10px;
  }
  .kenko_ifh_logo {
    bottom: 70px;
    right: auto;
    left: 0;
}
  .site-header-logo a::after {
    width: 56px;
    height: 36px;
    margin-left: 6px;
}
  /*sinceがあるのでTOPだけ少しずらす*/
  .site-header-logo a {
    padding-left: 30px;
}
/*mv****************************************************/
/*news***************************************************/
  .sec_news {
    margin-top: -70px;
  }
/*news***************************************************/
/*働きやすい環境への取り組み***********************************/

      .attempt_det {
        padding: 20px 10px;
    }
  .attempt_caption {
    margin-top: 0;
  }
/*働きやすい環境への取り組み***********************************/
/*about****************************************************/
  .sttl_about {
        padding: 16px 6px 16px 10px;
        margin: 20px 0 10px;
        width: 96%;
        font-size: 26px;
    }
  .about_det {
        padding: 0 16px 10px;
        font-size: 16px;
    }
/*about****************************************************/
/*数字で見る*************************************************/
  .data_item-top .data_sttl {
    font-size: 78px;
  }
/*数字で見る*************************************************/
/*OUR BUSINESS********************************************/
  .busi_desc {
        font-size: 14px;
  }
/*OUR BUSINESS********************************************/
/*recruit*************************************************/

  .rectuit_sttl {
    font-size: 20px;
  }
    .recruit_cont_r {
        width: 95%;
    }
      .recruit_overlay {
        padding: 10px 20px;
    }
      .recruit_copy {
        font-size: 30px;
        line-height: 1.3;
    }
      .recruit_card {
        height: 220px;
    }
/*recruit*************************************************/
/*company*************************************************/
      .company_copy {
        font-size: 21px;
    }
  .company_btn_cont {
    padding-top: 20px;
    padding-left: 10px;
}
  .ub_btn-wrapper {
    padding: 0;
}
  .ub_custom-btn {
        width: 200px;
    }
      .ub_btn-text {
        font-size: 20px;
    }
  .ub_btn-text_en {
    font-size: 12px;
}
      .ub_custom-btn_w .ub_btn-text {
        font-size: 16px;
    }
  .ub_custom-btn_w .ub_btn-text_en {
    font-size: 12px;
}
      .company_btn_det > .ub_btn-wrapper {
        padding: 10px 0 0 10px;
    }
/*company*************************************************/
/*fixedボタン**********************************************/
 body {
  padding-bottom: 70px!important;
}
  .btn_rec_fixed {
    bottom: 15px!important;
    padding: 2px 4px;
    height: 70px;
    display: flex;
    align-items: center;
    width: 94px;
  }
  .btn_rec_ttl {
    font-size: 16px;
    display: inline-block;
    line-height: 1;
  }
  .btn_rec_note {
    font-size: 12px;
    padding-top: 2;
    line-height: 1.2;
}
  .fixedbtn-rec_w {
    display: inline-block;
    padding-left: 2px;
  }

/*fixedボタン**********************************************/

  }





