/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

:root {
    --main-color: #34a2bb;
    --highlight: #EA7C5D;
    --btn-color: #34a2bb;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
}

.ib {
    display: inline-block !important;
}

/*
 * WP Members Customize
 */

#wpmem_login,
#wpmem_msg,
#wpmem_reg,
.wpmem_msg,
.link-text,
#ijk_confirm,
#ijk_application {
    font-family: 'Noto Sans JP', sans-serif;
    width: 560px;
    max-width: 100%;
    margin: 0 auto;
}

.wpmem_msg {
    text-align: start;
    padding: 1em;
}

#wpmem_login legend,
#wpmem_reg legend,
#ijk_confirm legend,
#ijk_application h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: start;
    margin: 1em 0;
}

#ijk_application legend {
    font-size: 22px;
    margin: 2em 0 1em;
}

#ijk_confirm ul {
    text-align: start;
    padding-left: 1.3em;
}

#wpmem_login label,
#wpmem_reg label {
    display: block;
    text-align: start;
    margin: 1em 0 0.5em;
}

.no-value {
    color: #ec0000;
    font-size: 0.8em;
    margin-bottom: 0.5em;
}

#wpmem_profile_form .row-birth_date {
    display: none;
}

#wpmem_login label[for="rememberme"],
#wpmem_reg label.multicheckbox {
    display: inline-block;
    cursor: pointer;
}

#wpmem_reg label[for^="school_name"] {
    font-size: 0.8em;
}

.div_multicheckbox {
    text-align: start;
}

#wpmem_login .buttons.btn.btn-primary,
#wpmem_reg .buttons.btn.btn-primary,
#ijk_confirm .btn.btn-primary,
#ijk_application .btn.btn-primary {
    display: block;
    width: 100%;
    margin: 30px 0;
    padding: 0 0.4em;
    line-height: 3.6;
    white-space: nowrap;
    background: var(--btn-color);
    border-color: var(--btn-color);
}

#wpmem_login .buttons.btn.btn-primary {
    margin: 10px 0;
}

#wpmem_login fieldset,
#wpmem_reg fieldset {
    margin: 0 0 10px;
}

#wpmem_reg fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#wpmem_reg fieldset>* {
    flex: 0 0 100%;
    width: 100%;
}

#wpmem_reg fieldset .row-first_name,
#wpmem_reg fieldset .row-last_name,
#wpmem_reg fieldset .row-first_name_p,
#wpmem_reg fieldset .row-last_name_p,
#wpmem_reg fieldset .row-first_name_kana,
#wpmem_reg fieldset .row-last_name_kana,
#wpmem_reg fieldset .row-first_name_p_kana,
#wpmem_reg fieldset .row-last_name_p_kana {
    flex: 0 0 48%;
    width: 48%;
}

#wpmem_login label.ijk-parents {
    display: block;
    text-align: center;
    margin: 50px 0;
    cursor: pointer;
}

@media (max-width:565px) {

    #wpmem_login label.ijk-parents {
        margin: 1em 0 0;
        font-size: 1rem;
    }

    #wpmem_login label[for="rememberme"] {
        margin: 1em 0;
        font-size: 1rem;
    }

    a.tos-link,
    .link-text-forgot a {
        font-size: 1rem;
    }
}

.link-text-register {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0;
    text-align: start;
}

.link-text-register a {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 0 0.4em;
    border: 1px solid var(--btn-color);
    color: var(--btn-color);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 3.6;
    border-radius: 0.25rem;
}

.link-text-register a:hover {
    text-decoration: none;
}

a.tos-link,
.link-text-forgot a {
    text-decoration: underline;
}

a.tos-link:hover,
.link-text-forgot a:hover {
    text-decoration: none;
}

#wpmem_login input[type="checkbox"],
#ijk_confirm input[type="checkbox"] {
    margin: 0;
    margin-right: 0.4em;
    vertical-align: 0.04em;
}

/*
#wpmem_reg legend.ijk-mid-leg,
.row-birth_date label,
.row-user_tel label,
.row-description label {
    font-size: 24px;
    font-weight: 500;
    margin: 1.5em 0 1em;
}
*/

#ijk_confirm p,
#ijk_confirm label {
    text-align: start;
}

#ijk_confirm label {
    position: relative;
    padding-left: 2em;
    cursor: pointer;
    margin: 1em 0;
}

#ijk_confirm label input {
    position: absolute;
    top: 0.4em;
    left: 0.4em;
}

#wpmem_reg .req {
    font-size: 0.8em;
    font-weight: 500;
    vertical-align: 0.1em;
    margin-left: 0.7em;
    color: #ec0000;
}

::placeholder {
    color: #ccc !important;
}

#wpmem_login .button_div,
#wpmem_reg .button_div,
#wpmem_login .link-text {
    text-align: center;
}

#wpmem_reg .div_text {
    margin-bottom: 8px;
}

.register-note {
    text-align: start;
    font-size: 0.74em;
    line-height: 1.4;
    background: #eee;
    padding: 0.8em 1.1em;
}

#wpmem_profile_form .ijk-row-wrapper.row-s_course {
    pointer-events: none;
    display: none;
}

#wpmem_register_form input[type="checkbox"]:nth-of-type(2),
#wpmem_register_form label:nth-of-type(2),
#wpmem_register_form br:nth-of-type(1),
#wpmem_register_form input[type="checkbox"]:nth-of-type(4),
#wpmem_register_form label:nth-of-type(4),
#wpmem_register_form br:nth-of-type(3),
#wpmem_register_form input[type="checkbox"]:nth-of-type(6),
#wpmem_register_form label:nth-of-type(6),
#wpmem_register_form br:nth-of-type(5),
#wpmem_register_form input[type="checkbox"]:nth-of-type(8),
#wpmem_register_form label:nth-of-type(8),
#wpmem_register_form br:nth-of-type(7),
#wpmem_register_form input[type="checkbox"]:nth-of-type(9),
#wpmem_register_form label:nth-of-type(9),
#wpmem_register_form br:nth-of-type(8),
#wpmem_register_form input[type="checkbox"]:nth-of-type(10),
#wpmem_register_form label:nth-of-type(10),
#wpmem_register_form br:nth-of-type(9),
#wpmem_register_form input[type="checkbox"]:nth-of-type(12),
#wpmem_register_form label:nth-of-type(12),
#wpmem_register_form br:nth-of-type(11),
#wpmem_register_form input[type="checkbox"]:nth-of-type(14),
#wpmem_register_form label:nth-of-type(14),
#wpmem_register_form br:nth-of-type(13) {
    display: none;
}


/* Global nav */
.gMenu>li>a,
.gMenu>li .gMenu_name {
    font-size: 14px;
    white-space: nowrap;
    font-weight: 500;
}

/* g-home / s-home */

.ijk-main {
    position: relative;
    width: 100%;
}

.ijk-main a {
    text-decoration: underline;
}

.ijk-main a:hover {
    text-decoration: none;
}

/*
.ijk-main h2 {
    border: none;
    font-size: 26px;
    margin: 1em 0;
    padding: 0;
}

.ijk-main h3 {
    font-size: 18px;
    border: none;
    margin: 1em 0 0.4em;
}

.ijk-main h3::after {
    content: none;
}
*/

.due-date {
    font-size: 1rem;
}

.due-date-b {
    font-size: 1.35em;
    vertical-align: -0.03em;
}

.subSection-title,
h3 {
    font-size: 1.3rem;
}

@media (max-width:565px) {

    .h2,
    .mainSection-title,
    h2 {
        font-size: 1.4rem;
    }

    .subSection-title,
    h3 {
        font-size: 1.15rem;
    }

    .due-date {
        font-size: 0.9rem;
    }
}

/* タブ切替（大） */
.ijk-tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    max-width: calc(100% - 2em);
    margin: 0 auto;
}

.ijk-tabs>a {
    flex: 0 0 24.6%;
    max-width: 24.6%;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    line-height: 2.2;
    border: 1px solid transparent;
    border-bottom: none;
    transform: translate(0, 1px);
    user-select: none;
    text-decoration: none;
    color: #000;
}

@media (max-width:365px) {
    .ijk-tabs>a {
        font-size: 3.8vw;
    }
}

.ijk-tabs>a:hover {
    text-decoration: none;
    color: #000;
}

.ijk-tabs>*.active {
    background: #fff;
    border: 1px solid #000;
    border-bottom: none;
    z-index: 1;
    cursor: default;
}

.ijk-tabs.child-screen>span.active {
    cursor: pointer;
}

.ijk-tabs>a.active {
    cursor: pointer;
}

.ijk-tab-item {
    display: none;
    position: relative;
    padding: 4em 1em 1em;
}

.ijk-tab-item.active {
    display: block;
}

@media (max-width:768px) {
    .ijk-tab-item {
        padding: 1em 1em;
    }
}

/* タブ切替（小） */
.ijk-inner-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: center;
    margin-top: 3em;
    font-size: 18px;
}

.ijk-inner-tabs>span {
    flex: 0 0 32%;
    max-width: 32%;
    background: #f9f9f9;
    line-height: 1.8;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 0.5em;
    margin-right: 2%;
}

.ijk-inner-tabs>span:nth-of-type(3n) {
    margin-right: 0;
}

@media (max-width:768px) {
    .ijk-inner-tabs {
        margin-top: 1em;
    }

    .ijk-inner-tabs>span:nth-of-type(3n) {
        margin-right: 2%;
    }

    .ijk-inner-tabs>span {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .ijk-inner-tabs>span:nth-of-type(2n) {
        margin-right: 0;
    }
}

@media (max-width:565px) {
    .ijk-inner-tabs>span {
        font-size: 14px;
    }
}

@media (max-width:365px) {
    .ijk-inner-tabs>span {
        font-size: 3.8vw;
    }
}


.ijk-inner-tabs>span.active {
    background: #E0E0E0;
}

div[class^="ijk-inner-tab-item-"] {
    display: none;
}

div[class^="ijk-inner-tab-item-"].active {
    display: block;
}

.ijk-home-link>* {
    position: relative;
    display: block;
    text-decoration: underline;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    margin: 1em 0 1em 1.4em;
}

@media (max-width:565px) {
    .ijk-home-link>* {
        font-size: 1.4rem;
    }
}

.ijk-home-link> ::before {
    position: absolute;
    content: ">";
    right: calc(100% + 0.4em);
}

.ijk-home-link>*:hover {
    text-decoration: none;
}

.ijk-block1 {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 2% 3% 4% 3%;
    margin: 2em 0;
    border: 1px solid #eaeaea;
}

@media (max-width:565px) {
    .ijk-block1 {
        padding: 1em;
    }
}

.ijk-block1.ijk-block1__info {
    padding-bottom: 2%;
}

.ijk-block1.ijk-block1__info p {
    color: var(--highlight);
    font-weight: 500;
    margin-bottom: 0;
}

/* お知らせリスト */
.news-ul {
    list-style: none;
    padding: 0;
}

.news-ul li {
    display: flex;
}

.news-ul li>time {
    flex: 0 0 6.4em;
    max-width: 6.4em;
}

.news-ul li>a {
    flex: 1 1 auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.archive-link {
    position: relative;
    font-weight: 500;
    margin: 1em 0 1em 1.4em;
}

.archive-link::before {
    position: absolute;
    content: ">";
    position: absolute;
    content: ">";
    right: calc(100% + 0.7em);
}

/* カレンダー */
#ijk-calendar {
    position: relative;
    min-height: 15em;
}

.sending-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cld-table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid#ddd;
    background-clip: padding-box;
}

.cld-table th {
    background: #337ab7;
    color: #fff;
    border: 1px solid#ddd;
    background-clip: padding-box;
}

.cld-table tr th:nth-of-type(1) {
    background: #e15f5f;
}

.cld-table td {
    vertical-align: top;
    border: 1px solid#ddd;
    background-clip: padding-box;
}

.cld-table td[id$="week6_holiday0"] {
    color: #1a5e98;
    background: #edf1f6;
}

.cld-table td[id$="holiday1"],
.cld-table td[id$="week0_holiday0"],
.cld-table td[id$="week0_holiday1"] {
    color: #db1c1c;
    background: #fff6f6;
}

.cld-table td.today {
    background: #F09F89;
}

.holiday-name+.holiday-text {
    margin: 0 0.5em;
}

@media (max-width:365px) {

    .cld-table th,
    .cld-table td {
        font-size: 3.5vw;
        padding: 0.6em;
    }
}

.cld-holiday {
    min-height: 2em;
    font-size: 0.8em;
    line-height: 2;
}

.cld-event {
    min-height: 2em;
}

.cld-event a {
    display: block;
    text-align: start;
    font-size: 0.9em;
    color: #000;
}

.cld-control {
    text-align: center;
    font-size: 20px;
    margin-bottom: 1em;
}

.cld-prev-next {
    display: inline-block;
    border: 1px solid #ddd;
    background: #fff;
    width: 3em;
    cursor: pointer;
    transition: all 0.3s;
}

.cld-prev-next.disabled {
    pointer-events: none;
    opacity: 0.1;
}

.cld-prev-next:hover {
    background: #ddd;
    color: #fff;
    transition: all 0.3s;
}

.cld-current-month {
    margin: 0 1em;
}

@media (max-width:768px) {
    .cld-event {
        min-height: 1.4em;
    }

    .cld-event a {
        display: none;
    }

    .cld-event a+i {
        display: block;
        font-style: normal;
    }

    .cld-event a+i::before {
        content: "●";
        color: var(--main-color);
    }

    .holiday-name {
        display: none;
    }

    .cld-prev-next {
        width: 1.5em;
    }

    .holiday-text>span {
        display: none;
    }
}


/* テスト画面 */
.test-flow a {
    pointer-events: none;
    color: #ccc;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    white-space: nowrap;
    display: block;
    line-height: 3;
    width: 7em;
    text-align: center;
    margin: 0 0 0 auto;
}

.test-flow a.active {
    pointer-events: auto;
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

#answer-sheet {
    display: none;
}

.q-timer {
    background: #eee;
    text-align: center;
    font-size: 20px;
    white-space: nowrap;
    line-height: 2.5;
    margin-bottom: 20px;
}

.q-timer.disabled {
    display: none;
}

.q-timer__txt {
    margin-right: 0.8em;
}

.end-message {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 100;
}

.end-message-inner {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 8em 1em;
    border: 2px solid var(--highlight);
    z-index: 1;
}

.end-message p {
    color: var(--highlight);
    text-align: center;
    font-weight: 500;
    font-size: 1.2em;
}

.test-control {
    display: flex;
    justify-content: space-between;
}

.test-control.single a {
    margin-left: auto;
}

label[for="answer-sheet"],
#answer-sheet-send,
.test-control a,
.ijk-back,
a.ijk-back {
    background: #fff;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    font-weight: 500;
    border-radius: 3px;
    white-space: nowrap;
    line-height: 2.3;
    padding: 0 1em;
    font-size: 1.2em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

label[for="answer-sheet"]:hover,
#answer-sheet-send:hover,
.test-control a:hover,
.ijk-back:hover,
a.ijk-back:hover {
    background: var(--main-color);
    color: #fff;
    transition: all 0.3s;
}

.answer-sheet-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 3em 0;
}

.answer-sheet-delete {
    width: 1.8em;
    margin-bottom: 1.5em;
    border: none;
    border-radius: 100px;
    height: 1.8em;
}

.answer-sheet-count {
    margin-bottom: 0.6em;
}

.test-img-wrap {
    margin-bottom: 30px;
}

.test-img-wrap img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.d-none {
    display: none !important;
}

.no-q-img {
    text-align: center;
    margin: 5em 0;
    font-size: 1.1em;
}

.ijk-back,
a.ijk-back {
    margin: 2.2em 0;
    display: inline-block;
}

.pdfemb-zoomout,
.pdfemb-zoomin,
.pdfemb-prev:not(.pdfemb-btndisabled),
.pdfemb-next:not(.pdfemb-btndisabled) {
    background-color: #34a2bb !important;
}

/* ページャー */
.pager-set {
    display: inline-block;
    text-align: center;
    background: #eee;
    margin: 0.5em 0.2em;
    padding: 0.3em 0.3em;
    border-radius: 4px;
}

.pager-set.inactive {
    pointer-events: none;
    opacity: 0.3;
}

.pager-set.current-set {
    background: var(--main-color);
}

.pager-set a {
    display: inline-block;
    margin: 0 0.2em;
    border: 1px solid var(--main-color);
    text-decoration: none;
    border-radius: 4px;
    padding: 0 0.5em;
    background: #fff;
}

.pager-set>a {
    padding-bottom: 0.2em;
}

.pager-set a.current-page {
    pointer-events: none;
    color: #fff;
    background: #2596af;
    border-color: #fff;
}

.a-inactive {
    opacity: 0.3;
    pointer-events: none;
}

.ts1-wrap {
    display: inline-block;
    background: #fff;
    border-radius: 4px;
    height: 100%;
    padding-bottom: 0.2em;
}

.ts1-label {
    display: block;
    text-align: center;
    margin: 0 0.2em;
    border-radius: 4px;
    white-space: nowrap;
}

a.inactive-page {
    pointer-events: none;
    opacity: 0.3;
}

/* 成績表 */

.result-table {
    table-layout: fixed;
}

.result-table th,
.result-table td {
    vertical-align: top;
}

.over-limit {
    color: var(--highlight);
}

.results-tab>span {
    text-decoration: underline;
    cursor: pointer;
    color: var(--main-color);
    margin-left: 0.5em;
}

.results-tab {
    font-size: 24px;
    margin: 1em 0;
}

@media (max-width:565px) {
    .results-tab {
        font-size: 1.4rem;
    }
}

.results-tab,
[class^="results-tab-item"],
.results-tab-back {
    display: none;
}

.results-tab.active,
[class^="results-tab-item"].active {
    display: block;
}

.results-tab-back.active {
    display: inline-block;
}

.ijk-form-control {
    text-align: center;
}

/* 講座申込みフォーム */
#ijk_application .ijk-form-control {
    margin-top: 3em;
}

#ijk_application label {
    display: block;
    user-select: none;
    cursor: pointer;
}

#ijk_application .inactive {
    pointer-events: none;
    opacity: 0.5;
}

#ijk_application input[type="checkbox"] {
    margin-right: 0.5em;
}

@media (max-width:565px) {
    .test-type {
        display: none;
    }
}


/* テーマカスタマイズ */

.copySection p:nth-of-type(2) {
    display: none;
}

.comments-area,
.entry-meta_items_author,
.vk_posts.postNextPrev {
    display: none;
}

.breadcrumb {
    display: none;
}

.page-id-1027 .entry-body h2 {
    font-size: 1.6rem;
}

.result-file-link {
    margin-left: 1.2em;
    font-size: 0.86em;
}

.result-table .result-file-link {
    margin: 0;
}

.average-score {
    float: right;
}

.btn.btn-xs.btn-primary.entry-meta_items_term_button {
    padding: 0.4em 0.7em 0.5em;
}

.single-post #main,
.archive-post #main {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

.ijk-main .learning-method h2 {
    border-top: 2px solid #34a2bb;
    font-size: 1.6rem;
    padding: 0.8em 0 0.7em;
    border-bottom: 1px solid #e9e9e9;
    margin: 2em 0 1em;
}

.ijk-main .learning-method h3 {
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5em 0;
    margin: 1.4em 0 1em;
}

.ijk-main .learning-method h4 {
    font-size: 1.3rem;
    margin: 1.4em 0 1em;
}

.method-single {
    display: none;
}

.method-single.active {
    display: block;
}

.method-tab {
    display: flex;
    justify-content: space-around;
}

.method-tab>span {
    text-align: center;
    flex: 0 1 auto;
    padding: 0.5em 2em 0.4em;
    white-space: nowrap;
    cursor: pointer;
}

.method-tab>span>br {
    display: none;
}

.method-tab>span.active {
    background: #e0e0e0;
    cursor: default;
}

@media(max-width:500px) {
    .method-tab>span {
        font-size: 4vw;
    }

    .method-tab>span>br {
        display: inline;
    }
}

.entry-meta_items.entry-meta_updated {
    display: none;
}

#wpmem_login {
    padding: 0 0.6em;
}

.page-id-7 #wpmem_login {
    padding: 0;
}

#wpmem_login_form legend,
#wpmem_register_form legend,
#ijk_confirm legend {
    padding: .8em 0 .7em;
    border-top: 2px solid #337ab7;
    border-bottom: 1px solid #e9e9e9;
    font-size: 1.75rem;
    margin: 1.5em 0 1.2em;
    margin-top: 1.5em;
    clear: both;
}

.skip-num {
    text-align: right;
    margin-top: -1em;
}

.answer-sheet {
    margin-bottom: 1em;
}

.test-control.disable {
    display: none;
}

.nav-links {
    text-align: center;
}

.page-numbers a {
    text-decoration: none;
}

.news-ul .new-arrival-badge,
.category .new-arrival-badge {
    margin: 0 0.5em 0 0;
}

.entry-meta-dataList {
    display: none;
}

a.view_pdf {
    margin: 15px 0 15px auto;
    display: block;
    width: fit-content;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    padding: 8px 20px;
    border-radius: 3px;
    text-decoration: none;
    transition: all .2s;
    background: #fff;
    font-weight: 500;
}
a.view_pdf:hover {
    background: var(--main-color);
    color: #fff;
}