* {
    font-family: sans-serif;
    box-sizing: border-box;
}
header {
    position: fixed;
    top: 10px;
    left: 0;
    width: 90%;
    margin-left: 5%;
    background-color: white;
    height: 1.4rem;
    line-height: 1.4rem;
    padding: 0 2rem;
    z-index: 1000;
}
.login {
    position: fixed;
    right: 6%;
    display: inline-block;
    border: 1px solid blue;
    border-radius: 0.2rem;
    text-decoration: none;
    font-style: normal;
    padding: 0 0.3rem;
}
.container {
    max-width: 100%;
    width: 100%;
    background-color: #FFE0E4;
    overflow-x: hidden;
}
.special {
    color: red; 
    font-size: 1.4rem;
}
h1 {
    background: linear-gradient(70deg, #FF979E 0%, #6A30FF 30%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
h2 {
    background: linear-gradient(70deg, #FF979E 0%, #6A30FF 20%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
h3 {
    font-size: 1.5rem;
    color: #333;
}
h3.grad {
    background: linear-gradient(70deg, #FF979E 0%, #6A30FF 20%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
}

section {
    opacity: 0;
    margin: 50px 0;
    padding: 20px;
    width: 100%;
    overflow-x: hidden;
}

.visible {
    transform: translateY(0);
    opacity: 1;
}  

.expand-img {
    transform: scale(0);
    transition: transform 0.4s ease-out;
    transform-origin: center center;
    max-width: 100%;
}

.expand-img.zoomed {
    transform: scale(1);
}
.top {
    display: flex;
    flex-direction: row;
}
.top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat 0% 0% / 50% url('/img/WEB/Ad998359550.png');
    opacity: 0.2;
    z-index: -1;
}
h1 {
    font-size: 4rem;
}
.top .left {
    width: 600px;
    margin-right: 5rem;
}
.top .right {
    width: 400px;
    height: 400px;
}
.top .button-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.top .button {
    display: flex;
    align-items: center;
    height: 5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(-30deg, rgb(238, 20, 20) 0%, rgb(201, 34, 243)60%);
    color: white;
    margin: 1rem 0;
    text-align: center;
    cursor: pointer;
}

.top > .right > img {
    width: 100%;
    border-right: 9px solid;
    border-bottom: 4px solid;
    border-image: linear-gradient(45deg, #d19e1d, #ffd86e, #e3a812) 1;
}

.syoki-settei .wrap {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.syoki-settei .wrap div {
    flex: 1;
}
.syoki-settei .flex {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 1rem;
}
.num {
    height: 3rem;
    width: 3rem;
    min-width: 3rem;
    max-width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-size: 1.5rem;
    font-family: serif;
    border: 1px #AAA solid;
    background: linear-gradient(135deg, rgb(235, 208, 251) 10%, rgb(255, 204, 239) 90%);
}

.kanben-section {
    background: no-repeat 70% 0% / 15% url('/img/WEB/smapho.png');
}
.kanben {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding-left: 1.5rem; 
}
.kanben::before {
    content: '';
    position: absolute;
    left: 1.5rem; 
    top: 1.5rem; 
    bottom: 1.5rem; 
    width: 2px;
    z-index: -1;
    background-color: #AAA; 
} 
.kanben::after {
    content: '';
    position: absolute;
    left: 0; 
    top: 0; 
    height: 100%;
    width: 100%;
    background: no-repeat 100% 80% / 50% url('/img/WEB/Ad998359550.png');
    opacity: 0.2;
}
.kanben .step {
    position: relative;
    padding-left: 3rem;
}
.kanben .flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.kanben .step::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: #AAA;
}

.kanben .num {
    position: relative;
    z-index: 1; 
    background-color: white;
    transform: translateX(-150%);
}

.kanben .num::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 3px;
    background: linear-gradient(135deg, rgb(235, 208, 251) 10%, rgb(255, 204, 239) 90%);
    z-index: -1;
}

.benri .wrap {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.benri-item {
    flex: 1;
    border: 3px #BBB solid;
    border-radius: 6px;
    background: linear-gradient(45deg, #FFF5F3 0%, #FFE8F3 80%);
    padding: 0.5rem 1rem;
}
.benri .grad0 {
    transform: translateY(-80%);
    background: linear-gradient(45deg, #FFF4F2 0%, #FFE0E4 50%, #FAF0E4 100%);;
    text-align: center;
}
.benri .grad0 h3 {
    display: inline;
    font-size: 1.2rem;
}
.benri .grad0 p {
    transform: translateY(-100%);
}

.schedule {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}
.schedule .left {
    width: 650px;
}
.schedule .right {
    width: 350px;
}
/* .schedule .right img {
    width: 100%;
} */

.schedule .hyoji {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.schedule .wrap {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.schedule .num {
    position: relative;	
    width: 75px;	
    height: 5rem;	
    background: linear-gradient(135deg, rgb(235, 208, 251) 10%, rgb(255, 204, 239) 90%);
    flex-grow: 0.7;	
    margin: 0px 20px 0px 0px;	
    text-align: center;	
    line-height: 30px;	
    font-size: 1.5rem;	
    border: none;
}
.schedule .num::after {
    content: "";	
    position: absolute;	
    right: -5rem;	
    border-width: 2.5rem;	
    border-style: solid;	
    border-color: transparent transparent transparent rgb(255, 204, 239);	
}
.schedule img {
    /* transform: translateY(20%); */
    transform: scale(0);
    transition: transform 0.4s ease-out;
    transform-origin: center center;
    max-width: 100%;
}

section.kari-yoyaku {
    position: relative;
    margin-bottom: 0;
}
.kari-yoyaku .wrap {
    display: flex;
    flex-direction: row;
    gap: 5rem;
}
.kantan {
    position: absolute;
    top: 30%;
    left: 15%;
}

.shift {
    padding-top: 6rem;
    background: no-repeat 100% 0 / 50% url("/img/WEB/Ad479847501.png");
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}
.intro-wrap {
    display: flex;
    justify-content: space-between;
}

.intro-img {
    width: 30%;
    margin: 10px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.intro-img::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid white;
    border-radius: 13px;
    z-index: 1;
    pointer-events: none;
}

.intro-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.settei-option .wrap {
    display: flex;
    flex-direction: row;
    gap: 8rem;  
}
.settei-option .space {
    width: 12rem;
    height: 30rem;
            background: linear-gradient(135deg, rgb(235, 208, 251) 10%, rgb(255, 204, 239) 90%);

}
.option {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
}
.testimonials {
    margin: 40px 0;
    text-align: center;
}

.testimonial-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 30px;
    display: inline-block;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: url('../img/paper-texture.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    text-align: left;
    clip-path: polygon(
        10% 0%, 20% 5%, 30% 0%, 40% 5%, 50% 0%, 60% 5%, 70% 0%, 80% 5%, 90% 0%, 100% 5%, 
        100% 10%, 95% 15%, 100% 20%, 95% 25%, 100% 30%, 95% 35%, 100% 40%, 95% 45%, 100% 50%, 95% 55%, 100% 60%, 95% 65%, 100% 70%, 95% 75%, 100% 80%, 95% 85%, 100% 90%, 95% 95%, 100% 100%,
        90% 100%, 80% 95%, 70% 100%, 60% 95%, 50% 100%, 40% 95%, 30% 100%, 20% 95%, 10% 100%, 0% 95%, 
        0% 90%, 5% 85%, 0% 80%, 5% 75%, 0% 70%, 5% 65%, 0% 60%, 5% 55%, 0% 50%, 5% 45%, 0% 40%, 5% 35%, 0% 30%, 5% 25%, 0% 20%, 5% 15%, 0% 10%, 5% 5%, 0% 0%
    );
}

.testimonial-box p {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

.VDL-pengentle {
    font-family: "vdl-pengentle", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.customer-name {
    font-weight: bold;
    font-size: 1em;
    margin-top: 10px;
    color: #555;
    text-align: right;
}


.customer-name {
    font-family: 'VDL-logomaru', sans-serif;
    font-weight: bold;
    font-size: 1em;
    margin-top: 10px;
    color: #555;
    text-align: right; 
}

.security {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.security .left {
    width: 600px;
}
.security .right {
    width: 400px;
}
.security .right img {
    width: 100%;
}
.pricing {
    background-color: #f8f8f8; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px 0; 
    text-align: center;
}

.pricing-box {
    max-width: 600px;
    margin: 0 auto;
}

.price {
    font-size: 1.5em;
    color: #ff69b4;
}
.toiawase {
    position: relative;
    width: 100%;
    height: 400px;
}
.toiawase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat 70% 0% / 40% url("/img/WEB/Ad593223990.png");
    opacity: 0.3;
    z-index: -1;
}
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #FFC0CB;
    font-size: 0.6rem;
    text-align: center;
    z-index: 1000;
}
footer a {
    text-decoration: none;
    color: black;

}





@media screen and (max-width: 767px) {
    html {
        font-size: 18px;
    }
    header {
        height: 2.8rem;
        width: 100%;
        margin-left: 0;
        font-size: 0.8rem;
        padding: 0 1rem;
    }
    section {
        margin: 1rem 0;
    }
    .special {
        font-weight: bold;
        color: red;
        font-size: 1rem;
    }
    h1 {
        font-size: 2.1rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .num {
        height: 2rem;
        width: 2rem;
        min-width: 2rem;
        max-width: 2rem;
    }
    .top {
        flex-direction: column;
    }
    .top::before {
        background: no-repeat 50% 0% / 100% url('/img/WEB/Ad998359550.png');
    }
    .top .left {
        width: 100%;
    }
    .top .right {
        width: 100%;
        height: 500px;
    }
    .syoki-settei .wrap {
        flex-direction: column;
    }
    .kanben-section {
        background: no-repeat 100% 2% / 35% url('/img/WEB/smapho.png');
    }
    .kanben {
        padding-left: 0.5rem;
        gap:1rem;
    }
    .kanben .step {
        gap: 0.2rem;
        padding-left: 2rem;
    }
    .kanben .step::before {
        content: '';
        position: absolute;
        top: 2rem;
        width: 4rem;
    }
    .kanben .num {
        transform: translateX(-100%);
    }
    .kanben .num::before {
        left: 2rem;
    }
    .benri .wrap {
        flex-direction: column;
    }
    .schedule {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    .schedule .left {
        width: 100%;
    }
    .schedule .right {
        width: 100%;
        margin-bottom: 0; 
    }
    .kari-yoyaku .wrap {
        flex-direction: column;
        gap: 0;
    }
    .kantan {
        top: 15%;
        left: 60%;
        width: 35%;
    }
    .shift {
        padding-top: 6rem;
        background: no-repeat 0 0 / 100% url("/img/WEB/Ad479847501.png");
    }
    .intro-wrap {
        padding: 2rem 0;
        position: relative;
        height: 60vw;
        display: flex;
        justify-content: center;
        align-items: center;
      } 
    .intro-img {
        position: absolute;
        width: 50%;
        border-radius: 15px;
        overflow: hidden;
        transition: transform 0.3s ease;
      }
    
      .intro-img:nth-child(1) {
        transform: translateX(-55%) translateY(35%);
        z-index: 1;
      }
    
      .intro-img:nth-child(2) {
        transform: translateY(-35%);
        z-index: 3;
      }
    
      .intro-img:nth-child(3) {
        transform: translateX(55%) translateY(35%);
        z-index: 2;
      }
    
      .intro-img::before {
        content: '';
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border: 1px dotted white;
        border-radius: 13px;
        z-index: 1;
        pointer-events: none;
      }
    
      .intro-img img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 15px;
      }
    .settei-option .wrap {
        flex-direction: column;
        gap: 1rem;
    }
    .settei-option .space {
        width: 100%;
        height: 3rem;
    }

    .security {
        flex-direction: column;
    }
    .security .left {
        width: 100%;
    }
    .security .right {
        width: 100%;
    }
    .pricing-box {
        max-width: 100%;
        width: 100%;
    }

    .toiawase {
        height: 500px;
        margin-bottom: 100px;
    }
    .toiawase::before {
        background: no-repeat 100% 10% / 60% url("/img/WEB/Ad593223990.png");
        opacity: 0.8;
    }
}




@media screen and (max-width: 550px) {
    .num6 {
        margin-top: -2rem;
    }

}