@charset "utf-8";

/* ========================================================
	odtaiken.css => 東進を一日丸どこ体験
======================================================== */
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

#tod {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	overflow: hidden;
}

#tod h1 {
	margin-bottom: 80px;
}

#tod h1 img {
    width: 100%;
    height: auto;
}

.sec_area {
    padding: 10px;
    overflow: hidden;
}

#tod h2 {
	position: relative;
	padding: 5px 0px 5px 40px;
    font-size: 240%;
}

section.s1 {
    border: 3px solid #00aa87;
    overflow: hidden;
    margin-bottom: 80px;
}

.sb1.b_3, .sb1.b_4 {
    border-top: 2px dashed #DDD;
}

.sb1.b_2, .sb1.b_4 {
    border-left: 2px dashed #DDD;
}

.sb1.b_3 {
	clear: both;
}

section.s1 h2 {
    color: white;
    background: #00aa87;
}

.sb1 {
    float: left;
    width: 50%;
    padding: 10px;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 132px;
}

.sb1 h3 {
    width: 40%;
    float: right;
}

.sb1 img {
    width: 100%;
    height: auto;
}

.sb1 p {
    width: 55%;
    font-size: 130%;
    float: left;
    position: relative;
    padding-left: 50px;
    font-weight: bold;
}

span.b1m {
	font-family: 'Oswald', sans-serif;
    font-size: 268%;
    position: absolute;
    top: -12px;
    left: 0;
    color: #00aa87;
}


section.s2 {
    border: 3px solid #23b0d0;
    overflow: hidden;
    margin-bottom: 80px;
}

section.s2 h2 {
    color: white;
    background: #23b0d0;
}

.sb2 {
    float: left;
    width: 16%;
    margin: 0.3333333%
}

.sb2 .sbin {
	width: calc(100% - 20px);
    min-height: 166px;
	padding: 10px;
    background: #23b1d0;
    float:left;
    color: white;
}

.sb2 .tri {
    display: block;
    width: 0;
	height: 0;
	float: right;
	border-style: solid;
	border-width: 83px 0 83px 20px;
	border-color: transparent transparent transparent #23b1d0;
}

.sb2 h3 {
    border-bottom: 2px solid;
    margin-bottom: 6px;
}

span.st {
    display: block;
    color: white;
    background: #167d92;
    text-align: center;
    font-size: 90%;
    margin-bottom: 5px;
}

.sb2 p {
    font-size: 90%;
}

section.s3 {
    border: 3px solid #ca3c3c;
    overflow: hidden;
    margin-bottom: 80px;
}

section.s3 h2 {
    color: white;
    background: #ca3c3c;
}

p.inb {
    margin: 30px 0 50px;
    display: inline-block;
    font-size: 180%;
    width: 49%;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    border-image: url("../t-img/bsen.png") 15 round;
	border-style:solid;
	border-width: 0 0 10px;
}

.sb3 {
    width: 50%;
    float: left;
    padding: 10px;
}

.sb3 img {
    display: block;
    float: left;
    width: 48%;
    height: auto;
    margin-right: 10px;
}

span.sens {
    margin-left: 6px;
    font-size: 80%;
}


/* max-width: 768px
============================================================================================================ */
@media screen and (max-width: 768px) {

section.s1,section.s2,section.s3 {
	margin: 0 10px 80px;
}

#tod h2 {
    text-align: center;
    padding: 5px 0px 5px;
    font-size: 200%;
}

.sb1,sb2,sb3,sb4 {
    float: none;
    width: 100%;
}

.sb1 p {
    font-size: 180%;
    padding-left: 65px;
}

span.b1m {
    top: -18px;
}

.sb2.b_4 {
    clear: both;
}

.sb1.b_2, .sb1.b_4 {
    border-left: none;
}

.sb1.b_2 {
    border-top: 2px dashed #DDD;
}

.sb2 {
    float: left;
    width: 32%;
    margin: 0.66666666%;
}

.sb2 p {
    font-size: 100%;
}

p.inb {
    margin: 0 0 20px;
    display: inline-block;
    font-size: 180%;
    width:auto
}

.ossm {
    margin: 30px 0 20px;
	text-align: center;
}

.sb3 {
    width: 100%;
    float: none;
    padding: 10px;
    clear: both;
}

.sb3 img {
    display: block;
    float: left;
    width: 35%;
}

}/* max-width: 767px============== */


/* max-width: 568px
============================================================================================================ */
@media screen and (max-width: 568px) {

#tod h1 {
    margin-bottom: 30px;
}

#tod h2 {
    font-size: 120%;
    padding: 20px 0px;
}

.sb1, sb2, sb3, sb4 {
    float: none;
    width: 100%;
}
.sb1 {
    padding: 10px 0 30px;
}

.sb1 h3 {
    width: 100%;
    float: none;
}

.sb1 p {
    width: 100%;
}

.sb2 {
    float: none;
    width: 100%;
    margin: 0 0 30px;
}

.sb2 .sbin {
    width: 100%;
    min-height: 200px;
    padding: 10px;
    float: none;
}

.sb2 .tri {
    display: block;
    width: 0;
    height: 0;
    float: none;
    margin: -5px auto;
	border-style: solid;
    border-width: 30px 80px 0 80px;
	border-color: #23b1d0 transparent transparent transparent;
}

.sb2 h3 {
    border-bottom: 2px solid;
    margin-bottom: 6px;
    text-align: center;
    font-size: 200%;
}

span.st {
    margin-bottom: 14px;
}

p.inb {
    font-size: 120%;
}

.sb3 img {
    display: block;
    float: none;
    width: 100%;
    margin-bottom: 10px;
}

.sb3 h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 160%;
}

.sb2 p {
    font-size: 140%;
}

.sb3 p {
    font-size: 120%;
}

}/* max-width: 567px============== */