/* ===== 記事ページのスタイル ===== */

/* メインコンテンツ記事 */
.main-content-article {
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto 40px auto;
    max-width: 1200px;
    width: 100%;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 120px 0 120px 0;
    margin-bottom: 3em;
}

.hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 120px 0 120px 0;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    border-radius: 120px 0 120px 0;
    min-height: 100%;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    margin-top: 10px;
}

/* ヒーロー右上の吹き出しバッジ */
.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    z-index: 10;
}

.badge-text {
    display: block;
    text-align: center;
    line-height: 1.2;
}

/* 期限通知 */
.deadline-notice {
    text-align: center;
    margin: 50px auto;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
    width: 100%;
    max-width: none;
    position: relative;
}

.deadline-text {
    position: relative;
    padding: .5em 2em;
    color: #ea5c51;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: inline-block;
}

.deadline-text::before,
.deadline-text::after {
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 100%;
    border: 3px solid #ea5c51;
    box-sizing: border-box;
    content: '';
    top: 0;
}

.deadline-text::before {
    left: 0;
    border-right: none;
}

.deadline-text::after {
    right: 0;
    border-left: none;
}

.year-text {
    font-size: 0.7em;
    font-weight: 600;
    margin-right: 0.5em;
}

/* コンテンツボディ */
.content-body {
    padding: 60px 40;
}

/* セクション */
.content-section {
    margin-bottom: 100px;
}

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

/* セクションタイトル */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 40px;
    padding: 28px 36px;
    background:
        radial-gradient(circle, rgb(255, 255, 255) 0.5px, transparent 0.5px),
        linear-gradient(90deg, 
            rgba(242, 179, 171, 0.5) 0%, 
            rgba(247, 227, 161, 0.5) 20%, 
            rgba(214, 237, 201, 0.5) 40%, 
            rgba(207, 232, 249, 0.5) 60%, 
            rgba(220, 212, 247, 0.5) 80%, 
            rgba(255, 215, 168, 0.5) 100%);
    background-size: 4px 4px, 100%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

/* セクションタイトル内のspan要素のスタイル */
.section-title span {
    background-color: #8f99cc;
    border-radius: 20px;
    padding: 6px 1rem;
    margin-left: 1rem;
    font-size: 0.6em;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}

/* スマホでのspan要素の改行対応 */
@media (max-width: 768px) {
    .section-title span {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* テキストと画像のレイアウト */
.content-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 2fr;
}

.content-with-image.reverse .text-content {
    order: 2;
}

.content-with-image.reverse .image-content {
    order: 1;
}

/* テキストコンテンツ */
.text-content {
    line-height: 1.8;
}

.content-text {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

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

/* 画像コンテンツ */
.image-content {
    text-align: center;
}

.content-image {
    width: 100%;
    height: auto;
}

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

/* シンプルコンテンツ */
.simple-content {
    max-width: 1200px;
}

/* リストスタイル */
.content-list {
    list-style: none;
    padding-left: 0;
    margin-top: 24px;
}

.content-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #2d2d2d;
    line-height: 1.6;
}

.content-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #3498db;
    font-size: 0.8rem;
}

/* データテーブルのスタイル */
.data-table {
    margin: 30px auto;
    max-width: 600px;
    overflow: hidden;
    background: white;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.table-header th {
    background: #8B5A96;
    color: white;
    padding: 10px 20px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.05em;
}

.care-header th {
    background: #A8B85A;
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #9c9c9c;
    font-size: 1.2rem;
    vertical-align: middle;
}

.data-table td:first-child {
    background: #f8f9fa;
    font-weight: 600;
    width: 40%;
    color: #2d2d2d;
    text-align: center;
}

.data-table td:last-child {
    background: #fff;
    text-align: right;
    font-weight: 500;
    color: #2c3e50;
}

.data-table tr:nth-child(even) {
    background: #f9f9f9;
}

.data-table tr:last-child td {
    border-bottom: 1px solid #9c9c9c;
}

.table-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    padding: 0;
}

/* チャートセクションのスタイル */
.chart-section {
    margin: 40px auto;
    max-width: 1000px;
}

.chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 0;
}

.chart-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #9c9c9c;
}

.chart-header {
    margin-bottom: 20px;
}

.chart-header h3 {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin: 0;
    padding: 12px 20px;
    border: 2px solid #B987C4;
    border-radius: 25px;
    background: white;
    font-weight: 600;
    display: block;
    width: 100%;
}

.care-header h3,
.chart-container:has(#careIncomeChart) .chart-header h3,
.chart-container:has(#careExpenseChart) .chart-header h3 {
    border-color: #A8B85A;
}

.chart-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.pie-chart-wrapper {
    position: relative;
    display: inline-block;
}

.chart-center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d2d2d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 凡例のスタイル */
.legend-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.legend-container {
    border-radius: 8px;
    padding: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #9c9c9c;
}


.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    margin-right: 12px;
    flex-shrink: 0;
}

.legend-label {
    flex: 1;
    font-size: 0.95rem;
    color: #2d2d2d;
    font-weight: 500;
    text-align: left;
}

.legend-value {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
    text-align: right;
}

/* クリーム色背景セクション */
.cream-background {
    background-color: #fffcea; /* クリーム色 */
    padding: 0;
}

/* 一般勘定表のスタイル */
.general-account-table {
    margin: 60px auto;
    max-width: 600px;
    overflow: hidden;
    background: white;
}

.general-account-header {
    background: #B987C4;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.general-account-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.general-account-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #9c9c9c;
    font-size: 1.2rem;
    vertical-align: middle;
}

.general-account-table td:first-child {
    background: #f8f9fa;
    font-weight: 600;
    width: 40%;
    color: #333;
    text-align: center;
}

.general-account-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: #2c3e50;
}


/* 特別な行のスタイル */
.general-account-table .negative-value {
    color: #e74c3c;
}

.general-account-table .negative-value::before {
    content: "▲";
    margin-right: 2px;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
        margin-bottom: 0em;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-body {
        padding: 40px 20px;
    }
    
    .content-with-image,
    .content-with-image.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-with-image.reverse .text-content,
    .content-with-image.reverse .image-content {
        order: unset;
    }
    
    .section-title {
        font-size: 1.6rem;
        padding: 15px 20px;
        margin-bottom: 30px;
        text-align: center;
        -webkit-text-stroke: none;
    }
    
    .content-text {
        font-size: 1rem;
    }

    /* 期限通知のスマホ対応 */
    .deadline-text {
        white-space: normal;
        font-size: 1.2rem;
        padding: .5em 1em;
        line-height: 1.4;
    }

    .chart-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .legend-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chart-header h3 {
        font-size: 1rem;
        padding: 8px;
    }
    
    .pie-chart-wrapper canvas {
        width: 250px !important;
        height: 250px !important;
    }
    
    .chart-center-label {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    /* 画像をスマホで半分の大きさに */
    .content-image {
        width: 50%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 250px;
        margin-bottom: 1em; /* さらに狭く */
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .content-body {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 1.4rem;
        padding: 12px 15px;
        margin-bottom: 25px;
        text-align: center;
        -webkit-text-stroke: none;
    }
    
    .content-section {
        margin-bottom: 40px;
    }

    /* 期限通知の小画面対応 */
    .deadline-text {
        font-size: 1.1rem;
        padding: .4em .8em;
        line-height: 1.3;
    }

    .pie-chart-wrapper canvas {
        width: 200px !important;
        height: 200px !important;
    }
    
    .chart-center-label {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .legend-item {
        grid-template-columns: 16px 1fr auto;
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
    }
}


/* 右揃え画像のスタイル */
.image-right {
    text-align: right;
    margin: 20px 0;
}

.right-aligned-image {
    width: 120px;
    height: auto;
    display: inline-block;
}


/* 2重下線のハイライトテキスト */
.highlight-text {
    font-weight: 600;
}



/* ===== インフルエンザ予防接種費用補助ページのスタイル ===== */

.vaccination-subsidy-content {
    margin: 0 auto;
    padding: 20px 0;
}

.subsidy-section {
    margin-bottom: 30px;
    width: 100%;
}

/* subsidy-title用のスタイル */
.subsidy-title {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 40px 0 25px 0;
    padding: 15px 20px;
    text-align: center;
}

.subsidy-title::before,
.subsidy-title::after {
    width: 3px;
    height: 40px;
    background-color: #333333;
    content: '';
}

.subsidy-title::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

.subsidy-title::after {
    transform: rotate(35deg);
    margin-left: 30px;
}

.section-number {
    display: inline-block;
    margin-right: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.subsidy-content {
    margin-left: 20px;
}

.subsidy-text {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}

.subsidy-list {
    margin-bottom: 15px;
}

.subsidy-item {
    margin-bottom: 8px;
    padding-left: 10px;
    line-height: 1.5;
    color: #333;
}

.subsidy-notes {
    margin-top: 15px;
}

.note {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.button-container {
    text-align: center;
    margin: 40px 0;
}

.subsidy-button {
    display: inline-block;
    background-color: #B987C4;
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.subsidy-button:hover {
    transform: scale(1.05);
    background-color: #9A6FA8;
}

/* 領収書セクションのスタイル */
.receipt-section {
    background-color: #fffcea;
    border-radius: 30px;
    padding: 20px;
    margin: 30px auto;
    width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.receipt-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #7c7c7c;
    padding-bottom: 8px;
}

.receipt-content {
    margin-top: 15px;
}

.receipt-text {
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.receipt-list {
    margin-bottom: 20px;
}

.receipt-item {
    margin-bottom: 8px;
    padding-left: 10px;
    line-height: 1.5;
    color: #333;
}

.receipt-notes {
    margin-top: 15px;
}

.receipt-note {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .vaccination-subsidy-content {
        padding: 15px;
    }
    
    .subsidy-title {
        font-size: 1.7rem;
        font-weight: 700;
        padding: 12px 15px;
        margin: 30px 0 20px 0;
    }
    
    .subsidy-title::before,
    .subsidy-title::after {
        height: 80px;  /* 40px → 50px に変更 */
    }
    
    .subsidy-title::before {
        margin-right: 30px;
    }
    
    .subsidy-title::after {
        margin-left: 30px;
    }
}

@media (max-width: 480px) {
    .subsidy-title {
        font-size: 1.4rem;
        font-weight: 700;
        padding: 10px 12px;
        margin: 25px 0 15px 0;
    }
    
    .subsidy-title::before,
    .subsidy-title::after {
        height: 80px;  /* 25px → 60px に変更 */
    }
    
    .subsidy-title::before {
        margin-right: 30px;
    }
    
    .subsidy-title::after {
        margin-left: 30px;
    }
    
    .consultation-container {
        grid-template-columns: 1fr;
    }
    
    .consultation-item {
        padding: 20px;
    }
    
    .consultation-title {
        font-size: 1.2rem;
        padding: 10px 12px;
    }
    
    .app-list-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .app-list li {
        padding: 12px 15px;
    }
    
    .app-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .app-item {
        padding: 20px;
    }
    
    .app-title {
        font-size: 1.2rem;
        padding: 10px 12px;
    }
    
    .source-info {
        margin-top: 25px;
    }
    
    .source-info .content-text a {
        word-break: break-all;
        display: inline-block;
        margin-bottom: 2px;
    }
}

/* マイナ保険証のメリット ポイントデザイン */
.benefit-points {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.benefit-point {
    flex: 1 1 0 !important;
    background: white !important;
    border: 4px solid #e95b51 !important;
    border-radius: 12px !important;
    padding: 40px 20px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}

.benefit-point::before {
    content: attr(data-number) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 120px !important;
    font-weight: 900 !important;
    color: #fceceb !important;
    z-index: 1 !important;
    pointer-events: none !important;
}



.benefit-text {
    font-size: 20px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    font-weight: 700 !important;
    word-wrap: break-word !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .benefit-points {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .benefit-point {
        flex: none !important;
        padding: 30px 15px !important;
    }
    
    .benefit-point::before {
        font-size: 80px !important;
    }
    
    .benefit-text {
        font-size: 1em !important;
    }
}

/* マイナンバーカード申請ステップのスタイル */
.application-steps {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin: 30px 0;
    position: relative;
}

.step-item {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    display: inline-block;
    background-color: #B987C4;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
    margin-top: 0;
}

.step-text {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.step-image {
    margin-top: auto!important;
    text-align: center;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .step-title {
        font-size: 1.3em;
    }

    .step-text {
        font-size: 0.9em;
    }
    
    .application-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-item {
        min-height: auto;
        padding: 20px;
    }
}

/* デスクトップでは改行を非表示 */
br.mobile-break {
    display: none;
}
br.pc-break {
    display: block;
}

/* スマホでのみ改行を表示 */
@media (max-width: 768px) {
    br.mobile-break {
        display: block;
    }
    br.pc-break {
        display: none;
    }
}


/* ステップ画像のスタイル */
.step-image {
    margin-top: 20px;
    text-align: center;
}

.step-image img {
    max-width: 313px;
    height: auto;
    border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .step-image img {
        max-width: 70%;
    }
}



/* 情報ボックスのスタイル */
.info-boxes {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.info-box {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
}

.info-box-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #B987C4;
    margin-bottom: 15px;
    border-bottom: 3px solid #B987C4;
    padding-bottom: 8px;
    text-align: center;
}

.info-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #666;
    line-height: 1.5;
}

.info-box-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #B987C4;
    font-weight: bold;
}

.info-box-text {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .info-boxes {
        flex-direction: column;
        gap: 15px;
    }
}

/* ハイライトフレーム */
.highlight-frame {
    width: 900px;
    border: 6px dotted #B987C4;
    border-radius: 20px;
    padding: 30px;
    margin: 60px auto;
    background-color: #fff;
}

.frame-title {
    font-size: 23px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #B987C4;
}

.frame-text {
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    color: #555;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .highlight-frame {
        width: 100%;
        max-width: 800px;
        padding: 15px;
        margin: 15px auto;
    }
}

/* ハイライトフレーム内の左右レイアウト */
.highlight-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.highlight-text {
    flex: 1;
}

.highlight-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-image img {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .highlight-image {
        text-align: center!important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .highlight-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .highlight-image img {
        max-width: 50%;
        width: 50%;
        display: block;
    }
}

/* 扶養認定基準変更表のスタイル */
.table-container {
    margin: 30px auto;
    max-width: 80%;
    overflow-x: auto;
}

/* スマホ表示時の調整 */
@media (max-width: 768px) {
    .table-container {
        margin: 20px auto;
        max-width: 95%;
        padding: 0 10px;
    }
}

.income-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.income-comparison-table th {
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.income-comparison-table td {
    border: 2px solid #dee2e6;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
}

.old-criteria {
    background-color: #fff;
    color: #333;
}

.new-criteria {
    background-color: #e3f2fd;
    border: 5px solid #2196f3!important;
    color: #1976d2;
    font-weight: 600;
}

.table-notes {
    margin-top: 15px;
}

.target-people {
    color: #2196f3;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.age-criteria {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .income-comparison-table {
        font-size: 14px;
    }
    
    .income-comparison-table th,
    .income-comparison-table td {
        padding: 10px 8px;
    }
    
    .table-notes p {
        font-size: 13px;
    }
}



/* ===== 問診票テーブルのスタイル ===== */

.questionnaire-table-wrapper {
    margin: 2em 0;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.questionnaire-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.4;
    min-width: 800px;
}

.questionnaire-table th,
.questionnaire-table td {
    padding: 12px 8px;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.questionnaire-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    text-align: center;
}

.category-header {
    width: 120px;
    min-width: 120px;
}

.option-header {
    width: 140px;
    min-width: 140px;
    text-align: center;
}

.category-cell {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 120px;
    min-width: 120px;
}

.option-column1 {
    background-color: #d9e4f8;
}

.option-column2 {
    background-color: #fffde3;
}

.option-column3 {
    background-color: #fffcb5;
}

.option-column4 {
    background-color: #ffe0d2;
}

.option-column5 {
    background-color: #ffbea4;
}

.option-empty {
    background-color: #FFFFFF;
    border: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .questionnaire-table {
        font-size: 12px;
    }
    
    .questionnaire-table th,
    .questionnaire-table td {
        padding: 8px 6px;
    }
    
    .category-header,
    .category-cell {
        width: 100px;
        min-width: 100px;
    }
    
    .option-header {
        width: 120px;
        min-width: 120px;
    }
}

/* 評価の目安ステップ表示 */
.evaluation-steps {
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin: 30px 0;
    position: relative;
    flex-wrap: wrap;
}

.evaluation-step {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 140px;
    justify-content: flex-start;
}

.evaluation-step .step-number {
    display: inline-block;
    background-color: #B987C4;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.evaluation-step .step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.evaluation-step .step-text {
    font-size: 0.9em;
    line-height: 1.5;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.step-arrow {
    font-size: 24px;
    color: #B987C4;
    font-weight: bold;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    align-self: center;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .evaluation-steps {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .step-arrow {
        display: none;
    }
    
    .evaluation-step {
        width: 100%;
        min-height: 100px;
    }
}

@media (max-width: 768px) {
    .evaluation-step {
        padding: 15px;
        min-height: 80px;
    }
    
    .evaluation-step .step-number {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }
    
    .evaluation-step .step-text {
        font-size: 0.85em;
    }
    
    .step-arrow {
        display: none;
    }
}

/* 症状カード表示 */
.symptom-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.symptom-card {
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #B987C4;
}

.symptom-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #B987C4;
}

.symptom-icon .material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.symptom-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
    flex: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .symptom-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .symptom-card {
        padding: 15px;
    }
    
    .symptom-icon {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
    
    .symptom-text {
        font-size: 0.9em;
    }
}



/* ===== 医療相談窓口セクションのスタイル ===== */

/* 相談項目コンテナ */
.consultation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/* 相談項目カード */
.consultation-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.consultation-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.consultation-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 15px;
    padding: 12px 16px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 6px;
    text-align: left;
}

.consultation-title span {
    font-size: 1rem;
    font-weight: 400;
}

/* インターネット・アプリセクション */
.app-list-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
}

.app-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-list li {
    background: white;
    margin-bottom: 12px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #28a745;
}

/* アプリコンテナ */
.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/* アプリ項目 */
.app-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.app-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.app-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 15px;
    padding: 12px 16px;
    background: #e8f5e8;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    text-align: left;
}

/* 出典情報 */
.source-info {
    margin-top: 30px;
}

.source-info .content-text {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.source-info strong {
    color: #495057;
    font-weight: 600;
}

.source-info .content-text a {
    color: #495057;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.source-info .content-text a:hover {
    color: #333;
    text-decoration: underline;
}

.source-info .content-text a:visited {
    color: #495057;
    text-decoration: underline;
}

.source-info .content-text a:active {
    color: #333;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .consultation-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .consultation-item {
        padding: 20px;
    }
    
    .consultation-title {
        font-size: 1.2rem;
        padding: 10px 12px;
    }
    
    .app-list-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .app-list li {
        padding: 12px 15px;
    }
    
    .app-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .app-item {
        padding: 20px;
    }
    
    .app-title {
        font-size: 1.2rem;
        padding: 10px 12px;
    }
    
    .source-info {
        margin-top: 25px;
    }
    
    .source-info .content-text a {
        word-break: break-all;
        display: inline-block;
        margin-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .consultation-container {
        gap: 15px;
    }
    
    .consultation-item {
        padding: 15px;
    }
    
    .consultation-title {
        font-size: 1.1rem;
        padding: 8px 10px;
    }
    
    .app-container {
        gap: 15px;
    }
    
    .app-item {
        padding: 15px;
    }
    
    .app-title {
        font-size: 1.1rem;
        padding: 8px 10px;
    }
    
    .source-info {
        margin-top: 25px;
    }
}


/* 緊急時ガイド用画像のスタイル */
.emergency-guide-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    // ... existing code ...
    
    .emergency-guide-image img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    // ... existing code ...
    
    .emergency-guide-image img {
        max-width: 200px;
    }
}

/* ===== チャット風レイアウトのスタイル ===== */
.chat-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.chat-avatar {
    flex-shrink: 0;
}

.avatar-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.chat-bubble {
    flex: 1;
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.chat-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

.chat-bubble::after {
    display: none;
}

.chat-text {
    margin: 0;
}

.chat-text p {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2d2d2d;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .chat-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .avatar-image {
        width: 100px;
        height: 100px;
    }
    
    .chat-bubble {
        width: 100%;
        padding: 15px;
    }
    
    .chat-bubble::before,
    .chat-bubble::after {
        display: none;
    }
    
    .chat-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .chat-layout {
        padding: 10px;
    }
    
    .avatar-image {
        width: 80px;
        height: 80px;
    }
    
    .chat-bubble {
        padding: 12px;
    }
    
    .chat-text p {
        font-size: 0.95rem;
    }
}

/* ===== subsidy-title-2のスタイル（book-54-05.html専用） ===== */
.subsidy-title-2 {
    display: block;
    color: #333333;
    font-size: 2.1rem;
    font-weight: 700;
    margin: 40px 0 0px 0;
    padding: 15px 0;
    text-align: left;
    border-top: 2px dotted #333333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .subsidy-title-2 {
        font-size: 1.7rem;
        font-weight: 700;
        padding: 12px 0;
        margin: 30px 0 20px 0;
        border-top: 2px dotted #333333;
    }
}

@media (max-width: 480px) {
    .subsidy-title-2 {
        font-size: 1.4rem;
        font-weight: 700;
        padding: 10px 0;
        margin: 25px 0 15px 0;
        border-top: 2px solid #333333;
    }
}

/* ===== 連絡先ボックススタイル（book-54-07.html専用） ===== */
.contact-box {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 20px;
    margin: 25px 0 5rem;
    text-align: center;
}

.contact-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 15px;
    line-height: 1.4;
}

.contact-phone {
    font-size: 3.5rem;
    font-weight: 800;
    color: #d63384;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-hours {
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
}

.contact-hours div {
    margin-bottom: 8px;
}

.contact-hours .note {
    font-size: 0.95rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-box {
        padding: 25px 15px;
        margin: 20px 0;
    }
    
    .contact-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .contact-phone {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }
    
    .contact-hours {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .contact-box {
        padding: 20px 12px;
        margin: 15px 0;
    }
    
    .contact-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .contact-phone {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .contact-hours {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .contact-hours .note {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}


/* Exercise and Health Content Styles */
.supervisor-info {
    text-align: right;
    margin: 3rem auto 30px auto;
    font-size: 16px;
    color: #383838;
    width: 900px;
}

.intro-text {
    margin: 3rem auto 30px auto;
    line-height: 1.8;
    width: 900px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .supervisor-info {
        width: 90%;
        padding: 0 15px;
        margin: 2rem auto 20px auto;
        font-size: 15px;
    }

    .intro-text {
        width: 100%;
        padding: 0 15px;
        margin: 2rem auto 20px auto;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .supervisor-info {
        width: 100%;
        padding: 0 10px;
        margin: 1.5rem auto 15px auto;
        font-size: 14px;
    }

    .intro-text {
        width: 100%;
        padding: 0 10px;
        margin: 1.5rem auto 15px auto;
        line-height: 1.6;
        font-size: 15px;
    }
}

.image-container {
    margin-bottom: 2rem;
}

.centered-responsive-img {
    max-width: 800px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.highlight-box {
    background-color: #e6f3ff;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    border-left: 5px solid #4a90e2;
}

.highlight-box h3 {
    color: #2c5282;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.highlight-box p {
    margin: 0;
    line-height: 1.6;
}

.muscle-training-section {
    margin: 40px 0;
}


.points-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.point-box {
    background-color: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 15px;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.point-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.point-badge {
    background-color: #38a169;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
    text-align: center;;
}

.point-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 16px;
}

.point-box p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

.exercise-section {
    margin: 40px 0;
}

.exercise-section h3 {
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 5px;
    display: inline-block;
}

.exercise-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.exercise-instructions {
    flex: 1;
    min-width: 300px;
}

.instruction {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.instruction:last-child {
    margin-bottom: 0;
}

.instruction-number {
    background-color: #4a90e2;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
    font-size: 14px;
    flex-shrink: 0;
}

.exercise-image {
    flex: 1;
    min-width: 700px;
    text-align: center;
}

.exercise-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.walking-section {
    margin: 40px 0;
    background-color: #f7fafc;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #4a90e2;
}

.walking-section h3 {
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 20px;
}

.walking-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.walking-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.walking-list li:last-child {
    margin-bottom: 0;
}

.walking-bullet {
    background-color: #4a90e2;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.walking-list span {
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .points-container {
        flex-direction: column;
        align-items: center;
    }
    
    .point-box {
        max-width: 100%;
        width: 100%;
    }
    
    .exercise-content {
        flex-direction: column;
    }
    
    .exercise-instructions,
    .exercise-image {
        min-width: auto;
        width: 100%;
    }
    
    .muscle-training-section h2 {
        font-size: 18px;
    }
    
    .highlight-box {
        padding: 15px;
    }
    
    .walking-section {
        padding: 20px;
    }
}


/* Single Point Container Styles */
.single-point-container {
    position: relative;
    background-color: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 15px;
    padding: 40px 30px 30px 30px;
    margin: 30px auto;
    width: 450px;
    max-width: 90%;
}

.point-badge-top {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #38a169;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
}

.point-content {
    margin-top: 15px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.point-item:last-child {
    margin-bottom: 0;
}

.point-bullet {
    color: #38a169;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.point-item span:last-child {
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Hide old point styles */
.points-container {
    display: none;
}

/* Responsive adjustments for single point container */
@media (max-width: 768px) {
    .single-point-container {
        padding: 30px 20px 20px 20px;
        margin: 20px 0;
        width: 100%;
    }
    
    .point-badge-top {
        left: 15px;
        padding: 8px 16px;
        font-size: 15px;
    }
    
    .point-item {
        margin-bottom: 12px;
    }
    
    .point-item span:last-child {
        font-size: 16px;
    }
    
    .point-item small {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .single-point-container {
        padding: 25px 15px 15px 15px;
        margin: 15px 0;
        border-radius: 12px;
    }
    
    .point-badge-top {
        left: 10px;
        top: -12px;
        padding: 6px 14px;
        font-size: 14px;
    }
    
    .point-item {
        margin-bottom: 10px;
        font-size: 15px;
    }
    
    .point-item span:last-child {
        font-size: 15px;
    }
    
    .point-bullet {
        margin-right: 6px;
    }
    
    .point-item small {
        font-size: 13px;
    }
}

/* アプリボタンコンテナ */
.app-button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

/* アプリボタン */
.app-button {
    display: inline-block;
    background-color: #B987C4;
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
    flex: 1;
    max-width: 350px;
    min-width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.app-button:hover {
    transform: scale(1.05);
    background-color: #9A6FA8;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .app-button-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px;
    }
    
    .app-button {
        width: 100%;
        max-width: 400px;
        min-width: auto;
        flex: none;
    }
}

/* ===== 印刷用スタイル ===== */
@media print {
    /* ボタンコンテナの印刷時スタイル */
    .app-button-container {
        padding: 15px;
        margin: 20px 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    /* ボタンの印刷時スタイル */
    .app-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 200px;
        max-width: 250px;
        box-shadow: none;
        border: 1px solid #B987C4;
    }
    
    /* ボタンのホバー効果を無効化 */
    .app-button:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* 相談窓口コンテナの印刷時スタイル */
    .consultation-container,
    .app-container {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .consultation-item,
    .app-item {
        padding: 15px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    .consultation-title,
    .app-title {
        font-size: 1rem;
        padding: 8px 12px;
    }
    
    /* セクションタイトルの印刷時スタイル */
    .section-title {
        font-size: 1.5rem;
        padding: 15px 20px;
    }
    
    .subsidy-title {
        font-size: 1.6rem;
        padding: 10px 15px;
    }
    
    /* コンテンツテキストの印刷時スタイル */
    .content-text {
        font-size: 0.9rem;
    }
}
