@media (max-width: 719px) {
  header {
    background-color: rgb(var(--main_color));
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;

    & .logo_group {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      
      & img {
        width: 100%;
        max-height: 58px;
        aspect-ratio: 3.98;
        object-fit: contain;
      }
    }
    
    & .sp_hamburger {
      position: relative;
      top: 0;
      left: 89.9%;
      width: 10%;
      height: 60px;
      background-color: rgb(var(--main_color));
      border: 0;
      
      & span {
        position: absolute;
        left: 0;
        width: 80%;
        height: 2px;
        background: rgb(var(--white_color));
        transition: transform 0.3s, opacity 0.3s;
        
        &:nth-child(1) {
          top: 10px;
        }
        &:nth-child(2) {
          top: 28px;
        }
        &:nth-child(3) {
          bottom: 10px;
        }
      }
      
      &.is-open span:nth-child(1) {
        transform: translateY(28px) rotate(45deg);
      }

      &.is-open span:nth-child(2) {
        opacity: 0;
      }

      &.is-open span:nth-child(3) {
        transform: translateY(-28px) rotate(-45deg);
      }
    }
    
    .sp_overlay {
      position: fixed;
      inset: 0;
      background: rgb(var(--black_color) / 0.4);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s;
      z-index: 999;
      
      &.is-open {
        opacity: 1;
        visibility: visible;
      }
    }
    
    & .link_group {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      height: 100vh;
      background: rgb(var(--white_color) / 0.9);
      transition: right 0.3s;
      z-index: 1000;
       
      &.is-open {
        right: 0;
      }
      
      & a {
        margin: 20px 0;
        text-align: center;
        border-bottom: 1px rgb(var(--main_color) / 0.3) solid;
      }

      & .separate1 {
        display: none;
      }
      & .separate2 {
        display: none;
      }
    }
   
    & .sales_group {
      position: fixed;
      top: 85%;
      left: 10%;
      width: 55px;
      height: 70px;
      border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
      z-index: 101;
      background-color: rgb(var(--main_char_color));
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;

      & a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;

        border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
        text-decoration: none;
        color: inherit;

        & .sp_buy {
          & img {
            width: 30px;
          }
        }

        & .text-wrapper-2 {
          display: none;
        }
      }
    }
  }
}

@media (min-width: 720px) {
  header {
    background-color: rgb(var(--main_color));
    min-height: 80px;
    position: sticky;
    top: 0;
    z-index: 100;
  
    & .logo_group {
      position: absolute;
      top: 0;
      left: 0;
      width: 23%;
      height: 74px;
      display: flex;
      align-items: center;
      justify-content: center;
    
      & img {
        width: 98%;
        max-height: 74px;
        aspect-ratio: 3.98;
        object-fit: contain;
      }
    }
    
    & .sp_hamburger {
      display: none;
    }
  
    & .link_group {
      position: relative;
      top: 0;
      left: 23%;
      width: 54%;
      height: 80px;
      background-color: rgb(var(--white_color));
      border-radius: 0px 0px 20px 20px;
    
      & .link1 {
        position: absolute;
        top: 30px;
        width: 33%;
        color: rgb(var(--main_color));
        font-size: 16px;
        text-align: center;
        letter-spacing: 0;
        line-height: normal;
      }
    
      & .separate1 {
        position: absolute;
        top: 27px;
        left: 33.3%;
        color: rgb(var(--main_color));
        font-size: 20px;
        text-align: center;
        letter-spacing: 0;
        line-height: normal;
      }
    
      & .link2 {
        position: absolute;
        top: 30px;
        left: 34%;
        width: 33%;
        color: rgb(var(--main_color));
        font-size: 16px;
        text-align: center;
        letter-spacing: 0;
        line-height: normal;	
      }
    
      & .separate2 {
        position: absolute;
        top: 27px;
        left: 66.6%;
        color: rgb(var(--main_color));
        font-size: 20px;
        text-align: center;
        letter-spacing: 0;
        line-height: normal;
      }
    
      & .link3 {
        position: absolute;
        top: 30px;
        left: 66.6%;
        width: 33%;
        color: rgb(var(--main_color));
        font-size: 16px;
        text-align: center;
        letter-spacing: 0;
        line-height: normal;
      }
    }
  
    & .sales_group {
      position: absolute;
      top: 0;
      left: 77%;
      width: 22%;
  	
      & .rectangle-2 {
        position: absolute;
        top: 12px;
        left: 5%;
        width: 90%;
        height: 55px;
        background-color: rgb(var(--main_char_color));
        border-radius: 10px;
        text-align: center;
      
        &:hover {
          background-color: rgb(var(--main_char_color));
        }

        &:focus {
          outline: 2px solid rgb(var(--btn_link_focus_color));
          outline-offset: 2px;
        }
            
        & .text-wrapper-2 {
          position: absolute;
          left: 0;
          top: 17px;
          width: 100%;
          color: rgb(var(--black_color));
          font-size: 16px;
          text-align: center;
          letter-spacing: 0;
          line-height: normal;
        }
      }
      & .sp_buy {
        display: none;
      }
    }
  }
}

.carousel {
  position: relative;
  width: 100%;
  height: 44vw;
  max-height: 500px
  overflow: hidden;
  
  & > .slide {
  	position: relative;
    overflow: hidden;
    
    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: white;
      transform: translateX(-100%) skewX(-20deg);
      transition: 0.8s ease;
      z-index: 2;
    }

    &.active::before {
      transform: translateX(120%) skewX(-20deg);
    }
  }
}

.main_headline {
  background-color: #FFFFFF;
  
  & .headline1 {
  	font-size: 28px;
  	text-align: center;
  	padding: 40px 0 0 0;
  	margin: 0;
  }
  
  & .headline2 {
  	font-size: 28px;
  	text-align: center;
  	padding: 0;
  	margin: 0;
  }
  
  & .subline1 {
  	font-size: 16px;
  	text-align: center;
  	width: 60%;
  	padding: 0;
  	margin: 0 auto;
  	margin-top: 40px;
  	line-height: normal;
  }
  
  & .subline2 {
  	font-size: 16px;
  	text-align: center;
  	width: 60%;
  	padding: 0;
  	margin: 20px auto;
  	line-height: normal;
  }
}

@media (max-width: 719px) {
  .main_headline {
    & .headline1 {
      font-size: 24px;
    }

    & .headline2 {
      font-size: 24px;
    }

    & .subline1 {
      width: 90%;
      margin-top: 15px;
    }

    & .subline2 {
      width: 90%;
      margin-top: 15px;
    }
  }
}

#product {
  background-color: rgb(var(--main_color));
  border-radius: 20px 20px 0 0;
  padding-bottom: 40px;
  
  & .title {
  	font-size: 32px;
  	text-align: center;
  	padding: 80px 0 0 0;
  	margin: 0;
  	color: rgb(var(--main_char_color));
  }
  
  & .tamago_visual {
  	text-align: center;
  	margin: 60px 0 0 0;
  	
  	img {
  	  width: 85%;
      max-width: 1000px;
  	}
  }
  
  & .product_name {
  	font-size: 32px;
  	text-align: center;
  	padding: 0;
  	margin: 80px 0 0 0;
  	color: rgb(var(--main_char_color));
  }
  
  & .product_explanation {
  	font-size: 16px;
  	text-align: center;
  	width:  70%;
  	padding: 0;
  	margin: 0 auto;
  	margin-top: 60px;
  	color: rgb(var(--main_char_color));
  	line-height: normal;
  }
}

@media (max-width: 719px) {
  #product {
    & .product_explanation {
      width:  70%;
    }
  }
}

@media (max-width: 719px) {
  #point {
    position: relative;
    background-color: rgb(var(--main_char_color));
    padding-bottom: 20px;

    & .title {
      font-size: 32px;
      text-align: center;
      padding: 80px 0 0 0;
      margin: 0;
      color: rgb(var(--main_color));
    }

    & .point_group {
      position: relative;
      margin: 0 auto;
      margin-top: 80px;
      padding-bottom: 10px;
      background: rgb(var(--white_color));
      border-radius: 20px;
      width: 80%;
      box-shadow: 9px 9px 18px rgb(var(--glay_color)), -9px -9px 18px rgb(var(--shadow_color));

      & .point_explanation {
        padding-top: 16px;

        & .point_top {
          margin: 0 auto;
          width: 60px;
          height: 60px;
          border-radius: 30px / 30px;
          border: 5px solid;
          border-color: rgb(var(--main_char_color));
          background-color: rgb(var(--white_color));
        }

        & .p {
          position: absolute;
          top: 26px;
          width: 50px;
          margin: 0;
          color: rgb(var(--main_color));
          font-size: 14px;
          text-align: center;
          letter-spacing: 0;
          line-height: normal;
        }

        & .point_no {
          position: absolute;
          top: 42px;
          width: 50px;
          margin: 0;
          text-align: center;
          color: rgb(var(--main_color));
          font-size: 20px;
          letter-spacing: 0;
          line-height: normal;
        }

        & .point_title {
          margin-top: 15px;
          text-align: center;
          color: rgb(var(--main_color));
          font-size: 24px;
          letter-spacing: 0;
          line-height: normal;
        }

        & .point_detail {
          margin: 0 auto;
          margin-top: 15px;
          width: 80%;
          color: rgb(var(--main_color));
          font-size: 14px;
          letter-spacing: 0;
          line-height: normal;
        }
      }

      & .point_visual {
        width: 200px;
        height: 200px;
        display: block;
        margin: 15px auto;
        aspect-ratio: 1;
      }
    }
  }
}

@media (min-width: 720px) {
  #point {
    position: relative;
    height: calc(65vw * 5);
    max-height: 2900px;
    background-color: #ffda90;

    & .title {
      font-size: 32px;
      text-align: center;
      padding: 80px 0 0 0;
      margin: 0;
      color: rgb(var(--main_color));
    }
  
    & .point_group {
      position: relative;
      margin-top: 80px;

      & .point_explanation {
        width: 50vw;
        height: 50vw;
        border-radius: 25vw;
        max-width: 450px;
        max-height: 450px;
        aspect-ratio: 1;
        position: relative;
        top: 0;
        background-color: rgb(var(--white_color));
      
        & .point_top {
          position: absolute;
          top: 44px;
          left: clamp(120px, 20vw, 185px);
          width: 80px;
          height: 80px;
          border-radius: 40px / 40px;
          border: 5px solid;
          border-color: rgb(var(--main_char_color));
          background-color: rgb(var(--white_color));
        
          & .p {
            position: absolute;
            top: 6px;
            width: 70px;
            margin: 0;
            color: rgb(var(--main_color));
            font-size: 14px;
            text-align: center;
            letter-spacing: 0;
            line-height: normal;
          }
        
          & .point_no {
            position: absolute;
            top: 28px;
            width: 70px;
            margin: 0;
            text-align: center;
            color: rgb(var(--main_color));
            font-size: 24px;
            letter-spacing: 0;
            line-height: normal;
          }
        }

        & .point_title {
          position: absolute;
          top: 140px;
          width: 50vw;
          max-width: 450px;
          text-align: center;
          color: rgb(var(--main_color));
          font-size: 24px;
          letter-spacing: 0;
          line-height: normal;
        }
      
        & .point_separate {
          position: absolute;
          top: clamp(180px, 25vw, 225px);
          left: clamp(80px, 15vw, 150px);
          width: 150px;
          border-bottom: 1.5px solid rgb(var(--main_color));
          margin: 0;
        }
      
        & .point_detail {
          position: absolute;
          top: clamp(200px, 26vw, 260px);
          left: 65px;
          width: clamp(250px, 34vw, 330px);
          color: rgb(var(--main_color));
          font-size: 14px;
          letter-spacing: 0;
          line-height: normal;
        }
      }

      & .point_visual {
        width: 50vw;
        height: 50vw;
        border-radius: 25vw;
        max-width: 450px;
        max-height: 450px;
        aspect-ratio: 1;
      }

      & .point1_layout {
        position: absolute;
        left: clamp(360px, 50vw, 450px);
      }

      & .point2_layout {
        position: absolute;
        right: clamp(360px, 50vw, 450px);
      }

      & .point2_visual {
        display: block;
        margin-left: auto;
      }

      & .point3_layout {
        position: absolute;
        left: clamp(360px, 50vw, 450px);
      }

      & .point4_layout {
        position: absolute;
        right: clamp(360px, 50vw, 450px);
      }

      & .point4_visual {
        display: block;
        margin-left: auto;
      }

      & .point5_layout {
        position: absolute;
        left: clamp(360px, 50vw, 450px);
      }
    }

    .fadein {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;

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

.tail_visual {
  width: 100%;
  display: block;
}

footer {
  background-color: rgb(var(--main_color));
  
  & .logo {
  	display: block;
  	margin: 0 auto;
    padding-top: 10px;
    width: 280px;
  }
  
  & .company_name {
    color: rgb(var(--main_char_color));
    font-size: 24px;
    text-align: center;
  }
  
  & .company_detail {
  	color: rgb(var(--main_char_color));
    font-size: 16px;
    text-align: center;
    width: 60%;
    margin: 0 auto;
    margin-top: 35px;
    line-height: normal;
  }
  
  & .company_address {
  	color: rgb(var(--main_char_color));
    font-size: 16px;
    text-align: center;
    margin-top: 45px;
  }
  
    & .copyright {
  	color: rgb(var(--main_char_color));
    font-size: 16px;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 0;
  }
}

@media (max-width: 719px) {
  footer {
    & .company_detail {
      width: 80%;
    }
  }
}