/**

Theme Name: Astra Child

Author: Brainstorm Force

Author URI: http://wpastra.com/about/

Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: astra-child

Template: astra

*/

table {
    margin-bottom: 0.5em;
}

table,td,th {
    border: none;
}


/*スマホ改行*/
@media screen and (min-width: 768px){
.br-sp {display: none; }
}
/*PC改行*/
@media screen and (max-width:767px) {
.br-pc {display: none; }
}
/*横幅にあわせて改行*/
span {
  display: inline-block;
}

/*アニメーション改造*/
@keyframes fadeInUp2 {
    from {
        opacity: 0;
        transform: translate3d(0,40%,0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInUp {
    animation-name: fadeInUp2 !important;
}

@keyframes fadeInRight2 {
    from {
        opacity: 0;
        transform: translate3d(40%, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInRight {
    animation-name: fadeInRight2 !important;;
}

@keyframes fadeInDown2 {
    from {
        opacity: 0;
        transform: translate3d(0, -40%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown2 !important;;
}

@keyframes fadeInLeft2 {
    from {
        opacity: 0;
        transform: translate3d(-40%, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInLeft {
    animation-name: fadeInLeft2 !important;;
}


/* --- アイコンメニューボタン --- */
.menubutton_wrapper{
  display: flex;
	justify-content:space-between;
}

.menubutton_box{
	width:20%;
	border: solid 2px #DEDEDE;
	border-radius: 10px;
	text-align: center;
	padding: 15px;
}
.menubutton_box:hover{
   border: solid 2px #0076C0;
   transition: all .5s;
}

.menubutton_box a {
	display: block;
}
.menubutton_text{
	font-size:1.3rem;
	margin-top: 20px;
	color: #4D97C5;
}
@media screen and (max-width: 767px) {
.menubutton_wrapper{
 flex-wrap: wrap;
}
.menubutton_box{
    width:48%;
	margin-bottom:10px;
}
.menubutton_text{
	font-size:1.1rem;
}	
} 

/* --- 新着情報タブ --- */
.tab_container {
  margin: 0 auto;
}
.tab_content {
  padding: 0.5em 0 4em;
}
.tab_item {
  width: calc(100%/4);
  padding:15px 0;
	border-left: solid #fff 2px;
	border-radius: 20px 20px 0 0;
  background-color: #EDF4D8;
  text-align: center;
  color: #555555 ;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
@media screen and (max-width: 767px) {
.tab_item {
  font-size: 0.7em;
}
} 
.tab_item:hover {
  opacity: 0.75;
}
input[name="tab_item"] {
  display: none;
}
.tab_content {
  display: none;
	margin-top: 50px;
  padding: 0.3em 0 2em;
  clear: both;
	background-color: #fff;
}
#tab1:checked ~ #tab1_content,
#tab2:checked ~ #tab2_content,
#tab3:checked ~ #tab3_content,
#tab4:checked ~ #tab4_content {
  display: block;
}
.tab_container input:checked + .tab_item {
  background-color: #7FC25A;
  color: #fff;
}

/* --- 新着情報一覧ボタン --- */
.button_more a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 35px 10px 20px;
    border-radius: 50px;
    color: #fff;
    background-color: #7FC25A;
    transition: 0.3s ease-in-out;
    font-weight: bold;
	z-index: 99;
}
.button_more a:before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: 1.5em;
    transform: translateY(calc(-50% - 2px)) rotate(30deg);
    width: 12px;
    height: 1.2px;
    background-color: #fff;
    transition: 0.3s;
}
.button_more a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5em;
    transform: translateY(-50%);
    width: 25px;
    height: 1.2px;
    background-color: #fff;
    transition: 0.3s;
}
.button_more a:hover:before, .button_more a:hover:after {
    right: 1em;
}
.button_more a:hover {
    background: #94dd6c;
    color: #fff;
}

@media screen and (max-width: 767px) {
.button_more a {
	font-size: 13px;
    max-width: 150px;
    padding: 7px 10px;
    border-radius: 30px;
}
.button_more a:before {
    top: calc(54% - 2px);
    right: 0.9em;
    width: 8px;
}
.button_more a:after {
    right: 0.9em;
    width: 20px;
}
.button_more a:hover:before, .button_more a:hover:after {
    right: 0.5em;
}
}


/*休日診療リスト*/
.cliniclist table {
	border-collapse:collapse;
}
.cliniclist th, .cliniclist td{
		padding: 10px;
		box-sizing: border-box;
		line-height: 1.7;
	text-align: left;
	}

.cliniclist{	
	width: 100%;
}

.cliniclist th {
		border: 1px solid #fff;
		background: #ededed;
		padding: 12px 30px;
		width: 20%;
	text-align: center;
	}

.cliniclist td{
		border: 1px solid #fff;
		padding: 12px 30px;
		background: #fff;
	}

@media screen and (max-width: 768px){
.cliniclist th, .cliniclist td {
			display: block;
			width: 100%;
	font-size: 16px;
}
}
/* --- 法人概要テーブル --- */
/* 1列目のスタイル */
.gaiyou tr td:nth-of-type(1){
  color: #ffffff;
	background-color: #0076C0BA;
	width: 20%;
	padding-left: 20px;
}
 
/* 2列目のスタイル */
.gaiyou tr td:nth-of-type(2){
	background-color: #ffffff;
}

@media screen and (max-width:767px) {
.gaiyou {
	margin-bottom: 0;
	}
.gaiyou tr td:nth-of-type(1){
	width: 25%;
	text-align: center;
	padding-left:0;
}
}

/* --- 役員リストテーブル --- */
.yakuin th {
    color: #ffffff;
	background-color: #0076C0BA;
	font-weight: normal;
	padding: 10px 20px;
	text-align: left;
}
.yakuin td{
	padding: 10px 20px;
}
@media screen and (max-width:767px) {
.yakuin th,.yakuin td {
	text-align: center;
	padding: 10px;
}	
}
/* --- 入会案内 --- */
/* ---会費 --- */
.kaihi th {
    color: #ffffff;
	background-color: #0076C0BA;
	font-weight: normal;
	padding: 10px 20px;
	text-align: left;
}
.kaihi td{
	background-color: #ffffff;
	padding: 10px 20px;
}
@media screen and (max-width:767px) {
.kaihi th,.kaihi td {
	text-align: center;
	padding: 10px;
}
.kaihi tr th:nth-of-type(1){
	width: 30%;
}
}
/* 1列目のスタイル */
.list3 tr td:nth-of-type(1){
  color: #ffffff;
	background-color: #0076C0BA;
	width: 20%;
	padding-left: 20px;
}
 
/* 2列目のスタイル */
.list3 tr td:nth-of-type(2){
	background-color: #ffffff;
}
@media screen and (max-width:767px) {
/* 1列目のスタイル */
.list3 tr td:nth-of-type(1){
  color: #ffffff;
	background-color: #0076C0BA;
	width: 35%;
	padding-left: 20px;
}
 
/* 2列目のスタイル */
.list3 tr td:nth-of-type(2){
	background-color: #ffffff;
}
}
/* --- 薬局一覧テーブル --- */
/* 1列目のスタイル */
.list tr td:nth-of-type(1){
  color: #ffffff;
	background-color: #0076C0;
	width: 25%;
	text-align: center;
}
 
/* 2列目のスタイル */
.list tr td:nth-of-type(2){
	background-color: #ffffff;
}

/* --- 薬局一覧五十音 --- */
.tb50 th,
.tb50 td{
  padding: 10px;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
}
.tb50 th {
  background: #0076C0;
  color: #fff;
  
}

.tb50 th:nth-child(1) {
	width: 25%;
}
.tb50 th:nth-child(2) {
	width: 25%;
}
.tb50 th:nth-child(3) {
	width: 15%;
}
.tb50 th:nth-child(4) {
	width: 15%;
}
.tb50 th:nth-child(5) {
	width: 20%;
}
.tb50 td:nth-child(5) a{
	color: #0076C0;
}
@media screen and (max-width: 767px) {
  .tb50 .head{
    display:none;
  }
  .tb50 {
    width: 100%;
	border: none;
  }

  table.tb50 td {
    display: block;
    width: 100%;

  }
  table.tb50 td:first-child{
    background: #0076C0;
    color:#fff;
    margin-top: 10px;
	border-top: #fff;
  }
  .tb50 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}
/* サービスアイコン */
.service {
	width: 50px;
	margin: 3px;
}
.notes{
	color: red;
}

@media screen and (max-width:767px) {
.service {
	width: 35px;
}
.notes{
	font-size: 0.9rem;
}
}
/* 投稿ページ */
h1.entry-title {
  padding: 2em;/*文字周りの余白*/
   color: #555555;
	background-image: url(https://suiyaku.jp/wp-content/uploads/2023/01/landscape.jpg);
background-size: cover;
background-repeat: no-repeat;
	text-align: center;
	margin-top: -15px;
	text-shadow:0 0 10px #ffffff;
}
@media screen and (max-width: 767px){
h1.entry-title {
  padding: 2em;/*文字周りの余白*/
   color: #555555;
	background-image: url(https://irick-stg.com/suiyaku/wp-content/uploads/2022/11/city_pc.jpg);
background-size: cover;
background-repeat: no-repeat;
	text-align: center;
	margin-top: -15px;
}
	
}
#secondary h2{
  font-size: 1.2rem;
  padding: 0.25em;/*上下 左右の余白*/
 color: #555555;/*文字色*/
  border-left: solid 3px #EDB147;/*左線*/
}

.separator {
	margin: 0 10px;
}
nav.navigation.post-navigation {
	display: none;
}
/* アーカイブページ */
.ast-archive-description .ast-archive-title{
	color: #ffffff;
	text-align: center;
	font-weight: bold;
}

h2.entry-title::before {
  font-family: "Font Awesome 5 Free";
  content: '\f0c6';
  margin-right: 5px;
  font-weight: 600;
	color: #EDB147;
}
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary{
	margin: 0;
}
@media screen and (max-width: 992px){
.ast-separate-container #primary, .ast-separate-container{
	padding: 0;
}
}
@media (min-width: 545px) and (max-width: 922px) {
	.ast-archive-description .ast-archive-title {
		font-size: 25px;
	}
h2.entry-title {
  font-size: 20px;
}
}
.ast-separate-container .ast-archive-description, .ast-separate-container .ast-author-box {
	background-image: url(https://irick-stg.com/suiyaku/wp-content/uploads/2022/11/archive_bg.jpg);
background-size: cover;
		border-radius: 0 0 50px 50px;
	margin-bottom: 20px;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single{
	padding: 1rem;
}
/* パスワード保護 */
.post_password {
	margin-top: 20px;
	text-align: center;
}
/* マップ */
#map {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

#map iframe {
  width: 100%;
  height: 600px;
  margin-top: -150px;
}

/* マップ開閉2 */
/*ベース*/
.toggle {
	display: none;
}
.Label {		/*タイトル*/
	padding: 3px 20px 3px 10px;
	margin-top: 3px;
	margin-left: 3px;
	display: inline-block;
	color: #fff;
	background:#0076C0;
	font-size: 0.87rem;
	border-radius: 5px;
}
.Label::before{		/*タイトル横の矢印*/
	content:"";
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	-webkit-transform: rotate(45deg);
	position: absolute;
	top:calc( 50% - 3px );
	right: 8px;
	transform: rotate(135deg);
}
.Label,
.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
}
.content {		/*本文*/
	height: 0;
	padding: 0;
	overflow: hidden;
}
.toggle:checked + .Label + .content {	/*開閉時*/
	height: auto;
	transition: all .3s;
	padding: 10px 0;
}
.toggle:checked + .Label::before {
	transform: rotate(-45deg) !important;
}