@charset "utf-8";

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

html,
body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #ffffff;
	letter-spacing: 0.2em;
}

.fade_in {
	opacity: 0;
	transition-duration: 1000ms;
	transition-property: opacity, transform;
}

/* ヘッダ */
/* ------------------------------------------------ */
header {
	padding: 30px 4% 10px;
	position: fixed;
	z-index: 100;
	top: 0;
	width: 100%;
	background-color: #ffffff;
	/* ヘッダを背景透過させたいならこれ */
	/* background-color: transparent; */
	display: flex;
	align-items: center;
	height: 100px;
	overflow: hidden
}

h1 {
	margin: 0;
	padding: 0;
	font-size: 20px;
}

h1 a {
	text-decoration: none;
	color: #000000;
	vertical-align: middle;
}

#logo {
	width: 200px;
}

#catch_copy {
	width: 220px;
}

nav {
	margin: 0 0 0 auto;
}

.headerul {
	list-style: none;
	margin: 0;
	display: flex;
}

li {
	margin: 0 0 0 15px;
	font-size: 14px;
}

h2 {
	margin: 0;
	font-size: 30px;
	font-weight: normal;
	color: #000000;
}

.sp-nav {
	display: none;
}

@media screen and (max-width: 800px) {
	.pc-nav {
		display: none;
	}

	.sp-nav {
		z-index: 1;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		display: block;
		width: 100%;
		background: rgba(0, 0, 0, .8);
		opacity: 0;
		transform: translateY(-100%);
		transition: all .2s ease-in-out;
	}

	#hamburger {
		position: relative;
		display: block;
		width: 30px;
		height: 25px;
		margin: 0 0 0 auto;
	}

	#hamburger span {
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 100%;
		height: 2px;
		background-color: #000000;
		transform: translateY(-50%);
	}

	#hamburger::before {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 2px;
		background-color: #000000;
	}

	#hamburger::after {
		content: '';
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 2px;
		background-color: #000000;
	}

	/*スマホメニュー*/
	.sp-nav ul {
		padding: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
	}

	.sp-nav li {
		margin: 0;
		padding: 0;
	}

	.sp-nav li span {
		font-size: 15px;
		color: #fff;
	}

	.sp-nav li a,
	.sp-nav li span {
		display: block;
		padding: 20px 0;
		color: #fff;
	}

	/*-閉じるアイコンー*/
	.sp-nav .close {
		position: relative;
		padding-left: 20px;
	}

	/* .sp-nav .close::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 16px;
		height: 1px;
		background: #fff;
		transform: rotate(45deg);
	} */

	/* .sp-nav .close::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 16px;
		height: 1px;
		background: #fff;
		transform: rotate(-45deg);
	} */

	.toggle {
		transform: translateY(0);
		opacity: 1;
	}

	.main-visual {
		padding: 0 4%;
	}

	h2 {
		line-height: 1.6;
		text-align: center;
	}
}

.subheader {
	height: auto;
	width: 100%;
	font-size: 1.4em;
}

.mainimage {
	text-align: right;
	/* width: 60%; */
	z-index: -1;
}

.mainimage img {
	width: 65%;
	text-align: right;
	margin-top: 100px;
}

.mainimage video {
	width: 65%;
	margin-top: 100px;
	text-align: right;
}

.subtitle {
	/*コレ*/
	margin: -20% 30px 0;
	font-size: 2.5vw;
	transform: translate3d(0, 0, 0);

}

.subtitle span {
	background-color: rgba(255, 255, 255, 0.5);
}

.margin-for-subtitle {
	background-color: #ffffff;
	margin-top: 25%;
}

.margin-for-headder {
	background-color: #ffffff;
	margin-top: 100px;
}

.top-and-bottom-center {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 80%;
	height: 3.2rem;
}

.footer-under {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	padding-bottom: 30px;
	text-align: center;
	width: 100%;
}

/* こっから下はサンプル */
/* ----------------------------------------------------------------------- */

main {
	padding: 5%;
}

.nensyu {
	/*コレ*/
	margin: -10% 10px 0;
	font-size: 2.5vw;
}

.nensyu span {
	background-color: rgba(255, 255, 255, 0.705);
}

h2 {
	font-weight: bold;
	text-align: center;
}

h5 {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}

.aisatu {
	text-align: center;
	padding: 30px;
}

.ps-relative {
	position: relative;
}

.ps-absolute {
	position: absolute;
	top: 0;
	left: 0;
}

.aida20 {
	padding-top: 20px;
}

.aida100 {
	padding-top: 100px;
}

.aida50 {
	padding-top: 50px;
}

.carousel-control {
	z-index: 75;
}

/* カルーセル */
/* -------------------------------------------------------------------------- */
.col-centered {
	float: none;
	margin: 0 auto;
}

.carousel-control {
	width: 8%;
	width: 0px;
}

.carousel-control.left,
.carousel-control.right {
	margin-right: 40px;
	margin-left: 40px;
	background-image: none;
	opacity: 1;
}

.carousel-control>a>span {
	color: rgb(0, 0, 0);
	font-size: 29px !important;
}

.carousel-col {
	position: relative;
	z-index: 50;
	min-height: 1px;
	padding: 5px;
	float: left;
}

.active>div {
	display: none;
}

.active>div:first-child {
	display: block;
}

/*xs*/
@media (max-width: 700px) {
	.carousel-inner .active.left {
		left: -100%;
	}

	.carousel-inner .active.right {
		left: 100%;
	}

	.carousel-inner .next {
		left: 100%;
	}

	.carousel-inner .prev {
		left: -100%;
	}

	.carousel-col {
		width: 100%;
	}

	.active>div:first-child {
		display: block;
	}
}

/*sm*/
@media (min-width: 700px) and (max-width: 991px) {
	.carousel-inner .active.left {
		left: -50%;
	}

	.carousel-inner .active.right {
		left: 50%;
	}

	.carousel-inner .next {
		left: 50%;
	}

	.carousel-inner .prev {
		left: -50%;
	}

	.carousel-col {
		width: 50%;
	}

	.active>div:first-child+div {
		display: block;
	}
}

/*md*/
/* @media (min-width: 992px) and (max-width: 1199px) { */
@media (min-width: 992px) {
	.carousel-inner .active.left {
		left: -33.3%;
	}

	.carousel-inner .active.right {
		left: 33.3%;
	}

	.carousel-inner .next {
		left: 33.3%;
	}

	.carousel-inner .prev {
		left: -33.3%;
	}

	.carousel-col {
		width: 33.3%;
	}

	.active>div:first-child+div {
		display: block;
	}

	.active>div:first-child+div+div {
		display: block;
	}
}

.scrollimage {
	width: 80%;
	height: 220;
}

.carousel-inner {
	/* width: 100%; */
	text-align: center;
}

/* 事業紹介 */
/* -------------------------------------------------------------------------- */
.disp-non {
	display: none;
}

/* ポップアップwindow部分 */
#overlay {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 7000;
	width: 100%;
	height: 100%;
}

#overlay1 {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 7000;
	width: 100%;
	height: 100%;
}

#overlay2 {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 7000;
	width: 100%;
	height: 100%;
}

#overlay3 {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 7000;
	width: 100%;
	height: 100%;
}

/* オーバーレイの背景部分 */
#bg_gray {
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 8000;
}

/* ウィンドウ部分 */
#window {
	width: 50%;
	padding: 20px;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 10px;
	box-shadow: 0px 0px 20px -6px rgba(0, 0, 0, 0.6);
	z-index: 9000;
	opacity: 0;
}

/* 閉じるボタン */
#btn_cloth {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #CE5D8B;
	border-radius: 5px;
	z-index: 10000;
	cursor: pointer;
}

#btn_cloth:hover {
	opacity: 0.7;
}

#btn_cloth span,
#btn_cloth span::before {
	display: block;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background: #fff;
}

#btn_cloth span {
	transform: rotate(45deg);
}

#btn_cloth span::before {
	content: "";
	position: absolute;
	bottom: 0;
	transform: rotate(-90deg);
}


/* クリックで表示 */
#popup:checked~#overlay {
	visibility: visible;
}

#popup:checked~#overlay #window {
	animation: fadein 500ms forwards;
	animation-timing-function: ease-in-out;
}

/* クリックで表示 */
#popup1:checked~#overlay1 {
	visibility: visible;
	text-decoration: none;
}

#popup1:checked~#overlay1 #window {
	animation: fadein 500ms forwards;
	animation-timing-function: ease-in-out;
	text-decoration: none;
}

/* クリックで表示 */
#popup2:checked~#overlay2 {
	visibility: visible;
}

#popup2:checked~#overlay2 #window {
	animation: fadein 500ms forwards;
	animation-timing-function: ease-in-out;
}

/* クリックで表示 */
#popup3:checked~#overlay3 {
	visibility: visible;
}

#popup3:checked~#overlay3 #window {
	animation: fadein 500ms forwards;
	animation-timing-function: ease-in-out;
}

@keyframes fadein {
	100% {
		opacity: 1;
	}
}


/* コンテンツ部分のスタイル */
#txt_label {
	text-decoration: underline;
	cursor: pointer;
}

#txt_label:hover {
	opacity: 0.7;
}

#window {
	height: 90%;
}


@media (max-width: 800px) {
	#window {
		width: 90%;
	}
}

#msg {
	overflow: auto;
	height: 100%;
}

#msg a {
	display: inline-block;
	color: #fff;
	background: #CE5D8B;
	border-radius: 20px;
	padding: 0.5em 1.5em;
	text-decoration: none;
}

#msg a:hover {
	opacity: 0.7;
}

.scrollimage2 {
	width: 20%;
}

/* 会社概要 */
/* -------------------------------------------------------------------------- */
.company {
	width: 90%;
	max-width: 1000px;
	border-collapse: collapse;
	margin: 0 auto;
}

.company tr {
	border-bottom: solid 2px white;
}

.company tr:last-child {
	border-bottom: none;
}

.company th {
	position: relative;
	text-align: left;
	width: 30%;
	background-color: #003366;
	color: white;
	text-align: center;
	padding: 10px 0;
}

.company th:after {
	display: block;
	content: "";
	width: 0px;
	height: 0px;
	position: absolute;
	top: calc(50% - 10px);
	right: -10px;
	border-left: 10px solid #003366;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

.company td {
	text-align: left;
	width: 70%;
	text-align: center;
	background-color: #eee;
	padding: 10px 0;
}

/* 新着情報ブロック */
/* --------------------------------------------------------------------- */
.news-list {
	list-style: none outside;
	margin: 0;
	padding: 0;
}

.news-list .item a {
	display: flex;
	flex-wrap: wrap;
	flex-wrap: nowrap;
	text-decoration: none;
	color: #333;
	border-bottom: 1px solid #CCC;
	padding: 20px 20px;
}

.news-list .item:first-child a {
	border-top: 1px solid #CCC;
}

.news-list .item .date {
	margin: 0;
	min-width: 140px;
	font-size: 16px;
	color: #999;
	padding: 0 20px 0 0;
}

.news-list .item .category {
	margin: 0;
	min-width: 140px;
	padding: 0 20px 0 0;
}

.news-list .item .category span {
	background: #999;
	color: #FFF;
	text-align: center;
	display: inline-block;
	padding: 5px 20px;
	font-size: 12px;
	line-height: 1;
}

.news-list .item .title {
	margin: 0;
	width: 100%;
}

.news-list .item a:hover .title {
	color: #00F;
}

@media screen and (max-width: 767px) {
	.news-list .item a {
		flex-wrap: wrap;
	}

	.news-list .item .date {
		min-width: 100px;
	}

	.news-list .item .title {
		margin-top: 10px;
	}
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
	margin: 0;
	padding: 20px;
	/*ブロック内の余白*/
	text-align: center;
	/*テキストを中央に*/
	font-size: 0.8rem;
	/*文字サイズ。bodyのfont-sizeの80%です。*/
}

/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;
	/*簡易的に横並びにする*/
	padding: 0 10px;
	/*上下、左右への余白*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer {
	/* font-size: 0.7rem; */
	/*文字サイズ。bodyのfont-sizeの70%です。*/
	background-color: #003366;
	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: #ffffff;
	/*文字色。css冒頭で指定しているテーマカラーを読み込みます*/
	text-align: center;
	/*内容をセンタリング*/
	padding: 20px;
	/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {
	color: inherit;
	text-decoration: none;
}

/*著作部分*/
footer .pr {
	display: block;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url("inview.css");

.pagetop-show {
	display: block;
}

/*ボタンの設定*/
.pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	z-index: 99;
	position: fixed;
	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;
	/*右からの配置場所指定*/
	bottom: 20px;
	/*下からの配置場所指定*/
	background: rgba(0, 0, 0, 0.3);
	/*背景色。0,0,0は黒の事で0.3は色が30%出た状態。	*/
	width: 50px;
	/*幅*/
	line-height: 50px;
	/*高さ*/
	color: #fff;
	/*文字色*/
}

html {
	scroll-behavior: smooth;
}

.center {
	text-align: center;
}

.map {
	width: 80%;
	height: 450px;
	max-width: 900px;
}

.scroll_image {
	height: 220px;
	display: flex;
	justify-content: center;
	align-items: center;
}
