* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

body::before {
    content: "";
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-image: url("img/kitsune-LP.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

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

@media screen and (max-width: 600px) {
    .container {
        padding: 0;
    }
}

.header {
    max-width: 600px;
    background-color: #003180;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    position: sticky;
    top: 0;
}

.header-inner {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
}

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

@media screen and (max-width: 600px) {
    .header .container {
        padding: 0 15px;
    }
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
}

.nav-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* フルスクリーンナビゲーションオーバーレイ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #003180;
    z-index: 1000;
    flex-direction: column;
}

.nav-overlay.open {
    display: flex;
}

.nav-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 50px;
    background-color: #003180;
    border-bottom: 2px solid #003180;
}

.nav-overlay-header .logo {
    color: #fff;
}

.nav-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    padding: 0 10px;
}

.nav-menu {
    flex: 1;
    background-color: #fff;
    margin: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 30px 0;
    text-align: center;
}

.nav-menu li {
    margin-bottom: 0;
}

.nav-menu a {
    display: block;
    padding: 18px 40px;
    color: #003180;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.nav-menu a:hover {
    opacity: 0.7;
}

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




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

.footer {
    /* position: fixed;
    bottom: 0;
    left: 0; */
    width: 100%;
    background-color: #003180;
    color: #fff;
    padding: 15px 0;
    z-index: 100;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

@media screen and (max-width: 600px) {
    .footer .container {
        padding: 0;
    }
}

.footer-nav {
    display: flex;
    list-style: none;
}

.footer-nav li {
    margin-right: 15px;
}

.footer-nav li:last-child {
    margin-right: 0;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
}

.copyright {
    font-size: 0.8rem;
}

/* インラインCTAボタンのスタイル */
.inline-cta {
    background: linear-gradient(135deg, #f97316, #facc15);
    padding: 25px 15px 20px;
    text-align: center;
}

.inline-cta .cta-btn-link {
    display: block;
    max-width: 500px;
    margin: 0 auto;
    text-decoration: none;
}

.inline-cta .cta-main-text {
    display: block;
    background-color: #fff;
    color: #f97316;
    font-size: 22px;
    font-weight: bold;
    padding: 18px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.05em;
}

.inline-cta .cta-main-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.inline-cta .cta-sub-text {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-top: 10px;
    font-weight: bold;
}

@media screen and (max-width: 480px) {
    .inline-cta .cta-main-text {
        font-size: 18px;
        padding: 15px 20px;
    }
}





/* セクション4: 3つの強み */
.advantage-section {
    background-color: #fff;
    display: flex;
    gap: 20px;
    max-width: 600px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    box-shadow: 0 3px 10px 0 rgba(#000, 0.1);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

/* セクション5: 取り扱い商品 */
.items-section {
    display: flex;
    gap: 20px;
    max-width: 600px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    box-shadow: 0 3px 10px 0 rgba(#000, 0.1);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

/* セクション6: デザイン作例集 */
.design-section {
    display: flex;
    gap: 10px;
    max-width: 600px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    box-shadow: 0 3px 10px 0 rgba(#000, 0.1);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

/* セクション7: 制作実績 */
.works-section {
    display: flex;
    gap: 20px;
    max-width: 600px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    box-shadow: 0 3px 10px 0 rgba(#000, 0.1);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

.section__item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 415px;
    scroll-snap-align: center;
    font-size: 1.5rem;
}

.items-section .section__item {
    flex: 0 0 230px;
}

/* 横スクロールセクション共通のラッパー */
.scroll-wrapper {
    position: relative;
    overflow: hidden;
}

/* 右端フェードグラデーション */
.scroll-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    z-index: 2;
}

/* 青背景セクション用のグラデーション */
.scroll-wrapper.dark::after {
    background: linear-gradient(to right, transparent, rgba(0, 49, 128, 0.9));
}

/* スワイプヒントアニメーション */
@keyframes swipeHint {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-20px);
    }

    50% {
        transform: translateX(0);
    }

    75% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}

.scroll-hint {
    animation: swipeHint 1.5s ease-in-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

/* スクロールインジケーター矢印 */
.scroll-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #003180;
    font-size: 24px;
    animation: bounceRight 1.5s ease-in-out infinite;
    opacity: 0.7;
}

.scroll-wrapper.dark .scroll-indicator {
    color: #fff;
}

@keyframes bounceRight {

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

    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

/* FAQセクション - 開閉式アコーディオン */
.faq-section {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #003180;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
}

.faq-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #fff;
    color: #003180;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    margin-right: 15px;
    flex-shrink: 0;
}



.faq-q-text {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(-90deg);
    color: #003180;
}

/* 開いた時のスタイル */
.faq-item.open {
    background-color: #fff;
    border: 2px solid #003180;
}

.faq-item.open .faq-q-text {
    color: #003180;
}

.faq-item.open .faq-icon {
    background-color: #003180;
    color: #fff;
}

.faq-answer {
    display: none;
    padding: 0 20px 15px 20px;
}

.faq-answer-inner {
    display: flex;
    align-items: flex-start;
}



.faq-a-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    padding-top: 5px;
}

.faq-item.open .faq-a-text {
    color: #003180;
}



@media screen and (max-width: 750px) {
    .section__item {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 0 0 300px;
        scroll-snap-align: center;
        font-size: 1.5rem;
    }

    .footer {
        padding-bottom: 160px;
    }
}

.shop-title {
    font-size: 22px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.shop-map {
    width: 95%;
    margin: auto;
    padding-bottom: 15px;
}

.shop-info {
    width: 95%;
    margin: auto;
    padding-bottom: 15px;
    font-size: 18px;
}

/* =============================================
   見積りフォーム セクション
   ============================================= */
.estimate-section {
    background-color: #003180;
    padding: 40px 0 50px;
}

.estimate-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.estimate-title {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 5px;
}



.estimate-note {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

/* フォーム */
.estimate-form {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
}

.required-badge {
    display: inline-block;
    background-color: #f97316;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.optional-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #aaa;
}

/* エラー状態 */
.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.form-group.error .form-label {
    color: #fca5a5;
}

/* 送信ボタン */
.form-submit {
    margin-top: 30px;
    text-align: center;
}

.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 16px 40px;
    background-color: #f97316;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    letter-spacing: 0.1em;
}

.submit-btn:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn-line {
    display: inline-block;
    width: 80%;
    padding: 10px 30px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4); */
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

/* =============================================
   送信完了モーダル
   ============================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    width: 64px;
    height: 64px;
    background-color: #003180;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
    color: #003180;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-close-btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: #003180;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close-btn:hover {
    background-color: #002060;
}