@charset "UTF-8";

#container > main {
    /* display: flex;
    align-items: center;
    gap: 3%; */
    /* max-width: var(--width-content);
    min-height: 470px; */
    margin: auto;
    padding: 45px 4% 55px;
    background: linear-gradient(90deg, var(--color-white) 42%, var(--color-bg-hero));
    color: var(--color-text);
}
#container > main > .inner{
    display: flex;
    align-items: center;
    gap: 3%;
    max-width: var(--width-content);
    min-height: 470px;
    margin: auto;
    /* padding: 45px 4% 55px; */
}
#container > main > .text {
    flex: 0 0 48%;
    position: relative;
    z-index: 1;
}
#container > main h2 {
    margin-bottom: 26px;
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .03em;
}
#container > main h2 span {
    display: block;
    color: var(--color-green);
    font-size: clamp(18px, 1.6vw, 24px);
}
#container > main p {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.8;
}
#container > main ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(100%, 340px);
    margin-top: 30px;
}
#container > main li a {
    display: block;
    padding: 13px 34px 13px 20px;
    border: 2px solid var(--color-orange);
    border-radius: 100px;
    background: var(--color-orange);
    color: var(--color-white);
    font-weight: 700;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
#container > main li:nth-child(2) a {
    color: var(--color-green);
    border-color: var(--color-green);
    background: var(--color-white);
}
#container > main li a::after,
#course .bottom a::after,
#hikaku .bottom a::after {
    content: "›";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 25px;
    font-weight: 400;
}
#container > main li a:hover {
    opacity: .78;
}
#container > main picture {
    flex: 1;
    min-width: 0;
}
#container > main picture img {
    display: block;
    width: 100%;
    height: auto;
}

/* こんな方におすすめ */
#target.inner {
    width: min(92%, var(--width-inner));
    max-width: var(--width-inner);
    padding: 22px 0 38px;
}
#target h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}
#target h2::before,
#target h2::after {
    content: "";
    width: 2px;
    height: 13px;
    background: var(--color-green);
    transform: rotate(-30deg);
}
#target h2::after {
    transform: rotate(30deg);
}
#target ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
#target li {
    display: flex;
    flex: 0 0 calc((100% - 48px) / 4);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 155px;
    padding: 16px 10px;
    border: 1px solid var(--color-green-light);
    border-radius: 10px;
    background: var(--color-bg-table-green);
    text-align: center;
}
#target li:nth-child(2) {
    border-color: var(--color-blue-light);
    background: var(--color-bg-table-blue);
}
#target li:nth-child(3) {
    border-color: var(--color-red-light);
    background: var(--color-bg-table-red);
}
#target li:nth-child(4) {
    border-color: var(--color-orange-light);
    background: var(--color-bg-warm);
}
#target picture {
    display: block;
    width: 100px;
    /* height: 54px; */
    margin: 0 auto 10px;
}
#target picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#target p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

/* コース */
#course.inner, #hikaku.inner, #info.inner {
    max-width: var(--width-inner);
}
#course .titleset {
    margin-bottom: 42px;
}
#course .titleset h2 {
    color: var(--color-navy);
    font-size: clamp(26px, 2.3vw, 34px);
    font-weight: 700;
}
#course .titleset h2::before, #course .titleset h2::after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 1px;
    margin: 0 16px 9px;
    background: var(--color-green);
}
#course .titleset .caption {
    font-size: 15px;
}
#course .titleset ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    margin-top: 28px;
}
#course .titleset ul li a {
    display: block;
    border-radius: 20px;
    font-weight: 600;
    min-width: 230px;
    padding: 8px 10px;
    position: relative;
}
#course .titleset ul li:nth-child(1) a{
    background: var(--color-green-light);
    color: var(--color-green);
}
#course .titleset ul li:nth-child(2) a{
    background: var(--color-blue-light);
    color: var(--color-course-blue);
}
#course .titleset ul li:nth-child(3) a{
    background: var(--color-red-light);
    color: var(--color-course-red);
}
#course .titleset ul li:nth-child(4) a{
    background: var(--color-orange-light);
    color: var(--color-orange);
}
#course .titleset ul li a:after{
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top:50%;
    right: 20px;
    transform: rotate(45deg) translate(0,-50%);
}
#course .titleset ul li:nth-child(1) a:after{
    border-bottom: 2px solid var(--color-green);
    border-right: 2px solid var(--color-green);
}
#course .titleset ul li:nth-child(2) a:after{
    border-bottom: 2px solid var(--color-course-blue);
    border-right: 2px solid var(--color-course-blue);
}
#course .titleset ul li:nth-child(3) a:after{
    border-bottom: 2px solid var(--color-course-red);
    border-right: 2px solid var(--color-course-red);
}
#course .titleset ul li:nth-child(4) a:after{
    border-bottom: 2px solid var(--color-orange);
    border-right: 2px solid var(--color-orange);
}


#course .titleset a:hover {
    color: var(--color-green);
}
#course .list {
    display: flex;
    flex-direction: column;
    gap: 78px;
}
#course .listinner {
    --course-color: var(--color-green);
    --course-light: var(--color-green-light);
    scroll-margin-top: calc(var(--header-height) + 20px);
}
#course #course02 {
    --course-color: var(--color-course-blue);
    --course-light: var(--color-blue-light);
}
#course #course03 {
    --course-color: var(--color-course-red);
    --course-light: var(--color-red-light);
}
#course #course04 {
    --course-color: var(--color-orange);
    --course-light: var(--color-orange-light);
}
#course .listinner > .main {
    display: flex;
    gap: 28px;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--course-light), var(--color-white));
}
#course .listinner > .main picture {
    flex: 0 0 31%;
    align-self: stretch;
    min-width: 0;
}
#course .listinner > .main picture img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: contain;
}
#course .listinner > .main > .text {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-content: flex-start;
    column-gap: 20px;
    min-width: 0;
}
#course .listinner h3 {
    flex: 0 0 100%;
    color: var(--course-color);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.4;
}
#course .listinner .tag {
    flex: 0 0 auto;
    align-self: flex-start;
    margin: 4px 0 12px;
    padding: 3px 13px;
    border: 1px solid var(--course-color);
    border-radius: 100px;
    color: var(--course-color);
    font-size: 12px;
    font-weight: 700;
}
#course .listinner p.text {
    flex: 0 0 100%;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}
#course .listinner dl {
    flex: 1 1 0;
    min-width: 0;
}
#course .listinner .summary {
    flex-grow: 1.3;
}
#course .listinner .teacher {
    flex-grow: .65;
}
#course .listinner dl + dl {
    padding-left: 16px;
    border-left: 1px solid var(--color-line);
}
#course .listinner dt {
    margin-bottom: 10px;
    color: var(--course-color);
    font-size: 15px;
}
#course .listinner dd {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.65;
}
#course .listinner .summary dd {
    padding-left: 19px;
    position: relative;
}
#course .listinner .summary dd::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--course-color);
    font-weight: 700;
}
#course .listinner .teacher dd {
    padding-left: 20px;
    position: relative;
}
#course .listinner .teacher dd::before {
    content: "";
    width: 14px;
    height: 18px;
    background: url("../images/plan/icon_teacher01.svg") no-repeat center / contain;
    position: absolute;
    left: 0;
    top: 1px;
}
#course #course02 .teacher dd::before {
    background-image: url("../images/plan/icon_teacher02.svg");
}
#course #course03 .teacher dd::before {
    background-image: url("../images/plan/icon_teacher03.svg");
}
#course #course04 .teacher dd::before {
    background-image: url("../images/plan/icon_teacher04.svg");
}
#course .sub {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 22px auto 16px;
}
#course .price {
    width: min(100%, 340px);
    border: 1px solid var(--course-light);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}
#course .price h4 {
    padding: 10px;
    background: var(--course-light);
    color: var(--course-color);
    font-size: 18px;
    font-weight: 700;
}
#course .price02 h4 {
    background: var(--color-red-light);
    color: var(--color-course-red);
}
#course .price table {
    width: 100%;
    table-layout: fixed;
}
#course .price th, #course .price td {
    width: 50%;
    padding: 9px 5px;
    border: 1px solid var(--color-line);
    text-align: center;
    vertical-align: middle;
}
#course .price tr:first-child th {
    background: var(--color-white);
    font-size: 13px;
}
#course .price td {
    font-size: 14px;
}
#course .price td b, #course .price li b {
    font-family: var(--font-number);
    font-size: 23px;
    font-weight: 500;
    font-style: italic;
    padding: 0 5px 0 0;
}
#course .price03 {
    display: flex;
    flex-wrap: wrap;
    width: min(100%, 720px);
    border: 0;
    border-radius: 0;
    gap: 0 12px;
}
#course .price03 h4 {
    flex: 0 0 100%;
    padding: 8px;
}
#course .price03 ul {
    display: flex;
    flex: 1;
    margin-top: 3px;
    border: 1px solid var(--course-light);
}
#course .price03 li {
    flex: 1 1 0;
    min-width: 0;
    padding: 13px 5px;
    border-right: 1px solid var(--course-light);
    font-size: 16px;
}
#course .price03 li:last-child {
    flex-grow: 1.4;
    border: 0;
    font-weight: 600;
}
#course .bottom, #hikaku .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 960px;
    min-height: 68px;
    margin: 0 auto;
    padding: 7px 8px 7px 24px;
    border: 1px solid var(--course-light, var(--color-green-light));
    border-radius: 7px;
    background: linear-gradient(90deg, var(--course-light, var(--color-green-light)), var(--color-white));
}
#course .bottom .left, #hikaku .bottom .left {
    margin: 0;
    padding-left: 36px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
}
#course .bottom .left::before, #hikaku .bottom .left::before {
    content: "";
    width: 30px;
    height: 30px;
    background: url("../images/plan/icon_grow01.png") no-repeat center / contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
#course #course02 .bottom .left::before {
    background-image: url("../images/plan/icon_grow02.png");
}
#course #course03 .bottom .left::before {
    background-image: url("../images/plan/icon_grow03.png");
}
#course #course04 .bottom .left::before {
    background-image: url("../images/plan/icon_grow05.png");
}
#hikaku .bottom .left::before {
    background-image: url("../images/plan/icon_grow04.png");
}
#course .bottom a, #hikaku .bottom a {
    display: block;
    flex: 0 0 280px;
    padding: 12px 38px 12px 18px;
    border-radius: 30px;
    background: var(--course-color, var(--color-green));
    color: var(--color-white);
    font-weight: 700;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
#course .bottom a:hover, #hikaku .bottom a:hover {
    opacity: .75;
}

.listinner p.memo{
    font-size: 14px;
    text-align: center;
    width: 100%;
    margin: 10px auto;
}

/* 比較表：基本の表組み・見出し・横スクロールは low.css を使用 */
#hikaku table {
    width: 96%;
}
#hikaku tr > * {
    width: 20%;
}
#hikaku th:not(.top) {
    display: table-cell;
    vertical-align: middle;
}
#hikaku tr:first-child th:nth-child(5) {
    color: var(--color-orange);
    background: var(--color-orange-light);
}
#hikaku tr:first-child th img {
    display: block;
    width: min(85%, 140px);
    height: 100px;
    margin: 8px auto 0;
    object-fit: contain;
}
#hikaku th:not(.top) img {
    width: 22px;
    margin-right: 8px;
}
#hikaku tr:first-child th:nth-child(1),
#hikaku tr th:nth-child(1) { 
    background: #fcf9f7; 
}
#hikaku .hyo-chuki {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 14px;
    width: 96%;
    margin: 12px auto 32px;
    font-size: 11px;
}
#hikaku .bottom {
    --course-color: var(--color-green);
    --course-light: var(--color-green-light);
}

/* FAQ */
#info#info {
    padding-top: 60px;
    padding-bottom: 45px;
}
#qa h2 {
    margin: 0 0 25px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
}
#qa .box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
#qa details {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    align-self: start;
    border: 1px solid var(--color-line);
    border-radius: 7px;
    background: var(--color-white);
    overflow: hidden;
}
/* #qa details:nth-child(1) { order: 1; }
#qa details:nth-child(4) { order: 2; }
#qa details:nth-child(2) { order: 3; }
#qa details:nth-child(5) { order: 4; }
#qa details:nth-child(3) { order: 5; }
#qa details:nth-child(6) { order: 6; } */
#qa summary {
    display: block;
    min-height: 44px;
    padding: 11px 42px 11px 15px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
    position: relative;
    list-style: none;
}
#qa summary::-webkit-details-marker {
    display: none;
}
#qa summary::before {
    content: "Q.";
    margin-right: 5px;
}
#qa summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}
#qa details[open] summary::after {
    content: "−";
}
#qa details p {
    padding: 0 15px 15px 29px;
    font-size: 13px;
    line-height: 1.8;
}

@media screen and (max-width: 900px) {
    #course .listinner > .main picture {
        flex-basis: 30%;
    }
    #course .listinner > .main {
        gap: 18px;
    }
    #course .listinner > .main > .text {
        column-gap: 10px;
    }
    #course .listinner dl + dl {
        padding-left: 10px;
    }
    #course .listinner dd {
        font-size: 11px;
    }
}
@media screen and (max-width: 768px) {
    #target.inner {
        padding: 25px 0 30px;
    }
    #target h2 {
        gap: 12px;
        margin-bottom: 18px;
        font-size: 19px;
    }
    #target ul {
        gap: 12px;
    }
    #target li {
        flex-basis: calc(50% - 6px);
        min-height: 140px;
        padding: 12px 6px;
    }
    #target picture {
        width: 100px;
        /* height: 45px; */
        margin-bottom: 8px;
    }
    #target p {
        font-size: 12px;
    }
    #container > main {
        min-height: 0;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
        padding: 28px 4% 48px;
    }
    #container > main > .inner{
        flex-wrap: wrap;
        padding: 50px 0 0;
    }
    #container > main > .text{
        width: 100%;
    }
    #container > main picture {
        /* align-self: center;
        width: min(100%, 520px); */
        width: 100%;
    }
    #container > main h2 {
        margin-bottom: 14px;
        font-size: clamp(26px, 7vw, 38px);
    }
    #container > main h2 span {
        font-size: 18px;
    }
    #container > main p {
        font-size: 14px;
    }
    #container > main .pc-disp {
        display: none;
    }
    #container > main ul {
        width: 100%;
        max-width: 380px;
        margin: 22px auto 0;
    }
    #course.inner, #hikaku.inner, #info.inner {
        width: 92%;
        padding-top: 35px;
        /* padding-bottom: 35px; */
    }
    #course .titleset {
        margin-bottom: 26px;
    }
    #course .titleset h2::before, #course .titleset h2::after {
        width: 20px;
        margin: 0 8px 7px;
    }
    #course .titleset .caption {
        font-size: 13px;
    }
    #course .titleset ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 18px;
    }
    #course .titleset ul li {
        flex: 0 0 calc(50% - 4px);
        width: 48%;
    }
    #course .titleset ul li a {
        padding: 10px 5px;
        border-radius: 6px;
        background: var(--color-bg-gray);
        text-align: center;
        font-size: 13px;
        min-width: unset;
    }
    #course .list {
        gap: 50px;
    }
    #course .listinner > .main {
        display: block;
        padding: 15px;
    }
    #course .listinner > .main picture {
        display: block;
        width: min(100%, 330px);
        margin: 0 auto 15px;
    }
    #course .listinner > .main picture img {
        max-height: 230px;
    }
    #course .listinner > .main > .text {
        display: flex;
        flex-wrap: wrap;
        gap: 0 12px;
    }
    #course .listinner h3 {
        font-size: 25px;
    }
    #course .listinner p.text {
        margin-bottom: 16px;
    }
    #course .listinner dl {
        flex: 1 1 calc(50% - 6px);
        margin-bottom: 15px;
    }
    #course .listinner dl + dl {
        padding-left: 0;
        border-left: 0;
    }
    #course .listinner .summary {
        flex-basis: 100%;
    }
    #course .listinner .teacher {
        padding-left: 12px;
        border-left: 1px solid var(--color-line);
    }
    #course .listinner dd {
        font-size: 12px;
    }
    #course .sub {
        gap: 8px;
        margin-top: 16px;
    }
    #course .price h4 {
        font-size: 14px;
    }
    #course .price th {
        font-size: 11px;
    }
    #course .price td b, #course .price li b {
        font-size: 18px;
    }
    #course .price03 li {
        font-size: 12px;
    }
    #course .bottom, #hikaku .bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
    }
    #course .bottom a, #hikaku .bottom a {
        flex-basis: auto;
    }
    #hikaku table {
        min-width: 720px;
    }
    #hikaku .hyo-chuki {
        min-width: 720px;
        margin-bottom: 20px;
    }
    #qa .box {
        flex-direction: column;
    }
    #qa .box details {
        width: 100%;
        flex-basis: auto;
        order: 0;
    }
}
@media screen and (max-width: 420px) {
    #course .sub {
        flex-direction: column;
        align-items: center;
    }
    #course .price {
        width: 100%;
    }
    #course .bottom .left, #hikaku .bottom .left {
        font-size: 12px;
    }
}
