@charset "utf-8";

/* single-info.css */

@import url('page.css');

.title-area.width-base > * {
	width: min(calc(100% - 60px),820px);
}

.title-area .wp-block-buttons {
	margin-top: 2.0rem;
	gap: 2.0rem;
	display: flex;
	flex-flow: row wrap;
}

.title-area .wp-block-buttons .wp-block-button {
}

.title-area a.wp-block-button__link {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.6rem 2.0rem;
	border: 1px solid var(--cp-color-r);
	border-radius: 99em;
	background-color: #FFFFFF;
	line-height: 2.0;
	font-size: var(--ft-size-s);
	color: var(--cp-color-r);
	gap: 1.0rem;
}
/*
.title-area a.wp-block-button__link::after {
	content: "";
	width: 20px;
	height: 20px;
	background: url("../images/icon_arw_cd.svg") 50% 50% no-repeat;
	background-size: contain;
	flex-shrink: 0;
}
*/
.info-area {
	padding: var(--space-s) 0;
	background-color: #FFFFFF;
}

.info-area .item-head {
	display: flex;
	flex-flow: row wrap;
	gap: 0.5em;
	padding: 0 0 2.4rem;
	font-size: 1.4rem;
	color: #ED1C2B;
}

.info-area .item-head .item-cat li {
	padding: 1px 8px 2px 8px;
	border-radius: 4px;
	background-color: #ED1C2B;
	font-size: 1.3rem;
	color: #ffffff;
}

article.info .item-title {
	margin-bottom: var(--space-xs);
	font-size: var(--ft-size-xl30);
	line-height: 1.43;
}

article.info .item-img {
	max-width: 500px;
	margin: 0 auto var(--space-xs);
}

.article-body > * {
	margin-top: 2.6rem;
	margin-bottom: 1.6rem;
}

.article-body > *:first-child {
	margin-top: 0 !important;
}
.article-body > *:last-child {
	margin-bottom: 0 !important;
}

.article-body p + p {
	margin-top: 0;
}

.article-body p:has(+ p) {
	margin-bottom: 1em;
}

.article-body ul.wp-block-list {
	list-style-type: disc;
	padding-left: 1.25em;
}

.article-body ul li {
}

.article-body ol.wp-block-list {
	list-style-type: decimal;
	padding-left: 1.25em;
}

.article-body ol li {
}

.article-body blockquote.wp-block-quote {
	padding: 0 0 0 2.0rem;
	border-left: 2px solid var(--main-color);
}

.article-body pre.wp-block-code {
	padding: 2.4rem 2.0rem;
	background-color: #F6F6F6;
	border-radius: 8px;
	font-size: 1.4rem;
}

.article-body pre.wp-block-code code {
	font-weight: 500;
}

.mt0 { margin-top: 0 !important; }
.mt5 { margin-top: 5px !important; }
.mt10 { margin-top: 10px !important; }
.mb0 { margin-bottom: 0 !important; }
.mb5 { margin-bottom: 5px !important; }
.mb10 { margin-bottom: 10px !important; }

.mb0 + * { margin-top: 0 !important; }
.mb5 + * { margin-top: 0 !important; }
.mb10 + * { margin-top: 0 !important; }

ul.link-button {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: var(--space-l);
	gap: 3.0rem;
}

.link-button li {
}

.link-button li a {
	font-weight: 700;
	color: var(--cp-color-r);
}

.link-button li.link-list a {
	display: block;
	padding: 1.6rem 2.4rem;
	border-radius: 4px;
	background-color: var(--cp-color-r);
	color: #FFFFFF;
}

.link-button li.link-before a,
.link-button li.link-next a {
	display: flex;
	align-items: center;
	gap: 0.75em;
}

.link-button li.link-before a::before {
	content: "←";
}

.link-button li.link-next a::after {
	content: "→";
}

/* ギャラリー */
.wp-block-gallery {
	gap: 4% !important;
}
.wp-block-gallery > figure {
	width: 48% !important;
	flex-grow: initial !important;
}

/* ================================================ */
@media (max-width: 1000px) {
}

/* ================================================ */
@media (max-width: 840px) {
}

/* ================================================ */
@media (max-width: 480px) {
ul.link-button {
	display: flex;
	flex-flow: row wrap;
	gap: 1.4rem 3.0rem;
}

.link-button li.link-list {
	order: 3;
}

.link-button li.link-before { width: calc(50% - 1.5rem); order: 1; }
.link-button li.link-next { width: calc(50% - 1.5rem); order: 2; }

.link-button li.link-before a { justify-content: flex-end; }
}