@charset "UTF-8";

.swiper {
  position: relative;
}
.swiper .txtbox {
	position: absolute;
  z-index: 3;
  color: #fff;
	font-family: "Noto Serif JP", serif;
	font-size: 50px;
	line-height: 1.6em;
	font-weight: 400;
	letter-spacing: 0.02em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}
.swiper .topcolor {
  background-color: rgba(0,0,0,0.1);
  position: absolute;
	z-index: 2;
  width: 100%;
  height: 100%;
}
@media (max-width : 1024px) {
  .swiper .txtbox {
    font-size: 42px;
    letter-spacing: 0.01em;
  } 
}
@media (max-width : 900px) {
  .swiper .txtbox {
    font-size: 34px;
  } 
}
@media (max-width : 500px) {
  .swiper .txtbox {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
}
@media (min-width : 820px) {
  .pcno1 {
    display: none;
  }
}

/* お知らせ 
------------------------ */
.news {
  padding: 50px 40px 70px 40px;
  /*background-color: #f9f8f7;*/
}
@media (max-width : 900px) {
  .news {
    padding: 30px 50px 40px 50px;
  }
}
@media (max-width : 500px) {
  .news {
    padding: 20px 20px 30px 20px;
  }
}
.news h2 {
  font-size: 176%;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #40210f;
  position: relative;
	padding-left: 18px;
  margin-bottom: 15px;
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}
.news h2::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 33px;
	background-color: #40210f;
	position: absolute;
	top: 0px;
	left: 0;
}
@media (max-width : 900px) {
  .news h2 {
    font-size: 155%;
    text-align: center;
    padding-left: 0px;
    margin-bottom: 10px;
  }
  .news h2::before {
    display: none
  }
}
.news .inner {
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}
.news .inner .newsbox {
  width: 70%;
  order: 1;
}
@media (max-width : 900px) {
  .news .inner {
    display: block;
  }
  .news .inner .newsbox {
    width: 100%;
  }
}
.news .inner .infobox {
  width: 26%;
  order: 2;
}
@media (max-width : 900px) {
   .news .inner .infobox {
      width: auto;
      border-top: #ccc solid 1px;
      padding: 10px 45px;
  }
}
@media (max-width : 500px) {
  .news .inner .infobox {
    padding: 10px 15px;
  }
}

.news-wrap {
  width: 100%;
  /*overflow: hidden;
	overflow: auto;*/
  /*overflow-y: scroll;*/
  overflow-y: auto; /* SimpleBarを適用するために auto に変更 */
	height: 260px;
  padding-right: 3px;
}
.news-wrap .simplebar-scrollbar {
  background-color: #40210f !important;
  border-radius: 5px;
  width: 5px;
  }

/* iosで効かない
.news-wrap::-webkit-scrollbar {
  width: 5px;
}
@media (max-width : 500px) {
  .news-wrap::-webkit-scrollbar {
    width: 4px;
  }
}
.news-wrap::-webkit-scrollbar-track {
  background-color: rgba(255,255,255,0)
}
.news-wrap::-webkit-scrollbar-thumb {
  background-color: #40210f;
  border-radius: 8px;
}
*/
.newsbox dl {
  display: flex;
  flex-wrap: wrap;
  width: 98%;
  font-size: 88.8%;
  line-height: 1.5em;
}
.newsbox dl dt {
  width: 15%;
}
.newsbox dl dd {
  width: 85%;
}
@media (max-width : 500px) {
  .newsbox dl {
    display: block;
    /*font-size: 16px;*/
    font-size: 100%;
  }
  .newsbox dl dt, .newsbox dl dd {
    width: auto;
  }
}
.newsbox dl dt,
.newsbox dl dd {
  border-top: #ccc solid 1px;
  padding: 14px 0;
}
@media (max-width : 500px) {
  .newsbox dl dt {
    padding: 10px 0 0 0;
  }
  .newsbox dl dd {
    padding: 2px 0 10px 0;
    border-top: none;
    font-feature-settings: "palt";
  }
  dl.newses dd {
    padding-top: 4px;
  }
}
.newsbox dl:nth-of-type(1) dt span{
  background-color: #40210f;
  color: #ffffff;
  padding: 2px 6px 4px 6px;
  border-radius: 3px;
  font-size: 80%;
}
@media (max-width : 500px) {
  .newsbox dl:nth-of-type(1) dt span{
    padding: 1px 6px 3px 6px;
  }
}
/* 点滅 */
.blinking{
	-webkit-animation:blink 2.0s ease-in-out infinite alternate;
    -moz-animation:blink 2.0s ease-in-out infinite alternate;
    animation:blink 1.0s ease-in-out infinite alternate;
	color:#ffffff;
	background-color: #bd3266;
	margin-left: 3px;
	padding: 3px 5px 3px 5px;
	border-radius: 4px;
	font-size: 80%;
	margin-top: -1px;
	display: inline-table;
	line-height: 100%;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}


.news .inner .infobox ul li:nth-of-type(n+2) {
  margin-top: 8px;
}
.news .inner .infobox ul li a {
  display: block;
  /*background-color: #9b7537;*/
  /*background-color: #ead371;*/
  /*background-color: #9b7537;*/
  background-color: #947f53;
  color: #fff;
  /*color: #40210f;*/
  font-size: 92%;
  line-height: 1.3em;
  padding: 10px 25px 10px 15px;
  position: relative;
}
@media (max-width : 500px) {
  .news .inner .infobox ul li a {
    /*background-color: #ead371;*/
    /*color: #40210f;*/
  }
  .news .inner .infobox ul li a {
    text-align: center;
    padding: 6px 25px 8px 15px;
  }
}
.news .inner .infobox ul li a:before {
  content: '';
  width: 7px;
  height: 7px;
  border: 0;
  /*border-top: solid 2px #40210f;
  border-right: solid 2px #40210f;*/
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 13px;
  bottom: 0;
  margin: auto;
  transition: 0.5s;
}
.news .inner .infobox ul li a:hover {
  /*background-color: #ffe67d;*/
  background-color: #b29150;
}
.news .inner .infobox ul li a:hover:before {
  right: 10px;
}
@media (max-width : 500px) {
  .news .inner .infobox ul li a:before {
    /*border-top: solid 2px #40210f;
    border-right: solid 2px #40210f;*/
    right: 10px;
  }
}

.newses a {
  color: #542f1c;
  text-decoration: underline;
}
.newses a:hover {
  text-decoration: none;
  color: #bd3266;
}

/* あいさつ 
------------------------ */
.greeting {
  background-color: #f4f2f1;
}
.greeting .container {
  max-width: 1500px;
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  background-image: url("../images/gr02.png");
  background-repeat: no-repeat;
  background-position: bottom right 16%;
  background-size: auto 75%;
}
@media (max-width : 1040px) {
  .greeting .container {
    padding-left: 0;
    padding-right: 20px;
  }
}
@media (max-width : 500px) {
  .greeting .container {
    display: block;
    background-image: none;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 40px;
  }
}
.greeting .container .doctor {
  width: 42%;
  /*min-width: 600px;*/
  position: relative;
}
@media (max-width : 1040px) {
  .greeting .container .doctor {
    width: 38%;
  }
}
.greeting .container .doctor .doctor-img {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  bottom: 0;
}
@media (max-width : 500px) {
  .greeting .container .doctor {
    width: 100%;
    min-width: inherit;
  }
  .greeting .container .doctor .doctor-img {
    width: 69%;
    
  }
}
.greeting .container .message-box {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 20px;
}
@media (max-width : 1040px) {
  .greeting .container .message-box {
    padding-left: 0px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width : 500px) {
  .greeting .container .message-box {
     width: 90%;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
    margin-top: -95px;
    padding-left: 0;
  }
}
.greeting .container .message-box .innerbox {
  /*padding: 50px 40px 40px 20px;*/
}
@media (max-width : 1040px) {
  .greeting .container .message-box .innerbox {
    padding: 30px 0px 25px 0px;
  }
}
@media (max-width : 500px) {
  .greeting .container .message-box .innerbox {
    padding: 30px 30px 25px 30px;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.3);
  }
}
.greeting .container .message-box h2 {
  color: #7c0404;
  font-size: 160%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: #40210f solid 2px;
  position: relative;
  z-index: 1;
  display: table;
}
.greeting .container .message-box h2 span {
  position: relative;
}
.greeting .container .message-box h2 span::before {
	content: "";
	display: inline-block;
	width: 37px;
	height: 37px;
	background-color: #e2c8c8;
	position: absolute;
	top: -10px;
	left: -22px;
  z-index: -1;
}
@media (max-width : 1040px) {
  .greeting .container .message-box h2 {
    font-size: 135%;
  }
  .greeting .container .message-box h2 span::before {
    width: 30px;
	  height: 30px;
    top: -7px;
	  left: -17px;
  }
}
@media (max-width : 500px) {
  .greeting .container .message-box h2 {
    display: table;
    margin-left: auto;
    margin-right: auto;
    font-size: 133%;
    text-align: center;
    border-bottom: none;
  }
  .greeting .container .message-box h2 span::before {
    width: 26px;
	  height: 26px;
    top: -7px;
	  left: -17px;
  }
}
p.message {
  padding-top: 20px;
  /*font-size: clamp(1rem, 0.936rem + 0.27vw, 1.125rem);*/
}
.greeting .container .message-box p:nth-of-type(2) {
  margin-top: 20px;
}
p.morebtn {
  display: table;
  margin-top: 25px;
}
@media (max-width : 1040px) {
  p.message {
    padding-top: 10px !important;
  }
}
@media (max-width : 500px) {
  p.message {
    padding-top: 0px;
    /*border-top: #40210f solid 1px;*/
  }
  .greeting .container .message-box p {
    margin-left: auto;
    margin-right: auto;
  }
}
p.morebtn a {
  display: block;
  background-color: #40210f;
  line-height: 100%;
  padding: 10px 28px 12px 18px;
  font-size: 90%;
  color: #fff;
}
p.morebtn a:hover {
  background-color: #6e4c40;
}

/* 診療案内 
------------------------ */
.medical-Info {
  padding: 50px 40px 70px 40px;
}
@media (max-width : 900px) {
  .medical-Info {
    padding: 40px 30px 50px 30px;
  }
}
@media (max-width : 500px) {
  .medical-Info {
    padding: 30px 20px 40px 20px;
  }
}
.medical-subject {
  max-width: 1370px;
  margin: 60px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width : 900px) {
  .medical-subject {
    width: 100%;
    justify-content: center;
    margin: 40px auto 0;
  }
}
@media (max-width : 500px) {
  .medical-subject {
    width: auto;
    justify-content: space-between;
    margin: 40px auto 0;
  }
}
.medical-subject li {
  display: flex;
  flex-direction: column;
  width: 12%;
  transition: 0.5s;
}
.medical-subject li:hover {
  transform: scale(1.05);
}
@media (max-width : 1024px) {
  .medical-subject li:hover {
    transform: scale(1.00);
  }
}
.medical-subject li:nth-child(-n+3) {
  width: 22.9%;
}
.medical-subject li:nth-child(1) {
  margin-left: 14.5%;
}
.medical-subject li:nth-child(3) {
  margin-right: 14.5%;
}
.medical-subject li:nth-child(n+4) {
  width: 19%;
  margin-top: 15px;
}
@media (max-width : 900px) {
  .medical-subject li {
    width: 32% !important;
    margin: 0 0.5% !important;
  }
  .medical-subject li:nth-of-type(n+4) {
    margin-top: 10px !important;
  }
}
@media (max-width : 500px) {
  .medical-subject li {
    width: 48.5% !important;
    margin: 0 !important;
  }
  .medical-subject li:nth-child(n+3) {
    margin-top: 10px !important;
  }
}
.medical-subject li h3 {
  flex: 0 0 auto;
  display: flex;
  align-items: center; 
  justify-content: center;
  padding: 10px 0;
  text-align: center;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 128%;
  line-height: 1.2em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: linear-gradient(180deg,rgba(110, 76, 64, 1) 56%, rgba(110, 76, 64, 0.7) 100%);
}
.medical-subject li:nth-child(-n+3) h3 {
  max-height: 50px !important;
}
@media (max-width : 900px) {
  .medical-subject li h3 {
    font-size: 118%;
    letter-spacing: -0.06em;
  }
}
@media (max-width : 500px) {
  .medical-subject li h3 {
    font-size: 108%;
    letter-spacing: -0.06em;
  }
}
.medical-subject li .container {
  flex: 1;
  border-left: #6e4c40 solid 1px;
  border-right: #6e4c40 solid 1px;
  border-bottom:  #6e4c40 solid 1px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 20px 20px 15px 20px;
  background: linear-gradient(0deg,rgba(110, 76, 64, 0.05) 56%, rgba(110, 76, 64, 0) 100%);
  position: relative;
}
.medical-subject li .container:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #7c0404;
  transform: rotate(45deg);
  position: absolute;
  bottom: 0px;
  right: 8px;
  margin: auto;
}
@media (max-width : 500px) {
  .medical-subject li .container:before {
    border-width: 7px 0 7px 7px;
    bottom: 3px;
  }
  .medical-subject li .container {
    padding: 10px 10px 10px 10px;
  }
}

.medical-subject li .container .icn {
  margin-left: auto;
  margin-right: auto;
}
.medical-subject li .container .icn img {
  transition: 0.5s;
}
.medical-subject li:hover img {
  transform: scale(1.07);
}
@media (max-width : 500px) {
  .medical-subject li:hover img {
    transform: scale(1.0);
  }
}
.medical-subject li:nth-child(-n+3) .icn {
  width: 53%;
}
.medical-subject li:nth-child(n+4) .icn {
  width: 70%;
}
@media (max-width : 500px) {
  .medical-subject li .icn {
    width: 86% !important;
  }
}
.medical-subject li .container p {
  font-size: 77%;
  line-height: 1.5em;
  text-align: center;
  padding-top: 12px;
}
@media (max-width : 1024px) {
  .medical-subject li .container p {
    font-size: 65%;
  }
}
@media (max-width : 500px) {
  .medical-subject li:nth-child(-n+6) p {
    display: none;
  }
  .medical-subject li .container p {
    padding-top: 2px;
    line-height: 1.3em;
  }
}

/* 特徴 
-------------------------- */
.features {
  
}
.features {
  padding: 70px 0px 70px 0px;
  background-color: #f4f2f1;
}
@media (max-width : 500px) {
  .features {
    padding: 30px 0px 40px 0px;
  }
}
.features-mess {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  margin-bottom: 30px;
  position: relative;
}
.features-mess::before {
	content: "";
	display: inline-block;
	width: 611px;
	height: 574px;
	background-image: url("../images/tree02.png");
  background-repeat: no-repeat;
  background-size: cover;
	position: absolute;
	bottom: -34px;
	right: -50px;
  z-index: 0;
}
@media (max-width : 500px) {
  .features-mess {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 40px;
    margin-bottom: 10px;
  }
}
.features-mess .img {
  width: 48%;
  order:1;
}
.features-mess .messbox {
  width: 46%;
  order:2;
  display: flex;
  align-items: center;
}
.messbox p {
  padding-top: 20px;
}
@media (max-width : 1024px) {
  .features-mess .img {
    width: 40%;
  }
  .features-mess .messbox {
    width: 54%;
  }
}
@media (max-width : 500px) {
  .features-mess .img {
    width: 100%;
    margin-top: 20px;
  }
  .features-mess .messbox {
    width: 100%;
  }
}
.features-device {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  margin-bottom: 30px;
}
.features-device .messbox {
  width: 46%;
  display: flex;
  align-items: center;
}
.features-device .img {
  width: 50%;
}
@media (max-width : 1024px) {
  .features-device .messbox {
    width: 56%;
    display: flex;
    align-items: center;
  }
  .features-device .img {
    width: 40%;
  }
}
@media (max-width : 500px) {
  .features-device {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 40px;
    margin-bottom: 0px;
  }
  .features-device .messbox {
    width: 100%;
  }
  .features-device .img {
    width: 100%;
    margin-top: 15px;
  }
  .features-device .morebtn {
    display: none;
  }
}
p.device-name {
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px;
  display: table;
  background-color: #ad8236;
  color: #fff;
  font-size: 85%;
  line-height: 1.3em;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: -15px;
}
.features-device p.device-name {
  width: 48%;
}
@media (max-width : 900px) {
  p.device-name {
    width: 80% !important;
  }
}
.features-device2 {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
 }
.features-device2 .imgs {
  width: 24%;
}
.features-device2 .morebtn {
  display: none;
}

@media (max-width : 500px) {
  .features-device2 {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0px;
  }
  .features-device2 .imgs {
    width: 100%;
    margin-top: 15px;
  }
  .features-device2 .morebtn {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
}
/* スライド */
.carousel-container {
  width: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
}
.carousel-slide {
  flex-shrink: 0;
  width: 338px;
  height: 283px;
  margin-right: 10px;
}
@media (max-width : 1024px) {
  .carousel-slide {
    width: 214px;
    height: 179px;
  }
}
@media (max-width : 500px) {
  .carousel-slide {
    width: 214px;
    height: 179px;
  }
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* スライド全体の半分をループ */
}

/* 連携医療機関 */
.affiliated-hospital {
  position: relative;
}
.affiliated-hospital .backimg {
  height: 560px;
  overflow: hidden;
}
@media (max-width : 900px) {
  .affiliated-hospital .backimg {
    height: auto;
    overflow: visible;
    line-height: 0;
  }
}
.affiliated-hospital .topcolor {
  background-color: rgba(64,33,15,0.1);
  position: absolute;
	z-index: 2;
  width: 100%;
  height: 100%;
}
.affiliated-hospital .hospitals {
  background-color: rgba(255,255,255,0.9);
  padding: 70px 70px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 90%;
  max-width: 1360px;
}
@media (max-width : 900px) {
  .affiliated-hospital .hospitals {
    padding: 30px 30px;
  }
}
.hospitals p {
  text-align: center;
  padding: 20px 0 26px 0;
}
@media (max-width : 500px) {
  .hospitals p {
    padding: 14px 0 16px 0;
  }
}
.hospitals ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width : 500px) {
  .hospitals ul {
    display: block;
  }
}
.hospitals ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 24.5%;
  height: 64px;
  padding: 0 20px;
  background-color: rgba(197,174,178,0.3);
  border: #40210f solid 1px;
  font-size: 88%;
  line-height: 1.3em;
}
.hospitals ul li:nth-child(1) {
  margin-left: 12.6%;
}
.hospitals ul li:nth-child(3) {
  margin-right: 12.6%;
}
.hospitals ul li:nth-of-type(n+4) {
  margin-top: 8px;
}
@media (max-width : 1024px) {
  .hospitals ul li {
    height: 54px;
    padding: 0 10px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 80%;
  }
  .hospitals ul li:nth-of-type(-n+3) {
    width: 32.66%;
  }
}
@media (max-width : 500px) {
  .hospitals ul li {
    width: 100% !important;
    height: 42px;
    font-size: 88%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hospitals ul li:nth-of-type(n+2) {
    margin-top: 6px !important;
  }
}


/* 共通 
-------------------------- */
h2.topmd {
  font-size: 200%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #40210f;
  text-align: center;
  padding-bottom: 8px;
}
@media (max-width : 900px) {
  h2.topmd {
    font-size: 175%;
    padding-bottom: 2px;
  }
}
@media (max-width : 500px) {
  h2.topmd {
    font-size: 155%;
    padding-bottom: 2px;
  }
}
.enmd {
  font-size: 76%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #7c0404;
  text-align: center;
  letter-spacing: 0.06em;
  position: relative;
}
.enmd::after{
  content:'';
  width: 80px;
  height: 2px;
  background-color:#40210f;
  position:absolute;
  bottom: -16px;
  left:50%;
  transform: translateX(-50%)
}
@media (max-width : 500px) {
  .enmd::after{
    width: 50px;
    bottom: -8px;
  }
}

/* ■見出し */
.md-wrap {
  display: table;
  border-bottom: #40210f solid 2px;
}
@media (max-width : 500px) {
  .md-wrap {
    display: block;
    border-bottom: #40210f solid 2px;
  }
}
.md-wrap.mdtype1 {
  display: block;
}
.txc {
  text-align: center;
}
.md-common-top {
  color: #282828;
  font-size: 160%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  padding-bottom: 14px;
  position: relative;
  z-index: 10;
}
span.square {
  position: relative;
}
span.square::before {
	content: "";
	display: inline-block;
	width: 37px;
	height: 37px;
	background-color: #d1c8c1;
	position: absolute;
	top: -10px;
	left: -20px;
  z-index: -1;
}
.square.type2::before {
	width: 37px;
	height: 37px;
	top: -10px;
	left: -22px;
}
@media (max-width : 900px) {
  .md-common-top {
    font-size: 145%;
  }
  span.square::before {
    width: 30px;
	  height: 30px;
    top: -7px;
	  left: -17px;
  }
}
@media (max-width : 500px) {
  .md-common-top {
    font-size: 130%;
    text-align: center;
  }
  span.square::before {
    width: 26px;
	  height: 26px;
    top: -7px;
	  left: -17px;
  }
}


.arrow a {
  position: relative;
  padding-right: 35px !important;
}
.arrow a:before {
  content: '';
  width: 7px;
  height: 7px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 13px;
  bottom: 0;
  margin: auto;
}