/*
Theme Name: 広島県臨床検査技師会
Theme URI: 
Author: Ronn
Author URI: https://muronn.net/
Version: 0.1
*/


* {
    font-family: "M PLUS Rounded 1c", "新ゴ R", "メイリオ", Meiryo, "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
    line-height: 1.5;
}

a {
	color:rgba(26,122,163,1.00);
    text-decoration: none;
    border: 0 none;
}

a:link {
	color:rgba(26,122,163,1.00);
    text-decoration: none;
    border: 0 none;
}

.alignleft {
    text-align: left;
}

.aligncenter {
    text-align: center;
}

.alignright {
    text-align: right;
}

.textlarge {
    font-size:120%;
}

img.alignleft {
    float: left;
	margin: 0 1em 1em 0;
}

img.alignright {
    float: right;
	margin: 1em 0 1em 0;
}

.cf::after {
    content: "";
    display: block;
    clear: both;
}

/*body*/

body {
position:rerative;
background: linear-gradient(#fdfdfd, #f0f0f0);
}

#siteheader {
    position: fixed;
	top:0;
	margin:0;
	padding:0;
	border:0;
	width:100%;
	height:auto;
    background: rgba(255,255,255,0.7);
	z-index:10;
}
.admin-bar #siteheader {
  top:32px;  
}


.swiper-slide {
	position:relative;
}
.swiper-slide img {
  border:0 none;
  margin:0;
  width:100%;
  height:auto;
}

.swiper-slide p {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 3vw;
    text-shadow: 0 0 0.8vw #000;
}

@media screen and (max-width: 782px) {
.admin-bar #siteheader {
    top:47px;  
  }
}


/*container*/

.container {
    width: 100%;
    margin: 0;
}

.contents {
	width: 96%;
	max-width: 1000px;
	margin:0 auto;
	padding: 40px 1em 10px;
	background: rgba(255,255,255,0.80);
}
.contents:last-child {
	padding-bottom: 80px;
}

@media screen and (min-width:700px) {
	.contents {
		width: 90%;
		margin:0 auto;
		padding: 60px 3em 10px;
		background: rgba(255,255,255,0.80);
		}
		
		.contents:last-child {
			padding-bottom: 130px;
		}
}


/* ページタイトル */

#homeimg  {
	width: 100%;
	height: auto;
	max-height: 100vh;
	overflow: hidden;
}
#homeimg img {
	display: block;
	width: 100%;
	height: auto;
}

#pagetitle {
    position: relative;
    width: 100%;
    height: 200px;
    background-position: left;
    background-repeat: no-repeat;
}
div.newstitle {
    background-image: url(img/titlebg1.png);
}
#pagetitle h1 {
    position: absolute;
    top: 38%;
    width: 90%;
    left: 1%;
    color: #ffffff;
    font-size: 3vw;
    font-weight: normal;
    text-shadow: 0 0 0.8vw #000;
}

@media screen and (min-width:700px) {
    #pagetitle h1 {
        left: 10%;
    }
}
/* banner */

.banner_area {
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
}
.contents .banner_area img {
	width: 20vw;
	margin: 5px auto;
}
@media screen and (min-width:700px) {
 
.banner_area {
	flex-wrap:nowrap;
}
.banner_area img {
	width: 12vw;
}
}
/* contents */

.contents a {
    text-decoration: none;
}
.contents a:link {
    
}
.contents a:visited {
    color: #5800ff;
}
.contents a:hover {
    
    text-decoration: underline;
}
.contents a:active {
    
}


.contents h1 {
    color: rgba(26,122,163,1.00);
    font-size: 150%;
    font-weight: normal;
    margin: 1em 0;
}

.contents h2 {
    color: rgba(26,122,163,1.00);
    font-size: 140%;
    font-weight: normal;
    margin: 1em 0;
}

.contents h3 {
    color: rgba(26,122,163,1.00);
    font-size: 140%;
    font-weight: normal;
    margin: 1em 0;
}

.contents h4 {
    color: rgba(26,122,163,1.00);
    font-size: 130%;
    font-weight: normal;
    margin: 1em 0;
}

.contents h5 {
    color: rgba(26,122,163,1.00);
    font-size: 120%;
    font-weight: normal;
    margin: 1em 0;
}

.contents h6 {
    color: rgba(26,122,163,1.00);
    font-size: 110%;
    font-weight: normal;
    margin: 1em 0;
}

.contents p {
    margin: 1em;
    line-height: 1.7;
}
.contents pre {
    margin: 1em;
    line-height: 1.7;
}

.contents ul,
.contents ol {
    margin: 1em;
    padding: 0 0 0 2em;
}

.contents table {
    max-width: calc(100% - 2em);
    margin: 1em auto;
    border: 1px solid lightgray;
    empty-cells: show;
}

.contents table th {
    padding: 1em;
    border: 1px dashed lightgray;
}

.contents table td {
    padding: 1em;
    border: 1px dashed lightgray;
}

.contents img {
    max-width: 100%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

.contents article > div {
    margin: 1em;
}

.contents .su-posts-default-loop .su-post {
    padding: 0;
    margin-bottom: 2.5em;
    line-height: 1.5;
    box-shadow: 0 0 0.5em #ddd;
}
.contents .su-posts-default-loop .su-post-thumbnail {
	float: none;
    width: 100%;
    margin: 0;
    padding: 0;
	overflow: hidden;
}
.contents .su-posts-default-loop .su-post-thumbnail img {
	width:100%;
	height:auto;
	max-width: 3000px;;
    max-height: 3000px;
	margin:0;
	padding:0;
	
}
.contents .su-posts-default-loop h2.su-post-title {
    clear: both;
	padding:1em 1em 0;
}
.contents .su-posts-default-loop .su-post-meta {
    text-align: right;
	margin:1em 1em 0.7em 0;
	}
.contents .su-posts-default-loop .su-post-excerpt {
	padding: 1em 1.5em; 
    margin-bottom: 0.5em;
}

.contents .su-posts-default-loop .su-post-comments-link {
    display:none;
}

.contents .kensyu_list_date {
    font-size: 90%;
}

div.wp-block-file {
    padding: 1em 2em;
}
.wp-block-file .wp-block-file__button {
    background: #777777;
}


date.post__meta {
    display: block;
    text-align: right;
    font-size: 90%;
    padding-top: 2em;
    clear: both;
}

.contents .is-style-stripes,
.contents .is-style-stripes tr,
.contents .is-style-stripes th,
.contents .is-style-stripes td {
    border: 0 none;
}
.contents .is-style-stripes tr:nth-child(odd) {
    background: #dddddd;
}

.su-posts-teaser-loop {
    padding: 1em 2em 1em;
}
.su-posts-teaser-loop h2.su-post-title{
    font-size: 1rem;
}
.contents .su-posts-teaser-loop h4{
    font-size: 1rem;
}
.su-spoiler-title {
    margin-left: 27px;
}
.su-spoiler-style-default > .su-spoiler-content {
	padding-bottom: 3em;
}


.newsbox {
    border: 1px solid #FFF;
    border-radius: 3px;
    box-shadow: #999 0 1px 5px;
    padding: 1em;
	margin-top: 2em;
}
.newsbox .attachment-thumbnail {
	width:20%;
	max-width:100px;
	float:right;
	margin:0;
}
.newsbox .newstitle {
	margin-top: 0;
	margin-bottom: 0;
	cursor:pointer;
}
.newstitle i {
	display: inline-block;
	transition: all 300ms 0s ease;
}
.active .fa-chevron-down {
	transform: rotate(180deg);
}

.newsbox .newstext {
	padding: 1em;
	clear:both;
	}
.closenewsbox {
	text-align: center;
}
.closenews {
	margin: 1em 0 1em auto;
	color: rgba(26,122,163,1.00);
	font-size: 160%;
	cursor:pointer;
}

.PostList ul {
    list-style-type: none;;
}
.PostList ul .PostList_title {
    font-size: 150%;
    font-weight: 500;
    margin: 0.6em 0;
}
.PostList ul .Post_body .Post_meta {
    display: inline-block;
}
.PostList ul .Post_body .Post_title {
    display: inline-block;
    padding-left: 1em;
}

@media screen and (min-width:700px) {
    .contents h1 {
        font-size: 190%;
    }

    .contents h2 {
        font-size: 175%;
    }

    .contents h3 {
        font-size: 160%;
    }

    .contents h4 {
        font-size: 145%;
    }

    .contents h5 {
        font-size: 130%;
    }

    .contents h6 {
        font-size: 115%;
    }

    .contents p {
        margin: 1em;
        line-height: 1.7;
    }
}

@media screen and (min-width:900px) {
    .contents h1 {
        font-size: 240%;
    }

    .contents h2 {
        font-size: 200%;
    }

    .contents h3 {
        font-size: 180%;
    }

    .contents h4 {
        font-size: 160%;
    }

    .contents h5 {
        font-size: 140%;
    }

    .contents h6 {
        font-size: 120%;
    }
}

/*イベントカレンダー*/
.eo-fc-filter {
	max-width: 80%;
}


/*メインメニュー*/
@media screen and (max-width:700px) {
#headfixmenu {
    display: block;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    transition: all .3s ease;
    font-size: 14px;
}
#headfixmenu .nav-unshown {
  display:none;
}
#headfixmenu #nav-open {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    display: block;
    vertical-align: middle;
    font-size: 23px;
    padding: 0 0.5em;
    margin: 0;
    border-right: 1px #eeeeee solid;
}
#headfixmenu #nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}
#headfixmenu #nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90%;
  max-width: 330px;
  height: 100%;
    padding-top: 2em;
  background: #fff;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
}
#headfixmenu #nav-close-b {
    box-sizing: border-box;
    display: block;
    padding: 0.5em 1em;
    color: #333;
    text-decoration: none;
    border: 1px #eeeeee solid;
    cursor: pointer;
}
#headfixmenu #nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}
#headfixmenu #nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
#headfixmenu .title {
	float: none;
    padding: 0.5em;
	text-align: center;
}
#headfixmenu a {
    box-sizing: border-box;
    display: block;
    padding: 0.5em 1em;
    color: #333;
    text-decoration: none;
    transition: all .3s ease;
}
#headfixmenu a:link,  #headfixmenu a:visited {
    color: #333;
}
#headfixmenu a:hover {
    color: #333;
    background: #6DD5FA;
}
#headfixmenu .title {
    margin: 0;
    padding: 0.5em;
    border-left: 1px #eeeeee solid;
}
#headfixmenu ul {
    display: block;
    box-sizing: border-box;
    width: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px #eeeeee solid;
}
#headfixmenu ul .menu-item {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#headfixmenu .menu-item a {
    border-left: 1px #eeeeee solid;
    padding: 0.5em;
}
#headfixmenu ul .menu-item a {
    margin: 0;
    border-top: 1px #eeeeee solid;
    border-left: 1px #eeeeee solid;
    border-right: 1px #eeeeee solid;
}
#headfixmenu .sub-menu {
	padding: 0;
	margin: 0;
    background: rgba(255,255,255,0.8);
}
#headfixmenu .sub-menu .menu-item {
	padding: 0;
	margin: 0;
}
#headfixmenu .sub-menu .menu-item a {
	padding-left: 1em;
}
#headfixmenu .sub-menu .menu-item:last-child a {
}
}

@media screen and (min-width:701px) {
#headfixmenu {
    display: block;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    transition: all .3s ease;
    font-size: 14px;
}
#headfixmenu a {
    box-sizing: border-box;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all .3s ease;
}
#headfixmenu a:link,  #headfixmenu a:visited {
    color: #333;
}
#headfixmenu a:hover {
    color: #333;
    background: #6DD5FA;
}
#headfixmenu .nav-unshown ,
#headfixmenu #nav-open {
	display: none;
}
#headfixmenu .title {
    float: left;
    padding: 0.5em;
}
#headfixmenu #nav-close-b {
    display: none;
}
#headfixmenu ul {
    list-style: none;
    margin: 0;
}
#headfixmenu ul .menu-item {
    float: left;
    margin: 0;
}
#headfixmenu .menu-item a {
    border-left: 1px #eeeeee solid;
    padding: 0.5em;
}
#headfixmenu ul .menu-item:last-child {
    border-right: 1px #eeeeee solid;
}
#headfixmenu .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    clear: both;
    margin: 0;
    padding: 0;
    border: 0 none;
    list-style: none;
    background: rgba(255,255,255,0.8);
    transition: all .3s ease;
}
#headfixmenu ul .menu-item:hover .sub-menu,  #headfixmenu ul .menu-item:active .sub-menu {
    visibility: visible;
    opacity: 1;
}
#headfixmenu .sub-menu .menu-item {
    float: none;
    margin: 0;
}
#headfixmenu .sub-menu .menu-item:last-child {
    border-right: 0 none;
}
#headfixmenu .sub-menu .menu-item a {
    margin: 0;
    border-top: 1px #eeeeee solid;
    border-left: 1px #eeeeee solid;
    border-right: 1px #eeeeee solid;
}
#headfixmenu .sub-menu .menu-item:last-child {
    border-bottom: 1px #eeeeee solid;
}
}
/*会員メニュー*/

#membersmenu {
    display: block;
    box-sizing: border-box;
    top: 0;
    right: 0;
    width: auto;
    font-size: 14px;
}
#membersmenu .membersnav-unshown {
    display: none;
}
#membersmenu #membersnav-open {
    position: absolute;
  z-index: 98;
    top: 0;
    right: 0;
    cursor: pointer;
    display: block;
    vertical-align: middle;
    font-size: 14px;
    padding: 0.5em 1em;
    margin: 0;
    border-left: 1px #eeeeee solid;
}
#membersmenu #membersnav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: all .3s ease;
}
#membersmenu #membersnav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 90%;
    max-width: 330px;
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(105%);
    transform: translateX(105%);
    padding-top: 40px;
}
#membersnav-close-b {
    box-sizing: border-box;
    display: block;
    padding: 0.5em 1em;
    color: #333;
    text-decoration: none;
    border: 1px #eeeeee solid;
    cursor: pointer;
}
#membersnav-close-b:hover {
    color: #333;
    background: #6DD5FA;
}
#membersmenu #membersnav-input:checked ~ #membersnav-close {
    display: block;
    opacity: .5;
}
#membersmenu #membersnav-input:checked ~ #membersnav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

#membersmenu #logintitle {
	text-align:center;
	background-color: rgb(26,122,163);
	color: #fff;
}

#membersmenu a {
    box-sizing: border-box;
    display: block;
    padding: 0.5em 1em;
    color: #333;
    text-decoration: none;
    transition: all .3s ease;
}
#membersmenu a:link,  #membersmenu a:visited {
    color: #333;
}
#membersmenu a:hover {
    color: #333;
    background: #6DD5FA;
}

#membersmenu a span.strong {
	color: rgb(26,122,163);
}

#membersmenu .title {
    margin: 0;
    padding: 0.5em;
    border-left: 1px #eeeeee solid;
}
#membersmenu ul {
    display: block;
    box-sizing: border-box;
    width: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(255,255,255,0.8);
}
#membersmenu ul .menu-item {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#membersmenu .menu-item a {
    border-left: 1px #eeeeee solid;
    padding: 0.5em;
}
#membersmenu ul .menu-item a {
    margin: 0;
    border-top: 1px #eeeeee solid;
    border-left: 1px #eeeeee solid;
    border-right: 1px #eeeeee solid;
}
#membersmenu ul .menu-item:last-child {
    border-bottom: 1px #eeeeee solid;
}

/*会員メニューログイン*/

#wp-members {
    padding: 1em;
}

#wp-members .sidebar-title {
    display: none;
}
#wp-members .div_texbox {
    padding-left: 1em;
}
#wp-members .button_div input.buttons {
    display: block;
    margin: 1em auto;
}

/*フッター*/
footer {
	width: 100%;
    background: rgba(233,233,233,0.8);
	padding: 3em 0 1em 0;
}
footer .copy {
	text-align: center;
}
#goto_page_top {
    background: rgba(233,233,233,0.7);
    color: rgba(0,0,0,0.7);
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: fixed;
    right:  30px;
    bottom:  30px;
    
}

@media screen and (max-width:700px) {
#footermenu ul {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0 auto 2em;
	list-style: none;
}
	#footermenu ul ul {
		margin: 0 0 1em 0;
		padding: 0;
	font-weight: normal;
	}
	#footermenu a {
		display: block;
		padding: 0.2em 0;
	}
#footermenu ul li {
	list-style: none;
	width: 13rem;
}
}


@media screen and (min-width:701px) {
    
#footermenu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 2em;
	list-style: none;
}
	#footermenu ul ul {
		margin: 0;
		padding: 0;
	font-weight: normal;
	}
	#footermenu a {
		display: block;
		padding: 0.2em 0;
	}
#footermenu ul li {
	list-style: none;
	width: 13rem;
}

}
p.minus3em {
	margin-top:-3em;
}