@media screen and (min-width: 768px) {
    .is-sp {
      display: none !important;
    }
  }

  @media screen and (max-width: 767px) {
    .is-pc {
      display: none !important;
    }
  }

  section {
    padding-top: 0;
    margin-top: 50px;

  }
  section.main-top {
    margin-top: 0;
  }
  @media screen and (max-width: 767px) {
    section {
      padding: 50px 0 0;

    }
    section.main-top,
    section.selechat-point,
    section.selechat-category {
    padding: 0;
  }
  }

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

  .top-img {
    width: 100%;
    margin: 40px auto 50px;
  }

  @media screen and (max-width: 767px) {
    .top-img {
      margin: 30px auto 0;
    }
  }

  .selechat-point {
    position: relative;
    z-index: 0;
    container-type: inline-size;
  }

  .selechat-title {
    background: url(https://www.kissmylife.jp/renewal2023/images/winter_hat/title_bg.jpg) no-repeat center center / cover;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
  }

  .selechat-category {
    position: relative;
  }

  .selechat-category::after {
    content: "";
    position: absolute;
    top: clamp(250px, 30vw, 400px);
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.kissmylife.jp/renewal2023/images/winter_hat/bg02.jpg') no-repeat right top;
    z-index: -1;
  }

  .h2-title {
    color: rgba(145, 127, 108, 0.8);
    font-size: clamp(40px, 5vw, 100px);
    text-align: center;
    line-height: 1.2;
    padding-top: 50px;
  }

  .h3-title {
    color: #917F6C;
    font-size: clamp(18px, 3vw, 35px);
    margin-top: 1em;
  }

  .sub-text {
    text-align: center;
    margin-top: 1em;
    font-size: clamp(13px, 1.2vw, 16px);
  }

  @media screen and (max-width: 767px) {
    .sub-text {
      text-align: left;
    }
  }

  .category__ranking-btn.selechat-btn a {
    background-color: #A56666;
    color: #fff;
    border: none;
    max-width: 300px;
    padding: 10px 0;
  }

  .category__ranking-btn.selechat-btn a:before,
  .category__ranking-btn.selechat-btn a:after {
    background-color: #fff;
    right: 10px;
  }

  @media screen and (max-width: 767px) {
    .category__ranking-btn.selechat-btn a {
      font-size: 12px;
    }

    .category__ranking-btn.selechat-btn a:before {
      width: 24px;
    }
  }

  .text-red {
    color: #A56666;
    font-weight: bold;
  }

  .selechat-item-wrap {
    display: flex;
    gap: 100px;
    margin-top: 50px;
  }

  .selechat-item01 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    margin-top: 80px;
  }

  @media screen and (max-width: 767px) {
    .selechat-item-wrap {
      display: block;
    }

    .selechat-item01 {
      display: block;
      margin-top: 50px;
    }
  }

  @media screen and (min-width: 768px) {
    .selechat-item {
      flex: 1 1 calc((100% - 100px) / 2);
      max-width: calc((100% - 100px) / 2);
      min-width: 0;
    }
  }

  .selechat-item-img img {
    display: block;
    width: 100%;
    height: auto;
  }

  @media screen and (max-width: 767px) {
    .selechat-item {
      margin-top: 50px;
    }
  }

  .selechat-item-no {
    max-width: 180px;
    margin: 0 auto;
  }

  @media screen and (max-width: 767px) {
    .selechat-item-no {
      max-width: 100px;
    }
  }

  .selechat-item-name {
    font-size: clamp(14px, 2vw, 20px);
    font-weight: bold;
  }

  .selechat-item-name span {
    font-size: clamp(14px, 2vw, 18px);
    display: block;
    font-weight: normal;
  }

  .selechat-item-price {
    margin: 16px 0 0;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.04em;
  }

  .selechat-item-price span {
    font-size: 22px;
    letter-spacing: 0.02em;
  }

  .selechat-item-price + .category__ranking-btn.selechat-btn a {
    margin-top: 16px;
  }

  .selechat-item-detail {
    flex: 1 1 55%;
    margin-top: 30px;
  }

  .selechat-item-text {
    margin-top: 20px;
  }

  @media screen and (max-width: 767px) {

    .selechat-item-detail,
    .selechat-item-text {
      margin-top: 10px;
      font-size: 13px;
    }

    .selechat-item-price span {
      font-size: 18px;
    }
  }

  .selechat-item-color {
    margin-top: 50px;
  }

  @media screen and (max-width: 767px) {
    .selechat-item-color {
      margin-top: 20px;
    }
  }

  .color-tip-box {
    line-height: 1;
    letter-spacing: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
    font-size: 16px;
  }

  .color-tip {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 0;
    display: inline-block;
  }

  @media screen and (max-width: 767px) {
    .color-tip-box {
      font-size: 12px;
      gap: 5px;
    }

    .color-tip {
      width: 18px;
      height: 18px;
    }
  }

  .tip-bordeaux {
    background: #9D2F4A;
  }

  .tip-white {
    background: #fff;
  }

  .tip-black {
    background: #000;
  }

  .tip-gray {
    background: #8B8B8B;
  }

  .tip-gray02 {
    background: #dddddd;
  }

  .tip-brown {
    background: #BD8064;
  }
  .tip-brown02 {
    background: #66421e;
  }

  .tip-pink {
    background: #EFBCAA;
  }

  .tip-pink02 {
    background: #CCA2A6;
  }

  .tip-purple {
    background: #C29DAB;
  }

  .tip-blue {
    background: #B6CBE5;
  }

  .tip-blue02 {
    background: #5880B1;
  }

  .tip-navy {
    background: #22447F;
  }
  .tip-green {
    background: #7B881E;
  }

  .tip-beige {
    background: #D1BDB5;
  }

  .tip-beige02 {
    background: #D5CFB8;
  }
  .tip-beige02 {
    background: #EAE8C7;
  }
  .tip-yellow01 {
    background:rgb(212, 196, 51);
  }
  .tip-ivory {
    background:rgb(233, 226, 220);
  }
  .tip-camel {
    background:rgb(224, 193, 136);
  }

  .topabout__flextxt,
  .topabout__flexsign {
    color: #5B4B36;
  }

  .summerwig-category {
    background: url(https://www.kissmylife.jp/renewal2023/images/winter_hat/bg02.jpg) no-repeat top right;
    margin-top: 50px;
  }

  .wig_bnr {
    margin-top: 30px;
  }

  .func-ico {
    display: flex;
    gap: 20px;
    margin: 20px 0;
  }

  @media screen and (max-width: 767px) {
    .func-ico {
      gap: 10px;
    }
  }

  .func-ico img {
    min-width: 0;
    flex-shrink: 1;
  }

  .plus-category {
    padding-bottom: 50px;
    background: url(https://www.kissmylife.jp/renewal2023/images/winter_hat/bg03.jpg) repeat-y left top;
    margin-top: 50px;
  }

  section.winter-pick {
    margin-top: 40px;
    background: #f6f1ea;
    padding: 48px 0 56px;
  }

  .winter-pick-label {
    text-align: center;
    color: #A56666;
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: bold;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }

  .winter-pick .carehat-inner {
    container-type: inline-size;
  }

  .winter-pick-img {
    width: calc(100cqi - 100px);
    max-width: calc(100cqi - 100px);
    margin: 28px auto 0;
  }

  .winter-pick-refresh-img {
    position: relative;
    width: calc((100cqi - 100px) / 2);
    max-width: calc((100cqi - 100px) / 2);
    margin: 28px auto 0;
  }

  .winter-pick-refresh-img::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 40px;
    width: min(860px, 100cqi);
    aspect-ratio: 538.489 / 264.135;
    transform: translateX(-50%);
    background: url(https://www.kissmylife.jp/renewal2023/images/product/kml800763/style-change.svg) no-repeat center / contain;
    pointer-events: none;
  }

  .winter-pick-refresh-img img {
    position: relative;
    z-index: 1;
  }

  .winter-pick-img img,
  .winter-pick-refresh-img img {
    border-radius: calc(0.17 * (100cqi - 100px) / 2) 0;
  }

  .winter-pick-refresh {
    max-width: 760px;
    margin: 48px auto 0;
    text-align: center;
  }

  .winter-pick-catch {
    color: #AC9A82;
    font-size: 22px;
    line-height: 1.8;
  }

  .winter-pick-refresh-text {
    margin: 16px 0 0;
    text-align: left;
    line-height: 1.8;
  }

  .winter-pick-note {
    margin: 16px 0 0;
    font-size: 14px;
    font-weight: bold;
  }

  .winter-pick-name {
    max-width: 920px;
    margin: 28px auto 0;
    text-align: center;
    font-size: clamp(16px, 2vw, 24px);
    font-weight: bold;
    line-height: 1.7;
  }

  .winter-pick-text {
    max-width: 760px;
    margin: 16px auto 0;
    text-align: center;
    line-height: 1.8;
  }

  .winter-pick-price {
    margin: 18px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.04em;
  }

  .winter-pick-price span {
    font-size: 28px;
    letter-spacing: 0.02em;
  }

  .winter-pick-color {
    justify-content: center;
  }

  .tip-charcoal {
    background: #4a4a4a;
  }

  @media screen and (max-width: 767px) {
    section.winter-pick {
      margin-top: 0;
      padding: 36px 0 40px;
    }

    .winter-pick-text,
    .winter-pick-refresh-text,
    .winter-pick-note {
      font-size: 13px;
    }

    .winter-pick-text {
      text-align: left;
    }

    .winter-pick-img,
    .winter-pick-refresh-img {
      width: 100cqi;
      max-width: 100%;
    }

    .winter-pick-img img,
    .winter-pick-refresh-img img {
      border-radius: 17% 0;
    }

    .winter-pick-catch {
      font-size: 18px;
    }

    .winter-pick-refresh-img::before {
      top: 24px;
      width: min(420px, 100cqi);
    }
  }
