﻿/* ------------- my css ------------- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* color */
.txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--black);}
.linkStyle{transition: 0.5s;color: var(--black)}
.linkStyle:hover{opacity: 0.7}
:root{
    --color1: #219ebc; 
    --color2: #c9e8f4; 
    --color3: #ffb703; 
    --color4: #023047; 
    --black: #023047; 
}

.txt_red, .hvr_txt_red:hover{color: #C12326;}
.txt_gray, .hvr_txt_gray:hover{color: #ccc}
.txt_color1, .hvr_txt_color1:hover{color: var(--color1)} /* メインカラー */
.txt_color2, .hvr_txt_color2:hover{color: var(--color2)} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: var(--color3)} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: var(--color4)} /* アクセントカラー2 */

/* background-color */
.bg_black, .hvr_bg_black:hover{background-color: var(--black)} /* 黒背景 */
.bg_gray, .hvr_bg_gray:hover{background-color: #ccc}
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1)} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2)} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3)} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4)} /* アクセントカラー2 */
.bg_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_gray, .hvr_border_gray:hover{border-color: #ccc}
.border_color1, .hvr_border_color1:hover{border-color: var(--color1)}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2)}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3)}
.border_color4, .hvr_border_color4:hover{border-color: var(--color4)}


/*自動リンク設定*/
.linkStyle{
    color:var(--color4);
}
.linkStyle:hover{
    color:var(--color4);
	opacity:0.7
}

/*--top--*/
#main_img:before{
    display: inline-block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 2;
}
.fv_item1 {
    z-index: 2;
    bottom: -9%;
    left: 2%;
    width: min(80%, 50%);
}
.fv_item2 {
    z-index: 2;
    top: 8%;
    right: 4%;
    width: min(8%, 595px);
}
.pc-img { 
  display: block;
}
.sp-img .swiper-container {
   display: none; 
}
  .tb-img{
    display: none;
  }

.sp_bg_item{
    display: none;
}
.etc-img{
    display: none;
}

.fv_item3 {
        display:none;
}

@media screen and (max-width: 1025px){
.fv_item1 {
    z-index: 2;
    left: 2%;
    bottom: -9%;
    width: min(50%, 50%);
    transform: none;
}
}
/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
.fv_item1 {
    display: block;
    z-index: 2;
    left: 2%;
    bottom: -8%;
    width: min(100%, 62%);
    transform: none;
}
.fv_item2 {
    z-index: 2;
    top: 21%;
    right: 4%;
    width: min(13%, 595px);
}
.pc-img { 
  display: none; 
}
.sp-img .swiper-container {
   display: none; 
}
  .tb-img{
    display: none;
  }
  
  .etc-img{
      display: block;
  }
   .swiper-container-fade .swiper-slide {
    height: 54vh !important;
}
.sp_bg_item{
    display: none;
}
}

@media screen and (max-width:391px){
.fv_item1{
    z-index: 2;
    left: 50%;
    bottom: -6%;
    transform: translateX(-50%);
    width: min(90%, 85%);
    display: none;
}
.fv_item2 {
    z-index: 2;
    top: 6em;
    right: 4%;
    width: min(18%, 595px);
}
.fv_item3 {
    display:block;
        z-index: 2;
        bottom: -5%;
        right: 6%;
        width: min(88%, 595px);
}
  .sp-img .swiper-container{
    display: block;
    min-height:auto;
  }
  .pc-img {
    display: none;
  }
  .tb-img{
    display: none;
  }
  
  .etc-img{
      display: none;
  }
  .swiper-container-fade .swiper-slide {
    height: 65vh !important;
}
.sp_bg_item{
    display: block;
}
}

/* ---------- mobile ---------- */
/*@media screen and (max-width:667px){
.fv_item1{
    z-index: 2;
    left: 50%;
    bottom: -6%;
    transform: translateX(-50%);
    width: min(90%, 85%);
}
.fv_item2 {
    z-index: 2;
    top: 6em;
    right: 4%;
    width: min(18%, 595px);
}
.fv_item3 {
    display:block;
        z-index: 2;
        bottom: -5%;
        right: 6%;
        width: min(88%, 595px);
}
  .sp-img .swiper-container{
    display: block;
  }
  .pc-img {
    display: none;
  }
  .tb-img{
    display: none;
  }
  .swiper-container-fade .swiper-slide {
    height: 65vh !important;
}
.sp_bg_item{
    display: block;
}
}*/

.swiper-container {
  /*スライダーの幅と高さを調整*/
  width: 100%;
  height: auto;
}
/*スマホ表示の画像の大きさ*/
.swiper-slide.sp-img{
  width: 100%;
  /*height: 100%;*/
  height:70vh;
  aspect-ratio: 1440/1000;
  object-fit: cover;
}
/*PC表示の画像の大きさ*/
.swiper-slide.pc-img{
  width: 100%;
  height: auto;
  aspect-ratio: 1440/400;
  object-fit: cover;
}


/*--inoue add bonus start--*/

#header-nav li a .before {
    transform-origin: right top;
}

#header-nav li a:hover .before {
    transform-origin: left top;
}

/*--inoue add bonus end--*/

/*モバイル用の画像とPC用の画像で分ける*/
/*@media screen and (min-width: 668px) {
.pc-img { 
  display: block; 
}
.sp-img .swiper-container {
   display: none; 
}
}

@media screen and (max-width: 667px) {
  .sp-img {
    display: block;
  }
  .pc-img {
    display: none;
  }
  .swiper-container-fade .swiper-slide {
    height: 70vh !important;
}
}:/

/*----TOP会社情報----*/


  .info_tb_wrap{
    display: none;
}


@media screen and (max-width: 768px){
   .info_pc_wrap{
    display: none;
}
   .info_tb_wrap{
    display: block;
}
}

@media screen and (max-width:667px){
   .info_pc_wrap{
    display: block;
}
   .info_tb_wrap{
    display: none;
}
}

/*----TOPコンテンツ----*/
.contents_wrap_tb{
    display:none;
}

@media screen and (max-width: 768px){
    .contents_wrap_tb{
    display:block;
    }
    .contents_wrap_pc{
        display: none;
    }
}

/*----TOPコンテンツ区切りイラスト----*/
@media screen and (max-width:667px){
    .contents_item_sp01{
        width: 14%!important;
    }
    .contents_item_sp02{
        width: 18%!important;
    }
}

/*--ロゴ--*/
#logo img{
    width:95%!important;
}

#logo {
    width: 20%;
    height: 210px;
}

@media screen and (max-width: 1079px){
   #logo {
    width: 14%;
    height: 150px;
} 
}

@media screen and (max-width: 768px){
   #logo {
    height: 95px;
} 
}

@media screen and (max-width: 667px){
   #logo {
    height: 78px;
} 
}


/*----FV下コンテンツ----*/
.main_contents_wrap{
    background-color: #eaf5f9;
    padding-top:10%;
    padding-bottom:10%;
    border-radius: 20px;
}

.main_contents_img{
    z-index: 3;
    width: 70%;
    bottom:0;
    right: -13%;
}

.contents_index{
    z-index: 4;
    position: relative;
}

/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
    .main_contents_img{
    z-index: 3;
    width: 85%;
    bottom:6%;
    right: -23%;
}

/*--inoue start add--*/

.swiper-container-fade .swiper-slide {
    min-height: 350px;
    max-height: 50vh;
}

#main_img {
    min-height: 350px;
}

/*--inoue end add--*/

}

@media screen and (max-width: 745px){
    .main_contents_img{
    z-index: 3;
    width: 87%;
    bottom:12%;
    right: -17%;
}
}

@media screen and (max-width:720px){
    .main_contents_txt_sp{
        margin: 0 auto;
        width: 90% !important;
    }
        .main_contents_img{
    display: none;
}
}

/*----リンク色----*/
.linkStyle{
    color: var(--color1);
}

.linkStyle:hover{
    color: var(--color3);
}