@charset "UTF-8";
/* ===================================================================
CSS information
 file name  :  header.css
 style info :  ヘッダーからサブナビまで
=================================================================== */



/* ヘッダー
*****************************************************/
header {
	background-color:#ffffff;
	height: 80px;
	position: fixed;
	width: 100%;
	z-index: 10;
	box-shadow: 1px 0px 10px #888888;
}

header .header_inner {
	width: 1040px;
	min-width: 1040px;
	margin: 0 auto;
}

header .header_inner a {
	width: 500px;
	display: block;
}

h1 {
	position: relative;
	top: 0;
	padding: 15px 0px 15px 100px;
	line-height: 50px;
	font-family: "Shippori Mincho", serif;
	font-weight: bold;
}

.logo_paz {
	position: absolute;
	width: auto;
	height: calc( 100% - 20px );
	left: 10px;
	top: 10px;
}

.spacer {/* ヘッダー固定時の空き確保 */
	height: 80px;
}

@media only screen and (max-width:480px) {
header {
	display: flex;
	justify-content: space-between;
	width: 100%;
	height: auto;
	min-width: 100%;
	height: 70px;
	padding: 0;
	position: fixed;
	z-index: 10;	
}

header .header_inner {
	width: 100%;
	min-width: 100%;
}

header .header_inner a {
	widht: 100%;
}

h1 {
	display: inherit;
	padding: 10px 0 10px 80px;
	font-size: 20px;
}

.logo_paz {
	top: 10px;
}

.spacer {/* ヘッダー固定時の空き確保 */
	height: 70px;
}

}







/* トップ看板
*****************************************************/
.main_img {
	height: 300px;
	text-indent: -9999px;
	background-image: url(../_img/ri_m_img.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-bottom:50px;
}

.main_img img {
	max-width: 1040px;
	margin: 0 auto;
}

@media only screen and ( max-width:480px ) {
.main_img {
	background-image: url(../_img/ri_spm_img.png);
	position: relative;
	height: 133px;
	background-size: cover;
	background-repeat: no-repeat;
	margin-bottom:25px;
}

.main_img::before {
	content: "";
	display: block;
	padding-top: 100%;
}

.main_img img {/*
	height: auto;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-size: contain;
	*/
}
}







/* サブナビ 
*****************************************************/
ul.sub_navi {
	display: flex;
	justify-content: center;
	margin: 0 auto;
	padding-top: 40px;
	margin-bottom: 80px;
}

ul.sub_navi li {
	width: 330px;
	height: 60px;
	background-color: #009933;
	text-align: center;
	line-height: 60px;
}

ul.sub_navi li:not(:last-child) {
	margin-right: 25px;
}

ul.sub_navi li a {
	display: block;
	margin: 0 auto;
	color: #ffffff;
	font-size: 24px;
	font-weight: bold;
	background-image: url(../_img/arrow_right.png);
	background-repeat: no-repeat;
	background-position: top 17px right 15px;
	background-size: 15px;
}

/* 個別相談会PDF
*****************************************************/
ul.kobetsu_soudan {
	display: flex;
	justify-content: center;
	margin: 0 auto;
	padding-top: 40px;
}

ul.kobetsu_soudan li {
	width: 800px;
	background-color: #1eaabe;
	text-align: center;

}

ul.kobetsu_soudan li:not(:last-child) {
	margin-right: 25px;
}

ul.kobetsu_soudan li a {
	display: block;
	margin: 0 auto;
	color: #ffffff;
	font-size: 20px;
	background-repeat: no-repeat;
	background-position: top 30px right 15px;
	background-size: 10px;
}

ul.kobetsu_soudan li a p {
	font-size: 20px;
}

@media only screen and (max-width:480px) {
ul.sub_navi {
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
	padding: 40px 20px 0 20px;
	flex-direction: column;
	margin-bottom: 40px;
}

ul.sub_navi li {
	width: 100%;
	height: 40px;
	line-height: 40px;
}

ul.sub_navi li:not(:last-child) {
	margin: 0;
}

ul.sub_navi li:first-child,
ul.sub_navi li:nth-child(2) {
	margin-bottom: 10px;
}

ul.sub_navi li a {
	font-size: 20px;
	background-position: top 10px right 10px;
	background-size: 12px;
}

ul.kobetsu_soudan {
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
	padding: 40px 20px 0 20px;
	flex-direction: column;
}

ul.kobetsu_soudan li {
	width: 100%;
	height: 60px;
	line-height: 30px;
}

ul.kobetsu_soudan li:not(:last-child) {
	margin: 0;
}

ul.kobetsu_soudan li:first-child,
ul.kobetsu_soudan li:nth-child(2) {
	margin-bottom: 0px;
}

ul.kobetsu_soudan li a {
	font-size: 15px;
	background-position: top 20px right 10px;
	background-size: 12px;
}
ul.kobetsu_soudan li a p {
	font-size: 12px;
}
}










