@charset "UTF-8" ;

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Kiwi Maru", serif;
    font-size: 1.5vw;
    letter-spacing: 0.1em;
    background-image: url(../images/about-bgimg.png);
    background-repeat: repeat;
    background-size: 100% 100%;

}

/*header*/
header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(140,119,76,0.5);
    z-index: 200;
}

header h1 {
    display: block;
    font-family: "Yuji Boku", serif;
    width: 40%;
    font-size: 4.5vw;
    margin: 0 1%;
}

header h1 img {
    width:40%;
    margin-right: 4%;
} 

header ul {
    display: flex;
    width: 55%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: 1%;
}

header li {
    width: calc(100%/5);
    font-size: 1.3vw;
    text-align: center;
    list-style-type: none;
    padding: 1.5%;
    margin-left: auto;
}

header li a:hover {
    transform: scale(1.1,1.1);
    transition: 0.5s;
}

header li a {
    display: block;
    text-decoration: none;
    color: #fff;
    transition: 0.5s;

}

/*main*/
main section:nth-child(1){
    text-align: center;
}

main section:nth-child(1) div{
    width: 100%;
}

main section:nth-child(1) div img{
    width: 100%;
}

main section:nth-child(1) h2{
    font-size: 3.5vw;
    color: rgba(140,119,76,1);
    margin-top: 5%;
}

main section:nth-child(1) p {
    white-space: pre-wrap;
    margin: 3% 0 8% 0;
}

/*５つのこだわり*/
main section:nth-child(2){
    margin-bottom: 8%;
}
main section:nth-child(2) div{
    display: flex;
    position: relative;
    margin-bottom: 5%;
}


main section:nth-child(2) div ul {
    position: absolute;
    width: 60%;
    z-index: 100;
}

main section:nth-child(2) div ul li{
    width: 80%;
    list-style: none;
    margin: 5% auto;
}

main section:nth-child(2) div ul li:nth-child(1){
    color: white;
    font-size: 1.8vw;
}

main section:nth-child(2) div ul li:nth-child(2){
    line-height: 1.7;
    text-indent: 1em;
}


main section:nth-child(2) div .commitment-img{
    width: 50%;
}

main section:nth-child(2) div .commitment-img img{
    width: 100%;
}

main section:nth-child(2) div .commitment-img:nth-child(even){
    margin-left: auto;
}

main section:nth-child(2) div .explanation1{
    background: rgb(255,255,255);
    background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(195,184,162,1) 30%, rgba(140,119,76,1) 100%);
    
}
main section:nth-child(2) div .explanation2 {
    right: 0;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(195,184,162,1) 30%, rgba(140,119,76,1) 100%);
}

main section:nth-child(2) p{
    white-space: pre-wrap;
    text-align: center;
}

/*アクセス*/
.access-flex {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.access {
    padding: 5% 0;
    background-color: white;
}
.access h2 {
    font-size: 3.5vw;
    color: rgb(140,119,76);
    text-align: center;
    line-height: 2.0;
    margin-bottom: 3%;
}

.access-childbox {
    margin-top : 5%;
}

.access-childflex {
    margin-top: 5%;
}

.access-childflex address {
    font-style: normal;
}

.access-flex h4 {
    font-size: 1.3vw;
    width: 10vw;
}

.access-flex p {
    font-size: 1.3vw;
    width: 30vw;
}

.address-flex1,.address-flex2,.address-flex3,.address-flex4 {
    display: flex;
    margin-bottom: 3%;
}

.address-flex1 address {
    font-size: 1.3vw;
}

.address-flex2 span:nth-child(1) {
    letter-spacing: 0.1em;
}

.address-flex2 span:nth-child(2) {
    font-size: 1.2vw;
    margin-left: 1vw;
}

.address-flex4 {
    width: 70%;
    background-color: #fff;
    padding: 3% 5%;
    margin-top: 15%;
    border: 0.1vw solid rgb(140,119,76);
    border-radius: 0.5vw;
}

.address-flex4 address {
    font-size: 1.5vw;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-left: auto;
}

.access-flex iframe {
    height: 30vw;
    margin: 0 auto;
}

/*フッター*/
footer {
    background-color: rgb(140,119,76);
    width: 100%;
    padding-top: 2%;
    padding-bottom: 2%;
    
}

footer ul {
    display: flex;
    width: 50%;
    margin: 0 auto 2% auto;
    justify-content: space-between;
}

footer ul li {
    width: calc(100%4);
    padding: 2%;
    list-style-type: none;
}

footer ul li a {
    display: block;
    font-size: 1.2vw;
    color: #fff;
    text-decoration: none;
}

footer p {
    font-size: 1.0vw;
    text-align: center;
}
