/* ===============================================
   レスポンシブ対応 logout_howto CSS
   モバイルファースト設計
   ブレークポイント: 768px
   =============================================== */

/* ===============================================
   共通スタイル・モバイルベース
   =============================================== */

.top_howto_wrap {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  contain: layout paint;
  background-color: #fff;
}

.top_howto_title_wrap {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  background: url("https://www.cdn.chobirich.com/web/top/howto/sp_top_howto_band-combined.svg")
    no-repeat center top / 100% auto;
}

.top_howto_title_bg {
  overflow-y: visible;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 0;
}

.top_howto_title_bg #bg_g {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  box-sizing: border-box;
}

.top_howto_title_bg #bg_w {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  box-sizing: border-box;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
}

.top_howto_title_bg .top_howto_title {
  position: absolute;
  width: 100%;
  height: auto;
  z-index: 4;
  top: 20px;
  left: 5%;
  display: none;
}

.top_howto_title_bg .top_howto_title.howto_animation {
  display: block;
}

.top_howto_title_bg .top_howto_title.howto_animation .howto_title1 {
  animation: titleslide 0.7s ease-out -0.5s forwards;
  opacity: 0;
}

.top_howto_title_bg .top_howto_title.howto_animation .howto_title2 {
  animation: titleslide 0.7s ease-out -0.8s forwards;
  opacity: 0;
}

.top_howto_title_bg .top_howto_title.howto_animation .howto_title3 {
  animation: titleslide 0.7s ease-out -0.11s forwards;
  opacity: 0;
}

.top_howto_title_bg .top_howto_title img {
  width: 70%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.top_howto_title_bg .top_howto_img_wrap {
  position: relative;
  display: none;
  width: 100%;
  height: auto;
  right: 0;
  top: 0;
  z-index: 3;
}

.top_howto_title_bg .top_howto_img_wrap img {
  width: 100%;
  height: auto;
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.top_howto_title_bg .top_howto_img_wrap.howto_animation {
  display: block;
}

.top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img1 {
  z-index: 0;
  animation: slideup 0.7s ease-out 0.6s forwards;
  opacity: 0;
}

.top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img2 {
  z-index: 1;
  animation: slideup 0.7s ease-out 0.8s forwards;
  opacity: 0;
}

.top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img3 {
  z-index: 2;
  animation: slideup 0.7s ease-out 0.1s forwards;
  opacity: 0;
}

.top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img4 {
  z-index: 3;
  animation: slideup 0.7s ease-out 0.12s forwards;
  opacity: 0;
}

.top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img5 {
  z-index: 4;
  animation: slideup 0.7s ease-out 0.13s forwards;
  opacity: 0;
}

.top_howto_feature_wrap {
  background: #fff;
  width: 100%;
  padding: 0 5%;
  margin-bottom: 40px;
  box-sizing: border-box;
  contain: layout paint;
}

.top_howto_feature_title {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
}

.top_howto_feature_title img {
  width: 100%;
  height: auto;
}

.howto_feature_main_wrap {
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(2, calc(96% / 2));
  column-gap: 4%;
  row-gap: 11px;
}

.howto_feature {
  min-height: 135px;
  border: 2px solid #ffa399;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  padding: 5px;
  box-sizing: border-box;
  color: #f04f1f;
  font-weight: bold;
  text-align: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}

.howto_feature p {
  color: #f04f1f;
}

.howto_feature:last-child {
  border: none;
  align-self: center;
  box-shadow: none;
}

.howto_feature:last-child img {
  width: 100%;
  height: auto;
}

.howto_feature img {
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto 5px;
}

.howto_feature .feature_read {
  line-height: 1.3em;
  font-size: 14px;
}

.howto_feature .feature_read .big_txt {
  font-family: "Oswald", sans-serif !important;
  font-size: 40px;
  line-height: 1;
}

.howto_feature .feature_read_flex {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}

.howto_feature .feature_read_flex .read_txt span {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 13px;
  line-height: 1.3em;
}

.howto_feature .feature_read_flex .bigger_txt {
  font-family: "Oswald", sans-serif !important;
  font-size: 36px;
  line-height: 1;
  font-display: swap;
}

#howto_feature1 p {
  line-height: 2.5em;
  width: 100%;
  height: auto;
}

#howto_feature1 #year_co {
  font-family: "Oswald", sans-serif !important;
  font-size: 60px;
  font-display: swap;
}

.top_howto_exchange_wrap {
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  box-sizing: border-box;
  contain: layout paint;
}

.top_howto_exchange_title {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto 30px;
}

.top_howto_exchange_title img {
  width: 100%;
  height: auto;
  display: block;
}

.top_howto_exchange_list {
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.top_howto_exchange_link {
  display: block;
  width: calc((100% - 15px * 3) / 4);
  margin-right: 15px;
  margin-bottom: 15px;
}
.top_howto_exchange_link:nth-child(4n) {
  margin-right: 0;
}

.top_howto_exchange_link img {
  width: 100%;
  height: auto;
}

.top_howto_exchange-top_link {
  display: block;
  width: 90%;
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--color-link);
  font-size: var(--FontSizeTitle);
  text-align: center;
}
.top_howto_exchange-top_link:hover {
  text-decoration: underline;
}

.to_howto_wrap {
  width: 100%;
  padding: 0 10%;
  margin: 0 auto 40px;
  box-sizing: border-box;
  contain: layout paint;
}

.to_howto_title {
  margin-bottom: 15px;
  border-bottom: 2px solid #f74d22;
  padding: 0 5%;
}

.to_howto_title img {
  width: 100%;
  margin-bottom: 2px;
}

.regist_btn {
  margin: 0 auto 70px;
}

.regist_btn a {
  margin: 0 auto;
  background: -moz-linear-gradient(top, #ec6c2d 12%, #e83524 86%);
  background: -webkit-linear-gradient(top, #ec6c2d 12%, #e83524 86%);
  background: linear-gradient(to bottom, #ec6c2d 12%, #e83524 86%);
  border: #b82c24 2px solid;
  border-radius: 5px;
  display: block;
  font-size: 23px;
  font-weight: bold;
  line-height: 27px;
  padding: 3px 0 8px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.regist_btn a:link,
.regist_btn a:visited {
  color: #ffffff;
  text-decoration: none;
}

.regist_btn a:active {
  background: -moz-linear-gradient(top, #e83524 12%, #ec6c2d 86%);
  background: -webkit-linear-gradient(top, #e83524 12%, #ec6c2d 86%);
  background: linear-gradient(to bottom, #e83524 12%, #ec6c2d 86%);
}

.regist_btn a span {
  font-size: 17px;
  line-height: 1em;
}

.logo_caution_wrap {
  width: 90%;
  max-width: 1040px;
  margin: 0 auto 30px;
}

.logo_caution_wrap .logo_caution {
  width: 100%;
  height: auto;
  padding: 10px;
  border: #c1b8b1 solid 1px;
  border-radius: 5px;
  font-size: 10px;
  text-align: center;
  box-sizing: border-box;
}

@keyframes titleslide {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideup {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (content-visibility: auto) {
  .top_howto_feature_wrap,
  .top_howto_exchange_wrap,
  .to_howto_wrap {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
  }
}

/* ===============================================
   PC/SP切り替えクラス（モバイル）
   =============================================== */

.pc-only {
  display: none !important;
}

.sp-only {
  display: block;
}

.pc-br-only {
  display: none;
}

/* ===============================================
   PC版スタイル（768px以上）
   =============================================== */
@media screen and (min-width: 429px) {
  .top_howto_exchange_link {
    display: block;
    width: calc((100% - 25px * 3) / 4);
    margin-right: 25px;
    margin-bottom: 25px;
  }
  .top_howto_exchange_link:nth-child(4n) {
    margin-right: 0;
  }
}
@media screen and (min-width: 768px) {
  .top_howto_wrap {
    margin-bottom: 100px;
  }

  .top_howto_title_wrap {
    width: 100%;
    height: 380px;
    position: relative;
    top: 0;
    z-index: 0;
    background: #f04f1f;
    border-bottom-right-radius: 2000px 300px;
    border-bottom-left-radius: 2000px 300px;
    margin-bottom: 80px;
  }

  .top_howto_title_bg {
    height: 365px;
    background: linear-gradient(90deg, #ffa399, #ffff16);
    border-bottom-right-radius: 2000px 300px;
    border-bottom-left-radius: 2000px 300px;
  }

  .top_howto_title_bg #bg_g {
    height: 260px;
    background: #ecffcf;
    border-bottom-right-radius: 2000px 300px;
    border-bottom-left-radius: 2000px 300px;
  }

  .top_howto_title_bg #bg_w {
    height: 220px;
    background: #fff;
    border-bottom-right-radius: 2000px 300px;
    border-bottom-left-radius: 2000px 300px;
  }

  .top_howto_title_bg .top_howto_title {
    width: 850px;
    margin: 0 auto;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .top_howto_title_bg .top_howto_title.howto_animation img {
    display: block;
    height: auto;
  }

  .top_howto_title_bg .top_howto_title.howto_animation .howto_title1 {
    width: 373px;
    -moz-animation: titleslide 0.7s ease-out -0.5s forwards;
    -webkit-animation: titleslide 0.7s ease-out -0.5s forwards;
    -o-animation: titleslide 0.7s ease-out -0.5s forwards;
    -ms-animation: titleslide 0.7s ease-out -0.5s forwards;
  }

  .top_howto_title_bg .top_howto_title.howto_animation .howto_title2 {
    width: 380px;
    -moz-animation: titleslide 0.7s ease-out -0.8s forwards;
    -webkit-animation: titleslide 0.7s ease-out -0.8s forwards;
    -o-animation: titleslide 0.7s ease-out -0.8s forwards;
    -ms-animation: titleslide 0.7s ease-out -0.8s forwards;
  }

  .top_howto_title_bg .top_howto_title.howto_animation .howto_title3 {
    width: 431px;
    -moz-animation: titleslide 0.7s ease-out -0.11s forwards;
    -webkit-animation: titleslide 0.7s ease-out -0.11s forwards;
    -o-animation: titleslide 0.7s ease-out -0.11s forwards;
    -ms-animation: titleslide 0.7s ease-out -0.11s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap {
    width: 850px;
    margin: 0 auto;
  }

  .top_howto_title_bg .top_howto_img_wrap img {
    top: 0;
    left: 0;
    display: block;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img1 {
    -moz-animation: slideup 0.7s ease-out 0.6s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.6s forwards;
    -o-animation: slideup 0.7s ease-out 0.6s forwards;
    -ms-animation: slideup 0.7s ease-out 0.6s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img2 {
    -moz-animation: slideup 0.7s ease-out 0.8s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.8s forwards;
    -o-animation: slideup 0.7s ease-out 0.8s forwards;
    -ms-animation: slideup 0.7s ease-out 0.8s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img3 {
    -moz-animation: slideup 0.7s ease-out 0.1s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.1s forwards;
    -o-animation: slideup 0.7s ease-out 0.1s forwards;
    -ms-animation: slideup 0.7s ease-out 0.1s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img4 {
    -moz-animation: slideup 0.7s ease-out 0.12s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.12s forwards;
    -o-animation: slideup 0.7s ease-out 0.12s forwards;
    -ms-animation: slideup 0.7s ease-out 0.12s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img5 {
    z-index: 7;
    -moz-animation: slideup 0.7s ease-out 0.14s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.14s forwards;
    -o-animation: slideup 0.7s ease-out 0.14s forwards;
    -ms-animation: slideup 0.7s ease-out 0.14s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img6 {
    z-index: 5;
    -moz-animation: slideup 0.7s ease-out 0.15s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.15s forwards;
    -o-animation: slideup 0.7s ease-out 0.13s forwards;
    -ms-animation: slideup 0.7s ease-out 0.13s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img7 {
    z-index: 6;
    -moz-animation: slideup 0.7s ease-out 0.16s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.16s forwards;
    -o-animation: slideup 0.7s ease-out 0.16s forwards;
    -ms-animation: slideup 0.7s ease-out 0.16s forwards;
  }

  .top_howto_title_bg .top_howto_img_wrap.howto_animation .howto_img8 {
    z-index: 8;
    -moz-animation: slideup 0.7s ease-out 0.6s forwards;
    -webkit-animation: slideup 0.7s ease-out 0.6s forwards;
    -o-animation: slideup 0.7s ease-out 0.6s forwards;
    -ms-animation: slideup 0.7s ease-out 0.6s forwards;
  }

  .top_howto_feature_wrap {
    margin: 0 auto 80px;
  }

  .howto_feature_main_wrap {
    margin: 0 auto;
    grid-template-columns: repeat(5, calc(96% / 5));
    column-gap: 1%;
  }

  .howto_feature {
    padding: 10px 5px;
    margin-bottom: 10px;
    opacity: 0;
  }

  .howto_feature p {
    font-size: 18px;
  }

  .howto_feature img {
    width: 80%;
    margin: 0 auto 10px;
  }

  .howto_feature .feature_read {
    font-size: 18px;
  }

  .howto_feature .feature_read .big_txt {
    font-size: 50px;
  }

  .howto_feature .feature_read_flex .read_txt span {
    line-height: 1;
    margin-top: 4px;
  }

  .howto_feature .feature_read_flex .read_txt span:first-child {
    margin-top: 6px;
  }

  .howto_feature .feature_read_flex .bigger_txt {
    font-size: 50px;
  }

  #howto_feature1.howto_animation {
    -moz-animation: slideup 0.7s ease-out forwards;
    -webkit-animation: slideup 0.7s ease-out forwards;
    -o-animation: slideup 0.7s ease-out forwards;
    -ms-animation: slideup 0.7s ease-out forwards;
  }

  #howto_feature1 #year_co {
    font-size: 80px;
  }

  #howto_feature2.howto_animation {
    -moz-animation: slideup 0.7s ease-out forwards;
    -webkit-animation: slideup 0.7s ease-out forwards;
    -o-animation: slideup 0.7s ease-out forwards;
    -ms-animation: slideup 0.7s ease-out forwards;
  }

  #howto_feature3.howto_animation {
    -moz-animation: slideup 0.7s ease-out forwards;
    -webkit-animation: slideup 0.7s ease-out forwards;
    -o-animation: slideup 0.7s ease-out forwards;
    -ms-animation: slideup 0.7s ease-out forwards;
  }

  #howto_feature4.howto_animation {
    -moz-animation: slideup 0.7s ease-out forwards;
    -webkit-animation: slideup 0.7s ease-out forwards;
    -o-animation: slideup 0.7s ease-out forwards;
    -ms-animation: slideup 0.7s ease-out forwards;
  }

  #howto_feature5.howto_animation {
    -moz-animation: slideup 0.7s ease-out forwards;
    -webkit-animation: slideup 0.7s ease-out forwards;
    -o-animation: slideup 0.7s ease-out forwards;
    -ms-animation: slideup 0.7s ease-out forwards;
  }

  #howto_feature6 {
    display: none;
  }

  .top_howto_exchange_wrap {
    margin-bottom: 80px;
  }
  .top_howto_exchange_link {
    display: block;
    width: calc((100% - 30px * 6) / 7);
    margin-right: 30px;
    margin-bottom: 30px;
  }
  .top_howto_exchange_link:nth-child(4n) {
    margin-right: 30px;
  }
  .top_howto_exchange_link:nth-child(7n) {
    margin-right: 0;
  }
  .top_howto_exchange_wrap .slider {
    display: none;
  }

  .top_howto_exchange_wrap .slider.slick-initialized {
    display: block;
  }
  .to_howto_wrap {
    width: 500px;
    margin: 0 auto 80px;
  }

  .to_howto_title {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    margin-bottom: 20px;
    padding: 0 10%;
    color: #555;
    font-size: 28px;
    text-align: center;
    letter-spacing: 2px;
  }

  .to_howto_title img {
    margin-bottom: 10px;
  }

  .to_howto {
    width: 500px;
    margin-bottom: 15px;
  }

  .to_howto a {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .to_howto a i {
    font-size: 24px;
  }

  .to_howto_btn a {
    margin: 0 auto 30px;
    font-size: 20px;
  }

  .regist_btn {
    max-width: 600px;
  }

  .regist_btn a {
    font-size: 25px;
    line-height: 30px;
  }

  .regist_btn a span {
    font-size: 20px;
  }

  @keyframes titleslide {
    0% {
      opacity: 0;
      transform: translateX(30%);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideup {
    0% {
      opacity: 0;
      transform: translateY(20%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* PC/SP切り替えクラス（PC） */
  .pc-only {
    display: block !important;
  }

  .sp-only {
    display: none !important;
  }

  .pc-br-only {
    display: inline;
  }
}
@media screen and (min-width: 1039px) {
  .top_howto_feature_wrap {
    padding: 0;
  }
}
