/* CSSのリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

html {scroll-behavior: smooth;}

/** ％OFF **/
.icon_saleOFF {
  width: 95px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: white;
  background-color:red;
  padding: 5px 0;
  margin-right: 5px;
  }


/** PC **********************************************/
@media (min-width: 751px) {

.h3_smallcaption {
  font-size: 24px;
  color: #595645;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  }

.item_saletxt {
  width: 100%;
  height: auto;
  margin: auto;
  padding: 0px 5px 0px 20px;
  }

.item_box_sale {
  width: 100%;
  height: auto;
  margin: 50px auto;
  align-items: flex-start;

  display        : flex;                 /* FlexBox定義         */
  justify-content: space-around;         /* 揃えの定義          */
  frex-direction: row;
  flex-wrap      : wrap;                 /* 折り返し定義        */
 }

  .item_pic_sale {
    width: 50%;
    height: auto;
    margin-bottom: auto;
    padding: 0px 20px 0px 5px;
    align-items: flex-start;
    text-align: center;
  }

.item_saletxt h2 {
  font-size: 24px;
  color: #595645;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  margin:0px 0px 20px 0px;
}
.item_saletxt p {
  font-size: 18px;
  line-height: 1.8;
  color: #595645;
  letter-spacing: 0.1em;
  text-align: center;
  margin:0px 0px 20px 0px;
}

  .linkbox_sale {
    width: 90%;
    height: auto;
    margin-bottom: 5px;
    text-align: center;

    display        : flex;             /* FlexBox定義         */
    flex-direction: row;
    justify-content: right;         /* 揃えの定義          */
    align-items: center;
    flex-wrap      : no-wrap;          /* 折り返し定義        */
  }


}

/**  SP *********************************************/
@media screen and (max-width: 750px) {

.h3_smallcaption {
    font-size: 1.2em;
    color: #595645;
    line-height: 1.8;
    letter-spacing: 0.1em;
    text-align: center;
  }

.item_saletxt {
  width: 100%;
  height: auto;
  margin: auto;
  padding: 0px 5px 0px 20px;
}

.item_box_sale {
  max-width: 100%;
  height: atuo;
  margin: 20px auto;
  align-items: flex-start;

  display        : flex;                 /* FlexBox定義         */
  flex-direction: column;
  flex-wrap      : wrap;                 /* 折り返し定義        */
 }

  .item_pic_sale {
    max-width: 90%;
    height: atuo;
    margin-bottom: auto;
    align-items: flex-start;
    text-align: center;
  }

div.item_saletxt h2 {
    font-size: 1.2em;
    color: #595645;
    line-height: 1.8;
    letter-spacing: 0.1em;
    text-align: center;
    margin:0px 0px 20px 0px;
  }
div.item_saletxt p {
  font-size: 0.9em;
  line-height: 1.7;
  color: #595645;
  letter-spacing: 0.1em;
  text-align: center;
  margin:0px 0px 20px 0px;
}

  .linkbox_sale {
    width: 90%;
    height: auto;
    margin-bottom: 5px;
    text-align: center;

    display        : flex;                 /* FlexBox定義         */
    flex-direction: row;
    justify-content: right;         /* 揃えの定義          */
    align-items: center;
    flex-wrap      : no-wrap;                 /* 折り返し定義        */
  }



}

/** 注目ワード **********************************/

/** 画像の上にテキストをのせるCSS **/
.sale_FV {
  max-width: 100%;
  height: 100%;
  margin: auto;
  text-align: center;
  padding:0px 0px 15px 0px;
  position: relative;
  background-image: url(https://www.e-yuzuya.com/images/sale/2025/summer/2025_summer_top.png);
  background-repeat: no-repeat;
}

.imgONbox_sale {
  max-width: 100%;
  height: auto;
  margin: auto;
  display        : flex;                 /* FlexBox定義         */
  justify-content: space-around;         /* 揃えの定義          */
  flex-wrap      : no-wrap;                 /* 折り返し定義        */
  text-align: center;
  padding:0px 0px 15px 0px;
  position: relative;
}
.imgONimg_back {
  max-width: 750px;
  position: relative;
}

.imgONtitle {
  max-width:40%;
  position: absolute;
  top:50%;
  right: 10%;
}

.imgONimg1_sale {
  max-width:10%;
  position: absolute;
  top:95%;
  right: 30%;
}

.imgONimg2_sale {
  max-width:10%;
  position: absolute;
  top:95%;
  right: 10%;
}

/************************************/
/* カルーセル */
.carousel {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: auto;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-images img {
    width: 350px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

.prev {
    left: -15px;
}

.next {
    right: -15px;
}

/************************************/
/* 表示のアニメーション */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
  }
}
.tabs__content.active {
    animation: fadeIn 0.7s ease 0s 1 normal;
}
/************************************/
/* タブの表示・非表示 */

.tabBox .tabArea {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: 0 7px 34px rgb(50 50 93 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
}
.tabBox .tabArea img:first-child {/*効いてない*/
    border-radius: 3px 0 0 3px;
}
.tabBox .tabArea img:last-child {/*効いてない*/
    border-radius: 0 3px 3px 0;
}

.tabBox .tabArea .one_tab {
  display: inline-block;
  width: calc(100%/3);
  text-align: center;
  transition: all 0.2s ease;
  padding: 0.5rem 0 0 0;
  text-align: center;
  cursor: pointer;
  line-height: 50px;
  text-decoration: none;
  color: #595645;
  background: #FFF;
}
.tabBox .tabArea .one_tab:hover {
  opacity: 0.7;
  text-decoration: none;
}
.tabBox .tabArea .one_tab.select {
  background: linear-gradient( 0deg , #ffffff, #fff726);
  color: #595645;
}
.tabBox .tabArea.bottom {
  align-items: flex-start;
}
.contents .tab_main {
  display: none;
  padding: 50px 25px;
  text-align: center;
  min-height: 280px;
  transition-duration: 0.2s;
}
.tab_main.is_show {
  display: block;
  animation: fadeIn 0.7s ease 0s 1 normal;
}
