:root {
	--theme-color: #004bb4;
	--theme-light-color: #1b67d0;
	--theme-dark-color: #001738;
}

/*メニューバー*/
#globalnavi li {
	width: calc(100% / 7);
}


#globalnavi a:hover{
	background-color: var(--theme-color);
}



/* 新着情報 */
.shintyaku-box {
	width: 6em;
	height: 25px;
	line-height: 27px;
	text-align:center;
	background:var(--theme-color);
	color:#ffffff;
}
.back-color01 {
	background: #004bb41b;
}


.txtArea {
	margin-bottom: 50px;
}


h2.infoBox  {
	background-image:url('../images/bar-back.png');
	background-repeat:repeat-x;
	margin: 36px 0 1em;
	line-height: 42px;
	color: #ffffff;
	font-weight: bold;
	text-indent: 1em;
}
.subtitle {
	border-bottom: var(--theme-dark-color) 1px solid;
}

p.color01 {
	color: var(--theme-color);
	width: fit-content;
	margin: 0 auto;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 1px;
}

.pop {
	position: relative;
}

.netis {
	position: absolute;
	top: 0;
	right: 66px;
	background-color: var(--theme-color);
	color: #fff;
	border: #fff 2px solid;
	font-size: 16px;
	font-weight: bold;
	padding: 0 8px;
}




/* 問い合わせ */
.add, .add02 {
	border-collapse:collapse;
	border-spacing: 0;
	empty-cells:show;
	margin-bottom: 0;
}
.box-title {
	background-color:var(--theme-color);
	border:1px solid var(--theme-color);
    font-size: 1.2em;
    padding: .4em;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 1px;
}
address {
	margin: 8px 0;
}
.add {
	width: 960px;
	border:1px solid var(--theme-color);
}
.add02 {
	display: block;
	max-width: 90%;
	width: fit-content;
	margin: 0 auto;
}
.add02 td {
	vertical-align: top;
	padding-bottom: .5em;
}
p.adrs {
	font-size:18pt;
	font-weight: bold;
	text-align:center;
}
.add a {
	display: inline-block;
	width: auto;
}



/*Flex*/
.flex.between {
  justify-content: space-between;
}
.flex.center {
  justify-content: center;
}
.flex > figure {
	width: 49.5%;
	max-width: fit-content;
	margin-bottom: 1em;
}



/*---テーブル-----*/
.table {
	border-collapse: collapse;
	border-spacing: 0;
  	margin:5px auto;
}
.table tr th{
	padding: 5px;
	text-align: center;
	border: 1px solid #333;
	background: #e5e4e4;
	font-weight: bold;
}
td {
	color:#333;
}
.table tr td {
	padding: 5px;
	text-align: center;
	border: 1px solid #333;
}
.table.-left tr td {
	text-align: left;
}

.jisseki .flex > .table{
	max-height: 12em;
	width: 330px;
}



/*Download page*/
a.link-a {
	display: block;
	width: fit-content;
	margin: 0;
	color: #000000;
	text-decoration: none;
	border-left: #000000 1px solid;
	padding: 2px 15px;
}
a.link-a:hover {
	text-decoration: underline 2px #000000;
}

a.link-a:last-child {
	border-right: #000000 1px solid;
}



/*--------------------------------------
  写真Box
--------------------------------------*/
figure > img {
	width: calc(100% - 1em);
	padding: .5em;
}

.txtArea img {
	display: block;
	margin: 0 auto;
}




/* その他 */
ul.gaiyou li {
	text-indent: 2em;
	font-size: 12pt;
	line-height: 1.7;
}

.p-box {
	margin-top: 1em;
}

.p-box p {
	margin-bottom: 1em;
	text-indent: 1em;
}

.flex.toku {
	margin-bottom: 24px;
}

.flex.toku img {
	display: block;
	width: 50%;
}

.message {
	text-align: center;
}



@media screen and (max-width: 768px) {

	#globalnavi li {
		width: calc(100% / 4);
	}
	#globalnavi li a {
		font-size: 0.9em;
	}
	.wrapper img {
		max-width: 100%;
		height: auto;
	}
	.netis {
		font-size: 0.9em;
		top: 0;
		right: 0;
		border: none;
	}
	.table tr td,
	.table tr th {
		padding: 0 3px;
		font-size: 10pt;
	}
	.jisseki .flex > .table{
		width: 100%;
	}
	

	.add,.add tbody,.add tr,.add td {
		display: block;
		width: 100%;
	}
	.box-title {
		display: block;
		width: 100%;
	}

	.flex.toku {
		flex-wrap: wrap;
	}

	.flex.toku img {
		width: 100%;
		max-width: 641px;
		margin-bottom: 3em;
	}


	.message {
		width: 90%;
		margin: 0 auto;
	}
}



@media screen and (max-width:374px) {
	
	#globalnavi li {
		width: calc(100% / 3);
	}
}