@charset "utf-8";

/***************************************************************************
Media Queries
****************************************************************************/

@media print, screen and (max-width: 1000px) {
}
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 480px) {
}

/***************************************************************************
top_img
****************************************************************************/

#top_img {
	background-image: url(/-/wp-content/themes/tochi/img/keiei/index/top_img_pc.jpg);
	height: 680px;
}
#top_img .section_ttl {
	background-color: transparent;
	color: #FFFFFF;
}

@media print, screen and (max-width: 1000px) {
#top_img {
	height: 450px;
}
}

@media only screen and (max-width: 767px) {
#top_img {
	background-image: url(/-/wp-content/themes/tochi/img/keiei/index/top_img_sp.jpg);
	margin-bottom: 8vw;
}
}

/***************************************************************************
main
****************************************************************************/

#keiei .main {
	padding-bottom: 0px;
}

/***************************************************************************
contents
****************************************************************************/

#keiei .contents {
	max-width: 1000px;
}

/***************************************************************************
message_ttl
****************************************************************************/

.message_ttl {
	margin-bottom: 60px;
	text-align: center;
}
.message_ttl .ttl {
	font-size: 36px;
	line-height: 1.5;
	font-weight: 600;
}
.message_ttl .txt {
	margin-top: 30px;
}

@media only screen and (max-width: 768px) {
.message_ttl .en {
	font-size: 10.4vw;
}
}

@media only screen and (max-width: 767px) {
.message_ttl {
	margin-bottom: 8vw;
}
.message_ttl .en {
	font-size: 10vw;
}
.message_ttl .ttl {
	font-size: 4.8vw;
	line-height: 2;
}
.message_ttl .txt {
	margin-top: 8vw;
}
}

/***************************************************************************
top_message
****************************************************************************/

#top_message {
	text-align: center;
	padding-top: 100px;
}
#top_message .message {
	background-color: #F8EAC5;
	border-radius: 15px;
	padding: 50px 30px 50px 30px;
	margin-bottom: 100px;
}
#top_message .message .ttl {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 40px;
}
#top_message .message .txt {
	line-height: 2;
}

@media only screen and (max-width: 767px) {
#top_message {
	padding-top: 0;
}
#top_message .message {
	border-radius: 2.6vw;
	padding: 6.5vw 5.2vw 6.5vw 5.2vw;
	margin-bottom: 7.8vw;
}
#top_message .message .ttl {
	font-size: 4.2vw;
	margin-bottom: 3.3vw;
}
#top_message .message .txt {
	text-align: left;
	font-size: 3.6vw;
}
}

#motto {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-bottom: 250px;
}
#motto ul {
	width: 31%;
}
#motto .ttl {
	font-size: 30px;
	line-height: 0.8;
	font-weight: bold;
	padding: 0.5em 0.5em 0.6em 0.5em;
	margin-bottom: 25px;
}
#motto .span_orange li:not(.ttl),
#motto .span_number li:not(.ttl) {
	text-align: left;
	display: flex;
}
#motto .span_number li span {
	padding-right: 0.4em;
}
#motto .span_orange li span {
	color: #FFA202;
	font-size: 12px;
	padding-top: 0.4em;
	padding-right: 0.8em;
}
#motto .illust {
	position: absolute;
	bottom: -15px;
	right: -8%;
	width: 30%;
	z-index: 1;
}

@media print, screen and (max-width: 1300px) {
#motto {
	padding-bottom: 19.2vw;
}
#motto .illust {
	position: absolute;
	bottom: -15px;
	right: -2%;
	width: 32%;
}
}

@media only screen and (max-width: 768px) {
#motto {
	padding-bottom: 21vw;
}
#motto ul {
	width: 48%;
}
#motto .illust {
	right: 5%;
	width: 28%;
}
}

@media only screen and (max-width: 767px) {
#motto {
	padding-bottom: 0vw;
}
#motto ul {
	width: 100%;
	margin-bottom: 4.6vw;
}
#motto li {
	width: 95%;
	margin: 0px auto 0px auto;
	margin-bottom: 1vw;
}
#motto .ttl {
	width: 100%;
	font-size: 4.7vw;
	margin-bottom: 4.6vw;
}
#motto .span_orange li span {
	font-size: 2.4vw;
	padding-top: 0.5em;
	padding-right: 0.6em;
}
#motto .illust {
	position: relative;
	bottom: -2.6vw;
	right: inherit;
	width: 40%;
	margin-top: -2.6vw;
	margin-left: auto;
	z-index: 1;
}
}

/***************************************************************************
middle_message
****************************************************************************/

#middle_message .thumb_exp {
	display: flex;
	justify-content: space-between;
}
#middle_message .thumb {
	/*transform: translateY(-40px);*/
	margin-top: -40px;
}
#middle_message .bg_white .thumb {
	margin-right: 45px;
	margin-left: -200px;
}
#middle_message .bg_gray .thumb {
	margin-left: 45px;
	margin-right: -200px;
	order: 2;
}
#middle_message .exp {
	flex: 1;
	padding: 120px 0px 140px 0px;
}
#middle_message .exp .ttl {
	font-size: 30px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 35px;
}
#middle_message .bg_gray .exp .ttl {
	text-align: right;
}
#middle_message .exp .txt {
	line-height: 2;
}
#middle_message .exp .txt p:not(:nth-child(1)) {
	margin-top: 35px;
}

@media print, screen and (max-width: 1300px) {
#middle_message .bg_white .thumb {
	margin-right: 3.5vw;
	margin-left: -12vw;
}
#middle_message .bg_gray .thumb {
	margin-left: 3.5vw;
	margin-right: -12vw;
}
}

@media print, screen and (max-width: 1000px) {
#middle_message .thumb_exp {
	display: block;
	padding: 70px 0px 70px 0px;
}
#middle_message .thumb {
	margin-top: 0px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 50px;
}
#middle_message .thumb img {
	width: 80vw;
}
#middle_message .bg_white .thumb img {
	margin-left: 8vw;
}
#middle_message .bg_gray .thumb img {
	margin-left: 0.5vw;

}
#middle_message .exp {
	padding: 0px;
}
#middle_message .bg_gray .exp .ttl {
	text-align: left;
}
#middle_message .bg_gray .exp .ttl br {
	display: none;
}
}

@media only screen and (max-width: 767px) {
#middle_message .thumb_exp {
	padding: 10vw 0px 12vw 0px;
}
#middle_message .thumb {
	margin-bottom: 6vw;
}
#middle_message .exp .ttl {
	font-size: 5vw;
	margin-bottom: 4vw;
}
#middle_message .exp .txt p:not(:nth-child(1)) {
	margin-top: 4vw;
}
}

/***************************************************************************
bottom_message
****************************************************************************/

#bottom_message {
	padding: 80px 0px 80px 0px;
}
#bottom_message .thumb_exp {
	padding-top: 120px;
	margin-top: 80px;
}
#bottom_message .thumb {
	position: absolute;
	top: 0px;
	left: 0;
}
#bottom_message .exp {
	width: 640px;
	margin-left: auto;
	background-color: rgba(255,255,255,0.9);
	padding: 80px 40px 40px 40px;
}
#bottom_message .exp .icon {
	position: absolute;
	left: 0;
	top: 0;
}
#bottom_message .exp .ttl {
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 40px;
}
#bottom_message .exp .ttl:after {
	content: " ";
	display: block;
	height: 4px;
	width: 80px;
	margin: 20px auto 0px auto;
	background-color: #003B80; 
}
#bottom_message .exp .txt {
	line-height: 2;
}
#bottom_message .exp .txt p:not(:nth-child(1)) {
	margin-top: 35px;
}

@media print, screen and (max-width: 1000px) {
#bottom_message .thumb {
	width: 60vw;
}
#bottom_message .exp {
	width: 64vw;
	padding: 8vw 4vw 4vw 4vw;
}
}

@media only screen and (max-width: 768px) {
#bottom_message .thumb_exp {
	padding-top: 437px;
}
#bottom_message .thumb {
	width: 100%;
}
#bottom_message .thumb img {
	width: 100%;
}
#bottom_message .exp {
	width: 95%;
	margin-left: auto;
}
}

@media only screen and (max-width: 767px) {
#bottom_message {
	padding: 12vw 0px 12vw 0px;
}
#bottom_message .thumb_exp {
	padding-top: 0vw;
	margin-top: 10vw;
}
#bottom_message .thumb {
	position: relative;
}
#bottom_message .exp {
	width: 100%;
	padding: 8vw 6vw 6vw 6vw;
}
#bottom_message .exp .icon {
	width: 20vw;
	top: -20vw;
}
#bottom_message .exp .ttl {
	font-size: 4.8vw;
	margin-bottom: 5.2vw;
}
#bottom_message .exp .ttl:after {
	height: 0.5vw;
	width: 10.4vw;
	margin-top: 2.6vw;
}
#bottom_message .exp .txt p:not(:nth-child(1)) {
	margin-top: 4vw;
}
}

/***************************************************************************
footer_link
****************************************************************************/

#footer_link {
	padding: 90px 0px 90px 0px;
}

#footer_link ul.contents {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#footer_link ul li {
	width: 48%;
}

@media only screen and (max-width: 767px) {
#footer_link {
	padding: 12vw 0px 12vw 0px;
}
#footer_link ul li {
	width: 100%;
}
#footer_link ul li:not(:nth-child(1)) {
	margin-top: 4vw;
}
}
