
/* CSS Document */

/* base
----------------------------------------- */


html {
	font-size:62.5%;
}

body {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
	font-size:1.9rem;
	line-height:3.25rem;
	min-width:1200px;
	-webkit-text-size-adjust:none;
	position:relative;
}

@media screen and (max-width:640px){
	body {
        font-family: "Noto Serif JP", serif;
        font-style: normal;
		font-size:1.8rem;
		line-height:3.25rem;
		min-width:inherit;
		-webkit-text-size-adjust:none;
	}
}

a:link {
	border: 0;
	text-decoration: none;
	padding: 0;
	margin: 0;
	outline: none;
	color: inherit;
}

a:focus {
	border: 0;
	text-decoration: none;
	padding: 0;
	margin: 0;
	outline: none;
	color: inherit;
}

a:visited {
	border: 0;
	text-decoration: none;
	padding: 0;
	margin: 0;
	outline: none;
	color: inherit;
}

a:active {
	border: 0;
	text-decoration: none;
	padding: 0;
	margin: 0;
	outline: none;
	color: inherit;
}

a[href^="tel:"] {
	cursor: default;
}

.clear:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clear {
	min-height: 1px;
}

* html .clear {
	height: 1px;/*¥*//*/
	height:auto;
	overflow:hidden;
	/**/
}

main{
	position:relative;
}



@media print, screen and (min-width:641px){
.pc-only{
}

.sp-only{
	display:none !important;
}

.sp-menu{
	display:none;
}

#sp-bottom-btn{
    display: none;
}

}

@media screen and (max-width:640px){
.pc-only{
	display:none !important;
}

.sp-only{
    display:block;
}
}


/* wrap */

.hero {
  position: relative;
}

/* video */

.video-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 750px;
  height: 100vh;
}

.video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* overlay */

.overlay:after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
}
.overlay:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 320px;
    background-image: url(../images/copy.svg);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1000;
}

/* text */

.text-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.80);
  display: flex;
  justify-content: center;
  align-items: center;
}

#text-base{
    position: absolute;
    width: 500px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 740px;
}

.name {
  position: absolute;
  bottom: 0;
  left: calc(100% - 1px);
}

#text{
    max-height: 100vh;
    text-align: center;
    color: #00385b;
    font-size: 1.7rem;
    line-height: 3rem;
}

.catchcopy{
    font-size: 2rem;
    line-height: 3rem;
    margin-top: 30px;
}

.business{
    margin-top: 75px;
    font-size: 2rem;
    line-height: 3rem;
    display: flex;
    justify-content: space-between;
}

.business:before,
.business:after{
    content: "";
    border-bottom: solid 1px #00385b;
    width: calc(50% - 3em);
    height: 1.5rem;
}

.business-list{
    width: 500px;
    margin-top: 20px;
    padding-bottom: 15px;
    border-bottom: solid 1px #00385b;
}

.business-list li{
    margin-bottom: 10px;
}

.detail{
    margin-top: 70px;
}

a.contact{
    margin-top: 25px;
    display: block;
}

.open{
    margin-top: 50px;
}


@media screen and (max-width:640px){

    /* wrap */

    .hero {
      position: relative;
    }

    /* video */

    .video-box {
      position: relative;
      overflow: hidden;
      width: 100%;
      min-height: inherit;
      height: 80lvh;
    }
    .video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
    }

    /* overlay */

    .overlay:after {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      width: 100%;
      height: 100%;
      content: "";
      background-color: rgba(255,255,255,0.30);
    }
    .overlay:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 320px;
        background-image: url(../images/copy.svg);
        background-position: top right;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 1000;
    }

    /* text */

    .text-box {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255,255,255,0.0);
      display: inherit;
      justify-content: center;
      align-items: center;
    }
    
    #text-base{
        position: absolute;
        width: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        height: auto;
    }

    .name {
      /**position: absolute;
      bottom: 0;
      left: calc(100% - 1px);
      **/
      display: none;
    }

    #text{
        max-height: inherit;
        text-align: center;
        color: #00385b;
        font-size: 1.7rem;
        line-height: 3rem;
    }

    .logo{
        height: 80lvh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo img{
        width: 80%;
    }

    .catchcopy{
        font-size: 1.6rem;
        line-height: 3rem;
        margin-top: 20px;
    }

    .business{
        font-size: 2rem;
        line-height: 3rem;
        display: flex;
        justify-content: space-between;
        width: 90%;
        margin: 75px auto 0 auto;
    }

    .business:before,
    .business:after{
        content: "";
        border-bottom: solid 1px #00385b;
        width: calc(50% - 3em);
        height: 1.5rem;
    }

    .business-list{
        width: 90%;
        margin: 20px auto 0 auto;
        padding-bottom: 15px;
        border-bottom: solid 1px #00385b;
    }

    .business-list li{
        margin-bottom: 10px;
    }

    .detail{
        margin-top: 70px;
    }

    a.contact{
        margin-top: 25px;
        display: block;
    }

    .open{
        margin-top: 80px;
        padding-bottom: 80px;
    }
}
