/* カスタマイズ用CSS */

/* LPテンプレート
-------------------------------------------------------------------------------------------------------- */

/* 全体共通
---------------------------------------------------- */
#lp_template h1,
#lp_template h2 {
  font-weight: normal;
}

/* トップ
---------------------------------------------------- */
#lp_template .top_bloc {
  position: relative;
  margin-bottom: 80px;
}
#lp_template .top_bloc img {
  width: 100%;
}
#lp_template .top_bloc h1 {
  color: #333;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 18px;
  padding-right: 10px;
}
#lp_template .top_bloc h1 span {
  font-size: 14px;
  display: block;
  padding-top: 10px;
}

@media only screen and (min-width: 768px) {
  #lp_template .top_bloc {
    margin-bottom: 130px;
  }
  #lp_template .top_bloc img {
    width: 1200px;
    border-radius: 10px;
    margin: 0 auto;
  }
  #lp_template .top_bloc h1 {
    font-size: 36px;
    padding-right: 40px;
    left: 40px;
  }
  #lp_template .top_bloc h1 span {
    font-size: 24px;
  }
}

/* テキストブロック
---------------------------------------------------- */
#lp_template .text_bloc {
  margin-bottom: 60px;
  padding: 0 15px;
}
#lp_template .text_bloc h2 {
  font-size: 24px;
  text-align: center;
  line-height: 1.8;
}
#lp_template .text_bloc p {
  display: block;
  line-height: 2;
  padding-top: 30px;
  font-size: 15px;
}

@media only screen and (min-width: 768px) {
  #lp_template .text_bloc {
    margin-bottom: 75px;
    padding: 0;
  }
  #lp_template .text_bloc h2 {
    font-size: 32px;
    text-align: left;
  }
  #lp_template .text_bloc p {
    padding-top: 40px;
    font-size: 18px;
  }
}

/* スライダーブロック
---------------------------------------------------- */

/* 共通 */
#lp_template .slider_block .slider_box {
  width: 100%;
}
#lp_template .slider_block .slider_box .slider_wrap .slick-slide img {
  width: 100%;
}
#lp_template .slider_block .slider_box .slider_wrap .slick-prev {
  background: url("../img/lp/slider_icon_left.svg");
  background-size: cover;
  color: transparent;
  padding: 0;
  border: none;
  outline: none;
  z-index: 1;
  width: 37px;
  height: 62px;
  position: absolute;
  left: 0;
  top: 43%;
}
#lp_template .slider_block .slider_box .slider_wrap .slick-next {
  background: url("../img/lp/slider_icon_right.svg");
  background-size: cover;
  color: transparent;
  padding: 0;
  border: none;
  outline: none;
  z-index: 1;
  width: 37px;
  height: 62px;
  position: absolute;
  right: 0;
  top: 43%;
}
#lp_template .slider_block .slider_box .slider_wrap .slick-dots {
  position: absolute;
  bottom: -25px;
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}
#lp_template .slider_block .slider_box .slider_wrap .slick-dots li {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 9px;
  padding: 0;
  cursor: pointer;
}
#lp_template .slider_block .slider_box .slider_wrap .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 8px;
  height: 8px;
  padding: px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}
#lp_template
  .slider_block
  .slider_box
  .slider_wrap
  .slick-dots
  li
  button:before {
  content: "";
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  text-align: center;
  opacity: 0.25;
  background-color: black;
  border-radius: 50%;
}
#lp_template
  .slider_block
  .slider_box
  .slider_wrap
  .slick-dots
  li.slick-active
  button:before {
  background: #84b349;
  opacity: 1;
}

/* one bloc */
#lp_template .slider_block.one {
  margin-bottom: 65px;
  background: #f4f7ef;
  padding: 50px 20px 60px;
}
#lp_template .slider_block.one .text_box {
  width: 100%;
}
#lp_template .slider_block.one .text_box h2 {
  text-align: center;
  width: 88%;
  margin: 0 auto 30px auto;
  font-size: 22px;
  border-bottom: 1px solid #84b349;
  padding-bottom: 20px;
  line-height: 1.6;
}
#lp_template .slider_block.one .text_box p {
  line-height: 2;
  width: 100%;
  font-size: 14px;
  margin-bottom: 60px;
}

/* two bloc , no bloc 共通 */
#lp_template .slider_block.two h2,
#lp_template .slider_block.no h2 {
  font-size: 22px;
  text-align: center;
  margin: 0 20px 40px 20px;
  padding-bottom: 20px;
  color: #444;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid #84b349;
}
#lp_template .slider_block.two .inn,
#lp_template .slider_block.no .inn {
  background: #f4f7ef;
  padding: 30px 20px;
  border-radius: 10px;
}
#lp_template .slider_block.two .inn .contents_box,
#lp_template .slider_block.no .inn .contents_box {
  margin-bottom: 40px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 30px;
}
#lp_template .slider_block.two .inn .contents_box:last-child,
#lp_template .slider_block.no .inn .contents_box:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
#lp_template .slider_block.two .inn .contents_box .text_box,
#lp_template .slider_block.no .inn .contents_box .text_box {
  width: 100%;
}
#lp_template .slider_block.two .inn .contents_box .text_box p,
#lp_template .slider_block.no .inn .contents_box .text_box p {
  line-height: 2;
  font-size: 16px;
  flex-direction: inherit;
}
#lp_template .slider_block.two .inn .contents_box .text_box p.bg_text,
#lp_template .slider_block.no .inn .contents_box .text_box p.bg_text {
  padding: 25px;
  border-radius: 5px;
  background: #fff;
  margin-top: 50px;
  margin-bottom: 20px;
  color: #84b349;
  font-weight: bold;
  text-align: center;
}

/* two bloc */
#lp_template .slider_block.two {
  margin-bottom: 100px;
}

/* no bloc */
#lp_template .slider_block.no .inn .contents_box .text_box p.bg_text {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {
  /* two bloc , no bloc 共通 */
  #lp_template .slider_block.two .inn .contents_box:last-child,
  #lp_template .slider_block.no .inn .contents_box:last-child {
    display: flex;
    flex-direction: column;
  }
  #lp_template .slider_block.two .inn .contents_box:last-child .text_box,
  #lp_template .slider_block.no .inn .contents_box:last-child .text_box {
    order: 2;
  }
  #lp_template .slider_block.two .inn .contents_box:last-child .slider_box,
  #lp_template .slider_block.no .inn .contents_box:last-child .slider_box {
    order: 1;
  }
}

@media only screen and (min-width: 768px) {
  /* 共通 */
  #lp_template .slider_block .slider_box {
    width: 460px;
    text-align: center;
  }

  /* one bloc */
  #lp_template .slider_block.one {
    display: flex;
    justify-content: space-between;
    padding: 50px 40px 70px;
    border-radius: 10px;
  }
  #lp_template .slider_block.one .text_box {
    width: 50%;
  }
  #lp_template .slider_block.one .text_box h2 {
    width: 310px;
    font-size: 28px;
  }
  #lp_template .slider_block.one .text_box p {
    width: 90%;
    margin: 0 auto;
    font-size: 16px;
  }

  /* two bloc , no bloc 共通 */
  #lp_template .slider_block.two h2,
  #lp_template .slider_block.no h2 {
    width: 72%;
    margin: 0 auto 40px auto;
    font-size: 30px;
    text-align: center;
    padding: 0 145px;
    border-bottom: none;
  }
  #lp_template .slider_block.two h2:before,
  #lp_template .slider_block.two h2:after,
  #lp_template .slider_block.no h2:before,
  #lp_template .slider_block.no h2:after {
    content: "";
    background: #84b349;
    width: 50px;
    height: 1px;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  #lp_template .slider_block.two h2:before,
  #lp_template .slider_block.no h2:before {
    left: 40px;
  }
  #lp_template .slider_block.two h2:after,
  #lp_template .slider_block.no h2:after {
    right: 40px;
  }
  #lp_template .slider_block.two .inn,
  #lp_template .slider_block.no .inn {
    margin-bottom: 65px;
    padding: 50px 50px 80px;
  }
  #lp_template .slider_block.two .inn .contents_box,
  #lp_template .slider_block.no .inn .contents_box {
    display: flex;
    justify-content: space-between;
    padding-bottom: 80px;
  }
  #lp_template .slider_block.two .inn .contents_box .text_box,
  #lp_template .slider_block.no .inn .contents_box .text_box {
    width: 50%;
  }
  #lp_template .slider_block.two .inn .contents_box .text_box p.bg_text,
  #lp_template .slider_block.no .inn .contents_box .text_box p.bg_text {
    padding: 30px;
    margin-top: 0;
    margin-bottom: 50px;
    border-radius: 10px;
  }

  /* two bloc */
  #lp_template .slider_block.two {
    margin-bottom: 170px;
  }

  /* no bloc */
  #lp_template .slider_block.no .inn .contents_box .text_box p.bg_text {
    margin-top: 0;
  }
}

/* アンカーブロック
---------------------------------------------------- */
#lp_template .anchor_block {
  margin-bottom: 75px;
}
#lp_template .anchor_block ul {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}
#lp_template .anchor_block ul li {
  width: calc((100% / 2) - 5px);
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  margin-bottom: 20px;
  margin-right: 10px;
  font-size: 13px;
  font-weight: bold;
  position: relative;
}
#lp_template .anchor_block ul li:nth-child(2n) {
  margin-right: 0;
}
#lp_template .anchor_block ul li a {
  padding: 10px 30px 10px 10px;
  display: flex;
  align-items: center;
  color: #333;
}
#lp_template .anchor_block ul li:before {
  position: absolute;
  content: "";
  background: url("../img/lp/anchor_icon.svg") no-repeat;
  width: 12px;
  height: 6px;
  top: 50%;
  transform: translate(-50%, -50%);
  right: 10px;
}

@media only screen and (min-width: 768px) {
  #lp_template .anchor_block ul {
    padding: 0;
  }
  #lp_template .anchor_block ul li {
    width: calc((100% / 4) - 18px);
    margin-right: 24px;
    margin-bottom: 25px;
    font-size: 16px;
  }
  #lp_template .anchor_block ul li:nth-child(2n) {
    margin-right: 24px;
  }
  #lp_template .anchor_block ul li:nth-child(4n) {
    margin-right: 0;
  }
  #lp_template .anchor_block ul li a {
    height: 80px;
    padding: 10px 35px 10px 20px;
  }
}

#id01,
#id02,
#id03,
#id04,
#id05,
#id06,
#id07,
#id08 {
  padding-top: 66px;
  margin-top: -66px;
  display: block;
}

/* リッチテキストブロック
---------------------------------------------------- */
#lp_template .rich_text_bloc {
  text-align: center;
  margin-bottom: 65px;
  padding: 0 15px;
}
#lp_template .rich_text_bloc .sub_ttl {
  display: inline-block;
  padding: 5px 20px;
  background: #84b349;
  color: #fff;
  border-radius: 2px;
  margin-bottom: 20px;
  font-size: 12px;
}
#lp_template .rich_text_bloc h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 40px;
}
#lp_template .rich_text_bloc .text {
  width: 100%;
  font-size: 14px;
  border: 1px solid #84b349;
  padding: 25px;
  border-radius: 10px;
  line-height: 2;
}

@media only screen and (min-width: 768px) {
  #lp_template .rich_text_bloc {
    padding: 0;
    margin-bottom: 80px;
  }
  #lp_template .rich_text_bloc .sub_ttl {
    font-size: 14px;
  }
  #lp_template .rich_text_bloc h2 {
    font-size: 30px;
  }
  #lp_template .rich_text_bloc .text {
    width: 950px;
    margin: 0 auto;
    font-size: 18px;
  }
}

/* 商品ブロック
---------------------------------------------------- */
/* 共通 */
#lp_template .column_bloc ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px;
}
#lp_template .column_bloc ul li .product_img {
  margin-bottom: 15px;
}
#lp_template .column_bloc ul li .product_price {
  font-weight: bold;
  margin-top: 10px;
}

/* 2カラム */
#lp_template .column_bloc.two {
  margin-bottom: 100px;
}
#lp_template .column_bloc.two ul li {
  width: 100%;
  margin-bottom: 35px;
}

/* 4カラム */
#lp_template .column_bloc.four {
  margin-bottom: 50px;
}
#lp_template .column_bloc.four ul li {
  width: calc((100% / 2) - 7px);
  margin-right: 14px;
  margin-bottom: 35px;
}
#lp_template .column_bloc.four ul li:nth-child(2n) {
  margin-right: 0;
}

/* 5カラム */
#lp_template .column_bloc.five {
  margin-bottom: 50px;
}
#lp_template .column_bloc.five ul li {
  width: calc((100% / 2) - 7px);
  margin-right: 14px;
  margin-bottom: 35px;
}
#lp_template .column_bloc.five ul li:nth-child(2n) {
  margin-right: 0;
}

@media only screen and (min-width: 768px) {
  /* 共通 */
  #lp_template .column_bloc ul {
    padding: 0;
  }
  /* 2カラム */
  #lp_template .column_bloc.two {
    margin-bottom: 140px;
  }
  #lp_template .column_bloc.two ul li {
    width: calc((100% / 2) - 66px);
    margin-right: 132px;
  }
  #lp_template .column_bloc.two ul li:nth-child(2n) {
    margin-right: 0;
  }

  /* 4カラム */
  #lp_template .column_bloc.four ul li {
    width: calc((100% / 4) - 18px);
    margin-right: 24px;
  }
  #lp_template .column_bloc.four ul li:nth-child(2n) {
    margin-right: 24px;
  }
  #lp_template .column_bloc.four ul li:nth-child(4n) {
    margin-right: 0;
  }

  /* 5カラム */
  #lp_template .column_bloc.five ul li {
    width: calc((100% / 5) - 24px);
    margin-right: 30px;
  }
  #lp_template .column_bloc.five ul li:nth-child(2n) {
    margin-right: 30px;
  }
  #lp_template .column_bloc.five ul li:nth-child(5n) {
    margin-right: 0;
  }
}

/* パターンブロック
---------------------------------------------------- */

/* 共通 */
#lp_template .pattern_bloc_01,
.pattern_bloc_02 {
  padding: 0 20px;
}
#lp_template .pattern_bloc_01 h2,
.pattern_bloc_02 h2 {
  font-size: 20px;
  text-align: center;
  margin: 0 auto 40px auto;
  padding-bottom: 20px;
  border-bottom: 1px solid #84b349;
  line-height: 1.6;
}

/* パターン01 */
#lp_template .pattern_bloc_01 {
  margin-bottom: 100px;
}
#lp_template .pattern_bloc_01 .column_bloc ul {
  padding: 0;
}
#lp_template .pattern_bloc_01 .main_contents {
  margin-bottom: 40px;
}
#lp_template .pattern_bloc_01 .main_contents .img_box {
  width: 100%;
  margin-bottom: 20px;
}
#lp_template .pattern_bloc_01 .main_contents .text_box {
  width: 100%;
}
#lp_template .pattern_bloc_01 .main_contents .text_box p {
  border-top: 1px solid #707070;
  border-bottom: 1px solid #707070;
  padding: 20px 0;
  line-height: 1.8;
}
#lp_template .pattern_bloc_01 .main_contents .text_box p.ttl {
  font-size: 18px;
  margin-bottom: 30px;
  padding: 0;
  border: none;
}

/* パターン02 */
#lp_template .pattern_bloc_02 {
  margin-bottom: 100px;
}
#lp_template .pattern_bloc_02 .main_contents {
  margin-bottom: 40px;
}
#lp_template .pattern_bloc_02 .main_contents .left_box {
  width: 100%;
  margin-bottom: 30px;
}
#lp_template .pattern_bloc_02 .main_contents .left_box img {
  margin-bottom: 15px;
}
#lp_template .pattern_bloc_02 .main_contents .left_box .product_price {
  margin-top: 10px;
  font-weight: bold;
}
#lp_template .pattern_bloc_02 .main_contents .right_box {
  width: 100%;
}
#lp_template .pattern_bloc_02 .main_contents .right_box ul {
  display: flex;
  flex-wrap: wrap;
}
#lp_template .pattern_bloc_02 .main_contents .right_box ul li {
  width: calc((100% / 2) - 7px);
  margin-right: 14px;
  margin-bottom: 35px;
}
#lp_template .pattern_bloc_02 .main_contents .right_box ul li:nth-child(2n) {
  margin-right: 0;
}
#lp_template .pattern_bloc_02 .main_contents .right_box ul li .product_img {
  margin-bottom: 15px;
}
#lp_template .pattern_bloc_02 .main_contents .right_box ul li .product_price {
  font-weight: bold;
  margin-top: 10px;
}

@media only screen and (min-width: 768px) {
  /* 共通 */
  #lp_template .pattern_bloc_01,
  .pattern_bloc_02 {
    padding: 0;
  }
  #lp_template .pattern_bloc_01 h2,
  .pattern_bloc_02 h2 {
    font-size: 30px;
    padding-bottom: 30px;
    line-height: unset;
  }

  /* パターン01 */
  #lp_template .pattern_bloc_01 {
    margin-bottom: 150px;
  }
  #lp_template .pattern_bloc_01 .main_contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
  }
  #lp_template .pattern_bloc_01 .main_contents .img_box {
    width: 534px;
    margin-right: 20px;
    margin-bottom: 0;
  }
  #lp_template .pattern_bloc_01 .main_contents .text_box {
    width: 46%;
  }
  #lp_template .pattern_bloc_01 .main_contents .text_box p {
    padding: 40px 0;
  }
  #lp_template .pattern_bloc_01 .main_contents .text_box p.ttl {
    font-size: 24px;
    margin-bottom: 40px;
  }

  /* パターン02 */
  #lp_template .pattern_bloc_02 {
    margin-bottom: 150px;
  }
  #lp_template .pattern_bloc_02 .main_contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
  }
  #lp_template .pattern_bloc_02 .main_contents .left_box {
    width: 534px;
    margin-right: 20px;
    margin-bottom: 0;
  }
  #lp_template .pattern_bloc_02 .main_contents .right_box {
    width: 49%;
  }
  #lp_template .pattern_bloc_02 .main_contents .right_box ul li {
    width: calc((100% / 2) - 16px);
    margin-right: 32px;
  }
}

/* テキスト＆画像ブロック
---------------------------------------------------- */
#lp_template .text_img_bloc {
  background: #f4f7ef;
  text-align: center;
  padding: 35px 20px;
  margin-bottom: 100px;
  border-radius: 10px;
}
#lp_template .text_img_bloc .sub_ttl {
  display: inline-block;
  padding: 5px 20px;
  background: #333333;
  color: #fff;
  border-radius: 2px;
  margin-bottom: 20px;
}
#lp_template .text_img_bloc h2 {
  width: 100%;
  font-size: 20px;
  text-align: center;
  margin: 0 auto 20px auto;
  padding: 0 20px;
  color: #444;
  position: relative;
  line-height: 1.6;
}
#lp_template .text_img_bloc ul li {
  width: 100%;
  margin-bottom: 20px;
}
#lp_template .text_img_bloc ul li img {
  margin-bottom: 15px;
}
#lp_template .text_img_bloc ul li p {
  text-align: left;
  line-height: 1.8;
}
#lp_template .text_img_bloc ul li p.ttl {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}
#lp_template .text_img_bloc ul li:nth-child(2n) {
  margin-right: 0;
}

@media only screen and (min-width: 768px) {
  #lp_template .text_img_bloc {
    padding: 50px 50px 30px 50px;
    border-radius: 10px;
  }
  #lp_template .text_img_bloc h2 {
    width: 80%;
    font-size: 30px;
    padding: 0 145px;
    margin: 0 auto 40px auto;
  }
  #lp_template .text_img_bloc h2:before,
  #lp_template .text_img_bloc h2:after {
    content: "";
    background: #84b349;
    width: 50px;
    height: 1px;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  #lp_template .text_img_bloc h2:before {
    left: 40px;
  }
  #lp_template .text_img_bloc h2:after {
    right: 40px;
  }
  #lp_template .text_img_bloc ul {
    display: flex;
    flex-wrap: wrap;
  }
  #lp_template .text_img_bloc ul li {
    width: calc((100% / 2) - 25px);
    margin-right: 50px;
  }
  #lp_template .text_img_bloc ul li p.ttl {
    font-size: 16px;
  }
}

/* ボーダーテキストブロック
---------------------------------------------------- */
.border_text_block {
  border: 1px solid #84b349;
  border-radius: 5px;
  padding: 25px;
  text-align: center;
  margin: 0 15px 45px;
  font-size: 14px;
  line-height: 1.8;
}

@media only screen and (min-width: 768px) {
  .border_text_block {
    padding: 25px;
    width: 80%;
    font-size: 18px;
    margin: 0 auto 45px;
  }
}

/********ボトムバナーブロック 20210428 堀口**********/

@media only screen and (min-width: 768px) {
  .bannerBlock__item img {
    padding: 0px;
    border: solid 0px #ebebeb;
  }
}

/* ----------UPDATE @eguchi CAGO5_KAGU-81 【実装内容共有用】ソーシャルプラス導入 START---------- */
.socp_message {
  border: 1px solid #ccc;
  padding: 1rem;
  margin: 2rem 0;
  text-align: center;
}

.colorGreen {
  color: #84b349;
}

.colorGray {
  color: #656565;
}

.flex {
  max-width: 768px;
}

@media screen and (min-width: 768px) {
  .sns-flex {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .sns-flex-item + .sns-flex-item {
    margin-left: 2rem;
    width: 100%;
  }

  .line-btn-img {
    width: 300px !important;
  }
}

@media screen and (max-width: 768px) {
  .line-btn-img {
    max-width: 200px !important;
  }
}
/* ----------UPDATE @eguchi CAGO5_KAGU-81 【実装内容共有用】ソーシャルプラス導入 E N D---------- */
/* ----------UPDATE @ogata akiko CAGO5_KAGU-85 【実装内容共有用】ソーシャルプラス導入 (AppleID) START---------- */
.sns-btn-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sns-btn {
  margin-top: 2rem;
}
/* ----------UPDATE @ogata akiko CAGO5_KAGU-85 【実装内容共有用】ソーシャルプラス導入 (AppleID) E N D---------- */
/* ----------UPDATE @uchida CAGO5_KAGU-90 【実装内容共有用】YOTPOスター追加設置 START---------- */
.yotpo.bottomLine {
  pointer-events: none;
}
div.ec-product__list-item .yotpo.bottomLine .standalone-bottomline .yotpo-icon {
  width: 10px !important;
  height: 10px !important;
}
div.ec-product__list-item .yotpo.bottomLine .yotpo-bottomline .yotpo-icon-star,
div.ec-product__list-item
  .yotpo.bottomLine
  .yotpo-bottomline
  .yotpo-icon-half-star,
div.ec-product__list-item
  .yotpo.bottomLine
  .yotpo-bottomline
  .yotpo-icon-empty-star {
  background: none !important;
  color: #ffd200 !important;
  font-size: 14px;
}
div.ec-product__list-item .yotpo .text-m {
  padding-left: 5px;
}
/* ----------UPDATE @uchida CAGO5_KAGU-90 【実装内容共有用】YOTPOスター追加設置 E N D---------- */

/*-----------再度ナビ大カテ追加20231016---節句・季節アイテム-----------*/
.category__icon-other06:before {
  background: url(https://www.kagu-wakuwaku.com/html/user_data/img/side_banner/sidenavi_other_06.png);
  background-size: contain;
}

.spCategoryBlock .category__spIcon-other07:before {
  background: url(https://www.kagu-wakuwaku.com/html/user_data/img/category/sp_category_season.png);
  background-size: contain;
}

/*-----------SPフッター受話器アイコン調整-----------*/
@media screen and (max-width: 768px) {
  .ec-footerRole .ec-footerRole__left .info_txt .tel:before {
    left: 20px !important;
  }
}

/* MYページ/ログイン 【マクロジ】2024.09.05
---------------------------------------------------- */
.login__imgbox {
  margin: 47px auto;
}

@media only screen and (min-width: 768px) {
  .ec-login {
    margin: 0 16px 0 0 !important;
    padding: 30px 13% 60px;
  }

  .ec-guest {
    height: 100%;
    margin: 0 16px 0 0 !important;
  }
}

/* カテゴリー（ままごとキッチン） 【マクロジ】2024.12.18
---------------------------------------------------- */
.ranking__grid {
  display: grid;
  gap: 20px 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}
@media screen and (max-width: 768px) {
  .ranking__grid {
    gap: 19px 0;
    grid-template-columns: 1fr;
  }
}
.ranking__box {
  position: relative;
}
.ranking__box a img {
  transform: scale(1);
}
.ranking__box img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.ranking__box .rank {
  position: absolute;
  top: 0;
  left: 0;
  height: 60px;
  padding: 10px;
  background: #3a3a3a;
  color: #ffffff;
  font-weight: bold;
  font-size: 30px;
  line-height: 1.5;
  text-align: center;
  min-width: 60px;
  border-radius: 10px 0 0 0;
  z-index: 5;
}
.ranking__primary {
  position: relative;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .ranking__primary {
    padding: 16px 12px;
  }
}
.ranking__primary h3 {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 28px;
  text-align: left;
  color: #000;
  margin: 0 0 16px;
}
@media screen and (max-width: 768px) {
  .ranking__primary h3 {
    font-size: 14px;
    line-height: 24px;
    margin: 0 0 9px;
  }
}
.ranking__price {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-align: left;
  color: #000;
}
.ranking__price--yen {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: left;
  color: #000;
}
.ranking__price--yen::after {
  content: "(税込)";
}

.category_info__title {
  color: #000;
  font-size: 35px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .category_info__title {
    color: #000;
    font-size: 20px;
    line-height: normal;
  }
}

.category_info__title_2 {
  color: #000;
  font-size: 30px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .category_info__title_2 {
    color: #000;
    font-size: 20px;
    line-height: normal;
  }
}

/* カテゴリー（雛人形） 【マクロジ】2024.12.25
---------------------------------------------------- */
.category_hinaningyou--img {
  margin-bottom: 40px;
}

.category_hinaningyou--box h2,
.category_hinaningyou--box h3 {
  color: #000;
  font-size: 18px;
  line-height: 1;
  border: none;
  text-align: left;
  font-weight: 600;
  margin-bottom: 24px;
}

.category_hinaningyou--box p {
  color: #444;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.category_hinaningyou--box + .category_hinaningyou--box {
  margin-top: 40px;
}

.table-scroll {
  overflow-x: scroll;
  margin-top: 3em;
}

.decoration-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  margin: 20px 0;
  table-layout: fixed;
}

.decoration-table th,
.decoration-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.decoration-table th {
  background-color: #f9f9f9;
  font-weight: bold;
}

.decoration-table .images {
  display: flex;
  justify-content: center;
  gap: 150px;
  margin-top: 10px;
}

.decoration-table .header-image {
  max-width: 80px;
  height: auto;
}

.decoration-table td {
  word-wrap: break-word;
  text-align: left;
}

.decoration-table td:first-child {
  text-align: center;
  white-space: nowrap;
}

.decoration-table .largefont {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .decoration-table {
    font-size: 14px;
  }

  .decoration-table .header-image {
    max-width: 60px;
  }

  .decoration-table th,
  .decoration-table td {
    padding: 8px;
  }

  .decoration-table .images {
    gap: 100px;
  }
}

@media (max-width: 480px) {
  .decoration-table th,
  .decoration-table td {
    font-size: 12px;
    padding: 6px;
  }

  .decoration-table .images {
    gap: 2px;
  }

  .decoration-table .header-image {
    max-width: 100px;
    margin: 0 auto;
  }
}

/* 商品詳細ページ */
.ec-sliderItemRole .item_thumb .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
}
.ec-sliderItemRole .item_thumb .swiper-wrapper li:nth-of-type(6n-5) {
    margin-left: calc((100% - 15%* 6) / 5);
}
.ec-sliderItemRole .item_thumb .swiper-wrapper li:nth-of-type(1) {
    margin-left: 0;
}
@media only screen and (min-width: 768px){
    .ec-sliderItemRole .item_thumb .swiper-wrapper li {
        padding: 0;
        aspect-ratio: 2 / 1;
        overflow: hidden;
    }
    .ec-sliderItemRole .item_thumb .swiper-wrapper li img {
        height: auto;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    .ec-sliderItemRole .item_thumb .swiper-wrapper {
        flex-wrap: wrap;
    }
    .ec-sliderItemRole .item_thumb .swiper-wrapper li:nth-of-type(6n-5) {
        margin-left: 0;
    }
}
/* SPのみ商品画像のサムネイル幅を調整 */
@media only screen and (max-width: 768px){
    .ec-sliderItemRole .item_thumb .swiper-wrapper li {
        width: 14% !important;
    }
}