@charset "utf-8";

.web_fv{
    background-color: #36498f;
    height:363px;
    }
.web_fv_bg{
    background-image: url(image/web_bg_img.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    height:463px;
    position:relative;
    margin-left:100px;
}
.web_fv_text{
    position: absolute;
    top: 360px;
    left: 50%;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.web_fv_text h1 img{
    max-width: none;
}
.web_space {
    height: 100px;
    margin-bottom:100px;
}
.web_wrapper{
    max-width: 966px;
    margin:0 auto;
}
.web_sectiontitle{
    font-weight: 500;
    font-size:24px;
    margin-bottom: 123px;
    text-align: center;
    line-height: 1.3;
    position:relative
}
.web_sectiontitle::after{
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background-color: #36498f;
    position: absolute;
    top: 108px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}
.web_introbox{
    display: flex;
    margin-bottom:110px;
}
.webtext,.webimg{
    width:50%;
}
.webtext h1::before{
    content: 'Web Design Service';
    display: block;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: normal;
    width: 155px;
    background-color: #fabe00;
    color: #fff;
    padding: 10px 5px;
    text-align: center;
    font-style: italic;
}
.webtext h1 {
    font-size: 24px;
    font-weight: 500;
}
.webtext h1::after{
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    background-color: #36498f;
    margin: 20px 0;
}
.webtext p{
    max-width: 450px;
}
/* サービス一覧 */
.web_sectiontitle1{
    font-weight: 500;
    font-size:24px;
    margin-bottom: 123px;
    text-align: center;
    line-height: 1.3;
    position:relative
}
.web_sectiontitle1::after{
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background-color: #36498f;
    position: absolute;
    top: 60px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}
.webservice_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 要素の最小幅は300px */
    gap: 36px;
    margin-bottom: 120px;
}

.grid_item {
    width: 100%; /* 幅を100%に設定し、親要素に合わせる */
    display: flex;
    border-radius: 20px;
    box-shadow: 0px 3px 7px 0 rgba(0, 0, 0, 0.3);
}

.gridimg {
    width: 36%;
    padding: 30px 10px 0px 5px;
}
.gridimg img{
    margin-left:15px;
}
.gridtext {
    width: 64%; /* グリッドアイテムの残りの幅を取る */
    padding: 30px 15px 30px 0px;
}

.gridtext h1 {
    font-size: 24px;
    font-weight: 500;
    color: #36498f;
    margin-bottom: 20px;
}

.gridtext p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}
img.service4 {
    margin-left: 30px;
}

/* フロー */
.web_sectiontitle2{
    font-weight: 500;
    font-size:24px;
    margin-bottom: 123px;
    text-align: center;
    line-height: 1.3;
    position:relative
}
.web_sectiontitle2::after{
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background-color: #36498f;
    position: absolute;
    top: 60px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}
.flow_list {
    max-width: 830px;
    margin: 0 auto 80px;
    counter-reset: number 0;
}
.flow_listItem {
    position: relative;
    z-index: 10;
    justify-content: center;
    align-items: flex-start;
}
.flow_listItem .step {
    position: relative;
    z-index: 10;
    margin-right: 20px;
    padding-top: 5px;
}

.flow_listItem_content .ttl {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
}
.flow_listItem_content .txtBox {
    padding: 20px 15px;
    font-size: 16px;
    line-height: 1.5;
    background-color: #ebf0f0;
    border-radius: 29px;
    box-shadow: 0px 3px 7px 0 rgba(0, 0, 0, 0.3);
}
.flow_listItem_content {
    width: calc(100% - 78px);
}
.col {
    display: flex;
    margin-bottom: 20px;
}
.consul_footspace {
    height: 40px;
}

@media screen and (max-width: 1111px){
.web_fv_text h1 img{
    max-width: 100%;
}
}
@media screen and (max-width: 768px){
    body {
        font-size: 13px;
        font-family: 'Noto Sans JP', sans-serif;
    }
    .web_fv {
        background-color: #36498f;
        height: 196px;
    }
    
    .web_fv_bg {
        height: 250px;
        margin-left: 80px;
    }
    
    .web_fv_text{
        top:210px;
    }   
    .web_fv_bg {
        height: 250px;
        margin-left: 80px;
    }
    .web_section_title:after{
        /*left:374px;*/
        left: 50%;
        transform: translate(-50%, 0%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
    .webtext p {
        max-width: 90%;
    }
    .web_wrapper {
        max-width: 668px;
        margin-bottom: -70px;
        margin-top: 60px;
    }
    .web_sectiontitle {
        font-weight: 500;
        font-size: 16px;
        margin-bottom: 123px;
        text-align: center;
        line-height: 1.3;
        position: relative;
    }
    .webtext h1 {
        font-size: 16px;
    } 
   .webtext h1::before {
        content: 'Office Technical Service';
        display: block;
        font-size: 11px;
        margin-bottom: 20px;
        font-weight: normal;
        width: 130px;
        background-color: #fabe00;
        color: #fff;
        padding: 5px 5px;
        text-align: center;
    }
    .web_section_text {
        font-size: 16px;
        width: 90%;
        margin: 0 auto;
        line-height: 1.7;
    }
    
    .web_space {
        height: 55px;
        margin-bottom: 0px;
    }
    .web_footspace{
        height:0px;
    }
    .web_sectiontitle span{
        display: block;
    }
    .gridtext p {
        font-size: 13px;
    } 
    .gridtext h1 {
        font-size: 16px;
    }
    .flow_listItem_content .ttl {
        font-size: 16px;
    }
    .flow_listItem_content .txtBox {
        font-size: 13px;
    }
    .gridimg img {
        margin-left: 0px;
    }
}

@media screen and (max-width: 480px){
    body p{
        font-size:13px;
    }
    .web_wrapper {
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .web_fv {
        background-color: #36498f;
        height: 90px;
    }
    
    .web_fv_bg {
        height: 130px;
        margin-left: 30px;
    }
    
    .web_fv_text {
        top: 135px;
        width: 50%;
    }
    .web_space {
        height: 40px;
        margin-bottom: 10px;
    }
    .web_sectiontitle {
        margin-bottom: 70px;
        font-size: 15px;
        font-feature-settings: "palt";
        letter-spacing: -0.01px;
    }
    .web_sectiontitle::after {
        top: 80px;
        width:45px;
    }  
    .web_footspace{
        height:0px;
    }
    .web_introbox{
        flex-direction: column;
    }
    .webtext, .webimg {
        width: 100%;
    }
    .webtext{
        margin-bottom:25px;
    }
    .webtext p {
        max-width: 100%;
    }
    .webtext h1 {
        font-size: 0.9rem;
    }
    .webtext h1::before {
        font-size: 11px;
        margin-bottom: 10px;
        width: 130px;
        padding: 5px 0px;
    }
    .webtext h1::after {
        margin: 10px 0;
    }
    .webservice_grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 120px;
    }
    .grid_item {
        width: 100%;
        height: auto;
    }
    .gridtext {
        width: 60%;
    }
    .gridtext h1 {
        font-size: 0.9rem;
    }
    .gridtext p {
        font-size: 13px;
        margin-bottom:0px;
    }
    .flow_listItem_content .ttl {
        margin-bottom: 10px;
        font-size: 0.9rem;
        font-weight: 600;
    }
.flow_listItem_content .txtBox {
    padding: 15px 15px;
    font-size: 13px;
}
.web_sectiontitle1 {
    font-size: 15px;
    margin-bottom: 80px;
}
.web_sectiontitle2 {
    font-size: 15px;
    margin-bottom: 80px;
}
.web_sectiontitle1::after {
    top: 40px;
    width: 45px;
}
.web_sectiontitle2::after {
    top: 40px;
    width: 45px;
}
.gridimg {
    width: 36%;
    padding: 25px;
}
.gridimg img {
    margin-left:0px;
}
.consul_footspace {
    height: 0px;
}
}