/* -------- 全体のベースデザイン -------- */

body {
    font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
    background: #faf7f2 url("images/haikei6.png");
    background-repeat: repeat;
    background-size: 500px auto; /* ← 音符を小さくして控えめに */
    color: #333;
    margin: 0;
    line-height: 1.8;
    opacity: 0.95; /* ほんの少し薄く見せる */
}

/* セクションの上下の余白を統一 */
section {
    padding: 50px 0;
}
.hero img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}
/* トップの写真（ヒーロー）を可愛く整える */
.hero {
    margin: 20px 0;
}

.hero img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
}
/* 画面の横幅が600px以下（スマホ）のときのデザイン */
@media (max-width: 600px) {

    nav {
        display: block;
        line-height: 2.2;
    }

    nav a {
        display: inline-block;
        padding: 5px 0;
        font-size: 14px;
    }

    h1 {
        font-size: 26px;
    }

    p, li {
        font-size: 14px;
    }

    .hero img {
        border-radius: 10px;
    }
}
/* -------- HERO（トップの写真エリア） -------- */

.hero {
    padding: 60px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.hero-text .sub {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.cta {
    display: inline-block;
    background: #ff9b9b;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: 0.2s;
}

.cta:hover {
    background: #ff7b7b;
    transform: translateY(-2px);
}

.hero-img {
    flex: 1;
}

.hero-img img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
/* -------- FEATURE セクション -------- */

.feature {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.feature h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

.feature h2 span {
    font-size: 14px;
    color: #ff9b9b;
    letter-spacing: 2px;
}

.feature-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
/* -------- COURSES（料金） -------- */

.courses {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.course-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.course-card {
    background: white;
    width: 300px;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.25s;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #444;
}

.course-card .price {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ff7b7b;
}

.card {
    background: white;
    width: 300px;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #444;
}

.card p {
    font-size: 16px;
    color: #666;
}
/* -------- ACCESS（アクセス） -------- */

.access {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.access-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.access-info {
    flex: 1;
    font-size: 18px;
    color: #444;
}

.access-info p {
    margin-bottom: 10px;
}

.access-map {
    flex: 1;
}

.map-placeholder {
    background: #e8e2db;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 16px;
}
/* -------- CONTACT（お問い合わせ） -------- */

.contact {
    padding: 60px 20px;
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.contact p {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
}
/* -------- セクション見出し（教育サイト風） -------- */

h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
}

h2 span {
    display: block;
    font-size: 14px;
    color: #e58f8f;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
/* -------- GALLERY（教室写真）-------- */

.gallery {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.gallery h2 span {
    color: #ff9b9b;
    letter-spacing: 2px;
}

.gallery-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-images img {
    width: 30%;
    min-width: 260px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    object-fit: cover;
}
/* -------- LESSON PAGE（レッスン内容ページ） -------- */

.lesson-page {
    max-width: 900px;  /* 文章が読みやすい幅に固定 */
    margin: 0 auto;    /* 左右中央寄せ */
    padding: 40px 20px;
}
.lesson-page h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}
/* -------- PROFILE（講師紹介） -------- */

.profile-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.profile-img img {
    width: 260px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.profile-text {
    flex: 1;
}

.profile-text h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.profile-text h3 {
    margin-top: 20px;
    font-size: 20px;
    color: #444;
}

.profile-text ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.profile-text p {
    line-height: 1.8;
    color: #444;
}
/* -------- EFFORTS（教室の取り組み） -------- */

.efforts-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.efforts-page h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.efforts-page h2 {
    margin-top: 40px;
}

.efforts-page p, 
.efforts-page ul {
    line-height: 1.8;
    color: #444;
}

.efforts-page ul {
    margin-left: 20px;
    margin-bottom: 20px;
}
/* -------- ACCESS PAGE -------- */

.access-page {
    max-width: 900px;
    margin: 40px auto 40px;
    padding: 40px 20px;
}

.access-page h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.access-info-block h2 {
    margin-top: 30px;
    font-size: 22px;
    color: #444;
}

.access-info-block p {
    line-height: 1.8;
    color: #555;
}

.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.access-page {
    text-align: center;
}
/* -------- 講師紹介ページ -------- */

.profile-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.profile-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-photo img {
    width: 260px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.profile-text h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #444;
}

.profile-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 700px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-text {
        text-align: left;
    }
}
/* -------- 教室の取り組みページ -------- */

.efforts-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.efforts-page h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.effort-block {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.effort-block h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #444;
}

.effort-block ul {
    padding-left: 20px;
    line-height: 1.8;
}

.effort-block p {
    line-height: 1.8;
}

/* スマホ調整 */
@media (max-width: 700px) {
    .effort-block {
        padding: 20px;
    }
}
/* -------- ギャラリーページ -------- */

.gallery-page {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.gallery-header h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.gallery-group {
    margin-bottom: 50px;
}

.gallery-group h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #444;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-grid img {
    width: calc(33.33% - 10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    object-fit: cover;
}

@media (max-width: 700px) {
    .gallery-grid img {
        width: calc(50% - 10px);
    }
}
/* -------- トップページのギャラリー -------- */

.home-gallery {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.home-gallery h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.gallery-preview {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gallery-preview img {
    width: 45%;               /* 横長に */
    height: 250px;            /* 高さを固定して横長に見せる */
    object-fit: cover;        /* 切り取りで綺麗に見せる */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
/* ======== 固定ナビバー（ヤマハ風） ======== */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* スクロールしたら背景を真っ白にする */
.site-header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-inner {
    max-width: 1100px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    margin-right: 20px;
}

.main-nav a {
    margin-right: 18px;
    text-decoration: none;
    color: #444;
    font-size: 15px;
    position: relative;
    padding-bottom: 4px;
}

/* 下線スライドのホバー */
.main-nav a {
    position: relative;
}

.main-nav a:hover::after {
    animation: swipeLeft 0.7s ease forwards;
}
.main-nav a:hover::after {
    animation: underlineTwice 0.8s ease forwards;
}
@keyframes swipeLeft {
    0%   { width: 0%; left: 0%; }      /* 開始 */
    50%  { width: 100%; left: 0%; }    /* まず全体が出る */
    100% { width: 0%; left: 100%; }    /* ← 左へスーッと抜ける */
}

/* 右端の「お問い合わせ」だけ特別デザイン */
.contact-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #ff9b9b;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.contact-btn:hover {
    background: #ff7b7b;
    transform: translateY(-2px);
}

/* ======== ページタイトル統一 ======== */
.page-title {
    text-align: center;
    font-size: 32px;
    margin: 100px 0 60px; /* 上だけ多めに空ける（固定ヘッダーぶん） */
    font-weight: 600;
    color: #333;
}
/* ======== ふわっと出現アニメーション ======== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
body {
    padding-top: 80px; /* ← 固定ヘッダーの高さ分の余白を作る */
}
.blog-page {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
    text-align: center;
}

.blog-page h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.blog-info {
    line-height: 1.8;
    color: #555;
    font-size: 18px;
    margin-bottom: 30px;
}

.blog-button-area .cta {
    padding: 14px 28px;
    font-size: 18px;
}
/* ====== トップページ：ブログカード ====== */
.home-blog {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.home-blog h2 span {
    color: #ff9b9b;
    letter-spacing: 2px;
}

.home-blog-card {
    background: white;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.home-blog-card p {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
}
/* ======= ブログリスト（NEW付き） ======= */
.blog-item {
    background: white;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-item a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
}

.new-badge {
    background: #ff7b7b;
    color: white;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 12px;
    font-weight: bold;
}
/* ===== BLOG（最新記事カード） ===== */

.home-blog {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

#blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-item {
    background: white;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.25s;
    position: relative;
}

.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.blog-item a {
    font-size: 18px;
    color: #444;
    text-decoration: none;
    font-weight: bold;
}

.new-badge {
    background: #ff7b7b;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: 8px;
}
/* ======= BLOG カードデザイン ======= */

.home-blog {
    padding: 40px 20px; /* ←余白少なめに調整 */
    max-width: 1000px;
    margin: 40px auto; /* ←上下もコンパクト */
}

.blog-cards {
    display: flex;
    flex-direction: column;
    gap: 14px; /* ←カード間の余白 */
}

.blog-item {
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    transition: 0.2s;
}

.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.blog-item a {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #444;
}

.blog-date {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #888;
}

.new-badge {
    display: inline-block;
    background: #ff6e6e;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 8px;
    font-weight: bold;
}

/* メニュー本体（最初は隠れてる） */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;   /* ★ここを -100% に変更！ */
    width: 70%;
    height: 100%;
    background: #fff;
    padding: 40px 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
    transition: 0.3s;
    z-index: 998;
}

/* 開いた状態 */
.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #444;
}
.blog-left {
    display: flex;
    align-items: center;
    gap: 6px;
}
/* お問い合わせページ */
.contact-page {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.form-wrapper {
    width: 100%;
    overflow: hidden;
}

.form-wrapper iframe {
    width: 100%;
    border: none;
}

/* ======== VIDEO PAGE（動画ページ） ======== */

.video-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.video-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

/* 2つ以上動画が増えた時：PCでは2列 */
@media (min-width: 750px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* ==== HERO 新デザイン ==== */
.hero-bg {
    position: relative;
    height: 75vh;
    background: url("images/pianoim.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 写真の上に薄い黒フィルター */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* 中央テキスト */
.hero-center {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
    animation: fadeUp 1.2s ease-out;
}

.hero-center h1 {
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.hero-center .sub {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* フワッと上に出るアニメーション */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.access-map iframe {
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.access-info {
    flex: 1;
    font-size: 18px;
    color: #444;
    text-align: center;   /* ← 追加！ */
}
.access-inner {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
/* スマホでは背景がズレないように固定解除 */
@media (max-width: 650px) {
    body::before {
        background-size: 200px auto; /* 少し小さく */
        opacity: 0.05;               /* さらに薄めに */
        position: absolute;          /* ←ズレ防止の決め手 */
    }
}

/* ======== VIDEO PAGE（動画ページ） ======== */
.video-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.video-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

/* 動画ページ専用の video-wrapper */
.video-page .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-page .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* PC 2列 */
@media (min-width: 750px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* ===== ホーム用：動画エリア ===== */
.home-video {
    max-width: 900px;
    margin: 40px auto 0; 
    padding: 0 20px;
    text-align: center;
}

.home-video h2 span {
    color: #ff9b9b;
    letter-spacing: 2px;
}

/* ホーム動画専用ラッパー */
.home-video .video-wrapper {
    max-width: 620px;
    margin: 0 auto 0;
}

.home-video .video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ボタンとの間を詰める */
.home-video p {
    margin-top: 5px;
}
/* ===========================
   ★ レッスンページ 見出しデザイン改善
   =========================== */

.lesson-page h2 {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #ff8a8a;          /* ピンクで可愛く */
    margin: 70px 0 25px;     /* 上の余白をしっかり */
    position: relative;
}

/* 下線（アクセントライン） */
.lesson-page h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ffb3b3;
    margin: 10px auto 0;
    border-radius: 3px;
}

/* ===========================
   ★ レッスン内容をカードデザインに
   =========================== */

.lesson-box {
    background: #ffffff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    margin: 0 auto 40px;
    max-width: 800px;
    line-height: 1.9;
    font-size: 17px;
}

/* 可愛い小アイコン（音符） */
.lesson-box::before {
    content: "🎵";
    font-size: 26px;
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

/* ===========================
   ★ 料金カードの間の余白を増やす
   =========================== */

.course-card {
    margin-top: 40px !important;
}
/* レッスンページ全体を中央揃えにする */
.lesson-page {
    text-align: center;
}

/* 段落（p）も中央 */
.lesson-page p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* レッスン内容のカード（lesson-box）も中央ですでにOKだが念のため */
.lesson-box {
    text-align: center;
}

/* 料金のカード（course-card）も中央揃え */
.lesson-page .course-card {
    text-align: center !important;
}
/* レッスンページの料金カードを横いっぱいに広げる */
.lesson-page .course-card {
    width: 100%;
    max-width: 650px;  /* ← おしゃれに見える幅に制限 */
    margin: 0 auto 30px;  /* ← 中央 & 下余白 */
    text-align: center;
}
/* 写真そのまま（四角） */
.profile-photo {
    width: 260px;
    flex-shrink: 0;
}

.profile-photo img {
    width: 100%;
    height: auto;      /* ← 切り取りなしでそのまま */
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* タイトルと横並び */
.profile-top {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    margin: 40px auto;
    text-align: left;
}

/* タイトル */
.profile-title {
    font-size: 38px;
    font-weight: bold;
    color: #444;
}

/* 本文は中央揃え */
.profile-text {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.profile-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.profile-top {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 40px auto;
    justify-content: center;
    text-align: left; /* タイトルは左寄せ */
}

.profile-title {
    font-size: 38px;
    font-weight: bold;
    color: #444;
}
.profile-text {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;  /* ← 中央揃え */
}

.profile-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.profile-text li {
    margin-bottom: 6px;
}
.teacher-name-tag {
    display: inline-block;
    background: #ff9b9b;
    color: white;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    margin: 20px auto 30px;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
/* ===== 講師紹介：上段レイアウト ===== */

.profile-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
margin-bottom: 20px;
}

.profile-photo img {
    width: 200px;     /* ← 160 → 200 にアップ */
    height: 200px;    /* ← 同じく大きく */
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffe0e0;
    box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}

.profile-header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #444;
}

.teacher-name-tag {
    padding: 8px 16px;
    background: #ffb7c5;
    color: #fff;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}

/* ===== 下段（本文） ===== */
.profile-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;      /* ←ここで中央寄せ */
    line-height: 1.9;
}

.profile-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.profile-text ul li {
    margin-bottom: 8px;
}

.profile-text h3 {
    margin-top: 30px;
    font-size: 22px;
    color: #444;
}
/* ============================
   教室の取り組みページ（ヤマハ公式風）
   ============================ */

/* 全体の余白調整 */
.efforts-page {
    max-width: 900px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

/* ページタイトル */
.efforts-page .page-title {
    font-size: 34px;
    color: #444;
    margin-bottom: 50px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* 見出し（ヤマハ公式っぽく左にライン） */
.effort-block h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    padding-left: 14px;
    border-left: 4px solid #ff9b9b; /* ピンクのアクセントライン */
    margin-bottom: 18px;
    letter-spacing: 1px;
}

/* 各ブロック（カード） */
.effort-block {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
    margin-bottom: 32px;
    line-height: 1.85;
}

/* 箇条書き（上品な丸） */
.effort-block ul {
    margin-top: 14px;
    padding-left: 0;
}

.effort-block ul li {
    list-style: none;
    padding-left: 18px;
    position: relative;
    margin-bottom: 10px;
}

/* 小さくて上品な丸（ヤマハっぽい） */
.effort-block ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #ff9b9b;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

/* テキスト */
.effort-block p {
    color: #555;
    font-size: 16.5px;
    line-height: 1.9;
}

/* ボタン（ブログへ） */
.effort-block .cta {
    margin-top: 15px;
}

/* スマホ調整 */
@media (max-width: 700px) {
    .efforts-page {
        padding: 0 16px;
    }

    .effort-block {
        padding: 26px 20px;
    }

    .effort-block h2 {
        font-size: 20px;
        border-left-width: 3px;
    }

    .efforts-page .page-title {
        font-size: 28px;
    }
}
/* ===== 可愛いボタン（ブログ・体験レッスン共通） ===== */
.cute-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #ff9b9b;
    color: #fff;
    font-weight: bold;
    border-radius: 28px;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.25s;
    letter-spacing: 1px;
}

.cute-btn:hover {
    background: #ff7b7b;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.20);
}
/* ====== アクセスページ 2カラム ====== */

.access-flex {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 左カラムと右カラム */
.access-left {
    flex: 1;
}

.access-right {
    flex: 1;
}

.access-item {
    margin-bottom: 30px;
}

.access-item h2 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #444;
}

/* 地図のデザイン */
.map-container {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== スマホでは縦並びにする ===== */
@media (max-width: 750px) {

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

    .map-container iframe {
        height: 300px;
    }
}

/* ===== アクセスページ（シンプル版） ===== */

.access-page {
    max-width: 900px;
    margin: 40px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.access-item {
    margin-top: 30px;
}

.access-item h2 {
    font-size: 22px;
    color: #444;
    margin-bottom: 10px;
}

.access-item p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}



/* ==========================
   スマホ専用：フローティングお問い合わせ
   ========================== */
@media (max-width: 750px) {

  /* ヘッダー内のボタンは非表示にして… */
  .nav-right .contact-btn {
    display: none;
  }

  /* 右下に浮かせる新デザイン */
  .floating-contact {
    position: fixed;
    right: 14px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 140px;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffb7c5, #ff9b9b);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    opacity: 0.9;
    backdrop-filter: blur(4px);
  }
}

/* === スマホ：講師紹介のレイアウト調整 === */
@media (max-width: 750px) {

  .profile-header-row {
      flex-direction: column;
      gap: 18px;
      text-align: center;
  }

  .profile-photo img {
      width: 160px !important;
      height: 160px !important;
  }

  .profile-header-text {
      align-items: center !important;
      text-align: center !important;
  }
}
/* === アクセスページ：地図が消える不具合修正 === */
.map-container {
    display: block !important;
}

.map-container iframe {
    display: block !important;
}

.access-right {
    overflow: visible !important;
}

/* ===========================
   スマホ用：メニューを2段に寄せる
   =========================== */
@media (max-width: 750px) {
    .nav-inner {
        flex-direction: column;
        align-items: center;
        padding: 8px 0;
        gap: 6px;
    }

       .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 6px;      /* ←隙間さらに小さく */
        width: 100%;
        padding: 0 4px;    /* ←左右も少し削る */
        max-width: 360px;  /* ←幅を少しだけ広げる */
    }

    .main-nav a {
        background: #e5e5e5;
        padding: 4px 8px;  /* ←ここは上の !important と同じくらいに */
        border-radius: 18px;
        font-size: 12px;
        font-weight: 600;
        color: #444;
        text-decoration: none;
        display: inline-block;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 70px;
    }
} 

/* ==========================
   サイト最上部のロゴ（中央・薄ピンク）
   ========================== */
.site-top-logo {
    text-align: center;
    font-size: 30px;            /* ← 大きさ（おまかせで美しい） */
    font-weight: 700;
    color: #ffb7c5;             /* ← ほんのりピンク */
    padding: 20px 0 10px;       /* ← 上20 / 下10で上品に */
    letter-spacing: 2px;        /* ← 少し広げて高級感 */
    text-shadow: 0 2px 6px rgba(255, 182, 193, 0.35);
    font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* PCで下のメニューがくっつかないように軽く余白 */
@media (min-width: 751px) {
    .site-header {
        margin-top: 0px;
    }
}

/* スマホ版も中央に綺麗に表示 */
@media (max-width: 750px) {
    .site-top-logo {
        font-size: 26px;
        padding: 16px 0 6px;
    }
}
/* スマホでは左端ロゴを消す */
@media (max-width: 750px) {
    .logo {
        display: none !important;
    }
}
/* PCではピンクロゴを消す */
@media (min-width: 751px) {
    .site-top-logo {
        display: none !important;
    }
}

/* スマホでは表示 */
@media (max-width: 750px) {
    .site-top-logo {
        display: block;
        text-align: center;
        font-size: 22px;
        font-weight: 700;
        color: #ffb7c5;
        padding: 8px 0 0;   /* ← 上余白を最小に調整 */
        letter-spacing: 2px;
        text-shadow: 0 2px 6px rgba(255, 182, 193, 0.35);
    }
}
/* ===========================
   スマホ版：上の余白をギュッと縮める
   =========================== */
@media (max-width: 750px) {

    .site-top-logo {
        padding-top: 4px !important;
        margin-top: 0 !important;
        margin-bottom: 6px !important;
    }

    .nav-inner {
        padding: 0 !important;
        margin: 0 !important;
        gap: 4px !important;
    }

    .main-nav {
        padding-top: 0 !important;
        padding-bottom: 4px !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    /* ★ボタンはさらに細く・小さくする */
    .main-nav a {
        padding: 4px 8px !important;   /* ←横の余白をかなり削る */
        font-size: 12px !important;    /* ←文字も少し小さく */
    }
}

/* ===== 生徒の受賞歴（中央寄せ・左寄り解消） ===== */
.awards-list {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  max-width: 720px;     /* 横幅を絞って中央に見せる */
  text-align: center;   /* 文字も中央 */
}

.awards-list li {
  padding: 14px 10px;
  margin: 0 auto 10px;
  border-bottom: 1px solid #f0eded;
}

.awards-list li::before {
  display: none;        /* 左の●は消す（左寄りの原因） */
}

.career-note {
  text-align: center;
  margin-top: 18px;
  color: #555;
  line-height: 1.9;
}
/* 教室行事：読みやすく中央寄せ */
.events-note,
.events-list {
  text-align: center;
}

.events-list {
  list-style: none;
  padding: 0;
  margin: 14px auto 0;
}

.events-list li::before {
  display: none; /* 左の●を消して中央感UP */
}
/* FEATURE リード文 */
.feature-lead {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    color: #555;
    line-height: 1.9;
    font-size: 16.5px;
}

.feature-lead p {
    margin-bottom: 14px;
}
/* ===== FAQ ===== */
.faq-page {
  max-width: 900px;
  margin: 10px auto 60px;
  padding: 0 20px;
}

.faq-block {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
  margin-bottom: 22px;
}

.faq-subtitle {
  font-size: 20px;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid #ff9b9b;
  color: #333;
  letter-spacing: 0.5px;
}

/* 開閉アイテム */
.faq-item {
  border-top: 1px solid #f0eded;
  padding: 10px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid #f0eded;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #444;
  line-height: 1.6;
  padding: 10px 8px;
  position: relative;
}

/* Safariの三角を消す */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* 右側の + / - */
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff7b7b;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-answer {
  padding: 0 8px 12px;
  color: #555;
  line-height: 1.9;
}

.faq-answer p {
  margin: 8px 0 0;
}

/* 箇条書き */
.faq-list {
  margin: 10px auto 0;
  padding-left: 0;
  list-style: none;
  max-width: 680px;
}

.faq-list li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
}

.faq-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ff9b9b;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

/* CTA */
.faq-cta {
  text-align: center;
  margin-top: 18px;
}

/* スマホ調整 */
@media (max-width: 700px) {
  .faq-block {
    padding: 22px 16px;
  }
  .faq-item summary {
    padding-right: 34px; /* + の分 */
  }
}
/* スマホだけ：ヒーロー説明文を小さく */
@media (max-width: 600px) {
  .hero-center .sub {
    font-size: 14px;   /* だいたい0.8倍 */
    line-height: 1.7;
  }
}
@media (max-width: 600px) {
  .hero-center p.sub {
    font-size: 1４px !important; /* ← 強制的に0.8倍 */
    line-height: 1.7;
  }
}
/* スマホではヘッダー固定をやめる */
@media (max-width: 750px) {
  .site-header {
    position: static;  /* ← fixed を上書きして普通の位置に戻す */
  }

  body {
    padding-top: 0;    /* ← 固定ヘッダー用の余白も消す */
  }
}
/* ===== スマホ版メニュー：2列固定 ===== */
@media (max-width: 750px) {

  .nav-inner {
    flex-direction: column;
    align-items: center;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ←必ず2列 */
    gap: 10px 12px;                         /* 行と列のすき間 */
    width: 100%;
    max-width: 380px;                       /* ロゴの下の帯の幅 */
    margin: 0 auto;
  }

  .main-nav a {
    display: block;
    text-align: center;
    background: #e5e5e5;
    padding: 8px 6px;                       /* 中の余白 */
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
  }
}
/* =========================
   スマホ：演奏動画セクションの余白を詰める
   ========================= */
@media (max-width: 600px) {

  /* セクション全体の上下余白 */
  .home-video {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }

  /* 見出しと動画の間 */
  .home-video h2 {
    margin-bottom: 16px !important;
  }

  /* 動画とボタンの間 */
  .home-video p {
    margin-top: 10px !important;
  }
}/* ==========================
   スマホ版：演奏動画セクションの余白をなくす
   ========================== */
@media (max-width: 750px) {

  /* セクション全体の上下余白を消す */
  .home-video {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 見出しの上下余白を詰める（ほぼゼロ） */
  .home-video h2 {
    margin: 0 0 8px !important;
  }

  /* 動画ラッパー周りの余白を消す */
  .home-video .video-wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 下のボタンとの余白も最小に */
  .home-video p {
    margin-top: 6px !important;
  }
}
/* スマホ：演奏動画セクションの上下の空白を完全に消す */
@media (max-width: 750px) {
  section.home-video {
    padding: 0 !important;
    margin: -50px 0 !important; /* ← 直前/直後sectionの 50px を相殺 */
  }

  section.home-video h2 {
    margin: 0 0 6px !important;
  }

  section.home-video .video-wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }

  section.home-video p {
    margin: 6px 0 0 !important;
  }
}
