/*
Theme Name: LP2
Theme URI: https://shunansc.jp
Description: ランディングページ専用テーマ。水泳事業、民間学童事業、フィットネス事業のLPを作成し、ABテストを行うためのテーマです。
Version: 1.0
Author: Shunan Sports Club
Author URI: https://shunansc.jp
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lp2
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* LP用の基本スタイル */
.lp-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* ヘッダーはシンプルに */
.lp-header {
    padding: 0;
    background: transparent;
}

/* フッターもシンプルに */
.lp-footer {
    padding: 20px 0;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    background: #f8f8f8;
}

/* コンテンツエリア */
.lp-content {
    width: 100%;
}

/* レスポンシブ画像 */
img {
    max-width: 100%;
    height: auto;
}

/* ボタン基本スタイル */
.lp-button {
    display: inline-block;
    padding: 15px 40px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.lp-button:hover {
    background: #0056b3;
}

/* セクション共通 */
.lp-section {
    padding: 60px 20px;
}

@media (max-width: 768px) {
    .lp-section {
        padding: 40px 15px;
    }
}


  body {
        margin: 0;
        font-family: sans-serif;
        line-height: 1.6;
        color: #333;
        background: #7BD6F5;
    }

    header,
    section {
        padding: 40px 20px;
    }

    .wrapper {
        max-width: 600px;
        background: white;
        margin: 20px auto;
        border-radius: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    }

    .container {
        margin: 0 auto;
    }

    #hero {
        position: relative;
        overflow: hidden;
        height: 60vh;
    }

    #hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    #hero video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

    #hero .hero-content {
        position: relative;
        z-index: 2;
        color: #fff;
        text-align: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }

    .cta-btn {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background: #ffd700;
        color: #000;
        text-decoration: none;
        border-radius: 4px;
        font-weight: bold;
    }

    @media (min-width: 768px) {
        .hero-content h1 {
            font-size: 3rem;
        }

        .hero-content h2 {
            font-size: 1.5rem;
        }
    }

    .section-title {
        font-size: 1.6rem;
        font-weight: bold;
        margin-bottom: 1rem;
        padding: 0;
        margin-block-start: 5px;
        line-height: 1.4;
    }

    .flex {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .flex>* {
        flex: 1 1 300px;
    }

    .image-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 20px;
    }

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

    .fee-table {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 20px 0;
        background: #e6f2ff;
        padding: 20px;
        border-radius: 10px;
    }

    .fee-table strong {
        font-size: 22px;
    }

    .fee-table .fee-item {
        flex: 1 1 120px;
        text-align: center;
        margin: 10px;
    }

    .fee-item h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .contact-box {
        background: #f0f8ff;
        padding: 20px;
        text-align: center;
        border-radius: 10px;
        margin: 40px 0;
    }

    .contact-box .phone {
        font-size: 2rem;
        font-weight: bold;
        color: #0055a4;
    }

    .comment-box {
        background: #E4F2FF;
        padding: 45px 45px 55px 45px;
        border-radius: 10px;
        position: relative;
        z-index: 1;
    }

    .image01 {
        position: absolute;
        width: 271px;
        left: -32px;
        bottom: -138px;
        z-index: 2;
    }

    .image02 {
        position: absolute;
        width: 107px;
        right: -32px;
        bottom: -138px;
        z-index: 2;
    }

    .image03 {
        margin-top: 120px;
        z-index: 2;
    }

    .image06 {
        width: 307px !important;
        position: absolute;
          left: -32px;
        bottom: -138px;
        z-index: 2;
    }

    .image08 {
                position: absolute;
        width: 207px !important;
    }

    .image-gallery {
        position: relative;
        z-index: 10;
    }

    /* programギャラリーのスタイル調整 */
    .program-gallery .image-wrapper {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    @media (max-width: 767px) {
        .program-gallery .image-wrapper {
            flex: 1 1 100%;
            max-width: 100%;
        }
    }

    .about {
        background: #2876C3;
        border-radius: 50px;
        color: white;
        text-align: center;
    }

    h4.detail {
        background: #FFC20B;
        border-radius: 50px;
        text-align: center;
        font-weight: bold;
    }

    /* 吹き出しスタイル */
    .campaign-balloon {
        position: relative;
        background: #FF6B6B;
        color: #fff;
        font-weight: bold;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 0.9rem;
        margin-top: 15px;
        display: inline-block;
        box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
        animation: balloon-pop 0.5s ease-out;
    }

    .campaign-balloon::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #FF6B6B;
    }

    @keyframes balloon-pop {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    ul.more {
        list-style: none;
        padding: 0;
        margin: 15px 0;
        text-align: center;
    }

    ul.more li {
        position: relative;
        padding: 8px 0;
        font-size: 15px;
        color: #333;
    }

    ul.more li::before {
        content: '✓';
        color: #2876C3;
        font-weight: bold;
        margin-right: 8px;
        font-size: 16px;
    }

    .contact-box .phone span {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    h2 {
        padding: 0;
    }

    h4 {
        margin-block-start: 10px;
    }

    #prepare .container {
        border: 2px solid #2876C3;
        text-align: center;
        padding: 30px 20px;
        border-radius: 10px;
        background: #f9fcff;
    }

    #prepare .container h2 {
        margin-bottom: 20px;
    }

    #prepare .container ul {
        list-style: none;
        padding: 0;
        margin: 20px 0;
        text-align: center;
    }

    #prepare .container li {
        position: relative;
        padding: 10px 0;
        font-size: 16px;
        color: #333;
    }

    #prepare .container li::before {
        content: '●';
        color: #2876C3;
        margin-right: 10px;
        font-size: 12px;
    }

    #prepare .container p {
        margin-top: 20px;
        color: #666;
        font-size: 14px;
        line-height: 1.8;
    }

    /* Snow Monkey Forms カスタムスタイル */
    #contact .container {
        background: #fff;
        padding: 40px 30px;
        border-radius: 15px;
        margin: 20px 0;
    }

    .snow-monkey-form {
        max-width: 100%;
    }

    /* フォームアイテム */
    .smf-item {
        margin-bottom: 25px;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
    }

    .smf-item:last-child {
        border-bottom: none;
    }

    /* ラベル */
    .smf-item__label__text {
        font-size: 1rem;
        font-weight: bold;
        color: #2876C3;
        display: block;
        margin-bottom: 10px;
    }

    /* 入力フィールド */
    .smf-text-control__control,
    .smf-select-control__control {
        width: 100%;
        padding: 12px 15px;
        font-size: 16px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
        transition: border-color 0.3s ease;
        box-sizing: border-box;
    }

    .smf-text-control__control:focus,
    .smf-select-control__control:focus {
        outline: none;
        border-color: #2876C3;
        box-shadow: 0 0 0 3px rgba(40, 118, 195, 0.1);
    }

    /* プレースホルダー */
    .smf-text-control__control::placeholder {
        color: #999;
        font-size: 14px;
    }

    /* セレクトボックス */
    .smf-select-control {
        position: relative;
    }



    .smf-select-control__control {}

    /* IE対応: デフォルトの矢印を完全に非表示 */
    .smf-select-control__control::-ms-expand {
        display: none;
    }

    .smf-select-control__toggle {
        display: none;
    }

    /* チェックボックス */
    .smf-checkboxes-control__control {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .smf-checkbox-control {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }

    .smf-checkbox-control__control {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        cursor: pointer;
        accent-color: #2876C3;
    }

    .smf-checkbox-control__label {
        font-size: 16px;
        color: #333;
        cursor: pointer;
    }

    /* 送信ボタン */
    .smf-action {
        margin-top: 40px;
        text-align: center;
    }

    .smf-action .smf-button-control__control {
        background: #ffd700;
        background-color: #ffd700;
        color: #000;
        padding: 22px 50px;
        font-size: 18px;
        font-weight: bold;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 400px;
    }

    .smf-action .smf-button-control__control:hover {
        background: #1a5a9e;
        background-color: #1a5a9e;
        color: white;
        opacity: 0.8;
    }

    .smf-button-control__control:active {
        transform: translateY(0);
    }

    /* エラーメッセージ */
    .smf-error-message {
        color: #e74c3c;
        font-size: 14px;
        margin-top: 5px;
    }

    /* レスポンシブ対応 */
    @media (min-width: 768px) {
        .smf-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        .smf-item__col--label {
            flex: 0 0 200px;
            padding-top: 12px;
        }

        .smf-item__col--controls {
            flex: 1;
        }

        .smf-item__label__text {
            margin-bottom: 0;
        }
    }

    @media (max-width: 767px) {
        #contact .container {
            padding: 30px 20px;
        }

        .smf-button-control__control {
            padding: 14px 30px;
            font-size: 16px;
        }
    }

    /* PC用レイアウト */
    @media (min-width: 1024px) {

        /* ラッパーの幅を広げる */
        .wrapper {
            max-width: 1000px;
            margin: 30px auto;
        }

        /* セクションのパディング調整 */
        header,
        section {
            padding: 60px 40px;
        }

        /* ヒーローセクション */
        #hero {
            height: 70vh;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
        }

        .hero-content h2 {
            font-size: 1.8rem;
        }

        .cta-btn {
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
        }

        /* セクションタイトル */
        .section-title {
            font-size: 2rem;
        }

        /* コメントボックス */
        .comment-box {
            padding: 60px;
        }

        .comment-box p {
            font-size: 1.1rem;
            line-height: 1.9;
        }

        /* 画像ギャラリー */
        .image-gallery.flex {
            gap: 30px;
        }

        .flex>* {
            flex: 1 1 calc(50% - 15px);
        }

        /* 体験会についてセクション */
        .fee-table {
            padding: 40px;
            gap: 30px;
        }

        .fee-table strong {
            font-size: 26px;
            width: 100%;
            margin-bottom: 20px;
        }

        .fee-table>p {
            width: 100%;
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .fee-table .fee-item {
            flex: 1 1 200px;
            margin: 15px;
        }

        .fee-item h4 {
            font-size: 1.4rem;
        }

        .fee-item p {
            font-size: 1.1rem;
        }

        /* プログラムボックス */
        .fee-table .flex {
            width: 100%;
            justify-content: center;
            gap: 30px;
        }

        .fee-table .flex .fee-item {
            flex: 1 1 400px;
            max-width: 450px;
            padding: 30px !important;
        }

        ul.more li {
            font-size: 16px;
            padding: 10px 0;
        }

        /* 準備物セクション */
        #prepare .container {
            padding: 40px 50px;
        }

        #prepare .container li {
            font-size: 17px;
            padding: 12px 0;
        }

        #prepare .container p {
            font-size: 15px;
        }

        /* 連絡先ボックス */
        .contact-box {
            padding: 40px;
        }

        .contact-box p {
            font-size: 1.1rem;
        }

        .contact-box .phone {
            font-size: 2.5rem;
            margin: 20px 0;
        }

        /* フォームセクション */
        #contact .container {
            padding: 50px 60px;
        }

        .smf-item {
            margin-bottom: 30px;
            padding-bottom: 25px;
        }

        .smf-item__col--label {
            flex: 0 0 250px;
        }

        .smf-text-control__control,
        .smf-select-control__control {
            font-size: 17px;
            padding: 14px 18px;
        }

        .smf-action .smf-button-control__control {
            padding: 24px 60px;
            font-size: 20px;
            max-width: 500px;
        }

        /* 吹き出し */
        .campaign-balloon {
            font-size: 1rem;
            padding: 14px 20px;
        }

        /* 画像の調整 */
        .image01 {
            width: 320px;
            left: -40px;
            bottom: -200px;
        }

        .image02 {
            width: 102px;
            right: -40px;
            bottom: -105px;
        }

        .image-wrapper img.image11 {
            width: 450px;
            margin: 0 auto;
            text-align: center;
            bottom: -80px;
        }
    }

    /* 大画面用 */
    @media (min-width: 1400px) {
        .wrapper {
            max-width: 1200px;
        }

        .hero-content h1 {
            font-size: 4rem;
        }

        .comment-box {
            padding: 80px;
        }
    }

    #lp_source {
        display: none;
    }

    /* 確認画面だけLP情報のプレースホルダーを非表示にする */
.snow-monkey-form[data-screen="confirm"] .lp-source-field,
.snow-monkey-form[data-screen="confirm"] .smf-placeholder[data-name="lp_source"] {
    display: none;
}

.note {
    text-align: center;
    color: red;
}