@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 - 240px);
  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: 32.33vw;
  max-width: 388px;
  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: 160px;
  height: 80px;
  background-color: #fff;
  position: relative;
  z-index: 3;
}

.footer__logos{
	display: grid;
	grid-template-columns: repeat(11,1fr);
	grid-template-rows: repeat(1,80px);
	column-gap: 0.75em;
	width: 96.6%;
	max-width: 1160px;
	margin: 0 auto;
}

.logos__link{
	display: flex;
	align-items: center;
    justify-content: center;
	width: 100%;
	height: 100%;
	min-width: auto;
	min-height: auto;
}

.top__link{
	/*grid-column: 10 / 11;
	grid-row: 2 / 3;*/
}

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


@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: 53.5vw;
    width: 100%;
    overflow: hidden;
  }
  
  .footer__logos{
	padding: 3.466vw 0;
    grid-template-columns: repeat(3,28vw);
	grid-template-rows: repeat(4,11.626vw);
	column-gap: 3.866vw;
	width: 91.54%;
	
  }
  
  .top__link{
	grid-column: auto;
	  grid-row: auto;
}
  
  .logos__img{
/*
    width: 100%;
    max-width: initial;
    position: relative;
    top: 0;
    transform: none;
    -webkit-transform: none;
*/
	  
	  height: 100%;
	  width: auto;
  }
  
  .iframe-wrapper{
    display: block;
    height: calc(100% - 70.9vw);
  }
  
}


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