@charset "UTF-8";

/* =========================================
   全要素リセット
   ========================================= */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* =========================================
   基本変数・設定
   ========================================= */
html {
    scroll-behavior: smooth; 
}

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #666666;
    --dark-bg: #000000;
    --dark-text: #ffffff;
    --font-main: "Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic","Meiryo",system-ui,-apple-system,"Segoe UI",sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover { opacity: 0.7; }

/* FV用CSSアニメーション */
@keyframes fvFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-text {
    animation: fvFadeIn 1.0s ease-out forwards;
}

.hero-visual {
    animation: fvFadeIn 1.0s ease-out forwards 0.3s; /* 少し遅れて表示させる */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.text-center { text-align: center; }

/* =========================================
   黒背景セクション設定
   ========================================= */
.section-dark {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}
.section-dark .jp-title { color: #888; }
.section-dark .read-more { border-bottom-color: #fff; }

/* =========================================
   アニメーション
   ========================================= */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
.js-fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   ヘッダー
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.pc-nav ul {
    display: flex;
    gap: 30px;
    font-size: 16px;
    font-weight: 500;
    align-items: center;
}

/* =========================================
   ドロップダウンメニュー (PC用)
   ========================================= */
.pc-nav .has-child {
    position: relative;
}
/* 親メニューに下矢印をつける */
.pc-nav .has-child > a::after {
    font-size: 9px;
    margin-left: 6px;
    color: #999;
    vertical-align: middle;
}
/* マウスが外れた瞬間にメニューが消えないように透明な橋をかける */
.pc-nav .has-child::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}
.pc-nav .sub-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0; /* 親のgapを打ち消す */
    border: 1px solid #eee;
}
.pc-nav .has-child:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 10px); /* ホバー時に少し上にスライドして出現 */
}
.pc-nav .sub-menu li {
    width: 100%;
}
.pc-nav .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s;
}
.pc-nav .sub-menu a:hover {
    background-color: #f5f5f7; /* サイト全体のグレー基調に合わせる */
    opacity: 1;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    transition: 0.3s;
}
.hamburger span:nth-of-type(1) { top: 0; }
.hamburger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-of-type(3) { bottom: 0; }

.sp-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 1050;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sp-nav ul { text-align: center; }
.sp-nav li { margin: 10px 0; font-size: 20px; font-weight: bold; }

/* =========================================
   メインビジュアル (Hero)
   ========================================= */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 40px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.hero-text { flex: 6.5; z-index: 1; }
.hero-visual { flex: 3.5; display: flex; justify-content: center; }

.hero-title {
    font-size: 100px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 30px;
    letter-spacing: 0.08em;
}

.hero-catch {
    font-size: 70px;
    font-weight: 800;
    line-height: 1.3;
}

.phone-mockup {
    position: relative;
    width: 350px;
}

.phone-mockup video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   セクション共通
   ========================================= */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }

.en-title {
    font-size: 80px;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

.jp-title {
    font-size: 20px;
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.2em;
}

/* About */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.faces {
    margin-top: 0;
    margin-bottom: 60px;
    text-align: center;
}

.about-lead {
    font-size: 26px;
    font-weight: 700;
    line-height: 2;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}



/* 修正箇所 */
.card-image {
    aspect-ratio: 9 / 6.3; /* 修正 */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }

.feature-num {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #ccc;
    line-height: 1;
    margin-bottom: 10px;
}
.feature-card h4 { font-size: 30px; margin: 10px 0 15px; }
.read-more { display: inline-block; margin-top: 20px; font-size: 14px; border-bottom: 1px solid #000; padding-bottom: 2px; }

/* Details */
.detail-section { padding: 100px 0; }

.detail-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.detail-head { margin-bottom: 60px; }
.detail-head h4 { font-size: 32px; margin-bottom: 15px; font-weight: 700; }
.detail-catch { font-size: 48px; font-weight: 800; color: #fff; margin: 0; }
.detail-catch.light-theme { color: #000; }

.detail-visual-row { display: flex; justify-content: center; gap: 30px; margin-bottom: 60px; }
.detail-img-box { width: 45%; border-radius: 10px; overflow: hidden; }
.detail-img-box img { width: 100%; height: auto; display: block; }

.icons-row { flex-wrap: wrap; gap: 40px; }
.detail-icon-box { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font-weight: bold; }
.detail-icon-box img { width: 80px; height: 80px; object-fit: contain; }

.detail-body { max-width: 800px; margin: 0 auto; }
.detail-desc { font-size: 18px; line-height: 2; margin-bottom: 40px; }
.detail-highlight { font-size: 24px; font-weight: bold; color: #aaa; }
.detail-highlight.light-theme { color: #666; }


/* Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.result-item {
    text-align: center;
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.result-label {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.result-value {
    display: block;
    font-size: 60px;
    font-weight: 800;
    color: #000;
    line-height: 1;
    margin-bottom: 10px;
}

.result-value small {
    font-size: 20px;
    font-weight: normal;
    margin: 0 5px;
}

.result-desc {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Price */
.price-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.price-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 40px;
    width: 48%;
    border-radius: 10px;
    text-align: center;
}

.price-head h4 {
    font-size: 30px;
    margin: 0 0 10px;
}
.plan-desc {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 30px;
}

.price-amount {
    font-size: 50px;
    font-weight: bold;
    margin: 20px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 20px 0;
}
.price-amount .tax {
    font-size: 16px;
    font-weight: normal;
    margin-left: 5px;
}

.price-features { text-align: left; margin-top: 20px; }

.price-features li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
}
.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
}
.feature-note {
    font-size: 16px;
    color: #999;
    display: block;
}

.price-note {
    font-size: 16px;
    color: #666;
}

/* Contact Form */
.contact-form-wrapper { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 18px;
}

.required { background: #000; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 2px; margin-left: 5px; vertical-align: middle; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #000; }
.form-button { text-align: center; margin-top: 40px; }
.btn-submit { background: #000; color: #fff; border: none; padding: 15px 60px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; border-radius: 50px; }
.btn-submit:hover { opacity: 0.8; }

/* Footer */
.footer { background-color: #000; color: #fff; padding: 60px 0 20px; }

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-links-group {
    text-align: right;
}

.footer-nav {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.footer-nav a { font-size: 14px; color: #ccc; font-weight: bold; }
.footer-nav a:hover { color: #fff; }

.footer-sub-nav {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    font-size: 12px;
}
.footer-sub-nav a { color: #666; border-right: 1px solid #333; padding-right: 20px; display: inline-block; line-height: 1; }
.footer-sub-nav li:last-child a { border-right: none; padding-right: 0; }
.footer-sub-nav a:hover { color: #fff; }

.footer-bottom { text-align: center; }
.copyright { font-size: 12px; color: #666; }

/* =========================================
   スマホ用レスポンシブ (768px以下)
   ========================================= */
@media screen and (max-width: 768px) {
	.header {
		padding: 14px 0;
	}
	.logo img {
		height: 40px;
	}
    .pc-nav { display: none; }
    .hamburger { display: block; }
    
    body.nav-open .hamburger span:nth-of-type(1) { transform: translateY(10px) rotate(45deg); top: 0; }
    body.nav-open .hamburger span:nth-of-type(2) { opacity: 0; }
    body.nav-open .hamburger span:nth-of-type(3) { transform: translateY(-10px) rotate(-45deg); bottom: 0; }
    body.nav-open .sp-nav { right: 0; }
	
	/* ドロップダウンメニュー SP用 */
    .sp-nav .has-child > a::after {
        font-size: 12px;
        margin-left: 8px;
        color: #999;
        vertical-align: middle;
    }
    .sp-nav .sub-menu {
        margin-top: 0px;
        border-radius: 12px;
        padding: 15px 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .sp-nav .sub-menu li {
        margin: 0;
        width: 200px;
    }
	
	/* aタグをブロックにしてボタン全体をクリックできるようにする */
    .sp-nav .sub-menu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        font-size: 15px;
        font-weight: 500;
        background-color: #f5f5f7;
        padding: 10px;
        border-radius: 50px;
        transition: background-color 0.3s; /* タップ時のアニメーション用 */
    }

    /* Container */
    .container { padding: 0 20px; }

    /* Hero */
    .hero {
        padding-top: 120px;
        height: auto;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 8px;
    }
    
    .hero-text, .hero-visual { width: 100%; flex: auto; }
    
    .hero-title {
        font-size: 46px;
        margin: 0 0 10px;
    }
    
    .hero-catch { 
        font-size: 34px; 
        text-align: left; 
        display: inline-block; 
    }

    .phone-mockup {
        width: 300px;
        margin: 0 auto;
    }

    /* Section共通 */
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 30px; }
    
    .en-title { 
        font-size: 50px; 
        letter-spacing: 0.02em;
    }
    .jp-title { font-size: 14px; }

    /* About */
    .about-lead {
        font-size: 24px;
        line-height: 1.8;
    }
    .faces { margin-bottom: 40px; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .feature-card h4 { 
        font-size: 30px;
        margin: 0;
    }
    .feature-num { font-size: 50px; }
    .read-more { font-size: 20px; }

    /* Details */
    .detail-section { padding: 60px 0; }
    
    .detail-head { margin-bottom: 40px; }
    .detail-head h4 { font-size: 32px; margin-bottom: 5px; }
    .detail-catch { font-size: 24px; }

    .detail-visual-row {
        gap: 20px;
        align-items: center;
        margin-bottom: 30px;
    }

    .detail-desc {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    /* Icons SP */
    .icons-row { flex-direction: row; justify-content: center; }
    .detail-icon-box { width: 30%; }

    /* Results SP */
    .results-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* Price SP */
    .price-wrapper { flex-direction: column; }
    
    .price-card { 
        width: 100%; 
        padding: 30px;
    }
    
    .price-amount {
        font-size: 40px;
    }

    .price-note {
        display: none;
    }

    /* Contact SP */
    .contact-message {
        font-size: 18px;
        line-height: 1.6;
    }
    
    /* Footer SP */
    .footer-inner { flex-direction: column; gap: 30px; text-align: center; align-items: center; }
    .footer-links-group { text-align: center; width: 100%; }
    .footer-nav { justify-content: center; flex-direction: column; gap: 15px; }
    .footer-sub-nav { justify-content: center; flex-wrap: wrap; gap: 10px; }
    .footer-sub-nav a { border: none; padding: 0; }
    
    .btn-submit { width: 100%; }
}

/* =========================================
   追従CTAボタン (PC & 共通)
   ========================================= */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999; /* 最前面に表示 */
    
    /* ▼ ここからアニメーション用の初期設定 ▼ */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* 少し下に配置しておく */
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

/* スクロールして付与される表示用クラス */
.fixed-cta.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* 元の位置に戻る */
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #111;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 16px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    background-color: #444;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
    opacity: 1;
}

.cta-icon {
    display: flex;
    align-items: center;
}

/* =========================================
   追従CTAボタン (スマホ用)
   ========================================= */
@media screen and (max-width: 768px) {
    .fixed-cta {
        bottom: 20px;
        right: 50%;
        width: 90%;
        max-width: 400px;
        /* スマホの中央寄せを維持しつつ、初期状態は少し下に */
        transform: translate(50%, 20px); 
    }
    
    .fixed-cta.is-show {
        /* 表示時はY軸だけ元に戻す（X軸の中央寄せは維持） */
        transform: translate(50%, 0); 
    }
    
    .cta-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
    }
}

/* reCAPTCHAのバッジを非表示にする */
.grecaptcha-badge {
    visibility: hidden;
}