@charset "UTF-8";

/* ============================================
   基本設定 (PC: 18px / Zen Maru Gothic Reguler)
   ============================================ */
:root {
    --primary-color: #66BB6A;
    --accent-pink: #FF8AAB;
    --accent-orange: #FF7043;
    --text-main: #29313D;
    --bg-light-pink: #FDF5F5;
    --font-maru: "Zen Maru Gothic", sans-serif;
    --font-rock: "RocknRoll One", sans-serif;
    --font-yomogi: "Yomogi", cursive;
}


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

body {
    /* 基本フォント: Zen Maru Gothic Reguler) (400) */
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px; /* PC基本サイズ */
    color: #29313D;
    background: #FCFFFF;
    overflow-x: hidden;
}

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

a:hover {
    opacity: 0.7;
}

li {
    list-style: none;
}

/* SPでのみ有効な強制改行タグのデフォルト設定（PCでは非表示） */
.sp-only {
    display: none;
}

.html {
scroll-behavior: smooth;
}
/* ============================================
   共通レイアウトクラス
   ============================================ */
/* コンテンツ幅制御用クラス */
.l-inner {
    width: 100%;
    max-width: 1200px; /* PCコンテンツ幅 1200px */
    margin: 0 auto;
    padding: 0 20px; /* 画面端との余白 */
}

/* ============================================
   ヘッダー
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #fcffff;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    /* l-innerの代わりとして機能 */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* PC用ナビゲーション */


.nav-pc ul {
    display: flex;
    gap: 25px;
}

.nav-pc a {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: 14.5px; 
    letter-spacing: 0.05em;
    color: #29313D;
}

/* 中央ロゴ */
.header-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    z-index: 1001;
    transition: width 0.3s ease;
}

.pc-logo {
    width: 100%;
    height: auto;
    display: block;
}

.nav-left {
    margin-left: 20px;
}

/* ============================================
   Instagram
   ============================================ */
.nav-pc-sns {
    position: absolute;
    top: 24px; 
    left: 5px; 
    z-index: 1002; 
}

.nav-pc-sns img {
    width: 17px; 
    height: 17px;
    display: block;
    transition: opacity 0.2s;
}

.nav-pc-sns a:hover img {
    opacity: 0.7; 
}

/* --------------------------------------------
   PC用ナビゲーション ドロップダウン 
   -------------------------------------------- */
@media screen and (min-width: 769px) {
.nav-pc li {
    position: relative;
    padding: 20px 0; 
}

.nav-pc-dropdown {
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    width: 195px; 
    background: #FCFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    gap: 0 !important;
    
    /* --- 修縦並びを強制 --- */
    display: flex !important;
    flex-direction: column !important;
    /* --------------------------- */
    
    /* 初期状態：非表示 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-top: -10px; 
    list-style: none; 
    z-index: 100;
}

.nav-pc-dropdown.class {
    position: absolute;
    top: 100%;
    left: 50%; 
    transform: translateX(-50%); 
    width: 150px; 
    background: #FCFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0 !important; 
    margin: 0 !important;
    list-style: none !important;

    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-top: -10px; 

    /* レイアウト設定 */
    display: flex !important;
    flex-direction: column !important;
    align-items: center; /* 子要素(li)を中央に寄せる */
}

.nav-pc-dropdown.class li {
    width: 100% !important; 
    list-style: none !important;
    margin: 0 0 0 12px !important;
    padding: 0 !important;
    display: block !important;
}


/* ホバー時の挙動 */
.has-dropdown:hover .nav-pc-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 0;
}

/* ドロップダウン内のliを縦に並べる */
.nav-pc-dropdown li {
    display: block !important; 
    width: 100%;
    padding: 0 !important;
    margin: 0 0 0 2px !important;
    text-align: center;
}

/* ドロップダウン内のリンク */
.nav-pc-dropdown li a {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    color: #666;
    text-align: left;
    white-space: nowrap;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.1; 
}

.nav-pc-dropdown li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FFF5A7;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-pc-dropdown li a:hover {
    background: #f0fafa;
    color: #29313D;
}


.has-dropdown > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    color: #BCDBD9;
    display: inline-block;
    transition: transform 0.3s;
}
.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

}
/* ============================================
   ハンバーガーボタン (SPでドロワーを出すためのトリガー)
   ============================================ */
.hamburger {
    /* PCでは非表示 */
    display: none;
    
    position: fixed;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: #FFF5A7;
    border: none;
    border-bottom-left-radius: 100%;
    cursor: pointer;
    z-index: 2000;
    
    /* Flexbox設定（メディアクエリで有効化） */
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    
    /* 位置調整 */
    padding-left: 10px; 
    padding-top: 5px;   
    padding-bottom: 5px;
}

.hamburger-icon {
    /* アイコンを1番目（上）に配置 */
    order: 1;
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0 auto; 
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #29313D;
    transition: 0.3s ease-in-out;
    left: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Menuテキスト */
.hamburger-text {
    /* テキストを2番目（下）に配置 */
    order: 2;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #29313D;
    margin-top: 5px; /* アイコンとの間隔 */
}

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

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

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

/* ============================================
   SP用ドロワーメニュー 
   ============================================ */
.drawer-menu {
    position: fixed;
    top: 0;
    right: 0; 
    width: 375px; 
    max-width: 100%; 
    height: 100vh;
    background: #CDE4E3; 
    z-index: 1999; 
    transform-origin: top right; 
    transform: scale(0.1); 
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    overflow-y: auto;
    padding: 30px;
    box-sizing: border-box;
    pointer-events: none;
    position: fixed;
    display: none; 
    contain: layout; 
    display: none;
    overflow: hidden;
}

.drawer-menu.active {
    transform: scale(1); 
    opacity: 1;
    z-index: 2005;
    pointer-events: auto;
    display: block;
}

/* --- 閉じるボタン (右上の黄色い半円) --- */
.drawer-close-btn {
    display: none; 
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: #FFF5A7; 
    border: none;
    border-bottom-left-radius: 100%;
    cursor: pointer;
    z-index: 1995; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 15px; 
    padding-bottom: 15px;
}

/* ドロワーが開いている時だけ閉じるボタンを表示 */
.drawer-menu.active .drawer-close-btn {
    display: flex;
}

.drawer-close-btn .close-icon {
    position: relative;
    width: 30px;
    height: 20px;
    display: block;
    margin-bottom: 5px;
}
/* 実行タイミングを制御するためのクラス */
.drawer-menu.is-visible {
    transform: translateX(0);
}

/* ×印を作る */
.drawer-close-btn .close-icon::before,
.drawer-close-btn .close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #29313D;
    transition: transform 0.3s;
}

.drawer-close-btn .close-icon::before {
    transform: rotate(45deg);
}
.drawer-close-btn .close-icon::after {
    transform: rotate(-45deg);
}

.drawer-close-btn .close-text {
    font-size: 12px;
    font-weight: 700;
    color: #29313D;
    font-family: 'Zen Maru Gothic', sans-serif;
}

/* --- メインコンテンツエリア (白い背景) --- */
.drawer-content {
    background: #FCFFFF;
    width: 100%;
    min-height: 90%;
    padding: 40px 40px 0px 40px;
    border-radius: 4px;
    text-align: left; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- リストスタイル --- */
.drawer-list {
    list-style: none;
    margin: 0;
    text-align: left; 
}

.drawer-item {
    margin-bottom: 25px;
}

.drawer-item a {
    display: block;
    font-size: 16px;
    color: #29313D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

/* アコーディオン部分のスタイル */
.accordion-item {
    margin-bottom: 25px;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    gap: 10px;
}

.accordion-header span {
    font-size: 16px;
    color: #29313D;
    font-weight: 500;
}

/* トグルアイコン (+ / -) */
.accordion-toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
    background: #CDE4E3; 
    border-radius: 50%;
}

.accordion-toggle-icon::before,
.accordion-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #777;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

/* 横棒 */
.accordion-toggle-icon::before {
    width: 10px;
    height: 2px;
}

.accordion-toggle-icon::after {
    width: 2px;
    height: 10px;
}

/* 開いている状態のアイコン (-) */
.accordion-header.is-open .accordion-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg); 
}

/* アコーディオン*/
.accordion-body {
    display: none; /* JSで切り替え */
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left; 
    padding-left: 3%; 
}

.accordion-body.is-open {
    display: block; 
    animation: fadeIn 0.3s ease;
}

.accordion-body li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 1.5em;
}

/* 黄色い丸ポチ */
.accordion-body li::before {
    content: '';
    position: absolute;
    top: 0.35em;
    left: 0;
    width: 8px;
    height: 8px;
    background: #FFF5A7; 
    border-radius: 50%;
}

.accordion-body li a {
    font-size: 14px;
    color: #666;
}

/* --- フッター  --- */
.drawer-footer {
    margin-top: 40px;
}

.drawer-footer p {
    font-size: 14px;
    color: #29313D;
    font-weight: bold;
    margin-bottom: 15px;
    text-align:center
}

.text-green {
    color: #06C755;; 
}

.drawer-footer-icons {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
}

.drawer-illust {
    width: 120px; 
    height: auto;
}

.drawer-line-btn img {
    width: 50px; 
    height: auto;
}

/* --- ドロワー内のInstagramアイコン --- */
.drawer-insta-icon {
    position: static; 
    margin: auto; 
    width: 80px;
    height: 90px;
    display: flex;
    flex-shrink: 0; 
}

.drawer-insta-icon img {
    width: 80px;
    height: auto;
    margin-top: 30px;
}
.footer-illust {
  margin-top: -42px;
  height: auto;
}
.footer-illust img {
  width: 100%;
}

/* ============================================
   FV (ファーストビュー)
   ============================================ */
   .hero {
    position: relative;
    width: 100%;
    overflow: hidden; 
    z-index: auto;
    
    /* 最大幅と中央寄せ */
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
}

.slider-container {
    width: 100%;
    position: relative; 
    height: 860px; 
    
    /* 親要素に合わせて幅を継承 */
    max-width: 1200x; 
    margin: 0 auto; 
}

/* --- スライダー背景画像設定 --- */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-size: cover;
    background-position: center; 
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 5; 
}

.slide.active {
    opacity: 1;
}

/* PC/タブレット用画像設定 (1450px - 769px) */
/* hero-bottomと統合済みの画像 */
.slide-1 { background-image: url("../img/top/pc-top1.png"); }
.slide-2 { background-image: url("../img/top/pc-top2.png"); }
.slide-3 { background-image: url("../img/top/pc-top3.png"); }

/* --- キャッチコピー画像 --- */
.hero-catch {
    position: absolute;
    z-index: 5;
    top: 11%;
    right: 10%;
    width: 40%;
    max-width: 480px;
}

.hero-catch img {
    width: 100%;
    height: auto;
    display: block;
    animation: fadeIn 1.5s ease-out forwards;
}

.sp-fv-logo-wrapper {
    display: none; 
}

.h2-wrapper {
    position: absolute;
    bottom: 13px; 
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    text-align: center;
    z-index: 50; 
}

.h2-wrapper h2 {
    font-family: 'Yomogi', cursive;
    font-weight: 400;
    font-size: clamp(20px, 1.04vw + 16.67px, 30px);
    color: #4097B6;
    margin-bottom: 0; 
    line-height: 1.6;
}
.h2-wrapper h2 .h2-line {
    display: inline;
}
.line-2 .color {
    color: #EE4E4E;
}

/* 鳥の画像 SP用の鳥画像の初期非表示 */
.sp_bird-icon-wrapper {
    display: none;
}



/* ============================================
   メインテキストエリア
   ============================================ */
.main-text {
    max-width: 1200px;
    width: 100%;
    margin: 30px auto 60px;
    padding: 0 10vw;
    text-align: center;
    position: relative;
    z-index: 2; 
}

.main-text h2 {
    font-family: 'Yomogi', cursive;
    font-size: 32px;
    color: #4097B6;
    margin-bottom: 30px;
}

.main-text p {
    font-size: clamp(14px, 0.73vw + 11.3px, 20px);
    line-height: 2;
    text-align: left;
    max-width: 1000px; 
    margin: 0 auto 15px;
}

/* ----------------------------------
   PC用の鳥の画像 (main-text内のテキスト横に配置)
   ---------------------------------- */
.bird-icon-wrapper {
    position: absolute;
    top: 100px;
    right: 70px;
    width: 120px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.bird-icon {
    width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------
   CTAボタンエリア (ラッパー)
   ---------------------------------- */
.cta-wrapper {
    position: relative;
    display: block;
/*
    width: 60vw;
    max-width: 800px; 
*/
    margin: 80px auto 0;
}

/* ----------------------------------
   双葉アイコン (ボタンの背面に配置)
   ---------------------------------- */
.futaba-icon {
    position: absolute;
    top: -30px; 
    left: 14vw ;
    width: 40px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* ----------------------------------
   CTAボタン本体
   ---------------------------------- */
.cta-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #BCDBD9;
    width: 80%;
    height: 45px;
    border-radius: 50px;
    color: #29313D;
    font-weight: bold;
    font-size: clamp(15px, 5.506px + 2.208vw, 32px);
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 3px 0 #9cbdbb;
    transition: opacity 0.3s;
    margin: 0 auto;
}

.cta-btn:hover {
    opacity: 0.8;
}

/* 「コチラ」の文字スタイル */
.kochira {
    color: #FCFFFF;
    margin: 0 5px;
}

/* 指マークアイコン */
.click-mark {
    width: 32px;
    height: auto;
    margin-left: 10px;
}

/* ============================================
   波なみ装飾 (境界線エリア)
   ============================================ */
.features-top-decoration {
    position: relative;
    z-index: 20; 
    width: 100%;
    max-width: 1450px;
    margin: 0 auto 0; 
    pointer-events: none; 
}

/* 1. 波なみ (naminami.png) を基準にする */
.features-top-decoration img:first-child {
    position: relative; 
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
}

/* 2. 草木イラスト (左右) は波の上に重ねる */
.top-green-right,
.top-green-left {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: auto;
    z-index: 3;
    display: block;
}

.top-green-right {
    right: 19vw;
}

.top-green-left {
    left: 20vw;
}

/* SP用 初期非表示 */
.sp-fv-logo-wrapper,
.sp_bird-icon-wrapper {
    display: none;
}
.features-white-box .sp_top-green,
.classes .sp_class-green {
    display: none !important;
}

/* ============================================
   Features (5つの特徴) セクション
 ============================================ */
.features {
    width: 100%;
    height: auto;
    margin: 0 auto 0;
}
/* ============================================
l-inner (コンテンツの最大幅と中央配置、パディング)
============================================ */
.l-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: hidden;
}

/* タイトルエリア */
.features-title {
    text-align: center;
    margin-bottom: 50px;
}
.features-title .sub-title {
    display: block;
    color: #4097B6; 
    margin-top: 25px;
    font-weight: 700;
    font-size: clamp(14px, 1.125rem + 0.5vw, 22px);
}
.features-title .main-title {
    color: #4097B6; 
    font-family: "RocknRoll One", sans-serif;
    letter-spacing: clamp(5px, 0.5rem + 0.5vw, 10px);
    font-size: clamp(28px, 2rem + 1vw, 40px);
}

h3.main-title2 {
    color: #29313D;
    font-family: 'Yomogi', cursive;
    font-weight: 700;
    font-size: clamp(18px, 1rem + 1vw, 25px);
    margin-top: 15px;
}

.main-title span {
    font-size: clamp(33px, 2.5rem + 1.5vw, 50px);
}

/* ============================================
   リスト構造 (ulの2列並び)
   ============================================ */
.feature-box_box-yellow_box-content,
.feature-box_box-blue_box-content {
    display: flex;
    position: relative;
    margin-top: 25px;
    z-index: 5; 

}
/* 特徴リスト (1-5) */
.features-list {
    max-width: 840px;
    margin: 0 auto 60px;
    padding: 0;
    list-style: none;
}

.features-list li {
    position: relative;
    padding-left: 2.5em;
    margin-bottom: 5px;
    font-size: clamp(14px, 0.48vw + 12.2px, 18px);
    font-weight: 600;
    line-height: 1.8;
    color: #29313D;
    text-align: left;
}

.features-list p {
    padding-left: 2.5em;
    margin-bottom: 20px;
    font-size: clamp(14px, 0.48vw + 12.2px, 18px);
    font-weight: 400;
    color: #29313D;
    text-align: left;
}


/* 丸数字 */
.features-list li .num {
    position: absolute;
    top: 2px;
    left: 0;
    width: 24px;
    height: 24px;
    background: #3D88A5;
    color: #FCFFFF;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 18px;
    font-weight: 700;
}


/* ============================================
   feature-box (メインボックス共通)
   ============================================ */
.feature-box_box-yellow,
.feature-box_box-blue {
    border-radius: 40px; 
    padding: 40px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    width: 100%;    
}

.feature-box_box-yellow { background-color: #FDFDED; }
.feature-box_box-blue { background-color: #EFF8F7; }

/* タイトル (h3) */
.feature-box_box-yellow h3,
.feature-box_box-blue h3 {
    font-size: clamp(18px, 1.7vw + 11.6px, 32px);
    color: #29313D;
    margin-bottom: 5px;
    font-family: 'RocknRoll One', sans-serif;
}
.feature-box_box-yellow h3 { 
    padding-left: 10%; 
}
.feature-box_box-blue h3 { 
    padding-left: 44%; 
}

/* アイコン */
.feature-box_box-yellow_box-icon,
.feature-box_box-blue_box-icon {
    position: absolute;
}
.feature-box_box-yellow_box-icon { 
    top: 0.7vh;
    left: 4%;
}
.feature-box_box-blue_box-icon {
    top: 2.5vh;
    left: 35%;
}
.feature-box_box-yellow_box-icon img,
.feature-box_box-blue_box-icon img { 
    width: 80%; 
}

/* リード文 */
.feature-box_box-yellow_box-lead,
.feature-box_box-blue_box-lead {
    font-size: clamp(16px, 1.7vw + 9.6px, 30px);
    text-align: left;
    font-weight: 600;
}
.feature-box_box-yellow_box-lead { margin-left: 11%; }
.feature-box_box-blue_box-lead { margin-left: 45%; }

/* --- アニメーションの基本設定 --- */
.reveal {
    opacity: 0;
    transition: transform 1.2s ease-out, opacity 1.2s ease-out;
}

/* 左からふわっと */
.reveal-left {
    transform: translateX(-50px);
}

/* 右からふわっと */
.reveal-right {
    transform: translateX(50px);
}

/* 表示状態（JSでこのクラスを付与） */
.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* ============================================
   リスト構造 (共通設定をまとめる)
   ============================================ */
.feature-box_box-yellow_box-content,
.feature-box_box-blue_box-content {
    display: flex;
    position: relative;
    margin-top: 25px;
    z-index: 5;
}

.feature-box_box-yellow_box-list,
.feature-box_box-blue_box-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-top: 20px;
    font-size: clamp(14px, 0.48vw + 12.2px, 18px);
    line-height: 1.8;
    color: #29313D;
    position: relative;
}

/* 個別の余白 */
.feature-box_box-yellow_box-list { margin-left: 12%; align-items: flex-start; }
.feature-box_box-blue_box-list { margin-left: 46%; }

/* リストのポッチ装飾 (共通化) */
.feature-box_box-yellow_box-list li::before,
.feature-box_box-blue_box-list li::before {
    content: '';
    display: inline-block;
    width: 10px;  
    height: 10px; 
    background-color: #BCDBD9; 
    border-radius: 50%;
    margin-right: 10px; 
    margin-bottom: 5px;
    vertical-align: middle;
}

/* 2列目の絶対配置設定 */
.li-2 {
    position: absolute;
    left: 270px;    
}
.blue_li-2 {
    position: absolute;
    left: 210px;
    padding-left: 50px;
}

/* ============================================
       画像パーツ (黄色)
============================================ */
    .feature-box_box-yellow_box-image {
        position: absolute;
        top: -30px;
        right: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }
    .lesson {
        position: absolute;
        top: 1vh;
        right: 30px;
        width: 230px;
        transform: rotate(-14deg);
    
    }
    .deco-number {
        position: absolute;
        top: -5vh;
        right: -50px;
        transform: rotate(13deg);
        width: 140px;
        /* アニメーション適用 */
        animation: furifuri-number 2.5s ease-in-out infinite;
    }

    /* ============================================
       画像パーツ (青色)
       ============================================ */
    .non-cognitive-abilities {
        position: absolute;
        top: -5vh;
        left: 6vw;
        width: 230px;
    
    }
    .deco-sparkle {
        position: absolute;
        top: -4vh;
        left: -56px;
        transform: rotate(-80deg);
        width: 180px;
    }   
   /* ============================================
       アニメーション定義 (フリフリ・楽しそうな動き)
       ============================================ */
    @keyframes furifuri-number {
        0%, 100% { transform: rotate(13deg) scale(1); }
        50% { transform: rotate(18deg) scale(1.05); }
    }

    

/* ==========================================================================
   6. Features Bottom (セクション最下部)
   ========================================================================== */
.features-bottom {
    max-width: 1100px;
    width: 100%;
    margin: 80px auto 180px;
    box-sizing: border-box;
}

    /* 全体を包むラッパーを幅いっぱいに広げる */
.bottom-message-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    padding-bottom: 40px;
}

    /* メッセージ部分を中央に配置するためのコンテナ */
.bottom-message {
        position: relative;
        font-family: 'Zen Maru Gothic', sans-serif;
        font-weight: 600;
        font-size: clamp(20px, 2.5vw, 32px);
        line-height: 1.5;
        z-index: 2;
    }
    .text-blue { color: #4097B6; }

    .bottom-illust img {
    width: clamp(158px, 24vw, 300px);
    height: auto;
    animation: hop-step-jump 2s ease-in-out infinite;
    transform-origin: bottom center;
        }


@keyframes hop-step-jump {
    0%, 100% {
        transform: translateY(0) scale(1, 1);
    }
    45% {
        /* わずかに浮き上がる（10px程度） */
        transform: translateY(-10px) scale(0.98, 1.02);
    }
    90% {
        /* 着地時にごくわずかに潰れる */
        transform: translateY(0) scale(1.02, 0.98);
    }
}


/* ==========================================================================
   7. Animation / Helpers
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   Classes (クラス概要) セクション
   ============================================ */
.classes-decoration {
    position: relative;
    z-index: 10;
    margin: 0 auto 0;
    max-width: 1450px;
}

.classes-decoration img {
    position: absolute;
    bottom: 0;
    display: block;
    height: auto;
    transform: none;
    transition: transform 0.3s ease;
}

.classes-decoration img:first-child {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.class-green-right {
    right: 19vw;
    z-index: 3;
    bottom: 0;
    left: auto;
    margin-left: 0;
    margin-right: 0;
    width: 200px;
}

.class-green-left {
left: 20vw;
z-index: 3;
bottom: 0;
right: auto;
margin-right: 0;
margin-left: 0;
width: 200px;
}

.classes-decoration .sp_class-green {
    display: none; 
}

/* セクション本体 */
.classes {
    padding: 60px 0;
    background-color: #FCFFFF;
    margin-bottom: 80px;
}

.classes-title h2 {
    color: #4097B6; 
    font-family: "RocknRoll One", sans-serif;
    letter-spacing: clamp(5px, 0.5rem + 0.5vw, 10px);
    font-size: clamp(28px, 2rem + 1vw, 40px);
    text-align: center;
    margin-bottom: 40px;
}

/* セクションリード文 */
.classes-lead {
    max-width: 850px;
    margin: 0 auto 60px;
    padding: 0 30px 0 30px;
    font-size: clamp(13px, 0.85vw + 9.8px, 18px);
    line-height: 2;
    color: #29313D;
    text-align: left;
}

/* --- クラスコンテナ  --- */
.baby-container {
    background-color: #FDF5F5;
    border-radius: 40px;
    padding: 3vh;
    max-width: 1200px;
    position: relative;
}

.youji-container {
    background-color: #FDFDED;
    border-radius: 40px;
    padding: 3vh;
    max-width: 1200px;
    position: relative;
    margin-top: 80px;   
}
.syougakusei-container{
    background-color: #EFF8F7;
    border-radius: 40px;
    padding: 3vh;
    max-width: 1200px;
    position: relative;
    margin-top: 80px;
}

/* タイトルエリア */
.title_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}
.title_left, 
.title_right {
    flex: 1; 
    display: flex;
    justify-content: flex-end;
}

.youji-container .title_wrapper, .syougakusei-container .title_wrapper {
    position: relative;
    justify-content: center;
}

.youji-container .title_left,
.youji-container .title_right,
.syougakusei-container .title_left,
.syougakusei-container .title_right {
    position: absolute; 
    flex: none;
}
.title_right img {
    width: 170px;
    max-width: 164px;
    position: absolute;
    top: -104px;
}

.title_left img {
    width: 110px;
    max-width: 130px;
    position: absolute;
    top: -51px;
    transform: rotate(19deg);

}

.youji-container .title_left img {
    width: 130px;
    top: -75px;
    left: -330px;
    height: auto;
    transform: rotate(15deg);
    display: block;
}
.syougakusei-container .title_left img {
    width: 115px;
    top: -75px;
    left: -317px;
    height: auto;
    transform: rotate(-24deg);
    display: block;
}

.class-title {
    color: #29313D;
    flex: 0 0 auto; 
    text-align: center;
}

.class-title h3 {
    font-family: 'RocknRoll One';
    font-size: clamp(24px, 4vw, 36px);
    margin: 0;
    color: #29313D;
}
.youji-container .class-title h3 {
    margin-left: 9vw;
}
.syougakusei-container .class-title h3 {
    margin-left: 12vw;
}
/* 共通：ドットを太くし、文字を太字にする設定 */
[class^="em-"] {
    font-weight: bold;
    /* 大きなドット（●）を指定し、サイズを調整 */
    -webkit-text-emphasis: filled circle;
    text-emphasis: filled circle;
    text-emphasis-position: over;
}

/* 継：緑 (#2F9B63) */
.em-ke {
    -webkit-text-emphasis-color: #2F9B63;
    text-emphasis-color: #2F9B63;
}

/* 続：赤 (#F68185) */
.em-zoku {
    -webkit-text-emphasis-color: #F68185;
    text-emphasis-color: #F68185;
}

/* 者：緑 (#2F9B63) */
.em-sha {
    -webkit-text-emphasis-color: #2F9B63;
    text-emphasis-color: #2F9B63;
}
.class-title span{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
}

.class-title .black { 
    color: #29313D; 
    font-size: clamp(14px, 3.5vw, 28px);
}

.class-title .green { 
    color: #2F9B63; 
    font-size: clamp(14px, 3.5vw, 28px);
}
.class-title .pink { 
    color: #F68185;
    font-size: clamp(14px, 3.5vw, 28px);
 }



/* --- PC メインコンテンツ構成 --- */
.class-content_main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 40px;
}

/* ============================================
   サブタイトル
   ============================================ */
.subtitle_wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch; /* 全体の高さを統一 */
    height: 200px;
}
.subtitle_wrapper.dousitu {
    margin-bottom: 20px;
}
.subtitle_left {
    display: flex;
    flex: 5;
    background: #FCFFFF; 
    border-radius: 30px;
    overflow: hidden; 
}

.subtitle_class {
    flex: 0 0 50%; 
    display: flex;
    box-sizing: border-box;
}
.subtitle {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}


.ul_subtitle {
    list-style: none;
    padding-left: 5px;
    margin: 0 auto;
}
span.space {
    margin-left: 5vw;
}

.subtitle_class {
    flex: 1;
    display: flex;
}
.subtitle li {
    display: flex;
    align-items: flex-start;
    font-family: 'RocknRoll One', sans-serif;
    font-size: clamp(13px, 0.85vw + 9.8px, 20px);
    color: #29313D;
    line-height: 1.5;
    margin-bottom: 3vh;
}
.youji-container .subtitle li {
    margin-bottom: 1vh;
}
.syougakusei-container .subtitle li {
    margin-bottom: 2vh;
}
.subtitle_p{
    margin-bottom: 1vh;
    font-family: 'Zen Maru Gothic';
    font-weight: bold;
    font-size: clamp(13px, 8.56px + 1.45vw, 23px);
    color: #2F9B63;
}

.youji-container .pink,
.syougakusei-container .pink{
    color: #F68185;
}
.youji-container .black,
.syougakusei-container .subtitle_p{
    color: #29313D;
}
.syougakusei-container .green {
    color: #2F9B63;
}
.list-dot {
    width: clamp(14px, 1.8vw, 20px);
    margin-top: 0.2em;
    margin-right: 1vw;
    flex-shrink: 0;
}
.subtitle li:last-child { 
    margin-bottom: 0; 
}

.subtitle_photo {
    flex: 0 0 50%; 
    position: relative;
    overflow: hidden;
}

.subtitle_photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.baby-lead {
    flex: 3;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.baby-description {
    font-size: clamp(13px, 0.85vw + 9.8px, 18px);
    text-align: left;
    color: #29313D;
}

.baby-description .highlight {
    color: #F68185;
    display: block;
    margin-bottom: 12px;
    font-size: 17px;
}

/* ボタン */
.class-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* --- リンクボタンのスタイル --- */
.class-links_wrapper {
    display: flex;
    gap: 15vw;
    align-items: flex-start;
    justify-content: space-evenly;
    margin: 0 0 20px 0px;
}
.syougakusei-container .class-links_wrapper {
    margin: 10px 20px 5px 10px;
}

.smile-links {
    display: flex;
    align-items: flex-end;
    position: relative;
    flex-direction: column;
    text-align: right; 
    margin-top: 30px;
    margin-right: 7vw;
    margin-bottom: 30px;
}

    
.smile-links a {
    position: relative;
    display: inline-block;
    font-family: 'Yomogi', cursive;
    font-size: clamp(13px, 3vw, 23px);
    text-decoration: none;
    padding-bottom: 10px;
    transition: opacity 0.3s;
    color: #29313D;
    width: 42%;
    max-width: 300px;
    text-align: center;
}
.smile-links a span { font-weight: bold; }

/* 下線矢印の装飾 */
.smile-links a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #BCDBD9;
}
.smile-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -1px;
    width: 12px;
    height: 2px;
    background: #BCDBD9;
    transform: rotate(35deg);
    transform-origin: right center;
}
.wara-links, .nouiku-links, .price-links, .voice-links {
    display: flex;
    align-items: flex-end;
    position: relative;
    flex-direction: column;
    text-align: right; 
    margin-top: 30px;
    margin-right: 10px;
    width: 100%;
}

/* 共通：aタグ自体の設定 */
.nouiku-links a,
.wara-links a {
    position: relative;
    display: inline-block;
    font-family: 'Yomogi', cursive;
    font-size: clamp(13px, 2.6vw, 23px);
    text-decoration: none;
    padding-bottom: 10px;
    transition: opacity 0.3s;
    color: #29313D;
    width: 58%;
    max-width: 200px;
    text-align: center;
}
.price-links a {
    position: relative;
    display: inline-block;
    font-family: 'Yomogi', cursive;
    font-size: clamp(13px, 3vw, 23px);
    text-decoration: none;
    padding-bottom: 10px;
    transition: opacity 0.3s;
    color: #29313D;
    width: 37%;
    max-width: 250px;
    text-align: center;
}
.voice-links a {
    position: relative;
    display: inline-block;
    font-family: 'Yomogi', cursive;
    font-size: clamp(13px, 3vw, 23px);
    text-decoration: none;
    padding-bottom: 10px;
    transition: opacity 0.3s;
    color: #29313D;
    width: 125%;
    text-align: center;
}
/* 共通：下線の設定 */
.nouiku-links a::before,
.wara-links a::before,
.smile-links a::before,
.price-links a::before,
.voice-links a::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #BCDBD9;
    bottom: 5px;
    left: 0;
    transition: transform 0.3s ease;
}

/* 共通：矢印先端の設定 */
.nouiku-links a::after,
.wara-links a::after,
.smile-links a::after,
.price-links a::after,
.voice-links a::after {
    content: "";
    display: block;
    position: absolute;
    width: 15px;
    height: 2px;
    background: #BCDBD9;
    bottom: 5px;
    right: -1px;
    transform: rotate(35deg);
    transform-origin: right center;
    transition: transform 0.3s ease;
}

.link-sub {
    font-family: 'Yomogi', cursive;
    font-size: clamp(10px, 2.5vw, 20px);
    color: #BCDBD9;
    text-align: right;
    width: 100%;
    line-height: 0.8;
    pointer-events: none;
}

/* ホバー時のスライドアニメーション適用 */
.nouiku-links:hover a::before,
.wara-links:hover a::before,
.smile-links:hover a::before,
.price-links:hover a::before,
.voice-links:hover a::before {
    transform: translateX(15px);
}

.nouiku-links:hover a::after,
.wara-links:hover a::after,
.smile-links:hover a::after, 
.price-links:hover a::after,
.voice-links:hover a::after {
    transform: translateX(15px) rotate(35deg);
}

/* ============================================
　　デコレーション
============================================ */
.news-decoration {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 5rem;
    }

    .news-decoration img {
    width: 50%;
    height: auto;
    max-width: 1200px;
    display: block;
    object-fit: cover;
    }

/* ============================================
　　スライド
============================================ */
/* 基本設定 */
.testimonials-section {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: #fcffff;
    font-family: "Zen Maru Gothic", sans-serif;
}

/* 背景レイヤー */
.outer-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EFF8F7;
    z-index: 1;
}

/* ドーム状の白い容器 */
.dome-container {
    background-color: #fcffff;
    width: 90%;
    max-width: 850px;
    padding: 80px 40px 60px;
    border-radius: 425px 425px 0 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: "RocknRoll One", sans-serif;
    color: #4097B6;
    letter-spacing: 0.15em;
    font-size: clamp(28px, 2rem + 1vw, 40px);
    margin-top: 5.5vh;
    margin-bottom: 3.5vh;
}

.stars-area {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.stars-area img {
    width: clamp(var(--sp-img-width), 80%, var(--pc-img-width));
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    max-width: 80%;
}

.google-source-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 3.5vh;
}
.google-source-wrapper p {
    font-size: clamp(14px, 0.875rem + 1.36vw, 26px);
    color: #4097B6;
    font-weight: 700;
    margin: 0;
}


.voice-slider .swiper {
    transition: height 0.4s ease; 
    overflow: hidden;
    position: relative;
    padding-bottom: 30px; 
}

.voice-slider .swiper-slide {
    height: auto; 
    opacity: 0;
    transition: opacity 0.4s ease;
}
.voice-slider .swiper-slide-active {
    opacity: 1;
}

/* ナビゲーションボタン */
.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}
.nav-btn:hover { 
    transform: translateX(8px);
        }
.nav-btn svg {
    width: 6vw;
    height: auto;
    fill: var(--primary-color);
    transition: transform 0.3s ease, width 0.3s ease;
    margin: 20px 0;
    fill: #4097B6;
}

/* スライダー */
.swiper-container-outer {
    max-width: 620px;
    margin: 0 auto;
}
.testimonial-content {
    text-align: left;
    line-height: 1.8;
}
.message-text {
    font-size: clamp(13px, 4vw, 18px);
    font-weight: 500;
    line-height: 1.5;
    margin: 20px 0;
    color: #2c3e50;
}
.user-name {
    display: block;
    text-align: left;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* 下部イラストとリンクエリア */
        .outer-elements-container {
            position: absolute;
            bottom: 0; 
            width: 90%;
            max-width: 850px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end; 
            padding: 0 20px;
            z-index: 2;
            pointer-events: none; 
        }

        .outer-elements-container * {
            pointer-events: auto; 
        }


        .illustration-box img {
            display: block;
            width: 100%;
            max-width: 280px; 
            height: auto;
        }

/* ============================================
   ニュースセクション
   ============================================ */

.news-section {
  background-color: #FDFDED;
  padding: 64px 0 0  0;
  max-width: 100%;
  margin: 0 auto;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #5d5d5d;
}



/* Instagramアイコン */

.insta-left img {
    width: 20px; 
    height: auto;
    transition: opacity 0.3s;
}

.insta-left img:hover {
    opacity: 0.7;
}



/* --------------------------------------------
   ヘッダーエリア
   -------------------------------------------- */
.news-section .header-container {
    position: relative;
    text-align: center;
    margin-bottom: 48px;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.sp_news-frame {
    display: none !important;
}

.title-wrappee {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%; 

}

.news-section .sub-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffb7b2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.news-section .section-title {
    font-family: 'Kiwi Maru', serif;
    font-size: clamp(28px, 2rem + 1vw, 40px);
    letter-spacing: 0.01em;
    position: relative;
    display: inline-block;
    margin: 0;
}
.color-n {
    color: #71AA9F;
    font-weight: bold;
    font-size: 1.4em; 
}
.news-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffb7b2, transparent);
}

.news-section .info {
    margin-top: 24px;
    font-size: 0.875rem;
    color: #6b7280;
}
.insta-container {
    width: 100%;
    display: flex;
    justify-content: flex-end; 
   
}

.insta-right img {
    width: 230px;
    margin-top: 10px;
    margin-right: 4vw;
    height: auto;
    display: block;
}


/* --------------------------------------------
   インスタグラム風グリッド
   -------------------------------------------- */

.news-section .instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* デフォルトも3列 */
    gap: 1.5vw;
    width: 70%;
    margin: 0 auto;
}

@media (min-width: 768px) {
  .news-section .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* --------------------------------------------
   カードアイテム
   -------------------------------------------- */

.news-section .instagram-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: #eee;
  transition: transform 0.2s ease;
}

.news-section .instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: middle;
}

.news-section .instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-section .overlay-text {
  color: #fcffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid #fcffff;
  border-radius: 4px;
}


/* --------------------------------------------
   ホバー・インタラクション
   -------------------------------------------- */

.news-section .instagram-item:hover img {
  transform: scale(1.08);
}

.news-section .instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.news-section .instagram-item:active {
  transform: scale(0.98);
}

/* 教室紹介 */
.top-info-container {
    max-width: 1200px;
    padding: 80px 10vw 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
.details-list li {
    margin-bottom: 0.5em;
}
.details-list li span {
    display: inline-block;
    font-size: clamp(13px, 0.2rem + 2.2vw, 18px);
}
/* 日本教育脳協会セクション */
.ikunou-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 5px;
}
.ikunou-logo img {
    height: 45px;
    width: auto;
}
.ikunou {
    font-size: 0.75rem;
    text-align: left;
    line-height: 1.5;
    margin: 0;
    color: #29313D;
    font-weight: 500;
}

/* メインロゴ */
.info-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    display: inline-block;
}

/* 店舗情報ヘッダー */
.shop-info-header {
    margin-bottom: 35px;
}
.shop-name-main {
font-family: 'Kiwi Maru', serif;
font-size: clamp(24px, 4vw, 36px);
line-height: 1.2;
margin: 0;
color: #4097B6;
}
.shop-name-main span {
    font-size: smaller;
}

/* 店舗詳細セクション  */
.info-details-box {
    text-align: left;
    max-width: 500px;
    margin: 35px auto;
    padding: 25px;
    background-color: #fcffff;
    border: 1px solid #fcffff;
    border-radius: 0;
}
.details-list {
    display: inline-block;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}
.details-group {
    margin-bottom: 25px;
}

.details-group p {
    margin: 5px 0;
    font-size: 1.05rem;
}

.address-text {
    font-weight: bold;
    font-size: 1.15rem;
    color: #333;
}

.parking-info {
    font-size: 0.95rem;
    color: #666;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.parking-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 4px;
}

.map-section {
    display: flex;
    flex-direction: row; 
    margin: 40px 0 0px;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #eee;
    width: 100%; 
}

.image-container, .iframe-container {
    flex: 1;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    background-color: #f9f9f9;
    position: relative; 
}

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

.iframe-container iframe {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: none;
}

/* お問い合わせLINE */
.line-section {
    margin: 40px 0 30px;
}
.line-title {
    font-family: "RocknRoll One", sans-serif;
    font-size: clamp(15px, 0.21rem + 3.2vw, 18px);
    margin-bottom: 20px;
}
.line-title span {
    color: #06C755;
    text-decoration: underline;
}
.line-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.line-illust {
    width: 100px;
    height: auto;
}
.line-icon {
    width: 60px;
    height: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.line-icon:hover {
    transform: scale(1.1);
}


/* フッター */
.footer-visual {
    width: 100%;
    margin: 80px auto 0;
    line-height: 0;
}
.footer-visual img {
    width: 100%;
    height: auto;
    display: block;
}

footer {
    background-color: transparent;
    text-align: center;
    padding: 20px 0 30px;
}

.copyright {
    font-size: 0.8rem;
    color: #aaa;
    letter-spacing: 0.1em;
}

/* --- スクロールアニメーション設定 --- */
.reveal {
opacity: 0;
transform: translateY(30px); 
transition: opacity 1.0s ease-out, transform 1.0s ease-out; 
}

.reveal.is-visible {
opacity: 1;
transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }





/* ============================================
レスポンシブ (ブレークポイント 1177px: タブレット以上での調整)
============================================ */
@media screen and (max-width: 1200px) { 
.header-logo {
    width: clamp(150px, 20vw, 250px);
}
}

@media screen and (max-width: 1177px) {
.nav-pc { 
    display: none; 
}
.hamburger { 
    display: flex; 
}
.header-inner {
    display: flex;
}
.nav-pc-sns {
display: none;
}


.header {
    height: 90px; 
    box-shadow: none;
    background: transparent;
    pointer-events: none; 
}

/* FV (.hero) のマージン調整 */
.hero {
    margin-top: 0; 
}

/* ハンバーガーボタンの表示 */
.hamburger {
    display: flex; 
    z-index: 2000; 
    pointer-events: auto;
}

/* PCロゴの非表示 */
.header-logo {
    display: none;
}

/* SP用ロゴを表示し、FV下部に配置 */    
.sp-fv-logo-wrapper {
    display: block; 
    position: absolute;
    width: 300px;
    height: auto;
    bottom: 100px; 
    left: 50%; 
    transform: translateX(-50%);   
    z-index: 500;
}  

/* H2ラッパーの位置調整 */
.h2-wrapper {
    position: absolute; 
    bottom: 25px; 
    width: 100%;
    z-index: 10;
}  
.sp-logo {
    width: 100%;
    height: auto;
}


}  






/* ============================================
   レスポンシブ (ブレークポイント 768px: SP)
   ============================================ */
@media screen and (max-width: 768px) {

    .hero {
      height: 700px;
      max-width: none;
      margin: 0 auto;
      }

  
    .slider-container {
        height: 700px;
        max-width: none;
    }


    .sp-fv-logo-wrapper {
      bottom: 55px;
      width: 250px; 
      }
    
  
    .h2-wrapper {
      bottom: 0px; 
    }
    .h2-wrapper h2 {
    font-size: 20px;
  }
  

    .hero-catch {
        top: 5%;
        right: 5%;
        width: 55%;
        max-width: 350px;
    }

   .slide {
        background-position: center top; 
    }
  /* ----------------------------------
       PC用の鳥画像は非表示、SP用の鳥画像を表示する
       ---------------------------------- */
    .bird-icon-wrapper {
        display: none; 
    }

    .sp_bird-icon-wrapper {
        display: block; 
        position: absolute;
        top: 82%;
        right: 5%;
        width: 100px;
        height: auto;
        z-index: 10;
    }
    


    /* -------------------------------------------------------------------
       修正2: 詳細度を上げて、PC用の装飾（左右のイラストと波なみ画像）を確実に非表示にする
       ------------------------------------------------------------------- */
    .features-top-decoration .top-green-right,
    .features-top-decoration .top-green-left,
    .classes-decoration .class-green-right,
    .classes-decoration .class-green-left{
        display: none !important;
    }
    
    /* 波なみ装飾 (naminami.png) を非表示にする */
    .features-top-decoration > img:first-child, .classes-decoration > img:first-child { 
        display: none !important;
    }
    
    /* 新しいSP用の一体型画像をアクティブにする */
    .features-white-box .sp_top-green,
    .classes .sp_class-green {
        display: block !important;
        width: 100%;
        height: auto;
    }

     .features-top-decoration {
        margin-top: 50px; /* SP用に調整 */
    }

    .sp_top-green img, .sp_class-green img {
        width: 100%;
        display: block;
        height: auto;
    }
    .features-title {
        display: none;
    }
    .feature-box_box-yellow {
        border-radius: 0 40px 40px 0;
        margin-left: -1.5rem;
        width: calc(100% + 1.5rem - 30px);
        max-width: calc(100% - 6px);
        padding: 20px 0 20px 20px;
        margin-bottom: 40px;
        position: relative;
    }
    
    .deco-number {
        width: 14vw;
        top: -21px;
        right: -5vw;
    }
    .lesson {
        width: 25vw;
        top: 41px;
        right: 0;
    } 
    .deco-sparkle {
        width: 18vw;
        top: -10px;
        left: -10.2vw;
        transform: rotate(-72deg);
    }
    .non-cognitive-abilities {
        width: 24vw;
        top: 0px;
        left: 1vw;
    } 
    .feature-box_box-blue {
    border-radius: 40px 0 0 40px;
    margin-top: 10px;
    margin-right: -1.5rem; 
    width: calc(100% + 1.5rem - 20px); 
    max-width: calc(100% + 1.5rem); /* JSでの計算誤差を許容しない */
    padding: 20px 20px;
    margin-bottom: 40px;
    }   

    .main-content {
    overflow-x: hidden;
    width: 100%;    
    }
    .feature-box_box-blue_box-icon {
    top: 0.5vh;
    left: 31%;
}
    .feature-box_box-blue_box-icon img, .feature-box_box-yellow_box-icon img{
        width: 70%;
    }   

    .feature-box_box-yellow_box-list, .feature-box_box-blue_box-list {
        font-size: 16px;
    }
    .li-2 {
        left: 160px;
    }

    .blue_li-2 {
        left: 15vw;
    }
    .features-bottom {
        margin-top: 40px;
        align-items: center; 
        width: 100%;
        margin-bottom: 60px;
    }


    .bottom-message {
        font-size: clamp(16px, 4.5vw, 24px);
        line-height: 1.5;
    }
    .bottom-message p {
        width: 56vw;
    }

   
    .bottom-illust {
        margin-left: -1.5em;
    }

    .smile-links {
        align-self: flex-end;
        margin-top: -20px;
        margin-bottom: 20px;
        width: 100%;
        text-align: right;
    }    

    .classes {
        padding: 0;
        margin-top: -20px;
        margin-bottom: 60px;
    }

    .classes-title {
        display: none;
    }

    .class-title .black{
    font-weight: 600;
    } 
    .class-title .green {
        font-weight: 600;
    }
    .class-title .pink {
        font-weight: 600;
    }
    .title_left {
        width: 100%;
    }

    .title_right {
        width: 100%
    }
    .title_left img {
        top: -5vh;
        left: 1vw;
        width: 14vw;
        transform: rotate(25deg);
    }
    .youji-container .title_left img {
        top: -60px;
        left: 0;
        width: 16vw;
    }
    .syougakusei-container .title_left img {
        top: -7vh;
        left: 0vw;
        width: 14vw;
    }
    .title_right img {
        top: -13vw;
        width: 18vw;
    }

    .class-content_main {
        flex-direction: column; 
        gap: 20px;
    }

    .subtitle_wrapper {
        display: block;
        height: auto;
    }
    
    .subtitle_left {
        width: 100%;
        height: 200px;
    }

    .baby-lead {
        display: block;
        width: 100%;
        margin-top: 20px; 
    }

    .bunri {
    margin-bottom: 40px;
}

    .baby-description {
        padding: 10px 4vw;
    }

  
    .class-links_wrapper {
        display: flex;
        flex-direction: row; 
        justify-content: space-between;
        gap: 10px;
        margin-right: 30px;
    }

     .smile-links a, .price-links a {
        font-size: clamp(13px, 3vw, 25px);
        width: 40vw;
    }
    
    .nouiku-links a, .wara-links a {
        font-size: clamp(13px, 3vw, 25px);
        width: 110px;
    }

    .nouiku-links a, .wara-links a {
    position: relative;
    display: inline-block;
    font-family: 'Yomogi', cursive;
    font-size: clamp(13px, 3vw, 20px);
    text-decoration: none;
    padding-bottom: 10px;
    transition: opacity 0.3s;
    color: #29313D;
    width: 65%;
    text-align: center;
    }

    .news-decoration img {
    width: 80%;
}

    .cta-btn {
        height: 35px;
    }


}

@media (max-width: 650px) { 
.info-details-box {
    width: 90%;
    margin: 25px auto;
}
.cta-btn {
    font-size: clamp(15px, 5.506px + 2.208vw, 32px);
    padding: 15px 30px;
    min-width: auto;
    width: 100%;
}
}

/* ============================================
   レスポンシブ (ブレークポイント 430px: iPhone SE/小型SP)
   ============================================ */
   @media screen and (max-width: 430px) {
  
    .slide-1 { background-image: url("../img/top/sp-top1.png"); }
    .slide-2 { background-image: url('../img/top/sp-top2.png'); }
    .slide-3 { background-image: url('../img/top/sp-top3.png'); }

    .hero-catch {
      top: 15%;
      right: 5%;
      width: 65%;
      max-width: 250px;
    }
    .sp-fv-logo-wrapper {
      display: none;
    }
    
    .h2-wrapper {
      display: none;
    }
    .sp_bird-icon-wrapper {
    top: 76%;
    right: 1%;
    width: 100px;
    }

  .futaba-icon {
    left: 20px;
  }

.feature-box_box-yellow_box-icon {
    top: 8px;
    left: 5%;
}
.feature-box_box-yellow h3 {
    padding-left: 10%;
}
.feature-box_box-yellow_box-lead {
    margin-left: 9%;
}

.feature-box_box-blue_box-icon img, .feature-box_box-yellow_box-icon img{
    width: 50%;
} 
.feature-box_box-yellow_box-list {
    font-size: 13px;
    margin-left: 6%;
}
.feature-box_box-blue_box-list {
    font-size: 13px;
    margin-left: 26%;
}
.feature-box_box-yellow_box-list li::before {
    width: 4px;
    height: 4px;
}
.feature-box_box-blue_box-list li::before {
    width: 4px;
    height: 4px;
}
.lesson {
    top: 65px;
    right: -6vw;
    width: 100px;
}
.deco-number {
    top: 27px;
    right: -43px;
    width: 18%;
}
.non-cognitive-abilities {
    top: 35px;
    left: -10vw;
    width: 100px;
}
.deco-sparkle {
    top: 12px;
    left: -59px;
    width: 70px;
    transform: rotate(-55deg);
}
.li-2 {
    left: 125px;
}
.feature-box_box-blue_box-icon {
    top: 0.7vh;
    left: 11%;
}
.feature-box_box-blue h3 {
    padding-left: 21%;
}
.feature-box_box-blue_box-lead {
    margin-left: 22%;
}

.smile-links a, .price-links a {
    width: 42vw;
}

.subtitle span.space {
    margin-left: 1vw;
}


.baby-container, .youji-container {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-top: 50px;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
    padding: 10px 15px !important;
    border-radius: 0 !important;
    }
.syougakusei-container {
    width: 100vw !important;   
    position: relative;
    left: 50%;
    right: 50%;
    margin-top: 50px;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
    border-radius: 0 !important;
    padding: 10px 15px !important;
    border-radius: 5% 5% 40% 40% / 0 0 150px 150px !important;
    padding-bottom: 60px !important;
}
.subtitle_wrapper {
    gap: clamp(0px, 0, -24px);
}

.title_left img {
    top: -3vh;
    left: 3vw;
    width: 15vw;
}
.youji-container .title_left img {
    top: -30px;
    left: 0;
    width: 16vw;
}
.syougakusei-container .title_left img {
    top: -4vh;
    left: -9px;
    width: 15vw;  
}
.title_right img {
    right: 0vw;
    width: 24vw;
    top: -24vw;
}
.subtitle_left {
    height: 140px;
}
.class-title h3 {
    margin-left: 6vw;
    font-size: 20px;
}
.youji-container .class-title h3 {
    margin-left: 14vw;
}
.syougakusei-container .class-title h3 {
    margin-left: 12vw;
}
.classes-lead {
    padding: 0px 5vw;
}
.title_wrapper {
    margin-bottom: 20px;
}

.nouiku-links a::after,
.wara-links a::after,
.smile-links a::after,
.price-links a::after {
    width: 10px;
}

.bottom-message-wrapper {
    padding-bottom: 40px;
}

/* 保護者様スライド */
.testimonials-section {
    padding: 20px 0 0px 0;
}
.outer-bg-layer{
    border-radius: 40% 40% 0 0 / 150px 150px 0 0;
    height: 103%;
}

.dome-container {
    border-radius: 40% 40% 0 0 / 150px 150px 0 0;
    padding: 40px 15px 60px;
}

.news-decoration {
    display: none;
}
.news-section {
    padding: 6px 0px;
    margin-top: 280px;
}

.news-section .header-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -117px;
    padding: 0;
}

.sp_news-frame {
    display: block !important; 
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    z-index: -1;
    pointer-events: none;
    object-fit: contain;
}

.news-section .section-title {
    font-size: 23px;
}

.news-section .section-title::after {
    display: none;
}

.insta-right img {
    width: 120px; 
}

.header-container {
    padding: 40px 20px;
}

.news-section .info {
    font-size: 13px;
    margin-top: 15px;
    max-width: 260px; 
    line-height: 1.5;
}
.outer-elements-container {
    gap: 10px;
    padding: 0 10px;
}

.details-list {
    font-size: 14px;
}
.outer-elements-container * {
    pointer-events: auto;
}
.testimonials-section .class-links_wrapper {
    width: 100%;
    height: auto;
}
.testimonials-section .voice-links {
    margin-right: 0;
}
.testimonials-section .btn-price {
    width: 86%;
    margin-right: -20px;
}
.cta-btn {
    font-size: clamp(15px, 5.506px + 2.208vw, 32px);
    width: 300px;
}

}