body {
    font-family: -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

/* ヘッダー */
.howto-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.back-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    left: 20px;
}

.back-link:hover {
    text-decoration: underline;
}

.howto-header h1 {
    font-size: 1.3em;
    color: #333;
    margin: 0 auto;
    /* 中央寄せ */
    text-align: center;
}

/* コンテナ */
.howto-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
}

.howto-lead {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

/* ステップカード */
.step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.step-number {
    display: inline-block;
    background-color: #1a73e8;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.step-card h2 {
    font-size: 1.15em;
    color: #222;
    margin-top: 0;
    margin-bottom: 15px;
}

/* カード内のコンテンツ配置 */
.step-content {
    display: flex;
    flex-direction: column;
    /* スマホでは縦並び */
    gap: 15px;
    align-items: center;
}

.step-image {
    width: 100%;
    max-width: 240px;
    /* スマホのスクショが大きくなりすぎない適正サイズ */
    text-align: center;
}

.step-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

/* まだ画像がない場所用の仮デザイン（グレーの箱） */
.dummy-img {
    background-color: #eaeded;
    min-height: 300px;
    display: block;
}

.step-desc {
    flex: 1;
    width: 100%;
}

.step-desc p {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: #444;
}

.step-desc strong {
    color: #1a73e8;
}

.note {
    font-size: 12px !important;
    color: #d93025 !important;
    background-color: #fce8e6;
    padding: 8px;
    border-radius: 4px;
    margin-top: 5px;
}

/* 次へのボタン案内 */
.bottom-nav {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 20px;
}

.next-btn {
    display: inline-block;
    background-color: #1a73e8;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.2);
    transition: background-color 0.2s, transform 0.2s;
}

.next-btn:hover {
    background-color: #1557b0;
    transform: translateY(-1px);
}

/* フッター */
.howto-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #888;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

/* --- パソコン画面など、広い画面（600px以上）用のレイアウト調整 --- */
@media (min-width: 600px) {
    .step-content {
        flex-direction: row;
        /* 横並びにする */
        align-items: flex-start;
        gap: 25px;
    }

    .step-image {
        max-width: 200px;
        /* 横並びの時は少しスマートに */
    }

    .step-desc {
        padding-top: 5px;
    }
}