@charset "UTF-8";

/*
    Template: swell
    Theme Name: j-success
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
}

.mont {
    font-family: "Montserrat", sans-serif;
}

.roboto {
    font-family: "Roboto", sans-serif;
}

.fw100 {
    font-weight: 100 !important;
}

.fw200 {
    font-weight: 200 !important;
}

.fw300 {
    font-weight: 300 !important;
}

.fw400 {
    font-weight: 400 !important;
}

.fw500 {
    font-weight: 500 !important;
}

.fw600 {
    font-weight: 600 !important;
}

.fw700 {
    font-weight: 700 !important;
}

.fw800 {
    font-weight: 800 !important;
}

.fw900 {
    font-weight: 900 !important;
}

.purple {
    color: #8F82BC !important;
}

.pink {
    color: #EB6C9A !important;
}

.orange {
    color: #F3994F !important;
}

.br20 {
    border-radius: 20px;
}

.br-img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 80px 0 80px 0;
}

.l-content {
    margin-bottom: 2em;
}

.w-beforeFooter {
    margin-top: 0;
}

.w-header.pc_ {
    display: none;
}

.title-flex-wrap {
    gap: 1em;
    align-items: center;
}

/*メインビジュアル・スライダー*/
.section-mv #slider, .section-mv #slider01, .section-mv #slider02, .section-mv #slider03, .section-mv #slider04 {
    width: 100%;
    height: 60vh !important;
    border-radius: 80px 0 80px 0;
}

.section-mv h2, .section-mv h1.class-title {
    margin: 0 auto .5em;
    font-size: 2.3em;
    letter-spacing: -1px;
    text-align: center;
    background: radial-gradient(circle, rgba(58, 99, 255, 1), rgba(42, 179, 252, 1) 90%);
    background: -webkit-radial-gradient(circle, rgba(58, 99, 255, 1), rgba(42, 179, 252, 1) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-mv h1.class-title {
    line-height: 1.3;
}

.section-mv h2 span.class-sub-title, .section-mv h1.class-title span.class-sub-title {
    display: inline-block;
    font-size: .6em;
    margin-bottom: .5em;
    letter-spacing: 5px;
    border-bottom: 2px solid #328afd;
    border-top: 2px solid #328afd;
    padding: .1em 0;
}

.section-mv h2 span.l-text, .section-mv h1.class-title span.l-text {
    font-size: xxx-large;
}

.btn-wrap a {
    padding: 2em 0;
    width: 90%;
    font-weight: 500;
}

.btn-wrap svg {
    position: absolute;
    right: 1em;
}

.section-mv .swell-block-column:last-child {
    position: relative;
}

.section-mv .swell-block-column:last-child::after {
    content: '伊丹マップ';
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 45%;
    left: 50%;
    transform: translate(-50%, 50%);
    font-weight: 600;
    color: #fff;
    background: #10a7eb57;
    padding: 0 .5em;
    font-size: larger;
}

/*トップ下の教室リンク*/
.section-class-link {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}

.section-class-link ul {
    justify-content: flex-end;
    gap: .3em;
}

.section-class-link ul li a {
    color: var(--color_main);
    letter-spacing: -2px;
}

.section-class-link ul li:nth-child(2) a {
    color: #8F82BC;
}

.section-class-link ul li:nth-child(3) a {
    color: #EB6C9A;
}

.section-class-link ul li:nth-child(4) a {
    color: #F3994F;
}

.section-class-link ul a:hover {
    text-decoration: none !important;
    opacity: .7;
}

/*インフォメーション*/
.section-information .swell-block-columns {
    background: #fff;
    box-shadow: 2px 2px 15px #00000025;
    padding: 1.75em;
    border-radius: 20px;
}

.section-information button.c-tabList__button {
    border-radius: 50px;
    padding: .5em;
    font-size: small;
    letter-spacing: 1px;
    color: #fff;
}

.section-information .is-style-balloon>.c-tabList .c-tabList__button[aria-selected=false] {
    background: #C4C4C4;
}

.section-information .is-style-balloon>.c-tabList .c-tabList__button[aria-selected=false]:hover:before {
    display: none;
}

.section-information .p-postList__title {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: smaller;
    font-weight: 500;
}

/*目次*/
.section-contents a.heading {
    display: block;
    border-bottom: 2px solid;
    padding-bottom: .75em;
    color: var(--color_main);
    transition: .5s;
}

.section-contents a.heading:hover {
    transform: translateY(-2px);
}

.section-contents .c-label {
    display: flex;
    margin-bottom: -.3em;
}

.section-contents .c-text {
    color: var(--color_text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.section-contents .c-text::after {
    content: "";
    display: inline-block;
    inline-size: 1.5ex;
    aspect-ratio: 1;
    border-block-start: 1px solid;
    border-inline-end: 1px solid;
    justify-self: end;
    rotate: 135deg;
}

/*ギャラリー*/
.section-gallery01 {
    padding: .5em 0 !important;
    letter-spacing: 1px;
}

.section-gallery02 {
    margin-top: -5px !important;
    margin-bottom: -4px !important;
}

.section-gallery02 ul {
    padding-left: 0;
}

.section-gallery02 .slick-slide img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/*サクセスについて*/
.section-about .banner-link-columns a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1em;
    background: #fff;
    padding: 2em 1.5em;
    border-radius: 20px;
    box-shadow: var(--swl-btn_shadow);
    transition: .5s;
}

.section-about .banner-link-columns a:hover {
    transform: translateY(-2px);
    opacity: .7;
}

.section-about .banner-link-columns a img {
    width: 1.5em;
}

.section-about .banner-link-columns a span {
    color: var(--color_text);
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.2;
}

/*選ばれる理由*/
.section-reason .reason-columns .swell-block-column {
    background: #fff;
    padding: 0 1.5em 1.2em !important;
    border: 3px solid var(--color_deep01);
    border-radius: 50px 0 50px 0;
}

.section-reason .reason-columns .wp-block-group.is-row {
    margin-bottom: 0;
}

/*CTA*/
.section-cta .btn-wrap a {
    max-width: 300px;
    background: #fff;
    color: var(--color_main);
}

/*コースと料金*/
.course-columns .swell-block-column {
    background: #fff;
    border: 2px solid var(--color_deep02);
    padding: 1.5em;
    border-radius: 20px;
    box-shadow: var(--swl-btn_shadow);
}

.course-columns .swl-bg-color {
    font-size: small;
    padding: .25em 1em;
    border-radius: 50px;
}

/*講師紹介*/
.section-tutor .tutor-columns .swell-block-column {
    background: #fff;
    padding: 1em;
    border-radius: 30px;
}

.section-tutor .tutor-columns .swell-block-column figure {
    display: flex;
    justify-content: center;
}

.section-tutor .tutor-columns .swell-block-column img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    max-width: 150px;
}

.section-tutor .tutor-columns .tutor-link-wrap .wp-block-group__inner-container {
    display: flex;
    justify-content: flex-end;
    gap: 2em;
}

.section-tutor .tutor-columns .tutor-note {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-tutor .btn-wrap a {
    max-width: 300px;
    background: var(--color_deep03);
}

/*生徒・保護者の声*/
.voice-columns .swell-block-column {
    border: 2px solid var(--color_deep04);
    padding: .5em 1em 1em;
    border-radius: 30px 0 30px;
    position: relative;
}

.section-voice .btn-wrap a {
    max-width: 300px;
    background: var(--color_deep04);
}

/*フッター直前バナー*/
.section-footer-banner .swell-block-column {
    background: #8cc66c;
    color: #fff;
    padding: 3em 2em;
}

.section-footer-banner .swell-block-column:nth-child(2) {
    background: var(--color_deep02);
}

.section-footer-banner h3 {
    font-size: large;
}

.section-footer-banner .swell-block-column .btn-wrap a {
    background: #fff;
    color: #8cc66c;
    max-width: 400px;
}

.section-footer-banner .swell-block-column:nth-child(2) .btn-wrap a {
    color: var(--color_deep02);
}

/*フッター*/
.footer-class-columns .swell-block-column {
    background: #F0FBFF;
    padding: .5em 1em;
    border-radius: 10px;
}

.section-footer .swell-block-linkList.-border .swell-block-linkList__item {
    border-bottom: 1px solid #00a7eb75;
}

.section-footer .swell-block-linkList.-border .swell-block-linkList__item:first-child {
    border-top: none;
}

.section-footer .swell-block-linkList__link {
    padding: 1.5em .25em;
}

/*PC追従ボタン*/
ul.fix-list-btn-wrap {
    list-style: none;
    padding-left: 0;
    position: fixed;
    top: 25vh;
    right: 0;
    z-index: 99;
}

ul.fix-list-btn-wrap li {
    margin: 0;
}

ul.fix-list-btn-wrap a {
    display: flex;
    align-items: center;
    gap: .5em;
    writing-mode: vertical-rl;
    padding: 1.5em .6em;
    letter-spacing: .1em;
    transition: opacity .25s;
    background: #e2457e;
    color: #fff;
    box-shadow: var(--swl-btn_shadow);
}

ul.fix-list-btn-wrap a:hover {
    opacity: .8;
}

ul.fix-list-btn-wrap li:first-child a {
    border-radius: 15px 0 0 0;
}

ul.fix-list-btn-wrap li:last-child a {
    background: #06c755;
    text-orientation: upright;
    border-radius: 0 0 0 15px;
}

ul.fix-list-btn-wrap a .swl-inline-icon {
    margin: 0;
    font-size: x-large;
    left: .31em;
}

ul.fix-list-btn-wrap li:last-child a .swl-inline-icon {
    left: 0;
}

/*下層ページ*/
.page .l-content {
    padding-top: 0;
}

.page .l-mainContent__inner>.post_content {
    margin-top: 0;
}

h1.c-pageTitle {
    display: none;
}

.page-title-wrap {
    position: relative;
    overflow: hidden;
}

.page-title-wrap::before {
    content: '';
    position: absolute;
    top: -30em;
    left: 0;
    right: 0;
    bottom: -30em;
    background-image: url(https://www.j-success.com/dev398347/wp-content/uploads/logo-mark.svg);
    background-size: contain;
    background-position: center;
    filter: blur(40px);
}

/*サクセスについて*/
.page-about-wrap .swell-block-bannerLink a {
    border-radius: 50px 0 50px 0;
}

.page-about-wrap .c-bannerLink__title {
    letter-spacing: 3px;
}

/*教室ページ*/
.class-page-wrap .section-mv h2 {
    font-size: 3em;
    letter-spacing: 3px;
}

.class-page-wrap .section-tutor .tutor-columns {
    background: #fff;
    padding: 2em;
    margin-bottom: 4em;
    border-radius: 20px;
}

.page-class-about .cap_box_content {
    border-radius: 30px;
    background: #fff;
    border: 2px solid var(--color_main);
}

/*講師紹介ページ*/
.staff-columns {
    background: #fff;
    box-shadow: 2px 2px 15px #00000025;
    padding: 1.75em;
    border-radius: 20px;
}

/*モーダル*/
.hide-area {
    display: none;
}

.modaal-close:after,
.modaal-close:before {
    background: #ccc;
}

.modaal-close:focus:after, .modaal-close:focus:before, .modaal-close:hover:after, .modaal-close:hover:before {
    background: #fff !important;
}

.modaal-close {
    position: absolute !important;
    right: -1em !important;
    top: -1em !important;
    background: var(--color_text) !important;
    border-radius: 50% !important;
}

.modaal-container {
    border-radius: 30px !important;
    color: var(--color_text) !important;
}

.tutor-list a {
    display: block;
    text-align: center;
    background: #F0FBFF;
    padding: 1.5em;
    border-radius: 30px;
    transition: .5s;
}

.tutor-list a:hover {
    opacity: .8;
    transform: rotate(2deg);
}

.tutor-list a img {
    width: 170px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
}

.tutor-list a h3 {
    margin: 0;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--color_text);
}

.tutor-list a h3 span {
    font-size: .7em;
    letter-spacing: 0;
}

/*コース紹介ページ*/
.tutor-list.teaching-list a {
    border-radius: 10px;
    box-shadow: var(--swl-btn_shadow);
    background-image: url(https://www.j-success.com/dev398347/wp-content/uploads/element-4.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
    position: relative;
}

.course-result-wrap .swell-block-column:nth-child(2) .tutor-list.teaching-list a {
    background-image: url(https://www.j-success.com/dev398347/wp-content/uploads/element-6.webp);

}

.course-result-wrap .swell-block-column:last-child .tutor-list.teaching-list a {
    background-image: url(https://www.j-success.com/dev398347/wp-content/uploads/element-2.webp);

}

.tutor-list.teaching-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.tutor-list.teaching-list a:hover {
    transform: rotate(1deg);
}

.tutor-list.teaching-list a h4 {
    margin: 0;
    color: #fff;
    letter-spacing: 5px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    left: 2px;
    font-weight: 500;
}

.tutor-list.teaching-list a h4 span {
    font-size: smaller;
    letter-spacing: 1px;
}

.element-english-columns .swell-block-column {
    background: #FFEEF4;
    padding: 1em;
    border-radius: 5px;
}

.heading-support {
    position: relative;
    bottom: 1.5em;
    margin-bottom: -1em !important;
    color: var(--color_deep01);
    font-size: 1.3em !important;
}

.heading-support span {
    display: flex;
    width: fit-content;
    background: var(--color_deep01);
    color: #fff;
    font-size: medium;
    padding: 0 .5em;
    border-radius: 50px;
    margin-bottom: .25em;
}

/*合格実績ページ*/
.result-list-wrap ul {
    list-style: none;
    padding: 0;
    gap: 0;
    font-size: .95em;
}

.result-list-wrap ul li {
    margin-bottom: 0;
    margin-right: 1em;
    line-height: 1.5;
}

/*早朝学習ページ*/
.morning-support-wrap figure img {
    border-radius: 20px;
}

/*体験授業ページ*/
.trial-flow-wrap .btn-wrap a {
    max-width: 300px;
    background: var(--color_deep02);
}

/*お問い合わせページ*/
.contact-group {
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    margin-bottom: 3em;
}

.line-btn a {
    background: #06c755;
}

/*講習ページ*/
.section-long-term-course table th, .section-long-term-course table td {
    line-height: 1.5;
}

/*ContactForm7カスタマイズ*/
table.CF7_table tr {
    border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
    display: table;
}

table.CF7_table th, table.CF7_table td {
    border: none;
    padding: 1em 0;
}

table.CF7_table td .contact-time {
    border-bottom: 2px solid;
}

.CF7_table input, .CF7_table textarea {
    border: 1px solid #d8d8d8;
    width: 100%;
}

.CF7_table input[type="checkbox"] {
    width: unset;
}

.CF7_table input[type="radio"] {
    width: unset;
}

.CF7_table .age-box input {
    width: 3.5em;
    margin-right: 5px;
    text-align: center;
}

.CF7_table ::placeholder {
    color: #bfbfbf;
}

.CF7_table .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
}

.CF7_req, .CF7_unreq {
    font-size: .85em;
    padding: 1px 3px;
    background: var(--color_deep02);
    color: #fff;
    border-radius: 2px;
    margin-right: .25em;
}

.CF7_unreq {
    background: #bdbdbd;
}

.contact-privacy {
    opacity: .7;
    font-size: small;
    background: #fbfbfb;
    border: 1px solid #eee;
    padding: 1.5em;
    height: 30vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 3em;
}

.contact-privacy h4 {
    font-size: 1.1em;
    margin: 1.5em auto .5em;
    font-weight: 500;
}

.contact-privacy .contact-information {
    background: #fff;
    padding: .5em;
    margin-top: 1em;
}

.contact-privacy ul {
    margin-top: 1em;
}

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-message {
    font-size: .75em;
    margin-top: 2em;
}

@media screen and (min-width: 768px) {
    .CF7_table th {
        width: 30%;
        font-size: small;
        font-weight: 500;
        padding: 0;
        background: none;
        border: none;
    }
}

@media screen and (max-width: 768px) {
    .contact-group {
        margin-left: -4vw;
        margin-right: -4vw;
        border-radius: unset;
        padding: 2em 4vw;
    }

    .CF7_table tr, .CF7_table td, .CF7_table th {
        display: block;
        width: 100%;
    }

    .CF7_table th {
        background-color: unset;
    }
}

.wpcf7 input.wpcf7-submit {
    background-color: var(--color_main);
    border: 0;
    color: #fff;
    font-size: 1.3em;
    margin: 0 auto;
    padding: .25em 2em;
    border-radius: 5px;
    letter-spacing: 3px;
}

.CF7_btn {
    text-align: center;
    margin-top: 20px;
}

.wpcf7-spinner {
    width: 0;
    margin: 0;
}

.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
}

input[type='submit'][disabled] {
    background: #DCDCDC;
}

/*ContactForm7カスタマイズ*/

@media not all and (min-width: 960px) {
    .btn-wrap a {
        max-width: 300px;
    }

    /*ヘッダー内部ボタン*/
    .w-header.pc_ {
        display: block !important;
    }

    .l-header__customBtn.sp_ {
        display: none;
    }

    .fix-header-btn {
        display: block;
        color: var(--color_deep02);
        padding: 0 .5em .75em;
        border-radius: 50px;
        margin-right: .5em;
    }

    .fix-header-btn span {
        font-size: x-large;
        position: relative;
        top: .2em;
        margin-right: 0.3em;
    }

    /*横スクロール*/
    .sp-scroll-columns .swell-block-columns__inner {
        display: block;
        scroll-snap-type: x mandatory;
        max-width: 800px;
        white-space: nowrap;
        overflow-x: scroll;
    }

    .sp-scroll-columns .swell-block-column {
        scroll-snap-align: center;
        display: inline-block;
        width: 280px;
        white-space: normal;
        overflow: hidden;
        vertical-align: top;
    }

    .sp-scroll-columns .swell-block-column:not(:first-child) {
        margin-left: 1em;
    }

    /*フッター固定ボタン*/
    #fix_bottom_menu .menu-item a {
        background: var(--color_deep02);
        color: #fff;
        padding: .75em 1em 1em;
    }

    #fix_bottom_menu .menu-item:nth-child(2) a {
        background: #06c755;
    }

    #fix_bottom_menu .menu-item:last-child a {
        background: var(--color_main);
    }

    #fix_bottom_menu .menu-item a span {
        letter-spacing: 2px;
        font-size: smaller;
        font-weight: 500;
    }
}

@media not all and (min-width: 600px) {
    .sp-text-center {
        text-align: center;
    }

    /*メインビジュアル*/
    .section-mv h2, .section-mv h1.class-title {
        font-size: 1.9em;
        line-height: 1.2;
    }

    .section-mv #slider, .section-mv #slider01, .section-mv #slider02, .section-mv #slider03, .section-mv #slider04 {
        height: 30vh !important;
    }

    .section-class-link ul {
        justify-content: space-between;
    }

    .section-class-link .swell-block-linkList__link {
        font-size: .7em;
    }

    /*サクセスについて*/
    .section-about .banner-link-columns a {
        flex-direction: column;
        padding: 1.5em 1em;
        gap: .5em;
    }

    .section-about .banner-link-columns a span {
        letter-spacing: 1px;
        font-size: small;
    }

    /*講師紹介*/
    .section-tutor .tutor-columns .tutor-link-wrap .wp-block-group__inner-container {
        justify-content: space-between;
    }

    .section-tutor .tutor-columns .wp-block-media-text__content {
        padding-bottom: .5em !important;
    }

    /*フッター*/
    .section-footer .swell-block-linkList__link {
        padding: 1em .25em;
    }

    /*PC追従ボタン*/
    ul.fix-list-btn-wrap {
        display: none;
    }

    /*教室ページ*/
    .class-page-wrap .section-mv h2 {
        font-size: 2.5em;
    }

    /*無料体験授業のご案内ページ*/
    .trial-flow-wrap .swell-block-column:nth-child(even) span {
        transform: rotate(90deg);
    }
}

@media (min-width: 600px) {

    /*インフォメーション*/
    .section-information .c-tabBody {
        margin-top: 2em;
    }

    .section-information .p-postList__link {
        padding: .75em .25em;
    }

    .section-information .p-postList__body {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .section-information .p-postList__meta {
        width: 15%;
    }

    .section-information .p-postList__title {
        -webkit-line-clamp: 1;
        width: 85%;
    }

    /*お問い合わせページ*/
    .sticky-column {
        position: -webkit-sticky;
        position: sticky;
        top: 8em;
        z-index: 1000;
    }
}

/* YES・NO チャート関連 */

a.c-headLogo__link {
    font-family: 'Righteous', cursive;
}

.yn-chart {
    margin: 0 auto 2rem;
    padding: 2em;
    max-width: 600px;
    background: #fff;
    font-size: 0.9rem;
}

.yn-chart__add {
    background: #00b9eb;
    color: #fff;
    padding: 0.2em 0.9em !important;
    margin: 0 !important;
    text-align: center;
    display: inline-block;
    line-height: 1.5 !important;
}

.yn-chart__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0.5em 0 0.3em !important;
    margin: 0 auto !important;
    font-size: 1.35em !important;
    font-weight: 600 !important;
    color: var(--color_main);
    letter-spacing: 1px !important;
    line-height: 1.5 !important;
}

.yn-chart__title:before, .yn-chart__title:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #00b9eb;
    display: block;
}

.yn-chart__title:before {
    margin-right: 0.7em;
}

.yn-chart__title:after {
    margin-left: 0.7em;
}

.yn-chart__ex {
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

.yn-chart>div {
    display: none;
    padding-top: 100px;
    margin-top: -100px;
}

.yn-chart>div.yn-chart__display {
    display: block;
}

.yn-chart>div>figure {
    margin: 1em 0 -2.9em;
}

.yn-chart>div>figure img {
    display: block;
}

.yn-chart>div>p {
    margin: 2em 0 0 !important;
    padding: 0.8em 1em 0.8em 4.3em !important;
    background: #fcee21;
    position: relative;
    font-size: 1.2em;
}

.yn-chart>div>p.q-title {
    border: 3px solid;
    font-weight: bold;
}

.yn-chart>div>p:before {
    content: "Q";
    background: #00b9eb;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1em;
    min-width: 48px;
}

.yn-chart>div ul {
    margin: 2em 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none;
}

.yn-chart>div ul li {
    margin: 0 0 1em 1em !important;
    padding: 0 !important;
}

.yn-chart>div ul li:last-child {
    margin: 0 0 0 1em !important;
}

.yn-chart>div ul li a {
    background: #fff;
    display: block;
    padding: 0.8em 1em !important;
    text-decoration: none;
    color: var(--color_Text);
    box-shadow: 0 3px 5px rgb(0 0 0 / 7%);
    border-radius: 100vmax;
    border: 2px solid;
    font-size: 1.2em;
    font-weight: 500;
}

.yn-chart>div ul li a:hover {
    background: #def8ff;
    transition: 0.1s ease-in-out;
    opacity: 1;
}

.yn-chart>div ul li:before {
    content: unset !important;
}

.yn-chart__result {
    background: #fff;
    padding: 1em;
}

.yn-chart__result-title {
    color: #00b9eb;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 0 1em !important;
    border-bottom: 1px dashed #00b9eb;
}

.yn-chart__result p.result-big {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 0;
    display: inline-block;
    background: #fcee21;
    padding: 5px;
}

p.return-top {
    text-align: center;
    margin-top: 30px;
}

@media screen and (max-width: 560px) {
    .yn-chart {
        padding: 1.8em 1.3em;
    }

    .yn-chart>div>figure {
        margin: 0.5em 0 -1.6em;
    }

    .yn-chart>div>p {
        margin: 1em 0 0 !important;
        padding: 0.8em 1em 0.8em 3.3em !important;
    }

    .yn-chart>div ul {
        margin: 1em 0 0 !important;
    }

    .yn-chart__title {
        font-size: 1em !important;
    }

    .yn-chart__title:before {
        margin-right: 0.3em;
    }

    .yn-chart__title:after {
        margin-left: 0.3em;
    }

    .yn-chart__ex, .yn-chart__add {
        font-size: 0.9em !important;
    }

    .yn-chart>div>p:before {
        min-width: 30px;
    }
}

/* Twitterシェアボタンなど */

.p-tw-btn, .p-check-btn {
    text-align: center;
    margin: 1.5em 5em !important;
    padding: 0 !important;
}

.p-tw-btn a, .p-check-btn a {
    display: block;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .15);
    color: #fff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 0.5em 0;
    border-radius: 30px;
}

.p-tw-btn a {
    background: #00acee;
}

.p-check-btn a {
    background: #ed1e79;
}

.p-tw-btn a:hover, .p-check-btn a:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 2px rgba(0, 0, 0, .22);
}

.yn-chart>div>p.p-check-btn {
    background: none !important;
    padding: 0 5em !important;
}

.yn-chart>div>p.p-check-btn:before {
    content: unset !important;
}

.chart-result-wrap figure.wp-block-gallery.has-nested-images {
    gap: 0;
}

@media screen and (max-width: 800px) {
    .p-tw-btn, .p-check-btn {
        margin: 1.5em 3em !important;
    }
}

@media screen and (max-width: 560px) {
    .p-tw-btn, .p-check-btn {
        margin: 1.5em 1em !important;
    }

    .yn-chart>div>p.p-check-btn {
        padding: 0 3em !important;
    }
}

/* YES・NO チャート関連 */