@charset "utf-8";

.c-tabs,
.c-post,
.c-category {
	--color_cat1: #57b0c3;
	--color_cat2: #a657d6;
	--color_cat3: #d3ae50;
	--color_cat4: #96d331;
	--color_cat5: #ca64a7;
}

.l-main p {
	margin-top: 1.5em;
	line-break: strict;
	text-align: justify;
	hanging-punctuation: allow-end;
}
.l-main p + p {
	margin-top: 1em;
}

.main_title {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: .2em;
	height: 256px;
	border-radius: 0 0 1em 1em;
	margin-inline: var(--breakout);
	padding: 0 var(--sideGap);
	color: white;
	font-size: var(--px50);
	background: var(--themecolor);
}
.main_title .main {
	line-height: 1;
}
.main_title .sub {
	font-size: var(--px20);
	letter-spacing: .2em;
}
@media screen and (max-width: 479px) {
	.main_title {
		height: 176px;
		font-size: var(--px36);
	}
	.main_title .main img {
		width: auto;
		height: calc(64vw / 4.8);
	}
	.main_title .sub {
		font-size: 1rem;
	}
}

.content_title {
	position: relative;
	width: fit-content;
	margin-inline: auto;
	margin-block: 80px;
	padding: .2em 1.8em .3em;
	border: 5px solid transparent;
	border-image: url(../img/branket.svg) 12 / 12px round;
	color: var(--themecolor);
	font-size: var(--px30);
	line-height: 1.4;
	letter-spacing: .2em;
	white-space: nowrap;
	text-indent: .2em;
}
@media screen and (max-width: 767px) {
	.content_title {
		padding-inline: 1em;
	}
}
@media screen and (max-width: 479px) {
	.content_title {
		font-size: var(--px25);
	}
}

.section_title {
	font-size: var(--px36);
	line-height: 1.5;
}
@media screen and (max-width: 767px) {
	.section_title {
		font-size: var(--px30);
	}
}
@media screen and (max-width: 479px) {
	.section_title {
		font-size: var(--px25);
	}
}


/**
 * メインビジュアル
 * ---------------------------------------- */
.visual {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #f6f8f7;
}
.visual .object {
	position: absolute;
	line-height: 0;
	overflow: hidden;
}
.visual .object.paste {
	background: white url(../img/pattern.svg) center / 1600px 800px;
}
.visual .object.-p1 {
	left: calc(50% - 660px);
	top: 0;
	width: 450px;
	height: 438px;
	-webkit-clip-path: url(#object-1);
	clip-path: url(#object-1);
	background-position: 15% 0;
	transform: translateY(-20%);
}
.visual .object.-p2 {
	right: calc(50% - 640px);
	top: 0;
	width: 352px;
	height: 294px;
	-webkit-clip-path: url(#object-2);
	clip-path: url(#object-2);
	background-position: 100% 19%;
	transform: translateY(8%);
}
.visual .object.-p3 {
	bottom: 0;
	left: calc(50% - 320px);
	width: 890px;
	height: 384px;
	-webkit-clip-path: url(#object-3);
	clip-path: url(#object-3);
	background-position: 35% 75%;
	transform: translateY(58%);
}
.visual .object.digit {
	fill: var(--themecolor);
}
.visual .object.digit svg {
	width: 100%;
	height: auto;
}
.visual .object.-d1 {
	left: calc(50% - 350px);
	top: 0;
	width: 70px;
	transform: translateY(250%);
}
.visual .object.-d2 {
	left: calc(50% - 560px);
	top: 0;
	width: 30px;
	transform: translateY(1280%);
}
.visual .object.-d3 {
	left: calc(50% - 420px);
	bottom: 0;
	width: 50px;
	transform: translateY(-70%);
}
.visual .object.-d4 {
	right: calc(50% - 530px);
	top: 0;
	width: 50px;
	transform: translateY(812%);
}


/**
 * リンク
 * ---------------------------------------- */
.c-link,
.c-textlink {
	cursor: pointer;
	display: inline-block;
	color: var(--linkcolor);
	background: linear-gradient(currentcolor, currentcolor) right bottom .1em / 0 1px no-repeat;
}
.c-textlink {
	background: linear-gradient(currentcolor, currentcolor) left bottom .1em / 100% 1px no-repeat;
}
.c-link .arr,
.c-link .ico,
.c-textlink .ico {
	display: inline-block;
	position: relative;
	top: -.1em;
	vertical-align: middle;
}
.c-link .arr {
	width: 8px;
	height: 10px;
	margin-right: 10px;
	fill: var(--themecolor);
}
.c-link .ico,
.c-textlink .ico {
	width: 14px;
	height: 14px;
	margin-right: 4px;
	fill: none;
	stroke: var(--themecolor);
}
.c-textlink .ico {
	float: left;
	height: 2.1em;
	margin-right: .5em;
}
@media (hover: hover) {
	.c-link ,
	.c-textlink {
		transition: color .4s, background-size .4s cubic-bezier(0.215, 0.61, 0.355, 1);
	}
	.c-link:hover {
		color: inherit;
		background-position: left 18px bottom .1em;
		background-size: calc(100% - 18px) 1px;
		transition-duration: .2s;
	}
	.c-textlink:hover {
		color: inherit;
		background-position: right bottom .1em;
		background-size: 0 1px;
		transition-duration: .2s;
	}
}


/**
 * ボタン
 * ---------------------------------------- */
.c-button {
	cursor: pointer;
	display: flex;
	align-items: center;
	width: fit-content;
	min-height: 50px;
	padding: .75em 1.5em;
	border-radius: 2.5em;
	line-height: 1.4;
	font-weight: 600;
	background: white;
}
.c-button .arr {
	min-width: 8px;
	height: 10px;
	margin-right: 10px;
	vertical-align: middle;
	fill: var(--themecolor);
}
.c-button .ico {
	width: 14px;
	height: 14px;
	margin-right: 4px;
	fill: none;
	stroke: var(--themecolor);
}
@media (hover: hover) {
	.c-button {
		transition: background .4s;
	}
	.c-button:hover {
		background: #ddd;
		transition-duration: .1s;
	}
}
@media screen and (max-width: 479px) {
	.c-button {
		font-size: var(--px14);
	}
}


/**
 * カテゴリータグ
 * ---------------------------------------- */
.c-category .cat {
	padding: .2em .8em;
	border-radius: 2em;
	color: white;
	font-size: var(--px12);
	background-color: var(--themecolor);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


/**
 * タブ一覧
 * ---------------------------------------- */
.c-tabs {
	width: fit-content;
	margin: 80px auto 0;
}
.c-tabs .label {
	font-weight: 600;
	white-space: nowrap;
}
.c-tabs .list {
	line-height: 1.4;
	font-weight: 600;
}
.c-tabslist {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}
.c-tabslist .tab {
	cursor: pointer;
	display: block;
	padding: .75em 1.5em;
	border-radius: 2.5em;
	background: white;
}
.c-tabslist .tab.is-active {
	color: white;
}
.c-tabslist .tab[data-cat="all"].is-active {
	background-color: var(--themecolor);
}
.c-tabslist .tab[data-cat="cat1"].is-active {
	background-color: var(--color_cat1);
}
.c-tabslist .tab[data-cat="cat2"].is-active {
	background-color: var(--color_cat2);
}
.c-tabslist .tab[data-cat="cat3"].is-active {
	background-color: var(--color_cat3);
}
.c-tabslist .tab[data-cat="cat4"].is-active {
	background-color: var(--color_cat4);
}
.c-tabslist .tab[data-cat="cat5"].is-active {
	background-color: var(--color_cat5);
}
@media (hover: hover) {
	.c-tabslist .tab {
		transition: color .4s, background .4s;
	}
	.c-tabslist .tab:hover {
		color: white;
		transition-duration: .1s;
	}
	.c-tabslist .tab:hover,
	.c-tabslist .tab[data-cat="all"]:hover {
		background-color: var(--themecolor);
	}
	.c-tabslist .tab[data-cat="cat1"]:hover {
		background-color: var(--color_cat1);
	}
	.c-tabslist .tab[data-cat="cat2"]:hover {
		background-color: var(--color_cat2);
	}
	.c-tabslist .tab[data-cat="cat3"]:hover {
		background-color: var(--color_cat3);
	}
	.c-tabslist .tab[data-cat="cat4"]:hover {
		background-color: var(--color_cat4);
	}
	.c-tabslist .tab[data-cat="cat5"]:hover {
		background-color: var(--color_cat5);
	}
}
@media print, (min-width: 768px) {
	.c-tabs {
		display: flex;
		align-items: baseline;
		column-gap: 30px;
	}
}
@media screen and (max-width: 768px) {
	.c-tabs .list {
		margin-top: 1em;
	}
	.c-tabslist {
		gap: 10px;
	}
}
@media screen and (max-width: 479px) {
	.c-tabs {
		margin-top: 40px;
	}
	.c-tabs .list {
		font-size: var(--px12);
	}
}


/**
 * 記事一覧
 * ---------------------------------------- */
.c-postlist {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 64px;
	margin-top: 72px;
}
.c-postlist.-fill {
	gap: 40px;
}
.c-post,
.c-post .content {
	display: flex;
	flex-direction: column;
}
.c-post {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: relative;
	min-width: calc(33.3333% - 80px / 3);
}
.c-postlist.-fill .c-post {
	padding: 40px;
	border-radius: 30px;
	background: white;
}
.c-post::before {
	display: none;
}
.c-post .thumb {
	order: -1;
	border-radius: 10px;
	background: white;
}
.c-post .thumb img {
	border-radius: 10px;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.c-post .title {
	font-size: var(--px20);
	line-height: 1.4;
	font-weight: 700;
}
.c-post .title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 30px;
}
.c-post .title,
.c-post .summary {
	margin-top: .5em;
}
.c-post .summary {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.c-post .details {
	margin-top: 1em;
	padding: 1em;
	background: #f6f8f7;
}
.c-post .category {
	order: -1;
	display: flex;
	gap: 5px;
}
.c-post .cat {
	padding: .2em .8em;
	border-radius: 2em;
	color: white;
	font-size: var(--px12);
	background-color: var(--themecolor);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.c-post .cat[data-cat="cat1"] {
	background-color: var(--color_cat1);
}
.c-post .cat[data-cat="cat2"] {
	background-color: var(--color_cat2);
}
.c-post .cat[data-cat="cat3"] {
	background-color: var(--color_cat3);
}
.c-post .cat[data-cat="cat4"] {
	background-color: var(--color_cat4);
}
.c-post .cat[data-cat="cat5"] {
	background-color: var(--color_cat5);
}
@media screen and (max-width: 1199px) {
	.c-postlist {
		gap: 32px;
	}
	.c-postlist.-fill {
		gap: 24px;
	}
	.c-post {
		min-width: calc(33.3333% - 48px / 3);
	}
	.c-postlist.-fill .c-post {
		padding: 24px;
	}
}
@media screen and (max-width: 767px) {
	.c-postlist {
		grid-template-columns: repeat(2, 1fr);
	}
	.c-post {
		min-width: calc(50% - 12px);
	}
	.c-post .cat,
	.c-post .summary,
	.c-post .details {
		font-size: var(--px14);
	}
}
@media screen and (max-width: 479px) {
	.c-postlist {
		gap: 16px;
		margin-top: 32px;
	}
	.c-postlist.-fill {
		gap: 8px;
	}
	.c-post {
		min-width: calc(50% - 4px);
	}
	.c-postlist.-fill .c-post {
		padding: 15px;
	}
	.c-post,
	.c-post .title a::after {
		border-radius: 10px;
	}
	.c-post .thumb img {
		aspect-ratio: 35 / 16;
	}
	.c-postlist.-fill .c-post .thumb img {
		aspect-ratio: 7 / 5;
	}
	.c-post .title {
		font-size: var(--px14);
	}
	.c-post .cat,
	.c-post .summary,
	.c-post .details {
		font-size: var(--px10);
	}
}


/**
 * ページネーション
 * ---------------------------------------- */
.c-pagination {
	margin-top: 64px;
}
.c-pagination .list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
}
.c-pagination .page-numbers {
	display: grid;
	place-content: center;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	font-weight: 600;
	background: white;
}
.c-pagination .page-numbers .arr {
	fill: currentcolor;
}
.c-pagination .page-numbers.current {
	color: white;
	background: var(--themecolor);
}
@media (hover: hover) {
	.c-pagination .page-numbers {
		transition: color .4s, background .4s;
	}
	.c-pagination .page-numbers:hover {
		color: white;
		background: var(--themecolor);
		transition-duration: .1s;
	}
}
@media screen and (max-width: 479px) {
	.c-pagination {
		margin-top: 40px;
	}
}
@media screen and (max-width: 359px) {
	.c-pagination .list {
		gap: 8px;
	}
}


/**
 * お知らせ
 * ---------------------------------------- */
.c-newsbox {
	display: flex;
	gap: 4px;
}
.c-newsbox .c-post {
	flex-direction: row;
	align-items: center;
	gap: 4px 20px;
	position: relative;
	width: 100%;
	padding: 16px 54px;
	border-radius: 40px;
	background: white;
}
.c-newsbox .c-post .date {
	order: -1;
	font-weight: 600;
	white-space: nowrap;
}
.c-newsbox .c-post .summary {
	margin: 0;
	font-size: 1rem;
	-webkit-line-clamp: 2;
}
.c-newsbox .c-post .category {
	flex-wrap: wrap;
}
.c-newsbox .c-post .c-textlink {
	display: inline;
}
.c-newsbox .c-post .c-textlink::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 20px 0 0 20px;
}
@media screen and (max-width: 767px) {
	.c-newsbox .c-post {
		flex-wrap: wrap;
		padding-inline: 32px;
	}
}
@media screen and (max-width: 479px) {
	.c-newsbox .c-post {
		padding-inline: 20px;
		border-radius: 20px;
	}
}

/* :::::: お知らせ一覧 :::::: */
.c-newslist {
	display: flex;
	flex-direction: column;
	row-gap: 20px;
}


/**
 * 記事フッター
 * ---------------------------------------- */
.c-conversions {
	display: flex;
	justify-content: space-between;
	margin-top: 144px;
}
.c-conversion {
	position: relative;
	flex-basis: calc(50% - 20px);
	padding: 40px;
	border-radius: 30px;
	background: white;
}
.c-conversion a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 4px solid #f9f4f0;
}
.c-conversion a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 30px;
}
.c-conversion .single_title {
	align-items: flex-start;
	margin-top: 0;
	padding-bottom: .3em;
	font-size: var(--px24);
}
.c-conversion .arr {
	width: 16px;
	height: auto;
	fill: var(--themecolor);
}
.c-conversion .single_title .main img {
	width: auto;
	max-height: 48px;
}
@media screen and (max-width: 767px) {
	.c-conversions {
		margin-top: 96px;
	}
	.c-conversion {
		flex-basis: calc(50% - 12px);
		padding: 24px;
	}
	.c-conversion .single_title img {
		width: auto;
		height: 32px;
	}
	.c-conversion .single_title .sub {
		font-size: var(--px14);
	}
}
@media screen and (max-width: 479px) {
	.c-conversion {
		flex-basis: calc(50% - 6px);
		padding: 16px;
	}
	.c-conversion .single_title img {
		height: 24px;
	}
	.c-conversion .single_title .sub {
		font-size: var(--px12);
	}
	.c-conversion .arr {
		width: 10px;
	}
}
@media screen and (max-width: 359px) {
	.c-conversions {
		flex-direction: column;
	}
	.c-conversion + .c-conversion {
		margin-top: 12px;
	}
}


/**
 * 記事中スタイル (wp-block)
 * ---------------------------------------- */
.p-article h1 {
	font-size: var(--px36);
	line-height: 1.4;
}
.p-article h2 {
	margin-top: 80px;
	padding-bottom: .3em;
	color: var(--themecolor);
	font-size: var(--px30);
	line-height: 1.4;
	border-bottom: 2px solid currentcolor;
}
.p-article h3 {
	margin-top: 48px;
	font-size: var(--px24);
	line-height: 1.4;
}
.p-article h4 {
	margin-top: 32px;
	font-size: var(--px20);
	line-height: 1.4;
}
@media screen and (max-width: 479px) {
	.p-article h2 {
		margin-top: 40px;
	}
	.p-article h3 {
		margin-top: 32px;
	}
	.p-article h4 {
		margin-top: 24px;
	}
}

/* :::::: リスト :::::: */
.p-article ul:not([class]) {
	margin-top: 1em;
}
.p-article ul:not([class]) li {
	padding-left: 1.05em;
	text-indent: -1.05em;
}
.p-article ul:not([class]) li + li {
	margin-top: .4em;
}
.p-article ul:not([class]) li > * {
	text-indent: 0;
}
.p-article ul:not([class]) li::before {
	content: "";
	display: inline-block;
	position: relative;
	top: -.1em;
	width: .5em;
	height: .5em;
	margin-right: .55em;
	border-radius: .5em;
	vertical-align: middle;
	background: var(--themecolor);
}
.p-article ol:not([class]) {
	list-style: decimal inside;
	margin-top: 1em;
}
.p-article ol:not([class]) li {
	padding-left: 1.05em;
	text-indent: -1.05em;
}
.p-article ol:not([class]) li + li {
	margin-top: .4em;
}
.p-article ol:not([class]) li > * {
	text-indent: 0;
}

/* :::::: テーブル :::::: */
.p-article .wp-block-table {
	margin-top: 40px;
}
.p-article .wp-block-table table {
	border-collapse: collapse;
	font-size: var(--px14);
}
.p-article .wp-block-table table th,
.p-article .wp-block-table table td {
	padding: 1em;
	border-block: 1px solid currentcolor;
	text-align: left;
	vertical-align: baseline;
}
.p-article .wp-block-table table th {
	min-width: 10em;
	font-weight: 700;
}
@media screen and (max-width: 767px) {
	.p-article .wp-block-table {
		margin-top: 24px;
		border-bottom: 1px solid currentcolor;
	}
	.p-article .wp-block-table table tr {
		display: block;
	}
	.p-article .wp-block-table table th,
	.p-article .wp-block-table table td {
		display: block;
		border-bottom: 0;
	}
	.p-article .wp-block-table table th {
		padding-bottom: .3em;
	}
	.p-article .wp-block-table table td {
		padding-top: 0;
		border-top: 0;
	}
}
@media screen and (max-width: 479px) {
	.p-article .wp-block-table table th,
	.p-article .wp-block-table table td {
		padding-inline: .5em;
	}
}

/* :::::: カラム :::::: */
.p-article .wp-block-columns {
	display: flex;
	gap: 2rem;
	margin-top: 40px;
}
@media screen and (max-width: 767px) {
	.p-article .wp-block-columns {
		gap: 1rem;
	}
}
@media screen and (max-width: 479px) {
	.p-article .wp-block-columns {
		gap: .5rem;
		margin-top: 24px;
	}
}

/* :::::: メディアとテキスト :::::: */
.p-article .wp-block-media-text {
	display: flex;
	align-items: center;
	gap: 24px 40px;
}
.p-article .wp-block-media-text__media {
	order: 1;
}
.p-article .wp-block-media-text__content {
	order: 2;
}
@media screen and (max-width: 767px) {
	.p-article .wp-block-media-text {
		flex-direction: column;
	}
}

/* :::::: 画像 :::::: */
.p-article .wp-block-image {
	text-align: center;
}
.p-article .wp-block-image img {
	border-radius: 10px;
}
.p-article .wp-element-caption {
	margin-top: .3em;
	font-size: var(--px14);
}

/* :::::: テキストリンク :::::: */
.p-article a:not([class]) {
	display: inline-block;
	color: var(--linkcolor);
	background: linear-gradient(currentcolor, currentcolor) right bottom .1em / 0 1px no-repeat;
}
.p-article a:not([class]) {
	background: linear-gradient(currentcolor, currentcolor) left bottom .1em / 100% 1px no-repeat;
}
@media (hover: hover) {
	.p-article a:not([class]) {
		transition: color .4s, background-size .4s cubic-bezier(0.215, 0.61, 0.355, 1);
	}
	.p-article a:not([class]):hover {
		color: inherit;
		background-position: right bottom .1em;
		background-size: 0 1px;
		transition-duration: .2s;
	}
}

/* :::::: ボタン :::::: */
.p-article .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1em 2em;
	margin-top: 40px;
}
.p-article .wp-block-button__link {
	cursor: pointer;
	display: flex;
	align-items: center;
	width: fit-content;
	min-height: 50px;
	padding: .75em 1.5em;
	border-radius: 2.5em;
	color: inherit;
	line-height: 1.4;
	font-weight: 600;
	background: white;
}
.p-article .is-style-outline .wp-block-button__link {
	border: 2px solid var(--themecolor);
	color: inherit;
	background: transparent;
}
.p-article .wp-block-button__link .arr {
	min-width: 8px;
	height: 10px;
	margin-right: 10px;
	vertical-align: middle;
	fill: var(--themecolor);
}
@media (hover: hover) {
	.p-article .wp-block-button__link {
		transition: background .4s;
	}
	.p-article .wp-block-button__link:hover {
		background: #ddd;
		transition-duration: .1s;
	}
	.p-article.is-style-outline .wp-block-button__link {
		transition: color .4s, background .4s;
	}
	.p-article .is-style-outline .wp-block-button__link:hover {
		color: white;
		background: var(--themecolor);
	}
	.p-article .is-style-outline .wp-block-button__link .arr {
		transition: fill .4s;
	}
	.p-article .is-style-outline .wp-block-button__link:hover .arr {
		fill: currentcolor;
		transition-duration: .1s;
	}
}
@media screen and (max-width: 479px) {
	.p-article .wp-block-buttons {
		margin-top: 24px;
	}
	.p-article .wp-block-button__link {
		font-size: var(--px14);
	}
}
