@charset "utf-8";

.br-mb {
    display: none;
}

/*--  contents frame  --*/

.title-drstyle {
    background-color: #fff000;
    height: 120px;
    padding-top: 20px;
    margin-top: 60px;
}

.title-drstyle h2 {
    position: relative;
    font-size: 26px;
    text-align: center;
    background-color: #fff000;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.title-drstyle .title-bubble-pc {
    position: absolute;
    top: -90px;
    left: -140px;
}
.title-drstyle .title-bubble-sp {
    position: absolute;
    top: -90px;
    left: -140px;
	display:none;
}

@media screen and (max-width: 840px) {
    /*-- -- */
    .br-mb {
        display: inline;
    }
    .title-drstyle {
        height: 200px;
        padding-top: 25px;
    }
    .title-drstyle .title-bubble-pc {
        top: -90px;
        left: -130px;
    }
}

@media screen and (max-width: 600px) {
	.title-drstyle {
        height: 215px;
        padding-top: 40px;
	    margin-top: 100px;
	}
    .title-drstyle .title-bubble-pc {
		display:none;
    }
    .title-drstyle .title-bubble-sp {
		display:block;
        top: -100px;
        left: 0px;
    }
}


/*--------------------------------*/

.drstyle-before h2 {
    color: white;
    background-color: #1d2087;
    width: 90%;
    max-width: 1000px;
    margin: 60px auto 0px auto;
    text-align: center;
}

.drstyle-before .before-allow {
    margin: 0px auto 0px auto;
}

.before-boxes {
    display: flex;
    flex-wrap: nowrap;
    /*    justify-content: center;*/
    justify-content: space-around;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto 30px auto;
    padding-top: 20px;
    padding-bottom: 10px;
    background-color: #f2f2f2;
}

.before-box1,
.before-box2 {
    max-width: 350px;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
}

.before-box1 h3,
.before-box2 h3 {
    font-size: 15px;
    width: calc(98% - 20px);
    padding: 10px 10px 10px 10px;
}

.before-img {
    max-width: 350px;
    width: 100%;
}

.before-img img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 840px) {
    /*-- -- */
    .drstyle-before h2 {
        width: 98%;
    }
    .before-boxes {
        display: block;
        width: 100%;
    }
    .before-box1,
    .before-box2 {
        width: 98%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}


/*--------------------------------*/

.next-allow {
    margin: 30px auto 10px auto;
}

.next-title {
    display: table;
    text-align: center;
    margin: 30px auto 40px auto;
    position: relative;
}

.next-title h2,
.next-title h3 {
    margin-left: auto;
    margin-right: auto;
}

.next-title h2 {
    font-size: 28px;
    line-height: 30px;
}

.next-title strong {
    background-image: linear-gradient(transparent 55%, #ffed00 0%);
}

.next-title .left-hand {
    position: absolute;
    top: 10px;
    left: -50px;
}

.next-title .right-hand {
    position: absolute;
    top: 10px;
    right: -50px;
}

@media screen and (max-width: 840px) {
    .next-title .left-hand,
    .next-title .right-hand {
        top: 30px;
    }
}

@media screen and (max-width: 400px) {
    .next-title .left-hand,
    .next-title .right-hand {
        display: none;
    }
}


/*--------------------------------*/

.drstyle-dr1,
.drstyle-dr2,
.drstyle-dr3,
.drstyle-dr4 {
    padding-top: 35px;
    padding-bottom: 35px;
}

.drstyle-dr1,
.drstyle-dr3 {
    background-color: #fffccc;
}

.drstyle-dr2,
.drstyle-dr4 {
    background-color: white;
}

.drstyle-box1,
.drstyle-box2,
.drstyle-box3,
.drstyle-box4 {
    display: flex;
    flex-wrap: nowrap;
    /*    justify-content: center;*/
    justify-content: space-between;
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
}

.drstyle-img {
    max-width: 404px;
    margin-left: auto;
    margin-right: auto;
}

.drstyle-img img {
    width: 100%;
    height: auto;
}

.drstyle-box1 .drstyle-img,
.drstyle-box3 .drstyle-img {
    order: -1;
}

.drstyle-box2 .drstyle-img,
.drstyle-box4 .drstyle-img {
    order: 1;
}

.drstyle-text {
    max-width: 404px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.drstyle-box1 .drstyle-text,
.drstyle-box3 .drstyle-text{
	margin-left:20px;
}

.drstyle-box2 .drstyle-text,
.drstyle-box4 .drstyle-text{
	margin-right:20px;
}


.drstyle-text h2 {
    color: #f15a24;
    margin-bottom: 10px;
}

.drstyle-text hr {
    border: none;
    background-image: url(/design/ver5rp_inc/drstyle/dot.png);
    background-repeat: repeat-x;
    height: 7px;
    margin-bottom: 10px;
}

.drstyle-dr4 {
    margin-bottom: 50px;
}

@media screen and (max-width: 840px) {
    .drstyle-box1,
    .drstyle-box2,
    .drstyle-box3,
    .drstyle-box4 {
        display: block;
    }

	.drstyle-box1 .drstyle-text,
	.drstyle-box3 .drstyle-text,
	.drstyle-box2 .drstyle-text,
	.drstyle-box4 .drstyle-text{
		margin-left:auto;
		margin-right:auto;
	}

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