/* 丸亀名産店 - 共通スタイル（大人っぽいデザイン） */

/* Google Fonts - 明朝体 */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&family=Noto+Serif+JP:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3a5c;       /* 深いネイビー */
    --primary-dark: #0f2540;  /* より深いネイビー */
    --secondary: #c9a66b;     /* 落ち着いたゴールド */
    --accent: #8b4513;        /* 渋いブラウン */
    --dark: #1a1a1a;          /* ほぼ黒 */
    --light: #f5f5f3;         /* オフホワイト */
    --text: #333;
    --text-light: #666;
    --font-mincho: 'Shippori Mincho', 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
}

body {
    font-family: var(--font-mincho);
    line-height: 1.9;
    color: var(--text);
    background: #fafaf8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* ヘッダー - 上品な装飾 */
header {
    background: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 100;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 166, 107, 0.3), transparent);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px;
    text-align: center;
    position: relative;
}

.logo-text {
    font-family: var(--font-mincho);
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
}

.logo-text::before,
.logo-text::after {
    content: '◆';
    font-size: 8px;
    color: var(--secondary);
    opacity: 0.6;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.logo-text::before {
    left: -25px;
}

.logo-text::after {
    right: -25px;
}

.logo-text:hover {
    color: var(--secondary);
}

/* ナビゲーション */
nav {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

nav a.nav-highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, #d4b07a 100%);
    color: var(--dark) !important;
    border-radius: 20px;
    font-weight: 600;
    margin: 8px 4px;
    padding: 8px 18px;
}

nav a.nav-highlight:hover {
    background: linear-gradient(135deg, #d4b07a 0%, var(--secondary) 100%);
    transform: scale(1.05);
}

/* メインコンテンツ */
main {
    min-height: calc(100vh - 200px);
}

/* セクション */
section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* セクションタイトル - 上品な装飾付き */
.section-title {
    font-family: var(--font-mincho);
    font-size: clamp(1.6rem, 3vw, 2rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 500;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::before,
.section-title::after {
    content: '―';
    color: var(--secondary);
    opacity: 0.6;
    margin: 0 0.8em;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* 装飾用セパレーター */
.elegant-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.elegant-separator::before,
.elegant-separator::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.elegant-separator span {
    color: var(--secondary);
    font-size: 0.8rem;
    padding: 0 1rem;
    letter-spacing: 0.3em;
}

/* ヒーローセクション */
.hero {
    min-height: 55vh;
    background: linear-gradient(to bottom, rgba(15, 37, 64, 0.8) 0%, rgba(26, 58, 92, 0.85) 100%),
                url('images/shop1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-family: var(--font-mincho);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 2;
}

/* ページヒーロー（サブページ用） - 上品な装飾 */
.page-hero {
    background: var(--primary-dark);
    padding: 4rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(201, 166, 107, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.page-hero h1 {
    font-family: var(--font-mincho);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.12em;
    position: relative;
}

.page-hero p {
    font-size: 0.95rem;
    opacity: 0.8;
    letter-spacing: 0.08em;
}

/* カード - 上品なホバーエフェクト */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), #d4b07a, var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
    transform: scaleX(1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    position: relative;
}

.card-content h3 {
    font-family: var(--font-mincho);
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.card-content h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--secondary);
    margin-top: 0.5rem;
    transition: width 0.3s ease;
}

.card:hover .card-content h3::after {
    width: 50px;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* 情報ボックス - 上品なコーナー装飾 */
.info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
}

.info-box::before,
.info-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--secondary);
    border-style: solid;
    opacity: 0.4;
}

.info-box::before {
    top: 12px;
    left: 12px;
    border-width: 1px 0 0 1px;
}

.info-box::after {
    bottom: 12px;
    right: 12px;
    border-width: 0 1px 1px 0;
}

.info-box h3 {
    font-family: var(--font-mincho);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.info-box p {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 2;
}

.info-box ul,
.info-box ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.info-box li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-box li::marker {
    color: var(--secondary);
}

/* ハイライトボックス - ゴールドアクセント */
.highlight-box {
    background: linear-gradient(135deg, #faf8f4 0%, #f5f2eb 100%);
    border-left: 3px solid var(--secondary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    position: relative;
}

.highlight-box::before {
    content: '✦';
    position: absolute;
    top: -8px;
    left: 20px;
    color: var(--secondary);
    font-size: 0.7rem;
    background: #faf8f4;
    padding: 0 5px;
}

.highlight-box h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.highlight-box p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 特徴グリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-family: var(--font-mincho);
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 500;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ギャラリー - 上品なオーバーレイ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 166, 107, 0) 0%, rgba(201, 166, 107, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* テーブル */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
}

th, td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

th {
    background: var(--primary);
    color: white;
    font-weight: 400;
}

tr:last-child td {
    border-bottom: none;
}

/* ボタン - 上品なスタイル */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 58, 92, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, #d4b07a 100%);
    color: var(--dark);
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #d4b07a 0%, var(--secondary) 100%);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(201, 166, 107, 0.4);
}

/* テキストリンク - 上品なアンダーライン */
.elegant-link {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.elegant-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.elegant-link:hover::after {
    width: 100%;
}

/* サブスクセクション */
.subscription-section {
    background: var(--primary-dark);
    color: white;
}

.subscription-section .section-title {
    color: white;
}

.subscription-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.subscription-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-box h3 {
    font-family: var(--font-mincho);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.subscription-box p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.subscription-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.subscription-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* 連絡先グリッド */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.8rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    font-family: var(--font-mincho);
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.contact-card p {
    color: var(--text);
    font-size: 0.95rem;
}

.contact-card .phone {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark);
}

/* マップ */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
}

/* フッター - 上品な装飾 */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 1.5rem 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.footer-info strong {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0.8rem;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-links a:hover::after {
    width: 80%;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    letter-spacing: 0.05em;
}

/* 背景色バリエーション */
.bg-light {
    background: #f5f5f3;
}

.bg-gradient {
    background: linear-gradient(180deg, #fafaf8 0%, #f5f5f3 100%);
}

/* レスポンシブ */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav a {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 12px 20px;
    }

    .hero {
        min-height: 45vh;
        padding: 50px 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 3.5rem 1rem;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscription-box {
        padding: 2rem;
    }

    .subscription-price {
        font-size: 1.6rem;
    }
}
