@charset 'utf-8';
/*=============================================

表紙　共通

=============================================*/
.fv_slider {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv_slider li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 450px;
  margin: 0;
  padding: 0;
}

.fv_slider li.slider_image_start {
  -webkit-animation: slider_image_start_anime 1.5s forwards;
  animation: slider_image_start_anime 1.5s forwards;
}

.fv_slider img {
  width: 100%;
  min-width: 1300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes slider_image_start_anime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



/*
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

本文側

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
*/
.fv_top {
  height: 450px;
  background-size: cover;
}

.fv_top h2.fv_text {
  z-index: 1;
  position: absolute;
  bottom: 100px;
  display: block;
  overflow: hidden;
  margin: 0 auto;
  padding-top: 180px;
  height: 0 !important;
  line-height: 250%;
  width: 530px;
  background: url("../img/top/fv_text.svg") center center no-repeat;
  background-size: 100%;
}

.fv_top .fv_link {
  z-index: 1;
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 580px;
  height: 100px;
}

.fv_top .fv_link .greeting {
  position: absolute;
  left: 0;
  display: block;
  overflow: hidden;
  padding-top: 100px;
  height: 0 !important;
  line-height: 250%;
  width: 280px;
  background: url("../img/top/fv_link/greeting.png") center center no-repeat;
  background-size: 100%;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}

.fv_top .fv_link .greeting:hover {
  transform: translate(0, -5px);
}

.fv_top .fv_link .charm {
  position: absolute;
  right: 0;
  display: block;
  overflow: hidden;
  padding-top: 100px;
  height: 0 !important;
  line-height: 250%;
  width: 280px;
  background: url("../img/top/fv_link/charm.png") center center no-repeat;
  background-size: 100%;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}

.fv_top .fv_link .charm:hover {
  transform: translate(0, -5px);
}

.fv_text p.atn {
  border: 1px solid #009499;
  margin: 20px auto 0;
  padding: 10px;
  width: 60%;
  color: #009499;
}

.top_main_menu a {
  display: block;
}

.top_main_menu a img {
  -webkit-transition: all 0.2s;
  text-decoration: none;
}

.top_main_menu a:hover img {
  opacity: 0.4;
}

.top_main_menu h4 {
  position: absolute;
  box-sizing: border-box;
  bottom: -5px;
  width: 100%;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}
.top_main_menu .cell:nth-of-type(1) img {
  border-top-left-radius: 30px;
}
.top_main_menu .cell:nth-of-type(3) img {
  border-top-right-radius: 30px;
}
.top_main_menu .cell:nth-of-type(4) img {
  border-bottom-left-radius: 30px;
}
.top_main_menu .cell:nth-of-type(6) img {
  border-bottom-right-radius: 30px;
}


/*---------------------------------*/

.top_service_info {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 35% 1fr;
  margin-top: -50px;
}

.top_service_info .text {
  padding: 0 0 0 40px;
}

.top_service_info a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.top_service_info a img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  -webkit-transition: all 0.2s;
  text-decoration: none;
}

.top_service_info a:hover img {
  transform: scale(1.15);
}

.top_service_info h4 {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.top_service_info .info_text {
  position: absolute;
  bottom: 20px;
  margin: 0 20px;
  width: calc(100% - 40px);
  background-color: #ffffff;
  border-radius: 10px;
}

.top_service_info .info_text p {
  padding: 3em 10px 10px 10px;
  text-align: center;
  font-size: 0.8em;
}

.top_service_info .info_text h4 {
  position: absolute;
  top: -1em;
  width: 100%;
  text-align: center;
}

.top_service_info .link {
  margin: -100px 0 0;
  padding: 0;
}

.top_service_info .link .cell {
  overflow: hidden;
}
.top_service_info .link .cell:nth-of-type(1) {
  border-top-left-radius: 30px;
}
.top_service_info .link .cell:nth-of-type(3) {
  border-bottom-left-radius: 30px;
}


/*---------------------------------*/

.osirase li::after {
  content: "";
  display: block;
  clear: both;
}
.osirase li {
  zoom: 1;
}
.osirase span {
  float: left;
  margin: 0;
  padding: 0;
  margin-top: .3em;
  font-size: 70%;
  width: 8em;
}
.osirase p {
  float: left;
  margin: 0;
  padding: 0;
  width: calc(100% - 6em);
}


/*---------------------------------*/

.voice {
  position: relative;
  box-sizing: border-box;
  display: block;
  margin: 0;
  padding: 20px 0;
  text-align: center;
  background-color: #009499;
  color: #ffffff !important;
  font-weight: bold;
  border-radius: 10px;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}
.voice:hover {
  background-color: #18afb4;
}
.voice::after {
  content: "";
  display: block;
  position: absolute;
  top: 10%;
  left: -10px;
  width: 50px;
  height: 40px;
  background: url("../img/top/other_link_voice.svg") center center no-repeat;
  background-size: 100%;
}


/*---------------------------------*/

.staff_link {
  position: relative;
  display: block;
  transition: all 0.2s;
	-webkit-transition: all 0.2s;
}
.staff_link:hover {
  transform: translate(0px, -10px);
}
.staff_link p {
  position: absolute;
  top: 40%;
  margin: 0;
  padding: 10px;
  width: 25%;
  border: 3px solid #009499;
  background-color: #ffffff;
  text-align: center;
  font-weight: bold;
  border-radius: 10px;
}
.staff_link img {
  margin: 0 0 0 20%;
  padding: 0;
  width: 80%;
  border-radius: 20px;
}


.instagram_link{
margin: 0px auto;
padding: 0px 0px 20px 0px;
max-width: 500px;
width:90%;
}

.instagram_link img{
width:100%;
}



/*
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

タブレット向け調整

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
*/
@media all and (min-width: 640px) and (max-width: 1000px) {
}




/*
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

スマホ向け調整

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
*/
@media all and (max-width: 640px) {
  .fv_slider {
    height: 350px;
  }
  .fv_top {
    height: 350px;
    background: url("../img/top/fv.jpg") center center no-repeat;
    background-size: cover;
  }
  .fv_top h2.fv_text {
    z-index: 1;
    position: absolute;
    top: 20px;
    display: block;
    overflow: hidden;
    margin: 0 auto;
    padding-top: 40%;
    height: 0 !important;
    line-height: 250%;
    width: 100%;
    background: url("../img/top/fv_text.svg") center center no-repeat;
    background-size: 100%;
  }
  .fv_top .fv_link {
    z-index: 1;
    position: absolute;
    bottom: -50px;
    right: 10px;
    width: calc(100% - 20px);
    height: 100px;
  }
  .fv_top .fv_link .greeting {
    position: absolute;
    left: 0;
    display: block;
    overflow: hidden;
    padding-top: 20%;
    height: 0 !important;
    line-height: 250%;
    width: 49%;
    background: url("../img/top/fv_link/greeting.png") center center no-repeat;
    background-size: 100%;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
  }
  .fv_top .fv_link .greeting:hover {
    transform: translate(0, -5px);
  }
  .fv_top .fv_link .charm {
    position: absolute;
    right: 0;
    display: block;
    overflow: hidden;
    padding-top: 20%;
    height: 0 !important;
    line-height: 250%;
    width: 49%;
    background: url("../img/top/fv_link/charm.png") center center no-repeat;
    background-size: 100%;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
  }
  .fv_top .fv_link .charm:hover {
    transform: translate(0, -5px);
  }
  .fv_text p.atn {
    border: 1px solid #009499;
    margin: 20px auto 0;
    padding: 10px;
    width: 60%;
    color: #009499;
  }
  .fv_text h1 {
    font-size: 7vw;
  }
  .top_main_menu .grid-box {
    width: auto;
    margin: auto 20px;
  }
  .top_main_menu .grid-box.t_three {
    grid-template-columns: repeat(2, 1fr);
  }
  .top_main_menu h4 {
    position: absolute;
    bottom: 0px;
    width: 100%;
    font-size: 100%;
  }
  .top_main_menu .cell:nth-of-type(1) img {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }
  .top_main_menu .cell:nth-of-type(3) img {
    border-top-right-radius: 0px;
  }
  .top_main_menu .cell:nth-of-type(4) img {
    border-bottom-left-radius: 0px;
  }
  .top_main_menu .cell:nth-of-type(6) img {
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
  }
  .top_service_info {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 0px;
  }
  .top_service_info .grid-box {
    width: auto;
    margin: auto 20px;
  }
  .top_service_info .text {
    margin-top: -70px;
    padding: 0 40px;
  }
  .top_service_info a img {
    height: 300px;
  }
  .top_service_info .info_text {
    box-sizing: border-box;
    position: absolute;
    bottom: 0px;
    margin: 0 0 0 0;
    width: 100%;
    font-size: 100%;
    background-color: transparent;
  }
  .top_service_info .info_text p {
    display: none;
  }
  .top_service_info .info_text h4 {
    position: relative;
  }
  .top_service_info .link {
    margin: 30px 10px 0 10px;
    padding: 0;
  }
  .top_service_info .link .cell:nth-of-type(1) {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }
  .top_service_info .link .cell:nth-of-type(3) {
    border-bottom-left-radius: 0px;
  }
  .top_service_info .link .cell:nth-of-type(4) {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }
  .osirase li::after {
    content: "";
    display: block;
    clear: both;
  }
  .osirase li {
    zoom: 1;
  }
  .osirase span {
    float: left;
    margin: 0;
    padding: 0;
    margin-top: .3em;
    font-size: 70%;
    width: 8em;
  }
  .osirase p {
    float: left;
    margin: 0;
    padding: 0;
    width: calc(100% - 6em);
  }
  .voice {
    position: relative;
    box-sizing: border-box;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: #009499;
    color: #ffffff;
    border-radius: 10px;
  }
  .voice::after {
    content: "";
    display: block;
    position: absolute;
    top: 10%;
    left: -10px;
    width: 50px;
    height: 40px;
    background: url("../img/top/other_link_voice.svg") center center no-repeat;
    background-size: 100%;
  }
  .staff_link {
    position: relative;
    display: block;
  }
  .staff_link:hover {
    opacity: 0.8;
  }
  .staff_link p {
    position: absolute;
    top: auto;
    bottom: -20px;
    margin: 0;
    padding: 10px;
    width: 40%;
    border: 3px solid #009499;
    background-color: #ffffff;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
  }
  .staff_link img {
    margin: 0;
    padding: 0;
    width: 100%;
    border-radius: 13px;
  }
}
