@charset "UTF-8";

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-border: #000000;
    --color-caution-bg: #5a0000;
    --color-caution-text: #ffffff;
    --font-serif: 'Noto Serif JP', serif;
    --font-eng: 'Cormorant Garamond', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-serif);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #555;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Caution Bar (Fixed Top)
   ========================================================================== */
.sticky-caution {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-caution-bg);
    color: var(--color-caution-text);
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.caution-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 15px;
    font-size: 0.85rem;
}

.caution-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Layout Wrapper
   ========================================================================== */
.wrapper {
    max-width: 840px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    /* Top padding to account for fixed caution */
}

/* ==========================================================================
   Header (Circle Info)
   ========================================================================== */
.circle-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.event-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.circle-cut {
    max-width: 250px;
    margin: 0 auto 20px;
    border: 2px solid var(--color-border);
    padding: 5px;
    position: relative;
    background: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.circle-cut::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid var(--color-border);
    pointer-events: none;
    transition: all 0.4s ease;
}

.circle-cut:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 1);
}

.circle-cut:hover::before {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.circle-name {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.participants {
    font-size: 1rem;
    color: #444;
}

/* ==========================================================================
   Menu Section
   ========================================================================== */
.section-title {
    font-family: var(--font-eng);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title span {
    background: var(--color-bg);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    z-index: 0;
}

/* ==========================================================================
   Product Item
   ========================================================================== */
.product-item {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border: 1px solid var(--color-border);
    margin-bottom: 40px;
    background: #fff;
    transition: all 0.5s ease;
    position: relative;
}

/* ホバー時の豪華な演出（枠が広がる） */
.product-item::after {
    content: '';
    position: absolute;
    /* 上下左右から均等に広げるために top/bottom/left/right で指定 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item:hover::after {
    opacity: 1;
    /* 中央から均一に外へ広げる */
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
}

.product-image {
    flex: 0 0 35%;
    max-width: 35%;
    border-right: 1px solid var(--color-border);
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fbfbfb;
    overflow: hidden;
}

.product-image img {
    max-height: 350px;
    border: 1px solid var(--color-border);
    transition: transform 0.6s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    color: #fff;
    padding: 5px 15px;
    font-family: var(--font-eng);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
}

.product-info {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
}

.product-title,
.product-price {
    font-size: 1.5rem;
    /* 同じ大きさで強調 */
    font-weight: 700;
}

.product-price {
    font-family: var(--font-eng);
}

.product-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

.product-meta span {
    border: 1px solid #000;
    padding: 2px 8px;
    background: white;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #f7f7f7;
    border-top: 1px solid #ddd;
    padding: 40px 20px;
    color: #666;
    /* 控えめな色合い */
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.85rem;
    /* 文字サイズ控えめ */
}

.contact-block {
    margin-bottom: 20px;
}

.contact-block h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #444;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 5px;
}

.contact-list a {
    color: #666;
    text-decoration: underline;
}

.contact-list a:hover {
    color: #000;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    font-family: var(--font-eng);
    letter-spacing: 1px;
}

/* ==========================================================================
   Page Top Button
   ========================================================================== */
.page-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 999;
    font-family: var(--font-eng);
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.page-top-btn:hover {
    background-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Sample Button
   ========================================================================== */
.product-actions {
    margin-top: auto;
    padding-top: 15px;
    text-align: right;
}

.sample-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-family: var(--font-serif);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.sample-btn:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* スマホ等でのタップ（アクティブ）時の挙動 */
.sample-btn:active {
    transform: scale(0.95);
}

/* ==========================================================================
   Modal Window
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal.is-open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    /* スクロールバーのカスタマイズ（控えめに） */
    scrollbar-width: thin;
    scrollbar-color: #999 #eee;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: #eee;
}
.modal-body::-webkit-scrollbar-thumb {
    background-color: #999;
}

.sample-text {
    line-height: 2;
    font-size: 0.95rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .wrapper {
        padding-top: 120px;
    }

    .caution-content {
        font-size: 0.8rem;
    }

    .product-image,
    .product-info {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: none;
    }

    .product-image {
        border-bottom: 1px solid var(--color-border);
        padding: 15px;
    }

    .product-header {
        flex-direction: column;
        gap: 5px;
    }

    .product-title,
    .product-price {
        font-size: 1.3rem;
    }

    .page-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    /* スマホ向け：ホバーではなくタップ時の動きを重視 */
    .product-item {
        transition: transform 0.3s ease;
    }
    
    .product-item:active {
        transform: scale(0.98);
    }
    
    .product-item::after {
        display: none; /* モバイルではボーダーのホバーエフェクトを無効化 */
    }

    .modal-content {
        width: 95%;
        margin-top: 30px;
    }

    .modal-close {
        top: -35px;
        right: 5px;
    }

    .modal-body {
        padding: 20px 15px;
    }
}