@charset "UTF-8";

/* =========================================================
   トップページ 式場案内
   他のCSSと干渉しにくいよう、venue-guide を接頭辞にしています。
========================================================= */

.venue-guide,
.venue-guide * {
    box-sizing: border-box;
}

.venue-guide {
    --venue-main: #df7f91;
    --venue-main-dark: #c75f78;
    --venue-main-soft: #fff5f6;
    --venue-text: #3d3634;
    --venue-muted: #716866;
    --venue-border: #efd8d2;
    --venue-bg: #fffdfb;
    --venue-shadow: 0 8px 24px rgba(86, 58, 52, 0.09);

    position: relative;
    overflow: hidden;
    padding: clamp(48px, 5vw, 76px) 20px clamp(42px, 4.5vw, 68px);
    color: var(--venue-text);
    background:
        radial-gradient(circle at 92% 8%, rgba(239, 179, 190, 0.13), transparent 26%),
        linear-gradient(180deg, #fff 0%, var(--venue-bg) 100%);
    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;
}

.venue-guide::after {
    content: "";
    position: absolute;
    top: 28px;
    right: -60px;
    width: 280px;
    height: 180px;
    opacity: 0.22;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 40% 50%, transparent 42%, rgba(223, 127, 145, 0.22) 43% 45%, transparent 46%),
        linear-gradient(145deg, transparent 47%, rgba(223, 127, 145, 0.14) 48% 50%, transparent 51%);
    transform: rotate(-8deg);
}

.venue-guide__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1440px);
    margin-inline: auto;
}

.venue-guide__header {
    margin-bottom: clamp(28px, 3vw, 40px);
    text-align: center;
}

.venue-guide__icon {
    width: 38px;
    height: 38px;
    margin: 0 auto 8px;
    color: var(--venue-main);
}

.venue-guide__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.venue-guide__title {
    margin: 0;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.12em;
}

.venue-guide__title-line {
    display: block;
    width: 42px;
    height: 3px;
    margin: 14px auto 14px;
    border-radius: 999px;
    background: var(--venue-main);
}

.venue-guide__lead {
    margin: 0;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.8;
    letter-spacing: 0.08em;
}

/* 5地域カード */
.venue-guide__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.25vw, 20px);
    align-items: stretch;
}

.venue-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--venue-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--venue-shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.venue-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 95, 120, 0.48);
    box-shadow: 0 12px 30px rgba(86, 58, 52, 0.14);
}

.venue-card--featured {
    background: linear-gradient(180deg, #fffafa 0%, #fff 100%);
    border-color: #efc8d0;
}

.venue-card__heading {
    padding: 16px 12px 13px;
    text-align: center;
}

.venue-card__city {
    margin: 0 0 4px;
    color: var(--venue-main);
    font-size: clamp(21px, 1.7vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.15em;
}

.venue-card__count {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.venue-card__count span {
    margin-right: 2px;
    font-size: 1.08em;
}

.venue-card__image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    background: #f3efec;
}

.venue-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.venue-card:hover .venue-card__image {
    transform: scale(1.035);
}

.venue-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 11px 13px;
}

.venue-card__description {
    display: flex;
    min-height: 3.8em;
    margin: 0 4px 14px;
    align-items: center;
    justify-content: center;
    color: var(--venue-muted);
    font-size: clamp(12px, 0.95vw, 15px);
    line-height: 1.85;
    text-align: center;
}

.venue-card__button {
    display: flex;
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    padding: 10px 14px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #e78b9a 0%, #dc7387 100%);
    font-size: clamp(12px, 0.92vw, 15px);
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.venue-card__button:hover {
    color: #fff;
    background: linear-gradient(135deg, #d9758a 0%, #c95e78 100%);
}

.venue-card__button:focus-visible,
.venue-card__image-link:focus-visible {
    outline: 3px solid rgba(199, 95, 120, 0.35);
    outline-offset: 3px;
}

.venue-card__arrow {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.venue-card__badge {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: grid;
    width: 76px;
    height: 76px;
    padding: 9px 6px 0 18px;
    place-items: start center;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    color: #fff;
    background: linear-gradient(135deg, var(--venue-main) 0%, var(--venue-main-dark) 100%);
    font-family:
        "Noto Sans JP",
        "Yu Gothic",
        sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0.08em;
}

/* 最下部メッセージ */
.venue-guide__note {
    display: flex;
    margin: clamp(26px, 3vw, 38px) 0 0;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #554b48;
    font-size: clamp(14px, 1.3vw, 20px);
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0.045em;
}

.venue-guide__note-decoration {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    flex: 0 0 auto;
}

.venue-guide__note-decoration::before,
.venue-guide__note-decoration::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 9px;
    border-radius: 100% 0 100% 0;
    background: rgba(223, 127, 145, 0.72);
}

.venue-guide__note-decoration::before {
    top: 2px;
    left: 2px;
    transform: rotate(18deg);
}

.venue-guide__note-decoration::after {
    right: 2px;
    bottom: 2px;
    transform: rotate(198deg);
}

.venue-guide__note-decoration--right {
    transform: scaleX(-1);
}

/* タブレット */
@media (max-width: 1199px) {
    .venue-guide__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .venue-card:nth-child(4) {
        grid-column: 1 / 2;
        margin-left: 50%;
    }

    .venue-card:nth-child(5) {
        grid-column: 2 / 3;
        margin-left: 50%;
    }

    .venue-card__description {
        font-size: 14px;
    }

    .venue-card__button {
        font-size: 14px;
    }
}

/* 2列表示 */
@media (max-width: 860px) {
    .venue-guide {
        padding-inline: 16px;
    }

    .venue-guide__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .venue-card:nth-child(4),
    .venue-card:nth-child(5) {
        grid-column: auto;
        margin-left: 0;
    }

    .venue-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        margin-inline: auto;
    }
}

/* スマートフォン */
@media (max-width: 560px) {
    .venue-guide {
        padding: 42px 14px 44px;
    }

    .venue-guide::after {
        display: none;
    }

    .venue-guide__header {
        margin-bottom: 24px;
    }

    .venue-guide__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .venue-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .venue-card {
        display: grid;
        grid-template-columns: 42% 58%;
        grid-template-rows: auto 1fr;
    }

    .venue-card__heading {
        grid-column: 1 / -1;
        padding: 13px 12px 10px;
    }

    .venue-card__image-link {
        grid-column: 1;
        grid-row: 2;
        min-height: 170px;
        aspect-ratio: auto;
    }

    .venue-card__body {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        padding: 11px 10px 11px;
    }

    .venue-card__description {
        min-height: 0;
        margin: 0 0 10px;
        font-size: 12px;
        line-height: 1.7;
    }

    .venue-card__button {
        min-height: 46px;
        padding: 8px 10px;
        gap: 7px;
        font-size: 12px;
    }

    .venue-card__badge {
        width: 67px;
        height: 67px;
        padding-top: 7px;
        font-size: 9px;
    }

    .venue-guide__note {
        gap: 8px;
        margin-top: 26px;
        font-size: 14px;
    }

    .venue-guide__note-decoration {
        width: 24px;
        transform: scale(0.8);
    }

    .venue-guide__note-decoration--right {
        transform: scale(-0.8, 0.8);
    }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
    .venue-card,
    .venue-card__image,
    .venue-card__button {
        transition: none;
    }
}

/* 既存サイトのスタイル干渉をリセット */
.venue-guide {
    width: 100%;
    max-width: none;
    margin: 0;
    clear: both;
}

.venue-guide__inner {
    width: min(1440px, calc(100% - 40px));
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
}

.venue-guide h2,
.venue-guide h3,
.venue-guide p {
    margin-top: 0;
}

.venue-guide img {
    max-width: none;
    margin: 0;
}

.venue-guide a {
    opacity: 1;
}

.venue-guide__grid {
    float: none;
    width: 100%;
}

.venue-card {
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
}

.venue-card__image-link,
.venue-card__button {
    text-decoration: none;
}

.venue-card__image {
    max-width: none !important;
}

@media screen and (min-width: 1200px) {
    .venue-guide__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

/* 宇部カード右上バッジの視認性修正 */
.venue-card__badge {
    top: 12px;
    right: 10px;
    width: auto;
    height: auto;
    min-width: 78px;
    padding: 7px 10px;
    clip-path: none;
    border-radius: 4px;
    color: #fff !important;
    background: linear-gradient(
        135deg,
        var(--venue-main) 0%,
        var(--venue-main-dark) 100%
    );
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 8px rgba(120, 55, 73, 0.18);
}
