@charset "UTF-8";

/* ====================================
   基本設定 (Variables & Base)
   ==================================== */
:root {
    --primary-color: #4A6348;
    --accent-color: #C0CA33;
    --base-brown: #6d4c41;
    --gold-dark: #8a6d3b;
    --gold-light: #cfa734;
    --special-red: #c0392b;
    --text-color: #333333;
    --bg-color: #F9F9F9;
    --white: #FFFFFF;
    
    --font-mincho: 'Shippori Mincho', serif;
    --font-gothic: 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-gothic);
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

/* ====================================
   共通クラス (Utilities)
   ==================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

h2, h3, h4 {
    font-family: var(--font-mincho);
    font-weight: 700;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

/* ====================================
   ヘッダー (Header)
   ==================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.2;
}

.sub-logo {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-family: sans-serif;
    font-weight: normal;
    margin-top: 2px;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
}

.nav a:hover {
    color: var(--primary-color);
    opacity: 0.7;
}

/* ====================================
   メインビジュアル (Hero)
   ==================================== */
.hero {
    height: 80vh;
    background-color: #ddd;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    padding: 0 20px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    font-weight: 500;
}

/* ====================================
   重要なお知らせ (Notice)
   ==================================== */
.notice {
    background-color: #f0f0f0;
    color: #555;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    border-bottom: 1px solid #e0e0e0;
}

.notice strong {
    font-size: 1.0em;
    display: inline-block;
    margin-bottom: 3px;
    color: #333;
}

/* ====================================
   私たちについて (About)
   ==================================== */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ====================================
   こだわり (Philosophy)
   ==================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.card p {
    font-size: 0.95rem;
    text-align: left;
}

/* --- 受賞歴 (Awards) --- */
.awards-box {
    margin-top: 70px;
    padding: 50px 30px;
    background: linear-gradient(to bottom, #fffceb, #f0e6c8);
    border: 4px double var(--gold-light);
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(207, 167, 52, 0.2);
    overflow: hidden;
}

.awards-box::before,
.awards-box::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(
        45deg,
        var(--gold-light),
        var(--gold-light) 10px,
        #eadd9f 10px,
        #eadd9f 20px
    );
}
.awards-box::before { top: 0; }
.awards-box::after { bottom: 0; }

.crown-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

.awards-header h4 {
    font-size: 1.8rem;
    color: var(--gold-dark);
    margin: 0 0 20px 0;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, var(--gold-dark), var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.awards-desc {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
    font-weight: 500;
}

.awards-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 25px;
    display: inline-block;
    text-align: left;
    background: rgba(255,255,255,0.6);
    padding: 20px 30px;
    border-radius: 8px;
    border: 1px solid rgba(207, 167, 52, 0.3);
}

.awards-list li {
    font-size: 1.15rem;
    margin-bottom: 12px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 8px;
}

.awards-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.year {
    display: inline-block;
    font-weight: bold;
    min-width: 130px;
    color: var(--gold-dark);
}

.award-rank {
    font-weight: bold;
    font-size: 1.2em;
}

.award-rank.gold {
    color: var(--gold-light);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.award-rank.special {
    color: var(--special-red);
}

.awards-note {
    font-size: 0.85rem;
    color: var(--gold-dark);
    margin-top: 20px;
}

.awards-note a {
    text-decoration: underline;
    font-weight: bold;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ====================================
   フォトギャラリー (Gallery) グリッド＆クリック拡大版
   ==================================== */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    /* 最小幅を180pxにしてグリッド配置 */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    /* 縦長比率（3:4） */
    aspect-ratio: 3 / 4; 
    cursor: pointer; /* クリックできるよアイコン */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: translateY(-5px); /* 少し浮く */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ▼▼ モーダル（拡大表示）のスタイル ▼▼ */
.modal {
    display: none; /* 初期状態は非表示 */
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* 黒背景 */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh; /* 画面からはみ出さない */
    object-fit: contain;
    animation: zoomIn 0.3s; /* ふわっと表示 */
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0} 
    to {transform:scale(1); opacity:1}
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* ====================================
   ショップ & ボタン (Shop CTA)
   ==================================== */
.shop-cta {
    background-color: #edf2ed;
    text-align: center;
}

.shop-cta p {
    margin-bottom: 10px;
}

.shop-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-main {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    min-width: 260px;
    line-height: 1.4;
}

.btn-main:hover {
    background-color: #3d523b;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

.btn-cart {
    background-color: var(--base-brown);
}

.btn-cart:hover {
    background-color: #4e342e;
}

.btn-sub {
    font-size: 0.8rem;
    font-weight: normal;
    display: block;
    margin-top: 3px;
    opacity: 0.9;
}

.shop-note {
    font-size: 0.8rem;
    margin-top: 20px;
    color: #666;
}

/* ====================================
   アクセス (Access)
   ==================================== */
.access-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.access-info {
    flex: 1;
    min-width: 300px;
}

.access-info h4 {
    font-size: 1.3rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
}

.access-map {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ====================================
   フッター (Footer)
   ==================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* ====================================
   スマホ対応 (Media Queries)
   ==================================== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .header-inner {
        flex-direction: column;
    }
    
    .nav ul {
        margin-top: 15px;
        gap: 15px;
        font-size: 0.8rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .shop-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    /* 受賞歴 */
    .awards-box {
        padding: 40px 20px;
    }
    .awards-header h4 {
        font-size: 1.5rem;
    }
    .awards-list {
        padding: 15px;
        width: 100%;
    }
    .year {
        display: block;
        font-size: 0.95rem;
        margin-bottom: 5px;
        min-width: auto;
    }
    .awards-list li {
        text-align: center;
        padding-bottom: 15px;
    }
    
    /* ギャラリー（スマホ2列） */
    .gallery-grid {
        display: grid; /* 横スクロール解除、グリッドに戻す */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        overflow-x: visible;
        padding-bottom: 0;
    }
    
    .gallery-item {
        /* 幅指定を解除 */
        flex: auto;
    }
}

/* PC（画面幅769px以上） */
@media (min-width: 769px) {
    /* 特になし（グリッドの自動調整に任せる） */
}