@charset "UTF-8";
/* ==========================================================================
   Foundation
   ========================================================================== */

/* Base
----------------------------------------------------------------- */
@font-face {
	font-family: "Noto Sans JP";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		local("Noto Sans JP"),
		url("./fonts/NotoSansJP-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Noto Sans JP";
	font-style: bold;
	font-weight: 700;
	font-display: swap;
	src:
		local("Noto Sans JP"),
		url("./fonts/NotoSansJP-bold.woff2") format("woff2");
}

:root {
    --main-color: #274b73;
    --main-color-rgb: 39, 75, 115;
    --line-color: #eceff3;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial,"Meiryo","Hiragino Kaku Gothic ProN","Hiragino Sans",Sans-Serif !important;
    font-size: 16px;
}

hr {
    background-color: var(--line-color);
    margin: 24px 0;
}

h2 {
    margin-bottom : 20px;
    padding-left: 10px;
    font-size: clamp(24px, 6.078px + 3.896vw, 36px);
}

h3 {
    margin-bottom: 10px;
    font-size: clamp(18px, 12.026px + 1.299vw, 22px);
}

img {
    width: 100%;
}

p:not(:last-child) {
    margin-bottom: 30px;
}

table {
    border: 1px solid #dae4ed;
}

table th {
    background-color: #f0f5fa;
    white-space: nowrap;
    vertical-align: middle;
}

ul {
    list-style-type: none;
}

button:hover {
    background: initial;
    color: initial;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.l-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    letter-spacing: 2px;
    line-height: 2;
}

.l-section:nth-child( even ) {
    background-color: #f0f5fa;
}

.l-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
}


/* ==========================================================================
   Object
   ========================================================================== */

/* Component
   ----------------------------------------------------------------- */

.c-table-wrap__scroll {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.c-table-wrap__scroll table {
    min-width: 800px;
}

.c-list {
    list-style: none;
    padding-left: 0;
}

.c-list li {
    position: relative;
    padding-left: 1.5em;
    margin: 0 0 0.8em 0;
    color: #4b6280;
}

.c-list li::before {
    color: #3c5d81;
    position: absolute;
    left: 0;
    top: 0;
}

.c-list--check li::before {
    content: '\02714';
}

.c-list--x-mark li::before {
    content: '\02717';
}

.c-list--circle li::before {
    content: '\025cf';
}

.c-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
}

.c-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.c-2col__img {
    width: 100%;
    max-width: 300px;
    order: 1;
}

.c-2col__img > img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.c-2col__content {
    order: 2;
}

.c-marker--basic {
    background-color: #ffffa1;
}

.c-marker--bold {
    background-color: #f0ea00;
    font-weight: bold;
}

.c-marker--half {
    background: linear-gradient(transparent 60%, #ffe36a 40%);
}

/* カレンダーに追加 */
.c-add-calendar {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.c-add-calendar__trigger {
    border: 0;
    background: none;
    padding: 0;
    color: currentColor;
    cursor: pointer;
    font: inherit;
    font-weight: normal;
    font-size: 16px;
}

.c-add-calendar__menu {
    display: none;
    position: absolute;
    top: 1.8em;
    left: 0;
    z-index: 10;
    min-width: 180px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.c-add-calendar.is-open .c-add-calendar__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c-add-calendar__menu a {
    display: block;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: #f5f5f7;
    text-decoration: none;
    color: #404040;
    font-size: 1rem;
    font-weight: normal;
    transition: .3s;
    box-shadow: 0 1px rgba(0,0,0,.08),0 0 1px hsla(0,0%,100%,.2) inset;
    white-space: nowrap;
}

.c-add-calendar__menu a:hover { 
    transition: .3s;
    opacity: 0.7;
}

@media (min-width: 680px) {
    .c-2col {
        grid-template-columns: 2fr 1fr;
    }

    .c-2col__img {
        order: 2;
    }

    .c-2col__content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .c-table__block tbody,
    .c-table__block tr,
    .c-table__block th,
    .c-table__block td {
        display: block;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .c-box {
        padding: 30px 40px;
    }
    .c-add-calendar {
        margin-bottom: 0;
    }
}


/* Project
   ----------------------------------------------------------------- */

.p-container-inner {
    width: 100%;
    margin: 0 auto;
    color: var(--main-color);
}

.p-course-schedule__wrap {
    margin-bottom: 30px;
}

.p-course-schedule__wrap > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
}

.p-course-application__wrap {
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 2px 2px 4px gray;
    margin-bottom: 70px;
    padding: 24px;
    text-align: center;
}

.p-course-sale-period {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    gap: 10px;
}

.p-course-sale-price {
    margin-bottom: 16px;
    font-weight: bold;
}

.p-after-lesson th,
.p-after-lesson td {
    border: 1px solid #dae4ed;
    padding: 10px 20px;
    font-weight: bold;
}

.p-after-lesson__header {
    text-align: center;
}

.p-after-lesson__theme {
    background-color: #f6f8fa;
    width: 100px;
    vertical-align: middle;
}

.p-after-lesson__issue {
    background-color: var(--main-color);
    color: #fff;
}

.p-after-lesson__learn-to {
    background-color: #e8751a;
    color: #fff;
}

.p-after-lesson__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.p-after-lesson__icon--excl {
    border: 1px solid #688095;
    background-color: #346499;
}

.p-after-lesson__icon--check {
    border: 1px solid #ef9c5b;
    background-color: #ed9148;
}

.p-payment__label {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 10px;
}

.p-payment__label li {
    border-radius: 20px;
    background-color: #eaf4ff;
    padding: 5px 10px;
    color: var(--main-color);
}

.p-payment__note {
    margin-bottom: 1rem;
    color: #70788c;
}

.p-payment__detail {
    border: 1px solid var(--line-color);
    border-radius: 20px;
    background-color: #fbfdff;
    padding: 10px;
    interpolate-size: allow-keywords;
    transition: height 0.6s ease;
    height: 54px;
    overflow: hidden;
}

.p-payment__detail summary {
    list-style: none;
}
.p-payment__detail summary::-webkit-details-marker {
    display: none;
}

.p-payment__title {
    position: relative;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.p-payment__title::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 28px;
    height: 28px;
    background-color: #eaf4ff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background-color 0.8s ease;
}

.p-payment__title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    background-image: 
        linear-gradient(var(--main-color), var(--main-color)), 
        linear-gradient(var(--main-color), var(--main-color));
    background-size: 12px 2px, 2px 12px;
    background-position: center, center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
}

.p-payment__detail[open] {
    height: auto;
}

.p-payment__detail[open] .p-payment__title::before {
    background-color: #eaf4ff;
}

.p-payment__detail[open] .p-payment__title::after {
    transform: translateY(-50%) rotate(45deg);
}

.p-payment__detail[open] .p-payment__title::after {
    background-image: linear-gradient(var(--main-color), var(--main-color));
    background-size: 12px 2px;
    background-position: center;
    transform: translateY(-50%) rotate(180deg);
}

.p-payment__content {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    gap: 10px;
}

.p-payment__detail[open] .p-payment__content {
    opacity: 1;
}

.p-payment__option {
    border: 1px solid var(--line-color);
    border-radius: 20px;
    background-color: #fff;
    padding: 10px;
    font-size: 13px;
    flex: 1;
}

.p-payment__option p {
    margin-bottom: 18px;
}

.p-payment__option-title {
    color: var(--main-color);
    font-size: 16px;
    font-weight: bold;
}

.p-payment__option .p-payment__label {
    flex-wrap: wrap;
    padding: 0;
}

.p-payment__option .p-payment__label li {
    border-radius: 10px;
    padding: 0 5px;
    font-size: 12px;
}

.p-payment__notify {
    border: 1px solid #f7e1b0;
    border-radius: 10px;
    background-color: #fff8e6;
    padding: 10px;
    color: #4f0000;
}

.p-payment__info {
    border-radius: 10px;
    background-color: #f0f5fb;
    margin-bottom: 18px;
    padding: 10px;
}

.p-profile {
    display: grid;
    grid-template-rows: 180px 1fr;
    grid-template-columns: 130px 1fr;
    gap: 20px;
}

.p-profile__img {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.p-profile__info {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    align-self: center;
}
.p-profile__text {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
}

.p-benefit {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.p-benefit__img {
    max-width: 200px;
}

.p-benefit__heading {
    display: flex;
    flex-direction: column;
}

.p-icon {
    display: inline-flex;
    background-color: var(--main-color);
    width: 40px;
    height: 40px;
    padding: 5px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.p-icon-circle {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.p-icon__text {
    font-size: 11px;
}

.p-icon__num {
    font-size: 20px;
}

.p-curriculum {
    border: 1px solid #dae4ed;
}

.p-curriculum__h3 {
    background-color: #fafcff;
    border-top: 1px solid #dae4ed;
    border-bottom: 1px solid #dae4ed;
    margin: 0;
    padding: 20px;
    color: var(--main-color);
}

.p-curriculum__h3 .p-icon {
    margin-right: 1rem;
}

.p-curriculum__h4 {
    color: var(--main-color);
}

.p-curriculum__h4::after {
    display: none;
}

.p-curriculum__content {
    background-color: #fff;
    padding: 30px;
}

.p-curriculum__content li {
    margin: 0;
    color: #2d344b;
}

.p-curriculum__content p {
    margin-bottom: 0.8em;
    color: #70788c;
}

.p-apply-button__wrap > input[type="submit"] {
    display: block;
    background-image: none;
    background-color: #BB261A;
    border-radius: 8px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    color: #FFF;
    font-size: clamp(0.875rem, 0.467rem + 1.63vw, 1.25rem);
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    letter-spacing: 2px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.p-apply-button__wrap > input[type="submit"]:hover {
    background-image: linear-gradient(135deg, #BB261A 0%, #c53030 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(197, 48, 48, 0.5);
}

.p-cart-button > input[type="submit"] {
    background-color: #cc0000;
    background-image: url('/wp/wp-content/themes/fantomsemi/images/ico-app02_wht.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 18px;
    padding: 10px 10px 10px 40px;
    width: 100%;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    letter-spacing: 0.075em;
    display: block;
    box-sizing: border-box;
    text-align: center;
}

.p-cart-button > input[type="submit"]:hover {
    opacity: 0.7;
}

.p-cart-button__sp > input[type="submit"] {
    background: inherit;
    background-image: url('/wp/wp-content/themes/fantomsemi/images/ico-app02_wht.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px;
    border: none;
    margin-left: 10px;
    padding: 0 0 0 30px;
    color: #fff;
}

.p-movie__wrap {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.p-iframe__wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.p-iframe__wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 680px) {
    .p-profile {
        grid-template-rows: 80px 1fr;
        grid-template-columns: 130px 1fr;
    }
    .p-profile__img {
        grid-row: 1 / 3;
        grid-column: 1 / 2;
    }
    .p-profile__info {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
    }
    .p-profile__text {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
    }
    .p-benefit {
        grid-template-rows: 80px 1fr;
        grid-template-columns: 1fr 180px;
        gap: 20px;
    }
    .p-benefit__tag {
        grid-row: 1 / 2;
	    grid-column: 1 / 3;
    }
    .p-benefit__text {
        grid-row: 2 / 3;
	    grid-column: 1 / 2;
    }
    .p-benefit__img {
        grid-row: 2 / 3;
	    grid-column: 2 / 3;
    }
    .p-apply-button__wrap > input[type="submit"] {
        padding: 20px 60px;
    }
}

@media (min-width: 768px) {
    .p-container-inner {
        width: 90%;
        max-width: 900px;
    }
    .p-course-sale-period {
        flex-direction: row;
        align-items: end;
        gap: 10px;
    }
    .p-course-schedule__wrap > div {
        flex-direction: row;
        align-items: end;
        gap: 20px;
    }
}

@media (min-width: 960px) {
    .p-payment__content {
        display: flex;
        flex-direction: row;
    }
    .p-benefit {
        grid-template-rows: 1fr;
        grid-template-columns: 80px 1fr 180px;
    }
    .p-benefit__tag {
        grid-row: 1;
	    grid-column: 1;
    }
    .p-benefit__text {
        grid-row: 1;
	    grid-column: 2;
    }
    .p-benefit__img {
        grid-row: 1;
	    grid-column: 3;
    }
}

/* Utility
   ----------------------------------------------------------------- */

.u-border {
    border: 1px solid var(--line-color);
}

.u-border--side {
    border-left: 1px solid var(--line-color);
    border-right: 1px solid var(--line-color);
}

.u-txt--small {
    font-size: 0.8em;
    line-height: 1;
}

.u-txt--big {
    font-size: 1.2em;
}

.u-txt--ex-small {
    font-size: 0.7em;
    line-height: 1;
}

.u-txt--16 {
    font-size: 16px;
}

.u-txt--18 {
    font-size: 18px;
}

.u-txt--20 {
    font-size: 20px;
}

.u-txt--24 {
    font-size: 24px;
}

.u-txt--bold {
    font-weight: bold;
}

.u-txt--grad {
    display: inline-block;
    background: linear-gradient(to right, #3673af 0%, #234f79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.u-txt--center {
    text-align: center;
}

.u-txt--nowrap {
    white-space: nowrap;
}

.u-mb--10 {
    margin-bottom: 10px;
}

.u-mb--30 {
    margin-bottom: 30px;
}

.u-mb--50 {
    margin-bottom: 50px;
}

.u-indent {
    text-indent: 1em hanging;
}

.u-icon {
    width: 1em;
    margin-right: 10px;
}

.u-icon--thin {
    width: 1.5em;
    margin-left: -5px;
    margin-right: 5px;
}

.u-flex {
    display: flex;;
}

.u-color--red {
    color: #c0392b;
}

.u-color--blk {
    color: #404040;
}

@media (min-width: 768px) {
    .u-sp-only {
        display: none;
    }
}

/* その他のCSSの影響を調整
   ----------------------------------------------------------------- */
.sitetitle-area {
    font-size: 14px;
}

.txt_logo {
    letter-spacing: 1;
    line-height: 1.5;
}

.btn-box {
    top: 0;
}

.header_link_box {
    top: 50px;
}

.item li {
    margin: 0;
}

.item .p-cart-button__sp > input[type="submit"] {
    padding: 0 0 0 30px;
}

/* 自動挿入されるコンテンツを非表示 */
/* .nsa_product_detail {
    display: none;
} */