@charset "UTF-8";

/**
 * レスポンシブスタイル - スマートフォン対応
 * SMACSS形式に準拠
 */

@media only screen and (max-width: 1023px) {

/* ==========================================================================
   Base - 基本の上書き
   ========================================================================== */

.u-sp-only { display: block !important; }
.u-pc-only { display: none !important; }

/* ==========================================================================
   Layout - レイアウトの調整
   ========================================================================== */

.l-header-inner {
    padding: 1rem 1.5rem;
}

.l-content {
    display: block;
    padding: 2rem 1.5rem;
}

.home .l-content {
    padding: 0 1.5rem 2rem;
}

.l-main {
    order: 1;
    width: 100%;
}

.l-sidebar {
    order: 2;
    position: static;
    margin-top: 3rem;
}

.l-footer {
    padding: 3rem 1.5rem 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
}

/* ==========================================================================
   Components - ヘッダー
   ========================================================================== */

.c-brand__logo {
    height: 3rem;
}

.c-gnav {
    display: none;
}

/* SPメニューボタン */
.c-sp-menu {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 2.4rem;
    cursor: pointer;
    z-index: 1001;
}

.c-sp-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.c-sp-menu span:nth-child(1) { top: 0; }
.c-sp-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.c-sp-menu span:nth-child(3) { bottom: 0; }

.c-sp-menu.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.c-sp-menu.is-active span:nth-child(2) {
    opacity: 0;
}

.c-sp-menu.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ドロワーメニュー（高さをビューポートに制限し、中身だけスクロール） */
.c-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background: rgba(26, 26, 46, 0.98);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: 6rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.c-drawer.is-open {
    opacity: 1;
    visibility: visible;
}

.c-drawer__nav {
    padding: 2rem;
}

.c-drawer__list > li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.c-drawer__list > li > a,
.c-drawer__label {
    display: block;
    padding: 1.5rem 0;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
}

.c-drawer__label {
    color: #10b981;
}

.c-drawer__sublist {
    padding-left: 1.5rem;
    padding-bottom: 1rem;
}

.c-drawer__sublist li {
    margin-bottom: 0.5rem;
}

.c-drawer__sublist-heading {
    display: block;
    padding: 1rem 0 0.5rem;
    color: #10b981;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.c-drawer__sublist-heading:first-child {
    margin-top: 0;
    border-top: none;
}

.c-drawer__sublist a {
    display: block;
    padding: 0.8rem 0;
    color: #94a3b8;
    font-size: 1.4rem;
}

/* パンくずリスト */
.c-breadcrumb {
    padding: 0.8rem 1.5rem;
}

.c-breadcrumb__list {
    font-size: 1.1rem;
}

/* ==========================================================================
   Components - ヒーローセクション
   ========================================================================== */

.c-hero {
    margin: 0 -1.5rem 2rem;
    padding: 2rem 1rem;
}

.c-hero__item {
    margin: 0 0.5rem;
}

.c-hero__item img {
    height: 150px;
}

.c-hero__meta {
    padding: 1.5rem;
}

.c-hero__category {
    font-size: 1rem;
    padding: 0.3rem 1rem;
}

.c-hero__title {
    font-size: 1.4rem;
    line-height: 1.4;
}

/* ==========================================================================
   Components - 取引所カード
   ========================================================================== */

.c-exchanges {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.c-exchanges__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.c-exchanges__title {
    font-size: 1.6rem;
}

.c-exchanges__title::before {
    height: 2rem;
}

.c-exchanges__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.c-exchange-card {
    padding: 1.5rem 1rem;
    border-radius: 1rem;
}

.c-exchange-card__rank {
    font-size: 1rem;
}

.c-exchange-card__logo {
    height: 40px;
}

.c-exchange-card__name {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.c-exchange-card__name small {
    font-size: 1rem;
}

.c-exchange-card__btn {
    padding: 0.6rem 0.8rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Components - スペック比較表
   ========================================================================== */

.c-spec-table {
    padding: 2rem 1rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.c-spec-table__header {
    margin-bottom: 1.5rem;
}

.c-spec-table__title {
    font-size: 1.6rem;
}

.c-spec-table__title::before {
    height: 2rem;
}

.c-spec-table__table th,
.c-spec-table__table td {
    padding: 1rem 0.8rem;
    font-size: 1.1rem;
    min-width: 80px;
}

.m-article__content table th a,
.m-article__lead table th a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.m-article__content table th img,
.m-article__lead table th img {
    display: block;
    height: 30px;
    width: auto;
    max-width: 96px;
    margin: 0 auto;
}

.m-article__content table th .ico_rank01,
.m-article__content table th .ico_rank02,
.m-article__content table th .ico_rank03,
.m-article__content table th .ico_rank04,
.m-article__content table th .ico_rank05,
.m-article__lead table th .ico_rank01,
.m-article__lead table th .ico_rank02,
.m-article__lead table th .ico_rank03,
.m-article__lead table th .ico_rank04,
.m-article__lead table th .ico_rank05 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    line-height: 1.3;
    color: #1a1a2e;
    justify-content: center;
}

.m-article__content table th .ico_rank01::before,
.m-article__content table th .ico_rank02::before,
.m-article__content table th .ico_rank03::before,
.m-article__content table th .ico_rank04::before,
.m-article__content table th .ico_rank05::before,
.m-article__lead table th .ico_rank01::before,
.m-article__lead table th .ico_rank02::before,
.m-article__lead table th .ico_rank03::before,
.m-article__lead table th .ico_rank04::before,
.m-article__lead table th .ico_rank05::before {
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.m-article__content table th .ico_rank01::before { content: "1"; background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.m-article__content table th .ico_rank02::before { content: "2"; background: linear-gradient(135deg, #9ca3af, #6b7280); }
.m-article__content table th .ico_rank03::before { content: "3"; background: linear-gradient(135deg, #fb923c, #ea580c); }
.m-article__content table th .ico_rank04::before { content: "4"; background: #e2e8f0; color: #475569; }
.m-article__content table th .ico_rank05::before { content: "5"; background: #cbd5e1; color: #475569; }
.m-article__lead table th .ico_rank01::before { content: "1"; background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.m-article__lead table th .ico_rank02::before { content: "2"; background: linear-gradient(135deg, #9ca3af, #6b7280); }
.m-article__lead table th .ico_rank03::before { content: "3"; background: linear-gradient(135deg, #fb923c, #ea580c); }
.m-article__lead table th .ico_rank04::before { content: "4"; background: #e2e8f0; color: #475569; }
.m-article__lead table th .ico_rank05::before { content: "5"; background: #cbd5e1; color: #475569; }

.c-spec-table__table thead th a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.c-spec-table__logo {
    height: 30px;
    width: auto;
    max-width: 96px;
    display: block;
    margin: 0 auto;
}

.c-spec-table__name {
    font-size: 1rem;
    display: block;
    line-height: 1.3;
}

.c-spec-table__table thead th .ico_rank01,
.c-spec-table__table thead th .ico_rank02,
.c-spec-table__table thead th .ico_rank03,
.c-spec-table__table thead th .ico_rank04,
.c-spec-table__table thead th .ico_rank05 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.3;
    color: #1a1a2e;
}

.c-spec-table__table thead th .ico_rank01::before,
.c-spec-table__table thead th .ico_rank02::before,
.c-spec-table__table thead th .ico_rank03::before,
.c-spec-table__table thead th .ico_rank04::before,
.c-spec-table__table thead th .ico_rank05::before {
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.c-spec-table__table thead th .ico_rank01::before { content: "1"; background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.c-spec-table__table thead th .ico_rank02::before { content: "2"; background: linear-gradient(135deg, #9ca3af, #6b7280); }
.c-spec-table__table thead th .ico_rank03::before { content: "3"; background: linear-gradient(135deg, #fb923c, #ea580c); }
.c-spec-table__table thead th .ico_rank04::before { content: "4"; background: #e2e8f0; color: #475569; }
.c-spec-table__table thead th .ico_rank05::before { content: "5"; background: #cbd5e1; color: #475569; }

.u-rating--excellent::before,
.u-rating--good::before,
.u-rating--average::before,
.u-rating--poor::before {
    font-size: 1.6rem;
}

/* ==========================================================================
   Components - 最新コンテンツ
   ========================================================================== */

.c-latest {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.c-latest__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.c-latest__title {
    font-size: 1.6rem;
}

.c-latest__title::before {
    height: 2rem;
}

.c-latest__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.c-latest__item {
    padding: 1rem;
}

.c-latest__thumb {
    width: 100px;
    height: 70px;
}

.c-latest__item-title {
    font-size: 1.4rem;
    line-height: 1.4;
}

.c-latest__info {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.c-latest__more-btn {
    padding: 1rem 2rem;
    font-size: 1.3rem;
}

/* ==========================================================================
   Components - トピック
   ========================================================================== */

.c-topics {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
}

.c-topics__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.c-topics__title {
    font-size: 1.6rem;
}

.c-topics__title::before {
    height: 2rem;
}

.c-topics__label {
    font-size: 1.2rem;
}

.c-topics__tag {
    padding: 0.5rem 1.2rem;
    font-size: 1.2rem;
}

/* ==========================================================================
   Components - サイドバー
   ========================================================================== */

.c-sidebar-widget {
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.c-sidebar-widget__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
}

.c-sidebar-ranking__item {
    padding: 1rem 0;
    flex-wrap: wrap;
}

.c-sidebar-ranking__item::before {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
}

.c-sidebar-ranking__logos {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 72px;
    flex-shrink: 0;
}

.c-sidebar-ranking__logo {
    width: 72px;
    height: 28px;
    padding: 2px;
    box-sizing: border-box;
    object-fit: contain;
    flex-shrink: 0;
}

.c-sidebar-ranking__logos .c-sidebar-ranking__logo {
    width: 34px;
}

.c-sidebar-ranking__name {
    font-size: 1.2rem;
    flex: 1;
    min-width: 0;
    padding: 0 0.5rem;
}

.c-sidebar-ranking__actions {
    width: auto;
    margin-top: 0;
    margin-left: auto;
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

.c-sidebar-ranking__btn {
    min-width: 52px;
    height: 26px;
    padding: 0 0.6rem;
    font-size: 1rem;
}

/* ==========================================================================
   Components - 記事ページ
   ========================================================================== */

.m-article {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
}

.m-article__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.m-article__title {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.m-article__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    row-gap: 0.45rem;
    font-size: 1.2rem;
    width: 100%;
}

.m-article__categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.m-article__cat-link {
    padding: 0.3rem 1rem;
    white-space: nowrap;
}

.m-article__dates {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-left: 0;
    text-align: right;
    width: 100%;
    flex: 0 0 100%;
}

.m-article__date,
.m-article__date time {
    white-space: nowrap;
}

.m-article__eyecatch {
    margin-bottom: 2rem;
    border-radius: 1rem;
}

/* 記事ページのみ: ファーストビュー余白削減・アイキャッチ横幅いっぱい */
body.single .l-content {
    padding-top: 0.85rem;
}

body.single .c-affiliate-notice {
    margin-bottom: 0.35rem;
}

body.single .m-article {
    padding-top: 1.25rem;
}

body.single .m-article__header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}

body.single .m-article__title {
    margin-bottom: 0.65rem;
}

body.single .m-article__eyecatch {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    max-width: none;
    border-radius: 0 0 1rem 1rem;
}

.m-article__content {
    font-size: 1.5rem;
    line-height: 1.9;
}

.m-article__content h2 {
    font-size: 1.8rem;
    margin: 4rem 0 1.5rem;
    padding: 1.2rem 1.5rem;
}

.m-article__content h3 {
    font-size: 1.6rem;
    margin: 3rem 0 1rem;
}

.m-article__content h4 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

/* 目次（SP: 枠内・タッチしやすいラベル・閉時高さ） */
.m-toc-frame {
    padding: 1.5rem;
    margin: 2.5rem 0 2rem;
}

.m-toc-frame #toc.m-toc {
    max-height: 100px;
}

.toc_toggle_label {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    font-size: 1.3rem;
    justify-content: center;
}

.toc_toggle_arrow {
    border-left-width: 0.45rem;
    border-right-width: 0.45rem;
    border-top-width: 0.55rem;
}

.m-toc__title {
    font-size: 1.4rem;
}

.m-toc__list a {
    font-size: 1.3rem;
}

.m-toc__list ol {
    padding-left: 1.5rem;
}

/* SNSシェア */
.m-share {
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.m-share__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.m-share__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.m-share__list li {
    margin: 0;
    padding: 0;
}

.m-share__list li::before {
    display: none;
}

.m-share__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.m-share__link img {
    width: 24px;
    height: 24px;
}

/* URLコピー */
.m-copy-url {
    display: block;
    width: fit-content;
    gap: 0.5rem;
    padding: 1.2rem 1.5rem;
    font-size: 1.3rem;
    text-align: center;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 0.8rem;
    margin: 0 auto 2rem;
    cursor: pointer;
}

.m-copy-url.is-copied {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
}

/* 前後の記事ナビ */
.m-post-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.m-post-nav__item {
    display: block;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
}

.m-post-nav__label {
    display: block;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.m-post-nav__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}

/* カテゴリリンク */
.m-category-link {
    text-align: center;
    margin-bottom: 2rem;
}

.m-category-link__btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #f1f5f9;
    border-radius: 2rem;
    font-size: 1.3rem;
    color: #475569;
    margin: 0.5rem;
}

/* 関連タグ */
.m-related-tags {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.m-related-tags__label {
    font-weight: 600;
    color: #64748b;
}

.m-related-tags__list a {
    display: inline-block;
    margin: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: #fff;
    border-radius: 0.5rem;
    font-size: 1.2rem;
}

/* 関連記事 */
.m-related {
    margin-bottom: 2rem;
}

.m-related__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #10b981;
}

.m-related__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.m-related__item a {
    display: block;
    background: #f8fafc;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.m-related__item a:hover {
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.m-related__item img {
    width: 100%;
    height: auto;
    display: block;
}

.m-related__item-title {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
}

/* 人気記事 */
.m-popular {
    margin-bottom: 2rem;
}

.m-popular__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f59e0b;
}

.m-popular__list {
    counter-reset: popular;
}

.m-popular__item {
    counter-increment: popular;
    position: relative;
}

.m-popular__item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fffbeb;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.m-popular__item::before {
    content: counter(popular);
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 2rem;
    height: 2rem;
    background: #f59e0b;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.m-popular__item img {
    width: 100px;
    height: auto;
    border-radius: 0.5rem;
    flex-shrink: 0;
    align-self: flex-start;
    object-fit: contain;
}

.m-popular__meta {
    flex: 1;
}

.m-popular__category {
    display: block;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.m-popular__item-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
}

/* ==========================================================================
   Components - アーカイブページ
   ========================================================================== */

.c-archive-header {
    padding: 2rem;
    background: #fff;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.c-archive-header__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.c-archive-header__desc {
    margin-top: 1rem;
    font-size: 1.4rem;
    color: #64748b;
}

/* 取引所一覧 */
.c-exchange-list {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.c-exchange-list__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.c-exchange-list__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.c-exchange-list__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    border-radius: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
}

.c-exchange-list__link:hover {
    background: #ecfdf5;
    color: #10b981;
    border-color: #10b981;
}

.c-exchange-list__link small {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    margin-top: 0.3rem;
}

/* 記事グリッド */
.c-post-grid {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 0;
}

.c-post-grid__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-post-grid__item {
    background: #f8fafc;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.c-post-grid__item:hover {
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.c-post-grid__item a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.c-post-grid__item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.c-post-grid__meta {
    padding: 0.8rem 1rem 1rem;
    flex: 1;
}

.c-post-grid__date {
    font-size: 1rem;
    color: #64748b;
}

.c-post-grid__title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
    margin-top: 0.3rem;
}

/* ページネーション */
.c-pagination {
    text-align: center;
    padding: 2.5rem 0 2rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    border-radius: 0 0 1.5rem 1.5rem;
}

.c-pagination a {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #10b981;
    color: #fff;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(16,185,129,0.25);
}

.c-no-posts {
    padding: 3rem;
    background: #fff;
    border-radius: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    color: #64748b;
}

/* 子カテゴリナビゲーション（SP） */
.c-subcategory {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.8rem;
    margin-bottom: 2rem;
}

.c-subcategory__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.c-subcategory__title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.4rem;
    background: #10b981;
    border-radius: 2px;
    flex-shrink: 0;
}

.c-subcategory__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-subcategory__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.7rem 1.4rem;
    border-radius: 3rem;
    font-size: 1.3rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.c-subcategory__link small {
    font-size: 1rem;
    color: #94a3b8;
}

.c-subcategory__link:hover {
    background: #ecfdf5;
    color: #10b981;
    border-color: #10b981;
}

/* ==========================================================================
   Components - 404ページ
   ========================================================================== */

.c-404-links {
    text-align: center;
}

.c-404-links h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.c-404-links h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
}

.c-404-links__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.c-404-links__list a {
    display: inline-block;
    padding: 1rem 2rem;
    background: #10b981;
    color: #fff;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.4rem;
}

.c-404-links__list--exchange a {
    background: #f1f5f9;
    color: #475569;
}

/* 404のリンクはボタン/カードのためリストマークを出さない */
.c-404-links__list li {
    padding-left: 0;
}
.c-404-links__list li::before {
    content: none;
    display: none;
}

/* ==========================================================================
   Components - フッター
   ========================================================================== */

.c-footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.c-footer-nav__section h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.c-footer-nav__list a {
    font-size: 1.2rem;
}

.c-footer-legal__disclaimer {
    font-size: 1rem;
    padding: 1.2rem;
}

.c-footer-legal__links {
    flex-wrap: wrap;
    gap: 1rem;
}

.c-footer-legal__links a {
    font-size: 1.1rem;
}

/* ページトップボタン */
.c-pagetop {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 4rem;
    height: 4rem;
}

.c-pagetop img {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   CSS_RULE.md - テキスト装飾（SP）
   ========================================================================== */

.txt_small {
    font-size: 0.8em;
}

/* ==========================================================================
   CSS_RULE.md - 重要度（星）（SP）
   ========================================================================== */

.st_star {
    font-size: 1.2rem;
}

/* ==========================================================================
   CSS_RULE.md - この記事を先読み（summary）（SP）
   ========================================================================== */

.summary {
    padding: 2rem 1.5rem;
    margin: 2rem 0;
    border-radius: 1rem;
}

.summary h2 {
    font-size: 1.6rem !important;
}

.summary ul li {
    font-size: 1.4rem;
    padding-left: 2.2rem;
}

.summary ul li::before {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 1rem;
}

/* ==========================================================================
   CSS_RULE.md - リンクボタン（SP）
   ========================================================================== */

.bt_link {
    margin: 1.5rem 0;
    text-align: center;
}

.bt_link a {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem 1rem 4.2rem;
    font-size: 1.4rem;
    background-position: 1.6rem 50%;
    background-size: 1.2rem auto;
}

.bt_link_bottom {
    margin: 1.5rem 0;
}

.bt_link_bottom a {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem 1rem 4.2rem;
    font-size: 1.4rem;
    background-position: 1.6rem 50%;
    background-size: 1.2rem auto;
}

/* CVボタン（sample互換） */
.m-article__content .bt_site,
.m-article__content [class^="bt_site_"],
.m-article__lead .bt_site,
.m-article__lead [class^="bt_site_"] {
    width: 100%;
    max-width: 320px;
}

.m-article__content .bt_site a,
.m-article__content [class^="bt_site_"] a,
.m-article__lead .bt_site a,
.m-article__lead [class^="bt_site_"] a {
    font-size: 1.4rem;
    padding: 1rem 2rem 1rem 4.2rem;
    background-size: 1.2rem auto;
    background-position: 1.6rem 50%;
}

/* ==========================================================================
   CSS_RULE.md - 関連記事リンク（あわせて読みたい）（SP）
   ========================================================================== */

.link_box {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.8rem 0.8rem 0;
}

.link_box::before {
    font-size: 1rem;
    padding: 0.2rem 0.8rem;
}

.link_box p a,
.link_box ul li a {
    font-size: 1.3rem;
    background-size: 1.1rem auto;
    padding-left: 1.8rem;
}

/* ==========================================================================
   CSS_RULE.md - 枠（waku）（SP）
   ========================================================================== */

.waku,
.waku_merit,
.waku_demerit,
.waku_info {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 1rem;
}

.waku_st {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
}

.waku_merit::before,
.waku_demerit::before,
.waku_info::before {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
}

/* ==========================================================================
   CSS_RULE.md - リストマーク（SP）
   ========================================================================== */

.list_maru li,
.list_batsu li {
    padding-left: 2.2rem;
    font-size: 1.4rem;
}

.list_maru li::before,
.list_batsu li::before {
    width: 1.8rem;
    height: 1.8rem;
    top: 0.25em;
}

.m-article__content ul.list_maru li,
.m-article__content ul.list_batsu li {
    padding-left: 3.8rem;
}

.m-article__content ul.list_maru li::before,
.m-article__content ul.list_batsu li::before {
    width: 2.2rem;
    height: 2.2rem;
    top: 0.2em;
}

/* ==========================================================================
   CSS_RULE.md - 吹き出し（キャラクター対話）（SP）
   sample style_sp.css ベース
   ========================================================================== */

.m-article__content .fuki_a01,
.m-article__content .fuki_a02,
.m-article__content .fuki_a03,
.m-article__content .fuki_a04,
.m-article__content .fuki_hoo01,
.m-article__content .fuki_hoo02 {
    position: relative;
    width: 100%;
    padding: 2rem;
    margin: 2rem 0 0;
    padding-left: 7.5rem;
    background-color: transparent;
}

.m-article__content .fuki_b01,
.m-article__content .fuki_b02,
.m-article__content .fuki_lux01,
.m-article__content .fuki_lux02,
.m-article__content .fuki_lux03,
.m-article__content .fuki_lux04 {
    position: relative;
    width: 100%;
    padding: 2rem;
    margin: 2rem 0 0;
    padding-right: 7.5rem;
    background-color: transparent;
}

.m-article__content .fuki_a01 p,
.m-article__content .fuki_a02 p,
.m-article__content .fuki_a03 p,
.m-article__content .fuki_a04 p,
.m-article__content .fuki_hoo01 p,
.m-article__content .fuki_hoo02 p,
.m-article__content .fuki_b01 p,
.m-article__content .fuki_b02 p,
.m-article__content .fuki_lux01 p,
.m-article__content .fuki_lux02 p,
.m-article__content .fuki_lux03 p,
.m-article__content .fuki_lux04 p {
    margin: 0;
    padding: 1.4rem 1.8rem;
    font-size: 1.4rem;
    border-radius: 1rem;
}

.m-article__content .fuki_a01::after,
.m-article__content .fuki_a02::after,
.m-article__content .fuki_a03::after,
.m-article__content .fuki_a04::after,
.m-article__content .fuki_hoo01::after,
.m-article__content .fuki_hoo02::after {
    content: "";
    position: absolute;
    top: 5rem;
    left: -1rem;
    width: 0;
    height: 0;
    border: 1rem solid transparent;
    border-right-color: #fff;
    border-left: 0;
    margin-top: -1rem;
    transform: translateY(-10%);
}

.m-article__content .fuki_b01::after,
.m-article__content .fuki_b02::after,
.m-article__content .fuki_lux01::after,
.m-article__content .fuki_lux02::after,
.m-article__content .fuki_lux03::after,
.m-article__content .fuki_lux04::after {
    content: "";
    position: absolute;
    top: 5rem;
    right: -1rem;
    width: 0;
    height: 0;
    border: 1rem solid transparent;
    border-left-color: #fff;
    border-right: 0;
    margin-top: -1rem;
    transform: translateY(-10%);
}

.m-article__content .fuki_a01::before,
.m-article__content .fuki_a02::before,
.m-article__content .fuki_a03::before,
.m-article__content .fuki_a04::before,
.m-article__content .fuki_hoo01::before,
.m-article__content .fuki_hoo02::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6.5rem;
    height: 8rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
}

.m-article__content .fuki_b01::before,
.m-article__content .fuki_b02::before,
.m-article__content .fuki_lux01::before,
.m-article__content .fuki_lux02::before,
.m-article__content .fuki_lux03::before,
.m-article__content .fuki_lux04::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6.5rem;
    height: 8rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
}

.m-article__content .fuki_a01::before,
.m-article__content .fuki_hoo01::before { background-image: url('images/common/mc_a01.png'); }
.m-article__content .fuki_a02::before,
.m-article__content .fuki_hoo02::before { background-image: url('images/common/mc_a02.png'); }
.m-article__content .fuki_a03::before { background-image: url('images/common/mc_a03.png'); }
.m-article__content .fuki_a04::before { background-image: url('images/common/mc_a01.png'); }

.m-article__content .fuki_b01::before,
.m-article__content .fuki_lux01::before { background-image: url('images/common/mc_b01.png'); }
.m-article__content .fuki_b02::before,
.m-article__content .fuki_lux02::before { background-image: url('images/common/mc_b02.png'); }
.m-article__content .fuki_lux03::before { background-image: url('images/common/mc_b03.png'); }
.m-article__content .fuki_lux04::before { background-image: url('images/common/mc_b04.png'); }

/* ==========================================================================
   CSS_RULE.md - よくある質問（FAQ）（SP）
   ========================================================================== */

.faq {
    margin: 1rem 0;
    border-radius: 0.8rem;
}

.faq summary {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    gap: 0.8rem;
}

.faq summary::before {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.2rem;
}

.faq summary::after {
    width: 1.6rem;
    height: 1.6rem;
}

.faq > div {
    padding: 0 1.5rem 1.5rem;
}

.faq > div::before {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.2rem;
    left: 1.5rem;
}

.faq > div p {
    margin-left: 3.5rem;
    font-size: 1.4rem;
}

/* ==========================================================================
   CSS_RULE.md - 既存装飾の画像サイズ調整（SP）
   ========================================================================== */

.m-article__content ul li::before {
    width: 1.2rem;
    height: 1.2rem;
    top: 0.6em;
}

.m-article__content blockquote {
    padding: 1.8rem 1.5rem 1.8rem 4.5rem;
    background-position: 1.5rem 1.2rem;
    background-size: 1.6rem auto;
}

/* ==========================================================================
   CSS_RULE.md - CTAテキスト装飾（SP）
   ========================================================================== */

.m-article__content .cta_text {
    font-size: 1.4rem;
    line-height: 1.8rem;
    padding: 0 2.5rem;
}

.m-article__content .cta_text::before,
.m-article__content .cta_text::after {
    width: 1.3rem;
    height: 1.3rem;
}

/* ==========================================================================
   CSS_RULE.md - テーブル（スクロール対応）（SP）
   ========================================================================== */

.tbl_scroll {
    margin: 1.5rem -1.5rem;
    padding: 0;
}

.tbl_scroll caption {
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tbl_scroll::after {
    content: '← 横にスクロールできます';
    display: block;
    text-align: left;
    font-size: 1.1rem;
    color: #64748b;
    padding: 0.5rem 0;
}

.th_fixed {
    min-width: 100px;
}

}

/* ==========================================================================
   タブレット以上（768px～1023px）
   ========================================================================== */

@media only screen and (min-width: 768px) and (max-width: 1023px) {

.c-footer-nav--four-column {
    grid-template-columns: repeat(2, 1fr);
}

.c-gnav__dropdown--mega {
    min-width: 600px;
    grid-template-columns: repeat(2, 1fr);
}

}
