@charset "utf-8";


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--base0-color: #000;			/*テンプレートのテーマカラー*/
	--base0-inverse-color: #fff;		/*base-colorの対となる色*/

	--base1-color: #fff;			/*テンプレートのテーマカラー*/
	--base1-inverse-color: #555;		/*base-colorの対となる色*/

	--primary-color: #ff66d0;			/*テンプレートのテーマカラー*/
	--primary-inverse-color: #fff;		/*上のprimary-colorの対となる色*/

	--secondary-color: #2f3359;			/*テンプレートのサブカラー*/
	--secondary-inverse-color: #fff;	/*secondary-colorの対となる色*/
	
	--accent-color: #c43311;			/*テンプレートのアクセントカラー*/
	--accent-inverse-color: #fff;		/*accent-colorの対となる色*/

	--base-font-family: "Noto Sans JP", sans-serif, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	--primary-font-family: "Sawarabi Gothic", sans-serif;
	--secondary-font-family: "Zen Kaku Gothic New", sans-serif;

	/*余白の一括管理用。主に左右の余白に使っています。4rem＝4文字分。*/
	--content-space: 4rem;
	--content-sp-space: 1.5rem;
	
}


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
	font-size: 17.6px;	/*基準となるフォントサイズ。*/
}

body {
	margin: 0;padding:0;
	font-family: var(--base-font-family);
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: var(--base0-color);		/*文字色*/
	line-height: 1.8;		/*行間*/
	overflow-x: hidden;
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	html, body {
		font-size: 16px;	/*基準となるフォントサイズ。*/
	}
	}/*追加指定ここまで*/


/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}

/*section*/
section {
	padding: var(--content-space);	/*section内の余白。css冒頭のcontent-spaceを読み込みます。*/
}

figure img {
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	section {
		padding: var(--content-sp-space);	/*section内の余白。css冒頭のcontent-spaceを読み込みます。*/
	}

	}/*追加指定ここまで*/

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
	text-decoration: none;
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	position: relative;
	animation: opa1 0.2s 0.4s both;  /*0.4秒待機後、0.2秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0 auto;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;	/*中のコンテンツを横並びにする*/
	justify-content: space-between;
	gap: 2rem;	/*中のコンテンツ同士に空けるマージン的な余白。*/
	align-items: center;
	padding: 1rem var(--content-space);		/*ヘッダー内の余白。上下に１文字分、左右についてはcss冒頭のcontent-spaceを読み込みます。*/
	color: #fff;		/*文字色*/
	position: absolute;
	width: 100%;
}
header a {color: inherit;}

/*ロゴ*/
#logo a {text-decoration: none;}
#logo img {
	display: block;
	width: 220px;	/*ロゴの幅*/
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	header {
		justify-content: center;
	}
	#logo img {
		width: 160px;	/*ロゴの幅*/
	}
	}
	

/*目次
---------------------------------------------------------------------------*/
.toc * {margin: 0;padding: 0;}

/*ブロック全体*/
.toc {
	/*background-color: rgba(255, 255, 255, 0.5);*/
	padding: 0 16vw 4vw;
}

.toc a:hover {
	opacity: 0.8;
}

.toc dl {
	display: flex;
	align-items: center;
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
	border-bottom: 1px solid var(--primary-color);
}

.toc dl dt {
	color: var(--primary-color);
	margin-right: 1rem;	/*右に空けるスペース。テキストブロックとの間に空けるスペースです。*/
	padding: 0 1rem;	/*見出し内の余白。上は0で、左右に１文字分。*/
}

/*テキストのブロック*/
.toc dl dd.text {
	flex: 1;
	color: var(--secondary-color);
	font-family: var(--secondary-font-family);
	font-size: 0.8rem;
	/*以下4行は、末尾を...として１行にまとめる為のスタイル*/
	min-width: 0;
	white-space: nowrap;
	line-height: 1.4;
}

.toc dl dd.text strong {
	color: var(--primary-color);
	display: inline-block;
	font-size: 1rem;
	font-weight: 500;
	margin-left: 0.5vw;
}

/*ブロック右側にある「一覧」*/
.toc dl dd.new-list {
	color: var(--secondary-color);
	margin-left: 1rem;
	padding: 0 1rem;
}

/*リード文*/
.lead {
	padding: 0 16vw;
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	.lead {
		padding: 0;
	}
	
	.toc {
		padding: 0 0 8vw;
	}

	.toc dl {
		padding-bottom: 0.4rem;
	}

	.toc dl dt, .toc dl dd.new-list {
		padding: 0;
	}

	.toc dl dd.text strong {
		margin-left: auto;
	}
	}


/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
	flex: 1;
}

/*トップページ以外のコンテンツ*/
body:not(.home) #contents {
	padding-top: 10rem;		/*上に10文字分の余白を空ける*/
	padding-bottom: 10rem;	/*下に10文字分の余白を空ける*/
}

/*コンテンツ内で使用するul,ol要素（リストタグ）*/
#contents ul,#contents ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*p要素（段落タグ）
---------------------------------------------------------------------------*/
p {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
}


/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
/*h1*/
h1 {
	color: var(--secondary-color);
    font-size: 6rem;
	line-height: 1.4;
/*	width: 50vw;
    margin: -24vh auto 5vw; */
	padding: 0;
	margin-top: -21vh;
	margin-bottom: 5vw;
	display: flex;
	flex-direction: column;
/*	text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
/*		0 0 5px rgba(255, 255, 255, 0.5); /* ぼかしを強めにかける */
/*	-webkit-text-stroke: 1px white; /* 輪郭の太さ(2px)と色(white) */
/*	text-stroke: 2px white; /* 標準仕様への対応 */
}

main h1 img {
	display: inline-block;
	max-width: 800px;
	margin: 0 auto;
}


main h1 span {
	display: inline-block;
	font-family: var(--primary-font-family);
	font-weight: 500;
	font-size: 1.6rem;
	letter-spacing: 0.1rem;
	opacity: 0.9;
}


/*h2見出し*/
main h2 {
	color: var(--primary-color);
	margin: 0;padding: 0;
	font-family: var(--secondary-font-family);
	font-size: 2.4rem;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 4vw;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

main h2 span.sub {
	color: var(--secondary-color);
	display: inline-block;
	font-size: 1.6rem;
	letter-spacing: 0.1rem;
	opacity: 0.9;
}

/*見出しをセンタリングする場合*/
main h2.c {
	align-items: center;
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	main h1 {
		font-size: 3rem;
		margin-top: -11vh;
		margin-bottom: 10vw;
	}

	main h1 span {
		font-size: 1rem;
	}

	main h2 {
		font-size: 1.5rem;
	}

	main h2 span.sub {
		font-size: 1rem;
	}
	}/*追加指定ここまで*/

/*2カラムブロック　※900px未満では１カラム（私たちのこだわりブロック）
---------------------------------------------------------------------------*/
.list-half * {margin: 0;padding: 0;}

.list-half {
	padding: 0 16vw;
}

/*２カラムを囲むブロック*/
.list-half .list {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	border-radius: 5px;
    background: rgb(250, 250, 250);
    color: var(--base0-color);
    border: 1px solid rgb(204, 204, 204);
    padding: 2rem;
    margin-bottom: 2rem;
}

/*ブロック内のh3見出し*/
.list-half .list h3 {
	color: var(--secondary-color);
	font-family: var(--secondary-font-family);
	font-size: 1.4rem;	/*文字サイズを1.4倍*/
	font-weight: 500;
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
}

/*ブロック内のh3内のspan（小さな装飾文字）*/
.list-half .list h3 span {
	display: block;
	opacity: 0.5;	/*透明度50%*/
	font-weight: normal;
	font-size: 0.8rem;	/*文字サイズを親要素の50%*/
	letter-spacing: 0.1em;	/*文字間隔をほんの少し広く*/
}

.list-half .list .text {
	flex: 1 1 0%;
}

.list-half .list .image-r,
.list-half .list .image-l {
	flex: 1 1 0%;
}

/*画像を右に配置する場合*/
.list-half .image-r {
	margin-left: 2rem;	/*画像の左側に空けるスペース*/
}

/*画像を左に配置する場合*/
.list-half .image-l {
	order: -1;
	margin-right: 2rem;	/*画像の右側に空けるスペース*/
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	.list-half {
		padding: 0;
	}

	.list-half .list {
		flex-direction: column-reverse;
		padding: 1.5rem;
        margin-bottom: 1.5rem;
	}
	
	.list-half .list figure{
		margin: 0 auto 1rem;
	}

	/*画像を右に配置する場合*/
	.list-half .image-r {
		margin-left: auto;
	}

	/*画像を左に配置する場合*/
	.list-half .image-l {
		order: 0;
		margin-right: auto;
	}
	}/*追加指定ここまで*/


/*list-grid7（サービス紹介ブロック）
---------------------------------------------------------------------------*/
/*ブロック全体を囲むブロック*/
.list-grid7 {
	display: grid;
	gap: 2rem	/*ブロックの間に空けるマージン的な指定。２文字分。*/
}

.grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.list-grid7 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid7 .list {
    display: grid;
	position: relative;
	border-radius: 5px;		/*角を少しだけ丸く*/
	background: #fafafa;	/*背景色*/
	color: var(--base0-color);			/*文字色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 2rem;			/*ボックス内の余白。２文字分。*/
	margin-bottom: 2rem;	/*ボックスの下に空けるスペース。2文字分。*/
}

/*ボックス内のh3見出し*/
.list-grid7 .list h3 {
	color: var(--secondary-color);
	font-family: var(--secondary-font-family);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 0.5rem;	/*下に0.5文字分の余白を空ける*/
}

/*h3内のspan（小さな装飾文字）*/
.list-grid7 .list h3 span {
	display: block;
	font-weight: normal;	/*デフォルトだと太字なので標準に*/
	font-size: 0.8rem;		/*文字サイズを70%*/
}

/*ボックス内のp要素*/
.list-grid7 .list p {
}

/*ボックス内のfigure画像*/
.list-grid7 .list figure {
	margin: 0 auto;
	margin-bottom: 1rem;	/*画像の下に空けるスペース*/
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	/*ブロック全体を囲むブロック*/
	.list-grid7 {
		display: block;
		gap: 0;
	}

	.grid-2,.grid-3 {
		grid-template-columns: auto;
	}

	.list-grid7 .list {
		padding: 1.5rem;			/*ボックス内の余白。２文字分。*/
		margin-bottom: 1.5rem;	/*ボックスの下に空けるスペース。2文字分。*/
	}

	.list-grid7 .list h3 {
		font-size: 1.25rem;
	}
	}/*追加指定ここまで*/


/*btn共通設定（ヘッダーと、フッターの上のボックス内にあるボタンの共通設定）
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	background: var(--accent-color);	/*背景色。css冒頭のaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*背景色。css冒頭のaccent-inverse-colorを読み込みます。*/
	text-align: center;	/*テキストをセンタリング*/
}

/*マウスオン時*/
.btn a:hover {
	background: var(--accent-inverse-color);	/*背景色。css冒頭のaccent-inverse-colorを読み込みます。*/
	color: var(--accent-color);					/*文字色。css冒頭のaccent-colorを読み込みます。*/
}


/*フッター
---------------------------------------------------------------------------*/
#footer * {margin: 0;padding: 0;}
#footer ul {list-style: none;}

/*ブロック全体*/
#footer {
	display: flex;
	gap: 2rem;		/*ロゴのブロックとメニューのブロックとの間の余白。2文字分。*/
	color: var(--base1-color);
	background: var(--secondary-color);
	padding: var(--content-space);	/*フッター内の余白。css冒頭のcontent-spaceを読み込みます。*/
}


/*ロゴやSNSアイコンが入ったブロック*/
#footer div.footer1 {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*このブロック内のボックス同士の間に空ける余白。１文字分。*/
	text-align: left;
	width: 40%;	/*幅。40%。*/
}

#footer div.footer1 img{
	width: 200px;
	
}

/*メニューブロック*/
#footer div.footer2 {
    flex: 1;
	display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/*Copyright部分*/
#footer small {
	display: block;
}

/*SNSアイコン*/
#footer .sns {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;		/*アイコン同士のマージン的な要素。１文字分。*/
}

#footer .sns i {
	font-size: 30px;	/*アイコンサイズ*/
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	#footer {
		display: block;
		gap: 0;
		padding: var(--content-sp-space);	/*section内の余白。css冒頭のcontent-spaceを読み込みます。*/
	}

	/*ロゴやSNSアイコンが入ったブロック*/
	#footer div.footer1 {
		width: auto;
	}

	#footer div.footer1 img{
		width: 160px;

	}

	#footer .sns i {
		font-size: 20px;	/*アイコンサイズ*/
	}
	}/*追加指定ここまで*/


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1
---------------------------------------------------------------------------*/
.bg01 {
	background: url(../images/ptn01.jpg) repeat;
}

.bg02 {
	background: url(../images/ptn02.jpg) repeat;
}

.bg03 {
	position: relative;
	z-index: 0;
/*	background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../images/ptn06.jpg) repeat;*/
}
.bg03::before, .bg03::after{
	content: "";
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
}
.bg03::before {
	background: url(../images/ptn06.jpg) repeat;
	opacity: 0.1;
	z-index: -1;
}
.bg03::after {
	background: url(../images/ptn02.jpg) repeat;
	opacity: 0.5;
	z-index: -2;
}

.bg04 {
	background: url(../images/ptn04.jpg) repeat;
}

.bg05 {
	position: relative;
	z-index: 0;
/*	background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../images/ptn06.jpg) repeat;*/
}
.bg05::before, .bg05::after{
	content: "";
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
}
.bg05::before {
	background: url(../images/ptn05.jpg) repeat;
	opacity: 0.1;
	z-index: -1;
}
.bg05::after {
	background: url(../images/ptn02.jpg) repeat;
	opacity: 0.5;
	z-index: -2;
}


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/*fadeInのキーフレーム設定*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.1) rotate(-30deg);}
	100% {opacity: 1;transform: scale(1) rotate(0deg);}
}

/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

/* アニメーションを適用するクラス。
animationの行の「0.2s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.1」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.2s linear both;
}


/*その他
---------------------------------------------------------------------------*/
.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;}
.mb5rem {margin-bottom: 5rem !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; 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;}
.grayscale {filter: grayscale(100%);}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/



