@charset "utf-8";
/* ==========================================================================
	MAIN
	========================================================================== */
.mainimage {
  position: relative;
  width: 100%;
  background: url("../images/index-images/mv.jpg") 50% 50% no-repeat;
  background-size: cover;
  padding-top: 792px;
}
.mainimage h2 {
  position: absolute;
  color: #fff;
  font-family: var(--font01);
  font-size: 4.7rem;
  font-weight: 500;
  text-align: left;
  left: 0;
  bottom: 50px;
  margin-left: max(calc(50% - 800px), 30px);
  text-shadow: 0 0 15px #2f2525, 0 0 10px #2f2525;
}
.mainimage h2 strong {
  font-size: 110%;
}
/* ==========================================================================
	CONTENTS
	========================================================================== */
#news {
  background-color: var(--color03);
  padding-bottom: 80px;
}
#news .box01 {
  display: flex;
  flex-wrap: wrap;
}
#news .box01 h2 {
  width: 24%;
}
.newsContent {
  width: 76%;
  padding-top: 120px;
  margin-bottom: 30px;
}
.newsContent dl {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.newsContent dl dt, .newsContent dl dd {
  display: block;
  text-align: left;
}
.newsContent dl dt {
  width: 30%;
  padding-left: 1em;
}
.newsContent dl dd {
  position: relative;
}
.newsContent dl dd a {
  color: #313131;
}
.newsContent dl dd a:hover {
  color: var(--color04);
}
@media screen and (max-width: 767px) {
  .newsContent {
    margin-bottom: 30px;
  }
  .newsContent dl {
    display: block;
  }
  .newsContent dl dt, .newsContent dl dd {
    width: 100%;
    padding-left: 0;
  }
  .newsContent dl dt {
    padding-bottom: 5px;
  }
  .newsContent dl dd {
    padding-top: 0;
  }
  .newsContent dl dd:after {
    content: none;
  }
}
#guide .inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
#guide .inner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#guide .inner ul li {
  width: 32%;
}
#guide .inner ul li a {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 100%;
}
#guide .inner ul .page01 a {
  background: url("../images/index-images/clinic.jpg") 50% 50% no-repeat;
  background-size: cover;
}
#guide .inner ul .page02 a {
  background: url("../images/index-images/medical.jpg") 50% 50% no-repeat;
  background-size: cover;
}
#guide .inner ul .page03 a {
  background: url("../images/index-images/expence.jpg") 50% 50% no-repeat;
  background-size: cover;
}
#guide li a::before {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(93, 60, 22, 0.56);
  top: 0;
  left: 0;
  transition: 0.4s ease-in-out;
}
#guide li a:hover::before {
  background-color: rgba(93, 60, 22, 0.80);
}
#guide li a::after {
  display: block;
  content: "";
  position: absolute;
  width: 35px;
  height: 9px;
  background: url("../images/cmn-images/icon-arrow.png") 0 0 no-repeat;
  background-size: 100% auto;
  bottom: 40px;
  right: 40px;
  transition: 0.4s ease-in-out;
}
#guide li a:hover::after {
  transform: translate(20px, 0);
}
#guide .inner ul li h2 {
  position: absolute;
  color: #fff;
  font-size: 2.4rem;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#guide .inner ul li h2 strong {
  display: block;
  font-size: 200%;
  font-weight: 500;
  margin-bottom: 15px;
}
#guide .inner ul li h2 span {
  display: block;
  font-family: var(--font02);
  font-size: 1.2rem;
  margin-bottom: 25px;
}
#guide .inner ul li a h2::after {
  display: block;
  content: "";
  width: 100px;
  height: 100px;
  margin: 20px auto 0 auto;
}
#guide .inner ul .page01 a h2::after {
  background: url("../images/cmn-images/icon-top01.png") 0 0 no-repeat;
  background-size: 100% auto;
}
#guide .inner ul .page02 a h2::after {
  background: url("../images/cmn-images/icon-top02.png") 0 0 no-repeat;
  background-size: 100% auto;
}
#guide .inner ul .page03 a h2::after {
  background: url("../images/cmn-images/icon-top03.png") 0 0 no-repeat;
  background-size: 100% auto;
}
#feature ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#feature ul li {
  width: 31%;
  border: 1px solid var(--color02);
  border-top: 8px solid var(--color02);
  background-color: #fff;
  padding: 50px 30px;
}
#feature ul li h3 {
  color: var(--color02);
  font-size: 1.8rem;
  margin-bottom: 20px;
}
#feature ul li p {
  margin-bottom: 0;
}

#feature {
  position: relative;
  z-index: 10;
}
.top-bg {
  position: relative;
  padding-bottom: 1px;
  margin-bottom: 80px;
}
.top-bg::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 60%;
  background-color: var(--color03);
  bottom: 0;
  left: 0;
  z-index: -1;
}
/* ==========================================================================
	PC 1025px -
	========================================================================== */
@media screen and (min-width: 1025px) {}
@media screen and (max-width: 1600px) {
  #guide .inner {
    width: 95%;
  }
}
@media screen and (max-width: 1200px) {}
/* ==========================================================================
	TABLET - 1024px
	========================================================================== */
@media screen and (max-width:1024px) {
  .mainimage {
    padding-top: 66%;
  }
  .mainimage h2 {
    font-size: 4.2727vw;
  }
  #guide .inner {
    width: 90%;
  }
  #guide li a::after {
    width: 35px;
    height: 9px;
    bottom: 6%;
    right: 6%;
  }
  #guide li a:hover::after {
    transform: translate(10px, 0);
  }
  #guide .inner ul li h2 {
    font-size: 2.1818vw;
  }
  #guide .inner ul li h2 strong {
    font-size: 150%;
    margin-bottom: 15px;
  }
  #guide .inner ul li h2 span {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  #guide .inner ul li a h2::after {
    width: 50px;
    height: 50px;
    margin: 20px auto 0 auto;
  }

}
/* ==========================================================================
	SP - 640px
	========================================================================== */
@media screen and (max-width: 640px) {
.mainimage {
  padding-top: 80%;
}
.mainimage h2 {
  bottom: 25px;
}
  #news {
    padding-bottom: 40px;
  }
  #news .box01 {
    display: block;
  }
  #news .box01 h2 {
    width: 100%;
  }
  .newsContent {
    width: 100%;
    padding-top: 0;
    margin-bottom: 40px;
  }
  #news .box02 {
    width: 100%;
  }
  #guide .inner ul {
    display: block;
    width: 100%;
    margin: 0 auto;
  }
  #guide .inner ul li {
    width: 100%;
    margin-bottom: 30px;
  }
  #guide .inner ul li a {
    padding-top: 60%;
  }
  #guide .inner ul li h2 {
    font-size: 1.8rem;
  }
  #guide .inner ul li h2 span {
    font-size: 1.2rem;
  }
  #feature ul {
    display: block;
    margin-bottom: -20px;
  }
  #feature ul li {
    width: 100%;
    border-top: 5px solid var(--color02);
    padding: 40px 30px;
    margin-bottom: 20px;
  }
  #feature ul li h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .top-bg {
    margin-bottom: 40px;
  }
}