#main-view {
    overflow: hidden;
    position: relative;
    width: 98%;
    height: 100%;
    border-radius: 30px 0 0 30px;
    margin: 0 0 0 auto;
    aspect-ratio: 2.36/1;
}

.swiper-hero {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#main-view .swiper-slide {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    -moz-background-size: cover;
    background-attachment: scroll;
    padding: 0px 0;
    
}

.hero-catch {
    display: block;
    position: absolute;
    z-index: 10;
    bottom: 5%;
    left: 5%;
}

#greeting-container {
    width: 100%;
    min-height: 600px;
    padding: 30px;
    display: flex;
}

.greeting-left, .greeting-right {
    width: 50%;
}

.greeting-left {
    padding: 3em;
}

.greeting-right img {
    width: 100%;
    height: 100%;
    border-radius: 60px 0 60px 0;
    object-fit: cover;

}

.button-container {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.button-green {
    font-size: 1.05rem;
    text-align: center;
    width: 300px;
    border-radius: 50px;
    display: block;
    padding: 8px 5px;
    font-weight: bold;
    border: 2px solid #fff;
    margin: 30px auto;
    background: #0db5be;
    color: white!important;
    transition: 0.5s;
}

.button-green:hover {
    background: white!important;
    color: #0db5be!important;
    border: 2px solid #0db5be!important;
    transition: 0.5s;
}

#medical-info-container {
    width: 100%;
    padding: 60px 0;
    
}

.icon-container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding-top: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.icon-box {
    width: calc(25% - 20px);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
}

.icon-img-wrap {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d8f9fb;
    border-radius: 90%;
}

.icon-img-wrap img {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1/1;
    transition: 0.5s;
    
}

.icon-box:nth-child(5) {
    grid-column-start: 2;
}

.icon-box p {
    font-weight: 600;
}

.icon-img-wrap img:hover {
    transform: scale(1.1);
    opacity: 0.8;
    transition: 0.5s;
}

.news-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-container {
    background-color: #effbfc;
    border-radius: 80px;    
    padding: 60px 60px;
    display: flex;
    align-items: start;
    gap: 40px;
    min-height: 300px;
}

.news-head {
    border-right: 2px solid #0db5be; 
    padding-right: 40px;
    flex-shrink: 0;
    min-height: 200px;
}

.news-title-en {
    font-size: 24px;
    font-weight: 700;
    color: #0db5be;
    margin: 0;
    line-height: 1;
}

.news-title-jp {
    font-size: 12px;
    color: #0db5be;
    margin: 5px 0 0 0;
    font-weight: bold;
}

/* 右側の内容 */
.news-body {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.news-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;
    color: #333;
    margin: 0 0 20px 0;
}

.news-date {
    background-color: #0db5be;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 15px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.news-content {
    font-size: 16px;
    margin: 0;
    color: #0db5be; 
    overflow: hidden;
    text-overflow: ellipsis;
}

#calendar {
    width: 100%;
    padding: 60px 0;
}

#main-view-mobile {
    display: none;
}





/********/
/*TABLET*/
/********/
@media only screen and (max-width: 1025px) {

.news-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
    border-radius: 40px;
    gap: 20px;
}
.news-head {
    border-right: none;
    border-bottom: 2px solid #15a0a0;
    padding-right: 0;
    padding-bottom: 10px;
    width: 100%;
    min-height: 0;
}
.news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

#main-view {
    display: none;
}

#main-view-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 1.216/1;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-catch-mobile {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 32%;
    max-width: 180px;
}

.greeting-left, .greeting-right {
    width: 100%;
}

.greeting-right {
    display: none;
}

.greeting-left {
    padding: 0;
}

.button-container {
    padding: 0;
}

#medical-info-container {
    width: 100%;
    padding: 20px 2%;
    
}

.icon-container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding-top: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0px 60px;
}

.icon-box {
    width: calc(35% - 20px);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
}

.icon-img-wrap {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d8f9fb;
    border-radius: 90%;
}

.icon-img-wrap img {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1/1;
    transition: 0.5s;
    
}

.icon-box:nth-child(5) {
    grid-column-start: 2;
}

.icon-box p {
    font-size: 0.8rem;
}

#calendar {
    width: 100%;
    padding: 30px 20px;
}








}
/********/
/*MOBILE*/
/********/
@media only screen and (max-width: 599px) { 



.icon-box {
    width: calc(42% - 20px);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
}




}