@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 CSS
--------------------------------- */
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-main: #e8d4b8;
	--color-accent: #b78a24;
	--color-white: #fff;
	--color-dark: #686663;
	--color-text: #333;
	--color-background: #e2dbd4;
	--color-logo: #473e33;
	--font-mincho: 'Noto Serif JP';
	--font-english: 'Unna';
}

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

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

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

p {
	line-height: 1.5;
}

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

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

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

.content-transparent {
	background: transparent;
}

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

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

/* 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;
	color: var(--color-accent);
	font-family: var(--font-english);
}

.content-headline::after {
	width: 2rem;
	border-bottom: 1px solid var(--color-text);
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%) rotate(-45deg);
	content: '';
	display: block;
}

.content-headline em {
	font-size: 1.5em;
}

.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 {
	width: calc(100% - 1rem);
	position: relative;
	z-index: 0;
	transition: color 0.25s;
	display: block;
	color: var(--color-text);
	text-align: center;
	line-height: 1.5;
}

.content-button::before {
	width: 2.5rem;
	border-bottom: 1px solid var(--color-text);
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	z-index: 1;
	transition: width 0.25s;
	transform: translate(50%, -50%);
}

.content-button::after {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0.25rem;
	left: 0.25rem;
	z-index: -1;
	transition: top 0.25s, left 0.25s;
	content: '';
	display: block;
	background: var(--color-main);
}

.content-button span {
	padding: 1rem;
	border: 1px solid var(--color-text);
	display: block;
}

.content-button i {
	margin-right: 0.5rem;
}

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

.content-button:hover::before {
	width: 3.5rem;
}

.content-button:hover::after {
	top: 0;
	left: 0;
}

/* Menu Price Table */

.menu-price:not(:last-child) {
	margin-bottom: 1rem;
}

.menu-price-headline {
	margin-bottom: 1rem;
	color: var(--color-accent);
	font-size: 1.25em;
	text-align: center;
	line-height: 1.5;
}

.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;
	position: relative;
	vertical-align: middle;
}

.menu-price span {
	display: block;
}

.menu-price th span {
	color: var(--color-accent);
}

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

.site-header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
}

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

.header-logo {
	display: block;
}

.header-logo img {
	width: 5rem;
	display: block;
}

.header-menu-list {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(5, max-content);
	align-items: center;
}

.header-menu-list a {
	padding: 0.5rem 0;
	color: var(--color-logo);
	font-weight: bold;
}

.header-menu-icon a {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border-radius: 50%;
	display: grid;
	justify-content: center;
	align-items: center;
	color: var(--color-white);
	font-size: 1.25em;
	background: var(--color-accent);
}

/* Actived */

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

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

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

.footer-columns {
	margin-bottom: 2.5rem;
	display: grid;
	gap: 1rem;
}

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

.footer-information {
	display: grid;
	gap: 1rem;
}

.footer-information img {
	width: 10rem;
	margin-bottom: 1.5rem;
	display: block;
	filter: contrast(0) brightness(2);
}

.footer-menu-list {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
}

.footer-menu-list a {
	padding: 0.5rem 0;
	display: block;
}

.footer-menu-list-child a {
	padding-left: 2.5rem;
	position: relative;
}

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

.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-text);
	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;
}

.reservation-content {
	padding: 2.5rem 0.5rem;
	background: var(--color-white);
}

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

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

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

/* ---------------------------------
	7. Post & Page
--------------------------------- */

.post-header-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.post-header-columns::after {
	content: '';
	grid-column: 2 / 4;
	background: url('/wp-content/themes/ecru-clinic/image/common/background-post-header.jpg') center center / cover no-repeat;
}

.post-header-content {
	padding: 15rem 0 0;
	position: relative;
	background: var(--color-white);
}

.post-header-content h1 {
	line-height: 1.5;
}

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

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

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