@charset "UTF-8";

/* ======================================
   こころからだあんしんラボ 記事用CSS
   カラーパレット:
   - #359cce (メインブルー)
   - #62bf90 (メイングリーン)
   - #f87171 (警告レッド)
   - #1e7e34 (ダークグリーン)
   - #ffffcc (ライトイエロー)
   ====================================== */

/* リセット & ベース設定
   ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* コンテナ
   ====================================== */
.content-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー
   ====================================== */
.article-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    padding: 40px 0;
    border-bottom: 2px solid #62bf90;
    position: relative;
}

/*
.article-header::before {
    content: "📚";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    opacity: 0.3;
} */

/* パンくずリスト */
.article-breadcrumb {
    margin-bottom: 20px;
}

.article-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
}

.article-breadcrumb li {
    font-size: 14px;
    color: #666;
}

.article-breadcrumb li::after {
    content: ">";
    margin-left: 8px;
    color: #999;
}

.article-breadcrumb li:last-child::after {
    content: "";
}

.article-breadcrumb a {
    color: #359cce;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.article-breadcrumb a:hover {
    color: #62bf90;
    text-decoration: underline;
}

/* カテゴリータグ */
.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #62bf90 0%, #359cce 100%);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(53, 156, 206, 0.3);
}

.category-tag::before {
    content: "🏷️";
    margin-right: 4px;
}

/* タイトル */
h1 {
    font-size: 32px;
    font-weight: bold;
    color: #2c1810;
    line-height: 1.5;
    margin-bottom: 20px;
}

h1 .subtitle {
    display: block;
    font-size: 20px;
    color: #359cce;
    margin-top: 8px;
    font-weight: normal;
}

/* 記事メタ情報 */
.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-meta .author {
    color: #1e7e34;
    font-weight: 500;
}

/* 
.article-meta .author::before {
    content: "✍️";
    margin-right: 4px;
}

.article-meta .publish-date::before {
    content: "📅";
    margin-right: 4px;
}*/

/* メインコンテンツ
   ====================================== */
.article-content {
    padding: 60px 0;
    background: #fff;
}

.article-content section {
    margin-bottom: 80px;
}

.article-content section:last-child {
    margin-bottom: 0;
}

/* 見出し */
h2 {
    font-size: 28px;
    font-weight: bold;
    color: #2c1810;
    margin: 60px 0 30px;
    padding-bottom: 12px;
    border-bottom: 3px solid #62bf90;
    position: relative;
}

h2::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #359cce 0%, #62bf90 100%);
}

h3.default-heading {
    font-size: 22px;
    font-weight: bold;
    color: #2c1810;
    margin: 40px 0 20px;
    padding-left: 32px;
    border-left: 4px solid #359cce;
    position: relative;
}

/*
h3.default-heading::before {
    content: "▶";
    position: absolute;
    left: 8px;
    color: #62bf90;
    font-size: 14px;
}*/

h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 30px 0 15px;
}

/* 段落 */
p {
    margin-bottom: 20px;
    line-height: 1.9;
}

/* メインコンテンツ内のテキスト */
.intro p:not(.empathy-text),
.article-content section > p:not(.empathy-text) {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* リスト */
ul, ol {
    margin: 20px 0;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    line-height: 1.8;
}

/* 30秒要約ボックス */
.summary-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f7ff 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(98, 191, 144, 0.15);
}

.summary-box::before {
    content: "📌";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.summary-box h2 {
    font-size: 20px;
    color: #1e7e34;
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.summary-box h2::before {
    display: none;
}

.summary-box ul {
    list-style: none;
    padding: 0;
}

.summary-box li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.summary-box li::before {
    content: "✅";
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* 共感導入部分 */
.intro {
    margin-bottom: 60px;
}

/* 共感テキスト - 独立したスタイル設定 */
.empathy-text {
    /* 基本設定 - 他の<p>タグの影響を受けない */
    all: initial;
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    
    /* テキストスタイル */
    font-size: 24px !important;
    font-weight: 600;
    line-height: 1.8 !important;
    color: #1e7e34;
    text-align: left;
    
    /* レイアウト */
    display: block;
    margin: 0 auto 40px !important;
    padding: 30px 35px !important;
    max-width: none !important;
    
    /* デザイン */
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    border: 3px solid #62bf90;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(98, 191, 144, 0.25);
    position: relative;
    
    /* アニメーション */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー効果 */
.empathy-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(98, 191, 144, 0.3);
}

/* 装飾的な背景 */
.empathy-text::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #62bf90 0%, #359cce 100%);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
}

/* カスタム引用符（オプション） */
.empathy-text::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: #62bf90;
    opacity: 0.1;
    font-family: Georgia, serif;
}


/* ポイントボックス */
.point-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffcc 100%);
    border-left: 5px solid #62bf90;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(98, 191, 144, 0.1);
}

.point-box strong {
    color: #1e7e34;
    font-size: 18px;
}

.point-box strong::before {
    content: "💡";
    margin-right: 8px;
}

.point-box ul {
    margin-top: 15px;
}

/* 画像ボックス */
.image-box {
    margin: 40px 0;
    text-align: center;
}

.image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.caption {
    font-size: 14px;
    color: #666;
    margin-top: 12px;
    font-style: italic;
}

/* 原因グリッド */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cause-item {
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    border: 1px solid #62bf90;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.cause-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(53, 156, 206, 0.2);
    border-color: #359cce;
}

.cause-item h4 {
    color: #359cce;
    margin-top: 0;
}

.cause-item h4::before {
    content: "🔍";
    margin-right: 8px;
}

/* 比較テーブル */
.comparison-table {
    overflow-x: auto;
    margin: 30px 0;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.comparison-table::-webkit-scrollbar {
    height: 8px;
}

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

.comparison-table::-webkit-scrollbar-thumb {
    background: #62bf90;
    border-radius: 4px;
}

.comparison-table table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
}

.comparison-table th {
    background: #62bf90;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    font-size: 16px;
}

.comparison-table td {
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 15px;
    line-height: 1.6;
}

.comparison-table tr:nth-child(even) {
    background: #f0fdf4;
}

/* テーブルのスクロールヒント */
.comparison-table::after {
    content: "← 横スクロール可能 →";
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    color: #999;
    background: #f9f9f9;
}

@media (min-width: 769px) {
    .comparison-table::after {
        display: none;
    }
}

/* 引用ボックス */
.quote-box {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 25px 30px;
    margin: 40px 20px;
    position: relative;
    font-style: italic;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.quote-box::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-right: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    transform: rotate(45deg);
}

/*
.quote-box::after {
    content: "❝";
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 32px;
    color: #62bf90;
    background: #fff;
    padding: 0 8px;
}*/

/* インフォボックス */
.info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
    border: 2px solid #359cce;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}


.info-box h3 {
    color: #359cce;
    margin-top: 0;
    padding-left: 0;
    border: 0;
    font-size: 22px;
    font-weight: bold;
}

/* 研究データボックス */
.research-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffcc 100%);
    border: 1px solid #359cce;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}


.research-box strong {
    color: #1e7e34;
}

/* 商品紹介 */
.product-intro {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}


.product-image {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    display: block;
}



.product-details h3 {
    color: #359cce;
    margin-top: 0;
    margin-bottom: 20px;
    border: none;
    padding-left: 0;
    font-size: 24px;
    position: relative;
    padding-bottom: 12px;
}

.product-details h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #62bf90 0%, #359cce 100%);
}


.product-details ul {
    list-style: none;
    padding: 0;
}

.product-details li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    text-align: left;
}

.product-details li::before {
    content: "✓";
    position: absolute;
    top: -6px;
    left: 3px;
    color: #62bf90;
    font-size: 20px;
    font-weight: bold;
}

/* 理由グリッド */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.reason-item {
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
    border: 1px solid #62bf90;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.reason-item:hover {
    border-color: #359cce;
    transform: scale(1.05);
}

.reason-item h4 {
    color: #359cce;
    margin-bottom: 12px;
}


/* 体験談 */
.testimonial {
    background: linear-gradient(135deg, #ffffcc 0%, #f0f9ff 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid #62bf90;
}



.testimonial p {
    font-style: italic;
    color: #666;
}

/* ステップ */
.steps {
    margin: 40px 0;
}

.step {
    display: block;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
    border: 1px solid #62bf90;
    border-radius: 8px;
    position: relative;
    padding-left: 70px;
    transition: all 0.3s ease;
    min-height: 80px;
}

.step:hover {
    box-shadow: 0 4px 12px rgba(98, 191, 144, 0.2);
    transform: translateX(3px);
}

.step-number {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #359cce 0%, #62bf90 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(53, 156, 206, 0.3);
}

.step h3 {
    margin: 0 0 12px;
    border: none;
    padding: 0;
    font-size: 20px;
    color: #2c1810;
    font-weight: bold;
}

.step p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
    .step {
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        left: 12px;
    }
    
    .step h3 {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .step p {
        font-size: 15px;
    }
}

/* 使用ヒント */
.usage-tip {
    background: linear-gradient(135deg, #ffffcc 0%, #f0fdf4 100%);
    border-left: 3px solid #62bf90;
    padding: 15px;
    margin-top: 15px;
    border-radius: 0 4px 4px 0;
    position: relative;
}

.usage-tip::before {
    content: "💡";
    position: absolute;
    top: -8px;
    left: -12px;
    font-size: 20px;
    background: #fff;
    padding: 0 4px;
}

/* 注意ボックス */
.caution-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border: 2px solid #f87171;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}


.caution-box h3 {
    color: #dc2626;
    margin-top: 0;
    padding-left: 32px;
    border-left: 4px solid #f87171;
    font-size: 22px;
    font-weight: bold;
}

/* FAQ */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    background: #fff;
    border: 1px solid #62bf90;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(98, 191, 144, 0.15);
}

.faq-item h3 {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    margin: 0;
    padding: 16px 20px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-left: 50px;
}

.faq-item h3::before {
    content: "Q";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #359cce;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.faq-answer {
    padding: 20px;
    padding-left: 50px;
    position: relative;
}

.faq-answer::before {
    content: "A";
    position: absolute;
    left: 20px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #62bf90;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* CTA ボックス */
.cta-box {
    background: linear-gradient(135deg, #62bf90 0%, #359cce 100%);
    color: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 24px rgba(53, 156, 206, 0.3);
}


.cta-box h3 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 16px;
    border: none;
    padding: 0;
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #359cce;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.cta-button::before {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: #ffffcc;
    padding-right: 50px;
}

.cta-button:hover::before {
    right: 15px;
}

/* 関連記事 */
.related-articles {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    padding: 60px 20px;
    margin-top: 60px;
    position: relative;
}

.related-articles::before {
    content: "📚";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    opacity: 0.3;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 40px;
}

.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid transparent;
    position: relative;
    padding: 20px;
    display: block;
}

.article-card::before {
    content: "📖";
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 20px;
    opacity: 0.5;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(53, 156, 206, 0.2);
    border-color: #62bf90;
}


.article-card h3 {
    padding: 0 0 0 35px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border: none;
    line-height: 1.5;
}

/* 免責事項 */
.article-disclaimer {
    background: #f9f9f9;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.article-disclaimer p {
    font-size: 14px;
    margin-bottom: 0;
    color: #666;
}

/* スキップリンク（アクセシビリティ） */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: linear-gradient(135deg, #359cce 0%, #62bf90 100%);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* レスポンシブデザイン
   ====================================== */

/* タブレット */
@media screen and (max-width: 768px) {
    .intro p:not(.empathy-text),
    .article-content section > p:not(.empathy-text) {
        font-size: 15px;
        line-height: 1.8;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .article-content section {
        margin-bottom: 60px;
    }
    
    .empathy-text {
        font-size: 20px !important;
        padding: 25px 20px !important;
        margin: 0 auto 30px !important;
        width: 90%;
        max-width: 600px;
    }
    .content-wrapper {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h1 .subtitle {
        font-size: 16px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3.default-heading {
        font-size: 20px;
    }
    
    .product-intro {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    
    .product-image img {
        max-width: 250px;
        width: 100%;
        margin: 0 auto;
    }
    
    .causes-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .article-cards {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding-left: 55px;
        padding-right: 15px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        left: 10px;
        top: 15px;
    }
    
    .step h3 {
        font-size: 17px;
        font-weight: bold;
    }
}

/* スマートフォン */
@media screen and (max-width: 480px) {
    .intro p:not(.empathy-text),
    .article-content section > p:not(.empathy-text) {
        font-size: 14px;
        line-height: 1.75;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .article-content section {
        margin-bottom: 50px;
    }
    
    .empathy-text {
        font-size: 18px !important;
        padding: 20px 15px !important;
        margin: 0 10px 25px !important;
        width: calc(100% - 20px);
        box-sizing: border-box;
    }
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h1 .subtitle {
        font-size: 14px;
    }
    
    h2 {
        font-size: 20px;
        margin: 40px 0 20px;
    }
    
    h3.default-heading {
        font-size: 18px;
    }
    
    .article-header {
        padding: 20px 0;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .summary-box {
        padding: 20px;
    }
    
    .empathy-text {
        font-size: 16px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .comparison-table {
        font-size: 14px;
        border-radius: 4px;
    }
    
    .comparison-table table {
        min-width: 500px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .comparison-table::after {
        display: block;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* 印刷対応 */
@media print {
    .article-header,
    .article-disclaimer,
    .related-articles,
    .cta-box {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .image-box img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}

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

/* スクロールアニメーション用クラス */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ホバーエフェクト強化 */
a {
    transition: all 0.3s ease;
}

button,
.cta-button {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

button::after,
.cta-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::after,
.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

/* 追加のアイコンアニメーション */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ローディング時のアニメーション */
.loading {
    position: relative;
}

.loading::after {
    content: "⏳";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    animation: spin 1s linear infinite;
}

/* 成功・エラー表示 */
.success-message {
    background: linear-gradient(135deg, #d4f4dd 0%, #b8e6c8 100%);
    border: 2px solid #62bf90;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    position: relative;
}

.success-message::before {
    content: "✅";
    margin-right: 8px;
}

.error-message {
    background: linear-gradient(135deg, #ffd6d6 0%, #ffb8b8 100%);
    border: 2px solid #f87171;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    position: relative;
}

.error-message::before {
    content: "❌";
    margin-right: 8px;
}




/* margin調節用 */
.marginB10{margin-bottom: 10px;}
.marginB20{margin-bottom: 20px;}
.marginB30{margin-bottom: 30px;}
.marginB40{margin-bottom: 40px;}
.marginB50{margin-bottom: 50px;}
.marginB60{margin-bottom: 60px;}
.marginB70{margin-bottom: 70px;}
.marginB80{margin-bottom: 80px;}

/* 記事内画像 */
.inset_photo {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    padding: 0 20px;
}

.inset_photo img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* タブレット対応 */
@media screen and (max-width: 768px) {
    .inset_photo {
        margin: 25px auto;
        padding: 0 15px;
    }
    
    .inset_photo img {
        border-radius: 8px;
    }
}

/* スマートフォン対応 */
@media screen and (max-width: 480px) {
    .inset_photo {
        margin: 20px auto;
        padding: 0 10px;
    }
    
    .inset_photo img {
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
}





