/* haircare-check */
#haircare-check {
    min-height: 70vh;
}

/*PR注意文 style.css*/
.pr-attention {
    width: auto;
    max-width: 1256px;
    margin: 20px auto 0 auto !important;
    padding: 0 30px !important;
}

.pr-attention-product {
    width: auto;
    max-width: 1256px;
    padding-bottom: 10px;
    font-size: 12px;
    background-color: #FDF6F0;
}

/* product */
.product {
    padding-top: 60px;
}

.product-content.is-show {
    display: block;
}

.product-content__links>ul li>a {
    padding-right: 24px;
    padding-left: 24px;
}

/* section */
.section--question {
    display: none;
    margin-top: 60px;
}

.section-ttl--diagnosis {
    margin-bottom: 20px !important;
}

.section-ttl--check {
    margin-bottom: 20px !important;
}

.search-content--diagnosis {
    max-width: 856px;
    margin: auto;
    padding: 0;
    border: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

/* diagnosis */
.diagnosis-txt {
    line-height: 27px;
}

.diagnose-list-item {
    position: relative;
    max-width: 736px;
    margin: auto;
    border: 4px solid #FFE9DB;
    border-radius: 20px;
    padding: 0 60px;
}

.diagnose-list-item:nth-of-type(n + 2) {
    margin-top: 50px;
}

.diagnose-title {
    position: absolute;
    content: "";
    top: -21px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Courgette", cursive;
    font-size: 60px;
    font-weight: 400;
    color: #FB927A;
    font-style: normal;
}

.diagnose-wrapper {
    margin: 70px 0 40px 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.diagnose-wrapper>h2 {
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
}

.diagnose-wrapper>h2>span {
    display: block;
    font-size: 15px;
    color: #FB927A;
}

.diagnose-wrapper>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.diagnose-wrapper>ul>li {
    width: calc(100% / 3 - 14px);
    min-height: 52px;
}

.diagnose-num {
    position: relative;
    right: -25px;
    bottom: -10px;
    text-align: right;
    font-size: 15px;
}

/* scruboo-banner */
.scruboo-banner-txt {
    line-height: 27px;
}

.scruboo-txt {
    font-size: 30px;
}

.description-container {
    display: flex;
    align-items: flex-end;
}

.scruboo-margin {
    margin-left: 7px;
}

.img-pc {
    display: block;
}

.img-sp {
    display: none;
}

.link-width {
    width: 140px;
}

.allow {
    display: flex;
    padding-top: 35px;
}

.allow::after {
    content: '';
    width: 200px;
    height: 10px;
    border-bottom: solid 2px;
    border-right: solid 2px;
    transform: skew(45deg);
    border-color: #595959;
}

.allow-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 140px;
}

.allow-container:hover .text {
    text-decoration: underline !important;
}

.allow-container .text {
    position: absolute;
    top: 90%;
    left: 65%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

/* choice-link */
.choice-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
    padding: 10px 15px;
    text-decoration: none;
    width: 100%;
    height: 100%;
    transition: color 150ms;
    z-index: 1;
    cursor: pointer;
    box-sizing: border-box;
    z-index: 1;
}

.choice-link span {
    display: block;
    line-height: 1.3;
}

.choice-link span::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #FFF2EA;
    border: 2px solid #FB927A;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: -1;
}

.choice-link input {
    display: none;
}

.choice-link input:checked+span {
    color: #fff;
}

.choice-link input:checked+span::after {
    background-color: #FB927A;
}

/* button */
.diagnose-buttons {
    margin-top: 30px;
}

.diagnose-buttons>button {
    display: inline-block;
    text-decoration: none;
    color: #8A8A8A;
    font-size: 18px;
    font-weight: bold;
    border-radius: 33px;
    background-color: #D5D5D5;
    padding: 18px;
    min-width: 167px;
    min-height: 66px;
    border: 2px solid #D5D5D5;
    transition: background-color, color 150ms;
    pointer-events: none;
}

.diagnose-buttons>button.is-active {
    color: #FFF;
    background-color: #FB927A;
    border-color: #FB927A;
    pointer-events: auto;
}

/* result */
.result-inner {
    text-align: center;
}

.result-title {
    position: relative;
    display: inline-block;
    background-color: #FFE9DB;
    border-radius: 4px;
    white-space: nowrap;
    padding: 48px 50px;
    min-width: 62%;
    font-size: 20px;
}

.result-title::before {
    position: absolute;
    content: "";
    top: -13px;
    left: -3%;
    width: 60px;
    height: 50px;
    background: url(../images/decoration_title1.png) 0 0 no-repeat;
    background-size: 100% auto;
}

.result-title::after {
    position: absolute;
    content: "";
    bottom: -19px;
    left: 92%;
    width: 81px;
    height: 58px;
    background: url(../images/decoration_title2.png) 0 0 no-repeat;
    background-size: 100% auto;
}

.result-title h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 33px;
    letter-spacing: .01em;
}

.result-title h2>span {
    display: block;
    font-size: 28px;
}

.result-image {
    width: 440px;
    box-sizing: border-box;
    text-align: right;
}

.result-image>img {
    max-width: 100%;
    height: auto;
}

.result-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 67px;
}

.result-content__hair {
    border: 4px solid #FFE9DB;
    border-radius: 20px;
    width: calc(100% - 440px - 10.0308642%);
    padding: 20px 35px;
    margin-left: 10.0308642%;
    box-sizing: border-box;
}

.result-content__hair>p {
    text-align: left;
    line-height: 1.9;
    text-align: justify;
}

.result-content__hair>p:nth-of-type(n + 2) {
    margin-top: 32px;
}

.result-content__hair>p>strong {
    background: linear-gradient(transparent 60%, rgba(251, 146, 122, 0.3) 60%);
}

.result-care {
    display: flex;
    text-align: left;
    margin-top: 45px;
}

.result-care>h3 {
    width: 247px;
}

.result-care-scruboo {
    display: flex;
    text-align: left;
    margin-top: 45px;
}

.result-care-scruboo>h3 {
    width: 247px;
}

.result-care__content {
    width: calc(100% - 247px);
    padding-left: 5.3343949%;
    box-sizing: border-box;
}

.result-care__content>p {
    line-height: 1.7;
}

.result-datas {
    position: relative;
    padding-top: 90px;
}

.result-care__container {
    width: calc(100% - 247px);
    padding-top: 18px;
    margin-left: 5.3343949%;
    box-sizing: border-box;
    padding: 8px;
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
}

.background-green {
    background-color: #bfbb4f;
}

.background-yellow {
    background-color: #f2c54e;
}

.background-red {
    background-color: #f38a7f;
}

.scruboo-element1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
}

.scruboo-image-container {
    display: flex;
}

.img-layout {
    padding-top: 16px;
    padding-right: 24px;
    margin-left: 24px;
}

.scruboo-text-container {
    margin-left: 24px;
}

.scruboo-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFF;
}

.scruboo-subtitle {
    margin-top: 12px;
    color: #FFF;
}

/* moreover-button */
.moreover-button--result {
    bottom: 50px;
}

/* fonts */
.font-orange {
    font-weight: bold;
    color: #FB927A;
}

/* product-content */
.product-content--result {
    position: relative;
    display: none;
    padding-bottom: 90px;
    margin-top: 0;
    margin-bottom: 0;
}

.product-content--result .product-content__heading {
    padding-top: 0;
}

.product-content__heading {
    font-size: 32px;
    text-align: center;
    padding: 60px 0 40px 0;
    color: #FB927A;
}

.product-content__heading>span {
    color: #333333;
    font-size: 24px;
    font-weight: bold;
    padding: 0px 25px;
}

.product-explanation__content--result {
    justify-content: end !important;
    margin-top: 20px;
}

.product-explanation__note {
    max-width: 1136px;
    padding-right: 0;
    padding-bottom: 25px;
    padding-left: 0;
    line-height: 1.3;
    margin: 7px auto 0;
}

/* font-orange */
.product-content__heading--deco>span {
    position: relative;
    padding: 0px 45px;
}

.product-content__heading--deco>span::before,
.product-content__heading--deco>span::after {
    position: absolute;
    content: "";
    top: 0;
    width: 7px;
    height: 100%;
    color: #333333;
    border-top: #FB927A solid 3px;
    border-bottom: #FB927A solid 3px;
    box-sizing: border-box;
}

.product-content__heading--deco>span::before {
    border-left: #FB927A solid 3px;
    left: 0;
}

.product-content__heading--deco>span::after {
    border-right: #FB927A solid 3px;
    right: 0;
}

/* button-start */
.button-start {
    margin-top: 30px;
    text-align: center;
}

.button-start>button {
    text-align: center;
    text-decoration: none;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    border-radius: 33px;
    background-color: #FB927A;
    padding: 18px;
    border: 2px solid #FB927A;
    margin: 0 auto;
    width: 280px;
    box-sizing: border-box;
    transition: background-color, color 150ms;
}

/* button-submit */
.button-submit {
    margin-top: 60px;
    text-align: center;
    display: block;
}

.button-submit.is-hidden {
    display: none;
}

.button-submit>a+p {
    display: none;
    color: #FB927A;
    margin-top: 10px;
    font-size: 15px;
}

.button-submit>a.is-disabled+p {
    display: block;
}

.button-submit>button,
.button-submit>a {
    text-align: center;
    text-decoration: none;
    display: inline-block;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    border-radius: 33px;
    background-color: #FB927A;
    padding: 18px;
    border: 2px solid #FB927A;
    margin: 0 auto;
    width: 282px;
    box-sizing: border-box;
    transition: background-color, color 150ms;
}

.button-submit>a.is-disabled {
    color: #8A8A8A;
    background-color: #D5D5D5;
    border-color: #D5D5D5;
    pointer-events: none;
}

/* cart-wrap */
.cart-wrap {
    position: relative;
    width: 100%;
    height: 265px;
}

.cart-wrap canvas {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    margin: 0 auto;
    transform: translateX(-50%);
}

.description_01 {
    font-size: 12px;
    text-align: center;
    padding-top: 12px;
}

.sp {
    display: none;
}

.scruboo-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 1024px) {

    /* result */
    .result-image {
        width: 200px;
        padding-left: 5%;
    }

    .result-content__hair {
        width: calc(100% - 200px - 5%);
        margin-left: 5%;
    }

    .result-care {
        display: block;
        margin-top: 60px;
    }

    .result-care>h3 {
        margin-right: auto;
        margin-left: auto;
    }

    .description-container {
        display: initial;
    }

    .scruboo-margin {
        margin-left: 65px;
    }

    .result-care-scruboo {
        display: block;
        margin-top: 60px;
    }

    .result-care-scruboo>h3 {
        margin-right: auto;
        margin-left: auto;
    }

    .result-care__container {
        width: 100%;
        flex-direction: column;
        margin-left: 0%;
    }

    .scruboo-element2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .img-pc {
        display: none;
    }

    .img-sp {
        display: block;
    }

    .result-care__content {
        width: 100%;
        padding-left: 0;
    }

    .result-datas .product-content__slider {
        text-align: center;
    }

    .result-datas .product-content__slider .swiper-slide img {
        max-height: 250px;
    }
}

@media screen and (min-width: 768px) {

    /* button-start */
    /* button-submit */
    .button-start>button:hover,
    .button-submit>a:hover {
        color: #FB927A;
        background-color: transparent;
    }

    /* choice-link */
    .choice-link input:not(:disabled):hover+span {
        color: #fff;
    }

    .choice-link input:not(:disabled):hover+span::after {
        background-color: #FB927A;
    }
}

@media screen and (max-width: 767px) {

    /* section */
    .section--question {
        margin-top: 80px;
    }

    /* product-slider */
    .product-slider {
        width: calc(100% + 43px);
    }

    /* button-start */
    .button-start>button {
        padding: 15px;
        max-width: 220px;
        width: 100%;
        box-sizing: border-box;
        font-size: 15px;
    }

    /* button-submit */
    .button-submit {
        margin-top: 40px;
    }

    .button-submit>button,
    .button-submit>a {
        font-size: 15px;
        width: 240px;
    }

    /* question */
    .diagnose-wrapper {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .diagnose-wrapper>h2 {
        font-size: 15px;
    }

    .diagnose-wrapper>ul {
        gap: 10px;
    }

    .diagnose-wrapper>ul>li {
        width: calc(50% - 5px);
        min-height: 45px;
    }

    .diagnose-num {
        margin-top: 5px;
        right: 0;
        bottom: 0;
        font-size: 11px;
    }

    .diagnose-list-item {
        padding: 0px 20px;
    }

    .diagnose-list-item:nth-of-type(n + 2) {
        margin-top: 35px;
    }

    .diagnose-title {
        font-size: 40px;
    }

    .diagnose-list-item>ul {
        gap: 10px;
    }

    .diagnose-list-item>ul>li {
        width: calc(50% - 5px);
        min-height: 52px;
    }

    .choice-link span {
        font-size: 12px;
    }

    .diagnose-buttons {
        margin-top: 20px;
    }

    .diagnose-buttons>button {
        font-size: 16px;
        padding: 10px;
        min-width: 167px;
        min-height: 55px;
    }

    .image-try__sp {
        width: 130px;
        margin: 20px auto 0;
    }

    .scruboo-banner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .scruboo-banner-image__sp {
        width: 300px;
        margin: 20px auto 0;
    }

    .scruboo-banner-txt {
        line-height: 20px;
        font-size: 80%;
    }

    .scruboo-txt {
        font-size: 25px;
    }

    .text-align-left {
        text-align: left;
    }

    /* result */
    .result-title {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        min-width: 72%;
        width: calc(100% - 33%);
        padding: 10px 0;
    }

    .result-title::before {
        width: 30px;
        height: 25px;
    }

    .result-title::after {
        width: 40px;
        height: 29px;
        bottom: -12px;
    }

    .result-text {
        flex-direction: column;
        gap: 10px;
        padding-top: 0;
    }

    .result-image {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .result-image>img {
        max-width: 60%;
    }

    .result-text__hair {
        margin: 0;
    }

    .result-content__hair {
        width: 100%;
        margin-top: 25px;
        margin-left: 0;
        border-width: 3px;
        padding: 14px 15px;
    }

    .result-content__hair>p {
        font-size: 12px;
        line-height: 1.7;
    }

    .result-content__hair>p:nth-of-type(n + 2) {
        margin-top: 17px;
    }

    .result-care {
        display: block;
        margin: 30px auto 0;
    }

    .result-care>h3 {
        text-align: center;
        font-size: 16px;
        padding: 0;
    }

    .result-care-scruboo {
        display: block;
        margin: 30px auto 0;
    }

    .result-care-scruboo>h3 {
        text-align: center;
        font-size: 16px;
        padding-bottom: 20px;
    }

    .scruboo-title {
        font-size: 15px;
        font-weight: bold;
        color: #FFF;
    }

    .scruboo-subtitle {
        font-size: 12px;
        margin-top: 12px;
        color: #FFF;
        line-height: 1.5;
    }

    .allow::after {
        width: 250px;
    }

    .allow-container {
        margin-left: 60px;
        margin-bottom: 32px;
        margin-top: 10px;
    }

    .allow-container .text {
        top: 102%;
        left: 77%;
    }

    .result-care__content {
        padding: 0 10px;
    }

    .result-care__content>p {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.7;
    }

    .result-title h2 {
        font-size: 12px;
        gap: 0 12px;
    }

    .result-title h2>span {
        font-size: 16px;
    }

    .result-content {
        display: block;
        margin-top: 30px;
        margin: 30px auto 0;
    }

    /* font-orange */
    .font-orange {
        font-size: 20px;
        padding: 3px 6px;
    }

    .font-orange>span {
        white-space: normal;
    }

    .button-start>button {
        font-size: 15px;
    }

    /* product-content */
    .product-content__heading {
        font-size: 22px !important;
        padding: 50px 0 30px 0;
    }

    .product-content__heading>span {
        font-size: 16px;
        padding: 0px 10px;
    }

    .product-content__heading--deco>span {
        padding: 0px 30px;
    }

    /* product-explanation */
    .product-explanation__note {
        text-align: left;
        padding-bottom: 20px;
    }

    /* cart-wrap */
    .cart-wrap {
        width: 100%;
        height: 53.12500vw;
    }

    /* result-datas */
    .result-datas {
        padding-top: 55px;
    }

    /* product-content */
    .product-content--result {
        padding-bottom: 55px;
    }

    .moreover-button--result {
        bottom: 25px;
    }

    .description_01 {
        text-align: left;
    }

    .sp {
        display: block;
    }
}

.font-bold {
    font-weight: bold;
}

/* diagnosis-balloon */
.diagnosis-balloon {
    position: relative;
    border: 2px solid #FB927A;
    background-color: #FFF;
    border-radius: 50%;
    padding: 35px 20px 45px;
    margin-top: 30px;
    z-index: 1;
}

.diagnosis-balloon::before,
.diagnosis-balloon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-style: solid;
    z-index: 0;
}

.diagnosis-balloon::before {
    right: -16px;
    border-width: 10px 0 10px 17px;
    border-color: transparent transparent transparent #FB927A;
}

.diagnosis-balloon::after {
    right: -11px;
    border-width: 8px 0 8px 13.9px;
    border-color: transparent transparent transparent #FFF;
}

@media screen and (max-width: 767px) {
    .diagnosis-balloon {
        font-size: 12px;
        display: inline-block;
        margin-bottom: 10px;
        padding: 20px 30px 30px;
    }

    .diagnosis-balloon::before,
    .diagnosis-balloon::after {
        top: auto;
        left: 50%;
        transform: translate3d(-50%, 0, 0);
    }

    .diagnosis-balloon::before {
        right: auto;
        bottom: -17px;
        border-width: 17.3px 10px 0 10px;
        border-color: #FB927A transparent transparent transparent;
    }

    .diagnosis-balloon::after {
        right: auto;
        bottom: -13px;
        border-width: 14.9px 8px 0 8px;
        border-color: #FFF transparent transparent transparent;
    }

    .diagnosis-balloon ol li {
        line-height: 1.3;
    }
}

/* loading-button */
.loading-button {
    position: relative;
    padding-right: 35px;
    display: none;
}

.button-submit-text {
    display: block;
}

.button-submit>a.is-load .button-submit-text {
    display: none;
}

.button-submit>a.is-load .loading-button {
    display: inline-block;
}

.button-submit>a.is-load {
    color: #FB927A;
    background-color: transparent;
}

/* loading-dots */
.loading-dots,
.loading-dots::before,
.loading-dots::after {
    border-radius: 50%;
    width: 5px;
    height: 5px;
    background-color: #FB927A;
    transform-origin: center center;
    display: block;
}

.loading-dots {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    opacity: 1;
    -webkit-animation: spScaleAlpha 1s infinite linear;
    animation: spScaleAlpha 1s infinite linear;
}

.loading-dots::before,
.loading-dots::after {
    content: '';
    position: absolute;
    top: 0;
    opacity: 0.25;
}

.loading-dots::before {
    left: 15px;
    -webkit-animation: spScaleAlphaBefore 1s infinite linear;
    animation: spScaleAlphaBefore 1s infinite linear;
}

.loading-dots::after {
    left: -15px;
    -webkit-animation: spScaleAlphaAfter 1s infinite linear;
    animation: spScaleAlphaAfter 1s infinite linear;
}

@-webkit-keyframes spScaleAlpha {
    0% {
        opacity: 1;
    }

    33% {
        opacity: 0.25;
    }

    66% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}

@keyframes spScaleAlpha {
    0% {
        opacity: 1;
    }

    33% {
        opacity: 0.25;
    }

    66% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes spScaleAlphaBefore {
    0% {
        opacity: 0.25;
    }

    33% {
        opacity: 1;
    }

    66% {
        opacity: 0.25;
    }
}

@keyframes spScaleAlphaBefore {
    0% {
        opacity: 0.25;
    }

    33% {
        opacity: 1;
    }

    66% {
        opacity: 0.25;
    }
}

@-webkit-keyframes spScaleAlphaAfter {
    33% {
        opacity: 0.25;
    }

    66% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}

@keyframes spScaleAlphaAfter {
    33% {
        opacity: 0.25;
    }

    66% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}

#header-container-in .wrap {
    width: 1296px;
    max-width: 100%;
}

@media screen and (max-width: 1322px) {
    #header-container-in .wrap {
        width: auto;
    }
}

#footer .wrap {
    width: 1296px;
    max-width: 100%;
}

@media screen and (max-width: 1322px) {
    #footer .wrap {
        width: auto;
    }
}