.header-img {
    width: 30%;
    margin: auto;
    padding-top: 30px;
}

.header-img2 {
    width: 30%;
    display: inline-block; /* インラインブロック要素に変更 */
    margin-right: 10px; /* 要素間の右側の余白を設定 */
}

/* ハンバーガーメニューアイコンのスタイル */
.hamburger-menu {
    position: fixed;
    top: -25px;
    right: -20px;
    cursor: pointer;
    display: inline-block;
    width: 30px;
    padding: 35px;
    z-index: 10000;
}

.hamburger-menu div {
    height: 3px;
    background: black;
    margin: 5px 0;
    transition: 0.4s;
    box-shadow: 0 0 0 1px white; /* 白い縁取りを追加 */
}

.user-info {
    max-height: 400px; /* 必要に応じて高さを調整してください */
    overflow-y: auto;
}

.scrollable-menu li {
    padding: 5px 0;
}

/* メニューコンテンツのスタイル */
.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: 10000;
    transition: transform 0.3s ease;
    font-size: 1rem;
    font-family: Arial, sans-serif !important;
    font-weight: initial !important;
}

.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;
}

/* プロフィール全体 */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* 各セクション共通のスタイル */
.profile-section {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 各セクションのタイトル */
.profile-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

/* フォーム全体 */
.profile form {
    width: 100%;
}

/* フォームのインプットやボタンなど */
.profile input {
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.profile button {
    padding: 5px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* ボタンのスタイル */
.profile button {
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

.profile button:hover {
    background-color: #0056b3;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group .form-control {
    width: 100%;
    padding: 10px;
    font-size: 1.4rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.register-btn:active {
    background-color: #000;
    color: #ffffff;
    transform: translateY(5px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.alert {
    color: rgb(201, 178, 29);
    text-align: center;
    font-size: 2.4rem;
}

.alert ul {
    list-style-type: none; /* リストの点を消す */
}

.edit-container {
    width: 800px;
    margin: 100px auto 0 auto;
    text-align: center;
    background-color: #f2f2f2;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-flex-container {
    display: flex;
}

.form-left,
.form-right {
    flex: 1;
    margin: 0 10px;
}

.form-group {
    width: 40%;
    margin: 30px auto 30px auto;
}

/*ブートストラップの再現*/
.item-md7 {
    width: calc(70%);
    float: left;
}

/*ブートストラップの再現*/
.item-md3 {
    width: calc(30%);
    float: left;
}

/*ブートストラップの再現*/
.regi-md7 {
    width: calc(50%);
    float: left;
    margin-top: 20px;
}

/*ブートストラップの再現*/
.regi-md3 {
    width: calc(40%);
    float: left;
    margin-top: 20px;
}

.delete-button {
    background-color: #ff6347;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.delete-button:hover {
    background-color: #ff4737;
}

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

body {
    font-family: "KouzanMouhitsu", serif;
    font-weight: bold;
}

.order-total {
    font-family: "KouzanMouhitsu", serif;
    font-weight: bold;
}

.delete-btn {
    font-family: "KouzanMouhitsu", serif;
    font-weight: bold;
}

.order-list {
    border-collapse: separate;
    border-spacing: 0;
    margin: auto;
    font-size: 1.2rem;
    background-color: rgb(220, 218, 204); /* メニューやカートの背景色 */
    width: 500px;
    overflow: hidden;
}

.order-list th,
.order-list td {
    border: 1px solid #000;
    padding: 8px;
}

.order-list th {
    background-color: rgb(255, 248, 196); /* クリーム色の背景色 */
}

.order-list td {
    background-color: rgb(220, 218, 204); /* メニューやカートの背景色 */
}

.reload-btn {
    position: fixed;
    top: 80px;
    right: 100px;
}

.reload-btn {
    background-color: rgb(220, 218, 204); /* メニューやカートの背景色 */
    border: none;
    color: #000;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2rem;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition-duration: 0.4s;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    font-family: "KouzanMouhitsu", serif;
    font-weight: bold;
}

.reload-btn:hover {
    background-color: rgb(231, 219, 142); /* メニューやカートの背景色 */
}

.reload-btn:active {
    background-color: rgb(219, 198, 64); /* メニューやカートの背景色 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}

.reload-btn-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
}

.table-scroll {
    overflow-y: auto;
    height: 400px;
}

.guest-table {
    border-collapse: separate;
    border-spacing: 0;
    margin: auto;
    font-size: 1.2rem;
    background-color: rgb(220, 218, 204);
    margin-bottom: 30px;
    overflow: hidden;
    width: 500px;
}

.guest-table th,
.guest-table td {
    border: 1px solid #000;
    padding: 8px;
}

.guest-table th {
    background-color: rgb(255, 248, 196); /* クリーム色の背景色 */
}

.guest-table td {
    background-color: rgb(220, 218, 204); /* メニューやカートの背景色 */
}

form {
    margin-block-end: 0;
}

#recevied {
    margin-bottom: 0;
}

.card {
    width: 80%;
    border-radius: 10px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.end {
    width: 80%;
    border-radius: 10px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.end-title {
    font-size: 2.2rem;
    margin: 30px 0;
}

body {
    font-family: Arial, sans-serif;
}

.card {
    text-align: center;
    padding: 20px;
}

.review {
    position: absolute;
    top: 10px; /* 画面の上からの距離を調整 */
    right: 50px; /* 画面の右からの距離を調整 */
    text-align: center;
    width: 200px; /* 口コミ画像の幅と揃える */
}

.menu-image {
    width: 200px;
    height: auto;
}

.review-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff6347;
}

.review-button {
    display: inline-block;
    background-color: #ff6347;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 10px;
}

.review-button:hover {
    background-color: #e55337;
}

@media (min-width: 1181px) {
    .kitchen-list {
        width: 100%;
        padding: 20px;
    }

    .kitchen-list-scroll {
        overflow-y: auto;
        height: 768px;
    }
}

/* General styles */
.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.user {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form container styles */
.user-edit,
.password-edit {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form editing styles */
.user-edit input[type="text"],
.user-edit input[type="email"],
.password-edit input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.user-edit input[type="submit"],
.password-edit input[type="submit"] {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.user-edit input[type="submit"]:hover,
.password-edit input[type="submit"]:hover {
    background-color: #45a049;
}

.end {
    display: flex;
    justify-content: center;
}

.end p {
    font-size: 1.4rem;
    margin: 0 10px; /* 全ての <p> タグに同じマージンを適用 */
    line-height: 1.5; /* 行の高さを統一 */
}

.account-add-btn {
    background-color: #2196f3;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    line-height: 40px;
    vertical-align: middle;
    cursor: pointer;
}

.invite-btn {
    background-color: green;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    border: none;
}

.register {
    font-size: 2rem;
    text-align: center;
}

.register input {
    width: 100%;
    padding: 15px;
    font-size: 1.4rem;
}

/* Responsive styles */
@media (min-width: 768px) {
    .user {
        flex-direction: row;
        gap: 40px;
    }

    .user-edit,
    .password-edit {
        max-width: 400px;
        margin: auto;
    }
}

@media screen and (max-width: 1280px) {
    .user-info {
        display: none;
        padding: 10px;
        position: fixed;
        top: 50px;
        right: 20px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .account-add-btn {
        padding: 2px 4px;
        line-height: 20px;
    }

    .header-img {
        width: 80%;
    }

    .header-img2 {
        width: 50%;
        display: inline-block; /* インラインブロック要素に変更 */
        margin-right: 10px; /* 要素間の右側の余白を設定 */
    }

    .menu-item {
        width: calc(33.3333% - 10px);
        margin-right: 0;
        margin-bottom: 0;
        font-size: 1rem;
        flex: 0 0 calc((50%) / 3);
    }

    .menu-item > p {
        font-size: 1rem;
    }

    .menu-image {
        width: 100px;
        height: auto;
    }

    /* メニューコンテンツのスタイル */
    .user-info {
        display: none;
        padding: 10px;
        position: fixed;
        top: 50px;
        right: 20px;
        font-size: 0.8rem;
    }

    .user-info {
        max-height: 500px; /* 必要に応じて高さを調整してください */
        overflow-y: auto;
    }
}
