@charset 'utf-8';

/* ---------------------------------
	Index
	0. Reset CSS
	1. Common CSS
	2. Parts CSS
	3. Header
	4. Footer
	5. Global Menu
	6. Reservation
	7. Post & Page
--------------------------------- */

/* ---------------------------------
	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;
}

summary {
	display: block;
	list-style: none;
	cursor: pointer;
}

summary::-webkit-details-marker {
	display:none;
}

/* ---------------------------------
	1. Common CSS
--------------------------------- */

:root {
	--color-main:#333;
	--color-accent: #928050;
	--color-white: #fff;
	--color-light: #dfc7a0;
	--color-dark: #ede9e6;
	--color-text: #333;
	--color-background: #333;
	--color-logo: #fff;
	--font-gothic: 'Noto Sans JP';
	--font-mincho: 'Noto Serif JP';
	--font-english: 'Frank Ruhl Libre';
}

body {
	color: var(--color-text);
	font-family: var(--font-english), var(--font-mincho), serif;
	font-weight: lighter;
}

body::before {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	content: '';
	display: block;
	background: rgba(0, 0, 0, 0.8);
}

body::after {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -2;
	content: '';
	display: block;
	background: url('/wp-content/themes/liki-clinic/image/common/background.jpg') center center / cover no-repeat;
}

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

p {
	line-height: 1.5;
}

::placeholder {
	color: var(--color-background);
}

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

.content {
	position: relative;
	overflow-x: hidden;
	background: var(--color-white);
}

.content-background {
	background: var(--color-background);
}

.content-transparent {
	background: transparent;
}

.content-transparent::after {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	content: '';
	display: block;
	background: rgba(51, 51, 51, 0.25);
}

.content-columns {
	display: grid;
	gap: 1rem;
}

.content-block:not(:last-child) {
	margin-bottom: 5rem;
}

.text-link {
	color: var(--color-accent);
	text-decoration: underline;
}

/* Inner */

.content-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 10rem 0;
}

.content-inner-full {
	max-width: none;
}

.content-inner-small {
	padding: 5rem 0;
}

/* Headline */

.content-headline {
	margin-bottom: 5rem;
	position: relative;
	text-align: center;
	line-height: 1.5;
}

.content-headline::before {
	content: attr(data-title);
	display: block;
	font-size: 2rem;
	letter-spacing: 2.5px;
	color: var(--color-accent);
}

.content-headline em {
	font-family: var(--font-gothic);
}

/*
.content-headline-medium {
	margin-bottom: 1rem;
	font-size: 1.25em;
	line-height: 1.5;
}

.content-headline-medium span {
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--color-accent);
	display: inline-block;
}
*/
/* Button */
.content-button-small {
	width: 100%;
	padding: 0 8rem;
}

.content-button {
	width: calc(100% - 1rem);
	margin: 0 auto;
	padding: 1rem;
	border: 1px solid var(--color-background);
	position: relative;
	display: block;
	overflow: hidden;
	transition: all 0.3s;
	color: var(--color-white);
	text-align: center;
	line-height: 1.5;
	background: var(--color-background);
}

.content-button span {
	position: relative;
	z-index: 2;
	font-family: var(--font-gothic);
}

.content-button::before {
	width: 150%;
	height: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	transition: all 0.3s;
	transform: translateX(100%) translateY(-50%) skew(-45deg);
	content: '';
	display: block;
	background: var(--color-white);
}

.content-button::after {
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	border: 2px solid var(--color-background);
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.2s;
	content: '';
	display: block;
	background: transparent;
}

.content-button i {
	margin-right: 0.5rem;
	font-size: 1.5em;
}

.content-button svg {
	width: 1.5rem;
	height: 1.5rem;
	margin-right: 0.5rem;
	transition: fill 0.25s;
}

.content-button:hover {
	color: var(--color-text);
}

.content-button:hover::before {
	transform: translateX(0%) translateY(-50%) skew(-45deg);
}

.content-button:hover::after {
	border: 2px solid var(--color-white);
}

.content-button:hover svg {
	fill: var(--color-white);
}

/* Breadcrumbs */
.breadcrumbs {
	background: var(--color-background);
	color: var(--color-white);
}

.breadcrumbs ol {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0.25rem 0;
	overflow-x: auto;
	font-size: 0.8em;
	white-space: nowrap;
}

.breadcrumbs li {
	display: inline-block;
	line-height: 1.5;
}

.breadcrumbs li:not(:last-of-type)::after {
	margin-right: 0.5rem;
	content: '>';
}

.breadcrumbs a {
	margin-right: 0.5rem;
	position: relative;
}

/* Accordion */
.js-accordion-trigger {
	cursor: pointer;
}

.js-accordion-target {
	display: none;
}

/* List */
/*
.content-list:not(:last-child) {
	margin-bottom: 1rem;
}

.content-list li {
	padding-left: 1rem;
	position: relative;
	line-height: 1.5;
}

.content-list li::before {
	width: 0.25rem;
	height: 0.25rem;
	position: absolute;
	top: 50%;
	left: 0.25rem;
	transform: translateY(-50%);
	content: '';
	display: block;
	background: var(--color-accent);
}
*/
/* Menu Price Table */
.menu-price:not(:last-child) {
	margin-bottom: 1rem;
}

.menu-price table {
	width: 100%;
	border-bottom: 1px solid var(--color-accent);
	table-layout: fixed;
}

.menu-price tbody tr {
	border-top: 1px solid var(--color-accent);
}

.menu-price th,
.menu-price td {
	padding: 0.5rem 0;
	text-align: center;
	line-height: 1.5;
	vertical-align: middle;
}

.menu-price tbody td:not(:first-child) {
	border-left: 1px solid var(--color-accent);
}

.menu-price small {
	font-size: 0.75em;
}

/* ---------------------------------
	3. Header
--------------------------------- */

.site-header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	background: var(--color-background);
}

.header-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem 0;
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-logo {
	font-size: 10px;
	color: var(--color-white);
}

.header-logo img {
	width: 10rem;
	margin-top: 0.5rem;
	display: block;
    filter: contrast(0) brightness(2);
}

.header-menu-list {
	height: 100%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
}

.header-menu-list > li > a {
	width: 100%;
	height: 100%;
	padding: 0.5rem 0;
	display: flex;
	justify-content: center;
	transition: all 0.3s;
	align-items: center;
	color: var(--color-white);
}

.header-menu-list > li > a:hover {
	color: var(--color-text);
	background: var(--color-white);
}

.header-reserve {
	background: var(--color-accent);
}

.header-submenu {
	width: 100vw;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 118px;
	left: 50%;
	transform: translateX(-50%);
	transition: all 0.4s;
	z-index: 1;
	background: rgba( 51, 51, 51, 0.9);
}

.header-menu-list > li:hover .header-submenu {
	overflow: visible;
	visibility: visible;
	opacity: 1;
}

.header-submenu > ul {
	max-width: 1280px;
	padding: 2rem 0;
	margin: 0 auto;
	text-align: left;
	color: var(--color-white);
}

.header-submenu > ul > li {
	padding-bottom: 1.5rem;
}

.header-submenu h2 {
	font-size: 1.25rem;
	padding-bottom: 1rem;
}

.header-submenu h2 span {
	margin-right: 1rem;
}

.header-submenu-item {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.header-submenu-item li {
	width: calc(100% / 8);
	min-width: 145px;
	margin: 0 1rem 1rem 0;
}

.header-submenu-item a {
	padding: 1rem 0;
	display: flex;
	justify-content: center;
	transition: all 0.2s;
	color: var(--color-text);
	background: var(--color-white);
}

.header-submenu-item li:hover a {
	color: var(--color-white);
	background: var(--color-accent);
}

/* Actived */

.site-header.active {
	position: fixed;
}

/* ---------------------------------
	4. Footer
--------------------------------- */

.site-footer {
	color: var(--color-white);
	background: var(--color-background);
}

.footer-inner {
	max-width: none;
	padding: 5rem 0 1rem;
}

.footer-menus {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.footer-menu-list {
	margin-bottom: 1.5rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
}

.footer-menu-price {
	grid-column: 1 / 4;
	grid-row: 1 / 2;
}

.footer-doctor {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}

.footer-clinic {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
}

.footer-reserve {
	grid-column: 3 / 4;
	grid-row: 2 / 3;
}

.footer-menu-list-child {
	display: grid;
	gap: 1rem;
}


.footer-menu-list a {
	transition: 0.3s;
}

.footer-menu-list a:hover {
	opacity: 0.6;
}

.footer-menu-list > li > a {
	margin-bottom: 1rem;
}

.footer-menu-list-child {
	margin-bottom: 2rem;
}

.footer-menu-list-child > li {
	width: 100%;
	margin-bottom: 1rem;
	display: flex;
}

.footer-menu-face,
.footer-menu-body,
.footer-menu-skin {
	width: 100%;
	margin-left: 1rem;
}

.footer-menu-face > li > a,
.footer-menu-body > li > a,
.footer-menu-skin > li > a {
	width: 100%;
}

.footer-menu-item {
	margin: 0.5rem 0 1rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--color-white);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.875rem;
}

.footer-menu-item a {
	margin: 0 1.5rem 0.875rem 0;
}

.footer-menu-list .no-child {
	width: auto;
	margin: 0 1rem 0.5rem 0 ;
	display: inline-block;
}

.footer-information-wrap {
	padding: 2rem 0;
	border-top: 1px solid var(--color-white);
}

.footer-information {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	justify-content: center;
	align-items: center;
}

.footer-logo {
	text-align: center;
}

.footer-logo img {
	width: calc(100% - 2rem);
	margin: 0.5rem auto;
	display: block;
    filter: contrast(0) brightness(2);
}

.footer-information .instagram-link {
	margin-top: 0;
}

.footer-information .instagram-link .content-button {
	border: 1px solid var(--color-white);
	color: var(--color-text);
	background: var(--color-white);
}

.footer-information .instagram-link .content-button::before {
	background: var(--color-background);
}

.footer-information .instagram-link .content-button::after {
	border: 2px solid var(--color-white);
}

.footer-information .instagram-link .content-button:hover {
	color: var(--color-white);
}

.footer-information .instagram-link .content-button:hover::after {
	border: 2px solid var(--color-background);
}

.footer-information .instagram-link .content-button span {
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-information .instagram-link svg {
	margin-left: 1rem;
	transition: stroke 0.3s;
	fill:none;
	stroke: var(--color-background);
	stroke-linecap:round;
	stroke-linejoin:round;
}

.footer-information .instagram-link .content-button:hover svg {
	z-index: 2;
	fill: none;
	stroke: var(--color-white);
}


.footer-copyright {
	font-size: 0.9em;
	text-align: center;
}

/* ---------------------------------
	5. Global Menu
--------------------------------- */
/*
.global-menu {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 998;
	background: var(--color-background);
}

.global-menu-inner {
	width: 100%;
	padding: 0 0.5rem;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.global-menu-list {
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--color-logo);
}

.global-menu-list li {
	border-top: 1px solid var(--color-logo);
}

.global-menu-list a {
	padding: 1.25rem 1rem;
	position: relative;
	display: block;
}

.global-menu-list a::after {
	width: 2.5rem;
	height: 0.5rem;
	border-right: 1px solid var(--color-logo);
	border-bottom: 1px solid var(--color-logo);
	position: absolute;
	top: 50%;
	right: 1rem;
	transform: skewX(45deg) translateY(-50%);
	content: '';
	display: block;
}

.global-menu-list-child a {
	padding-left: 3rem;
	position: relative;
}

.global-menu-list-child a::before {
	width: 1rem;
	height: 0.5rem;
	border-bottom: 1px solid var(--color-logo);
	border-left: 1px solid var(--color-logo);
	position: absolute;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
	content: '';
	display: block;
}

.global-menu-buttons {
	display: grid;
	gap: 1rem;
}
*/

/* Button */

.global-menu-button {
	width: 2rem;
	height: 1.5rem;
	position: relative;
}

.global-menu-button span {
	width: 100%;
	border-bottom: 2px solid var(--color-white);
	position: absolute;
	left: 0;
	transition: transform 0.5s, opacity 0.5s, top 0.5s, bottom 0.5s;
	display: block;
}

.global-menu-button span:nth-of-type(1) {
	top: 0;
}

.global-menu-button span:nth-of-type(2) {
	top: 50%;
	transform: translateY(-50%);
}

.global-menu-button span:nth-of-type(3) {
	bottom: 0;
}

.global-menu-button.close span:nth-of-type(1) {
	top: 50%;
	transform: rotate(45deg) translateY(-50%);
}

.global-menu-button.close span:nth-of-type(2) {
	opacity: 0;
}

.global-menu-button.close span:nth-of-type(3) {
	bottom: 50%;
	transform: rotate(-45deg) translateY(50%);
}

/* ---------------------------------
	6. Reservation
--------------------------------- */

.reservation-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 5rem 0;
	color: var(--color-white);
}

.reservation p {
	margin-bottom: 2.5rem;
	text-align: center;
}

.reservation-buttons {
	display: grid;
	grid-auto-rows: 1fr;
	gap: 1rem;
}

.reservation-buttons .content-button {
	font-size: 1.25em;
}

.reservation-buttons .content-button {
	border: 1px solid var(--color-accent);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column;
	background: var(--color-accent);
}

.reservation-buttons .content-button::after {
	border: 2px solid var(--color-accent);
}

.reservation-buttons .content-button:hover {
	color: var(--color-accent);
}

.reservation-buttons .content-button:hover::after {
	border: 2px solid var(--color-white);
}

.reservation-buttons .content-button span {
	display: flex;
	justify-content: center;
	align-items: center;
}

.reservation-buttons .phone-number {
	font-size: 1.5rem;
}

.reservation-buttons .reception-hours {
	font-size: 0.8em;
}

.reservation-buttons .content-button svg {
	transition: stroke 0.3s;
	fill: none;
	stroke: var(--color-white);
	stroke-linecap: round;
	stroke-linejoin: round;
}

.reservation-buttons .content-button:hover svg {
	stroke: var(--color-accent);
}

/* ---------------------------------
	7. Post & Page
--------------------------------- */
.site-contents {
	padding-top: 57px;
}

.post-header-background {
	background: url('https://placehold.jp/1920x1080.png') center center / cover no-repeat;
}

.post-header-content {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 15rem 0 0;
	position: relative;
}

.post-header-content h1 {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	line-height: 1.5;
	color: var(--color-accent);
}

.post-header-content h1::before {
	content: attr(data-title);
	display: block;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

.post-header-content h1 em {
	color: var(--color-text);
	font-size: 2.5em;
}

.post-content p:not(:last-child) {
	margin-bottom: 1rem;
}

.content-introduction-wrap {
	margin: -10rem auto 5rem;
	background: var(--color-dark);
}

.content-introduction {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 5rem 0;
}

.content-links-colums {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.content-links-box {
	width: 100%;
	padding: 1rem;
	display: flex;
	flex-flow: column;
	align-items: center;
	background: var(--color-white);
}

.content-links-box .content-headline {
	margin-bottom: 1.5rem;
	line-height: 1.3;
}

.content-links-box .content-headline::after {
	width: 2.5rem;
	height: 1px;
	position: absolute;
	left: 50%;
	bottom: -0.5rem;
	transform: translateX(-50%);
	content: '';
	background: var(--color-accent);
}

.content-links-box ul {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 1fr;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}

.content-links-box a {
	width: 100%;
	padding: 0.875rem 0.5rem;
	transition: all 0.3s;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--color-white);
	background: var(--color-accent);
}

.content-links-box a:hover {
	opacity: 0.7;
}

.content-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	display: block;
}
