/* デザイン仕様 - ウォーム＆アクセントグリーン（ピンク、オレンジ、グリーン） */
:root {
    --main-start: #ffaCAC; /* カーネーションピンク（グラデーション開始色） */
    --main-end: #ffa857;   /* ウォームオレンジ（グラデーション終了色） */
    --accent-cta: #64FFDA; /* ネオングリーン（CTA） */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --soft-bg: #FBFBF5; /* ソフトベージュ */
    --card-bg: #FFFFFF;
}

/* 基本リセットとフォント設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.image-separator-section {
    text-align: center;
}

.image-separator-box {
    overflow: hidden;
    border-radius: 10px;
    padding-top: 48px;
}

.separator-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Hiragino Sans', sans-serif; 
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--soft-bg);
}

section {
    padding: 64px 16px;
}
section > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3 {
    margin-bottom: 24px;
    font-weight: 700;
}

strong {
    font-weight: 700;
}

h2 {
    font-size: 32px;
    color: var(--text-dark);
}

.sp-br {
    display: none;
}

/* ------------------- CTAボタン共通スタイル ------------------- */
.cta-button {
    display: inline-block;
    padding: 18px 40px; 
    margin-top: 25px;
    font-size: 18px; 
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border-radius: 40px;
    width: 100%;
    height: 64px;
    
    /* ボタンの光沢（枠）を維持 */
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.7); 
}

.primary-cta {
    background-color: var(--accent-cta); /* ネオングリーン */
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.primary-cta:hover {
    transform: translateY(-2px) scale(1.02);
    background-color: #00E676; 
}

/* ------------------- 画面下部に固定するフロートCTAのスタイル ------------------- */
.fixed-cta {
    display: inline-block;
    position: fixed; 
    bottom: 15px; 
    left: 0; 
    right: 0; 
    margin: 0 auto; 
    z-index: 1000; 
    
    width: 90%; 
    max-width: 400px; 
    
    padding: 15px 20px; 
    background-color: var(--accent-cta); 
    color: var(--text-dark) !important; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.fixed-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ------------------- ヘッダー (FV) ------------------- */
.hero-section {
    background: var(--soft-bg);
    padding: 0; 
    text-align: center;
    text-align: center;
    position: relative; /* 必要なし */
    overflow: visible;
    line-height: 0; /* img下の余白を削除 */
}

.header-content {
    max-width: 900px; /* FVコンテンツの最大幅を制限 */
    margin: 0 auto; /* 中央寄せ */
}

.hero-image-container {
    margin: 30px auto; /* 上下に余白 */
    width: 100%;
    max-width: 600px; /* 画像の最大幅を制限し、小さく表示 */
    overflow: hidden;
}

.main-visual-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0%; /* 画像を丸くしたい場合はこれを使用 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.tagline {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-light); /* 白文字 */
    margin-bottom: 5px;
}

.main-catch {
    font-size: min(33px, 6.85vw);
    font-weight: 900;
    line-height: 1;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20 var(--main-start);
    display: block; 
    margin-bottom: 30px;
}

.product-name {
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px var(--main-start);
    display: block; 
}

.hero-cta-container {
    text-align: center;
    padding: 24px 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.sub-catch {
    font-size: 18px;
    margin-top: 5px;
    color: var(--text-light);
}
/* ------------------- 導入・共感セクション ------------------- */
.intro-section {
    color: var(--text-dark);
    text-align: center;
}
.problem, .solution {
    font-size: 18px;
    color: var(--main-start);
}

.recommend-section {
    background-color: var(--soft-bg);
}

.recommend-grid {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 30px auto 0;
}

.recommend-item {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.recommend-item i {
    font-size: 36px;
    color: var(--main-end);
    margin-bottom: 15px;
    border: none; 
}
.note {
    font-size: 14px;
}

/* ------------------- POINTと開発背景 ------------------- */
.point-section {
}

.point-list {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 30px auto 40px;
}
.point-item {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.point-item i {
    color: var(--main-start);
    margin-right: 15px;
}

.developer-story {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px; 
    border-radius: 10px;
    background-color: var(--card-bg);
    border: 2px solid var(--main-end);
}
.highlight-text {
    color: var(--main-end); 
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
}

.video-section {
    background-color: var(--main-start);
    color: var(--text-light); /* テキストの色は白 */
    padding: 60px 16px;
}
.video-section h2 {
    color: var(--text-light); /* 見出しの色も白（テキストカラーと統一） */
}
.video-placeholder {
    max-width: 900px; 
    margin: 30px auto;
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ------------------- 実績・料金 ------------------- */
.reason-section, .price-section, .participation-section, .proof-section {
    background-color: var(--soft-bg);
}

.reason-list, .proof-list, .voice-list {
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.reason-item, .proof-item {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 8px;
    border-left: 5px solid var(--main-start);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
.reason-item:hover {
    transform: translateY(-5px);
}
.reason-item i {
    font-size: 30px;
    color: var(--main-end);
    margin-bottom: 10px;
}

.participation-box ul{
    list-style-type: none;
    padding-left: 0;
}

.price-box ul li {
    margin-bottom: 10px;
}
.focus-mode {
    background-color: #FFECB3; 
    padding: 24px;
    border-radius: 8px;
    margin-top: 24px;
    color: var(--text-dark);
}

.price-box ul {
    list-style-type: none; 
    padding-left: 0; 
    text-align: left;
}

.price-box ul li {
    margin-bottom: 10px;
}

/* ------------------- お客様の声・FAQ ------------------- */
.voice-section {
    background-color: var(--soft-bg);
    padding: 64px 16px;
}
.voice-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    border-top: 4px solid var(--main-start);
    padding: 24px;
    text-align: left;
    position: relative;
}
.voice-item i {
    color: var(--main-start);
}

.faq-section {
    background-color: var(--card-bg);
    padding: 64px 16px;
}
.faq-item {
    border: 1px solid var(--main-end);
    border-radius: 8px;
    text-align: left;
    overflow: hidden;
    margin-bottom: 16px;
}
.faq-item summary {
    padding: 24px;
    font-weight: bold;
    background-color: #FFF3E0; 
    color: var(--text-dark);
    cursor: pointer;
    font-size: 17px;
}
.faq-item p {
    padding: 24px;
    background-color: var(--card-bg);
}

/* ------------------- 最終CTA ------------------- */
.final-cta-section {
    display: none;
    height: 0;
    padding: 0;
    margin: 0;
}

/* ------------------- フッター ------------------- */
footer {
    background-color: #f0f0f0; /* 薄いグレー背景に変更 */
    color: var(--text-dark);  /* テキストを黒に変更 */
    padding: 32px 16px 96px; 
    border-top: 5px solid var(--main-start); 
    padding-bottom: 120px; /* fixed-ctaとの重なりを避ける */
}
.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 16px; /* アイテム間の余白 */
    justify-content: space-between; 
    text-align: left; /* 親要素のテキスト配置も左寄せに */
}
.footer-text-block {
    flex: 1 1 45%; 
    max-width: 100%; 
    margin-bottom: 20px;
    padding: 0;
    text-align: left; /* テキストを左寄せに */
}
.footer-logo-link {
    display: block;
    margin-bottom: 15px;
    transition: opacity 0.3s;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    width: 100%;
    max-width: 240px;
    height: 82px;
    background-color: #FFFFFF; /* 背景色を白に */
    padding: 16px; /* 内側に余白を追加 */
    border-radius: 8px;
}

footer p {
    font-size: 14px; /* 少し小さくして読みやすく */
}

.copyright {
    display: block;
    text-align: center;
    margin-top: 20px;
}

.copyright-link {
    text-decoration: none; /* 下線を削除 */
    color: inherit; /* 親要素の文字色を継承 */
}

/* ------------------- ハンバーガーメニュー ------------------- */
.hamburger-button {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1002;
    width: 88px;
    height: 76px;
    background-color: var(--card-bg);
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 0 0 0 16px;
}

.hamburger-button span {
    display: block;
    position: absolute;
    left: 24px;
    width: 40px;
    height: 4px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-button span:nth-child(1) {
    top: 24px;
}

.hamburger-button span:nth-child(2) {
    top: 36px;
}

.hamburger-button span:nth-child(3) {
    top: 48px;
}

/* メニューオープン時のボタン（×印） */
.hamburger-button.is-active span:nth-child(1) {
    top: 32px;
    transform: rotate(45deg);
}

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

.hamburger-button.is-active span:nth-child(3) {
    top: 32px;
    transform: rotate(-45deg);
}

/* ------------------- レスポンシブデザイン ------------------- */
@media (max-width: 767px) {
    h2 {
        font-size: 28px;
    }
    .sp-br {
        display: block;
    }
    .footer-text-block {
        flex: 1 1 100%; 
        max-width: 100%;
    }

    /* SP版ハンバーガーボタンを小さくする */
    .hamburger-button {
        width: 60px;
        height: 52px;
        border-radius: 0 0 0 12px;
    }
    .hamburger-button span {
        left: 16px;
        width: 28px;
        height: 3px;
    }
    .hamburger-button span:nth-child(1) {
        top: 17px;
    }
    .hamburger-button span:nth-child(2) {
        top: 25px;
    }
    .hamburger-button span:nth-child(3) {
        top: 33px;
    }
    .hamburger-button.is-active span:nth-child(1) {
        top: 25px;
        transform: rotate(45deg);
    }
    .hamburger-button.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-button.is-active span:nth-child(3) {
        top: 25px;
        transform: rotate(-45deg);
    }
    .hero-cta-container {
        padding: 0 16px;
    }
}
@media (min-width: 768px) {
    .recommend-grid, .point-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .reason-list, .proof-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .voice-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.slide-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 90vw);
    height: 100%;
    background-color: var(--card-bg);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    padding: 80px 20px;
}

.slide-menu.is-active {
    transform: translateX(0);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

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

.slide-menu li {
    border-bottom: 1px solid #eee;
}

.slide-menu a.menu-link {
    display: block;
    padding: 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.slide-menu a.menu-link .fas {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: var(--text-dark);
}
