@charset "UTF-8";

.main-visual {
    background: url(../images/mv01.png) no-repeat center / cover;
    height: 50vw;
    position: relative;
}

.mv_catch {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 40vw;
}

.gnav_inner {
    width: 100%;
    background: #ffa200;
    border-top: 30px solid #fcbf55;
    padding: 25px 0 15px;
}

.mv_point {
    display: flex;
    position: absolute;
    bottom: 2%;
    left: 58%;
    width: 20vw;
    gap: 5%;
}

.gnav {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.gnav ul {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.gnav li {
    padding: 0 2vw;
}

.gnav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.8rem;
    position: relative;
    gap: 5px;
    transition: .3s;
    color: #ffffff;
    line-height: 1;
}

.gnav li a img {
    padding-bottom: 8px;
}

.gnav li a::before {
    content: "";
    width: 2px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: -3vw;
    transform: translateY(-50%);
    background: #ffffff;
}

.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;
    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%;
    text-align: center;
}

.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: #ea6099;
}

.orange {
    color: #ffa200;
}

.green {
    color: #73a052;
}

.blue {
    color: #0089c2;
}

.s_pink {
    color: #ff8181;
}

.yellow {
    color: #ffd52d;
}

.white {
    color: #ffffff;
}

.center {
    text-align: center;
}

.ft_24 {
    font-size: max(3vw, 24px);
}

.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: #ffa200;
    margin-bottom: 1rem;
}

.eme {
    color: #00baae;
}

.time {
    margin: 3% 0;
    text-align: center;
}

.accessbox p {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
}

.map_img {
    padding: 3% 0;
    text-align: center;
    aspect-ratio: 700 / 530;
    width: 100%;
}

.btn {
    padding: 3% 0;
    text-align: center;
}

.feature {
    margin-top: -12vw;
    background: url("../images/feature_bg.png") no-repeat top;
    background-size: cover;
    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: 1340px;
    margin: 4.6% auto;
}

.feature .wrap {
    max-width: 1340px;
    margin: 4.6% auto 17%;
}

.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;
}

.img_center img {
    width: 100%;
}

.jcc {
    justify-content: center;
}

.greeting {
    background-color: #ffd52d;
    padding: 30px 0;
    position: relative;
}

.greeting_inner {
    background: #ffa200;
    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);
}

.medical .wrap {
    max-width: 1700px;
}

.medical .wrap .gap3 {
    max-width: 1230px;
    margin: 0 auto 80px;
    gap: 40px;
}

.medical .wrap .gap4 {
    gap: 40px;
}

.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: #f1bd76;
    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%;
}

.free_ttl {
    text-align: center;
    color: #FFFFFF;
    padding: 1%;
    background: #e7a39c;
    font-size: max(2vw, 2rem);
    margin-bottom: 6%;
}

.free_inner p {
    text-align: center;
    font-size: max(1vw, 1.6rem);
    margin-bottom: 6%;
}

.btn_box {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.jse {
    justify-content: space-evenly;
}

.recruit_box {
    padding: 3vw;
    background: url("../images/recruit_bg.png")no-repeat;
    background-size: cover;
    width: 50%;
}

.recruit_box p {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

.secttl {
    text-align: center;
    margin-bottom: 3%;
    font-size: max(2vw, 2rem);
    line-height: 1;
}

.secttl p {
    text-align: center;
}

.topics_box {
    padding: 3vw;
    background: url("../images/topics_bg.png")no-repeat;
    background-size: cover;
    width: 50%;
    text-align: center;
}

.topics_itemWrap {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 80%;
    align-items: center;
}

.topics_box .more {
    margin: 0 auto;
}

/* 追加（ここから） */
.topics_text_scroll {
  overflow-y: auto;
  height: 100%; /* 親の176pxに対してぴったり */
  box-sizing: border-box;
  text-align: left;
}

.topics_text_scroll h4 {
  margin-top: 0;
  font-size: 16px;
}

.topics_content {
  font-size: 14px;
  line-height: 22px;
}

.topics_item {
  background-color: #ffffff;
  padding: 10px;
  box-sizing: border-box;
  width: 90%;
  max-width: 600px;
  height: 176px; /* 記事背景の高さ固定 */
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.topics_date {
  color: #ffa200;
  font-size: 16px;
  margin-bottom: 1rem;
}
/* 追加（ここまで） */

.gallery {
    padding: 6% 0;
}

 .top_slide{
    margin-bottom: 40px;
}
 .top_slide .slide{
margin-left: 20px;
}

.f_wrap {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

footer .img_center {
    max-width: 430px;
    margin: 0 auto;
}

.f_info {
    width: 470px;
    font-size: 16px;
}

.f_info p {
    width: 470px;
    font-size: 16px;
}

.infotxt {
    font-size: max(1vw, 1.6rem);
    text-align: center;
    margin-bottom: 3%;
}

.f_info .head-info {
    top: 2vw;
}

.f_time {
    width: calc(100% - 500px);
    max-width: 630px;
}

.f_time p {
    padding: 20px 0;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider img {
    width: 100%;
    /*スライダー内の画像を横幅100%に*/
    height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slider .slick-slide {
    margin: 0 10px;
    /*スライド左右の余白調整*/
}

.f_info {
    position: relative;
}

.copy {
    background: #ffa200;
    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: 58vw;
    }

    .main-visual_bttom {
        height: 65vw;
        background-color: #ffa200;
    }

    .mv_catch {
        position: absolute;
        bottom: -53vw;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }

    .mv_point {
        display: flex;
        position: absolute;
        justify-content: space-between;
        bottom: -40%;
        left: 5%;
        width: 90%;
        gap: 20px;
    }

    .mv_point img {
        width: calc((100% - 20px)/ 2);
    }

    .main-visual_access {
        text-align: center;
        background-color: #ffd52d;
        padding: 8px;
        font-weight: 700;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .main-visual_access__item {
        display: flex;
        gap: 20px;
        align-items: center;
        width: 80%;
        max-width: 250px;
        font-size: 1.6rem;
    }


    .newsbox {
        width: 100%;
        background-image: none;
        background-color: #fef7cf;
    }

    .accessbox {
        width: 100%;
        background-image: none;
        background-color: #ffe1ae;
        padding-bottom: 30vw;
    }

    .feature {
        background-image: url(../images/sp_feature_bg.png);
        margin-top: -20vw;
    }

    .fbox_ttl {
        flex-direction: column;
        gap: 20px;
    }

    .fbox_ttl .f_txt {
        font-size: min(6vw, 33px);
    }

    .feature_ttl {
        max-width: 80%;
        margin: 0 auto;
    }

    .feature_sub {
        max-width: 90%;
        margin: 0 auto;
    }

    .flex-2 {
        width: 100%;
        margin-bottom: 3%;
    }

    .flex-2 p {
        line-height: 2;
    }

    .wrap {
        padding: 0 3%;
    }

    .feature .wrap {
        margin: 4.6% auto 65%;
    }

    .feature .wrap:last-of-type {
        margin: 4.6% auto 20%;
    }

    .feature .wrap .flex.reverse {
        flex-direction: column-reverse;
    }

    .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: 30px 0;
    }

    .greeting_inner .flex {
        width: 90%;
        margin: 0 auto;
    }

    .name {
        bottom: -10%;
    }

    .greeting_ttl {
        padding-top: 40px;
        font-size: min(11vw, 60px);
        letter-spacing: 0.2em;
    }

    .medical_ttl {
        max-width: 70%;
        margin: 0 auto;
    }

    .medical .wrap .gap3 {
        margin: 0 auto 20px;
        gap: 20px;
    }

    .medical .wrap .gap4 {
        margin: 0 auto 20px;
        gap: 20px;
    }

    .free_inner p {
        text-align: left;
    }

    .recruit_box {
        width: 100%;
    }

    .topics_box {
        width: 100%;
    }

    .topics_itemWrap {
        gap: 20px;
        height: auto;
        padding: 20px 0;
    }

    .f_wrap {
        width: 90%;
        margin: 0 auto;
        max-width: 480px;
    }

    .footer .img_center {
        width: 100%;
        margin: 0 auto;
    }

    .f_info {
        position: static;
        width: 100%;
    }

    .f_info .info_btnWrap {
        position: static;
        width: 100%;
    }

    .f_info .btn_sub {
        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;
    }
}

/* single */
.single-wrap {
    width: 70%;
    margin: 0 auto;
    padding-top: 50px;
}

.news-single .news_box {
    width: 100%;
    border-radius: 20px;
    background: #FFFFFF;
    padding: 2vw;
    font-size: max(1vw, 1.6rem);
    margin-bottom: 6%;
    height: auto;
    overflow-y: visible;
}

.single-wrap .date {
    padding-bottom: 10px;
}

.single-wrap .news-ttl {
    font-size: 24px;
    margin-bottom: 10px;
}

.single-wrap .text {
    font-size: 18px;
    line-height: 1.8;
}

.news-detail__content-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 5px auto;
  padding: 5px 10px;
  gap: 20px;
  font-size: 20px;
}

.news-detail__content-flex a,
.news-detail__content-flex a:visited,
.news-detail__content-flex a:hover,
.news-detail__content-flex a:active {
  color: #000;
  text-decoration: none;
}

/* category */
.news-single-wrap .h3_ttl {
    text-align: center;
    font-size: max(1.8vw, 2rem);
    font-weight: 700;
    margin-bottom: 3%;
    padding-top: 3%;
    padding-bottom: 3%;
    position: relative;
}

.news-content-with-sidebar {
    display: flex;
}

.news-content-with-sidebar .news_box {
    margin: 0 auto;
    padding: 2vw;
    height: auto;
    overflow-y: visible;
}

.news-content-with-sidebar .news_box li {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed #CCCCCC;
}

.news-content-with-sidebar .news_box .news-ttl {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.news-single-wrap .news-single.category {
    display: flex;
    justify-content: center;
}

.news-sidebar.category {
    width: 20%;
}

.news-sidebar.category .sidebar-archive h3 {
    font-size: 24px;
}

.news-sidebar.category .sidebar-archive {
    font-size: 18px;
}

.news-sidebar.category.no-topics {
    width: auto;
}

@media screen and (max-width: 500px) {
  .no-topics .news-single.category {
    display: block !important; /* flex の打ち消し */
  }
}

@media screen and (max-width:900px) {
    .news-content-with-sidebar {
    display: block;
}
    .news-sidebar.category {
    width: 20%;
    min-width: 200px;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding-bottom: 20px;
}
    .news-sidebar.category ul {
    display: inline-block;
    text-align: left;
}
}