/* =====================================================
   STARMAN TOEIC QUEST
   Version 1.0
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    width:100%;
    height:100%;

}

body{

    overflow:auto;

    background:#111d38;

    color:#eef4ff;

    font-family:
        "Segoe UI",
        "Yu Gothic UI",
        sans-serif;

}

/* =====================================================
   STAR FIELD
===================================================== */

#starfield{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-1;

}

.star{

    position:absolute;

    width:3px;
    height:3px;

    border-radius:50%;

    background:white;

    opacity:.7;

    animation:
        twinkle 4s infinite ease-in-out;

}

.s1{top:8%;left:12%;}
.s2{top:20%;left:74%;}
.s3{top:14%;left:55%;}
.s4{top:40%;left:18%;}
.s5{top:62%;left:82%;}
.s6{top:75%;left:40%;}
.s7{top:85%;left:15%;}
.s8{top:48%;left:60%;}
.s9{top:32%;left:88%;}
.s10{top:10%;left:92%;}

@keyframes twinkle{

    0%{

        opacity:.2;
        transform:scale(.8);

    }

    50%{

        opacity:1;
        transform:scale(1.8);

    }

    100%{

        opacity:.2;
        transform:scale(.8);

    }

}

/* =====================================================
   GAME WINDOW
===================================================== */

#game{

    width:min(1200px,95vw);

    min-height:92vh;

    margin:4vh auto;

    display:flex;

    flex-direction:column;

    border-radius:24px;

    border:1px solid
        rgba(160,190,255,.25);

    background:

        rgba(12,20,42,.72);

    backdrop-filter:blur(16px);

    box-shadow:

        0 0 60px
        rgba(80,140,255,.18);

}

/* =====================================================
   HEADER
===================================================== */

header{

    text-align:center;

    padding:

        30px
        20px
        18px;

}

header h1{

    font-size:48px;

    letter-spacing:10px;

    color:white;

    text-shadow:

        0 0 18px
        rgba(180,210,255,.35);

}

header h2{

    margin-top:2px;

    font-size:20px;

    font-weight:300;

    letter-spacing:5px;

    color:#a9c9ff;

}

.subtitle{

    margin-top:16px;

    color:#FFD54A;

    font-size:16px;

    letter-spacing:3px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:14px;

}

.subtitle::before,
.subtitle::after{

    content:"─────";

    color:rgba(255,213,74,.45);

    letter-spacing:0;

    font-size:12px;

}

/* =====================================================
   MAIN LAYOUT
===================================================== */

#mainLayout{

    flex:1;

    display:grid;

    grid-template-columns:
    minmax(300px, 34%)
    minmax(0, 1fr);

    gap:36px;

    padding:

        10px
        36px
        30px;

}

/* =====================================================
   LEFT
===================================================== */

#teacherArea{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    padding-top:0px;

}

.teacherCard{

    width:100%;

    padding:8px;

    border-radius:22px;

    background:transparent;

    border:none;

    box-shadow:none;

    transition:.35s;

}

#teacherImage{

    width:100%;

    display:block;

    border-radius:18px;

filter:none;

transform: translateY(-8px) scale(1.02);
transform-origin: center top;
}

/* =====================================================
   RIGHT
===================================================== */

#rightArea{

    display:flex;

    flex-direction:column;

    gap:24px;

    min-width:0;

}

/* =====================================================
   MESSAGE WINDOW
===================================================== */

#messageWindow{

    min-height:145px;

    padding:

        18px
        28px;

    border-radius:20px;

    background:

        linear-gradient(

            180deg,

            rgba(255,255,255,.08),

            rgba(255,255,255,.03)

        );

    border:

        1px solid
        rgba(180,210,255,.18);

    box-shadow:

        inset
        0 1px 0
        rgba(255,255,255,.08),

        0 0 20px
        rgba(80,140,255,.12);

}

#messageWindow .jp{

    font-size:22px;

    line-height:1.8;

    color:#ffffff;

}

#messageWindow .en{

    margin:

        20px 0;

    font-size:16px;

    letter-spacing:2px;

    color:#8fc7ff;

    font-style:italic;

}

/* =====================================================
   MESSAGE EFFECT
===================================================== */

#messageWindow{

    animation:

        fadeIn
        .8s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:

            translateY(12px);

    }

    to{

        opacity:1;

        transform:

            translateY(0);

    }

}
/* =====================================================
   MENU
===================================================== */

#menu{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:18px;

}

.menuGroup{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.menuButton{

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-start;

    min-height:95px;

    padding:18px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    color:#eef6ff;

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );

    border:
        1px solid
        rgba(170,210,255,.18);

    transition:
        transform .25s,
        box-shadow .25s,
        border-color .25s;

}

@media (hover: hover) {

    .menuButton:hover{

        transform:
            translateY(-5px);

        border-color:
            rgba(170,220,255,.55);

        box-shadow:

            0 0 28px
            rgba(120,180,255,.35);

    }

}

.menuButton:active{

    transform:
        translateY(-2px);

}

.menuButton .icon{

    font-size:28px;

    margin-bottom:12px;

}

.menuButton .title{

    font-size:17px;

    font-weight:600;

    letter-spacing:1px;

}

.menuButton .sub{

    margin-top:6px;

    font-size:12px;

    color:#9dc7ff;

}

/* =====================================================
   STATUS BAR
===================================================== */

#statusBar{
    margin-top:auto;
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:18px;

    padding:

        18px
        30px
        26px;

}

.statusItem{

    text-align:center;

    padding:16px;

    border-radius:16px;

    background:

        rgba(255,255,255,.05);

    border:

        1px solid
        rgba(170,210,255,.15);

}

.statusItem .label{

    font-size:12px;

    letter-spacing:2px;

    color:#87b6ff;

    margin-bottom:8px;

}

#level,
#exp,
#starCount{

    font-size:20px;

    font-weight:bold;

    color:white;

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:1150px){

    body{

        overflow:auto;

    }

    #game{

        width:100%;
        height:auto;

        margin:0;

        border-radius:0;

    }

    #mainLayout{

        grid-template-columns:
            1fr;

    }

    .teacherCard{

        max-width:420px;

        margin:auto;

    }

    #menu{

        grid-template-columns:
            1fr;

    }

    #statusBar{

        grid-template-columns:
            1fr;

    }

    header h1{

        font-size:42px;

        letter-spacing:6px;

    }

}

/* =====================================================
   SMALL EFFECTS
===================================================== */

.menuButton::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:18px;

    background:

        linear-gradient(
            135deg,
            rgba(255,255,255,.08),
            transparent 55%
        );

    opacity:0;

    transition:.3s;

    pointer-events:none;

}

.menuButton:hover::after{

    opacity:1;

}
/* =====================================================
   LESSON
===================================================== */

#choices{

    display:flex;

    flex-direction:column;

    gap:16px;

    margin-top:30px;

}

.choiceButton{

    width:100%;

    padding:14px;

    font-size:19px;

    text-align:left;

    border:none;

    border-radius:14px;

    cursor:pointer;

    color:white;

    background:

        rgba(255,255,255,.08);

    border:

        1px solid
        rgba(170,210,255,.15);

    transition:.25s;

    min-width:220px;

}

@media (hover: hover) {

    .choiceButton:hover{

        transform:translateY(-2px);

        background:rgba(120,180,255,.18);

    }

}

#mainLayout.lessonMode{
    grid-template-columns:1fr;
}
#mainLayout.lessonMode #teacherArea{
    display:none !important;
}
#mainLayout.lessonMode #rightArea{
    max-width:900px;
    width:100%;
    margin:0 auto;
}
#mainLayout.lessonMode #messageWindow{
    min-height:420px;
}


/* Teacher result */
.teacherResult{
 display:flex;
 gap:20px;
 align-items:flex-start;
 justify-content:center;
 margin-bottom:28px;
}
.teacherResult img{
 width:200px;
 height:auto;
 flex-shrink:0;
}
.teacherBubble{
 flex:1;
 max-width:430px;
 padding:14px 18px;
 border-radius:16px;
 background:rgba(255,255,255,.08);
 border:1px solid rgba(170,210,255,.18);
}

.teacherDivider{
    border:none;
    border-top:1px solid rgba(255,255,255,.12);
    margin:12px 0 18px;
}

.word{

    font-size:28px;

    font-weight:700;

    margin-bottom:18px;

    color:#ffffff;

}

.word.correct{
    color:#FFD54A;
    text-shadow:
        0 0 8px rgba(255,213,74,.35),
        0 0 20px rgba(255,213,74,.15);
}

.word.incorrect{
    color:#FFB3B3;
}

@media(max-width:700px){

    #messageWindow{
        padding:20px;
    }

    .starmanCard{

        margin:-20px;

    }

    .teacherResult{
        flex-direction:column;
        align-items:center;
        gap:16px;
        margin-bottom:20px;
    }

    .teacherResult img{
        width:140px;
    }

    .teacherBubble{
        width:100%;
        max-width:none;
        padding:14px;
    }

    .word{
        font-size:26px;
    }

    #messageWindow .jp{
        font-size:20px;
    }

    #messageWindow .en{
        font-size:15px;
        letter-spacing:1px;
    }

}

.lessonTitle{
    font-size:14px;
    letter-spacing:4px;
    color:#8fc7ff;
    text-transform:uppercase;
    margin-bottom:10px;
}

.courseSelect{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-top:28px;
}

.compactButton{
    width:auto;
    min-height:58px;
    display:inline-flex;
}

.part5Sentence{
    line-height:1.5;
}

@media(max-width:700px){

    .courseSelect{
        grid-template-columns:1fr;
    }

}

/* =====================================================
   MASTER SYSTEM
===================================================== */

.masterMeter{
    display:flex;
    flex-direction:column;
    align-items:flex-start;

    gap:8px;

    margin:8px 0 10px;

    padding:8px 0;

    background:none;
    border:none;
}

.masterLabel{
    font-size:13px;
    letter-spacing:2px;
    color:#9dc7ff;
    white-space:nowrap;
}

.masterStars{
    font-size:21px;
    letter-spacing:2px;
    color:#FFD54A;
    text-shadow:0 0 12px rgba(255,213,74,.25);
}

.masterStars.big{
    margin:14px 0 8px;
    font-size:30px;
}

.resultMaster{
    max-width:520px;
}

.masterComplete{
    text-align:center;
    padding:10px 0 4px;
}

.masterBadge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:7px 18px;
    margin-bottom:18px;
    border-radius:999px;
    color:#0f1830;
    background:#FFD54A;
    box-shadow:0 0 26px rgba(255,213,74,.35);
    font-weight:800;
    letter-spacing:3px;
}

@media(max-width:700px){

    .masterMeter{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .masterStars{
        font-size:18px;
        letter-spacing:1px;
    }

    .masterStars.big{
        font-size:24px;
    }

}

/* =====================================================
   STAR MAP SYSTEM (COSMO NAVIGATION)
===================================================== */
.starmap-container {
    display: flex;
    gap: 24px;
    margin: 20px 0;
    text-align: left;
}

.starmap-route {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(157,199,255,0.05);
}

.starmap-detail {
    flex: 1.2;
    padding: 20px;
    background: rgba(157,199,255,0.04);
    border: 1px solid rgba(157,199,255,0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 260px;
}

/* 縦一直線のルート表現 */
.starmap-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.starmap-star {
    background: none;
    border: none;
    color: #888;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 16px;
    margin: 4px 0;
    border-radius: 8px;
    width: 80%;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (hover: hover) {

    .starmap-star:hover {

        background: rgba(255,255,255,0.05);

    }

}

/* 開放済み：青白く光る */
.star-unlocked {
    color: #9dc7ff;
    text-shadow: 0 0 8px rgba(157,199,255,0.6);
    font-weight: bold;
}

/* ロック：暗い灰色 */
.star-locked {
    color: #4e596f;
    cursor: not-allowed;
}
.star-locked:hover {
    background: none;
}

/* 現在地：少し大きく光る */
.star-current {
    color: #FFD54A;
    font-size: 19px;
    text-shadow: 0 0 14px rgba(255,213,74,0.8);
    font-weight: bold;
    background: rgba(255,213,74,0.06);
    border: 1px solid rgba(255,213,74,0.2);
}

.starmap-line {
    width: 1px;
    height: 24px;
    background: rgba(157,199,255,0.2);
}

/* スマホ用：画面幅が狭いときは上下分割にする */
@media(max-width: 768px) {
    .starmap-container {
        flex-direction: column;
    }
    .starmap-star {
        width: 100%;
    }
}

/* =====================================================
   STAR MAP TEACHER
===================================================== */

.starmapTeacherLayout{

    display:flex;

    align-items:flex-end;

    gap:24px;

}

.starmapTeacher{
    width:220px;
    height:auto;
}

.starmapMessage{

    flex:1;

}

@media(max-width:768px){

    .starmapTeacherLayout{

        flex-direction:column;

        align-items:center;

    }

    .starmapTeacher{

        width:150px;

    }

    .starmapMessage{

        width:100%;

    }

}

/* 危険操作ボタン */
.dangerButton{

    background:#8b2d2d !important;
    border:1px solid #d66;
    color:#fff;

}

.dangerButton:hover{

    background:#b53d3d !important;

}

.wordArea{

    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;

    margin-bottom:10px;

}

.wordArea .word{

    margin:0;

}

.soundButton{

    position:absolute;

    top:-8px;
    right:20px;

    width:32px;
    height:32px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(170,210,255,.18);

    color:#9dc7ff;

    font-size:16px;

    cursor:pointer;

    transition:.2s;

}

@media (hover: hover) {

    .soundButton:hover{

        background:rgba(120,180,255,.18);
        transform:scale(1.08);

    }

}

@media (max-width:700px){

    .soundButton{

        right:0;
        top:-6px;

        width:30px;
        height:30px;

        font-size:15px;

    }

}

.starmanButton{

    border:1px solid #d7b34d;

    background:linear-gradient(
        180deg,
        rgba(215,179,77,.10),
        rgba(215,179,77,.02)
    );

    margin-top:6px;

    transition:.25s;
}

@media (hover: hover) {

    .starmanButton:hover{

        border-color:#ffd76a;

        box-shadow:
            0 0 18px rgba(255,215,106,.35);

    }

}

.title{
    display:flex;
    align-items:center;
}

.courseIcon{

    width:50px;

    height:50px;

    margin-right:12px;

    flex-shrink:0;

}

/* ==========================================================
   STARMAN WORDS CARD
========================================================== */

.starmanCard{

    background:linear-gradient(
        180deg,
        #ead9ae 0%,
        #d9bf84 55%,
        #c8aa67 100%
    );

    border:2px solid #b8903b;

    border-radius:18px;

    padding:0 20px 24px;

    margin-bottom:0px;

    box-shadow:
        inset 0 0 18px rgba(255,255,255,.25),
        0 8px 20px rgba(0,0,0,.35);

}

.starmanCardTitle{

    font-size:28px;

    font-weight:700;

    text-align:center;

    color:#6b4b18;

    letter-spacing:2px;

    margin-bottom:8px;

}

.starmanCardSub{

    text-align:center;

    font-size:14px;

    color:#5d4820;

    letter-spacing:1px;

}

/* STARMAN WORDS ONLY */
.starmanCard .word{
    color:#3f2b12;
}

.starmanCard .lessonTitle{
    color:#866326;
}

.starmanCard .masterLabel{
    color:#866326;
}

.starmanCard .choiceButton{
    color:#4a3415;
    background:rgba(255,255,255,.18);
}

.starmanCard .soundButton{

    width:42px;
    height:42px;
    font-size:20px;

    border-radius:50%;

    background:#ead7a8;

    border:2px solid #b99242;

    color:#6b4a18;

    box-shadow:none;
}

.starmanCard #choices{

    margin-top:16px;

}

/* STARMAN WORDS MASTER GAUGE */

.masterGauge{
    display:flex;
    gap:4px;
    justify-content:center;
    margin-top:4px;
    width:100%;
}

.masterGauge span{
    width:14px;
    height:14px;
    border-radius:2px;
    display:inline-block;
}

.masterGauge .on{
    background:#FFD54A;
    box-shadow:0 0 4px rgba(255,213,74,.4);
}

.masterGauge .off{
    border:1px solid #8b6424;
    background:transparent;
}

.starmanHeaderImage{

    margin:

        -4px
        -20px
        14px;

}

.starmanHeaderImage img{

    display:block;

    width:100%;

    height:auto;

    border-radius:

        16px
        16px
        0
        0;

}

.planetArrival{

    text-align:center;

    animation:fadeIn .8s;

}

.arrivalTitle{

    color:#FFD54A;

    letter-spacing:4px;

    font-size:14px;

}

.arrivalSub{

    color:#9dc7ff;

    margin:12px 0 28px;

}

.arrivalPlanet{

    width:300px;

    max-width:80%;

    animation:planetZoom .9s ease;

    filter:drop-shadow(0 0 22px rgba(255,255,255,.35));

}

@keyframes planetZoom{

    from{

        opacity:0;

        transform:scale(.75);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/* =====================================================
   STARMAN WORDS FULL CARD
===================================================== */

.starmanCard{

    margin:-28px -32px;

    border-radius:20px;

}

.groupTitle{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:14px;

    letter-spacing:5px;

    color:#8fc7ff;

    text-transform:uppercase;

    margin-bottom:16px;

}

.groupTitle::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(143,199,255,.25);

}

.learnArea .groupTitle{

    color:#FFD54A;

}

.learnArea .groupTitle::after{

    background:rgba(255,213,74,.35);

}

.largeButton{

    min-height:180px;

    padding:28px;

    align-items:flex-start;

    justify-content:flex-start;

    background:linear-gradient(
        180deg,
        rgba(70,140,255,.20),
        rgba(40,90,180,.08)
    );

    border:1px solid rgba(120,190,255,.45);

    box-shadow:0 0 24px rgba(80,150,255,.20);

}

/* =====================================================
   PIECES
===================================================== */

.miniTraining{

    display:flex;

    flex-direction:column;

    gap:10px;

    margin-top:6px;

    padding-top:14px;

    border-top:1px solid rgba(255,255,255,.08);

}

.miniButton{

    min-height:88px;

    opacity:.88;

}

.journeyGrid{

    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:18px;

    min-width:0;

}

.journeyGrid .menuButton{

    min-height:110px;
    min-width:0;

}

#recordButton{

    grid-column:1 / 3;

    min-height:82px;

}

.largeButton .icon{

    font-size:40px;

}

.largeButton .title{

    font-size:22px;

}

.largeButton .sub{

    font-size:14px;

}

.largeButton{

    justify-content:center;

}

.settingsArea{

    margin-top:6px;

    display:flex;

    justify-content:flex-start;
}

.settingButton{

    width:350px;
    flex:none;

    min-height:24px;

    padding:2px 40px;

    display:flex;
}

.settingButton .title{

    margin-right:auto;

}

.settingButton .sub{

    margin-top:0;

}

.menuGroup{

    padding:18px;

    border-radius:20px;

    background:rgba(255,255,255,.025);

    border:1px solid rgba(150,190,255,.10);

}

.menuTitleRow{
    display:flex;
    align-items:center;
    gap:8px;
}

.menuTitleRow .icon{
    margin-bottom:0;
}

.menuTitleRow .title{
    margin:0;
}

/* ==========================================================
   HORIZONTAL FAMILIARITY
========================================================== */

.horizontalGauge{

    display:flex;
    align-items:center;
    gap:14px;

}

.horizontalGauge .masterLabel{

    margin:0;
    white-space:nowrap;
    flex-shrink:0;

}

.horizontalGauge .masterGauge{

    margin:0;
    width:auto;
    justify-content:flex-start;
    flex:1;

}

/* =====================================================
   HOME COLOR ACCENTS
===================================================== */

/* ---------- JOURNEY : TURQUOISE ---------- */

.journeyArea .groupTitle{
    color:#55d9d2;
}

.journeyArea .groupTitle::after{
    background:rgba(85,217,210,.35);
}

.journeyArea .menuButton{
    background:
        linear-gradient(
            180deg,
            rgba(35,190,190,.10),
            rgba(20,120,140,.04)
        );

    border-color:
        rgba(70,210,210,.30);
}

.journeyArea .menuButton:hover{
    border-color:
        rgba(90,230,225,.65);

    box-shadow:
        0 0 28px
        rgba(50,210,210,.28);
}

.journeyArea .menuButton .sub{
    color:#79dcd8;
}


/* ---------- PIECES : PURPLE ---------- */

.miniTraining{
    border-top-color:
        rgba(190,150,255,.18);
}

.miniTitle{
    color:#b9a0e8;
}

.miniButton{
    background:
        linear-gradient(
            180deg,
            rgba(150,110,210,.14),
            rgba(90,65,150,.06)
        );

    border-color:
        rgba(185,155,235,.32);

    box-shadow:
        0 0 18px
        rgba(145,100,210,.10);
}

.miniButton:hover{
    border-color:
        rgba(205,175,255,.65);

    box-shadow:
        0 0 26px
        rgba(165,115,235,.28);
}

/* =====================================================
   MESSAGE WINDOW : EARTH BACKGROUND
===================================================== */

#mainLayout:not(.lessonMode) #messageWindow{
    position:relative;
    overflow:hidden;

    background:
        linear-gradient(
            90deg,
            rgba(10,18,40,.78) 0%,
            rgba(10,18,40,.48) 48%,
            rgba(10,18,40,.18) 100%
        ),
        url("img/message_earth_background.png")
        center center / cover no-repeat;

    border-color:
        rgba(120,190,255,.24);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 24px rgba(70,150,255,.14);
}

#messageWindow .jp,
#messageWindow .en{
    position:relative;
    z-index:1;
}

/* =====================================================
   LESSON / MEMORY / MASTER WORDS
   Earth background OFF
===================================================== */

#mainLayout.lessonMode #messageWindow {

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        );

}

/* =====================================================
   RECORD
===================================================== */

.recordTeacherLayout{

    display:flex;

    align-items:flex-start;

    gap:32px;

    margin:10px 0 28px;

}


/* 左：記録 */

.recordData{

    flex:1;

    min-width:0;

}


/* 右：先生 */

.recordTeacher{

    width:350px;

    height:auto;

    flex-shrink:0;

    border-radius:2px;

}

.recordSubtitle{

    font-size:11px;

    color:#9dc7ff;

    letter-spacing:1.5px;

    margin-bottom:16px;

}


#messageWindow .recordQuote{

    font-size:14px;

    font-style:italic;

    color:#bcccf0;

    line-height:1.4;

    margin:0 0 16px;

}


/* 先生の日本語 */

#messageWindow .recordTeacherMessage{

    font-size:14px;

    line-height:1.6;

    color:#eef4ff;

    border-left:2px solid #2b5c9e;

    padding-left:10px;

    margin:0 0 22px;

}

.recordTeacherMessage span{

    display:block;

    font-size:14px;

    color:#9dc7ff;

    font-weight:bold;

    margin-bottom:4px;

}


/* =====================================================
   RECORD ITEMS
===================================================== */

.recordItems{

    width:100%;

}


.recordItem{

    display:flex;

    align-items:center;

    min-height:36px;

    border-bottom:1px dotted rgba(157,199,255,.22);

    font-size:15px;

}


/* アイコン */

.recordIcon{

    width:25px;

    flex-shrink:0;

    text-align:left;

    font-size:16px;

    font-weight:bold;

}


/* アイコンの色 */

.recordIcon.stars{

    color:#FFD54A;

}

.recordIcon.questions{

    color:#55bfff;

}

.recordIcon.correct{

    color:#4edb7a;

}

.recordIcon.wrong{

    color:#ff5d68;

}

.recordIcon.rate{

    color:#55bfff;

}

.recordIcon.master{

    color:#FFD54A;

}

.recordIcon.part5{

    color:#55bfff;

}


/* 項目名 */

.recordLabel{

    flex:1;

    color:#eef4ff;

}


/* 数字 */

.recordValue{

    color:#eef4ff;

    text-align:right;

    white-space:nowrap;

}


/* =====================================================
   RECORD - MOBILE
===================================================== */

@media(max-width:768px){

    .recordTeacherLayout{

        flex-direction:column;

        gap:20px;

    }

    .recordData{

        width:100%;

        display:flex;

        flex-direction:column;

    }

    .recordSubtitle{
        order:2;
    }

    .recordItems{
        order:3;
    }

    .recordQuote{
        order:4;
    }

    .recordTeacherMessage{
        order:5;
    }

    .recordTeacher{

        width:220px;

        max-width:70%;

        align-self:center;

    }

}
