#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* メインコンテンツが残りの高さを埋める */
}

.footer-wrapper {
    position: relative; /* フッターとその要素を親要素として管理 */
}

/* ロード中のオーバーレイ全体のスタイル */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
    display: none; /* 初期状態では非表示 */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 他の要素の上に配置 */
}

/* ローダーのアニメーション */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: 
        radial-gradient(farthest-side, #ffa516 94%, #0000) top/8px 8px no-repeat,
        conic-gradient(#0000 30%, #ffa516);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: l13 1s infinite linear;
}

@keyframes l13 { 
    100% { transform: rotate(1turn); }
}

/* 全画面共通(layouts.app) */
.nav-badge {
    position: relative; /* アイコンに対して相対位置を基準にする */
    display: inline-block; /* バッジが位置を取れるようにする */
}

.badge-icon {
    position: absolute; /* 親要素を基準にバッジを配置 */
    top: -5px; /* アイコンの上に配置 */
    right: -2px; /* アイコンの右に配置 */
    padding: 1px 6px;
    border-radius: 50%;
    font-size: 0.75rem;
    color: white;
    z-index: 1; /* バッジを前面に表示 */
    text-align: center;
}

.badge-warning {
    background-color: #d7003a;
}

.product-name {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.product-price {
    font-family: 'Hiragino Kaku Gothic Pro W3',
        'Hiragino Kaku Gothic ProN', Meiryo,sans-serif;
}

.navbar {
    padding: 1rem 0;
}

.nav-span {
    padding-right: 1em;
    margin: auto 0;
}

.navbar img {
    max-width: 60px;
    height: auto;
}

.nav-a {
    font-size: 1.5625rem !important;
    margin-right: 0;
}

.nav-p {
    font-size: 0.9375rem;
    text-align: center;
}

.header-search-div1 {
    padding-right: 0.25em;
}

.header-search-input,
.header-search-select {
    border-radius: 5px;
    border: solid 1px #e5e5e5;
    font-size: 1.1rem;
}

.header-check-div {
    display: flex;
    align-items: center;
    color: #e5e5e5;
}

.header-search-div2 {
    display: flex;
    align-items: center;
    padding: 0;
}

.header-search-button {
    background-color: #e5e5e5;
    border-radius: 5px;
}

.header-search-icon {
    font-size: 1.3rem;
    color: #fcb100;
}

.surround-white {
    margin-right: 0.5em;
}

.surround-white:hover {
    border: white solid 1px;
}

.header-vertical-bar {
    margin: 0 1rem;
}

.header-favorite,
.header-favorite:hover {
    color: #fcb100;
}

footer {
    padding: 1rem 0;
}

.footer-a {
    text-decoration: none;
    color: #e5e5e5;
    font-weight: 500;
}

.footer-a:hover {
    color: #fcb100;
}

.footer-twitter {
    font-size: 1.2rem;
    color: white;
    margin: 0 1.5rem;
}

.footer-twitter:hover {
    color: #fcb100;
}

.footer-vertical-bar {
    margin: 0 1rem;
    width: 4px;
    color: #00c8fa;
    opacity: 1;
    font-weight: 400;
}

.footer-p {
    color: #e5e5e5;
}

/* ログインページ */
.zooya-login-input {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    border: solid 1px #fcb100;
}

.zooya-submit-button {
    padding: 0.3rem 0;
    font-size: 1.25rem;
    margin-top: 4rem !important;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #fcb100;
    transition: background-color 0.2s linear;
}

.zooya-submit-button:hover {
    font-weight: 700;
    background-color: #f39800;
}

.zooya-login-text {
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fcb100;
}

.zooya-login-text:hover {
    font-weight: 700;
    color: #f39800;
}

/* マイページ */
.mypage-screen {
    background-color: #f39800;
}

.mypage-icon {
    color: #f39800;
    margin: 2rem 1rem 0 2rem;
    font-size: 1.3rem;
}

.mypage-card {
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mypage-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.mypage-card-p {
    color: #696969;
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.mypage-a {
    font-size: 1.75rem;
    color: #000;
    text-decoration: none;
    transition: background-color 0.2s linear;
}

.mypage-a:hover {
    background-color: #e0dede;
}

.mypage-logout {
    font-size: 1.5rem;
    border: none;
    text-decoration: none;
    color: #000;
}

.mypage-logout:hover {
    color: #e83929;
    font-weight: 700;
}

.logout-icon {
    font-size: 2rem;
}

/* 管理者専用ページ */
.admin-screen {
    background-color: #f39800;
}

.admin-icon {
    color: #f39800;
    margin: 2rem 1rem 0 2rem;
    font-size: 1.5rem;
}

.admin-card {
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.admin-card-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.admin-card-p {
    color: #696969;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.admin-a {
    font-size: 1.75rem;
    color: #000;
    text-decoration: none;
    transition: background-color 0.2s linear;
}

.admin-a:hover {
    background-color: #e0dede;
}

.admin-p {
    font-size: 2.5rem;

}

/* 管理者用商品管理ページ(index) */
.admin-product-toggle-button {
    border: solid 2px #0d6efd;
    border-radius: 5px;
    background-color: #0d6efd;
    color: #e5e5e5;
}

.admin-product-check {
    font-weight: 500;
}

.admin-product-category-button {
    border: solid 1px #f39800;
    background-color: transparent;
}

.admin-product-image-area {
    text-decoration: none;
    color: black;
    transition: background-color 0.3s linear;
}

.admin-product-image-area:hover {
    background-color: #d3d3d3;
}

.admin-product-image {
    width: 200px;
    height: 200px;
}

.admin-product-edit-button {
    padding: 0 5px;
    font-size: 1.2rem;
    border: solid 2px #f39800;
    background-color: #fcb100;
    border-radius: 5px;
    color: #e5e5e5;
}

.admin-product-edit-button:hover {
    font-weight: 700;
    background-color: #f39800;
}

.admin-product-delete-button {
    padding: 0 5px;
    font-size: 1.2rem;
    border: solid 2px #e2041b;
    background-color: #d7003a;
    border-radius: 5px;
    color: #e5e5e5;
}

.admin-product-delete-button:hover {
    font-weight: 700;
    background-color: #e2041b;
}

.admin-product-name {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2rem;
}

.admin-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Hiragino Kaku Gothic Pro W3',
        'Hiragino Kaku Gothic ProN', Meiryo,sans-serif;
}

.admin-product-p {
    font-size: 1rem;
    margin-bottom: 16px;
}

@media screen and (max-width: 575px) {
    .admin-product-image {
        width: 150px;
        height: 150px;
    }

    .admin-product-edit-button {
        padding: 0 5px;
        font-size: 1rem;
        border: solid 2px #f39800;
        background-color: #fcb100;
        border-radius: 5px;
        color: #e5e5e5;
    }

    .admin-product-delete-button {
        padding: 0 5px;
        font-size: 1rem;
        border: solid 2px #e2041b;
        background-color: #d7003a;
        border-radius: 5px;
        color: #e5e5e5;
    }

    .admin-product-name {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 1rem;
    }
    
    .admin-product-price {
        font-size: 1rem;
        font-weight: 700;
        font-family: 'Hiragino Kaku Gothic Pro W3',
            'Hiragino Kaku Gothic ProN', Meiryo,sans-serif;
    }

    .admin-product-p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
}

/* 画面幅768px以下では縦並び */
@media screen and (max-width: 767px) {
    .admin-button-wrap {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        margin: 1rem 0 3rem 0;
    }

    form {
        align-items: stretch;
    }

    .admin-form {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .admin-product-toggle-button,
    .admin-product-category-button {
        margin-bottom: 1rem; /* ボタンも全幅 */
    }
}

@media screen and (min-width: 768px) {
    .admin-button-wrap {
        display: flex;
        margin: 1rem 0 3rem 0;
    }

    .admin-form {
        display: flex;
        justify-content: start;
        flex-wrap: wrap;
        gap: 16px;
    }

    .admin-product-toggle-button {
        margin-right: 2rem; /* ボタンも全幅 */
    }
}

/* 管理者用商品詳細画面(show) */
.thumbnail-img {
    object-fit: cover;
}

.thumbnail-img.active {
    border: solid 2px #f39800;
}

.admin-show-product-description {
    font-size: 1.3rem;
    color: #696969;
    font-weight: 700;
    border-bottom: solid 2px #f39800;
}

/* createページ */
.create-input-first {
    font-size: 1.1rem;
    border-radius: 5px;
    border: solid 1px #fcb100;
}

.create-input {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    border: solid 1px #fcb100;
}

.create-img {
    border-radius: 5px;
    margin: 0 1rem 1.5rem 1rem;
}

.create-img:hover {
    cursor: grab;
}

.create-label {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

/* お支払い方法一覧ページ */
.payment-method-default {
    border: solid 2px #f39800;
    width: 100%;
}

.payment-method-not-default {
    border: solid 2px #d3d3d3;
    width: 100%;
}

.payment-methods-span {
    background-color: #8a8989;
}

.payment-method-a {
    text-decoration: none;
    color: #0d6efd;
}

.payment-method-a:hover {
    color: #0d6efd;
    font-weight: 700;
}

.payment-method-button {
    background-color: #0d6efd;
    color: #ffffff;
    font-size: 1rem;
    border: none;
}

.payment-method-button:hover {
    font-weight: 700;
    background-color: #0d6efd;
    color: #ffffff;
    font-size: 1rem;
    border: none;
}

/* クレジットカード一覧+作成ページ */
.payment-a {
    color: #fcb100;
    display: flex;
    justify-content: end;
    align-items: center;
}

.payment-a:hover {
    color: #f39800;
    font-weight: 700;
}

.cards-a-edit {
    color: #00c8fa;
}

.cards-a-edit:hover,
.cards-a-edit:active {
    font-weight: 500;
    color: #0d6efd;
}

.cards-a-delete {
    color: #00c8fa;
}

.cards-a-delete:hover,
.cards-a-delete:active {
    font-weight: 500;
    color: #d7003a;
}

.cards-submit-button {
    font-size: 1.2rem;
    font-weight: 500;
    color: #e5e5e5;
    background-color: #00c8fa;
    border: solid 2px #0d6efd;
    border-radius: 5px;
    transition: background-color 0.35s linear;
}

.cards-submit-button:hover {
    font-weight: 700;
    background-color: #0d6efd;
}

.cards-link {
    text-decoration: underline;
    font-size: 1.05rem;
    transition: color 0.2s linear;
    border-radius: 5px;
    border: none;
    background-color: transparent;
}

.cards-link:hover {
    color: #0d6efd;
}

.cards-close {
    border: none;
    background-color: transparent;
}

.cards-close:hover {
    color: #d7003a;
}

.cards-button {
    background-color: #fcb100;
    border: solid 2px transparent;
    border-radius: 5px;
    transition: background-color 0.5s linear;
}

.cards-button:hover {
    font-weight: 500;
    background-color: #f39800;
}

/* 商品一覧画面 */
.product-filter-button {
    font-size: 1.2rem;
    border: solid 2px #e5e5e5;
    background-color: #fcb100;
    transition: background-color 0.2s linear;
}

.product-filter-button:hover {
    background-color: #f39800;
    border: solid 2px #d3d3d3;
}

.product-filter-search {
    padding: 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e5e5e5;
    border: solid 2px #fcb100;
    border-radius: 5px;
    background-color: #fcb100;
    transition: box-shadow 0.2s linear;
}

.product-filter-search:hover {
    font-weight: 700;
    box-shadow: 0px 0px 10px #353535;
}

/* 画面幅991px以下では縦並び */
@media screen and (max-width: 991px) {
    .index-form {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        margin-bottom: 1.5rem;
    }

    .product-filter-search-wrap {
        display: flex;
        justify-content: end;
    }
}

/* 画面幅992px以上では横並び */
@media screen and (min-width: 992px) {
    .index-form {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-bottom: 1.5rem;
    }
}

.index-product-name {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.index-product-price {
    font-family: 'Hiragino Kaku Gothic Pro W3',
        'Hiragino Kaku Gothic ProN', Meiryo,sans-serif;
}

.index-product-card {
    flex: 1 1 calc(25% - 20px); /* 4列レイアウト（隙間を引いた幅） */
    max-width: calc(25% - 20px); /* 最大幅 */
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
}

.index-product-card:hover {
    transform: scale(1.05);
}

.index-product-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 5rem;
}

@media screen and (max-width:320px) {
    .index-product-name {
        font-weight: bold;
        color: #333;
        font-size: 14px;
        margin: 10px 0;
    }

    .index-product-price {
        font-size: 16px;
        color: #000;
        margin: 0;
    }

    .index-product-card {
        flex: 1 1 calc(100% - 20px); /* 1列レイアウト（隙間を引いた幅） */
        max-width: calc(100% - 20px); /* 最大幅 */
        display: flex;
        flex-direction: column;
        position: relative;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease-in-out;
        background-color: #fff;
        border-radius: 8px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .index-product-card:hover {
        transform: scale(1.05);
    }

    .product-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    .index-product {
        width: 200px;
    }
}

@media screen and (min-width:321px) and (max-width:575px) {
    .index-product-name {
        font-weight: bold;
        color: #333;
        font-size: 12px;
        margin: 10px 0;
    }

    .index-product-price {
        font-size: 14px;
        color: #000;
        margin: 0;
    }

    .index-product-card {
        flex: 1 1 calc(75% - 20px); /* 2列レイアウト（隙間を引いた幅） */
        max-width: calc(75% - 20px); /* 最大幅 */
        display: flex;
        flex-direction: column;
        position: relative;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease-in-out;
        background-color: #fff;
        border-radius: 8px;
        padding: 10px;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .index-product-card:hover {
        transform: scale(1.05);
    }

    .product-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    .index-product {
        width: 200px;
    }
}

@media screen and (min-width:576px) and (max-width:767px) {
    .index-product-name {
        font-weight: bold;
        color: #333;
        font-size: 12px;
        margin: 10px 0;
    }

    .index-product-price {
        font-size: 14px;
        color: #000;
        margin: 0;
    }

    .index-product-card {
        flex: 1 1 calc(50% - 20px); /* 2列レイアウト（隙間を引いた幅） */
        max-width: calc(50% - 20px); /* 最大幅 */
        display: flex;
        flex-direction: column;
        position: relative;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease-in-out;
        background-color: #fff;
        border-radius: 8px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .index-product-card:hover {
        transform: scale(1.05);
    }

    .product-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    .index-product {
        width: 200px;
    }
}

@media screen and (min-width:768px) and (max-width:991px) {
    .index-product-name {
        font-weight: bold;
        color: #333;
        font-size: 14px;
        margin: 10px 0;
    }

    .index-product-price {
        font-size: 16px;
        color: #000;
        margin: 0;
    }

    .index-product-card {
        flex: 1 1 calc(50% - 20px); /* 2列レイアウト（隙間を引いた幅） */
        max-width: calc(50% - 20px); /* 最大幅 */
        display: flex;
        flex-direction: column;
        position: relative;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease-in-out;
        background-color: #fff;
        border-radius: 8px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .index-product-card:hover {
        transform: scale(1.05);
    }

    .product-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    .index-product {
        width: 300px;
    }
}

@media screen and (min-width:992px) and (max-width:1199px) {
    .index-product-name {
        font-weight: bold;
        color: #333;
        font-size: 12px;
        margin: 10px 0;
    }

    .index-product-price {
        font-size: 14px;
        color: #000;
        margin: 0;
    }

    .product-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    .index-product {
        width: 200px;
    }
}

@media screen and (min-width:1200px) {
    .index-product-name {
        font-weight: bold;
        color: #333;
        font-size: 14px;
        margin: 10px 0;
    }

    .index-product-price {
        font-size: 16px;
        color: #000;
        margin: 0;
    }

    .product-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    .index-product {
        width: 300px;
    }
}

.index-card {
    width: 250px;
    margin: 0.5rem;
}

.carousel-inner {
    text-align: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #333; /* デフォルトの色 */
    border-radius: 50%;
}

.custom-carousel-control .custom-prev-icon,
.custom-carousel-control .custom-next-icon {
    background-color: #007bff; /* Bootstrap Primary Color */
    background-size: 50%;
    border: 2px solid white;
    border-radius: 50%;
}

.custom-carousel-control:hover .custom-prev-icon,
.custom-carousel-control:hover .custom-next-icon {
    background-color: #0056b3; /* Hover時の色 */
}

@media screen and (min-width:320px) {
    .related-product-index {
        margin: 3rem 0;
    }
}

@media screen and (max-width:767px) {
    .index-card {
        width: 200px; /* 小さな画面での調整 */
    }
}

.index-button {
    font-weight: 500;
    padding: 0.2rem 1rem;
    color: #e5e5e5;
    background-color: #fcb100;
    border-radius: 10px;
    text-decoration: none;
}

.index-sold-button {
    font-weight: 500;
    padding: 0.2rem 1rem;
    color: #e5e5e5;
    border-radius: 10px;
    background-color: #e2041b;
}

.index-sold-button:hover {
    font-weight: 700;
    color: #ffffff;
    background-color: #e83929;
}

.index-button:hover {
    font-weight: 700;
    color: #ffffff;
    background-color: #f39800;
}

.index-button:focus, .index-button:active {
    outline: none;
    box-shadow: none;
}

.back-to-top {
    position: absolute;
    bottom: 100%; /* フッターの直上に配置 */
    background-color: #333; /* ボタンの背景色 */
    color: #fff; /* 文字の色 */
    padding: 3px;
    text-align: center;
    font-size: 12px;
    z-index: 10; /* ボタンがフッターより前面に表示されるように */
    display: none; /* 初期は非表示 */
}

.back-to-top a {
    text-decoration: none;
    color: #fff;
}

.back-to-top:hover {
    background-color: #555; /* ホバー時の背景色 */
}

/* 商品詳細画面 */
/* デフォルトのサムネイル画像のサイズ */
.thumbnail-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* サムネイル画像のアクティブな状態のスタイル */
.thumbnail-image.active {
    border: 2px solid #f39800;
}

.show-para {
    color: gray;
    font-weight: 500;
}

.show-button {
    padding: 0.2em 0.5rem;
    text-decoration: none;
    color: #e6b952;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s linear;
}

.show-button:hover {
    color: #f39800;
    text-decoration: underline;
}

.show-button:active {
    color: #f39800;
    text-decoration: underline;
}

.show-span {
    color: black;
    font-weight: 700;
}

.show-product-area {
    font-size: 1.3rem;
}

.show-sold-message {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #e5e5e5;
    background-color: #e2041b;
}

.favorite-button {
    border: none;
    background-color: transparent;
    font-size: 1.5rem;
}

.favorite-icon-regist {
    color: #DEDE6F;
}

.favorite-icon-cancell {
    color:#DEDE6F;
}

.favorite-count {
    padding-top: 0.25rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.show-product-description {
    font-size: 1rem;
    padding: 1rem 0;
    white-space: pre-wrap;
}

@media screen and (min-width:320px) and (max-width:575px) {
    .show-card-wrap {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .related-product {
        margin-top: 10rem;
        margin-bottom: 5rem;
    }

    .show-card {
        width: 200px;
        margin: 1rem;
    }
}

@media screen and (min-width:576px) and (max-width:767px) {
    .show-card-wrap {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .related-product {
        margin-top: 10rem;
        margin-bottom: 5rem;
    }

    .show-card {
        width: 200px;
        margin: 1rem;
    }
}

@media screen and (min-width:768px) {
    .show-card-wrap {
        display: flex;
        justify-content: center;
    }
}

@media screen and (min-width:768px) and (max-width:992px) {
    .related-product {
        margin-top: 10rem;
        margin-bottom: 5rem;
    }

    .show-card {
        width: 150px;
        margin: 0 1rem;
    }
}

@media screen and (min-width:992px) {
    .related-product {
        margin-top: 10rem;
        margin-bottom: 5rem;
    }

    .show-card {
        width: 200px;
        margin: 0 1rem;
    }
}

@media screen and (min-width:1200px) {
    .related-product {
        margin-top: 10rem;
        margin-bottom: 5rem;
    }

    .show-card {
        width: 250px;
        margin: 0 1rem;
    }
}

@media screen and (min-width:1400px) {
    .related-product {
        margin-top: 12rem;
        margin-bottom: 7rem;
    }

    .show-card {
        width: 300px;
        margin: 0 1rem;
    }
}
 
/* モーダル内のズームスタイル */
#zoomedImage {
    transition: transform 0.3s ease;
}

/* カート */
.cart-para {
    color: gray;
    font-weight: 700;
    font-size: 0.8rem;
}

.carts-para {
    color: #5a5a5a;
    font-weight: 500;
}

.cart-quantity {
    font-size: 0.8rem;
}

.cart-purchase-button {
    font-size: 1.3rem;
    border: solid 2px #fcb100;
    border-radius: 10px;
    background-color: #f39800;
    transition: background-color 0.25s linear;
}

.cart-purchase-button:hover {
    font-weight: 700;
    background-color: #fcb100;
}

/* ウィッシュリスト */
.wish-product {
    display: flex;
    text-decoration: none;
    color: black;
    transition: background-color 0.5s linear;
}

.wish-product:hover {
    background-color: #d3d3d3;
}

.wish-image {
    width: 100px;
    height: 100px;
}

.wish-delete-button {
    border: none;
    background-color: transparent;
    transition: background-color 1s linear;
}

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

/* アドレス(index) */
@media (max-width: 991px) {
    .shipping-card-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .shipping-card {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .shipping-card-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        gap: 2rem;
    }

    .shipping-card {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
}

.shipping-addresses-default-button {
    border: none;
    background-color: transparent;
    text-decoration: underline;
    color: #fcb100;
}

.shipping-addresses-default-button:hover {
    color: #f39800;
    font-weight: 700;
}

.shipping-addresses-index-a {
    color: #fcb100;
}

.shipping-addresses-index-a:hover {
    font-weight: 700;
    color: #f39800;
}

.shipping-addresses-address-a {
    text-decoration: none;
    border: solid 2px #00c8fa;
    background-color: #00c8fa;
    color: #e5e5e5;
    font-size: 1.2rem;
    border-radius: 5px;
    margin-top: 1rem;
    margin-right: 1rem;
}

.shipping-addresses-address-a:hover {
    border: solid 2px #0d6efd;
    background-color: #0d6efd;
    font-weight: 700;
}

.shipping-addresses-delete-button {
    color: #e5e5e5;
    background-color: #f0786d;
    border: solid 2px #f0786d;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-right: 1rem;
}

.shipping-addresses-delete-button:hover {
    font-weight: 700;
    background-color: #e2041b;
    border: solid 2px #e2041b;
}

.shipping-addresses-create-button {
    border: solid 2px #fcb100;
    background-color: #fcb100;
    font-size: 1.4rem;
    border-radius: 5px;
}

.shipping-addresses-create-button:hover {
    border: solid 2px #f39800;
    background-color: #f39800;
    font-weight: 700;
}

/* レジ画面(order.index) */
.order-card-header {
    font-size: 1.2rem;
    font-weight: 500;
}

.order-card-text {
    font-size: 1.05rem;
}

.order-button {
    text-decoration: none;
}

.order-button:hover {
    color: #f39800;
    text-decoration: underline;
    cursor: pointer;
}

.order-edit-button {
    text-decoration: none;
    color: #8a8989;
    font-weight: 500;
}

.order-edit-button:hover {
    text-decoration: underline;
    color: #0d6efd;
}

.order-item-wrap {
    display: flex;
}

.order-image-wrap {
    display: flex;
    justify-content: center;
}

.order-image {
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
}

.fixed-div {
    position: sticky;
    top: 20px; /* 上からの距離を調整 */
    align-self: flex-start; /* 縦方向で適切に位置調整 */
    max-height: calc(100vh - 40px); /* 上下の余白を考慮した高さ */
    overflow-y: auto; /* 内容がはみ出す場合はスクロール可能に */
}

.order-submit-button {
    padding: 0.375rem 0.75rem;
    width: 60%;
    border: solid 1px #fcb100;
    border-radius: 5px;
    color: #fff;
    background-color: #fcb100;

}

.order-submit-button:hover {
    color: #fff;
    background-color: #f39800;
    border-color: #f39800;
}

.order-submitbutton:active {
    color: #fff;
    background-color: #f39800;
    border-color: #f39800;
}

.order-submit-disabled-button {
    padding: 0.375rem 0.75rem;
    width: 60%;
    border: solid 1px #fcb100;
    border-radius: 5px;
}

.order-submit-disabled-button:hover {
    cursor: not-allowed;
    background-color: #f0786d;
}

@media screen and (max-width: 575px) {
    .order-item-wrap {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .order-image-wrap {
        display: flex;
        justify-content: start;
    }
}

/* 通知一覧ページ */
.read_true {
    font-weight: normal;
    background-color: #f8f9fa;
}

.read_false {
    font-weight: bold;
    background-color: #ffffff;
}

/* 通知詳細ページ */
.notification-show-a {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.3rem;
    background-color: #fcb100;
    border: solid 2px #f39800;
    border-radius: 5px;
    color: #ffffff;
}

.notification-show-a:hover {
    background-color: #f39800;
}

/* メール */
.email-order-image {
    width: 35px;
    height: 35px;
}

/* 注文履歴ページ */
.history-image {
    width: 125px;
    height: 125px;
}

.history-button {
    color: #fcb100;
    text-decoration: none;
    font-weight: 500;
}

.history-button:hover {
    color: #f39800;
    font-weight: 700;
}

/* やることリストページ */
@media screen and (max-width: 767px) {
    .todo-notification {
        margin-bottom: 0.2rem;
    }

    .todo-date {
        margin-bottom: 0;
        font-weight: bold;
        color: #6c757d;
        text-align: end;
    }
}

@media screen and (min-width: 768px) {
    .todo-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .todo-notification {
        margin-bottom: 0;
        margin-right: 1rem;
        padding: 1rem 0;
    }

    .todo-date {
        margin-bottom: 0;
        margin-right: 1rem;
        padding: 1rem 0;
        font-weight: bold;
        color: #6c757d;
    }
}

.todo-a {
    text-decoration: none;
    color: #000;
}

.todo-a-area {
    background-color: transparent;
    transition: background-color 0.3s linear;
}

.todo-a-area:hover {
    background-color: #d3d3d3;
}

.todo-a-area:active {
    background-color: #d3d3d3;
}

/* 管理者用ユーザー別注文詳細ページ */
.admin-order-a {
    color: #000;
    text-decoration: none;
}

.admin-order-a-area {
    background-color: transparent;
    transition: background-color 0.3s linear;
}

.admin-order-a-area:hover {
    background-color: #d3d3d3;
}

.admin-order-a-area:active {
    background-color: #d3d3d3;
}

.admin-order-button {
    padding: 0.2em 0.5rem;
    color: #e5e5e5;
    font-size: 1.3rem;
    font-weight: 500;
    border: solid 2px #8a8989;
    border-radius: 5px;
    background-color: #e6b952;
    transition: background-color 0.3s linear;
}

.admin-order-button:hover {
    background-color: #f39800;
}

.admin-order-button:active {
    background-color: #f39800;
}

.admin-order-shipped-button {
    font-size: 1.3rem;
    border: solid 2px #f0786d;
    border-radius: 5px;
}

.admin-order-shipped-button:hover {
    cursor: not-allowed;
    background-color: #f0786d;
}

.admin-cancel-button {
    font-size: 0.9rem;
    color: #d7003a;
    cursor: pointer;
}

.admin-cancel-button:hover {
    font-weight: 500;
}

/* 未ログインユーザー専用注文検索ページ */
.guest-order-input {
    width: 30rem;
}

.guest-order-button {
    padding: 0.7rem 1.3rem;
    color: #e5e5e5;
    font-weight: bold;
    border: solid 1px #f39800;
    border-radius: 5px;
    background-color: #f39800;
    transition: box-shadow 0.2s linear;
}

.guest-order-button:hover {
    box-shadow: 0px 0px 10px #353535;
}
