/*
Theme Name:mamic2020
Description:This is my original theme
Version:1.0
*/
/*topslider*/
html {
  -webkit-overflow-scrolling: touch;
}

.no-wrap{
	display:inline-block;
}

.swiper-container-fade,.swiper-slide{
	width:100% !impiortant;
}

.slide-img img {
  display: block;
  width:100%;
}

/* 画面外にいる状態 */
.fadeConts {
	opacity : 0;
	transform : translate(0, 70px);
	transition : all 500ms;
	}

/* 画面内に入った状態 */
.fadeConts.scrollin {
	opacity : 1;
	transform : translate(0, 0);
}

.single a{
	color: #006428;
	font-weight:bold;
}

.leaf_img:before{
	content: '';
    width: 19px;
    height: 23px;
    display: inline-block;
    background: url(img/leaf.png) no-repeat 50% 100%;
    vertical-align: text-bottom;
}

.first:before{
	content: '';
    width: 16px;
    height: 22px;
    display: inline-block;
    background: url(img/shoshin.png) no-repeat 50% 100%;
    vertical-align: text-bottom;
}

.answer{
	display: block;
    line-height: 1.5em;
    font-size: 1em;
    padding:10px 50px;
	background: url(img/a.png) no-repeat;
}

.question{
	font-weight: bold;
	display: block;
    line-height: 1.5em;
    font-size: 1em;
    padding:10px 50px;
	background: url(img/q.png) no-repeat;
}

.bold_border{
	margin:0;
	height:20px;
	background:#006428;
}

.page_top{
	height: 100px;
	position: relative;
	margin: 10px 30px 0 30px;
}

.topics_box{
	text-align: center;
}

.top_left{
	position: absolute;
	left:0;
}

.top_left h1{
	font-size: 1em;
	font-weight: 100;
}

.top_right{
	position: absolute;
	right:0;
	display: flex;
}

.con_p p{
	padding: 3px 8px;
	border-width: 2px;
	border-style:dashed;
	border-color: #006428;
	border-radius: 30px;
	padding-bottom: 0
}

.nav{
	margin-left:15px;
}

.nav p{
	font-size:14px;
	font-weight: bold;
}

.nav p span{
	font-size:20px;
	vertical-align: text-bottom;
}

.head_menu{
	padding: 0;
	margin:0;
	text-align: center;
	list-style: none;
}

.head_menu li{
	position: relative;
	display: inline-block;
	margin-left: 3%;
}

.head_menu li:first-child{
	margin-left:0;
}

.head_menu li a{
	text-decoration: none;
	border-bottom: dashed 2px #006428;
}

.head_menu li a img{
	vertical-align: middle;
}

/*休診日、お知らせ*/
.intro{
	text-align: center;
}

.closed{
	text-align: center;
	background: #fff;
	padding:30px;
	margin-top: 20px;
}

.closed p{
	font-weight: bold;
}

.closed p span,.news p{
	text-align: center;
}

.c-list-news li{
	padding: 20px 0;
	height: 10px;
}

.news{
	padding: 20px;
	margin-top:30px;
	border-radius: 10px;
	border:dashed 2px #006428;
	text-align: center;
}

.news_list{
	width: 75%;
    margin: auto;
}

.news_list ul{
	display: inline-block;
}

.detail{
	margin-top:20px;
}

.detail a span{
	color: #fff;
    padding: 2px 10px;
    background: #006428;
    border-radius: 10px;
}

.txt{
	float:left;
	margin: 0 50px;
	font-weight:bold;
}

.date{
	float:left;
	font-weight:bold;
}

/*トピックス*/
.topcs_img,.topcs_con{
	text-align: left;
}

.topcs_con{
	padding: 0 3px;
	box-sizing: border-box;
}

.topcs_con div div{
	display: inline-block;
	vertical-align: middle;
}

.dt_sttl{
	margin:10px 0;
}

.topcs_img img{
	width:100%;
}

.topcs_list p span{
	font-weight: bold;
    vertical-align: top;
}

.topcs_detail{
	margin-top: 20px;
}

.topics_sub{
	color:#006428;
	font-weight: bold;
	padding: 3px 8px;
	border-width: 2px;
	border-style:dashed;
	border-color: #006428;
	border-radius: 10px;
	margin:0 0 5px 0;
	display: inline-block;
}

/*眼科治療の専門家*/
.special_con{
	display: inline-block;
	vertical-align: top;
	width: 49%;
}

.special_con h2{
	margin: 0;
	margin-bottom: 20px;
	font-size: 3em;
	color: #006428;
	border-bottom: dashed 2px #006428;
	display: inline-block;
}

.g_bx span{
	color: #000!important;
}

.special_con p span,.special_con p span{
	font-weight: bold;
	color:#006428;
	font-size: 1.3em;
}

.special_con ul li,.special_con ul li p,.special_ttl div{
	display: inline-block;
}

.special_con ul li img{
	vertical-align: middle;
}

.special_con ul li p{
	margin: 0;
}

.special_ttl div p{
	font-weight:bold;
}

.special_ttl div span{
	font-size:2em;
	font-weight:bold;
}

.special_town{
	color:#006428;
	font-weight: bold;
	padding: 3px 8px;
	margin:0 0 5px 0;
	text-align: center;
	border-width: 2px;
	border-style:dashed;
	border-color: #006428;
	border-radius: 10px;
}

.chek_box{
	margin: auto;
	text-align: left;
	border-collapse: collapse;
}

.chek_box p{
	font-size:1.2em;
	margin: 10px 0;
}

.chek_box tr{
	border-bottom: dashed 2px #006428;
}

.chek_list{
	text-align: center;
}

.mami_introduction{
	display: flex;
}

.mami_introduction div{
	padding:0 15px;
}

.mami_introduction div span p{
	margin-top:10px;
	text-align: right;
}

/*主な診療分野*/
.sec_ttl{
	text-align: center;
}

.field{
	padding: 0;
	margin: auto;
    width: 70%;
	display: flex;
	justify-content: space-between;
}

.field li p{
	width: 180px;
    margin: 10px auto;
	padding:5px;
	text-align: center;
}

/*主な症状と治療方法*/
.treatment_box{
	margin:auto;
	width: 70%;
    table-layout: fixed;
	border-collapse: collapse;
}

.treatment_box tr td{
	color:#006428;
	font-weight:bold;
	height: 150px;
	overflow: hidden;
	text-align: center;
	position: relative;
	border: dashed 2px #006428;
	background-size: auto;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(img/back_img.png);
}

.treatment_box tr td a{
	color:#006428;
	display: block;
    height: 100%;
}

.treatment_box tr td a p{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.treatment_box tr td a:hover{
	color:#fff;
	background-color:#006428; 
  	transition:0.7s all;
}

.treatment_list{
	display:flex;
	justify-content: space-between;
}

.treatment_list li{
	width: 33%;
	text-align: center;
	padding: 15px;
    margin: 0 10px;
	background: #fffbed;
	border-radius: 20px;
	border: dashed 2px #006428;
}

/*まみ眼科クリニック詳細*/
.mami_detail div{
	text-align: center;
}

.contact_box,.attention{
	text-align: left;
}

.contact_box tr td span a{
	font-weight: bold;
	color: #006428;
	font-size: 2.3em;
    letter-spacing: 2px;
}

.hour{
	width:100%;
	border-collapse: collapse;
	border: 2px solid #006428;
}

.hour td{
	border-width: 1px 0px;
	border-color: #006428;
	border-style: solid;
	padding: 0.3em;     
}

.change_btn{
	margin:0;
	padding: 0;
    display: flex;
    justify-content: space-between;
}

.menu_ft{
	text-align: center;
}

.list_af:after{
	content: '';
	  width: 70px;
	  height: 70px;
	  background-image: url(img/logo_hakui.png);
	  background-size: cover;
	  position: absolute;
     top: 30%;
     right: 65px;
}

#page-top{
    position:fixed;
    right:16px;
    bottom:16px;
    display: none;
    z-index:9999;
}
 
#page-top a{
    padding:10px;
    text-decoration:none;
    display:block;
    cursor:pointer;
    text-align:center;
    line-height:100%;
    border-radius: 5px;
    -webkit-border-radius: 5px;
     -moz-border-radius: 5px; 
}
 
#page-top a:hover{
    -webkit-transition:all 0.3s;
    -moz-transition:all 0.3s;
    transition:all 0.3s;
	opacity:0.7;
}

.news-all li:first-child{
	border-top:2px dashed #006428;
	border-bottom:2px dashed #006428;
}

.news-all li{
	border-bottom:2px dashed #006428;
	height:25px;
}

/*まみ眼科クリニック詳細*/
footer{
	color:#fff;
	background: #006428;
	color:#fff;
}

footer a{
	color:#fff;
}

.ft_menu_tp{
	padding: 20px 0;
    border-bottom: 1px solid #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ft_menu_tp li p{
	font-size: 2.5em;
    font-weight: bold;
    margin: 0;
}

.ft_menu_bt{
	width: 80%;
	display: flex;
    margin: auto;
    padding: 3% 0;
    justify-content: space-between;
}

.Copyright{
    margin: 0;
    padding: 20px 0;
	text-align: center;
}

/*タブレット*/
@media (max-width: 1024px) and (min-width: 768px) {
	.col{
		padding:0 10px;
	}
	
	.page_top{
		display:none;
	}
	
	.field{
		width:auto;
	}
	
	.chek_list img,.treatment_box{
		width:100%;
	}
	
	.change_btn{
		width: 100%;
		display: block;
	}

	.treatment_list li{
		padding: 5px;
    	margin: 0px 3px;
	}
	
	.special_ttl{
		display:flex;
	}
	
	.special_ttl div span {
		font-size: 1.8em;
	}
	
	.special_con h2{
		font-size:2.7em;
	}
	
	.contact_box tr td span a{
		font-size:1.5em;
	}
	
	.chek_box p{
		font-size:1em;
	}
	
	.list_af:after{
		top: 30%;
    	right: 35px;
	}
	
	.news_list{
		width:90%;
	}
	
	.mami_introduction{
		display:block!important;
	}

}

/*スマホ*/
@media screen and (max-width:767px){
	.nav_logo{
		position: absolute;
    	top: -73px;
    	width: 300px;
	}
	
	.bor_dash{
		border-collapse: collapse;
		margin:0!important;
	}
	
	.bor_top{
		border-top: dashed 2px #006428;
	}
	
	.bor_dash li{
    	border-bottom: dashed 2px #006428;
    	text-align: center;
		display:inline-block;
		width:47%;
	}
	
	.news_list{
		width:100%;
	}
	
	.c-list-news{
		text-align:left;
	}
	
	.news-all li{
		height:40px;
	}
	
	.txt{
		margin: 0;
		display:block;
		float:none;
	}
	
	.date{
		display:block;
		float:none;
	}
	
	.dashed_box{
		display: inline-block;
		float: right;
	}
	
	#nav-toggle {
	  width:30px;
	  height:25px;
	  right: 0;
	  padding:20px;
	  margin-left: auto;
	  cursor: pointer;
	  position: relative;
	}

	#nav-toggle > div {
	  position: relative;
	  width: 27px;
	}

	#nav-toggle span {
	  width: 100%;
	  height: 1px;
	  left: 0;
	  display: block;
	  position: absolute;
	  -webkit-transition: top .5s ease, -webkit-transform .6s ease-in-out;
	  transition: top .5s ease, -webkit-transform .6s ease-in-out;
	  transition: transform .6s ease-in-out, top .5s ease;
	  transition: transform .6s ease-in-out, top .5s ease, -webkit-transform .6s ease-in-out;
	}

	#nav-toggle span:nth-child(1) {
	  top: 0;
	}

	#nav-toggle span:nth-child(2) {
	  top: 14px;
	}

	#nav-toggle span:nth-child(3) {
	  top: 28px;
	}

	#nav-toggle:hover span:nth-child(1) {
	  top: 4px;
	}

	#nav-toggle:hover span:nth-child(3) {
	  top: 23px;
	}

	#nav-toggle span {
	    background: #000;
	}

	.open #nav-toggle span {
	  background: #000;
	}

	.open #nav-toggle span:nth-child(1) {
	  top: 15px;
	  -webkit-transform: rotate(45deg);
	          transform: rotate(45deg);
	}

	.open #nav-toggle span:nth-child(2) {
	  top: 15px;
	  width: 0;
	  left: 50%;
	}

	.open #nav-toggle span:nth-child(3) {
	  top: 15px;
	  -webkit-transform: rotate(-45deg);
	          transform: rotate(-45deg);
	}

	#nav-toggle {
	  z-index: 1000;
	}

	#container {
	  z-index: 900;
	}

	#gloval-nav {
	  background: #fff;
	  color: #000;
	  position: fixed;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	  z-index: 990;
	  text-align: center;
	  display: -webkit-box;
	  display: block;
	  visibility: hidden;
	  -webkit-box-orient: vertical;
	  -webkit-box-direction: normal;
	          flex-direction: column;
	  -webkit-box-pack: center;
	          justify-content: center;
	  -webkit-box-align: center;
	          align-items: center;
	  opacity: 0;
	  -webkit-transition: opacity .6s ease, visibility .6s ease;
	  transition: opacity .6s ease, visibility .6s ease;
	}

	#gloval-nav a {
	  display: block;
	  text-decoration: none;
	  padding: 8px 0;
	  -webkit-transition: color .6s ease;
	  transition: color .6s ease;
	}

	#gloval-nav a:hover {
	  color: #666;
	}

	#gloval-nav ul {
	  margin:10px;
	  margin-top:30px;
	  list-style: none;
	  max-width:500px;
	}

	#gloval-nav ul li {
	  opacity: 0;
	  -webkit-transform: translateX(200px);
	          transform: translateX(200px);
	  -webkit-transition: opacity .2s ease, -webkit-transform .6s ease;
	  transition: opacity .2s ease, -webkit-transform .6s ease;
	  transition: transform .6s ease, opacity .2s ease;
	  transition: transform .6s ease, opacity .2s ease, -webkit-transform .6s ease;
	}

	#gloval-nav ul li:nth-child(2) {
	  -webkit-transition-delay: .15s;
	          transition-delay: .15s;
	}

	#gloval-nav ul li:nth-child(3) {
	  -webkit-transition-delay: .3s;
	          transition-delay: .3s;
	}

	#gloval-nav ul li:nth-child(4) {
	  -webkit-transition-delay: .45s;
	          transition-delay: .45s;
	}

	#gloval-nav ul li:nth-child(5) {
	  -webkit-transition-delay: .6s;
	          transition-delay: .6s;
	}

	#gloval-nav ul li:nth-child(6) {
	  -webkit-transition-delay: .75s;
	          transition-delay: .75s;
	}

	#gloval-nav ul li:nth-child(7) {
	  -webkit-transition-delay: .9s;
	          transition-delay: .9s;
	}

	.open {
	  overflow: hidden;
	}

	.open #gloval-nav {
	  visibility: visible;
	  opacity: 1;
	}

	.open #gloval-nav li {
	  opacity: 1;
	  -webkit-transform: translateX(0);
	          transform: translateX(0);
	  -webkit-transition: opacity .9s ease, -webkit-transform 1s ease;
	  transition: opacity .9s ease, -webkit-transform 1s ease;
	  transition: transform 1s ease, opacity .9s ease;
	  transition: transform 1s ease, opacity .9s ease, -webkit-transform 1s ease;
	}

	.gloval_nav_menu{
	  position: relative;
	  top:110px;
	  height:300px;
	}

	.category-title{
		display: flex;
		text-align: left;
	}

	.category-title li{
		width: 50%;
	}

	#gloval_menu{
	  position: absolute;
	  width:100%;
	  top: 0;
	  bottom:0;
	  right: 0;
	  left:0;
	  margin:auto;
	}

	.gloval_main{
	    width: 100%;
		display: block;
	    font-weight: bold;
	    position: relative;
	}

	.gloval_main:hover{
		opacity:0.5;
	}
	
	.head_menu li{
		margin-top:5px;
	}

	.nav_main a{
    	color: #666666;
	}

	.l_m{
		margin-left: 10px;
	}

	.nav_sub{
		border-bottom: 1px solid #BBB;
	}

	.nav_sub li a{
		font-size: 0.8em;
		color: #666!important;
		
	}
	
	.topcs_list p{
		font-size:13px;
	}

	/*お知らせ*/
	.news_list{
		margin: 0;
	}

	.special_con,.mami_introduction,.field,.treatment_list,.mami_detail div ,.change_btn,.topics_box{
		width: 100%;
		display: block;
	}

	.special_con img,.mami_introduction img,.mami_detail div p img,.treatment_box,.chek_box,.max_img2{
		width: 100%;
	}

	.mami_introduction div,.topcs_con{
		padding:0;
	}

	.special_ttl{
		display: flex;
	}

	.g_bx span{
		font-size:1.6em!important;
	}

	.topcs_list{
		margin-bottom: 20px;
	}

	.chek_box p{
		font-size:1em;
	}

	.field li{
		margin:25px 0;
	}

	.field li div{
		text-align: center;
	}
	
	.treatment_list li{
		width:auto;
	}

	.treatment_list li p{
		float: none;
	}

	.treatment_list li ,.mami_detail div{
		margin: 10px 0;
	}

	.ft_menu_tp{
		display: block;
		margin-bottom: 55px;
	}

	.ft_mn_f{
	    bottom: 0;
	    width: 100%;
		height:70px;
	    display: flex;
	    position: fixed;
	    background: #006428;
	    justify-content: space-around;
	}

	.ft_mn_f div{
    	width: 100%;
    	padding: 5px;
    	text-align: center;
		border: 1px solid #fff;
	}

	.ft_mn_f div a{
		height: 35px;
    	display: block;
	}
	
	.max_img{
		width:100%;
	}
	
	.special_sp{
		margin-top:20px;
	}
	
	.list_af:after{
		top:65%;
		right:20px;
	}
	
	#page-top{
		right: 0px;
    	bottom: 70px;
	}
}

/* マイオピン・オルソケラトロジー
-----------------------------------*/
.img{
	max-width: 100%;
	height: auto;
}
.sec_box{
	padding: 2.5em;
	box-sizing: border-box;
}
.col_flex__2col{
	width: 50%;
}
.col_flex__3col{
	width: 31%;
}
.col_flex.space-a{
	justify-content: space-around;
}
.dash_line_list{
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 2em;
	align-items: center;
	flex-wrap: wrap;
}
.dash_line_list li{
	min-width: 13em;
	min-height: 4em;
	padding: 0.5em 1em;
	font-weight: bold;
	color: #006428;
	text-align: center;
	border: dashed 2px #006428;
	border-radius: 8px;
	font-size: 20px;
	box-sizing: border-box;
}
.dash_line_list li span{
	display: block;
	font-size: 16px;
}
.dash_line_list li:first-child{
	padding-top: 1.2em;
}
.dash_line_list02{
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 2em;
	align-items: center;
	flex-wrap: wrap;
}
.dash_line_list02 li{
	padding: 0.5em 1em;
	font-weight: bold;
	color: #006428;
	text-align: center;
	border: dashed 2px #006428;
	border-radius: 8px;
	font-size: 20px;
	box-sizing: border-box;
}
.table_style01{
	margin: 2em auto;
	width: 100%;
	box-sizing: border-box;
}
.table_style01,.table_style01 th,.table_style01 td{
	border: 1px solid #000;
	border-collapse: collapse;
	box-sizing: border-box;
}
.table_style01 thead th{
	background: #FFFBED;
	text-align: center;
	padding: 0.2em 1em;
	box-sizing: border-box;
}
.table_style01 tbody th,.table_style01 tbody td{
	text-align: left;
	font-weight: normal;
	padding: 0.2em 1em;
	box-sizing: border-box;
}
.table_style02{
	margin: 2em auto;
	width: 100%;
	box-sizing: border-box;
}
.table_style02,.table_style02 th,.table_style02 td{
	border: 1px solid #000;
	border-collapse: collapse;
	box-sizing: border-box;
}
.table_style02 th{
	background: #FFFBED;
	text-align: center;
	padding: 0.2em 1em;
	box-sizing: border-box;
	font-weight: normal;
}
.table_style02 td{
	text-align: left;
	font-weight: normal;
	padding: 0.2em 1em;
	box-sizing: border-box;
}
.center-line{
  position: relative;
  text-align: center;
  margin:1em 0;
  border:none;
  font-weight:normal;
	color: #006428;
}
.center-line:before {
  border-top: 1px solid #006428;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
}
.center-line span {
  background-color: #fff;
  display: inline-block;
  padding: 0 1em;
  position: relative;
	font-weight: bold;
	font-size: 20px;
}
.trial_box{
	background: #fff;
	padding: 1em;
	box-sizing: border-box;
}
.dashed_btn_l{
	display: inline-block;
	padding: 2px 10px;
	border:1px dashed #006428;
	border-radius: 10px;
	font-size: 0.8em;
	color:#006428;
}

@media screen and (max-width:480px){
	.dash_line_list li,.dash_line_list02 li{
		min-width: inherit;
		width: 90%;
		min-height: inherit;
		padding: 0.5em 1em;
		font-size: 16px;
	}
	.dash_line_list li span{
		font-size: 14px;
	}
	.dash_line_list li:first-child{
		padding-top: 1em;
	}
	.col_flex__2col,.col_flex__3col{
		width: 100%;
		margin-bottom: 2em;
	}
}
