:root {
    --theme-color: #003A1E;
    /* 既存テーマカラー */
    --sub-theme-color: #CDE6C7;
    --base-bg-color: #b2d6b7;
    /* グレーがかったミントグリーン */
    --accent-gold: #c9b26b;
    /* 上品なゴールド */
}

body {
    background-color: #ffffff;
    color: #333;
    font-family:
        "Zen Kaku Gothic New",
        -apple-system, BlinkMacSystemFont,
        "Segoe UI", "Hiragino Kaku Gothic ProN",
        "Yu Gothic", "Meiryo", sans-serif;
    padding-top: 70px;
}

/* タブレット以下 */
@media (max-width: 991.98px) {
    body {
        padding-top: 80px; /* ナビが2段になり高さが増える分 */
    }
}

/* スマホ */
@media (max-width: 575.98px) {
    body {
        padding-top: 90px;
    }
    
    .navbar .d-flex.flex-column {
        width: 100% !important;
    }

    .navbar .justify-content-md-end {
        justify-content: center !important;
    }
}

/* ===== Header ===== */
.navbar {
    background-color: #ffffff;
    
    padding-top: 4px;
    padding-bottom: 4px;
}
.navbar-brand img {
    height: 42px;
}
.nav-link {
    font-family: "Shippori Mincho", 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    color: var(--theme-color) !important;
    font-weight: 500;
    padding-top: 4px;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
    font-weight: 500;
}
.btn-navbar {
    background-color: var(--theme-color);
    color: #fff;
    font-size: 0.9rem;
    border-radius: 999px;
    /* バレエらしい柔らかさ */
    white-space: nowrap;
}

.btn-navbar:hover {
    background-color: #025a33;
    color: #fff;
}

.btn-member {
    background-color: var(--sub-theme-color);
    color: #3f3e3e;
    font-size: 0.9rem;
    border-radius: 999px;
    /* バレエらしい柔らかさ */
    white-space: nowrap;
}

.btn-member:hover {
    background-color: var(--accent-gold);
    color: #fff;
}

.navbar-brand img {
    height: 52px;
    width: auto;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(rgba(0, 58, 30, 0.45), rgba(0, 58, 30, 0.45)),
        url("../img/hero.jpg") center/cover no-repeat;
    color: #fff;
    padding: 120px 15px;
    text-align: center;
}

.hero .btn-outline-light {
    border-width: 2px;
    font-weight: 500;
}

.hero .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===== Common ===== */
.section-title {
    font-family: "Shippori Mincho", 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    color: var(--theme-color);
    margin-bottom: 40px;
    font-weight: 600;

    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    /* ← 文字幅と同じ */
    height: 2px;
    background-color: #c9a24d;
    /* ゴールド */
}

.section-white {
    background-color: #ffffff;
}

.btn-theme {
    background-color: var(--theme-color);
    color: #fff;
    border: none;
}

.btn-theme:hover {
    background-color: #025a33;
    color: #fff;
}

/* ===== レッスン料 ===== */
#price .card-title {
    color: var(--theme-color);
    font-weight: 600;
}

#price th {
    background-color: #f8f9f7;
    font-weight: 500;
}

/* ===== Teacher ===== */
.teacher-thumb {
  width: 200px;
  height: 280px;          /* ← 縦を長くする */
  object-fit: cover;     /* ← はみ出しを自然にトリミング */
  border-radius: 50%;    /* ← 楕円になる */
}

/* ===== Class Color ===== */
#classCarousel .carousel-indicators{
    color: #000;
}

.class-bar {
    height: 6px;
    border-radius: 6px 6px 0 0;
}

.class-title {
    padding-left: 12px;
    border-left: 4px solid;
    font-weight: 600;
}

/* 共通微調整 */
#schedule td {
    font-weight: 500;
    color: #333;
}

#schedule td small {
    font-weight: 400;
}

/* ===== Class Color (Carousel Card) ===== */
.class-card {
    border: 1px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.class-bar {
    height: 6px;
    border-radius: 6px 6px 0 0;
}

.class-puppe-pre {
  background: linear-gradient(
    to right,
    #fdebed 0%,     /* プペ */
    #f8f1e4 100%
  );
}

/* クラス色 */
.class-pupe {
    background-color: #fdebed;
}

.class-prepetite {
    background-color: #f8f1e4;
}

.class-petite {
    background-color: #eef6f1;
}

.class-preprincess {
    background-color: #eff4fc;
}   

.class-princess {
    background-color: #f1eef8;
}

.class-rose {
    background-color: #f7ecef;
}

.class-bellrose {
    background-color: #e9f1ee;
}

.badge-pupe {
    background-color: #fdebed;
    color: #808080;
    font-weight: normal;
}

.badge-prepetite {
    background-color: #f8f1e4;
    color: #808080;
    font-weight: normal;
}

.badge-petite {
    background-color: #eef6f1;
    color: #808080;
    font-weight: normal;
}

.badge-princess {
    background-color: #f1eef8;
    color: #808080;
    font-weight: normal;
}

.badge-rose {
    background-color: #f7ecef;
    color: #808080;
    font-weight: normal;
}

.badge-bellrose {
    background-color: #e9f1ee;
    color: #808080;
    font-weight: normal;
}

/* カード共通調整 */
#class .card {
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* 見出し強調 */
#class h5 {
    color: #003A1E;
    font-weight: 600;
}

.carousel-inner {
    overflow: visible;
}

.class-card {
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* ===== Gallery ===== */

.gallery img 
{ 
    width: 100%; 
    border-radius: 0px; 
}

/* ===== Map ===== */
.map-wrap iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

#access p {
    line-height: 1.8;
}

#access .map-wrap iframe {
    border-radius: 8px;
}

/* ===== Footer ===== */
footer {
    background-color: var(--theme-color);
    color: #fff;
    padding: 40px 0;
}


.footer-icon-img {
    height: 60px;
    width: auto;
}

footer p,

footer a {
    color: #fff;
}

footer a:hover {
    opacity: 0.8;
}

footer .small {
    line-height: 1.6;
}

/* ===== Script Font ===== */
.logo-en {
    font-family: 'Parisienne', cursive;
    font-size: 54px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #f5f1e8;
    /* 上品なオフホワイト */
    line-height: 1.1;
}

.logo-sub {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 0.15em;
    color: #f5f1e8;
}

.logo-ja {
    font-family: "Shippori Mincho", 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    font-size: 32px;
    letter-spacing: 0.1em;
    color: #f5f1e8;
}

/* ===== Scroll Animation ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

.frame-card {
    position: relative;
    border: none;
}

.frame-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/card-frame.png") no-repeat center / 100% 100%;
    pointer-events: none;
}

#news h5 {
    font-size: 1.05rem;
}

#news .badge {
    background-color: var(--sub-theme-color);
    color: #3f3e3e;
    font-weight: 400;
}

/* 送信完了モーダルは必ず縦並び */
#thanksModal .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
