/* =========================================
   一期一献 〜酔粋っと〜
   FINAL CSS
   Pixel / iPhone 横スクロール対策版
========================================= */

/* ▼ リセット */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;

    font-family:
        "Hiragino Sans",
        "Noto Sans JP",
        sans-serif;

    background: #faf7f2;
    color: #333;

    line-height: 1.8;
    -webkit-text-size-adjust: 100%;

    position: relative;
}

/* ▼ 画像 */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================
   ファーストビュー
========================================= */

.fv-ichigo {
    position: relative;

    width: 100%;
    min-height: 650px;
    height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 20px;

    overflow: hidden;

    background-image: url('../img/fv.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ▼ オーバーレイ */
.fv-ichigo::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.18);

    z-index: 0;
}

.fv-ichigo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #faf7f2 100%);
}


/* ▼ FVコンテンツ */
.fv-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 0 10px;
}

/* ▼ タイトル */
.fv-title {
    margin: 0;

    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: 1.2;
    font-weight: 700;

    color: #fff;

    text-shadow:
        0 2px 8px rgba(0,0,0,0.45),
        0 0 24px rgba(0,0,0,0.2);

    word-break: keep-all;
}

/* ▼ サブタイトル */
.fv-sub {
    margin-top: 16px;

    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 0.08em;

    color: #fff;

    text-shadow:
        0 2px 6px rgba(0,0,0,0.45);
}

/* ▼ コピー */
.fv-copy {
    margin-top: 24px;

    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 2;

    color: #fff;

    text-shadow:
        0 2px 6px rgba(0,0,0,0.45);
}

/* =========================================
   ボタン共通
========================================= */

.btn-wrap {
    margin-top: 34px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    max-width: 100%;

    padding: 14px 26px;

    border-radius: 999px;

    text-decoration: none;
    font-weight: 700;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.btn.primary {
    background: #a11c1c;
    color: #fff;
}

.btn.ghost {
    border: 2px solid rgba(255,255,255,0.92);

    color: #fff;

    background: rgba(255,255,255,0.08);
}

/* =========================================
   スクロールガイド
========================================= */

.scroll-guide {
    position: absolute;

    bottom: 20px;
    left: 0;
    right: 0;

    width: fit-content;

    margin-inline: auto;

    z-index: 2;

    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.14em;

    opacity: 0.82;

    animation: scrollFloat 2.2s ease-in-out infinite;
}

@keyframes scrollFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }

    100% {
        transform: translateY(0);
    }

}

/* =========================================
   セクション共通
========================================= */

.section {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 40px 20px;
}

.section-title {
    margin-bottom: 28px;

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.4;
    font-weight: 700;

    text-align: center;

    color: #2d2d2d;
}

/* =========================================
   酒巡りマップボタン
========================================= */

.map-btn-wrap {
    width: 100%;

    text-align: center;

    margin-top: 24px;
    margin-bottom: 0;
    padding-inline: 20px;
}

.map-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: min(100%, 340px);
    max-width: 100%;

    padding: 16px 22px;

    border-radius: 999px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #a11c1c 0%,
            #7e1111 100%
        );

    color: #fff;

    text-decoration: none;
    text-align: center;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;

    box-shadow:
        0 10px 25px rgba(161,28,28,0.28),
        inset 0 1px 0 rgba(255,255,255,0.15);

    transition:
        transform .25s ease,
        opacity .25s ease;
}

/* ▼ 光 */
.map-btn::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.24) 50%,
            rgba(255,255,255,0) 100%
        );

    transform: skewX(-20deg);

    transition: left .8s ease;
}

.map-btn:hover {
    transform: translateY(-3px);
}

.map-btn:hover::before {
    left: 150%;
}

/* ▼ アイコン */
.map-btn-icon {
    flex-shrink: 0;

    font-size: 1.15rem;
    line-height: 1;
}

/* ▼ サブテキスト */
.map-btn small {
    display: block;

    margin-top: 2px;

    font-size: 0.78rem;
    font-weight: 400;

    letter-spacing: 0.06em;

    opacity: 0.82;
}

/* =========================================
   フッター
========================================= */

footer {
    margin-top: 80px;

    padding: 40px 20px;

    text-align: center;

    background: #1f1f1f;
    color: rgba(255,255,255,0.85);

    font-size: 0.95rem;
}

/* =========================================
   スマホ最適化
========================================= */

@media screen and (max-width: 768px) {

    .fv-ichigo {

        min-height: 100svh;
        height: auto;

        padding:
            calc(env(safe-area-inset-top) + 40px)
            18px
            calc(env(safe-area-inset-bottom) + 40px);

        background-image: url('../img/fv-sp.png');
        background-position: center center;
    }

    .fv-title {
        font-size: clamp(2rem, 10vw, 3.2rem);
        line-height: 1.25;
    }

    .fv-sub {
        font-size: 1rem;
    }

    .fv-copy {
        line-height: 1.9;
    }

    .btn-wrap {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: min(100%, 320px);
    }

    .section {
        padding: 60px 18px;
    }

    .map-btn {
        width: 100%;
        max-width: 320px;
    }

}

/* =========================================
   イベント情報
========================================= */

.event-info {
    max-width: 900px;

    margin: 0 auto;

    padding: 10px 20px 60px;
}

/* ▼ 見出し */
.event-head {
    margin-bottom: 30px;

    text-align: center;
}

.event-en {
    display: block;

    margin-bottom: 10px;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.3em;

    color: #a11c1c;
}

.event-title {
    margin: 0;

    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;

    color: #2d2d2d;

    letter-spacing: 0.04em;
}

/* ▼ リスト */
.event-list {
    margin: 0;
    padding: 0;

    list-style: none;

    border-top: 1px solid #ddd;
}

/* ▼ 各イベント */
.event-list li {
    border-bottom: 1px solid #ddd;
}

/* ▼ リンク */
.event-list a {
    display: block;

    padding: 20px 8px;

    color: #333;

    text-decoration: none;

    font-size: 1rem;
    line-height: 1.8;

    transition:
        background .25s ease,
        color .25s ease,
        padding-left .25s ease;
}

/* ▼ hover */
.event-list a:hover {
    background: rgba(161,28,28,0.04);

    color: #a11c1c;

    padding-left: 18px;
}

/* =========================================
   スマホ
========================================= */

@media screen and (max-width: 768px) {

    .event-info {
        padding: 10px 18px;
    }

    .event-list a {
        padding: 18px 4px;
    }

}