@charset "UTF-8";

body{
    margin: 0;
    padding: 0;
}

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

}

h2{
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 30px;
}

h3{
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

p{
    text-align: center;
    font-size: 25px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a{
    text-decoration:none;
    color:inherit;

}

img{
    margin: 0;
    display:block;

}

.w-container{
    width: min(92%,1166px);
    margin: auto;

}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img{
    max-width: 299px;
    height: auto;
    margin-left: 15px;
    margin-top: 15px;
}

/* 960px以上の時のヘッダーの変化のしかた */
@media screen and (min-width: 960px){
    header img{
        width: 80%;
        height: auto;

    }
}

nav ul{
    font-family: "Covered By Your Grace", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    text-align: right;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    gap:15px;
    font-size: 80%;
    margin-right: 15px;
}

nav ul li{
    text-decoration: underline;
}

/* 960px以上に適用されるCSS（PC用） */
 @media screen and (min-width: 960px) {
    nav ul{
    font-size: 3vw;
    }
 }


.catch{
    font-family: "Covered By Your Grace", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 35px;
    text-align: right;
    margin: 0;
}

.top-img{
    position: relative;
    display: inline-block; /* 画像のサイズに合わせる */
}

.top-img img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    margin-top: 24px;
}

.top-img .catch {
    position: absolute;
    top: 60vw;
    right: -15vw;
    transform: translate(-50%, -50%);
    font-family: "Covered By Your Grace", cursive;
    font-size: 3vw;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.concept{
    margin-top: 50px;
    margin-bottom: 50px;
    
}

.concept:where(h2,p){
    margin: revert;
    padding:revert;

}

.concept h1{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
@media screen and (min-width: 960px){
.concept p{
    font-size: 30px;
}
}

.menu{
    display: flex;
    flex-direction: column;

}

.menu-img img{
    width:100%;
    height:auto;

}

.menu-container p{
    text-align: left;
}

.menu-container h3,p{
    font-size: 15px;
}

.menu-container h3{
    margin-bottom: 10px;
    border-bottom: #ccc 1px solid;

}

/* PC表示のときだけ横並び */
@media screen and (min-width: 960px) { 
    .menu {
        width:100%;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;

    }

    .menu-img img{
        width: 600px;
        height: auto;

    }

    .menu-container{
        width:300px;

    }

}

.about-menu p{
    text-align: left;
    margin-bottom: 10px;
    border-bottom: #ccc 1px solid;
}

.about-container{
    display: flex;
    flex-direction: column;

}

.about-img img{
    width: 100%;
    height: auto;
    
}

.about-container h3,p{
    display: block;

}

/* PC表示のときだけ横並び */
@media screen and (min-width: 960px) {
    .about-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;
    }


    .about-container img{
        width: 600px;
        height: auto;

    }

    .about-menu{
        width:300px;

    }

    .kara{
        width:300px;
    }

}

.contact{
    margin-bottom: 90px;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
}

footer img{
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 30px;
}

@media(max-width:400px){
    .footer{
    display: flex;
    flex-direction: column; /* 縦並びにする */
    }
}