/* 経歴ページ専用スタイル（ヒーローは他ページと同じ .hero を使用） */

/* オーナーについて */
.santai-room-owner {
    padding: 50px 0 60px;
    background: #fff8f8;
}
.owner-about-inner {
    max-width: 60%;
    margin: 0 auto;
}
.owner-about-lead {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.owner-about-photo {
    margin: 1.5rem 0;
    text-align: center;
}
.owner-about-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(71, 24, 24, 0.12);
}
.owner-about-summary p {
    margin-bottom: 1.2rem;
    color: #555;
    line-height: 1.85;
}
.owner-about-summary a {
    color: #943232;
    font-weight: 600;
}
.owner-about-summary a:hover {
    text-decoration: underline;
}

.owner-about-videos {
    margin-top: 2.5rem;
}
.owner-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.owner-video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(148, 50, 50, 0.2);
    aspect-ratio: 9 / 16;
    max-width: 280px;
    margin: 0 auto;
}
.owner-video-badge {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: rgba(148, 50, 50, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}
.owner-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}
.owner-video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    text-align: center;
}
@media (max-width: 768px) {
    .owner-about-inner {
        max-width: 90%;
    }
    .owner-video-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* 地球儀セクション（Globe.gl） */
.santai-room-globe {
    padding: 50px 0 60px;
    background: linear-gradient(180deg, #0a0a14 0%, #1a1a2e 50%, #0d0d18 100%);
}
.santai-room-globe .section-label {
    color: rgba(255, 255, 255, 0.9);
}
.santai-room-globe .section-title {
    color: #fff;
}
.santai-room-globe .section-title::after {
    background: rgba(255, 255, 255, 0.8);
}
.santai-room-globe-lead {
    text-align: center;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.globe-visual {
    max-width: 920px;
    margin: 0 auto;
}
.world-map-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(148, 50, 50, 0.15);
    border: 2px solid rgba(148, 50, 50, 0.2);
    background: #030314;
}
.santai-room-globe .globe-container {
    width: 100%;
    height: 540px;
    min-height: 360px;
    position: relative;
    background: #030314;
    background-image: radial-gradient(ellipse 120% 100% at 50% 50%, rgba(30,40,80,0.4) 0%, transparent 50%);
}
.santai-room-globe .globe-container canvas {
    display: block;
    border-radius: 18px 18px 0 0;
}
.globe-fallback {
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
}
.globe-fallback-text {
    margin: 0;
    max-width: 520px;
    font-size: 0.9rem;
    line-height: 1.7;
}
.globe-fallback-text strong {
    font-weight: bold;
}
@media (max-width: 640px) {
    .santai-room-globe .globe-container {
        height: 360px;
        min-height: 260px;
    }
}
.world-map-legend {
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #fff;
    background: #1a1a2e;
    text-align: center;
}

/* 年表：縦軸（年月）＋横（アコーディオン） */
.santai-room-timeline-intro {
    padding: 50px 0 70px;
    background: #f8f6f0;
}
.timeline-intro-text {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #555;
}
.timeline-intro-text a {
    color: #943232;
    font-weight: bold;
}
.year-timeline {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(148, 50, 50, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    box-sizing: border-box;
}
.santai-room-timeline-intro .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}
.year-timeline-row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    align-items: stretch;
}
.year-timeline-row:last-child {
    border-bottom: none;
}
.year-timeline-row.is-open .year-accordion-head {
    background: rgba(148, 50, 50, 0.08);
    border-bottom: 1px solid #eee;
}
.year-axis {
    flex-shrink: 0;
    width: 120px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: rgba(248,246,240,0.8);
    border-right: 1px solid #eee;
}
.year-month {
    font-weight: bold;
    color: #943232;
    font-size: 0.95rem;
    text-align: center;
}
.year-content {
    flex: 1;
    min-width: 0;
}
.year-accordion-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: background 0.2s;
    min-height: 56px;
    box-sizing: border-box;
}
.year-accordion-head:hover {
    background: rgba(148, 50, 50, 0.06);
}
.year-accordion-icon {
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    color: #943232;
    font-size: 1.1rem;
}
.year-accordion-title {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.year-accordion-body {
    padding: 0 1.25rem 1.25rem 1.25rem;
    border-top: none;
    background: #fafaf8;
}
.year-accordion-body p {
    margin: 0;
    padding-top: 1rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}
/* 学びの年表：強調キーワード（印象に残る語句） */
.year-accordion-body strong {
    font-weight: 700;
    color: #471818;
    background: linear-gradient(180deg, transparent 60%, rgba(148, 50, 50, 0.12) 60%);
    padding: 0 2px;
}
.year-accordion-body .year-body-figure {
    margin: 1.5rem 0 0 0;
}
.year-accordion-body .year-body-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* パソコン・タブレット：画像を横幅30％に */
@media (min-width: 769px) {
    .year-accordion-body .year-body-figure--narrow {
        max-width: 30%;
    }
}
.year-accordion-body .year-body-figures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 1.5rem;
}
/* 3枚並び：デスクトップで3列・バランスよく */
.year-accordion-body .year-body-figures--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.year-accordion-body .year-body-figures--three .year-body-figure {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.year-accordion-body .year-body-figures--three .year-body-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
@media (max-width: 768px) {
    .year-accordion-body .year-body-figures--three {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .year-accordion-body .year-body-figures {
        grid-template-columns: 1fr;
    }
    .year-accordion-body .year-body-figures--three {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
.year-accordion-body .year-body-figures .year-body-figure {
    margin: 0;
}

@media (max-width: 768px) {
    .santai-room-timeline-intro .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .year-timeline {
        max-width: 100%;
    }
    .year-axis {
        width: 100px;
        font-size: 0.9rem;
    }
    .year-accordion-head {
        padding: 0.75rem 1rem;
    }
    .year-accordion-title {
        font-size: 0.9rem;
    }
}
@media (max-width: 640px) {
    .year-axis {
        width: 100%;
        min-height: 44px;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 8px 12px;
    }
    .year-timeline-row {
        flex-direction: column;
    }
    .year-accordion-head {
        min-height: 48px;
        padding: 0.75rem 1rem;
    }
    .year-accordion-body {
        padding: 0 1rem 1rem;
    }
    .year-accordion-body p,
    .year-diploma-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 年表アコーディオン内：ディプロマ（画像・概要・公式・感想） */
.year-diplomas {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(148, 50, 50, 0.2);
}
.year-diploma {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.year-diploma:last-child {
    margin-bottom: 0;
}
.year-diploma-img {
    flex-shrink: 0;
    width: 140px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
    object-fit: cover;
}
.year-diploma-text {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
}
.year-diploma-text strong {
    color: #333;
    display: block;
    margin-bottom: 0.35rem;
}
.year-diploma-text a {
    color: #943232;
    text-decoration: none;
}
.year-diploma-text a:hover {
    text-decoration: underline;
}
.year-accordion-body .year-place-note {
    font-size: 0.9em;
    color: #555;
    margin-top: 1em;
}
@media (max-width: 480px) {
    .year-diploma {
        flex-direction: column;
    }
    .year-diploma-img {
        width: 100%;
        max-width: 200px;
    }
}
