@charset "utf-8";

/*******************************************

-------------------------------------------
font
********************************************/

.fontEn {font-family: 'Figtree', sans-serif;}
.fontJp {font-family: 'Noto Sans JP', sans-serif;}

/*******************************************

-------------------------------------------
背景色
********************************************/

.bgLblue {background-color: #e6f0f6;}
.bgblue  {background-color: #54c3f1;}
.bgNavy  {background-color: #193574;}

/*******************************************

-------------------------------------------
animation
********************************************/

/* ふわっと表示
========================================== */

.fadein {
    opacity: 0;
    transition: all 1s;
}
.fadein.scrollin {
    opacity: 1;
}

/* 下からスクロールイン */
.fadein-up {
    opacity: 0;
    transform: translate(0,50px);
    transition: all 1s;
}
.fadein-up.scrollin {
    opacity: 1;
    transform: translate(0,0);
}

/* 背景色が伸びて出現
========================================== */

.bgextend {
	animation-name: bgextendAnimeBase;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	position: relative;
	overflow: hidden;
	opacity: 0;
}
@keyframes bgextendAnimeBase {
	from {opacity:0;}
	to   {opacity:1;}
}

.bgappear {
	animation-name: bgextendAnimeSecond;
	animation-duration: 1s;
	animation-delay: 0.6s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes bgextendAnimeSecond {
	0%   {opacity: 0;}
	100% {opacity: 1;}
}

.bgLRextend::before{
	animation-name: bgLRextendAnime;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #193574;
}
@keyframes bgLRextendAnime {
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

.bgappearTrigger,
.bgLRextendTrigger {
	opacity: 0;
	display: inline-block;
}

/* 流れるように出現（下から上）
========================================== */

.slide-in {
	overflow: hidden;
	display: inline-block;
}
.slide-in_inner {
	display: inline-block;
}

.downAnime {
	opacity: 0;
}
.slideAnimeDownUp {
	animation-name: slideTextY100;
	animation-delay: 0.3s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes slideTextY100 {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.slideAnimeUpDown {
	animation-name: slideTextY-100;
	animation-delay: 0.3s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes slideTextY-100 {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/*******************************************

-------------------------------------------
タイトル・見出し
********************************************/

/* ページタイトル
========================================== */

.titPage {
	font-size: 22px;
	line-height: 1;
	margin-top: 90px;
}
.titPage em {
	display: block;
	font-size: 90px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #193574;
}
.titPage em * {
	font-weight: inherit;
}
.titPage span.fadein {
	transition-delay: 0.8s;
}
@media only screen and (max-width: 768px) {
	.titPage {
		font-size: 16px;
		margin-top: 50px;
	}
	.titPage em {
		font-size: 50px;
		margin-bottom: 10px;
	}
}

/* セクション見出し
========================================== */

[class^="titSec"] {
	color: #193574;
	font-weight: 700;
	font-size: 44px;
	text-align: center;
	position: relative;
}
[class^="titSec"] * {
	font-weight: inherit;
}
.titSec-s {
	font-size: 30px;
	margin-top: 100px;
}
[class^="titSec"]::before {
	content: "";
	display: block;
	margin: 0 auto 10px;
	background-color: #193574;
	width: 2px;
	height: 40px;
}
@media only screen and (max-width: 768px) {
	[class^="titSec"] {
		font-size: 26px;
	}
	.titSec-s {
		font-size: 22px;
		margin-top: 50px;
	}
}

/* HOME ＆ footer
========================================== */

.titHome {
	color: #193574;
	font-size: 60px;
	line-height: 1.4;
}
.titHome span {
	color: #333;
	font-size: 16px;
	display: block;
}
@media only screen and (max-width: 768px) {
	.titHome {
		font-size: 40px;
	}
	.titHome span {
		font-size: 14px;
	}
}

/*******************************************

-------------------------------------------
パーツ類
********************************************/

/* 紹介文（紺ボーダー囲み）
========================================== */

.introTxt {
	border: 1px solid #193574;
	border-radius: 10px;
	padding: 30px 40px;
	margin: 50px auto 0;
	line-height: 2.25;
}
@media only screen and (max-width: 768px) {
	.introTxt {
		line-height: 1.8;
		padding: 20px 15px;
		margin-top: 30px;
	}
}

/* ローカルナビ
========================================== */

ul[class^="lNav-"] {
	display: flex;
	flex-wrap: wrap;
	margin-top: 80px;
}
ul[class^="lNav-"] li {
	margin-top: 20px;
	margin-right: 20px;
}
ul[class^="lNav-"] li a {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 100%;
	min-height: 60px;
	padding: 5px 40px 5px 20px;
	background-color: #fff;
	border: 1px solid #193574;
	color: #193574;
	font-weight: 700;
	position: relative;
	line-height: 1.4;
}
body.home #company ul[class^="lNav-"] li a {
	background-color: #e6f0f6;
}
ul[class^="lNav-"] li a::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	background: url("../img/common/ic_arrow_blue.svg") center / cover no-repeat;
	width: 16px;
	height: 16px;
	transition: all 0.2s linear;
}
ul[class^="lNav-"] li a:hover,
ul[class^="lNav-"] li a.current {
	opacity: 1;
	background-color: #193574!important;
	color: #fff;
}
ul[class^="lNav-"] li a:hover::after,
ul[class^="lNav-"] li a.current::after {
	background-image: url("../img/common/ic_arrow_white.svg");
}

/* ボタンの数設定 */
ul.lNav-3 li {width: calc((100% - 40px) / 3);}
ul.lNav-4 li {width: calc((100% - 60px) / 4);}
ul.lNav-5 li {width: calc((100% - 80px) / 5);}
ul.lNav-3 li:nth-of-type(3n),
ul.lNav-4 li:nth-of-type(4n),
ul.lNav-5 li:nth-of-type(5n) {margin-right: 0;}
@media only screen and (max-width: 1080px) {
	ul.lNav-4 li,
	ul.lNav-5 li {width: calc((100% - 20px) / 2);}
	ul.lNav-4 li:nth-of-type(2n),
	ul.lNav-5 li:nth-of-type(2n) {margin-right: 0;}
}
@media only screen and (max-width: 768px) {
	ul[class^="lNav-"] {
		margin-top: 50px;
	}
	ul[class^="lNav-"] li {
		width: 50%!important;
		margin: 0!important;
	}
	ul[class^="lNav-"] li a {
		min-height: 50px;
		font-size: 14px;
		padding: 5px 30px 5px 12px;
	}
	ul[class^="lNav-"] li:nth-of-type(n+3) a {
		border-top: none;
	}
	ul[class^="lNav-"] li:nth-of-type(even) a {
		border-left: none;
	}
	ul[class^="lNav-"] li a::after {
		width: 12px;
		height: 12px;
		right: 15px;
	}
}

/* 下向き矢印 */
ul[class^="lNav-"].typeIn li a::after {transform: translateY(-50%) rotate(90deg);}
ul[class^="lNav-"].typeIn li a:hover::after {top: 60%;}
/* 右向き矢印 */
ul[class^="lNav-"].typeOut li a::after {transform: translateY(-50%);}
ul[class^="lNav-"].typeOut li a:hover::after {right: 10px;}

/*******************************************

-------------------------------------------
テーブル
********************************************/

table.tblBsc {
	width: 100%;
}
table.tblBsc tbody tr:nth-of-type(odd) th,
table.tblBsc tbody tr:nth-of-type(odd) td {
	background-color: #e6f0f6;
}
table.tblBsc th,
table.tblBsc td {
	padding: 12px 20px;
}
table.tblBsc th {
	width: 200px;
	color: #193574;
	font-weight: 700;
}
@media only screen and (max-width: 768px) {
	table.tblBsc th,
	table.tblBsc td {
		display: block;
		width: 100%;
	}
	table.tblBsc th {
		background-color: #e6f0f6!important;
		padding: 5px 15px;
	}
	table.tblBsc td {
		background-color: #fff!important;
		padding: 17px 15px;
	}
}

/*******************************************

-------------------------------------------
写真並び
********************************************/

/* 3つ並び
========================================== */

.service_pt {
	display: flex;
	justify-content: space-between;
	margin-top: 50px;
}
.service_pt img {
	display: block;
	width: calc((100% - 40px) / 3);
}
.service_pt + p {
	margin-top: 40px;
}
@media only screen and (max-width: 768px) {
	.service_pt {
		margin-top: 40px;
	}
	.service_pt + p {
		margin-top: 30px;
	}
}
@media only screen and (max-width: 640px) {
	.service_pt {
		display: block;
	}
	.service_pt img {
		width: calc(100% - 50px);
		max-width: 400px;
		margin: 0 auto;
	}
	.service_pt img + img {
		margin-top: 20px;
	}
}

/*******************************************

-------------------------------------------
お知らせ
********************************************/

ul.newsList {
	border-top: 1px solid #ccc;
	margin-top: 30px;
}
ul.newsList > li {
	display: flex;
	position: relative;
	padding: 30px 20px;
	border-bottom: 1px solid #ccc;
}
ul.newsList > li .day {
	display: inline-block;
	width: 160px;
	flex-shrink: 0;
	font-size: 14px;
	position: relative;
	top: 2px;
}
ul.newsList > li .new {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 45px;
	height: 20px;
	background-color: #54c3f1;
	position: absolute;
	top: 35px;
	left: 120px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}
ul.newsList > li .newsTxt {
}
@media only screen and (max-width: 768px) {
	ul.newsList {
		margin-top: 20px;
	}
	ul.newsList > li {
		flex-wrap: wrap;
		padding: 20px 0;
	}
	ul.newsList > li .new {
		top: 25px;
		left: 100px;
	}
	ul.newsList > li .newsTxt {
		width: 100%;
		margin-top: 10px;
		font-size: 15px;
	}
}

/* お知らせページ
========================================== */

body.news #main h2 {
	margin-top: 100px;
}
@media only screen and (max-width: 768px) {
	body.news #main h2 {
		margin-top: 50px;
	}
}