@charset "utf-8";

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
}   

.home{
    background-image: url('./img/main.png');
    background-size: cover;
    height: 100vh;
    width: 100%;
    z-index: -1;
    background-position: center top;
    background-repeat: no-repeat;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
    color: #333;
}
.inner_block{
    margin: 0 auto;
    padding: 0 50px;
}
.sp{
    display: none;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
    /* topに固定するためのスタイル */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 背景を半透明にして、下のコンテンツが見えるようにする */
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
}
.header h1{
    font-size: clamp(18px, 3vw, 26px) ;
    color: #333;
}
.logo_icon{
    font-size: clamp(40px,5vw,60px);
    color: #333;
    font-weight: bold;
}
.nav ul{
    list-style: none;
    display: flex;
    gap: 20px;
}
/*hamburgerメニューのPC状態では隠れている部分*/
.toggle_btn{
    position: fixed;
    top:40px;
    right:40px;
    width:40px;
    height:40px;
    transition: all 0.5s;
    cursor: pointer;
    z-index:100;
    background-color: #528372;
}
.toggle_btn span{
    display: block;
    position: absolute;
    width: 24px;
    height:2px;
    background-color: #fff;
    border-radius: 3px;
    left:8px;
    transition:all 0.5s;
}
.toggle_btn span:nth-child(1){
    top:8px;
}
.toggle_btn span:nth-child(2) {
    top: 19px;
}
.toggle_btn span:nth-child(3) {
    bottom: 8px;
}
.hamburger_menu{
    display: none;
    text-align: center;
    position: fixed;
    top:120px;
    right:40px;
    z-index:100;
}
.hamburger_menu ul{
    list-style:none;
    margin:0;
    padding:0;
}

.hamburger_menu li{
    margin-bottom:20px;
}

.hamburger_menu a{
    font-size:24px;
    color:#fff;
    text-decoration:none;
}
.hamburger_menu li a{
    color: #fff!important;
}
.mask{
    display:none;
    transition: all 0.5s;
}
/*ボタンクリック時の動作*/
.open .toggle_btn span:nth-child(1){
    transform: translateY(10px) rotate(-315deg);
}
.open .toggle_btn span:nth-child(2){
    opacity: 0;
}
.open .toggle_btn span:nth-child(3){
    transform: translateY(-10px) rotate(315deg);
}
.open .hamburger_menu{
    display: block;
}
.mask.open{
    display: block;
    background-color: #0f1d18;
    opacity:0.8;
    width:100%;
    height:100vh;
    position: fixed;
    top:0;
    left:0;
    z-index: 10;
}
.about{
    text-align: left;
    padding: 100px 20px;
}
.title{
    font-size: clamp(14px 1.5vw 18px);
    color: #528372;
    margin-bottom: 30px;
    border-bottom: 2px solid #528372;
    display: inline-block;
}
.more_button{
    display: flex;
    margin-top: 30px;
    gap:20px;
}
.more_button a{
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}
.more_button a:first-child{
    background-color: #01073a;
    color: #fff;
}
.more_button a:last-child{
    border: 2px solid #01073a;
}
.more_button a:hover{
    scale: 1.1;
}
.works{
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    background-color: #ffff;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    position:relative;
    border-radius:12px;
    margin-top:60px;
}
.work_block{
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
    align-items: center;
}
.work_block:nth-child(1),.work_block:nth-child(2){
    border-right: 1px solid #ccc;
}
.work_block img{
    width:64px;
    height:64px;
    object-fit:contain;
    flex-shrink:0;
    padding-right: 20px;
}
.about_me{
    margin-top: 60px;
}
.about_me_block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 100px;
}
.about_me_block img{
    width:50%;
    height: auto;
    border-radius: 12px;
}
.about_me .about_text{
    width: 50%;
    padding:0% 80px;
}
.service{
    text-align: center;
    padding: 100px 20px;
}
.service_item{
    gap: 30px;
}
.service_block{
    display: flex;
    gap: 60px;
    padding: 40px 20px;
    background-color: #ffff;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    border-radius:12px;
    margin-top:60px;
    justify-content: center;
}
.service_img{
    position: relative;
}
.service_img::after{
    position: absolute;
    bottom:-70px;
    left: 50%;
    transform: translate(-50%, -50%);
    width:64px;
    height:64px;
    background-color: #528372;
    border-radius: 50%;
    padding: 10px;
}
.service_item:nth-child(1) .service_img::after{
    content:url('./img/service1.png');
}
.service_item:nth-child(2) .service_img::after{
    content:url('./img/service5.png');
}
.service_item:nth-child(3) .service_img::after{
    content:url('./img/service3.png');
}
.service_item h4{
    padding-top: 80px;
    font-size: 18px;
    text-decoration: underline;
    text-decoration-color: #528372;
    text-underline-offset: 10px;
}
.service_item p,.service_item ul{
    text-align: left;
}
.flow{
    text-align: center;
    padding: 100px 20px;
}
.flow_block{
    margin-top: 40px;
}
.flow_li{
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}
.flow_img{
    width: 64px;
    height: 64px;
    background-color: #528372;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    position: relative;
}
.flow_img img{
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}
.flow_img .sp{
    width: 16px;
    height: 16px;
}
.flow_img .arrow{
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background-color: #528372;
    display: inline-block;
}
.flow_li:last-child .arrow::after{
    content: "▼";
    color: #528372;
    position: absolute;
    bottom: -8px;
    left:-7px;
}
.flow_text{
    background-color: #ffff;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    border-radius:12px;
    padding: 0px;
    display: flex;
    justify-content: start;
    align-items: center;
    width:80%;
}
.flow_text_title{
    display: flex;
    gap: 20px;
    align-items: center;
    text-align: left;
    width:50%;
}
.flow_text h4{
    border-right: 1px solid #ccc;
    padding-right: 20px;
    flex:1;
    width:50%;
    text-align: center;
    color: #528372;
}
.flow_text h3{
    font-size: 18px;
    flex:1;
    width:50%;
    padding-left: 10%;
}
.flow_text p{
    flex:1;
    width:50%;
    padding-left: 20px;
}
.flow_after{
    margin: 80px auto;
    width:60%;
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: #e7fff7;
    border-radius: 12px;
}
.flow_after_img{
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    align-items: center;
    margin-left: 80px;
}
.flow_after_img img{
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.flow_after_text{
    text-align: left;
    margin-left: 60px;
}
.flow_after_text h4{
    font-size: 18px;
    color: #528372;
    margin-bottom: 20px;
}
.working{
    margin-top:60px;
    background:#f8faf8;
    padding: 80px 20px;
}
.working_text{
    text-align: center;
    margin-bottom: 20px;
}
.working_item{
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.thumbnai{
    overflow: hidden;
    height: 300px;
    position: relative;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    transition:.3s;
}
.one{
    width: 500px;
}
.two{
    width: 650px;
    margin-left: 80px;
}
.three{
    width: 800px;
    margin-left: 200px;
}
.thumbnai img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}
.thumbnai:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}
.working_block_text{
    text-align: left;
    max-width:350px;
}
.contact{
    display: flex;
    gap: 60px;
    background-color: #ffff;
    border-radius:12px;
    margin-top:60px;
    justify-content: center;
    width: 100%;
}
.contact_block ol{
    padding-inline-start: 0px !important;
}
.contact_block li{
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}
.contact_img{
    width: 64px;
    height: 64px;
    background-color: #528372;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    position: relative;
}
.contact_img img{
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}
.contact_form {
    margin-top: 100px;
}
.contact_form input, .contact_form textarea{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 50px;
}
.btn{
    display: block;
    width: 250px;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #528372;
    color: #fff;
    border-radius: 5px;
    
    transition: all 0.3s ease;
}
.contact_confirm{
    max-width: 900px;
    margin: 100px auto;
}
.contact_text{
    text-align: left;
    margin-bottom: 50px;
}
.confirm_box{
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    max-width:800px;
    margin:0 auto;
}

.confirm_item{
    margin-bottom:30px;
}

.confirm_item h4{
    color:#528372;
    margin-bottom:10px;
}
.confirm_item p{
    line-height: 1.8;
    margin-top:10px;
    padding-left:10px;
}
.confirm_button{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.message_box{
    background:#f8f8f8;
    padding:20px;
    border-radius:8px;
    margin-top:10px;
    line-height:1.8;
}
.complete{
    max-width:800px;
    margin:100px auto;
    padding:60px;
    text-align:center;
    background:#fff;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}
.complete h1{
    margin:30px 0;
}

.complete p{
    margin-bottom:40px;
    line-height:2;
}
.footer{
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #2f4f46;
    color: #fff;
    font-size: 14px;
    display: block;
    margin-top: 60px;
    box-sizing:border-box;
}
@media (max-width: 768px){

    .inner_block{
        padding:0 10px;
    }
    /*--about--*/
    .about{
        padding-bottom: 0;
    }
    .more_button{
        margin-top: 10px;
    }
    .works{
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow:0 10px 30px rgba(0,0,0,.06);
        border-radius:12px;
        margin:50px auto;
        width:80%;
    }
    .work_block:nth-child(1),.work_block:nth-child(2){
        border-right: 0;
        border-bottom: 1px solid #ccc;
    }
    .work_block{
        justify-content: flex-start;
        padding-left: 30px;
        gap:50px;
    }
    /*--about_me--*/
    .about_me_block{
        flex-direction: column;
        gap:0;
    }
    .about_me_block img{
        width:100%;
    }
    /*--service--*/
    .service_block{
        flex-direction: column;
        margin-top: 10px;
    }
    .service{
        padding-bottom:0;
    }

    .service_item h4{
        padding-top: 40px;
    }
    .service_item{
        width:60%;
        margin: 0 auto;
    }
    .service_item li{
        font-size: 12px;
    }
    .service_img img{
        width:100%;
    }
    /*--flow--*/
    .flow_text h3{
        font-size:12px;
    }
    .flow_text p{
        font-size: 8px;;
    }
    .flow_after{
        margin: 50px auto;
        width:100%;
        gap: 10px;
    }
    .flow_after_text p{
        font-size: 12px;
    }
    /*--working--*/
    .working{
        padding:0 20px;
        margin-top: 20px;
    }
    .working_item{
        flex-direction: column;
    }
    .thumbnai{
        width:100%;
    }
    .thumbnai img{
        object-fit: fill;
    }
    .two,.three{
        margin-left:0;
    }
    /*--contact--*/
    .contact{
        flex-direction: column;
        gap:0;
    }
    .contact_form {
        margin-top:30px;
    }
}
@media (max-width: 375px){
    /*--index.php--*/
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
    .nav a{
        font-size:14px;
    }
    h1{
        font-size:24px;
    }
    h3{
        font-size: 14px;
    }
    p{
        font-size: 12px;
    }
    .inner_block{
        padding:0 10px;
    }
    .title{
        margin-bottom: 0;
    }
    /*about*/

    .more_button{
        flex-direction: column;
        display: inline-block;
    }
    .more_button a{
        font-size: 12px;
        margin-bottom: 10px;
    }
    .work_block{
        padding-left: 10px;
        gap:20px;
    }
    .work_block img{
        width:32px;
        height:32px;
        padding-right: 5px;
    }
    /*--about_me--*/

    .about_me .about_text{
        width:100%;
        padding:0;
    }
    /*--service--*/
    .service_item{
        width:100%;
    }
    .service_img img{
        width:80%;
    }
    .service_item:nth-child(1) .service_img::after{
        content:url('./img/service-sns-1.png');
    }
    .service_item:nth-child(2) .service_img::after{
        content:url('./img/service-sns-2.png');
    }
    .service_item:nth-child(3) .service_img::after{
        content:url('./img/service-sns-3.png');
    }
    .service_img::after{
        bottom:-70px;
        left: 50%;
        transform: translate(-50%, -50%);
        width:32px;
        height:32px;
        padding: 10px;
    }
    /*--flow--*/
    .flow_block ol{
        padding-inline-start: 0;
    }
    .flow_img{
        width:32px;
        height:32px;
        margin-right: 0;
        display: none;
    }
    .flow_text{
        width:100%;
    }
    .flow_text_title{
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        border-right: 1px solid #ccc;
        gap:0;
    }
    .flow_text h4{
        font-size: 14px;
    }
    .flow_text h3 {
        padding:0;
        font-size: 14px;
        width:100%;
        margin-top: 0;
    }
    .flow_text h4{
        border-right:0;
        text-align: left;
    }
    .flow_img .arrow{
        display:none;
    }
    .flow_text p{
        padding-left: 5px;
    }
    .flow_li{
        min-height:120px;
    }
    .flow_after{
        margin: 20px auto;

    }
    .flow_after_img{
        display: none;
    }
    .flow_after_text{
        margin:0 10px;
    }

    /*--contact--*/
    .contact{
        flex-direction: column;
        gap:0;
    }
    .contact_block li{
        margin-bottom: 0;
    }
    .contact_form{
        margin-top: 0;
    }
    /*--confirm.php--*/
    .contact_confirm{
        padding: 0 20px;
    }
    .confirm_box{
        padding: 25px;
    }

    .confirm_button{
        flex-direction: column;
        align-items: center;
    }

    .confirm_button form{
        width: 100%;
        max-width: 300px;
    }

    .confirm_button .btn{
        width: 100%;
    }

    /*--complete.php--*/
    .complete{
        margin: 50px 20px;
        padding: 40px 20px;
    }

}