/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: white; 
    margin: 0;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow-x: hidden; 
}

/* チラシ全体のコンテナ */
.flyer-container {
    max-width: 55%; 
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative; 
}

/* エメラルドグリーンの背景 (::before) */
.flyer-container::before {
    content: '';
    position: absolute;
    top: 0px;    
    left: 0px;   
    right: 0px;  
    bottom: 0px; 
    background-color: #d3fff0; 
    z-index: 1; 
}

/* 透明な白の背景 (::after) */
.flyer-container::after {
    content: '';
    position: absolute;
    top: 20px;    
    left: 25px;   
    right: 25px;  
    bottom: 10px; 
    background-color: rgba(255, 255, 255, 0.7); 
    z-index: 3; 
}


/* ヘッダー */
.header {
    color: #333;
    padding: 20px 20px; 
    position: relative; 
    z-index: 4; 
}

/* バッジとタイトルを横並びにするコンテナ */
.main-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

/* バッジのコンテナ (位置の基準) */
.limited-badge {
    position: relative;
    width: 130px; 
    height: 130px; 
    flex-shrink: 0;
}

/* 黄色い丸 */
.badge-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff0;
    border-radius: 50%;
    z-index: 1;
}

/* 文字のブロック (丸の上に乗る) */
.badge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-weight: 900;
    line-height: 1.1;
    color: #333;
    text-align: center;
    width: 150%;
}

/* 「3社限定」のスタイル */
.badge-text strong {
    color: #dc3545;
    font-size: 2.5em; 
    font-weight: 900;
}

/* 「毎月先着」のスタイル */
.badge-text span {
    color: #333;
    font-size: 1.8em; 
    font-weight: 900;
}

.header h1 {
    font-size: 4.5em; 
    margin: 0;
    font-weight: 900;
    color: #fa3a4d;
    text-align: right;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.header h1 span {
    display: block;
    font-size: 0.57em; 
    font-weight: 900;
    color: #007bff;
    word-spacing: 0.5em;
}

/* 人物イラストの配置 */
.people-illustration {
    text-align: center;
    padding: 1px 0; 
    margin-top: -50px; 
    position: relative; 
    z-index: 4; 
}

.people-illustration img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* メインコンテンツの余白 */
main {
    padding: 20px; 
    position: relative; 
    z-index: 4; 
}


/* 透かし文字のスタイル */
.watermark {
    position: absolute; 
    top: 0;
    height: 60%; 
    width: auto;
    z-index: 2; 
    opacity: 1; 
}

.watermark-left {
    left: -60px; 
}

.watermark-right {
    right: -60px; 
    top: 680px; 
}


/* サービス一覧 */
.services {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px; 
    padding-bottom: 5px; 
}

/* サービス項目 (吹き出し) */
.service-item {
    font-family: 'M PLUS Rounded 1c', sans-serif;

    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 1.8em; 
    padding: 30px 15px 15px 15px; 
    text-align: center;
    width: 230px; 
    height: 190px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('speech_bubble_green.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.service-item2 {
    font-family: 'M PLUS Rounded 1c', sans-serif;

    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 1.8em; 
    padding: 30px 15px 15px 15px; 
    text-align: center;
    width: 230px; 
    height: 190px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('speech_bubble_blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.service-item3 {
    font-family: 'M PLUS Rounded 1c', sans-serif;

    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 1.8em; 
    padding: 30px 15px 15px 15px; 
    text-align: center;
    width: 230px; 
    height: 190px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('speech_bubble_yellow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.service-item4 {
    font-family: 'M PLUS Rounded 1c', sans-serif;

    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 1.8em; 
    padding: 30px 15px 15px 15px; 
    text-align: center;
    width: 230px; 
    height: 190px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('speech_bubble_red.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* (ドライ) の文字 */
.service-note {
    font-size: 0.5em; 
    line-height: 1;
    position: relative;
    top: -10px; 
    left: -7px; 
}

/* (ドライ) 20分 の行 */
.service-subline {
    position: relative;
    bottom: 10px;
}

/* (ドライ) 20分 の「20分」を右にずらす */
.service-subline .service-time {
    position: relative;
    left: 12px; 
}


/* 料金プラン */
.price-plan {
    text-align: center;
    padding: 1px 20px; 
    border-radius: 10px;
    margin-bottom: 1px; 
}

/* 見出しグループ (h2と.share-info) のコンテナ */
.price-heading-group {
    display: inline-block;
    text-align: left;
}

/* 「1ヶ月通い放題!!」の行 */
.catchphrase-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 0px;
}

.price-plan h2 {
    color: #dc3545;
    font-size: 4em; 
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.price-plan .note {
    font-size: 2em; 
    margin: 0px 0; 
    color: #dc3545;
    white-space: nowrap;
}

.price-plan .share-info {
    font-size: 3em; 
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 0; 
    color: #333;
    text-align: center;
}

/* 価格表示 */
.price {
    margin-bottom: 35px; 
    position: relative;
    display: block;
    
}

/* 黄色い背景画像 */
.price-background {
    position: absolute;
    z-index: 1;
    width: 80%; 
    height: 80%; 
    bottom: -30%; 
    left: 0%; 
    opacity: 0.9;
    transform: skew(-3deg);
}

.price strong {
    font-size: 10em; 
    color: #dc3545;
    font-weight: 900;
    line-height: 1;
    position: relative;
    z-index: 2;
}

/* 「円 (税込) / 1ヵ月」 */
.price-details {
    font-size: 2.5em; 
    font-weight: bold;
    color: #dc3545; 
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.price .tax-info {
    font-size: 0.7em; 
    font-weight: bold;
    color: #dc3545; 
}

.price .price-month {
    font-size: 1.5em; 
    font-weight: 900;
    color: #333;
}


/* メリット・利用条件の箱 (親) */
.info-box {
    padding: 1px 20px; 
    margin-bottom: 25px; 
    position: relative;
    max-width: 85%; 
    margin-left: auto; 
    margin-right: auto; 
}

/* 影となるずれた枠線 (::after) */
.info-box::after {
    content: '';
    position: absolute;
    top: 20px;    
    left: 8px;   
    right: -25px; 
    bottom: -15px; 
    border: 2px solid #000000;
    background-color: #bdffe9; 
    z-index: 1; 
}

/* 手前の白い箱 (::before) */
.info-box::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;   
    right: 0px;  
    bottom: 0px; 
    border: 2px solid #000000;
    background-color: #ffffff; 
    z-index: 2; 
}

/* h3 (見出し) */
.info-box h3 {
    position: relative; 
    z-index: 3; 
    
    font-size: 1.7em; 
    text-align: center;
    margin-top: 0;
    margin-bottom: 8px; 
    padding-bottom: 8px; 
    
    color: #000000; 
    font-weight: 100;
}


.info-box ul {
    margin: 0;
    padding-left: 20px;
    border-bottom: none; 
    margin-bottom: 0; 
    position: relative; 
    z-index: 3; 
}

.info-box li {
    font-size: 1.4em; 
    line-height: 1.5; 
    margin-bottom: 6px; 
    color: #000;
    font-weight: bold;
    position: relative; 
    z-index: 3; 
}

.text-red {
    color: #dc3545;
}

/* ======================================== */
/* === レスポンシブ対応 (4段階) === */
/* ======================================== */

/* --- ④ PC (1500px～) --- */
/* (デフォルトのスタイルがこれに該当) */


/* --- ③ PC (1280px ～ 1499px) --- */
@media (max-width: 1499px) {
    .flyer-container {
        max-width: 70%; 
    }
    .header h1 {
        font-size: 3.2em; 
        text-align: right;
    }
    .watermark{
        height: 60%;
    }

    .watermark-left {
    left: -50px;
    top: 1%; 
    }

    .watermark-right {
    right: -50px; 
    top: 40%; 
    }
    .badge-text strong {
        font-size: 2.5em; 
    }
    .badge-text span {
        font-size: 1.7em; 
    }
    .service-item {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 210px; 
        height: 180px; 
    }
    .service-item2 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 210px; 
        height: 180px; 
    }.service-item3 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 210px; 
        height: 180px; 
    }.service-item4 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 210px; 
        height: 180px; 
    }
    .price-background {
    position: absolute;
    z-index: 1;
    width: 65%; 
    height: 80%; 
    bottom: -30%; 
    left: 10%; 
    opacity: 0.9;
    transform: skew(-3deg);
    }
    .price-plan h2 {
        font-size: 2.8em; 
    }
    .price-plan .share-info {
        font-size: 1.7em; 
    }
    .price strong {
        font-size: 6.5em; 
    }
    .price-details { 
        font-size: 1.7em; 
    }
    .info-box h3 {
        font-size: 1.5em;
    }
    .info-box li {
        font-size: 1.2em;
    }
}


/* --- ② TB (タブレット版) (768px ～ 1279px) --- */
@media (max-width: 1279px) {
    .flyer-container {
        max-width: 90%; 
    }
    .main-title-container {
        flex-direction: row;
        gap: 5px;
        margin-bottom: 15px;
    }

    .header h1 {
        font-size: 2.8em; 
        text-align: right;
    }
    .header h1 span {
        word-spacing: 0.2em; 
    }


    .watermark{
        height: 45%;
    }

    .watermark-left {
    left: -50px;
    top: 1%; 
    }

    .watermark-right {
    right: -50px; 
    top: 55%; 
    }

    .limited-badge {
        width: 100px;
        height: 100px;
    }
    
    .badge-text strong {
        font-size: 2.0em; 
    }
    .badge-text span {
        font-size: 1.3em; 
    }
    
    .services {
        flex-wrap: wrap;
        overflow-x: hidden;
    }
    .service-item {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 200px;  
        height: 165px; 
    }
    .service-item2 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 200px;  
        height: 165px; 
    }.service-item3 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 200px;  
        height: 165px; 
    }.service-item4 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.5em; 
        width: 200px;  
        height: 165px; 
    }

    .price-plan h2 {
        font-size: 2.5em; 
    }
    .price-plan .share-info {
        font-size: 1.6em; 
    }

    .price-background {
        height: 70%;
        bottom: -20%;
        width: 75%;
        left: 1%;
    }

    .price strong {
        font-size: 6.0em; 
    }

    .price-details { 
        font-size: 1.5em; 
        color: #dc3545; 
    }
    .price .tax-info {
        color: #dc3545; 
    }

    .price .price-month {
        font-size: 1.8em;
    }

    .info-box {
        padding: 10px 15px;
        max-width: 80%; 
    }

    .info-box h3 {
        font-size: 1.3em;
    }
    .info-box li {
        font-size: 1em;
    }
}


/* --- ① MB (モバイル版) (～767px) --- */
@media (max-width: 767px) {
    body {
        padding: 0;
    }

    .flyer-container {
        width: 100%;
        max-width: 100%; 
        padding-top: 10px;
    }

    .watermark{
        height: 40%;
    }

    .watermark-left {
    left: -50px;
    top: 1%; 
    }

    .watermark-right {
    right: -50px; 
    top: 60%; 
    }

    .main-title-container {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .header h1 {
        font-size: 2em; 
        text-align: center;
    }
    .header h1 span {
        word-spacing: 0.1em; 
    }


    .people-illustration { 
    margin-top: -30px; 
    }

    .limited-badge {
        width: 100px;
        height: 100px;
        margin-top: 10px;
    }

    .badge-text strong {
        font-size: 1.8em; 
    }
    .badge-text span {
        font-size: 1.2em; 
    }

    .services {
        flex-wrap: wrap;
        overflow-x: hidden;
        gap: 10px;
    }

    .service-item {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.2em; 
        width: 160px; 
        height: 135px; 
        padding: 25px 10px 15px 10px; 
    }
    .service-item2 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.2em; 
        width: 160px; 
        height: 135px; 
        padding: 25px 10px 15px 10px; 
    }.service-item3 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.2em; 
        width: 160px; 
        height: 135px; 
        padding: 25px 10px 15px 10px; 
    }.service-item4 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 1.2em; 
        width: 160px; 
        height: 135px; 
        padding: 25px 10px 15px 10px; 
    }

    .service-subline {
        bottom: 10px; 
    }

    .service-note {
        font-size: 0.5em; 
        top: -5px; 
        left: -5px; 
    }

    .service-subline .service-time {
        position: relative;
        left: 10px; 
    }


    .catchphrase-line {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .price-plan h2 {
        font-size: 1.8em; 
    }
    
    .price-plan .note {
        font-size: 0.8em; 
    }

    .price-plan .share-info {
        font-size: 1em; 
    }

    .price-background {
        height: 70%;
        bottom: -30%; 
        width: 80%; 
        left: -5%; 
    }

    .price strong {
        font-size: 2.5em; 
    }

    .price-details { 
        font-size: 1em; 
        color: #dc3545; 
    }
    .price .tax-info {

        color: #dc3545; 
    }

    .price .price-month {
        font-size: 1.6em; 
    }

    .info-box {
        padding: 10px 15px;
        max-width: 70%; 
    }

    .info-box h3 {
        font-size: 18px;
    }
    .info-box ul{
        padding-left: 10px;
    }
    .info-box li {
        font-size: 14.5px;
    }
}