/* ------------------------------ */
/* 基本設定 */
/* ------------------------------ */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #EAF5FF;
    width: 100%;
    max-width: 480px;
    height: 100%;
    margin: 0 auto;
}



/* ------------------------------ */
/* メインコンテンツ */
/* ------------------------------ */
.main-content {
    width: 100%;
    padding-top: 70px;
    /* ヘッダーの高さ分 */
}

.image-section {
    width: 100%;
    margin-bottom: 0;
}

.image-section .image-wrapper {
    display: block;
    width: 100%;
}

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

/* SPのみの画像の場合（PC表示時は480px幅中央寄せ） */
.image-wrapper--sp-only {
    max-width: 480px;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .image-wrapper--sp-only {
        max-width: 100%;
    }
}

/* ------------------------------ */
/* 固定ロゴ・QRコード（PC表示時のみ） */
/* ------------------------------ */
.fixed-logo,
.fixed-qr {
    display: none;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

@media screen and (min-width: 768px) {
    .fixed-logo {
        display: block;
        left: calc((100vw - 480px) / 4);
        max-width: calc((100vw - 480px) / 2 * 0.4);
        transform: translate(-50%, -50%);
    }

    .fixed-qr {
        display: block;
        left: calc(50% + 240px + (100vw - 480px) / 4);
        max-width: calc((100vw - 480px) / 2 * 0.4);
        transform: translate(-50%, -50%);
    }
}

.fixed-logo__img,
.fixed-qr__img {
    display: block;
    width: 100%;
    height: auto;
}

/* ------------------------------ */
/* CTAボタン（セクション内） */
/* ------------------------------ */
.image-section--cta {
    position: relative;
}

.cta-btn {
    position: absolute;
    display: block;
    z-index: 50;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 450px;
    animation: float 1.7s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.cta-btn:hover {
    opacity: 0.7;
}

.cta-btn__img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.03);
    }
}

/* ------------------------------ */
/* 追従型CTAボタン（SP/PC両対応、100vhスクロール後に表示） */
/* ------------------------------ */
.floating-cta {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 480px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-cta.is-visible {
    opacity: 1;
    visibility: visible;
}

.floating-cta:hover {
    opacity: 0.9;
}

.floating-cta__img {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
    animation: floating-cta-float 1.7s ease-in-out infinite;
}

@keyframes floating-cta-float {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* ------------------------------ */
/* ヘッダー */
/* ------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 70px;
    max-width: 480px;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header__inner {
    max-width: 480px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header__logo-img {
    width: 120px;
    height: auto;
    display: block;
}

/* ------------------------------ */
/* ハンバーガーボタン */
/* ------------------------------ */
.hamburger-btn {
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-btn__line {
    display: block;
    width: 30px;
    height: 2px;
    background: #001955;
    /* 視認性の高い濃い青色 */
    position: absolute;
    left: 5px;
    transition: all 0.3s ease;
}

.hamburger-btn__line:nth-child(1) {
    top: 12px;
}

.hamburger-btn__line:nth-child(2) {
    top: 20px;
}

.hamburger-btn__line:nth-child(3) {
    top: 28px;
}

/* ------------------------------ */
/* ハンバーガーメニュー */
/* ------------------------------ */
.hamburger-menu {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%);
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.hamburger-menu.is-active {
    visibility: visible;
    opacity: 1;
}

.hamburger-menu__inner {
    width: 100%;
    /* 横幅100% */
    height: 100%;
    margin: 0;
    background: #fff url('../img/sp/menu-bg.webp') no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

.hamburger-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.hamburger-menu__logo-img {
    width: 120px;
    height: auto;
}

.hamburger-menu__close {
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-menu__close-line {
    display: block;
    width: 30px;
    height: 2px;
    background: #001955;
    position: absolute;
    left: 5px;
}

.hamburger-menu__close-line:nth-child(1) {
    transform: rotate(45deg);
    top: 20px;
}

.hamburger-menu__close-line:nth-child(2) {
    transform: rotate(-45deg);
    top: 20px;
}

.hamburger-menu__content {
    padding: 30px 0 60px;
}

.hamburger-menu__list {
    list-style: none;
    padding: 0;
}

.hamburger-menu__item {
    border-bottom: 1px solid rgba(0, 25, 85, 0.2);
    margin: 0 30px;
}

.hamburger-menu__item:first-child {
    border-top: none;
}

.hamburger-menu__link {
    display: flex;
    align-items: center;
    padding: 18px 0;
    text-decoration: none;
    text-align: left;

    /* 指定されたスタイル */
    font-family: 'Noto Serif JP', serif;
    font-style: normal;
    font-weight: 900;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.15em;

    /* グラデーションテキスト設定 */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(317.44deg, #001955 2.06%, #2A8CCF 98.14%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hamburger-menu__cta-wrapper {
    padding: 40px 20px;
    text-align: center;
}

.hamburger-menu__cta-btn {
    display: block;
    max-width: 380px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.hamburger-menu__cta-btn:hover {
    opacity: 0.7;
}

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

/* ------------------------------ */
/* フッター */
/* ------------------------------ */
.footer {
    padding-bottom: 150px;
    width: 100%;
}

.footer__inner {
    max-width: 480px;
    margin: 0 auto;
}

.footer__list {
    background-color: #001367;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.footer__link {
    color: #fff;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.footer__link:hover {
    opacity: 0.7;
}

@media screen and (max-width: 480px) {
    .footer__list {
        gap: 15px;
    }
}