@charset "utf-8";

/* ////////////////////////////////////////
// MV
//////////////////////////////////////// */
.mv__wrap {
    position: relative;
    width: calc(1395/1920*100vw);
    max-width: 1395px;
}
.mv__catch{
    display: block;
    width: 113px;
    height: 393px;
    background: url('/assets/images/top/catch.svg') no-repeat left top;
    background-size: contain;
    position: absolute;
    right: -193px;
    bottom: 48px;
    z-index: 1;
}

/* slide */
.swiper {
  width: 100%;
  height: calc(800/1920*100vw);
  max-height: 800px;
  min-height: 600px;
  border-bottom-right-radius: 60px;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#mv{
    position: relative;
}
.mv__bg{
    width: 1680px;
    height: 915px;
    background: url('/assets/images/top/mv_bg.png') no-repeat right bottom;
    background-size: 100%;
    display: block;
    position: absolute;
    bottom: -114px;
    left: 0;
}

@media (max-width: 1679px) and  (min-width: 1025px)  {
    .mv__bg{
        width: calc(100% - (240/1920*100vw));
    }
    .mv__catch{
        width: 83px;
        height: 293px;
        right: -130px;
        bottom: 0;
    }

}
@media screen and (max-width: 1024px){
    .mv{
        margin-bottom: calc(104/414*100vw);
    }
    .mv__wrap {
        position: relative;
        width: 100%;
    }
    .mv__catch{
        display: block;
        width: calc(202/414*100vw);
        height: calc(193/414*100vw);
        background: url('/assets/images/top/catch_sp.svg') no-repeat left top;
        background-size: contain;
        position: absolute;
        right: calc(-30/414*100vw);
        bottom: calc(-136/414*100vw);
        z-index: 1;
    }
    .mv__bg{
        display: none;
    }
    .swiper {
        width: 100%;
        height: auto;
        min-height: unset;
        border-bottom-right-radius: 0;
        /* border-bottom-left-radius: calc(40/414*100%); */
    }
    #header_sp{
        background: none;
    }
    
}


/* ////////////////////////////////////////
// news
//////////////////////////////////////// */
#news {
    padding-top: 70px;
}
.news_title {
    display: block;
    background: #003B51;
    color: #fff;
    width: 165px;
    height: auto;
    padding: 15.5px 20px;
    font-weight: 300;
    font-size: 2.5rem;
}
.news_title span {
    font-size: 1.3rem;
    letter-spacing: 0.3em;
}

.news_top {
    width: 100%;
    margin-left: 30px;
    margin-top: auto;
}

.newslist {
    text-align: right;
    color: #88B5C4;
    margin-top: 42.5px;
    letter-spacing: 0.02em;
    margin-right: 3%;
    font-size: 14px;
}

/* 矢印 */
.btn_arrow {
    position: relative;
    display: inline-block;
    padding-right: 48px;
    color: #88B5C4;
    outline: none;
}
.btn_arrow::before{
    content: '';
    position: absolute;
    bottom: 8px;
    right: -0;
    /* right: 0; */
    /*下線*/    
    width: 38px;
    height: 1px;
    background:#88B5C4;
    transition: all .3s;
}
.btn_arrow::after{
    content: '';
    position: absolute;
    bottom: 12px;
    right: -0;
    /* right: 0; */
    /*矢印*/    
    width: 12px;
    height: 1px;
    background: #88B5C4;
    transform: rotate(35deg);
    transition: all .3s;
}
.newslist .btn_arrow:hover::before,
.newslist .btn_arrow:hover::after {
    right: -6px;
}


.box_l a:hover .btn_arrow::before,
.box_l a:hover .btn_arrow::after {
    right: -6px;
}

/* feature */
#feature {
    position: relative;
}
#feature .inner {
    flex-direction: column;
}
.feature_title img {
    max-width: 570px;
    width: calc(570 / 1920 * 100vw);
    height: auto;
    display: block;
    margin-bottom: 40px;
}
.feature_lead img {
    max-width: 710px;
    width: calc(710 / 1920 * 100vw);
    height: auto;
}

.box_l {
    margin-right: calc(878 / 1920 * 100%);
    margin-top: calc(100 / 1920 * 100%);
}
.box_l dl {
    background: #fff;
    border-radius: 23px;
    box-shadow: rgba(136, 181, 196, 0.5) 0px 10px 25px 0px;
    padding: calc(33 / 1920 * 100vw) calc(30 / 1920 * 100vw);
}
.box_l dt {
    font-size: clamp(20px, 1vw, 24px);
    font-weight: 500;
    color: #88B5C4;
    letter-spacing: 0.024em;
    margin-bottom: 48px;
    margin-bottom: calc(48 / 1920 * 100%);
}
.box_l dd {
    margin-inline-start: 0;
    font-size: 16px;
}
.box_l p {
    text-align: right;
    margin-right: 0;
    margin-top: 48px;
    margin-left: auto;
    display: block;
    font-size: 14px;
    width: fit-content;
}

.feature_bg {
    max-width: 822px;
    width: calc(822 / 1920 * 100%);
    position: absolute;
    top: 0;
    right: 0;
    margin-top: calc(285 / 1920 * 100%);
}
.feature_bg img {
    width: 100%;
    box-shadow: rgba(6, 105, 196, 0.25) 0px 50px 100px -20px, rgba(6, 105, 196, 0.3) 0px 30px 60px -30px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* access */
#access {
    position: relative;
}
#access .inner {
    flex-direction: column;
}
.access_title img {
    max-width: 510px;
    width: calc(510 / 1920 * 100vw);
    height: auto;
    display: block;
    margin-bottom: 40px;
}
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 47%;
    position: relative;
    border: 1px solid #73A1C2;
}
.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}


/* info */
#information {
    position: relative;
    z-index: 10;
    padding-inline: 20px;
}
#information > .contents {
    max-width: 1260px;
}
#information .inner {
    justify-content: center;
}

.general img:first-child,
.dialysis img:first-child {
    width: 153px;
    height: auto;
    margin: 0 auto;
    display: block;
}
.general > img:nth-child(2),
.dialysis > img:nth-child(2) {
    width: 100%;
    background: #fff;
    border: 1px solid #73A1C2;
    padding: 15px;
    margin-top: 20px;
}
.general {
    margin-right: 40px;
}

a dl {
    transition: all .3s ease;
}
a dl:hover {
    transform: scale(1.05);
}


@media screen and (max-width: 1024px) {


    .inner {
        flex-direction: column;
    }
    .news_top {
        width: auto;
        margin-left: 0;
    }
    .news_title {
        margin-bottom: 30px;
    }
    #news {
        padding-top: 0;
    }
    .news_title {
        height: auto;
        padding: 10px 20px;
    }
    .news_title p {
        font-size: 2.0rem;
    }
    .news_top li {
        padding: 15px 0;
        position: relative;
        line-height: 1.8;
    }

    span.new {
        display: inline-block;
        position: absolute;
        top: 16px;
        left: 130px !important;
        font-size: 1.2rem;
    }
    .news_top span:first-child {
        width: 100% !important;
        display: block;
    }
    .newslist {
        margin-top: 25.5px;
        margin-right: 4.5%;
    }

    .feature_title img {
        margin-left: 0;
        margin-right: auto;
        margin-bottom: 28px;
        max-width: unset;
        max-height: 100px;
        width: fit-content;
    }

    .box_l {
        margin-right: 0;
        /* margin-top: 600px; */
        margin-top: calc(350 / 414 * 100vw);
        position: relative;
        z-index: 30;
    }
    #feature{
        display: flex;
        flex-direction: column;
    }
    .feature_bg.feature_bg--sp {
        position: relative;
        max-width: unset;
        margin-top: 40px !important;
        width: 100vw;
        margin: 0 calc(50% - 50vw);
    }
    .feature_bg img{
        border-radius: 0;
    }
    .feature_contents_wrap .box_l{
        margin-top: 60px;
    }
    .feature_lead img {
        max-width: 100%;
        width: fit-content;
        height: 110px;
    }
    a dl:hover {
        transform: none;
    }
    .box_l dl {
       padding: 32px 20px;
    }
    .box_l dt {
        font-size: 2.4rem;
    }
    .box_l dd {
        line-height: 1.8;
    }
    #feature .btn_arrow:hover::before, #feature .btn_arrow:hover::after {
    }

    .access_title img {
        margin-left: 0;
        margin-bottom: 30px;
        max-width: unset;
        max-height: 100px;
        width: fit-content;
    }
    
    .general {
        margin-right: 0;
    }
    .dialysis {
        margin-top: 48px;
    }

}


@media screen and (max-width: 480px) {
    .access_title img,
    .feature_title img {
        margin: 0 auto 28px;
        width: auto;
    }
    .feature_lead img {
        margin: 0 auto 30px;
    }
    .feature_bg {
        margin-top: 230px;
    }

}
/* infomation */
#infomation{
    margin-bottom: 25px;
}
#infomation .inner {
    background: #ECF3F7;
    border-radius: 20px;
    justify-content: center;
    flex-direction: column;
    padding: calc(48 / 1920 * 100vw) calc(35 / 980 * 100vw);
}
#infomation .lead {
    font-size:  2.4rem;
    text-align: center;
}
#infomation .lead  a{
    text-decoration-line: underline;
    color: #003B51;
}
#infomation .lead span {
    font-size: 1.8rem;
    display: block;
    margin-top: calc(10 / 1920 * 100vw);
    line-height: 1.6;
}
@media screen and (max-width: 1024px){
    #infomation{
        margin-bottom: 20px;
    }
    #infomation .inner {
        padding: 20px;
        border-radius: 15px;
    }
    #infomation .lead {
        font-size: 24px;
    }
}

/* antivirus */
#antivirus {
    position: relative;
}
#antivirus .inner {
    background: #ECF3F7;
    border-radius: 20px;
    justify-content: center;
    flex-direction: column;
    padding: 32px 40px;
}
#antivirus .lead {
    color: #003B51;
    font-size:  2.4rem;
    text-align: center;
    margin-bottom: 16px;
}
#antivirus .antivirus-lead-text {
    color: #003B51;
    text-align: center;
    font-size:  1.8rem;
    display: block;
    line-height: 1.6;
    margin-bottom: 24px;
}
#antivirus .txt {
}
#antivirus .txt dt {
    font-weight: bold;
}
#antivirus .txt dd {
    margin-left: 30px;
    margin-bottom:  20px;
    font-size: 16px;
    line-height: 1.75;
}
@media screen and (max-width: 1024px) {
    #antivirus .inner {
        padding: 20px;
        border-radius: 15px;
    }
    #antivirus .lead {
        font-size: 24px;
    }
    #antivirus .lead span {
        margin-top: 32px;
        margin-bottom: 20px;
    }
    #antivirus .txt dd {
        margin-top: 16px;
        margin-bottom: 28px;
    }
}

.is_sp_l {
    display: none;
}
@media screen and (min-width: 560px){
    .is_sp_l {
        display: block;
    }
}


/* 移転お知らせ */
#main_visual{
    margin-bottom: 130px
}
.notice{
    margin: 0;
    margin-top: 160px;
}
.notice .contents__in{
    padding: 0 20px;
    max-width: 620px;
    margin: 0 auto;
}
.bl_top-notice{
    display: block;
    text-align: center;
    padding: 20px;
    border: 2px solid #FF7979;
}
.bl_top-notice strong{
    display: block;
}
.bl_top-notice p,.link-text{
    color: #FF7979;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
}
.link-text{
    margin-top: 32px;
    display: block;
    text-decoration: underline;
}
/* modal */
/* リセット */
* { box-sizing: border-box; }
body.modal-open { overflow: hidden; } /* モーダル時に背景スクロール禁止 */

.open-btn {
    display:inline-block;
    padding:10px 20px;
    border-radius:8px;
    background:#f2f2f2;
    cursor:pointer;
    margin-top: 16px;
}
.open-btn p{
    text-decoration: underline;
}
.overlay {
    position:fixed;
    inset:0;
    background: rgba(0,0,0,0.4);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    pointer-events:none;
    transition: opacity 0.3s ease;
    z-index:1000;
    padding:20px;
}
.overlay.show {
    opacity:1;
    pointer-events:auto;
}
.modal {
    background:#fff;
    max-width:650px;
    width:100%;
    border-radius:12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    padding: 40px 32px;
    position:relative;
    transform: scale(0.9);
    opacity:0;
    transition: all 0.3s ease;
}
.modal {
    background:#fff;
    max-width:650px;
    width:100%;
    border-radius:12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    padding: 40px 32px;
    position:relative;
    transform: scale(0.9);
    opacity:0;
    transition: all 0.3s ease;
    max-height: 90vh;                /* 高さ制限 */
    overflow-y: auto;                /* モーダル内をスクロール可能 */
    -webkit-overflow-scrolling: touch; /* iOSでスムーズスクロール */
}
.overlay.show .modal {
    transform: scale(1);
    opacity:1;
}
.close-btn {
    position:absolute;
    top:10px;
    right:10px;
    background:transparent;
    border:none;
    font-size:2.25rem;
    cursor:pointer;
}
/* フォーカスの見た目 */
.open-btn:focus, .close-btn:focus {
    outline:3px solid Highlight;
    outline-offset:3px;
}

/* modal内 */
.modal-title{
  color: #73A1C2;
  margin-bottom: 24px;  
}
.renewal-desc{
    margin: 24px 0;
    border: 2px solid #73A1C2;
    padding: 24px;
}
.renewal-desc ul li{
    line-height: 1.8;
}
.renewal-desc ul li span{
    font-weight: 700;
    color: #73A1C2;
}
.renewal-desc-notice{
    color: #FF7979;
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
}

.text--s{
    font-size: 14px;
    font-weight: 400 !important;
    color: #404040 !important;
}

@media screen and (max-width: 1024px) {
    #main_visual {
        margin-bottom: 40px;
    }
    .notice {
        margin-top: calc(370/1024*100vw);
    }
    .bl_top-notice {
        padding: 20px 16px;
        margin-bottom: 40px;
    }
    .open-btn {
        padding: 8px 20px;
        border-radius: 6px;
        margin-top: 8px;
    }
    .notice .contents__in {
        padding: 0;
    }
    .bl_top-notice p,.link-text {
        color: #FF7979;
        font-weight: 400;
        font-size: 16px;
    }
    .renewal-desc ul li + li{
        margin-top: 16px;
    }
    .modal {
        max-width: unset;
        width: 100%;
        border-radius: 12px;
        padding: 40px 20px;
    }
    .modal-title {
        color: #73A1C2;
        margin-bottom: 24px;
        font-size: 20px;
    }
    .modal p{
        font-size: 16px;
        line-height: 1.8;
    }
    .renewal-desc{
        margin: 24px 0;
        border: 2px solid #73A1C2;
        padding: 16px;
        font-size: 16px;
    }

}

.lead-text{
    font-size: 20px;
    line-height: 1.75;
    color: #003B51;
    font-weight: 300;
    letter-spacing: 0.02em;
}
.lead-text p + p{
    margin-top: 1em;
}
@media screen and (max-width: 1024px){
    .lead-text{
        font-size: 18px;
    }
}


@media screen and (min-width: 1025px){
    #header .top-inner{
        background: none;
    }
}


p.mail{
    font-size: 28px;
    margin-top: 24px;
}
@media (max-width: 1024px){
    p.mail{
        font-size: 18px;
    }
}