@charset "UTF-8";

.main-visual{
    background: url(../images/mv01.png) no-repeat center / cover;
    height: 50vw;
    position: relative;
}
.mv_catch
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 30vw;
}
.gnav_inner
{
    width: 100%;
    background: #ffd5d5;
    border-top: 30px solid #f1a1a1;
    padding: 25px 0 15px;
}
.mv_point
{
    display: flex;
    position: absolute;
    bottom: 2%;
    left: 58%;
    width: 20vw;
}
.gnav
{
    width: 80%;
    margin: 0 auto;
}
.gnav ul
{
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.gnav li
{
    width: 25%;
}
.gnav li a
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.8rem;
    position: relative;
    gap: 5px;
    transition: .3s;
}
.gnav li a::before
{
    content: "";
        width: 2px;
        height: 20px;
        position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #333333;
}
.gnav .gnavi__list li a::before {
  display: none;
}
.gnav li a::after
{
    position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #ee2d7b;
  transition: .3s;
}
.gnav li a:hover::after{
  width: 50%;
    transform: translateX(50%)
}
.gnav li span
{
    font-family: gill-sans-nova, sans-serif;
    color: #a0a0a0;
    font-size: 1.6rem;
}
.flex
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.newsbox
{
    background: url("../images/l_bg.png") no-repeat bottom;
    background-size: cover;
    padding: 3vw 5vw 15vw;
    width: 50%;
}
.accessbox
{
    background: url("../images/r_bg.png") no-repeat bottom;
    background-size: cover;
    padding: 3vw 5vw 15vw;
    width: 50%;
}
.en
{
    font-family: gill-sans-nova, sans-serif;
}
.ttl {
  text-align: center;
  font-size: max(3vw , 3rem);
  margin-bottom: 2%;
    letter-spacing: 0.1em;
}
.pink
{
    color: #fe7171;
}
.news_box
{
    width: 100%;
    border-radius: 20px;
    background: #FFFFFF;
    padding: 2vw;
    font-size: max(1vw , 1.6rem);
    margin-bottom: 6%;
    height: 400px;
    overflow-y: scroll;
}
.news_box li
{
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #CCCCCC;
}
.news_box dt
{
    color: #fe7171;
    margin-bottom: 1rem;
}
.eme
{
    color: #00baae;
}
.time
{
    margin: 3%;
    text-align: center;
}
.green
{
    color: #73a052;
}
.map_img
{
    padding: 3% 0;
    text-align: center;
}
.btn
{
    padding: 3% 0;
    text-align: center;
}
.feature
{
    margin-top: -12vw;
    background: url("../images/feature_bg.png") no-repeat top;
    background-size: auto;
    position: relative;
    padding-bottom: 5vw;
}
.feature_deco
{
    position: absolute;
    top: 12vw;
    left: 75%;
}
.feature_ttl
{
    padding: 3vw;
    text-align: center;
}
.feature_sub
{
    padding: 0 3vw 3vw;
    text-align: center;
}
.wrap
{
    max-width: 1240px;
    margin: 4.6% auto;
}
.flex-2
{
    width: 48%;
}
.fbox_ttl
{
    display: flex;
    align-items: center;
    margin-bottom: 6%;
}
.f_txt
{
    font-size: max(1.6vw , 1.8rem);
    letter-spacing: 0.06em;
    line-height: 1.6;
    font-weight: 600;
    padding-left: 2vw;
}
.featurebox_bottom_inner
{
    max-width: 60%;
    margin-left: auto;
    padding: 3% 0;
}
.featurebox_bottom_inner2
{
    max-width: 60%;
    margin-right: auto;
    padding: 3% 0;
}
.img_box img:first-child
{
    padding-right: 2vw;
}
.alc
{
    align-items: center;
}
.purple
{
    color: #916ef4;
}
.orange
{
    color: #ffab4a;
}
.feature04
{
    width: 50%;
    padding: 3vw 6vw;
    background: url("../images/feature04_bg.png") no-repeat;
    background-size: contain;
    background-position: top;
}
.feature05
{
    width: 50%;
    padding: 3vw 6vw;
    background: url("../images/feature05_bg.png") no-repeat;
    background-size: contain;
    background-position: top;
}
.blue
{
    color: #0089c2;
}
.img_center
{
    text-align: center;
    padding: 3% 0;
}
.jcc
{
    justify-content: center;
}
.greeting
{
    background: url("../images/greeting_bg.png") no-repeat center;
    background-size: cover;
    padding: 2% 0;
    position: relative;
}
.greeting_inner
{
    background: #ffd5d5;
    padding: 0 2vw
}
.greeting_img
{
    position: relative;
}
.name
{
    position: absolute;
    bottom: 6%;
    left: 68%;
    z-index: 1;
}
.more2
{
    position: absolute;
  bottom: 3%;
  left: 46%;
  z-index: 1;
  width: 10%;
  min-width: 100px;
}
.greeting_txt
{
    padding: 3vw 6vw;
}
.greeting_ttl
{
    text-align: center;
    font-size: max(4.2vw , 3rem);
    margin-bottom: 6%;
    letter-spacing: 0.4em;
    color: #FFFFFF;
}
.greeting_sub
{
    text-align: center;
    margin-bottom: 6%;
}
.medical_ttl
{
    text-align: center;
    padding: 6% 0;
}
.medical_ttl p
{
    font-size: max(2vw , 2rem);
}
.hoken_inner
{
    background: url("../images/insurance_bg.png") no-repeat center;
    background-size: cover;
    padding: 3%;
}
.hoken_ttl
{
    text-align: center;
    color: #FFFFFF;
    padding: 1%;
    background: rgba(231,163,156,0.80);
    font-size: max(2vw , 2rem);
    margin-bottom: 6%;
}
.hoken_inner p
{
    text-align: center;
    font-size: max(1vw , 1.6rem);
    margin-bottom: 6%;
}
.free_inner
{
    background: url("../images/free_bg.png") no-repeat center;
    background-size: cover;
    padding: 3%;
    margin-bottom: 3%;
}
.free_ttl
{
    text-align: center;
    color: #FFFFFF;
    padding: 1%;
    background: rgba(138,145,194,0.80);
    font-size: max(2vw , 2rem);
    margin-bottom: 6%;
}
.free_inner p
{
    text-align: center;
    font-size: max(1vw , 1.6rem);
    margin-bottom: 6%;
}
.btn_box2
{
    width: calc(100% / 2 - 3vw);
    text-align: center;
}
.btn_box3
{
    width: calc(100% / 3 - 3vw);
}
.jse
{
    justify-content: space-evenly;
}
.gap3
{
    gap: 3vw;
}
.recruit_box
{
    padding: 3vw;
    background: url("../images/recruit_bg.png")no-repeat;
    background-size: cover;
    width: 50%;
}
.secttl
{
    text-align: center;
    margin-bottom: 3%;
    font-size: max(2vw , 2rem);
    line-height: 1;
}
.calender_box
{
    padding: 3vw;
    background: url("../images/calender_bg.png")no-repeat;
    background-size: cover;
    width: 50%;
}
.more03
{
    text-align: center;
    padding: 3% 0;
}
.gallery
{
    padding: 6% 0;
}
.footer
{
    padding: 3% 0;
    background: url("../images/footer_bg.png") no-repeat center;
    background-size: cover;
}
.f_wrap
{
    max-width: 90%;
    margin: 0 auto;
}
.f_info
{
    width: 52%;
}
.infotxt
{
    font-size: max(1vw , 1.6rem);
    text-align: center;
    margin-bottom: 3%;
}
.f_info .head-info
{
    top: 2vw;
}
.f_time
{
    width: 45%;
}
/*==================================================
スライダーのためのcss
===================================*/
.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}
.f_info
{
    position: relative;
}
.copy
{
    background: #f1a1a1;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.4rem;
    padding: 3%;
}
/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  width: 60px;
  height: 60px;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  transition:all 0.3s;
}

#page-top a:hover{
  opacity: .6;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }
  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
    opacity: 1;
  transform: translateX(0);
  }
  to {
    opacity: 1;
  transform: translateX(100px);
  }
}
@media screen and (min-width:981px) {
    .sp-only
    {
        display: none!important;
    }
}
@media screen and (max-width:980px) 
{
    .pc-only
    {
        display: none!important;
    }
    .main-visual {
  height: 65vw;
}
    .mv_catch {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 50vw;
}
    .mv_point {
  display: flex;
  position: absolute;
  bottom: -2%;
  left: 20%;
  width: 30vw;
}
    .newsbox {
  width: 100%;
}
    .accessbox {
  width: 100%;
}
    .feature_ttl {
  max-width: 70%;
        margin: 0 auto;
}
    .feature_sub {
  max-width: 70%;
  margin: 0 auto;
}
    .flex-2 {
  width: 100%;
        margin-bottom: 3%;
}
    .wrap {
  padding: 0 3%;
}
    .feature_deco {
  position: absolute;
  top: 23vw;
  left: 75%;
}
    .fbox_ttl img {
  max-width: 26%;
}
    .featurebox_bottom_inner {
  max-width: 100%;
  margin-left: 0;
  padding: 0;
}
    .featurebox_bottom_inner2 {
  max-width: 100%;
  margin-left: 0;
  padding: 0;
}
    .feature04 {
  width: 100%;
}
    .feature05 {
  width: 100%;
}
    .more2 {
  position: absolute;
  bottom: 0%;
  left: 70%;
}
    .greeting_inner {
  padding: 0 2vw 20vw 0;
}
    .medical_ttl {
  max-width: 70%;
  margin: 0 auto;
}
    .btn_box {
  width: calc(100% / 2 - 3vw);
}
    .recruit_box {
  width: 100%;
}
    .calender_box {
  width: 100%;
}
    .f_wrap {
  max-width: 100%;
}
    .footer .img_center
    {
        max-width: 50%;
        margin: 0 auto;
    }
    .f_info {
  width: 100%;
}
    .f_time {
  width: 100%;
}
    .head-info {
  position: relative;
        flex-direction: column;
}
    .head-info li:nth-of-type(1) h2 {
  font-size: 1.8rem;
}
    .head-info li:nth-of-type(1) h3 {
  font-size: 3rem;
}
    .head-info li:nth-of-type(1) p {
  font-size: 1.6rem;
}
    .head-info li:nth-of-type(2) p:nth-of-type(1) {
  font-size: 1.6rem;
}
    .head-info li:nth-of-type(2) p:nth-of-type(2) {
  font-size: 1.4rem;
}
    .f_info .head-info {
  top: 2vw;
  margin-bottom: 3rem;
}
}