/* 安多酢店 - カスタムスタイル */

/* ベースフォント設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #374151;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* ナビゲーションのスムーズ効果 */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #bc9635;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* ヒーローセクションのアニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* 商品カードのホバー効果 */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

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

.product-image {
    transition: transform 0.3s ease;
}

/* セクション間のスペース調整 */
section {
    scroll-margin-top: 80px;
}

/* カスタムグラデーション背景 */
.gradient-bg-traditional {
    background: linear-gradient(135deg, 
        rgba(253, 252, 240, 1) 0%, 
        rgba(250, 247, 224, 1) 25%,
        rgba(243, 237, 192, 1) 75%,
        rgba(233, 220, 148, 1) 100%
    );
}

.gradient-bg-vinegar {
    background: linear-gradient(135deg, 
        rgba(254, 247, 236, 1) 0%, 
        rgba(252, 236, 211, 1) 25%,
        rgba(248, 213, 166, 1) 75%,
        rgba(243, 183, 110, 1) 100%
    );
}

/* テキストの装飾効果 */
.text-gradient {
    background: linear-gradient(135deg, #bc9635, #e8741b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* カードの影効果 */
.shadow-traditional {
    box-shadow: 0 10px 25px -5px rgba(188, 150, 53, 0.1), 
                0 10px 10px -5px rgba(188, 150, 53, 0.04);
}

.shadow-vinegar {
    box-shadow: 0 10px 25px -5px rgba(232, 116, 27, 0.1), 
                0 10px 10px -5px rgba(232, 116, 27, 0.04);
}

/* ボタンのカスタムホバー効果 */
.btn-traditional {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-traditional::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-traditional:hover::before {
    left: 100%;
}

/* フォームのカスタムスタイル */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.form-input:focus {
    border-color: #bc9635;
    box-shadow: 0 0 0 3px rgba(188, 150, 53, 0.1);
    outline: none;
}

/* テーブルのカスタムスタイル */
.custom-table tr {
    transition: all 0.2s ease;
}

.custom-table tr:hover {
    background-color: rgba(188, 150, 53, 0.05);
    transform: scale(1.01);
}

/* プルスアニメーション */
@keyframes customPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

.animate-custom-pulse {
    animation: customPulse 3s ease-in-out infinite;
}

/* スクロール指示アニメーション */
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce-down {
    animation: bounceDown 2s infinite;
}

/* レスポンシブ画像 */
.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* パーティクル効果（装飾用） */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle-1 {
    width: 4px;
    height: 4px;
    background-color: rgba(188, 150, 53, 0.3);
    animation: float 6s ease-in-out infinite;
}

.particle-2 {
    width: 6px;
    height: 6px;
    background-color: rgba(232, 116, 27, 0.2);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.7;
    }
}

/* セクション見出しのアンダーライン */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #bc9635, #e8741b);
    border-radius: 2px;
}

/* カスタムスクロールバー（Webkit系ブラウザ用） */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #bc9635, #e8741b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9c762b, #d95a11);
}

/* モバイル対応の調整 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .card-padding {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .mobile-text-sm {
        font-size: 0.875rem;
    }
}

/* 印刷スタイル */
@media print {
    .nav-fixed,
    .mobile-menu,
    button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .print-break {
        page-break-before: always;
    }
}

/* アクセシビリティの向上 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* フォーカス表示の改善 */
*:focus {
    outline: 2px solid #bc9635;
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #bc9635;
    outline-offset: 2px;
}

/* ローディングアニメーション */
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #bc9635;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spinner 1s linear infinite;
}

/* 成功・エラーメッセージ */
.message-success {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.message-error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
}

/* ツールチップ */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #374151;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* パフォーマンス最適化 */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}