:root {
    --primary-color: #e60012; /* ブランドカラーの赤 */
    --primary-dark: #b3000e;
    --text-color: #333333;
    --bg-color: #f4f6f8;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --highlight-yellow: #ffff00;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
	font-family: 'Noto Sans JP', sans-serif;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 2.0;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* メインコンテナ（スマホ最適化） */
.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 汎用テキスト装飾 */
.text-red {
    color: var(--primary-color);
}
.text-large {
    font-size: 1.15em;
}
.text-bold {
    font-weight: 900 !important;
}

/* 黄色マーカー風装飾 */
.marker-yellow {
    background: linear-gradient(transparent 50%, #ffff66 50%);
    font-weight: 700;
    display: inline;
}

/* 記事ヘッダー */
.article-header {
    padding: 30px 20px 20px;
}

.category-label {
    display: inline-block;
    background-color: #333;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.article-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: #111;
}

.article-title strong {
    font-weight: 900 !important;
    font-size: 1.1em;
}

/* 画像・GIFラッパー */
.image-wrapper, .rich-image {
    width: 100%;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.rich-image {
    border: 4px solid #fff;
    border-radius: 4px;
}

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

.gif-wrapper {
    position: relative;
    width: 100%;
    margin: 25px 0;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
}
.gif-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

/* 記事本文エリア */
.article-body {
    padding: 0 20px 40px;
}

.section {
    margin-bottom: 40px;
}

.section p {
    margin-bottom: 1.6em;
}

.section h2 {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin: 30px 0 20px;
}

/* リボン風見出し */
.ribbon-heading {
    position: relative;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    font-size: 18px;
    text-align: center;
    border-radius: 4px;
    border-bottom: none !important;
}
.ribbon-heading::before, .ribbon-heading::after {
    content: '';
    position: absolute;
    top: 100%;
    width: 0;
    height: 0;
    border-style: solid;
}
.ribbon-heading::before {
    left: 0;
    border-width: 0 10px 10px 0;
    border-color: transparent #8a000b transparent transparent;
}
.ribbon-heading::after {
    right: 0;
    border-width: 10px 10px 0 0;
    border-color: #8a000b transparent transparent transparent;
}

strong {
    font-weight: 700;
    color: #111;
}

/* ハイライトセクション */
.highlight-section {
    background-color: #fffde7;
    padding: 20px;
    border: 2px dashed #fbc02d;
    border-radius: 8px;
}

/* Evidence セクション */
.evidence-section {
    background-color: #fff9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ffebeb;
}

.price-compare {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0;
}

.arrow {
    color: var(--primary-color);
    font-size: 24px;
}

.ikeuchi-price {
    color: var(--primary-color);
    font-size: 32px;
    display: block;
    margin-top: 5px;
    text-shadow: 1px 1px 0px #fff;
}

/* LINE風 吹き出し */
.line-chat-area {
    margin: 20px 0;
    padding: 15px;
    background-color: #7494C0;
    border-radius: 8px;
}
.line-chat-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.line-chat-box .icon {
    margin-right: 10px;
    flex-shrink: 0;
}
.line-chat-box .icon img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.line-chat-box .chat-text {
    position: relative;
    background-color: var(--white);
    padding: 12px 15px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 13px;
    line-height: 1.5;
}
.line-chat-box .chat-text::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -10px;
    border: 8px solid transparent;
    border-right: 12px solid var(--white);
}
.line-chat-box .chat-text p {
    margin: 0;
    line-height: 1.5;
    font-size: 13px;
}

/* 理由リスト */
.reason-list {
    padding-left: 0;
    list-style: none;
    counter-reset: reason-counter;
}

.reason-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 40px;
}

.reason-list li::before {
    counter-increment: reason-counter;
    content: counter(reason-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.reason-list strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

/* デメリットボックス */
.demerit-box {
    background-color: #f8f9fa;
    border: 2px solid #6c757d;
    padding: 25px 20px;
    border-radius: 8px;
}

.demerit-title {
    color: #495057;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}

/* 緊急性ボックス */
.urgency-box {
    border: 3px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    background-color: #fffafa;
}

/* CTA セクション */
.cta-section {
    text-align: center;
    margin: 40px 0;
    padding: 20px 0;
}

.cta-lead {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(230, 0, 18, 0.4);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.btn-primary .arrow-right {
    font-size: 24px;
    margin-left: 10px;
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 0, 18, 0.5);
}

/* アニメーション */
@keyframes jelly {
    0%, 100% { transform: scale(1, 1); }
    15% { transform: scale(1.05, 0.95); }
    25% { transform: scale(0.95, 1.05); }
    35% { transform: scale(1.02, 0.98); }
    45% { transform: scale(1, 1); }
}

.jelly-animation {
    animation: jelly 4s infinite;
    transform-origin: center;
}

.last-cta {
    background-color: #fff0f0;
    padding: 30px 20px;
    border-radius: 8px;
}

/* スタッフ風 吹き出し */
.staff-chat-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.staff-chat-box .icon {
    margin-right: 15px;
    flex-shrink: 0;
}
.staff-chat-box .icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}
.staff-chat-box .chat-text {
    position: relative;
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}
.staff-chat-box .chat-text::before,
.staff-chat-box .chat-text::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -12px;
    border: 6px solid transparent;
    border-right: 6px solid var(--border-color);
}
.staff-chat-box .chat-text::after {
    left: -10px;
    border-right: 6px solid var(--white);
}
.staff-chat-box .chat-text p:last-child {
    margin-bottom: 0;
}

/* 権威性バッジ（3冠） */
.authority-section {
    background: #ffe600;
    padding: 20px 10px;
    margin: 20px 0 30px;
    border-radius: 8px;
    text-align: center;
}
.authority-title {
    font-size: 20px;
    font-weight: 900;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.badge-container {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}
.badge {
    background: #fff;
    border: 3px solid #111;
    border-radius: 12px;
    width: 32%;
    padding: 12px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 0px rgba(0,0,0,1);
}
.badge-crown {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 2px;
}
.badge-top {
    font-size: 10px;
    font-weight: 900;
    color: #111;
    margin-bottom: 5px;
    line-height: 1.2;
}
.badge-number {
    color: #ff3333;
    font-weight: 900;
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}
.badge-number .num {
    font-size: 20px;
    letter-spacing: -1px;
}
.badge-number .unit {
    font-size: 9px;
    margin-left: 1px;
    color: #111;
}

/* フッター */
.footer {
    padding: 30px 15px;
    color: #333;
}
.footer .container {
    max-width: 600px;
    margin: 0 auto;
}
.footer-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.company-info {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.6;
    border-top: 1px solid #ddd;
    margin: 0;
}
.company-info dt, .company-info dd {
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    margin: 0;
    box-sizing: border-box;
}
.company-info dt {
    width: 30%;
    font-weight: bold;
}
.company-info dd {
    width: 70%;
}

/* Image Modal & Carousel */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
.modal-carousel-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.modal-hint {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
    animation: bounceX 2s infinite;
}
@keyframes bounceX {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}
.modal-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.modal-carousel::-webkit-scrollbar {
    display: none;
}
.modal-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.modal-slide img {
    max-width: 95%;
    max-height: 80vh;
    object-fit: contain;
}
.modal-label {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.case-img {
    cursor: pointer;
    transition: 0.3s;
}
.case-img:hover {
    opacity: 0.9;
}

html body .text-bold,
html body .text-red,
html body strong,
html body b,
html body .authority-title,
html body .badge-top,
html body .badge-number,
html body .badge-number .num,
html body .badge-number span {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-weight: 900 !important;
}

html body .highlight-section .text-red,
html body .highlight-section .text-bold {
    font-weight: 900 !important;
}
