/* === 2026-spring-05.css (Childcare Support) === */

:root {
    --color-pink-05: #f4dfe6;
    --color-pink-text-05: #d14686;
    --color-green-05: #e8f3e3;
    --color-green-text-05: #53b332;
    --color-blue-05: #e3effa;
    --color-blue-text-05: #4a90e2;
    --color-yellow-05: #fff9e6;
    --color-yellow-text-05: #f5a623;
    --color-orange-05: #fef4e8;
    --color-orange-text-05: #e67e22;
    --color-teal-05: #e0f2f1;
    --color-teal-text-05: #009688;
}

.section-subtitle-05 {
    font-size: 2.2rem;
    color: var(--color-pink-text-05);
    border-bottom: 2px dotted #ccc;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.color-orange-05 { color: #e67e22; }

/* Main Header Block */
.main-header-block-05 {
    text-align: center;
    margin-top: 40px;
}

.bubble-label-05 {
    display: inline-block;
    background-color: #92cc41;
    color: #fff;
    padding: 6px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.6rem;
    position: relative;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.05));
    letter-spacing: 0.02em;
}

.bubble-label-05::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #92cc41;
}

.main-title-decorated-05 {
    font-size: 3.2rem!important;
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #e67e22!important;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-shadow: none;
    filter: none;
    margin: 0;
}

@media (max-width: 768px) {
    .main-title-decorated-05 {
        font-size: 2.4rem;
    }
    .bubble-label-05 {
        font-size: 1.4rem;
        padding: 5px 15px;
    }
}

/* Formula Section */
.payment-formula-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.formula-box {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 150px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
}

.formula-box.bg-pink-05 { background-color: var(--color-pink-05); color: var(--color-pink-text-05); }
.formula-box.bg-green-05 { background-color: var(--color-green-05); color: var(--color-green-text-05); }
.formula-box.bg-blue-05 { background-color: var(--color-blue-05); color: var(--color-blue-text-05); }
.formula-box.bg-yellow-05 { background-color: var(--color-yellow-05); color: var(--color-yellow-text-05); }

.formula-box .date-label { font-weight: bold; font-size: 1.6rem; }
.formula-box .box-title { font-weight: bold; font-size: 1.8rem; display: block; }
.formula-box .box-note { font-size: 1.2rem; display: block; margin-top: 5px; opacity: 0.8; }

.formula-operator {
    font-size: 2.4rem;
    font-weight: bold;
    color: #999;
}

@media (max-width: 768px) {
    .payment-formula-container {
        flex-direction: column;
        gap: 10px;
    }
    .formula-operator {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    .formula-box {
        width: 100%;
    }
}

/* Amount & Graph Section */
.amount-flex-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.graph-area {
    flex: 1;
    background: #fff9e6; /* 背景も画像に合わせて薄い黄色に */
    padding: 25px;
    border-radius: 15px;
    box-shadow: none;
}

.graph-title {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-weight: bold;
}

.css-bar-graph {
    height: 180px;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding-bottom: 0px; /* 下部マージンを削除してバー内部にテキストを収める */
}

.bar-group {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    justify-content: space-around;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.bar {
    width: 15%;
    position: relative;
    display: flex;
    justify-content: center;
}

.bar-solid {
    background-color: #92cc41;
    border-radius: 3px 3px 0 0;
}

.bar-outline {
    background-color: #d8e6c8; /* 少し不透明度を持たせる */
    border: 3px solid #53b332;
    border-radius: 3px 3px 0 0;
}

.bar span {
    position: absolute;
    bottom: 10px; /* バーの底部から少し上に配置 */
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    line-height: 1.2;
}

.bar .label-wide {
    color: #333;
    font-size: 1.4rem;
    bottom: 50%;
    transform: translateY(50%);
    width: 300%; /* バーを跨いで表示 */
    left: -220%;
    z-index: 2;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

/* Arrow v2 */
.graph-arrow-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.arrow-line-up {
    position: absolute;
    bottom: 50%; /* 2026年度の高さ付近から開始 */
    left: 10%;
    width: 39%; /* 2028年度までの距離 */
    height: 3px;
    background: #e67e22;
    transform: rotate(-23deg); /* 上昇角度 */
    transform-origin: left bottom;
}
@media screen and (max-width: 768px) {
    .arrow-line-up {
        width: 46%; /* 2028年度までの距離 */
        transform: rotate(-36deg); /* 上昇角度 */
    }
}
@media print {
    .arrow-line-up {
        transform: rotate(-20deg); /* 上昇角度 */
    }
}

.arrow-line-up::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #e67e22;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.arrow-line-flat {
    position: absolute;
    bottom: calc(90% + 5px); /* 2028年度の頂点付近 */
    left: 46%;
    width: 55%;
    height: 4px; /* 少し太く */
    background: #e67e22;
}

.arrow-line-flat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #e67e22;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.arrow-line-flat::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -6px;
    border-left: 12px solid #e67e22;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.calc-area {
    flex: 1;
}

.calc-box {
    background: var(--color-pink-05);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--color-pink-text-05);
}

.calc-formula {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-pink-text-05);
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(209, 70, 134, 0.3);
    padding-bottom: 15px;
}

.calc-example p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.calc-example .note {
    font-size: 1.3rem;
    color: #777;
    margin-top: 15px;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .amount-flex-container {
        flex-direction: column;
    }
    .graph-area, .calc-area {
        width: 100%;
    }
}

/* Usage Section */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.usage-card {
    background: var(--color-yellow-05);
    padding: 20px;
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    gap: 15px;
    align-items: center;
    border-left: none;
}

.card-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    flex: 1;
}

.card-label {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e67e22;
}

.card-body p, .card-list li {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #444;
}

.card-list {
    list-style: none !important;
    padding: 0;
    padding-left: 0 !important;
    margin: 1em 0 1.5em !important;
}

.card-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 5px;
    list-style: none !important; /* article.css の詳細度に勝つために追加 */
}

.card-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #f8c6a0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .usage-grid {
        grid-template-columns: 1fr;
    }
    .usage-card {
        padding: 20px;
    }
    .card-icon {
        width: 80px;
        height: 80px;
    }
}

/* External Link Banner */
.link-banner-05 {
    background: linear-gradient(135deg, #53b332 0%, #3e8e25 100%);
    padding: 30px 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(83, 179, 50, 0.3);
}

.link-banner-05 .label {
    background: #fff;
    color: #53b332;
    padding: 2px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.link-banner-05 .title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.link-banner-05 .url-text {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    font-size: 1.6rem;
    word-break: break-all; /* 長いURLをモバイルで折り返す */
}

.banner-qr {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.banner-qr img {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .link-banner-05 {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        overflow: hidden; /* コンテンツのはみ出しを防ぐ */
    }
    .banner-qr {
        margin-top: 20px;
    }
    .link-banner-05 .title {
        font-size: 1.8rem;
    }
}

.article-page-title-01,
.article-page-title-02,
.article-page-title-03,
.article-page-title-04,
.article-page-title-05,
.article-page-title-06 {
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
    z-index: 0; 
    border-radius: 10px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    overflow: hidden;
    font-size: 2.4rem; 
    font-weight: 700;
    color: #333; 
    line-height: 1.4;
    text-align: center;
    margin-bottom: 30px;
    aspect-ratio: 16/9;
}

.article-page-title-01 .title-text-content,
.article-page-title-02 .title-text-content,
.article-page-title-03 .title-text-content,
.article-page-title-04 .title-text-content,
.article-page-title-05 .title-text-content,
.article-page-title-06 .title-text-content {
    color: #333;
    text-shadow: none;
}

.article-page-title-01 { background-image: url('../2026-spring_images/article-main-image-01.webp'); }
.article-page-title-02 { background-image: url('../2026-spring_images/article-main-image-02.webp'); }
.article-page-title-03 { background-image: url('../2026-spring_images/article-main-image-03.webp'); }
.article-page-title-04 { background-image: url('../2026-spring_images/article-main-image-04.webp'); }
.article-page-title-05 { background-image: url('../2026-spring_images/article-main-image-05.webp'); }
.article-page-title-06 { background-image: url('../2026-spring_images/article-main-image-06.webp'); }

.article-page-title-01::before,
.article-page-title-02::before,
.article-page-title-03::before,
.article-page-title-04::before,
.article-page-title-05::before,
.article-page-title-06::before {
    content: '';
}

.article-page-title-01:not(:empty)::before,
.article-page-title-02:not(:empty)::before,
.article-page-title-03:not(:empty)::before,
.article-page-title-04:not(:empty)::before,
.article-page-title-05:not(:empty)::before,
.article-page-title-06:not(:empty)::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 35%;
    background-color: rgba(255, 255, 255, 0.82);
    z-index: -1;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .article-page-title-01,
    .article-page-title-02,
    .article-page-title-03,
    .article-page-title-04,
    .article-page-title-05,
    .article-page-title-06 {
        font-size: 1.6rem;
        padding: 0 15px;
    }
    .article-page-title-01:not(:empty)::before,
    .article-page-title-02:not(:empty)::before,
    .article-page-title-03:not(:empty)::before,
    .article-page-title-04:not(:empty)::before,
    .article-page-title-05:not(:empty)::before,
    .article-page-title-06:not(:empty)::before {
        height: 65%;
    }
}


.pie-chart-container {
    position: relative; 
    width: 450px;       
    height: 450px;
    margin: 0 auto;
    justify-items: end;
}

.pie-chart {
    width: 85%;
    height: 85%;
    border-radius: 50%; 
    background: conic-gradient(
        #FFC107 0deg 288deg,    
        #FFECB3 288deg 360deg   
    );
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.text-group {
    position: absolute; 
    text-align: center;
    font-weight: bold;
    color: #5D4037; 
    background-color: rgba(255, 253, 231, 0.9); 
    padding: 10px 15px;
    border-radius: 5px;
    line-height: 1.6; 
}
        
.text-group p {
    margin: 0; 
}

.text-small {
    top: 16%;
    left: 34%;
    transform: translate(-50%, -50%); 
    font-size: 18px;
}
.text-large {
    bottom: 28%;
    left: 58%;
    transform: translateX(-50%); 
    font-size: 19px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.left-box {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}

/* 動画セミナー案内ボックス */
.link-promotion-box {
    background-color: #f8c6a0;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.link-promotion-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 30px;
}

.link-promotion-text {
    flex: 1;
}

.link-promotion-text h4 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.4;
}

.link-promotion-text p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 0px;
}

.video-link-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #53b332;
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 6px 6px 0 #c19a7c;
    transition: all 0.2s;
    min-width: 200px;
    text-align: center;
}

.video-link-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 #c19a7c;
}

@media (max-width: 768px) {
    .link-promotion-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .video-link-button {
        width: 100%;
        margin-top: 10px;
    }
}

.content-flex {
    display: flex;
    flex-direction: row;
    gap: 50px;
}
@media screen and (max-width: 768px) {
    .content-flex {
        flex-direction: column;
        gap: 20px;
    }
}
.content-flex-left {
    display: flex;
    flex-direction: column;
    width: 800px;
    max-width: 100%;
}
.content-flex-right img{
    width: 80%;
    height: auto;
}

.symptom-table {
    width: 100%;
    max-width: 800px; 
    margin: 0 auto; 
    border-collapse: collapse; 
    border: 2px solid #FFC107; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); 
    overflow: hidden; 
}

.symptom-table th {
    background-color: #FFC107; 
    color: #FFFFFF; 
    padding: 16px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    border-right: 2px solid #FFECB3; 
}
.symptom-table th .note {
    display: block; 
    font-size: 0.8em;
    font-weight: normal; 
    margin-top: 5px;
    opacity: 0.9;
}

.symptom-table td {
    background-color: #FFF8E1; 
    padding: 25px;
    vertical-align: top; 
    width: 50%; 
}

.symptom-table td:first-child {
    border-right: 2px solid #FFECB3; 
}
.symptom-table ul {
    list-style: none; 
    padding: 0;
    margin: 0;
    color: #5D4037; 
}

.symptom-table li {
    line-height: 1.6; 
    padding-left: 1.8em; 
    text-indent: -1.8em; 
    list-style: none!important;
}
.symptom-table li:not(:last-child) {
    margin-bottom: 12px;
}
.symptom-table li::before {
    content: '●'; 
    font-weight: bold;
    margin-right: 0.7em; 
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.content-flex-recipe {
    display: flex;
    flex-direction: row; 
    gap: 30px; 
}
.flex-left {
    display: flex;
    flex-direction: column;
}
.flex-right {
    justify-self: center;
}
.content-flex .flex-left {
    flex: 1;
}
.content-flex .flex-right {
    flex: 1;
}
.content-flex-recipe .flex-left {
    flex: 2;
}
.content-flex-recipe .flex-right {
    flex: 1;
}
.flex-right img {
    width: 100%;
    height: auto;
}
.bg-yellow {
    background-color: #fdcb66;
    padding: 10px 30px;
    border-radius: 45px;
    display: inline-block;
    align-self: flex-start;
}
.recipe-title {
    display: inline-block;
    position: relative;
    z-index: 1;
}
.recipe-time {
    padding-left: 50px;
    position: relative;
}
.recipe-time::before {
    content: url('../2025-autumn_images/recipe-time.webp');
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.recipe-list {
    list-style: none;
    padding: 0;
    width: 550px; 
}
.recipe-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.recipe-grid-container {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 60px; 
    padding: 20px; 
    margin: 0;
    list-style: none;
    counter-reset: recipe-counter;
}

.recipe-grid-item {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    text-align: left;
    counter-increment: recipe-counter;
}
                  
.recipe-grid-item img {
    max-width: 100%; 
    height: auto; 
    margin-bottom: 15px; 
}
.instruction {
    margin: 0;
    position: relative;
    padding-left: 1.8em;
}
.instruction::before {
    content: counter(recipe-counter) "."; 
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}
.note-recipe {
    margin: 0;
    font-size: 0.9em;
    color: #333333;
    padding-left: 3.2em;
    text-indent: -1.2em;
}
.recipe-steps {
    counter-reset: halloween-step-counter; 
}
.recipe-steps .step p {
    position: relative; 
    padding-left: 2em; 
}
.recipe-steps .step p::before {
    counter-increment: halloween-step-counter; 
    content: counter(halloween-step-counter) ".";
    position: absolute; 
    left: 0;
    top: 0;
    font-weight: bold;
    color: #333; 
}
@media (max-width: 768px) {
    .recipe-grid-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}
@media (max-width: 480px) {
    .recipe-grid-container {
        grid-template-columns: 1fr; 
    }
}


.ls-none {
    list-style: none!important;
}
.recipe-point-title {
    background-color: #fdcb66;
    padding: 5px 20px;
}
.recipe-point-list {
    border: #fdcb66 3px solid;
}
.idea {
    padding: 0 40px 40px 40px;
    border: #a5a4a4 2px dashed;
    border-radius: 10px;
}
.idea-title {
    padding-left: 50px;
    position: relative;
}
.idea-title::before {
    content: url('../2025-autumn_images/idea-title.webp');
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.idea .content-flex .flex-left {
    flex: 1;
}
.idea .content-flex .flex-right {
    flex: 1;
}
.step {
    display: flex;         
    align-items: flex-start;   
    gap: 15px;             
    margin-bottom: 20px;   
}
.step img {
    width: 150px;          
    height: auto;          
    flex-shrink: 0;        
    border-radius: 0;
}
.step p {
    margin: 0;             
    line-height: 1.7;      
}

.question-block {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 8px;
    margin: 20px;
    justify-content: center;
}
.content-flex-quiz {
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.flex-left-quiz {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    padding-left: 160px;
}
.flex-right-quiz {
    justify-content: center;
    flex: 1;
}
.question-icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background-color: #ea70a9; 
    color: white; 
    font-size: 28px; 
    font-weight: bold; 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.question-text {
    font-size: 1.3rem;
    color: #333;
}
.quiz-title {
    border-left: 8px solid #ea70a9;
    padding-left: 12px;
}
.quiz-list {
    margin-left: 0!important;
    padding-left: 0!important;
}
.quiz-list li {
    line-height: 1.6; 
    padding-left: 1.7em; 
    list-style: none!important;
}
.quiz-list li::before {
    content: '●'; 
    color: #ea70a9; 
    font-weight: bold;
    margin-right: 0.7em; 
}
.labeled-box {
    display: inline-flex; 
    border: 1px solid #ea70a9; 
    border-radius: 4px; 
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    overflow: hidden; 
    margin: 20px; 
}
  
.labeled-box .box-label {
    background-color: #ea70a9; 
    color: white; 
    padding: 10px 20px; 
    font-weight: bold;
    font-size: 1.3rem;
}
  
.labeled-box .box-content {
    background-color: white; 
    color: #333; 
    padding: 10px 20px; 
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

h2.kessan-title{
    text-align:center;
}

h2.kessan-title span.sub{
    display:inline-block;
    background:#fdc902;
    padding:5px 20px;
    border-radius:100vw;
    font-size:80%;
}

h2.kessan-title span{
    display:block;
}
h3.kessan-title2 {
    margin-top:80px;
    text-align:center;
}

h3.kessan-title2 span{
    margin:0 auto;
    display:inline-block;
    background:#fdc902;
    padding:5px 20px;
    border-radius:100vw;
}


	h3.kessan-title2._kaigo span{
    background:#f79659;
			color:#fff;
        }

.kessan-table02,
.kessan-table{
			margin:0 auto;
			width:70%;
      font-size:1.3rem;
		}

.kessan-table02 td,
.kessan-table02 th,
.kessan-table th,
.kessan-table td{
	padding:5px 10px;
}

.kessan-table th{
	background:#5580c1;
	border-radius:100vw;
	color:#fff;
	width:40%
}

.kessan-table td{
	background:#c7d1ea;
	text-align:right;
}

.kessan-table tbody tr:last-child th{
	background:#3d69aa;
}

.kessan-table02 th{
	background:#f79659;
	border-radius:100vw;
	color:#fff;
	width:40%
}

.kessan-table02 td{
	background:#fedec6;
	text-align:right;
}
.kessan-table02 tbody tr:last-child th{
	background:#e37f40;
}

.kessan-box{
	margin-top:50px;
	border:7px double #b4dbb2;
	padding:20px;
}

h5.kessan-title3{
	text-align:center;
	font-size:1.6em;
}
.kessan-box .kessan-title{
	margin-top:0;
		}

.kessan-box .kessan-title .sub{
	background:#f27190;
	color:#fff;
}
.kessan-box .kessan-title span{
	display:inline-block;
	color:#1ab26b;
}

.kessan-box .disc-list  li::marker{
	color: #66c18c;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pie-chart-container {
        width: 90%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1 / 1;
        justify-self: center; 
    }

    .text-group {
     padding: 10px;   
    }

    .text-large {
        bottom: 15%;
        left: 52%;
        font-size: 16px;
    }
    .text-small {
        font-size: 16px;
        left: 22%;
    }
    .pie-chart {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: conic-gradient(
            #FFC107 0deg 288deg,
            #FFECB3 288deg 360deg
        );
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
    }
    .content-flex-quiz {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .flex-left-quiz {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding-left: 0;
        max-width: 100%;
    }
    .flex-right-quiz {
        justify-content: center;
        flex: 1;
    }
    .content-flex-right img{
        justify-self: center;
    }
    .content-flex-recipe {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .question-block {
        flex-direction: column;
        align-items: flex-start; 
    }
    .question-icon {
        width: 90px;
        height: 90px;
        font-size: 22px;
    }
    .question-text {
        font-size: 15px;
    }
        

		.kessan-table02,
		.kessan-table{
			width:100%;
		}
		.kessan-box{
			padding:10px 5px;
		}
    
}
.recipe-column-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding-top: 40px;
}

/* --- レシピ材料リストのデザイン修正 --- */
.ingredient-list {
    list-style: none;
    padding-left: 0;
    margin: 10px auto 0;
    width: 600px;
    max-width: 100%;
}

.ingredient-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 1.6rem;
    color: #333;
    line-height: 1.6;
}

.ingredient-name {
    flex-shrink: 0; /* 名前は縮めない */
}

.ingredient-dots {
    flex-grow: 1;
    margin: 0 5px;
    border-bottom: 2px dotted #999;
    position: relative;
    top: -5px; /* ベースラインより少し上にドットを配置 */
}

.ingredient-amount {
    flex-shrink: 0; /* 分量は縮めない */
    text-align: right;
}

/* グループA（調味料など）のスタイル */
.group-A-container {
    position: relative;
    padding-right: 40px; /* 括弧とマークのスペース */
}

.group-A-container::after {
    content: ""; /* 括弧の線 */
    position: absolute;
    top: 10px; /* 上の行の中心付近 */
    bottom: 10px; /* 下の行の中心付近 */
    right: 10px;
    width: 10px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
}

.group-A-mark {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 1px solid #f79659;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    background-color: #f79659;
    color: #fff;
    line-height: 1;
}
.inline-group-mark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: #f79659;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    margin: 0 2px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
@media screen and (max-width: 768px) {
    .group-A-container::after {
        content: ""; /* 括弧の線 */
        position: absolute;
        top: 15px; /* 上の行の中心付近 */
        bottom: 5px; /* 下の行の中心付近 */
        left: 280px;
        width: 10px;
        border-top: 1px solid #333;
        border-right: 1px solid #333;
        border-bottom: 1px solid #333;
    }
    .group-A-mark {
        position: absolute;
        top: 50%;
        left: 295px;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        border: 1px solid #f79659;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        background-color: #f79659;
        color: #fff;
        line-height: 1;
    }
}

.recipe-detail {
    position: relative;
    padding-top: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.recipe-detail > span {
    position: absolute;
    top: 30px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background-color: #d14686;
    border-radius: 50%;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    font-family: 'Zen Maru Gothic', serif;
    z-index: 2;
}
@media screen and (max-width: 768px) {
    .recipe-detail > span {
        position: absolute;
        top: 30px;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        background-color: #d14686;
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        font-family: 'Zen Maru Gothic', serif;
        z-index: 2;
    }
}
.recipe-title {
    padding-left: 50px;
    min-height: 64px;
    display: flex;
    align-items: center;
}
.recipe-title .section-title .title-text {
    color: #d14686;
    padding: 0 10px;
    font-size: 1.8rem;
    display: inline-block;
    white-space: nowrap;
    width: auto;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"%3E%3Crect width="100" height="20" fill="%23fff352"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: 0 85%;
    background-size: 100% 11px;
}
@media screen and (max-width: 768px) {
    .recipe-title .section-title .title-text {
        color: #d14686;
        padding: 0;
        font-size: 1.5rem;
        display: inline-block;
        white-space: nowrap;
        width: auto;
        background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"%3E%3Crect width="100" height="20" fill="%23fff352"/%3E%3C/svg%3E');
        background-repeat: no-repeat;
        background-position: 0 85%;
        background-size: 100% 11px;
    }
}
.recipe-title .section-title {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
}
.recipe-title .section-title .title-text::before,
.recipe-title .section-title .title-text::after {
    display: none;
}
.recipe-detail img {
    justify-self: center;
    width: 600px;
    max-width: 100%;
    padding: 1.0em;
}
.step-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-top: 40px;
    position: relative;
}
.step-column span {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(0%);
}

/* --- 手順リストの自動連番化（OL） --- */
.recipe-step-list {
    counter-reset: spring-step-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.recipe-step-list li {
    position: relative;
    padding-left: 2em; /* 番号分のインデント */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

/* 手順リストの自動連番化（丸数字） */
.recipe-step-list li::before {
    /* counter-increment: spring-step-counter; */ /* 連番はnth-childで制御 */
    position: absolute;
    top: 3px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #333; /* 色変更 */
    font-size: 1.6rem; /* 少し大きく */
    font-weight: normal; /* 全角文字なのでnormalで十分 */
    font-family: 'Zen Maru Gothic', serif;
    z-index: 2;
    line-height: 1;
}

/* 丸数字の定義 */
.recipe-step-list li:nth-child(1)::before { content: "①"; }
.recipe-step-list li:nth-child(2)::before { content: "②"; }
.recipe-step-list li:nth-child(3)::before { content: "③"; }
.recipe-step-list li:nth-child(4)::before { content: "④"; }
.recipe-step-list li:nth-child(5)::before { content: "⑤"; }
.recipe-step-list li:nth-child(6)::before { content: "⑥"; }
.recipe-step-list li:nth-child(7)::before { content: "⑦"; }
.recipe-step-list li:nth-child(8)::before { content: "⑧"; }
.recipe-step-list li:nth-child(9)::before { content: "⑨"; }
.recipe-step-list li:nth-child(10)::before { content: "⑩"; }

/* テキスト（p）のスタイル調整 */
.recipe-step-list li p {
    margin: 0;
    width: 100%;
    line-height: 1.6;
}
.step-column img {
    justify-self: center;
    width: 300px;
    height: auto;
    padding: 0;
}
.recipe-step-list li img {
    width: 300px;
    height: auto;
    margin: 0;
}


/* === 記事2: 胃がんリスクチェック用スタイル === */

/* セクション小見出し */
.section-subtitle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-left: 0.5em;
    border-left: 4px solid #67C1C4;
}

/* ABC検査セクションのフレックスボックス高さ揃え */
.article-body-content .content-flex {
    align-items: stretch;
}

.article-body-content .content-flex .flex-left,
.article-body-content .content-flex .flex-right {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* 情報ボックスタイトル */
.info-box-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.8em;
}

/* フローチャート画像 */
.flowchart-image {
    max-width: 800px;
}

/* 注意ボックス */
.attention-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: #fff5f5;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
}

.attention-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #ff6b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.attention-content {
    flex: 1;
}

.attention-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.attention-list li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* オレンジ情報ボックス */
.info-box-orange {
    padding: 20px;
    background-color: #fff8f0;
    border: 2px solid #ff9f43;
    border-radius: 8px;
}

.info-box-title-orange {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ff9f43;
    margin-bottom: 1em;
}

/* 生活習慣セクション */
.lifestyle-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.8em;
}

.tips-label {
    font-weight: bold;
    color: #67C1C4;
    margin-bottom: 0!important;
}

.tips-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1em;
}

.tips-list li {
    margin-bottom: 0.3em;
    line-height: 1.6;
}

/* 生活習慣セクション（塩分、野菜、禁煙） */
.lifestyle-section {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.lifestyle-content {
    display: flex;
    gap: 30px;
    align-items: end;
}

.lifestyle-text {
    flex: 1;
}

.lifestyle-image {
    flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .attention-box {
        flex-direction: column;
    }
    
    .attention-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .lifestyle-content {
        flex-direction: column;
    }
    
    .flowchart-image {
        max-width: 100%;
    }

}

/* --- 事例紹介ページ（2026-spring-04.html）用スタイル --- */
.consultation-intro {
    background-color: #f8fbff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}
.consultation-intro h3 {
    margin-top: 0 !important;
    text-align: center;
    color: #4a4a4a;
}
.consultation-intro p {
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
}

.case-section {
    margin-bottom: 60px;
}
.case-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.case-label {
    background-color: #fdcb66; /* ラフの「黄色」 */
    color: #333;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
}
.case-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0 !important;
}

.case-container {
    background-color: #f4efed;
    padding: 30px;
    border-radius: 20px;
    position: relative;
}
.case-container.bg-pale-yellow {
    background-color: #fef5e2;
}

.case-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.case-item:last-child {
    margin-bottom: 0;
}
.case-icon {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
}
.case-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 auto;
}
.case-content {
    flex-grow: 1;
}
.case-content p {
    font-size: 1.1rem !important;
    line-height: 1.8;
}

.case-border {
    border-top: 2px dashed #ccc;
    margin: 30px 0;
}

/* === Budget/Settlement Styles (from 2025-autumn) === */

h2.kessan-title {
    text-align: center;
    margin-bottom: 30px;
}

h2.kessan-title span.sub {
    display: inline-block;
    background: #fdc902;
    padding: 5px 20px;
    border-radius: 100vw;
    font-size: 80%;
    font-weight: bold;
    margin-bottom: 10px;
}

h2.kessan-title span {
    display: block;
    font-size: 2.8rem;
    color: #333;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 900;
}

/* Header Flex Layout & Category Label */
.kessan-title span.title-flex {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央寄せに復元 */
    gap: 30px;
    margin-top: 10px;
}

.kessan-title .category {
    background: #5580c1;
    color: #fff;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 1.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.kessan-title .text {
    font-size: 2.4rem;
}

@media (max-width: 768px) {
    .kessan-title span.title-flex {
        flex-direction: column;
        gap: 10px;
    }
    .kessan-title .category {
        font-size: 1.6rem;
    }
    .kessan-title .text {
        font-size: 1.8rem;
    }
}

h3.kessan-title2 {
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

h3.kessan-title2 span {
    margin: 0 auto;
    display: inline-block;
    background: #fdc902;
    padding: 8px 30px;
    border-radius: 100vw;
    font-size: 2rem;
    font-weight: bold;
}

h3.kessan-title2._kaigo span {
    background: #f79659;
    color: #fff;
}

h3.kessan-title2._child span {
    background: #f27190;
    color: #fff;
}

/* Table Styles */
.kessan-table,
.kessan-table02 {
    margin: 0 auto;
    width: 80%;
    font-size: 1.5rem;
    border-collapse: separate;
    border-spacing: 5px 8px; /* カラム間: 5px, 行間: 8px */
}

.kessan-table th,
.kessan-table td,
.kessan-table02 th,
.kessan-table02 td {
    padding: 12px 20px;
}

/* Header (thead) styling */
.kessan-table thead th,
.kessan-table02 thead th {
    border-radius: 100vw !important; /* ヘッダーは全方向角丸 */
    text-align: center;
    width: auto;
}

/* Base colors for Health budget (kessan-table) */
.kessan-table thead th {
    background: #5580c1;
    color: #fff;
}

.kessan-table tbody th {
    background: #5580c1;
    color: #fff;
    border-radius: 100vw 0 0 100vw;
    width: 45%;
    text-align: center;
}

.kessan-table tbody td {
    background: #c7d1ea;
    text-align: right;
    border-radius: 0 100vw 100vw 0;
    font-weight: bold;
    color: #333;
}

/* Total row specialization */
.kessan-table tbody tr:last-child th {
    background: #3d69aa;
}

/* Base colors for Kaigo budget (kessan-table02) */
.kessan-table02 thead th {
    background: #f79659;
    color: #fff;
}

.kessan-table02 tbody th {
    background: #f79659;
    color: #fff;
    border-radius: 100vw 0 0 100vw;
    width: 45%;
    text-align: center;
}

.kessan-table02 tbody td {
    background: #fedec6;
    text-align: right;
    border-radius: 0 100vw 100vw 0;
    font-weight: bold;
    color: #333;
}

.kessan-table02 tbody tr:last-child th {
    background: #e37f40;
}

.kessan-box {
    margin-top: 50px;
    border: 7px double #b4dbb2;
    padding: 30px;
    border-radius: 15px;
}

.kessan-box .kessan-title {
    margin-top: 0;
}

.kessan-box .kessan-title .sub {
    background: #f27190;
    color: #fff;
}

.kessan-box .kessan-title span {
    display: inline-block;
    color: #1ab26b;
}

@media (max-width: 768px) {
    .kessan-table tbody th,
    .kessan-table02 tbody th {
        border-radius: 5vw 0 0 5vw;
    }
    .kessan-table tbody td,
    .kessan-table02 tbody td {
        border-radius: 0 5vw 5vw 0;
    }
    .kessan-table thead th,
    .kessan-table02 thead th {
        border-radius: 5vw !important;
    }
}

.disc-list {
    list-style: disc;
    padding-left: 25px;
}

.disc-list li {
    margin-bottom: 15px;
    font-size: 1.6rem;
    line-height: 1.6;
}

.disc-list li::marker {
    color: #66c18c;
    font-size: 1.2em;
}

/* 2026 Spring Budget Specific - Infographic Layout (ULTIMATE FIX) */
.health-budget-visual {
    width: 100%;
}

.budget-visual-container {
    max-width: 1100px;
    margin: 0 auto;
    /* background: #fff; */
    padding: 40px;
    border-radius: 20px;
   /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
}

.budget-visual-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    padding: 0 100px; /* パディングを減らして幅を確保 */
}

.total-info {
    position: relative;
    padding-left: 20px;
}

.total-info::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 6px;
    border-radius: 3px;
}

.total-info:nth-child(1)::before { background: #5580c1; }
.total-info:nth-child(2)::before { background: #f7b13c; }

.total-info .label {
    display: block;
    font-size: 1.5rem; /* 少し小さく */
    color: #888;
    margin-bottom: 8px;
    font-weight: bold;
}

.total-info .amount {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    color: #333;
    white-space: nowrap; /* 改行を禁止 */
}

/* Graphic Area with Grid Area */
.budget-graphic-area {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: nowrap; /* デスクトップでは改行させない */
    position: relative;
    padding-top: 100px;
    margin-bottom: 40px;
    width: 100%;
}

.red-status-bubble {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 20;
}

.inc-graph, .exc-graph {
    width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* Components Styling */
.red-status-bubble {
    background: #ff8a65;
    color: #fff;
    padding: 20px;
    border-radius: 50px;
    width: 420px;
    text-align: center;
    font-weight: 900;
    font-size: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(255,138,101,0.3);
}

.red-status-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ff8a65;
}

.extra-items {
    display: flex;
    flex-direction: column;
    gap: 0; /* 隙間をなくして「つなげる」 */
    margin-bottom: 10px;
}

.extra-box {
    padding: 12px;
    font-size: 1.0rem;
    font-weight: bold;
    border-radius: 0; /* 基本は四角 */
    text-align: center;
    line-height: 1.4;
    border: 1px solid rgba(255,255,255,0.5); /* 連結が見えるように微細な境界 */
}

.extra-items .extra-box:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.extra-items .extra-box:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.donut-chart {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inc-donut {
    background: conic-gradient(
        #81d4fa 0% var(--p1, 91.5%), 
        #4fc3f7 var(--p1, 91.5%) var(--p2, 91.8%), 
        #f48fb1 var(--p2, 91.8%) var(--p3, 96.1%), 
        #f06292 var(--p3, 96.1%) var(--p4, 98.1%), 
        #ec407a var(--p4, 98.1%) 100%
    );
}

.exc-donut {
    background: conic-gradient(
        #ffcc80 0% var(--p1, 48.1%), 
        #ffb74d var(--p1, 48.1%) var(--p2, 89.0%), 
        #ffd54f var(--p2, 89.0%) var(--p3, 93.4%), 
        #ffca28 var(--p3, 93.4%) var(--p4, 93.9%), 
        #a5d6a7 var(--p4, 93.9%) 100%
    );
}

.donut-inner {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.donut-label {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: bold;
}

.donut-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #333;
    line-height: 1.2;
}

.budget-legend {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    text-align: left;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}


/* 個別の高さ設定 */
.inc-v-graph { height: 586px !important; } /* (184.7 / 189.2) * 600 */
.exc-v-graph { height: 600px !important; }
.inc-v-label { height: 586px !important; }
.exc-v-label { height: 600px !important; }

.stack-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 1.0rem;
    font-weight: 900;
    text-align: center;
}

/* Annotations (removed from graphic area, styled for future if needed) */
.anno-side { display: none; }

/* Annotations */
.anno-side {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 40px;
    padding-bottom: 20px;
}

.bubble-note {
    background: #fff;
    border: 2px solid;
    border-radius: 12px;
    padding: 12px;
    font-size: 1.0rem;
    font-weight: bold;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.bubble-note.offset-down {
    transform: translateY(25px); /* 36pxのズレを解消するために下方向へオフセット */
}

.bubble-note.blue { border-color: #3498db; }
.bubble-note.orange { border-color: #f7b13c; }

.bubble-note::after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -8px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.left-arrow::after {
    right: -10px;
    border-left: 10px solid #3498db;
}

.right-arrow::after {
    left: -10px;
    border-right: 10px solid #f7b13c;
}

/* Colors */
.c-in-1 { background: #c5ebf1; }
.c-in-2 { background: #ade2ea; }
.c-in-3 { background: #96d9e3; }
.c-in-ex { background: #f8bbd0; }

.c-ex-1 { background: #ffcc80; }
.c-ex-2 { background: #ffe0b2; }
.c-ex-3 { background: #fff3e0; }
.c-ex-4 { background: #ffcc80; }
.c-ex-5 { background: #fff3e0; }
.c-ex-ex { background: #c8e6c9; }

/* Responsive */
@media (max-width: 1024px) {
    .health-budget-visual { margin: 40px 0; }
    .budget-visual-container { padding: 20px; box-shadow: none; /* border: 1px solid #eee; */ }
    .budget-visual-header { padding: 0; flex-direction: column; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
    .total-info .amount { font-size: 2rem; }

    .budget-graphic-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 60px;
        padding-top: 20px; /* 吹き出しが外に出たので余白を詰める */
    }

    /* 円グラフのサイズ調整 */
    .donut-chart { width: 300px; height: 300px; }
    .donut-inner { width: 190px; height: 190px; }

    /* 凡例の調整 */
    .budget-legend { width: 100%; max-width: 320px; margin-top: 25px; }

    /* 赤字表示の調整 (Absoluteを解除) */
    .red-status-bubble { width: 100%; position: static; transform: none !important; margin-bottom: 30px; border-radius: 10px; }
    .red-status-bubble::after { display: none; } /* 矢印は非表示 */
}

/* 予算のポイント解説セクション */
.budget-points-summary { background: #f8fafd; padding: 40px; border-radius: 20px; margin-top: 40px; border: 1px solid #e9f0f8; }
.points-container { display: flex; gap: 60px; }
.points-column { flex: 1; }
.points-header { font-size: 1.2rem; font-weight: 900; margin-bottom: 25px; padding-bottom: 12px; border-bottom: 3px solid #ddd; color: #333; }
.points-column.income .points-header { border-bottom-color: #81d4fa; }
.points-column.expenditure .points-header { border-bottom-color: #ffcc80; }
.points-list { list-style: none !important; padding: 0; margin: 0; }
.points-list li { list-style: none !important; position: relative; padding-left: 22px; margin-bottom: 15px; line-height: 1.7; font-size: 1.1rem; color: #444; }
.points-list li::before, .points-list li::marker { display: none !important; content: none !important; }
.marker { position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; }
.marker.blue { background: #81d4fa; }
.marker.pink { background: #f06292; }
.marker.orange { background: #ffb74d; }
.marker.light-orange { background: #ffcc80; }

/* ポイント解説エリアのレスポンシブ */
@media (max-width: 768px) {
    .budget-points-summary { padding: 25px; }
    .points-container { flex-direction: column; gap: 30px; }
    .points-header { margin-bottom: 15px; }
}


.bg-light-gray-05 {
    background-color: #f9f9f9;
}

.p_40 { padding: 40px; }
.border-radius-20 { border-radius: 20px; }

@media (max-width: 768px) {
    .case-item {
        flex-direction: column;
        gap: 15px;
    }
    .case-icon {
        width: 60px;
    }
    .case-icon img {
        width: 60px;
        height: 60px;
    }
    .case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.article-h2-teal {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-top: 2em;
    margin-bottom: 1.2em;
    padding-left: 15px;
    border-left: 10px solid #67C1C4; /* ラフに合わせた太めの縦棒 */
    line-height: 1.4;
    display: block;
}






/* spring-04 app consultation section */
.app-info-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.app-info-img {
    flex: 0 0 280px;
}
.app-info-text {
    flex: 1;
}
.app-info-text h2 {
    margin-top: 0 !important;
}
@media (max-width: 768px) {
    .app-info-flex {
        flex-direction: column;
        gap: 20px;
    }
    .app-info-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}
