/* カラーパレット（CSS変数） */
:root {
    --header-bg: #e4d3e5;          /* ヘッダー背景色: ピンクパープル */
    --title-bg: #f6dae6;           /* タイトル背景色: ピンクベージュ */
    --section-header-bg: #fbe9d0;  /* セクションヘッダー背景色: ベージュイエロー */
    --underline-color: #F1B9C1;    /* 配当利回り・推しPoint下線色: ペールピンク */
    --check-mark-color: #A8D8EA;   /* チェックマーク色: ペールブルー */
    --star-color: #F1B9C1;         /* 星マーク色: ペールピンク */
    --account-color: #ba9b7e;      /* アカウント名色 */
    --main-bg: #FFFFFF;            /* メイン背景色 */
    --section-bg: #F8F8F8;         /* 推しPointセクション背景色 */
    --text-color: #555555;         /* 基本テキストカラー: 濃いグレー */
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--main-bg);
    padding-top: 60px; /* 固定バーの高さ分の余白 */
}

/* 固定トップバー */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #e6ddd4;
    border-bottom: 1px solid #d1bfb3;
    z-index: 1000;
    height: 60px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* メニューボタン */
.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    gap: 2px;
}

.menu-icon {
    width: 18px;
    height: 2px;
    background-color: var(--text-color);
    display: block;
    margin: 1px 0;
    border-radius: 1px;
}

.menu-text {
    font-size: 0.7rem;
    margin-top: 2px;
    font-weight: 500;
}

/* ブログタイトル */
.blog-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ba9b7e;
    margin: 0;
    text-align: center;
}

/* 検索ボタン */
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: rgba(209, 191, 179, 0.2);
}

.menu-btn:hover {
    background-color: rgba(209, 191, 179, 0.2);
    border-radius: 8px;
}

/* 英数字用フォント */
.en-font,
.step-number,
.cta-button {
    font-family: 'Montserrat', sans-serif;
}

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

/* ヘッダー */
.header {
    background: none;
    color: var(--text-color);
    padding: 60px 0;
    text-align: center;
}

/* プロフィールセクション */
.profile-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.profile-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--account-color);
    object-fit: cover;
}

.account-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--account-color);
    font-size: 1.1rem;
}

.header-title {
    background: none;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    max-width: 700px;
    white-space: nowrap;
    overflow: visible;
}

/* 記事ヘッダー */
.article-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.2;
}

.date-line1 {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
}

.date-line2 {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
    margin-top: 2px;
}

.title-separator {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 300;
    margin: 0 10px;
}

/* ヘッダーサブタイトル */
.header-subtitle-section {
    margin-top: 20px;
    text-align: center;
}

.header-subtitle-banner {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--underline-color);
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 300px;
    aspect-ratio: 16/9;
}

.header-subtitle-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 15px;
}

.header-subtitle-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    white-space: nowrap;
    width: auto;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* メインコンテンツ */
.main {
    padding: 40px 0 80px;
    background-color: var(--main-bg);
}

/* 記事情報 */
.article-info {
    background: var(--main-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.publish-date,
.update-date {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 5px 0;
    opacity: 0.8;
}

/* 注意喚起セクション */
.warning-section {
    margin-bottom: 40px;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 25px;
}

.warning-box h2 {
    color: #856404;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-list {
    color: #856404;
    padding-left: 20px;
}

.warning-list li {
    margin-bottom: 8px;
}

.warning-list li::marker {
    color: var(--check-mark-color);
}

/* 記事の目的セクション - 推しPointスタイル */
.purpose-section {
    background: var(--section-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 2px solid var(--underline-color);
}

.purpose-section h2 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}

.purpose-main {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--main-bg);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--underline-color);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--star-color);
}

/* 目次 */
.toc-section {
    background: var(--main-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.toc-section h2 {
    background-color: #d1bfb3;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.toc {
    padding-left: 20px;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.toc a:hover {
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
}

.toc a.active {
    color: var(--account-color);
    font-weight: 700;
}

/* コンテンツセクション */
.content-section {
    background: var(--main-bg);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.content-section h2 {
    background-color: #d1bfb3;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.section-intro {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* 準備するもの */
.preparation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.prep-item {
    background: var(--section-bg);
    padding: 25px;
    border-radius: 10px;
    border-top: 4px solid var(--underline-color);
}

.prep-item h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.prep-item ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.prep-item li {
    margin-bottom: 5px;
}

.prep-item li::marker {
    color: var(--check-mark-color);
}

.note {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    font-style: italic;
}

/* ステップ */
.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    border: 2px solid var(--underline-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--main-bg);
}

.step-header {
    background-color: #d1bfb3;
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    background: var(--underline-color);
    color: var(--main-bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.step-content {
    padding: 25px;
}

.step-content > p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* 選択肢グリッド */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.choice-item {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    background: var(--section-bg);
}

.choice-item.recommended {
    border-color: var(--check-mark-color);
    background: var(--main-bg);
}

.choice-item h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.choice-item.recommended h4 {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-color: var(--star-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.choice-item.recommended h4::before {
    content: "⭐ ";
    color: var(--star-color);
}

.choice-item ul {
    padding-left: 20px;
}

.choice-item li {
    margin-bottom: 5px;
}

.choice-item li::marker {
    color: var(--check-mark-color);
}

/* フォームセクション */
.form-sections {
    margin: 20px 0;
}

.form-section {
    background: var(--section-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--underline-color);
}

.form-section h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.form-section ul {
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 5px;
}

.form-section li::marker {
    color: var(--check-mark-color);
}

/* 口座種別 */
.account-types {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.account-type {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background: var(--section-bg);
}

.account-type.recommended {
    border-color: var(--check-mark-color);
    background: var(--main-bg);
}

.account-type h4 {
    margin-bottom: 8px;
    color: var(--text-color);
}

.account-type.recommended h4 {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-color: var(--star-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.account-type.recommended h4::before {
    content: "⭐ ";
    color: var(--star-color);
}

/* ティップス・注意点 */
.tips,
.upload-tips,
.password-tips {
    background: rgba(168, 216, 234, 0.2);
    border-left: 4px solid var(--check-mark-color);
    padding: 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.tips h4,
.upload-tips h4,
.password-tips h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.tips h4::before,
.upload-tips h4::before,
.password-tips h4::before {
    content: "✓ ";
    color: var(--check-mark-color);
}

.tips ul,
.upload-tips ul,
.password-tips ul {
    padding-left: 20px;
}

.tips li,
.upload-tips li,
.password-tips li {
    margin-bottom: 5px;
}

.tips li::marker,
.upload-tips li::marker,
.password-tips li::marker {
    color: var(--check-mark-color);
}

/* 最終確認 */
.final-check {
    background: rgba(241, 185, 193, 0.2);
    border-left: 4px solid var(--underline-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.final-check h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.final-check h4::before {
    content: "✅ ";
}

.final-check ul {
    padding-left: 20px;
}

.final-check li {
    margin-bottom: 5px;
}

.final-check li::marker {
    color: var(--check-mark-color);
}

.completion-note {
    background: var(--title-bg);
    border: 2px solid var(--underline-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

/* 銀行情報・ツール */
.bank-info,
.tools-grid {
    margin-top: 20px;
}

.bank-info h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.bank-info ul {
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5px;
}

.bank-info li::marker {
    color: var(--check-mark-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.tool-item {
    background: var(--section-bg);
    padding: 15px;
    border-radius: 8px;
    border-top: 3px solid var(--underline-color);
}

.tool-item h4 {
    color: var(--text-color);
    margin-bottom: 8px;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* 入金方法 */
.deposit-methods {
    margin-top: 20px;
}

.deposit-methods h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.method-item {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--section-bg);
}

.method-item.recommended {
    border-color: var(--check-mark-color);
    background: var(--main-bg);
}

.method-item h5 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.method-item.recommended h5 {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-color: var(--star-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.method-item.recommended h5::before {
    content: "⭐ ";
    color: var(--star-color);
}

/* 画像プレースホルダー */
.image-placeholder {
    background: #e9ecef;
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    color: #6c757d;
    font-size: 1.1rem;
}

/* ステップ画像 */
.step-images {
    margin: 30px 0;
}

.step-image-item {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid var(--underline-color);
}

.step-image-item h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.step-image-item p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.step-screenshot {
    width: 60%;
    max-width: 360px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--underline-color);
    margin-top: 10px;
}

/* まとめセクション - 推しPointスタイル */
.summary-section {
    background: var(--section-bg);
    border: 2px solid var(--underline-color);
}

.summary-content {
    margin-top: 0;
}

.summary-main {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    background: var(--main-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--underline-color);
}

.key-points {
    background: var(--main-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.key-points h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.summary-list {
    padding-left: 20px;
}

.summary-list li {
    margin-bottom: 10px;
}

.summary-list li::marker {
    color: var(--check-mark-color);
}

.next-steps {
    background: rgba(168, 216, 234, 0.2);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--check-mark-color);
    margin-bottom: 25px;
}

.next-steps h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.next-steps h4::before {
    content: "🚀 ";
}

/* CTA */
.cta {
    text-align: center;
    background: var(--main-bg);
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--underline-color);
}

.cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    text-decoration: underline;
    text-decoration-color: var(--star-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}

.cta-button {
    display: inline-block;
    background: var(--account-color);
    color: var(--main-bg);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--underline-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(186, 155, 126, 0.3);
    background: #a08866;
}

/* フッター */
.footer {
    background: var(--text-color);
    color: var(--main-bg);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* パンくずナビゲーション */
.breadcrumb-nav {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 4px;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
}

/* 新しい記事ヘッダースタイル */
.article-header {
    margin-bottom: 30px;
}

.article-info {
    width: 100%;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    margin-bottom: 10px;
}

.article-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.article-label {
    background-color: #f0f0f0;
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.article-category {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-publish-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* 記事画像バナー */
.article-image-section {
    margin-top: 20px;
}

.article-image-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image-text {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.image-text-main {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.image-text-sub {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.image-text-sub2 {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .article-header {
        margin-bottom: 20px;
    }
    
    .article-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .article-badges {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .article-image-banner {
        min-height: 200px;
    }
    
    .image-text-main {
        font-size: 0.9rem;
    }
    
    .image-text-sub,
    .image-text-sub2 {
        font-size: 1.5rem;
    }
    
    .header-title {
        font-size: 1.8rem;
        max-width: 100%;
    }
    
    .title-separator {
        display: none;
    }
    
    .article-date {
        order: -1;
    }
    
    .header-subtitle-text {
        font-size: 1.3rem;
        white-space: normal;
        width: 90%;
    }
    
    .header-subtitle-banner {
        min-height: 200px;
    }
    
    .header-title {
        font-size: 1.8rem;
        max-width: 100%;
        white-space: normal;
    }
    
    .profile-section {
        flex-direction: column;
        gap: 8px;
    }
    
    .profile-icon {
        width: 40px;
        height: 40px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 25px 20px;
    }
    
    .step-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .preparation-grid,
    .choice-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .form-section ul {
        grid-template-columns: 1fr;
    }
    
    .bank-info ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0;
    }
    
    .header-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .date-line1,
    .date-line2 {
        font-size: 1.2rem;
    }
    
    .date-separator {
        font-size: 1rem;
    }
    
    .header-subtitle-text {
        font-size: 1.1rem;
    }
    
    .header-subtitle-banner {
        min-height: 150px;
    }
    
    .main {
        padding: 30px 0 60px;
    }
    
    .content-section {
        margin-bottom: 25px;
    }
    
    .steps {
        gap: 20px;
    }
    
    .warning-box,
    .purpose-section,
    .toc-section {
        padding: 20px;
    }
    
    .cta {
        padding: 20px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* 固定バー レスポンシブ */
    .nav-container {
        padding: 0 15px;
    }
    
    .blog-title {
        font-size: 1.5rem;
    }
    
    .menu-text {
        font-size: 0.6rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step {
    animation: fadeInUp 0.6s ease forwards;
}

/* トップに戻るボタンのスタイル調整 */
.back-to-top {
    background: var(--account-color) !important;
    border: 2px solid var(--underline-color) !important;
}

/* スクロールバーのカスタマイズ（Webkit） */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--account-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a08866;
}