 @charset "UTF-8";
/* 共通部分     */
 html {
     font-size: 100%;
 }
 body{
     font-family: "Yu Gothic Medium", "游ゴッシク Medium", YuGothic, "游ゴシック体", 
	 "ヒラギノ角ゴ Pro W3" , sans-serif;
	 line-height: 1.7;
	    color: #432;
 }
 /*カーソルがボタンの上に来たとき色が青に変わる*/
.button:hover {
	background: #0090aa;
}
/*リンクの下線を入れない*/
 a { 
   text-decoration: none;
 }
/*画像が親要素より大きくなることを防*/
 img{
      max-width: 100%;
 }  

.logo {
	width: 210px;
	margin-top: 14px;
}

/*HEADER ロゴ横並びマージ設定  */
.main-nav {
display: flex;
font-size: 1.25rem;
text-transform: uppercase;
margin-top: 34px;
list-style: none;	 
}

.main-nav li {
	margin-left: 36px;
}

.main-nav a {
	color: #432;
}

/*りんくカーソル合わせると青に変わる */
.main-nav a:hover {
color: #0bd;
} 
/*横並びにして左右端っこ  */
.page-header {
	display: flex;
	justify-content: space-between;
}

.wrapper{
max-width: 1100px;
margin: 0 auto;
padding: 0 4%;
}
/*HOME   */
.home-content {
   text-align: center;
   margin-top: 10%;
   }
.home-content p {
   font-size: 1.125rem;
   margin: 10px 0 42px; 
   }
/*見出し*/
.page-title {
    font-size: 5rem;
    font-family: 'Philosopher',serif;
	text-transform: uppercase;
	font-weight: normal;
}
/*ボタン*/
.button {
	font-size: 1.375rem;
	background: #0bd;
	color: #fff;
	border-radius: 5px;
	padding: 18px 32px;
}
/*大きなｋ背景画像*/
.big-bg {
	background-size: cover;
	background-position: center top;
}
#home {
	background-image: url(../pic/main-bg.jpg);
	min-height: 100vh;
}
#home .page-title {
	text-transform: none;
}

/* NEWS ------------------ */
#news {
	background-image: url(../pic/news-bg.jpg);
	height: 270px;
	margin-bottom: 40px;
}
#news .page-title {
	text-align: center;
}
/*ふったー------------*/
footer {
	background: #432;
	text-align: center;
	padding: 26px 0;
}
footer p {
	color: #fff;
	font-size: 0.875rem;
}
/*記事部分*/
article{
	width: 74%;
}

/*サイドバー*/
aside{
	width: 22%;
}
.news-contents{
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}

.post-info{
	position: relative;
	padding-top: 4px;
	margin-bottom: 40px;
}

.post-date{
	background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}

.post-date span {
	font-size: 1rem;
	border-top: 1px rgba(255, 255, 255, .5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title{
	font-family: "Yu Mincho", "YuMincho",serif;
	font-size: 2rem;
	font-weight: normal;
}
.post-title,
.post-cat{
	margin-left: 120px;
}

article img{
	margin-bottom: 20px;
}
article p{
	margin-bottom: 1rem;
}
.sub-title{
	font-size: 1.375rem;
	padding: 0 8px 8px 8px;
	border-bottom: 2px #0bd solid;
    font-weight: normal;
}
aside p{
	padding: 12px 10px;
}
.sub-menu{
	margin-bottom: 60px;
	list-style: none;
}
.sub-menu li{
	border-bottom: 1px #ddd solid;
}
.sub-menu a{
	color: #432;
	padding: 10px;
	display: block;
}
.sub-menu a:hover{
	color: #0bd;
}

.tamo {
	background-color: #0df;
	border-style: solid;
}	
	  
.tamoside {
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}
.tamohidari {
	width: 75%;
}
.tamomigi {
	width: 20%;
}
.tamonabiyoko
{
	display: flex;
	font-size: 1.25rem;
	text-transform: uppercase;
	margin-top: 34px;
	list-style: none;
}
.tamonabiyoko li{
	margin-left: 36px;
}
.tamo-header{
	display: flex;
	justify-content: space-between;
	
}
.tamo-wrapper{
	max-width: 11oopx;
	margin: 0 auto;
	padding: 0 4%;
}
#wadai{
    background-image: url(../pic/news-bg.jpg);
	height: 270px;
	margin-bottom: 40px;
}
#wadai .page-title{
	text-align: center;
}
article{
	width: 60%;
	order: 2;
}	
aside{
	width: 22%;
	order: 3;
}
ad {
	order: 3;
}
/*menu
--------------------------------*/
#menu{
	background-image: url(../pic/menu-bg.jpg);
	min-height: 100vh;
}
.menu-content{
	max-width: 560px;
	margin-top: 10%;
}
.menu-content .page-title{
	text-align: center;
}
.menu-content p {
	font-size: 1.125rem;
	margin: 10px 0 0;
}

.grid{
	display: grid;
	gap: 26px;
	grid-template-columns:repeat(auto-fit, minmax(248px,1fr))/*1fr 1fr 1fr*/;
	margin-top: 6%;
	margin-bottom: 50px;
}

.big-box{
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}                         
.big-box img{
	height: 94%;
	width: 100%;
	object-fit: cover;
}


/*モバイル版------------------*/

@media (max-width: 600px) {
    .page-title {
        font-size: 2.5rem;
    }

    /* HEADER */
    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
    }
    .main-nav li {
        margin: 0 20px;
    }

    /* HOME */
    .home-content {
        margin-top: 20%;
    }
	.page-header{
		flex-direction: column;
		align-items: center;
	}
/*news*/
	.news-contents{
		flex-direction: column;
	}
	article,
	aside{
		width: 100%;
	
	}
	#news .page-title{
		margin-top: 30px;
    }
	aside{
		margin-top: 60px;
	}
	.post-info{
		margin-bottom: 30px;
	}
	.post-date{
		width: 70px;
		height: 70px;
        font-size: 1rem;
	}
	.post-date span{
		font-size: 0.875rem;
		padding-top: 2px;
	}
	.post-title{
		font-size: 1.375rem;
	}
	.post-cat{
		font-size: 0.875rem;
		margin-top: 10px;
	}
	.post-title,
	.post-cat{
		margin-left: 80px;
	}
	
	/*menu*/
	.menu-content{
		margin-top: 20%;
	}
	.big-box{
		grid-column: auto;
		grid-row: auto;
	}
	.big-box img{
		height: auto;
    }	
	
	

}	
