/* ===== Global Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ===== Base Styles ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover,
a:focus {
    opacity: 0.8;
}

a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: inherit;
}

p {
    margin: 0;
}


/* ===== Section: First View ===== */
.fv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    position: relative;
}

.fv-container {
    max-width: 1280px;
    height: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../images/online/fv.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fv-content {
    max-width: 500px;
}

.fv-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin-bottom: 40px;
}




.problems{
    background-color:#f5f5f5;
    padding: 120px 0;
}
.problems-container {
    max-width: 768px;
    margin: 0 auto;
}
.problems-container h2 {
    margin: 0;
}
.online-title {
    color: #20508a;
    font-size: 32px;
    font-weight: bold;
    margin:24px 0;
}
.online-title_color{
    color: #E99D23;
}
.online-title_color2{
    color: #ff6b00;
}
.problems .online-title_color2{
    font-size: 40px;
}
.online-title_border {
    background:linear-gradient(transparent 80%, #FFCF6F 80%);

}
.online-title2 {
    font-size: 24px;
}

.business-features{
    background-color:#20508a;
    padding: 120px 0 40px;
}

.feature-box{
    background-color: #fff;
    padding: 60px 30px;
    margin-bottom: 80px;
    border-radius: 12px;
    position: relative;
}
.feature-box h3 {
    background-color: #fff;
    color: #20508a;
    padding: 16px 40px;
    text-align: center;
    border-radius: 50px;
    position: absolute;
    top: -42px;
    font-size: 28px;
    font-weight: bold;
    margin: auto;
    text-align: center;
    left: 0;
    right: 0;
    width: 340px;
    border: 4px solid #20508a;
}
.feature-box ul li{
    color: #20508a;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
}
.feature-box ul li img{
    margin-right: 12px;
    width: 30px;
    height: 30px;
}
.feature-box_img{
    display: block;
    margin: auto;
    margin-top: 40px;
    max-width: 80%;
}
.feature-box p {
    color: #20508a;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5rem;
}

#features{
    background-color:#f5f5f5;
    padding: 40px 0;
}
.feature-item{
    margin-bottom: 80px;
}

.feature-item .online-title2{
    font-size: 20px
}
.features-container{
    max-width: 768px;
    margin: auto;
}
.feature-num {
    width: 70px;
}
.feature-item01 {
    margin: auto;
    max-width: 650px;
    width: 100%;
}
.feature-item03{
    margin: auto;
    max-width: 724px;
    width: 100%;
}
#fv .feature-btn a{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 130px;
}
.feature-item:nth-of-type(2) h3 ~ img{
  margin-top: 40px;
}

.problems-container h2 ~ img:nth-of-type(1){
    margin-bottom: 50px;
}

/* ===== Responsive Breakpoints ===== */

/* 1280px and below */
@media (max-width: 1280px) {
    .service-container,
    .news-container,
    .partner-container {
        padding: 0 30px;
    }

    .service-title,
    .news-title {
        font-size: 60px;
    }
}

/* 1024px and below */
@media (max-width: 1024px) {
    .fv-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .fv-title {
        font-size: 32px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-title,
    .news-title {
        font-size: 48px;
    }

    .partner-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

/* 768px and below */
@media (max-width: 768px) {
    .problems .online-title_color2{
        font-size: 20px;
    }
    .problems-container .online-title img{
        width: 25px;
    }
    .fv-container {
        background-image: url("../images/online/fv-sp.png");
        height: 450px;
        margin-top: -50px;
    }

    .fv {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .fv-title {
        font-size: 25px;
        line-height: 1.3;
    }

    .fv-logos {
        position: static;
        transform: none;
        margin-top: 0px;
    }

    .problems{
        padding: 40px 0;
    }

    .online-title{
        font-size: 14px;
        margin: 20px 0 15px;
    }
    .feature-box h3{
        font-size: 20px;
    }
    .feature-box ul li{
        font-size: 12px;
    }

    .feature-box p{
        font-size: 12px;
    }

    .feature-item .d-flex{
        display: block!important;
        font-size: 20px;
        text-align: center;
    }
    .feature-item .d-flex img{
        margin: auto!important;
        padding-bottom: 5px;
        width: 55px;
    }
    .feature-item .online-title2{
        font-size: 12px;
    }
    .feature-item{
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .feature-item .online-title{
        font-size: 20px;
    }
    .feature-item .online-title2{
        font-size: 12px;
    }
    .feature-item:nth-of-type(2) .online-title{
        font-size: 12px;
    }
    .feature-item:nth-of-type(2) h3 ~ img{
        margin-top: 0;
    }

    .problems-container h2 ~ img:nth-of-type(1){
        margin-bottom: 30px;
    }

    .online-icon1{
        width: 15px;
    }
    .online-icon2{
        width: 45px;
    }
}
