/* --------------------
 EC-CUBE advice
-------------------- */
.advice__hero {
    align-items: center;
    background-image: url(../../images/pages/eccube/advice/advice-hero.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 1;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .advice__hero {
        background-image: url(../../images/pages/eccube/advice/advice-hero@2x.jpg);
    }
}

@media (min-width: 768px) {
    .advice__hero {
        height: 335px;
    }
}

.advice__hero-container {
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-direction: column;
        flex-direction: column;
    flex-grow: 1;
    -ms-flex-negative: 1;
    -ms-flex-pack: center;
    -ms-flex-positive: 1;
    flex-shrink: 1;
    height: auto;
    justify-content: center;
    margin: 0 auto;
    padding: 50px 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .advice__hero-container {
        padding: 0 30px;
    }
}

.advice__hero__title {
    color: #000000;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    margin: 0 0 15px;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .advice__hero__title {
        font-size: 3.2rem;
    }
}

.advice__hero__content p {
    color: #000000;
    font-size: 1.4rem;
    letter-spacing: .1em;
    line-height: 2.2;
    margin: 0;
    text-align: center;
    width: 100%;
}

.advice__overview {
    padding: 40px 0 60px;
}

@media (min-width: 768px) {
    .advice__overview {
        padding-bottom: 80px;
        /* padding-top: 80px; */
    }
}

@media (min-width: 992px) {
    .advice__overview {
        padding-bottom: 110px;
        /* padding-top: 110px; */
    }
}

.advice__overview-container {
    margin: 0;
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .advice__overview-container {
        margin-left: auto;
        margin-right: auto;
        max-width: 1260px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

.advice__overview__title {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.4;
    margin: 0 0 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .advice__overview__title {
        font-size: 2.6rem;
        /* letter-spacing: 1em; */
        margin-bottom: 40px;
    }
}

.advice__overview__title__text {
    display: inline-block;
    padding: 0 0 0 50px;
    position: relative;
}

@media (min-width: 992px) {
    .advice__overview__title__text {
        padding-left: 65px;
    }
}

.advice__overview__title__text:before {
    background-image: url(../../images/commons/com-title-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    content: '';
    display: block;
    height: 30px;
    left: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 30px;
}

@media (min-width: 992px) {
    .advice__overview__title__text:before {
        background-size: 45px 45px;
        height: 45px;
        width: 45px;
    }
}

.advice__overview__flex {
    align-items: stretch;
    -webkit-box-align: stretch;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
    -ms-flex-pack: stretch;
    gap: 30px 0;
    justify-content: stretch;
    margin: 0 0 60px;
}

@media (min-width: 768px) {
    .advice__overview__flex {
        align-items: center;
        -webkit-box-align: center;
        -webkit-box-direction: normal;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: center;
        -ms-flex-align: center;
        -ms-flex-direction: row;
            flex-direction: row;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 90px;
    }
}

@media (min-width: 768px) {
    .advice__overview__flex__photo {
        width: 40%;
    }
}

.advice__overview__flex__photo-inner {
    margin: 0 auto;
    max-width: 400px;
    width: 70%;
}

@media (min-width: 768px) {
    .advice__overview__flex__photo-inner {
        width: 100%;
    }
}

.advice__overview__flex__main {
    padding: 0;
}

@media (min-width: 768px) {
    .advice__overview__flex__main {
        padding-left: 40px;
        width: 60%;
    }
}

@media (min-width: 992px) {
    .advice__overview__flex__main {
        padding-left: 60px;
    }
}

.advice__overview__flex__main__title {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.4;
    margin: 0 0 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .advice__overview__flex__main__title {
        font-size: 2.6rem;
        margin-bottom: 40px;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .advice__overview__flex__main__title {
        margin-left: -65px;
    }
}

.advice__overview__flex__main__title__text {
    display: inline-block;
    padding: 0 0 0 45px;
    position: relative;
}

@media (min-width: 992px) {
    .advice__overview__flex__main__title__text {
        padding-left: 65px;
    }
}

.advice__overview__flex__main__title__text:before {
    background-image: url(../../images/commons/com-title-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    content: '';
    display: block;
    height: 30px;
    left: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 30px;
}

@media (min-width: 992px) {
    .advice__overview__flex__main__title__text:before {
        background-size: 45px 45px;
        height: 45px;
        width: 45px;
    }
}

.advice__overview__flex__main__content p {
    font-size: 1.4rem;
    letter-spacing: .1em;
    line-height: 2.3;
    margin: 0 0 1.5em;
}

@media (min-width: 768px) {
    .advice__overview__flex__main__content p {
        font-size: 1.6rem;
    }
}

.advice__overview__flex__main__content p:last-child {
    margin-bottom: 0;
}

.advice__overview__list {
    align-items: stretch;
    -webkit-box-align: stretch;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
    -ms-flex-pack: stretch;
    gap: 60px 30px;
    justify-content: stretch;
    margin: 0 auto;
    max-width: 1000px;
}

@media (min-width: 768px) {
    .advice__overview__list {
        -webkit-box-direction: normal;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: justify;
        -ms-flex-direction: row;
            flex-direction: row;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

.advice__overview__list__item {
    margin: 0;
}

@media (min-width: 768px) {
    .advice__overview__list__item {
        margin-left: 0;
        margin-right: 0;
        max-width: 292px;
        width: calc(666.66667%*1px);
    }
}

.advice__overview__list__item__fig {
    margin: 0 auto 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .advice__overview__list__item__fig {
        margin-bottom: 30px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .advice__overview__list__item__fig img {
        height: 320px;
        width: auto;
    }
}

.advice__overview__list__item__content {
    margin: 0 auto;
    max-width: 400px;
}

@media (min-width: 768px) {
    .advice__overview__list__item__content {
        margin-left: 0;
        margin-right: 0;
        max-width: 270px;
    }
}

.advice__overview__list__item__content p {
    font-size: 1.4rem;
    letter-spacing: .1em;
    line-height: 2.3;
    margin: 0 0 1.5em;
}

@media (min-width: 768px) {
    .advice__overview__list__item__content p {
        font-size: 1.6rem;
    }
}

.advice__overview__list__item__content p:last-child {
    margin-bottom: 0;
}

.advice__overview__list__item__content__ext {
    display: block;
    font-size: 1.4rem;
    letter-spacing: .1em;
    line-height: 2.3;
    margin: 0;
    text-align: right;
}

@media (min-width: 768px) {
    .advice__overview__list__item__content__ext {
        font-size: 1.6rem;
    }
}

@media (min-width: 768px) {
    .advice__overview__list__item:nth-child(2) .advice__overview__list__item__content {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .advice__overview__list__item:nth-child(3) .advice__overview__list__item__content {
        margin-left: auto;
    }
}

.advice__advisor {
    margin: 0 0 80px;
}

@media (min-width: 768px) {
    .advice__advisor {
        margin-bottom: 120px;
    }
}

.advice__advisor__head {
    background-color: #f5c800;
    margin: 0 0 100px;
    position: relative;
    text-align: center;
    width: 100%;
}

@media (min-width: 992px) {
    .advice__advisor__head {
        margin-bottom: 120px;
    }
}

.advice__advisor__head:after {
    background-color: #f5c800;
    bottom: -35px;
    -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
            clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    display: block;
    height: 40px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: auto;
    width: 80px;
}

@media (min-width: 768px) {
    .advice__advisor__head:after {
        bottom: -45px;
        height: 50px;
        width: 100px;
    }
}

@media (min-width: 992px) {
    .advice__advisor__head:after {
        bottom: -60px;
        height: 65px;
        width: 130px;
    }
}

.advice__advisor__head-container {
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
    -ms-flex-pack: stretch;
    height: auto;
    justify-content: stretch;
    margin: 0;
    margin: 0 auto;
    padding: 20px 15px;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .advice__advisor__head-container {
        height: 250px;
        max-width: 1060px;
        padding: 0 30px;
    }
}

@media (min-width: 992px) {
    .advice__advisor__head-container {
        height: 270px;
    }
}

.advice__advisor__head-container:after {
    background-image: url(../../images/pages/eccube/advice/advice-advisor-title-mascot.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 65px 72px;
    bottom: -45px;
    content: '';
    display: block;
    height: 72px;
    position: absolute;
    right: 0;
    width: 65px;
}

@media (min-width: 768px) {
    .advice__advisor__head-container:after {
        background-size: 100px 110.76923px;
        bottom: -30px;
        height: 111px;
        width: 100px;
    }
}

@media (min-width: 992px) {
    .advice__advisor__head-container:after {
        background-size: 130px 144px;
        bottom: -60px;
        height: 144px;
        width: 130px;
    }
}

.advice__advisor__head__title {
    color: #3e3a39;
    display: block;
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 2.0;
    margin: 0;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .advice__advisor__head__title {
        font-size: 2.4rem;
        line-height: 2.3;
    }
}

@media (min-width: 992px) {
    .advice__advisor__head__title {
        font-size: 2.6rem;
    }
}

.advice__advisor-container {
    margin: 0;
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .advice__advisor-container {
        margin-left: auto;
        margin-right: auto;
        max-width: 1260px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

.advice__advisor__title {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.4;
    margin: 0 0 130px;
    text-align: center;
}

@media (min-width: 768px) {
    .advice__advisor__title {
        font-size: 2.6rem;
        margin-bottom: 150px;
    }
}

.advice__advisor__title__text {
    display: inline-block;
    padding: 0 0 0 45px;
    position: relative;
}

@media (min-width: 992px) {
    .advice__advisor__title__text {
        padding-left: 65px;
    }
}

.advice__advisor__title__text:before {
    background-image: url(../../images/commons/com-title-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    content: '';
    display: block;
    height: 30px;
    left: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 30px;
}

@media (min-width: 992px) {
    .advice__advisor__title__text:before {
        background-size: 45px 45px;
        height: 45px;
        width: 45px;
    }
}

.advice__advisor__list {
    align-items: stretch;
    -webkit-box-align: stretch;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: justify;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
    -ms-flex-pack: justify;
    gap: 140px 20px;
    justify-content: space-between;
    margin: 0 0 80px;
}

@media (min-width: 768px) {
    .advice__advisor__list {
        -webkit-box-direction: normal;
        -webkit-box-orient: horizontal;
        -ms-flex-direction: row;
            flex-direction: row;
    }
}

@media (min-width: 992px) {
    .advice__advisor__list {
        -webkit-column-gap: 30px;
           -moz-column-gap: 30px;
                column-gap: 30px;
        margin-bottom: 140px;
    }
}

.advice__advisor__list__item {
    color: #3e3a39;
    margin: 0;
    padding: 30px 20px;
    position: relative;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    width: 100%;
}

@media (min-width: 768px) {
    .advice__advisor__list__item {
        padding: 40px 20px;
        width: calc(33.33333% - 13.33333px);
    }
}

@media (min-width: 992px) {
    .advice__advisor__list__item {
        padding: 130px 30px 60px;
        width: calc(33.33333% - 20px);
    }
}

.advice__advisor__list__item:before {
    background-color: #f8eec0;
    bottom: 0;
    -webkit-clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
            clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    content: '';
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

@media (min-width: 992px) {
    .advice__advisor__list__item:before {
        -webkit-clip-path: polygon(45px 0, 100% 0, 100% calc(100% - 45px), calc(100% - 45px) 100%, 0 100%, 0 45px);
                clip-path: polygon(45px 0, 100% 0, 100% calc(100% - 45px), calc(100% - 45px) 100%, 0 100%, 0 45px);
    }
}

.advice__advisor__list__item-inner {
    margin: 0 auto;
    padding: 20px 0 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .advice__advisor__list__item-inner {
        max-width: 280px;
    }
}

.advice__advisor__list__item__icon {
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    -webkit-transform: translate(1%, -100%);
        -ms-transform: translate(1%, -100%);
            transform: translate(1%, -100%);
}

@media (min-width: 768px) {
    .advice__advisor__list__item__icon {
        -webkit-transform: translate(3%, -100%);
            -ms-transform: translate(3%, -100%);
                transform: translate(3%, -100%);
    }
}

@media (min-width: 992px) {
    .advice__advisor__list__item__icon {
        -webkit-transform: translate(5%, -100%);
            -ms-transform: translate(5%, -100%);
                transform: translate(5%, -100%);
    }
}

.advice__advisor__list__item__title {
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.6;
    margin: 0 0 20px;
    text-align: center;
}

@media (min-width: 992px) {
    .advice__advisor__list__item__title {
        font-size: 2.4rem;
    }
}

.advice__advisor__list__item__content p {
    font-size: 1.4rem;
    letter-spacing: .1em;
    line-height: 2.2;
    margin: 0;
}

@media (max-width: 991px) {
    .advice__advisor__list__item:nth-child(1) .advice__advisor__list__item__icon img {
        width: 110.5px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .advice__advisor__list__item:nth-child(1) .advice__advisor__list__item__icon img {
        width: 127.5px;
    }
}

@media (max-width: 991px) {
    .advice__advisor__list__item:nth-child(2) .advice__advisor__list__item__icon img {
        width: 97.5px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .advice__advisor__list__item:nth-child(2) .advice__advisor__list__item__icon img {
        width: 112.5px;
    }
}

@media (max-width: 991px) {
    .advice__advisor__list__item:nth-child(3) .advice__advisor__list__item__icon img {
        width: 97.5px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .advice__advisor__list__item:nth-child(3) .advice__advisor__list__item__icon img {
        width: 112.5px;
    }
}

.advice__advisor__action__button {
    align-items: center;
    background-color: #33a9ff;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    color: #ffdd00;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
    -ms-flex-pack: center;
    font-size: 1.8rem;
    font-weight: 700;
    gap: 0 10px;
    height: 50px;
    justify-content: center;
    letter-spacing: .1em;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 250px;
    position: relative;
    text-align: center;
    -webkit-transform: translateX(15px);
        -ms-transform: translateX(15px);
            transform: translateX(15px);
    -webkit-transition: color .2s cubic-bezier(.645, .045, .355, 1) 0s, background-color .2s cubic-bezier(.645, .045, .355, 1) 0s;
            transition: color .2s cubic-bezier(.645, .045, .355, 1) 0s, background-color .2s cubic-bezier(.645, .045, .355, 1) 0s;
    width: 100%;
}

@media (min-width: 768px) {
    .advice__advisor__action__button {
        font-size: 2.4rem;
        height: 60px;
        max-width: 400px;
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
    }
}

@media (min-width: 992px) {
    .advice__advisor__action__button {
        font-size: 3.0rem;
        height: 80px;
        max-width: 500px;
    }
}

.advice__advisor__action__button:before {
    background-image: url(../../images/pages/eccube/advice/advice-advisor-button-mascot.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60px 69.23077px;
    content: '';
    display: block;
    height: 70px;
    left: -65px;
    pointer-events: none;
    position: absolute;
    top: -20px;
    width: 60px;
}

@media (min-width: 768px) {
    .advice__advisor__action__button:before {
        background-size: 110px 126.92308px;
        height: 127px;
        left: -115px;
        top: -60px;
        width: 110px;
    }
}

@media (min-width: 992px) {
    .advice__advisor__action__button:before {
        background-size: 130px 150px;
        height: 150px;
        left: -135px;
        width: 130px;
    }
}

.advice__advisor__action__button span {
    display: block;
    padding: 0 25px 0 0;
    position: relative;
}

@media (min-width: 768px) {
    .advice__advisor__action__button span {
        padding-right: 50px;
    }
}

.advice__advisor__action__button span:before, .advice__advisor__action__button span:after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px 8px;
    bottom: 0;
    content: '';
    display: block;
    height: 8px;
    margin: auto 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: opacity .2s cubic-bezier(.645, .045, .355, 1) 0s;
            transition: opacity .2s cubic-bezier(.645, .045, .355, 1) 0s;
    width: 15px;
}

@media (min-width: 768px) {
    .advice__advisor__action__button span:before, .advice__advisor__action__button span:after {
        background-size: 30px 16px;
        height: 16px;
        top: 3px;
        width: 30px;
    }
}

.advice__advisor__action__button span:before {
    background-image: url(../../images/icons/icon-double-angle-right-yellow.svg);
}

.advice__advisor__action__button span:after {
    background-image: url(../../images/icons/icon-double-angle-right-lightblue.svg);
    opacity: 0;
}

.advice__advisor__action__button:hover {
    color: #33a9ff;
}

.advice__advisor__action__button:focus {
    background-color: #ffdd00;
    color: #33a9ff;
}

.advice__advisor__action__button:focus span:before {
    opacity: 0;
}

.advice__advisor__action__button:focus span:after {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .advice__advisor__action__button:hover {
        background-color: #ffdd00;
        color: #33a9ff;
    }
    .advice__advisor__action__button:hover span:before {
        opacity: 0;
    }
    .advice__advisor__action__button:hover span:after {
        opacity: 1;
    }
}
