@charset "UTF-8";

/*! under/common.css */

.content-box {
    padding-left: 5%;
    padding-right: 5%;
}

.box>*+* {
    margin-top: 4%;
}
.box + .box {
    margin-top: 7%;
}

.box__title {
    font-weight: 700;
    font-size: 1.5em;
    margin-bottom: 1em;
    line-height: 1.5;
    padding-bottom: .5em;
    border-bottom: .1em solid #62c8f0;
}

.box__subtitle {
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 1em;
    color: #4bbdea;
}
.box__subtitle--item {
    display: inline-block;
    margin-right: .2em;
    margin-bottom: .5em;
    padding: 0 .5em;
    background-color: #62c8f0;
    color: #FFF;
}

/*! text-box */
.text-box {
    font-size: 1.2em;
    font-weight: 500;
}

.text-box > *+* {
    margin-top: .5em;
}

/*! flex */
.flex {
    display: flex;
    justify-content: space-between;
}

.flex__item {
    width: 47%;
}

.flex__item--s {
    width: 25%;
}
.flex__item--l {
    width: 69%;
}


/*! page-title */
#page-title {
    background-color: #62c8f0;
    padding: 7% 5% 5% 0;
    color: #FFF;
    font-weight: 500;
}

.page-title__title {
    background-color: #FFF;
    padding: .3em 5%;
    color: #4bbdea;
    font-size: 1.8em;
    border-radius: 0 3em 3em 0;
    margin-bottom: .7em;
    font-weight: 700;
    line-height: 1.6;
}

.page-title__text {
    font-size: 1.5em;
    padding: 0 5%;
}

.page-title__current {
    font-weight: 700;
    font-size: 1.7em;
    padding: 0 5%;
}
.speech .page-title__current {
    font-size: 1.6em;
    padding: 0;
}

/*! page-content */
#page-content {
    padding: 7% 5%;
}

.text--lead {
    font-weight: 700;
    font-size: 1.7em;
    line-height: 1.7;
    text-align: justify;
}

/*! rbox */
.rbox__title {
    background-color: #62c8f0;
    padding: .4em 5%;
    color: #FFF;
    font-weight: 700;
    font-size: 1.5em;
    border-radius: 3em;
    position: relative;
}

.rbox__title-num {
    padding-left: 3em;
}

.rbox__title--num {
    display: inline-block;
    background-color: #FFF;
    color: #4bbdea;
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.05em;
    text-align: center;
    line-height: 2.1rem;
    border-radius: 50%;
    letter-spacing: 0;
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.rbox__title--label {
    background-color: #4C99CB;
    display: inline-block;
    font-size: .9em;
    padding: .1em .5em;
    border-radius: .2em;
    margin-right: .5em;
}

.rbox__content {
    border: .3em solid #62c8f0;
    border-top: 0;
    margin-top: -2rem;
    padding: 5%;
    padding-top: calc( 2rem + 5% );
    border-radius: 0 0 2rem 2rem;
    position: relative;
    font-size: 1.3em;
    font-weight: 500;
}
.rbox__content::before {
    content: "";
    display: block;
    width: 3rem;
    height: 3rem;
    border-right: .3em solid #62c8f0;
    border-bottom: .3em solid #62c8f0;
    background-color: #FFF;
    border-radius: 0 0 1rem 0;
    position: absolute;
    left: 50%;
    bottom: -1.75rem;
    transform: translateX(-50%) rotate(45deg);
}
.rbox__content>* {
    position: relative;
}

.rbox__title.align-center + .rbox__content {
    margin-top: -3rem;
    padding-top: calc( 3rem + 5% );
}

.rbox__content:last-of-type::before {
    display: none;
}

.rbox__content + dt.rbox__title {
    margin-top: 8%;
}

.rbox__item+.rbox__item {
    padding-top: 7%;
    border-top: .17em solid #62c8f0;
}

.rbox__subtitle {
    font-weight: 700;
    font-size: 1.3em;
    color: #4bbdea;
}

.rbox__text {
    text-align: justify;
}
.rbox__text span {
    font-weight: 700;
}

.rbox--red .rbox__title {
    background-color: #eb9378;
}

.rbox--red .rbox__title--num {
    color: #e68161;
}

.rbox--red .rbox__content {
    border-color: #eb9378;
}
.rbox--red .rbox__content::before {
    border-right-color: #eb9378;
    border-bottom-color: #eb9378;
}

.rbox--red .rbox__item+.rbox--red .rbox__item {
    border-top: .17em solid #eb9378;
}

.rbox--red .rbox__subtitle {
    color: #e68161;
}

/*! hadasaibou_comment */
.hadasaibou_comment {
    padding: .5em 0 .5em 3.3em;
    color: #4bbdea;
    background-image: url(/assets/images/common/icon-hadasaibou.svg);
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-size: 2.5em auto;
}

/*! next */
.next {
    margin-top: 10%;
}

.next__link {
    display: block;
    background-color: #62c8f0;
    border-radius: .5em;
    margin-right: 3rem;
    padding: 5% 2% 5% 5%;
    color: #FFF;
    font-weight: 500;
    font-size: 1.4em;
    position: relative;
}
.next__link::after{
    content: "";
    display: block;
    width: 3rem;
    height: 100%;
    position: absolute;
    right: -3rem;
    top: 0;
    background-image: url(/assets/images/common/bg_next.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% 100%;
}

.next__text {
    font-weight: 700;
    margin-bottom: 1em;
}

.next__button {
    background-color: #FFF;
    color: #4bbdea;
    padding: .5em 2em;
    text-align: center;
    border-radius: 3em;
    position: relative;
}
.next__button::before{
	content: "";
    display: block;
    width: .6em;
    height: .6em;
    border-top: .1em solid #4bbdea;
    border-right: .1em solid #4bbdea;
    position: absolute;
    right: 1.2em;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

/*! speech 肌細胞くんの吹き出し */
#page-title .speech {
    padding: 0 5%;
}

.speech {
    align-items: center;
}
.speech__icon {
    width: 12%;
}
.speech__texts {
    width: 83%;
}
.speech__texts>*+* {
    margin-top: 3%;
}

.speech__comment {
    position: relative;
    display: inline-block;
    text-align: justify;
    background-color: #ade5fb;
    padding: 2% 4% 3%;
    border-radius: .8em;
    font-weight: 700;
    color: #eb9379;
    font-size: 1.3rem;
    line-height: 1.5;
    text-shadow: 2px 2px 0 #FFF, -2px -2px 0 #FFF,
    -2px 2px 0 #FFF, 2px -2px 0 #FFF,
    0px 2px 0 #FFF,  0 -2px 0 #FFF,
    -2px 0 0 #FFF, 2px 0 0 #FFF;
}
.speech__comment::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: .4em solid transparent;
    border-right: .4em solid #ade5fb;
    border-top: .4em solid #ade5fb;
    position: absolute;
    left: -.7em;
    top: calc(50% - .4em);
    transform: rotateY('-50%');
}

/*! arrow-list */
.arrow-list__item+.arrow-list__item {
    margin-top: 15%;
    position: relative;
}
.arrow-list__item+.arrow-list__item::before {
    content: "";
    display: block;
    width: 2rem;
    height: 1.6rem;
    background-image: url(/assets/images/common/arrow_under.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center center;
    position: absolute;
    left: 50%;
    top: calc( -7% + -.8rem );
    transform: translate(-50%, -50%);
}

