@charset "UTF-8";


/* common.css から上書き
–––––––––––––––––––––––––––––––––––––––––––––––––– */

article p {
	margin-bottom: var(--margin-m);
}

@media (max-width: 1000px) {
	main {
		flex-direction: column;
	}
	article {
		margin-bottom: var(--margin-l);
	}
	.sidebar {
		margin: 0;
	}
	.sponcer-inner {
		padding-bottom: 0;
		border-bottom: none;
	}
}

@media (max-width: 750px) {
	article {
		margin-bottom: var(--margin-m);
	}
	.posted {
		max-width: 100vw;
	}

	article p {
		margin-bottom: var(--margin-s);
	}
}




/* singleのみ
–––––––––––––––––––––––––––––––––––––––––––––––––– */

article {
	font-size: 1.0rem;
}
article p.category {
	font-family: var(--font-family-en);
	font-size: 1.5rem;
	letter-spacing: 0.03em;
	line-height: 1.0em;
	color: var(--color-main);
	text-transform: capitalize;
	margin-bottom: var(--margin-s);
}
article .posted {
	font-size: 0.8rem;
}
article section:first-child {
	margin-top: 0;
}


/* 見出し –––––––––––––––––––––– */
h1 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: var(--font-family-en);
	font-weight: 400;
	font-size: 3.6rem;
	letter-spacing: 0.03em;
	line-height: 1.0em;
	color: var(--color-main);
	text-transform: capitalize;
	text-align: center;
	margin-bottom: var(--margin-l);
}
h1 span {
	font-size: 0.8rem;
	letter-spacing: 0;
	line-height: 1.0em;
	margin-top: 0.7em;
}
article h2 {
	font-family: var(--font-family-jp);
	font-size: calc(0.4vw + 2.4rem);
	font-weight: 100;
	line-height: 1.4em;
	letter-spacing: 0;
	color: var(--color-txt);
	margin-bottom: var(--margin-s);
	font-feature-settings: "palt";
}
article h2 span {
	font-size: 0.8rem;
	letter-spacing: 0;
	line-height: 1.0em;
	margin-top: 0.5em;
}
article h3 {
	position: relative;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.3em;
	border-left: 6px solid var(--color-main);
	padding-left: var(--margin-ss);
	margin-top: var(--margin-l);
	margin-bottom: var(--margin-m);
}
article h4 {
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.5em;
	margin-top: var(--margin-l);
	margin-bottom: var(--margin-m);
}
article h4::before {
	content: '●';
	padding-right: 0.3em;
	color: var(--color-sub);
}
article h5 {
	font-size: 1.0rem;
	font-weight: 600;
	line-height: 1.5em;
	margin-top: var(--margin-m);
	margin-bottom: var(--margin-s);
}


/* figure –––––––––––––––––––––– */
article figure {
	margin-bottom: var(--margin-m);
}
article figure:first-of-type{
	margin-top: 0;
}
article figure img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}
article figure figcaption {
	font-size: 0.8rem;
	line-height: 1.5; 
	margin-top: var(--margin-ss);
}

/* table –––––––––––––––––––––– */
table {
	font-size: 0.9rem;
	width: 100%;
	border-top: var(--border);
}
th , td ,
th:first-child , td:first-child ,
th:last-child , td:last-child {
	padding: 10px;
}
td {
	border-bottom: var(--border);
	border-right: var(--border);
	border-right-style: dotted;
	vertical-align: top;
}
th {
	color: var(--color-bg);
	background-color: var(--color-main);
	border-bottom-color: var(--color-bg);
	border-right: var(--border);
	border-right-color: var(--color-bg);
	white-space: nowrap;
}
tr:last-child th {
	border-bottom: var(--border);
}
td:last-of-type {
	border-right: none;
}

th.has-text-align-center , td.has-text-align-center {
	text-align: center;
}
th.has-text-align-left , td.has-text-align-right {
	text-align: right;
}
th.has-text-align-left , td.has-text-align-left {
	text-align: left;
}

/* .schedule table –––––––––––––––––––––– */
.schedule table {
	border-bottom: var(--border);
}
.schedule table th ,
.schedule table td {
	text-align: center;
	white-space: nowrap;
	border-bottom: none;
	transition: all 0.3s;
}
.schedule table tr.holiday td {
	background-color: var(--color-main-over);
}
.schedule table tr:hover td {
	background-color: var(--color-sub);
}
.schedule table th {
	font-size: 0.8rem;
}
.schedule table tr:nth-child(even) {
	background: var(--color-bg);
}
.schedule table tr:nth-child(odd) {
	background: var(--color-bg-gray);
}


/* ul ol –––––––––––––––––––––– */
article ul li {
    margin-left: 1.3rem;
    list-style: disc;
}
article ol {
	counter-reset: item;
	list-style-type: none;
	text-indent: -1.3em;
	padding-left: 1.3em;
}
article ol li:before {
	counter-increment: item;
	content: counter(item)' . ';
}


/* .post-link –––––––––––––––––––––– */
.post-link {
	display: flex;
	justify-content: space-between;
	border-left:var(--border);
}
.post-link a {
	display: flex;
	flex-basis: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	padding: 15px 15px;
	box-sizing: border-box;
	line-height: 1.5em;
	border-right: var(--border);
	transition: all 0.6s;
}
.post-link a:hover {
	background-color: var(--color-main-over);
	text-decoration: none;
}


/* .post-mokuji –––––––––––––––––––––– */
.post-mokuji {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	border-top: var(--border);
	border-bottom: var(--border);
}
.post-mokuji:empty { /* 空なら非表示 */
	display: none;
}
.post-mokuji-inner {
	padding: 0 var(--margin-m);
	max-height: 0;
	overflow: hidden;
	transition-duration: 0.6s;
	transition-timing-function: ease-out;
}
.post-mokuji-inner ol {
	text-indent: 0;
	padding-left: 0;
}
.post-mokuji-inner ol li:before {
	content: '';
}
.post-mokuji-inner ol:last-child {
	margin-bottom: 0;
}
.post-mokuji-inner ol ol {
	font-size: 0.9rem;
	margin: 0 0 var(--margin-ss) var(--margin-s);
	border-left: var(--border);
	padding-left: 1rem;
}
.post-mokuji label {
	width: 100%;
	box-sizing: border-box;
	font-size: 1.2rem;
	margin-bottom: 0;
	padding: var(--margin-s);
	cursor :pointer;
	transition: all 0.6s;
}
.post-mokuji label span {
	outline: 1px solid rgb(0,0,0,0);/* iPhone表示用　枠がないと崩れる */
}
.post-mokuji label:hover {
	background-color: var(--color-main-over);
}
.post-mokuji input {
	display: none;
}
.post-mokuji label span {
	transform: rotate(0deg);
	transition: all 0.6s;
}

/* 目次アコーディオン */
.checkbox:checked ~ .post-mokuji-inner {
    max-height: 50em;
    opacity: 1;
	padding: var(--margin-m);
}
.checkbox:checked ~ label {
	border-bottom: var(--border);
	border-bottom-style: dotted;
}
.checkbox:checked ~ label span {
	transform: rotate(180deg);
}


/* .post-profile –––––––––––––––––––––– */
.post-profile {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	line-height: 1.5em;
	padding: var(--margin-m);
	background-color: var(--color-bg-gray);
}
.post-profile label {
	font-size: 1.2rem;
	color: var(--color-txt);
	margin: 0 var(--margin-m) 0 0;
}
.post-profile img  {
	width: 72px;
	height: 72px;
	object-fit: cover;
	margin: 0 var(--margin-ss) 0 0;
}
.post-profile-inner {
	display: flex;
	align-items: flex-start;
}
.post-profile-inner dl {
	margin: 0;
}
.post-profile-inner dt {
	font-size: 1rem;
	margin-bottom: var(--margin-sss);
}
.post-profile-inner dd {
	font-size: 0.9rem;
	margin: 0;
}


/* .wp-block-button –––––––––––––––––––––– */
.wp-block-button {
	display: inline-block;
	margin: 0 var(--margin-ss) var(--margin-s) 0;
}
.wp-block-button a {
	position: relative;
	display: inline-block;
	line-height: 1.5;
	font-weight: 600;
	color: var(--color-main);
	border: var(--border);
	padding: 15px 50px 15px 20px;
	text-transform: none;
	box-sizing: border-box;
	height: auto;
}
.wp-block-button a::before {
	content: '';
	position: absolute;
	z-index: -1;
	width: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	background: var(--color-main);
	transition-duration: 0.3s;
	transition-timing-function: ease-out;
}
.wp-block-button a:hover::before,
.wp-block-button a:focus::before,
.wp-block-button a:active::before {
	left: 0;
	width: 100%;
}
.wp-block-button a:hover {
	text-decoration: none;
	color: var(--color-bg);
	border-color: var(--color-main);
	transition: all 0.6s;
}
.wp-block-button a::after {
	content: 'arrow_right_alt';
	position: absolute;
	width: 20px;
	height: auto;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-block;
	font-family: var(--font-family-ic);
	color: var(--color-main);
	font-size: 1em;
	text-decoration: none;
}
.wp-block-button a:hover::after {
	color: var(--color-bg);
	animation: arrow-move 0.5s ease-out;
}
@keyframes arrow-move {
	0% {
		opacity: 0;
		right: 30px;
	}
	100% {
		opacity: 100;
		right: 10px;
	}
}


/* .sidebar –––––––––––––––––––––– */
.sidebar ul {
	margin-bottom: 0;
}
.sidebar ul li::before {
	display: inline-block;
	content: 'arrow_right_alt';
	font-family: var(--font-family-ic);
	color: var(--color-main);
	vertical-align: bottom;
	font-size: 1em;
	text-decoration: none;
	padding: 0 0.2em 0 0 ;
}


@media (max-width: 1000px) {
	h2 {
		font-size: 2.6rem;
		margin-bottom: var(--margin-m);
	}
	h2 span {
		font-size: 0.8rem;
	}
	article h2 {
		font-size: 7.5vw;
		margin-bottom: var(--margin-s);
	}
}



@media (max-width: 750px) {
	article p.category {
		margin-bottom: var(--margin-ss);
	}
	article figure {
		margin-top: var(--margin-s);
		margin-bottom: var(--margin-s);
	}
	article h3 {
		margin-top: var(--margin-m);
		margin-bottom: var(--margin-s);
	}
	article h4 {
		margin-top: var(--margin-m);
		margin-bottom: var(--margin-s);
	}
	.post-link a .material-symbols {
		display: none;
	}
	.wp-block-button a {
		width: 100%;
	}
	.post-link a {
		padding: 0 15px;
	}
	.post-profile {
		flex-direction: column;
		padding: var(--margin-s);
	}
	.post-profile label {
		margin-bottom: var(--margin-s);
	}
	.post-mokuji-inner {
		padding: 0 var(--margin-s);
	}
	.post-mokuji label {
		padding: var(--margin-s) var(--margin-ss);
	}
	#input-mokuji:checked ~ .post-mokuji-inner {
		padding: var(--margin-s);

	}
}