@charset "utf-8";

/* page-about.css */

/* ２カラム */
.slug_about .menu-area ul > li::before {
	background: url("../images/icon_grain_gr.svg") 50% 50% no-repeat;
	background-size: contain;
}

.slug_about .sidemenu-area > .wp-block-column:nth-of-type(1) {
	background-color: #FFFFFF;
	color: var(--main-color);
}

.slug_about .menu-area ul > li:hover::before,
.slug_about .menu-area ul > li.cur::before {
	background: url("../images/icon_grain_r.svg") 50% 50% no-repeat;
	background-size: contain;
}

.slug_about .sidemenu-area h2 {
	width: min(100%,220px);
	margin-bottom: 3.0rem;
	padding: 0.2rem 2.2rem 0.3rem;
	background-color: var(--cp-color-r);
	border-radius: 99em;
	text-align: center;
	line-height: var(--ft-lh-m);
	font-weight: 500;
	font-size: var(--ft-size-m);
	color: #FFFFFF;
}

.about-box:not(:last-of-type) {
	margin-bottom: var(--space-l);
}

.about-box > * {
	width: min(100%,730px);
	margin-right: auto;
	padding-bottom: calc(18px + var(--space-l));
	background: url("../images/about_bg_line.svg") 50% 100% no-repeat;
}

.about-box:last-of-type > * {
	padding-bottom: 0;
	background: none;
}

.about-box.ab01 h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%,400px);
	height: 100%;
	margin: 0 auto var(--space-m);
	background: url("../images/bg_text_frame.svg") 50% 50% no-repeat;
	background-size: contain;
	line-height: 1.44;
	font-weight: 500;
	font-size: 2.5rem;
	aspect-ratio: 400 / 257;
}

.about-box.ab02 .wp-block-columns {
	padding-top: 5.2rem;
	padding-bottom: 5.2rem;
	border-top: 1px dashed rgba(51, 51, 51, 0.3);
}

.about-box.ab02 .wp-block-columns:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.about-box.ab02 .wp-block-columns:last-of-type {
	padding-bottom: 0;
}

.about-box.ab02 .wp-block-columns .wp-block-column {
	flex-basis: auto !important;
	flex-grow: 0 !important;
}

.about-box.ab02 .wp-block-columns .wp-block-column:nth-of-type(1) {
	width: 43.15%;
}

.about-box.ab02 .wp-block-columns .wp-block-column:nth-of-type(2) {
	width: 51.37%;
}

/* 写真なし1カラム用
.about-box.ab02 > div > p {
	padding-top: 5.2rem;
	padding-bottom: 5.2rem;
	border-top: 1px dashed rgba(51, 51, 51, 0.3);
}

.about-box.ab02 > div > p:last-of-type {
	padding-bottom: 0;
}
*/

.about-box.ab02 p > strong:first-of-type {
	display: flex;
	align-items: center;
	margin-bottom: 0.8rem;
	line-height: 1.8;
	font-weight: 500;
	font-size: 2.0rem;
}

.about-box.ab02 p > strong:first-of-type::before {
	content: "";
	width: 20px;
	height: 20px;
	margin-right: 0.7rem;
	background: url("../images/icon_flag_r.svg") 50% 50% no-repeat;
	background-size: contain;
	flex-shrink: 0;
}

.about-box.ab02 .wp-block-columns .wp-block-column .wp-block-image + .wp-block-image {
	margin-top: 1.0rem;
}

.about-box.ab03 h3 {
	margin-bottom: 3.0rem;
	line-height: 1.66;
	font-weight: 500;
	font-size: var(--ft-size-xl30);
}

.about-box.ab04 .wp-block-table {
	margin-bottom: 5.0rem;
}

.about-box.ab04 .wp-block-table table {
	border: 0;
}

.about-box.ab04 .wp-block-table table tr {
	border-bottom: 1px dashed rgba(51, 51, 51, 0.3);
}

.about-box.ab04 .wp-block-table table tr td {
	width: auto;
	border: 0;
	padding-top: 2.0rem;
	padding-bottom: 2.0rem;
	vertical-align: top;
}

.about-box.ab04 .wp-block-table table tr td:nth-of-type(1) {
	width: 9em;
}

.about-box.ab05 .wp-block-table table {
	border: 0;
}

.about-box.ab05 .wp-block-table table tr td {
	width: auto;
	border: 0;
	vertical-align: top;
}

.about-box.ab05 .wp-block-table table tr td:nth-of-type(1) {
	width: 8em;
	color: var(--cp-color-r);
}

.about-box.ab06 .wp-block-columns {
	flex-flow: row nowrap;
	gap: 3.0rem;
}

.about-box.ab06 .wp-block-columns .wp-block-column {
	flex-basis: auto !important;
	flex-grow: 0 !important;
}

.about-box.ab06 .wp-block-columns .wp-block-column:nth-of-type(1) {
	width: calc(100% - 41.1% - 3.0rem);
}

.about-box.ab06 .wp-block-columns .wp-block-column:nth-of-type(2) {
	width: 41.1%;
}

.about-box.ab06 .gmap {
	margin-top: 3.0rem;
	margin-bottom: 3.2rem;
}

.about-box.ab06 .gmap iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 73 / 40;
}

.about-box.ab06 p.transportation:not(:first-of-type) {
	margin-top: 2.0rem;
}


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

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

.about-box > * {
	width: min(100%,665px);
	margin: 0 auto;
}

}

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

.about-box.ab02 .wp-block-columns {
	flex-flow: column-reverse nowrap;
	gap: 2.4rem;
}

.about-box.ab02 .wp-block-columns .wp-block-column:nth-of-type(1) {
	width: 100%;
}

.about-box.ab02 .wp-block-columns .wp-block-column:nth-of-type(2) {
	width: 100%;
}

.about-box.ab06 .wp-block-columns {
	flex-flow: column nowrap;
	gap: 3.0rem;
}

.about-box.ab06 .wp-block-columns .wp-block-column:nth-of-type(1) {
	width: 100%;
}

.about-box.ab06 .wp-block-columns .wp-block-column:nth-of-type(2) {
	width: 100%;
}

.about-box.ab06 .gmap {
	margin-top: 3.0rem;
}

.about-box.ab06 .gmap iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
}

}

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

.about-box.ab04 .wp-block-table table tr td:nth-of-type(1) {
	width: 8em;
}

.about-box.ab05 .wp-block-table table tr td:nth-of-type(1) {
	width: 7em;
}

.wp-block-buttons:has(> .wp-block-button.btn-dl-pdf) {
  justify-content: center;
}

}