/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Color Variables */
:root {
    --primary-pink: #da0f76;
    /* ロゴやリボンのピンク */
    --primary-brown: #4A3B32;
    /* ボタンの茶色 */
    --bg-light: #FAFAFA;

    --iromina-pink: #E93E8F;
    --iromina-dark-brown: #5a5a5a;
    --iromina-beige: #faf8f5;
    --iromina-light-gray: #f5f5f5;
}

/* Header Navigation */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    position: relative;
    z-index: 10000;
}

.logo {
    width: 200px;
}

.nav-menu {
    display: flex;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    align-items: center;
}

.nav-item {
    position: relative;
    cursor: pointer;
}

.nav-item span.coming-soon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #666;
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    transition: opacity 0.2s;
    line-height: 1.3;
}

.btn:hover {
    opacity: 0.8;
}

.btn-pink {
    background-color: var(--primary-pink);
    color: #fff !important;
}

.btn-brown {
    background-color: var(--primary-brown);
    color: #fff !important;
    position: relative;
    padding-right: 30px;
}

.btn-brown::after {
    content: '▶';
    font-size: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Main Visual Area */
.main-visual {
    width: 100%;
    background: #fff;
    margin: 0;
    padding: 0;
    max-width: 2000px;
}

.main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.main-visual video {
    width: 75%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

/* Ticker / Notification Bar */
.ticker-wrap {
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 50;
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    font-size: 12px;
    color: #666;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Bottom Navigation */
.bottom-nav {
    background: #f4f2ef;
    /* Match section-bg-gray */
    padding: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-pill {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    color: #333;
    font-size: 16px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.nav-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.nav-pill.active {
    color: var(--primary-pink);
    border-color: var(--primary-pink);
}

.nav-pill::after {
    content: '●';
    font-size: 6px;
    color: var(--primary-pink);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-pill.active::after {
    color: var(--primary-pink);
}

.nav-pill.cta {
    background: var(--primary-pink);
    color: #fff;
    border: none;
    padding-right: 40px;
}

.nav-pill.cta::after {
    content: '▶';
    font-size: 8px;
    color: #fff;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* --- Common Section Styles --- */
.section {
    max-width: 2000px;
    margin: 0;
    padding: 80px 20px;
    position: relative;
}

.section-bg-gray {
    background-color: #f4f2ef;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-sub {
    display: block;
    font-size: 14px;
    color: var(--primary-pink);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #4A3B32;
    position: relative;
    display: inline-block;
}

.text-pink {
    color: var(--primary-pink);
}

/* .section-desc was removed as we unified it with .section-lead */

/* --- Section: Reason / Voice --- */
.reason-white-board {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reason-board-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

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

.board-sub {
    font-size: 18px;
    font-weight: 700;
    color: #4A3B32;
    margin-bottom: 5px;
}

.board-main {
    font-size: 26px;
    color: var(--primary-pink);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Bubbles */
.bubbles-left,
.bubbles-right {
    position: relative;
    height: 70px;
    /* 60px -> 90px に変更して縦の間隔を広げる */
    width: 150px;
}

/* Responsive fix for bubbles */
@media (max-width: 800px) {

    .bubbles-left,
    .bubbles-right {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .reason-board-header {
        flex-direction: column;
    }

    .bubble {
        position: static !important;
    }
}

.bubble {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    position: absolute;
    white-space: nowrap;
    display: inline-block;
}

.bubble-black {
    background: #000;
}

.bubble-pink {
    background: var(--primary-pink);
}

.bubble::after {
    content: '';
    position: absolute;
    border: 6px solid transparent;
}

/* Bubble Positions (PC) */
@media (min-width: 801px) {
    .bubble-pos-1 {
        /* やっときやよかった */
        top: -10px;
        right: -10px;
        /* 右寄せ */
        background: #000;
    }

    .bubble-pos-1::after {
        top: 100%;
        right: 20px;
        border-top: 10px solid #000;
        border-left: 0;
        /* 左辺を垂直に */
        border-right: 10px solid transparent;
        border-bottom: 0;
    }

    .bubble-pos-2 {
        /* やらなくてよかった */
        bottom: -10px;
        left: -10px;
        /* 左寄せ */
        background: var(--primary-pink);
    }

    .bubble-pos-2::after {
        top: 100%;
        left: 20px;
        border-top: 10px solid var(--primary-pink);
        border-right: 0;
        /* 右辺を垂直に */
        border-left: 10px solid transparent;
        border-bottom: 0;
    }

    .bubble-pos-3 {
        /* 成功談 */
        top: -5px;
        left: 30px;
        /* 内側に寄せる */
        background: var(--primary-pink);
    }

    .bubble-pos-3::after {
        top: 100%;
        left: 15px;
        border-top: 10px solid var(--primary-pink);
        border-right: 0;
        /* 右辺を垂直に */
        border-left: 10px solid transparent;
        border-bottom: 0;
    }

    .bubble-pos-4 {
        /* 失敗談 */
        bottom: -5px;
        right: 30px;
        /* 内側に寄せる */
        background: #000;
    }

    .bubble-pos-4::after {
        top: 100%;
        right: 15px;
        border-top: 10px solid #000;
        border-left: 0;
        /* 左辺を垂直に */
        border-right: 10px solid transparent;
        border-bottom: 0;
    }
}

/* Voice Card Styles */
.voice-card-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.voice-content {
    width: 100%;
}

.voice-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.voice-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e0e0e0;
}

.voice-label {
    display: inline-block;
    background: #4A3B32;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 0 2px;
    margin-bottom: 10px;
}

.voice-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    width: fit-content;
    min-width: 200px;
}

.voice-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.5;
}

.voice-tags {
    font-size: 12px;
    color: #999;
}

@media (max-width: 600px) {
    .voice-card {
        flex-direction: column;
        gap: 15px;
    }


    .voice-meta {
        width: 100%;
    }
}

/* --- Section: Problems (Worry) & Reason --- */
.section-worry .section-sub,
.section-reason .section-sub {
    color: #4A3B32;
    font-size: 18px;
    /* フォントサイズを大きく */
}

.section-worry .section-title,
.section-reason .section-title {
    color: var(--primary-pink);
    font-size: 40px;
    /* フォントサイズを大きく */
    margin-bottom: 20px;
}

.section-lead {
    font-size: 18px;
    /* フォントサイズを大きく */
    color: #4A3B32;
    line-height: 1.8;
    font-weight: 700;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 100px;
    /* ギャップをさらに広げる 60px 80px -> 80px 100px */
    max-width: 760px;
    /* カードの幅を狭くして画像の余白感を減らす */
    margin: 0 auto;
    padding: 20px;
    /* グリッド全体の内側余白 */
}

.problem-card {
    position: relative;
    z-index: 1;
    /* カード自体のパディングは不要だが、影がはみ出す分を考慮する場合はmarginなどで調整する手も */
}

/* 右側のカラム（偶数番目の要素）を下げる */
.problem-card:nth-child(2n) {
    margin-top: 60px;
    /* デザインに合わせて下げる幅を調整 */
    margin-bottom: -60px;
    /* 下の要素との間隔を調整 */
}

.problem-card-inner {
    background: #F2F0EB;
    /* Beige Card Background */
    border: 5px solid #fff;
    /* 白い太枠で全体を囲む */
    border-radius: 0 30px 30px 0;
    /* 左側は直角、右側だけ丸く */
    padding: 15px 0 15px 25px;
    /* 左右パディングを限界まで縮小 */
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: hidden;
    /* 帯がはみ出さないように */
}

/* 茶色の背表紙（左側の帯） */
.problem-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 25px;
    /* 帯の幅 */
    background-color: #eadecb;
    /* 指定色に変更 */
    border-right: 6px solid #fff;
    /* 帯の右側の白い線 */
    z-index: 0;
}

.problem-header,
.problem-text,
.problem-image-container {
    position: relative;
    z-index: 1;
    /* 帯より上に表示 */
}

/* 茶色の影（背面のプレート） */
.problem-card::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15px;
    width: 105%;
    height: 100%;
    background-color: #8C7B75;
    /* Brown Shadow Color */
    border-radius: 0 30px 30px 0;
    z-index: -1;
}

.problem-header {
    margin-bottom: 20px;
}

.problem-label {
    display: block;
    font-size: 14px;
    /* 16px -> 14px に変更 */
    color: #98847d;
    /* #4A3B32 -> #98847d */
    font-weight: 700;
    margin-bottom: 5px;
}

.problem-number {
    display: block;
    font-size: 36px;
    /* 44px -> 36px に変更 */
    line-height: 1;
    color: #98847d;
    /* #AAA09B -> #98847d */
    font-family: 'Noto Sans JP', sans-serif;
    /* ゴシック体に変更 */
    font-weight: bold;
}

.problem-text {
    font-size: 15px;
    /* 18px -> 15px に変更 */
    font-weight: 700;
    color: #4A3B32;
    line-height: 1.6;
    margin-bottom: 25px;
    /* 画像との余白 */
    flex-grow: 1;
}

.problem-image-container {
    width: 70%;
    /* 画像をさらに小さく 85% -> 70% */
    margin: 0 auto;
    /* 中央寄せ */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* 画像自体に白枠や影があればここで調整 */
}

.problem-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* カード裏面 */
.problem-face-back {
    position: absolute;
    top: 0;
    left: 31px; /* 茶色帯(25px) + 白ボーダー(6px) */
    right: 0;
    bottom: 0;
    background: #FFF0F5;
    border-radius: 0 25px 25px 0;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.problem-card:hover .problem-face-back {
    opacity: 1;
    pointer-events: auto;
}

.problem-back-title {
    font-size: 16px;
    font-weight: 700;
    color: #4A3B32;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.problem-back-title .text-pink {
    color: var(--primary-pink);
}

.problem-back-desc {
    text-align: start;
    font-size: 13px;
    font-weight: 700;
    color: #4A3B32;
    line-height: 1.6;
    flex-grow: 1;
    margin: 20px 0;
    padding: 0;
}

.problem-back-btn {
    display: block;
    background: var(--primary-pink);
    color: #fff;
    border-radius: 50px;
    padding: 15px 10px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
    line-height: 1.4;
    margin: 0;
}

.problem-back-btn:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

/* --- Section: Recent Posts / Pickup --- */
.pickup-container {
    max-width: 900px;
    margin: 0 auto;
}

.pickup-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: flex;
    transition: transform 0.3s;
}

.pickup-item:hover {
    transform: translateY(-3px);
}

.pickup-thumb {
    width: 45%;
    position: relative;
}

.pickup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.label-pickup {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-pink);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 15px;
    border-bottom-right-radius: 15px;
}

.pickup-content {
    width: 55%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pickup-cat {
    display: inline-block;
    background: #4A3B32;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: fit-content;
}

.pickup-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.pickup-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.pickup-tags {
    font-size: 12px;
    color: #999;
}


/* --- Section: Teachers / Recommendation --- */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
    background: #dbd6d1;
    padding: 50px 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
}

.footer-logo {
    width: 150px;
    margin: 0 auto 20px;
    opacity: 0.8;
}

/* Footer Nav */
.footer-nav {
    margin-bottom: 40px;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.footer-nav-item a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-nav-item a:hover {
    color: var(--primary-pink);
}

.footer-nav-item.relative-item {
    position: relative;
}

.footer-coming-soon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #666;
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    white-space: nowrap;
}

/* If the user wants it ON TOP of the text like an overlay */
/* Or above the text like a badge? The header one is above. */
/* The image looks like it's ON TOP of the text, obscuring it partially or just acting as a label. */
/* Looking at the image carefully: "coming soon" is in a black box, centered over "オンライン相談はこちら". It looks like an overlay. */

.disabled-link {
    color: #999 !important;
    pointer-events: none;
}


/* Common Button */
.btn-center {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    display: inline-block;
    background: var(--primary-brown);
    color: #fff;
    padding: 15px 60px;
    border-radius: 50px;
    font-weight: 700;
    position: relative;
    padding-right: 80px;
}

.btn-large::after {
    content: '▶';
    position: absolute;
    right: 30px;
}

.btn-large-pink {
    background: var(--primary-pink);
}

/* Responsive Grid */
@media (max-width: 900px) {

    .problem-grid,
    .ranking-grid,
    .teacher-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pickup-item {
        flex-direction: column;
    }

    .pickup-thumb,
    .pickup-content {
        width: 100%;
    }
}

/* --- Section: Ranking (New Design from Screenshot) --- */
.ranking-section {
    padding-bottom: 80px;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.ranking-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    /* 画像のようにサムネイルの周りに余白を持たせる */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 王冠の白いボックス */
.rank-badge-box {
    position: absolute;
    top: 20px;
    /* カードのpadding(20px)に合わせる */
    left: 20px;
    /* カードのpadding(20px)に合わせる */
    width: 46px;
    height: 46px;
    background: #fff;
    border-top-left-radius: 12px;
    /* 画像の角丸(12px)に合わせる */
    border-bottom-right-radius: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}

.rank-badge-box img {
    width: 28px;
    /* アイコンサイズを調整して余白を作る */
    height: auto;
    display: block;
}

/* サムネイル */
.ranking-thumb {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.ranking-thumb::before {
    content: "";
    display: block;
    padding-top: 56.25%;
    /* 16:9 */
}

.ranking-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* コンテンツ */
.ranking-content {
    flex-grow: 1;
    margin-bottom: 10px;
}

.ranking-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ranking-desc {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* アクションボタン */
.ranking-actions {
    display: flex;
    justify-content: center;
    gap: 50px;
    /* アイコン間の距離 */
    margin-top: auto;
    padding-top: 10px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #333;
    font-size: 10px;
    font-weight: 700;
}

.action-icon-svg {
    width: 24px;
    height: 24px;
}

.action-icon-svg.heart {
    color: #E94E88;
}

.action-icon-svg.comment {
    color: #333;
}

/* Responsive */
@media (max-width: 900px) {
    .ranking-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .ranking-card {
        margin-bottom: 20px;
    }
}

/* CTA Area below Recommended Series */
.cta-area {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 100px;
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    position: relative;
    transition: opacity 0.3s;
    padding: 0 20px;
}

.cta-btn:hover {
    color: #fff;
    opacity: 0.9;
}

/* Right Dot for Buttons */
.cta-btn::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

/* Brown Button */
.cta-btn-brown {
    background-color: var(--primary-brown);
}

.cta-btn-brown::after {
    background-color: #fff;
}

/* Pink Button */
.cta-btn-pink {
    background-color: var(--primary-pink);
}

.cta-btn-pink::after {
    background-color: #fff;
}

/* Coming Soon Label */
.coming-soon-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #50062b;
    color: #fff;
    font-size: 11px;
    padding: 2px 40px;
    font-weight: 700;
    border-radius: 0;
    white-space: nowrap;
    line-height: 1.4;
}

/* Responsive for CTA */
@media (max-width: 900px) {
    .cta-btn {
        width: 100%;
        max-width: 400px;
        height: 80px;
        font-size: 18px;
    }
}

/* --- Section: About Iromina (Added) --- */
.section-about {
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-board {
    background: #fff;
    border-radius: 40px;
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-header {
    margin-bottom: 40px;
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.text-colorful {
    /* Simple gradient approximation for colorful text */
    background: linear-gradient(90deg, #da0f76, #F0908D, #da0f76);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary-pink);
    /* Fallback */
}

.text-black {
    color: #333;
}

.about-sub {
    font-size: 16px;
    font-weight: 700;
    color: #4A3B32;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 2;
    font-size: 15px;
    color: #333;
}

.about-text {
    margin-bottom: 30px;
}

.about-text-bold {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin-top: 40px;
}

.marker-pink {
    background: linear-gradient(transparent 60%, #FFDBEA 60%);
    padding-bottom: 2px;
    font-weight: 700;
}

/* About Footer / SNS / Button */
.about-footer {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sns-badge {
    background: var(--primary-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 20px;
    position: relative;
    margin-bottom: 5px;
}

.sns-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-pink);
}

.sns-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.sns-icon img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.sns-icon:hover {
    opacity: 0.8;
}

.btn-see-more {
    display: inline-block;
    background: #fff;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    border-radius: 50px;
    padding: 12px 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-see-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-pink);
}

/* Decorative Images (Dummy positions) */
.deco-img {
    position: absolute;
    z-index: 10;
}

.deco-boy {
    top: 30px;
    left: 40px;
    width: 80px;
    /* Adjust size */
}

.deco-girl {
    top: -70px;
    right: 40px;
    width: 60px;
    /* Adjust size */
}

.deco-shapes {
    bottom: 10px;
    left: -30px;
    width: 100px;
    /* Adjust size */
}

@media (max-width: 900px) {
    .about-board {
        padding: 40px 20px;
        margin: 0 10px;
    }

    .deco-boy,
    .deco-girl,
    .deco-shapes {
        display: none;
        /* Hide decorative images on small screens or adjust */
    }
}

/* --- Section: Teachers List (New) --- */
.teachers-nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    margin-bottom: 60px;
    gap: 15px;
}

.teachers-tooltip-box {
    position: relative;
    animation: floatTooltip 3s ease-in-out infinite;
}

@keyframes floatTooltip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.teachers-tooltip {
    background-color: var(--primary-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 4px;
    position: relative;
    display: inline-block;
}

.teachers-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-pink);
}

.teachers-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.teachers-nav-pill {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 700;
    color: #333 !important;
    font-size: 15px;
    position: relative;
    transition: all 0.3s;
}

.teachers-nav-pill:hover {
    /* color: var(--primary-pink);
    border-color: var(--primary-pink);
    background: #fff5f9; */
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.teachers-nav-pill::after {
    content: '•';
    font-size: 14px;
    color: var(--primary-pink);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.teachers-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.teacher-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.teacher-thumb {
    background-color: #000;
    width: 100%;
    height: 200px;
    /* Placeholder height */
}

.teacher-body {
    padding: 15px;
    flex-grow: 1;
    position: relative;
    padding-bottom: 50px;
    /* Space for the arrow button */
}

.teacher-school {
    font-size: 11px;
    color: var(--primary-pink);
    font-weight: 700;
    margin-bottom: 5px;
}

.teacher-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.teacher-name-en {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    margin-top: 2px;
}

.teacher-qualification {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
}

.q-badge {
    background: #4A3B32;
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
}

.teacher-arrow-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, transparent 50%, var(--primary-pink) 50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transition: opacity 0.2s;
}

.teacher-arrow-btn::after {
    content: '›';
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    line-height: 1;
    margin-right: 10px;
    margin-bottom: 10px;
}

.teacher-arrow-btn:hover {
    opacity: 0.8;
}

.btn-see-more-large {
    display: inline-block;
    background: #fff;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    border-radius: 50px;
    padding: 15px 60px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-see-more-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-pink);
}

/* --- Section: 3 Steps --- */
.section-steps {
    /* background-color: #fff; <--- Removed */
    padding-bottom: 80px;
}

.steps-white-board {
    background: #fff;
    border-radius: 40px;
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* max-width: 1000px; <--- Removed max-width inside board */
    /* margin: 0 auto; <--- Removed margin */
    padding: 0;
    /* Removed padding */
}

.step-card {
    background: #fff;
    border: 2px solid #4A3B32;
    /* Dark brown border */
    border-radius: 20px 0 20px 0;
    padding: 60px 20px 30px;
    /* Top padding for number circle */
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #4A3B32;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: normal;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 100%;
    height: auto;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.step-text {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
    width: 100%;
}

.step-link {
    display: inline-block;
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.step-link:hover {
    border-bottom-color: var(--primary-pink);
}

/* Responsive Steps */
@media (max-width: 800px) {
    .steps-grid {
        grid-template-columns: 1fr;
        /* max-width: 500px; <--- Removed */
    }

    .step-card {
        margin-top: 30px;
        /* Space for floating numbers */
    }

    .steps-white-board {
        padding: 40px 20px;
        margin: 0 10px 60px;
    }
}

/* --- Section: FAQ --- */
.section-faq {
    padding-bottom: 80px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-card {
    /* background: #fff; Removed to separate boxes */
    /* border-radius: 15px; Removed */
    /* padding: 30px; Removed */
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); Removed */
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
}

.faq-box {
    background: #fff;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.faq-q-box {
    border-radius: 10px 10px 0 0;
}

.faq-a-box {
    border-radius: 0 0 10px 10px;
    flex-grow: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 16px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.faq-icon-q {
    background-color: #4A3B32;
}

.faq-icon-a {
    background-color: var(--primary-pink);
}

.faq-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    padding-top: 5px;
    /* Align with icon visually */
}

.faq-text-q {
    font-weight: 700;
}

/* Responsive FAQ */
@media (max-width: 800px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Section: Movies (New) --- */
.section-movies {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
    overflow: hidden;
    /* 装飾のはみ出し対策 */
}

.movies-header {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Decorations for Movies Header */
.deco-running-boy {
    position: absolute;
    bottom: 30px;
    left: -90px;
    width: 50px;
    z-index: 10;
}

.deco-yellow-tree {
    position: absolute;
    bottom: 0;
    left: -160px;
    width: 30px;
    z-index: 5;
}

@media (max-width: 900px) {

    .deco-running-boy,
    .deco-yellow-tree {
        display: none;
    }
}

.deco-blocks-icon {
    display: block;
    margin: 0 auto 10px;
    width: 70px;
    /* 調整 */
}

.movies-sub {
    font-size: 18px;
    font-weight: 700;
    color: #4A3B32;
    margin-bottom: 5px;
}

.movies-title {
    font-size: 40px;
    font-weight: 700;
}

.movies-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto 50px;
}

.movies-visual-area {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 50px;
    /* padding: 0 50px; if needed */
}

.main-movies-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 5;
}

/* 装飾画像の配置（PC基準） */
.deco-boy-run {
    position: absolute;
    top: -50px;
    left: 10%;
    width: 100px;
    /* 仮 */
    z-index: 10;
}

.deco-tree {
    position: absolute;
    top: 0;
    left: 5%;
    width: 80px;
    /* 仮 */
    z-index: 1;
}

.deco-playground {
    position: absolute;
    bottom: -20px;
    right: 5%;
    width: 120px;
    /* 仮 */
    z-index: 10;
}

.movies-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-mini-logo img {
    width: 150px;
}

.movies-footer-text {
    font-weight: 700;
    color: #4A3B32;
}

/* レスポンシブ */
@media (max-width: 800px) {

    .deco-boy-run,
    .deco-tree,
    .deco-playground {
        display: none;
        /* スマホでは邪魔になるなら消す、あるいは位置調整 */
    }
}

/* --- Section: Features (Added) --- */
.section-features {
    background-color: #f4f2ef;
    padding-top: 80px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

/* Pink circles (pseudo) for decoration */
.section-features::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -50px;
    width: 300px;
    height: 300px;
    border: 1px solid #ffe0eb;
    /* Very light pink */
    border-radius: 50%;
    z-index: 0;
}

.section-features::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: -50px;
    width: 400px;
    height: 400px;
    border: 1px solid #ffe0eb;
    border-radius: 50%;
    z-index: 0;
}

/* Decorative Images for Features Section */
.deco-feature-top-right {
    position: absolute;
    top: -85px;
    /* ボックスの右肩に乗せる（さらに上へ） */
    right: 40px;
    width: 80px;
    z-index: 10;
}

.deco-feature-left-1 {
    position: absolute;
    top: -65px;
    /* 左肩に乗せる（さらに上へ） */
    left: 0px;
    width: 60px;
    /* サイズ縮小 */
    z-index: 10;
}

.deco-feature-right {
    position: absolute;
    top: -85px;
    /* 右肩に乗せる（さらに上へ） */
    right: 40px;
    width: 80px;
    z-index: 10;
    transform: scaleX(-1);
    /* 必要であれば向き反転 */
}

.deco-feature-left-2 {
    position: absolute;
    top: -65px;
    /* 左肩に乗せる */
    left: 0px;
    width: 60px;
    /* サイズ合わせ */
    z-index: 10;
}

@media (max-width: 1200px) {
    /* .deco-feature-top-right { right: 5%; } 不要になったため削除 */
}

@media (max-width: 800px) {
    .deco-feature-top-right {
        width: 60px;
        top: -40px;
        right: 20px;
        display: block;
        /* スマホでも表示 */
    }

    .deco-feature-left-1 {
        width: 50px;
        top: -40px;
        left: 10px;
        display: block;
    }

    .deco-feature-right {
        width: 50px;
        top: -40px;
        right: 10px;
        display: block;
    }

    .deco-feature-left-2 {
        width: 50px;
        top: -40px;
        left: 10px;
        display: block;
    }
}


.section-features .section-sub {
    color: #4A3B32;
}

.section-features .section-title {
    font-size: 40px;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Reduced from 50px */
    position: relative;
    z-index: 5;
}

.feature-item {
    /* Removed previous styles to create overlapping layout */
    background: transparent;
    /* No background on container */
    box-shadow: none;
    padding: 0;
    display: block;
    /* Reset flex */
    position: relative;
    min-height: 180px;
    /* Ensure height for overlap */
    /* margin-bottom removed to rely on gap */
}

.feature-icon-box {
    position: absolute;
    top: 0;
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.feature-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.feature-content {
    position: relative;
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    z-index: 5;
    margin-top: 50px;
    /* Push down to start below icon top */
}

/* Left Layout (Icon Left) */
.feature-left .feature-icon-box {
    left: 0;
}

.feature-left .feature-content {
    margin-left: 100px;
    /* Indent content box */
    padding-left: 80px;
    /* Extra padding to clear icon overlap visually if needed */
    /* Actually, looking at the screenshot, the text starts well to the right. 
       Icon width 140, content starts at 100. Overlap = 40px. 
       So inside content box, 40px is covered. 
       We need padding-left > 40px. Let's use 60px or 80px. 
    */
}

/* Right Layout (Icon Right) */
.feature-right .feature-icon-box {
    right: 0;
    left: auto;
}

.feature-right .feature-content {
    margin-left: 0;
    margin-right: 100px;
    padding-right: 80px;
}

.feature-number {
    display: block;
    font-size: 28px;
    /* Larger number */
    color: var(--primary-pink);
    font-weight: 700;
    margin-bottom: 10px;
    font-family: "Georgia", serif;
    line-height: 1;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #4A3B32;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}

/* Decorative Characters */
/* .deco-feature-girl, .deco-feature-boy styles removed */

/* Responsive */
@media (max-width: 800px) {
    .feature-item {
        display: flex;
        flex-direction: column;
        /* align-items: center; Removed to allow alternating */
        margin-bottom: 60px;
        min-height: auto;
    }

    .feature-left {
        align-items: flex-start;
    }

    .feature-right {
        align-items: flex-end;
    }

    .feature-icon-box {
        position: static;
        /* Stack normally */
        margin-bottom: -40px;
        /* Overlap top of content */
        z-index: 10;
        width: 100px;
        height: 100px;
        padding: 15px;
        order: -1;
        /* Always put icon on top visually */
    }

    .feature-left .feature-icon-box {
        margin-left: 20px;
    }

    .feature-right .feature-icon-box {
        margin-right: 20px;
    }

    .feature-content {
        margin: 0;
        /* Reset margins */
        padding: 60px 30px 30px;
        /* Top padding for icon overlap */
        text-align: left;
        width: 100%;
    }

    .feature-left .feature-content,
    .feature-right .feature-content {
        margin: 0;
        padding: 60px 30px 30px;
    }

    .feature-left .feature-icon-box,
    .feature-right .feature-icon-box {
        /* Reset positioning */
        position: static;
    }

    .feature-title {
        font-size: 18px;
    }

    /* .deco-feature-girl, .deco-feature-boy hidden rule removed */
}

/* --- Section: Teachers Page --- */
.section-teachers-page {
    background-color: #f4f2ef;
    padding-top: 60px;
    padding-bottom: 100px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.teachers-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-title-area {
    margin-bottom: 40px;
    padding-left: 20px;
    /* 左側の装飾などを考慮 */
}

.page-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-pink);
}

/* AIUEO Nav */
.aiueo-nav-wrapper {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 60px;
    padding: 15px 0;
}

.aiueo-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    /* 間隔広めに */
    flex-wrap: wrap;
}

.aiueo-nav li a {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    transition: color 0.3s;
}

.aiueo-nav li a:hover {
    color: var(--primary-pink);
}

/* Long Card List */
.teachers-long-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .teachers-long-list {
        grid-template-columns: 1fr;
    }
}

.teacher-long-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.02);
    height: 100%;
}

/* Card Border Colors */
.card-border-pink {
    border-color: var(--primary-pink);
}

.card-border-orange {
    border-color: #F39800;
}

.card-border-blue {
    border-color: #6699CC;
}

.card-border-green {
    border-color: #8FC31F;
}

.t-card-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.t-header-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.t-card-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.t-card-school {
    font-size: 11px;
    color: #666;
}

.t-card-qual {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.qual-badge {
    font-weight: 700;
    color: #333;
}

.qual-text {
    color: #333;
}

.t-card-desc {
    width: 60%;
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Visuals Area */
.t-card-visuals {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.t-card-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.t-visual-face-area {
    min-width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.t-face-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
}

.t-face-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-media-tags {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.card-border-pink .t-media-tag {
    color: var(--primary-pink);
}

.card-border-orange .t-media-tag {
    color: #F39800;
}

.card-border-blue .t-media-tag {
    color: #6699CC;
}

.card-border-green .t-media-tag {
    color: #8FC31F;
}

.t-visual-thumb-area {
    width: 70%;
}

.t-media-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.t-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.6);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Buttons */
.t-card-btns {
    display: grid;
    gap: 8px;
    justify-content: space-between;
    grid-template-columns: repeat(2, 1fr);
}

.t-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.2s;
    text-decoration: none;
    position: relative;
    padding-right: 16px;
    white-space: nowrap;
}

.t-btn-pink-border {
    background-color: #fff;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
}

.t-btn-pink {
    background-color: var(--primary-pink);
}

.t-btn-black {
    background-color: #4A3B32;
}

.t-btn-green {
    background-color: #4CAF50;
}

.t-btn-red {
    background-color: #d32f2f;
}

.t-btn-purple {
    background-color: #9C27B0;
}

.t-btn-black::after,
.to-btn-pink-border::after,
.t-btn-green::after,
.t-btn-purple::after,
.t-btn-red::after,
.t-btn-pink::after {
    content: '▶';
    font-size: 8px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.to-btn-pink-border::after{
    color: var(--primary-pink);
}

.t-btn:hover {
    opacity: 0.8;
    color: #fff;
}

.t-btn-pink-border:hover {
    opacity: 0.8;
    color: var(--primary-pink);
}

@media (max-width: 600px) {
    .t-card-visuals {
        flex-direction: column;
        align-items: center;
    }

    .t-visual-face-area,
    .t-visual-thumb-area {
        width: 100%;
    }

    .t-card-btns {
        display: flex;
        flex-direction: column;
    }
}

/* --- Videos Page Styles --- */

.video-page-main {
    background-color: #f4f2ef;
    padding: 40px 0 80px;
}

.video-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

/* Left Column */
.video-list-area {
    flex: 1;
}

.video-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0;
}

.video-tabs li {
    margin-bottom: -2px;
    /* Overlap border */
}

.video-tabs li a {
    display: block;
    padding: 10px 20px;
    font-weight: 700;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-size: 14px;
}

.video-tabs li.active a {
    color: #333;
    border-bottom-color: #333;
}

.video-tabs li a:hover {
    color: var(--primary-pink);
}

/* Video List Items */
.video-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-list-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.video-item-thumb {
    width: 240px;
    flex-shrink: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.video-item-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Thumbnail Overlay Label */
.video-thumb-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FFEB3B;
    /* Yellow */
    padding: 5px 10px;
    border-radius: 4px;
    color: #333;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.v-label-main {
    font-size: 10px;
    color: var(--primary-pink);
    margin-bottom: 2px;
}

.v-label-sub {
    font-size: 13px;
    color: #d32f2f;
    /* Darker red/orange */
}

.video-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-item-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.video-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed #ddd;
    padding-top: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.video-teacher-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v-teacher-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
}

.v-teacher-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-teacher-name {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.video-tags {
    display: flex;
    gap: 10px;
}

.video-tags span {
    font-size: 11px;
    color: var(--primary-pink);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 4px;
    /* Optional: square or rounded */
}

.page-num.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.page-num:hover:not(.active) {
    background: #f5f5f5;
}

/* Right Column: Sidebar */
.sidebar-area {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.sidebar-auth-text {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.sidebar-btn-pink {
    display: block;
    background: var(--primary-pink);
    color: #fff;
    font-weight: 700;
    padding: 12px;
    border-radius: 30px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.sidebar-btn-pink:hover {
    color: #fff;
    opacity: 0.9;
}

.sidebar-login-link {
    font-size: 11px;
    color: #666;
    text-decoration: underline;
}

.sidebar-widget {
    background: transparent;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 10px 15px;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.sidebar-title.bg-brown {
    background: #4A3B32;
    color: #fff;
    border: none;
    border-radius: 4px;
}

.sidebar-search-box {
    width: 100%;
    display: flex;
    gap: 4px;
}

.sidebar-search-box input {
    max-width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    flex: 1;
}
.sidebar-search-form button {
    max-width: 20%;
    background-color: var(--primary-pink);
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    white-space: nowrap;
}

.sidebar-note {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
}

.sidebar-list {
    background: #fff;
    padding: 10px 0;
}

.sidebar-list li a {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
}

.sidebar-list li a:hover {
    color: var(--primary-pink);
}

.sidebar-teacher-list {
    background: #fff;
    padding: 10px;
}

.sidebar-teacher-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.sidebar-teacher-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.st-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.st-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-title {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap:10px;
}

.st-info {
    font-size: 12px;
}

.st-name {
    font-weight: 700;
    margin-bottom: 3px;
}

.st-desc {
    font-size: 10px;
    color: #666;
}

/* Sidebar SNS */
.sidebar-sns-btn {
    background: #06C755;
    /* LINE Green */
    color: #fff;
    padding: 10px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: 700;
}

.sns-icon-line {
    background: #fff;
    color: #06C755;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

.sidebar-sns-icons {
    display: flex;
    gap: 10px;
}

.sns-icon-btn {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.sns-icon-btn img {
    width: 100%;
    height: 100%;
}

/* Bottom CTA in Video Page */
.video-page-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

a:visited {
    color: inherit !important;
}

.nav-pill:visited, .teachers-nav-pill:visited {
    color: #333 !important;
}

.btn:visited, .btn-pink:visited, .btn-brown:visited, .cta-btn-pink:visited, .cta-btn-brown:visited, .t-btn-pink:visited, .t-btn-black:visited, .t-btn-red:visited, .t-btn-purple:visited, .t-btn-green:visited, .nav-pill.cta:visited, .sidebar-btn-pink:visited, .problem-back-btn:visited {
    color: #fff !important;
}

@media (max-width: 900px) {
    .video-page-container {
        flex-direction: column;
    }

    .sidebar-area {
        width: 100%;
    }

    .video-list-item {
        flex-direction: column;
    }

    .video-item-thumb {
        width: 100%;
    }

    .video-page-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 400px;
    }
}

/* --- Utility Classes --- */
.img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* --- Navigation Active State --- */
.nav-item.active a {
    color: var(--primary-pink);
    position: relative;
}

.nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-pink);
}

/* --- Responsive Header & Mobile Menu --- */

/* PC Layout Adjustment for new container */
.header-nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Mobile Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    z-index: 10101;
    padding: 0;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu Styles */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .header-nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 10100;
        padding: 90px 30px 40px;
        transition: right 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        overflow-y: auto;
    }

    .header-nav-container.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        width: 100%;
        font-size: 16px;
        z-index: 200;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
    }

    /* .coming-soon pos adjustment for mobile menu */
    .nav-item span.coming-soon {
        top: -2px;
        left: auto;
        right: 0;
        transform: none;
        position: relative;
        display: inline-block;
        margin-left: 10px;
        vertical-align: middle;
        font-size: 10px;
        background: #999;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Overlay for clicking outside */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background: rgba(0, 0, 0, 0.5); */
        z-index: 140;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* --- Global Mobile Adjustments (< 600px) --- */
@media (max-width: 600px) {

    .site-header {
        padding: 15px;
    }
    /* Grids to 1 column */
    .teachers-list-grid,
    .problem-grid,
    .ranking-grid,
    .teacher-grid {
        grid-template-columns: 1fr;
    }

    /* Reset Stagger for Problems */
    .problem-card:nth-child(2n) {
        margin-top: 0;
        margin-bottom: 0;
    }

    .problem-grid {
        gap: 40px;
        padding: 0;
    }

    /* Typography */
    .section-title {
        font-size: 24px;
    }

    .section-worry .section-title,
    .section-reason .section-title,
    .section-features .section-title {
        font-size: 28px;
    }

    .section-lead {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Spacing */
    .section {
        padding: 50px 20px;
    }

    /* Board Padding */
    .reason-white-board,
    .steps-white-board,
    .about-board {
        padding: 30px 20px;
        border-radius: 20px;
    }



    /* Buttons */
    .btn-large {
        padding: 15px 40px;
        width: 100%;
        box-sizing: border-box;
    }

    .btn-see-more-large {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 14px;
    }

    /* Problem Card adjustments */
    .problem-card-inner {
        border-radius: 20px;
    }

    .problem-card::before {
        border-radius: 20px;
    }

    .problem-text {
        font-size: 14px;
    }

    /* Hide some decorations if they overlap text */
    .deco-boy-run,
    .deco-tree,
    .deco-playground {
        display: none;
    }

    /* Ranking Card Adjustments */
    .ranking-card {
        margin-bottom: 10px;
    }

    /* CTA Area Adjustments */
    .cta-area {
        padding: 0;
        margin-top: 40px;
    }

    .cta-btn {
        width: 100%;
        max-width: none;
        height: auto;
        padding: 20px;
        font-size: 16px;
    }

    .coming-soon-label {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 5px;
        display: inline-block;
    }
}



/* AI検索 */

/* メインコンテンツ */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.search-section {
    background-color: #fff;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-title {
    text-align: center;
    color: var(--iromina-pink);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--iromina-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.search-button {
    padding: 1rem 2.5rem;
    background-color: var(--iromina-pink);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.search-button:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
}

.search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ローディングスピナー */
.loading-spinner {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.loading-spinner.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--iromina-light-gray);
    border-top-color: var(--iromina-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--iromina-dark-brown);
    font-size: 1rem;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 検索結果セクション */
.results-section {
    background-color: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--iromina-light-gray);
}

.results-title {
    color: var(--iromina-pink);
    font-size: 1.5rem;
    font-weight: bold;
}

.results-message {
    color: var(--iromina-dark-brown);
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--iromina-light-gray);
    border-radius: 8px;
}

.results-grid {
    display: grid;
    gap: 2rem;
}

/* 検索結果カード */
.result-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.15);
    border-color: rgba(255, 107, 157, 0.3);
}

.result-header {
    margin-bottom: 1.5rem;
}

.result-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--iromina-dark-brown);
    margin-bottom: 1rem;
}

.result-meta {
    margin-bottom: 1rem;
}

.result-meta-label {
    font-size: 0.85rem;
    color: var(--iromina-dark-brown);
    font-weight: bold;
    margin-bottom: 0;
    white-space: nowrap;
}

/* ジャンルタグ */
.genre-section {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.genre-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--iromina-pink);
    color: white;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(255, 107, 157, 0.3);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.genre-tag:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 157, 0.4);
}

.genre-tag i {
    font-size: 0.75rem;
}

/* キーワードタグ */
.keywords-section {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.keywords-label {
    font-size: 0.85rem;
    color: var(--iromina-dark-brown);
    font-weight: bold;
    margin-bottom: 0;
}

.keywords-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #fff;
    color: var(--iromina-pink);
    border: 1px solid var(--iromina-pink);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.result-description {
    color: var(--iromina-dark-brown);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* アコーディオン */
.accordion {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.accordion-item {
    border: none;
    background-color: transparent;
}

.accordion-button {
    background-color: #fff;
    color: var(--iromina-dark-brown);
    border: 2px solid var(--iromina-dark-brown);
    border-radius: 8px !important;
    font-weight: bold;
    padding: 0.75rem 2rem;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.accordion-button:hover {
    background-color: rgba(255, 107, 157, 0.05);
    border-color: var(--iromina-pink);
    color: var(--iromina-pink);
}

.accordion-button:not(.collapsed) {
    background-color: var(--iromina-pink);
    color: white;
    border-color: var(--iromina-pink);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 157, 0.25);
}

.accordion-button::after {
    margin-left: auto;
}

.accordion-collapse {
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.accordion-body-content {
    color: var(--iromina-dark-brown);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.accordion-body-link {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1.5rem auto 0;
    padding: 0.75rem 2rem;
    background-color: var(--iromina-pink);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.accordion-body-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
    color: white;
}

.result-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    padding: 0.75rem 2rem;
    background-color: #fff;
    color: var(--iromina-dark-brown);
    border: 2px solid var(--iromina-dark-brown);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.result-button:hover {
    background-color: var(--iromina-pink);
    color: white;
    border-color: var(--iromina-pink);
}

.result-reason {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--iromina-pink);
}

.result-reason-label {
    color: var(--iromina-pink);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.result-reason-text {
    color: var(--iromina-dark-brown);
    white-space: pre-wrap;
    line-height: 1.8;
}

/* エラーメッセージ */
.error-message {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--iromina-dark-brown);
}

.error-message .alert {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 1rem;
    border-radius: 8px;
}

/* 空の状態 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--iromina-dark-brown);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--iromina-light-gray);
    margin-bottom: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .main-container {
        padding: 2rem 0.75rem;
    }

    .search-section {
        padding: 2rem 1rem;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
    }

    .results-section {
        padding: 1.5rem 1rem;
    }

    .result-card {
        padding: 1.5rem 1rem;
    }

    .result-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .result-button {
        max-width: 100%;
    }

    .result-reason {
        padding: 1rem;
    }

    .accordion-body {
        padding: 1rem;
    }
}

/* AI検索フローティングウィジェット */
.ai-search-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow: hidden;
}

.ai-search-widget__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: var(--primary-pink);
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.ai-search-widget__icon {
    font-size: 16px;
}

.ai-search-widget__title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
}

.ai-search-widget__arrow {
    font-size: 10px;
    opacity: 0.8;
    color: #fff;
}

.ai-search-widget__body {
    padding: 12px;
}

.ai-search-widget__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-search-widget__input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.ai-search-widget__input:focus {
    border-color: var(--primary-pink);
}

.ai-search-widget__btn {
    width: 100%;
    padding: 9px;
    background-color: var(--primary-pink);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    text-align: center;
}

.ai-search-widget__btn:hover {
    opacity: 0.85;
}

/* AI検索モバイルポップアップ */
.ai-search-modal {
    display: none;
}

.ai-search-modal.is-open {
    display: block;
}

.ai-search-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10110;
}

.ai-search-modal__dialog {
    position: fixed;
    width: 80%;
    top:50%;
    transform: translate(-50%, -50%);
    left: 50%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px 16px 32px;
    z-index: 10111;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-search-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-pink);
}

.ai-search-modal__close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
}

@media (max-width: 768px) {
    .ai-search-widget {
        width: 64px;
        height: 64px;
        right: 20px;
        bottom: 20px;
        border-radius: 50%;
        overflow: hidden;
    }

    .ai-search-widget__body {
        display: none;
    }

    .ai-search-widget__header {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }

    .ai-search-widget__title {
        flex: unset;
        font-size: 11px;
        text-align: center;
    }

    .ai-search-widget__arrow {
        display: none;
    }
}


/* マイページ サイドメニュー */
.box-mpMenu .mpMenu-sidebar,
.box-mpMenu .mpMenu-sidebar--inner,
.box-mpMenu .mpMenu-sidebar--item,
.box-mpMenu .mpMenu-menuList,
.box-mpMenu .mpMenu-menuList--item,
.box-mpMenu .mpMenu-sidebar--item-ttl {
    background-color: var(--iromina-light-gray) !important;
}
.box-mpMenu .mpMenu-sidebar a,
.box-mpMenu .mpMenu-sidebar--item-ttl,
.box-mpMenu .mpMenu-menuList--item a,
.box-mpMenu .mpMenu-menuList--item a .material-symbols-outlined {
    color: #333 !important;
}