@charset "UTF-8";

/* =========================================
   manabi-letters.html / 文学部 PC (1200px〜)
   Figma frame: 723:2193 (1280 × 8930)
   ========================================= */

:root {
    --ml-navy: #143167;
    --ml-letters: #b5193c;
    --ml-mark: #13a0bc;
    --ml-brown: #2c2204;
    --ml-caption: #979797;
    --ml-kadai-bg: #eaf2f4;
}

.inner {
    display: block;
    width: 1084px;
    margin: 0 auto;
}

body {
    position: relative;
}

.back_img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1280px;
    overflow: hidden;
    z-index: -1;
    max-width: 1280px;
}

.back_img2 {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1280px;
    min-width: 100vw;
    height: auto;
    z-index: -2;
}

main.manabi_letters {
    color: var(--ml-navy);
    font-family: 'Noto Sans JP', sans-serif;
}

/* ===== メインビジュアル ===== */
.ml_main {
    padding-top: 187px;
    text-align: center;
}

.ml_main_series {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 36px;
    letter-spacing: 2.2px;
    color: var(--ml-navy);
    margin-bottom: 19px;
}

.ml_main_title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 65px;
    letter-spacing: 3.36px;
    color: var(--ml-navy);
    margin: 0 auto 27px;
    padding-bottom: 35px;
    border-bottom: solid 1px var(--ml-navy);
    width: 1079px;
}

.ml_main_label_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 35px;
}

.ml_main_label {
    background-color: var(--ml-letters);
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 25px;
    height: 42px;
    padding: 8px 27px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ml_main_subject {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 31px;
    line-height: 48px;
    color: var(--ml-navy);
}

.ml_main_visual {
    width: 1084px;
    height: 462px;
    border-radius: 231px;
    overflow: hidden;
    margin: 0 auto;
}

.ml_main_visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ml_main_caption {
    margin-top: 16px;
    text-align: right;
    color: var(--ml-caption);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

/* ===== 授業紹介 ===== */
.ml_intro {
    margin-top: 109px;
}

.ml_intro_box {
    background: #fff;
    border: 1px solid var(--ml-navy);
    border-radius: 25px;
    padding: 33px 53px;
    text-align: center;
}

.ml_intro_title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 36px;
    letter-spacing: 2.2px;
    color: var(--ml-navy);
    margin-bottom: 20px;
    text-align: center;
}

.ml_intro_body {
    width: 973px;
    margin: 0 auto;
    text-align: left;
}

.ml_intro_body p {
    font-size: 18px;
    line-height: 30px;
    color: var(--ml-navy);
}

.ml_intro_body p + p {
    margin-top: 30px;
}

.ml_mark {
    font-weight: 700;
    font-size: 18px;            /* common.css の strong{font-size:1rem} を打ち消す */
    line-height: 30px;
    color: var(--ml-mark);
}

/* ===== 教員紹介 ===== */
.ml_prof {
    margin-top: 63px;
    display: flex;
    align-items: center;
    gap: 70px;
}

.ml_prof_photo {
    flex-shrink: 0;
    width: 248px;
    height: 248px;
    border-radius: 50%;
    overflow: hidden;
}

.ml_prof_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ml_prof_info {
    flex: 1;
    width: 722px;
    color: var(--ml-navy);
}

.ml_prof_name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 29px;
    margin-bottom: 6px;
}

.ml_prof_role {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 29px;
    margin-bottom: 15px;
}

.ml_prof_body p {
    font-size: 16px;
    line-height: 26px;
}

.ml_prof_body p + p {
    margin-top: 16px;
}

/* ===== Q&Aセクション ===== */
.ml_qa_list {
    margin-top: 63px;
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.ml_qa_box {
    background: #fff;
    border: 1px solid var(--ml-navy);
    border-radius: 31px;
    padding: 50px 56px;
    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: center;
}

.ml_qa_q {
    background-color: var(--ml-navy);
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 48px;
    letter-spacing: 1.5px;
    border-radius: 10px;
    padding: 10px 25px;
    text-align: center;
    width: 100%;
}

.ml_qa_row {
    display: flex;
    gap: 58px;
    align-items: center;
    width: 100%;
}

.ml_qa_img {
    flex: 1;
    align-self: stretch;
    border-radius: 31px;
    overflow: hidden;
    min-height: 280px;
}

.ml_qa_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ml_qa_img_books {
    position: relative;
    background-image: url(../images/classdive/03/tanka_bg.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 67px;
    border-radius: 31px;
    min-height: 280px;
}

/* 巻20と巻19を Figma の位置関係(右下に重ねる) で中央に配置 */
.ml_qa_books_inner {
    position: relative;
    width: 168px;
    height: 186px;
}

.ml_qa_book {
    position: absolute;
    width: 102px;
    height: auto;
}

.ml_qa_book_back {
    /* 巻20 (左上) */
    left: 0;
    top: 0;
    z-index: 1;
}

.ml_qa_book_front {
    /* 巻19 (右下) */
    left: 66px;
    top: 44px;
    z-index: 2;
}

.ml_qa_text {
    width: 612px;
    color: var(--ml-navy);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ml_qa_h {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
}

.ml_qa_text p {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.ml_qa_text p + p {
    margin-top: 8px;
}

.ml_qa_caption {
    color: var(--ml-caption);
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* ===== 短歌ブロック ===== */
.ml_qa_box_tanka {
    gap: 43px;
}

.ml_tanka_unit {
    width: 100%;
    border-bottom: 1px dashed var(--ml-navy);
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 31px;
    border-radius: 5px;
}

.ml_tanka_unit_last {
    border-bottom: none;
    padding-bottom: 0;
}

.ml_tanka_title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.75;
    color: var(--ml-navy);
}

.ml_tanka_card {
    position: relative;
    background-image: url(../images/classdive/03/tanka_bg.png);
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    padding: 40px 40px 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 972px;
}

.ml_tanka_poem {
    flex-shrink: 0;
    color: var(--ml-brown);
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
}

.ml_tanka_poem p {
    font-size: 30px;
    line-height: 2.5;
    margin: 0;
}

.ml_tanka_poem ruby rt {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 10.55px;
    font-weight: 400;
    color: var(--ml-brown);
}

.ml_tanka_credit {
    font-family: 'Noto Serif JP', serif;
    font-weight: 300;
    font-size: 14px !important;
    line-height: 2.5;
    color: var(--ml-brown);
    margin-top: 16px !important;
}

.ml_tanka_trans {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    padding: 30px;
    width: 332px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--ml-brown);
    text-align: justify;
}

.ml_tanka_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ml-brown);
    border-radius: 3px;
    padding: 10px;
    width: 121px;
    font-size: 14px;
    line-height: 1.5;
}

.ml_tanka_trans_lead {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
}

.ml_tanka_trans_body {
    font-size: 14px;
    line-height: 2;
}

/* ===== 受講学生の声 ===== */
.ml_student {
    margin-top: 63px;
}

.ml_student_box {
    background: #fff;
    border: 1px solid var(--ml-navy);
    border-radius: 31px;
    padding: 50px 56px;
    display: flex;
    flex-direction: column;
    gap: 43px;
    align-items: center;
}

.ml_student_title {
    background-color: var(--ml-navy);
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 48px;
    letter-spacing: 1.5px;
    border-radius: 10px;
    padding: 10px 25px;
    text-align: center;
    width: 100%;
}

.ml_student_prof {
    display: flex;
    align-items: center;
    gap: 21px;
    width: 935px;
}

.ml_student_photo {
    flex-shrink: 0;
    width: 248px;
    height: 248px;
    border-radius: 50%;
    overflow: hidden;
}

.ml_student_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ml_student_info {
    flex: 1;
    color: var(--ml-navy);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ml_student_name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 29px;
}

.ml_student_role {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 29px;
}

.ml_student_bio {
    font-size: 16px;
    line-height: 26px;
    text-align: justify;
}

.ml_student_block {
    display: flex;
    align-items: center;
    gap: 56px;
    width: 100%;
    border-bottom: 1px dashed var(--ml-navy);
    padding-bottom: 30px;
}

.ml_student_img {
    flex-shrink: 0;
    width: 365px;
    align-self: stretch;
    border-radius: 31px;
    overflow: hidden;
}

.ml_student_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ml_student_text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--ml-navy);
}

.ml_student_tag {
    background-color: var(--ml-navy);
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.75;
    border-radius: 3px;
    padding: 0 10px;
    display: inline-block;
    align-self: flex-start;
}

.ml_student_h {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.75;
}

.ml_student_text p {
    font-size: 16px;
    line-height: 1.5;
}

.ml_tanka_unit_student {
    border-bottom: none;
    padding-bottom: 0;
}

/* ===== 締めコピー + 関連リンク ===== */
.ml_outro {
    margin-top: 63px;
    text-align: center;
}

.ml_outro_copy {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.75;
    color: var(--ml-navy);
    margin-bottom: 43px;
}

.ml_outro_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    width: 816px;
    height: 96px;
    background-color: var(--ml-navy);
    border-radius: 48px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 25px;
    line-height: 28px;
    letter-spacing: 3.75px;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s ease;
}

.ml_outro_btn:hover {
    text-decoration: none;
    opacity: 0.85;
}

/* 外部リンク（blank）アイコン - テキストの直後 */
.ml_outro_btn_blank {
    width: 19px;
    height: 19px;
    background: url(../images/class/btn_blank.png) no-repeat center / contain;
    flex-shrink: 0;
}

/* 矢印は blank アイコンから離して配置 */
.ml_outro_btn::after {
    content: "";
    width: 40px;
    height: 12px;
    margin-left: 44px;
    background: url(../images/class/card_arrow.png) no-repeat center center;
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

/* ===== 深い学びTOPに戻るバナー ===== */
.banner {
    margin-top: 120px;
    margin-bottom: 100px;
}

.banner img {
    width: 100%;
    display: block;
}
