/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
* {
	outline: 1px solid skyblue;
}
*/


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

iframe,
img {
	vertical-align: middle;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	font-size: 62.5%;
}

@font-face {
	font-family: "MyYuGothicM";
	font-weight: normal;
	src: local("Yugothic-Medium"), local("Yu Gothic Medium"), local("YuGothic-Regular");
}

@font-face {
	font-family: "MyYuGothicM";
	font-weight: bold;
	src: local("Yugothic-Bold"), local("Yu Gothic");
}

body {
	-webkit-font-smoothing: subpixel-antialiased;
	font-family: MyYuGothicM, YuGothic, sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	overflow-x: hidden;
	-moz-font-feature-settings: "pkna";
	-webkit-font-feature-settings: "pkna";
	font-feature-settings: "pkna";
	background: #eaeaea;
}

a {
	color: #006b5f;
}

h1 {
	font-size: 2.4rem;
	margin: 0 0 4rem;
	position: relative;
	z-index: 2;
	letter-spacing: 0.1em;
}

h1:before {
	content: "";
	display: block;
	height: 2rem;
	width: 2rem;
	background: #E5CA48;
	position: absolute;
	left: -1rem;
	top: -.3rem;
	z-index: -1;
	transform: rotate(45deg);
}

h2 {
	font-size: 2.1rem;
	margin: 6rem 0 3rem;
	position: relative;
	z-index: 2;
	letter-spacing: 0.1em;
}

h2:before {
	content: "";
	display: block;
	height: 1.6rem;
	width: 1.6rem;
/*	background: #5b90b2;*/
	background: #35b4a6;
	position: absolute;
	left: -.8rem;
	top: -.2rem;
	z-index: -1;
	transform: rotate(45deg);
}


/* --- レイアウト ------------- */

* {
	box-sizing: border-box;
}

.container {
	width: 1120px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

.header {
	width: 240px;
	height: 520px;
	margin-top: 2rem;
}

.main {
	width: 880px;
	line-height: 1.75;
}

.sub {}

article {
	position: relative;
}


/* --- ニュース ------------- */

.news:before {
	
	content: url(/img/sensu-open.svg);
	width: 30px;
	display: inline-block;
	margin-right: 0.5rem;
	transform: translateY(3px);
}


/* --- ヘッダー ------------- */

.header {
	background: #eac40f;
	writing-mode: tb-rl;
	writing-mode: vertical-rl;
	-moz-writing-mode: vertical-rl;
	-o-writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: vertical-rl;
	display: flex;
}

.header-logo {
	background: #fff;
	padding: 4rem 2rem;
	display: flex;
	text-align: center;
}

.header-logo img {
	max-width: 100%;
	margin: 0 auto;
}

.header-nav {
	display: flex;
	flex-wrap: wrap-reverse;
	align-content: space-around;
	width: 100%;
	padding: 4rem;
}

.header-nav a {
	color: #202020;
	font-weight: bold;
	/*	display: block;*/
	padding: 3rem .2em;
	height: 100%;
	text-decoration: none;
	letter-spacing: 0.2em;
	position: relative;
}
/*

.header-nav a:before {
	position: absolute;
	content: url(/img/sensu.svg);
	display: inline-block;
	width: 2rem;
	height: 3rem;
	margin-top: -4rem;
	left: 50%;
	margin-left: -.8rem;
}

.header-nav a.is_active:before,
.no-touchevents .header-nav a:hover:before {
	content: url(/img/sensu-open.svg);
	transform: scale(0.6);
	display: inline-block;
	width: 2rem;
	height: 3rem;
	margin-bottom: 2rem;
	margin-left: 0rem;
}
*/

.no-touchevents .header-nav a:hover {
	text-decoration: underline;
}

.btn {
	background: #006b5f;
	padding: 1rem 2rem;
	border-radius: 2px;
	box-shadow: 0 -4px 0 0 inset rgba(0, 0, 0, .3);
	display: inline-block;
	margin-top: 2rem;
	letter-spacing: 0.1rem;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
}

.btn+.btn {
	margin-left: 1rem;
}

@media screen and (max-device-width: 480px) {
	.btn {
		display: block;
		margin-left: 0 !important;
	}
}


/* --- メイン ------------- */

.main {
	padding: 2rem 0px 40px 64px;
}

.news {
	padding: 40px 0;
}

article {
	background: #fff;
	padding: 64px;
}
article > p:first-child{
	margin-top: 0;
}
article > p:last-child{
	margin-bottom: 0;
}

/* --- サブ ------------- */

.sub {
	padding: 16px 0 40px;
}

.banners {
	display: flex;
	margin: 0 -24px;
}

.banner {
	padding: 0 24px;
}

.banner img {
	width: 100%;
}


/* --- フッター ------------- */

.footer {
	text-align: center;
	padding: 16px 0 40px;
	background: #546172;
	color: #fff;
}


/* --- 各ページ固有のレイアウト ------------- */


/*top トップページ*/

.main-image {
	width: 920px;
	margin-left: -50px;
	z-index: -1;
	position: relative;
	margin-bottom: 40px;
	z-index: 1;
}


/*
.top .header {
	position: relative;
	z-index: 2;
}
*/

.top .main-image {
	z-index: -1;
	position: relative;
}


/*about 梶原いろは亭について*/

.about-layout img {
	margin: 0 -64px;
	width: 820px;
}
.about-intro-logo{
	float:right; 
	margin:-1em 0 1em 1em;
	max-width: 60%;
}

.logos {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -24px;
}

.logos .banner {
	width: 33.333%;
	margin-bottom: 40px;
}


/*access 地図*/

.access-map {
	display: flex;
}

.access-mapimage {
	padding-left: 40px;
	text-align: right;
}

.access-mapimage img {
	/*	margin: -64px 0 0 -64px;*/
}


/*program 番組*/

.program table {
	border: 2px solid #565656;
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

.program caption {
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 2rem;
/*	color: #144e9a;*/
	color: #006b5f;
}

.program td,
.program th {
	border-bottom: 1px solid #aaa;
	text-align: left;
	padding: 0.5rem;
}

.program th {
	white-space: nowrap;
	border-right: 1px solid #ddd;
}

.program td {
	line-height: 1.3;
}

.program th[colspan] {
/*	background: #daebf5;*/
	background: #e1f4f1;
	text-align: center;
}

.program-weekend {
	display: flex;
	margin: 0 -1rem;
	flex-wrap: wrap;
}

.program-weekend>div {
	width: 33.333%;
	padding: 0 1rem;
}

.program-weekend>div:nth-of-type(n + 4) {
	margin-top: 4rem;
}

.program strong {
	color: #ff6c00;
}

.anchor {
	float: right;
	font-size: 0.7em;
	margin-top: .6em;
}


/*contact お問い合わせ*/

.contact-tel {
	padding: 2rem;
	background: #f0f0f0;
}

.contact-tel small {
	font-size: 1.6rem;
}

.contact-tel-num {
	font-size: 2.6rem;
}
.contact iframe{
	width: 100% !important;
/*	height: auto !important;*/
}

/* ==========================================================================
   media query
   ========================================================================== */

.hidden_large {
	display: none !important;
}

@media screen and (max-device-width: 900px) {
	.hidden_middle {
		display: none !important;
	}
}

@media screen and (max-device-width: 480px) {
	.hidden_small {
		display: none !important;
	}
}

@media screen and (max-device-width: 900px) {
	img {
		max-width: 100%;
		height: auto !important;
		margin-top: 0 !Important;
		margin-left: 0 !Important;
	}
	.header {
		height: auto;
		width: calc(100% + 32px);
		writing-mode: inherit;
		-moz-writing-mode: inherit;
		-o-writing-mode: inherit;
		-webkit-writing-mode: inherit;
		-ms-writing-mode: inherit;
		margin: 0 -16px !Important;
		
	}
	.header-nav a:nth-of-type(2),.header-nav a:nth-of-type(5) {
		background: rgba(0, 0, 0, .06);
	}
	
	.header-logo {
		height: auto;
		width: auto;
		text-align: center;
		padding-top: 0;
		padding-bottom: 0;
	}
/*
	.header-nav {
		flex-flow: wrap;
		padding: 2rem;
	}
	.header-nav a {
		height: auto;
		padding: .2em .2em;
		width: 50%;
	}
*/
	.header-nav {
		padding: 0;
		flex-flow: wrap;
	}
	.header-nav a {
		width: 50%;
		padding: 1em;
		height: auto;
	}
	.main {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	.container {
		width: 100%;
		padding-left: 16px;
		padding-right: 16px;
	}
	article {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	.banners {
		margin: 0 -16px;
	}
}

@media screen and (max-device-width: 680px) {
	.program-weekend,
	.logos {
		flex-wrap: wrap;
	}
	.program-weekend>div,
	.logos>a {
		width: 50% !important;
		margin-bottom: 32px;
	}
	.access-map{
		flex-wrap: wrap-reverse;
	}
	.access-mapimage{
		padding: 0;
		margin-bottom: 40px;
	}
	.access-mapimage img{
		width: 100%;
	}
	.banners {
		flex-wrap: wrap;
	}
	.banners .banner {
		width: 50%;
		margin-bottom: 2rem;
	}
}

@media screen and (max-device-width: 480px) {
	html {
		font-size: 54%;
	}
	.news{
		text-align:center;
	}
	.header {flex-wrap: wrap;}
	
	
	.header-logo{
		width: 100%;
		height: 80px;
	}
	.header-logo img{
		width: 120px;
	}
	.main{
		padding-top: 0;
	}
	article {
		padding: 24px !important;
	}
	.main-image{
		margin: 0 -24px 24px !Important;
		width: calc(100% + 48px);
		max-width: none;
	}
	.about-intro-logo{
		width: 100%;
		max-width: none;
	}
	.about-layout img{
		margin: 0 -24px !important;
		width: calc(100% + 24px *2);
		max-width: none;
	}
	.access-mapimage{
		margin-right: -24px;
		margin-left: -24px;
	}
	.access-mapimage .btn{
		margin-right: 24px;
		margin-left: 24px !important;
	}
	.program-weekend,
	.logos {
		flex-direction: column;
	}
	.program-weekend>div,
	.logos>a {
		width: 100% !important;
		margin-bottom: 32px;
	}
	
	.contact iframe{
		margin: 0 -25px !important;
		width: calc(100% + 50px) !important;
		height: 1400px;
	}
	
}


/* ==========================================================================
   print
   ========================================================================== */

@media print {
	body {
		background: #fff;
	}
	.hidden_print{
		display: none;
	}
	.main,
	.container {
		width: 100%;
		padding: 0 !important;
		margin-left: 0 !important;
	}
	article{
		padding: 0 !Important;
	}
	.header-nav,
	.footer {
		display: none;
	}
	.header{
		background: #fff;
		height: auto !Important;
	}
	.header-logo{
		padding: 0 !important;
	}
	h1:before,h2:before{
		content: none;
	}
	.btn{
		display: none;
	}
	.main-image{
		margin-left: 0 !important;
	}
	.access-map{
		flex-flow: column-reverse;
	}
	.access-map > *{
		width: 100% !important;
/*		text-align: center;*/
	}
	.access-mapimage{
		padding-left: 0 !Important;
		margin-bottom: 20px;
	}
	.access-mapimage img{
		width: 100%;
		margin-left: 0 !Important;
	}
}
