#Container{
  width:1280px;
  margin:0 auto;
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", sans-serif;
  margin-bottom: 50px;
}

.mv_img{
  width:100;
  display:flex;
}

.h1 {
        height: 330px;
        width: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #b9c0c9;
}

.h1 img {
        max-width: 1280px;
        height:contaion;
}

.h2 {
    text-align: center;
    font-weight: 100;
    font-size: 18px;
    line-height: 35px;
    letter-spacing: 2px;
    color: #333;
    padding: 32px 0 0 0;
}

.h3{
  text-align:center!important;
  width:100%;
  padding: 65px 0 25px 0;
  margin-bottom:0;
  font-weight: 600;
  font-size: 25px;
}


   
    .size-search-container {
      max-width: 1200px;
      margin: 0 auto;
      font-family: "Yu Gothic", sans-serif;
      line-height: 1.6;
    }

    .size-search-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 930px;
    margin: 0 auto;
  }

    .size-search-image-section {
      flex: 1;
      text-align: center;
    }
    .size-search-image-section img {
    max-width: 98%;
    padding-top: 32px;
    height: auto;
    padding-right: 67px !important;
    }
    .size-search-form {
      flex: 1;
    }

    .size-search-label {
      font-weight: bold;
      margin-bottom: 5px;
      display: block;
      text-align:center;
    }
    .size-search-select {
      width: 100%;
      padding: 8px 12px;
      font-size: 15px;
      border: 2px solid #cccccc;
      font-weight: 400;
    }



.size-search-button {
    display: block;
    background: #ffffff;
    color: #888;
    border: 3px solid #818181;
   
    padding: 8px 16px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    margin: 20px auto 0 auto;
    width: 250px;
    height: 49px;
    font-weight: 600;
    letter-spacing: 2px;
}

.size-search-button:hover {
  background: #f8f8f8;
  border-color: #bbb;
  color: #555;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.size-search-button:active {
  background: #f0f0f0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border-color: #aaa;
}


    p.b-size_text{
      margin-top: 0;
      margin-bottom: 6px;
      font-size: 13px;
      text-align: center;
    }

    .content_box_item ul{
      padding-bottom:10px;
    }




   
    .material-container {
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
    margin: 20px auto 0 auto;
    width: 1120px;
    display:flex;
    }

    .material-box,.brand-item {
      width: 198px;
      text-align: center;
      border-radius: 10px;
      padding: 20px 5px;
      background-color: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background: #f7f7f7;
  }

   
    .material-card {
      width: 198px;
      padding: 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      text-align: center;
      background-color: #f7f7f7;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .material-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

   
    .material-box img {
      max-width: 100%;
      height: auto;
      border-bottom: 1px solid #ccc;
      margin-bottom: 10px;
    }

    .material-card p {
      margin: 0;
      font-size: 13px;
      font-weight: bold;
    }

    .material-card p{
      padding-bottom:10px;
    }


   
     .hidden-materials {
      display: none;
    }

    .hidden-materials.visible {
      display: flex;
      opacity: 1;
      justify-content:left;
      margin-bottom: 90px;
    }

   
    .toggle-button {
      cursor: pointer;
      color: #333;
      text-decoration: underline;
      font-size: 16px;
      text-align: center;
      margin: 20px 0 0 0;
    }

    .material-card img {
        width: 100%;
    }

    div#indexes {
    text-align: center;
    padding-bottom: 2px;
    padding-top: 25px;
}


    /*時計ブランド*/
    .button-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 20px 0;
    }
    .material-button {
      padding: 15px 20px;
      text-align: center;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #f9f9f9;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .material-button:hover {
      background-color: #e0e0e0;
    }
    .material-list {
      display: none;
      margin: 20px 0;
    }
    .material-item {
      margin: 10px 0;
    }

    .brand-list{
      gap: 20px;
      padding: 10px;
      display: flex;
      flex-wrap: wrap;
      display:none;
      margin: 0 auto;
      width: 1150px;
    }

    #img_area{
      width:980px;
      display:flex;
      flex-wrap: wrap;
      margin: 50px auto 0 auto;
      gap:10px;
    }

    #img_area img{
      width: 49%;
      display: flex;
      flex-wrap: wrap;
    }


    .fukidashi {
    position: relative;
    display: inline-block;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 10px 0 10px 0;
    width: 430px;
    box-shadow: 0 2px 17px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 25px;
    margin-top: 30px;
    font-size: 15px;
}

  .fukidashi::before {
    content: '';
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 13px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 1) transparent transparent transparent;
}


.content_box_item {
  padding:0;
}


p#brand_name_select {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

#clicker{
  text-align:center;
  background:#f7f7f7;
  margin-top: 60px;
  padding-bottom:110px;
}

form#search-form {
    width: 430px;
}

.content_box{
  background:#fff;
}

.content_box_item h3 {
    margin: 0;
    text-align:left;
    padding-top: 10px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.03vw;
    white-space: nowrap;     
    overflow: hidden;        
    text-overflow: ellipsis; 
}

select#e-size {
    margin-bottom: 10px;
}

section ul {
  margin-top: 0 !important;
}


section#section02 {
    background: unset !important;
    height:450px;
}

.section02_text{
  text-align: center;
  position: relative;
  top: -75px;
}

.brand-item{
  line-height: 12px;
  background:#f7f7f7;
  font-size: 15px;
}

#section01{
  margin-top:15px;
  height: 350px;
}

button.index-button {
    width: 35px;
    height: 35px;
    background: white;
    border: 2px solid #eee;
    margin-right: 0.5vw;
    color:#333;
}

.section02_text br{
  display:none;
}

.item_price {
    font-weight: 300;
  }

  .item_text {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 18px;
    padding: 5px 20px 0px 20px;
  }

  .arrow-button {
        font-weight: 300;
        border: none;
        color: #aaa;
        box-shadow: none;
        background: unset;
    }

    button.arrow-button.arrow_left {
        left: -34px;
    }

    button.arrow-button.arrow_right {
      left: 1067px;
    }

    .size-search-label{
      font-size: 14px;
    }

    .h3_section01{
      padding: 25px 0 20px 0;
    }

    .clicker_fukidashi{
      margin-bottom: 8px;
    }


    .clicker_catchcopy{
      font-weight:bold;
      font-size: 1.2vw;
    }




.size-search-group {
    position: relative;
    margin-bottom: 15px;
}
      
.size-search-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.size-search-group::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #ccc;
    font-size: 12px;
}

.under_arrow1::after {
    top: 49px;
}

.under_arrow2::after{
  top: 76px;
}

.content_box_item li, .content_box_item li:first-child {
   padding: 0 0 17px 0;
}

.content_box{
  height:350px;
}

button.arrow-button.arrow_left {
  left: -36px;
  opacity:0;
}

.height-auto{
height:auto;
}

#clicker{
padding-bottom:0;
}


    @media screen and (max-width: 768px) {
  body {
    font-family: "Yu Gothic", "游ゴシック", "YuGothic", sans-serif;
  }

  .ul_brand {
    min-width: 100%;
    width: calc(100%* 0.8) !important;
}

  #Container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .h1 {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b9c0c9;
    padding:0;
  }

  .h1 img {
    max-width: 100%;
    height: auto;
  }

  .h2 {
    font-size: 3.5vw;
    line-height: 28px;
    text-align: center;
    padding: 4vw 0 0 0;
    letter-spacing: 0.1vw;
    }

  .h3 {
    font-size: 5vw;
    font-weight: 600;
    text-align: center;
    margin: 10px 0;
    padding: 9vw 0 12px 0;
  }

  #section01 {
    height: auto;
    margin-bottom: 5vw;
}

form#search-form .fukidashi {
  font-size: 4vw;
}

  .nav ul, .content_box_item ul{
    align-items:start;
  }

  .size-search-container {
    padding: 0;
    margin-bottom: 7vw;
    padding-bottom: 10vw;
    background: #f7f7f7;
  }

  .content_box_item li{
    margin: 0 0 0 2.5vw;
    padding-bottom: 3vw;
  }

  .content_box_item li:first-child {
    margin: 0 0vw 5vw 3vw;  
    padding-bottom:3vw;
  }

  .hidden-materials {
    opacity:1;
  }

  .size-search-layout {
    width:100%;
    display: block;
  }

  .size-search-image-section img {
    max-width: 100%;
    height: auto;
    padding: 5vw 7vw 0 7vw;
    mix-blend-mode: multiply;
  }

  .material-container{
    margin:0;
  }

  form#search-form {
        width: 90%;
        margin: 0 auto;
    }

  .size-search-label {
    text-align: center;
    font-size: 4vw;
    margin-bottom: 8px;
    color:black;
  }

  .size-search-select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  .size-search-button {
    width: 75%;
    padding: 11px;
    font-size: 3.8vw;
    margin-top: 20px;
    height: 14vw;
  }

  .material-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  flex-wrap: nowrap;
  justify-content: left;
}

.hidden-materials.visible{
    margin-bottom: 1;
}

.material-card {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


  .material-item {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.item_text {
    font-size: 3vw;
    padding: 0vw 4vw;
  }

.content_box {
        max-width: 1070px;
        height: auto;
  }

.material-container::-webkit-scrollbar {
  height: 6px;
}

.material-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.material-container::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

  .material-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .toggle-button {
    font-size: 14px;
  }

/* 隠れている素材セクションのスタイル修正 */
.hidden-materials {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  justify-content: start;
  flex-direction: column;
  margin-bottom: 0vw;
}

.material-box {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 0;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f7f7f7;
  padding: 5vw 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hidden-materials::-webkit-scrollbar {
  height: 6px;
}

.hidden-materials::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.hidden-materials::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

  #indexes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1vw;
    margin: 15px 0;
  }

  .index-button {
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }



  .brand-list {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    width:100%;
    padding-top:0;
  }

  .brand-item {
    width: 100%;
    padding: 13px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 4vw;
    line-height: 11px;
  }

  #img_area {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
  }

  #img_area img {
    width: 100%;
  }

  iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .content_box_item {
    overflow-x: scroll;
    white-space: nowrap;
    display: flex;
    gap: 10px;
  }

  .fukidashi{
    width: 100%;
    margin: 5vw auto;
    display: block;
    font-size: 3vw;
}

div#indexes{
  padding:0;
}

.arrow-button {
    display: none !important;
}

button.index-button {
    width: 35px;
    height: 35px;
    background: white;
    border: 2px solid #eee;
    border-radius: 5px;    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
}

p#brand_name_select{
  margin-top: 30px;
  margin-bottom: 14px;
}

.content_box_item h3{
  font-weight: 600;
  padding: 3.5vw 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 4.5vw;
  margin: 0 4vw;
}

.item_price{
  margin-top: 0;
}

.section02_text{
  top: 0;
}

#clicker{
  padding-top: 10px;
  padding-bottom: 55px;
  margin-bottom: 15px;
  margin-top:0;
}

#clicker.fukidashi {
        width: 90%;
        font-size: 3.5vw;
}

.content_box_item li:last-child {
    margin-right: 15px;
}

.content_box_item ul{
      padding-bottom:0;
}

#clicker .fukidashi {
    width: 90%;
}

.section02_text {
      top: 0;
      font-size: 3vw;
    }

    .section02_text br{
  display:block;
}

.content_box {
    height: auto;
}

.material-container-wrapper {
    overflow: hidden;
    overflow-x: scroll;
}

div#hidden-materials {
  overflow: auto;
    width: 100%;
}

.under_arrow1::after {
    top: 14vw;
}

.under_arrow2::after {
    top: 21.5vw;
}

div#indexes span {
    padding-top: 2vw;
}

.clicker_catchcopy {
    font-size: 4.2vw;
}

#clicker {
        height: 210vw;
    }

    p.b-size_text{
        font-size:3vw;
    }

    .h1 {
      overflow: hidden;
      position: relative;
      height: 40vw;
    }
    
    .h1 img{
      width: 100%; /* 横幅を枠に合わせる */
      height: auto;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(2); /* 中央揃え＋拡大 */
    }

}