/* Theme Name: hopstep_wp
Theme URI: http://localhost:8888/hopstep_wp/
Description: 三鷹市の居宅介護支援/ホップ
Version: 1.0
Author: Shu Hamaji
*/

@charset "utf-8";

/* MAIN VISUAL */

.main_visual {
    background-image: url(img/top_main-visual.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 1rem;
    position: relative;
    height: 85vh;
    margin-top: 5rem;
    margin-bottom: 6.25rem;
    clip-path: inset(0);
}

@media screen and (max-width: 1280px) {
    .main_visual {
        margin-top: 3.9rem;
    }
}

@media screen and (max-width: 800px) {
    .main_visual {
       background-attachment: initial;
    }
}

.main_visual::after {
    content: "";
    display: block;
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.22);
    position: absolute;
}

.main_visual_message-box {
    position: absolute;
    bottom: 10%;
    transform: translate(10%, 0);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    z-index: 10;
    line-height: 2;
    letter-spacing: 0.18rem;
}

@media screen and (max-width: 800px) {
    .main_visual {
        margin-top: 3.35rem;
        margin-bottom: 5rem;
    }

    .main_visual_message-box {
        color: #fff;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 414px) {
    .main_visual {
        margin-top: 3.8rem;
    }

    .main_visual_message-box {
        font-size: 1.25rem;
    }
}


/* TOP SECTION ABOUT */

#top_section-about {
    margin-bottom: 6.25rem;
    position: relative;
}

#top_section-about h3,
#top_section-about h4 {
    margin-bottom: 1.88rem;
}

@media screen and (max-width: 800px) {
    #top_section-about .img-box {
        margin-bottom: 3.13rem;
    }
}

#top_section-about .common-btn {
    margin-top: 1.88rem;
}

#top_section-about::before {
    content: "";
    display: block;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    position: fixed;
    right: 14%;
    background-image: radial-gradient(circle, #E7C438 -90%, /* 中心 (0%): 濃い色（不透明） */ transparent 70% /* 外側 (100%): 完全に透明 */);
    z-index: -1;
    top: 35%;
}

#top_section-about::after {
    content: "";
    display: block;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    position: fixed;
    top: 8%;
    right: 9%;
    background-image: radial-gradient(circle, #1C92B2 -90%, /* 中心 (0%): 濃い色（不透明） */ transparent 70% /* 外側 (100%): 完全に透明 */);
    z-index: -1;
}

/* section 共通 */
.contents_area {
    width: 100%;
    margin-bottom: 6.25rem;
}

@media screen and (max-width: 800px) {
    .contents_area {
        margin-bottom: 5rem;
    }
}

/* TOP SECTION NEWS */

.top_section-news_bg {
    position: relative;
}
.top_section-news_bg .svg_inner {
    position: relative;
    z-index: -10;
}

.top_section-news_bg .svg_inner .svg_img {
    position: absolute;
    right: 0;
    bottom: -0.88rem;
    width: 18rem;
    height: auto;
    z-index: -99;
    pointer-events: none;
}

.top_section-news_bg .svg_inner .svg_img path {
    fill: #F5F5F5;
}

#top_section-news h3 {
    margin-bottom: 1.88rem;
}

#top_section-news .text-box {
    width: 45%;
}

#top_section-news .news_info {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}


#top_section-news .news1 h4 {
    margin-bottom: 1.88rem;
}

#top_section-news .img-box {
    width: 50%;
}
#top_section-news .img-box img {
    max-width: 100%;
    border-radius: 1rem;
}

@media screen and (max-width: 800px) {
    #top_section-news .text-box,
    #top_section-news .img-box {
        width: 100%;
        margin-bottom: 3.13rem;
    }
}

.news_box2 {
    justify-content: left;
    align-items: center;
}

.news2_left {
    margin-right: 3.13rem;
}

@media screen and (max-width: 800px) {
        .news2_left {
        margin-right: 0;
        margin-bottom: 1.88rem;
    }
}

.news2_right ul {
    padding-left: 1.88rem;
    position: relative;
    margin-bottom: 3.13rem;
}

@media screen and (max-width: 800px) {
        .news2_right ul {
        padding-left: 0;
    }
}

.news2_right ul::before {
    content: "";
    display: block;
    position: absolute;
    border-left: .5px solid #777;
    height: 90%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

@media screen and (max-width: 800px) {
        .news2_right ul::before {
        display: none;
    }
}

.news2_right li {
    margin-bottom: 0.62rem;
}

.news2_right li:last-of-type {
    margin-bottom: 0;
}

.flex_news2 {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    opacity: 1;
    transition: .5s;
}

.flex_news2:hover {
    opacity: .6;
    transition: .5s;
}

#top_section-news .news_box2 .news2_right .news_info {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}


#top_section-news .text-box .inner .news_title p {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
}

#top_section-news .text-box .inner .news_detail {
    margin-bottom: 1rem;
}

#top_section-news .text-box .inner .link a {
    letter-spacing: 0.18rem;
}
#top_section-news .text-box .inner .link a {
    display: block;
    line-height: 1.6;
    transition: all 0.2s ease;
}
#top_section-news .text-box .inner .link a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* TOP SECTION WORKS */

/* WORKS1 */

#top_section-works {
    background-color: #F5F5F5;
    width: 100%;
    padding: 6.25rem 0;
    background-image: url(img/top_section-works_bg.png);
    background-repeat: no-repeat;
    background-position: right 19% bottom -2px;
    background-size: 21%;
}

@media screen and (max-width: 800px) {
        #top_section-works {
        background-position: right 5% bottom -2px;
        background-size: 21%;
        padding: 5rem 0;
    }
}

#top_section-works h3 {
    margin-bottom: 1.88rem;
}

.works1_right .text-area:first-of-type {
    margin-bottom: 1.25rem;
}

@media screen and (max-width: 800px) {
        #top_section-works .img-box,
         #top_section-works .contents_area {
        margin-bottom: 1.88rem;
    }
}

/* WORKS 2 */

#top_section-works .works2 {
    margin-bottom: 0;
}

#top_section-works .flex_pc {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1.88rem;
}

#top_section-works .flex_pc .box {
    background-color: #fff;
    border-radius: 0.62rem;
    width: 48%;
    padding: 1.88rem;
    box-sizing: border-box;
}

#top_section-works .flex_pc .box .inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

#top_section-works .flex_pc .box .inner .num {
    color: #38AECF;
    font-size: 1.88rem;
    font-weight: 700;
}

#top_section-works .flex_pc .box .inner .title {
    flex: 1;
}

@media screen and (max-width: 800px) {
    #top_section-works .flex_pc {
        display: block;
        gap:1rem 0;
    }

    #top_section-works .flex_pc .box {
        width: 100%;
        margin-bottom: 1.88rem;
        padding: 5%;
    }
}

.works2_add {
    text-align: left;
    color: #777;
    margin-top: 3.13rem;
    font-size: 1rem;
}

@media screen and (max-width: 800px) {
    .works2_add {
        margin-top: 1.88rem;
    }
}

/* TOP SECTION PROCESS */

#top_section-process {
    margin: 6.25rem 0;
}

@media screen and (max-width: 800px) {
    #top_section-process {
        margin: 0;
    }
}

#top_section-process h3 {
    margin-bottom: 1.88rem;
}

#top_section-process ul {
    position: relative;
}

#top_section-process ul::before {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    border-left: 2px solid #1C92B2;
    left: 4.687rem;
    z-index: -1;
}

@media screen and (max-width: 800px) {
    #top_section-process ul::before {
        left: 3.13rem;
    }
}

@media screen and (max-width: 414px) {
    #top_section-process ul::before {
        left: 3rem;
    }
}

#top_section-process .step_area {
    display: flex;
    align-items: center;
    gap:0 1.88rem;
    margin-bottom: 1.88rem;
}

@media screen and (max-width: 800px) {
    #top_section-process .step_area {
        gap:0 1.25rem;
    }
}

#top_section-process .step-circle {
    max-width: 9.374rem;
}

.bg1 {
    background-color: #1C92B2;
}

.bg2 {
    background-color: #E7C438;
}

#top_section-process .step_area .num {
    width: 9.374rem;
    height: 9.374rem;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media screen and (max-width: 800px) {
    #top_section-process .step_area .num {
        width: 6.25rem;
        height: 6.25rem;
    }
}

@media screen and (max-width: 414px) {
    #top_section-process .step_area .num {
        width: 6rem;
        height: 6rem;
    }
}

#top_section-process .text-box {
    width: 100%;
}

#top_section-process h4 {
    margin-bottom: 1.25rem;
}

@media screen and (max-width: 800px) {
    #top_section-process h4 {
        margin-bottom: 0.62rem;
    }
}

.process_add {
    text-align: center;
    color: #777;
    margin-top: 3.13rem;
    font-size: 0.88rem;
    margin-bottom: 5rem;
}

@media screen and (max-width: 800px) {
    .process_add {
        margin-top: 1.88rem;
        margin-bottom: 3.13rem;
    }
}

#top_section-process .common-btn {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#top_section-process .common-btn .btn_add {
    text-align: center;
    margin-bottom: 1.88rem;
}

#top_section-process .common-btn a {
    margin-left: auto;
    margin-right: auto;
}




.section_top_process_wrapper .btn_area {
    width: 100%;
}
.section_top_process_wrapper .btn_area p {
    text-align: center;
    margin-bottom: 1rem;

}
.section_top_process_wrapper .btn_area a {
    margin-left: auto;
    margin-right: auto;
}

















