﻿.normal-txt{text-align: center;}
#thanksday .card{text-align: center;}
#thanksday .card img{
  width: auto;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 741px) {
  #thanksday br.sp{display: none;}
  #thanksday .normal-txt{
    font-size: 18px;
    line-height: 1.7;
    max-width: 750px;
    margin: 40px auto;
  }
  #thanksday .normal-txt span{
    font-size: 14px;
  }

  /* 店舗受取バナー画像 */
  #thanksday .card{
    width: 750px;
    margin: 60px auto 0;
  }

  /* 店舗受取サービス説明文 */
  #thanksday .tenpo-txt{
    width: 750px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.9;
  }
  #thanksday .tenpo-txt span{font-size: 14px;}

  /* おすすめトピックス */
  #thanksday .topics{
    max-width: 1140px;
    margin: 0 auto;
  }

  /* ライフスタイル ウェア・シューズ */
  #thanksday .f-section{
    width: 750px;
    margin: 60px auto;
  }
  #thanksday .f-title-l{
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
  }
  #thanksday .f-btn-list{
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #thanksday .f-btn-list li{
    width: 360px;
  }
  #thanksday .f-btn-list li a{
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    padding: 18px 30px;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
  }
  #thanksday .f-btn-list-image{
    order: -1;
    width: 90px;
    flex-shrink: 0;
    margin-right: 25px;
    text-align: left;
  }
  #thanksday .f-btn-list-image img{
    width: 85px;
    height: auto;
  }
  #thanksday .f-btn-list-image img.otb{
    width: 50px;
  }
  #thanksday .f-btn-list-title{
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    margin: 0;
  }

  /* ブランドから探す */
  #thanksday .g-brand-search-area{
    background: #f6f6f6;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
  }
  #thanksday .g-brand-search-list{
    margin-top: 35px;
  }
  #thanksday .g-brand-search-list-inner{
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #thanksday .g-brand-search-list-inner li a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    background: #fff;
    border-radius: 8px;
  }
  #thanksday .g-brand-search-list-inner li figure{
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #thanksday .g-brand-search-list-inner li img{
    width: auto;
    max-width: 70%;
    max-height: 55%;
    height: auto;
  }

  #thanksday .btn-inner{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
  }

  #thanksday .btn-inner .btn{margin: 20px 0 0;}
  #thanksday .normal-txt .normal-ttl{margin-top: 30px;}
  #thanksday .u-grid-cols5-212{
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
  }
  #thanksday .u-grid-cols5-212 .u-card{
    flex: auto;
    flex-shrink: 0;
    padding: 0 0 20px;
  }

  #thanksday .u-grid-cols5-212::-webkit-scrollbar {height: 8px;}
  #thanksday .u-grid-cols5-212::-webkit-scrollbar-track {
	  background-color: #F0F0F0; 
	  border-radius: 5px;
  }

  #thanksday .u-grid-cols5-212::-webkit-scrollbar-thumb {
	  background-color: #A9A9A9;
	  border-radius: 5px;
  }

  #thanksday .u-grid-cols5-212::-webkit-scrollbar-thumb:hover {background-color: #808080;} 
}

@media screen and (max-width: 740px) {

  #thanksday .ttl_L{font-size: calc(16 * (100vw / 375));}
  #thanksday .normal-txt{
    font-size: calc(14 * (100vw / 375));
    line-height: 1.7;
    margin: calc(20 * (100vw / 375)) auto;
  }

  #thanksday .attention{margin: calc(20 * (100vw / 375)) 0;}
  #thanksday .normal-txt span{font-size: calc(12 * (100vw / 375));}
  #thanksday .tenpo-txt{
    text-align: center;
    font-size: calc(13 * (100vw / 375));
    line-height: 1.9;
    margin: calc(15 * (100vw / 375)) auto;
  }
  #thanksday .tenpo-txt span{
    font-size: calc(11 * (100vw / 375));
  }

  /* ライフスタイル ウェア・シューズ */
  #thanksday .f-section{
    margin: calc(30 * (100vw / 375)) auto;
  }
  #thanksday .f-title-l{
    font-size: calc(16 * (100vw / 375));
    font-weight: 700;
    text-align: center;
    margin-bottom: calc(15 * (100vw / 375));
  }
  #thanksday .f-btn-list{
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #thanksday .f-btn-list li{
    margin-bottom: calc(10 * (100vw / 375));
  }
  #thanksday .f-btn-list li a{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: calc(17 * (100vw / 375)) calc(27 * (100vw / 375));
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
  }
  #thanksday .f-btn-list-image{
    order: -1;
    width: calc(80 * (100vw / 375));
    flex-shrink: 0;
    margin-right: calc(27 * (100vw / 375));
    text-align: left;
  }
  #thanksday .f-btn-list-image img{
    width: calc(77 * (100vw / 375));
    height: auto;
  }
  #thanksday .f-btn-list-image img.otb{
    width: calc(47 * (100vw / 375));
  }
  #thanksday .f-btn-list-title{
    font-size: calc(13 * (100vw / 375));
    line-height: 1.6;
    text-align: left;
    margin: 0;
  }

  /* おすすめトピックス（SPは横スクロール） */
  #thanksday .topics .u-grid-cols5-212{
    display: flex;
    grid-template-columns: none;
    max-width: none;
    gap: calc(15 * (100vw / 375));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(10 * (100vw / 375));
  }
  #thanksday .topics .u-grid-cols5-212 > *{
    width: calc(280 * (100vw / 375));
    flex: 0 0 auto;
  }

  /* ブランドから探す */
  #thanksday .g-brand-search-area{
    background: #f6f6f6;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: calc(50 * (100vw / 375));
    padding-bottom: calc(50 * (100vw / 375));
  }
  #thanksday .g-brand-search-list{
    margin-top: calc(20 * (100vw / 375));
  }
  #thanksday .g-brand-search-list-inner{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(14 * (100vw / 375));
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #thanksday .g-brand-search-list-inner li a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100 * (100vw / 375));
    background: #fff;
    border-radius: calc(8 * (100vw / 375));
  }
  #thanksday .g-brand-search-list-inner li figure{
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #thanksday .g-brand-search-list-inner li img{
    width: auto;
    max-width: 70%;
    max-height: 55%;
    height: auto;
  }

  #thanksday .normal-txt .normal-ttl{margin-top: 20px;}
  #thanksday .attention{font-size: calc(10 * (100vw / 375));}
  #thanksday .normal-txt-p{margin-top: 20px;}
}
