/**
 * Media Screen max-width:599px CSS
 * 2023Apri03
 * Ishinomaki Pref. Pharmaceutical Association
**/

/* 改行
spanにclassつけると囲んだ箇所が改行
-----------------------------------------*/
.br-mob:before {
	content:"\A";
	white-space:pre;
}

/*Gallery
-------------------------------------------*/
.gallery {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}
.gallery li {
	width: 50%;
}
		.gallery li img {
			width:95%;
		}

	.gallery li p.gallery-caption {
		font-size:80%;
	}

/*WordPress記事中画像配置位置指定
------------------------------------------*/
.aligncenter {
	margin: 1em auto;
}
.alignright {
	margin: 1em 0px 1em 1.5em;
}
.alignleft {
	margin: 0 1.5em 1em 0;
}

/* text
-----------------------------------------*/
.big { font-size:120%; }
.regular { font-size:90%; }
.small { font-size:70%; }
.vsmall { font-size:50%; }

/*-----------------------------------------
    ボタン
-----------------------------------------*/
/* 上へ戻るボタン
-----------------------------------------*/
#page-top {
	bottom: 20px;
	right: 20px;
	font-size: 77%;
}
#page-top a {
	width: 50px;
	padding: 30px 0;
	border-radius: 5px;
}

/* ログアウトボタン
-----------------------------------------*/
.logout-btn  {
	display: block;
	width:95%;
	height:3em;
	padding:0.5em;
	margin: 0.5em 2.5%;
}
	.logout-btn:hover {
		padding:0.5em;
	}

/* ダウンロードボタン
-----------------------------------------*/
.fs-btn {
	width:100%;
	padding:0.5em;
	margin:0 0 1em 0;
	font-size:150%;
	border-radius:0.5em;
}
	.fs-btn:hover {
		padding:0.5em;
	}

/* ボタン//3カラム
-----------------------------------------*/
.ishiyaku-btn {
	width:99%;
	height:3em;
	padding:1em;
	margin:0 1% 1em 0;
	font-size:150%;
	border-radius:0.5em;
}
.teikan-btn,
.chart-btn {
	width:48%;
	height:3em;
	padding:1em;
	margin:0 1% 1em 0;
	font-size:150%;
	border-radius:0.5em;
}

/* indexにあるボタン
------------------------------------------------------*/
	.direction-pdf {
		width:100%;
		padding: 0.5em;
		margin: 0 0 0 0;
		font-size:100%;
		border-radius:6px;
	}
	.direction-r {
		width:100%;
		padding:1em 0.5em;
		margin:1em 0;
		font-size:100%;
		border-radius:6px;
	}
	.direction {
		width:100%;
		padding:1em 0.5em;
		margin:1em 0;
		font-size:100%;
		border-radius:6px;
	}
	.btn-search,
	.btn-searchx2 {
		width:100%;
		height:80px;
		padding:1em;
		margin:0.5em 0 1em 0;
		border-radius:6px;
		font-size:120%;
		line-height:40px;
	}
	.btn-searchx2 br { display: none; }

.support-area {
	justify-content: space-between;
	width:100%;
	margin-bottom: 1em;
}
	.btn-fusen {
		width:100%;
		padding:1em;
		margin:0 10px 10px 0;
	}

	div.btn-fusen br {
		display:none;
	}
	.btn-enrollment {
		width:100%;
		padding:1em;
		font-size:150%;
		margin:0 0 1em 0;
	}

/*-----------------------------------------
    Main frame
-----------------------------------------*/
/* header//index
-----------------------------------------*/
header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

header .logo-area {
	width:100%;
}
	header .logo-area img {
		height:80px;
	}
header .header-image {
	margin:0 auto;
}
		header .header-image img {
			margin:0 auto;
		}

	.subheader-image {
		position:relative;
		width:100%;
		height:150px;
	}
		.subheader-image h1 {
			position:absolute;
			top:40%;
			left:5%;
			font-weight:bolder;
		}
	.subheader-image-pc {
		position:relative;
		width:100%;
		height:200px;
	}
		.subheader-image-pc h1 {
			position:absolute;
			top:30%;
			left:5%;
			font-weight:bolder;
		}

/*-----------------------------------------
	画面いっぱいコンテンツ
-----------------------------------------*/
div#container {
	width:100%;
	min-height:100%;
}
nav {
	position:relative;
}

/* navigation//index
-----------------------------------------*/
.main-nav {
	margin:0;
	padding:0;
}
.main-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin:0;
}
	.main-nav ul li {
		display: inline-block;
		width:40%;
		margin:0;
		padding: 0.5em 0.8em;
		line-height:1.5;
	}
		.main-nav ul li:hover {
			line-height:1.5;
			padding:1em;
			background:#caebf2;
		}
		.main-nav ul li:nth-child(1) {
			width: 4.5em;
		}
		.main-nav ul li:nth-child(4) {
			width: 45%;
		}
	.main-nav ul li br { display:none; }

/*-----------------------------------------
footer
-----------------------------------------*/
.foot-bn-area {
	height:auto;
	padding:1em 0;
}
	.foot-bn-area ul {
		flex-direction: column;
		list-style:none;
	}
		.foot-bn-area ul li {
			width:168px;
			height:54px;
			margin:0 auto 1em auto;
		}
		.foot-bn-area ul li:last-child {
			margin:0 auto;
		}
footer {
	background:#e2eaec;
	padding-bottom:1em;
}
	.foot-frame {
		flex-direction: column;
		height:100%;
		margin:0 auto;
		padding:1em;
	}
	.foot-box {
		margin-top:1em;
		padding-top:1em;
		border-top:1pt solid #ccc;
	}
		.foot-box img {
			margin-bottom:-1em;
		}
	nav.foot-nav ul {
		list-style:none;
		margin:0;
		padding:0;
	}
	nav.foot-nav ul li {
		display:inline-block;
		margin:0.3em 0;
		padding:0.3em;
	}
		nav.foot-nav ul li a,
		nav.foot-nav ul li a:link,
		nav.foot-nav ul li a:visited,
		nav.foot-nav ul li a:active {
			text-decoration:none;
			color:#000;
		}
		nav.foot-nav ul li a:hover {
			padding:0.3em;
			background:#9eb4b9;
		}
	nav.foot-nav ul li br { display:none; }
	.inq-btn {
		width:50%;
		padding:0 0.5em;
		margin:1em 0 1em 50%;
	}
/* contents
主にindex
-----------------------------------------*/
/*Contents-harfをflexで並べるための枠*/
.Contents-wrap {
	width:95%;
	margin:1em auto 0 auto;
	padding-bottom:1em;
}
.Contents {
	position:relative;
	margin-bottom:1em;
}
	.Contents-harf {
		margin:0 0 0 0;
		padding:0;
	}
	.Contents-harf:last-child {
		margin:0 0 0 0;
	}
    .grid-3 {
        margin-bottom: 1.5em;
    }
	.Attention {
		position:relative;
		height:auto;
		margin-bottom:15px;
		background:#fff;
	}
	.Attention:last-child {
		margin-bottom:0;
	}
		.Notice ul {
			margin:1em;
		}
		.Notice ul li {
			margin:0.5em 0;
			padding:0.5em;
			line-height:1.5;
		}
	.Notice h2,
	.Attention h2 {
		width:100%;
		font-size:120%;
		padding:0.5em;
	}
	.Notice div.text,
	.Attention div.text {
		margin:1em;
	}
.stock-btn {
	width: 100%;
}
.stock-btn span {
	font-size: 80%;
}
.ss-btn {
	width:100%;
	padding:0.5em;
	margin:0.5em 0;
	border-radius:6px;
}

/*休日当番薬局
------------------------------------------------------*/
dl.duty {
	width:100%;
	height:auto;
	margin:1em auto;
}
	dl.duty dt {
		line-height:1.5;
		padding:0.5em;
		margin-bottom:0;
	}
	dl.duty dd.ph-name {
		width:100%;
		line-height:1.3;
		padding:0.5em 0 0.5em 0;
		font-size:110%;
	}
	dl.duty dd.tel-no {
		line-height:2.0;
		padding:0.5em;
	}

/*//////////////////////////////////////////
	subページstyle
//////////////////////////////////////////*/
/* header//sub
-----------------------------------------*/
header.sub {
	border:none;
}
	header.sub .logo-area {
		border-bottom:2px solid #caebf2;
	}

/* navigation//sub
-----------------------------------------*/
.sub-nav-area nav.sub-nav  {
	display:none;
}
	nav.sub-nav ul {
		display:none;
	}
		nav.sub-nav ul li {
			display:none;
		}
			nav.sub-nav ul li a,
			nav.sub-nav ul li a:link,
			nav.sub-nav ul li a:visited,
			nav.sub-nav ul li a:hover,
			nav.sub-nav ul li a:active {
				display:none;
			}
/* breadcrumb//sub
-----------------------------------------*/
.breadcrumb {
	width:100%;
}
		.breadcrumb ol li {
			padding-left:1em;
		}
		.breadcrumb ol li::after {
			margin:1em;
		}
		.breadcrumb ol li:last-of-type::after {
			display: none;
		}

/* contents//sub
-----------------------------------------*/
.Contents-wrap-sub {
	width:95%;
	margin:16px auto 0 auto;
}
	.Contents-wrap-sub h2.subheading {
		width:100%;
		font-size:120%;
		padding:0.5em;
	}
.Contents-sub {
	margin:0;
	padding:1em 0;
}
	.text-box {
		width:90%;
		height:100%;
		padding:1em;
		margin:0 auto 2em auto;
	}
	.text-box::after {
		bottom: 15px;
		right: 10px;
		left: auto;
		width: 50%;
		top: 80%;
		max-width:300px;
	}
	.date-box {
		width:100%;
		padding:0.2em;
	}
	.text-box article {
		width:100%;
		padding:2em 1em;
	}
	.ss-txt {
		width:100%;
		padding:2em 1em;
	}
	.ss-txt p {
		text-indent: 1em;
	}
		.ss-txt .name-h {
			width:100%;
		}

/* フローチャート//sub
-----------------------------------------*/
.chart {
	display:flex;
	flex-flow: row;
	align-items: center;
	justify-content: center;

	margin:1em;
	padding:1em;
	background:#999;
}
	.chart li {
		flex:1;
		text-align:center;
		margin-right:1em;
		background:#ccc;
	}
	.chart li:last-child {
		margin-right:0;
	}

/* Heading//sub
--------------------------------------------*/
	.Contents-wrap-sub h3 {
		width:100%;
		font-size:110%;
		margin:0 1em 1em 0;
		padding:0.5em 1em 0.5em 3em;
	}
	.Contents-wrap-sub h3:before {
		top:0;
		left:0;
		width:40px;
		height:40px;
	}
	.Contents-wrap-sub h3::after{
		top:0;
		left:0;
		width:40px;
		height:40px;
	}

/* pager//single
-----------------------------------------*/
.Back-Next {
	width:100%;
	height:115px;
	padding:1em;
	margin:1em 0;

	flex-direction: column;
}
	.Back-Next li {
		margin: 0.5em 0;
	}

/* pager//archive
-----------------------------------------*/
.pagination{
	padding: 0;
	margin: 2em 0;
  }
	  .pagination .page-numbers {
		padding: 0.5em 1em;
		margin: 0;
	  }

/* category-ishiyaku-dayori
石薬だよりアーカイブ
-----------------------------------------*/
/*年別*/
ul.archive-list {
	width:95%;
	margin:1em;
}
	ul.archive-list li {
		height:3em;
		line-height: 3em;
	}
/*直近5件*/
ul.archive-list-new {
	width:95%;
	margin: 1em auto;
}
	ul.archive-list-new li {
		height:3em;
		line-height: 3em;
		padding: 0 1em;
	}

/* 入会案内//sub
-----------------------------------------*/
.enrollment-box {
	width:90%;
	margin:1em auto;
}
	.enrollment-box th {
		padding:0.5em;
	}
	.enrollment-box td {
		padding:0.5em;
	}
	.enrollment-box td.price {
		padding:0.5em;
	}
.enrollment-list {
	width:90%;
	margin:1em auto;
}

/* 地区毎保険薬局一覧 taxonomy
-----------------------------------------*/
.member-list {
	width:100%;
	margin:1em auto;
	padding:0;
}
/*カラム落ちさせる-----------------------------*/
	.member-list tr {
		display:block;
		width:100%;
	}
		.member-list tr th{
			display:block;
			width:100%;
		}
			.member-list tr th br {
				display:none;
			}
		.member-list tr td{
			display:block;
			width:100%;
		}
/*-----------------------------カラム落ちさせる*/
	.member-list tr th {
		padding:1em;
		line-height:1em;
		text-align:left;
	}
	.member-list tr td {
		padding:1em;
		line-height:1em;
	}
	.member-list tr:first-child {
		border-top:1pt dotted #ccc;
	}
	.member-list tr th {
		background:#f2f8f9;
	}
	.member-list tr td.title-td {
		background:#caebf2;
		font-weight:bold;
	}

/* 石巻薬剤師会について（about）
-----------------------------------------*/
.page-txt {
	width:100%;
	padding:0em 1em;
	line-height:1.7;
}
	.page-txt p{
		text-indent: 1em;
	}
	.page-txt div.name-h {
		width:100%;
		margin-bottom:1em;
	}
	.page-heading {
		width:100%;
		margin:1em 0;
		padding:0.5em 0;
		line-height:1.3;
		font-size:135%;
	}
	.page-heading02 {
		width:100%;
		margin:1em 0 0.5em;
		padding:0 0 0 0.5em;
		line-height:1.3;
		font-size:115%;
	}

/* 募集要項（job-offer）
-----------------------------------------*/
.job-offer-heading {
		width:100%;
		margin:1em 0 0.5em;
		padding:0.5em 0;
		line-height:1.3;
		font-size:125%;
}
.job-offer {
	width:100%;
	margin:1em auto;
	padding:0;
}
.job-offer p {
	text-indent: 0;
	text-align: left;
	text-justify: auto;
}
	.job-offer tr th {
		width:2em;
		padding:0.5em;
	}
	.job-offer tr td {
		padding:1em;
	}

/* かかりつけ薬剤師（primary-care）
-----------------------------------------*/
.pc-heading {
	width:105%;
	padding:0 0.5em;
	font-size:130%;
	line-height:1.5;
	border-radius:3em;
}
.pc-heading02 {
	width:100%;
	padding:0.1em;
	font-size:130%;
	border-radius:3em;
}
	.pc-frame {
		width:95%;
		height:100%;
		margin:1em;
	}
	.pc-frame p {
		text-indent: 0;
	}
		.pc-box-decide {
			width:100%;
			padding:1em 0.3em;
			margin:1em 0;
			border-radius:10px;
		}
			h6.pc-box-heading-decide {
				font-size:150%;
			}
		.pc-box-lookfor {
			width:100%;
			padding:1em 0.3em;
			margin:1em 0;
			border-radius:10px;
		}
			h6.pc-box-heading-lookfor {
				font-size:150%;
			}
		.pc-box-utilize {
			width:100%;
			padding:1em 0.3em;
			margin:1em 0;
			border-radius:10px;
		}
			h6.pc-box-heading-utilize {
				font-size:150%;
			}
		.pc-subheading {
			line-height:1.5;
		}
.pc-list {
	width:100%;
	margin:1em auto;
	padding:1em;
	border-radius:10px;
}
	.pc-list li {
		width:95%;
		margin:0.3em 1.5% 0.3em 3.5%;
	}
.pc-mission-heading {
	width:100%;
	padding:0.1em;
	border-radius:3em;
	font-size:130%;
}
.pc-mission-discription {
	width:100%;
	font-size:90%;
}
/* 会営薬局紹介（intoroduction）
-----------------------------------------*/
.intoroduction-schedule-frame {
	width:100%;
	height:100%;
	margin:1em auto;
	padding:1em;
}
	.intoroduction-schedule-frame p {
		text-indent: 0;
	}
	.intoroduction-schedule-heading {
		width:100%;
		height:100%;
		margin:0.5em 0;
	}
	.cube-txt {
		font-size:150%;
		padding:0.3em 0.3em 0.3em 0.3em;
		margin:0.1em 0.1em 0.5em 0.1em;
		line-height:2.3;
	}
	.intoroduction-schedule-title {
		width:100%;
		font-size:150%;
		padding:0.5em;
		margin:0;
	}
	table.intoroduction-schedule-list {
		width:100%;
		margin:0 auto 1em auto;
	}
		table.intoroduction-schedule-list tr th,
		table.intoroduction-schedule-list tr td {
			padding:0.5em;
		}
	.intoroduction-schedule-pinkbox {
		width:100%;
		padding:1em;
		margin:0;
		text-indent: 1em;
	}

/* GoogleMaps
-------------------------------------------*/
.map-frame {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
}
.map-frame iframe,
.map-frame object,
.map-frame embed {
	top: 0;
	left: 0;
	width: 95%;
	height: 95%;
}
/* お問合せ（inquiry）
-----------------------------------------*/
.mw_wp_form dl {
	width: 100%;
}
.swpm-rember-label {
	width:90%;
	height:2em;
}
input[type="text"],
input[type="password"],
input[type="email"] {
	border:0;
	padding:10px;
	font-size:130%;
	margin:0 0 20px;
}
input[type="submit"] {
	padding:15px 30px;
	margin:0 0 20px;
	font-size:120%;
}
	input[type="submit"]:hover {
		padding:15px 30px;
		margin:0 0 20px;
		font-size:120%;
	}