@charset "utf-8";

/*********************************
*
*  .main_vsl
*
**********************************/
.main_vsl {
  margin: auto;
  width: 100%;
  height: auto;
  position: relative;
  font-family: serif;
}
.main_vsl h1 {
  text-align: center;
  position: absolute;
  top: 0;
  z-index: 2;
  width: 100%;
}
.main_vsl h1 img {
  width: 100%;
}
.main_vsl_bg {
  transition: all 1s;
  transform-origin: top;
  transform: scaleY(0.74);
  width: 100%;
}
.main_vsl_bg img {
  width: 100%;
}
@media (max-width:767px) {
  .main_vsl h1 img{
    width: 100%;
  }
}

/*********************************
*
*  accordion
*
**********************************/
.acd-title {
  padding: 50px 0 0;
}
.acd-title-inner {
  width: 300px;
  height: 60px;
  line-height: 60px;
  margin: auto;
  border: 2px solid #9b9b9b;
  color: #333333;
  font-size: 25px;
  text-align: center;
  background-size: contain;
  cursor: pointer;
  transition: opacity 0.2s linear;
  background: #ffffff;
  font-weight: bold;
  position: relative;
  border-width: 1px;
}
.acd-title-inner::after {
  content: "";
  display: block;
  right: 25px;
  top: 25px;
  width: 0;
  height: 0;
  border-color: #813f1f transparent transparent transparent;
  border-style: solid;
  border-width: 12px 7px;
  position: absolute;
}
.opened .acd-title-inner::after {
  border-color: transparent transparent #813f1f transparent;
  border-style: solid;
  top: 10px;
}
.acd-title-inner:hover {
  opacity: 0.7;
}
@media (max-width:767px) {
  .acd-title {
    padding: 0;
  }
  .acd-title-inner {
    margin-top: 20px;
    width: calc(530 / 750 * 100vw);
    height: calc(105 / 750 * 100vw);
    line-height: calc(105 / 750 * 100vw);
    font-size: calc(36 / 750 * 100vw);
  }
  .acd-title-inner::after {
    right: calc(50 / 750 * 100vw);
    top: calc(40 / 750 * 100vw);
    border-width: calc(22 / 750 * 100vw) calc(12 / 750 * 100vw);
  }
}
/*********************************
*
*  lede
*
**********************************/
.lede-wrap {
  padding: 0 25px;
  text-align: center;
  background-size: cover;
  line-height: 1.6;
  font-size: 26px;
}
.about-area div {
  position: relative;
}
.about-area div p {
  font-size: 25px;
  font-size: 1.7vw;
  color: #813f1f;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .about-area div p {
    font-size: calc(30 / 750 * 100vw);;
    line-height: calc(40 / 750 * 100vw);;
  }
  .lede-wrap {
    padding: calc(50 / 750 * 100vw) 0;
  }
}
.anchor-btn-list {
  margin: 0 0 50px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  font-family: serif;
  }
  .anchor-btn-list li {
    position: relative;
    padding: 0 10px;
    width: 30%;
    background: url(../images/nav_dot_pc.png) repeat-y left top;
  }
  .anchor-btn-list li:last-of-type {
    background: url(../images/nav_dot_pc.png) repeat-y right top,url(../images/nav_dot_pc.png) repeat-y left top;
  }
  .anchor-btn-list li a {
    display: block;
  }
  .anchor-btn-list li div {
    font-size: 18px;
    /* font-size: 1.3vw; */
    color: #813f1f;
    margin: 10px 0;
    font-weight: bold;
  }

  .bread_icon {
    animation: bgMove linear 3s infinite;
    -webkit-animation: bgMove linear 3s infinite;
  }
@media screen and (max-width: 767px) {
  .bread_icon {
    width: calc(30 / 750 * 100vw);
  }
  .anchor-btn-list .guide_bg img:first-child {
    width: calc(80 / 750 * 100vw);
  }
  .anchor-btn-list li:nth-of-type(2) {
    background: url(../images/nav_dot_pc.png) repeat-y left top,url(../images/nav_dot_pc.png) repeat-y right top;
  }
  .anchor-btn-list li div {
    font-size: 3.8vw;
    margin: 5px 0;
  }
  .anchor-btn-list {
    flex-wrap: wrap;
    padding: 0 6%;
    margin: 0 0 calc(135 / 750 * 100vw);
  }
  .anchor-btn-list li {
    margin: calc(80 / 750 * 100vw) 0 0 0;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .anchor-btn-list li span {
    font-size: 12px;
    transform: translate(-60%,-50%);
  }
  .anchor-btn-list li:after {
    width: 5px;
    height: 5px;
    border-width: 1px;
    right: 5px;
  }
}


/*********************************
*
*  about
*
**********************************/
.about-wrap .about-content {
  position: relative;

}
.frame {
  max-width: 1000px;
  width: auto;
}
.about-wrap .frame-about {
  padding: 30px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-wrap .frame-about h2 {
  font-size: 45px;
}
.about-wrap .frame-about div {
  margin: 0 35px;
}
.about-wrap .frame-about div p {
  letter-spacing: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.6;
  height: 80%;
}
@media screen and (max-width: 767px) {
  .frame {
    margin: 0 calc(28 / 750 * 100vw);
  }
  .about-wrap .frame-about img {
    margin: calc(30/ 750 * 100vw);
    width: 43%;
  }
  .about-wrap .frame-about h2 {
    margin: 0 calc(25 / 750 * 100vw) 0 calc(10 / 750 * 100vw);
    font-size: 20px;
  }
  .about-wrap .frame-about div {
    margin: calc(30 / 750 * 100vw) 0 calc(25 / 750 * 100vw) 0;
    width: 50%;
  }
  .about-wrap .frame-about div p {
    font-size: 12px;
    line-height: 1.2;
  }
  .about-wrap .frame-about .pot {
    width: 28%;
    left: -11px;
    top: -13px;
  }
  .about-wrap .frame-about .geta {
    width: 27%;
    right: -6px;
    top: -4px;
  }
}
/*********************************
*
*  facility
*
**********************************/
i {
  font-style: normal;
  text-decoration: underline;
}
em {
  font-style: normal;
}
.facility-bg {
  background:#fff5dc;
}
.facility-wrap {
  padding: 12% 0 0 0;
  background: url(../images/bg_institution_pc.png) no-repeat 0 0 /100%;
  font-family: sans-serif;
  background-position: center top;
}
.facility-inner {
  background:  url(../images/bg_left.png) repeat-y 5% 0,url(../images/bg_right.png) repeat-y 95% 0; 
}
.facility-items-wrap {
  position: relative;
}
.facility-ttl {
  text-align: center;
  position: relative;
}
.facility-item-img img {
  width: 100%;
}
section {
  padding-bottom: 60px;
  background: url(../images/line_pc.png) repeat-x 0 bottom;
}
section:last-of-type {
  background: none;
}
.facility-cat-ttl {
  text-align: center;
  padding-top: 75px;
  margin: 0 0 35px;
}
.facility-cat-ttlnone {
  background: none;
  padding-top: 40px;
  margin: 0 0 35px;
}
.facility-cat-ttl span {
  display: inline-block;
  font-size: 26px;
  background: url(../images/title_bg.png) no-repeat;
  width: 456px;
  line-height: 60px;
  height: 59px;
  background-size: contain;
  color: #813f1f;
  font-weight: bold;
  font-family: serif;
}
@media screen and (max-width: 767px) {
  section {
    padding-bottom: calc(75 / 750 * 100vw);
    background: url(../images/line_sp.png) repeat-x 0 bottom;
  }
  .facility-wrap {
    padding: calc(120 / 750 * 100vw) 0 0;
    background: url(../images/bg_institution_sp.png) no-repeat 0 0 /100%;
  }
  .facility-inner {
    background: none;
  }
  .facility-ttl img {
    top: -25px;
  }
  .facility-cat-ttl span {
    font-size: 16px;
    width: calc(625 / 750 * 100vw);
    height: calc(85 / 750 * 100vw);
    line-height: calc(85 / 750 * 100vw);
  }
  .facility-cat-ttl {
    padding-top: calc(70 / 750 * 100vw);
    margin: 0 0 calc(60 / 750 * 100vw) ;
    background-size: 1.5%;
  }
}

.facility-items-list {
  padding: 0 60px;
  display: flex;
  flex-wrap: wrap;
}
.facility-items-list li {
  width: 30%;
  margin: 2% 1.6% 0;
  border: 1px solid #cdcdcd;
  background: #ffffff;
  font-size: 14px;
  position: relative;
}
.more-items-wrap .facility-items-list:not(li:nth-of-type(1),.facility-items-list li:nth-of-type(2),.facility-items-list li:nth-of-type(3))  {
  margin-top: 2%;
}
.facility-items-list li:nth-of-type(1),.facility-items-list li:nth-of-type(2),.facility-items-list li:nth-of-type(3)   {
  margin-top: 0;
}
.facility-items-list li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-left: 15px solid #7e3e20;
  border-bottom: 15px solid transparent;
  border-right: none;
  right: 5px;
  bottom: -2px;
  transform: rotate(45deg);
}
.facility-items-list li a {
  height: 100%;
  box-sizing: border-box;
  color: #4e4e4e;
  display: block;
  padding: 20px 20px 45px;
}

.facility-item-lab {
  display: inline-block;
  border: 1px solid #cdcdcd;
  width: 85px;
  height: 26px;
  line-height: 29px;
  text-align: center;
  margin-top: 15px;
  font-weight: 900;
}
.facility-item-lab:nth-child(1){
  margin-right: 10px;
}
.facility-item-introduction {
  margin: 10px 0 20px;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 39px;
}
.facility-item-sevice {
  font-size: 16px;
  font-weight: 900;
  color: #7e3e20;
}

@media screen and (max-width: 1200px) {
  .facility-items-list li {
    margin: 5px;
    width: 31%;
    border: none;
  }
  .facility-items-list {
    padding: 0 10px;
  }
  .facility-items-list li a {
    padding: 10px 10px 45px;
  }
  .facility-item-lab:nth-child(1) {
    margin-right: 2px;
  }
  .facility-item-lab {
    margin-top: 6px;
  }
}

@media screen and (max-width: 800px) {

  .facility-inner {
    background: none;
  }
  .facility-items-list li {
    font-size: 12px;
  }
  .facility-item-lab {
    width: 63px;
    height: 25px;
  }
  .facility-item-introduction {
    height: 33px;
  }
  .facility-items-list li a::after {
    border-top: 8px solid transparent;
    border-left: 8px solid #7e3e20;
    border-bottom: 8px solid transparent;
    border-right: none;
  }
  .facility-items-list li a {
    padding: 10px 10px 25px;
  }
  .facility-item-sevice {
    font-size: 14px;
  }
  .anchor-btn-list li div {
    font-size: 14px;
  }
  .about-area div p {
    font-size: 15px;
  }
}
@media screen and (max-width: 767px) {

  .facility-item-introduction {
    height: auto;
  }
  .more-items-wrap .facility-items-list li:nth-of-type(3)  {
    margin-top: 2%;
  }
  .facility-items-list li:nth-of-type(3)   {
    margin-top: 2%;
  }
  .facility-items-list {
    padding: 0;
    justify-content: space-between;
  }
  .facility-items-list li {
    font-size: 12px;
    width: 48.7%;
    margin: 2% 1% 0 0;
  }
  .facility-items-list li:nth-child(2n){
    margin-right: 0;
  }
  .facility-item-lab {
    width: auto;
    height: 16px;
    padding: 0 6px;
    line-height: 16px;
    margin-top: calc(15 / 750 * 100vw);
  }
  .facility-item-lab:nth-child(1) {
    margin-right: 3px;
  }
  .facility-items-list li a {
    padding: calc(20 / 750 * 100vw) calc(20 / 750 * 100vw) calc(40 / 750 * 100vw);
  }
  .facility-item-introduction {
    margin: calc(10 / 750 * 100vw) 0 calc(30 / 750 * 100vw);
    height: 32px;
  }
  .facility-item-sevice {
    margin: calc(40 / 750 * 100vw) 0 calc(30 / 750 * 100vw);
    font-size: 13px;
  }
  .facility-items-list li a::after {
    transform: scale(0.5) rotate(45deg);
    right: calc(6 / 750 * 100vw);
    bottom: calc(6 / 750 * 100vw);
  }
  .facility-item-space:first-of-type {
    margin-right: 1px;
  }
  .facility-item-space {
    padding: 0 1px;
  }
}

/*********************************
*
*  banner
*
**********************************/
.search_wrapper {
  padding: 120px 0 85px;
  text-align: center;
}
.banner-wrap {
  padding: 150px 0 70px;
  background-color: #ffffff;
}
@media screen and  (max-width: 767px) {
  .banner-wrap {
    padding: calc(100 / 750 * 100vw) 0 calc(70 / 750 * 100vw);
  }
  .search_wrapper {
    padding: calc(45 / 750 * 100vw) 0 calc(100 / 750 * 100vw);
    text-align: center;
  }

}

@media screen and (max-width: 800px) {
  .search_link_facility img.sp_none {
    width: 80%;
  }
  .search_wrapper {
    padding: 30px 0 85px;
    text-align: center;
}
}
.yutai-top-btn {
  margin-top: 60px;
}
.banner-ttl {
  letter-spacing: 0;
  font-size: 35px;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-ttl span {
  margin: 0 15px;
}
@media screen and  (max-width: 767px) {
  .banner-ttl span {
    font-size: calc(36 / 750 * 100vw);
  }
  .search_link_facility::after {
    right: 13px;
    letter-spacing: normal;
    transform: scale(0.9);
  }
  .banner-ttl {
    font-size: 18px;
    background-size: contain;
    letter-spacing: 0;
  }
  .banner-ttl img {
    width: 20%;
  }
  .search_link_facility ,.yutai-top-btn{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .search_link_facility img ,.yutai-top-btn img {
    width: 100%;
  }
  .yutai-top-btn {
    margin-top: calc(60 / 750 * 100vw);
  }
  .yutai-top-btn img{
    width: 72%;
  }
}
@media screen and  (max-width: 350px) {
  .search_link_facility {
    font-size: 16px;
    height: 50px;
  }
}
.btn-yutai-wrap {
  display: flex;
  justify-content: center;
}
.random-banner-area{
  margin-top: 40px;
  width: 100%;
}
@media screen and  (max-width: 767px) {
  .random-banner-area{
    margin: calc(65 / 750 * 100vw) auto 0;
    width: 75%;
  }
}
@media screen and  (min-width: 768px) {
  .items {
    font-size: 0;
  }
  .items li{
    display: inline-block;
    width: 48%;
  }
  .items li + li {
    margin-left: 4%;
  }
}
@media screen and  (max-width: 767px) {
  .items {
    text-align: center;
  }
  .items li + li {
    margin: 20px 0 0 0;
  }
}

/*******************

- .toPagetop

********************/
.toPagetop {
  position: fixed;
  width: 85px;
  height: 85px;
  right: 30px;
  bottom: 30px;
  cursor: pointer;
  z-index: 14;
  animation: bgMove linear 2s infinite;
  -webkit-animation: bgMove linear 2s infinite;
}
.toPagetop img {
  -webkit-transition: opacity 0.2s linear;
  -o-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
}
.toPagetop img:hover {
  opacity:0.8;
}
@media (max-width:767px) {
  .toPagetop {
    width: calc(98 / 750 * 100vw);
    height: 55px;
    right: 10px;
    bottom: calc(300 / 750 * 100vw);
  }
}

@keyframes bgMove {
    0% {
      transform: translateY(0);
    } 
    50% {
      transform: translateY(20px);
    } 
    100% {
      transform: translateY(0);
    } 
}

@-webkit-keyframes bgMove {
  0% {
    transform: translateY(0);
  } 
  50% {
    transform: translateY(20px);
  } 
  100% {
    transform: translateY(0);
  } 
}














