﻿@charset "UTF-8";

@import url('//fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;600;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');
@import url('//fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
/* Google font Icon */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");


/*========================
トップページヘッダー
========================*/
.topimg {
  width: 100%;
  max-width: 1240px;
  height: 680px;
  margin: 0 auto;
  position: relative;
  z-index: -1;
}
@media screen and (max-width: 1000px) {
.topimg {
  height: 540px;
  }
}
@media screen and (max-width: 767px) {
.topimg {
  height: 480px;
  }
}
@media screen and (max-width: 640px) {
.topimg {
  height: 420px;
  }
}
@media screen and (max-width: 480px) {
.topimg {
  height: 360px;
  }
}

/*キャッチコピー*/
.topimg h2 {
  text-align: center;
  text-shadow: 0 0 8px #000;
  font-family: 'Zen Old Mincho', serif;
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1.6;
  color: #FFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.topimg h2 span{
  display: block;
  font-size: 0.55em;
  line-height: 1.6;
  margin-top: 18px;
}
.topimg h2 .topcatchbr{
  display: none;
}
@media screen and (max-width: 1000px) {
.topimg h2 {
  font-size: 2em;
  }
}
@media screen and (max-width: 640px) {
.topimg h2 {
  font-size: 1.8em;
  }
.topimg h2 span{
  font-size: 0.65em;
  }
}
@media screen and (max-width: 480px) {
.topimg h2 .topcatchbr{
  display: block;
  }
.topimg h2 span{
  display: none;
  }
}


/*========================
NEWS
========================*/
#news {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 42px 42px 24px;
  background: #FFF;
  box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.3);
  margin-top: -32px;
  z-index: 1;
  position: relative;
}
@media screen and (max-width: 640px) {
#news {
  padding: 32px 24px 12px;
  margin-top: -24px;
  }
}

.newsbox{
  width: 100%;
  padding:0;
  margin: 0 auto;
  background: #FFF;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
}
.news_title{
  width: 25%;
  padding: 0 24px 0 0;
  position: relative;
}
.news_detail{
  width: 75%;
  padding: 0;
}
.instabanner {
  margin: 18px auto 0;
}
.instabanner img{
  width: 100%;
  max-width: 164px;
}
.recruitbanner {
  margin: 10px auto 0;
}
.recruitbanner img{
  width: 100%;
  max-width: 164px;
}
.news_title h5{
  color: #2E56A6;
  font-size: 2.4em;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
@media screen and (max-width: 1000px) {
.newsbox{
  display: block;
  flex-direction: column;
  }
.news_title{
  width: 100%;
  padding: 0 0 0 0;
  margin-bottom: 18px;
  }
.news_detail{
  width: 100%;
  }
.instabanner {
  position: absolute;
  top: -18px;
  right: -18px;
  margin: 0 auto;
  }
.recruitbanner {
  position: absolute;
  top: -18px;
  right: 154px;
  margin: 0 auto;
  }
}
@media screen and (max-width: 640px) {
.news_title h5{
  font-size: 2.1em;
  }
.news_title h4{
  font-size: 0.9em;
  }
.instabanner {
  top: -20px;
  right: -12px;
  }
.instabanner img{
  max-width: 124px;
  }
.recruitbanner img{
  max-width: 124px;
  }
.recruitbanner {
  right: 120px;
  }
}
@media screen and (max-width: 480px) {
.news_title h5{
  font-size: 1.8em;
  }
.news_title h4{
  font-size: 0.8em;
  }
.instabanner {
  top: -12px;
  right: -12px;
  }
.instabanner img{
  max-width: 94px;
  }
.recruitbanner img{
  max-width: 94px;
  }
.recruitbanner {
  top: -12px;
  right: 88px;
  }
}

/* 詳細中身 */
details {
  border-bottom: 1px solid #999;
  padding: 12px 0;
}
.news_detail details:last-child{
  border-bottom: none;
}
.newsarticle{
  padding: 15px 0 6px;
  font-size: 0.95em;
}
summary {
  display: block;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  color: #2E56A6;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.6;
  padding: 0 2em 0 0;
}
summary span{
  display: block;
  color: #AAA;
  font-size: 0.95em;
  font-weight: 400;
}
summary::-webkit-details-marker {
	display: none;
}
summary:after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 1.6em;
  line-height: 1;
  color: #999;
  font-family:"Material Symbols Rounded";
	content: "\e145"; /*プラス*/
  font-variation-settings:
  'FILL' 1,
  'wght' 400
}
details[open] summary:after {
  font-family:"Material Symbols Rounded";
	content: "\e15b"; /*マイナス*/
  font-variation-settings:
  'FILL' 1,
  'wght' 400
}
@media screen and (max-width: 640px) {
summary {
  font-size: 1em;
  }
}

details[open] .newsarticle {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
0% {
  opacity: 0;
  transform: translateY(-10px);
  }
100% {
  opacity: 1;
  transform: none;
  }
}


/*========================
診療時間
========================*/
.tophours {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 48px 42px;
}
.tophours .hourtable {
  max-width: 840px;
}
.tophours h3 {
  font-size: 1.1em;
  text-align: center;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
.tophours {
  padding: 32px 24px;
  }
}
@media screen and (max-width: 480px) {
.tophours h3 {
  font-size: 1em;
  }
}


/*========================
診療日カレンダー
========================*/
#calendar {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
@media screen and (max-width: 640px) {
#calendar {
  padding: 0 24px;
  }
}

/* 並び */
#calendar ul {
  width:100%;
  height: auto;
  margin: 0 auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:stretch;
}
#calendar ul li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  height: auto;
  margin:0 24px 0 0;
}
#calendar ul li:last-child{
  margin:0 0 0 0;
}
@media screen and (max-width: 767px) {
#calendar ul{
  flex-direction: column;
  display:block;
  max-width: 640px;
  }
#calendar ul li {
  width:100%;
  max-width:100%;
  margin:0 0 24px 0;
  }
#calendar ul li:last-child{
  margin:0 0 0 0;
  }
}

/* カレンダーボックス */
.calendarwrap {
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.3);
}


/*========================
ひとつでも思い当たることがあればご相談ください
========================*/
.worry {
  width: 100%;
  margin: 0 auto;
  padding: 64px 0;
  background-image:url(../img/index/worry.png);
  background-position:left center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.worry h4{
  font-size: 2.3em;
  line-height: 1.6;
  font-weight: 500;
  color: #111;
  text-shadow:0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF;
  margin-bottom: 24px;
}
.worry h5{
  position: relative;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.25em;
  line-height: 1.55;
  font-weight: 700;
  color: #000;
  padding: 0 0 0 2em;
  text-shadow:0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF;
  margin-bottom: 18px;
  margin-left: 32px;
}
.worry h5 strong{
  font-family: "Noto Sans JP", sans-serif;
  color: #2E56A6;
  font-weight: 700;
}
.worry h5:before {
	position: absolute;
	top: 0.02em;
	left: 0;
  font-size: 1.6em;
  line-height: 1;
  color: #2E56A6;
  font-family:"Material Symbols Rounded";
	content: "\e877"; /*チェックマーク*/
  font-variation-settings:
  'FILL' 1,
  'wght' 400
}
@media screen and (max-width: 1000px) {
.worry h5{
  font-size: 1.2em;
  margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
.worry h4{
  font-size: 2em;
  }
}
@media screen and (max-width: 640px) {
.worry h4{
  font-size: 1.65em;
  }
.worry h5{
  margin-bottom: 15px;
  }
}
@media screen and (max-width: 480px) {
.worry {
  padding: 48px 0 24px;
  }
.worry h4{
  font-size: 1.3em;
  }
.worry h5{
  font-size: 1.05em;
  }
}

/*-------------------------
<!--ひとつでも思い当たることがあればご相談ください -->
<div class="worry">
<div class="content1240">
<!--フェードインstart --><div class="content fade-in">
<h4>ひとつでも思い当たることがあれば<br>清田整形外科へご相談ください</h4>
<h5>以前はもっと長く歩けたのに、最近は<strong>膝や腰の痛み</strong>でちょっとしか歩けない</h5>
<h5>関節に効くという<strong>サプリメントを使っている</strong>けど効果が感じられない</h5>
<h5>手術は受けたくないけど、これ以上<strong>痛みやしびれを悪化させたくない</strong></h5>
<h5><strong>骨粗しょう症が怖い</strong>からカルシウムを多く摂るようにしているけど大丈夫かな？</h5>
<h5>高齢で、足腰が悪い<strong>一人暮らしの親が心配</strong></h5>
<h5>部活を休むと試合に出してもらえないので、<strong>痛みを我慢しながら練習している</strong></h5>
<h5>延々とリハビリを続けているけど、あまり効果が実感できない</h5>
<h5>薬の処方や注射だけではなく<strong>根本的な治療を受けたい</strong></h5>
<h5>最近よく聞く<strong>ロコモティブシンドローム</strong>って？</h5>
<!--フェードインend --></div>
<!--end of content1240 --></div>
<!--end of worry --></div>
--------------------------*/


/*========================
診療リンク
========================*/
/*吹き出し*/
.servicecomment span{
  position: relative;
  text-align: center;
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.2em 1em 0.2em;
  margin-bottom: 8px;
  color: #2E56A6;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.6em;
  line-height: 1.5;
  margin-top: 42px;
  margin-bottom: 32px;
}
.servicecomment span:before,
.servicecomment span:after{
  content: "";
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 86%;
  background: #2E56A6;
}
.servicecomment span:before {
  transform: rotate(-24deg);
  left: 0;
}
.servicecomment span:after {
  transform: rotate(24deg);
  right: 0;
}
@media screen and (max-width: 640px) {
.servicecomment span{
  font-size: 1.3em;
  margin-bottom: 24px;
  }
}

.servicecomment2 span{
  position: relative;
  text-align: center;
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.2em 0.8em 0.2em;
  margin-bottom: 8px;
  color: #222;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1.5;
  margin-top: 24px;
}
.servicecomment2 span:before,
.servicecomment2 span:after{
  content: "";
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 86%;
  background: #222;
}
.servicecomment2 span:before {
  transform: rotate(-24deg);
  left: 0;
}
.servicecomment2 span:after {
  transform: rotate(24deg);
  right: 0;
}
@media screen and (max-width: 640px) {
.servicecomment2 span{
  font-size: 1.1em;
  margin-top: 0px;
  }
}

.topservice {
  width:100%;
  max-width: 1240px;
  margin: auto;
  padding:0 32px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:flex-start;
  flex-wrap: wrap;

}
.topservice li{
  width: 16.66%;
  max-width:16.66%;
  width: calc(100% / 6);
  margin:0 auto;
  padding: 0 18px;
  text-align: center;
}
.topservice li a{
  display: block;
  text-decoration: none;
  font-weight: 400;
}
.topservice li img{
  width: 100%;
  max-width: 164px;
  margin-bottom: 12px;
}
.topservice li h3{
  font-weight: 700;
  color: #2D55A5;
  font-size: 1.1em;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 8px;
}
.topservice p {
  color: #333;
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1.65;
  text-align: left !important;
}
.topservice li a:hover img{
  opacity: .7;
  transition: 1s;
  transform: rotateY(180deg);
}
.topservice li a:hover h3{
  text-decoration: underline;
}
@media screen and (max-width: 1240px) {
.topservice li{
  padding: 0 10px;
  }
}
@media screen and (max-width: 1000px) {
.topservice {
  max-width: 740px;
  }
.topservice li{
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  padding: 0 18px 12px;
  }
}
@media screen and (max-width: 640px) {
.topservice {
  padding:0 24px;
  }
.topservice li{
  padding: 0 12px 12px;
  }
.topservice li img{
  max-width: 124px;
  }
}
@media screen and (max-width: 480px) {
.topservice li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding: 0 8px 12px;
  }
}


/*========================
診療アイコン
========================*/
.topservice2 {
  width:100%;
  max-width: 960px;
  margin: auto;
  padding:0 32px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
  margin-top: 24px;
}
.topservice2 li{
  width: 25%;
  max-width:25%;
  width: calc(100% / 4);
  margin:0;
  padding: 0 12px 24px;
  text-align: center;
}
.topservice2 li a{
  display: block;
  text-decoration: none;
  font-weight: 400;
}
.topservice2 li img{
  width: 100%;
  max-width: 124px;
  margin-bottom: 12px;
}
.topservice2 li h3{
  font-weight: 700;
  color: #545454;
  font-size: 0.9em;
  line-height: 1;
  white-space: nowrap;
}
.topservice2 li a:hover img{
  opacity: .7;
  transition: 1s;
  transform: rotateY(180deg);
}
.topservice2 li a:hover h3{
  color: #2E56A6;
}
@media screen and (max-width: 1000px) {
.topservice2 {
  max-width: 100%;
  margin-top: 18px;
  }
.topservice2 li{
  padding: 0 6px 18px;
  }
.topservice2 li h3{
  font-size: 0.8em;
  }
}
@media screen and (max-width: 640px) {
.topservice2 {
  max-width: 480px;
  padding:0 24px;
  }
.topservice2 li{
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  padding: 0 6px 15px;
  }
.topservice2 li img{
  max-width: 100px;
  margin-bottom: 8px;
  }
.topservice2 li h3{
  font-size: 0.9em;
  }
}
@media screen and (max-width: 480px) {
.topservice2 li img{
  max-width: 84px;
  }
.topservice2 li h3{
  font-size: 0.8em;
  }
}


/*========================
当院の主な特長
========================*/
/*それぞれの疾患に応じた専門的な治療と指導*/
.topfeature1{
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 480px;
  padding: 0;
  margin: 0 auto;
  background-image:url(../img/index/feature01.png);
  background-position:left center;
  background-repeat:no-repeat;
  -moz-background-size: 84% auto;
  background-size: 84% auto;
}
/*骨粗しょう症の予防・治療は当院にご相談ください*/
.topfeature2{
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 480px;
  padding: 0;
  margin: 0 auto;
  background-image:url(../img/index/feature02.png);
  background-position:right top;
  background-repeat:no-repeat;
  -moz-background-size: 84% auto;
  background-size: 84% auto;
}
/*理学療法士が個別で対応運動器リハビリテーション*/
.topfeature3{
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 480px;
  padding: 0;
  margin: 0 auto;
  background-image:url(../img/index/feature03.png);
  background-position:left center;
  background-repeat:no-repeat;
  -moz-background-size: 84% auto;
  background-size: 84% auto;
}
@media screen and (max-width: 1000px) {
.topfeature1,
.topfeature2,
.topfeature3 {
  -moz-background-size: auto 100%;
  background-size: auto 100%;
  height: 420px;
  }
}
@media screen and (max-width: 767px) {
.topfeature1,
.topfeature2,
.topfeature3 {
  -moz-background-size: cover;
  background-size: cover;
  background-position:center center;
  height: 360px;
  margin-bottom: 184px;
  }
}
@media screen and (max-width: 640px) {
.topfeature1,
.topfeature2,
.topfeature3 {
  height: 320px;
  }
}
@media screen and (max-width: 480px) {
.topfeature1,
.topfeature2,
.topfeature3 {
  height: 280px;
  margin-bottom: 212px;
  }
}

/*説明ボックス*/
.topfeaturebox_right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 100%;
  max-width: 480px;
  background: #FFF;
  padding: 32px 42px;
  box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.3);
  margin: 0 0 0 auto;
}
.topfeaturebox_left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 100%;
  max-width: 480px;
  background: #FFF;
  padding: 32px 42px;
  box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.3);
  margin: 0 0 0 auto;
}
@media screen and (max-width: 960px) {
.topfeaturebox_right,
.topfeaturebox_left {
  max-width: 380px;
  padding: 32px 32px;
  }
}
@media screen and (max-width: 767px) {
.topfeaturebox_right,
.topfeaturebox_left {
  max-width: 460px;
  top: 420px;
  }
}
@media screen and (max-width: 640px) {
.topfeaturebox_right,
.topfeaturebox_left {
  max-width: 94%;
  top: 380px;
  }
}
@media screen and (max-width: 480px) {
.topfeaturebox_right,
.topfeaturebox_left {
  top: 340px;
  padding: 24px 24px;
  }
}

.topfeaturebox_right h3,
.topfeaturebox_left h3 {
  font-size: 1.35em;
  font-weight: 700;
  color: #2E56A6;
  line-height: 1.6;
  margin-bottom: 18px;
}
.topfeaturebox_right p,
.topfeaturebox_left p {
  font-family: 'Zen Old Mincho', serif;
  font-size: 0.95em;
  font-weight: 500;
  color: #111;
  line-height: 1.6;
  margin-bottom: 18px;
}
@media screen and (max-width: 960px) {
.topfeaturebox_right h3,
.topfeaturebox_left h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
  }
.topfeaturebox_right p,
.topfeaturebox_left p {
  font-size: 0.9em;
  }
}
@media screen and (max-width: 640px) {
.topfeaturebox_right p,
.topfeaturebox_left p {
  font-size: 0.95em;
  }
}
@media screen and (max-width: 480px) {
.topfeaturebox_right h3,
.topfeaturebox_left h3 {
  font-size: 1.2em;
  margin-bottom: 12px;
  }
}

/*ボタン位置*/
.topfeaturebox_right .topfeaturebtn{
  position: absolute;
  bottom: -1.2em;
  right: 2em;
}
.topfeaturebox_left .topfeaturebtn{
  position: absolute;
  bottom: -1.2em;
  left: 2em;
}

/*ボタン*/
.topfeaturebtn {
	display: inline-block;
	background-color: #2E56A6;
  color: #FFF;
	text-decoration: none;
	padding: 1em 3em 1em 2em;
	transition: 0.3s;
	position: relative;
  line-height: 1;
  white-space: nowrap;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.topfeaturebtn:after {
	position: absolute;
  top: 50%;
  right: 0.2em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-size: 1.8em;
  font-family:"Material Symbols Rounded";
	content: "\e941"; /*矢印*/
  font-variation-settings:
  'FILL' 0,
  'wght' 200
}
.topfeaturebtn:hover{
	background-color: #5878B8;
	transition: 0.3s;
}


/*========================
当院の主な特長
========================*/
.policylist ol {
  counter-reset: original-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}
.policylist ol li {
  line-height: 1.6;
  padding-left: 2.4em;
  margin-bottom: 1em;
  font-size: 1.05em;
  font-weight: 500;
  position: relative;
}
.policylist ol li:before {
  content: counter(original-counter);
  counter-increment: original-counter;
  background-color: #2E56A6;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.8em;
  width: 1.8em;
  color: #FFF;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.05em;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  top: -0.2em;
  left: 0;
}


/*========================
院内写真スライダー
========================*/
#topgallery {
  width: 100%;
  padding: 84px 0 0;
}
.loopSlide {
  width: 100%;
}
.loopSlide li img {
  width: 100%;
  max-width: 420px;
  margin: 0 6px;
}
@media screen and (max-width: 1000px) {
.loopSlide li img {
  max-width: 360px;
  }
}
@media screen and (max-width: 767px) {
.loopSlide li img {
  max-width: 320px;
  }
}
@media screen and (max-width: 640px) {
#topgallery {
  padding: 48px 0 0;
  }
.loopSlide li img {
  max-width: 240px;
  }
}
@media screen and (max-width: 480px) {
.loopSlide li img {
  max-width: 200px;
  margin: 0 3px;
  }
}

