@charset "UTF-8";

/* --- Base --- */
body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
    overflow: hidden;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* --- Header --- */
.header {
    background-color: #fff;
}

.header-text {
    background-color: #fff5f8;
    color: #ff6b9d;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 8px 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo img {
    width: 80%;
}

#top h1.logo {
    margin: 0;
}

.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    background-color: #f77819;
}

/* --- CTA --- */
.cta-area {
    padding: 10px 10%;
    background-color: #fff;
}

.cta-area a {
    display: block;
    transition: transform 0.3s;
}

.cta-area a:hover {
    transform: scale(1.05);
}

/* --- Review Section --- */
.review-section {
    position: relative;
    width: 100%;
}

.review-bg {
    width: 100%;
    display: block;
}

/* スライダーの外枠：上端から660pxに固定 */
.review-slider-outer {
    position: absolute;
    top: 660px;
    /* セクション上端からの距離 */
    left: 0;
    width: 100%;
    z-index: 10;
}

.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    /* カード間の隙間はSplideのJS設定で制御するため、ここではpaddingを0に */
    padding: 0;
}

.splide__slide img {
    width: 100%;
    /* デザインに合わせてカードの最大幅を調整してください（例: 600px） */
    max-width: 630px;
    height: auto;
    border-radius: 15px;
}

/* 矢印の位置調整（カードの左右に配置したい場合） */
.splide__arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
    /* 下の要素をクリック可能にする */
    z-index: 100;
}

.splide__arrow {
    pointer-events: auto;
    /* 矢印だけクリック可能に戻す */
    background: rgba(255, 107, 157, 0.8) !important;
    z-index: 101;
}

.splide__arrow--next {
    right: 4em !important;
}



.sec-system {
    margin-top: -44px;
}

.review-section {
    margin-top: -32px;
}

.sec-step {
    margin-top: -46px;
    z-index: 2;
    position: relative;
}



/* --- Hamburger Animation --- */
.hamburger {
    cursor: pointer;
    z-index: 1000;
    /* メニューより上に配置 */
    position: relative;
}

.hamburger span {
    transition: all 0.4s;
}

/* アクティブ時（×印に変形） */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Navigation Menu --- */
.navigation {
    position: fixed;
    top: 0;
    right: -100%;
    /* 最初は画面の外に隠す */
    width: 80%;
    /* 画面幅の80%を占めるメニュー */
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    padding-top: 80px;
    transition: all 0.5s;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

/* アクティブ時（画面内に出てくる） */
.navigation.active {
    right: 0;
}

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

.navigation ul li {
    border-bottom: 1px solid #eee;
}

.navigation ul li a {
    display: block;
    padding: 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

/* メニュー内のボタン強調 */
.nav-btn {
    background-color: #ff6b9d;
    color: #fff !important;
    text-align: center;
    margin: 20px;
    border-radius: 50px;
}



/* --- Footer Links --- */
.footer-links {
    background-color: #fff;
    border-top: 1px solid #ffe6ee;
    padding-bottom: 160px;
    max-width: 750px;
    margin: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2列構成 */
    width: 100%;
}

.footer-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid #ffe6ee;
    /* 横線 */
    transition: background-color 0.3s;
}

/* 奇数番目の要素（左側の列）に右線をつける */
.footer-grid a:nth-child(odd) {
    border-right: 1px solid #ffe6ee;
}

.footer-grid a:hover {
    background-color: #fffafc;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 30px;
}


/* --- Floating CTA --- */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); /* 画面中央に配置 */
    width: 90%;
    max-width: 600px;
    z-index: 500; /* ヘッダーメニュー(999)よりは下に設定 */
    
    /* 初期状態：隠す */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s ease;
}

/* 表示状態：スクロールで付与 */
.floating-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    bottom: 30px; /* 少し上に浮き上がるアニメーション */
}

.floating-cta a {
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

/* 常に少し動かして目立たせる（任意） */
@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.03); }
    100% { transform: translateX(-50%) scale(1); }
}

.floating-cta.is-visible a {
    animation: pulse 2s infinite ease-in-out;
}


@media (max-width: 756px) {
    .hamburger {
        width: 66px;
    }

    .review-slider-outer {
        top: 620px;
    }
}

@media (max-width: 650px) {
    .review-slider-outer {
        top: 520px;
    }
}

@media (max-width: 550px) {
    .review-slider-outer {
        top: 420px;
    }
}

@media (max-width: 450px) {
    .review-slider-outer {
        top: 320px;
    }
}