/* === Secret Golf Theme — main.css === */

:root {
    --color-bg:        #fff;
    --color-text:      #222;
    --color-meta:      #666;
    --color-link:      #0066CC;
    --color-link-hov:  #003e7e;
    --color-border:    #e5e5e5;
    --color-card-bg:   #fff;
    --shadow-card:     0 1px 3px rgba(0,0,0,0.08);
    --shadow-card-hov: 0 2px 8px rgba(0,0,0,0.12);
    --radius:          4px;
    --max-width:       1320px;
    --gap:             32px;
    --font-stack:      "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-stack);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-link-hov); text-decoration: underline; }

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

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Header === */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0;
}
.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
}
.site-title {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.site-title a {
    color: var(--color-text);
    text-decoration: none;
}
.site-title--image {
    margin: 0;
    line-height: 0;
    background: #fff;
}
.site-title--image a {
    display: block;
}
.site-title--image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.site-tagline {
    margin: 4px 0 0;
    color: var(--color-meta);
    font-size: 13px;
}
.site-nav {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #fff;
}
.site-nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.site-nav__search {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 6px 14px;
    transition: background .15s ease, border-color .15s ease;
}
.site-nav__search:focus-within {
    background: #fff;
    border-color: var(--color-link);
}
.site-nav__search-icon {
    color: var(--color-meta);
    font-size: 12px;
}
.site-nav__search-field {
    border: 0;
    background: transparent;
    outline: 0;
    padding: 0;
    margin: 0;
    font-size: 13px;
    width: 160px;
    color: var(--color-text);
}
.site-nav__search-field::placeholder { color: var(--color-meta); }
.site-nav__search-field::-webkit-search-cancel-button { -webkit-appearance: none; }

@media (max-width: 600px) {
    .site-nav__inner { padding: 8px 6px; }
    .site-nav__search { width: 100%; order: 2; }
    .site-nav__search-field { width: 100%; flex: 1; }
}
.site-nav__list li {
    margin: 0;
}
.site-nav__list a {
    display: block;
    position: relative;
    padding: 16px 22px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: color .2s ease;
}
.site-nav__list a::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 10px;
    height: 2px;
    background: var(--color-link);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.site-nav__list a:hover {
    color: var(--color-link);
    text-decoration: none;
}
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after {
    transform: scaleX(1);
}
@media (max-width: 600px) {
    .site-nav__list a { padding: 12px 14px; font-size: 13px; }
    .site-nav__list a::after { left: 14px; right: 14px; bottom: 6px; }
}

/* === Body layout === */
.site-body {
    flex: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 32px 16px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--gap);
}
.site-main { min-width: 0; }
.site-sidebar { min-width: 0; }

@media (max-width: 768px) {
    .site-body {
        grid-template-columns: 1fr;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* === Free report (top page promo box) === */
.free-report {
    background: #f2f2f2;
    border: 1px solid #bbb;
    padding: 16px 28px;
    margin-bottom: 28px;
}
.free-report--bottom { margin-top: 28px; }
@media (min-width: 769px) {
    .free-report--bottom { display: none; }
}
@media (max-width: 768px) {
    .free-report--top { display: none; }
    .site-sidebar .widget_report { display: none; }
}
.free-report__inner {
    display: grid;
    grid-template-columns: 198px 1fr;
    gap: 20px;
    align-items: center;
}
.free-report__visual img {
    display: block;
    max-width: 100%;
    height: auto;
}
.free-report__lead {
    margin: 0 0 4px;
    color: #b94a00;
    font-size: 13px;
    font-weight: 600;
}
.free-report__h {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
    color: #b94a00;
}
.free-report__desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.7;
}
.free-report__hl {
    color: #c00;
    font-weight: 700;
}
.free-report__count {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--color-text);
}
.free-report__cta-lead {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--color-meta);
}
.free-report__cta {
    margin: 0;
    text-align: center;
}
.free-report__cta a {
    display: inline-block;
    transition: transform 0.1s ease, opacity 0.1s ease;
}
.free-report__cta a:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}
.free-report__cta img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .free-report__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .free-report__visual {
        text-align: center;
    }
    .free-report__visual img {
        margin: 0 auto;
    }
}

/* === Page header === */
.page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}
.page-title {
    margin: 0 0 4px;
    font-size: 22px;
}
.page-description {
    margin: 0;
    color: var(--color-meta);
    font-size: 14px;
}

/* === Post list (3-col card grid) === */
.post-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 1099px) {
    .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.post-card {
    position: relative;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: box-shadow .15s ease, transform .15s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.post-card:hover {
    box-shadow: var(--shadow-card-hov);
    transform: translateY(-1px);
}
.post-card__title-link {
    color: var(--color-text);
    text-decoration: none;
}
.post-card__title-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}
.post-card:hover .post-card__title-link { color: var(--color-link); }
.post-card__thumb {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}
.post-card__thumb--placeholder {
    background-color: #e8e8e8;
    background-image: radial-gradient(circle at 50% 50%, #ccc 1.5px, transparent 2px);
    background-size: 14px 14px;
    background-repeat: repeat;
}
.post-card__body {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.post-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Post meta === */
.post-meta {
    color: var(--color-meta);
    font-size: 12px;
}
.post-card .post-meta a {
    position: relative;
    z-index: 1;
}
.post-meta .post-comments { margin-left: 8px; color: var(--color-meta); }
.post-meta .post-comments::before { content: '💬 '; }

/* === Single post === */
.single-post,
.static-page {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 32px 36px;
}
.single-post__header,
.static-page__header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}
.single-post__title,
.static-page__title {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.4;
}
.single-post__content,
.static-page__content {
    font-size: 15px;
    line-height: 1.85;
}
.single-post__content h2,
.static-page__content h2 {
    margin: 2em 0 .7em;
    padding: .15em 0 .4em;
    border-bottom: 2px solid var(--color-link);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
}
.single-post__content h3,
.static-page__content h3 {
    margin: 1.6em 0 .5em;
    padding-left: 12px;
    border-left: 4px solid var(--color-link);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}
.single-post__content h4,
.static-page__content h4 {
    margin: 1.4em 0 .4em;
    font-size: 16px;
    font-weight: 700;
}
.single-post__content img,
.static-page__content img {
    margin: 8px 0;
    border-radius: 2px;
}
/* === Share buttons === */
.share-buttons {
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}
.share-buttons__label {
    display: block;
    color: var(--color-meta);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.share-buttons__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.share-buttons__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: opacity .15s ease, transform .15s ease;
}
.share-buttons__btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.share-buttons__btn i {
    font-size: 14px;
    width: 14px;
    text-align: center;
}
.share-buttons__btn--facebook { background: #1877F2; }
.share-buttons__btn--x        { background: #000; }
.share-buttons__btn--line     { background: #06C755; }
.share-buttons__btn--email    { background: #6b7280; }

.single-post__footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-meta);
}

@media (max-width: 768px) {
    .single-post,
    .static-page {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }
}

/* === Post nav (prev/next) === */
.post-nav {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}
.post-nav__prev a,
.post-nav__next a {
    display: inline-block;
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

/* === Pagination === */
.pagination {
    margin-top: 32px;
    text-align: center;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-link);
    font-size: 13px;
}
.pagination .page-numbers.current {
    background: var(--color-link);
    color: #fff;
    border-color: var(--color-link);
}

/* === Sidebar === */
.site-sidebar {
    font-size: 14px;
}
.site-sidebar .widget {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.site-sidebar .widget-title {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-link);
    font-size: 14px;
    letter-spacing: 0.05em;
}
.site-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-sidebar li {
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px dotted var(--color-border);
    font-size: 13px;
}
.site-sidebar li:last-child { border-bottom: 0; }
.site-sidebar li a { color: var(--color-text); }
.site-sidebar li a:hover { color: var(--color-link); }
.widget-mailmaga__placeholder,
.widget-placeholder__box {
    margin: 0;
    color: #888;
    font-size: 13px;
    text-align: center;
    padding: 24px 12px;
    background: #e8e8e8;
    border: 1px dashed #bbb;
    border-radius: var(--radius);
    line-height: 1.6;
}

/* === Sidebar widget styles === */
.widget_categories ul {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}
.widget_categories ul::-webkit-scrollbar { width: 6px; }
.widget_categories ul::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
.widget_categories li.cat-item { padding: 6px 0; }
.widget_search .search-form {
    display: flex;
    gap: 4px;
}
.widget_search .search-form label {
    flex: 1;
    display: block;
}
.widget_search input[type="search"],
.widget_search input.search-field {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 13px;
}
.widget_search input[type="submit"],
.widget_search .search-submit {
    padding: 6px 12px;
    background: var(--color-link);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
}
.widget-voice__lead {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 14px;
}
.widget-voice__desc {
    margin: 0;
    color: var(--color-meta);
    font-size: 12px;
    line-height: 1.6;
}

/* widget: 無料メルマガ（まぐまぐ） */
.widget-mag2 { font-size: 13px; line-height: 1.6; }
.widget-mag2__award {
    margin: 0 0 12px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}
.widget-mag2__award img {
    margin-top: 4px;
    max-width: 100%;
    height: auto;
}
.widget-mag2__lead {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--color-meta);
}
.widget-mag2__form {
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.widget-mag2__form label {
    font-size: 12px;
}
.widget-mag2__input {
    padding: 6px 8px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
}
.widget-mag2__submit {
    padding: 6px 0;
    background: var(--color-link);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    font-size: 13px;
    cursor: pointer;
}
.widget-mag2__publisher {
    margin: 12px 0 8px;
    text-align: center;
    font-size: 11px;
    color: var(--color-meta);
}
.widget-mag2__publisher img {
    display: block;
    margin: 0 auto 4px;
    max-width: 100%;
    height: auto;
}
.widget-mag2__links {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}
.widget-mag2__links li {
    padding: 4px 0;
    border-bottom: 1px dotted var(--color-border);
}
.widget-mag2__links li:last-child { border-bottom: 0; }

/* widget: LINE */
.widget-line__btn {
    margin: 0;
    text-align: center;
}
.widget-line__btn img {
    height: 36px;
    width: auto;
    display: inline-block;
}

/* widget: 無料レポート (sidebar) */
@media (min-width: 769px) {
    .site-sidebar .widget_report {
        position: sticky;
        top: 16px;
    }
}
.widget-report .widget-title { line-height: 1.4; }
.widget-report__hl { color: #c00; }
.widget-report__visual {
    margin: 0 0 12px;
    text-align: center;
}
.widget-report__visual img {
    max-width: 100%;
    height: auto;
}
.widget-report__form {
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.widget-report__form label {
    font-size: 12px;
}
.widget-report__req { color: #c00; }
.widget-report__input {
    padding: 6px 8px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
}
.widget-report__submit {
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.widget-report__submit img {
    display: block;
    width: 100%;
    height: auto;
}
.widget-report__note {
    margin: 0 0 8px;
    font-size: 11px;
    color: var(--color-meta);
}
.widget-report__attention {
    margin: 0;
    font-size: 10.5px;
    color: var(--color-meta);
    line-height: 1.5;
}

/* === Comments === */
.comments-area {
    margin-top: 32px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 24px 28px;
}
.comments-title {
    margin: 0 0 16px;
    font-size: 18px;
}
.comment-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
.comment-list li {
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
    font-size: 14px;
}
.comment-list li:last-child { border-bottom: 0; }
.comment-author { font-weight: 600; }
.comment-meta { color: var(--color-meta); font-size: 12px; margin-bottom: 4px; }
.comment-respond { margin-top: 16px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
}
.comment-form textarea { min-height: 100px; }
.comment-form .submit {
    background: var(--color-link);
    color: #fff;
    border: 0;
    padding: 8px 24px;
    border-radius: var(--radius);
    cursor: pointer;
}

/* === Footer === */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    background: #fafafa;
}
.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}
.site-copyright {
    margin: 0;
    color: var(--color-meta);
    font-size: 12px;
}

/* === 404 === */
.error-404 {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

/* === Misc === */
.search-form {
    display: flex;
    gap: 4px;
}
.search-form label {
    flex: 1;
    display: block;
}
.search-form input[type="search"],
.search-form .search-field {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.search-form input[type="submit"],
.search-form .search-submit {
    padding: 6px 12px;
    background: var(--color-link);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
}
