@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: auto;
  height: 71.95%;
  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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
     -ms-flex-wrap: wrap;
     flex-wrap: wrap;
  -ms-flex-line-pack: start;
  align-content: flex-start;
/*
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
*/
}

.logos__link,.dummy-box{
  width: 9.583vw;
  max-width: 115px;
    position: relative;
    height: 80px;
}
.logos__link:nth-child(10n){
    width: 8.4583vw;
  max-width: 101.5px;
}
.logos__img{
  width: 8.4583vw;
  max-width: 101.5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.logos__link:last-child .logos__img{
    margin-right: 0;
}

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

  .header__link:first-child{
    width: auto;
  }
    
  .header__site-logo{
    width: auto;
        max-width: inherit;
        height: 79.66%;
        left: 2.1%;
        top: 2.73vw;
        -webkit-transform: none;
        transform: none;
  }

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

  footer{
/*    height: 73.3vw;*/
      height: auto;
    width: 100%;
    overflow: hidden;
  }

  .footer__logos{
    width: 94vw;
    max-width: initial;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      padding-top: 4.74vw
/*
    display: block;
    position: relative;
    float: left;
    text-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    
*/
  }

  .logos__link{
    margin-bottom: 1vw
    
      
  } 
    .logos__link,.dummy-box{
        width: 27.33vw;
        max-width: initial;
    vertical-align: middle;
        position:static;
        line-height: 0;
        height: 11.328vw;
    }
    .logos__link:nth-child(10n){
    width: 27.33vw;
        max-width: none;
}
  .logos__link.mgntop{
    margin-top: 2vw;
  }

  .logos__img{
    width: 100%;
    max-width: initial;
    position: relative;
    top: 0;
    transform: none;
    -webkit-transform: none;
  }

  .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);
    }
  }
