@charset "utf-8";

/* ------------------------------
 movie
------------------------------ */

.movie-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4rem;
}

.movie-header {
    margin-bottom: 0; /* 動画と横並びにするため、見出し下の共通マージンは使わない */
}

.movie-label {
    position: relative;
    display: inline-block;
    padding: .4rem 8rem;
    color: var(--c-main);
    font-size: 2.4rem;
    background-color: var(--c-main-pale);
    border-radius: var(--radius-pill);
}

.movie-label:before {
    position: absolute;
    top: -1.4rem;
    left: 50%;
    width: 51px;
    height: 19px;
    content: "";
    background: url(../images/common/price_icon01.svg) no-repeat center / contain;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

.movie-header h2 {
    margin-top: 2rem;
    color: var(--c-main);
    font-size: 3.2rem;
}

.movie-text {
    margin-top: 2rem;
    font-size: 2rem;
}

.movie-video {
    flex-shrink: 0;
    width: 428px;
    max-width: 100%;
    border: 8px solid var(--c-main);
}

.movie-video iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* ------------------------------
 service
------------------------------ */

.service {
    background-color: var(--c-main-pale);
}

.service-contents {
    --contents-color: var(--c-main);
    margin-top: 8rem;
    text-align: left;
    -webkit-filter: drop-shadow(var(--shadow-default-filter));
            filter: drop-shadow(var(--shadow-default-filter)); /* タブ付きの形に沿って影を落とす（box-shadow だとタブ横の空きにも影が出る） */
}

.service-contents-support {
    --contents-color: var(--c-pink);
}

.service-contents-curriculum {
    --contents-color: var(--c-green);
}

.service-contents-title {
    width: 420px;
    max-width: 100%;
    padding: 1.6rem 2rem; /* 左右 40px だと「カリキュラム・学習計画」が折り返すので 20px に */
    color: var(--c-white);
    font-family: var(--ff-heading);
    font-size: 2.8rem;
    text-align: center;
    background-color: var(--contents-color);
    border-radius: 2rem 2rem 0 0;
}

.service-contents-title img {
    margin-right: 1rem;
    vertical-align: middle;
}

.service-box {
    padding: 4rem;
    text-align: center;
    background-color: var(--c-white);
}

.service-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 4rem;
    text-align: left;
}

.service-item {
    width: calc(50% - 2rem); /* 1024px 以下でも2列を保つ（幅は縮めて対応） */
    max-width: 440px;
}

.service-item-title {
    font-size: 2.2rem;
}

.service-item-title img {
    margin-right: 1.6rem;
    vertical-align: middle;
}

.service-item-text {
    margin-top: 1rem;
    font-weight: 400;
    line-height: 1.8;
}

.service-item-em {
    color: var(--c-accent);
}

.service-support {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 4rem;
}

.service-support-item {
    width: calc((100% - 8rem) / 3); /* 1024px 以下でも3列を保つ */
    max-width: 280px;
}

.service-support-pht {
    width: 174px;
    height: 174px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.service-support-item .service-item-text {
    text-align: left;
}

.service-button {
    margin-top: 4rem;
}

/* ------------------------------
 comparison
------------------------------ */

.comparison-box {
    padding: 4rem;
    margin-top: 8rem;
    background-color: var(--c-main-light);
    border-radius: 4rem;
    -webkit-box-shadow: var(--shadow-default);
            box-shadow: var(--shadow-default);
}

.comparison-table {
    width: 100%;
    max-width: 753px;
    margin: 0 auto;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 1px; /* セル同士の間に 1px の隙間（箱の水色が線になる） */
}

.comparison-corner {
    width: 23.1%;
}

.comparison-head {
    text-align: center;
    vertical-align: bottom;
}

.comparison-head-main {
    width: 29.7%;
}

.comparison-head span {
    display: block;
    padding: .6rem 0;
    color: var(--c-white);
    font-family: var(--ff-heading);
    font-weight: 700;
    background-color: var(--c-gray-blue);
    border-radius: 1.2rem 1.2rem 0 0;
}

.comparison-head-main span {
    padding: 2.5rem 0;
    font-size: 2rem;
    font-weight: 900;
    background-color: var(--c-main);
}

.comparison-table tbody tr {
    height: 69px;
}

.comparison-table tbody tr:nth-child(5),
.comparison-table tbody tr:nth-child(6) {
    height: 90px;
}

.comparison-table tbody tr:last-child {
    height: 44px;
}

.comparison-row {
    color: var(--c-white);
    font-family: var(--ff-heading);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    background-color: var(--c-main-darkest);
}

.comparison-cell {
    padding: .8rem 0; /* 丸印の線の分（上下2px）を引いて、行の高さをデザインどおり 69px に収める */
    font-size: 1.4rem;
    vertical-align: middle;
    background-color: var(--c-gray-pale);
}

.comparison-cell-main {
    font-weight: 700;
    background-color: var(--c-white);
}

.comparison-mark {
    display: block;
}

.comparison-mark:before {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto .6rem;
    content: "";
    background: url(../images/about/comparison_icon01.svg) no-repeat center / contain;
}

.comparison-mark:empty:before {
    margin-bottom: 0;
}

.comparison-mark-ng:before {
    width: 20px;
    height: 19px;
    background-image: url(../images/about/comparison_icon02.svg);
}

.comparison-mark-partial:before {
    width: 26px;
    height: 24px;
    background-image: url(../images/about/comparison_icon03.svg);
}

.comparison-note {
    margin-top: 1.6rem;
}

/* ------------------------------
 company
------------------------------ */

.company {
    background-color: var(--c-main-pale);
}

.company .section-title {
    margin-bottom: 8rem;
}

.company-list {
    max-width: 640px;
    margin: 0 auto;
}

.company-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 2rem;
    padding: 1.6rem 2rem;
    text-align: left;
    background-color: var(--c-white);
    border: 2px solid var(--c-main);
    border-radius: 1.6rem;
    -webkit-box-shadow: var(--shadow-box-main-md);
            box-shadow: var(--shadow-box-main-md);
}

.company-item + .company-item {
    margin-top: 2rem;
}

.company-item-pht {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.company-item-title {
    color: var(--c-main);
    font-family: var(--ff-heading);
    font-size: 2.4rem;
    letter-spacing: .03em;
}

.company-item-em,
.company-item-num {
    color: var(--c-accent);
}

.company-item-num {
    font-family: var(--ff-en);
}

.company-item-text {
    margin-top: 1rem;
    font-weight: 400;
    line-height: 1.8;
}

/* ------------------------------
 plan-banner
------------------------------ */

.plan-banner {
    padding: 8rem 0;
    background: var(--c-cream) url(../images/about/plan-banner_bg01.svg) no-repeat center top;
}

.plan-banner-box {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.plan-banner-title {
    position: relative;
    z-index: 0; /* メモのアイコン（z-index: -1）を文字の下に置くための基準 */
    display: inline-block;
    color: var(--c-main);
    font-family: var(--ff-heading);
    font-size: 4.4rem;
    font-weight: 700;
}

.plan-banner-title:before {
    position: absolute;
    top: .1rem;
    left: 0;
    z-index: -1;
    width: 64px;
    height: 46px;
    content: "";
    background: url(../images/about/plan-banner_icon01.svg) no-repeat center / contain;
}

.plan-banner-copy {
    display: block;
    color: var(--c-default);
    font-size: 2.8rem;
}

.plan-banner-button {
    margin-top: 2rem;
    color: var(--c-main);
    background-color: var(--c-white);
    border: 3px solid var(--c-main);
    -webkit-box-shadow: var(--shadow-box-main-lg);
            box-shadow: var(--shadow-box-main-lg);
}

.plan-banner-button:after {
    background-image: url(../images/common/common_icon08.svg);
}

/* ------ max-width:1024px ------ */
@media (max-width:1024px) {
    /* movie */
    .movie-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; /* 横並びだと文章側が潰れるので縦に */
    }

    /* service */
    .service-support {
        gap: 2rem; /* 3列のまま収めるため間隔を詰める */
    }

    .service-support-item {
        width: calc((100% - 4rem) / 3);
    }
}

/* ------ max-width:767px ------ */
@media (max-width:767px) {
    /* movie */
    .movie-inner {
        gap: 2rem;
    }

    .movie-label {
        font-size: 1.8rem;
    }

    .movie-header h2 {
        margin-top: 1rem;
        font-size: 2.4rem;
    }

    .movie-text {
        margin-top: 1rem;
        font-size: 1.6rem;
    }

    .movie-video {
        max-width: 297px;
        border-width: 4px;
    }

    /* service */
    .service .sec-lead {
        font-size: 1.8rem;
    }

    .service-contents {
        margin-top: 4rem;
    }

    .service-contents-title {
        width: 260px;
        padding: 1rem 0;
        font-size: 1.8rem;
    }

    .service-contents-title img {
        width: auto;
        height: 18px;
    }

    .service-box {
        padding: 2rem;
    }

    .service-list {
        gap: 2rem;
    }

    .service-item {
        width: 100%;
        max-width: 100%;
    }

    .service-item-title {
        font-size: 1.8rem;
    }

    .service-item-title img {
        width: 40px;
        height: 40px;
    }

    .service-support {
        gap: 2rem;
    }

    .service-support-item {
        width: 100%;
        max-width: 500px;
    }

    .service-support-pht {
        width: 120px;
        height: 120px;
    }

    .service-button {
        margin-top: 2rem;
    }

    /* comparison */
    .comparison-box {
        padding: 2rem;
        margin: 4rem -1.5rem 0; /* デザインでは箱が section-inner より左右 15px ずつ広い */
        border-radius: 2rem;
    }

    /* 表は「見出し行（1行）＋3列のセル」の並びに組み替える */
    .comparison-table,
    .comparison-table thead,
    .comparison-table tbody {
        display: block;
    }

    .comparison-table {
        max-width: 480px;
        border-spacing: 0;
    }

    .comparison-table tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        gap: 1px;
    }

    .comparison-table tr + tr {
        margin-top: .1rem;
    }

    .comparison-table tbody tr {
        height: auto;
    }

    .comparison-corner {
        display: none;
    }

    .comparison-head {
        -ms-flex-item-align: end;
            align-self: flex-end;
        flex: 90;
    }

    .comparison-head-main {
        flex: 136;
    }

    .comparison-head span {
        padding: .3rem 0;
        font-size: 1rem;
        border-radius: .6rem .6rem 0 0;
    }

    .comparison-head-main span {
        padding: 1.2rem 0;
        font-size: 1.2rem;
    }

    .comparison-row {
        flex: 0 0 100%;
        padding: .25rem 0;
        font-size: 1rem;
    }

    .comparison-cell {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        flex: 90;
        height: 48px;
        padding: 0;
        font-size: 1rem;
    }

    .comparison-cell-main {
        flex: 136;
    }

    .comparison-table tbody tr:nth-child(2) .comparison-cell,
    .comparison-table tbody tr:nth-child(4) .comparison-cell {
        height: 50px;
    }

    .comparison-table tbody tr:nth-child(3) .comparison-cell,
    .comparison-table tbody tr:nth-child(5) .comparison-cell,
    .comparison-table tbody tr:nth-child(6) .comparison-cell {
        height: 65px;
    }

    .comparison-table tbody tr:last-child .comparison-cell {
        height: auto;
        padding: 1rem 0;
    }

    .comparison-mark:before {
        width: 14px;
        height: 14px;
        margin-bottom: .3rem;
    }

    .comparison-mark-ng:before {
        width: 13px;
        height: 12px;
    }

    .comparison-mark-partial:before {
        width: 15px;
        height: 14px;
    }

    .comparison-note {
        margin-top: 1rem;
        font-size: 1.2rem;
    }

    /* company */
    .company .section-title {
        margin-bottom: 4rem;
    }

    .company-item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 1rem;
        padding: 1.6rem 1rem;
        text-align: center;
    }

    .company-item-title {
        font-size: 1.8rem;
    }

    /* plan-banner */
    .plan-banner {
        background-image: url(../images/about/sp/plan-banner_bg01.svg);
    }

    .plan-banner-title:before {
        top: 0;
        width: 37px;
        height: 30px;
    }

    .plan-banner-title {
        font-size: 2.8rem;
    }

    .plan-banner-copy {
        font-size: 1.8rem;
    }

    .plan-banner-button {
        border-width: 2px;
        -webkit-box-shadow: var(--shadow-box-main-xs);
                box-shadow: var(--shadow-box-main-xs);
    }
}
