@charset "utf-8";

* {
  padding: 0;
  margin: 0;
}

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", "Noto Sans JP", "游ゴシック体", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  letter-spacing: 0.1em;
  width: 100%;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#index,
#index_1,
#index_2 {
  scroll-margin-top: 100px;
}

p {
  line-height: 2.5em;
}

a {
  text-decoration: none;
  color: black;
}


h2 {
  margin: 0;
  padding: 0;
  color: #00479d;
}

/* グローバルナビゲーション */

.navigation {
  display: flex;
  position: sticky;
  align-items: center;
  height: 80px;
  top: 0;
  background-color: white;
  z-index: 3;
  justify-content: space-between;
}

.navigation .logo {
  width: 20%;
  min-width: 120px;
  max-width: 160px;

}

.navigation .logo img {
  height: auto;
  /* width:fit-content;
  min-width: 121px; */
  max-width: 100%;
  object-fit: cover;
  margin-left: 8%;
}

nav ul {
  display: flex;
  /* background-color: rgb(92, 226, 43); */
  margin-left: auto;
  margin-right: 0;
  list-style: none;
  padding-left: 0;
}

nav li {
  padding: 0 32px;
  cursor: pointer;
  color: black;
  font-size: 14px;
  /* background-color: blueviolet; */
}

/*スマホナビメニュー */
.sp-menu {
  display: none;
}

.sp-menu #open {
  /* font-size: 32px;
  line-height: 64px;
  cursor: pointer; */
  position: absolute;
  top: 24px;
  right: 16px;
  width: 30px;
  height: auto;
  cursor: pointer;
}

.sp-menu #open.hide {
  display: none;
}

.sp-menu img {
  width: 30px;
  height: auto;
}

/*スマホナビメニューオーバーレイ */
.overlay {
  /* display: none; */
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .10s;

}

.overlay .logo {
  width: 20%;
  min-width: 120px;
  max-width: 160px;
  position: absolute;
  top: 24px;
  left: 9px;
  height: auto;
  cursor: pointer;
}

.overlay .logo img {
  height: auto;
  object-fit: cover;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 24px;
  right: 16px;
  width: 30px;
  height: auto;
  cursor: pointer;
}

.overlay ul {
  text-align: center;
  list-style-type: none;
  margin: 0;
  margin-top: 80px;
  padding: 0;
  display: inline-block;
  height: 100%;
  width: 100%;
}

.overlay li {
  text-align: center;
  margin: 0;
  padding: 0;
  opacity: 0;
  font-size: 20px;
  transition: opacity .5s, transform .5s;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  border-bottom: 0.75px solid;
}

.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1s;
}

.overlay.show li:nth-child(2) {
  transition-delay: .2s;
}

.overlay.show li:nth-child(3) {
  transition-delay: .3s;
}

.overlay.show li:nth-child(4) {
  transition-delay: .4s;
}

.overlay.show li:nth-child(5) {

  transition-delay: .5s;
}

/* ヘッダー */
.carousel {
  width: 100%;
}

.header_container {
  width: 100%;
  height: 65vh;
  overflow: hidden;
  position: relative;
}

#header_ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  width: 100%;
  transition: transform 0.3s;
  /* overflow: hidden; */
}

#header_ul>li {
  flex: 0 0 100%;
  width: 100%;
}

header li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#prev,
#next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  font-size: 24px;
  padding: 0 8px 4px;
  cursor: pointer;
}

#prev:hover,
#next:hover {
  opacity: .8;
}

#prev {
  left: 0;
}

#next {
  right: 0;
}

.hidden {
  display: none;
}

header nav {
  margin-top: 16px;
  text-align: center;
}

header nav button+button {
  margin-left: 12px;
}

header nav button {
  border: none;
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
}

header nav .current {
  background: #999;
}

/* 
.container-img1 img {

} */

/* .container-img2 img {
  object-position: 30% 50%;
} */

.container-img3 img {
  /* object-position: 0 0; */
  object-position: center;
}

header {
  text-align: center;
  margin: auto;
}

header h4 {
  margin-top: 64px;
  font-size: 24px;
  font-weight: 400;
}

header p {
  width: 53%;
  max-width: 1200px;
  margin: 20px auto 40px;
}

header a {
  text-decoration: none;
  color: black;
  border-bottom: 0.75px solid;
  padding: 8px;
  padding-right: 3px;
}


/* 事業紹介 */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.scroll-infinity__wrap li {
  list-style: none;
}

.scroll-infinity__wrap img {
  width: 300px;
  object-fit: cover;
}

.scroll-infinity__wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  align-items: center;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: calc(100vw / 6);
}

.scroll-infinity__item>img {
  width: 100%;
}

.scroll-infinity__wrap:hover .scroll-infinity__list--left {
  animation-play-state: paused;
}

.business {
  text-align: center;
  margin: 64px auto 56px;
}

.business_wrapper {
  display: flex;
  width: 75%;
  max-width: 1200px;
  margin: 0 auto 24px;
  align-items: flex-start;
}

.business img {
  width: 100%;
}

.business p {
  width: 71%;
  margin: auto;
  padding: 0;
  vertical-align: top;
  padding-left: 80px;
}

.business_a {
  text-decoration: none;
  color: black;
  border-bottom: 0.75px solid;
  padding: 8px;
  padding-top: 0;
  padding-right: 3px;

}


/*ニュース*/
.news {
  background-color: #f0f7ff;
  box-sizing: border-box;
  margin: auto;
  width: 100%;
  padding: 40px 0;
  margin-top: 40px;
}

/*ニュースコンテンツ*/
.news_details {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto 0;
  display: flex;
  /* justify-content: space-between; */

}

/*もっと見るボタン*/
.news_detail {
  width: fit-content;
  margin: 32px auto 0;
  display: block;
  text-align: center;
  border-bottom: 1px solid;
  padding: 4px;
  padding-bottom: 8px;
}

#rss-news {
  width: 71%;
  padding-left: 80px;

}

.rss-item {
  display: flex;
  width: 100%;
  border-bottom: 1px solid;
}

.rss-item p {
  padding: 10px 20px;
}


/*アクセス*/

.access {
  width: 75%;
  max-width: 1200px;
  margin: 56px auto 56px;
  display: flex;
  align-items: flex-start;

}

.access_block {
  display: block;
  margin: auto;
  padding: 0;
}

.access_wrapper {
  width: 100%;
  margin-bottom: 24px;
}

.access_wrapper dl {
  display: flex;
  padding: 0;
  width: 100%;

}

.access_wrapper dt {
  min-width: 90px;
  width: 100px;

}

.access_wrapper dd {
  padding-left: 50px;
}

.access_map {
  margin: auto;
  text-align: center;
}


/*採用*/
.bg_img {
  background-image: url(../img/top_img3.jpg);
  position: relative;
  /* background-blend-mode:lighten; */
  background-size: cover;
  width: 100%;
  height: 400px;
  object-fit: cover;
  background-position: center;
}

.bg_img::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* background-color: rgba(0, 71, 157, 0.5); */
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(0, 71, 157, 0.7));
}

.recruit_contents {
  width: 75%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.recruit-block {
  z-index: 2;
  /* margin: auto; */
  display: block;
  text-align: center;
  width: 80%;
}

/* .recruit_contents p {
  color: white;
  font-size: 24px;
  position: absolute;
  top: 40%;
  left: 70%;
  transform: translate(-70%, -40%);
  letter-spacing: 3px;
  line-height: 1.5em;
  width: 60%;
}

.recruit_contents h2 {
  z-index: 2;

} */

.recruit_contents h2 {
  z-index: 2;
  font-size: 32px;
}

.recruit_contents p {
  color: white;
  font-size: 24px;
  letter-spacing: 3px;
  line-height: 2em;
  margin: 16px auto 32px;
  text-align: start;
  width: fit-content;
}

.recruit .btn {
  display: inline-block;     
  width: 200px;
  height: 54px;
  line-height: 54px;
  border-radius: 10px;
  background-color:#00479d;
  margin: 0px auto;
  cursor: pointer;
  text-align: center;       
  text-decoration: none;    
  color: white;  
}

/*フッター*/
.footer_main {
  display: flex;
  justify-content: space-between
    /* background-color: brown; */
}

footer img {
  width: 80%;
  height: auto;
  object-fit: cover;
  min-width: 121px;
  max-width: 200px;
  /* background-color: aqua; */
}

.footer_img ul {
  list-style: none;
  padding-left: 0;
}

.footer_img li {
  line-height: 1.5em;
}

.footer_other {
  font-size: 12px;
  text-align: center
}


/*パソコンフッター*/
.pc-footer {
  width: 87%;
  max-width: 1200px;
  margin: 40px auto 27px;
}

.pc-footer dl {
  display: flex;
}

.pc-footer dl div {
  margin: 0 0 0 32px;
  line-height: 1.5em;
}

.pc-footer dt {
  font-size: 16px;
  margin-top: 0;
  cursor: pointer;
}

.pc-footer dd {
  margin: 8px;
  font-size: 12px;
  cursor: pointer;
  transform: translateX(-8px);
}


/*スマホフッター*/

/*スマホフッター*/
.sp-footer {
  margin-top: 40px;
  display: none;
}

.sp-footer dl {
  margin-bottom: 20px;
}

.sp-footer dt {
  padding: 16px 24px;
  cursor: pointer;
  user-select: none;
  position: relative;
  border-bottom: 1px solid white;
  background-color: #2e6db9;
  color: white;
}

.sp-footer dt::after {
  content: '+';
  font-size: 24px;
  position: absolute;
  top: 12px;
  right: 24px;
  transition: transform .3s;
}

dl>div.appear dt::after {
  transform: rotate(45deg);
}

.sp-footer dd {
  padding: 10px 24px;
  margin: 0;
  display: none;
  font-size: 14px;
  border-bottom: 1px solid gray
}

dl>div.appear dd {
  display: block;
  animation: .3s fadeIn;
}

.sp-footer .footer_img {
  /* width: 89%; */
  margin: auto;
  justify-content: center;
  text-align: center;
}

.sp-footer .footer_img ul {
  margin-top: 8px
}

.sp-footer .footer_other {
  text-align: center;
  width: 92%;
  margin: 20px auto;
}

.sp-footer .footer_other p {
  line-height: 1.5;
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

/*メディアクエリ */
@media (max-width:972px) {

  /*フッター*/
  .sp-footer {
    display: block;
  }

  .pc-footer {
    display: none;
  }
}

@media (max-width:768px) {
  h2 {
    text-align: center;
    margin-bottom: 3%;
  }

  /*グローバルナビゲーション*/
  .sp-menu {
    display: block;
    margin-right: 3%;
  }

  .pc-menu {
    display: none;
  }

  /*ヘッダー*/
  .header_container {
    height: 50vh;
  }

  header p {
    width: 90%;
    margin-bottom: 20px;
  }

  header nav {
    display: none;
  }

  /*事業紹介*/
  .business_wrapper {
    display: block;
    width: 89%;
  }

  .scroll-infinity {
    display: none;
  }

  .business p {
    width: 100%;
    padding: 0;
  }

  /*ニュース*/
  .news_details {
    display: block;
    width: 89%;
  }

  .rss-item p {
    padding: 8px;
  }

  #rss-news {
    width: 100%;
    padding: 0;
  }

  /*アクセス*/
  .access {
    width: 89%;
    display: block;
  }

  .access_wrapper {
    margin: auto;
    margin-bottom: 24px;
  }


  .access_wrapper dd {
    padding-left: 10px;

  }

  /*採用情報*/
  .bg_img {
    z-index: -2;
    height: 80%;
  }

  .bg_img::before {
    /* background: rgba(0, 71, 157, 0.4); */
    z-index: -1;
  }

  .recruit_contents {
    width: 100%;
    display: block;
    height: 80%;
    align-items: center;
  }

  .recruit_contents p {
    font-size: 16px;
    position: static;
    text-align: center;
    transform: none;
    padding: 20px;
    margin: auto;
    margin: 16px auto 16px;
  }

  .recruit_contents h2 {
    color: white;
    padding-top: 30px;
    font-size: 24px;
  }

  .recruit-block {
    margin: auto;
    width: 90%;
  }

  .recruit .btn {
    /* width: 180px;
    height: 40px; */
    text-align: center;
    margin-bottom: 40px;
    position: static;
    transform: none;
    letter-spacing: 1.5px;
    margin-top: 0px;
  }

}