body,
html {
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    font-family: "KouzanMouhitsu", serif !important;
    font-weight: lighter !important;
}

.category h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    margin-left: 40px;
}

.seat-image-container {
    display: flex;
    justify-content: center; /* 水平方向の中央揃え */
}

.seat-image {
    max-width: 500px; /* 画像の最大幅を500pxに設定 */
    width: 100%; /* 画像が500px未満の場合は100%で拡大しない */
    height: auto; /* アスペクト比を維持 */
}

.notice-list,
.course-item {
    font-family: Arial, sans-serif !important;
    font-weight: lighter !important;
}

.button-container {
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #000000; /* ボタンの背景色 */
    color: white; /* ボタンの文字色 */
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #b1a800; /* ホバー時の背景色 */
}

.header-img {
    display: none;
}
.course-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.course-item {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
}
.course-title {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.course-price {
    font-size: 2rem;
    color: #e44d26;
    margin-bottom: 10px;
}
.course-description {
    margin-bottom: 15px;
}
.course-menu {
    list-style-type: none;
    padding-left: 0;
    font-size: 1.4rem;
}
.course-menu li {
    margin-bottom: 5px;
}

.slideshow-container,
.slideshow-container2 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slideshow-inner {
    display: flex;
    transition: transform 1s;
    width: 100%; /* 3スライドの場合 */
}

.mySlides,
.mySlides2 {
    flex: 0 0 100%; /* 各スライドを100%幅にする */
}

.first-img {
    width: 100%;
}

.container {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    text-align: center;
    font-weight: lighter;
}

.container h1 {
    margin: 0 auto;
    padding-top: 20px;
    font-weight: lighter;
}

.container h2 {
    margin: 0 auto;
    padding-top: 20px;
    font-weight: lighter;
}

.container img {
    margin-right: 10px; /* 画像とテキストの間のスペース */
}

.container img {
    order: 2;
}

.container div {
    order: 1;
    text-align: center;
}

@media (min-width: 769px) {
    .container {
        flex-direction: row;
    }

    .container img {
        order: 1;
    }

    .container div {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .container img {
        order: 2;
    }

    .container div {
        order: 1;
    }
}

.top-description {
    font-size: 2rem;
    text-align: center;
    font-weight: lighter;
}

.homepage-img {
    width: 40%;
}

.header-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f1f1f1;
    justify-content: center;
}

.footer-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #2d2929;
    justify-content: center;
}

.homepageheader-img img {
    height: 100px;
}

.first-img {
    width: 100%;
    display: block;
}

.top-img,
.privacy-img {
    width: 100%;
    position: relative;
    display: block;
    margin: 0 auto;
}

.top-img {
    padding: 150px 0;
}

.header-links a,
.footer-links a {
    text-decoration: none;

    font-size: 2rem;
}

.header-links a {
    color: #333;
    margin-left: 80px;
}

.header-links a:hover {
    color: #b8b8b8;
}

.footer-links a {
    color: #f1f1f1;
    margin-right: 80px;
}

.footer-links a:hover {
    color: #000;
}

.content {
    text-align: center;
    font-size: 2rem;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
        1px 1px 0 #fff;
}

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

a.booking,
.reserved-btn,
.map-button,
.insta-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: rgb(255, 248, 196);
    color: #000;
    border: 2px solid #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    font-family: "KouzanMouhitsu", serif;

    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

a.booking:hover,
a.booking:active,
.reserved-btn:hover,
.reserved-btn:active,
.map-button:hover,
.map-button:active,
.insta-button:hover,
.insta-button:active {
    background-color: #fccd36;
    transform: scale(1.05);
}

.hamburger-menu {
    position: fixed;
    top: -25px;
    right: -20px;
    cursor: pointer;
    display: inline-block;
    width: 30px;
    padding: 35px;
}

.hamburger-menu div {
    height: 3px;
    background: black;
    margin: 5px 0;
    transition: 0.4s;
    box-shadow: 0 0 0 1px white;
}

.user-info {
    display: none;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 100;
    transition: transform 0.3s ease;
    font-size: 1.6rem;
}

.user-info a {
    text-decoration: none;
    color: #007bff;
    margin-right: 10px;
}

.user-info a:hover {
    text-decoration: underline;
}

.scrolling .user-info {
    transform: translateY(100%);
}

.user-info li {
    text-align: left;
    margin-left: 20px;
    margin-bottom: 10px;
}

#menu-toggle:checked + .hamburger-menu + .user-info {
    display: block;
}

.news {
    text-align: center;
    font-size: 2rem;
    margin: 0;
    margin-top: 100px;
}

.news h1 {
    margin: 0;
    padding-top: 10px;
    font-weight: lighter;
}

.notice-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
    text-align: left;
    display: inline-block;
    height: 150px;
    overflow-y: scroll;
}

.notice-item {
    margin-bottom: 10px;
    font-size: 2rem;
}

footer {
    margin-top: 0;
    margin-bottom: 0;
}

.flex-container1,
.flex-container2 {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.half-right,
.half-left {
    flex: 1;
}

.store-info-table1,
.store-info-table2 {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter;
}

.store-info-table1::before,
.store-info-table2::before {
    content: "";
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.store-info-table1::before {
    background-image: url("./images/z.jpg");
}

.store-info-table2::before {
    background-image: url("./images/w.jpg");
}

.store-info-table1 th,
.store-info-table1 td,
.store-info-table2 th,
.store-info-table2 td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.info-img,
.ippin-img {
    width: 40%;
    height: auto;
}

.ippin-img {
    width: 60%;
    height: auto;
}

.flex-container {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.privacy {
    display: block;
    text-align: center;
    font-size: 2rem;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.privacy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("./images/q.jpg");
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
}

.privacy h1 {
    margin-top: 0;
    padding-top: 10px;
}

.privacy p {
    margin-bottom: 0;
    padding-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter;
}

.news-background {
    display: block;
    width: 50%;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.news-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("./images/q.jpg");
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
}

.menu-container {
    width: 100%;

    padding-bottom: 40px;
    font-family: Arial, sans-serif;
}

.background-img {
    width: 50%;
    height: auto;
    margin-right: 20px;
}

.main {
    text-align: center;
    font-size: 3rem;
    padding: 20px;
    margin: 0 auto;
}

.sub {
    text-align: center;
    font-size: 2rem;
    padding: 20px;
    margin: 0 auto;
}

.menu-background {
    display: block;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.menu-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("./images/ab.jpg");
    background-size: cover;
    background-size: 500px;
    opacity: 0.5;
    z-index: -1;
}

.main-background {
    display: block;
    width: 50%;
    margin: 0 auto;
    position: relative;
    height: 20%;
}

.main-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("./images/aa.jpg");
    background-size: cover;
    background-size: 400px;
    opacity: 0.2;
    z-index: -1;
}

.menu-list {
    list-style-type: none;
    padding: 0;
}

.menu-list li {
    border-bottom: 1px solid #ccc;
}

.dish-header,
.dish-description {
    color: #333;
    display: block;
    font-size: 1rem;
    text-align: center;
    font-weight: lighter;
}

.dish-header {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.dish-name {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: normal;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    text-align: center;
    width: 100%;
}

.dish-name span.left {
    flex: 1 0 150px;
    text-align: left;
    padding-left: 40px; /* 料理名の右側に余白を追加 */
}

.dish-name span.right {
    text-align: right;
    flex: 1 0 150px;
    padding-right: 40px; /* 価格の左側に余白を追加 */
}

.side-menu {
    display: flex;
}

.right,
.left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.drink {
    text-align: center;
    font-size: 3rem;
    padding: 50px;
    margin-top: 0;
}

.sub-background {
    display: block;
    width: 50%;
    margin: 0 auto;
    position: relative;
}

.sub-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("./images/ah.jpg");
    background-size: cover;
    background-size: 300px;
    opacity: 0.2;
    z-index: -1;
}

.google-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.info-content {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    text-align: left;
    flex: 1;
}

.ippin-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width: 50%;
    margin: 0 auto;
}

.info-img1 {
    width: 100%;
    display: block;
    float: right; /* 右に寄せるためのプロパティ */
    margin-left: 10px; /* 右側に10pxの余白を設定 */
    clear: right; /* floatをクリアして要素が隣接しないようにする */
    display: block;
}

.info-img2 {
    width: 50%;
    display: block;
}

.info-img1 {
    width: 100%; /* 画像の幅を親要素に合わせる */
    height: auto; /* 画像の高さを自動調整 */
}

.info-img2 {
    width: 100%; /* 画像の幅を親要素に合わせる */
    height: auto; /* 画像の高さを自動調整 */
}

/* ポップアップ全体のスタイル */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: Arial, sans-serif;
}

.popup-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.left-align-list {
    text-align: left;
    margin-top: 10px;
    padding-left: 20px;
}

.left-align-list li {
    margin-bottom: 8px;
    font-size: 1rem;
}

#close-popup {
    background-color: #ff5252;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

#close-popup:hover {
    background-color: #ff3333;
}

.popup-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #555;
}

/* センター表示とフォントスタイル */
.center-text {
    text-align: center;
}

.note-text {
    font-family: Arial, sans-serif;
    font-size: 1rem; /* 文字サイズの調整 */
    margin-top: 10px; /* 上部の余白を追加 */
    color: #333; /* テキストの色 */
}

@font-face {
    font-family: "KouzanMouhitsu";
    src: url("./fonts/KouzanMouhitsuFont.ttf") format("truetype");
}

@media screen and (max-width: 768px) {
    .info-img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .ippin-img {
        width: 60%;
        height: auto;
        margin-bottom: 20px;
    }

    .ippin-item {
        width: 100%;
    }

    .content {
        text-align: center;
        font-size: 1rem;
    }

    .user-info {
        font-size: 1.2rem;
    }

    .homepageheader-img img {
        height: 50px;
    }

    .header-links a {
        margin: 0 10px;
        font-size: 0.8rem;
    }

    .footer-links a {
        margin: 0 10px;
        font-size: 1rem;
    }

    .flex-container1 {
        flex-direction: column-reverse;
    }

    .flex-container2 {
        display: initial;
    }

    .store-info-table1,
    .store-info-table2 {
        font-size: 1rem;
    }

    .news {
        font-size: 1rem;
        margin: 40px 0;
    }

    .notice-item,
    .dish-header,
    .dish-description {
        font-size: 1rem;
    }

    .privacy {
        font-size: 1rem;
    }

    .reserved-btn,
    .map-button,
    .insta-button {
        padding: 5px 10px;
        font-size: 1.2rem;
    }

    .news-background {
        width: 80%;
        height: 50%;
    }

    .notice-list {
        height: 70px;
        margin-bottom: 10px;
    }

    .menu-background {
        padding-bottom: 0;
    }

    .top-img {
        padding: 40px 0;
    }

    .main-background,
    .sub-background {
        width: 100%;
    }

    .main,
    .drink {
        font-size: 2.6rem;
        padding: 5px;
        margin-bottom: 0;
    }

    .side-menu {
        display: initial;
    }

    .menu-container {
        display: initial;
        padding-bottom: 0;
    }

    .google-container {
        margin: 20px 10px 0 10px;
    }

    .info-item {
        display: initial;
        width: 100%;
    }

    .info-content {
        text-align: center;
        margin-left: 0;
    }

    .dish-name {
        font-size: 1.2rem;
    }

    .top-description {
        font-size: 1.6rem;
    }

    .first-img {
        width: 100%;
        display: block;
    }

    .container {
        display: initial;
        font-size: 1.6rem;
    }

    .container {
        font-size: 1rem;
    }
}
