/*
Template:astrid
Theme Name:astrid_child
*/

/*	メニューの文字色	*/
.main-navigation a {
	color: #000;
}
/*	メニューの文字サイズ	*/
.main-navigation li {
	padding: 10px 10px;
	font-size: 14px;
}
/* 画面サイズ */
.container {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/**
 * セクション
 */
.section-title {
	padding: 0 10%;
	background-image: url('https://fuchinobe-s.com/wp-content/uploads/2019/06/title_bar.png');
	background-repeat: repeat-x;
	color: #FFF;
	font-weight: bold;
	font-size: 3.2em;
	letter-spacing: 0.1em;
	line-height: 1.6;
	height: 64px;
}
.home-wrapper section{
	padding: 0 !important;
}
.section-text {
	padding: 0 10%;
	color: #000;
	font-size: 16px;
	line-height: 1.8;
}

/**
 * ヘッダー
 */
.header-tel.pc {
	display: block;
	color: #000;
	font-size: 14px;
	width: 30%;
	position: relative;
	line-height: 1.3;
}
.header-tel.pc span {
	color: #236fbd;
	font-size: 30px;
	padding-left: 20px;
	letter-spacing: 0;
}
.header-tel.pc span:before {
	content: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/phone_icon.png);
	display: block;
    position: absolute;
    left: 0;
}
.header-tel.sp {
	display: none;
}
.main-navigation {
	height: 40px;
}
.main-navigation ul {
	margin-right: 30px;
}
.site-header {
	border-top: 6px solid #236fbd;
	padding: 30px 0 0;
}
.site-header.header-scrolled {
	padding: 10px 0 0;	
}

/**
 * メインスライドショー
 */
#ipw-4 {
	padding-top: 10px !important;
}

.mainvisual .container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.mainvisual .swiper-container {
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  z-index: 1 !important;
}

.mainvisual {
  overflow-x: hidden !important;
}

.mainvisual .swiper-slide-next{
  opacity: 0.5;
}
.mainvisual .swiper-slide-prev{
  opacity: 0.5;
}

.mainvisual .slide-text,
.mainvisual .slide-button {
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  color: white;
}
.mainvisual .slide-text {
  top: 40%;
  font-size: 28px;
  text-shadow: 1px 1px 1px #000;
	font-weight: bold;
}
.mainvisual .slide-button {
  top: 55%;
  left: calc( 50% - 75px );
  display: block;
  width: 180px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  box-sizing: border-box;
  background: #16a798;
  color: white;
  text-align: center;
  text-decoration: none;
  transition: all .25s ease;
  border-radius: 5px;
  border: 2px solid #16a798;
}
.mainvisual .slide-button:hover {
  background: white;
  color: #1b1b1b;
  text-decoration: none;
  border: 2px solid #16a798;
}

/**
 * 診療案内
 */
.guide-box {
    position: relative;
    margin: 2em 10% 11em;
    padding: 0.5em 1em;
    border: solid 1px #236fbd;
	border-top: solid 4px #236fbd;
	width: 70%;
	text-align: left;
	height: 190px;
}
.guide-box.last {
    margin: 2em 10% 7em;
}
.guide-box .box-title {
    position: absolute;
    display: inline-block;
    top: -46px;
    left: -8px;
    padding: 0 0.8em;
    line-height: 2;
    font-size: 28px;
    background: #236fbd;
    color: #FFF;
    font-weight: bold;
	width: 220px;
}
.guide-box p {
    margin: 1.4em 20% 1em 0.6em; 
    padding: 0;
	color: #000;
}
.guide-box .box-img {
    position: absolute;
    display: inline-block;
    top: -80px;
    right: -200px;
	z-index: 20;
}
.guide-box .box-img-sdw {
    position: absolute;
    display: inline-block;
    top: -74px;
    right: -208px;
	background-color: #d4d4d4;
	width: 364px;
	height: 218px;
	z-index: 10;
}

/**
 * 診療時間
 */
.time {
	text-align: center;
	border-top: 1px solid #000;
	color: #000;
	margin-bottom: 7em;
}

.time .title{
	font-weight: bold;
	font-size: 15px;
	margin: 2em auto 1em;
}

.time table{
	width: 440px;;
	margin: auto;
	border: 2px solid #e0e0e0;

}

.time th{
	background-color: #236fbd;
	color: #FFF;
	font-weight: initial;
}

.time td{
	font-weight: initial;
}

.time p{
	text-align: left;
	margin: 2em auto;
	width: 400px;
	font-size: 13px;
}

/**
 * ご挨拶
 */
.greeting {
	position: relative;
	margin: 0 10% 7em;
}
.greeting-hd img {
	width: 100%;
}
.greeting .img {
    position: absolute;
    display: inline-block;
    top: -120px;
    right: -20px;
	z-index: 20;
	color: #000;
	line-height: 4.6;
	font-size: 17px;
	text-align: center;
}
.greeting .img-sdw {
    position: absolute;
    display: inline-block;
    top: -130px;
    right: -30px;
	z-index: 10;
	width: 303px;
	height: 398px;
	background-color: #ececec;
}
.greeting .msg {
    color: #2e7b1c;
	font-size: 23px;
	margin: 1.4em 0 0.8em;
}
.greeting p {
    color: #000;
	font-size: 14px;
	width: 70%;
	margin-bottom: 1.8em;
}

/**
 * 院内紹介
 */
.clinic {
	color: #000;
	font-size: 15px;
	margin: 2em 10% 2.8em;
}

/**
 * 院内紹介カルーセル
 */
.clinic-carousel {
  overflow-x: hidden !important;
  background-color: #eeeeee;
  position: relative;
}

.clinic-carousel .container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  /*width: 90% !important;*/

}

.clinic-carousel .clinic-swiper-container {
  width: calc(100% - 100px) !important;
  height: 100% !important;
  overflow: visible !important;
  z-index: 1 !important;
  padding-top: 50px;
  padding-bottom: 160px;
  box-sizing: content-box;
  margin: auto;
}

.clinic-carousel .slide-text {
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  color: #0e5aa8;
  bottom: -34px;
  font-size: 15px;
}

.clinic-carousel .swiper-slide {
  text-align: center;
}

.clinic-carousel .swiper-button-prev,
.clinic-carousel .swiper-button-next {
  width: 50px;
  height: 50px;
  margin-top: -22px;
  top: calc((100% - 50px) * 0.5);
}
.clinic-carousel .swiper-button-prev {
    background: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/arrow_left.png) no-repeat center center / contain;
}
.clinic-carousel .swiper-button-next {
    background: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/arrow_right.png) no-repeat center center / contain;
}
.clinic-carousel .swiper-pagination {
	bottom: 90px !important;
}

.clinic-carousel .swiper-pagination-bullet {
    width: 12px;
	height: 12px;
	border-radius: 0%;
	background: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/photo_w.png);
}

.clinic-carousel .swiper-pagination-bullet-active {
    width: 12px;
	height: 12px;
	background: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/photo_b.png);
}

/**
 * よくある質問タブ
 */
.tab_wrap{
	width:85%;
	margin:4em auto;
}
input[type="radio"]{
	display:
	none;
}
.tab_area{
	font-size:0;
	margin:0; 
	text-align:center;
}
.tab_area label{
	width:20%; 
	margin:0 5px; 
	display:inline-block; 
	padding:12px 0; color:#ccc; 
	text-align:center; font-size:18px; 
	font-weight: bold; 
	border-bottom: 2px solid #ccc; 
	cursor: pointer; 
	transition:ease 0.2s opacity;
}
.tab_area label:hover{
	opacity:0.5;
}
.panel_area{
	background:#fff;
}
.tab_panel{
	width:100%; 
	padding:4em 0 2em; 
	display:none;
}
.tab_panel p{
	font-size:14px; 
	letter-spacing:1px; 
	text-align:center;}

#tab1:checked ~ .tab_area .tab1_label,
#tab2:checked ~ .tab_area .tab2_label,
#tab3:checked ~ .tab_area .tab3_label,
#tab4:checked ~ .tab_area .tab4_label
{
	background:#fff;
	color:#000; 
	border-bottom: 2px solid #1b67b5; 
	position: relative;
}
#tab1:checked ~ .panel_area #panel1,
#tab2:checked ~ .panel_area #panel2,
#tab3:checked ~ .panel_area #panel3,
#tab4:checked ~ .panel_area #panel4
{
	display:block;
}
#tab1:checked ~ .tab_area .tab1_label:before, 
#tab2:checked ~ .tab_area .tab2_label:before, 
#tab3:checked ~ .tab_area .tab3_label:before, 
#tab4:checked ~ .tab_area .tab4_label:before{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -12px;
  border: 12px solid transparent;
  border-top: 8px solid #1b67b5;
}

/* よくある質問 中身 */

.accbox {
    margin: 1em auto;
    padding: 0;
    width: 90%;
}
.accbox label {
    display: block;
    padding : 1em;
    color :#000;
    font-weight: bold;
    background :#fff;
    cursor :pointer;
    transition: all 0.5s;
	border-top: 1px solid #000;
	font-size: 16px;
	position: relative;
}
.accbox label.last {
	border-bottom: 1px solid #000;
}
.accbox label:after {
	content: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/faq_open.png);
	display: block;
	height: 52px;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    top: 12px;
}
.accshow {
	font-size: 16px;
	text-align: left;
}
.accbox label:hover {
    opacity:0.5;
}
.accbox input {
    display: none;
}
.accbox .accshow {
    height: 1;
    padding: 0;
    overflow: hidden;
    opacity: 1;
    transition: 0.3s;
}
.accbox table {
	width: 90%;
	text-align: left;
	border: none;
	margin-bottom: 0;
}
.accbox table th {
	vertical-align: top;
	width: 10%;
	border: none;
	background-color: #fff;
	padding: 0;
}
.accbox table.faq_a th {
	background-color: #ffffff;
}
.accbox table td {
	width: 90%;
	border: none;
	vertical-align: middle;
	line-height: 1.6;
}
.cssacc:checked + label + .accshow {
    height: auto;
	padding: 1.2em 2em 2em 1em;
    background: #e7f0f9;
    opacity: 1;
	border-top: 1px solid #000;
	color:#000; 
}
.cssacc:checked + label.last + .accshow {
	border-bottom: 1px solid #000;
}
.cssacc:checked + label:after {
	content: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/faq_close.png);
}


/**
 * お知らせ
 */
#atframework_posts-2 {
	padding: 5em 3em 7em !important;
}
#atframework_posts-2 .button {
	border:1px solid #236fbd;
	color:#236fbd;
	transition: color 0.3s ease-in-out;
}
#atframework_posts-2 .button:hover {
	transition: color 0.3s ease-in-out;
	background-color:#e7f0f9;
}
#atframework_posts-2 .entry-summary {
	color: #000;
}

/**
 * 当院のご案内スライドショー
 */
.footer-slider .container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 334px;
}

.footer-slider .footer-swiper-container {
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  z-index: 1 !important;
}

.footer-slider {
  overflow-x: hidden !important;
}


/**
 * 当院のご案内
 */
.col2 ul {
	display: flex;
	margin: 0;
}
.col2 ul,
.col2 li {
	list-style: none;
	padding: 0;
}
.col2 li.about {
	width: 40%;
	background-color: #236fbd;
	color: #FFF;
	padding: 2em 3.8em 3.5em 8%;
}
.col2 li.about p {
	font-size: 30px;
	font-weight: bold;
}
.col2 li.map {
	width: 60%;
}
.col2 li.about ul {
	border-bottom: dotted 1px #FFF;
	height: 50px;
	line-height: 5;	
}
.col2 li.about li.hdr {
	width: 22%;
	text-align-last: justify;
	text-justify:inter-ideograph;
	padding: 0 10px;
}
.col2 li.about li.dtl {
	width: 78%;
	padding: 0 10px;
}

/**
 * フッター
 */
.footer {
	margin: 2em 0 3.4em;
}
.col3 ul {
	display: flex;
}
.col3 ul,
.col3 li {
	list-style: none;
	padding: 0;
}
.col3 li {
	width: calc(100% / 3);
	color: #000;
	font-size: 12px;
	letter-spacing: 0;
	text-align: center;
}

@media screen and (max-width: 1240px){
/**
 * ヘッダー
 */
.header-tel.pc {
	font-size: 13px;
	width: 25%;
}
.header-tel.pc span {
	font-size: 26px;
	padding-left: 20px;
}
.main-navigation li {
	font-size: 12px;
	padding: 10px 5px;
}
/**
 * セクション
 */
.section-title {
	padding: 0 5%;
	font-size: 3.2em;
	line-height: 1.6;
}
.section-text {
	padding: 0 5%;
	line-height: 1.4;
	font-size: 14px;
}
/**
 * 診療案内
 */
.guide-box {
    width: 70%;
    margin: 2em 5% 11em;
}
.guide-box.last {
    margin: 2em 5% 11em;
}
.guide-box p {
    margin: 1.4em 20% 1.4em 0.6em;
	font-size: 13px;
}
.guide-box .box-img {
    top: -70px;
    right: -240px;
}
.guide-box .box-img img {
    width: 90%;
}
.guide-box .box-img-sdw {
    top: -60px;
    right: -212px;
	width: 327px;
	height: 196px;
}
/**
 * ご挨拶
 */
.greeting {
	position: relative;
	margin: 0 5% 7em;
}
.greeting .img img {
    width: 70%;
}
.greeting .img-sdw {
    top: -130px;
    right: -16px;
	width: 274px;
	height: 360px;
}
.greeting .msg {
	font-size: 21px;
}
.greeting p {
	font-size: 13px;
}
/**
 * 院内紹介
 */
.clinic {
	font-size: 14px;
	margin: 2em 5% 2.8em;
}
/**
 * よくある質問タブ
 */
.tab_wrap{
	width:95%;
}
.tab_area label{
	font-size: 15px;
}
/* よくある質問 中身 */
.accbox label {
	font-size: 15px;
}
.accshow {
	font-size: 15px;
}
/**
 * 当院のご案内
 */
.col2 li.about {
	padding: 2em 3% 3.5em;
	font-size: 13px;
}
.col2 li.about ul {
	height: 40px;
	line-height: 4;	
}
.col2 li.about li.hdr {
	width: 27%;
}
.col2 li.about li.dtl {
	width: 73%;
}	
}

@media screen and (max-width: 1030px){
/**
 * スマホメニュー
 */
	.main-navigation{
		height: initial;
	}
	.main-navigation ul {
		margin-right: 0;
	}
.btn-menu{
	color: #236fbd;
}
#mainnav-mobi{
	background-color: #FFF;
	opacity: 0.9;
}
/**
 * ヘッダー
 */
.header-tel.pc {
	display: none;
}
.header-tel.sp {
	width: 100%;
	text-align: center;
	display: block;
	padding-bottom: 1em;
	color: #000;
	font-size: 14px;
	position: relative;
	line-height: 1.3;
}
.header-tel.sp span {
    font-size: 20px;
	color: #236fbd;
	padding-left: 20px;
	letter-spacing: 0;
}
.header-tel.sp span:before {
	content: url(https://fuchinobe-s.com/wp-content/uploads/2019/06/phone_icon.png);
    left: 0;
	display: initial;
	position: relative;
	padding-right: 6px;
}
	
/**
 * 診療案内
 */
.guide-box {
	width: 65%;
}
.guide-box p {
    margin: 1.4em 25% 1em 0.6em; 
}
/**
 * ご挨拶
 */
.greeting p {
	width: 60%;
}
/**
 * よくある質問タブ
 */
.tab_area label{
	font-size:13px; 
}
/* よくある質問 中身 */
.accbox label {
	font-size: 13px;
}
.accshow {
	font-size: 13px;
}
/**
 * 当院のご案内
 */
.col2 li.about {
	font-size: 12px;
}
}

@media screen and (max-width: 768px){
	/* 3列 */
	.col3 ul {
	display: block;
}
	.col3 li {
	width: 100%;
}
	/* 2列 */
	.col2 ul {
	display: block;
}
	.col2 li {
	width: 100%;
}
/**
 * メインスライドショー
 */
.mainvisual .slide-text {
  top: 25%;
  font-size: 16px;
}	
.mainvisual .slide-button {
  top: 60%;
  padding: 5px;
}	
	
/**
 * 診療案内
 */
.guide-box {
	width: 90%;
	height: initial;
    margin: 2em 1em 7em;
}
.guide-box.last {
    margin: 2em 1em 7em;
}
.guide-box .box-title {
	z-index: 30;
}
.guide-box .box-img {
    position: relative;
    display: initial;
    top: initial;
    right: initial;
}
.guide-box .box-img-sdw {
    display: none;
}
.guide-box p {
    margin: 1em; 
}	

/**
 * 診療時間
 */
.time table{
	width: 90%;
	font-size: 10px;
}	
.time p{
	width: 90%;
}
/**
 * ご挨拶
 */
.greeting {
	margin: 0 5% 7em;
}
.greeting .img {
    position: relative;
    display: block;
    top: initial;
    right: initial;
	line-height: 3;
}
.greeting .img-sdw {
    display: none;
}
.greeting .msg {
	font-size: 20px;
}
.greeting p {
	width: 100%;
}
/**
 * 院内紹介
 */
.clinic {
	margin: 2em 5% 2.8em;
}
/**
 * 院内紹介カルーセル
 */
.clinic-carousel .slide-text {
  font-size: 10px;
}
/**
 * よくある質問タブ
 */
.tab_wrap{
	width:95%;
	margin:4em auto;
}
.tab_area label{
	width:60%;
	font-size: 12px;

}
.tab_panel p{
	font-size:12px; 
	}
/* よくある質問 中身 */
.accbox {
    width: 100%;
}
.accbox label {
    padding : 1em;
	font-size: 14px;
}
.accbox label:after {
	height: 52px;
    padding: 10px 20px;
    right: 0;
    top: 12px;
}
.accshow {
	font-size: 14px;
}
/**
 * 当院のご案内
 */
.col2 ul {
	display: block;
}
.col2 li.about {
	width: 100%;
	padding: 2em 5% 3.5em;
}
.col2 li.about p {
	font-size: 30px;
}
.col2 li.map {
	width: 100%;
	height: 300px;
}
.col2 li.about ul {
	display: flex;
	height: 30px;
	line-height: 3;	
}
.col2 li.about li.hdr {
	width: 30%;
}
.col2 li.about li.dtl {
	width: 70%;
}
/**
 * フッター
 */
.col3 ul {
	display: block;
}
.col3 li {
	width: 100%;
}
.footer li {
	padding: 1em !important;	
}	
}