@charset "UTF-8";
/*
Theme Name:   Sakunet
Description:  THE SONICカスタマイズ用子テーマ
Template:     thesonic
Version:      1.3.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

ul,
ol {
    list-style: none;
}

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

a:hover {
    text-decoration: none;
}

p {
    margin: unset;
    padding: unset;
}

:root { interpolate-size: allow-keywords; }
:root {
    --main-color: #07a50b;
    --sub-color: #9dc4c1;
    --accent-color: #f4be30;
    --bg-color: #f3f7f8;
    --bg-color-hover: #e3ecef;
    --shadow-color: #c7dade;
    --text-color: #162524;
    --link-color: #0f1818;
    --title-color: #464647;
    --title-size: 24px;
    --inline-padding-base: 16px;
    --block-padding-base: 24px;
    --header-height: 50px;
}

@media screen and (min-width: 768px) {
    :root {
        --inline-padding-base: 24px;
        --block-padding-base: 32px;
        --title-size: 32px;
    }
}

@media screen and (min-width: 901px) {
    :root {
        --inline-padding-base: 32px;
        --block-padding-base: 48px;
        --header-height: 80px;
    }
}

html {
    font-size: 62.5%;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

#body {
    background-color: #fff;
}

.header {
    width: 100%;
    height: var(--header-height);
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.main {
    width: 100%;
    margin-top: var(--header-height);
}

.footer {
    background: var(--bg-color);
}

.sp {
    display: block;
}

.pc {
    display: none;
}

@media screen and (min-width: 768px) {
    .sp {
        display: none;
    }

    .pc {
        display: block;
    }
}

/**
 * カスタマイズ用のスタイルは以下に追加
 */

/* ============================================================
 * 2026/11 v1.2 見た目の見直し（他3サイトにそろえる）
 * ============================================================ */

/* --- 記事：タイトル下（更新日・公開日／PRバッジ／執筆） --- */
.article-header .article-title {
    padding-top: 20px;
}
.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    padding-top: 8px;
}
.article-header .article-meta-row .article-time {
    padding: 0;
}
.article-pr-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border: 1px solid #cfe5cf;
    border-radius: 999px;
    background: #f3faf3;
    color: #2f7a31;
    font-size: 11px;
    line-height: 1.6;
    white-space: nowrap;
}
.article-pr-badge .material-icons {
    font-size: 14px;
}
.article-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}
.article-byline-label {
    display: inline-block;
    padding: 0 6px;
    background: #eef1f2;
    color: #666;
    font-size: 11px;
    line-height: 1.8;
}
.article-byline a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- 記事下：執筆者欄のアイコン（シンボルマーク） --- */
.article-author .article-author-avatar img.article-author-symbol {
    width: 64px;
    height: 64px;
    padding: 8px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

/* --- トップ：ファーストビュー --- */
.sk-hero {
    background: #f1f8f1;
}
.sk-hero-inner {
    padding-top: 32px;
    padding-bottom: 32px;
}
.sk-hero-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--main-color);
    font-size: 13px;
    font-weight: bold;
    line-height: 1.6;
}
.sk-hero-title {
    margin-top: 14px;
    font-size: 24px;
    line-height: 1.45;
    color: var(--text-color);
}
.sk-hero-title em {
    font-style: normal;
    color: var(--main-color);
}
.sk-hero-lead {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}
.sk-hero-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
    max-width: 640px;
}
.sk-hero-cat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border: 1px solid #dfe9df;
    border-radius: 999px;
    background: #fff;
    color: var(--text-color);
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
}
.sk-hero-cat .material-icons {
    font-size: 20px;
    color: var(--main-color);
}
.sk-hero-cat:hover {
    border-color: var(--main-color);
}
@media screen and (min-width: 768px) {
    .sk-hero-inner {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .sk-hero-title {
        font-size: 32px;
    }
    .sk-hero-lead {
        font-size: 15px;
    }
    .sk-hero-cat {
        font-size: 15px;
        padding: 14px 10px;
    }
}

/* --- トップ（スマホ）：記事一覧を「画像の横にタイトル」に --- */
@media screen and (max-width: 767px) {
    .recent-posts .post-list,
    .recommend-posts .post-list {
        gap: 0;
    }
    .recent-posts .post-list-item,
    .recommend-posts .post-list-item {
        padding: 12px 0;
        border-bottom: 1px solid #eceff0;
    }
    .recent-posts .post-list-item a article,
    .recommend-posts .post-list-item a article {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    .recent-posts .post-list-item-thumbnail,
    .recommend-posts .post-list-item-thumbnail {
        width: 128px;
    }
    .recent-posts .post-list-item-meta,
    .recommend-posts .post-list-item-meta {
        flex: 1 1 auto;
        gap: 6px;
    }
    .recent-posts .post-list-item-title,
    .recommend-posts .post-list-item-title {
        font-size: 14px;
        line-height: 1.45;
        height: auto;
    }
    .recent-posts .post-list-item-time,
    .recommend-posts .post-list-item-time {
        font-size: 12px;
    }
}

/* --- 2026/11 v1.3 執筆者欄のリンク --- */
.article-author .article-author-profile a {
    color: #1a6fb5;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-author .article-author-profile p.article-author-note {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}
