@charset "utf-8";

.container #tab {
	padding: 0;
	overflow: hidden;
	border-bottom: 1px solid #182D7C;
	margin-bottom: 0;
}

.container #tab li {
	float: left;
	width: 50%;
	list-style: none;
	text-align: center;
}

.container #tab li a {
	display: block;
	text-decoration: none !important;
	color: #333 !important;
	padding: 15px 0;
	border-top: 1px solid #D5DDD9;
	border-left: 1px solid #D5DDD9;
}

.container #tab li:last-child a {
	border-top: 1px solid #D5DDD9;
	border-left: 1px solid #D5DDD9;
	border-right: 1px solid #D5DDD9;
}

.container #tab li.active a,
.container #tab li a:hover {
	color: #fff !important;
	background: #182D7C;
	border-color: #182D7C;
}

.tab_wrap {
	border: 1px solid #D5DDD9;
	padding: 40px 20px;
}

.center {
	text-align: center
}

.btn {
	padding: 15px 18px;
	font-size: 16px;
	border: 1px solid #dadedc;
	background: #eee;
	color: #333;
	cursor: pointer;
	text-decoration: none !important;
	border-radius: 4px;
}

a.btn:visited {
	color: #333;
}

.btn:hover {
	background: #fefbe2;
}

#content_wrap .btn_link {
	width: 100%;
}

.link-like {
	color: #1558d6;
	text-decoration: underline;
	cursor: pointer;
	padding-left: 30px;
	padding-right: 30px;
}

.row {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin: 16px 0 28px;
}

.zip {
	width: 90px;
	padding: 15px;
	font-size: 18px;
	text-align: center;
}

.msg-ok {
	color: #0a7a0a;
	font-size: 24px;
	line-height: 1.6;
}

.msg-check {
	color: #c38600;
	font-size: 18px;
	line-height: 1.6;
}

.msg-ng {
	color: #c00;
	font-size: 18px;
	line-height: 1.6;
}

/*
.badge {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 4px solid #0a7a0a;
	color: #0a7a0a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 12px auto;
	font-size: 35px;
    	font-weight: 700;
}*/

.badge.msg-ng {
	color: #c00;
	border: none;
	font-size: 70px;
}

/*
.badge-tri-outline{
  width: 88px;
  height: calc(88px * 0.86);
  position: relative;
  margin: 12px auto;
}
*/

/*
.badge-tri-outline svg{ width:100%; height:100%; display:block; }
.badge-tri-outline .tri-shape{
  fill: none;
  stroke: #FFC642;
  stroke-width: 8;
  stroke-linejoin: round;  
  stroke-linecap: round;
}*/


/*
.badge-tri-outline .mark{
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  font-size: 45px;
  font-weight: 800;
  line-height: 1;
  color: #FFC642;      
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
background: none;
}*/

/*
.nextbtn,
.backbtn {
	display: inline-block;
	margin-top: 16px;
	text-decoration: none
}

.nextbtn {
	background: #ddd
}

.backbtn {
	background: #f7f7f7
}
*/
.pref-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-auto-rows: 64px;
	gap: 12px;
	max-width: 600px;
	margin: 40px auto;
}

.pref {
	background: #fff;
	border: 1px solid #D5DDD9;
	border-radius: 10px;
	padding: 10px;
	cursor: pointer;
	text-decoration: none;
	font-size: 18px;
	color: #2672C0;
	display: flex;
	align-items: center;
	justify-content: center
}

.pref:hover {
	color: #005792;
	border-color: #005792;
	background-color: #fff;
}

.pref.disabled {
	cursor: not-allowed;
	opacity: .45;
	border-style: dashed;
	pointer-events: none
}

.city-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.city {
	background: #fff;
	border: 1px solid #D5DDD9;
	border-radius: 10px;
	padding: 10px;
	cursor: pointer;
	text-decoration: none;
	font-size: 18px;
	color: #2672C0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.city:hover {
	color: #005792;
	border-color: #005792;
	background-color: #fff;
}

.kana-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	margin: 8px 0 12px
}

.kana {
	padding: 10px 20px;
	border: 1px solid #cfd6e3;
	border-radius: 6px;
	background: #f7f9fc;
	text-decoration: none;
	font-size: 18px;
	color: #2672C0;
}

.kana.disabled {
	opacity: .4;
	pointer-events: none
}

.kana.active {
	background: #fff;
	border-color: #5aa0ff
}

.result-icon {
	height: 100px;
	width: auto;
}

@media screen and (max-width: 767px) {
	.tab_wrap {
		padding: 40px 20px 30px;
	}

	.zip {
		width: 70px;
		padding: 13px;
		font-size: 16px;
	}

	.btn {
		padding: 15px 10px;
		font-size: 14px;
	}

	.msg-ok {
		font-size: 16px;
	}

	.msg-check {
		font-size: 16px;
	}

	.msg-ng {
		font-size: 16px;
	}

	.link-like.btn {
		padding-left: 30px;
		padding-right: 30px;
	}

	.pref {
		border-radius: 8px;
		padding: 10px;
		font-size: 15px;
	}

	.pref-grid {
		gap: 8px;
	}

	.city-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.kana {
		padding: 10px 20px;
		border-radius: 6px;
		font-size: 15px;
	}

	.city {
		border-radius: 8px;
		font-size: 15px;
	}

	.result-icon {
		height: 80px !important;
	}
}