.coupon_contents {
    width: 100%; /* Full width of parent */
    box-sizing: border-box; /* Include padding/border in width */
    font-family: "メイリオ", "Helvetica", sans-serif;
    text-align: center;
    max-width: 900px;
    margin: 0 auto; /* センタリング */
}
.banner-img {
    width: 100%;
    max-width: 100%; /* Ensures it stays responsive */
    height: auto;
    margin-bottom: 30px; /* Space below the banner */
}
	
.coupon_campaign {
    width: 90%;
    background-color: #003964;
    border-style: solid;
    border-color: #003964;
    border-width: 3px;
    border-radius: 10px;
    margin: 5px auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* 水平中央に配置 */
}

.coupon_content {
    background-color: #003964;
    /* padding: 20px; */
    border-radius: 10px; /* 角を丸くする */
    display: flex; /* 横並びに配置 */
    align-items: center; /* 垂直方向の中央揃え */
}

.coupon_image_wrapper {
    background-color: #003964;
    text-align: center;
    padding: 10px;
}

.coupon_gift_img {
    width: 50px;
}

.coupon_text {
    margin-left: 10px; /* 画像とテキストの間のスペースを調整 */
}

.coupon_day,
.coupon_campaign_name {
    font-size: 25px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #003964;
    padding: 0 10px;
    margin: 5px 0;
}
.coupon_zone {
    margin: 30px 0;
}
.coupon_img {
    width: 30%;
    max-width: 100%; /* Responsive images */
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* スムーズな変化を指定 */
}

.coupon_img:hover {
    opacity: 0.8;  /* 少し透明にする */
}

@media (max-width: 600px) {
    .coupon_content {
        position: relative;
    }
    .coupon_image_wrapper {
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
    }
    .coupon_gift_img {
        width: 25px;
    }

    .coupon_text {
        margin: 50px 0 0;
        text-align: center;
    }
    .coupon_zone {
        display: flex;
        flex-wrap: wrap;
    }
    .coupon_zone a {
        width: 48%;
        box-sizing: border-box;
        margin: 1%;
    }
    .coupon_img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .button_solid007 p:before {
        left: -1px;
        -webkit-transform: rotate( 50deg );
        transform: rotate( 50deg );
    }
    .button_solid007 p:after {
        right: -1px;
        -webkit-transform: rotate( -50deg );
        transform: rotate( -50deg );
    }
}

/* solid007 */
.button_solid007 {
    text-align: center;
}
.button_solid007 p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #003964;
    letter-spacing: 0.04rem;
    display: inline-block;
    position: relative;
}
.button_solid007 p:before, .button_solid007 p:after {
    display: inline-block;
    position: absolute;
    top: 45%;
    width: 20px;
    height: 3px;
    border-radius: 5px;
    background-color: #003964;
    content: "";
}
.button_solid007 p:before {
    left: -30px;
    -webkit-transform: rotate( 50deg );
    transform: rotate( 50deg );
}
.button_solid007 p:after {
    right: -30px;
    -webkit-transform: rotate( -50deg );
    transform: rotate( -50deg );
}
.button_solid007 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto 30px auto;
    max-width: 300px;
    padding: 15px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #003964;
    filter: drop-shadow(0px 2px 4px #ccc);
    border-radius: 3px;
    text-decoration: none; /* 下線を消す */
}
.button_solid007 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}        
