@charset "utf-8";

/*
 * PC スマホ共用CSS
 */

/* フォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
	font-family: 'Noto Sans JP', sans-serif;
}

/* ロード画面を翻訳より前に */
#progress {
	z-index: 999999 !important;
}

/* EASYS
---------------------------------------------------------------------------------------------------- */
.facebook_banner {
	margin: 20px 0;
}
.facebook_banner img {
	width: 100%;
	height: auto;
}
.facebook_banner a img:hover {
	opacity: 0.75;
	-ms-filter: 'alpha(opacity=75)'; /* ie 8 */
	filter: alpha(opacity=75); /* ie lt 8 */

	-moz-opacity: 0.75; /* FF lt 1.5, Netscape */
	-khtml-opacity: 0.75; /* Safari 1.x */
}
/*Googleカレンダー*/
.cal_wrapper {
	margin: 2.0833% auto;
	min-width: 300px; /* 最小幅 */
	max-width: 960px; /* 最大幅 */
}
.googlecal {
	position: relative;
	padding-bottom: 180%; /* 縦横比 */
	height: 0;
}
.googlecal iframe {
	position: absolute;
	top: 0;
	left: 0;
	overflow-y: scroll;
	box-sizing: border-box;
	width: 100% !important;
	height: 100% !important;
}
/* 画面幅が768px以上の場合の縦横比の指定 */
@media only screen and (min-width: 768px) {
	.googlecal {
		padding-bottom: 75%;
	}
}
/*Youtube*/
.youtube_wrap {
	position: relative;
	overflow: hidden;
	padding-top: 30px;
	padding-bottom: 56.25%;
	height: 0;
}
.youtube_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*「reCAPTCHAで保護されています」を非表示*/
.grecaptcha-badge {
	visibility: hidden;
}
/*「メディアを追加＞URL から挿入」を使用した際に作られる要素*/
iframe.wp-embedded-content {
	width: 100%;
}

/* デザインブロックのテンプレートパターン6種(PC/SP共通)
---------------------------------------------------------------------------------------------------- */
/* ----- 変数 ----- */
.template_db {
	--template_db-bg: #1e2021; /*背景*/
	--template_db-font-color: #e8e8e8; /*文字色*/
	--template_db-edge-color: #ffeb3b; /*パターン②の縁色*/
	--template_db-text-align-y: end; /*テキスト上下アライン*/
	--template_db-text-align-x: left; /*テキスト左右アライン*/
	--template_db-wh: max(100vw, 100vh);
}
/* PCのみ */
html.pc .template_db {
	--template_db-image-padding: 5% 5% 10% 10%; /*イメージエリア余白*/
	--template_db-text-padding: 2% 10% 5% 5%; /*テキストエリア余白*/
	--template_db-text-bg: rgba(0, 0, 0, 0.3); /*テキストエリア背景*/
	--template_db-margin: calc(clamp(1300px, 100vw, 2000px) * (10 / 2000));
}
/* SPのみ */
html.sp .template_db {
	--template_db-image-padding: 10% 0 0 0; /*イメージエリア余白*/
	--template_db-text-padding: 2% 5% 10% 5%; /*テキストエリア余白*/
	--template_db-margin: calc(100vw * (10 / 640));
}
/* ----- 親 ----- */
.template_db {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: var(--template_db-bg);
}
html.pc .template_db {
	display: flex;
	align-items: var(--template_db-text-align-y);
	max-height: clamp(1300px, 100vw, 2000px);
	height: 100vh;
}
html.sp .template_db {
	padding: 0 !important;
	height: auto;
}
/* ----- 子 ----- */
/* 画像 */
.template_db .db_image {
	top: 0;
	left: 0;
	z-index: 1;
	box-sizing: border-box;
	padding: var(--template_db-image-padding);
	width: 100%;
	opacity: 1;
}
html.pc .template_db .db_image {
	position: absolute;
	height: 100%;
}
html.sp .template_db .db_image {
	position: relative;
	max-height: 100vw;
	height: 100vh;
}
.template_db .db_image > div {
	position: relative;
	width: 100%;
	height: 100%;
}
.template_db .db_image > div img {
	position: absolute;

	object-fit: cover;
}
/* テキスト */
.template_db .db_text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-flow: column;
	justify-content: flex-end;
	box-sizing: border-box;
	padding: var(--template_db-text-padding);
	width: 100%;
	text-align: var(--template_db-text-align-x);
}
html.pc .template_db .db_text {
	background: var(--template_db-text-bg);
}
.template_db .db_text > div {
	color: var(--template_db-font-color);
	line-height: normal;
}
/* ----- 孫 ----- */
/* タイトル */
.template_db .db_text .db_title {
	font-weight: bold;
	font-size: clamp(40px, 4vw, 60px);
}
/* コメント */
.template_db .db_text .db_comment {
	font-size: clamp(14px, 1.2vw, 18px);
}
.template_db .db_text .db_comment p:not(:last-of-type) {
	margin-bottom: 1%;
}
/* ボタン */
.template_db .db_text .db_button {
	font-weight: bold;
	font-size: clamp(14px, 1.2vw, 18px);
}
/* タイトル,コメント,ボタン間のマージン */
.template_db .db_text > div:nth-last-of-type(1),
.template_db .db_text > div:nth-last-of-type(2) {
	margin-top: 1%;
}
/* ----- パターン① ----- */
.template_db.pattern1 .db_image > div img {
	width: calc(50% - var(--template_db-margin));
	opacity: 0;
	transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 700ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
}
.template_db.pattern1 .db_image > div img:nth-of-type(1) {
	top: 0;
	left: 0;
	height: 100%;
	transition-delay: calc(80ms * 0);
	transform: translateX(100vw) rotateZ(10deg);
}
.template_db.pattern1 .db_image > div img:nth-of-type(2) {
	top: 0;
	right: 0;
	height: calc(50% - var(--template_db-margin));
	transition-delay: calc(80ms * 1);
	transform: translateX(100vw) rotateZ(15deg);
}
.template_db.pattern1 .db_image > div img:nth-of-type(3) {
	right: 0;
	bottom: 0;
	height: calc(50% - var(--template_db-margin));
	transition-delay: calc(80ms * 2);
	transform: translateX(100vw) rotateZ(20deg);
}
.template_db.pattern1.on_screen .db_image > div img {
	opacity: 1;
	transform: translateX(0vw) rotateZ(0deg);
}
/* ----- パターン② ----- */
.template_db.pattern2 .db_image > div img {
	width: 50%;
	height: 70%;
	border: var(--template_db-margin) solid var(--template_db-edge-color);
	opacity: 0;
	transition: opacity 900ms cubic-bezier(0.19, 1, 0.22, 1) 0ms, transform 900ms cubic-bezier(0.19, 1, 0.22, 1) 0ms;
}
.template_db.pattern2 .db_image > div img:nth-of-type(1) {
	top: -5%;
	left: -5%;
	transition-delay: calc(30ms * 0);
	transform: translate(50vw, -50vh) scale(0.8) rotate(15deg);
}
.template_db.pattern2.on_screen .db_image > div img:nth-of-type(1) {
	transform: translate(0vw, 0vh) scale(0.8) rotate(-15deg);
}
.template_db.pattern2 .db_image > div img:nth-of-type(2) {
	top: -5%;
	right: -5%;
	transition-delay: calc(30ms * 1);
	transform: translate(50vw, 0vh) scale(0.78) rotate(39deg);
}
.template_db.pattern2.on_screen .db_image > div img:nth-of-type(2) {
	transform: translate(0vw, 0vh) scale(0.78) rotate(13deg);
}
.template_db.pattern2 .db_image > div img:nth-of-type(3) {
	bottom: 0;
	left: -3%;
	transition-delay: calc(30ms * 2);
	transform: translate(50vw, 50vh) scale(0.78) rotate(30deg);
}
.template_db.pattern2.on_screen .db_image > div img:nth-of-type(3) {
	transform: translate(0vw, 0vh) scale(0.78) rotate(10deg);
}
.template_db.pattern2 .db_image > div img:nth-of-type(4) {
	right: 0;
	bottom: -5%;
	transition-delay: calc(30ms * 3);
	transform: translate(50vw, 25vh) scale(0.76) rotate(15deg);
}
.template_db.pattern2.on_screen .db_image > div img:nth-of-type(4) {
	transform: translate(0vw, 0vh) scale(0.76) rotate(-15deg);
}
.template_db.pattern2 .db_image > div img:nth-of-type(5) {
	top: 40%;
	left: 50%;
	transition-delay: calc(30ms * 4);
	transform: translate(100%, 0%) rotate(30deg);
}
.template_db.pattern2.on_screen .db_image > div img:nth-of-type(5) {
	transform: translate(-50%, -50%) rotate(0deg);
}
.template_db.pattern2.on_screen .db_image > div img {
	opacity: 1;
}
/* ----- パターン③ ----- */
.template_db.pattern3 .db_image > div img {
	top: 5%;
	left: 25%;
	width: 50%;
	height: 70%;
	opacity: 0;
	transition: opacity 1200ms cubic-bezier(0.25, 1, 0.5, 1) 0ms, transform 1200ms cubic-bezier(0.25, 1, 0.5, 1) 0ms;
	transform: rotateZ(-40deg);
	transform-origin: 50% 200%;
}
.template_db.pattern3.on_screen .db_image[data-img_cnt='3'] {
	--pattern3-data-img_cnt: 3;
}
.template_db.pattern3.on_screen .db_image[data-img_cnt='4'] {
	--pattern3-data-img_cnt: 4;
}
.template_db.pattern3.on_screen .db_image[data-img_cnt='5'] {
	--pattern3-data-img_cnt: 5;
}
.template_db.pattern3.on_screen .db_image[data-img_cnt='6'] {
	--pattern3-data-img_cnt: 6;
}
.template_db.pattern3.on_screen .db_image[data-img_cnt='7'] {
	--pattern3-data-img_cnt: 7;
}
.template_db.pattern3.on_screen .db_image > div img:nth-of-type(1) {
	--index: 1;
}
.template_db.pattern3.on_screen .db_image > div img:nth-of-type(2) {
	--index: 2;
}
.template_db.pattern3.on_screen .db_image > div img:nth-of-type(3) {
	--index: 3;
}
.template_db.pattern3.on_screen .db_image > div img:nth-of-type(4) {
	--index: 4;
}
.template_db.pattern3.on_screen .db_image > div img:nth-of-type(5) {
	--index: 5;
}
.template_db.pattern3.on_screen .db_image > div img:nth-of-type(6) {
	--index: 6;
}
.template_db.pattern3.on_screen .db_image > div img:nth-of-type(7) {
	--index: 7;
}
.template_db.pattern3.on_screen .db_image > div img {
	transform: rotateZ(calc(-30deg + (60deg / (var(--pattern3-data-img_cnt) - 1) * var(--n))));

	--n: calc(var(--index) - 1);
}
.template_db.pattern3.on_screen .db_image > div img {
	opacity: 1;
}
/* ----- パターン④ ----- */
.template_db.pattern4 .db_image > div img {
	opacity: 0;
	transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 700ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
	transform: translateY(-100%);
}
.template_db.pattern4 .db_image > div img:nth-of-type(1) {
	bottom: 0;
	left: 5%;
	width: 80%;
	height: 70%;
	transition-delay: calc(50ms * 0);
}
.template_db.pattern4 .db_image > div img:nth-of-type(2) {
	top: 15%;
	left: 25%;
	width: 30%;
	height: 50%;
	transition-delay: calc(50ms * 1);
}
.template_db.pattern4 .db_image > div img:nth-of-type(3) {
	top: 0;
	right: 20%;
	width: 30%;
	height: 60%;
	transition-delay: calc(50ms * 2);
}
.template_db.pattern4 .db_image > div img:nth-of-type(4) {
	right: 5%;
	bottom: 10%;
	width: 20%;
	height: 50%;
	transition-delay: calc(50ms * 3);
}
.template_db.pattern4.on_screen .db_image > div img {
	opacity: 1;
	transform: translateY(0%);
}
/* ----- パターン⑤ ----- */
.template_db.pattern5 .db_image > div img {
	border-radius: 50%;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.5);
}
.template_db.pattern5 .db_image > div img:nth-of-type(1) {
	top: calc(50% + 0.07 * var(--template_db-wh));
	left: calc(50% + 0.26 * var(--template_db-wh));
	width: calc(0.25 * var(--template_db-wh));
	height: calc(0.25 * var(--template_db-wh));
	animation-delay: calc(50ms * 0) !important;
}
.template_db.pattern5 .db_image > div img:nth-of-type(2) {
	top: calc(50% - 0 * var(--template_db-wh));
	left: calc(50% + 0.03 * var(--template_db-wh));
	width: calc(0.35 * var(--template_db-wh));
	height: calc(0.35 * var(--template_db-wh));
	animation-delay: calc(50ms * 1) !important;
}
.template_db.pattern5 .db_image > div img:nth-of-type(3) {
	top: calc(50% - 0.05 * var(--template_db-wh));
	left: calc(50% - 0.23 * var(--template_db-wh));
	width: calc(0.3 * var(--template_db-wh));
	height: calc(0.3 * var(--template_db-wh));
	animation-delay: calc(50ms * 2) !important;
}
.template_db.pattern5.on_screen .db_image > div img {
	animation: scale-easeOutElastic 1000ms ease-out 0ms forwards;
}
@keyframes scale-easeOutElastic {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.5);
	}
	60% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.25);
	}
	80% {
		transform: translate(-50%, -50%) scale(0.9);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}
/* ----- パターン⑥ ----- */
.template_db.pattern6 .db_image > div img {
	top: 0;
	width: 40%;
	height: 100%;
	opacity: 0;
	transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 700ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
	transform: translateX(100vw) rotateZ(25deg);

	-webkit-clip-path: polygon(0% 100%, 30% 0%, 100% 0%, 70% 100%);
	clip-path: polygon(0% 100%, 30% 0%, 100% 0%, 70% 100%);
}
.template_db.pattern6 .db_image > div img:nth-of-type(1) {
	left: 0;
	transition-delay: calc(40ms * 0);
}
.template_db.pattern6 .db_image > div img:nth-of-type(2) {
	left: calc(50% - 20%);
	transition-delay: calc(40ms * 1);
}
.template_db.pattern6 .db_image > div img:nth-of-type(3) {
	right: 0;
	transition-delay: calc(40ms * 2);
}
.template_db.pattern6.on_screen .db_image > div img {
	opacity: 1;
	transform: translateX(0vw) rotateZ(0deg);
}

/* ===== START カスタマイズ処理 ====================================================================== */
/* PC/SP共通============================================== */
:root {
	--category1-color: #0d91d1;
	--category2-color: #80b62c;
	--category3-color: #f19b2c;
	--category4-color: #161616;
	--category5-color: #636363;
}
/* 新着情報ブロック */
#wrap_parent {
	position: relative;
	clip-path: inset(0);
	-webkit-clip-path: inset(0);
}
/* カテゴリーフィルター */
#category_filter_menu {
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	position: relative;
}
/* カテゴリーフィルターボタン */
#wrap_parent .category_filter_btn {
	border: 2px solid #ddd;
	background-color: #fff;
	color: #333;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	display: block;
}
#wrap_parent .category_filter_btn:hover {
	background-color: #f0f0f0;
	border-color: #999;
}
#wrap_parent .category_filter_btn.active {
	color: #fff;
	background-color: #333;
	border-color: #333;
}
#wrap_parent .category_filter_btn[data-category='category1'].active {
	background-color: var(--category1-color);
	border-color: var(--category1-color);
}
#wrap_parent .category_filter_btn[data-category='category2'].active {
	background-color: var(--category2-color);
	border-color: var(--category2-color);
}
#wrap_parent .category_filter_btn[data-category='category3'].active {
	background-color: var(--category3-color);
	border-color: var(--category3-color);
}
#wrap_parent .category_filter_btn[data-category='category4'].active {
	background-color: var(--category4-color);
	border-color: var(--category4-color);
}
#wrap_parent .category_filter_btn[data-category='category5'].active {
	background-color: var(--category5-color);
	border-color: var(--category5-color);
}
/* 表示/非表示のアニメーション */
#wrap_parent > div,
#wrap_parent > section {
	transition: opacity 0.3s ease, transform 0.3s ease;
}
#wrap_parent > div[style*='display: none'],
#wrap_parent > section[style*='display: none'] {
	opacity: 0;
	transform: scale(0.95);
}
/* カテゴリーごとの背景色 */
#wrap_parent .category1 {
	background-color: var(--category1-color);
}
#wrap_parent .category2 {
	background-color: var(--category2-color);
}
#wrap_parent .category3 {
	background-color: var(--category3-color);
}
#wrap_parent .category4 {
	background-color: var(--category4-color);
}
#wrap_parent .category5 {
	background-color: var(--category5-color);
}
/* タイトル＞新着情報 */
#category_filter_menu::before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	pointer-events: none;
	position: absolute;
	content: '新着情報';
	text-align: center;
	color: #fff;
}
/* 記事関連-----------------------------------*/
/* タイトルカラー */
#wrap_parent .nm_01 .post_title_list a {
	color: #fff;
}
/* カテゴリータイトル */
#wrap_parent .category_area {
	color: #fff;
	line-height: 2;
}

/*PC専用============================================== */
/* 新着情報ブロック */
#page_6 #wrap_parent {
	padding-block: 200px 200px;
	/* margin-bottom: 70px; */
}
/* タイトル＞新着情報 */
#category_filter_menu::before {
	top: -70px;
	left: 0;
	font-size: 40px;
}
/* 背景パララックス */
#page_6 #wrap_parent::before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	background: url(../files/design01_bg.jpg) no-repeat center top/cover;
	z-index: -1;
}
/* コンテンツ背景 */
#page_6 #wrap_parent::after {
	display: block;
	content: '';
	height: calc(100% - 370px);
	pointer-events: none;
	position: absolute;
	top: 200px;
	left: 0;
	right: 0;
	background: #333;
	z-index: -1;
	width: 960px;
	margin: auto;
}
/* カテゴリーフィルターメニュー */
#page_6 #category_filter_menu {
	max-width: 960px;
	margin-bottom: 40px;
}
/* カテゴリーフィルターボタン */
#page_6 .category_filter_btn {
	width: calc((960 / 6) * 1px);
	padding: 13px;
}

/* 記事関連-----------------------------------*/
#page_6 #wrap_parent .nm_01 {
	margin-bottom: 0;
}
#page_6 #wrap_parent .nm_01 .easys_content_inner {
	width: 860px;
}
#page_6 #wrap_parent .nm_01 .easys_content_inner .blog_post {
	margin-bottom: 20px !important;
}
/* 画像、記事本文非表示 */
#page_6 #wrap_parent .nm_01 .eyecatch,
#page_6 #wrap_parent .nm_01 .news_small_text {
	display: none;
}
/* タイトル */
#page_6 #wrap_parent .nm_01 .easys_content_inner .post_title_list {
	flex: 1;
}
/* 日付、カテゴリー */
#page_6 #wrap_parent .nm_01 .easys_content_inner .date_area,
#page_6 #wrap_parent .nm_01 .easys_content_inner .category_area {
	flex: 0 0 auto;
}
/* 日付、カテゴリー、タイトル配置 */
#page_6 #wrap_parent .nm_01 .post_data {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	align-items: baseline;
	width: 100%;
}
/* カテゴリータイトル */
#page_6 #wrap_parent .category_area {
	padding: 0px 15px;
	border-radius: 3px;
}

/*SP専用============================================== */
/* 新着情報ブロック */
#page-6 #wrap_parent {
	padding-block: calc(160 / 640 * 100vw) calc(140 / 640 * 100vw);
	/* margin-bottom: 7vw; */
}
/* タイトル＞新着情報 */
#page-6 #category_filter_menu::before {
	font-size: calc(36 / 640 * 100vw);
	top: calc(-60 / 640 * 100vw);
	height: auto;
}
/* 背景パララックス */
#page-6 #wrap_parent::before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	background: url(../files/sp_design01_top.png) no-repeat center top/cover;
	z-index: -1;
}
/* コンテンツ背景 */
#page-6 #wrap_parent::after {
	display: block;
	content: '';
	height: calc(100% - calc(270 / 640 * 100vw));
	pointer-events: none;
	position: absolute;
	top: calc(160 / 640 * 100vw);
	left: 0;
	right: 0;
	background: #333;
	z-index: -1;
	width: calc(100% - var(--easys_padding) * 2);
	margin: auto;
}
/* カテゴリーフィルターメニュー */
#page-6 #category_filter_menu {
	width: calc(100% - var(--easys_padding) * 2);
	margin-bottom: 5vw;
}
/* カテゴリーフィルターボタン */
#page-6 #wrap_parent .category_filter_btn {
	width: calc(100% / 6);
	font-size: 13px;
	border-width: 1px;
	padding-block: 5px;
}

/* 記事関連-----------------------------------*/
#page-6 #wrap_parent .nm_01 {
	margin-bottom: 0;
}
#page-6 #wrap_parent section {
	width: calc(100% - var(--easys_padding) * 4);
	margin: auto;
}
#page-6 #wrap_parent .content_area {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 15px;
	margin-bottom: 13px;
}
/* 画像、記事本文非表示 */
#page-6 #wrap_parent .nm_01 .mail_content_area {
	display: none;
}
/* タイトル */
#page-6 #wrap_parent .nm_01 .post_title_list {
	display: block;
	width: 100%;
}
#page-6 #wrap_parent .nm_01 .post_title_list a {
	font-size: 14px;
}
/* カテゴリータイトル */
#page-6 #wrap_parent .category_area {
	padding-inline: 6px;
	font-size: 12px;
	border-radius: 2px;
}
/* ===== END   カスタマイズ処理 ====================================================================== */
