@charset "UTF-8";
/* CSS Document */

@media screen and (min-width: 1200px) {
  body {
    font-size: 16px; }}
@media screen and (max-width: 1199px) {
  body {
    font-size: 2vw; } }
@media screen and (min-width: 769px) {
  .sp_only {
    display: none !important; } }
@media screen and (max-width: 768px) {
  .pc_only {
    display: none !important; } }

a{
  display: inline-block;
}


body {
    position: absolute;
    background-color: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333333;
}


.iframe-wrapper{
  height: calc(100vh - 160px);
}

iframe{
    width: 100%;
    height: 100%;
    position: relative;
}

header{
  height: 80px;
  background-color: #fff;
  position: relative;
  padding-right: constant(safe-area-inset-right,1em);
  padding-left: constant(safe-area-inset-left,1em);
  padding-right: env(safe-area-inset-right,1em);
  padding-left: env(safe-area-inset-left,1em);
}

.header__link:first-child{
  width: 27.08vw;
  height: 100%;
  position: relative;
  display: block;
}

.header__site-logo{
  width: 34vw;
  max-width: 408px;
  position: absolute;
  top: 50%;
  left: 1.3125em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.header__matching{
  width: 354px;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
}

.header__matching.hover{
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
}

 .header__matching.hover:hover{
  opacity: 1;
}

footer{
  height: 80px;
  background-color: #fff;
  position: relative;
  z-index: 3;
}

.footer__logos{
  width: 95.83vw;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(10,1fr);
    justify-items: center;
}

.dummy-box{
    width: 9.583vw;
    max-width: 115px;
    position: relative;
    height: 80px;
}

.top__link{
  /* grid-area:-1/-2 ; */
  grid-area: auto / -2 / auto / span 1;
}

.logos__link{
  width: 9.583vw;
    max-width: 115px;
    height: 80px;
    display: grid;
    place-items: center;
}
.logos__img{
  width: 8.4583vw;
    max-width: 101.5px;
}

.logos__link:last-child .logos__img{
    width: 8.4583vw;
    max-width: 101.5px;
}


@media screen and (max-width: 768px){
  header{
    height: 17.4vw;
  }

  .header__link:first-child{
    width: auto;
  }

  .header__site-logo{
    width: 49.84%;
    top: 44%;
    max-width: inherit;
    left: 2.32%;
    top: 2.24vw;
    -webkit-transform: none;
    transform: none;
  }

  .header__matching{
    width: auto;
    height: 100%;
  }

  footer{
    height: auto;
    width: 100%;
    overflow: hidden;
  }


  .footer__logos{
    width: 94vw;
    max-width: initial;
    padding: 4.74vw 0;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(3,1fr);
}
    
    .logos__link:last-child .logos__img {
        width: 100%;
    max-width: initial;
    }

  .logos__link{
    width: 27.33vw;
    max-width: initial;
    height: auto;
    margin: 0 auto;
  }

  .logos__link.mgntop .logos__img{
    top: -1vw;
  }
    
    .logos__link.mgnbottom .logos__img{
    top: -1.5vw;
  }

  .logos__img{
    width: 100%;
    max-width: initial;
  }

  .iframe-wrapper{
    display: block;
    height: calc(100% - 56vw);
  }

}


@media screen and (orientation: landscape){
  body{
    background-color: #000000;
  }

  .sp header{
    height: 10vw;
  }

    .sp footer{
      display: none;
    }

    .sp .iframe-wrapper{
      height: calc(100% - 10vw);
    }
  }

@media screen and (orientation: landscape) and (max-width: 768px){
    .sp .header__site-logo{
      width: auto;
      height: 76.92%;
      top: 1.3vw;
    }
  }

@media screen and (orientation: landscape) and (min-width: 769px){
    .sp .header__site-logo{
      top: 5.3vw;
    }

    .sp .header__matching{
      width: auto;
      height: 100%;
    }

    .sp .iframe-wrapper{
      height: calc(100% - 70px);
    }
  }
