@charset 'utf-8';

@font-face {
	font-family: 'Noto Serif JP';
	src: url('fonts/NotoSerifJP-Regular.off') format("off");
	font-display: swap;
}

/* ---------------------------------
	0. Reset
--------------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, blockquote,
pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small,
strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label,
input, select, textarea, button, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, figcaption, figure, footer,
header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-style: normal;
	font-weight: inherit;
	vertical-align: baseline;
	background: transparent;
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	font-size: 16px;
	line-height: 1;
}

article, aside, details, figcaption, figure, picture,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ul, ol {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input, button, textarea, select {
	font-family: inherit;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

label, button {
	cursor: pointer;
	user-select: none;
}

/* ---------------------------------
	1. Common CSS
--------------------------------- */
:root {
	--color-text: #161628;
	--color-line: linear-gradient(#3cba92, #0ba360);
	--color-web: linear-gradient(#ff7eb3, #ff758c);
	--font-mincho: 'Noto Serif JP', serif;
}

body {
	color: var(--color-text);
	font-family: var(--font-mincho), serif;
	background: #fffdf6;
}

a {
	display: inline-block;
	color: inherit;
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	opacity: 0.6;
}

p {
	line-height: 1.5;
}

::placeholder {
	color: #d3d3d3;
}

img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: block;
}

@media (max-width: 640px) {

	body {
		font-size: 14px;
	}

}

/* ---------------------------------
	2. Parts CSS
--------------------------------- */

/* pc-view */

.pc-view {
	width: 100%;
	height: 100vh;
	display: flex;
	position: fixed;
	z-index: 0;
}

.pc-left,
.pc-right {
	width: calc((100% - 640px) / 2);
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.pc-center {
	max-width: 640px;
	width: 100%;
}

.pc-left img {
	max-width: 200px;
	width: 100%;
}

.pc-right img {
	max-width: 160px;
	width: 100%;
}

@media (max-width: 1080px) {

	.pc-view {
		display: none;
	}

}

/* main-contents */

.main-contents {
	max-width: 640px;
	width: 100%;
	margin: 0 auto;
	box-shadow: 0 3px 6px rgba(0,0,0,0.18);
	position: relative;
	z-index: 1;
}

.content-cta,
.content-flow,
.content-clinic {
	position: relative;
}

.cv-button {
	width: 100%;
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translateX(-50%);
}

.content-flow .cv-button {
	top: 30%;
}

.tel-button {
	position: absolute;
	bottom: 27%;
	left: 50%;
	transform: translateX(-50%);
	font-size: 1.25em;
	font-weight: bold;
	letter-spacing: 4px;
	text-decoration: underline;
}

.content-flow .tel-button {
	top: 41.25%;
	bottom: initial;
}

.content-clinic .map {
	width: 100%;
	padding: 0 2rem;
	position: absolute;
	top: 22%;
	left: 50%;
	transform: translateX(-50%);
}

.content-clinic .map iframe {
	width: 100%;
	height: 12rem;
}

@media (min-width: 768px) {

	.tel-button {
		font-size: 1.5em;
	}

	.content-clinic .map iframe {
		height: 20rem;
	}

}

/* footer */

.site-footer {
	width: 100%;
	margin-bottom: 3.5rem;
	color: #fff;
	font-size: 10px;
	letter-spacing: 0.5px;
	text-align: center;
	background: #5b4217;
}

.footer-inner {
	padding: 1rem 0;
}

@media (min-width: 768px) {

	.site-footer {
		font-size: 14px;
	}

}

/* fixed-button */

.fixed-cv-wrap {
	width: 100%;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 10;
}

.fixed-cv-button {
	max-width: 640px;
	width: 100%;
	margin: 0 auto;
	box-shadow: 0px -4px 1px -4px rgba(0, 0, 0, 0.5);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.fixed-cv-button a {
	padding: 0.75rem 0.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	letter-spacing: 1px;
	color: #fff;
	font-size: 0.75rem;
}

.fixed-cv-button a:hover {
	opacity: 1;
}

.fixed-line-button {
	background: var(--color-line);
}

.fixed-web-button {
	background: var(--color-web);
}

.fixed-cv-button img {
	width: 2rem;
	margin: 0 1rem;
}

@media (min-width: 768px) {

	.fixed-cv-button a {
		font-size: 1rem;
	}

}