@charset "utf-8";

/* ヘッダー周りの余白を詰める */
.site-header {
    margin: 0 !important;
    padding: 0;
    width: 100%;
    background: #fff; /* 必要に応じて調整 */
}

/* WordPressログイン時の管理バーを非表示にする（余白の原因になる場合） */
#wpadminbar {
    display: none !important;
}


/* --- 3. コンテンツがヘッダーに隠れないための調整 --- */
/* ヘッダーを固定(fixed)にした場合のみ、最初のセクションに余白を入れる */
.hero-section {
    margin-top: 0;
    padding-top: 0;
}

/* --- ヒーローセクション（土台） --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 背景スライド（Swiper） */
.swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 全幅の黒レイヤー（オーバーレイ） */
.hero-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 全幅100%に修正 */
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4); /* 黒レイヤー */
}

/* サイト幅（1200px）のコンテナ */
.hero-content {
    width: 100%;
    max-width: 1200px; /* ここをサイト幅の基準にする */
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
}

/* テキストエリアの幅制限（ロゴと重ならないように） */
.hero-tag, 
.hero-headline, 
.hero-description, 
.hero-btns {
    max-width: 650px;
}

/* ロゴ配置（1200pxの枠内の右側に配置） */
.hero-logo-container {
    position: absolute;
    right: 40px; /* 1200px枠の右端からの距離 */
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    z-index: 20;
}

.hero-logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* --- 装飾・ボタン --- */
.hero-tag {
    background-color: #fff;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #4a5a4a;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-yellow, .btn-white {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.btn-yellow { background-color: #ffcc00; color: #2d3a2d; }
.btn-white { background-color: #fff; color: #2d3a2d; border: 1px solid #eee; }

/* --- スマホ対応 (768px以下) --- */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 700px;
    }

    .hero-inner {
        padding: 80px 0;
    }

    .hero-content {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-tag, .hero-headline, .hero-description, .hero-btns {
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-yellow, .btn-white {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-logo-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 40px auto 0;
        width: 150px;
        padding-bottom: 120px;
    }
}



/* ==========================================================================
   ABOUT Section
   ========================================================================== */
.about-section {
    padding: 80px 20px;
    background-color: #fff;
    color: #2d3a2d;
    overflow: hidden;
    position: relative;
}

/* 背景の装飾ロゴ */
.about-section::after {
    content: "";
    position: absolute;
    right: -50px;
    top: 20%;
    width: 300px;
    height: 300px;
    background-image: url('../images/logo_housedance_nowa_white.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* 左側：画像エリア */
.about-image-column {
    flex: 1;
}

.image-wrapper {
    position: relative;
    transform: rotate(-3deg);
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

.yellow-tag {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: #ffcc00;
    color: #2d3a2d;
    padding: 20px 30px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.4;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: rotate(3deg);
}

/* 右側：テキストエリア */
.about-text-column {
    flex: 1.2;
}

.about-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.about-title span {
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 5px;
    color: #4a5a4a;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 特徴リスト */
.about-features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background-color: #f1f5f1;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4a5a4a;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 0.95rem;
    font-weight: bold;
    margin: 0 0 2px 0;
}

.feature-content p {
    font-size: 0.8rem;
    color: #8a9a8a;
    margin: 0;
}

/* レスポンシブ (900px以下) */
@media (max-width: 900px) {
    .about-inner {
        flex-direction: column;
        gap: 80px;
    }
    
    .about-image-column {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }

    .yellow-tag {
        font-size: 1rem;
        padding: 15px 25px;
    }
}



/* ==========================================================================
   CLASS Section
   ========================================================================== */

.classes-section {
    padding: 60px 20px;
    background-color: #f8f9f8;
    color: #2d3a2d;
    font-family: inherit;
}

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

.classes-title {
    font-size: 2.2rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.classes-title span {
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 5px;
}

/* クラスグリッド */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.class-card {
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: left;
}

.class-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4a5a4a;
}

.class-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.class-card .age {
    font-size: 0.85rem;
    color: #8a9a8a;
    margin-bottom: 15px;
}

.class-card .price {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

/* 兄弟割引バナー (両端揃え) */
.discount-banner {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 20px 40px;
    display: flex;
    justify-content: flex-start; /* 左寄せに変更 */
    align-items: center;         /* 上下中央揃え */
    text-align: left;            /* 中のテキストも左寄せ */
    padding-left: 20px;          /* 必要に応じて左に余白を追加 */
}

.discount-icon {
    background-color: #ffcc00; /* 黄色背景 */
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #2d3a2d;
    flex-shrink: 0; /* サイズ固定 */
}

.discount-text {
    padding-left: 20px;
    text-align: left;
}

.discount-text h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.discount-text p {
    font-size: 0.95rem;
    color: #4a5a4a;
    margin: 0;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .discount-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 30px;
    }

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

/* クラスカード内のスケジュール表示 */
.class-card .schedule {
    font-size: 0.85rem;
    color: #4a5a4a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px; /* アイコンと文字の間隔 */
}

.class-card .schedule i {
    color: #ffcc00; /* アイコンをアクセントカラーに */
    font-size: 0.9rem;
}

/* 既存のageとpriceのマージンを微調整してバランスをとる */
.class-card .age {
    font-size: 0.85rem;
    color: #8a9a8a;
    margin-bottom: 5px; /* 少し詰める */
}

.class-card .price {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 5px;
    color: #2d3a2d;
}

/* --- スケジュールカード専用デザイン --- */
.schedule-card {
    border: 2px solid #fff9e1; /* わずかに枠線をつけて差別化 */
    display: flex;
    flex-direction: column;
}

.day-title {
    color: #2d3a2d;
    border-left: 4px solid #ffcc00; /* 曜日にアクセントの縦線 */
    padding-left: 12px;
    margin-bottom: 20px !important;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee; /* 項目間の区切り */
}

.schedule-item:last-child {
    border-bottom: none;
}

/* 時間のバッジ */
.time-badge {
    background-color: #2d3a2d;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: bold;
    margin-top: 3px;
}

.class-info {
    display: flex;
    flex-direction: column;
}

.class-name {
    font-weight: bold;
    font-size: 1rem;
    color: #2d3a2d;
}

.note {
    font-size: 0.8rem;
    color: #8a9a8a;
}

.schedule-footer {
    margin-top: auto;
    padding-top: 15px;
    font-size: 0.8rem;
    color: #4a5a4a;
    font-style: italic;
    line-height: 1.4;
}

/* 土日カードを少し強調 */
.schedule-card.highlight {
    background-color: #fffef5;
}






/* ここまで確認済み */






/* PRICEセクション全体のスタイル */
.price-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    color: #2d3a2d; /* 濃いグリーン */
    font-family: inherit;
}

/* 見出しのデザイン */
.price-header {
    margin-bottom: 40px;
    margin-top: 40px;
}

.price-title {
    font-size: 2.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.price-title span {
    font-size: 1rem;
    font-weight: normal;
    margin-top: 5px;
    color: #4a5a4a;
}

/* 料金リストの箱のデザイン */
.price-list {
    max-width: 800px; /* PCでの横幅 */
    margin: 0 auto 20px;
}

.price-item {
    background-color: #fcfdfa; /* ほんの少しクリームがかった白 */
    border: 1px solid #eef2ee; /* 薄いグリーンのボーダー */
    border-radius: 20px; /* 角丸を大きく */
    padding: 25px 40px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between; /* 両端に寄せる */
    align-items: center;
}

.price-label, .price-value {
    font-size: 1.2rem;
    font-weight: bold;
}

/* 注釈 */
.price-note {
    font-size: 0.85rem;
    color: #8a9a8a;
    margin: 0;
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 768px) {
    .price-item {
        padding: 20px 25px; /* スマホでは余白を少し詰める */
    }
    
    .price-label, .price-value {
        font-size: 1rem;
    }

    .price-title {
        font-size: 2rem;
    }
}

/* ACCESSセクション全体のスタイル */
.access-section {
    background-color: #2d3a2d; /* 画像に基づいた濃いグリーン */
    padding: 60px 20px;
    color: #fff;
    font-family: inherit;
}

.access-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* 左側コンテンツ */
.access-info {
    flex: 1;
}

.access-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    display: block;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon.yellow {
    color: #d4af37; /* アイコンの黄色 */
    font-size: 1.2rem;
    margin-top: 5px;
}

.info-text {
    margin-top: 30px;
}

.info-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.sns-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.sns-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.sns-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 右側マップエリア */
.access-map-area {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.map-outer-border {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* 二重枠の外側 */
    border-radius: 40px;
    width: 100%;
}

.map-content {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #444; /* マップ読み込み前の背景色 */
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* xxx のテキストスタイル */
.map-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-button {
    position: absolute;
    background-color: #fff;
    color: #333;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

/* レスポンシブ対応（スマホ表示） */
@media (max-width: 768px) {
    .access-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .access-map-area {
        width: 100%;
        margin-top: 40px;
    }

    .access-title {
        font-size: 2rem;
    }
}

.contact-cta-section {
    background-color: #f9f9f9; /* アクセスと色を変えて区切りを明確にする */
    padding: 80px 20px;
    text-align: center;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* スマホでは縦並びに */
@media (max-width: 768px) {
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
}


/* --- 共通の可愛らしいアイコンデザイン --- */
.nowa-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; /* 大きさ (少し大きめで可愛らしく) */
    height: 48px;
    background-color: #fff9e1; /* 温かみのある薄い黄色 (可愛らしさ、親しみ) */
    border-radius: 50%; /* 完全な円 */
    color: #4a5a4a; /* 中のアイコン色 (スタジオカラーの緑) */
    font-size: 1.3rem; /* 中のアイコンの大きさ */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); /* 薄い影 (浮かせる、可愛らしさ) */
    flex-shrink: 0; /* 親がFlexboxの時に潰れないように */
    margin-right: 18px; /* 右側の余白 (ABOUT, ACCESS向け) */
}

/* FontAwesomeアイコンの調整 (中央揃え) */
.nowa-icon-circle i {
    display: block;
}

/* --- 他のセクションのアイコンにもこの共通デザインを適用する --- */
/*
 * HTMLを書き換えるのが面倒な場合、
 * 既存のクラス名にこのCSSを適用する。
 * (元のHTMLのクラス名 `.feature-icon`, `.class-icon`, `.info-icon.yellow` を対象にする)
 */

.feature-icon,
.class-icon,
.info-icon.yellow {
    /* 共通の「可愛らしい円」のデザインを適用 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #fff9e1 !important; /* 強制的に共通の薄い黄色に */
    border-radius: 50%;
    color: #4a5a4a !important; /* 強制的に共通の緑に */
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    flex-shrink: 0;
}

/* CLASSESセクションのカード内アイコンの調整 (marginリセット) */
.class-card .class-icon {
    margin-right: 0;
    margin-bottom: 25px;
}

/* ACCESSセクションのinfo-itemの調整 (Flexboxで並べる) */
.access-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}
/* 元の yellow クラスの固有指定を無効化 */
.access-info .info-icon.yellow {
    background-color: transparent;
    padding: 0;
    margin-right: 18px;
}

/* --- コンタクト部分の追加装飾 (前回の提案をベースに可愛らしく調整) --- */
.contact-item .info-text h3 {
    margin-bottom: 5px;
}

.contact-link {
    color: #2d3a2d;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1.5px solid #ffcc00; /* 黄色の下線でアクセント */
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ffcc00;
    border-bottom-color: transparent;
}

/* フォームへのボタンを「ボタンらしく」する */
.btn-contact-form {
    display: inline-block;
    background-color: #2d3a2d; /* スタジオカラーの深緑 */
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px; /* 可愛らしい丸み */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-contact-form:hover {
    background-color: #4a5a4a;
}

/* 補足テキストのスタイル */
.info-text p span {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 6px;
}

/* --- ACCESS セクションの再構築 --- */
.access-section {
    background-color: #2d3a2d;
    padding: 80px 20px;
    color: #fff;
}

.access-full-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.access-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px; /* 改行させるためのマージン */
    width: 100%;
}

.access-title span {
    font-size: 1rem;
    font-weight: normal;
    margin-top: 5px;
    display: block;
}

.access-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.access-info-box {
    flex: 1;
}

.access-map-area {
    flex: 1.5;
}

/* --- CONTACTセクション（背景色変更 & 横並び） --- */
.contact-cta-section {
    background-color: #fcfdfa; /* 薄いクリーム色で区別 */
    padding: 150px 20px;
}

.cta-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px; /* 改行させるためのマージン */
    width: 100%;
}

.contact-title span {
    font-size: 1rem;
    font-weight: normal;
    margin-top: 5px;
    display: block;
}







/* --- レスポンシブ（スマホ用） --- */
@media (max-width: 768px) {
    /* アクセス：縦並び */
    .access-content-wrapper {
        flex-direction: column;
    }

    /* コンタクト：背景はそのまま、1列に */
    .cta-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact-item {
        display: flex;          /* ★必ずflexを指定 */
        flex-direction: column; /* ★縦並びに変更 */
        align-items: center;    /* ★水平方向の中央寄せ */
        text-align: center;     /* ★テキストの中央寄せ */
        width: 100%;            /* ★横幅をいっぱいにして中央基準を作る */
    }

    .nowa-icon-circle {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

