@charset "utf-8";


main {
    width: var(--max-width);
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 80px;
}

._hidden {
    opacity: 0;
    visibility: hidden;
}


/* ------------------------------------
        トップ
--------------------------------------*/
main .content-inner {
    max-width: var(--constant-width);
    margin: 0 auto;
}

#firstBiew {
    margin-bottom: var(--int5);
}

@media screen and (min-width: 601px) and (max-width: 1366px) {
    #firstBiew {
        width: var(--def-width);
        margin-left: auto;
        margin-right: auto;
    }
}

h2 {
    width: var(--max-width);
    max-width: 800px;
    margin-bottom: var(--int4);
    padding: var(--int5) auto var(--int4) 0;
}

@media screen and (max-width: 600px) {
    h2 {
        width: var(--def-width);
        margin: 0 auto var(--int4);
        padding: var(--int4) auto 0 0;}
}


/* ------------------------------------
        loader
--------------------------------------*/
.loader {
    background-color: var(--bg-color);
}

.loader .loading {
    display: none;
}

.loader .loading img {
    animation: loading 10s ease 1;
    width: 100%;
    height: 100%;
}

@keyframes loading {
    0% {
        opacity: .05;
        filter: blur(3px);
        transform: scale(.2);
    }
    50% {
        opacity: .1;
        filter: blur(10px);
        transform: rotate(180deg) scale(8.0);
    }
    100% {
        opacity: 0;
        transform: rotate(180deg) scale(10.0);
    }
}



/* ------------------------------------
        見出しデザイン
--------------------------------------*/
._topSubCaption {
    width: var(--max-width);
    font-family: var(--design-font);
    color: var(--white);
    background: var(--black);
    padding: 10px 10px 6px;
    font-size: 36px;
    margin-bottom: var(--int3);
}

@media screen and (max-width: 600px) {
    ._topSubCaption {
        font-size: 32px;
    }
}



/*=========================================================
  診断するボタン
===========================================================*/
.startButton_container {
    width: var(--max-width);
    max-width: 420px;
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--int3);
}

@media screen and (max-width: 600px) {
    .startButton_container {
        width: var(--def-width);
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

.startButton_container .modal_title {
    font-size: 32px;
}

/* ------------------------------------
       このサイトについて
--------------------------------------*/
.about_container .modal_text > p:first-of-type,
.about_container .modal_text > p:first-of-type span {
    font-family: var(--pickup-font);
    text-align: center;
    font-size: 22px;
}

.about_container .modal_text > p:first-of-type span {
    display: inline-block;
}

.enneagram_attention {
    border-top: solid 1px var(--white);
    padding-top: var(--int1);
}

.enneagram_attention a {
    padding: 0 4px;
    text-decoration: underline;
}

@media screen and (max-width: 600px) {
    .about_container {
        margin-top: 10px;
    }
    .about_container .modal_btn {
        margin: 0 auto;
    }

    .about_container .modal_text > p:first-of-type,
    .about_container .modal_text > p:first-of-type span {
        font-size: 18px;
    }
}



/* ------------------------------------
        トップのストアリンク
--------------------------------------*/
.storeLink_container {
    width: var(--max-width);
    max-width: 980px;
    margin: 0 auto var(--int6);
}

.storeLink_container img {
    box-shadow: 5px 5px 5px rgba(0,0,0,.1);
}



/*=========================================================
  タイプチェッカー
===========================================================*/
#typeChecker_container {
    width: var(--max-width);
    margin-bottom: var(--int6);
}


.typeScoreContainer {
    width: var(--max-width);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto var(--int3);
    gap: 10px 20px;
}

.typeScoreList {
    width: calc((100% / 3) - 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 1366px) {
    .typeScoreContainer {
        max-width: 940px;
    }
    .typeScoreList {
        width: calc((100% / 2) - 10px);
        max-width: 450px;
    }


}

@media screen and (max-width: 800px) {
    .typeScoreContainer {
        justify-content: center;
    }
    .typeScoreList {
        width: var(--def-width);
        max-width: 450px;
    }
}

@media screen and (max-width: 420px) {
    .typeScoreContainer {
        display: flex;
        width: var(--def-width);
    }
    .typeScoreList {
        width: 100%;
        min-width: auto;
        gap: 10px;
    }
    .scoreButtonList li input[type="radio"] + label::before {
        width: 20px;
        height: 20px;
    }
}

.typeScoreList > p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 100%;
    background: var(--black);
    color: var(--white);
    font-family: var(--design-font);
    font-size: 28px;
}

.scoreButtonList {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    line-height: 1;
    margin: 0 auto;
}

@media screen and (min-width: 1367px) {
    .typeScoreList:nth-of-type(1) { order: 1;}
    .typeScoreList:nth-of-type(2) { order: 4;}
    .typeScoreList:nth-of-type(3) { order: 7;}
    .typeScoreList:nth-of-type(4) { order: 2;}
    .typeScoreList:nth-of-type(5) { order: 5;}
    .typeScoreList:nth-of-type(6) { order: 8;}
    .typeScoreList:nth-of-type(7) { order: 3;}
    .typeScoreList:nth-of-type(8) { order: 6;}
    .typeScoreList:nth-of-type(9) { order: 9;}
}

@media screen and (min-width: 801px)  and (max-width: 1366px){
    .typeScoreList:nth-of-type(1) { order: 1;}
    .typeScoreList:nth-of-type(2) { order: 3;}
    .typeScoreList:nth-of-type(3) { order: 5;}
    .typeScoreList:nth-of-type(4) { order: 7;}
    .typeScoreList:nth-of-type(5) { order: 9;}
    .typeScoreList:nth-of-type(6) { order: 2;}
    .typeScoreList:nth-of-type(7) { order: 4;}
    .typeScoreList:nth-of-type(8) { order: 6;}
    .typeScoreList:nth-of-type(9) { order: 8;}
}



.scoreButtonList li label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scoreButtonList li input[type="radio"]:hover + label::before {
    opacity: 1;
}
.scoreButtonList li input[type="radio"]:focus-visible + label::before {
    outline: 3px solid #00f;
}
.scoreButtonList li input[type="radio"] + label::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: #666;
    opacity: 0.4;
    transition: all 0.2s ease;
}
.scoreButtonList li input[type="radio"]:checked + label::before {
    opacity: 1;
}

.scoreButtonList span[id^=checkScorePoint_] {
    display: inline-block;
    width:24px;
    text-align: center;
    font-family: var(--design-font);
    font-size: 30px;
}

.scoreButtonList li.checked_color input[type="radio"] + label::before {
    content: "";
    opacity: 1;
}





/*=========================================================
  9タイプ概要
===========================================================*/
#allTypeOverview_container {
    margin-bottom: var(--int4);
}

#allTypeOverview_container ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-self: stretch;
}

@media screen and (max-width: 1366px) {
    #allTypeOverview_container ul {
        width: var(--def-width);
        margin: 0 auto;
    }
}

#allTypeOverview_container ul li {
    width: calc(100% / 2 - 20px);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: var(--int3);
}

#allTypeOverview_container ul li figure {
    width: 40%;
}

#allTypeOverview_container ul li section {
    width: calc(60% - 10px);
}

#allTypeOverview_container ul li section > .typeName {
    display: flex;
    justify-content: left;
    align-items: center;
    border-bottom: solid 1px var(--black);
}

#allTypeOverview_container ul li section > .typeName h4,
#allTypeOverview_container ul li section > .typeName p,
#allTypeOverview_container ul li section > p:first-of-type {
    font-family: var(--design-font);
}
#allTypeOverview_container ul li section > .typeName h4 {
    font-size: 48px;
    line-height: 52px;
}
#allTypeOverview_container ul li section > .typeName > p {
    font-size: 24px;
    padding-left: 10px;
}
#allTypeOverview_container ul li section > p:first-of-type {
    font-size: 26px;
    opacity: .5;
    margin-bottom: 4px;
}

/* 根源的 */
#allTypeOverview_container ul li section dl {
    margin-bottom: var(--int1);
}

#allTypeOverview_container ul li section dl div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#allTypeOverview_container ul li section dl dt {
    background: var(--black);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 10px;
}

#allTypeOverview_container ul li section dl dt,
#allTypeOverview_container ul li section dl dd {
    margin-bottom: 6px;
}

#allTypeOverview_container ul li section dl dt::after {
}

/* 本文 */
#allTypeOverview_container ul li section > .typeText_L {
    margin-bottom: var(--int2);
}


/* リンク */
#allTypeOverview_container ul li section > p:last-of-type {
    max-width: 260px;
    width: 100%;
    margin: 0 0 auto;
}
/*
#allTypeOverview_container ul li section > p:last-of-type a {
    width: fit-content;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    border: solid 2px var(--black);
    background-color: var(--white);
    padding: 6px 18px;
    border-radius: 50em;
}
#allTypeOverview_container ul li section > p:last-of-type a::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: auto;
    background-image: url('../img/lineArrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position:center;
    margin-left: 10px;
}
*/

#allTypeOverview_container ul li section > p:last-of-type a:hover::after,
#allTypeOverview_container ul li section > p:last-of-type a:active::after {
    filter: brightness(0) invert(1); /* 画像を白くする */
}

#allTypeOverview_container ul li section > p:last-of-type a:hover {
    opacity: 1;
    background-color: var(--black);
    color: var(--white);
}



@media screen and (max-width: 1080px) and (min-width: 601px) {
    #allTypeOverview_container ul li {
        max-width: 280px;
        display: block;
    }

    #allTypeOverview_container ul li figure {
        width: var(--max-width);
        max-width: 260px;
        margin: 0 auto;
    }

    #allTypeOverview_container ul li section {
        width: var(--max-width);
    }

    #allTypeOverview_container ul li section > .typeName {
        justify-content: center;
    }


    #allTypeOverview_container ul li section > p:first-of-type {
        text-align: center;
    }

    #allTypeOverview_container ul li section > p:first-of-type::before {
        content:'[';
        padding-right: 10px;
    }
    #allTypeOverview_container ul li section > p:first-of-type::after {
        content:']';
        padding-left: 10px;
    }

    /* 根源的 */
    #allTypeOverview_container ul li section dl div {
        display: block;
        border-bottom: solid 1px #aaa;
    }

    #allTypeOverview_container ul li section dl dt {
        width: 100%;
    }

    #allTypeOverview_container ul li section dl dd {
        margin-bottom: 10px;
    }

    #allTypeOverview_container ul li section dl dt,
    #allTypeOverview_container ul li section dl dd,
    #allTypeOverview_container ul li p:last-of-type {
        text-align: center;
    }

    /* 本文 */



    /* リンク */
}



/* スマホレイアウト */
@media screen and (max-width: 600px) {
    #allTypeOverview_container ul {
        width: var(--max-width);
        display: block;
    }

    #allTypeOverview_container ul li {
        width: var(--def-width);
        margin: 0 auto var(--int2);
        padding-bottom: var(--int2);
        box-shadow: 0px 5px 8px -5px rgb(0 0 0 / 10%);
        align-items: center;
        background-color: var(--white);
        padding: 20px;
        border-radius: 2em;
    }

    #allTypeOverview_container ul li section > p:first-of-type {
        margin-bottom: calc(var(--int1) / 2);
    }

    #allTypeOverview_container ul li ._topSubMenu._pc_off {
        display: flex;
    display: -webkit-flex;
        justify-content: space-between;
        margin-top: var(--int1);
        width: 100%;
    }

    #allTypeOverview_container ul li ._topSubMenu._pc_off .typeText_L {
        display: flex;
    display: -webkit-flex;
        align-items: center;
    }

    #allTypeOverview_container ul li ._topSubMenu._pc_off > p:last-of-type {
        min-width: max-content;
        margin-left: var(--int1);
    }

    #allTypeOverview_container ul li ._topSubMenu._pc_off > p:last-of-type a:hover::after,
    #allTypeOverview_container ul li ._topSubMenu._pc_off > p:last-of-type a:active::after {
        filter: brightness(0) invert(1); /* 画像を白くする */
    }

    #allTypeOverview_container ul li ._topSubMenu._pc_off > p:last-of-type a:hover {
        opacity: 1;
        background-color: var(--black);
        color: var(--white);
    }

    #allTypeOverview_container ul li figure {
        width: 40%;
    }

    #allTypeOverview_container ul li figure img {
        transform: scale(1.1);
    }

    #allTypeOverview_container ul li section {
        width: calc(60% - 10px);
    }

    #allTypeOverview_container ul li section > .typeName h4 {
        font-size: 50px;
        line-height: 40px;
    }

    #allTypeOverview_container ul li section > p:last-of-type > a {
        margin-left: auto;
    }

    #allTypeOverview_container ul li section dl div {
        display: block;
    }

    #allTypeOverview_container ul li section dl dt {
        width: max-content;
        margin-bottom: 2px;
    }

    #allTypeOverview_container ul li section dl dd {
        margin-bottom: 6px;
    }


    #allTypeOverview_container ul li section dl dt,
    #allTypeOverview_container ul li section dl dd,
    #allTypeOverview_container ul li section .typeText_L > p {
        font-size: 16px;
    }

    /* リンク */
    #allTypeOverview_container ul li section > p:last-of-type a {
        font-size: 16px;
    }
}


/* スマホレイアウト */
@media screen and (max-width: 530px) {
    #allTypeOverview_container ul li section > .typeName > p {
        display: none;
    }
}




/* ------------------------------------
        診断スタート・モーダル内
--------------------------------------*/
.modal_box ._flameW > button {
    margin-bottom: var(--int2);
}

/* ↓要素変わる可能性あり */
.modal_box ._flameW > p {
    margin-bottom: var(--int2);
}

.estimated {
    margin: 40px auto 20px;
}

.estimated figure {
    max-width: 40px;
    margin: 0 auto 10px;
}

.estimated p {
    text-align: center;
}

.estimated p span {
    font-size: .5em;
    align-items: center;
}



/* ------------------------------------
        シェアボタン
--------------------------------------*/
.shareButton_container {
    margin-bottom: var(--int4);
}



/* ------------------------------------
        魔法陣
--------------------------------------*/
.magicCircle {
    width: 70vw;
    max-width: 880px;
    min-width: 500px;
    left: 80%;
    top: 55%;
    transform: translateX(-50%)
             translateY(-50%);

}

/* スマホ表示 */
@media screen and (max-width: 600px) {
    .magicCircle {
        width: 420px;
        max-width: none;
        min-width: 0;
        left: 40%;
        top: 68%;
        transform: translateX(-50%)
                 translateY(-50%);
    }
}
