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

/* ==========================================================================
	MAIN
	========================================================================== */
	
.mainslider {
  clear: both;
  position: relative;
  overflow: hidden;
  width: 98%;
  max-width: 1400px;
  margin: 0 auto 6vh auto;
}
.slider {
	position: relative;
	width: 100%;
	left: 50%;
  line-height: 0;
  font-size: 0;
	margin: 0 auto 0 -50%;
}
.slick-slide img {
	width: 100%;
  opacity: 0.5;
  border-radius: 20px;
}
.mainslider__txt {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  width: 100%;
  font-family: var(--font01);
  font-size: 4rem;
  font-weight: 500;
  text-align: left;
}
.mainslider__txt span {
  color: var(--color01);
  background: linear-gradient(transparent 60%, var(--color03) 60%);
}

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

/*TOP*/

.top-news__inner {
  border-radius: 20px;
  background-color: var(--color04);
  padding: 40px;
  margin-bottom: 40px;
}
.newsContent dl {
  width: 100%;
	display: flex;
}
.newsContent dl dt, .newsContent dl dd {
  padding: 15px 0;
  display: block;
  text-align: left;
}
.newsContent dl dt {
  width: 150px;
}
.newsContent dl dd {
	flex: 1;
  position: relative;
}
.medical-list {
	overflow: hidden;
  width: 105%!important;
  padding: 30px;
}
.medical-list__item {
  float: left;
  width: 45%;
  margin: 0 5% 3% 0;
}
.medical-list__item p {
  margin-bottom: 0;
}
.medical-list__item a {
  color: var(--color01);
  font-family: var(--font01);
  font-weight: 700;
}
.medical-list__item span.medical-list__img {
  position: relative;
  display: block;
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 15px var(--color01);
  padding: 60px 0;
  margin-bottom: 20px;

  /* なめらかな拡大＆リフト用のトランジション */
  will-change: transform, box-shadow, background-color;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), 
              box-shadow .35s cubic-bezier(.22,.61,.36,1),
              background-color .25s ease;
  transform-origin: center;
}
.medical-list__item span::after {
	content: "\f138";
  position: absolute;
  bottom: 17px;
  right: 17px;
  color: var(--color01);
	font-family: "Font Awesome 5 Free";
  font-size: 2.2rem;
	font-weight: 900;
}
.medical-list__item span img {
  display: block;
  width: 20%!important;
  margin: 0 auto 10px auto;
}
.medical-list__item a:hover .medical-list__img,
.medical-list__item a:focus-visible .medical-list__img {
  /* ほんの少し上に持ち上げつつ拡大 */
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 5px 12px rgba(0,0,0,.18);
}

.medical-list__item a:active .medical-list__img {
  /* クリック時は少し戻すと気持ちよい */
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,.16);
}


/* 画像自体のにじみ防止＆滑らかさ */
.medical-list__item span.medical-list__img img {
  display: block;
  width: 33%;
  margin: 0 auto 10px auto;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  transform: translateZ(0); /* アンチエイリアスの改善に寄与することあり */
}

/* 端末で動きを弱めたい人への配慮 */
@media (prefers-reduced-motion: reduce) {
  .medical-list__item span.medical-list__img,
  .medical-list__item span.medical-list__img img {
    transition: none;
  }
}

.link-list__item a {
  display: block;
  color: #fff;
  font-family: var(--font01);
  font-size: clamp(1.8rem,2.375vw,2rem);
  font-weight: 500;
  text-align: center;
  background-color: var(--color02);
  border-radius: 20px;
  padding: 30px 0;
}
.link-list__item:first-child span {
  background: url("../images/cmn-images/icon05.png") 0 50% no-repeat;
}
.link-list__item:last-child span {
  background: url("../images/cmn-images/icon06.png") 0 50% no-repeat;
}
.link-list__item span {
  background-size: 32px!important;
  padding:  10px 0 10px 45px;
}

/*FIRST*/

.definition {
	margin-bottom: 30px;
}
.definition:last-child {
	margin-bottom: 0;
}
.definition__tit {
	color: var(--color02);
	font-family: var(--font01);
	font-weight: 700;
	border-left: solid 3px;
	padding-left: 10px;
	margin-bottom: 20px;
}

/*MEDICAL*/

.treatment-list__item {
  background-color: var(--color03);
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 20px;
}

/*CONTACTLENS*/

.flow {
	text-align: center;	
}
.flow i {
	color: var(--color02);
	font-size: 4rem;
}
.flow-box {
	display: flex;
	background-color: var(--color04);
	border-radius: 20px;
	padding: 30px;
}
.flow-box__number {
	width: 80px;
}
.flow-box__number span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	width: 50px;
	color: #fff;
	font-family: var(--font01);
	font-size: 3rem;
  line-height: 100%;
  letter-spacing: 0;
	font-weight: 700;
	background-color: var(--color02);
	border-radius: 80px;
  margin-top: -10px;
}
.flow-box__txt {
	flex: 1;
	text-align: left;
}
.flow-box__txt p:last-child {
	margin-bottom: 0;
}

/*CLINIC*/

.outline tr:nth-child(odd) {
	background-color: #e6f8f8;	
}
.outline__tit {
	width: 200px;
	padding: 20px;
}
.outline__txt {
	padding: 20px;
}
.maina__image {
  display: block;
  width: 400px;
  margin: 0 auto;
}

/*NEWS*/

.pager a {
  color: var(--color01);
}
.anchor {
	background-color: var(--color03);
	padding: 40px 0;
}
.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){

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


}


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

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

.mainslider__txt {
  left: 5%;
  font-size: 3.5vw;
}

/*TOP*/

.top-news__inner {
  padding: 25px;
  margin-bottom: 30px;
}

/*NEWS*/

.news-top .wrapper {
	display: block;
}
.news__box {
	width: 100%;
	margin-bottom: 30px;
}
.news__tit img {
  width: 40px;
}
.news__txt {
  padding-left: 0;
}
.newsContent dl {
	display: block;
	margin-bottom: 20px;
}
.newsContent dl:last-child {
	margin-bottom: 0;
}
.newsContent dl dt, .newsContent dl dd {
  padding: 0;
}
.newsContent dl dt {
  width: 100%;
	margin-bottom: 10px;
}
}

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

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

.mainslider {
  border-radius: 20px;
}
.slider {
	width: 150%;
	margin: 0 auto 0 -75%;
}

.mainslider {
  margin: 0 auto 3vh auto;
}
.mainslider__txt {
  left: 3%;
  font-size: 4.5vw;
}

.medical {
	background-size: 6000px;
  padding: 40px 0;
}
.medical-list {
	overflow: hidden;
  width: 100%!important;
  padding: 15px;
}
.medical-list__item {
  float: none;
  width: 90%;
  margin: 0 auto 20px auto;
}
.medical-list__item:last-child {
	margin-bottom: 0;
}
.medical-list__item span {
  padding: 40px 0;
}
.medical-list__item span::after {
  font-size: 2rem;
}
.medical-list__item span img {
  width: 28%;
}

/*CONTACTLENS*/

.flow i {
	font-size: 3rem;
}
.flow-box {
	border-radius: 20px 0 20px 0;
	padding: 20px;
}
.flow-box__number {
	width: 50px;
}
.flow-box__number span {
	height: 35px;
	width: 35px;
	font-size: 1.8rem;
  margin-top: -5px;
}

/*CLINIC*/

.outline tr:nth-child(odd) {
	background-color: #e6f8f8;	
}
.outline__tit {
	display: block;
	width: 100%;
	padding: 10px 10px 0 10px;
}
.outline__txt {
	display: block;
	width: 100%;
	padding: 10px;
}
.maina__image {
  display: block;
  width: 400px;
  margin: 0 auto;
}

}

