@charset "utf-8";
* {
	box-sizing: border-box;
}
body {
	font: 1em "游ゴシック", "Yu Gothic", sans-serif;
	margin: 0;
	padding: 0;
	color: #000;
}
/* ~~ エレメント / タグセレクター ~~ */
ul, ol, dl { /* ブラウザー間の相違により、リストの余白とマージンをゼロにすることをお勧めします。一貫性を保つために、量をここで指定するか、リストに含まれるリスト項目 (LI、DT、DD) で指定できます。より詳細なセレクターを記述しない限り、ここで指定する内容が .nav リストにも適用されることに注意してください。 */
	padding: 0;
	margin: 0;
}
a img { /* このセレクターは、一部のブラウザーでイメージをリンクで囲んだ場合にイメージの周囲に表示される初期設定の青いボーダーを削除します。 */
	border: none;
}
a:link {
	color: inherit;
	text-decoration:underline;
	text-decoration-color:inherit;
	text-underline-offset:2px; 
}
a:visited {
	color: inherit;
}
a:hover, a:active, a:focus { /* このセレクターグループは、キーボードを使用するユーザーに対し、マウスを使用するユーザーと同じホバー効果を提供します。 */
}
.blue {
	color: #246FB5!important;
}
/* ~~ このコンテナが他のすべての div を囲み、パーセンテージに基づいた幅を指定します。~~ */
.container {
	width: 80%;
	margin: 0 auto; /* 幅に加え、両側を自動値とすることで、レイアウトが中央に揃います。.container の幅を 100% に設定した場合、これは必要ありません。 */
	padding: 1em 0;
}
.bc1 {
	background-image: url(../image/bc_emergency.jpg);
	background-size: cover;
}
.bc2 {
	background-image: url(../image/totalservice.jpg);
	background-size: cover;
	color: #FFF;
}
.bc3 {
	background-image: url(../image/links.jpg);
	background-size: cover;
	color: #FFF;
}
.header {
	position: relative;
	margin-bottom: 2em;
	width: 100%;
	margin: 1em auto;
}
.title {
	display: block;
	/*float: left;*/
	font-weight: bold;
	font-size: 0.9em;
	bottom: 0;
}
.toiawase {
	float: right;
	border: 3px solid #FFF;
	padding: 5px 10px;
	color: #FFF;
}
.fa-phone-alt::before {
	color: #FFF;
	content: "\f879";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	padding-right: 5px;
}
.tel {
	float: right;
	padding: 5px 10px;
	color: #FFF!important;
	font-size: 1.2em;
	font-weight: bolder;
	text-align: center;
}
.eye {
	background-color: #D2DCE1;
	padding: 3% 5%;
}
.naveye {
	background-image: url(../image/eye.jpg);
	background-position: bottom;
	background-size: cover;
	padding-bottom: 40%;
	width: 100%;
	margin: 0 auto;
	border-radius: 60px;
	position: relative;
}
#navpc {
	list-style: none;
	padding: 1em 0;
	float: left;
}
#navpc li {
	float: left;
	padding: 0 0.5em;
	color: #246FB5;
	border-left: 1px solid #246FB5;
	font-weight: bolder;
}
#navpc li a {
	padding: 5px 10px;
}
#navpc li a:hover {
	color: #FFF;
	background-color: #246FB5;
	opacity: 0.4;
}
#navpc li:last-child {
	border-right: 1px solid #246FB5;
}
.sblock {
	float: right;
	padding: 2em 3em;
}
.sblock input[type="text"] {
	border: none;
	background-color: #ADD1EF;
	padding: 5px 10px;
	height: 30px;
}
.sblock input[type="text"]:focus {
	outline: 0;
}
.sblock input[type="submit"] {
	border: none;
	background-color: #75ABE0;
	height: 30px;
	padding: 5px 10px;
	color: #FFF;
	outline : none;
	margin-right: 1px;
}
.flexinq {
	display: flex;
	align-items: center;
	float: right;
}
.flexhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.eyetitle {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.eyejuishi {
	position: absolute;
	top: 10%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-weight: bolder;
	background-color: #ffffff85;
	border-radius: 10px;
	padding: 10px 15px;
	width: fit-content;
	font-size: 1.2em;
	text-align: center;
	border:3px solid rgba(255,245,154,1);
}
.content {
	padding: 10px 0;
}
/* ~~ このセレクターグループは、.content 内のリストに領域間隔を指定します。~~ */
.content ul, .content ol {
	padding: 0 15px 15px 40px; /* この余白は、上述の見出しと段落ルールの右の余白を表します。下の余白はリスト内の他のエレメントとの間隔用に配置され、左の余白はインデント作成用に配置されています。これは必要に応じて調整できます。 */
}
/* ~~ フッター ~~ */
.footer {
	padding: 10px 0;
	background-color: #246FB5;
	color: #FFF;
}
/* ~~ その他の float/clear クラス ~~ */
.fltrt {  /* このクラスを使用すると、ページ内でエレメントを右にフローティングさせることができます。フローティングさせるエレメントは、ページ内で横に並べて表示するエレメントの前に指定する必要があります。 */
	float: right;
	margin-left: 8px;
}
.fltlft { /* このクラスを使用すると、ページ内でエレメントを左にフローティングさせることができます。フローティングさせるエレメントは、ページ内で横に並べて表示するエレメントの前に指定する必要があります。 */
	float: left;
	margin-right: 8px;
}
.clear { /* このクラスは、#footer が #container から削除されているか取り出されている場合に、<br /> または空の div で、フローティングさせる最後の div に続く最後のエレメントとして (#container 内に) 配置できます。 */
	clear: both;
	height: 0;
	font-size: 1px;
	line-height: 0px;
}
.center {
	text-align: center;
	margin: 0 auto;
}
.bc1 h2, .bcw h2 {
	font-size: 3em;
	height: auto;
	line-height: 1em;
	position: relative;
	text-indent: 1.2em;
	margin: 0;
	padding: 1em 0;
}
.bc1 h2:before, .bcw h2:before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	background: url(../image/h2before.png) no-repeat;
	background-size: contain;
	position: absolute;
	bottom: 0;
	left: 0;
	padding-top: 1em;
}
.bc2 h2 {
	font-size: 3em;
	height: auto;
	line-height: 1em;
	position: relative;
	text-indent: 1.2em;
	margin: 0;
	padding: 1em 0;
	color: #FFF;
}
.bc2 h2:before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	background: url(../image/h2before_2.png) no-repeat;
	background-size: contain;
	position: absolute;
	bottom: 0;
	left: 0;
	padding-top: 1em;
}
h3 {
	border-bottom: 1px solid #246FB5;
}
.flex {
	display: flex;
	justify-content: space-between;
}
.flex2 {
	display: flex;
	justify-content: space-between;
}
.flex2 p {
	font-weight: bold;
	font-size: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
}
.flex2 p span {
	font-size: 2em;
}
.flex2 a {
	width: calc(100%/3);
	padding: 1em;
}
.flex2 a img {
	max-width: 100%;
}
.flex3 {
	display: block;
}
.flex3 p {
	font-weight: bold;
	font-size: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
}
.flex3 p span {
	font-size: 2em;
}
.bc3 .container .flex {
	display: flex;
	justify-content: space-evenly;
	margin: 2em auto;
}
.bc3 h3 {
	border-bottom: 1px solid #FFF;
}

.banner-container {
    display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
    margin: 2em auto;
    gap: 2em; /* 左右の列の間隔 */
}

.banner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 calc(50% - 1em); /* 2列レイアウト用 */
}

.topl {
	width: 45%;
	float: left;
	text-align: center;
}
.topr {
	width: 45%;
	float: right;
	text-align: center;
}
.topl h3, .topr h3 {
	text-align: center;
}
.topl p, .topr p {
	text-align: left;
}
.feb {
	display: flex;
	justify-content: space-evenly;
	padding-bottom: 2em;
}
.feb label input[type=checkbox] {
	display: none;
}
.feb label {
	background-color: #246FB5;
	color: #FFF;
	padding: 5px 10px;
	word-break: keep-all;
	line-height: 3em;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
}
.feb label input[type=checkbox]:checked + .feb label {
	background-color: #FFF;
	color: #246FB5;
	border: 2px solid #246FB5;
}
.feb input[type=submit] {
	float: left;
	border: none;
	background: none;
	color: #246FB5;
	font-weight: bolder;
	font-size: 1.1em;
}
.checkwrap {
	width: 70%;
}
.bc2l {
	width: 50%;
	float: left;
	list-style-position: inside;
}
.bc2r {
	width: 50%;
	float: right;
	list-style-position: inside;
	list-style: none;
	padding-bottom: 1em;
	text-align: center;
}
.bc2r h3 {
	border-bottom: 1px solid #FFF;
	text-align: left;
}
.bc2r li {
	border-bottom: 1px solid #FFF;
	padding: 1em 0;
	position: relative;
	text-align: left;
}
.bc2r li a {
	background-color: transparent;
}
.bc2r li:after {
	content: "▶";
	position: absolute;
	right: 0;
}
.bc2r li:last-of-type {
	margin-bottom: 2em;
}
.bc2r a {
	background-color: #246FB5;
	color: #FFF;
	padding: 5px 10px;
	margin: 1em auto;
	width: fit-content;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
}
.casebtn {
	border: 3px solid #FFF;
	border-radius: 10px;
	width: 40%;
	padding: 10px;
	text-align: center;
	float: left;
	margin-top: 50px;
}
.casebtn:hover {
	background-color: #ffffffa1;
}
.casebtn a {
	color: #FFF;
	text-decoration: none;
	font-weight: bolder;
}
.news {
	/*list-style: none;
	columns: 2;
	box-sizing: content-box;
	padding: 2em 0;
	margin-bottom: 2em;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	column-rule: 1px solid #000;*/
	margin: 0;
    padding: 0;
    list-style: none;
}

.news-scroll {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    background: white;
	margin-bottom: 30px;
}

.news-scroll::-webkit-scrollbar {
    width: 8px;
}

.news-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.news-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.news-scroll::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.news li {
	/*box-sizing: border-box;
	padding: 1em;
	display: inline-block;
	border-bottom: 1px solid #e0e0e0;*/
    padding: 15px;
    line-height: 1.6;
	position: relative;
}

.news li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: #e0e0e0;
}

.news li:last-child::after {
    display: none;
}

.news li a {
	/*box-sizing: border-box;
	padding: 5px;*/
	text-decoration: none;
}
.news li a:hover {
	background-color: #246FB5;
	color: #FFF;
	border-radius: 40px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
}

.news-item {
    display: flex;
    padding: 12px 20px;
    align-items: flex-start;
}

.news-date {
    color: #2c5aa0;
    font-weight: bold;
    min-width: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    line-height: 1.5;
}

.mapl {
	width: 60%;
	float: left;
}
.mapl a img {
	max-width: 100%;
}
.mapr {
	width: 40%;
	float: right;
	padding: 2em;
}
.inner {
	display: flex;
	font-size: 0.8em;
}
.inner .box {
	list-style: none;
	border-right: 1px solid #FFF;
	text-align: center;
	padding: 1em;
}
.inner .box:last-child {
	border-right: none;
}
.inner .box:nth-of-type(1), .inner .box:nth-of-type(3) {
	width: 30%;
}
.inner .box:nth-of-type(2) {
	width: 40%;
}
.inner .box ul {
	list-style: none;
	padding-inline-start: 0px;
}
.inner .box:nth-of-type(2) ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.clearl {
	border-bottom: 1px solid #246FB5;
	clear: both;
	height: 0;
	font-size: 1px;
	line-height: 0px;
	margin: 3em 0;
}
.clearl2 {
	border-bottom: 1px solid #000;
	clear: both;
	height: 0;
	font-size: 1px;
	line-height: 0px;
	margin: 1em 0;
}
.copy {
	text-align: center;
}
.panf {
	position: absolute;
	bottom: 5%;
	left: 5%;
	border: 5px solid #288FBB;
	border-radius: 5px;
	background-color: rgba(255,255,255,0.8);
	text-align: center;
	font-size: 1em!important;
}
.panf:hover {
 background-color:background-color:rgba(255,255,255,0.4);
}
.panf a {
	display: inline-block;
	height: 100%;
	width: 100%;
	padding: 10px 5px;
	color: #288FBB;
	font-weight: bold;
}
