@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap");

/* レイアウトのためのCSS */

/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #82BB38;
	--secondary-color: #eee;
	--accent-color: #FF112D;
	--white-color: #fff;
	--black-color: #111;
	--gray-color: #333;

	/*余白の一括管理用*/
	/* --content-space: 2rem; */

	--primary-font-family: "Noto Sans JP", sans-serif;
	--secondary-font-family: "Bookman Old Style", "Noto Serif JP", serif;
}

html {
  font-size: 16px;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.4545454545vw;
  }
}
@media (min-width: 1100px) {
  html {
    font-size: 16px;
  }
}

body{
  background:var(--black-color);
  font-family: var(--primary-font-family);
  font-weight: 400;
	color: var(--secondary-color);
	font-size:1rem;
	line-height:1.85;
  letter-spacing: 0.05em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: var(--secondary-color);
	text-decoration: none;
  outline: none;
}
@media (any-hover: hover) {
  a {
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    cursor: pointer;
  }
}

[id] {
  scroll-margin-top: 70px;
}

img{
    max-width: 100%;
    height: auto;
}

/* 画像サイズを固定 */
.splash-logo__img {
  width: 60px;
  height: auto;
}

.splash-logo__text {
  font-family: var(--secondary-font-family);
}

/* area */

#container{
    overflow-x: hidden;
    /*以下、IE11用*/
    z-index: 1;
    position: relative;
}

/* font-family */

h1,
h2,
#service .service-area section h3,
#location .service-area section h3,
#g-nav,
#footer-link,
.scrolldown1 span,
#vidual-area dt,
.footer-logo{
    font-family: var(--secondary-font-family);
    letter-spacing: 0.2em;
}

/* heading */

h2:not(.slider__title) {
    font-size: 2rem;
    margin: 0 0 50px 0;
    text-transform: uppercase;
}

/* header */

.header__logo {
  width: 30px;
  position: relative;
  z-index: 70;
  top:16px;
  left:20px;
  padding: 0;
}
@media screen and (min-width: 768px) {
  .header__logo {
    width: 4rem;
    padding: 0 0 0 2%;
  }
}

.scrolldown1 span {
    transform: rotate(-90deg);
    text-transform:uppercase;
    left: -25px;
    top: -31px;
}

/* vidualarea */
#vidual-area{
    position: relative;
    height: 100vh;
}

body.appear #vidual-area::after{
    content:'';
    background:var(--primary-color);
    width:0;
    height: 12%;
    position: absolute;
    bottom:0;
    right:0;
    z-index: -1;
	animation-name:vidualbgRLextendAnime;
    animation-duration:.2s;
	animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}
@media screen and (max-width: 768px) {
  body.appear #vidual-area::after {
    bottom:-5%;
  }
}

@keyframes vidualbgRLextendAnime {
	0% {
		width:0;
	}
	100% {
		width:40%;
	}
}

#vidual-area #slider-area{
    position: absolute;
    top:0;
    right: 0;
    width:85%;
    z-index: -1;/*最背面へ*/
}

#slider{
  position: relative;
  width:100%;
  height:90vh; /* 必ず高さを指定する */
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

#slider::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45); /* 濃さ調整 */
  z-index: 1;
  pointer-events:none;
}

#vidual-area h2{
    line-height: 1.5;
    font-size: 3vw;
    position: absolute;
    top:36%;
    left:5%;
}

@media screen and (max-width:960px) {
#vidual-area{
    height: 90vh;
}
#vidual-area #slider-area{
    width:100%;
    height: 90vh;
}
#vidual-area h2{
    font-size:2rem;
}
}

@media screen and (max-width:450px) {
#vidual-area h2{
    font-size:7vw;
    top: inherit;
    bottom: 30%;
}

.slider__title-sub {
  font-size: 1rem;
  letter-spacing: .1em;
}
}

/* service */

#service {
    padding: 10% 0 10% 15%;
}

@media screen and (max-width:768px) {
#service{
    padding: 30% 0 10% 30px;
}
}

#location {
    padding: 10% 15% 10% 0;
}

@media screen and (max-width:768px) {
#location{
    padding: 30% 30px 10% 0;
}
}

.location-h2,.location-h2-text {
  padding-left: 15%;
}
@media screen and (max-width:768px) {
.location-h2{
  padding-left: 30px;
}
}


@media screen and (max-width:500px) {
    #service .service-lead{
        padding: 0 10% 0 0;
    }
    #location .service-lead{
        padding: 0 0 0 10%;
    }
#service .service-lead br ,#location .service-lead br{
    display: none;
}
}

#service .service-area,#location .service-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding:10% 0 0 10%;
    position: relative;
}

#service .service-area::after,#location .service-area::after{
    opacity: 0;
}

#service .service-area.startwd::after,#location .service-area.startwd::after{
     content:'';
    position: absolute;
    top:10%;
    right:0;
    width:80%;
    height: 60vh;
    background:#232323;
    z-index: -1;
	animation-name:sevicebgRLextendAnime;
    animation-duration:.9s;
	animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
}

#location .service-area.startwd::after {
  left:0;
}

@keyframes sevicebgRLextendAnime{
	0% {
        opacity: 0;
		width:0;
	}
	100% {
        opacity: 1;
		width:80%;
	}
}

#service .service-area section,#location .service-area section {
     width:30%;
}

@media screen and (max-width:570px) {
#service .service-area section{
     width:100%;
    margin: 0 0 100px 0;
    padding: 0 10% 0 0;
}
 
}
@media screen and (max-width:570px) {
#location .service-area section{
    width:100%;
    margin: 0 0 100px 0;
    padding: 0 0 0 10%;
}
 
}

#service .service-area section h3,#location .service-area section h3{
    font-size:1.5rem;
    line-height: 1;
    margin-bottom: 30px;
}

.h3-sub-title {
  font-size: 1rem;
}

#service .service-area section p,#location .service-area section p{
    margin: 0 0 30px 0;
}

#service .service-img-wrapper,#location .service-img-wrapper{
    position:relative;
    overflow: hidden;
    width:30%;
    height: 60vh;
}

#service .service-img{
    height: 60vh;
    background:url("../img/01.jpg") no-repeat center;
    background-size: cover;
}
#location .service-img{
    height: 60vh;
    background:url("../img/01_2.jpg") no-repeat center;
    background-size: cover;
}

@media screen and (max-width:570px) {
#service .service-img-wrapper,
#service .service-img,
#location .service-img-wrapper,
#location .service-img{
    width:100%;
    height: 40vh;
    background-position: right;
    }
    #service .service-img-wrapper,
    #location .service-img-wrapper{
        margin:0 0 50px 0;
    }
}

/* news */

.news-img-wrapper{
    position:relative;
    z-index: 1;
    overflow: hidden;
    width:90%;
    height: 60vh;
}

.news-img{
    height: 60vh;
    background:url("../img/02.jpg") no-repeat center;
    background-size: cover;
}

.news-img::after{
     content:'';
    position: absolute;
    bottom:0;
    left:0;
    width:70%;
    height: 10vh;
    background:var(--black-color);
    z-index:2;
}

#news{
    padding: 0 0 5% 15%;
}

#news .area li{
    padding: 20px 0;
}

#news .area time{
    display: block;
    color: #aaa;
}

#news .tab{
    position: relative;
    top:1px;
}

#news .tab-choice-area{
    border-top:1px solid #aaa;
    border-left:1px solid #aaa;
}

@media only screen and (max-width: 1110px) {
    .tab-area{
        width:100%;
    }
    
}

@media only screen and (max-width: 768px) {
#news {
    padding: 0 0 5% 30px;
}
}

/* contact */

#contact{
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#contact .contact-detail{
    width:65%;
    border-right: 1px solid #aaa;
    text-align: center;
    padding: 20px;
}

#contact .contact-detail h2{
     margin:0 0 5px 0;   
    font-size: 1.5rem;
}

#contact .contact-tel{
     width:35%;
}

#contact .contact-tel p{
    text-align: center;
}

#contact .contact-tel p a{
     display: block;  
    padding: 50px 20px;
    transition: all .3s;
}

#contact .contact-tel p a:hover{
     background:rgba(255,255,255,0.2);   
}

#contact .contact-tel p:last-child{
    border-top:1px solid #aaa;
}

#contact .contact-tel br{
    display: none;
}

@media screen and (max-width:690px) {
#contact .contact-detail,
#contact .contact-tel{
    width:50%;
}
    
#contact .contact-tel br{
    display: block;
}
#contact .contact-detail h2{
    font-size: 1.2rem;
}
#contact .contact-detail p{
    text-align: left;
}
}

@media screen and (max-width:400px) {
    #contact{
        font-size: 0.8rem;
    }
}
/* footer */

#footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.8;
    padding:5%;
}

#footer .footer-info{
    width:30%;
}

#footer .footer-info .footer-logo{
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

#footer .footer-info address{
    font-style: normal;
    margin: 0 0 10px 0;
}

#footer .footer-info ul li{
    margin: 0 0 10px 0;
}

#footer .footer-info dl dt,
#footer .footer-info dl dd{
    display: inline-block;
}

#footer .footer-info dl dt::after{
    content:':';
    padding: 0 10px;
}


#footer .footer-link{
    width:65%;
}

#footer .footer-link ul{
     display: flex;
    flex-wrap: wrap;
    line-height: 2.5;
}

#footer .footer-link ul li{
    margin: 0 20px;
}

#footer .footer-link ul ul li{
    margin:0 10px 0 0;
}

#footer small{
    padding: 100px 0 0 0;
    display: block;
    text-align: right;
    color: #aaa;
}
#footer .footer-link ul ul{
     display: block;
}

@media screen and (max-width:830px) {
    #footer{
        justify-content: center;
        padding:5% 0;
    }
    #footer .footer-info{
        width:100%;
        padding: 0 0 5% 0;
        margin: 0 0 5% 0;
        text-align: center;
        border-bottom: 1px solid #aaa;
    }
    #footer .footer-info li:nth-of-type(2) dt::after{
        content:'';
        padding: 0;
    }
    #footer .footer-info li:nth-of-type(2) dd{
        display: block;
    }
    
    #footer .footer-link{
        width:auto;
    }

    #footer .footer-link ul {
    justify-content: center;
    }
    
    #footer small {
        padding:10% 0;
        text-align:center;
    } 
}

@media screen and (max-width:400px) {
    #footer .footer-link ul li{
        margin: 0 10px;
}
}
