@charset "utf-8";
    .pc-slider {
        display:none;
    }
    .sp-slider {
        display:block;
    }
 /* topロゴ部分 */
  .top_logo {
    width:187px;
    padding: 7px 0 0px 14px;
  }
  .top_logo:hover {
    opacity: 0.5;
    transition: 0.5s;
  }
  header {
    width: 100vw;
    height: auto;
    margin: 0 calc((100% - 100vw) / 2);
    background: #f6f2eb;
    position: relative;
    z-index: 1;
    padding-top: 10px;
  }
@media screen and (min-width: 768px) and (max-width: 1280px) {
  .pc-slider {
        display:block;
    }
    .sp-slider {
        display:none;
    }
  /* topロゴ部分 */
  .top_logo {
    width:300px;
    padding: 10px 0 0px 50px;
  }
  header {
    width: 100vw;
    margin: 0 calc((100% - 100vw) / 2);
    background: #f6f2eb;
    position: relative;
    z-index: 999;
    padding-top: 10px;
  }
  /* MVスライダー */
  .product_slider {
    overflow: hidden;
    width: 100%;
  }
  .slider {
    display: flex;
    gap: 20px;
    padding: 0 0 190px;
  }
  .slide {
    width: 375px;
    flex-shrink: 0;
    animation-name: float-up-down;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
  @keyframes float-up-down {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(var(--amplitude, 10px));
    }
  }
  .slide img {
    width: 330px;
    height: auto;
    display: block;
  }
  .slide p {
    font-size: 14px;
    display: block;
    font-weight: 100;
    letter-spacing: 2px;
    margin-bottom: 5px;
  }
  .slide p::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
    margin-left: 5px;
  }
  /* カルーセル */
  .pagination {
    position: relative;
    text-align: center;
    margin: 0 auto;
    z-index: 100;
  }
  .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 1px solid #717171;
    border-radius: 50%;
    margin: 0 2px 3px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .dot.active {
    background-color: #717171;
  }
  /* 香りで完成するなりたい私部分 */
  .header_info {
    position: absolute;
    bottom: 0;
    justify-content: center;
    gap: 180px;
    transform: translate(-50%, 0%);
    left: 50%;
    display: flex;
  }
  .header_text {
    position: relative;
    z-index: 60;
    pointer-events: none;
    display: flex;
  }
  .header_text_img, .header_text1, .header_text2, .header_button img {
    object-fit: contain; /* Apply to all image tags */
    width: 100%; /* Make them flexible */
    height: auto; /* Allow height to adjust proportionally */
  }
  .header_text_img {
    width: 250px;
    display: block;
  }
  .header_text1, .header_text2 {
    display: block;
    position: absolute;
  }
  .header_text1 {
    width: 280px;
    top: -15px;
    left: 36%;
  }
  .header_text2 {
    width: 213px;
    position: absolute;
    top: 12%;
    left: 100%;
  }
  /* TOP診断ボタン */
  .header_button {
    position: relative;
    z-index: 59;
    bottom: 24px;
  }
  .header_button img {
    width: 160px;
  }
  /* スライド停止再生 */
  .slider-controls {
    display: inline-block;
    margin-left: 5px;
  }
  .slider-controls img {
    width: 15px;
  }
}
@media screen and (min-width: 1281px) {
    .pc-slider {
        display:block;
    }
    .sp-slider {
        display:none;
    }
  /* topロゴ部分 */
  .top_logo {
    width:244px;
    padding: 10px 0 0px 50px;
  }
  header {
    width: 100vw;
    margin: 0 calc((100% - 100vw) / 2);
    background: #f6f2eb;
    position: relative;
    z-index: 999;
    padding-top: 20px;
  }
  /* MVスライダー */
  .product_slider {
    overflow: hidden;
    width: 100%;
  }
  .slider {
    display: flex;
    gap: 30px;
    padding: 0 0 190px;
  }
  .slide {
    width: 430px;
    flex-shrink: 0;
    animation-name: float-up-down;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
  @keyframes float-up-down {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(var(--amplitude, 100px));
    }
  }
  .slide img {
    width: 380px;
    height: auto;
    display: block;
  }
   .slide img:hover{
    opacity: 0.6;
    transition: 0.8s;
  }
  .slide p {
    font-size: 14px;
    display: block;
    font-weight: 100;
    letter-spacing: 2px;
    margin-bottom: 5px;
  }
  .slide p::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
    margin-left: 5px;
  }
  /* カルーセル */
  .pagination {
    position: relative;
    text-align: center;
    margin: 0 auto;
    z-index: 100;
  }
  .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 1px solid #717171;
    border-radius: 50%;
    margin: 0 2px 3px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .dot.active {
    background-color: #717171;
  }
  /* 香りで完成するなりたい私部分 */
  .header_info {
    position: absolute;
    bottom: 0;
    transform: translate(-50%, 0%);
    left: 50%;
    display: flex;
    gap:180px;
  }
  .header_text {
    position: relative;
    z-index: 60;
    pointer-events: none;
    display: flex;
  }
  .header_text_img, .header_text1, .header_text2, .header_button img {
    object-fit: contain; /* Apply to all image tags */
    width: 100%; /* Make them flexible */
    height: auto; /* Allow height to adjust proportionally */
  }
  .header_text_img {
    width: 250px;
    display: block;
  }
  .header_text1, .header_text2 {
    display: block;
    position: absolute;
  }
  .header_text1 {
    width: 280px;
    top: -15px;
    left: 36%;
  }
  .header_text2 {
    width: 213px;
    position: absolute;
    top: 12%;
    left: 100%;
  }
  /* TOP診断ボタン */
  .header_button {
    position: relative;
    z-index: 59;
    right: 4%;
    bottom: 24px;
  }
  .header_button:hover {
      opacity: 0.8;
      transition: 0.8s;
    }
  .header_button img {
    width: 160px;
  }
  /* スライド停止再生 */
  .slider-controls {
    display: inline-block;
    margin-left: 5px;
  }
  .slider-controls img {
    width: 15px;
  }
  /* 香りで完成するなりたい私、順番にふわっ */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .fade-in {
    animation: fadeIn 0.2s ease-in-out forwards;
  }
  .hidden {
    opacity: 0;
  }
}


.header_button_img_wrapper {
  position: absolute!important;
  bottom: 0;
  width: 100%;
  height: 0;
  padding-top: 100%;
}