@charset "UTF-8";

/*基本*/
:root{
	--v-space:clamp(90px,9vw,120px);
}
	
body{
margin: 0;
padding: 0;
color: #727c58;
}

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

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

h1,h2,h3,h4,h5,h6,p{
    margin: 0;

}

/*各セクションの余白*/
.about,.news,.access,.contact{
    margin-top: 80px;
    margin-bottom: 80px;
}

/*リンク*/
a{
	color:inherit;
	text-decoration:none;
	
	}

a:hover{
	filter:brightness(90%) contrast(120%);
	
	}

/*横幅と左右の余白*/
.w-container{
    width:min(92%,1166px);
    margin:auto;
}

/*ヒーロー*/
.hero{
    background-image: url(img/hero.jpg);
    height: 950px;
    background-position: center;
    background-size: cover;
    position: relative;
    }

.hero-container{
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
}

.logo-container{
    position: absolute;
    top: 360px;
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;
}

.logo{
    margin-bottom: 0;
    margin-top: 0;
    width: 200px;
    height: 200px;
}

.title-h{
    margin: 0;
    padding: 0;
    font-size: 30px;
    font-family: "Yuji Boku", serif;
    color: #ee973f;
}

/*pc*/
@media(min-width:768px){
    .logo{
        margin-bottom: 0;
        margin-top: 0;
        width: 250px;
        height: 250px;
    }

    .title-h{
        margin: 0;
        padding: 0;
        font-size: 48px;
    }    

}

/*ヘッダー*/
.header{
    height:100px;
    background-color: transparent;
}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:100%;
}

@media(max-width:767px){
    .header-container{
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: -420px;
        left: 20px;
    }

}


/*ナビゲーション*/
  
.nav ul{
    display: flex;
    gap: 20px;
    color: #dbcfae;
}

.nav li{
    width: 40px;
    height: auto;
}


/*タイトルとサブタイトル*/
.heading-decoraton{
    font-size: clamp(30px,3vw,40px);
    min-height: 0vw;
    font-weight: 400;
    color: #ee973f;
    font-family: "Yuji Boku", serif;
    background-image: linear-gradient(90deg, #727c58 0 20%, #dbcfae 20%);
    background-repeat: no-repeat;
    background-size: 100% 5%;
    background-position: bottom;
    width: 200px;
    
}

.heading-decoraton + p{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    color: #ee973f;
    font-family: "Yuji Boku", serif;
    font-size: 18px;
}

/*画像と文書*/
.imgtext{
    padding: clamp(20px,3vw,50px) 0;
}

.img{
    margin: 0;
}

.imgtext-container{
    display: flex;
    flex-direction: column;
    gap:clamp(45px,6vw,80px);
}

@media(min-width:768px){
    .imgtext-container{
        flex-direction: row-reverse;
        align-items: center;

    }
    
    .text-container{
        position: relative;
    }

    .text{
        position: absolute;
        top: -230px;
    }

}

.imgtext-container > .text-container{
    flex: 1;
}

.imgtext-container > .img{
    flex: 2;
}


/*流れる画像*/
@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(-100%);
    }
    }
    .scroll-infinity__wrap {
      display: flex;
      overflow: hidden;
    }
    .scroll-infinity__list {
      display: flex;
      list-style: none;
      padding: 0
    }
    .scroll-infinity__list--left {
      animation: infinity-scroll-left 80s infinite linear 0.5s both;
    }
    .scroll-infinity__item {
      width: calc(100vw / 6);
    }
    .scroll-infinity__item>img {
      width: 100%;
    }

/*ニュース*/
.news a{
    display: flex;
    align-items: center;
}

.news figure{
    width: 100px;
    flex: none;
}

.news-text{
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
}

/*アクセスとお問合せ*/
.jusyo,.otoiawase{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

address{
    text-align: center;
}

.jusyo a,.contact a{
    border:solid 1px #727c58;
    padding: 10px 40px;
    border-radius: 30px;
    background-color: #727c58;
    color: #dbcfae;
    margin-top: 20px;
}

.map{
    width: 400px;
    height: 430px;
}

/*フッター*/
.footer{
    padding:70px 0;
    font-size: 13px;
    background-color: #ee973f;
    color: #fff;
    margin-top: 20px;

}

.footer-container{
    display: grid;
    gap: 50px;
    justify-items: center;
    
}

.footer-logo{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-logo figure{
    margin-bottom: 0;
}

.title-f{
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-family: "Yuji Boku", serif;
    color: #fff;
}

.footer-logo img{
    width: 100px;
    height: 100px;
}

/*PC*/
@media(min-width:768px){
    .footer-container{
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }

    .footer-container > .footer-site{
        margin-bottom: 20px;

    }

    .footer-container > *:not(.footer-sns){
        justify-self: start;
    }

    .footer-container > .footer-sns{
        grid-column: 2;
        grid-row: 1 / 4;
        justify-self: end;
        align-self: center;
    }

}

/*フッターSNSメニュー*/
.footer-sns{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    font-size: 24px;
}

.footer-sns li{
    background-color: #fff;
    display: flex;
    align-items: center;
    border-radius: 30px;
    padding: 5px 30px;
}

.footer-sns a{
    color: #ee973f;
}

.footer-sns span{
    font-size: 12px;
}

@supports not (aspect-ratio: 1 /1){
    .footer-sns a{
        height: auto;
    }
}

.footer-sns svg{
    fill:#ee973f;

}

/*フッター：テキストメニュー*/
.footer-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:20px;
}
