@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --black: #333;
    --yellow: #e6b422;
    --red: #7D011A;
}
html {
    font-size: 10px;
    overflow-y: scroll;
}
body {
    font-size: 1.6em;
    line-height: 1;
    font-family: "Shippori Mincho", serif;
    color: var(--black);
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    width: 100%;
}
ul, ol, dl {
    list-style: none;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"],
textarea {
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* header------------------------------------ */
header {
    background: url(../img/bg_black.webp) no-repeat top/cover;
    display: flex;
    padding: 20px 40px 20px 35px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
header>div {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ハンバーガーメニュー */
.hamburger {
    width: 50px;
    height: 50px;
    position: relative; /* 基準 */
  /* 0.5秒かけて変化させる */
    transition: all 0.5s;
    cursor: pointer;
  /* ::afterを左右中央寄せにする */
    text-align: center;
  /* 他要素と並べるため 1本目の線を下げた分だけ上げる */
    margin-top: -23px;
    z-index: 20;
}
/* ハンバーガーメニューの線の設定（メニューが閉じている時）*/
.hamburger span {
  /* spanはインライン要素のため */
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.5s;
    position: absolute;  /* 対象 */
}
/* 1本目の線の位置を設定 */
.hamburger span:nth-child(1) {
    top: 33%;
}
/* 2本目の線の位置を設定 */
.hamburger span:nth-child(2) {
    top: 66%;
    width: 25px;
}
/* 1本目の線を-45度回転 transformで線のど真ん中の点を中心に動く */
.open .hamburger span:nth-child(1) {
    top: 50%;
    transform: rotate(-45deg);
}
/* 2本目の線を45度回転 */
.open .hamburger span:nth-child(2) {
    top: 50%;
    transform:  rotate(45deg);
    width: 50px;
}
/* 2本の線がtop: 50%となったため中心に重なる */

.hamburger::after {
  /* 左右中央寄せにするため block要素にする（親要素にcenter指定済み）*/
    display: block;
    content: "メニュー"; /* MENU */
    font-size: 70%; /* 80% */
    font-weight: 500;
    letter-spacing: .075em; /* .1em */
    padding-left: .1em;
    padding-top: 100%;
}
.hamburger.active::after {
    content: "閉じる";
    padding-left: .3em;
    padding-top: calc(100% + .375em);
}
/* ここから開いてからのこと */
.hamburger_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: url(../img/bg_black.webp) no-repeat top/cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding: 120px 80px;
    z-index: 10;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.hamburger_menu.open {
    opacity: 1;
    pointer-events: auto;
}
.hamburger_menu>ul {
    display: flex;
    flex-flow: column;
    align-items: center;
}
.hamburger_menu>ul>li>img {
    width: 200px;
    margin-bottom: 60px;
}
.nav_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}
.nav {
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    display: flex;
    flex-flow: column;
    gap: 1.75em;
    padding-top: 40px;
    border-top: #fff .75px solid;
}
.nav li>a {
    font-size: 1em;
    letter-spacing: .1em;
    line-height: 1.375;
    color: #fff;
}
.nav li>a:hover {
    opacity: .6;
}
.nav li>p {
    font-size: 60%;
    color: #999;
    letter-spacing: .1em;
    padding-top: .25em;
}
.link {
    gap: 60px;
    padding-left: 8%;
    border-left: #fff .75px solid;
}
.link li>p {
    text-align: center;
    font-size: .85em;
    line-height: 1.75;
    margin-bottom: 1.5em;
}
.link li>div {
    display: flex;
    flex-flow: column;
    gap: 20px;
}
.yellow,
.red {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 55px;
    border-radius: 99px;
    transition: 1s all;
}
.yellow:hover ,
.red:hover {
    transform: scale(1.06,1.06);
    transition: 1s all;
}
.yellow {
    background: var(--yellow);
}
.red {
    background: var(--red);
}
.tel,
.net {
    display: inline-block;
    text-align: center;
}
.tel>div>p {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1;
}
.net>p {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.25;
} 
.tel>div>p>span {
    font-size: .625em;
}
.net>p>span {
    font-size: .75em;
}
.tel>div>img {
    width: 30px;
    height: 30px;
    margin: auto 0;
}
.tel>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .25em;
    padding-right: 1em;
}
.tel>div>a {
    display: inline-block;
    text-align: center;
}
.red>a {
    display: inline-block;
    text-align: center;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.25;
}

/* headerのメニュー横のボタン（下層ページのみ） */
.button>a {
    display: inline-block;
    text-align: center;
    font-size: .85em;
    font-weight: 500;
    width: 145px;
    padding: 1em;
    border-radius: 99px;
    transition: 1s all;
}
.button>a:hover {
    transform: scale(1.06,1.06);
    transition: 1s all;
}
.button>a:first-of-type {
    background: var(--yellow);
}
.button>a:last-of-type {
    background: var(--red);
    margin-left: 15px;
}

/* ロゴ */
header>p a>img {
    height: 50px;
    width: auto;
    object-fit: contain;
}


/* main  ***************************************/
main {
    background: url(../img/bg_white.webp) no-repeat top/cover;
}
/* contactPage ----- */
.mailform {
    display: flex;
    flex-flow: column;
    width: 100%;
    max-width: 800px;
    margin:  0 auto;
    padding: calc(4em + 91px) 1.5em 8em;
}
.mailform h1 {
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.75;
    text-align: center;
    margin-bottom: 3em;
    position: relative;
}
.mailform h1::after {
    content: '';
    border-bottom: var(--black) .825px solid;
    width: 150px;
    height: .825px;
    position: absolute;
    right: calc(50% - 75px);
    bottom: -1.5em;
} 
.mailform p {
    line-height: 1.5;
    margin-bottom: 3em;
    text-align: center;
}
.mailform p>span {
    display: inline-block;
}
.mailform table {
    width: 100%;
}
.mailform table th {
    text-align: left;
    vertical-align: top;
    padding: .5em 0;
    font-weight: 400;
    line-height: 1.7;
    width: 25%;
    }
.mailform table td {
    padding: .5em .25em;
}
.mailform table td:not(.sei, .mei) {
    width: 100%;
}
.mailform fieldset {
    border: none;
}
.mailform>form fieldset>table tr:first-of-type td {
    display: flex;
    align-items: center;
    gap: .75em;
}
.mailform input[type="text"],
.mailform input[type="email"],
.mailform input[type="tel"],
.mailform textarea,
.mailform select {
    width: 100%;
    padding: .75em;
    border: #999 1px solid;
    font: inherit; 
    outline: none;
}
.mailform input[type="text"]:focus,
.mailform input[type="email"]:focus,
.mailform input[type="tel"]:focus,
.mailform textarea:focus {
    outline: #999 3px solid;
    outline-offset: -3px;
}
.mailform textarea {
    resize: vertical;
    height: 10em;
    line-height: 1.5;
}
.mailform ::placeholder {
    color: #999;
}
.g-recaptcha {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    width: 300px;
    margin-top: 2.5em;
    position: relative;
    z-index: 0;
}
.submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-top: 2.5em;
}
.submit input {
    border: none;
    display: block;
    text-align: center;
    font-size: .75em;
    font-weight: 400;
    background-color: var(--black);
    color: #FFFFFF;
    margin: 0 auto;
    padding: 1.75em 0;
    width: 250px;
    border-radius: 99px;
    position: relative;
    z-index: 1;
}
.submit input:hover {
    opacity: .8;
}

/* confirmPage ----- */
.confirm {
    display: flex;
    flex-flow: column;
    width: 100%;
    max-width: 800px;
    margin:  0 auto;
    padding: calc(8em + 91px) 1.5em 8em;
}
.confirm h1 {
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.75;
    margin: 0 auto 4em;
    position: relative;
}
.confirm h1::after {
    content: '';
    border-bottom: var(--black) .825px solid;
    width: 150px;
    height: .825px;
    position: absolute;
    right: calc(50% - 75px);
    bottom: -1.5em;
} 
.confirm form {
    display: flex;
    flex-flow: column;
    margin: 0 1em;
    gap: 2.5em;
}
.confirm form ul {
    display: flex;
    justify-content: center;
    width: 100%;
}
.confirm form ul li {
    line-height: 1.75;
}
.confirm form ul li:first-of-type {
    width: 25%;
    color: #999;
}
.confirm form ul li:last-of-type {
    width: 50%;
}
.confirm div {
    display: flex;
    justify-content: center;
    padding: 0 1em;
    margin-top: 3em;
    gap: 8%;
}
.confirm div input,
.confirm div button {
    border: none;
    text-align: center;
    background: var(--black);
    color: #FFFFFF;
    font-size: .75em;
    padding: 1.5em 0;
    width: 12em;
    border-radius: 99px;
}
.confirm div input:hover,
.confirm div button:hover {
    opacity: .8;
}

/* thanksPage ----- */
.thankyou {
    width: 100%;
    max-width: 800px;
    margin:  0 auto;
    padding: calc(8em + 91px) 1.5em 8em;
    text-align: center;
}
.thankyou h1 {
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 3em;
    position: relative;
}
.thankyou h1::after {
    content: '';
    border-bottom: var(--black) .825px solid;
    width: 150px;
    height: .825px;
    position: absolute;
    right: calc(50% - 75px);
    bottom: -1.5em;
} 
.thankyou p {
    font-size: .825em;
    line-height: 2;
    margin-bottom: 4em;
}
.thankyou p>span {
    display: inline-block;
    line-height: 2;
}
.thankyou a {
    position: relative;
    display: block;
    text-align: center;
    background: var(--black);
    color: #fff;
    font-size: .75em;
    margin: 0 auto;
    padding: 1.75em 0;
    width: 20em;
    border-radius: 99px;
}
.thankyou a:hover {
    opacity: .8;
}



/* footer---------------------------------------- */
footer {
    background: url(../img/bg_black.webp) no-repeat bottom/cover;
    color: #fff;
}
footer>div {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
footer .title {
    display: flex;
    justify-content: center;
    padding-top: 120px;
}
footer .title h2 {
    writing-mode: vertical-rl;
    padding: 0 9px 0 0;
    letter-spacing: .15em;
    font-size: 1.25em;
    font-weight: 400;
    text-shadow: 5px 5px 10px #33333380;
    border-right: #fff .825px solid; /* 表示修正で消す */
}
footer .title p {
    writing-mode: vertical-rl;
    padding: 0 0 0 10px;
    color: #e6e6e6;
    text-shadow: 5px 5px 10px #33333380;
    position: relative;
    font-size: .75em;
    letter-spacing: .1em;
}
footer .title p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    width: .825px;
    height: 110px;
}

address {
    display: flex;
    justify-content: space-evenly;
    font-style: normal;
    margin: 100px 0;
}
address h3 {
    font-weight: 400;
}

.route {
    display: flex;
    flex-flow: column;
    position: relative;
}
.route ul {
    font-size: .85em;
    position: relative;
    z-index: 1;
}
.route ul li:not(.main_address, .open_hour){
    margin: 12px 0;
}
.route img {
    width: 90px;
    position: absolute;
    top: -10px;
    right: 0; 
    z-index: 0;   
}
.main_address,
.open_hour {
    margin: 2em 0;
    line-height: 1.75em;
}
.open_hour span {
    letter-spacing: .15em;
}
iframe {
    width: 450px;
    height: auto;
    object-fit: cover;
}

.reservation {
    display: flex;
    justify-content: center;
    gap: 10%;
    padding-bottom: 120px;
    border-bottom: #fff .75px solid;
}
.yellow {
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 60px;
    border-radius: 99px;
    transition: 1s all;
}
.yellow:hover {
    transform: scale(1.06,1.06);
    transition: 1s all;
}
.tel,
.net {
    display: inline-block;
    text-align: center;
}
.tel>div>p {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1;
}
.net>p {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.25;
} 
.tel>div>p>span {
    font-size: .625em;
}
.net>p>span {
    font-size: .75em;
}
.tel>div>img {
    width: 30px;
    height: 30px;
    margin: auto 0;
}
.tel>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .25em;
    padding-right: 1em;
}
.tel>div>a {
    display: inline-block;
    text-align: center;
}

/* 恵比寿店紹介----------------------- */
.ebisu {
    display: flex;
    justify-content: center;
    gap: 8%;
    padding : 120px 10% 0;
    max-width: 800px;
}
.ebisu>div {
    display: flex;
}
.ebisu>div h2 {
    writing-mode: vertical-rl;
    padding: 0 10px 0 0;
    letter-spacing: .15em;
    font-size: 1.25em;
    font-weight: 400;
    text-shadow: 5px 5px 10px #33333380;
}
.ebisu>div p {
    writing-mode: vertical-rl;
    padding: 0 0 0 10px;
    color: #e6e6e6;
    text-shadow: 5px 5px 10px #33333380;
    position: relative;
    font-size: .75em;
    letter-spacing: .1em;
}
.ebisu>div p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    width: .825px;
    height: 230px;
}
.ebisu a img {
    max-width: 400px;
    max-height: 260px;
    object-fit: cover;
}
/* fooyterNav---------------------- */
.footerbox_l {
    display: flex;
    justify-content: center;
    margin-top: 200px;
}
.footerNav {
    display: flex;
    flex-flow: row-reverse;
    gap: 8%;
    padding: 0 3% 0 5%;
}
.footerNav>img {
    width: 45px;
    margin-top: -55px;
}
.footerNav ul {
    writing-mode: vertical-rl;
}
.footerNav ul li {
    font-size: .825em;
    letter-spacing: .1em;
    line-height: 1.375;
    margin: 0 1em;
}
.footerbox_s {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    padding-left: 5%;
    position: relative;
}
.footerbox_s::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    width: .75px;
    height: 145px;
}
.footerbox_s p {
    text-align: center;
    font-size: .85em;
    line-height: 2em;
    margin-bottom: 2em;
}
.red_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 60px;
    border-radius: 99px;
    transition: 1s all;
    background: var(--red);
    font-size: 1em;
}
.red_btn:hover {
    transform: scale(1.06,1.06);
    transition: 1s all;
}
.copyright {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    margin: 50px 0 0 80px;
    padding-bottom: 20px;
}
.copyright>div {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 10%;
    margin-right: 10%;
}
/* トップへ戻るボタン------------------- */
.back-btn {
    padding: 1.5em 1em;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    position: relative;
    font-size: .825em;
    width: 8em;
}
.back-btn::before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(-45deg);
    position: absolute;
    top: 10%;
    left: 45%;
    /* bottom: 0; */
    margin: auto;
}


@media (max-width: 1023px) {
    /* ハンバーガーメニュー */
    .hamburger_menu>ul>li>img {
        width: 150px;
        margin-bottom: 40px;
    }
    .nav {
        gap: 1em;
        padding-top: 20px;
    }
    .link {
        padding-left: 6%;
    }
}

@media (max-width: 800px) {
    .mailform,
    .confirm {
        padding: calc(3em + 91px) 1.5em 6em;;
    }
    .mailform p {
        margin-bottom: 3.5em;
    }
    .thankyou {
        padding: calc(3em + 91px) 1.5em 6em;
    }
}

@media (max-width: 819px) {
    /* フッター */
    address {
        flex-flow: column;
        align-items: center;
        gap: 60px;
        margin: 100px 0 80px;
    }
    iframe {
        width: 100%;
        height: 270px;
    }
    .reservation {
        flex-flow: column-reverse;
        align-items: center;
        gap: 40px;
        padding-bottom: 80px;
        margin: 0 60px;
    }
    .ebisu {
        padding: 100px 5% 100px 13%;
        gap: 5%;
    }
    .ebisu>div h2 {
        font-size: 1em;
    }
    .ebisu>div p::before {
    height: 190px;
    }
    .footerbox_l {
        flex-flow: column-reverse;
        align-items: center;
        gap: 100px;
        margin: 0 60px;
        position: relative;
    }
    /* .footerbox_l::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        background: #fff;
        width: 100%;
        height: .75px;
    } */
    .footerNav {
        padding: 0 0 0 8%;
        gap: 5%;
    }
    .footerNav>img {
        width: 30px;
        margin-top: -40px;
    }
    .footerbox_s {
        padding: 60px 0 0;
    }
    .footerbox_s::before {
        display: none;
    }
    .footerNav ul li {
        font-size: .825em;
        letter-spacing: .1em;
        line-height: 1;
        margin: 0 1em;
    }
    .copyright {
        margin: 50px 0 0 60px;
    }
    .copyright>div {
        flex-flow: column-reverse;
        gap: 1em;
        margin-right: 0;
        font-size: .625em;
    }
} 

@media (max-width: 767px) {
    header {
        padding: 20px;
    }
    /* ハンバーガーメニュー */
    .hamburger_menu {
        padding: 80px;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        gap: 70px;
    }
    .hamburger_menu>ul>li>img {
        width: 100px;
        margin-bottom: 20px;
    }
    .link {
        gap: 20px;
        padding-left: 0;
        border: none;
    }
    .link li>p {
        display: none;
    }
    .link li>div {
        display: flex;
        flex-flow: column;
        gap: 20px;
    }
    /* headerのメニュー横のボタン（下層ページのみ） */
    .button {
        display: none;
    }
    /* main */
    main>img {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .mailform tr,
    .mailform th,
    .mailform td {
        display: block;
        width: 100%;
    }
    .mailform table td {
        padding: .25em .175em;
    }
    .mailform table th {
        padding: 1em .25em .25em;
        width: 100%;
    }
    .mailform p {
        line-height: 1.75;
        margin-bottom: 1.5em;
    }
    .submit {
        margin-top: 4em;
    }
    .submit input,
    .thankyou a  {
        width: 230px;
    }
    .confirm h1 {
        margin: 0 auto 2em;
    }
    .confirm h1::after {
        bottom: -1em;
    }
    .confirm form {
        gap: 1em;
    }
    .confirm form ul {
        flex-flow: column;
        gap: 0;
    }
    .confirm form ul li:first-of-type {
        width: 100%;
    }
    .confirm form ul li:last-of-type {
        width: 100%;
    }
    .confirm div {
        margin-top: 2em;
    }
    .confirm div input,
    .confirm div button {
        padding: 1.25em 0;
    }
}

@media (max-width: 450px) {
    .hamburger_menu {
        height: 100vh;
    }
}