@charset "utf-8";


@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url("inview.css");
@import url("mainimg.css");

:root {

	--primary-color: #00004E;
	--primary-inverse-color: #fff;

	--secondary-color: #e5694a;
	--secondary-inverse-color: #fff;
	
	--accent-color: #f9f871;
	--accent-inverse-color: #fff;	
	
	--content-space: 2rem;
	
}

@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}

@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

body * {box-sizing: border-box;}
html,body {
	font-size: 16px;
}
	@media screen and (min-width:900px) {
	html, body {
		font-size: 16px;
	}
	}

body {
	margin: 0;padding:0;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	-webkit-text-size-adjust: none;
	background: #fff;
	color: #555;
	line-height: 2;
	overflow-x: hidden;
}
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
table {border-collapse:collapse;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
video {max-width: 100%;}
iframe {width: 100%;}
input {font-size: 1rem;}
section {
	padding: var(--content-space);	
}

a {
	color: inherit;
	transition: 0.3s;
}
a:hover {
	filter: brightness(1.1);
}

#container {
	position: relative;
	animation: opa1 1s 1s both;	/*1秒待機し、1秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0 auto;
}

header {
	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;
}
	@media screen and (min-width:900px) {
	header {
		display: flex;
		justify-content: space-between;
		gap: 2rem;
		align-items: center;
	}
	}

/*header-box
---------------------------------------------------------------------------*/
#header-box * {margin: 0;padding: 0;}

	@media screen and (min-width:900px) {
	#header-box {
		margin-right: 30px;	
	}
	}

#header-box .btn {
	list-style: none;
	display: flex;
	gap: 1rem;
}

#header-box .btn a {
	display: block;text-decoration: none;
	padding: 0.5rem 2rem;
	border-radius: 3px;
}

#header-box .btn i {
	margin-right: 1rem;	
	transform: scale(1.4);	/*アイコンサイズを140%に。*/
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {

	/*ボタンが入ったボックス*/
	#header-box .btn {
		display: inline-block;
	}
	
	/*ボタン１個あたり*/
	#header-box .btn li {
		margin-bottom: 0.5rem;
	}

	}/*追加指定ここまで*/


/*開閉メニュー
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
#menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px var(--content-space) 50px;		/*ブロック内の余白。上に100px、左右についてはcss冒頭のcontent-spaceを読み込む、下に50px。*/
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
}

/*メニュー１個あたり*/
#menubar a {
	display: block;text-decoration: none;
	color: inherit;
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける。メニュー同士の間隔です。*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: flex;
	animation: opa1 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	background: #000;	/*ボタン色*/
	border-radius: 0px 0px 0px 20px;	/*角を丸くする指定。左上、右上、右下、左下の順番。この場合は左下だけ角を丸くする。*/
	transform-origin: right top;
	transform: scale(1);	/*大きさを調整したい場合はここの「1」を変更します。1.2や0.7など。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: #fff;	/*線の色*/
	transition: 0.3s;
}

#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}

/* ハンバーガーメニュー展開時 */
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}


/*new-top
---------------------------------------------------------------------------*/
.new-top * {margin: 0;padding: 0;}
.new-top {
	position: absolute;
	top: 80vh;
	z-index: 1;
	width: 80vw;
	margin-left: 10vw;
	display: flex;
	text-align: center;
	align-items: center;
	padding: 1rem;
	background: #fff;
	border-radius: 5px;
}
.new-top a:hover {
	opacity: 0.8;
}
.new-top .text {
	flex: 1;
	font-size: 18px;
	font-weight: 700;
	min-width: 0;
}

/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
}
body:not(.home) #contents {
	padding-top: 10rem;	
	padding-bottom: 10rem;
}
p {
	margin-left: 1rem;
	margin-right: 1rem;
}

main h2 {
	margin: 0;padding: 0;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: vw;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}
main h2.c {
	align-items: center;
}

/*list-half
---------------------------------------------------------------------------*/
.list-half * {margin: 0;padding: 0;}

.list-half .list {
	display: flex;
	flex-direction: column;	
	margin-bottom: 2rem;
}
.list-half .list .text{
	width: 50%;
	margin-right: 2em;
}
.list-half .list h4 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
}
.list-half .list h4 span {
	display: block;
	opacity: 0.5;
	font-weight: normal;
	font-size: 0.5em;
	letter-spacing: 0.1em;
}
.list-half .image-l img, .list-half .image-r img {
	box-shadow: 6px 6px rgba(0,0,0,0.1);
}
.list-half .list ul{
	display: flex;
	margin: 0;
    padding: 0;
    list-style: none;
	width: 100%;
}
.list-half .list li {
	width: 70%;
    padding: 8px 10px 6px;
    border-bottom: 1px solid #ddd;
}
.list-half .list li.tit {
	width: 20%;
	background-color: beige;
}
@media screen and (min-width:900px) {
	.list-half .list {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.list-half .image-l, .list-half .image-r {
		width: 50%;	
		}
	}

@media screen and (max-width: 750px) {
	.list-half .list .text{
	width: 100%;
	margin-right: 0;
	}
	.list-half .list ul{
			display: block;
	}
	.list-half .list li.tit{
			width: 100%;
	}
	.list-half .list li{
			width: 100%;
	}
	.list-half .image-l{
		margin-right:0;	
	}
	.list-half .image-r {
		margin: 0;
		width: 100%;
	}
	.list-half .text {
		flex: 1;
	}
}

/*list-grid7
---------------------------------------------------------------------------*/
.list-grid7 .list * {margin: 0;padding: 0;}

.list-grid7 .list {
    display: grid;
	position: relative;
	border-radius: 5px;	
	background: #fafafa;
	color: #555;		
	border: 1px solid #ccc;	
	padding: 2rem;	
	margin-bottom: 2rem;
}
.list-grid7 .list h4 {
	text-align: center;	
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}
.list-grid7 .list p {
	font-size: 0.85rem;
	line-height: 1.5;
	text-align: center;
}
.list-grid7 .list figure {
	margin: 0 auto;
	margin-bottom: 1rem;
}

@media screen and (min-width:800px) {
	.list-grid7 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
	}


/*btn
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	background: var(--secondary-color);
	color: var(--accent-secondary-color);
	text-align: center;	
}
.btn a:hover {
	background: var(--secondary-color);	
	color: var(secondary-inverse-color);	
}
.btn-box .btn {
	list-style: none;margin:0;padding:0;
	display: flex;
	flex-direction: column;	/*縦並びに*/
	justify-content: center;
	align-items: center;
	gap: 2rem;	
	height: 80vh;
	font-size: 1.5rem;
}
.btn-box .btn li {
	width: 80vw;
}
.btn-box .btn a {
	border-radius: 10px;
	padding: 1rem 2rem;
}
	@media screen and (min-width:900px) {
	.btn-box .btn {
		flex-direction: row;
	}
	.btn-box .btn li {
		width: 40vw;
	}
	}


/*footer
---------------------------------------------------------------------------*/
#footer * {margin: 0;padding: 0;}
#footer ul {list-style: none;}

/*ブロック全体*/
#footer {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	padding: var(--content-space);
}
#footer div.footer1 {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
#footer div.footer2 {
    flex: 1;
}

	@media screen and (min-width:700px) {
	#footer {
		display: flex;
		gap: 2rem;
	}
	#footer div.footer1 {
		text-align: left;
		width: 40%;	
	}
	}

#footer small {
	display: block;
	text-align: right;
	margin-top: 2rem;
}

#footer .iframe {
	width: 100%;
	height: 0;
	padding-top: 56.25% !important;	
	position: relative;
	overflow: hidden;
}
#footer .iframe iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.pr a {
	text-decoration: none;display: block;
	background: #555;
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}

.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);
	width: 60px;
	line-height: 60px;
	border-radius: 50%;
}

.bg1 {
	background: var(--secondary-color);
	color: var(--secondary-inverse-color);
}

/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/*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;
}
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.1s 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;}

	@media screen and (min-width:900px) {
	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}
	}

#company #outline .wrapper {
    margin: 0 auto;
    width: 1000px;
}
#company #outline{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#company #outline h2 {
    margin: 0;
    width: 27%;
	font-size: 40px;
    text-align: center;
}
#company #outline h2 span {
    display: block;
    font-size: 16px;
	font-weight: normal;
}
#company #outline .tableBlock {
    width: 70%;
    border-left: 2px #212E43 solid;
}
#company #outline .tableBlock dl {
    display: table-row;
}
#company #outline .tableBlock dl dt, .tableBlock dl dd {
    display: table-cell;
}
#company #outline dl dt {
    padding: 10px 0 10px 40px;
    width: 30%;
    font-weight: bold;
}
@media screen and (max-width: 750px) {
	#company #outline .wrapper {
        padding: 0 20px;
        width: 100%;
		box-sizing: border-box;
	}
	#company #outline h2 {
        width: 100%;
    }
	#company #outline dl dt {
        padding: 10px 20px 10px 0;
        width: 30%;
        text-align: right;
        border-right: 2px #212E43 solid;
    }
	#company #outline dl dd {
        padding: 10px 0 10px 20px;
    }
	#company #outline .tableBlock {
        margin: 20px 0 0 0;
        width: 100%;
        border-left: none;
    }
}

.center{
	text-align: center;
}
