﻿@charset "UTF-8";

/* コンテナ全体 */
.article-container {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #ffffff;
    color: #4a4a4a;
    font-size: 1.6rem;
    line-height: 1.5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    max-width: 768px;
    margin: 0 auto 2rem;
    padding: 4rem;
    border-radius: 0.75rem;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 汎用 */
.sb-fw-bold { font-weight: bold; }
.sb-mb-15 { margin-bottom: 1.5rem; }
.sb-flex-1 { flex: 1; }
.sb-text-left { text-align: left; }
.sb-link { color: #2563eb; text-decoration: underline; }

/* 見出し・テキスト関連 */
.sb-h1 {
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #5d4037;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
}

.sb-h2 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 1rem;
    background-color: #f9fafb;
    padding: 1.7rem 1rem;
    border-radius: 0.8rem;
    border-left: 4px solid #5d4037;
    color: #5d4037;
    display: flex;
    align-items: center;
}

.sb-h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #5d4037;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.sb-p {
    margin-bottom: 2.5rem;
}

.sb-info-box {
    background-color: #fff7ed;
    padding: 1.8rem;
    border-radius: 0.5rem;
    margin-bottom: 2.5rem;
    color: #7c2d12;
    font-size: 1.8rem;
    line-height: 1.7;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.warning-box {
    background-color: #fff5f5;
    border-left: 4px solid #fc8181;
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.warning-box .warning-title {
    font-weight: bold;
    color: #b91c1c;
    margin-bottom: 0.5rem;
}

.warning-box .warning-text {
    margin-bottom: 0.5rem;
}

.warning-box ul {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.warning-box li {
    margin-bottom: 0.25rem;
    list-style-type: disc;
}

.warning-box .warning-footer {
    font-weight: bold;
    margin-top: 0.5rem;
}

.sb-step-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.sb-ref-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.sb-ref-box .ref-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.sb-ref-box ul {
    padding-left: 0;
    list-style: none;
}

.sb-ref-box li {
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.sb-ref-box a {
    color: #2563eb;
    text-decoration: underline;
}

/* 画像 */
.sb-img-wrap {
    text-align: center;
    margin: 1.5rem 0 1rem;
}

.sb-img-bg-black {
    background-color: #000;
    padding: 10px;
    border-radius: 0.5rem;
}

.sb-img-wrap-small {
    margin: 1rem 0;
    text-align: center;
}

.sb-img-rounded {
    border-radius: 0.5rem;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.caption-text {
    color: #718096;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.caption-text.bold {
    font-weight: bold;
    color: #ea580c;
}

/* レイアウト */
.sb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sb-flex-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.sb-w-48 {
    width: 19rem;
    flex-shrink: 0;
}

.check-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9em;
    color: #718096;
}

.shadow-md {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 0.5rem;
}

/* 吹き出し（エリーさん） */
.sb-speech-row {
    display: flex;
    align-items: flex-start;
    margin: 2.5rem 0;
}

.sb-avatar {
    width: 8rem;
    height: 8rem; 
    flex-shrink: 0;
    border-radius: 50%;
    margin-right: 1.5rem;
    border: 2px solid #fed7aa;
    overflow: hidden;
    background-color: #f3f4f6;
}

.sb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speech-bubble {
    flex: 1;
    position: relative;
    background: #f0f4f8;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: 2.2rem;
    left: -10px;
    border-width: 10px 12px 10px 0;
    border-color: transparent #f0f4f8 transparent transparent;
    border-style: solid;
    display: block;
    width: 0;
}

.speech-bubble.highlight {
    font-weight: bold;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
}

/* 下部バナーエリア */
.sb-footer-banner-area {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e5e7eb;
}

.sb-footer-banner-area h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #5d4037;
}

.sb-banner-wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #fed7aa;
    transition: opacity 0.2s;
}

.sb-banner-wrap:hover {
    opacity: 0.9;
}

.sb-banner-wrap img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

.divider-lg {
    height: 60px;
}

/* =========================================
スマホ用
========================================= */
@media (max-width: 768px) {

    .article-container {
        font-size: 1.4rem;
        padding: 1.5rem;
        margin-bottom: 0;
        border-radius: 0;
    }

    .sb-h1 { font-size: 2.0rem; }
    .sb-h2 { font-size: 1.8rem; }
    .sb-h3 { font-size: 1.5rem; }
    .sb-info-box { font-size: 1.4rem; }
    .caption-text { font-size: 1.2rem; }
    .speech-bubble.highlight { font-size: 1.4rem; }
    .sb-footer-banner-area h3 { font-size: 1.4rem; }

    .article-container {
        padding: 1.5rem;
        margin-bottom: 0;
        border-radius: 0;
    }
    .hidden-xs {
        display: none;
    }
    .sb-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .sb-flex-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .sb-w-48 {
        max-width: 200px;
        width: 100%;
    }
    .sb-avatar {
        width: 6.4rem;
        height: 6.4rem;
        margin-right: 1rem;
    }
    .speech-bubble::before {
        top: 2.2rem;
    }
}