@charset "UTF-8";

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	under__title
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.under__title{
    margin-top: 144.18px;
    height: 152px;
    background-image: url(/wp-content/themes/cebuway__theme/images/under-page/under__midashi.png);
    background-size: cover;
    background-position: center;
    position: relative;
}
.under__title h1{
    width: 100%;
    padding: 0 20px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;;
    transform: translate(-50%, -50%);
    font-family: 'Helvetica Neue';
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    color: #fff;
}
@media only screen and (max-width: 1024px) {
    .under__title{
        margin-top: 148.18px;
    }
}
@media only screen and (max-width: 768px) {
    .under__title{
        margin-top: 110px;
        height: 88px;
    }
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	under__content
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.under__content{
	max-width: 647px;
	padding: 40px 0;
    margin: 0 auto;
}
.under__content h2{
    background: #9D9D9D;
    padding: 4px 20px;
    font-family: 'Helvetica Neue';
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #fff;
	margin-bottom: 24px;
}
.under__content h3{
    position: relative;
    padding: 4px 0 4px 12px;
    font-family: 'Helvetica Neue';
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.04em;
	margin-bottom: 24px;
}
.under__content h3::before{
    content: '';
    width: 3px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #FF3D00;
}
.under__content h4{
    background: #D9E9F1;
    padding: 4px 20px;
    font-family: 'Helvetica Neue';
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
	margin-bottom: 24px;
}
.under__content h5{
    padding: 0 0 0 16px;
    font-family: 'Helvetica Neue';
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #FF3D00;
	margin-bottom: 24px;
}
.under__content strong{
    font-weight: 700;
}
.under__content p{
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
}
.under__content p strong{
    font-weight: 700;
}
.under__content ul{
    margin-bottom: 40px;
}
.under__content ul li{
    position: relative;
    font-size: 16px;
    line-height: 2;
    padding-left: 12px;
    margin-bottom: 8px;
}
.under__content ul li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #FF3D00;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left:0;
    transform: translate(0,-50%);
}
.under__content ol{
    list-style: none;
    counter-reset: number;
    margin-bottom: 40px;
}
.under__content ol li{
    position: relative;
    font-size: 16px;
    line-height: 2;
    padding-left: 24px;
    margin-bottom: 8px;
}

.under__content ol li::before {
    font-family: 'Helvetica Neue';
    color: #FF3D00;
    font-weight: 700;
    counter-increment: number;
    content:  counter(number) '.';
    position: absolute;
    left: 0;
  }

.under__content figure{
    margin-bottom: 80px;
}
.under__content a{
    color: #FF3D00;
    border-bottom: 1px #FF3D00 solid;
}
.under__content a:hover{
	-webkit-animation-duration: 1s;
	-webkit-animation-name: flash;
	animation-duration: 1s;
	animation-name: flash;
}
@keyframes flash {
	0% {
		opacity: 0.3;
	}
	100% {
		opacity: 1;
	}
}
.under__content iframe{
    width: 100%;
    height: 572px;
}
.under__content blockquote{
    background: #D9E9F1;
    padding: 16px;
}
.under__content table{
    text-align:left;
    background: #fff;
    font-size: 14px;
}
.under__content table th,.under__content table td{
    padding: 8px;
}
.under__content table th{
    background: #FF3D00;
    color: #fff;
    font-weight: 700;
}
.under__content table tr:nth-of-type(2n-1){
    background: #fff;
}
.under__content table tr:nth-of-type(2n){
    background: #F6F6F6;
}
.under__content table th:first-of-type{
    min-width: 80px;
    width: 20%;
}

@media only screen and (max-width: 768px) {
    .under__content{
        max-width: 100%;
		padding: 40px 20px;
    }
    .under__content h2{
        font-size: 20px;
        margin-bottom: 20px;
    }
    .under__content h3{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .under__content h4{
        font-size: 14px;
        margin-bottom: 20px;
    }
    .under__content p{
        font-size: 12px;
        margin-bottom: 32px;
    }
    .under__content p strong{
        font-weight: 700;
    }
    .under__content ul li,.under__content ol li{
        font-size: 12px;
        margin-bottom: 4px;
    }
    .under__content figure{
        margin-bottom: 64px;
    }
    .under__content table{
        font-size: 12px;
    }
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	flex
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.is-layout-flex{
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.is-layout-flex p{
    margin-bottom: 24px;
}
.is-layout-flex figure{
    margin-bottom: 40px;
}

.is-layout-flex > div{
	max-width: 315px;
	width: 48.837209302%;    
}
.is-layout-flex.flex2 > div{
	max-width: 315px;
	width: 48.837209302%;    
}
.is-layout-flex.flex3 > div{
	max-width: 315px;
	width: 32.241555783%;
}
.is-layout-flex.flex4 > div{
	max-width: 232px;
	width: 23.746161719%;
}

@media only screen and (max-width: 1024px) {
	.is-layout-flex.flex3 > div {
		max-width: 100%;
		width: 48.686244204%;
	}
	.is-layout-flex.flex3 > div:nth-of-type(3) {
		margin: 40px auto 0;
	}
	.is-layout-flex.flex4 {
		max-width: 100%;
		width: 48.686244204%;
		margin-bottom: 32px;
	}
}