/*
Theme Name: Golf Life LP
Theme URI: https://tour.scramble-golf.jp/lp/
Author: Golf Life
Description: Landing page theme for tour.scramble-golf.jp/lp
Version: 1.0.0
Text Domain: golflifelp
*/

.menu_dl span,
.menu_dl02 span {
    border-bottom: 1px solid currentColor;
    display: inline-block;
}

.lp-side-banner {
    display: grid;
    gap: 16px;
    margin-top: 48px;
    overflow-wrap: anywhere;
}

.sg_tmp_header .lp-side-banner {
    display: none;
}

.sg_tmp_footer .lp-side-banner {
    display: grid;
    margin-top: 48px;
}

.lp-side-banner__item {
    font-size: 14px;
    line-height: 1.7;
}

.lp-side-banner__item > *:first-child {
    margin-top: 0;
}

.lp-side-banner__item > *:last-child {
    margin-bottom: 0;
}

.lp-side-banner__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
}

.lp-side-banner a {
    color: inherit;
}

.lp-side-banner img {
    display: block;
    height: auto;
    max-width: 100%;
}

.lp-side-banner figure {
    margin: 0;
}

.lp-side-banner .wp-block-image,
.lp-side-banner .wp-block-buttons,
.lp-side-banner p {
    margin-bottom: 12px;
}

@media screen and (max-width: 1200px) {
    .sg_tmp_footer .lp-side-banner {
        margin-top: 48px;
    }
}

.default-page {
    margin: 0 auto;
    max-width: 960px;
    padding: 80px 24px;
}

.default-page__article h1 {
    margin-bottom: 32px;
}

.default-page__meta {
    margin-bottom: 24px;
}

.post-lp__lead {
    margin-bottom: 32px;
}

.post-lp__body {
    margin-bottom: 48px;
}

.post-lp__body > *:first-child,
.post-lp__body--blocks > *:first-child {
    margin-top: 0 !important;
}

.post-lp__body > *:first-child img,
.post-lp__body--blocks > *:first-child img {
    margin-top: 0 !important;
}

.post-lp-related {
    margin: 56px 0;
}

.post-lp-related h3 {
    margin-bottom: 24px;
    text-align: center;
}

.post-lp-related__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.post-lp-related__card {
    min-width: 0;
}

.post-lp-related__link {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    color: inherit;
    display: block;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
}

.post-lp-related__thumb {
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
}

.post-lp-related__thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.post-lp-related__content {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.post-lp-related__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.post-lp-related__lead {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.8;
}
