@charset "utf-8";

/* global */
body {
	background-color: #FFF;
}
@media (min-width: 1200px) {
	.container {
		max-width: 1600px;
	}
}
.container-fluid {
	padding: 0;
}
.sticky-navigation {
	position: sticky;
	top: 0;
	z-index: 99;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
:focus {
outline: none;
}
a:-webkit-any-link:focus {
	outline-offset: 0px;
}
/* header */
header {
	width: 100%;
	height: 52px;
}
a.site-title {
	display: flex;
	align-items: center;
}
a.site-title:hover {
	text-decoration: none;
}
.site-title div {
	margin-left: 10px;
	text-align: center;
}
a.site-title img {
	width: 42px;
	margin: 5px;
}
@media (min-width: 992px) {
	a.site-title img {
		width: 42px;
		margin: 5px;
	}
}
.site-title h1 {
	text-indent: 0;
	color: #555;
	margin: 0;
	line-height: 1.2;
	font-size: 20px;
	font-weight: bold;
}


/* navigation */
ul.nav, nav.navbar {
	margin: 0;
	background-color: #2449A8;
}
ul.nav li {
	width: calc(100% / 5);
	height: 56px;
}
.dropdown-toggle::after {
	display: none;
}
/* PC navigation */

ul.nav-pills li.nav-item a.nav-link {
	color: #FFF;
	border-radius: 0;
	text-align: center;
	font-size: 14px !important;
	height: 100%;
	position:relative;
	padding: 0.5rem 0.5rem;
	white-space: normal;
	line-height: 1.5em !important;
}
ul.nav-pills li.nav-item a.nav-link:before {
	content: '';
	position: absolute;
	top: 8px;
	left: 100%;
	display: inline-block;
	width: 1px;
	height: 40px;
	background-color: #AAA;
}
ul.nav-pills li.nav-item:last-child a.nav-link:before {
	content: none;
}
ul.nav-pills li.nav-item a.nav-link span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}
ul.nav-pills li.nav-item div.dropdown-menu {
	background-color: #2449A8;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	min-width: 100%;
}
ul.nav-pills li.nav-item a.nav-link:hover {
	background-color: #007bff;
}
div.dropdown-menu a.dropdown-item {
	line-height: 34px !important;
	border-top: solid 1px #AAA;
	padding: 0.25rem 0.5rem;
	color: #FFF;
	font-size: 14px !important;
}
div.dropdown-menu .dropdown-item:hover {
	background-color: #007bff;
}
ul.nav-pills .dropdown:hover > .dropdown-menu {
	display: block;
}
ul.nav-pills .dropdown > .dropdown-toggle:active {
	pointer-events: none;
}
/* SP navigation */
nav.navbar .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

nav.navbar div.navbar-collapse {
	position: absolute;
	top: 56px;
	left: 0px;
	width: 100%;
	z-index: 1;
	background-color: rgb(36, 73, 168);
}
ul.navbar-nav {
	margin: 0;
}
ul.navbar-nav li.nav-item a.nav-link {
	color: #FFF;
	font-size: 16px !important;
	line-height: 1.5em !important;
	margin: 0 10%;
	border-bottom: solid 1px #AAA;
}
ul.navbar-nav li.nav-item:last-child a.nav-link {
	border: none;
}
.sub-menu.dropdown-menu {
	padding: 0;
	margin: 0;
	background-color: #2449A8;
	border: 0px;
	border-radius: 0;
}
.sub-menu.dropdown-menu a.dropdown-item {
	margin: 0 10% 0 13%;
	width: auto;
	border-top: none;
	border-bottom: solid 1px #AAA;
}
.navbar-expand-lg ul.navbar-nav li.nav-item [aria-expanded="false"]::after {
	display: inline-block;
}
ul.navbar-nav li.nav-item:last-child [aria-expanded="true"] {
	border-bottom: solid 1px #AAA !important;
}

/* FOOTER */
#footer{
	padding-top:30px;
	padding-bottom:10px;
	bottom: 0;
	background-color: #2449A8;
}
.footer-text {
	text-align: center;
	color: white;
}

.footer-text > a { 
	color: white !important; 
}

.footer-text > a:hover { 
	color: gold !important; 
}

/* TOP */
.top-images {
	padding-bottom: 0px;
}

.top-carousel {
	display: inline-block;
	z-index: 1;
}

.row-business {
	background-color: white;
}

.row-announce {
	background: linear-gradient(to right, #2449A8, #50c0fc);
}

.row-sns {
	background-color: white;
}

.row-card {
	margin-top: 30px;
}

.card-img {
	height: 200px;
	object-fit: cover; 
	border-radius: 30px 30px 0 0 ;
}

.card {
	position: relative;
	z-index: 10;
	margin: 0px 0 40px 0;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.card-date {
	text-align: right;
	color: gray;
}

.card-business:hover{
	transform: scale(1.03);
	transition-duration: 0.3s;
}

.card-business-link {
	color: black;
}

.card-business-link:hover {
	text-decoration: none;
	color: black;
}

.card-business {
	height: 400px;
	border-radius: 30px;
	overflow: hidden;
}

.card-announce {
	height: 320px;
}

.card-sns {
	height: 380px;
}

.card-header {
	text-align: center;
	font-size: large;
	color: white;
	height: 50vm;
}

.card-header-business {
	background: #2449A8;
}

.card-header-twitter {
	background-color: #00acee;
}

.card-header-announce {
	position: relative;
	z-index: 50;
	filter: drop-shadow(3px 0px 2px rgba(0, 0, 0, 0.25));
	height: 40px;
	width: 190px;
	margin: 0 auto 0 0;
	border-radius: 10px 10px 0 0 !important;
}

.card-header-announce-board {
	background-color: rgb(220, 105, 5);
}

.card-header-announce-jjf {
	background-color: rgb(19, 156, 19);
}

.card-header-announce-swj {
	background-color: rgb(128, 0, 0);
}

.card-header-announce-other {
	background-color: rgb(149, 27, 201);
}

.card-list-title {
	text-align: center;
}

.card-list-title > p {
	padding: 40px 0 0 0;
	font-size: 30px;
}

.row-business .card-list-title > hr {
	margin-top: -10px;
	margin-bottom: 40px;
	width: 160px;
	height: 2px;
	background: linear-gradient(to right, #2449A8, #50c0fc);
	border: none;
}

.row-announce .card-list-title > p {
	color: white;
}

.row-announce .card-list-title > hr {
	margin-top: -10px;
	margin-bottom: 40px;
	width: 300px;
	height: 2px;
	background: linear-gradient(to right, #9dc9e2, rgb(255, 255, 255));
	border: none;
}

.card-detail {
	background: #2449A8;
	color: white;
	width: 160px;
	height: 40px;
	margin: 0 12px 10px auto;
	text-align: center;
	vertical-align: middle;
	border-radius: 4px;
	line-height: 40px;
	transition: all 0.3s ease 0s;
}

a.card-detail {
	display: block;
}

.card-detail:hover {
	opacity: 0.7;
}

a.card-detail:hover {
	color: white;
	text-decoration: none;
}



.row-sns .card-list-title {
	width: fit-content;
	margin: auto;
}

.row-sns .card-list-title > p {
	margin: 0 0.1em;
}

.row-sns .card-list-title > hr {
	margin-top: 0px;
	margin-bottom: 40px;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right, #2449A8, #50c0fc);
	border: none;
}

.inline {
	display: inline;
}

.card-text-indent {
	padding-left: 1em;
}

.card-text-history-date {
	display: inline;
	text-decoration: underline; 
}

/*Fade In*/
.scroll-in:nth-child(3n-2) {
	opacity: 0;
	transform : translate(0, 50px);
	transition : all 600ms;
  }

.scroll-in:nth-child(3n-1) {
	opacity: 0;
	transform : translate(0, 50px);
	transition : all 900ms;
  }

.scroll-in:nth-child(3n) {
	opacity: 0;
	transform : translate(0, 50px);
	transition : all 1200ms;
  }
  
.scroll-in:nth-child(3n-2).display {
	opacity: 1;
	transform: translate(0, 0);
}

.scroll-in:nth-child(3n-1).display {
	opacity: 1;
	transform: translate(0, 0);
}

.scroll-in:nth-child(3n).display {
	opacity: 1;
	transform: translate(0, 0);
}
