@charset "utf-8";

/*=========================================*/
/* トップページ */
/*=========================================*/


/*-- TOP PAGE --*/

.top_img_area{
	padding: 100px 0px 0px 0px;
	text-align: center;
}

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

.top_sub_img_area{
	padding: 80px 0px 0px 0px;
	text-align: center;
}

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

.top_contents_area{
	padding: 0px 50px 0px 50px;
	margin: 0 auto;
	position: relative;
	box-sizing: border-box;
}

.top_contents_flame{
	position: relative;
    margin: 0px auto 0px auto;
    max-width: 1280px;
}

.top_text_area{
	padding: 80px 0px 80px 0px;
}

.top_text_area .top_text_title{
	padding: 10px 30px 10px 30px;
	margin: 0px 0px 20px 0px;
	font-size: 125%;
	color: rgba(255,255,255,1.00);
	background-color: rgba(220,94,36,1.00);
	border-radius: 5px;
	display: inline-block;
}

.top_text_area p{
	font-size: 110%;
	line-height: 175%;
	letter-spacing: 4px;
}

.top_message_area{
	padding: 80px 0px 0px 0px;
	position: relative;
}

.top_message_area .top_text_title{
	padding: 10px 30px 10px 30px;
	margin: 0px 0px 20px 0px;
	font-size: 125%;
	color: rgba(255,255,255,1.00);
	background-color: rgba(220,94,36,1.00);
	border-radius: 5px;
	display: inline-block;
}

.top_message_area p{
	font-size: 110%;
	line-height: 175%;
	letter-spacing: 4px;
}

.top_message_box{
	display: flex;
}

.top_message_text{
	padding: 0px 15px 0px 0px;
	width: 80%;
}

.top_message_text::before{
	position: absolute;
	content: "みやのがワンちゃん";
	left: 95px;
	bottom: 5px;
	text-align: right;
	font-size: 70%;
	line-height: 100%;
}

.top_message_text::after{
	position: absolute;
	content: "";
	background: url("../images/miyanokawachi_mascot.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
	left: 0;
	bottom: 0;
	width: 100%;
	max-width: 90px;
	padding-bottom: 130px;
}

p.top_message_text,
p.top_text_message{
	font-size: 130%;
}

.top_message_img_area{
	width: 100%;
	max-width: 250px;
	padding: 0px  0px 0px 15px;
}

.top_message_img_area div{
	margin-bottom: 15px;
}

.top_message_img_area img{
	border-radius: 5px;
}

.top_message_img_area p span.director{
	font-size: 80%;
}

.top_message_img_area p span.name{
	font-size: 120%;
}

.top_mascot_area{
	display: none;
}


@media screen and (max-width:1280px){

.top_contents_area{
	padding: 0px 35px 0px 35px;
}
	
.top_img_area{
	padding: 80px 0px 0px 0px;
	text-align: center;
}
	
.top_sub_img_area{
	padding: 60px 0px 0px 0px;
	text-align: center;
}

.top_text_area{
	padding: 60px 0px 60px 0px;
}

.top_text_area .top_text_title{
	padding: 10px 25px 10px 25px;
	margin: 0px 0px 15px 0px;
	font-size: 115%;
}

.top_text_area p{
	font-size: 100%;
	line-height: 150%;
}

.top_message_area{
	padding: 60px 0px 0px 0px;
}

.top_message_area .top_text_title{
	padding: 10px 25px 10px 25px;
	margin: 0px 0px 15px 0px;
	font-size: 115%;
}

.top_message_area p{
	font-size: 100%;
	line-height: 150%;
}

.top_message_text{
	padding: 0px 15px 0px 0px;
}
	
.top_message_text::before{
	position: absolute;
	content: "みやのがワンちゃん";
	left: 95px;
	bottom: 5px;
	text-align: right;
	font-size: 70%;
	line-height: 100%;
}

.top_message_text::after{
	position: absolute;
	content: "";
	background: url("../images/miyanokawachi_mascot.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
	left: 0;
	bottom: 0;
	width: 100%;
	max-width: 90px;
	padding-bottom: 115px;
}
	
p.top_message_text,
p.top_text_message{
	font-size: 120%;
}

.top_message_img_area{
	max-width: 250px;
	padding: 0px  0px 0px 15px;
}

.top_message_img_area div{
	margin-bottom: 15px;
}
	
}


@media all and (max-width:960px), print{
	
.top_contents_area{
	padding: 0px 20px 0px 20px;
}
	
.top_img_area{
	padding: 60px 0px 0px 0px;
	text-align: center;
}
	
.top_sub_img_area{
	padding: 40px 0px 0px 0px;
	text-align: center;
}

.top_text_area{
	padding: 40px 0px 40px 0px;
}

.top_text_area .top_text_title{
	padding: 7px 20px 7px 20px;
	margin: 0px 0px 10px 0px;
	font-size: 105%;
}

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

.top_message_area{
	padding: 40px 0px 0px 0px;
}

.top_message_area .top_text_title{
	padding: 7px 20px 7px 20px;
	margin: 0px 0px 10px 0px;
	font-size: 105%;
}

.top_message_area p{
	font-size: 90%;
}
	
.top_message_box{
	display: flex;
	flex-wrap: wrap;
}

.top_message_text{
	width: 100%;
	padding: 0px 0px 0px 0px;
	margin-bottom: 20px;
}

.top_message_text::before{
	display: none;
}

.top_message_text::after{
	display: none;
}
	
p.top_message_text,
p.top_text_message{
	font-size: 110%;
}

.top_message_img_area{
	max-width: 100%;;
	padding: 0px 0px 0px 0px;
	display: flex;
	align-items: flex-end;
	position: relative;
}
	
.top_message_img_area::before{
	position: absolute;
	content: "みやのがワンちゃん";
	right: 95px;
	bottom: 5px;
	text-align: right;
	font-size: 85%;
	line-height: 100%;
}
	
.top_message_img_area::after{
	position: absolute;
	content: "";
	background: url("../images/miyanokawachi_mascot.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 90px;
	padding-bottom: 130px;
	z-index: -1;
}

.top_message_img_area div{
	margin-bottom: 0px;
}
	
.top_message_img_area div img{
	width: 100%;
	max-width: 200px;
}

.top_message_img_area p{
	padding-left: 15px;
}

}

@media all and (max-width:640px){
	
.top_message_img_area::before{
	position: absolute;
	content: "みやのがワンちゃん";
	top: 100px;
	right: 0;
	bottom: auto;
	text-align: right;
	font-size: 85%;
	line-height: 100%;
	z-index: -1;
}
	
.top_message_img_area::after{
	position: absolute;
	content: "";
	background: url("../images/miyanokawachi_mascot.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
	top: 0;
	right: 0;
	bottom: auto;
	width: 100%;
	max-width: 80px;
	padding-bottom: 95px;
	z-index: -1;
}

}

@media all and (max-width:430px){
	
.top_message_img_area::before{
	display: none;
}
	
.top_message_img_area::after{	
	display: none;
}

.top_mascot_area{
	display: block;
    margin: 30px auto 0 auto;
    text-align: center;
}
	
.top_mascot_area img{
	width: 100%;
	max-width: 130px;
	height: auto;
}	
	
.top_mascot_area p{
	margin-top: 10px;
	text-align: center;
}

}