@charset "UTF-8";
/*-----------------------------------

	company.css

-----------------------------------*/


/*-----------------------------------

	company_block

-----------------------------------*/
#company_block {
	padding: 80px 0 50px;
}


@media screen and (max-width: 1180px) {

	#company_block {
		padding: 100px 0;
	}


}

@media screen and (max-width: 840px) {

	#company_block {
		padding: 80px 0 70px;
	}


}

@media screen and (max-width: 640px) {

	#company_block {
		padding: 40px 0 60px;
	}

}

/* greeting_block */
#greeting_block .greeting_box {
	margin-top: 50px;
}
#greeting_block .text_box {
}
#greeting_block .text_box p {
	line-height: 250%;
	margin-bottom: 1.5em;
}
#greeting_block .name_box {
	width: 200px;
}
#greeting_block .name_box p {
	line-height: 150%;
	margin-top: 40px;
}
#greeting_block .img_box p span {
	font-size: 16px;
	font-weight: 600;
}

@media screen and (max-width: 1080px) {

}

@media screen and (max-width: 640px) {

	#greeting_block .text_box {
		width: 100%;
		float: none !important;
		margin-top: 45px;
	}
	#greeting_block .text_box p {
		font-size: 14px;
	}
	#greeting_block .name_box {
		width: 100%;
		float: none !important;
		margin: 0 auto;
	}

}

/* outline_block */
#outline_block {
	margin-top: 90px;
	padding: 80px 0 100px;
	background: #dcdddd;
}
#outline_block table {
	width: 100%;
	margin-top: 45px;
	background: #fff;
	border: 1px solid #f2f2f2;
	border-collapse: separate;
	border-spacing: 0;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	overflow: hidden;
}
#outline_block table th {
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	color: #434343;
	padding: 20px 15px 20px 25px;
	border-right: 1px dotted #efefef;
	border-bottom: 1px dotted #efefef;
}
#outline_block table td {
	font-size: 14px;
	font-weight: 500;
	vertical-align: middle;
	padding: 20px 20px;
	color: #646464;
	border-bottom: 1px dotted #efefef;
}

@media screen and (max-width: 840px) {



}

@media screen and (max-width: 640px) {

	#outline_block {
		margin-top: 50px;
		padding: 80px 0;
	}
	#outline_block table th {
		display: block;
		width: 100%;
		font-weight: 800;
		border-right: none;
		border-bottom: none;
	}
	#outline_block table td {
		display: block;
		width: 100%;
		padding: 0 20px 20px 25px;
	}

}


/* history_block */
#history_block {
	padding: 80px 0 100px;
}
#history_block table {
	width: 1000px;
	margin: 40px 0 80px -20px;
	font-size: 16px;
	border-collapse: separate;
	border-spacing: 20px;
}
#history_block table th {
	color: #757575;
	text-align: left;
	width: 120px;
	position: relative;
}
#history_block table th:before {
	content: "";
	background: #a5e0f3;
	width: 4px;
	height: 80%;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto 0;
}
#history_block table td {
	padding-left: 10px;
}

@media screen and (max-width:640px) {

	#history_block {
		padding-bottom: 0;
	}
	#history_block table {
		width: 100%;
		margin: 40px 0 60px 0;
		font-size: 15px;
		border-collapse: separate;
		border-spacing: 0;
	}
	#history_block table th,
	#history_block table td {
		display: block;
		width: 100%;
	}
	#history_block table th {
		border-right: none;
		border-bottom: 2px solid #a5e0f3;
		padding: 0 0 10px;
		text-align: center;
	}
	#history_block table th:before {
		display: none;
	}
	#history_block table td {
		padding: 15px 0 25px;
	}
	#history_block .sp_none {
		display: none;
	}

}

/*-----------------------------------

	store_block

-----------------------------------*/

#store_block {
	padding: 80px 0 90px;
	background: url(../img/common/bg_01.jpg) no-repeat;
	background-size: cover;
}
#store_block .intro_text {
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	margin-top: 50px;
}
#store_block .store_wrap {
	margin: 70px 0 30px;
}
#store_block .store_wrap li {
	float: left;
	width: 260px;
	margin-right: 20px;
}
#store_block .store_wrap li:last-child {
	margin-right: 0;
}
#store_block .store_wrap li a {
	display: block;
	padding-bottom: 35px;
}
#store_block li .img_box {
	border: 2px solid #14c1a7;
	position: relative;
}
#store_block li .img_box p {
	display: block;
	width: 130px;
	background: #14c1a7;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	color: #fff;
	padding: 2px 10px;
	position: absolute;
	top: -16px;
	left: -2px;
	z-index: 99;
}
#store_block li h3 {
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	color: #414141;
	letter-spacing: 0.1em;
	margin-top: 20px;
}
#store_block li .text_box h3:before {
	content: "";
	width: 100%;
	height: 30px;
	background: #fff;
	position: absolute;
	left: 0;
	top: -30px;
	-webkit-border-radius: 40%;
	-moz-border-radius: 40%;
	-ms-border-radius: 40%;
	-o-border-radius: 40%;
	border-radius: 40%;
	z-index: -10;
}

@media screen and (max-width: 1180px) {

	#store_block .store_wrap li {
		width: 23.87%;
		margin-right: 1.5%;
	}

}

@media screen and (max-width: 980px) {

	#store_block {
		padding: 80px 0 70px;
	}
	#store_block:after {
		display: none;
	}
	#store_block .store_wrap {
		width: 60%;
		margin: 30px auto;
		padding: 0;
	}
	#store_block .store_wrap li {
		width: 48%;
		margin-right: 2%;
	}
	#store_block .detail_text .address_txt {
		font-size: 14px;
		letter-spacing: 0;
		margin-top: 10px;
		text-align: left;
	}
	#store_block li .img_box {
		width: 100%;
		margin-top: 20px;
	}
	#store_block .detail_text .tel {
		text-align: left;
	}
	#store_block .store_wrap li a:after {
		display: none;
	}

}

@media screen and (max-width: 640px) {

	#store_block {
		padding: 60px 0;
	}
	#store_block .intro_text {
		text-align: center;
		font-size: 15px;
	}
	#store_block .store_wrap {
		width: 100%;
		margin-bottom: 0;
	}
	#store_block li h3 {
		font-size: 16px;
		font-weight: 500;
		margin-top: 15px;
		letter-spacing: 0;
	}
	#store_block li .img_box p {
		width: 110px;
		font-size: 14px;
		letter-spacing: 0;
		padding: 1px 0;
	}

}

/*-----------------------------------

	info_block

-----------------------------------*/

#info_block {
	padding: 100px 0 120px;
}
#info_block .info_wrap {
	margin-top: 60px;
}
#info_block .info_box {
	width: 48%;
}
#info_block .info_wrap .day {
	float: left;
	font-size: 18px;
	margin-right: 10px;
}
#info_block .info_wrap .tag {
	float: left;
	width: 100px;
	font-size: 13px;
	text-align: center;
	color: #fff;
	margin: 0 15px;
	background: #2297db;
}
#info_block ul li {
	border-bottom: 1px solid #2297db;
	overflow: hidden;
}
#info_block ul li:hover {
	background: #fff;
}
#info_block ul li a {
	display: block;
	padding: 25px 10px;
	overflow: hidden;
}
#info_block ul li a:hover p {
	color: #2297db;
}
#info_block ul p {
	float: left;
	width: 75%;
	font-size: 16px;
	margin-top: -5px;
	margin-left: 15px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
#info_block .link_btn {
	margin: 70px auto 0;
}

@media screen and (max-width: 1080px) {

	#info_block ul p {
		width: 100%;
		margin-left: 0;
	}

}

@media screen and (max-width: 840px) {

	#info_block {
		padding: 80px 0 70px;
	}
	#info_block .h2_style {
		position: relative;
		z-index: 10;
	}
	#info_block ul p {
		width: 100%;
		margin-left: 0;
		margin-top: 10px;
	}

}

@media screen and (max-width: 640px) {

	#info_block {
		padding: 60px 0;
	}
	#info_block .info_wrap {
		margin-top: 50px;
	}
	#info_block .link_btn {
		margin: 30px auto 0;
	}
	#info_block ul li a {
		padding: 20px 5px;
	}
	#info_block ul .category {
		font-size: 12px;
		padding: 8px 7px 8px;
	}
	#info_block .info_wrap .day {
		font-size: 16px;
		margin-right: 0;
	}
	#info_block ul p {
		font-size: 14px;
		letter-spacing: 0;
	}



}


/*-----------------------------------

	news_block

-----------------------------------*/

#news_block {
	padding: 75px 0;
}
#news_block .contents_inner {
	position: relative;
}
#news_block .h2_style {
	width: 150px;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
	line-height: 230%;
}
#news_block {
	padding: 60px 0;
}
#news_block ul {
	width: 800px;
}
#news_block ul li {
	font-size: 15px;
	padding: 8px 0;
	border-bottom: 1px solid #d8d8d8;
}
#news_block li span {
	display: inline-block;
	width: 100px;
}
#news_block li p {
	display: inline-block;
}

@media screen and (max-width: 840px) {

	#news_block .h2_style {
		width: 20%;
	}
	#news_block ul {
		width: 75%;
	}
	#news_block li span,
	#news_block li p {
		display: block;
		width: auto;
	}

}

@media screen and (max-width: 640px) {

	#news_block {
		padding: 15px 0 40px;
	}
	#news_block .h2_style {
		width: 100%;
		float: none !important;
		position: static;
	}
	#news_block ul {
		width: 100%;
		float: none !important;
	}
	#news_block li span,
	#news_block li p {
		font-size: 13px;
	}

}


/*-----------------------------------

	gmap_block

-----------------------------------*/

.gmap_block iframe {
	vertical-align: bottom;
}


@media screen and (max-width: 840px) {

	.gmap_block iframe {
		height: 300px;
	}

}

@media screen and (max-width: 640px) {

	.gmap_block iframe {
		height: 250px;
	}

}


/* 横並びの基本設定 */
.greeting_box {
    display: flex;
    align-items: flex-start; /* 上揃え（画像に合わせて中央ならcenter） */
    justify-content: space-between;
    gap: 40px; /* 画像とテキストの間隔 */
    margin-top: 20px;
}

/* 2番目のセクション：左右反転 */
.greeting_box.reverse {
    flex-direction: row-reverse;
}

/* テキストと画像の幅を調整（50%ずつ） */
.text_box, .image_box {
    flex: 1;
}

.image_box img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee; /* 必要に応じて */
}

/* 見出しの装飾（画像の青い線に合わせる場合） */
.h3_lower {
    border-bottom: 2px solid #059997;
    padding-bottom: 8px;
    margin-bottom: 20px;
    display: inline-block; /* 線を文字の長さに合わせる場合 */
    width: 100%;
}

/* スマホ表示：縦並びに戻す */
@media (max-width: 768px) {
    .greeting_box, .greeting_box.reverse {
        flex-direction: column;
    }
    .image_box {
        order: -1; /* スマホでは画像が先にくるように */
        width: 100%;
    }
}

.text-red {
    color: #d9333f; /* 視認性の良い赤色 */
    font-weight: bold; /* 注意喚起のため太字にするとより効果的です */
}

/* 1. 特長の見出し直下の余白を詰める */
#greeting_block .greeting_box {
    margin-top: 20px; /* 50pxから20pxに縮小 */
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

/* 2. 1つ目のセクションと2つ目のセクション（処方せんの受付）の間隔を広げる */
/* .contents_innerが連続しているため、2つ目以降に余白を持たせます */
#greeting_block .contents_inner + .contents_inner {
    margin-top: 100px; /* ここでお好みの間隔に調整してください */
}

/* 3. テキストボックス内の段落の下余白を調整（画像と高さを合わせやすくするため） */
#greeting_block .text_box p:last-child {
    margin-bottom: 0;
}

/* 4. 既存の media query 内での干渉を防ぐため、sp時の挙動を整理 */
@media screen and (max-width: 640px) {
    #greeting_block .greeting_box, 
    #greeting_block .greeting_box.reverse {
        flex-direction: column;
        gap: 20px;
    }
    #greeting_block .contents_inner + .contents_inner {
        margin-top: 60px; /* スマホ時は少し狭める */
    }
}