@charset "utf-8";
@import url(cmn.css);
@import url(base.css);

/* ==========================================================================
	MAIN
	========================================================================== */
	
.mainimage {
	position: relative;
  text-align: center;
  width: 100%;
  overflow: hidden;
  padding-bottom: 0;
	margin: 0 0 20px 0;
}
.mainimage div img {
  display: block;
  width: 98%;
  margin: 0 auto;
}
.slider {
  position: relative;
}
.slider-txt {
  position: absolute;
	width: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	background-color: rgba(255,255,255,0.8);
	border-radius: 20px;
	padding: 40px;
}
.slider-txt__tit {
	font-family: var(--font01);
	font-size: 2.8rem;
	font-weight: 500;
	margin-bottom: 30px;
}
.slider-list {
	display: inline-block;
}
.slider-list__item {
	display: inline-block;
	width: 110px;
	color: #fff;
	font-family: var(--font01);
	font-size: clamp(1.6rem,2.375vw,2rem);
	font-weight: 500;
	background-color: var(--color01);
	border-radius: 50px;
	padding: 5px 0;
	margin: 0 5px;
}


/* ==========================================================================
	CONTENTS
	========================================================================== */

/*TOP*/

.counterplan {
  padding: 40px 0;
}
.counterplan-list__item {
  font-family: var(--font01);
  font-weight: 500;
}
.counterplan-list__item a {
  position: relative;
  display: block;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
}
.counterplan-list__item a::after {
  position: absolute;
  top: 45%;
  right: 20px;
	content: "\f138";
	color: var(--color02);
	font-family: "Font Awesome 5 Free";
  font-size: 80%;
	font-weight: 900;
}
.counterplan-list__item:last-child {
  margin-bottom: 0;
}

.newsContent {
  margin-bottom: 4%;
}
.newsContent dl {
  width: 100%;
  border-bottom: 2px solid #d7d7d7;
  overflow: hidden;
}
.newsContent dl dt, .newsContent dl dd {
  padding: 20px 0;
  display: block;
  text-align: left;
}
.newsContent dl dt {
  width: 18%;
  clear: left;
  float: left;
  padding-left: 1em;
}
.newsContent dl dd {
  width: 82%;
  float: left;
  position: relative;
}
.newsContent dl dd a {
  color: #313131;
}
.newsContent dl dd a:hover {
    color: var(--color04);
}
@media screen and (max-width: 767px) {
  .newsContent dl dt, .newsContent dl dd {
    width: 100%;
    float: none;
    padding-left: 0;
  }
  .newsContent dl dt {
    padding-bottom: 5px;
  }
  .newsContent dl dd {
    padding-top: 0;
    /*border-bottom: 1px solid #bdbdbd;*/
  }
  .newsContent dl dd:after {
    content: none;
  }
}

.about {
	padding: 8vh 0;
}
.about h3 {
	border: none;
	padding: 0;
}
.about h3::after {
	display: none;
}

.medical-list__item {
	margin-bottom: 30px;
}
.medical-list__item a {
	position: relative;
	display: block;
	margin-bottom: 20px;
}
.medical-list__item span {
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 180px;
	font-family: var(--font01);
	font-size: clamp(1.8rem,2.375vw,2.3rem);;
	font-weight: 500;
	background-color: #fff;
	padding: 7px;
}
.medical-list__item span::after {
	position: absolute;
	top: 40%;
	right: 10px;
	color: var(--color02);
	content: "\f138";
	font-family: "Font Awesome 5 Free";
	font-size: 1.5rem;
	font-weight: 900;
}
.medical-list__item img {
	display: block;
}

/*CLINIC*/

.outline tr:nth-child(odd) {
	background-color: #eee;
}
.outline__tit {
	width: 150px;
	padding: 20px;
}
.outline__txt {
	padding: 20px;
}
.txt-float li {
	float: left;
	margin: 0 20px 0 0;
}

/*MEDICAL*/

.vaccination-tit {
	text-align: center;
}
.vaccination-tit::before {
	content: "-";
	margin-left: 5px;
}
.vaccination-tit::after {
	content: "-";
	margin-right: 5px;
}
.vaccination-box {
	padding: 40px 40px 20px 40px;
}
.vaccination-box h6 {
	color: var(--color02);
	font-size: 2rem;
	border-bottom: solid 2px var(--color02);
	padding-bottom: 10px;
	margin-bottom: 20px;
}
.vaccination-box__color01 {
	background-color: #fff6cc;
}
.vaccination-box__color02 {
	background-color: #e1f1ff;
}
.vaccination-list__item {
	background: url("../images/cmn-images/icon-check.png") 0 2px no-repeat;
	background-size: 23px;
	padding-left: 35px;
	margin-bottom: 20px;
}

/*FIRST*/

.flow {
	text-align: center;
}
.flow i {
	color: var(--color02);
	font-size: 3rem;
	text-align: center;
}
.flow__inner {
	display: flex;
	text-align: left;
	border: solid 2px var(--color04);
	padding: 30px 20px;
}
.flow__img {
	width: 200px;
}
.flow__txt {
	flex: 1;
	padding-left: 40px;
}
.flow__txt p:last-child {
	margin-bottom: 0;
}

/*ATTEMPT*/

.addition-table__tit {
  color: #fff;
  text-align: center;
  background-color: #0f89df;
  border: solid 1px #ccc;
  padding: 15px;
}
.addition-table__txt {
  border: solid 1px #ccc;
  padding: 15px;
}
.maina-img {
  display: block;
  width: 400px;
  margin: 0 auto;
}


/*NEWS*/

.main .inner a,.main .inner a:visited {
  color: var(--color01);
}
.main .inner a:hover {
	opacity: 0.4;  
	filter: alpha(opacity=90);  
}
.inner {
  width: 100%;
  max-width: 1000px;
  text-align: left;
  margin: 0 auto;
  padding: 0 10px;
}
.date {
    text-align: right;
    margin-top: -35px;
}
img.border {
  border: 1px solid #e3f2f0;
  padding: 3px;
}
.inner-wrap {
  display: block;
  table-layout: fixed;
  width: 100%;
  overflow: hidden;
}
.inner-wrap .blockLine {
  padding: 0;
  clear: both;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
}
.inner-wrap .blockLine > .block {
  display: inline-block;
  width: 49%;
  padding: 0;
  margin: auto;
  float: left;
  margin-right: 2%;
  margin-bottom: 2%;
  text-align: left;
}
.inner-wrap .blockLine > .block p {
  text-align: left;
}
.inner-wrap .blockLine > .block figure {
  display: block;
  margin: auto;
}
.inner-wrap .blockLine > .block:first-child {
  margin-left: 0 !important;
}
.inner-wrap .blockLine > .block:last-child {
  margin-right: 0 !important;
}
.inner-wrap .blockLine.blocks_2 > .block {
  width: calc((100% - 2%) / 2);
}
.inner-wrap .blockLine.blocks_3 > .block {
  width: calc((100% - 4%) / 3);
}
.inner-wrap .blockLine.blocks_4 > .block {
  width: calc((100% - 6%) / 4);
}
.inner-wrap .blockLine.blocks_5 > .block {
  width: calc((100% - 8%) / 5);
}
.inner-wrap .blockLine.blocks_6 > .block {
  width: calc((100% - 10%) / 6);
}
.inner-wrap .blockLine.blocks_7 > .block {
  width: calc((100% - 12%) / 7);
}
.inner-wrap .blockLine.blocks_8 > .block {
  width: calc((100% - 14%) / 8);
}
.inner-wrap .blockLine.blocks_2 > .block:nth-child(2n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_3 > .block:nth-child(3n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_4 > .block:nth-child(4n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_5 > .block:nth-child(5n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_6 > .block:nth-child(6n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_7 > .block:nth-child(7n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_8 > .block:nth-child(8n) {
  margin-right: 0;
}

.inner-wrap .blockLine.vertical > .block {
  float: none;
  vertical-align: middle;
  position: relative;
}
.inner-wrap .blockLine.reversal > .block {
  float: right;
  position: relative;
}
.inner-wrap .blockLine .block.last + .block {
  margin-left: 0;
  clear: both;
}
.inner-wrap .blockLine.reversal > .block:first-child {
  margin-left: 2% !important;
  margin-right: 0;
}
.inner-wrap .blockLine.reversal > .block:last-child {
  margin-left: 0;
}

.blockLine > .block.wd10 {
  width: 9%;
}

.blockLine > .block.wd15 {
  width: 14%;
}

.blockLine > .block.wd20 {
  width: 19%;
}

.blockLine > .block.wd25 {
  width: 24%;
}

.blockLine > .block.wd30 {
  width: 29%;
}

.blockLine > .block.wd35 {
  width: 34%;
}

.blockLine > .block.wd40 {
  width: 39%;
}

.blockLine > .block.wd45 {
  width: 44%;
}

.blockLine > .block.wd50 {
  width: 49%;
}

.blockLine > .block.wd55 {
  width: 54%;
}

.blockLine > .block.wd60 {
  width: 59%;
}

.blockLine > .block.wd65 {
  width: 64%;
}

.blockLine > .block.wd70 {
  width: 69%;
}

.blockLine > .block.wd75 {
  width: 74%;
}

.blockLine > .block.wd80 {
  width: 79%;
}

.blockLine > .block.wd85 {
  width: 84%;
}

.blockLine > .block.wd90 {
  width: 89%;
}

.blockLine > .block.wd95 {
  width: 94%;
}

.blockLine > .block.wd100 {
  width: 99%;
}

@media (max-width: 767px) {
  .inner-wrap .blockLine:not(.fix) > .block {
    display: block;
    text-align: center;
    margin: 0 auto 15px;
    width: 100%;
    float: none;
  }
  .inner-wrap .blockLine:not(.fix) .wd10, .inner-wrap .blockLine:not(.fix) .wd20, .inner-wrap .blockLine:not(.fix) .wd30, .inner-wrap .blockLine:not(.fix) .wd40, .inner-wrap .blockLine:not(.fix) .wd60, .inner-wrap .blockLine:not(.fix) .wd70, .inner-wrap .blockLine:not(.fix) .wd80, .inner-wrap .blockLine:not(.fix) .wd90, .inner-wrap .blockLine:not(.fix) .wd15, .inner-wrap .blockLine:not(.fix) .wd25, .inner-wrap .blockLine:not(.fix) .wd35, .inner-wrap .blockLine:not(.fix) .wd45, .inner-wrap .blockLine:not(.fix) .wd65, .inner-wrap .blockLine:not(.fix) .wd75, .inner-wrap .blockLine:not(.fix) .wd85, .inner-wrap .blockLine:not(.fix) .wd95 {
    width: 100%;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block {
    display: inline-block;
    width: 49%;
    padding: 0;
    margin: auto;
    float: left;
    margin-top: 2%;
    text-align: left;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block:nth-child(even) {
    margin-left: 2%;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block:nth-child(odd) {
    clear: both;
  }
  .inner-wrap .blockLine.reversal > .block:first-child {
    margin-left: 0 !important;
  }
}

/* ==========================================================================
	PC 1025px -
	========================================================================== */

@media screen and (min-width: 1025px){

.about {
  background: url("../images/cmn-images/bg01.jpg") 50% 0 no-repeat;
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

}
@media screen and (max-width: 1200px){/*1200以下*/

}


/* ==========================================================================
	TABLET - 1024px
	========================================================================== */

@media screen and (max-width:1024px){

/*TOP*/

.counterplan-list {
	width: 80%!important;
	margin: 0 auto;
}
.counterplan-list__item {
	float: none!important;
	width: 100%!important;
	margin: 0 0 20px 0;
}
.counterplan-list__item:last-child {
	margin: 0;
}
.about {
  background: url("../images/cmn-images/bg01.jpg") 50% 50% no-repeat;
	background-size: 3000px;
}

/*FIRST*/

.flow__img {
	width: 150px;
}
.flow__txt {
	padding-left: 30px;
}

}

/* ==========================================================================
	SP - 640px
	========================================================================== */

@media screen and (max-width: 640px) {

/*TOP*/

.mainimage {
	margin: 0 0 15px 0;
}
.slider-txt {
	width: 90%;
	padding: 20px;
}
.slider-txt__tit {
	font-size: 2rem;
	margin-bottom: 25px;
}
.slider-list {
	display: block;
	width: 105%;
}
.slider-list__item {
	display: block;
	float: left;
	width: 45%;
	margin: 0 5% 0 0;
}
.slider-list__item:first-child {
	margin-bottom: 3%;
}
.slider-list__item:nth-child(2) {
	margin-bottom: 3%;
}
.counterplan {
  padding: 30px 0;
}
.counterplan-list{
	width: 100%!important;
}
.counterplan-list__item a {
  padding: 10px;
}
.counterplan-list__item a::after {
  top: 35%;
  right: 10px;
}

.about {
	padding: 5vh 0;
}
.about__inner {
	width: 100%;
	padding: 20px;
}
.about__txt {
	float: none;
	width: 100%;
	margin-bottom: 40px;
}
.about__img {
	display: block;
	float: none;
	width: 60%;
	margin: 0 auto;
}

/*CLINIC*/

.outline__tit {
	display: block;
	width: 100%;
	padding: 15px 15px 0 15px;
}
.outline__txt {
	display: block;
	width: 100%;
	padding: 15px;
}
.txt-float li {
	float: none;
	margin: 0 0 10px 0;
}

/*MEDICAL*/

.vaccination-box {
	padding: 20px;
}
.vaccination-box h6 {
	font-size: 1.7rem;
}
.vaccination-list__item {
	background-size: 20px;
	padding-left: 32px;
}

/*FIRST*/

.flow i {
	font-size: 2.5rem;
}
.flow__inner {
	display: block;
	padding: 30px 20px;
}
.flow__img {
	width: 100%;
}
.flow__img img {
  display: block;
	width: 150px;
  margin: 0 auto 30px auto;
}
.flow__txt {
	padding-left: 0;
}

/*ATTEMPT*/

.addition-table__tit {
  font-size: 1.3rem;
  padding: 7px;
}
.addition-table__txt {
  font-size: 1.3rem;
  padding: 7px;
}
.maina-img {
  width: 80%;
}

/*NEWS*/

.date {
    margin-top: -25px;
}

}

