* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: serif;
    color: rgb(27, 27, 27);
    overflow-x: hidden;
}
section {
    padding: 3rem;
}
.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s;
}
.animate.appear {
    opacity: 1;
    transform: none;
}
.animate.delay {
    transition-delay: .3s;
}
h1 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-left: 0.5rem;
}
h2 {
    font-size: 1.2rem;
    font-weight: 400;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    width: 100%;
    vertical-align: bottom;
}
.wm-rl {
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin-left: auto;
}

/* header */
header {
    padding: 3rem;
}
.header-logo {
    margin-left: 3rem;
}
.header-logo img {
    width: 150px;
    opacity: .8;
}
.header-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
} 
.header-nav a {
    padding: 0 1rem 1rem 1rem;
    opacity: .8;
}
.header-nav a:hover {
    opacity: 1;
}
.header-icon {
    display: flex;
}
.header-icon li a {
    padding: 0 1rem 1rem 1rem;
    opacity: .7;
}
.header-icon li a:hover {
    opacity: 1;
}

.header-nav a {
    transition: all.3s;
}

@media (max-width: 800px) {
    .header {
        text-align: center;
    }
    .header h1 {
        margin-bottom: 1rem;
    }
    header.wm-rl {
        writing-mode: inherit;
    }
    .header-logo {
        margin: 0;
    }
    .header-logo img {
        margin-bottom: 3rem;
    }
    .header-nav {
        writing-mode: vertical-rl;
        text-orientation: upright;
        margin-left: auto;
    } 
}

@media (max-width: 600px) {
    .header-nav {
        gap: 1rem;
        margin: 0 auto;
    } 
    #toriyoshi .header-icon {
        margin-right: 1rem;
    }
}

/* main */
.main-visual {
    position: relative;
}
.main-visual img {
    position: absolute;
    top: -150px;
    left: -9%;
    width: 75%;
    z-index: -1;
}

@media (max-width: 800px) {
    .main-visual img {
        position: absolute;
        top: -50px;
        left: -9%;
        min-width: 400px;
    }
}

/* section共通設定 */
section h2 {
    margin: 0 2rem;
}
.sec-text {
    padding: 1rem;
}
section p {
    line-height: 3;
}
@media (max-width: 800px) {
    section {
        padding: 1rem;
        margin-top: 5rem;
    }
    .sec-text {
        line-height: 2;
        text-align: justify;
    }
}


/* sec01 */
.sec01 {
    padding-top: 300px;
    margin-right: 6%;
} 


/* sec02 */

.sec02-visual {
    position: relative;
}
.sec02-visual img {
    position: absolute;
    top: -150px;
    right: 0;
    max-width: 400px;
}
.sec02 h2 {
    margin-right: 120%;
}

.sec02-text {
    padding: 1rem;
}
.sec02 p {
    line-height: 3;
}

@media (max-width: 800px) {
    .sec02-visual img {
        position: absolute;
        top: -150px;
        right: 0;
        width: 200px;
    }
    .sec02-box {
        margin-top: 5rem;
    }
}


/* sec03 */
.sec03 {
    padding-top: 150px;
    margin-right: 6%;
}
.sec03-visual {
    position: relative;
}
.sec03-visual img {
    position: absolute;
    top: -100px;
    max-width: 45%;
}
.sec03 h2 {
    margin:0 2rem;
}
.sec03-text {
    padding: 1rem;
}
.sec03 p {
    line-height: 3;
}
@media (max-width: 800px) {
    .sec03-visual img {
        position: absolute;
        top: -200px;
        left: 0;
        width: 300px;
    }
    .wm-rl {
        writing-mode: inherit;
    }
    .wm-rl h2 {
        margin: 0;
    }
}


/* footer */
#footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-top: solid 1px #fff;
    font-size: 0.75rem;
    padding: 80px 20px;
    text-align: left;
}
#footer p {
    line-height: 2;
}
#footer .sns {
    display: flex;
    align-items: center;
    margin-top: 30px;
}
#footer .sns li {
    margin-right: 18px;
}
#footer .sns li i {
    margin-left: 5px;
}
#footer .sns li a {
    opacity: .8;
    transition: all .5s;
}
#footer .sns li a:hover {
    opacity: 1;
}
.copyright p {
    padding: 1rem 0;
    text-align: center;
}



/* メニュー */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    margin-top: 6%;
    margin-bottom: 50px;
}
.item {
    overflow: hidden;
}
.item p {
    margin-left: 1rem;
}
.item img {
    transform: scale(.9);
    transition: .5s;
    opacity: .9;
    cursor: pointer;
}
.item img:hover {
    opacity: 1;
    transform: scale(1);
}

/* contact */
#contact {
    background-image: url(../img/contactBg.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    color: #fff;
}
#contact .header-nav a {
    transition: .5s;
    color: rgb(224, 222, 222);
}
#contact .header-nav a:hover {
    color: #fff;
}
.page-title {
    font-size: 1.8rem;
}
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 240px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
.button {
    font-size: 1.5rem;
    background:rgba(255, 255, 255, 0.5);
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    padding: .5rem 1rem;
    transition: all .8s;
    cursor: pointer;
    line-height: 1;
}
.button:hover {
    background:rgba(0, 0, 0, 0.7);
    color: #fff;
}
.fadein {
    opacity: 0;
    transform: translate(0, 100px);
    transition: 1.5s;
}
.fadein.show {
    transform: translate(0, 0);
    opacity: 1;
}


/* 店舗情報*/

#tenpo {
    background-image: url(../img/backbg.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 100vh;
    color: #fff;
    text-shadow: 2px 2px 3px #000;
}
#tenpo .header-nav a {
    transition: .5s;
    color: rgb(224, 222, 222);
}
#tenpo .header-nav a:hover {
    color: #fff;
}
#tenpo h2 {
    font-size: 2rem;
    letter-spacing: 10px;
}
#access .place {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 20px;
}
#access .address {
    margin-bottom: 20px;
}
#access .contact {
    margin-bottom: 30px;
}
#access .btn {
    border: solid 1px rgb(0, 0, 0, .8);
    color: rgb(0, 0, 0);
    background: rgb(255, 255, 255, .5);
    display: inline-block;
    padding: 15px 82px;
    transition: 0.3s;
}
#access .btn:hover {
    background-color: #050507;
    color: rgb(255, 255, 255);
    border: solid 1px rgb(255, 255, 255, .8);
}