@charset 'utf-8';

/* ---------------------------------
	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, main, 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: normal;
	vertical-align: baseline;
	background: transparent;
	box-sizing: border-box;
}

html, body {
	font-size: 16px;
}

body {
	line-height: 1;
}

main, article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ul, ol {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input, button, textarea, select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

label, button {
	cursor: pointer;
	user-select: none;
}

/* ---------------------------------
	1. Common & Parts
--------------------------------- */

:root {
	--color-main: #5ab18a;
	--color-main-rgb: 90, 177, 138;
	--color-sub: #f1f4d0;
	--color-sub-rgb: 241, 244, 208;
	--color-text: #4c7067;
	--color-text-rgb: 76, 112, 103;
	--color-accent: #e9b218;
	--color-background: #f5f5e8;
	--font-marugo: 'Kosugi Maru';
	--font-english: 'Sniglet';
	--font-mincho: 'Noto Serif JP';
	--theme-path: /wp-content/themes/yoshikawa-hifuka/;
}

body {
	color: #333;
	font-family: var(--font-english), var(--font-marugo);
}

a {
	transition: all 0.25s;
	display: inline-block;
	color: inherit;
	text-decoration: none;
}

.text-centering {
	text-align: center;
}

.underline {
	text-decoration: underline;
	color: var(--color-main);
}

.section-background-color {
	background: var(--color-background);
}

.content-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 10rem 0;
}

/* Headline */

.content-headline {
	margin-bottom: 3rem;
	text-align: center;
}

.content-headline img {
	width: 64px;
	height: 64px;
	margin: 0 auto 0.5rem;
	display: block;
}

.content-headline em {
	margin-bottom: 0.5rem;
	display: block;
	color: var(--color-text);
	font-size: 1.5em;
}

.content-headline::after {
	content: attr(data-content);
	display: block;
	color: #999;
}

/* Link button */

.link-button {
	padding: 0.5rem 0;
	border: 1px solid var(--color-text);
	border-radius: 0.25rem;
	position: relative;
	display: block;
	color: var(--color-text);
	text-align: center;
	line-height: 1.5;
}

.link-button::after {
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1px solid var(--color-text);
	border-bottom: 1px solid var(--color-text);
	position: absolute;
	top: 50%;
	right: 1rem;
	transform: translateY(-50%) rotate(-45deg);
	content: '';
	display: block;
}

.link-button:hover {
	border-color: var(--color-main);
	color: #fff;
	background: var(--color-main);
}

.link-button:hover::after {
	border-color: #fff;
}

/* CV button */

.cv-button {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	position: relative;
	display: block;
	color: #fff;
	padding: 1rem;
	text-align: center;
	background: var(--color-main);
}

.cv-button::after {
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	position: absolute;
	top: 50%;
	right: 1rem;
	transform: translateY(-50%) rotate(-45deg);
	content: '';
	display: block;
}

/* Hours table */

.hours-table {
	margin-bottom: 0.5rem;
	padding: 0 0.75rem;
	border-radius: 0.5rem;
	text-align: center;
	background: #fff;
}

.hours-table table {
	width: 100%;
}

.hours-table thead {
	border-bottom: 2px solid var(--color-text);
}

.hours-table th,
.hours-table td {
	padding: 0.75rem 0.25rem;
}

/* Breadcrumbs */

.breadcrumbs {
	background: var(--color-sub);
}

.breadcrumbs ol {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem 0;
	overflow-x: auto;
	font-size: 0.75em;
	white-space: nowrap;
}

.breadcrumbs li {
	display: inline-block;
}

.breadcrumbs a {
	margin-right: 0.5rem;
	color: var(--color-main);
}

.breadcrumbs li:not(:last-of-type)::after {
	margin-right: 0.5rem;
	content: '>';
	color: #aaa;
}

/* Other */

.page-404 a {
	max-width: 320px;
	margin: 0 auto;
}

/* ecru-banner */

.ecru-banner {
	max-width: 640px;
	width: 100%;
	margin: 0 auto;
}

.ecru-banner a {
	width: 100%;
	transition: opacity 0.25s;
}

.ecru-banner a:hover {
	opacity: 0.7;
}

.ecru-banner img {
	width: 100%;
	display: block;
}

/* ---------------------------------
	2. Header
--------------------------------- */

/* Loading */

.loading {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
}

.loading-spinner {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, 1fr);
}

.loading-spinner div {
	width: 1rem;
	height: 1rem;
	border: 0.25rem solid var(--color-main);
	border-radius: 50%;
	transform: scale(0);
	animation: loading 1s infinite ease;
}

.loading-spinner div:nth-of-type(1) { animation-delay: 0.3s; }
.loading-spinner div:nth-of-type(2) { animation-delay: 0.6s; }
.loading-spinner div:nth-of-type(3) { animation-delay: 0.9s; }

@keyframes loading {
	
	50% {
		transform: scale(1);
		opacity: 1;
	}
	
	100% {
		opacity: 0;
	}
	
}

/* Site header */

.site-header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	color: var(--color-text);
	background: #fff;
	box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.header-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Logo */

.header-logo {
	width: 320px;
}

.header-logo p {
	margin-bottom: 0.5rem;
	color: #777;
	font-size: 0.75em;
	text-align: center;
}

.header-logo img {
	width: 100%;
	display: block;
}

/* Menu */

.header-menu {
	width: 640px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.header-menu li {
	position: relative;
}

.header-menu a {
	display: block;
	text-align: center;
}

.header-menu > li:not(:last-of-type) > a {
	border-right: 1px solid var(--color-main);
}

.header-menu em {
	margin-bottom: 0.25rem;
	display: block;
	color: var(--color-main);
}

.header-menu span {
	color: #777;
	font-size: 0.75em;
}

.header-menu-child {
	width: 100%;
	padding-top: 1rem;
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
}

.header-menu li:hover .header-menu-child {
	display: block;
}

.header-menu-child a {
	padding: 1rem 0;
	display: block;
	background: #fff;
}

.header-menu-child a:hover {
	background: var(--color-sub);
}

.header-menu-child li:not(:last-of-type) a {
	border-bottom: 1px dotted var(--color-main);
}

.header-menu-child li:first-of-type a {
	border-top-left-radius: 1rem;
	border-top-right-radius: 1rem;
}

.header-menu-child li:last-of-type a {
	border-bottom-left-radius: 1rem;
	border-bottom-right-radius: 1rem;
}

/* Info */

.header-info {
	display: grid;
	gap: 0.5rem;
	text-align: center;
}

.header-tel {
	display: grid;
	gap: 0.5rem;
}

.header-tel-headline {
	padding: 0.25rem;
	border-radius: 0.25rem;
	background: var(--color-sub);
}

.header-tel-number {
	font-size: 2em;
}

/* Buttons */

.header-buttons {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, 1fr);
}

.header-buttons a {
	padding: 0.5rem;
	border-radius: 0.25rem;
	background: var(--color-sub);
}

.header-buttons img {
	width: 1.75rem;
	height: 1.75rem;
	display: block;
}

/* ---------------------------------
	3. Footer
--------------------------------- */

.site-footer {
	color: var(--color-text);
	background: var(--color-sub);
}

.footer-inner {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 5rem 0;
}

.footer-wrapper {
	margin-bottom: 5rem;
}

/* Access */

.footer-access img {
	width: 100%;
	margin-bottom: 1rem;
	display: block;
}

.footer-access p {
	margin-bottom: 1rem;
	line-height: 1.5;
}

.access-buttons {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
}

/* Info */

.footer-info img {
	margin-bottom: 1rem;
}

.footer-info p {
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

.footer-info em {
	padding: 0 0.5rem;
	font-size: 1.5em;
}

.footer-info span {
	margin-right: 0.5rem;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	display: inline-block;
	background: rgba(var(--color-main-rgb), 0.25);
}

.footer-attention {
	color: var(--color-accent);
}

/* Links */

.footer-link-list {
	width: 100%;
	margin: 0 auto 2.5rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
}

.footer-link-list > li {
	display: grid;
	gap: 0.5rem;
}

.footer-link-list-headline {
	font-size: 1.25em;
	color: var(--color-main);
}

.footer-link-list-child {
	display: grid;
	gap: 0.5rem;
	font-size: 14px;
}

.footer-sub-link li {
	display: inline-block;
}

.footer-sub-link a {
	color: var(--color-main);
	text-decoration: underline;
}

/* Copyright */

.footer-copyright {
	padding: 1rem 0;
	color: #fff;
	text-align: center;
	background: var(--color-main);
}

/* Global menu */

.global-menu {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 999;
	transition: all 0.25s;
	color: var(--color-text);
}

.global-menu.open {
	right: 0;
}

.global-menu::after {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all 0.25s;
	content: '';
	display: none;
	background: rgba(0, 0, 0, 0.25);
}

.global-menu.open::after {
	display: block;
}

.global-menu-inner {
	width: 90%;
	max-width: 320px;
	height: 100vh;
	margin-left: auto;
	padding: 0.5rem;
	background: #fff;
	box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.25);
}

.global-menu-header {
	margin-bottom: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.global-menu-header em {
	font-size: 1.25em;
}

.global-menu-logo {
	width: 10rem;
	display: block;
}

.global-menu-header a {
	padding: 0.5rem;
	border-radius: 0.25rem;
	background: var(--color-sub);
}

.global-menu-header a img {
	width: 1.75rem;
	height: 1.75rem;
	display: block;
}

.global-menu-list {
	margin-bottom: 1rem;
}

.global-menu-list li:not(:last-of-type) {
	border-bottom: 1px solid var(--color-main);
}

.global-menu-list a {
	padding: 1rem 0;
	display: block;
	text-align: center;
}

.global-menu-list em {
	margin-bottom: 0.5rem;
	display: block;
	color: var(--color-main);
}

.global-menu-list span {
	display: block;
	color: #777;
	font-size: 0.75em;
}

.global-menu-tel a {
	padding: 0.5rem;
	border-radius: 0.25rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--color-sub);
}

.global-menu-tel a:not(:last-of-type) {
	margin-bottom: 1rem;
}

.global-menu-tel img {
	width: 2rem;
	height: 2rem;
	margin-right: 1rem;
}

.global-menu-tel em {
	font-size: 1.5em;
}

/* ---------------------------------
	4. Post ( Single & Page )
--------------------------------- */

.post {
	color: var(--color-text);
}

.post-background-image {
	height: 30vh;
}

.post-content:not(:last-of-type) {
	border-bottom: 1px dashed #ccc;
	margin-bottom: 5rem;
	padding-bottom: 5rem;
}

.post-content.border-none {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.post-content p {
	line-height: 1.5;
}

.post-content p:not(:last-child) {
	margin-bottom: 1rem;
}

.post-description {
	margin-bottom: 5rem;
	text-align: center;
	line-height: 1.5;
}

/* List */

.post-list {
	display: grid;
	gap: 0.25rem;
}

.post-list li {
	line-height: 1.5;
}

.post-list li::before {
	content: '・';
}

/* Headline */

.post-headline {
	margin-bottom: 1.5rem;
	font-size: 1.25em;
	text-align: center;
	line-height: 1.5;
}

.post-headline span {
	padding: 0.5rem 1rem;
	border-bottom: 2px solid var(--color-main);
	display: inline-block;
}

.post-headline-medium {
	margin-bottom: 1rem;
	color: var(--color-main);
	font-size: 1.25em;
	line-height: 1.5;
}

/* Link button */

.post-link-button {
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
}

/* Image */

.post-image-columns {
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
}

.post-image-columns img {
	width: 100%;
	border-radius: 1rem;
	display: block;
}

/* Column */

.column:not(:last-of-type) {
	margin-bottom: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px dashed #ccc;
}

.column a {
	display: block;
}

.column h2 {
	margin-bottom: 0.5rem;
	font-size: 1.25em;
	line-height: 1.5;
}

.column-columns {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: max-content 1fr;
}

.column img {
	width: 160px;
	border-radius: 1rem;
}

.column p {
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

.column span {
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
}

.column-sidebar {
	padding: 1rem;
	border-radius: 1rem;
	background: #fff;
}

.side-headline {
	border-bottom: 2px solid var(--color-main);
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}

.side-list {
	line-height: 1.75;
}

.side-list a {
	display: block;
}

.side-list a:hover {
	background: var(--color-sub);
}
