body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    overflow-x: hidden;
    overflow-y: visible;
}
.bg-light-blue {
    background-color: #FFFFFF;
}
/* h2見出し装飾：紺色ベースに金色枠線（角丸なし・金枠は内側へ） */
h2 {
    background-color: #173664;
    color: #FFFFFF !important;
    padding: 0.75rem 1rem;
    border-radius: 0; /* 角丸なし */
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    box-sizing: border-box;
    text-align: center;  /* ← この行を追加 */
}
h2::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid #E0BB62;
    border-radius: 0; /* 角丸なし */
    z-index: 1;
}
.btn-orange {
    /* より濃いグリーン系のグラデーションに調整 */
    background: linear-gradient(180deg, #8EE000 0%, #16C75A 45%, #059669 100%);
    border: none;
    border-radius: 999px;
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(36, 200, 106, 0.22), 0 2px 4px rgba(0,0,0,0.16);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}
.btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.2) 30%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 999px 999px 0 0;
    pointer-events: none;
    z-index: 1;
}
.btn-orange::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 25%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    border-radius: 999px;
    pointer-events: none;
    z-index: 1;
}
.btn-orange > * {
    position: relative;
    z-index: 2;
}
.btn-orange:hover {
    background: linear-gradient(180deg, #D4FFA6 0%, #6AF5A8 45%, #2DD875 100%);
    box-shadow: 0 4px 15px rgba(36, 200, 106, 0.3), 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}
.btn-orange:hover::before {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.25) 30%,
        rgba(255, 255, 255, 0) 100%
    );
}
.btn-orange:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn-icon {
    width: 24px;
    height: 24px;
    background: #FFFFFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), inset 0 0 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    position: relative;
}
.btn-icon::after {
    content: '›';
    color: #24C86A;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    display: block;
    margin-left: 2px;
}
@media (min-width: 768px) {
    .btn-icon {
        width: 28px;
        height: 28px;
    }
    .btn-icon::after {
        font-size: 20px;
    }
}
h1, h3, h4, h5, h6, p, span, div, a, li, td, th {
    color: #333333 !important;
}
h2 {
    color: #FFFFFF !important;
}
/* タイトルとstrongタグの太字を少し細く */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}
strong {
    font-weight: 600 !important;
}
.font-bold {
    font-weight: 600 !important;
}
.text-white, a.text-white, button.text-white {
    color: #ffffff !important;
}
footer, footer *, footer div, footer a, footer span, footer p, footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    color: #ffffff !important;
}
/* スマホ用のテキストサイズ最適化と横幅100%設定 */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 18px !important;
    }
    h2 {
        font-size: 16px !important;
    }
    h3 {
        font-size: 15px !important;
    }
    p, span, div, li {
        font-size: 14px !important;
    }
    .text-base {
        font-size: 14px !important;
    }
    .text-lg {
        font-size: 15px !important;
    }
    .text-xl {
        font-size: 16px !important;
    }
    .text-2xl {
        font-size: 18px !important;
    }
    .text-3xl {
        font-size: 20px !important;
    }
    /* スマホで全要素を横幅100%に */
    .max-w-4xl, .max-w-2xl, .max-w-3xl {
        max-width: 100% !important;
        width: 100% !important;
    }
    /* CTA画像をスマホで横幅いっぱいにする */
    .cta-box-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
    .cta-box-wrapper > div {
        padding: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .cta-box-wrapper img {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    .cta-box-wrapper a {
        width: 100% !important;
        display: block !important;
    }
}
/* 黄色バナーの内側の白い枠（間を開ける） */
.header-cta-banner::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 2px solid #FFFFFF;
    pointer-events: none;
    z-index: 1;
}
.header-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.footer-container {
    width: 100%;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .header-container {
        width: 45%;
    }
    .footer-container {
        width: 45%;
    }
    .max-w-4xl {
        max-width: 45% !important;
        width: 45%;
    }
    .max-w-2xl {
        max-width: 45% !important;
        width: 45%;
    }
    .max-w-3xl {
        max-width: 45% !important;
        width: 45%;
    }
    /* CTAボタンと画像の枠は幅いっぱいにする */
    .cta-box-wrapper {
        max-width: 100% !important;
        width: 100% !important;
    }
    /* 画像を横幅いっぱいにする */
    .image-full-width {
        max-width: 100% !important;
        width: 100% !important;
    }
}
.header-banner {
    display: flex;
    width: 100%;
    background-color: #1E3A67;
    position: relative;
    overflow: visible;
    padding-top: 30px;
    min-height: 80px;
    justify-content: center;
    align-items: center;
}
@media (min-width: 768px) {
    .header-banner {
        padding-top: 35px;
        min-height: 90px;
    }
}
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background-color: #1E3A67;
}
.header-cta-wrapper {
    display: none;
}
@media (min-width: 768px) {
    .header-cta-wrapper {
        display: block;
        position: absolute;
        top: -70px;
        right: 8px;
        z-index: 20;
    }
}
.header-cta-yellow {
    background-color: #F1C231 !important;
    color: #362E24;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10), inset 0 0 0 2.5px #FFF7CD;
    padding: 16px 30px 14px 24px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}
.header-logo-text {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.05em;
}
.header-logo-text .dot-i {
    position: relative;
    display: inline-block;
}
.header-logo-text .dot-i::before {
    content: '•';
    color: #F2C94C;
    position: absolute;
    font-size: 0.35em;
    top: -0.15em;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}
.header-cta {
    background-color: #F1C231 !important;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    min-width: 140px;
    box-shadow: inset 0 0 0 2.5px #FFF7CD;
}
.header-cta-text {
    color: #362E24;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}
.header-cta-text:first-child {
    margin-bottom: 2px;
}
.header-cta-text:last-child {
    font-weight: 700;
    font-size: 13px;
}
@media (min-width: 768px) {
    .header-logo-text {
        font-size: 32px;
    }
    .header-cta {
        min-width: 160px;
        padding: 14px 24px;
    }
    .header-cta-text {
        font-size: 13px;
    }
    .header-cta-text:last-child {
        font-size: 14px;
    }
}

