@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

img {
    width: 100%;
    vertical-align: bottom;
}

body {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* header */
.header__inner {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
    overflow: hidden; /* 追加 */
}

/* ヘッダーのロゴ部分 */
.header__title {
    width: 150px;
}

@media screen and (min-width: 767px) {
    .header__title {
        width: 200px;
    }
}

.header__title img {
    display: block;
    width: 100%;
    height: 100%;
}

/* ヘッダーのナビ部分 */
.header__nav {
    position: fixed; /* absoluteからfixedに変更 */
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #fff;
    transition: ease 0.4s;
    z-index: 9999;
    visibility: hidden;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
    visibility: visible;
}

@media screen and (min-width: 767px) {
    .header__nav {
        position: static;
        transform: initial;
        background-color: inherit;
        height: inherit;
        display: flex;
        justify-content: end;
        width: 50%;
        visibility: visible;
    }
}

/* ハンバーガーメニュー */
.header__hamburger {
    width: 48px;
    height: 100%;
}

.hamburger {
    background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    z-index: 9999;
}

@media screen and (min-width: 767px) {
    /*PC時非表示にする*/
    .hamburger {
        display: none;
    }
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease 0.4s;
    display: block;
}

/* デフォルト状態:三本線 */
.hamburger span:nth-child(1) {
    top: 0;
    transform: rotate(0deg);
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
    opacity: 1;
}

.hamburger span:nth-child(3) {
    top: 0;
    transform: rotate(0deg);
}

/* クリック後の状態:×印 */
.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    margin: 8px 0;
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

/*PC時のナビゲーションメニュー、横並びにする*/
@media screen and (min-width: 767px) {
    .nav__items {
        width: 85%;
        display: flex;
        align-items: baseline;
        height: initial;
        justify-content: space-between;
    }
}

.nav-items {
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 767px) {
    .nav-items {
        position: inherit;
        top: 0;
        left: 0;
        transform: translate(0, 0);
    }
}

/* ナビのリンク */
.nav-items_item a {
    color: #000;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
}

@media screen and (min-width: 767px) {
    .nav-items_item a {
        margin-bottom: 0;
    }
}

.nav-items_item:last-child a {
    margin-bottom: 0;
}

/* main */
h2 {
    text-align: center;
    margin-top: 10px;
    font-family: sans-serif;
}

/* ヒーロー画像 */
.hero {
    position: relative;
    height: 500px;
    object-fit: cover;
    overflow: hidden;
}

@media screen and (min-width: 767px) {
    .hero {
        position: relative;
        height: 100vh;
        object-fit: cover;
        margin-bottom: 50px;
    }
}

.hero img {
    position: absolute;
    z-index: -1;
}

@media screen and (min-width: 767px) {
    .hero img {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* flex-box */
.recommended {
    text-align: center;
}

.container {
    width: 90%;
    margin: 0 auto;
}
.flex-item {
    width: 100%;
    margin: 20px 0;
}

@media screen and (min-width: 767px) {
    .recommended {
        margin-bottom: 30px;
    }
    .flex-box {
        width: 1000px;
        display: flex;
        gap: 20px;
        margin: 0 auto;
    }

    .flex-item {
        width: 30%;
    }

    .flex-item a {
        opacity: 1;
        transition: 0.7s;
    }
    .flex-item a:hover {
        opacity: 0.5;
    }
}

.line {
    width: 100%;
    height: 50px;
    background-color: rgba(201, 174, 26, 0.781);
    margin-top: 50px;
}
.body-bottom {
    text-align: center;
}

@media screen and (min-width: 767px) {
    .line {
        margin-bottom: 30px;
    }
    .body-bottom {
        display: flex;
        width: 1000px;
        margin: 0 auto;
    }
    .body-bottom h2 {
        margin-left: 100px;
    }

    .flex-bottom {
        display: flex;
        gap: 50px;
        margin-left: 100px;
    }
    .bottom-item {
        width: 50%;
        text-align: start;
    }
    .bottom-item p {
        margin-bottom: 50px;
    }
}
.business-hours {
    margin: 3% 0;
}
.holiday {
    margin: 3% 0;
}
.inquiry {
    margin: 3% 0;
}
/* footer */
footer {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
    background-color: rgba(201, 174, 26, 0.781);
    color: #fff;
}
