@charset "UTF-8";

/* ベース設定 */
html {
    height: -webkit-fill-available;
    touch-action: manipulation;
}

main {
    overflow: hidden;
}

body {
    min-width: 320px;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 2.8px;
    scroll-behavior: smooth;
}

/* レイアウト */
.wrap {
    max-width: 750px;
    margin: 0 auto;
}

/* 画像基本設定 */
img {
    display: block;
    width: 100%;
    height: auto;
}

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

/* LP画像スタック */
.lp-img-stack {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* CTAボタン設定 */
.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.cta-btn {
    position: absolute;
    bottom: 14%;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    animation: pulse 1.5s infinite;
    z-index: 10;
    pointer-events: auto;
}

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

@media (min-width: 768px) {}

/* パルスアニメーション */
@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }

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

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

/* アコーディオン設定 */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.45, 0, 0.55, 1);
}

.accordion-content.active {
    max-height: none;
    transition: max-height 0.7s cubic-bezier(0.45, 0, 0.55, 1);
    animation: accordionFadeIn 0.8s;
}

@keyframes accordionFadeIn {
    0% {
        opacity: 0;
        transform: scaleY(0.95);
    }

    80% {
        opacity: 1;
        transform: scaleY(1.01);
    }

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

/* アコーディオントリガー */
.accordion-trigger {
    cursor: pointer;
    position: relative;
}

.accordion-trigger:hover {
    opacity: 0.9;
}

/* クリック表示インジケーター */
.click-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.click-indicator::after {
    content: "▼";
}

/* お問い合わせセクション */
.contact-section {
    background-color: #fff;
    padding: 40px 20px;
    margin-top: 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

/* フォーム表 */
.form-table {
    width: 100%;
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

/* ラベル */
.inquiry-label {
    color: #1F1F1F;
    font-size: 16px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.inquiry-label::after {
    padding-left: 8px;
    content: '*必須';
    color: #FF6B00;
    font-size: 11px;
}

.inquiry-label.optional-label::after {
    content: '任意';
    color: #999;
}

/* ラジオボタングループ */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #1F1F1F;
}

.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #FF6B00;
}

.radio-item span {
    font-weight: 400;
}

/* 入力フィールド */
.form-table input[type="text"],
.form-table input[type="tel"],
.form-table input[type="email"] {
    background-color: #F2F2F2;
    border: none;
    padding: 11px 13px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.form-table input:focus {
    outline: none;
    border: 2px solid #FF6B00;
}

.form-table textarea {
    background-color: #F2F2F2;
    border: none;
    padding: 11px 13px;
    width: 100%;
    resize: none;
    box-sizing: border-box;
    min-height: 120px;
    font-size: 16px;
    font-family: inherit;
}

.form-table textarea:focus {
    outline: none;
    border: 2px solid #FF6B00;
}

/* 入力補足テキスト */
.input-note {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}

/* プライバシーポリシー */
.privacy-section {
    margin: 24px 0;
}

.privacy-section p {
    font-size: 16px;
    color: #1F1F1F;
    padding: 24px 0;
    line-height: 1.6;
}

.privacy {
    color: #1F1F1F;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 24px;
    border: 1px solid #CCCCCC;
    height: 250px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.privacy h3 {
    font-size: 20px;
    font-weight: lighter;
    margin-bottom: 10px;
}

.privacy p {
    font-weight: lighter;
    font-size: 16px;
    padding: 20px 0;
    line-height: 1.5;
}

.privacy dt {
    font-size: 14px;
    font-weight: bold;
    padding: 12px 0;
    line-height: 1.4;
}

.privacy dd {
    font-size: 14px;
    font-weight: lighter;
    margin-left: 20px;
    line-height: 1.4;
}

/* 同意チェックボックス */
.agreement-section {
    color: #1F1F1F;
    font-size: 14px;
    font-weight: lighter;
    margin: 24px 0;
}

.agreement-section label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.agreement-section input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 12px;
    cursor: pointer;
}

.agreement-section span {
    line-height: 1.4;
}

/* 送信ボタン */
.confirm-button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.confirm-button-box {
    width: 209px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FF6B00;
    font-size: 18px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.confirm-button-box:hover:not(:disabled) {
    background-color: #e55a00;
}

.confirm-button-box:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* フォームメッセージ */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-loading {
    display: none;
}

/* 成功オーバーレイ */
.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.success-message {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: successFadeIn 0.5s ease-out;
}

@keyframes successFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

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

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: successBounce 0.6s ease-out 0.2s both;
}

@keyframes successBounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

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

.success-message h2 {
    color: #155724;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.success-message p {
    color: #155724;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.close-btn {
    background: #FF6B00;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background: #e55a00;
}

/* スクロールバー */
.lp-section {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

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

.scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background: #f5f5f5;
}

.scroll-image {
    height: auto;
    display: block;
    min-width: 500px;
    width: 100%;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* スクロールバーカスタム */
.scroll-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 10;
    pointer-events: none;
    animation: fadeOut 3s forwards;
}

@keyframes fadeOut {

    0%,
    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wrap {
        padding: 0;
    }

    .btn-image {}

    .contact-section {
        padding: 20px 15px;
    }

    .form-container {
        padding: 0 10px;
    }

    .inquiry-label {
        font-size: 14px;
    }

    .form-table input[type="text"],
    .form-table input[type="tel"],
    .form-table input[type="email"],
    .form-table textarea {
        font-size: 16px;
    }

    .radio-group {
        gap: 15px;
    }

    .radio-item {
        font-size: 14px;
    }

    .radio-item input[type="radio"] {
        width: 18px;
        height: 18px;
    }

    .input-note {
        font-size: 11px;
    }

    .confirm-button-box {
        width: 180px;
        font-size: 16px;
        height: 45px;
    }

    .privacy-section p {
        font-size: 14px;
    }

    .privacy {
        padding: 16px;
        height: 200px;
    }

    .privacy h3 {
        font-size: 18px;
    }

    .privacy p {
        font-size: 14px;
        padding: 15px 0;
    }

    .privacy dt {
        font-size: 13px;
    }

    .privacy dd {
        font-size: 13px;
    }

    .agreement-section {
        font-size: 13px;
    }

    .lp-section {
        max-width: 100vw;
    }

    .lp-image {
        width: 100%;
    }

    .scroll-container {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
}

@media (max-width: 480px) {
    .btn-image {}

    .radio-group {
        gap: 12px;
    }

    .radio-item {
        font-size: 13px;
    }

    .radio-item input[type="radio"] {
        width: 16px;
        height: 16px;
    }

    .confirm-button-box {
        width: 160px;
        font-size: 14px;
    }

    .click-indicator {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .success-message {
        padding: 30px 20px;
        margin: 10px;
    }

    .success-icon {
        font-size: 3rem;
    }

    .success-message h2 {
        font-size: 1.5rem;
    }

    .success-message p {
        font-size: 1rem;
    }
}