@charset "utf-8";
/**
 * Media Screen min-width:600px-max-width:959px CSS
 * 2023apr03
 * Ishinomaki Pref. Pharmaceutical Association
**/

/* 改行//　spanにclassつけると囲んだ箇所が改行
スマホ用なので通常は非表示
-----------------------------------------*/
.br-mob:before {
	display:none;
}

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

/* 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  {
	width:100%;
	height:4em;
	padding:1em;
}
	.logout-btn:hover {
		padding:1em;
	}

/* ダウンロードボタン
-----------------------------------------*/
.fs-btn br { display:none; }
.fs-btn {
	width:100%;
	height:3em;
	padding:1em;
	font-size:180%;
	border-radius:0.5em;
}
	.fs-btn:hover {
		padding:1em;
	}

/* ボタン//3カラム
-----------------------------------------*/
.ishiyaku-btn {
    grid-column: 1 / 3;
    grid-row: 4 / 4;
}
.ishiyaku-btn br { display:none; }
.ishiyaku-btn {
	width:99%;
	height:3em;
	padding:1em;
	margin:0 1% 0 0;
	font-size:180%;
	border-radius:0.5em;
}
	.ishiyaku-btn:hover {
		padding:1em;
	}
.teikan-btn {
    grid-column: 3 / 5;
    grid-row: 4 / 4;
}
.teikan-btn br { display:none; }
.teikan-btn {
	width:99%;
	height:3em;
	padding:1em;
	margin:0 0.5%;
	font-size:180%;
	border-radius:0.5em;
}
	.teikan-btn:hover {
		padding:1em;
	}

.chart-btn br { display:none; }
.chart-btn {
	width:99%;
	height:3em;
	padding:1em;
	margin:0 0 0 1%;
	font-size:180%;
	border-radius:0.5em;
}
.chart-btn:hover {
	padding:1em;
}

/* indexにあるボタン
-----------------------------------------*/
.button-frame {
	/* display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 1em; */
	text-align:right;
}
	.direction-pdf {
		width:48%;
		padding:1em 0.5em;
		margin:1em 0 1em 0;
		font-size:100%;
		border-radius:6px;
	}
	.direction-r {
		width:48%;
		padding:1em 0.5em;
		margin:1em 1em 1em 0;
		font-size:100%;
		border-radius:6px;
	}
	.direction {
		width:50%;
		padding:1em 0.5em;
		margin:1em 1em 1em 50%;
		font-size:100%;
		border-radius:6px;
	}
	.btn-search {
		grid-column: 1 / 2;
		grid-row: 1 / 1;
	}
	.btn-searchx2 {
		grid-column: 2 / 3;
		grid-row: 1 / 1;
	}
	.btn-search,
	.btn-searchx2 {
		width:100%;
		height:80px;
		padding:1em;
		margin:0;
		border-radius:6px;
		font-size:120%;
		line-height:40px;
	}
		.btn-searchx2 br { display:none; }

.support-area {
	grid-column: 2 / 3;
    grid-row: 2 / 2;
	width:100%;
}
	.btn-fusen {
		flex:auto;

		width:47.8%;
		padding:1em;
		margin:0 10px 10px 0;
		background:#ededed;
		border-left:2px solid #caebf2;
	}
	.btn-fusen br {
		display:none;
	}
	.btn-enrollment {
		width:100%;
		padding:1em;
		font-size:150%;
		margin:0 0 1em 0;
	}
	.inq-btn {
		width:50%;
		padding:0 0.5em;
		margin:1em 0 1em 50%;
	}

/*-----------------------------------------
	Main frame
-----------------------------------------*/
/* header//index
-----------------------------------------*/
header {
	height:498px;
	margin-bottom:5px;
}
.logo-area {
	position:static;
}
	.logo-area img {
		width:auto;
		height:100px;
	}
	.header-image {
		position:static;
		border-bottom:6em solid #caebf2;
	}
		.header-image img {
			width:auto;
			/* height:310px; */
		}
		.subheader-image h1 {
			top:40%;
			left:5%;
		}
	.subheader-image-pc {
		width:100%;
		height:300px;
		background-color:#fff;
		background-repeat:no-repeat;
		background-size:contain;
	}
		.subheader-image-pc h1 {
			display:none;
		}

/* navigation//index
-----------------------------------------*/
.main-nav ul {
	display:flex;
	flex-flow: row;
	align-items: center;
	justify-content: space-between;

	width:95%;
	height:80px;
	list-style:none;
	margin: 0 2.5%;
}
	.main-nav ul li {
		padding: 0 1em;
	}
		.main-nav ul li:hover {
			height:80px;
			line-height:1.5;
			padding:1em 0 0 0;
		}

/* footer
-----------------------------------------*/
.foot-bn-area {
	height:100px;
	padding:20px 0;
	background:#9eb4b9;
}
	.foot-bn-area ul {
		height:60px;
	}
		.foot-bn-area ul li {
			width:168px;
			margin-left:15px;
		}
footer {
	padding-bottom:1em;
}
	.foot-frame {
		height:100%;
		margin:0 auto;
		padding:1em;
	}
		.foot-box img {
			margin-bottom:-1em;
		}
	.foot-nav {
		width:50%;
	}
	.foot-nav:nth-child(2) {
		width:50%;
		float:left;
	}
	.foot-nav ul li {
		margin:0.3em 0;
		padding:0.3em;
	}
	.foot-nav ul li br { display:none; }

/* contents
主にindex
-----------------------------------------*/
/*Contents-harfをflexで並べるための枠*/
.Contents-wrap {
	width:95%;
	margin:1em 2.5% 0 2.5%;
	padding-bottom:50px;
}
.Contents {
	margin-bottom:15px;
}
	.Contents-harf {
		margin:0 0 0 0;
		padding:0;
	}
	.Contents-harf:last-child {
		margin:0 0 0 0;
	}
	.Attention {
		grid-column: 1 / 2;
		grid-row: 2 / 2;
		margin-bottom:15px;
	}
	.Attention:last-child {
		margin-bottom:0;
	}
	.Notice {
		margin-bottom: 3em;
	}
		.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 .text,
	.Attention .text {
		margin:1em;
	}
    .grid-3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: min-content max-content;
        grid-row-gap: 1em;
        grid-column-gap: 1em;
        justify-content: center;
        margin-bottom: 1.5em;
    }
	.grid-bottom {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: max-content;
		grid-column-gap: 1em;
		grid-row-gap: 1em;
	}

/* 休日当番薬局
------------------------------------------------------*/
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:40%;
		line-height:1.3;
		padding:0.5em 0 0.5em 2em;
		font-size:110%;
	}
	dl.duty dd.tel-no {
		line-height:1.5;
		padding:0.5em;
	}

/*//////////////////////////////////////////
	subページstyle
//////////////////////////////////////////*/
/* header//sub
-----------------------------------------*/
.sub {
	width:100%;
	height:200px;
}
	.sub .logo-area {
		width:100%;
		height:100px;
	}

/* navigation//sub
-----------------------------------------*/
.sub-nav-area .sub-nav  {
	width:95%;
	margin: 0 auto;
	padding: 1em 0;
	border-top:3pt solid #caebf2;
	border-bottom:3pt solid #caebf2;
}
	.sub-nav ul {
		width:98%;
		height:50px;
		list-style:none;
		margin:0 auto 0 auto;

		display:flex;
		flex-flow: row;
		align-items: center;
		justify-content: space-between;
		}
		.sub-nav ul li {
			text-align:center;
			margin:0;
			line-height:1.5;
			padding:0 0.2em;
		}
			.sub-nav ul li:hover {
				line-height:1.5;
			}

/* breadcrumb//sub
-----------------------------------------*/
.breadcrumb {
	width:100%;
	height:50px;
}
	.breadcrumb ol {
		list-style:none;
		display:flex;
		flex-flow: row;
		align-items: center;
		justify-content: flex-start;
	}
		.breadcrumb ol li {
			height:50px;
			line-height:50px;
			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:1em auto 0 auto;
}
	.Contents-wrap-sub h2.subheading {
		width:95%;
		font-size:120%;
		padding:0.5em;
	}

/* Heading//sub
--------------------------------------------*/
	.Contents-wrap-sub h3 {
		width:100%;
		font-size:110%;
		margin:0 1em 0 0;
		padding:0.2em 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;
	}
/*--------------------------------------------*/
.Contents-sub {
	margin:1em 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%;
		}

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

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


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

	margin:1em;
	padding:1em;
}
	ol.chart li {
		flex:1;
		text-align:center;
		margin-right:1em;
	background:#ccc;
	}
	ol.chart li:last-child {
		margin-right: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 th {
		padding:1em;
		line-height:1em;
		width:15%;
	}
	.member-list tr td {
		width:35%;
		padding:1em;
		line-height:1em;
	}
	.member-list-cat {
		width:100%;
		margin:1em auto;
		padding:0;
	}
		.member-list-cat tr th {
			padding:1em;
			line-height:1em;
		}
		.member-list-cat tr td {
			padding:1em;
			line-height:1em;
		}

/* 固定ページ
石巻薬剤師会について（about）
-----------------------------------------*/
.page-txt {
	width:100%;
	padding:0em 1em;
	line-height:1.7;
}
	.page-txt p {
		text-indent: 1em;
	}
	.page-txt .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:125%;
	}

/* 固定ページ
募集要項（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;
}
.job-offer tr th {
    padding:1em;
}
.job-offer tr td {
    padding:1em;
}

/* かかりつけ薬剤師（primary-care）
-----------------------------------------*/
.pc-heading {
	width:100%;
	padding:0.1em;
	font-size:130%;
	border-radius:3em;
}
.pc-heading02 {
	width:100%;
	padding:0.1em;
	font-size:130%;
	border-radius:3em;
}
	.pc-frame {
		width:98%;
		height:100%;
		margin:1em;
	}
	.pc-frame p {
		text-indent: 0;
	}
		.pc-box-decide {
			width:33%;
			padding:0.5em;
			border-radius:10px;
		}
			h6.pc-box-heading-decide {
				font-size:150%;
			}
		.pc-box-lookfor {
			width:33%;
			padding:0.5em;
			border-radius:10px;
		}
			h6.pc-box-heading-lookfor {
				font-size:150%;
			}
		.pc-box-utilize {
			width:33%;
			padding:0.5em;
			border-radius:10px;
		}
			h6.pc-box-heading-utilize {
				font-size:150%;
			}
		.pc-subheading {
			line-height:1.5;
		}
.pc-list {
	width:95%;
	margin:1em auto;
	padding:0.5em;
	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:95%;
	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;
	}
	.intoroduction-schedule-title {
		width:100%;
		font-size:150%;
		padding:0.5em;
		margin:0;
	}
	table.intoroduction-schedule-list {
		width:95%;
		margin:0 auto 1em auto;
	}
		table.intoroduction-schedule-list tr th {
			text-align:center;
		}
		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 {
	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）
-----------------------------------------*/
.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%;
	}