@media screen and (max-width:767px) {
	.pc {
		display: none !important;
	}
}
@media screen and (min-width:767px) {
	.sp {
		display: none !important;
	}
}

a, p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal; 
}

.contents {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding-bottom: 40px;
    background-color: #FFFAE8;
    color: #333;
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "sans-serif";
}

@media screen and (min-width: 767px) {
    .contents {
        max-width: 550px;
    }
}

/* --- MV --- */
.mv {
	width: 100%;
}

/* --- 見出しタイトル --- */
.section-title {
    margin: 5px auto 40px;
    padding-bottom: 8px;
    border-bottom: 1px solid #312929;
    font-size: 21px;
    line-height: 38px;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.title-01 {
    width: 170px;
} 

.title-02 {
    width: 200px;
}

h2.section-title::after {
    content: "";
    width: 15px;
    height: 15px;
    border-right: 1px solid #312929;
    border-bottom: 1px solid #312929;
    background-color: #FFFAE8;
    margin: auto;
    position: absolute;
    top: auto;
    right: 0;
    bottom: -9px;
    left: 0;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}

/* --- ブランド一覧 --- */

section.brand-icons {
    margin-top: 25px;
    margin-bottom: 30px;
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;       
    justify-content: center; 
    gap: 20px 30px;          
    max-width: 300px;     
    margin: 0 auto;
}

/* 上段3つのアイコン */
.icon-grid img:nth-child(-n+3) {
    width: 75px;
    height: auto;
    object-fit: contain;
}

/* 下段2つのアイコン*/
.icon-grid img:nth-child(n+4) {
    width: 110px;
    height: auto;
    object-fit: contain;
}

/* PC表示 */
@media screen and (min-width: 767px) {

section.brand-icons {
margin-top: 35px;
margin-bottom: 60px;
}
.icon-grid {
    max-width: 400px;
}

.icon-grid img:nth-child(-n+3) {
    width: 90px;
}

.icon-grid img:nth-child(n+4) {
    width: 125px;
}
}



/* --- クーポンセクション --- */
.coupon-section {
    text-align: center;
    margin-bottom: 20px;
}

.coupon-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.coupon-content {
    padding: 30px 20px;
}

.coupon-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.coupon-code-box {
    background-color: #ffffff;
    max-width: 380px;
    padding: 10px 10px;
    margin: 0 auto 10px auto;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
    /* スマホでのテキスト選択（青いハイライト）を防止 */
    -webkit-user-select: none; 
    user-select: none;
    /* タップ時のデフォルトのハイライトを透明にする */
    -webkit-tap-highlight-color: transparent;
}

/* タップした瞬間に少し色を変えて反応を出す */
.coupon-code-box:active {
    background-color: #f0f0f0;
}

/* コピー完了メッセージのスタイル */
.copy-alert {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

/* 表示状態 */
.copy-alert.is-show {
    opacity: 1;
    visibility: visible;
    top: -40px;
}

.coupon-label {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.coupon-code {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #000;
}

.coupon-link a {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    text-decoration: underline;
    display: inline-block;
}

.coupon-link a:hover {
    opacity: 0.7;
}


/* --- 事業紹介 --- */

/* =============================================
   ブランド別カラー設定
   ============================================= */

/* --- WonderGOO --- */
.brand-card.goo {
    background-color: #E0EDFF;
}
.brand-card.goo .action-btn {
    background-color: #004097;
}

/* --- WonderREX  --- */
.brand-card.rex {
    background-color: #F6FFDA; 
}
.brand-card.rex .action-btn {
    background-color: #9CC715; 
}

/* --- HAPiNS  --- */
.brand-card.hapins {
    background-color: #E7F6FF; 
}
.brand-card.hapins .action-btn {
    background-color: #006FB9; 
}

/* --- JEANSMATE  --- */
.brand-card.jeansmate {
    background-color: #FFF2F3; 
}
.brand-card.jeansmate .action-btn {
    background-color: #D02B2F; 
}

/* --- 新星堂  --- */
.brand-card.shinseido {
    background-color: #FFF6F8; 
}
.brand-card.shinseido .action-btn {
    background-color: #B8193F; 
}


/* --- 事業紹介 --- */

.group-section {
    text-align: center;
}

.brand-card {
    box-shadow: 2px 6px 6px rgba(9, 10, 10, 0.15);
    border-radius: 15px;
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto 30px; 
    width: calc(100% - 30px); 
}

.brand-banner img {
    width: 100%;
    display: block;
}

.card-body {
    padding: 20px 15px 25px;
}

.brand-intro {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
}

@media screen and (min-width: 767px) {
    .brand-intro {
        font-size: 16px;
    }

    .item-name  {
        font-size: 16px;
    }

}


.item-grid {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.item {
    flex: 1;
    text-align: left;
}

.item-img img {
    width: 100%;
}

.item-name {
    font-size: 14px;
    margin: 8px 0;
    letter-spacing: 0.05em;
    line-height: 1.4;
    height: 4.2em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.price-normal {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.price-normal span {
    font-size: 10px;
}

.coupon-tag {
    font-size: 13px;
    font-weight: bold;
    color: #EC0000;
    margin-top: 5px;
    line-height: 1;
}

.price-discounted {
    font-size: 20px;
    font-weight: bold;
    color: #EC0000;
}

@media screen and (min-width: 767px) {
.price-discounted {
    font-size: 23px;
}

}

.price-discounted span {
    font-size: 10px;
}

.target-label {
    font-size: 15px;
    font-weight: bold;
    color: #EC0000;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
     letter-spacing: 0.1em; 
}

/* ＼ ／ のあしらい */
.target-label::before { content: "＼ "; font-size: 20px; }
.target-label::after { content: " ／"; font-size: 20px; }

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold;
    padding: 15px;
    border-radius: 50px;
    font-size: 16px;
    position: relative;
    max-width: 280px;
    margin: 0 auto;

}

.action-btn::after {
    content: "▶";
    font-size: 12px;
    margin-left: 10px;
}

.action-btn:hover {
    opacity: 0.8;
}


/* --- クーポンご利用方法 --- */
.how-to-section {
    padding: 20px 10px;
    text-align: center;
}

.how-to-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: left; 
}

.how-to-intro {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 0 20px;
}

@media screen and (min-width: 767px) {
.how-to-intro {
        font-size: 16px;
    margin-bottom: 25px;
}

}


.step-images {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.step-images img {
    width: 100%;
    height: auto;
}

.step-description {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 10px;
}

@media screen and (min-width: 767px) {
.step-description {
        font-size: 16px;
    margin-bottom: 25px;
}

}

.info-details-box {
    background-color: #eee; 
    padding: 15px;
    margin: 0 auto 15px;
    max-width: 480px;
    text-align: left;
}


.info-details-box dl {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.6;
}

@media screen and (min-width: 767px) {
    .info-details-box dl {
        font-size: 16px;
}

}

.info-details-box dt {
    width: 23%; 
    font-weight: bold;
    padding-bottom: 10px;
}

.info-details-box dd {
    width: 77%; 
    padding-bottom: 5px;
    margin-inline-start: 0;
}

.back-to-group {
    margin-top: 20px;
}

.back-to-group a {
    color: #333;
    font-size: 16px;
    text-decoration: underline;
}

/* --- REXTブランド紹介セクション --- */

.rext-brand-info {
    padding: 60px 10px;
    text-align: center;
}

.rext-brand-logo {
    margin-bottom: 35px;
}

.rext-brand-logo img {
    width: 80px; 
    height: auto;
}

.rext-brand-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 2.0;  
    color: #333;
    display: inline-block;
    text-align: center;
}

@media screen and (min-width: 767px) {
.rext-brand-text {
    font-size: 18px; 

}

}