@charset "UTF-8";

/*****************************
    topスライド
*****************************/
.topsec-firstview{
    padding-top: 0px;
    overflow: hidden;
    position: relative;
}
.topslider {
  position: relative;
  width: 100%;
  aspect-ratio: 2/1;
}
.topslider .slideitem {
  width: 100%;
  aspect-ratio: 2/1;
}

.topslider::after{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  background: rgb(0, 0, 0, 0);
}

/*****************************
  top キャッチコピー
*****************************/
.topcatch{
  position: absolute;
  text-align: left;
  top: 35%;
  left: 10%;
}
.lead{
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 0rem;
    padding: 1rem 1rem;
    color: #fff;
}
.sublead{
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
    color: #fff;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 1rem 1rem;
    text-align: left;
}
@media screen and (max-width: 1180px) {
  .topcatch{
  top: 20%;
  left: 50px;
}
.lead{
    font-size: 26px;
}
.sublead{
    font-size: 18px;
}
}
@media screen and (max-width: 1024px) {
  .topcatch{
  top: 20%;
  left: 50px;
}
.lead{
    font-size: 26px;
}
.sublead{
    font-size: 18px;
}
}
@media screen and (max-width: 820px) {
  .topcatch{
  position: relative;
  top: unset;
  left: unset;
  padding: 20px;
  background: linear-gradient(135deg, #001E45 0%, #003C89 100%);
}
.lead{
    font-size: 20px;
}
.sublead{
    font-size: 16px;
}
}
@media screen and (max-width: 600px) {
  .topcatch{
  padding: 10px;
}
.lead{
    font-size: 18px;
}
.sublead{
    font-size: 14px;
}
}

.sp {
    display: none; /* pcの時は非表示 */
  }
  .pc {
    display: block; /* spの時は非表示 */
  }
  
  @media (max-width: 767px) {
    .sp {
      display: block; /* spの時は表示 */
    }
    .pc {
    display: none; /* spの時は非表示 */
    }
  }
/*****************************
  slide-news
*****************************/
.topnewsbox{
    background: rgb(0 0 0 / 50%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
@media screen and (max-width: 820px) {
.topnewsbox{
    background: linear-gradient( -45deg, #000000 0%, #181818 100%);
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
}
}

.topnewsbox .fboxttl{
    width: 200px;
    align-content: center;
    padding: 1rem 0rem;
    background: linear-gradient(-45deg, #001E45 0%, #003C89 100%);
}
.topnewsbox .fboxttl02{
    width: 80px;
    align-content: center;
    padding: 1rem 0rem;
    text-align: center;
}
.topnewsbox .fboxnewsslide {
    margin-left: 20px;
    width: calc(100% - 300px);
    padding: 1rem 0rem;
}
@media screen and (max-width: 1180px) {
    .topnewsbox .fboxttl{
        display: none;
    }
}
@media screen and (max-width: 820px) {
    .topnewsbox .fboxttl02{
        width: 100%;
        text-align: right;
    }
    .topnewsbox .fboxnewsslide {
        margin-left: 0%;
        width: 100%;
    }
}



.topmewsbtn{
    margin: 0;
    transition: 1s;
}

.topmewsbtn a{
    display: inline-block;
    font-weight: bold;
    padding: 0.5rem 2rem;
    text-align: center;
    transition: .5s;
    font-size: 12px;
    border: 1px solid #fff;
    color: #fff;
    transition: 1s;
}
.topmewsbtn a:hover {
    background: #7B8B96;
    opacity: 1;
    transition: 1s;
}


.topnewsbox .fboxnewsslide .fbox{
    padding: 1rem;
}
.topnewsbox .fboxnewsslide .slick-prev:before,
.topnewsbox .fboxnewsslide .slick-next:before{
    color: #181818;
}
.topnewsbox .fboxttl{
    text-align: center;
}
.topnewsbox .fboxttl .font1{
 font-size: 16px;
    color: #fff;
}
.topnewsbox .fboxnewsslide .fimgbox{
    width: 30%;
}
.topnewsbox .fboxnewsslide .fimgbox img{
    aspect-ratio: 1/1;
    object-fit: cover;
}
.topnewsbox .fboxnewsslide .ftxtbox{
    width: 100%;
}
.topnewsbox .fboxnewsslide .ftxtbox .label{
    background: #326d81;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    padding: .3rem .8rem .1rem;
    letter-spacing: 1px;
}
.topnewsbox .fboxnewsslide .ftxtbox .label-investigation {
    background: #5e3281;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    padding: .3rem .8rem .1rem;
    letter-spacing: 1px;
}



.topnewsbox .fboxnewsslide .ftxtbox .label.cat-seminar{
    background: #328136;
}
.topnewsbox .fboxnewsslide .ftxtbox .label.cat-publication{
    background: #8C7753;
}
.topnewsbox .fboxnewsslide .ftxtbox .date{
    color: #f7f7f7;
    font-size: 1.4rem;
    margin-right: 15px;
}
.topnewsbox .fboxnewsslide .ftxtbox h3{
  font-size: 16px;
}
@media screen and (max-width: 1024px) {
    .topnewsbox .fboxnewsslide .ftxtbox h3{
        width: 100%;
    }
}
/*****************************
  topsec-news
*****************************/
.topsec-news{
  margin: 30px 0;
  padding: 30px 0;
}
.topsec-news input[type="radio"] {
  display: none;
}
.topsec-news .tab_area{
  margin-bottom: 3rem;
}
.topsec-news .tab_area .ftab{
  background: #ccc;
  border-radius: 5px;
  margin-right: 10px;
  position: relative;
  text-align: center;
  width: calc(15% - 10px);
}
.topsec-news .tab_area .ftab label{
  cursor: pointer;
  display: block;
  font-weight: bold;
  padding: .3rem 0;
  position: relative;
  width: 100%;
  z-index: 1;
}
.topsec-news .tab_panel{
  display: none;
}
.topsec-news .tab_area .ftab:hover,
.topsec-news #tnewstab1:checked ~ .tab_area .tnewsftab1{
  background: #101010;
  color: #fff;
}
.topsec-news .tab_area .tnewsftab2:hover,
.topsec-news #tnewstab2:checked ~ .tab_area .tnewsftab2{
  background: #001A66;
  color: #fff;
}
.topsec-news .tab_area .tnewsftab3:hover,
.topsec-news #tnewstab3:checked ~ .tab_area .tnewsftab3{
  background: #E40000;
  color: #fff;
}

.topsec-news #tnewstab1:checked ~ .panel_area #tnewspanel1,
.topsec-news #tnewstab2:checked ~ .panel_area #tnewspanel2,
.topsec-news #tnewstab3:checked ~ .panel_area #tnewspanel3{
  display:block;
}

@media only screen and (max-width: 1024px) {
  .topsec-news .tab_area {
    margin-bottom: 4rem;
  }
}
@media only screen and (max-width: 820px) {
  .topsec-news .tab_area .ftab{
    margin: 1rem 1rem 0 0;
    width: calc(30% - 10px);
  }
}
@media only screen and (max-width: 767px) {
  .topsec-news .t-newsttlbox,
  .topsec-news .tab_area .ftab label{
    font-size: 1.4rem;
  }
  .topsec-news .tab_area .ftab{
    width: calc(33% - 10px);
  }
}


.flexbox_slnews{
  display: flex;
  align-items: center;
  color: #fff;
}
.flexbox_slnews a{
  color: #fff;
  transition: 1s;
}
.flexbox_slnews a:hover{
  color: #fff;
  transition: 1s;
  text-decoration: underline;
}
@media screen and (max-width: 1024px) {
  .flexbox_slnews{
    flex-direction: row;
    flex-wrap: wrap;
  }
}
/*****************************
  スクロールトップ
*****************************/
:root{
  --scrolltop-size: 56px;     /* ボタンの大きさ */
  --scrolltop-bg: #fff;       /* 背景色（お好みで） */
  --scrolltop-fg: #003C8A;       /* 矢印色 */
}

html { scroll-behavior: smooth; } /* アンカー時なども滑らかに */

.scroll-top{
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: calc(clamp(12px, 2vw, 20px) + env(safe-area-inset-bottom, 0px));
  width: var(--scrolltop-size);
  height: var(--scrolltop-size);
  border-radius: 50%;
  background: var(--scrolltop-bg);
  color: var(--scrolltop-fg);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.12);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
  pointer-events: none; /* 非表示時はクリックさせない */
  border: none;
  border: 2px solid #003C8A;
}

.scroll-top.is-show{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.scroll-top:hover{ filter: brightness(1.05); }
.scroll-top:focus-visible{
  outline: 3px solid #72c6ff;
  outline-offset: 3px;
}

.scroll-top svg{
  width: 24px;
  height: 24px;
}

/* 省エネ設定の人にはアニメ抑制 */
@media (prefers-reduced-motion: reduce){
  .scroll-top{ transition: none; }
  html{ scroll-behavior: auto; }
}


/*****************************
  お知らせ一覧
*****************************/
.newsbox{
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
}

.newslist{
  margin-bottom: 60px;
}
.newslinktab{
  margin-bottom: 5rem;
}
.newslinktab li{
  width: calc(15% - 10px);
}
.newslinktab  a.label{
  background: #ccc;
  border-radius: 5px;
  display: block;
  font-weight: bold;
  margin-right: 10px;
  opacity: 1 !important;
  padding: .3rem 0;
  position: relative;
  text-align: center;
}
.newslinktab  a.label:hover,
.newslinktab  a.label.label_cr{
  background: #101010;
  color: #fff;
}
.newslinktab  a.label.label_cr{
  pointer-events: none;
}
.newslinktab  a.label2:hover,
.newslinktab a.label2.label_cr{
  background: #001A66;
}
.newslinktab  a.label3:hover,
.newslinktab a.label3.label_cr{
  background: #E40000;
}

.newslist li{
  margin-top: 1rem;
}
.newslist a{
  opacity: 1 !important;
  position: relative;
}
.newslist a::before,
.newslist a::after{
  content: "";
  background: #c8c8c8;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
}
.newslist a::after{
  background: linear-gradient(135deg, #001E45 0%, #003C89 100%);
  transition: 0.3s;
  width: 7%;
  z-index: 1;
}
.newslist a:hover::after{
  width: 100%;
}
.newslist a .cat,
.singlehead .cat{
  background: #E40000;
  border-radius: 5px;
  color: #fff;
  margin-right: 1rem;
  text-align: center;
  width: 135px;
}
.newslist a .cat-cat01,
.singlehead .cat-cat01{
  background: #001A66;
}
.newslist a .cat-cat02,
.singlehead .cat-cat02{
  background: #E40000;
}
.newslist a .ttl{
  padding: 1rem 0;
}
.newslist a .date{
  padding: 1rem 0;
  margin-right: 10px;
}

@media only screen and (max-width: 820px) {
  .newslinktab li{
    margin: 1rem 1rem 0 0;
    width: calc(30% - 10px);
  }
}
@media only screen and (max-width: 767px) {
  .newslinktab li{
    width: calc(50% - 10px);
  }
  .newslist a .cat{
    font-size: 1.2rem;
    line-height: 2;
    width: 110px;
  }
  .newslist a .ttl{
  padding: 0.5rem 0 1rem;
}
  .newslist a .date{
    font-size: 1.4rem;
    width: 100%;
    padding: 0rem 0;
    margin-right: 0px;
  }
  .singlehead .ttl{
    font-size: 2rem;
  }
}
.newsflex{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}
.newsimg{
  width: 20%;
  margin-right: 20px;
}
.newscont{
  width: 100%;
}
.newsimg img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  padding: 5px;
  aspect-ratio: 4/3;
}
@media only screen and (max-width: 767px) {
  .newsimg{
    margin-right: 10px;
  }
  .newsimg img{
    padding: 0;
    height: auto;
  }
}


/*****************************
全体付加
*****************************/
.main_text_area{
  margin-top: 20px;
  margin-bottom: 20px;
}
.main_text_area p{
  font-size: 16px;
  margin-bottom: 10px;
  text-align: left;
}

.main_text_area_center{
  margin-top: 20px;
  margin-bottom: 20px;
}
.main_text_area_center p{
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}
@media screen and (max-width: 820px) {
.main_text_area_center p{
  text-align: left;
}
}

.top_flex_style01{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}
.top_flex_style01 .left_area{
  width: 55%;
  padding: 10px;
  position: relative;
}
.top_flex_style01 .right_area{
  width: 45%;
  padding: 10px;
}
@media screen and (max-width: 820px) {
.top_flex_style01 .left_area{
  width: 100%;
  padding: 10px;
  text-align: center;
}
.top_flex_style01 .right_area{
  width: 100%;
  padding: 10px;
}
}

.top_flex_style01 .left_area:before {
position: absolute;
content: "";
background-image: url(../images/common/bg_img01.webp);
background-repeat: no-repeat;
display: inline-block;
background-size: cover;
width: 400px;
aspect-ratio: 4 / 5;
left: -150px;
top: -50px;
z-index: -1;
}
@media screen and (max-width: 1400px) {
.top_flex_style01 .left_area img{
  width: 80%;
  margin: 0 auto;
}
.top_flex_style01 .left_area:before {
width: 400px;
aspect-ratio: 4 / 5;
left: 0px;
top: -50px;
z-index: -1;
}
}
@media screen and (max-width: 820px) {
.top_flex_style01 .left_area img{
  width: 400px;
  margin: 0 auto;
  max-width: 80%;
}
.top_flex_style01 .left_area:before {
  width: 300px;
  max-width: 60%;
  aspect-ratio: 4 / 5;
  left: 0px;
  top: -40px;
  z-index: -1;
}
}

/* top_flex_style02 */
.top_flex_style02{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}
.top_flex_style02 .left_area{
  width: 45%;
  padding: 10px;
}
.top_flex_style02 .right_area{
  width: 55%;
  padding: 10px;
  position: relative;
}
@media screen and (max-width: 820px) {
  .top_flex_style02{
  flex-direction: column-reverse;
}
.top_flex_style02 .left_area{
  width: 100%;
  padding: 10px;
}
.top_flex_style02 .right_area{
  width: 100%;
  padding: 10px;
  position: relative;
}
}
.top_gallery_flex{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}
@media screen and (max-width: 820px) {
.top_gallery_flex{
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
}
}



.top_gallery_flex li:nth-child(1){
  width: 50%;
  padding: 20px;
}
.top_gallery_flex li:nth-child(2){
  width: 50%;
  padding: 20px;
}
.top_gallery_flex li:nth-child(3){
  width: 60%;
  margin: 0 auto;
  padding: 20px;
}
.top_gallery_flex li:nth-child(1) img{
  position: relative;
  top: 50px;
  left: 0;
  border-radius: 10px;
}
.top_gallery_flex li:nth-child(2) img{
  position: relative;
  top: 0px;
  left: 0px;
  border-radius: 10px;
}
.top_gallery_flex li:nth-child(3) img{
  position: relative;
  top: -50px;
  left: 90px;
  border-radius: 10px;
}
@media screen and (max-width: 1024px) {
.top_gallery_flex li:nth-child(1){
  width: 40%;
  padding: 10px;
}
.top_gallery_flex li:nth-child(2){
  width: 60%;
  padding: 10px;
}
.top_gallery_flex li:nth-child(3){
  width: 60%;
  margin: 0 auto;
  padding: 10px;
}
.top_gallery_flex li:nth-child(3) img{
  position: relative;
  top: 0px;
  left: 90px;
  border-radius: 10px;
}
}

@media screen and (max-width: 820px) {
  .top_gallery_flex li:nth-child(1){
  width: 43%;
  padding: 5px;
}
.top_gallery_flex li:nth-child(2){
  width: 57%;
  padding: 5px;
}
.top_gallery_flex li:nth-child(3){
  width: 70%;
  margin: 0 auto;
  padding: 5px;
}
.top_gallery_flex li:nth-child(1) img{
  position: relative;
  top: 0px;
  left: 0;
  box-shadow: 0px 0px 0px #dadada;
}
.top_gallery_flex li:nth-child(2) img{
  position: relative;
  top: 0px;
  left: 0px;
  box-shadow: 0px 0px 0px #dadada;
}
.top_gallery_flex li:nth-child(3) img{
  position: relative;
  top: 0px;
  left:0px;
  box-shadow: 0px 0px 0px #dadada;
}
}

/* top_flex_style03 */
.top_flex_style03{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}
.top_flex_style03 .left_area{
  width: 55%;
  padding: 25px;
}
.top_flex_style03 .right_area{
  width: 45%;
  padding: 25px;
}
.top_flex_style03 img{
    border-radius: 10px;
}


@media screen and (max-width: 820px) {
.top_flex_style03 .left_area{
  width: 100%;
  padding: 10px;
  text-align: center;
}
.top_flex_style03 .right_area{
  width: 100%;
  padding: 10px;
}
.top_flex_style03 img{
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
}
}

/* top_flex_style04 */
.top_flex_style04{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: -50px;
}
.top_flex_style04 .left_area{
  width: 55%;
  padding: 25px;
}
.top_flex_style04 .right_area{
  width: 45%;
  padding: 25px;
}

@media screen and (max-width: 820px) {
  .top_flex_style04{
  margin-bottom: 50px;
}
  .top_flex_style04 .left_area{
  width: 100%;
  padding: 0px;
  text-align: center;
}
.top_flex_style04 .right_area{
  width: 100%;
  padding: 0px;
}
}


.top_flex_style04 .left_area img{
  aspect-ratio: 3/2;
  object-fit: cover;
}
.top_flex_style04 .left_area img:first-child{
  width: 55%;
  margin-right: 45%;
  position: relative;
  top: 0px;
  z-index: 1;
}
.top_flex_style04 .left_area img:last-child{
  width: 55%;
  margin-left: 45%;
  position: relative;
  top: -50px;
  z-index: 0;
}
@media screen and (max-width: 820px) {
.top_flex_style04 .left_area img:first-child{
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
  margin-right: 0%;
  position: relative;
  top: 0px;
  z-index: 1;
  padding: 10px;
}
.top_flex_style04 .left_area img:last-child{
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
  margin-left: 0%;
  position: relative;
  top: 0px;
  z-index: 0;
  padding: 10px;
}
}



/* top_flex_style05 */
.top_flex_style05{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 0px;
}
.top_flex_style05 .left_area{
  width: 55%;
  padding: 25px;
}
.top_flex_style05 .right_area{
  width: 45%;
  padding: 25px;
}
.top_flex_style05 .left_area img{
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 85%;
  margin-left: 15%;
}

@media screen and (max-width: 820px) {
  .top_flex_style05{
  margin-bottom: 50px;
}
.top_flex_style05 .left_area{
  width: 100%;
  padding: 0px;
  text-align: center;
}
.top_flex_style05 .right_area{
  width: 100%;
  padding: 0px;
}
.top_flex_style05 .left_area img{
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
  margin-left: 0%;
  position: relative;
  top: 0px;
  z-index: 0;
  padding: 10px;
}


}


/*****************************
 contact_flex
*****************************/


.contact_flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: min(1000px, 100%);
  margin: 70px auto 70px;
}
@media screen and (max-width: 767px) {
  .contact_flex {
    margin: 50px auto 50px;
}
}

.fbox1{
  width: 47%;
  position: relative;
}



.fbox2{
  width: 47%;
  position: relative;
}

.fbox1 a:hover,.fbox2 a:hover {
  opacity: 0.7;
}

.fbox1 a:before,.fbox2 a:before {
  content: "";
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  display: block;
  border: 1px rgba(255, 255, 255, .4) solid;
  box-sizing: border-box;
  position: absolute;
  top: 10px;
  left: 10px;
}


.fbox1 a img,.fbox2 a img {
  width: 100%;
  aspect-ratio: 5/2;
  object-fit: cover;
}
.page-recruit .fbox1 a img,.page-recruit .fbox2 a img {
  width: 100%;
  aspect-ratio: 3/1;
  object-fit: cover;
}
.page-recruit_job01 .fbox1 a img,.page-recruit_job01 .fbox2 a img {
  width: 100%;
  aspect-ratio: 3/1;
  object-fit: cover;
}

.page-recruit_job02 .fbox1 a img,.page-recruit_job02 .fbox2 a img {
  width: 100%;
  aspect-ratio: 3/1;
  object-fit: cover;
}


@media only screen and (max-width: 767px) {
  .fbox1 {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .fbox2{
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
  }
}

.footer_box{
  padding: 30px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #acd76f, #649027);
  width: 800px;
  max-width: 100%;
  text-align: center;
}
.footer_box_area{
  background: #fff;
  padding: 30px 20px;
}
@media screen and (max-width: 767px) {
  .footer_box{
    padding: 30px 15px 50px;
  }
  .footer_box_area{
    padding: 20px;
  }
}


.fbox1_area{
  position: absolute;
  width: 90%;
  text-align: center;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin: 0 auto;
  padding: 10px 0;
  z-index: 1;
  max-width: 100%;
  text-shadow: 1px 1px 3px #555;
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}

.fbox1 h3{
  font-size: 28px;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 10px;
  
}
.fbox1 p{
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1.2;
}
.fbox1 p span{
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1.2;
}
@media screen and (max-width: 820px) {
.fbox1 h3{
  font-size: 24px;
}
.fbox1 p{
  font-size: 20px;
}
.fbox1 p span{
  font-size: 14px;
}
}
@media screen and (max-width: 767px) {
.fbox1 h3{
  font-size: 22px;
}
.fbox1 p{
  font-size: 18px;
}
.fbox1 p span{
  font-size: 14px;
}
}

.fbox2_area{
  position: absolute;
  width: 90%;
  text-align: center;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin: 0 auto;
  padding: 10px 0;
  z-index: 1;
  max-width: 100%;
  text-shadow: 1px 1px 3px #555;
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}
.page-recruit .fbox2_area,.page-recruit_job01 .fbox2_area,.page-recruit_job02 .fbox2_area{
  top: 54%;
}

.fbox2 h3{
 font-size: 28px;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 10px;
  
}
.fbox2 p{
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1.2;
}
.fbox2 p span{
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.2;
}
@media screen and (max-width: 1024px) {
.fbox2 p span{
  font-size: 12px;
  letter-spacing: 0px;
}
}


@media screen and (max-width: 820px) {
.fbox2 h3{
  font-size: 24px;
}
.fbox2 p{
  font-size: 20px;
}
}
@media screen and (max-width: 767px) {
.fbox2 h3{
 font-size: 22px;
}
.fbox2 p{
  font-size: 20px;
}
.fbox2 p span{
  font-size: 11px;
}
}

.btn_area{
  position: relative;
  z-index: 0;
}


/*****************************
 contact_flex END
*****************************/
.f_bg{
  position: relative;
  z-index: 0;
}

.f_bg:before {
position: absolute;
content: "";
background-image: url(../images/common/f_bg.webp);
background-repeat: no-repeat;
display: inline-block;
background-size: cover;
width: 350px;
aspect-ratio: 2 / 3;
left: 100px;
top: 0px;
z-index: -1;
}
@media screen and (max-width: 1400px) {
.f_bg:before {
width: 350px;
aspect-ratio: 2 / 3;
left: 0px;
top: 0px;
z-index: -1;
}
}
@media screen and (max-width: 820px) {
.f_bg:before {
  width: 250px;
  max-width: 60%;
  aspect-ratio: 2 / 3;
  left: 0px;
  top: 0px;
  z-index: -1;
}
}
@media screen and (max-width: 767px) {
.f_bg:before {
  width: 250px;
  max-width: 60%;
  aspect-ratio: 2 / 3;
  left: 0px;
  top: 100px;
  z-index: -1;
}
}
@media screen and (max-width: 767px) {
.f_bg:before {
  display: none
}
}