* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
}

.header {
    display: flex;
    align-items: center;
    padding: 24px 20px;
    background-color: #fff;
}

.p-logo__img {
    width: 212px;
}


.logo img {
    height: 30px;
}

.banner {
    position: relative;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fv {
    width: 100%;
    background-color: #7b1613;
    color: white;
    text-align: center;
    line-height: 1.1;
}
.fv picture {
    padding: 25px 0;
    max-width: 680px;
    display: block;
    margin: 0 auto;
}
.fv .bottom-text { 
    font-weight: bold;
    color: #7b1613;
    padding:20px 0;
    background-color: #fff;
    font-size: 24px;
    border-bottom:1px solid #7b1613;
}
.sale-title {
    font-size: 99px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    margin-bottom:0;
    margin-bottom: 2px;
}

.sale-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 5px 0;
}

.sale-discount {
    font-size: 38px;
    font-weight: 700;
    margin: 5px 0;
}

.sale-dates {
    font-size: 29px;
    font-weight: 400;
    margin: 5px 0 0 0;
}

.banner-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}


.container {
    width: 90%;
    max-width: 954px;
    margin: 52px auto 0;
}

.coupon-section {
    text-align: center;
    padding: 0 0 0;
    position: relative;
}
.coupon-text {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight:bold;
}
.coupon-text::before {
    content: " ";
    position: absolute;
    width: 2px;
    height: 40px;
    background: #4ea856;
    transform: rotate(-20deg);
    left: -20px;
    bottom: 0;
}
.coupon-text::after {
    content: " ";
    position: absolute;
    width: 2px;
    height: 40px;
    background: #4ea856;
    transform: rotate(20deg);
    right: -20px;
    bottom: 0;
}
.coupon-section a {
    line-height: 1.5;
}

.coupon-section .c-text-s {
    font-size: 18px;
}
.coupon-section .c-text-m {
    font-size: 22px;
}
.coupon-section .c-text-l {
    font-size: 32px;
    padding:0 5px;
    letter-spacing: 2px;
}


.line-button {
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
    background-color: #4ea856;
    color: white;
    padding: 26px 30px;
    text-decoration: none;
    font-size:27px;
    border-radius: 3px;
    width: 558px;
    margin: 0 auto;
}


.arrow-wrap { 
  position: absolute;
  right: 14px;
  bottom: 45%;
  height: 10px;
  margin-top:-5px;
  display: flex;
  align-items: center;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
}
.arrow::before {
    
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 13px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
}


.tab-section {
    display: flex;
    margin: 30px auto;
}

.tab {
    font-size:27px;
    flex: 1;
    padding: 3px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #9b895a;
    color: #9b895a;
    cursor: pointer;
}


.tab.active {
    background-color: #9b895a;
    color: white;
}

.tab-content {
    display: none;
}


.tab-content.active {
    display: block;
}

.gender-button,
.category-button,
.brand-grid.recommend .brand-item {

    border: 1px solid #9b895a;
    color: #9b895a;
}

.gender-button a,
.recommend .brand-item a {
    color: #9b895a;
}

.gender-button a:hover,
.sale-item a:hover,
.shop-item a:hover,
.recommend .brand-item a:hover {
    opacity: 0.7;
}


.brand-grid,
.product-grid,
.sale-grid,
.shop-grid  {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 auto 65px;
    place-content: center;

    /* border: 1px solid #eee; */
    text-align: center;
    font-size: 12px;
    /* height:222px; */
}

.sale-grid {
    grid-template-columns: repeat(1, 1fr);
    height: auto;
    border: none;
    gap: 20px;
    font-size: 17px;
    width: 50%;
    max-width: 558px;
    margin-bottom:30px;
}



.link-wrapper {
    margin: 0 auto 65px;
}


.recommend .brand-item a  {
    transition: all;
    font-size: 16px;
}

.link-btn {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}
.link-btn a {
    position: relative;
    padding: 20px 40px 20px 40px;
    font-size:27px;
    color: #9b895a;
    display: block;
}
.link-btn a .arrow {
    background-color: #9b895a;
    height:2px;
}
.link-btn a .arrow::before {
    background-color: #9b895a;
    height:2px;
    top: calc(50% - 1px);
}

.link-btn .sub-text {
    display: block;
    font-size: 18px;
}

.link-txt {
    text-align: right;
    text-decoration: underline;
}

.brand-grid + .link-txt {
    margin-top: -40px;
}

.sale-name {
    padding: 20px;
}


.brand-image,
.product-image { 
    padding: 15px 10px 10px;
    overflow: hidden;
}

.brand-name,
.product-name {
    height: calc(222px - 158px);
}
.tab-content .brand-name {
    height: auto;
}

.brand-image,
.brand-name,
.product-image,
.product-name {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item a:hover {
    opacity: 0.7;
}

.section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 26px;
    font-weight: normal;
}
.section-title.m-text span {
    display: block;
    font-weight: bold;;
    font-size:20px;
}


.gender-section,
.category-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 70px;
    padding: 0 20px;
}

.gender-button,
.category-button {
    width: calc(50% - 5px);
    min-width: 282px;
    padding: 10px 0 14px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 23px;
}


@media (min-width: 768px) {
    
    .brand-grid,
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gender-button,
    .category-button {
        width: auto;
    }
}
    .brand-grid.recommend.center-item {
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
    }

@media (max-width: 767px) {

    .fv picture {
        padding: 20px;
    }
    .fv .bottom-text {
        font-size: 16px;
    }
    .container {
        margin-top:20px;
    }
    .brand-grid.recommend {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-grid.recommend.center-item {
        width: 100%;
    }
    .sale-title {
        font-size: 77px;
    }
    .sale-subtitle {
        font-size:19px;
    }
    .sale-discount {
        font-size:30px;
    }
    .sale-dates {
        font-size: 22px;
    }
    .tab {

        font-size: 17px;
        padding: 10px;
    }
    .line-button {

        font-size: 17px;
        padding: 14px;
        max-width: 450px;
        width: 100%;
    }

    .link-btn a {

        padding: 20px 15px;
        font-size: 16px;

    }

    .sale-grid {
        width: 90%;
    }

    .section-title {
        font-size: 24px;
        margin: 35px auto 20px;
    }

    .section-title.m-text {
        font-size:20px;
    }
    .section-title.m-text span {
        font-size:15px;
    }

    .coupon-section {
        padding:0 0 0;
    }

    .coupon-section a {
        line-height: 1.5;
    }

    .coupon-text {
        font-size:20px;
    }
    .coupon-text::before {
        width: 2px;
        height: 30px;
        left: -15px;
    }
    .coupon-text::after {
        width: 2px;
        height: 30px;
        right: -15px;
    }

    .coupon-section .c-text-s {
        font-size: 16px;
    }
    .coupon-section .c-text-m {
        font-size: 20px;
    }
    .coupon-section .c-text-l {
        font-size: 30px;
        padding:0 5px;
        letter-spacing: 2px;
    }

    
}
