/* 基本スタイル */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* ナビゲーション */
nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ebcffc;
}

/* セクション共通 */
section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --- メインビジュアル（一番上） --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://eduo.jp/images/2026gokaku.jpg') center/cover;
    background-attachment: fixed; /* PCで固定 */
    height: 100vh;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* --- パララックス（中間画像） --- */
.parallax-bg {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://eduo.jp/images/top_girl_2020.jpg') center/cover;
    background-attachment: fixed; /* PCで固定 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    width: 100%;
}

.parallax-content h2 {
    font-size: 2rem;
    color: white !important;
    margin-bottom: 0;
    padding-bottom: 0;
}

.parallax-content h2::after {
    display: none;
}

/* --- セクション背景色 --- */
#about, #plan, #contact {
    background: #f5f2f2;
    z-index: 2;
}

/* --- 見出しデザイン --- */
h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    color: #2c3e50;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ebcffc;
}

/* --- カード・料金表・フォーム --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.card i {
    font-size: 3rem;
    color: #6002cc;
    margin-bottom: 20px;
}

.price-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.price-table th, .price-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
}

.price-table th {
    background: #46056e;
    color: white;
}

.cta-btn {
    background: #e74c3c;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
}

.contact form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(92vw, 800px);
}

.contact input, .contact textarea, .form-select {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-status {
    width: 100%;
    max-width: min(92vw, 800px);
    margin: 0 0 15px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #e8f7ea;
    border: 1px solid #9bd3a3;
    color: #1f6b2d;
    font-weight: 600;
}

.contact .submit-btn {
    width: 100%;
    box-sizing: border-box;
}

.submit-btn {
    background: #2c3e50;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

/* PCでのドロップダウン制御 */
@media (min-width: 769px) {
    #nav-list {
        display: flex;
        align-items: center;
    }

    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: none; /* 通常は隠す */
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        min-width: 220px;
        padding: 10px 0;
        border-radius: 5px;
        z-index: 1002;
    }

    .dropdown:hover .dropdown-menu {
        display: block; /* ホバーで表示 */
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        display: block;
        font-size: 0.9rem;
        color: #2c3e50;
    }

    .dropdown-menu li a:hover {
        background-color: #f8f0ff; /* 薄い藤色 */
        color: #6002cc;
    }
}

/* スマホでの展開制御（縦に並べる） */
@media (max-width: 768px) {
    .dropdown-menu {
        display: none; /* スマホでも初期は隠す（JSで制御も可、今回はシンプルに常に表示もアリ） */
        background: #f9f9f9;
        width: 100%;
        text-align: center;
    }
    
    /* スマホで項目が多いので、スクロールできるようにする */
    nav ul.active {
        overflow-y: auto;
        padding-top: 80px;
        justify-content: flex-start; /* 上詰めに変更 */
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* スクロールを促す演出 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

/* マウスの形 */
.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    position: relative;
}

/* マウスのホイール部分のアニメーション */
.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

/* 矢印（V字）の動き */
.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin-top: 10px;
    animation: scroll-arrow 2s infinite;
}

/* アニメーションの定義 */
@keyframes scroll-wheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes scroll-arrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* スマホでは邪魔になることがあるので、小さくするか消す */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none; /* スマホでは非表示、またはスケールを小さく */
    }
}



/*スマホ設定*/

@media (max-width: 768px) {
    body {
        background-color: #ffffff !important;
    }

    /* 背景画像の設定 */
    .parallax-bg {
        background-attachment: scroll !important; 
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        background-color: #ffffff !important;
        background: none !important;
        color: #ffffff !important;
        height: 62vh !important;
        min-height: 360px;
    }
    
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('https://eduo.jp/images/2026gokaku.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: #ffffff;
        z-index: -1;
    }

    .hero h1,
    .hero p,
    .hero .cta-btn,
    .hero .scroll-indicator {
        display: none !important;
    }

    .parallax-bg {
        height: 250px !important;
    }

    /* ナビゲーション設定（重複を削除し、左寄せを維持） */
    nav {
        padding: 10px 20px;
        flex-direction: row !important; /* 横並びを強制 */
        justify-content: space-between; /* ロゴとメニューを左右に */
        align-items: center;
    }

    .logo {
        margin-left: 0;
    }

    nav ul {
        margin-top: 0;
        display: flex;
        font-size: 0.8rem;
    }

    nav ul li {
        margin-left: 15px;
    }

    /* 共通設定 */
    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 20px;
    }
}

/* ===== サブページ共通レイアウト（このファイル1本でトップと同じく読み込まれる） ===== */
#main {
    padding-top: 72px;
    box-sizing: border-box;
    background: #f5f2f2;
}

.nav-cta {
    background: #e74c3c;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 24px;
    font-weight: 600;
}

.column1-Box {
    margin: 6px;
}
.column1-Box:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.column2-Box {
    margin: 0 0 20px;
}
.column2-Box:after {
    content: "";
    display: block;
    clear: both;
}
.column2-Box .Box70 {
    width: 70%;
    float: left;
}
.column2-Box .Box50 {
    width: 50%;
}
.column2-Box .Box30 {
    width: 30%;
    float: right;
}
.column2-Box .left {
    float: left;
}
.column2-Box .right {
    float: right;
}

.column3-Box {
    margin: 10px;
}
.column3-Box:after {
    content: "";
    display: block;
    clear: both;
}
.column3-Box .Box {
    float: left;
    width: 32%;
    padding: 0 10px;
    box-sizing: border-box;
}

.column4-Box {
    margin: auto;
}
.column4-Box:after {
    content: "";
    display: block;
    clear: both;
}
.column4-Box .Box {
    float: left;
    width: 24%;
    margin: auto;
    padding: 3px;
    box-sizing: border-box;
}

#main .mainInner {
    max-width: 1020px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 16px 40px;
}
#main .mainInner:after {
    content: "";
    display: block;
    clear: both;
}
#main .mainInner p {
    margin-top: 5px;
}
#main .mainInner h2 {
    font-size: 2rem;
    text-align: center;
    margin-top: 10px;
    color: #2c3e50;
}
#main .mainInner h3 {
    font-size: 2rem;
    text-align: left;
    margin-top: 5px;
    color: #2c3e50;
}

.container {
    margin: 0 auto;
    text-align: left;
}
.container input {
    display: none;
}
.container label {
    color: #46056e;
    cursor: pointer;
    padding: 0 10px;
}
.container label:hover {
    color: #ccc;
}
.container .btm {
    transition: 0.2s;
    height: 0;
    overflow: hidden;
    padding: 0 10px;
}
.container input:checked + .btm {
    height: auto;
    padding: 0 10px 10px 10px;
    background: #fff;
}

#main .mainInner .telbtn {
    text-align: center;
    min-height: 12px;
    background-color: #46056e;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(70, 5, 110, 0.25);
}
#main .mainInner .telbtn a {
    display: block;
    text-decoration: none;
    padding: 3px;
    color: #fff;
}

#main .mainInner .btnbox_more {
    text-align: center;
    width: 100px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 5px gray;
}
#main .mainInner .btnbox_more bt {
    font-size: 2.4rem;
    text-align: center;
    margin: auto;
}

#main .mainInner .navy {
    text-align: center;
    min-height: 18px;
    background-color: #46056e;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 8px;
}
#main .mainInner .navy h2 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
}
#main .mainInner .navy h3 {
    font-size: 1.6rem;
    font-weight: normal;
    color: #fff;
}
#main .mainInner .navy p {
    font-size: 1.4rem;
    text-align: center;
    margin: auto;
    color: #fff;
}
#main .mainInner .navy a {
    display: block;
    text-decoration: none;
    padding: 3px;
    color: #fff;
}

#main .mainInner .winebox {
    text-align: center;
    min-height: 18px;
    background-color: #6002cc;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 8px;
}
#main .mainInner .winebox a {
    display: block;
    padding: 3px;
    color: #fff;
}
#main .mainInner .winebox h2 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
}
#main .mainInner .winebox h3 {
    font-size: 1.6rem;
    color: #fff;
}
#main .mainInner .winebox p {
    font-size: 1.4rem;
    margin: auto;
}

#main .mainInner .lite {
    text-align: center;
    min-height: 18px;
    background: linear-gradient(135deg, rgba(96, 2, 204, 0.12) 0%, rgba(235, 207, 252, 0.45) 100%);
    border: 1px solid rgba(96, 2, 204, 0.2);
    color: #2c3e50;
    border-radius: 8px;
}
#main .mainInner .lite h2 {
    font-size: 2.4rem;
    color: #46056e;
}
#main .mainInner .lite h3 {
    font-size: 1.6rem;
    color: #2c3e50;
}
#main .mainInner .lite p {
    font-size: 1.4rem;
    margin: auto;
    color: #2c3e50;
}
#main .mainInner .lite a {
    display: block;
    padding: 3px;
    color: #6002cc;
}

#main .mainInner .about {
    border: 1px solid #ddd;
    padding: 15px 20px;
}
#main .mainInner .about h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
#main .mainInner .about p {
    text-align: left;
}

#main .mainInner .plan h2 {
    margin-bottom: 30px;
    padding-bottom: 10px;
}
#main .mainInner .plan img {
    width: 100%;
}

#pagetop {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

footer {
    text-align: center;
}
footer #footerInner {
    max-width: 1020px;
    width: 100%;
    margin: 0 auto 40px;
    padding: 40px 0 0;
}
footer #footerInner ul li {
    display: inline-block;
    margin-left: 30px;
}
footer #footerInner ul li:first-child {
    margin-left: 0;
}
footer .footerInner2 {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0;
}
footer .footerInner2 p {
    font-size: 2.6rem;
}
footer .footerInner2 a {
    font-size: 1.4rem;
    color: #fff;
}
footer .footerInner2 .copy {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .column2-Box .Box70,
    .column2-Box .Box30,
    .column2-Box .Box50 {
        width: 100%;
        float: none;
        margin: 0 0 10px;
    }
    .column3-Box .Box {
        float: none;
        width: 100%;
        margin: 0 0 10px;
    }
    .column4-Box .Box {
        float: left;
        width: 49%;
    }
    #main .mainInner {
        max-width: none;
        padding: 25px 12px 40px;
    }
}

@media (max-width: 500px) {
    .column4-Box .Box {
        float: none;
        width: 100%;
    }
}

/* ------------------------------------------------------------------
   公開中HP：料金グリッド（.plan table）・本文の table を .price-table と同系色に
   （本ファイルを単体で読み込む）
   ------------------------------------------------------------------ */
#main .mainInner .plan table,
#main .plan table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

#main .mainInner .plan table th,
#main .plan table th {
    background: #46056e;
    color: #fff;
    font-weight: 600;
    padding: 14px 12px;
    text-align: center;
    border: 1px solid #5a1a85;
    font-size: 1rem;
    line-height: 1.45;
    vertical-align: middle;
}

#main .mainInner .plan table th a,
#main .plan table th a {
    color: #fff;
    text-decoration: none;
}

#main .mainInner .plan table th a:hover,
#main .plan table th a:hover {
    color: #ebcffc;
    text-decoration: underline;
}

#main .mainInner .plan table td,
#main .plan table td {
    padding: 14px 12px;
    text-align: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #2c3e50;
    vertical-align: middle;
}

/* 本文中の表（.plan 外）— 料金表トップの full table に近い見た目 */
#main .mainInner .column1-Box > table,
#main .mainInner article table,
#main .mainInner .bg-Box table {
    width: 100%;
    max-width: 800px;
    margin: 1em auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

#main .mainInner .column1-Box > table th,
#main .mainInner article table th,
#main .mainInner .bg-Box table th,
#main .mainInner .column1-Box > table thead th,
#main .mainInner article table thead th {
    background: #46056e;
    color: #fff;
    padding: 12px 14px;
    border: 1px solid #5a1a85;
    text-align: center;
}

#main .mainInner .column1-Box > table td,
#main .mainInner article table td,
#main .mainInner .bg-Box table td {
    border: 1px solid #ddd;
    padding: 12px 14px;
    text-align: center;
    color: #2c3e50;
}

@media (max-width: 768px) {
    #main .mainInner .plan table th,
    #main .plan table th,
    #main .mainInner .plan table td,
    #main .plan table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}
