@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #fff;
}

@media screen and (max-width: 767px) {
  html {
    font-size: calc(100vw / 44);
  }
}

body.mirai main {
  color: #000;
  font-weight: 400;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  line-height: 1.8;
  letter-spacing: 1;
}

body.mirai main img {
  width: 100%;
  vertical-align: bottom;
}

a {
  color: #000;
  text-decoration: none;
}

/*
ul {
  list-style: none;
}
*/

ol {
  list-style-type: none;
}

.only-pc {
  display: block;
}

@media screen and (max-width: 767px) {
  .only-pc {
    display: none !important;
  }
}

.only-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .only-sp {
    display: block !important;
  }
}

.tab-btn {
  width: 720px;
  height: 72px;
  color: #fff;
  display: block;
  padding: 0 30px;
  margin: 0 auto 20px;
  transition: .3s;
}

@media screen and (max-width: 767px) {
  .tab-btn {
    width: 90.909vw;
    height: auto;
    padding: 2vw 0 2vw;
  }
}

.tab-btn._yellow {
  background: #fabd00;
  margin-top: 50px;
}

.tab-btn._pink {
  background: #e4007f;
}

.tab-btn._blue {
  background: #0f135c;
}
.tab-btn._green {
  background: #39b54a;
}
.tab-btn._orange{
  background: #f15a24;
}

.tab-btn + section {
  display: none;
}

.tab-btn:hover {
  opacity: .75;
  transition: .3s;
}

@media screen and (max-width: 767px) {
  .tab-btn:hover {
    opacity: 1;
  }
}

.tab-btn__inner {
  height: 100%;
  position: relative;
}

.tab-btn__sub {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  padding-right: 15px;
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  left: 0;
}

@media screen and (max-width: 767px) {
  .tab-btn__sub {
    width: 100%;
    display: block;
    font-size: 2rem;
    margin-bottom: 2vw;
    padding-right: 0;
    position: static;
    text-align: center;
    transform: translate(0);
  }
}

.tab-btn__sub::before {
  height: 2px;
  background: #fff;
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .tab-btn__sub::before {
    display: none;
  }
}

.tab-btn__sub._long::before {
  width: 160px;
}

.tab-btn__sub._middle::before {
  width: 80px;
}

.tab-btn__sub._short::before {
  width: 70px;
}

.tab-btn__main {
  font-size: 150%;
  font-weight: 400;
  letter-spacing: 1.5px;
  position: absolute;
  left: 15%;
}

/*
.tab-btn__main {
  font-size: 150%;
  font-weight: 400;
  letter-spacing: 1.8px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}
*/

@media screen and (max-width: 767px) {
  .tab-btn__main {
    width: 100%;
    display: block;
    position: static;
    font-size: 150%;
    text-align: center;
    top: 0;
    transform: translate(0);
  }
}

.tab-btn__icon {
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .7px;
  padding-right: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
}

@media screen and (max-width: 767px) {
  .tab-btn__icon {
    font-size: 1.0rem;
    padding-right: 40px;
    top: 0.5vw;
    transform: translateY(0);
    right: 24px;
  }
}

.tab-btn__icon::before {
  width: 18px;
  height: 18px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  content: '';
  transform: rotate(135deg);
  position: absolute;
  right: 0;
}

@media screen and (max-width: 767px) {
  .tab-btn__icon::before {
    width: 3vw;
    height: 3vw;
    top: 0vw;
    left: 70%;
    transform: translateX(-50%) rotate(135deg);
  }
}

.open .tab-btn__icon::before {
  top: 5px;
  transform: translateX(-50%) rotate(45deg);
}

@media screen and (max-width: 767px) {
  .open .tab-btn__icon::before {
    top: 0vw;
  }
}

.close-icon-wrapper {
  margin-top: 50px;
  text-align: center;
}

.close-icon {
  color: #000;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .7px;
  padding-top: 10px;
  position: relative;
}

@media screen and (max-width: 767px) {
  .close-icon {
    font-size: 1.0rem;
    padding-right: 0;
  }
}

.close-icon::before {
  width: 18px;
  height: 18px;
  border-top: 4px solid #8c8c8c;
  border-right: 4px solid #8c8c8c;
  content: '';
  transform: translateX(-50%) rotate(-45deg);
  position: absolute;
  left: 50%;
  top: 0;
}

@media screen and (max-width: 767px) {
  .close-icon::before {
    width: 3vw;
    height: 3vw;
  }
}

.gallary {
  background: #eee;
}

@media screen and (max-width: 767px) {
  .gallary {
    padding: 0 4.545vw 0;
  }
}

.gallary._yellow {
  padding: 80px 0 220px;
}

@media screen and (max-width: 767px) {
  .gallary._yellow {
    padding: 11.363vw 4.545vw 23.863vw;
  }
}

.gallary._yellow .gallary__ttl {
  color: #fabd00;
}

@media screen and (max-width: 767px) {
  .gallary._yellow .gallary__ttl {
    letter-spacing: -1px;
  }
}

.gallary._yellow .gallary__item-ttl {
  color: #fabd00;
}

.gallary._pink .gallary__ttl {
  color: #e4007f;
}

.gallary._pink .gallary__item-ttl {
  color: #e4007f;
}

.gallary._blue {
  padding: 80px 0 100px;
}

@media screen and (max-width: 767px) {
  .gallary._blue {
    padding: 0 4.545vw 0;
  }
}

.gallary._blue .gallary__ttl {
  color: #0f135c;
}

.gallary._blue .gallary__item-ttl {
  color: #0f135c;
}

.gallary__inner {
  max-width: 740px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .gallary__inner {
    max-width: 100%;
  }
}

.gallary__ttl {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 10px;
}

@media screen and (max-width: 767px) {
  .gallary__ttl {
    font-size: 1.6rem;
    text-align: center;
  }
}

.gallary__list {
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .gallary__list {
    margin-top: 5.681vw;
  }
}

.gallary__item + .gallary__item {
  margin-top: 160px;
}

@media screen and (max-width: 767px) {
  .gallary__item + .gallary__item {
    margin-top: 15.909vw;
  }
}

.gallary__item:nth-of-type(even) .gallary__item-pho {
  margin-left: auto;
}

.gallary__item:nth-of-type(even) .gallary__item-ttl {
  text-align: right;
}

@media screen and (max-width: 767px) {
  .gallary__item:nth-of-type(even) .gallary__item-ttl {
    text-align: left;
  }
}

.gallary__item._feature-03 {
  margin-top: 230px;
}

.gallary__item-inner {
  position: relative;
}

.gallary__item-pho {
  width: 500px;
  position: relative;
}

@media screen and (max-width: 767px) {
  .gallary__item-pho {
    width: 100%;
  }
}

.gallary__item-content {
  width: 353px;
  background: #fff;
  padding: 30px;
  position: absolute;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .gallary__item-content {
    width: 100%;
    padding: 6.818vw;
  }
}

.gallary__item-content._merit-01 {
  top: 130px;
  right: 0;
}

@media screen and (max-width: 767px) {
  .gallary__item-content._merit-01 {
    position: static;
  }
}

.gallary__item-content._merit-02 {
  top: 60px;
  left: 0;
}

@media screen and (max-width: 767px) {
  .gallary__item-content._merit-02 {
    position: static;
  }
}

.gallary__item-content._feature-01 {
  top: 130px;
  right: 0;
}

@media screen and (max-width: 767px) {
  .gallary__item-content._feature-01 {
    position: static;
  }
}

.gallary__item-content._feature-02 {
  top: 25px;
}

@media screen and (max-width: 767px) {
  .gallary__item-content._feature-02 {
    position: static;
  }
}

.gallary__item-content._feature-03 {
  top: -65px;
  right: 0;
}

@media screen and (max-width: 767px) {
  .gallary__item-content._feature-03 {
    position: static;
  }
}

.gallary__item-ttl {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .gallary__item-ttl {
    font-size: 1.8rem;
    text-align: left;
  }
}

.gallary__item-txt {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .7px;
  text-align: justify;
  text-justify: inter-ideograph;
}

@media screen and (max-width: 767px) {
  .gallary__item-txt {
    font-size: 1.4rem;
  }
}
