@charset "utf-8";

/* 共通設定及びモバイル用
------------------------------------------------------------*/
.inner { width: 90%; max-width: 950px; margin-right: auto; margin-left: auto; }

#sub .inner { max-width: 1024px; }


/* ヘッダー
*****************************************************/
#header { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; padding: 16px 0; background: #870C0B; }

/* -- ロゴマーク -- */
#header .logo { display: inline-block; }
#header .logo a { display: block; line-height: 1.35; text-decoration: none; }
#header .logo a .jp { display: block; font-size: 14px; font-size: 1.4rem; font-weight: bold; color: #FFF; }
#header .logo a .jp span { font-size: 18px; font-size: 1.8rem; font-weight: bold; } 
#header .logo a .en { display: block; font-size: 12px; font-size: 1.2rem; color: rgba(255,255,255,0.8); }
#header .logo a:hover { opacity: 0.6; }

/* -- ナビゲーション -- */
#navigation {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #640908; opacity: 0; visibility: hidden;
	-webkit-transition: 0.4s opacity ease, 0.4s visibility ease; -moz-transition: 0.4s opacity ease, 0.4s visibility ease; transition: 0.4s opacity ease, 0.4s visibility ease;
}
#navigation ul { height: 100%; min-height: 100%; overflow-y: auto; }
#navigation ul li a { display: block; font-size: 16px; font-size: 1.6rem; font-weight: bold; color: #FFF; line-height: 1.35; text-align: center; text-decoration: none; padding: 25px 20px; }

/* -- ハンバーガーメニュー -- */
.burger-menu { position: absolute; top: 0; right: 0; width: 60px; height: 100%; background: #640908; }
.burger-menu i,
.burger-menu i:before,
.burger-menu i:after  {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0; content: ""; display: block; width: 24px; height: 2px; margin: auto; background: #FFF; border-radius: 25px;
	-webkit-transition: 0.4s transform ease; -moz-transition: 0.4s transform ease; transition: 0.4s transform ease;
}
.burger-menu i:before { top: -14px; }
.burger-menu i:after  { bottom: -14px; }
.burger-menu.on i { background: transparent; }
.burger-menu.on i:before { top: 0; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); transform: rotate(45deg); }
.burger-menu.on i:after  { bottom: 0; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); transform: rotate(-45deg); }


/* メインイメージ
*****************************************************/
#main { position: relative; }
#main:before { position: absolute; bottom: 0; left: 0; z-index: 2; content: ""; display: block; width: 100%; height: 16px; background: url(../img/main/patten.png) repeat-x; }
#main img { width: 100%; }
#main .swiper-container-horizontal > .swiper-pagination-bullets,
#main .swiper-pagination-custom,
#main .swiper-pagination-fraction { bottom: 30px; }
@media screen and (-webkit-min-device-pixel-ratio:2), (min-resolution: 2dppx) {
	#main:before { background-image: url(../img/main/patten@2x.png); background-size: 200px 16px; }
}


/* コンテンツ
*****************************************************/
#contents { line-height: 1.75; margin-top: 60px; margin-bottom: 60px; }

/* -- ボタン -- */
.button { position: relative; display: block; font-weight: bold; color: #FFF; line-height: 1.35; text-decoration: none; padding: 20px 52px; background: #9D1313; border-radius: 4px; }
.button:before { position: absolute; top: 0; right: 20px; bottom: 0; content: ""; display: block; width: 22px; height: 22px; margin: auto; background: url(../img/button.png) no-repeat; }
.button:hover { background: #640908; }
@media screen and (-webkit-min-device-pixel-ratio:2), (min-resolution: 2dppx) {
	.button:before { background-image: url(../img/button@2x.png); background-size: 22px 22px; }
}


/* サイドバー
*****************************************************/
#sidebar { margin: 100px 0 0; }
#sidebar > div { margin: 0 0 40px; }
#sidebar > div:last-of-type { margin: 0; }
#sidebar > div > p { font-size: 18px; font-size: 1.8rem; font-weight: bold; line-height: 1.35; margin: 0 0 24px; padding: 0 0 12px; border-bottom: 2px solid #DDD; }
#sidebar a { display: block; color: #333; text-decoration: none; }

/* -- 新着記事 -- */
#sidebar .newposts { margin: -12px 0 0; }
#sidebar .newposts li { border-bottom: 1px dashed #DDD; }
#sidebar .newposts li a { padding: 12px 6px; }
#sidebar .newposts li a span { display: block; font-size: 13px; font-size: 1.3rem; color: #999; margin: 0 0 6px; }

/* -- カテゴリー -- */
#sidebar .category { overflow: hidden; border-radius: 4px; }
#sidebar .category li a { position: relative; color: #FFF; padding: 12px 20px 12px 50px; background: #333; border-bottom: 1px solid #222; box-shadow: 0 1px 0 rgba(255,255,255,0.26); }
#sidebar .category li a:before,
#sidebar .category li a:after  { position: absolute; content: ""; display: block; }
#sidebar .category li a:before { top: 15px; left: 20px; width: 20px; height: 20px; background: #FFF; border-radius: 50%; }
#sidebar .category li a:after  { top: 20px; left: 28px; width: 0; height: 0; border-width: 5px 0 5px 6px; border-style: solid; border-color: transparent; border-left-color: #333; }


/* フッター
*****************************************************/
#footer { position: relative; padding: 80px 0 0; background: url(../img/footer/background_sp.png) no-repeat 50% 50%; background-size: cover; }
#footer svg { position: absolute; top: -1px; left: 0; vertical-align: bottom; }

/* -- ロゴマーク -- */
#footer .logo { text-align: center; margin: 0 0 40px; }
#footer .logo a { display: inline-block; font-size: 20px; font-size: 2.0rem; font-weight: bold; color: #FFF; text-decoration: none; }

/* -- サイトマップ -- */
#footer .sitemap ul li { position: relative; margin: 0 20px 20px 0; padding-right: 20px; }
#footer .sitemap ul li:last-child { margin-right: 0; padding-right: 0; }
#footer .sitemap ul li:before { position: absolute; top: 0; right: 0; bottom: 0; content: ""; display: block; width: 1px; height: 80%; margin: auto; background: #FFF; }
#footer .sitemap ul li:last-child:before { display: none; }
#footer .sitemap ul li a { display: block; font-size: 16px; font-size: 1.6rem; color: #FFF; text-decoration: none; }
#footer .sitemap p a { display: inline-block; font-size: 16px; font-size: 1.6rem; color: #FFF; text-decoration: none; padding: 10px 30px; background: rgba(255,255,255,0.2); border-radius: 2px; }

/* -- Copyright -- */
#copyright { text-align: center; margin: 50px 0 0; padding: 12px 0; background: #FFF; }
#copyright a { font-size: 12px; font-size: 1.2rem; color: #111; line-height: 1.35; text-decoration: none; }


/* トップ
------------------------------------------------------------*/
#top .button { max-width: 420px; margin: auto; }

/* -- 岸和田市薬剤師会について -- */
.top_about h1 { font-size: 24px; font-size: 2.4rem; color: #111; line-height: 1.35; text-align: center; margin: 0 0 24px; }
.top_about p { font-size: 16px; font-size: 1.6rem; }
.top_about p br { display: none; }

/* -- お知らせ -- */
.top_news { overflow: hidden; }
.top_news section > div { margin: 0 -250%; padding: 0 250%; background: url(../img/top/news.png); }
.top_news section > div h2 { font-size: 28px; font-size: 2.8rem; letter-spacing: 0.3em; text-align: center; margin: 0; padding: 40px 0; }
.top_news section > div dl div { margin: 0 -250%; padding: 14px 250%; }
.top_news section > div dl div:nth-of-type(odd) { background: #FFF; }
.top_news section > div dl div:after { content: ""; display: table; clear: both; }
.top_news section > div dl div dt { width: 104px; float: left; }
.top_news section > div dl div dt a { display: block; font-size: 14px; font-size: 1.4rem; color: #222; line-height: 28px; text-align: center; text-decoration: none; height: 28px; background: #EEE; border-radius: 2px; }
.top_news section > div dl div dt a:hover { background: #DDD; }
.top_news section > div dl div dd { margin-left: 124px; }
.top_news section > div dl div dd span { display: block; font-size: 14px; font-size: 1.4rem; color: #888; margin: 0 0 6px; }
.top_news section > div dl div dd a { font-size: 16px; font-size: 1.6rem; color: #222; text-decoration: none; }
.top_news section > div dl div dd a:hover { text-decoration: underline; }
@media screen and (-webkit-min-device-pixel-ratio:2), (min-resolution: 2dppx) {
	.top_news section > div { background-image: url(../img/top/news@2x.png); background-size: 10px 10px; }
}


/* サブページ
------------------------------------------------------------*/
#title { position: relative; z-index: 0; background-color: #870C0B; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; }
#title:before { position: absolute; top: 0; left: 0; content: ""; display: block; width: 100%; height: 100%; background: rgba(0,0,0,0.30); }
#title .inner { padding: 60px 0; }
#title .inner h1 { position: relative; z-index: 2; font-size: 30px; font-size: 3.0rem; font-weight: bold; color: #FFF; line-height: 1.35; }

/* -- ページナビ -- */
.wp-pagenavi { letter-spacing: -0.4em; margin: 60px 0 -10px; }
.wp-pagenavi a,
.wp-pagenavi span { display: inline-block; color: #333; line-height: 30px; vertical-align: top; letter-spacing: normal; text-decoration: none; text-align: center; min-width: 32px; height: 32px; margin: 0 10px 10px 0; padding: 0 10px; box-sizing: border-box; }
.wp-pagenavi a { border: 1px solid #CCC; border-radius: 2px; }
.wp-pagenavi a:hover { background: #F9F9F9; }
.wp-pagenavi span.current { background: #EEE; border: 1px solid #CCC; border-radius: 2px; }


/* 会員薬局（詳細）
------------------------------------------------------------*/

/* -- 写真ギャラリー -- */
#store .gallery { margin: -10px 0 60px; }
#store .gallery .main { position: relative; margin-top: 10px; overflow: hidden; }
#store .gallery .sub li {
	width: -webkit-calc(50% - 5px); width: calc(50% - 5px); margin: 10px 10px 0 0; float: left; cursor: pointer; border-width: 2px; border-style: solid; border-color: transparent; border-radius: 6px; box-sizing: border-box;
	-webkit-transition: 0.4s opacity ease, 0.4s border-color ease; -moz-transition: 0.4s opacity ease, 0.4s border-color ease; transition: 0.4s opacity ease, 0.4s border-color ease;
}
#store .gallery .sub li:nth-child(2n+2) { margin-right: 0; }
#store .gallery .sub li span { position: relative; display: block; padding: 66.66% 0 0; overflow: hidden; }
#store .gallery .sub li span img { position: absolute; top: 50%; left: 50%; width: 100%; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
#store .gallery .sub li:hover { opacity: 0.6; }
#store .gallery .sub li.current { border-color: #870C0B; }

/* -- 店舗情報 -- */
#store .infomation h2 { font-size: 24px; font-size: 2.4rem; font-weight: bold; color: #1F1F1F; line-height: 1.35; text-align: center; margin: 0 0 40px; }
#store .infomation table { table-layout: fixed; margin: 0 0 60px; }
#store .infomation table tbody tr { background: #F9F9F9; border-bottom: 1px dotted #CCC; }
#store .infomation table tbody tr:nth-of-type(even) { background: #FFF; }
#store .infomation table tbody tr th,
#store .infomation table tbody tr td { vertical-align: middle; padding: 10px 5px; }
#store .infomation table tbody tr th span { display: block; font-size: 14px; font-size: 1.4rem; color: #555; text-align: center; padding: 4px 5px; background: #DDD; border-radius: 4px; width: 5em; border: 1px solid #CFCFCF; }
#store .infomation .contact { margin: 0 0 -12px; }
#store .infomation .contact li { margin: 0 24px 5px 0; }

/* -- Gooleマップ -- */
#store .googlemap {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}
#store .googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* 会員薬局（一覧）
------------------------------------------------------------*/
#store-list li { border-bottom: 1px dotted #CCC; }
#store-list li a { position: relative; display: block; color: #333; text-decoration: none; padding: 20px 5px 20px 10px; box-shadow: inset 0 1px 0 #FFF; }
#store-list li:nth-child(odd) a { background: #F9F9F9; }
#store-list li a .thumbnail { margin: 0 0 12px; padding: 4px; background: #FFF; border: 1px solid #DDD; border-radius: 4px; width: 50%; }
#store-list li a .thumbnail span { position: relative; display: block; padding: 56.25% 0 0; overflow: hidden; }
#store-list li a .thumbnail span img { position: absolute; top: 50%; left: 50%; width: 100%; height: auto; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
#store-list li a h2 { font-size: 18px; font-size: 1.8rem; font-weight: bold; color: #9D1313; line-height: 1.35; margin: 0 0 12px; }
#store-list li a dl div { margin: 0 0 3px; }
#store-list li a dl div:last-of-type { margin: 0; }
#store-list li a dl div dt { font-size: 14px; font-size: 1.4rem; color: #555; line-height: 22px; text-align: center; width: 80px; height: 22px; float: left; background: #DDD; border-radius: 4px; border: 1px solid #CFCFCF; }
#store-list li a dl div dd { margin-left: 90px; }

/* -- ターム -- */
#terms { margin: 0 0 60px; }
#terms dl { margin-bottom: -30px; }
#terms dl div { width: -webkit-calc(50% - 10px); width: calc(50% - 10px); margin: 0 20px 10px 0; float: left; box-sizing: border-box; }
#terms dl div:nth-of-type(2n+2) { margin-right: 0; }
#terms dl div dt { font-size: 15px; font-size: 1.5rem; font-weight: bold; line-height: 1.35; text-align: center; margin: 0 0 10px; padding: 0 0 4px; box-shadow: 0 4px 5px -5px rgba(0,0,0,0.3); }
#terms dl div dd { margin: 0 10px; }
#terms dl div dd select { padding: 8px 15px 8px 8px; font-size: 14px; font-size: 1.4rem; }

/* -- 検索窓 -- */
#search-form { position: relative; }
#search-form button[type="submit"] {
	position: absolute; top: 0; right: 20px; bottom: 0; z-index: 1; display: block; text-indent: 100%; white-space: nowrap; cursor: pointer;
	width: 22px; height: 24px; margin: auto; padding: 0; overflow: hidden; background: url(../img/page/search.png) no-repeat; border: none;
	-webkit-transition: 0.4s opacity ease; -moz-transition: 0.4s opacity ease; transition: 0.4s opacity ease;
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
}
#search-form button[type="submit"]:hover { opacity: 0.6; }

/* -- パンくずリスト -- */
#store .search-title { font-size: 22px; font-size: 2.2rem; font-weight: bold; margin: 0 0 40px; padding: 0 40px 12px; box-shadow: 0 4px 5px -5px rgba(0,0,0,0.3); }


/* お薬Q&A
------------------------------------------------------------*/
#faq dl div { padding: 20px; border-bottom: 1px dashed #CCC; box-shadow: inset 0 1px 0 #FFF; }
#faq dl div:nth-of-type(odd) { background: #F9F9F9;}
#faq dl div dt,
#faq dl div dd { position: relative; padding-left: 30px; }
#faq dl div dt:before,
#faq dl div dd:before { position: absolute; top: 0; left: 0; font-size: 18px; font-size: 1.8rem; font-weight: bold; }
#faq dl div dt:after  {
	position: absolute; top: 0; right: 0; bottom: 0; content: ""; display: block; width: 13px; height: 13px; margin:  auto; border-width: 0 3px 3px 0; border-style: solid; border-color: #9D1313; box-sizing: border-box;
	-webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); transform: rotate(45deg);
	-webkit-transition: 0.4s transform ease; -moz-transition: 0.4s transform ease; transition: 0.4s transform ease;
}
#faq dl div dt.on:after  { -webkit-transform: rotate(-135deg); -moz-transform: rotate(-135deg); transform: rotate(-135deg); }
#faq dl div dt { font-size: 18px; font-size: 1.8rem; color: #9D1313; line-height: 1.35; cursor: pointer; padding-right: 20px; }
#faq dl div dd { display: none; margin: 12px 0 0; }
#faq dl div dt:before { content: "Q."; color: #9D1313; }
#faq dl div dd:before { content: "A."; color: #486684; }


/* お問い合わせ
------------------------------------------------------------*/
.form,
.form tbody,
.form tr,
.form tr th,
.form tr td { display: block; }
.form tr { margin: 0 0 40px; }
.form tr th { margin: 0 0 20px; }
.form tr th div { position: relative; font-weight: bold; }
.form tr th div span { display: inline-block; font-size: 11px; font-size: 1.1rem; font-weight: bold; color: #FFF; line-height: 20px; vertical-align: middle; text-align: center; width: 40px; height: 20px; margin-left: 10px; background: #870C0B; }
.form tr td > div { margin: 0 0 12px; }
.form tr td > div:last-of-type { margin: 0; }

/* -- 同意 -- */
.privacy p { margin: 0 0 12px; }
.privacy label { display: block; margin: 0; padding: 20px 20px 20px 52px; background: #FFDDDE; border: 2px solid #EF9A9C; }
.privacy label:before { left: 20px; }
.privacy label:after  { left: 26px; }
.privacy label.active { background: #FFF; border-color: #EEE; }


/* 記事詳細
------------------------------------------------------------*/
article header { padding: 0 0 24px; border-bottom: 1px solid #DDD; }
article header h1 { font-size: 28px; font-size: 2.8rem; font-weight: bold; line-height: 1.35; margin: 0 0 12px; }
article header time { font-size: 13px; font-size: 1.3rem; color: #999; margin: 0 0 6px; }
article header a { display: inline-block; font-size: 14px; font-size: 1.4rem; font-weight: bold; color: #FFF; line-height: 28px; text-decoration: none; text-align: center; min-width: 70px; height: 28px; padding: 0 12px; background: #AAA; border-radius: 4px; box-sizing: border-box; }

/* -- ページナビ -- */
.pagenav ul li { margin: 30px 15px 0; }
.pagenav ul li a { position: relative; display: block; font-size: 14px; font-size: 1.4rem; font-weight: bold; color: #FFF; text-decoration: none; text-align: center; text-shadow: 0 1px 0 #222; padding: 12px 20px; border-radius: 6px; }
.pagenav ul li a:before,
.pagenav ul li a:after  { position: absolute; top: 0; bottom: 0; content: ""; display: block; margin: auto; }
.pagenav ul li a:before { width: 16px; height: 16px; background: #FFF; border-radius: 50%; }
.pagenav ul li a:after  { width: 0; height: 0; border-style: solid; border-color: transparent; }
.pagenav ul li.prev a { padding-left: 36px; background: #666; }
.pagenav ul li.prev a:before { left: 10px; }
.pagenav ul li.prev a:after  { left: 15px; border-width: 3px 4px 3px 0; border-right-color: #666; }
.pagenav ul li.next a { padding-right: 36px; background: #870C0B; }
.pagenav ul li.next a:before { right: 10px; }
.pagenav ul li.next a:after  { right: 15px; border-width: 3px 0 3px 4px; border-left-color: #870C0B; }


/* 記事一覧
------------------------------------------------------------*/
#archive li { border-bottom: 1px dotted #CCC; }
#archive li a { display: block; color: #333; text-decoration: none; padding: 20px; box-shadow: inset 0 1px 0 #FFF; zoom: 1; }
#archive li:nth-child(odd) a { background: #F9F9F9; }
#archive li a:after { content: ""; display: table; clear: both; }
#archive li a .thumbnail { width: 60px; height: 60px; float: left; }
#archive li a .box { margin: 0 0 0 80px; }
#archive li a .box span { display: block; }
#archive li a .box span.time  { font-size: 13px; font-size: 1.3rem; color: #999; margin: 0 0 6px; }
#archive li a .box span.title { font-size: 18px; font-size: 1.8rem; font-weight: bold; color: #9D1313; line-height: 1.35; }

/* -- ユーザー情報 -- */
.user { margin: -60px 0 60px; padding: 20px 0; background: #F6F6F6; }
.user .avatar { width: 60px; height: 60px; float: left; }
.user .avatar img { padding: 3px; background: #FFF; border: 1px solid #DDD; box-sizing: border-box; }
.user .name { font-size: 14px; font-size: 1.4rem; margin-left: 80px; }
.user .name p { margin: 0 0 12px; }
.user .name p:last-of-type { margin: 0; }
.user .name p a { font-weight: bold; color: #333; text-align: center; text-decoration: none; padding: 6px 12px; background: #DDD; border-radius: 30px; }


/* 地域薬局：検索画面
------------------------------------------------------------*/
.drugstore-search {
    display: flex;
	justify-content: space-between;
	flex-direction: column;
	gap: 40px;
	
	@media screen and (min-width: 980px) {
		flex-direction: row;
	}
}
.drugstore-search__form {
	@media screen and (min-width: 980px) {
		flex-shrink: 0;
		flex-basis: 20%;
		min-width: 250px;
		max-width: 320px;
	}
}
.search-section {
	margin-bottom: 40px;

	h3 {
		font-weight: bold;
		text-align: center;
		margin-bottom: 20px;
		padding: 10px;
		border-width: 1px 0;
		border-style: solid;
	}
}
.search-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
	
	.form-group {
		width: 100%;
		
		label {
			font-size: 12px;
			font-weight: bold;
			margin-bottom: 10px;
		}
		select {
			line-height: 20px;
			height: 40px;
			padding-top: 10px;
			padding-bottom: 10px;
		}
	}
}
.time-search-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 5px;
	
	select {
		line-height: 20px;
		width: auto;
		height: 40px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	p {
		font-size: 12px;
		margin: 0;
	}
}
.drugstore-search__result {
	@media screen and (min-width: 980px) {
		flex-shrink: 1;
		flex-grow: 1;
		flex-basis: 80%;
	}
}
.search-header {
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    padding-bottom: 10px;
	
	h1 {
		font-size: clamp( 20px, calc( 20px + 12 * ( ( 100dvw - 375px ) / 1545 ) ), 32px );
		font-weight: bold;
	}
}
.search-count {
	strong {
		font-size: 1.5em;
		color: #870c0b;
	}
}
.drugstore-card {
	a {
		display: block;
		color: inherit;
		text-decoration: none;
		padding: 20px;
		margin-bottom: 20px;
		background: #fff;
		border: 1px solid #ddd;
		border-radius: 8px;
		box-shadow: 0 2px 5px rgba(0,0,0,0.05);
		transition: 0.2s ease;

		&:hover {
			transform: translateY(-2px);
			box-shadow: 0 5px 15px rgba(0,0,0,0.1);
		}
	}
}
.drugstore-name {
    font-weight: bold;
	margin-bottom: 1.0em;
}
.drugstore-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}
.drugstore-info {
	flex: 1;
	font-size: 0.875em;
	line-height: 1.6;
	min-width: 250px;
	
	p {
		margin: 1.0em 0;
		
		&:first-child {
			margin-top: 0;
		}
		&:last-child {
			margin-bottom: 0;
		}
	}
	.tel {
		line-height: 1.0;
		
		span {
			font-size: 1.25em;
			font-weight: bold;
		}
	}
}
.searched-hours {
    font-weight: bold;
    color: #0073aa;
}
.day-badge {
    background: #0073aa;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
}
.drugstore-tags {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
	
	.tag {
		background: #fff;
		padding: 4px 10px;
		border-radius: 20px;
		font-size: 12px;
		border: 1px solid #ddd;
	}
}
.drugstore-footer {
    text-align: right;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}
.button-detail {
    display: inline-block;
    background: #9D1313;
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
	transition: 0.2s background ease;
	
	&:hover {
		background: #5e0808;
	}
}


/* 地域薬局：詳細
------------------------------------------------------------*/
.drugstore-detail {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: clamp( 20px, 5dvw, 40px );
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.drugstore-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 40px;
}
.drugstore-title {
    font-size: clamp( 20px, calc( 20px + 12 * ( ( 100dvw - 375px ) / 1545 ) ), 32px );
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.4;
}
.drugstore-header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
	flex-direction: column;
    gap: 20px;
	
	@media screen and (min-width: 768px) {
		flex-direction: row;
	}
}
.drugstore-address-box {
    flex: 1;
    min-width: 280px;
}
.zip-code {
    font-size: 12px;
    margin-bottom: 5px;
}
.address-text {
    font-size: 14px;
    margin-bottom: 15px;
}
.btn-map {
    display: flex;
	justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: inherit;
    text-decoration: none;
	width: fit-content;
    padding: 10px 14px;
	background: #f0f0f1;
	border: 1px solid #ccc;
    border-radius: 4px;
    transition: 0.2s ease;
	
	&:hover {
		background: #e0e0e1;
	}
}
.drugstore-contact-box {
    text-align: right;
	margin-left: auto;
}
.tel-link {
    display: flex;
	align-items: center;
	gap: 8px;
    color: inherit;
    text-decoration: none;
	min-width: inherit;
	height: auto;
	padding: 0;
	background: transparent;
	border-radius: 0;
	
	.label {
		font-size: 12px;
		font-weight: bold;
		color: #fff;
		padding: 2px 6px;
		background: #333;
		border-radius: 2px;
	}
	.number {
		font-size: 1.8em;
		font-weight: bold;
		line-height: 1.0;
		letter-spacing: 0.04em;
	}
}
.fax-text {
    margin-top: 5px;
}
.drugstore-section {
    margin-bottom: 40px;
	
	.section-title {
		font-size: 1.125em;
		font-weight: bold;
		margin-bottom: 20px;
		padding-left: 15px;
		border-left: 5px solid #870c0b;
	}
	
	&:last-child {
		margin-bottom: 0;
	}
}
.hours-table-wrap {
    overflow-x: auto;
}
.hours-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    table-layout: fixed;
    min-width: 600px;
}
.hours-table th,
.hours-table td {
    padding: 12px 5px;
    text-align: center;
    border: 1px solid #ddd;
}
.hours-table th {
    background: #f9f9f9;
    font-weight: bold;
    font-size: 12px;
	
	&.day-sunday,
	&.day-holiday {
		color: #d63638;
    	background: #fff5f5;
	}
	&.day-saturday {
		color: #0073aa;
    	background: #f0f8ff;
	}
}
.hours-table td {
    font-size: 12px;
	
	&.is-open {
		background: #fff;
	}
	&.is-closed {
		color: #bbb;
		background: #fdfdfd;
	}
}
.time-sep {
	font-size: 12px;
    color: #999;
    margin: 0 2px;
}
.note-text {
    font-size: 0.875em;
    color: #999;
	width: fit-content;
	margin-top: 10px;
	margin-left: auto;
}
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
	
	.service-item {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 12px;
		padding: 10px 15px;
		background: #fff;
		border: 1px solid #ddd;
		border-radius: 6px;
		
		.check-icon {
			font-weight: bold;
			color: #870c0b;
		}
	}
}
.detail-dl {
    display: table;
    width: 100%;
    border-top: 1px solid #eee;
	
	.detail-row {
		display: table-row;
		border-bottom: 1px solid #eee;
	}
	dt,
	dd {
		display: table-cell;
		font-size: 14px;
		padding: 15px;
		vertical-align: middle;
		border-bottom: 1px solid #eee;
	}
	dt {
		font-weight: bold;
		width: 30%;
		background: #fafafa;
	}
	dd {
		width: 70%;
	}
}
.btn-back-area {
    margin-top: 40px;
    text-align: center;
}
.btn-back {
    display: flex;
	justify-content: center;
	align-items: center;
	color: #333;
    text-decoration: none;
	width: fit-content;
	max-width: 100%;
	margin: auto;
    padding: 12px 40px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 30px;
    transition: 0.3s ease;
	
	&:hover {
		background: #f5f5f5;
    	transform: translateY(-2px);
	}
}
