@charset "UTF-8";

/* --- 基本設定 --- */
:root {
    --primary-orange: #FF9F1C; /* Jolly/Joy */
    --primary-blue: #2EC4B6;   /* Jump */
    --bg-green: #F0FDF4;       /* 芝生のような薄い緑 */
    --text-main: #333333;
    --text-white: #ffffff;
    --accent-red: #FF6B6B;
}

* {
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background-color: #fff;
    /* 全体のフォントサイズをアップ（PC/スマホ共通のベース） */
    font-size: 14.5px; 
    line-height: 1.8; /* 行間も少し広げて読みやすく */
}

/* --- フォントの使い分け設定 --- */

/* 見出し、ボタン、ロゴ、目立たせたい数字などは丸ゴシックにする */
h1, h2, h3,
.logo,
.btn-main,
.header-btn,
.section-title,
.hero-title,
.hero-tag,
.class-price,
.class-badge,
.merit-title,
.class-title,
.instructor-info h3,
.text-highlight {
    font-family: 'Zen Maru Gothic', sans-serif;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/* --- 共通クラス --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0; /* 余白も少し広めに */
}

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

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

.text-highlight {
    color: var(--primary-orange);
    font-weight: bold;
    margin: 0 5px;
    display: inline-block; /* 改行防止のため */
}

.btn-main {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 18px 50px; /* ボタンも大きく */
    font-size: 1.6rem; /* 文字サイズアップ */
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 5px 0 #E08E18;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    max-width: 450px;
}

.btn-main:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #E08E18;
}

.btn-blue {
    background: var(--primary-blue);
    box-shadow: 0 5px 0 #259D92;
}
.btn-blue:hover {
    box-shadow: 0 2px 0 #259D92;
}

/* 見出しデザイン（サイズアップ） */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--primary-blue);
    margin: 15px auto 0;
    border-radius: 3px;
}

/* --- ヘッダー --- */
header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.logo span {
    color: var(--primary-orange);
}

.header-btn {
    background: var(--accent-red);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 3px 0 #D64545;
}

/* --- ヒーローエリア --- */
.hero {
    background: linear-gradient(135deg, #e0f7fa 0%, #fff8e1 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-title {
    font-size: 2.5rem; /* タイトルも大きく */
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(transparent 70%, rgba(255, 159, 28, 0.3) 70%);
}

.hero-sub {
    font-size: 1.6rem;
    margin-bottom: 40px;
    color: #555;
    font-weight: 500;
}

/* ヒーローイメージ（ダミー） */
.hero-img-placeholder {
    background-color: #ddd;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: #777;
    font-weight: bold;
    font-size: 1.2rem;
    background-image: url('https://s3-ap-northeast-1.amazonaws.com/s3.peraichi.com/userData/430db2b0-cbe7-4884-9998-db10dc3fe55d/img/9bda3360-b197-013e-ca7a-0a58a9feac02/JJ_main.jpg');
    background-size: cover;
    background-position: center;
}

/* --- JJMIXについて（アイコン削除後のレイアウト調整） --- */
.about-text-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px; /* 余白調整 */
}

.main-text {
    font-size: 1.6rem; /* 本文より少し大きく強調 */
    line-height: 2;
}

/* --- メリット --- */
.merit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.merit-img {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.merit-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-orange);
}

/* --- クラス紹介 --- */
.classes-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .classes-wrapper {
        flex-direction: row;
    }
}

.class-card {
    flex: 1;
    background: white;
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    padding: 35px;
    position: relative;
}

.class-card.highlight {
    border-color: var(--primary-orange);
    background: #fffcf5;
}

.class-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.5rem;
    white-space: nowrap;
}

.class-card.highlight .class-badge {
    background: var(--primary-orange);
}

.class-title {
    text-align: center;
    font-size: 2rem;
    margin-top: 13px;
    margin-bottom: 22px;
}

.class-price {
    text-align: center;
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 23px;
}
.class-price span {
    font-size: 2rem;
    color: #666;
}

.class-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.6rem;
}

.class-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.class-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

/* --- インスタグラム・講師 --- */
.insta-placeholder {
    background: #eee;
    height: 350px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #555;
    margin-bottom: 30px;
    position: relative;
    background-image: url('https://s3-ap-northeast-1.amazonaws.com/s3.peraichi.com/userData/430db2b0-cbe7-4884-9998-db10dc3fe55d/img/bd902510-b196-013e-ca5e-0a58a9feac02/JJ_01.png');
    background-size: cover;
    background-position: center;
}

.insta-overlay {
    background: rgba(255,255,255,0.7);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 80%;
}

.instructor-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .instructor-card {
        flex-direction: row;
        text-align: left;
    }
    .instructor-info {
        flex: 1;
    }
}

.instructor-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ddd;
    background-image: url('https://s3-ap-northeast-1.amazonaws.com/s3.peraichi.com/userData/430db2b0-cbe7-4884-9998-db10dc3fe55d/img/e16aa160-b16c-013e-7037-0a58a9feac02/file.jpg');
    background-size: cover;
    background-position: center;
    border: 5px solid var(--bg-green);
    flex-shrink: 0;
}

/* --- 詳細テーブル（文字大きく） --- */
.details-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 1.5rem; /* テーブル内も文字大きく */
}

.details-table th, .details-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.details-table th {
    background: var(--bg-green);
    color: var(--primary-blue);
    width: 30%;
    font-weight: bold;
    min-width: 120px;
}

/* --- フッター --- */
footer {
    background: #333;
    color: white;
    padding: 50px 0 90px;
    text-align: center;
    font-size: 1.3rem;
}

/* --- 固定CTAボタン（スマホ用） --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
    footer {
        padding-bottom: 50px;
    }
    /* デスクトップで文字サイズが大きすぎないように調整（必要あれば） */
    .hero-title {
        font-size: 3rem;
    }
}
/* --- フッター専用スタイル --- */
    .jjmix-footer {
        background: #333;
        color: white;
        padding: 60px 0 100px; /* 下の余白はスマホ用固定ボタンのために広めに */
        text-align: center;
        font-size: 1rem;
    }

    .footer-info-box {
        margin-bottom: 40px;
        padding: 20px;
        border-top: 1px solid #555; /* 上に区切り線 */
        border-bottom: 1px solid #555; /* 下に区切り線 */
    }

    .footer-org-name {
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 1.6rem;
        font-weight: bold;
        margin-bottom: 15px;
        color: #fff;
    }

    .footer-address {
        margin-bottom: 15px;
        font-size: 1.2rem;
        color: #ccc;
    }

    .footer-phone {
        display: inline-block;
        font-family: 'Zen Maru Gothic', sans-serif;
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--primary-orange);
        text-decoration: none;
        margin-bottom: 15px;
        transition: opacity 0.3s;
    }
    .footer-phone:hover {
        opacity: 0.8;
        color: #fff;
    }

    .footer-hours {
        font-size: 1.3rem;
        line-height: 1.6;
        color: #ccc;
    }

    .footer-note {
        display: inline-block;
        margin-top: 5px;
        padding: 2px 10px;
        border: 1px solid #666;
        border-radius: 4px;
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 1.2rem;
        color: #777;
    }

    /* PC表示の調整 */
    @media (min-width: 768px) {
        .jjmix-footer {
            padding-bottom: 50px;
        }
    }

/* --- リーフラス公式リンクのデザイン --- */
    .leifras-link {
        margin-top: 20px; /* 上に少し余白 */
        text-align: right; /* 右寄せにする（好みで left に変えてもOK） */
    }

    .leifras-link a {
        color: var(--primary-blue); /* テーマカラーの水色 */
        font-weight: bold;
        text-decoration: underline;
        font-size: 1.2rem;
        transition: opacity 0.3s;
    }

    .leifras-link a:hover {
        opacity: 0.7;
        text-decoration: none; /* ホバー時に下線を消す */
    }

    /* スマホでは左寄せに戻して改行などで見やすく */
    @media (max-width: 768px) {
        .leifras-link {
            text-align: left;
            margin-top: 15px;
        }
    }

/* --- 費用の注釈（シンプル・控えめ） --- */
    .fee-info-simple {
        margin: 0 auto 40px;
        max-width: 800px;
        text-align: center;
        color: #444;
        font-family: 'Noto Sans JP', sans-serif; /* 事務的な明瞭さ */
        background-color: #f9f9f9; /* 背景も白に近いごく薄いグレー */
        padding: 15px;
        border-radius: 8px;
    }

    /* メインの費用（こちらをしっかり伝える） */
    .fee-main {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 5px;
    }

    .fee-main strong {
        font-weight: bold;
        color: #333; /* 赤ではなく濃いグレーで強調 */
        border-bottom: 2px solid var(--primary-orange); /* 下線でさりげなく強調 */
    }

    /* 優遇措置の注釈（目立たせない） */
    .fee-note {
        font-size: 1.2rem; /* 文字を小さく */
        color: #888;        /* 色を薄く */
        margin-top: 5px;
    }

    /* スマホ用改行 */
    .sp-only { display: inline; }
    @media (min-width: 768px) {
        .sp-only { display: none; }
    }