@charset "utf-8";

header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

header::before,
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: 22;

  width: 0;
  height: 0;
  border-style: solid;
}

header::before {
  left: 0;
  border-width: 120px 0 0 50vw;
  border-color: transparent transparent transparent rgba(26, 0, 93, 0.6)
}

header::after {
  right: 0;
  border-width: 0 0 120px 50vw;
  border-color: transparent transparent rgba(142, 196, 0, 0.6) transparent;
}

@media screen and (max-width: 899px) {
  header::before {
    border-width: 80px 0 0 50vw;
  }

  header::after {
    border-width: 0 0 80px 50vw;
  }
}

@media screen and (max-height: 599px) {
  header::before {
    border-width: 80px 0 0 50vw;
  }

  header::after {
    border-width: 0 0 80px 50vw;
  }
}

header .videoWrap {
  position: relative;
  height: 100vh;
}

/*header .videoWrap::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.2);
  background-image: radial-gradient(#000 40%, transparent 0), radial-gradient(#000 40%, transparent 0);
  background-size: 4px 4px;
}*/

/*scrollボタン*/
header .scroll {
    display: block;
    position: absolute;
    width: 56px;
    left: 0;
    right: 0;
    z-index: 333;
    bottom: 4%;
    color: #FFF;
    text-align: center;
    margin: 0 auto;
}

header .scroll::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 150%;
    margin: 0 auto;

    -webkit-transition: 0.3s;
    transition: 0.3s;
}

header .scroll:hover:before {
    bottom: 130%;
}





.message {
  opacity: 0;
  color: #FFF;
  font-size: 60rem;
  font-family: "游ゴシック",YuGothic, Yu Gothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",verdana,Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
  text-shadow: 0px 0px 8px rgba(0,0,0,1);
  height: 6em;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  line-height: 1.1;
	text-align: left;
	margin: auto 230px;
}

.message .title {
		text-align: left;
    margin: 0 auto;
    max-width: 1430px;
    display: inline-block;
		padding: 0 9px;
	}
.message .title_a {
	font-size: 40px;
}

.message .title_c {
	font-size: 90px;
	font-weight: 500;
	border-bottom: solid 2px #fff;
}

.message .title_d {
	padding-top: 30px;
	font-size: 60rem;
}

.message i {
  padding: 0 8px;
}
@media screen and (max-width: 1440px) {
  .message {
    margin: auto 200px;
  }

}
@media screen and (max-width: 1322px) {
  .message {
    font-size: 60rem;
  }
	.message .title_c {
		font-size: 60rem;
	}
		.message .title_d {
		font-size: 50rem;
	}
}
@media screen and (max-width: 1200px) {
	.message {
    margin: auto 250px;
		font-size: 38rem;
		max-width: 700px;
  }
	.message .title_d {
	font-size: 38rem;
}
	.message .title_a {
	font-size: 30px;
	}
}
@media screen and (max-width: 1023px) {
	.message {
    margin: auto 5px;
  }
}
@media screen and (max-width: 899px) {
  .message {
		line-height: 1.2;
		height: 7em;
		max-width: 612px;
  }
	.message i {
		padding: 0;
	}
	.message .title_c {
		font-size: 40px;
	}
	.message .title_d {
	font-size: 30px;	
	}

}

@media screen and (max-width: 599px) {
  .message {
		height: 9em;
  }

}




@media screen and (max-width: 899px) {
  .company .inner {
    padding: 12px;
  }
}

#ancCompany1 p {
  font-size: 20rem;
  font-weight: bold;
  line-height: 2em;
  margin: 16px 0;
}

@media screen and (max-width: 899px) {
  #ancCompany1 p {
    font-size: 16rem;
    margin: 0 0 16px;
  }
}






.office > a.btnOffice {
  display: block;
  text-align: center;
  padding: 8px 16px;
  margin: 0 auto;
  color: #FFF;
  font-size: 20rem;
  width: 32%;
  background: #5BC2E7;
  border: 3px solid transparent;
  border-radius: 2px;

  -webkit-transition: .3s;
  transition: .3s;
}

@media screen and (max-width: 899px) {
  .office > a.btnOffice {
    font-size: 16rem;
    width: 80%;
  }
}

.office > a.btnOffice:hover {
  color: #5BC2E7;
  background: #FFF;
  border-color: #5BC2E7;
}

.office ul {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 7777777;

  margin: auto;
  width: 100%;
  height: 100vh;
  background: #FFF;
  opacity: 0;
  display: none;
  overflow: hidden;

  -webkit-transition: .3s;
  transition: .3s;
}

.office ul.show {
  opacity: 1;
  display: flex;
  padding: 32px;
  border: 32px solid rgba(0,0,0,0.6);
  overflow-y: scroll;
}

@media screen and (max-width: 899px) {
  .office ul.show {
    padding: 16px;
    border: 8px solid rgba(0,0,0,0.6);
  }
}

.office li,
.office ul::after {
  width: calc(100% / 3 - 16px);
}

@media screen and (max-width: 899px) {
  .office li {
    width: 100%;
    margin: 0 0 40px;
  }
}


.office iframe {
  width: 100%;
  height: 24vh;
}

a.officeClose {
  position: fixed;
  top: 48px;
  right: 56px;
  z-index: 88888888;
  font-size: 16rem;
  font-weight: normal;
  background: #666;
  color: #FFF;
  display: none;
  width: 32px;
  height: 32px;
  line-height: 1;
  padding: 8px;
  border-radius: 100px;
}

@media screen and (max-width: 899px) {
  a.officeClose {
    top: 16px;
    right: 24px;
  }
}

td.officerList span {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 160px;
  margin: 0 8px 0 0;
}
@media screen and (max-width: 1366px) {
  td.officerList span {
    width: 120px;
  }
}

td.officerList span:before {
  content: "[";
  position: absolute;
  left: 0;
}

td.officerList span:after {
  content: "]";
  position: absolute;
  right: 0;
}


/* 詳細画面 */
.details .inner {
  /*overflow-y: scroll;*/
  /*-webkit-overflow-scrolling:touch;*/

  position: fixed;
  top: 0;
  right: -50%;
  z-index: 4444;

  /* color: #FFF; */
  /*padding: 32px;*/
  width: 50%;
  height: 100vh;
  background: rgba(255, 255, 255, 1);

  -webkit-transition: .3s;
  transition: .3s;
}

@media screen and (max-width: 899px) {
  .details .inner {
    top: 32%;
    right: -100%;
    width: 100%;
    height: 68vh;
  }
}

.details .inner > div {
  padding: 32px 32px 64px;
}
@media screen and (max-width: 599px) {
  .details .inner > div {
    padding: 12px 12px 32px;
  }
}

.details .pht img {
  width: 50%;
  margin: auto;
  display: block;
}

.details .inner .txt {
  margin: 0 0 32px;
}

.details .inner div.txt p {
  margin: 0 0 8px;
}

.details h3 {
  font-size: 24rem;
  padding: 0 0 8px;
  margin: 8px 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
@media screen and (max-width: 899px) {
  .details h3 {
    font-size: 18rem;
  }
}

.details h3 span {
  display: none;
}

.details .ttl {
  display: block;
  font-size: 18rem;
  font-weight: bold;
  padding: 0 0 0 8px;
  margin: 0 0 12px;
  border-left: 4px solid rgba(0,0,0,0.8);
}

.details img {
  display: block;
  margin: 12px auto;
  width: 100%;
  max-width: 72%;
  height: auto;
}
@media screen and (max-width: 899px) {
  .details img {
    width: auto;
    max-width: auto;
    height: 25vh;
  }
}

.details .tel {
  font-size: 21rem;
  display: block;
  margin: 8px 0;
}
@media screen and (max-width: 599px) {
  .details .tel {
    font-size: 16rem;
  }
}

.details .hour {
  font-size: 16rem;
  display: block;
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
@media screen and (max-width: 599px) {
  .details .hour {
    font-size: 12rem;
  }
}

.details .layer {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4444;
  width: 0;
  height: 100vh;
  overflow: hidden;
  /*background: rgba(255,255,255,0.8);*/
  -webkit-transition: .3s;
  transition: .3s;
}

@media screen and (max-width: 899px) {
  .details .layer {
    height: 32vh;
  }
}

.details.active .inner {
  right: 0;
}

.details.active .layer {
  width: 50%;
}

@media screen and (max-width: 899px) {
  .details.active .layer {
    width: 100%;
  }
}

.details iframe {
  display: block;
  width: 100%;
  height: 400px;
  margin: 32px 0;
}


a.btnLink {
  display: block;
  color: #FFF;
  background: #139BD8;
  border: 2px solid #139BD8;
  border-radius: 100px;
  text-align: center;
  width: 80%;
  padding: 8px;
  margin: 32px auto 0;
  -webkit-transition: .15s;
  transition: .15s;
}

a.btnLink:hover {
  color: #139BD8;
  background: #FFF;
}

button.btnClose {
  display: block;
  font-size: 18rem;
  color: #FFF;
  background: #444;
  border: 2px solid #444;
  border-radius: 0;
  text-align: center;
  width: 40%;
  padding: 12px 8px;
  margin: 64px auto 0;
  -webkit-transition: .15s;
  transition: .15s;
}
@media screen and (max-width: 599px) {
  button.btnClose {
    font-size: 16rem;
    width: 80%;
    margin: 36px auto 0;
  }
}


button.btnClose:hover {
  color: #444;
  background: #FFF;
}
