@charset "UTF-8";

/* ===== 基本設定 ===== */
html {
  overflow-x: hidden;
}

/* ===== 共通要素 ===== */
a.scroll {
  top: 51vw;
}
.top-entry .top-entry__wrapper {
  width: 76% !important;
}
.top-entry .top-entry__wrapper h2{
  display: block;
}

@media screen and (max-width: 1280px) {
    .top-entry .top-entry__wrapper {
        width: 90% !important;
    }
}

/* ===== タイトル関連 ===== */
.title_nextsub {
  width: 100%;
}

.title_nextsub_inner {
  display: inline-block;
}

.title_nextsub_inner .nextsub {
  margin-bottom: 20px;
  color: #fff;
  font-size: 29px;
  font-family: 'Corbel', Arial, sans-serif;
  font-weight: 600;
  font-style: italic;
}

.nexttitle {
  position: relative;
  left: inherit;
  bottom: inherit;
  min-width: inherit;
  width: 100%;
  margin-bottom: 150px;
}

.nexttitle:before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 4px;
  background-color: #11fddd;
}

/* ===== メインタイトル ===== */
h1.maintitle span {
  display: inline-block;
  color: #00A7FF !important;
  background-color: #fff;
  font-size: 23px;
  font-weight: 600;
  padding: 0 5px;
}

h1.maintitle > b {
  display: block;
  font-style: italic;
  color: #fff;
}

h1.maintitle b {
  line-height: .5;
}

h1.maintitle .maintitle-en {
  display: flex;
  gap: 10px;
  margin-top: -.5vw;
  color: #fff;
  font-style: italic;
}

h1.maintitle .maintitle-en-main {
  display: flex;
  align-items: center;
}

h1.maintitle .maintitle-en-sub {
  display: flex;
  align-items: center;
  font-size: 3vw;
}

h1.maintitle .maintitle-en-sub > b {
  display: flex;
  flex-direction: column;
}

h1.maintitle .maintitle-en-sub > b b {
  line-height: 1;
}

/* ===== メインコンテンツ ===== */
main > section:first-of-type {
  padding-top: 0;
}

main > section:not(:first-of-type){
  margin-top: -80px;
  background-color: transparent;
}

main > section:first-of-type > div:nth-of-type(2) h2.nextsub {
  font-size: 1.6rem;
  font-family: 'Corbel', Arial, sans-serif;
  font-style: italic;
}

main > section:first-of-type p.title_nextsub-lead {
  font-size: 41px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  margin-top: -4px;
  color: #fff;
}

main > section:first-of-type p.title_nextsub-lead br {
  display: none;
}

/* ===== セクション2 ===== */
main > section:nth-of-type(2) div:first-of-type .title_nextsub {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

main > section:nth-of-type(2) div:first-of-type .title_nextsub_inner {
  width: auto;
  display: inline-block;
}

main > section:nth-of-type(2) div:first-of-type p.title_nextsub-lead {
  font-size: 41px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  margin-top: -4px;
  color: #00A7FF;
}

/* ===== セクション3 ===== */
main > section:nth-of-type(3) div:first-of-type .title_nextsub {
  width: 72vw;
  margin: 0 auto 40px;
}

main > section:nth-of-type(3) h2 {
  font-size: 1.6rem;
  font-family: 'Corbel', Arial, sans-serif;
  font-style: italic;
  color: #00A7FF;
  font-weight: 700;
  letter-spacing: -.01em;
}

main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead {
  font-size: 41px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  margin-top: -4px;
  color: #00A7FF;
  font-style: normal;
}

main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead .sp-only {
  display: none;
}

/* ===== セクションタイトル ===== */
div.section__title {
  margin-bottom: 60px;
  color: #00A7FF;
  text-align: center;
}

div.section__title h2.section__title-text {
  margin-bottom: 10px;
  letter-spacing: 9px;
}

div.section__title h2.section__title-text span {
  display: block;
  font-weight: bold;
  line-height: 1.3;
}

div.section__title h2.section__title-text span.section__title-main {
  font-size: 30px;
}

div.section__title h2.section__title-text span.section__title-sub {
  display: block;
  font-size: 27px;
}

div.section__title p.section__title-copy {
  color: #fff;
  font-size: 13px;
  font-family: Corbel;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
}

div.section__title h2.section__title-text {
  letter-spacing: 6px;
}

/* ===== エントリー関連 ===== */
.news .messagebox {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 120px;
}

/* ===== メインタイトルアニメーション ===== */
h1.maintitle b {
  font-weight: bold;
}

h1.maintitle b b {
  opacity: 0;
  display: inline-block;
}

h1.maintitle.aos-init.aos-animate b b {
  animation: h1_anim 2s cubic-bezier(0,1.13,.52,.91) forwards;
}

@keyframes h1_anim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

h1.maintitle b b:nth-of-type(1) {
  animation-delay: .1s !important;
  transform: translateX(-1rem);
}

h1.maintitle b b:nth-of-type(2) {
  animation-delay: .15s !important;
  transform: translateX(-1.5rem);
}

h1.maintitle b b:nth-of-type(3) {
  animation-delay: .2s !important;
  transform: translateX(-2rem);
}

h1.maintitle b b:nth-of-type(4) {
  animation-delay: .25s !important;
  transform: translateX(-2.5rem);
}

h1.maintitle b b:nth-of-type(5) {
  animation-delay: .3s !important;
  transform: translateX(-3rem);
}

h1.maintitle b b:nth-of-type(6) {
  animation-delay: .35s !important;
  transform: translateX(-3.5rem);
}

h1.maintitle b b:nth-of-type(7) {
  animation-delay: .4s !important;
  transform: translateX(-4rem);
}

h1.maintitle b b:nth-of-type(8) {
  animation-delay: .45s !important;
  transform: translateX(-4.5rem);
}

h1.maintitle b b:nth-of-type(9) {
  animation-delay: .5s !important;
  transform: translateX(-5rem);
}

h1.maintitle b b:nth-of-type(10) {
  animation-delay: .55s !important;
  transform: translateX(-5.5rem);
}

h1.maintitle b b:nth-of-type(11) {
  animation-delay: .6s !important;
  transform: translateX(-6rem);
}

h1.maintitle b b:nth-of-type(12) {
  animation-delay: .65s !important;
  transform: translateX(-6.5rem);
}

h1.maintitle span {
  opacity: 0;
  transition: all .4s ease-in-out;
  transition-delay: 1s;
}

h1.maintitle.aos-init.aos-animate span {
  opacity: 1;
}

/* ===== パララックス ===== */
[data-parallax] {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.3, 1);
}

/* ===== リクルート関連 ===== */
main > section:first-of-type > div.nextpage_div .second_wrapper {
  border: none;
  padding-bottom: 50px;
}

main.career > section:first-of-type > div.nextpage_div .second_wrapper{
  padding-bottom: 250px;
}

.news__inner {
  max-width: 1080px;
  margin: 0 auto;
  background-color: #fff;
  margin-bottom: 100px;
  padding: 40px 0;
}

.news-detail .news__inner{
  border: 7px solid #0592d9;
}

.news-items{
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 0;
}

.news-item{
  padding: 30px;
  &:not(:last-of-type){
    border-bottom: 1px dashed #868686;
  }
}

.news-date{
  color: #000;
}

.news-tag{
  margin-bottom: 20px;
  span{
    background-color: #b8e8f2;
    line-height: 1;
    padding: 0 3px;
    color: #000;
  }
}

.news-title{
  font-size: 17px;
  a{
    font-size: 17px;
    color: #000;
    text-decoration: none;
    &:hover{
      opacity: 0.7;
    }
  }
}

.news-detail .news-title{
  font-weight: bold;
  color: #000;
}

.ac {
    max-width: 700px;
    margin: 20px auto;
    box-sizing: border-box;
}

.ac-hd {
    background-color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    color: #000;
}

.ac-yr {
    width: 100%;
    position: relative;
}

.ac-mg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 auto;
}

.ac-mi {
    padding: 10px;
    text-align: center;
}

.ac-mi:hover {
    opacity: 0.7;
}

.ac-mi a {
    color: #000000;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.ac-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    transform: translateY(-50%);
    padding: 0;
}

.ac-nav:hover {
    opacity: 0.8;
}

.ac-nav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ac-prev {
    left: -20px;
}

.ac-next {
    right: -20px;
}
.news-wrap .news-contents {
  margin-top: 40px;
}

.news-wrap .news-contents h1 { font-size: 28px; margin: 1.5em 0 0.5em; }
.news-wrap .news-contents h2 { font-size: 25px; margin: 1.4em 0 0.5em; }
.news-wrap .news-contents h3 { font-size: 23px; margin: 1.3em 0 0.5em; }
.news-wrap .news-contents h4 { font-size: 20px; margin: 1.2em 0 0.5em; }
.news-wrap .news-contents h5 { font-size: 18px; margin: 1.1em 0 0.5em; }
.news-wrap .news-contents h6 { font-size: 16px; margin: 1em 0 0.5em; }

.news-wrap .news-contents p           { margin: 0 0 1.2em; font-size: 15px; color: #000; }
.news-wrap .news-contents ul,
.news-wrap .news-contents ol          { margin: 0 0 1.2em 1.5em; }
.news-wrap .news-contents li          { margin: 0.4em 0; }

.news-wrap .news-contents ul li{
  list-style-type: disc;
}

.news-wrap .news-contents ol li{
  list-style-type: decimal;
}

.news-wrap .news-contents a           { color: #0000ff; text-decoration: underline; }
.news-wrap .news-contents a:hover     { text-decoration: none; }

.news-wrap .news-contents img,
.news-wrap .news-contents iframe,
.news-wrap .news-contents video       { max-width: 100%; height: auto; display: block; margin: 1em auto; }
.news-wrap .news-contents .alignleft  { float: left; margin: 0 1em 1em 0; }
.news-wrap .news-contents .alignright { float: right; margin: 0 0 1em 1em; }
.news-wrap .news-contents .aligncenter{ margin-left: auto; margin-right: auto; }

.news-wrap .news-contents figure {
  margin: 1.5em 0;
}
.news-wrap .news-contents figcaption,
.news-wrap .news-contents .wp-caption-text {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 0.5em;
}

.news-wrap .news-contents blockquote {
  margin: 1.5em 0;
  padding: 1em;
  background: #f9f9f9;
  border-left: 4px solid #ccc;
  font-style: italic;
}

.news-wrap .news-contents hr {
  border: none;
  border-top: 1px solid #000000;
  margin: 2em 0;
}

.news-wrap .news-contents table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.news-wrap .news-contents th,
.news-wrap .news-contents td {
  border: 1px solid #ccc;
  padding: 0.75em;
  text-align: left;
}

.news-wrap .news-contents pre {
  background: #f4f4f4;
  padding: 1em;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  margin: 1.5em 0;
}

.news-wrap .news-contents code {
  background: #f4f4f4;
  padding: 0.2em 0.4em;
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
}

.news-wrap .news-contents .wp-block-button .wp-block-button__link {
  display: inline-block;
  padding: 0.6em 1.2em;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  margin: 1em 0;
}

.news-wrap .news-contents mark {
  background: #fffa8b;
}

.news-wrap .news-contents sup { vertical-align: super; font-size: 12px; }
.news-wrap .news-contents sub { vertical-align: sub; font-size: 12px; }

@media (max-width: 980px) {

  main > section:not(:first-of-type){
    margin-top: 0;
  }

}

@media (max-width: 768px) {

    main.news-detail > section:first-of-type > div.nextpage_div .second_wrapper{
      padding-top: 100px !important;
    }

    .news-detail{
      .nexttitle, .messagebox, .category-lists, button.entry.sp, a.scroll{
        display: none;
      }
      .news-items{
        padding: 0;
      }
      .news-title{
        font-size: 22px;
        line-height: 1.5;
      }
      .news-contents{
        p{
          font-size: 16px;
          line-height: 1.8;
        }
      }
    }

    main > section:not(:first-of-type){
      margin-top: -7vw;
    }

    .news__inner{
      margin-bottom: 40px;
      padding: 0;
    }

    .news-items{
      width: 85%;
      margin: 0 auto;
      padding: 20px 0;
    }

    .news-item{
      padding: 30px 0;
    }

    .ac-mi{
      padding: 5px;
    }

    .ac-mg {
        grid-template-columns: repeat(2, 1fr);
    }

    .ac-nav {
        width: 25px;
        height: 25px;
    }

    .ac-prev {
        left: -15px;
    }

    .ac-next {
        right: -15px;
    }
}

.slick-slide {
    padding: 0 10px;
}

.ac-yr {
    height: auto;
}

.pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 100px;
  a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 30px;
    font-style: italic;
    font-weight: 600;
    color: #fff;
    transition: all .3s ease-in-out;
    text-decoration: none;
    text-align: center;
    line-height: 64px;
    &:hover{
      background-color: #fff;
      color: #00a7ff;
    }
    &.current{
      background-color: #fff;
      border: none;
      color: #00a7ff;
    }
    &.pagination-back,
    &.pagination-next{
      border: none;
      &:hover{
        background-color: transparent;
        opacity: 0.7;
      }
    }
  }
}

.btn-wrap{
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 6vw;
}

.btn-back{
  width: 100%;
  margin-bottom: 100px;
  text-align: center;
  a{
    position: relative;
    display: inline-block;
    max-width: 340px;
    width: 100%;
    padding: 15px;
    color: #00a7ff;
    background-color: #fff;
    border-radius: 30px;
    transition: all .3s ease-in-out;
    font-weight: bold;
    font-size: 23px;
    line-height: 1;
    &:after{
      position: absolute;
      content: '';
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      background-image: url(../images/news/btn_nav.png);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
    &:hover{
      opacity: 0.8;
    }
  }
}

.news-detail .btn-back:not(:last-of-type){
  margin-bottom: 40px;
}

.category-lists{
  max-width: 1080px;
  margin: 0 auto 10px;
  ul{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    li{
      &.current{
        a{
          background-color: #0759ff;
          color: #fff;
          cursor: default;
          pointer-events: none;
          &:hover{
            opacity: 1;
          }
        }
      }
      a{
        display: block;
        padding: 3px 5px;
        background-color: #bfd3e3;
        color: #000;
        line-height: 1;
        transition: all .3s ease-in-out;
        &:hover{
          opacity: 0.8;
        }
      }
    }
  }
}

/* ===== メディアクエリ ===== */
@media only screen and (max-width: 768px) {

  .category-lists{
    margin-bottom: 50px;
  }

  a.scroll {
    top: 70vw;
  }

  main > section:first-of-type > div:nth-of-type(2) h2.nextsub {
    font-size: 22px;
  }

  main > section:first-of-type > div:nth-of-type(2) h2 {
    margin-bottom: 2vw;
  }

  h1.maintitle span {
    font-size: 16px;
    padding: 4px 5px;
    line-height: 1;
  }

  h1.maintitle .maintitle-en {
    gap: 3px;
    margin-top: 10px;
  }

  h1.maintitle .maintitle-en-main {
    font-size: 12vw;
  }

  h1.maintitle .maintitle-en-sub {
    font-size: 5vw;
  }

  .nexttitle {
    margin-bottom: 70px;
  }

  .nexttitle:before {
    bottom: -30px;
  }

  .title_nextsub_inner .nextsub {
    margin-bottom: 10px;
    font-size: 20px;
  }

  main > section:first-of-type > div:nth-of-type(2) h2.title_nextsub {
    font-size: 1.8rem;
  }

  main > section:first-of-type p.title_nextsub-lead {
    word-break: keep-all;
    font-size: 36px;
    line-height: 1.4;
  }

  main > section:first-of-type p.title_nextsub-lead br {
    display: block;
  }

  main > section:nth-of-type(2) div.advantagebox h2.nextsub {
    font-size: 22px;
  }

  main > section:nth-of-type(2) div:first-of-type .title_nextsub {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  main > section:nth-of-type(2) div:first-of-type p.title_nextsub-lead {
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.4;
  }

  main > section:nth-of-type(3) h2,
  main > section:nth-of-type(3) div.topmessage:first-of-type {
    font-size: 22px;
  }

  main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead {
    font-size: 36px;
  }

  main > section:nth-of-type(3) div:first-of-type p.title_nextsub-lead .sp-only {
    display: block;
  }

  div.section__title {
    margin-bottom: 40px;
  }

  div.section__title h2.section__title-text span.section__title-sub {
    font-size: 23px;
  }

  .news .messagebox {
    width: 90%;
    margin-bottom: 60px;
  }

  main > section:first-of-type > div.nextpage_div .second_wrapper {
    border-bottom-right-radius: 80vw;
  }

  .second_wrapper {
    padding: 130px 20px 100px !important;
  }

  button.entry.sp {
    top: -17px;
    right: 0;
  }

  .pagination{
    margin-bottom: 40px;
    gap: 8px;
    a{
      width: 40px;
      height: 40px;
      border: 2px solid #fff;
      font-size: 20px;
      line-height: 40px;
      &.pagination-back,
      &.pagination-next{
        img{
          max-height: 23px;
        }
      }
    }
  }

  .btn-wrap{
    display: block;
  }

  .btn-back{
    margin-bottom: 60px;
    a{
      max-width: 250px;
      min-width: inherit;
      width: 100%;
      padding: 12px;
      font-size: 18px;
      &:after{
        width: 15px;
        height: 15px;
      }
    }
  }

}
