@charset 'UTF-8';

/*

    Base

*/

/*  color  */
:root {
	--main-color: #3d789a;
	--accent-color: #000000;
	--link-color: #3d789a;
	--bg-color: #f7f6f0;
	--warning-color: #DC143C;
	--success-color: #333366;
}

/*  webkit  */
body {
	-webkit-text-size-adjust: 100%;
}
a {
	-webkit-tap-highlight-color: rgba(255,255,255,0.4);
}
img {
	-webkit-touch-callout: none;
}
input[type=password], input[type=text], button, textarea {
	max-width: 100%;
	-webkit-appearance: none;
	border-radius: 0;
}

/*  font  */
html { font-size: 8px;}
@media screen and (min-width: 768px) { html { font-size: 10px;}}
body {
	font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	color: #333333;
}
a {
	color: var(--link-color);
	transition: all 0.1s linear;
}
a:hover   { opacity: 0.7;}
p {
	line-height: 2;
	font-feature-settings: "palt";
}

/*  size color  */
body { font-size: 1.4rem;}
h1 { font-size: 3.8rem;}
h2 { font-size: 2.4rem;}
h3 { font-size: 2.0rem;}

/*  common  */
.global {
	font-family: 'Noto Serif JP', serif;
}
.global ul,
.global li,
.global p {
	margin: 0;
	list-style: none;
	line-height: 1;
}
.global a {
	text-decoration: none;
	color: inherit;
}
div.wrapper {
	margin: 0 20px;
}
@media screen and (min-width: 768px) {
	div.wrapper {
		max-width: 1020px;
		margin: 0 auto;
	}
	div.wrapper.narrow {
		max-width: 640px;
	}
}

/*  max width  */
body img,
body iframe {
	max-width: 100%;
}

/*  placeholder  */
::placeholder {
	font-size: 1.4rem;
	color: #999999;
}

/*  material icons  */
.material-icons {
	margin-right: 0.25em;
	font-size: 1.25em;
	vertical-align: middle;
}

/*  container  */
div.container {
	margin: 1em;
}
@media screen and (min-width: 768px) {
	div.container {
		max-width: 1160px;
		margin: 0 auto;
		padding: 0 20px;
	}
	div.container.narrow {
		max-width: 960px;
	}
	div.container.thin {
		max-width: 720px;
	}
}





/*

    Header

*/

/*  layout  */
header.global {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	border-bottom: 1px rgba(255,255,255,0.5) solid;
}

/*  logo  */
header.global a.sitetop {
	display: block;
}
header.global a.sitetop h1 {
	margin: 0;
	padding: 0;
}
header.global a.sitetop h1 img {
	display: block;
	height: 60px;
	margin: 0 auto;
}
@media screen and (min-width: 768px) {
	header.global a.sitetop h1 img {
		height: 80px;
		margin: 0;
	}
}





/*

    Contact

*/

/*  layout  */
#contact {
	position: fixed;
	left: 20px;
	bottom: 20px;
	display: flex;
}
#contact.stop {
	bottom: 50px;
}
@media screen and (min-width: 768px) {
	#contact {
		left: 50px;
		bottom: 40px;
	}
	#contact.stop {
		bottom: 110px;
	}
}

/*  button  */
#contact a {
	display: flex;
	align-items: center;
	margin-right: 15px;
	padding: 0.5em 1em;
	background: #5B99BD;
	background: linear-gradient(90deg,rgba(91, 153, 189, 1) 0%, rgba(61, 120, 154, 1) 100%);
	color: #ffffff;
	font-family: sans-serif;
	z-index: 998;
}
#contact a img {
	width: 16px;
	margin-right: 0.5em;
}






/*

    Footer

*/

/*  layout  */
footer.global {
	padding: 10px;
	background-color: var(--main-color);
	color: #ffffff;
}
@media screen and (min-width: 768px) {
	footer.global div.container {
		display: flex;
		justify-content: space-between;
		flex-direction: row-reverse;
		padding: 50px;
		max-width: none;
		margin: 0;
	}
	footer.global div.container {
		div.schedule {
			width: 40%;
		}
	}
}

/*  schedule  */
footer.global div.schedule {
	padding: 1em;
	background-color: #ffffff;
	border-radius: 5px;
	color: var(--main-color);
}
footer.global div.schedule table {
	width: 100%;
}
footer.global div.schedule table th,
footer.global div.schedule table td {
	border: none;
	background: none;
	text-align: center;
}
footer.global div.schedule table th {
	border-bottom: 1px #eeeeee solid;
	font-size: 2.0rem;
	font-weight: 300;
}
footer.global div.schedule table td {
	font-family: sans-serif;
}
footer.global div.schedule table tr *:first-child {
	font-family: 'Noto Serif JP', serif;
	text-align: left;
}
footer.global div.schedule table td span {
	font-size: 1.0rem;
}
footer.global div.schedule div.note {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.5em;
}
footer.global div.schedule div.note p.reservation {
	padding: 0.25em 0.75em;
	border: 1px var(--main-color) solid;
}
footer.global div.schedule div.note p.note {
	font-size: 1.2rem;
}
@media screen and (min-width: 768px) {
	footer.global div.schedule {
		padding: 1.5em 2em 2em;
	}
}

/*  about  */
footer.global p.about {
	margin: 2.5em 0 2em;
	padding-bottom: 40px;
	line-height: 1.75;
}
footer.global p.about img {
	display: inline-block;
	width: 210px;
}
@media screen and (min-width: 768px) {
	footer.global p.about {
		margin: 0;
	}
	footer.global p.about img {
		width: auto;
		height: 45px;
		margin-bottom: 0.5em;
	}
}

/*  small  */
footer.global small {
	display: block;
	margin: 0 -10px -10px;
	padding: 0.75em;
	background-color: #ffffff;
	color: #666666;
	text-align: center;
	font-size: 1.3rem;
}
@media screen and (min-width: 768px) {
	footer.global small {
		padding: 1.5em;
	}
}





/*

    Main visual

*/

/*  layout  */
section.main {
	display: flex;
	align-items: flex-end;
	height: 50vh;
	padding: 60px 20px 20px;
	background-image: url('../images/main.jpg');
	background-position: center center;
	background-size: cover;
	color: #ffffff;
	box-sizing: border-box;
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
}
section.main h2 {
	font-size: 2.8rem;
}
section.main p {
	margin: 1.5em 0;
	font-size: 2.2rem;
	line-height: 1.75;
}
section.main p.sub {
	margin: 0;
	font-size: 1.6rem;
}
section.main ul {
	display: flex;
	justify-content: center;
	margin: 0;
	border-top: 1px rgba(255,255,255,0.5) solid;
	border-bottom: 1px rgba(255,255,255,0.5) solid;
	border-right: 1px rgba(255,255,255,0.5) solid;
}
section.main ul li {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 1em;
	list-style: none;
	border-left: 1px rgba(255,255,255,0.5) solid;
	text-align: center;
}
@media screen and (min-width: 768px) {
	section.main {
		height: 100vh;
		padding: 80px 60px 60px;
	}
	section.main br.adjust {
		display: none;
	}
	section.main h2 {
		font-size: 3.0rem;
	}
	section.main p {
		margin: 2em 0;
		font-size: 2.4rem;
	}
	section.main p.sub {
		font-size: 1.8rem;
	}
	section.main ul li {
		width: auto;
		padding: 1em 2em;
	}
}





/*

    Progress

*/

/*  layout  */
section.progress {
	margin: 3em 0;
	text-align: center;
}
section.progress img {
	width: 210px;
}
@media screen and (min-width: 768px) {
	section.progress {
		margin: 5em 0;
	}
	section.progress img {
		width: 250px;
	}
}





/*

    Greetings

*/

/*  layout  */
section.greetings {
	position: relative;
	margin: 3em 0;
	padding: 3em 0;
	background-color: var(--bg-color);
	z-index: -2;
}
@media screen and (min-width: 768px) {
	section.greetings {
		margin: 60px 0;
		padding: 30px 0 90px;
	}
}

/*  headings  */
section.greetings h2 {
	text-align: center;
	color: var(--main-color);
	font-family: 'Noto Serif JP', serif;
	font-weight: 300;
	font-size: 3.0rem;
}
section.greetings h2:after {
	content: '';
	display: block;
	width: 70px;
	margin: 0.5em auto 2em;
	border-bottom: 1px var(--main-color) solid;
}

/*  doctor  */
section.greetings div.doctor {
	padding-top: 2em;
}
section.greetings div.doctor img {
	display: block;
	width: 240px;
	margin: 0 auto;
	box-shadow: 15px 15px 0px 0px rgba(0, 0, 0, 0.05);
}
section.greetings div.doctor div.message {
	position: relative;
	margin: 3em 0 0;
	padding: 0 1em 0 2em;
}
section.greetings div.doctor div.message:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: -5%;
	width: 120%;
	height: 108%;
	background-color: #ffffff;
	z-index: -1;
}
section.greetings div.doctor div.message p.name {
	font-size: 2.4rem;
}
@media screen and (min-width: 768px) {
	section.greetings div.doctor {
		display: flex;
		align-items: flex-start;
		margin-top: 90px;
	}
	section.greetings div.doctor:first-of-type {
		margin-top: 60px;
	}
	section.greetings div.doctor img {
		width: 320px;
	}
	section.greetings div.doctor div.message {
		margin: 0;
		padding: 0 1em 0 5em;
	}
	section.greetings div.doctor div.message:before {
		top: -40px;
		left: -180px;
		width: calc(100% + 210px);
		height: calc(100% + 60px);
	}
}





/*

    Attention

*/

/*  layout  */
section.attention {
	margin: 3em 0;
	text-align: center;
}
section.attention div.frame {
	padding: 2em;
	border: 1px var(--main-color) solid;
	border-radius: 5px;
}
@media screen and (min-width: 768px) {
	section.attention div.frame {
		margin: 60px 0;
		padding: 3em 4em;
	}
}

/*  font  */
section.attention h2 {
	color: var(--main-color);
	font-family: 'Noto Serif JP', serif;
	font-weight: 300;
	font-size: 3.0rem;
}
section.attention p.sub {
	margin-top: 0;
	font-family: 'Noto Serif JP', serif;
	font-weight: 300;
	font-size: 2.0rem;
	color: #666666;
}
section.attention p.sub strong {
	margin: 0 0.25em;
	font-size: 3.0rem;
	font-weight: 300;
	color: #666666;
}
section.attention p strong {
	color: var(--main-color);
}
@media screen and (min-width: 768px) {
	section.attention p {
		margin: 2em 0;
	}
}
