/***** top *****/
#topArticle1 h2 {
  margin: 0 0 100px 0;
  font-size: 30px;
  font-weight: 700;
}
#topArticle1 h3, #topArticle2 h3  {
  margin: 0 0 100px 0;
  font-size: 28px;
  font-weight: 700;
}
#topArticle1 .lead1 {
  margin-bottom: 50px;
  color: #7b7a7a;
  font-size: 25px;
  font-weight: 700;
}
#topArticle1 p {
  font-size: 2rem;
}
#topArticle1 .span_underline {
  text-decoration: underline;
}
#topArticle1 .wpb_content_element {
  margin-bottom: 60px;
}
#topArticle1 .top1_btnArea ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 740px;
  margin: 40px auto -40px;
  margin-bottom: 5px;
}
#topArticle1 .top1_btnArea ul li {
  width: 45%;
  max-width: 305px;
  margin-bottom: 40px;
}
#topArticle1 .top1_btnArea a {
  display: block;
  width: 100%;
  padding: 11px 5px;
  color: #1b1b1b;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 3px solid #1b1b1b;
  border-radius: 28px;
}
/*ボタン変化用に追加*/
#topArticle1 .top1_btnArea a:hover {
  color: #fff;
  background: #1b1b1b;
  text-shadow: none;
  transition-duration: 0.2s;
}
#topArticle1 .top1_btnArea a::after {
  content: "　>";
}
#topNewsArticle {
  width: 90%;
  padding-top: 60px;
  margin: 0 auto;
}
#topNewsArticle .wrap {
  position: relative;
  max-width: 970px;
}
#topNewsArticle h2 {
  margin: 0 auto 32px;
  padding-bottom: 18px;
  font-size: 3.5rem;
  font-weight: 700;
  border-bottom: 3px solid #1b1b1b;
}
#topNewsArticle .btnArea {
  position: absolute;
  right: 1%;
  top: 6px;
}
.top-row {
  position: relative;
  height: 100%;
  margin-bottom: 100px;
}
.top-row h3 {
  margin-bottom: 40px!important;
}
.top-stamp-bg {
  background: url(../images/bg_top3.webp) no-repeat /*fixed*/ center top/cover;
  background-position: center;
  text-shadow: -2px -2px 4px #fff, -2px 2px 4px #fff, 2px -2px 4px #fff,
    2px 2px 4px #fff, -2px -2px 8px #fff, -2px 2px 8px #fff, 2px -2px 8px #fff,
    2px 2px 8px #fff;
}
.top-stamp-bg .sp-img-size {
  padding: 50px 0 0!important;
  flex-basis: 100%;
}
.top-screen-bg {
  position: absolute;
  top: -10%;
  left: auto;
  right: -40px;
  width: 89.35%;
  height: 120%;
  background: #fbe5e8;
  z-index: 0;
}
.top-flexbox {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
}
.top-flexbox h3 {
  flex-basis: 100%;
  margin: 0!important;
}
.top-flexbox-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
}
.top-flexbox-nowrap {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  width: 100%;
  margin-bottom: 80px;
}
.top-flexitem {
  flex-basis: 100%;
  flex-grow: 1;
  z-index: 1;
  padding: 0 50px;
  margin-bottom: 40px;
}
.top-flexitem-logo {
  flex-basis: 90%;
  flex-grow: 0;
  z-index: 1;
  padding: 0;
  margin: 0 auto 20px;
}
.top-flexitem-logo h4 {
  width: 100%;
  padding: 1.8rem 3.2rem;
  color: #555;
  font-size: 2.4rem;
  border: 1px solid #555;
  border-radius: 4px;
}
.top-text-flexitem {
  flex-basis: 100%;
  padding: 0;
}
.top-text-flexitem-60 {
  flex-basis: 100%;
  padding: 0;
}
.top-img-flexitem {
  flex-basis: 100%;
  padding: 0 0 80px;
}
.top-img-flexitem-center {
  max-width: 100%;
}
/*テスト環境のみ、本番は対応まで消す*/
.top-fade-type-up {
  transform: translateY(100px);
  opacity: 0;
}
.top-fade-type-up.is-active {
  transition: 0.6s;
  transform: translateY(0);
  opacity: 1;
}
.top-fade-slide-in-L {
  position: relative;
  transform: translateX(-100px);
  opacity: 0;
}
.top-fade-slide-in-L.is-active {
  transition: 0.6s;
  transform: translateX(0);
  opacity: 1;
}
.top-fade-slide-in-R {
  position: relative;
  transform: translateX(100px);
  opacity: 0;
}
.top-fade-slide-in-R.is-active {
  transition: 0.6s;
  transform: translateX(0);
  opacity: 1;
}
.set-fade-type-up {
  transform: translateY(100px);
  opacity: 0;
}
.is-active .set-fade-type-up {
  transition: .6s;
  transform: translateY(0);
  opacity: 1;
}
.is-active .set-fade-type-up:nth-child(1) {
  transition-delay: .2s;
}
.is-active .set-fade-type-up:nth-child(2) {
  transition-delay: .4s;
}
.is-active .set-fade-type-up:nth-child(3) {
  transition-delay: .6s;
}
.is-active .set-fade-type-up:nth-child(4) {
  transition-delay: .8s;
}
.is-active .set-fade-type-up {
  transition: .6s;
  transform: translateY(0);
  opacity: 1;
}
.is-active .set-fade-type-up:nth-child(1) {
  transition-delay: .4s;
}
.is-active .set-fade-type-up:nth-child(2) {
  transition-delay: .6s;
}
/*caseカルーセル*/
.swiper-container-case {
  width: 100%;
  overflow: visible;
}
.swiper-container-case .swiper-wrapper .swiper-slide {
  width: 90%;
  max-width: 948px;
}
.swiper-container-case .swiper-button-next-case,
.swiper-container-case .swiper-button-prev-case {
  color: #7b7a7a;
}
.swiper-container-case .swiper-button-next-case:aftrer,
.swiper-container-case .swiper-button-prev-case:aftrer {
  font-size: 38px;
}
.swiper-container-case .swiper-button-next-case {
  right: -36px;
}
.swiper-container-case .swiper-button-prev-case {
  left: -36px;
}
@media screen and (min-width: 481px) {
  /**//*TOP*//**/
  .top-row {
    position: relative;
    height: 100%;
    margin-bottom: 200px;
  }
  .top-row h3 {
    padding-left: 5%;
    margin-bottom: 40px!important;
  }
  .top-flexbox {
    width: 100%;
    margin-bottom: 80px;
  }
  .top-flexbox-nowrap {
    flex-wrap: nowrap;
  }
  .top-flexitem {
    flex-basis: 100%;
    flex-grow: 1;
    z-index: 1;
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .top-flexitem-logo {
    flex-basis: 100%;
    flex-grow: 1;
    z-index: 1;
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .top-text-flexitem {
    flex-basis: 60%;
    padding-left: 50px;
  }
  .top-text-flexitem-half {
    flex-basis: 740px;
  }
  .top-text-flexitem-60 {
    flex-basis: 60%;
    padding: 120px 50px 50px;
  }
  .top-img-flexitem {
    flex-basis: 33%;
    padding: 0 3%;
  }
  .top-flexbox-center {
    width: 90%;
  }
  .top-stamp-bg {
    background: url(../images/bg_top3.webp) no-repeat fixed center top/cover;
    margin-bottom: 80px;
  }
  .top-stamp-bg .sp-img-size {
    flex-basis: 40%;
    padding: 6% 5% 3%;
  }
  .top-screen-bg {
    position: absolute;
    top: -2%;
    right: -10%;
    width: 78%;
    height: 104%;
  }
    /*TOPタイトル用メディアクエリ*/
    #topArticle1 h2 {
      font-size: 48px;
    }
    #topArticle1 h3 ,#topArticle2 h3 {
      font-size: 48px;
    }
    #topArticle1 .lead1 {
      font-size: 48px;
    }
    #topNewsArticle h2 {
      font-size: 4.8rem;
    }
}
@media only screen and (min-width: 769px) {
  /***** top *****/
  #topArticle1 .wpb_content_element {
    margin-bottom: 40px;
  }
  #topArticle1 .wpb_content_element:last-child {
    margin-bottom: 0;
  }
  #topArticle1 .top1_btnArea a {
    font-size: 18px;
  }
}
@media only screen and (min-width: 1024px) {
  /***** top *****/
  .top-row h3 {
    padding-left: 0;
    margin-bottom: 40px!important;
  }
  .top-text-flexitem {
    flex-basis: 67%;
    padding: 0 50px;
  }
  .top-flexbox-center {
    width: 100%;
  }
  .top-flexitem {
    flex-basis: 100%;
    flex-grow: 1;
    z-index: 1;
    padding: 0 50px;
    margin-bottom: 40px;
  }
  .top-flexitem-logo {
    flex-basis: 100%;
    flex-grow: 1;
    z-index: 1;
    padding: 0 50px;
    margin-bottom: 40px;
  }
}
@media only screen and (min-width: 1240px) {
  .swiper-container-case {
    width: 100%;
  }
  .swiper-container-case .swiper-wrapper .swiper-slide {
    max-width: 948px;
  }
  .swiper-container-case .swiper-button-next-case,
  .swiper-container-case .swiper-button-prev-case {
    left: 50%;
    right: 50%;
  }
  .swiper-container-case .swiper-button-next-case {
    left: auto;
    transform: translateX(532px);
  }
  .swiper-container-case .swiper-button-prev-case {
    right: auto;
    transform: translateX(-532px);
  }
}
/*YouTube動画css*/
.YT-wrapper {
  position: relative;
  top: 0;
  left: 0;
  margin: 0 auto;
  padding-top: 55%;
  width: 100%;
}
.YT-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.YT-wrapper a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.YT-half {
  position: relative;
  top: 0;
  left: 0;
  padding-top: 16%;
  max-width: 29%;
  margin: 10px auto;
}
.YT-wrapper-half-left {
  position: absolute;
  top: 0;
  left: -52%;
  padding-top: 15%;
  width: 100%;
  height: 100%;
}
.YT-wrapper-half-left iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.YT-wrapper-half-left a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.YT-wrapper-half-right {
  position: absolute;
  top: 0;
  right: -52%;
  padding-top: 15%;
  width: 100%;
  height: 100%;
}
.YT-wrapper-half-right iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.YT-wrapper-half-right a {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.YT-wrapper-L {
  position: relative;
  margin: 0 auto;
  padding-top: 32%;
  max-width: 60%;
}
.YT-wrapper-L iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.YT-wrapper-L a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .YT-wrapper {
    padding-top: 28%;
    width: 50%;
  }
}
/*テスト環境のみここまで*/