:root {
    --primary-color: #FF8B9B;
    --primary-dark: #e57a8a;
    --primary-light: #FFB8C2;
    --accent-color: #5ab3be;
    --accent-dark: #89e0e9;
    --background-color: #fff4f5;
    --text-color: #444444;
    --gray-light: #e9e9e9;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: "Source Han Sans Japanese", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-primary-color {
    background-color: var(--primary-color);
}

.bg-accent-color {
    background-color: var(--accent-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-primary-color {
    color: var(--primary-color);
}

.text-accent-color {
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(74, 111, 173, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 12px rgba(74, 111, 173, 0.3);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.border-primary-color {
    border-color: var(--primary-color);
}

.hover-effect {
    transition: var(--transition);
}

.hover-effect:hover {
    transform: translateY(-3px);
}

.photo-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-color: white;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.photo-card:hover .photo-image {
    transform: scale(1.05);
}

.photo-card a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
}

.photo-card .card-title {
    height: auto;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 2行に制限 */
    -webkit-box-orient: vertical;
    line-height: 1.4;
    font-size: 0.875rem;
    /* モバイル向けに小さめのフォント */
    text-align: left;
    /* 常に左寄せに変更 */
}


@media (min-width: 640px) {
    .photo-card .card-title {
        font-size: 1rem;
        line-height: 1.5;
        min-height: 3rem;
    }
}

@media (min-width: 768px) {
    .photo-card .card-title {
        font-size: 1rem;
    }
}

.photo-card .relative {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.photo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* カード内のテキストスタイル */
.photo-card p {
    font-size: 0.65rem;
    text-align: left;
}

/* 販売期間の表示調整 */
.photo-card p .period-label {
    display: block;
    margin-bottom: 0.1rem;
}

.photo-card p .period-date {
    display: block;
}

@media (min-width: 640px) {
    .photo-card p {
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) {
    .photo-card p {
        font-size: 0.875rem;
    }

    .photo-card p .period-label,
    .photo-card p .period-date {
        display: inline;
    }

    .photo-card p .period-label::after {
        content: " ";
    }
}

header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.02);
}

nav ul li a {
    position: relative;
    transition: var(--transition);
    padding-bottom: 3px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

footer {
    background-color: var(--primary-dark);
    color: white;
    border-top: 5px solid var(--accent-color);
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color) !important;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スライダー関連のスタイル */
.swiper-container {
    width: 100%;
    padding: 40px 0;
}

.swiper-slide {
    text-align: center;
    transition: var(--transition);
}

.swiper-slide img {
    width: 100%;
    height: 540px;
    border-radius: var(--border-radius);
}

/* スライダー共通スタイル */
.firstview_slider {
    margin-bottom: 3rem;
    position: relative;
    background: white;
    padding: 1.5em 0 .5em;
}

.slider {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.slider-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

/* スライド効果の強化 */
.slider .slick-slide {
    filter: brightness(70%) blur(2px);
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

/* 中央スライドの強調表示 */
.slider .slick-center {
    filter: brightness(100%) blur(0);
    transform: scale(1);
    opacity: 1;
    position: relative;
    z-index: 2;
}

/* スライダーナビゲーション */
.slick-arrow {
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    font-size: 0;
}

.slick-arrow:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

/* スライダードット */
.slick-dots {
    bottom: -30px;
}

.slick-dots li button:before {
    font-size: 10px;
    color: var(--primary-color);
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
}

.slick-arrow:hover {
    opacity: 1;
}

/* 左右位置 */
.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

/* lineup.htmlの追加スタイル */
.tab-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    padding-bottom: 8px;
}

.tab-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.tab-item:not(.active):hover {
    color: var(--primary-dark);
}

.search-input {
    border: 2px solid var(--primary-light);
    border-radius: 6px;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 173, 0.2);
    outline: none;
}

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a6fad'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.on-sale {
    background-color: #e6f7ed;
    color: #18a957;
}

.status-badge.pre-order {
    background-color: #fff3e0;
    color: #f57c00;
}

.status-badge.ended {
    background-color: #f1f1f1;
    color: #666666;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.2s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

/* print_method.htmlの追加スタイル */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
    list-style: none;
    background-color: white;
    border-radius: 0.25rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: #6c757d;
    content: ">";
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 6px;
    margin: 0 4px;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 5px rgba(74, 111, 173, 0.3);
    font-weight: 600;
}

.pagination-btn:hover:not(.active):not(.disabled) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-nav-btn {
    min-width: 80px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-weight: 500;
}

.pagination-nav-btn:hover:not(.disabled) {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* Vue.js向けスタイル追加 */
/* モーダル関連のスタイル */
.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.modal.show {
    display: block;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5vh auto;
    padding: 30px;
    border-radius: 16px;
    max-width: 95%;
    width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    z-index: 10;
}

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
    .modal-content {
        padding: 20px 15px;
        margin: 3vh auto;
        max-height: 94vh;
    }

    .close-modal {
        top: 5px;
        right: 5px;
    }
}

/* タブ関連のスタイル */
.tab-button {
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

@media (max-width: 640px) {
    .tab-button {
        padding: 0.5rem 0.25rem;
        font-size: 0.9rem;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 商品カード関連のスタイル */
.product-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover,
.product-card.touch-active {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card .p-5 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .p-5>.flex {
    margin-top: auto;
}

@media (max-width: 640px) {
    .product-card h3 {
        font-size: 0.95rem;
    }

    .product-card .text-sm {
        font-size: 0.75rem;
    }

    .product-card .show-product-qr {
        padding: 0.25rem 0.5rem;
    }
}

/* コンビニエンスストア関連のスタイル */
.convenience-store {
    cursor: pointer;
    transition: all 0.2s ease;
}

.convenience-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.print-method-content {
    display: none;
}

/* ヘッダー関連のスタイル */
.site-header {
    border-radius: 0 0 20px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: linear-gradient(to bottom, #ffffff, #f5f8ff);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(74, 111, 173, 0.1);
    margin: 0 auto 1rem;
    width: 95%;
}

.site-header:hover {
    box-shadow: 0 8px 24px rgba(74, 111, 173, 0.18);
}

.site-header .container {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem 1.5rem;
}

.site-header nav a {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 0;
}

.site-header nav a:hover {
    color: var(--primary-color);
}

.site-header nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: all 0.4s ease;
    opacity: 0;
    border-radius: 3px;
}

.site-header nav a:hover::after {
    width: 70%;
    opacity: 1;
}

.site-header .logo a {
    display: flex;
    align-items: center;
}

.site-header .logo img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-header .logo:hover img {
    transform: scale(1.05);
}

/* モバイルメニュー関連のスタイル */
#mobile-menu {
    border-radius: 0 0 20px 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    width: 95%;
    margin: 0 auto;
    max-width: 1320px;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none !important;
    }
}

.mobile-menu-button .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-button:hover .line {
    background-color: var(--accent-color);
}

/* 販売期間のバッジスタイル */
.period-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .period-badge {
        margin-right: 6px;
        font-size: 0.75rem;
    }
}

/* 販売期間の日付部分 */
.period-date {
    display: block;
    margin-top: 2px;
}

@media (min-width: 768px) {
    .period-date {
        display: inline;
        margin-top: 0;
    }
}