@charset "utf-8";

/* ==================================================================
mv
===================================================================== */
/* ローディング */
.loading {
    position: fixed;
    inset: 0;
    background: var(--primary-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease;
}

.loading.is-hide {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 160px;
    opacity: 0;
    transform: translateY(16px);
    animation:  
        logoFadein 1s  ease forwards,
        logoFloat 2.4s ease-in-out infinite;
}

@keyframes logoFadein {
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0% {transform: translateY(0);}
    50% {transform: translateY(-6px);}
    100% {transform: translateY(0);}
}

.loading.is-hide {
    opacity: 0;
    pointer-events: none;
}

.mv {
    position: relative;
    height: 160vw;
    background-image: url(../images/IMG_4970.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mv::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* catchCopy*/
.catch {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: var(--primary-white);
}


.catch h2 {
    opacity: 1;
    animation: fadeIn 2s ease-out forwards;
}

.catch p {
    opacity: 1;
    animation: fadeIn 2s ease-out forwards;
}

.catch h2 {
    margin-bottom: 16px;
    font-size: 5vw;
}

.catch span {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    display: inline-block;
    animation: marker_draw 1.6s ease-out forwards;
    animation-delay: 1s;
}


@keyframes  marker_draw {
    to {
        background-size: 100% 1px;
    }  
} 
 
@keyframes fadeIn {
    0% {
        transform: translateX(-50px);
        
    }
    100% {
       transform: translateX(0);   
    }
} 



/* .mv pc */
@media screen and (min-width: 769px) {
.mv {
     height: 45vw;
}

.calender {
     font-size: 1.6rem;
}

.calender-overlay {
     right: 16px;
     bottom: -130px;
}

.catch h2 {
margin-bottom: 24px;
font-size: 2.5vw;
}
}/* pc 769px */

/* news */
.section-news {
    padding: 80px 13% 48px 13%;
}

.news-item {
    margin-top: 24px;
    border-bottom: 1px solid var(--primary-green);
}

.news-time {
    font-weight: 700;
    color: var(--primary-green);
}

.news-item h3 {
    font-weight: 700;
}

.news-txt {
    margin-top: 12px;
    margin-bottom: 38px;
}

/* .news pc */
@media screen and (min-width: 769px) {
.section-news {
    padding: 80px 49.5% 96px 5.5%px;
}

.news-item {
    font-size: 1.8rem;
}

.news-txt {
    margin-bottom: 24px;
}
}/* pc 769px */

/* trouble */
.section-trouble {
    background-color: var(--primary-beige);
    position: relative;
    padding-bottom: 48px;
}

.section-trouble::after {
    content: "";
    position: absolute;
    display: block;
    background: url(../images/troubleback-pc.svg) no-repeat center bottom;
    background-size: 100%;
    height: 8vw;
    bottom: -6vw;
    width: 100%;
}

.trouble-title {
    padding: 64px 4.2% 57px 4.2%;
    text-align: center;
}

/* slider */
.swiper {
    width: 100%;
    border-radius: 10px;
}

.swiper-wrapper {
    text-align: center;
    font-size: 1.6rem;
}

.swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

}

.slide-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
}

.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper,
.swiper-wrapper,
.swiper-slide {
    box-sizing: border-box;
}

.swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 4.2% 0;
    position: static;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 28px;
    height: 28px;
    color: var(--primary-black);
    margin-top: 2px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
}

.swiper-pagination {
    position: static;
}

.trouble-list {
    text-align: center;
}


.checklist {
    padding-top: 40px;
    display: inline-block;
}

.check-icon {
    width: 15px;
    height: 15px;
    margin-right: 8px;
}

.checklist li {
    display: flex;
    justify-content: left;
    align-items: center;
}

/* .trouble pc */
@media screen and (min-width: 769px) {
.swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transform: none !important;
    font-size: 1.8rem;
    padding: 0 5.5%;
}

.swiper-slide {
    width: auto !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    
}

.swiper-slide p {
    height: 50px;
}

.slide-img {
    width: 100%;
    border-radius: 10px;
}

.swiper-controls {
    display: none;
}

.section-trouble {
    padding-top: 96px;
}
.trouble-title {
    margin-bottom: 32px;
    padding: 0;
}

.checklist {
    max-width: 900px;
    display: flex;
    justify-content: space-around;
    padding-top: 68px; 
    margin: 0 auto;  
}

.checklist li {
    font-size: 1.8rem;
}
}/* pc 769px */

/* about */
.section-about {
    padding: 96px 16px;
    position: relative;
}

.section-about::after {
    content: "";
    display: block;
    position: absolute;
    background:url(../images/aboutback-pc.svg) no-repeat center bottom;
    height: 8vw;
    width: 100%;
    bottom: -8vw;
    left: 0;
    background-size: cover;
    z-index: 1;      
}

.about-title {
    font-size: 2rem;
    text-align: center;
}

mark {
    background: linear-gradient(transparent 40%, #D8EDE2 80%);
}

.about-txt {
    margin-top: 24px;
    font-size: 1.4rem;
    text-align: left;
}

.section-about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 12px;
    margin-top: 38px;
    text-align: center;
}


.section-about-icon {
    width: 130px;
    height: 130px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.section-about-icon img {
    width: 73px;
    height: auto;
    fill: #FFFFFF;
}

/* .section-about pc */
@media screen and (min-width: 769px) {
.section-about {
    padding: 180px 80px 140px;
}
 
.about-title {
    font-size: 2.8rem;
 }   

.about-txt {
    font-size: 1.8rem;
}

.section-about-icon {
    width: 200px;
    height: 200px;
}

.section-about-icon img {
    width: 112px;
}

.section-about .btn-clinic {
    margin-top: 56px;
}

}/* pc 769px */

@media screen and (min-width: 1024px) {
.section-about-list {
    grid-template-columns: repeat(4, 1fr);
}
} /* pc 1024px */

@media screen and (min-width: 1920px) {
.section-about {
    padding-top: 280px;
}
}
/* pc 1920px */

/* section-flow */
.section-flow {
    padding: 100px 4.2% 53px;
    position: relative;
    background-color: var(--primary-beige);
}

.flow-img {
    max-width: 80%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    position: absolute;
    top: -20px;
    right: 16px; 
    z-index: 2;   
}

.js-fade-up {
     opacity: 0; 
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-fade-up.is-show {
    opacity: 1;
   transform: translateY(0);
}
.flow-title {
    margin-top: 48px;
    padding: 0 4.2%;
}

.flow-txt {
    line-height: 1.6;
    margin-top: 28px;
    padding: 0 4.2%;
}

.flow-txt p:last-child {
    margin-top: 40px;
}

/* flow pc */
@media screen and (min-width: 769px) {
.section-flow {
    padding: 180px 5.5% 96px;
}

.flow-img {
    top: 20px;
    right: 5.5%;
    max-width: 70%;  
}

.flow-txt {
   font-size: 1.8rem;
}

.flow-container .btn-clinic {
    width: 320px;
    margin-top: 48px;
}

}/* pc 769px */

@media screen and (min-width: 1024px) {
.flow-container {
  display: flex;
  align-items: flex-end;
  gap: 80px;
  margin-top: 64px;
}

.section-flow .section-inner {
    margin-top: 180px;
}

.flow-txt {
   margin: 0;
   padding: 0;
}
}/* pc1024px */

@media screen and (min-width: 1850px) {
.section-flow {
    padding-top: 300px;
}
}/* pc1850px */


/* voice */
.section-voice {
    padding: 96px 4.2%;
    background-color: var(--primary-mocha);
}

.voice-item {
    background-color: var(--primary-white);
    border-radius: 10px;
    padding: 24px 12px;
}

.voice-title {
    text-align: center;

}

.voice-list {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 48px;
    margin-top: 24px;
}

.voice-header {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.voice-icon {
    border-radius: 50%;
    border: 1px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 12px;
}

.voice-icon img {
    display: block;
    width: 90px;
    height: auto;
}


.voice-header-title {
    font-weight: 700;
    text-align: left;
    margin-top: 12px;
}

.voice-txt {
    margin-top: 24px;
    line-height: 1.6;
}

/* .voice pc */
@media screen and (min-width: 769px) {
.section-voice {
    padding: 96px 5.5%;
}

.voice-list {
   grid-template-columns: repeat(2,1fr);
   margin-top: 40px;
   
}

.voice-item {
    padding: 48px 32px;
    font-size: 1.8rem;
}

.voice-icon img {
    width: 100px;
}
}/* pc 769px */
