@charset "utf-8";
@import url("reset.css");
@import url("m_menu.css");




/*共通設定-------------------------------------------------------------------------------------------------------------------------------------*/
/*基本設定*/
html{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif,"游明朝体", "Yu Mincho", YuMincho;
	line-height:1.5;
	position: relative;
	}
main {
    display: block;
}
 a img{
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
a:hover img {
opacity: 0.7;
filter: alpha(opacity=70);
-moz-opacity:0.7;
}
.wrap,main,footer{
	overflow: hidden;
}

/*ヘッダー*/
header {
	width: 100%;
}
#header_inner{
	width: 100%;
}
#h_top{
	display: flex;
	justify-content:space-between;
	margin: 0 auto;
	padding: 1em 0;
}
#h_top h1{
	width:436px;
}
#top_img_back{
	width: 100%;
	text-align: center;
	background-image: url(../img/top/top_ing_back.jpg);
	background-position: left top;
	background-repeat: repeat-x;
	background-size:1px 100%;
}
#top_img{
	margin: 0 auto;
	position: relative;
}
#top_img p{
	position:absolute;
  top: 30%;
	right:0;
  -webkit-transform: translateY(-30%); /* Safari用 */
  transform: translateY(-30%);
	font-size: 600%;
	text-align: center;
	font-family: "Sawarabi Mincho";
	font-weight: bold;
	text-shadow: 
-1px -1px 0px #fff, 
1px -1px 0px #fff, 
1px 1px 0px #ffff, 
-1px 1px 0px #fff,
1px 2px 3px rgba(0, 0, 0, 0.6);
}
#top_img p span{
	display: block;
	font-size: 40%;
}
#top_img p i{
	font-style: normal;
}
#top_contents{
	margin: 3em auto 0;
}

/*メイン*/
h2{
	font-size: 237%;
	font-weight: bold;
	color: #000;
	font-family: "Sawarabi Mincho";text-align: center;
	margin: 0 0 0.5em;
	text-align: center;
text-shadow: 
-1px -1px 0px #fff, 
1px -1px 0px #fff, 
1px 1px 0px #ffff, 
-1px 1px 0px #fff,
1px 2px 3px rgba(0, 0, 0, 0.6);
}
#machi_wrap{
	width: 100%;
	background-image:url(../img/top/machi_wrap.png);
	background-size:cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	padding: 3em 0;
}
#machi{
	margin: 0 auto;
}
#machi ul{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}
#machi ul li{
	width: 48%;
	background-color: #fff;
	border: 3px solid #FFD800;
	box-sizing: border-box;
	padding: 1em 2% 5em;
	position: relative;
	margin: 2.5em 0 0;
	position: relative;
}
.m_number{
	position: absolute;
	top:-1em;
	left: -1em;
	width: 70px;
}
#machi ul li h3 i{
	font-size: 187%;
	margin: 0 0 0 30px;
}
#machi ul li h3 img{
	display: block;
	margin: 0.5em 0 0;
}
#machi ul li ul{
	margin: 1em 0 0;
}
#machi ul li ul li{
	width :100%;
	flex-direction: column;
	padding: 0.5em 0 0.5em 30px!important;
	border-left: none;
	border-right: none;
	border-bottom: 1px dotted #000000;
	border-top: none;
	background-image: url(../img/base/check.png);
	background-size: 24px auto;
	background-repeat: no-repeat;
	background-position: left center;
	margin: 0;
}
#future{
	margin: 3em auto 0;
}
#future h2{
	text-align: left;
}
#back_photo{
	width: 70%;
	padding: 2.5em 0 2.5em 30%;
	background-image: url(../img/top/photo05.png);
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: left bottom;
}
#back_photo span{
	display: block;
	width: 156px;
	margin: 1em 0 0 auto;
}
#back_photo ul{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	margin: 2em 0 0;
}
#back_photo ul li{
	margin: 0 5% 0 0;
}
.blog_wrap{
	width: 100%;
	padding: 3.5em 0;
	background-color: #d7edf5;
}
#blog,#blog_b{
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}
#blog li{
	width: 48%;
	background-color: #fff;
	position: relative;
	padding: 0 0 4em;
}
#blog_b li{
	width: 48%;
	min-height: 0%;
}
#blog li dl dt{
	font-size: 125%;
	font-weight: bold;
	background-color: #ffd800;
	padding: 0.25em 2%;
}
#blog li dl dd .b_photo{
	width: 96%;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	margin: 1em auto;
}
#blog li dl dd .b_photo a{
	width: 31.333%;
}
#blog li dl dd .b_photo img{
	max-height: 7em;
	object-fit: cover; /* この一行を追加するだけ！ */
}
#blog li dl dd ul li{
	width: 96%;
	margin: 0 auto;
	padding: 0.5em 0;
}
#blog li dl dd ul li a{
	color: #000;
	text-decoration: none;
}
#blog li dl dd ul li a:hover,#blog li dl dd ul li a:active{
	color: #000;
	text-decoration:underline;
}
#blog_b{
display: none;	
}

.btn a{
	position: absolute;
	bottom: 1em;
  left: 50%;
  -webkit-transform: translate(-50%, 0%); /* Safari用 */
  transform: translate(-50%, 0%);
	display: block;
	width: 250px;
	text-decoration: none;
	color: #000;
	padding: 0.5em 0;
	text-align: center;
	background-color: #ffd800;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
	font-weight: bold;
}
.btn a:hover,.btn a:active,.btn2 a:hover,.btn2 a:active{
	text-decoration: none;
	color: #000;
	background-color: #FFE558;
}
.btn2 a{
	display: block;
	width: 250px;
	text-decoration: none;
	color: #000;
	padding: 0.5em 0;
	text-align: center;
	background-color: #ffd800;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
	font-weight: bold;
}
#top_contents{
	margin: 3em auto 0;
}
#top_contents ul{
	width: 80%;
	margin: 0 auto;
}
#top_contents ul li{
	width: 100%;
	margin: 2em 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}
#top_contents ul li figure{
	width: 28%;
}
#top_contents ul li span {
	width: 68%;
}

/*フッター*/
footer{
	width: 100%;
	margin: 3em 0 0;
}
#bottom_b{
	margin: 0 auto 3em;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}
#bottom_b li{
	width: 32%;
}
#footer_wrap{
	width: 100%;
	background-color: #ffd800;
}
#footer_inner{
	margin: 0 auto;
	padding: 2em 0 0;
	position: relative;
}
#footer_inner ul{
	width: 180px;
	margin: 1em auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content:center;
}
#footer_inner ul li{
	width: 40px;
	margin:0 0.5em;
}
#footer_inner dl{
	width: 96%;
	text-align: center;
	margin: 1.5em auto;
}
#footer_inner dl dt{
	font-size: 150%;
	font-weight: bold;
}
#footer_inner dl dd{
	width: 100%;
}
#footer_inner dl dd a{
	color: #000;
	text-decoration: none;
}
#footer_inner dl dd a:hover,#footer_inner dl dd a:active{
	color: #000;
	text-decoration:underline;
}
address{
	width: 96%;
	padding: 0.25em 2%;
	background-color: #000;
	color: #fff;
	text-align: center;
	font-style: normal;
}

/*TOPへ戻るボタン設定*/
#page-top {
	position: fixed;
	bottom: 10px;
	right: 10px;
	font-size: 90%;
	z-index: 999;
}
#page-top a {
	text-decoration: none;
	color: #fff!important;
	text-align: center;
	font-weight: bold;
	background-color: #000!important;
	padding: 0.5em 20px;
	width: 100px;
	border-radius: 6px;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
#page-top a:hover {
	text-decoration: none;
	color: #000!important;
	background-color: #ffd800!important;
}
#page-top span {
	display: block;
}
	
		

/*共通設定ここまで-------------------------------------------------------------------------------------------------------------------------------------*/

/* pc */
@media screen and (min-width: 1300px)  {

/*ヘッダー*/
header {
	background-color: #fff;
}
#h_top,#top_img{
	width:1280px;
}
#top_img p span br {
    display: none;
}
.t_sp{
	display: none;
}
	
/*メイン*/
#machi,#future,#blog,#blog_b,#top_contents{
	width: 1280px;
}
#sp_photo{
	display: none;
	}

/*フッター*/
#bottom_b,#footer_inner{
	width: 1280px;
}
}

/* tablet以下共通 ------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1299px)  {
	
/*ヘッダー*/
#h_top,#top_img{
	width:96%;
}
	
/*メイン*/
#machi,#future,#blog,#blog_b,#top_contents{
	width: 96%;
}

/*フッター*/
#bottom_b,#footer_inner{
	width: 96%;
}

}
/* tablet以下共通ここまで ------------------------------------------------------------------------------------------*/

/* tablet1 */
@media only screen and (min-width: 1024px) and (max-width: 1299px)  {

/*基本設定*/
html{
	font-size: 16px;
	}

/*ヘッダー*/
header {
	background-color: #fff;
}
.t_sp{
	display: none;
}
#top_img p span br {
    display: none;
}
#top_img p {
    font-size: 500%;
}
/*メイン*/
#machi ul li h3 i {
    margin: 0 0 0 40px;
}
#back_photo{
	padding: 0 0 2.5em 30%;
	background-position: left center;
}
#sp_photo{
	display: none;
	}

/*フッター*/

}


/* tablet2  */
@media only screen and (min-width: 768px) and (max-width: 1023px) {

/*基本設定*/
html{
	font-size: 85%;
	}
	
/*ヘッダー*/
#header_inner {
	position: fixed;
	top:0;
	z-index: 20;
	box-shadow: 0 2px 8px rgba(0,0,0,0.70);
	-webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.70);
}
#h_top {
    width: 96%;
    background-color: #fff;
	padding: 0 2%;
	height: 60px;
	}
#h_top h1 {
	margin: 0.8em 0;
}
header{
		margin: 60px 0 0 0;
	}
#top_img p {
    top: 25%;
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
    font-size: 450%;
}
#top_img p span br {
    display: none;
}
/*メイン*/
.m_number {
    width: 55px;
}
#machi ul li ul li {
    padding: 0.5em 0 0.5em 25px!important;
    background-size: 20px auto;
}
#future {
    margin: 0 auto;
}
#back_photo{
	width:55%;
	padding: 2.5em 0 2.5em 45%;
	background-size: auto 80%;
	background-position: left center;
}
#back_photo ul {
    width: 100%;
    display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
    margin: 2em 0 0;
}
#back_photo ul li {
	width: 48%;
    margin: 0!important;
}
.btn2 a{
	display: block;
	width: 100%;
}
#sp_photo{
	display: none;
	}

/*フッター*/

}

/* tablet3  */
@media only screen and (max-width: 767px) {

/*基本設定*/
html{
	font-size: 85%;
	}

/*ヘッダー*/
#header_inner {
	position: fixed;
	top:0;
	z-index: 20;
	box-shadow: 0 2px 8px rgba(0,0,0,0.70);
	-webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.70);
}
#h_top {
    width: 96%;
    background-color: #fff;
	padding: 0 2%;
	height: 60px;
	}
#h_top h1 {
	width: 400px;
	margin: 0.8em 0;
}
header{
		margin: 60px 0 0 0;
	}
#top_img p {
    top: 25%;
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
    font-size: 340%;
}

/*メイン*/
h2{
	font-size: 200%;
}
#machi ul{
	flex-direction: column;
}
#machi ul li{
	width: 96%;
	margin: 2.5em auto 0;
}
.m_number {
    width: 55px;
}
#future {
    margin: 0 auto;
}
#sp_photo{
	width: 50%;
	margin: 0 auto 1em;
	}
#back_photo{
	width: 100%;
	padding: 2.5em 0 2.5em 0;
	background-image: none;
}
#back_photo ul {
    width: 100%;
    display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
    margin: 2em 0 0;
}
#back_photo ul li {
	width: 48%;
    margin: 0!important;
}
.btn2 a{
	display: block;
	width: 100%;
}
.blog_wrap{
	padding: 2em 0;
}
#blog,#blog_b{
	flex-direction: column;
}
#blog li{
	width: 100%;
	background-color: #fff;
	position: relative;
	padding: 0 0 4em;
}
#blog_b li{
	width: 100%;
}
#blog li:nth-child(n+2),#blog_b li:nth-child(n+2){
	margin: 1em 0 0;
}
#blog li dl dd ul li:nth-child(n+2){
	
	margin: 0 auto;
}
#blog li dl dd .b_photo a{
	width: 100%;
}
#blog li dl dd .b_photo a:nth-child(n+3){
	margin:1em 0 0; 
}
#blog li dl dd .b_photo img{
	max-height: 10em;
	object-fit: cover; /* この一行を追加するだけ！ */
}

/*フッター*/
footer{
	margin: 3em 0 0;
}
#bottom_b{
	flex-direction: column;
}
#bottom_b li{
	width: 100%;
	margin: 0;
}
#bottom_b li:nth-child(n+2){
	width: 100%;
	margin: 1em 0 0;
}

	}


/* smartPhone1 */
@media only screen and (max-width: 499px) {
/*基本設定*/
html{
	font-size: 80%;
	}
	
/*ヘッダー*/
#h_top h1{
	width:240px;
	padding: 0.7em 0;
}
#top_img p {
    font-size: 150%;
}
	
/*メイン*/
h2{
	font-size: 160%;
}
.m_number {
    width: 48px;
}
#machi_wrap {
    padding: 2em 0;
}
#machi ul li {
    margin: 1.5em auto 0;
}
#machi ul li h3 i {
    font-size: 157%;
    margin: 0 0 0 30px;
}
#machi ul li ul li {
    padding: 0.5em 0 0.5em 20px!important;
    background-size: 14px auto;
}
#back_photo span {
    width: 120px;
}
#back_photo ul {
    flex-direction: column;
}
#back_photo ul li {
    width: 100%;
    margin: 0!important;
}
#back_photo ul li:nth-child(n+2) {
    width: 100%;
    margin: 1em 0 0!important;
}
#back_photo {
    width: 100%;
    padding: 1.5em 0 2.5em;
    background-image: none;
}
	
/*フッター*/
address {
    margin: 2em 0 0;
}
}
@media only screen and (max-width: 499px) and (min-width: 400px) {
/*ヘッダー*/
#top_img p {
    font-size: 260%;
}
}
@media only screen and (max-width: 399px) and (min-width: 360px) {
/*ヘッダー*/
#top_img p {
    font-size: 220%;
}
}