@charset "utf-8";

/* ==================================================
	外部読み込み
================================================== */
/* Font Awesome */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* テンプレート専用CSS */
@import url("slide.css");
@import url("inview.css");


/* ==================================================
	CSSカスタムプロパティ（全体管理）
================================================== */
:root {
	--text-color: #333;					/* テキストカラー */
	--primary-color: #2590e2;			/* メイン/アクセント */
	--primary-inverse-color: #fff;		/* primaryの対 */
	--global-space: 5vw;				/* 左右余白（画面幅基準） */
	--global-space-sub: 0 5vw 5vw 5vw;	/* 左右余白（画面幅基準） */
}


/* ==================================================
	アニメーション
================================================== */
/* 開閉ブロック */
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}

/* 汎用フェード */
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

/* テキストのフェードイン */
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.8);}
	100% {opacity: 1;transform: scale(1);}
}


/* ==================================================
	全体設定
================================================== */
body * {box-sizing: border-box;}

html,body {
	height: 100%;
	font-size: 13px;	/* 基準フォント */
}

/* 画面幅1100px以上の追加指定（←ここが切替基準） */
@media screen and (min-width:1100px) {
	html, body {
		font-size: 16px;
	}
}

body {
	margin: 0;padding:0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	font-optical-sizing: auto;
	-webkit-text-size-adjust: none;
	background: #fff;
	color: var(--text-color);
	line-height: 2;
}

/* リセット */
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
section li {margin-left: 1rem;}

/* table */
table {border-collapse:collapse;}

/* img */
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/* video */
video {max-width: 100%;}

/* iframe */
iframe {width: 100%;}

/* other */
input {font-size: 1rem;}
section + section {margin-top: 3rem;}


/* ==================================================
	リンク
================================================== */
a {
	color: var(--text-color);
	transition: 0.3s;
}
a:hover {
	text-decoration: none;
	color: var(--primary-color);
}


/* ==================================================
	コンテナー
================================================== */
body:not(.home) #container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


/* ==================================================
	コンテンツ
================================================== */
#contents {
	flex: 1;
	padding: var(--global-space);
}

#contents-sub {
	flex: 1;
	padding: var(--global-space-sub);
}

/* 画面幅600px以下 */
@media screen and (max-width:600px) {
	#contents {
		padding-top: 80px;
	}
	#contents-sub {
		padding-top: 0;
	}
}


/* ==================================================
	header（ロゴ）
================================================== */
#header {
	height: 94px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	min-width: 1100px;
	z-index: 999;
	transition: .3s all ease;
	background: rgb(0, 0, 0);
	background: linear-gradient(0deg, rgba(0, 0, 0, 0) 38.17%, rgba(0, 0, 0, 0.4) 100%);
}
#header.active {background: #fff;}

.outer {
	min-width: 1100px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

/* 画面幅1100px以上 */
@media screen and (min-width:1100px) {
	header {
		position: fixed;
	}
}

/* ロゴ（画像） */
#logo img {
	display: block;
	width: 260px;
	margin-left: 35px;
}

/* ロゴ（テキスト） */
#logo a {
	display: block;text-decoration: none;
	font-size: 1.2rem;
	font-weight: 800;
}


/* ==================================================
	メニュー（初期設定）
================================================== */
/* メニューをデフォルトで非表示 */
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}

/* 上で非表示にしたメニューを表示させる為の設定 */
.large-screen #menubar {
	display: block;
	padding-right: 35px;
}
.small-screen #menubar.display-block {display: block;}

/* 3本バーをデフォルトで非表示 */
#menubar_hdr.display-none {display: none;}

/* ドロップダウンをデフォルトで非表示 */
.ddmenu_parent ul {display: none;}

/* ドロップダウンの親メニューのカーソル表示を変更 */
a.ddmenu {cursor: default;}

/* ddmenuに矢印アイコン */
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	content: "\f078";
	font-weight: bold;
	margin-right: 0.5em;
}


/* ==================================================
	大きな端末用メニュー
================================================== */
.large-screen #menubar > nav > ul {
	display: flex;
	font-size: 0.85rem;
	gap: 0.5rem;
}
.large-screen #menubar li a {
	border-radius: 100px;
	padding: 0.2rem 1rem;
}
.large-screen #menubar li a:hover {
	background: #fff;
}


/* ==================================================
	ドロップダウン（共通）
================================================== */
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;
}


/* ==================================================
	大きな端末用ドロップダウン
================================================== */
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
}
.large-screen #menubar ul ul a {
	margin-top: 0.4rem;
}


/* ==================================================
	小さな端末用（開閉）
================================================== */
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 90px;
	background: rgba(240,240,240,0.5);
	backdrop-filter: blur(8px);
	animation: animation1 0.2s both;
}
.small-screen #menubar nav ul li {
	border: 1px solid #333;
	margin: 1rem;
	border-radius: 5px;
	padding: 0 2rem;
}
.small-screen #menubar a {
	padding: 1rem;
}
.small-screen #menubar, .small-screen #menubar a {
	color: #fff;
}
#menubar .sh {
	font-weight: normal;
	padding: 1rem 2rem 2rem;
}


/* ==================================================
	メニュー追記（画像メニュー）
================================================== */
#menubar .menuicon{
	display:flex;
	align-items:center;
	gap:18px;
	margin:0;
	padding:0;
	list-style:none;
}
#menubar .menuicon__a{
	display:block;
	border-radius:12px;
	overflow:hidden;
}
#menubar .menuicon__img{
	display:block;
	height:36px;
	width:auto;
}
.large-screen #menubar .menuicon__a:hover{
	filter:brightness(1.05);
}
.small-screen #menubar.display-block .menuicon{
	flex-direction:column;
	gap:14px;
}
.small-screen #menubar.display-block .menuicon__img{
	height:64px;
}


/* ==================================================
	３本バー（ハンバーガー）
================================================== */
#menubar_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 3vw;
	top: 1vw;
	padding: 16px 14px;
	width: 46px;
	height: 46px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 99999 !important;
	pointer-events: auto !important;
}
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 1.5px solid #333;
}
#menubar_hdr.ham {
	background: #ff0000;
}
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 20px;
	border-color: #fff;
}
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);
}
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);
}
#menubar_hdr.ham span:nth-of-type(2){
	display: none;
}


/* ==================================================
	main
================================================== */
main h2 {
	font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
	font-size: 3rem;
	letter-spacing: 0.1em;
	color: var(--primary-color);
}
.bg1 h2 {
	color: var(--primary-inverse-color);
}
main h2 .hosoku {
	display: block;font-weight: normal;
	font-size: 0.3em;
}
main h3 {
	display: inline-block;
	border-bottom: 3px solid var(--text-color);
}


/* ==================================================
	2カラム
================================================== */
.main-contents {
	margin-bottom: 5rem;
}

/* 画面幅1100px以上 */
@media screen and (min-width:1100px) {
	main.column {
		display: flex;
		justify-content: space-between;
		gap: 2rem;
	}
	.main-contents {
		margin-bottom: 0;
		order: 2;
		flex: 1;
	}
	.sub-contents {
		width: 230px;
	}
	.sub-contents:nth-child(2) {order: 1;}
	.sub-contents:nth-child(3) {order: 3;}
}


/* ==================================================
	サブコンテンツ
================================================== */
.sub-contents h3 {
	display: block;
	margin: 0;
	text-align: center;
	border-radius: 5px 5px 0px 0px;
	border: 1px solid #ccc;
	background: linear-gradient(transparent, rgba(0,0,0,0.03));
	padding: 0.5rem 0;
}


/* ==================================================
	サブメニュー
================================================== */
.submenu {
	padding: 0;
	margin: 0 0 1rem;
}
.submenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;
}
.submenu > li {
	border: 1px solid #ccc;
	border-top: none;
}
.submenu li li a {
	padding-left: 2rem;
}
.sub-contents h3 + nav .submenu {
	border-top: none;
}


/* ==================================================
	フッター
================================================== */
.site-footer{
	background:#f4f6f8;
	border-top:1px solid #e5e7eb;
}

.site-footer__inner{
	max-width:1100px;
	margin:0 auto;
	padding:40px 5vw;
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
	gap:60px;
}

/* 左：ロゴ＋住所 */
.site-footer__left{
	min-width:320px;
}

.site-footer__logo{
	width:220px;
	margin:0 auto 18px;
}

.site-footer__company{
	display:flex;
	flex-direction:column;
	gap:18px;
	text-align:left;
}

.site-footer__block{
	display:block;
}

.site-footer__title{
	font-weight:800;
	color:#333;
	margin-bottom:6px;
}

.site-footer__content{
	line-height:1.8;
	color:#555;
}

/* 右：メニュー＋TEL/MAIL */
.site-footer__right{
	display:flex;
	flex-direction:column;
	align-items:flex-end;
	gap:22px;
}

/* PC：横一列4つ（右寄せ） */
.site-footer__menu{
	list-style:none;
	margin:0;
	padding:0;
	display:grid;
	grid-template-columns:repeat(4, max-content);
	gap:0 26px;
	justify-content:end;
}

.site-footer__menu a{
	display:inline-block;
	text-decoration:none;
	color:#333;
	font-size:16px;
	font-weight:800;
	padding:6px 0;
}

.site-footer__menu a:hover{
	color:#2590e2;
}

/* TEL/MAIL（右下で目立たせる） */
.site-footer__tel{
	font-weight:900;
	font-size:22px;
	color:#2590e2;
	text-align:right;
	line-height:1.6;
	white-space:nowrap;
}

.site-footer__tel .label{
	display:inline-block;
	min-width:64px;
	font-size:12px;
	font-weight:800;
	color:#666;
	letter-spacing:0.06em;
	margin-right:10px;
}

.site-footer__tel a{
	color:#2590e2;
	text-decoration:none;
}

.site-footer__tel a:hover{
	opacity:0.85;
}

/* 下段 */
.site-footer__bottom{
	border-top:1px solid #e5e7eb;
	text-align:center;
	padding:14px 5vw;
	font-size:13px;
	color:#666;
}

/* スマホ：全部中央、メニューは2列 */
@media screen and (max-width:1099px){
	.site-footer__inner{
		flex-direction:column;
		align-items:center;
		gap:26px;
		text-align:center;
	}

	.site-footer__left{
		min-width:auto;
	}

	.site-footer__company{
		text-align:center;
	}

	.site-footer__right{
		align-items:center;
	}

	.site-footer__menu{
		grid-template-columns:repeat(2, max-content);
		gap:12px 28px;
		justify-content:center;
	}

	.site-footer__tel{
		text-align:center;
		white-space:normal;
	}
}
/* ==================================================
	テキストフェードイン
================================================== */
.fade-in-text {visibility: hidden;}
.char {
	display: inline-block;
	opacity: 0;
	animation: fadeIn 0.05s linear both;
}


/* ==================================================
	お知らせ
================================================== */
.new dd {padding-bottom: 1rem;}

.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;
	border-radius: 3px;
	width: 8rem;
	transform: scale(0.8);
	background: #fff;
	color:#777;
	border: 1px solid #333;
}
.new .icon-bg1 {background: #333;color: #fff;}
.new .icon-bg2 {background: #ff0000;color: #fff;}

/* 画面幅700px以上 */
@media screen and (min-width:700px) {
	.new {
		display: grid;
		grid-template-columns: auto 1fr;
	}
}


.site-footer__tel{
	font-weight:900;
	font-size:22px;
	color:#2590e2;
	text-align:right;
	line-height:1.8;
}

.site-footer__tel div{
	display:flex;
	align-items:center;
	gap:12px;
	justify-content:flex-end;
}

.site-footer__tel i{
	font-size:18px;
	color:#2590e2;
	min-width:20px;
}

.site-footer__tel a{
	color:#2590e2;
	text-decoration:none;
}

.site-footer__tel a:hover{
	opacity:0.85;
}

/* スマホ中央 */
@media screen and (max-width:1099px){
	.site-footer__tel{
		text-align:center;
	}
	.site-footer__tel div{
		justify-content:center;
	}
}


/* ==================================================
	list-grid1
================================================== */
.list-grid1 {
	display: grid;
	color: var(--text-color);
}
.list-grid1 .list {
	display: grid;
}
.list-grid1 .list * {
	margin: 0;padding: 0;
}
.list-grid1 .list p {
	font-size: 0.85rem;
}

/* 画面幅500px以上 */
@media screen and (min-width:500px) {
	.list-grid1 {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

/* 画面幅800px以上 */
@media screen and (min-width:800px) {
	.list-grid1 {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}
}

.list-grid1 .list {
	padding: 1rem;
	background: #fff;
	grid-template-rows: auto 1fr;
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}
.list-grid1 .list figure img {
	margin-bottom: 0.5rem;
}


/* ==================================================
	ボタン
================================================== */
.btn a,
.btn-border-radius a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;
	background: var(--primary-color) !important;
	color: var(--primary-inverse-color) !important;
	padding: 0.5rem !important;
	margin-top: 1rem !important;
}
.btn a:hover,
.btn-border-radius a:hover {
	filter: brightness(1.2);
}
.btn-border-radius a {
	display: inline-block;
	padding: 0.5rem 2rem !important;
	border-radius: 100px;
	background: #e12000 !important;
	color: #fff !important;
}


/* ==================================================
	bg1
================================================== */
.bg1 {
	position: relative;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	padding-top: 5vw;
	padding-bottom: 5vw;
	margin-top: 10vw;
	margin-bottom: 10vw;

	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}
.bg1 a {color: inherit;}

.bg1::before, .bg1::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: calc(5vw + 1px);
	background: var(--primary-color);
}
.bg1::before {
	top: -5vw;
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.bg1::after {
	bottom: -5vw;
	clip-path: polygon(0 0, 100% 0, 0 100%);
}


/* ==================================================
	サムネ切替
================================================== */
.thumbnail-view-parts {
	max-width: 1000px;
	margin: 0 auto 1rem;
	text-align: center;
}
.thumbnail-parts {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}
.thumbnail-parts img {
	width: 100px;
	margin: 2px;
	cursor: pointer;
	transition: 0.3s;
}
.thumbnail-parts img:hover {
	opacity: 0.8;
}


/* ==================================================
	テーブル（ta1）
================================================== */
.ta1 caption {
	font-weight: bold;
	padding: 0.5rem 1rem;
	background: #333;
	color: #fff;
	margin-bottom: 1rem;
	border-radius: 5px;
}

.ta1 {
	table-layout: fixed;
	border-top: 1px solid #333;
	width: 100%;
	margin-bottom: 5rem;
}
.ta1 tr {
	border-bottom: 1px solid #333;
}
.ta1 th, .ta1 td {
	padding: 1rem;
	word-break: break-all;
}
.ta1 th {
	width: 30%;
	text-align: left;
	background: #eee;
}

/* 画面幅1100px以上 */
@media screen and (min-width:1100px) {
	.ta1 th {
		width: 20%;
	}
}


/* ==================================================
	PAGE TOP
================================================== */
.pagetop-show {display: block;}

.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;
	right: 20px;
	bottom: 20px;
	color: #fff;
	font-size: 1.5rem;
	background: rgba(0,0,0,0.2);
	width: 60px;
	line-height: 60px;
	border-radius: 50%;
}



/* ==================================================
	パン屑
================================================== */

.page-hero{
	position:relative;
	padding:40px 0 30px;
	background:#f8fafc;
	border-bottom:1px solid #e5e7eb;
}

.page-hero__inner{
	max-width:1100px;
	margin:0 auto;
	padding:0 5vw;
}

.breadcrumb{
	display:flex;
	align-items:center;
	gap:10px;
	font-size:13px;
	letter-spacing:0.08em;
}

.breadcrumb a{
	color:#6b7280;
	text-decoration:none;
	font-weight:700;
	transition:0.2s ease;
}

.breadcrumb a:hover{
	color:#2590e2;
}

.breadcrumb__sep{
	font-size:11px;
	color:#cbd5e1;
	display:flex;
	align-items:center;
}

.breadcrumb__current{
	color:#111;
	font-weight:900;
	position:relative;
}

/* 現在ページ下に細ライン */
.breadcrumb__current::after{
	content:"";
	position:absolute;
	left:0;
	bottom:-6px;
	width:100%;
	height:2px;
	background:#2590e2;
}



/* ==================================================
	その他
================================================== */
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;color: #333;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.fwb {font-weight: bold;}

/* 画面幅1100px以上 */
@media screen and (min-width:1100px) {
	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}
}