@charset "UTF-8";
body, a {
	color: #515151;
}
a:hover {
	opacity: 0.7;
}
h1 {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
		"ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
	color: #FFF;
	font-size: 3rem;
	letter-spacing: 0.2rem;
	/*text-shadow: 0 0 5px rgba(31,50,53,0.8), 0 0 5px rgba(31, 50, 53, 0.3);*/
	margin: 0;
}
h2 {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
		"ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
	font-size: 2.6rem;
	letter-spacing: 0.2rem;
}
.contentWrapper {
	width: 70%;
	margin: 0 auto;
	text-align: center;
	padding: 2rem 0;
}

/** header **/
.contents-fix {
	max-width: 1020px;
	margin: 0 auto;
	padding: 0 20px;
}
.header {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
}
.header-logo {
	margin: 0;
	font-size: 2em;
	line-height: 1;
}
.header-logo img {
	display: block;
	width: 6em;
	height: 100%;
}
.nav-menu {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	font-size: 1rem;
}
.nav-menu-item + .nav-menu-item {
	margin-left: 2em;
}
.nav-menu-item a {
	color: #333;
	font-weight: bold;
}
.nav-menu-item .btn_highlighted {
	color: white;
}
.hamburger-btn {
	display: none;
}
/*header {
	background-image: url("../images/mainv.jpg");
	height: 150px;
	background-size: cover;
	background-repeat: no-repeat;
}
header a {
	color: #FFF;
	font-weight: bold;
	text-shadow: 0 0 20px rgba(0,0,0,0.6);
}
header ul {
	display: flex;
	margin: 0;
	padding: 20px;
}
header li {
	padding: 0 15px;
}
header .contentWrapper {
	padding-top: 10rem;
}*/
.title {
	margin-bottom: 2rem;
    padding: 30px;
	background: #FED333;
}
.title h1 {
	/*margin: 0;*/
    line-height: 1;
	text-align: center;
	font-size: 2rem;
	color: #0d0015;
}

/*****************当院についてページ*****************/
#point h2 {
	font-size: 26px;
	text-align: center;
}
.under {
	background: linear-gradient(transparent 70%, #FED333 70%);
}
.under2 {
	/*border-bottom: dashed 3px #FED333;*/
	background: #ffffff;
}
#point {
	text-align: center;
}
#point .contentWrapper {
	padding-bottom: 0;
}
#point h3 {
	font-size: 18px;
	line-height: 2rem;
  	color: #0d0015; /*ここから下を追加*/
  	text-shadow: 0 0 5px white;
  	padding: 0.3em 0.5em;
  	background: -webkit-repeating-linear-gradient(-45deg, #FFE584, #FFE584 3px,#FFFAEA 3px, #FFFAEA 7px);
  	background: repeating-linear-gradient(-45deg, #FFE584, #FFE584 3px,#FFFAEA 3px, #FFFAEA 7px);
}
#point p {
	line-height: 1.5rem;
	margin-bottom: 0;
	padding-bottom: 10px;
}

#threepoint .contentWrapper {
	padding-top: 0;
}
#threepoint h3 {
	margin: 15px 15px;
	line-height: 1.5rem;
}
.fa-list {
	color: #FED333;
}
#threepoint img {
	width: 90%;
	border-radius: 5px;
	border: 1px solid #a9a9a9;
}
#threepoint .grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-top: 6%;
	/*margin-bottom: 20px;*/
}
#threepoint p {
	line-height: 1.5rem;
	/*letter-spacing: 0.2rem;*/
	margin: 0 15px; /*元々はなし*/
	font-size: 16px; /*1.5rem*/
	text-align: justify;
}
.fa-check-square {
	color: #FED333;
}
#open h3 {
	width: 45%;
	position: relative;
  	background: #FED333;
  	box-shadow: 0px 0px 0px 5px #FED333;
  	border: dashed 2px white;
  	padding: 0.2em 0.5em;
  	color: #454545;
}
#open h3:after {
  	position: absolute;
  	content: '';
  	left: -7px;
  	top: -7px;
  	border-width: 0 0 15px 15px;
  	border-style: solid;
  	border-color: #fff #fff #FED333;
  	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}
.director {
	display: flex;
	text-align: left;
}
.director p {
	padding-left: 20px;
	margin-top: 0;
}
#open img {
	display: block;
	width: 24%;
	height: 10%;
	margin-bottom: 20px;
	border-radius: 5px;
	border: 1px solid #a9a9a9;
}
#open p {
	line-height: 1.5rem;
}


/*****************当院についてページここまで*****************/

/** footer **/
#upperFooter {
	margin-top: 0; /*50px*/
	background-color: #FED333;  /*#dfdfdf*/
}
#bottomFooter {
	background-color: #343434;
	text-align: center;
}
#upperFooter li {
	flex-grow: 1;
	flex-basis: auto;
}
footer nav {
	width: 70%;
	margin: 0 auto;
}
footer p,footer h2 {
	margin: 0;
}
small {
	color: #FFF;
	font-weight: bold;
	padding: 20px;
	display: block;
}

.flex {
	display: flex;
}
.clearfix::after {
	display: block;
	content: "";
	clear: both;
}

/* ここから上がPC向けCSS */
@media screen and (max-width: 480px) {
/*この中がスマートフォン向けCSS*/
	/*** common setting ***/
	.contentWrapper {
		width: 90%;
		padding: 1rem 0;
	}
	.title {
		font-size: 1.3rem;
		margin-bottom: 0;
	}
	.title h1 {
		font-size: 1.3rem;
	}
	h1 {
		font-size: 1.3rem;
	}
	h2 {
		font-size: 1.3rem;
	}
	/** header **/
	.contents-fix {
		width: auto;
		padding: 0 1rem;
	}
	
	.header {
		padding-top: 1.5em;
		padding-bottom: 1.5em;
	}
	header .contentWrapper {
		width: 100%;
		padding-top: 2rem;
	}
	header .contentWrapper p {
		font-size: 0.75rem;
	}
	.nav-menu {
		position: fixed;
		top: 0;
		left: -100%;
		bottom: 0;
		z-index: 1000;
		display: block;
		width: 70%;
		padding: 1rem;
		background-color: #fff;
		transition: left 0.3s ease-out 0s;
	}
	.nav-menu-item + .nav-menu-item {
		margin-left: 0;
	}
	.nav-menu-item a:not(.btn) {
		display: block;
		padding: 0.7rem;
	}
/*	.nav-menu-item:last-child {
		margin-top: 0.7rem;
	}*/
	.nav-menu.is-active {
		left: 0;
	}
	.header-menu-background {
		display: block;
    	background-color: #333;
		z-index: 998;
    	opacity: 0;
    	transition: opacity 0.3s ease-out 0s;
	}
	.nav-menu.is-active + .header-menu-background {
    	position: fixed;
    	top: 0;
    	right: 0;
		width: 100%;
    	height: 100%;
		opacity: 0.7;
	}
	.nav-menu.is-active + .header-menu-background + .hamburger-btn {
		color: #fff;
	}
	.hamburger-btn {
		position: relative;
		display: block;
		font-size: 1.5rem; /*2.5rem*/
		z-index: 999;
		background-color: #FED333; /*ハンバーガーバックカラー*/
		color: #FFFFFF;
		padding: 5px; /*周りの余白*/
	}
	
	/** 当院についてページ **/
	#point h2 {
		font-size: 1.2rem;
	}
	#point h3 {
		font-size: 0.9rem;
		line-height: 1.5rem;
	}
	#point p {
		font-size: 0.9rem;
		line-height: 1.5rem;
		text-align: justify;
	}
	#threepoint h3 {
		font-size: 0.9rem;
	}
	#threepoint .grid {
		grid-gap: 45px;
	}
	#threepoint .grid p {
		font-size: 0.9rem;
		text-align: justify;
	}
	#open h3 {
		width: 90%;
	}
	#open p {
		text-align: left;
		font-size: 0.9rem;
	}
	#open img {
		width: 85%;
		margin: 0 auto 20px;
	}
	.director {
		flex-direction: column;
	}
	.director p {
		padding: 0;
	}
	/** 施設紹介ページここまで **/


	
	/** footer **/
	#upperFooter .contentWrapper,footer nav {
		width: 100%;
	}
	#upperFooter li {
		flex-grow: 1;
		flex-basis: auto;
		border-bottom: 1px solid #c0c0c0;
		padding: 1rem 0;
	}
	#upperFooter li:first-child {
		border-top: 1px solid #c0c0c0;
	}
	
	.flex {
		display: block;
	}
}



