:root{
    --base-color: #1A2028;
    --main-color: #252B36;
    --sub-color:#188AE0;
    --sub-color2: #707070;
    --list-color: #1f4c74;
    --noto: 'Noto Sans JP',sans-serif;
    --noto-serif: 'Noto Serif JP', serif;
   
}

*{
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}
body,html{
    height: 100%;
}


html{
    scroll-behavior: smooth;
}

body{
    box-sizing: border-box;
    font-size: 16px;
    color: var(--main-color);
    font-family: var(--noto);
    font-weight: 300;
    font-style: normal;
    background-color: #fefefe;
    font-feature-settings: "palt";
    line-break: strict;

}

a{
    text-decoration: none;
}

img:not(.rainbow-filter,.square-bk,.square-bk2,.square-bk3,.feature-pns-ttl img,.contact-container img){
    width: 100%;
    height: auto;
}

main{
    width: 1200px;
    margin: 0 auto;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 82px;
    background-color: rgba(255,255,255,0.7);
    box-shadow: 1px 1px 10px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  .header.visible {
    transform: translateY(0);
  }
  .header .nav-container .logo img{
    max-width: 70px;
  }
  .nav-container {
    max-width: 1200px;
    margin-inline: auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
  }
  
  .nav-links a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  
  .nav-links a:hover {
    color: #fff;
    background-color: var(--list-color);
  }
  
  /* Hamburger Menu */
  .hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
  }
  
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
  }

/* 特徴をクリックしてヘッダー高さを確保したままスクロール */
:target {
    scroll-margin-top: 120px; 
}

.main-container{
    display: flex;
    padding: 0 10px;
    flex-wrap: wrap ;
    justify-content: space-around;
    position: relative;
}

.main-inner{
    margin-top: 4rem;
    font-size: 21px;
}

.main-inner h1{
    
    max-width: 490px
}
.main-inner h2{
    max-width: 450px;
}

.lead-container{
    width: 100%;
    padding: 10px;
}
.main-lead{
    margin-top: 26px;
    max-width: 436px;
}

.main-lead span,
.h_text{
    position: absolute;
    text-indent: -9999px;
}

.pns-ttl{
    margin-top: 3rem;
    max-width: 403px;
}

.main-line{
    margin: 22px 5px ;
    border-left: 2px solid #333;
    width: 1px;
    height: 60px;
}

.sec01{
    margin-top: 4rem;
    background-image:  url("../assets/images/line_shadow.webp");
    background-repeat: no-repeat;
    background-position: 50%;
}
.section_line{
    width: auto;
    height: 29px;
    background-image:  url("../assets/images/line_shadow.webp");
    background-repeat: no-repeat;
    background-position: center;
}
.section_line2{
    width: auto;
    height: 29px;
    background-image:  url("../assets/images/line_shadow2.webp");
    background-repeat: no-repeat;
    background-position: center;
}
.sec01 ul{
    display: flex;
    list-style: none;
    justify-content: center;
}
.sec01 ul li{
    margin-right: 4.5rem;
}
.sec01 ul li img{
    max-width: 244px;
}
.sec01 ul {
    display: flex;
    gap: 40px; 
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
  }

.sec_support{
    margin-top: 5rem ;
    padding-inline: 1rem;
    text-align: center;
}
.sec_support p:nth-child(1) img,
.contact-container img{
    max-width: 95%;
}
.sec_support p:nth-child(2){
    margin-top: 3.75rem;
}

.sec_support p:nth-child(1) img{
    
    max-width: 896px;
}
.sec_support p:nth-child(2) img{
    max-width: 171px;
}
#feature {
    padding: 5rem 0;
    margin-top: 8rem;
    text-align: center;
    width: 100%; 
    background: linear-gradient(to top right, rgba(195, 177, 150, 0.3), rgba(121, 158, 195, 0.3));
    position: relative;
    overflow: hidden;
  }
  
.feature-pns-ttl{
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: .8;
}

.feature-pns01{
    margin-top: 7rem;
    padding-inline: 1rem;
    position: relative;
}

.feature-text-container{
    margin-top: 3rem;
    padding-inline: 1rem;
}
.text-container-inner{
    position: relative;
    
}
.feature-pns02 {
    position: relative; /* この要素を基準に絶対配置を計算 */
    margin-top: 5rem;
  }
.feature-text-container p{
    margin-top: 5rem;
    padding-inline: 1rem;
    position: relative;
    z-index: 99;
}

.feature-pns03 img{
    max-width: 775px;
}
.feature-pns04 img{
    max-width: 713px;
}
.quote1 {
    max-width: 281px;
    position: absolute; /* 基準要素に絶対配置 */
    top: -100px;
    left: 0;
  }
  .quote2 {
      max-width: 281px;
      position: absolute; /* 基準要素に絶対配置 */
      bottom: -100px;
      right: 0px;
    }


.item-link1,
.item-link2,
.item-link3{
    width: 244px;
    height: 219px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    background-color: #fdfdfd;
}
.item-link1 {
    background-image: url('../assets/images/list_item_01.webp');
}

.item-link2 {
background-image: url('../assets/images/list_item_02.webp');
}

.item-link3 {
background-image: url('../assets/images/list_item_03.webp');
}

/* ホバー時に別の画像を表示 */
.hover-item{
position: relative;
}
.hover-item p{
width: 100%;
position: absolute;
bottom: -25px;
left: 50%;
transform: translate(-52%,0);
text-align: center;
font-size: 22px;
color: var(--list-color);
font-weight: 400;
}
.hover-item a:hover{
display: block;
width: 244px;
height: 219px;
}


.hover-item a:hover p{
    font-weight: 700;
}
.item-link1:hover {
    background-image: url('../assets/images/list_item_01_hover.webp');
}

.item-link2:hover {
    background-image: url('../assets/images/list_item_02_hover.webp');
}

.item-link3:hover {
    background-image: url('../assets/images/list_item_03_hover.webp');
}
.item-link1:hover,
.item-link2:hover,
.item-link3:hover {
transition: background-image 0.3s ease;
}




#web-order,
#delivery{
    margin: 7rem auto ;
    position: relative;
}
#performance{
    margin: 7rem auto 0;
}
#process{
    margin: 0 auto ;
    position: relative;
}
#web-order h2,
#delivery h2,
#performance h2{
    display: flex;
    justify-content: center;
    align-items: center;
}
#web-order h2{
    width: 317px;
}
#delivery h2{
    width: 233px;
}
#performance h2{
    width: 231px;
}

.web-order-inner,
.delivery_inner,
.performance-inner{
    background-repeat: no-repeat;
    background-position:  right 0 top 0;
}

.web-order-inner{
    background-image: url("../assets/images/web_order_bk.webp");
}


.delivery_inner{
    background-image: url("../assets/images/delivery_bk.webp");
}
.performance-inner{
    background-image: url("../assets/images/performance_bk.webp");
}


.heading-container{
    max-width: 1000px;
    margin: 0 auto;
    padding-inline: 1rem;
}
.web-order-container,
.delivery-container,
.performance-container{
    width: 100%;
    margin-top: 3rem;
    padding-inline: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 99;
}

.delivery-container{
    margin-top: -3rem;
}
.delivery-container2{
    margin: 6rem auto 0;
    padding-inline: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-pns-ttl img{
    max-width: 1300px;
    height: auto;
}

.feature-pns01 img,
.feature-pns02 img,
.web-order-container img,
.delivery-container img,
.performance-container img,
.performance-details img,
.delivery-container2 img,
.price-img,
.flow img{
    width: 100%;
    max-width: 1000px;
}


.performance-details{
    margin-top: -7rem;
    padding-inline: 1rem;
    padding-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%; 
    background: linear-gradient(45deg, rgba(195, 177, 150, 0.7), rgba(121, 158, 195, 0.3));
    
}
.performance-details p{
    margin-top: 9rem;
}
.per-details-inner{
    margin-top: 3rem;
    padding: clamp(1rem, 0.045rem + 4.07vw, 3.1rem);
    width: 100%;
    max-width: 1000px;
    border-radius: 30px;
    background-color: #fff;
}

.per-details-inner.item1 img{
    max-width: 897px;
}

.per-details-inner.item2 > div:nth-of-type(1) img{
    max-width: 868px;
    text-align: center;
}
.per-details-inner.item2 > div:nth-of-type(2)  img{
    max-width: 674px;
}
.per-details-inner.item2 > div:nth-of-type(3) img{
    max-width: 896px;
    text-align: center;
}
.per-details-inner.item3 img{
    max-width: 895px;
    text-align: center;
}
.process-container{
    text-align: center;
}

#price{
    height: 230px;
}
.process-container{
    padding-bottom: 6rem;
    background-color: #183154;
    position: relative;
}
.price-img{
    margin-top: -13.75rem;
    max-width: 1000px;
}
.flow {
    padding: 1rem;
    margin-top: 3rem;
    margin-inline: auto;
    max-width: 1000px;
    text-align: left;
}
.flow img{
    margin-bottom: 3rem;
}

.flow div:nth-of-type(1) img{
    max-width: 688px;
} 
.flow div:nth-of-type(2) img{
    max-width: 1000px;
} 


#contact{
    width: 100%;
    gap: 4rem;
    text-align: center;
    position: relative;
    z-index: 99;
    background-image: url('../assets/images/contact_bk.webp');
  background-size: cover; /* 背景画像をコンテナに合わせる */
  background-position: center; /* 背景画像を中央に配置 */
  background-repeat: no-repeat; /* 背景画像を繰り返さない */
    background-color: #fff;
}

.contact-container {
    padding-top: 2rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5)); /* 半透明の白グラデーション */
    
    
  }
#contact ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style-type: none;
}

footer{
    padding: 1rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    background-image: linear-gradient(to right, 
    rgba(79, 176, 247, 0.8), /* 左側: #4FB0F7 with 80% opacity */
    rgba(183, 58, 139, 0.8) 50%, /* 中央: #B73A8B with 80% opacity */
    rgba(222, 202, 91, 0.8) /* 右側: #DECA5B with 80% opacity */
  );
  background-size: 100% 300px;
}

#contact a{
    display: block;
    width: 388px;
    height: 132px;
}
.contact-text{
    padding-bottom: 3rem;
    font-weight: 500;
}

footer {
}
footer small{
    color: #fff;
    font-size: 14px;
}


.contact1,
.contact2,
.contact3{
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transition:  .3s ease;
}

.contact1 {
    background-image: url('../assets/images/contact_phone.webp');
}

.contact2 {
    background-image: url('../assets/images/contact_mail.webp');
}

.contact3 {
    background-image: url('../assets/images/contact_web.webp');
}

.contact1:hover{
    background-image: url('../assets/images/contact_phone_hover.webp');
}
.contact2:hover{
    background-image: url('../assets/images/contact_mail_hover.webp');
}
.contact3:hover{
    background-image: url('../assets/images/contact_web_hover.webp');
}

.square-bk,
.square-bk2,
.square-bk3{
    position: absolute;
    z-index: -99;
}

hr{
    margin: 5rem auto;
    border-top: 2px dotted var(--main-color);
    border-right: none;
    border-bottom: none;
    border-left: none;
}
.square-bk{
    top: 550px;
    right: 0;
}


.square-bk2{
    bottom: 120px;
    left: 0;
}

.square-bk3{
    bottom: 60px;
    right: 0;
}






.scroll {
margin-top: 2rem;
font-size: 18px;
font-family: "Poppins", serif;
font-weight: 500;
position: relative;
}
/* 矢印のアニメーション部分 */
.scroll::after {
animation: scroll 2s infinite;
border-bottom: 4px solid #000;
border-left: 4px solid #000;
content: "";
height: 18px;
left: 0;
margin: 10px;
position: absolute;
right: 0;
bottom: -20px;
width: 18px;
}
@keyframes scroll {
0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
}
40% {
    opacity: 1;
}
80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-15px, 15px);
}
100% {
    opacity: 0;
}
}

/* 動画とフィルター部分 */
.main-mv {
    position: relative;
    flex: 1; 
    height: 768px; 
    overflow: hidden; 
    max-width: 477px;
    box-sizing: border-box;
}

/* 動画のスタイル */
.movie {    
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    height: 100%; 
    width: auto; 
}


/* フィルターのスタイル */
.rainbow-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 動画全体を覆う */
    height: 100%; /* 動画全体を覆う */
    opacity: 0.9; /* 半透明のフィルター効果 */
    pointer-events: none; /* クリック不可 */
}



.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: var(--base-color);
    border: solid 2px var(--base-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    visibility: visible;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid  #fff;
    transform: translateY(20%) rotate(-45deg);
}

@media screen and (max-width: 1000px){
    .main-container{
        gap: 30px;
    }


    .square-bk, .square-bk2, .square-bk3 {
        width: calc(1000px / 2);
    }
   
}

@media screen and (max-width: 850px){

.hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }


}


@media screen and (max-width: 768px){
    img{
        width: 100%;
        height: auto;
    }
    


    .heading-container {
        width: 90vw;
        margin: 0 auto;
    }

    .feature-pns-ttl{
        position: absolute;
        top: clamp(-2.5rem, -1.616rem + -3.14vw, -3.125rem);
        left: 0;
        transform: translateX(0);
    }

    .main-container{
        width: 100%;
    }

    .sec01 ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-self: center;
        align-items: center;
        gap: 0;
    }
    .sec01 ul li{
        margin-right: 0;
    }
    .sec_support{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .sec_support p:nth-child(1){
        width: 100%;
    }
    .sec_support p:nth-child(2){
        margin-top: 2rem;
        width: 171px;
    }

    .main-inner {
        padding: 1rem;
        margin: 1rem 0;
        font-size: 21px;
    }

    #feature{
        margin-top: 2rem;
        padding: 0;
    }
    .feature-text-container{
        padding-bottom: 4rem;
    }

    .feature-pns01{
        margin-top: 2rem;
    }
    .text-container-inner{
        padding: 0 2rem;
    }
    .feature-pns01 img{
        padding: 1.5rem;
    }

    .quote1,.quote2{
        max-width: 100px;
    }
    .quote2{
        bottom: -50px;
    }
    .web-order-container,
    .delivery-container,
    .performance-container {
        padding: 2rem;
    }

    .web-order-inner,
    .delivery_inner,
    .performance-inner {
       
        background-size: 50%;
    }

    .delivery-container2{
        padding: 1.5rem;
    }

    .performance-container{
        margin-top: 1rem;
    }
    .performance-details{
        padding: 1.5rem;
    }
    #price{
        height: clamp(5rem, -3.844rem + 31.45vw, 11.25rem);
    }
    .price-img{
        margin-top: -10.5rem;
    }

    .process-container{
        padding: 1.5rem;
    }
    .flow {
        text-align: center;
    }
    /* .flow img{
        margin-top: clamp(2rem, -5.5rem + 32vw, 3.5rem);
    } */

    .flow div:nth-of-type(1) img{
        max-width: 250px;
    } 
    .flow div:nth-of-type(2) img{
        max-width: 254px;
    } 

    .square-bk, .square-bk2, .square-bk3{
        width: calc(100vw/2);
    }
    .square-bk {
        top: clamp(21.875rem, 9.948rem + 50.89vw, 34.375rem);
    }
    .contact-container{
        padding: 2rem;
    }
    #contact ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-text{
        padding-bottom: 0;
    }
}

@media screen and (max-width: 588px){

    .main-mv {
        position: absolute;
        top: 0;
        right: 0;
        overflow: hidden;
        max-width: clamp(11.25rem, -1.954rem + 56.34vw, 18.75rem);
        max-height: 500px;
        z-index: -99;
    }
    .movie{
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        height: 100%;
        width: auto;
    }

}


@media screen and (max-width: 450px){
    .movie{
    }
    .sec01{
        margin-top: 0;
    }
    .sec01 ul{
        gap: 20px;
        flex-direction: column;
    }
    .hover-item p{
        bottom: clamp(-1.563rem, -4.063rem + 10.67vw, -1.063rem);
    }
    .sec_support{
        padding: 20px;
    }
    
    .sec_support p:nth-child(1){
        width: 100%;
    }
    .feature-pns01 img{
        padding: 10px;
    }
    .text-container-inner{
        padding: 0 clamp(0.625rem, -0.938rem + 6.67vw, 0.938rem);
    }
    .web-order-container,
    .delivery-container,
    .performance-container{
        padding-inline: clamp(0.625rem, -0.938rem + 6.67vw, 0.938rem); 
        flex-direction: column;
    }
    .performance-details{
        padding: 10px;
    }
    .performance-details p{
        margin-top: 5rem;
    }
    .per-details-inner{
        margin-top: 1rem;
        padding: 10px;
        border-radius: 5px;
    }
    hr{
        margin-block: .75rem;
    }
    #price{
        height: clamp(4.375rem, -1.875rem + 26.67vw, 5.625rem);
    }
    .price-img {
        padding-inline: 1rem;
        margin-top: 0;
        position: absolute;
        top: -5%;
        left: 0;
    }

    #contact ul{
        flex-direction: column;
    }
    #contact a{
        width: calc(90vw - 2rem);
        height: 110px;
    }
    footer{
        flex-direction: column;
        gap: 20px;
    }
    footer small{
        font-size: 13px;
    }
    .web-order-inner,
    .delivery_inner,
    .performance-inner{
        background-size: 50%;
    }
    .pagetop{
        right: 10px;
    }
    
    .square-bk2{
        bottom: 450px;
    }

}