@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Barlow:wght@700&display=swap');

/* =========================================
   base
   ========================================= */

body {
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0;
    margin: 0;
    position: relative;
    background: #fff;
}

/* PC背景：ピンクの市松テクスチャ。ウィンドウ全面を覆う（縦横100%） */
body::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(../images/pc_bg.jpg) no-repeat center center;
    background-size: cover;
    z-index: -2;
}

/* PC背景：左右の写真 */
.pc_deco {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.pc_deco img {
    position: absolute;
    display: block;
    max-width: none;
}

/* Figma PC(1440px)基準：中央カラム(375px)からの相対配置 */
.pc_deco_l {
    top: 100px;
    right: calc(50% + 258.8px);
    width: 396.5px;
}

.pc_deco_r {
    top: 112px;
    left: calc(50% + 289.8px);
    width: 390px;
}

img {
    max-width: 100%;
    vertical-align: top;
}

h1,
h2 {
    margin: 0;
}


/* =========================================
   header
   ========================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
}

.header_inr {
    width: 96%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 100px 100px 1fr;
    grid-gap: 20px;
    align-items: end;
}

.header_inr a {
    display: block;
    line-height: 0;
}


/* =========================================
   main（Figmaデザイン幅 375px 基準）
   ========================================= */

main {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    background: #fff7e5;
}


/* --- ヒーロー（Figma 375 × 283 の座標をパーセントに換算） --- */

.hero {
    position: relative;
    width: 100%;
    padding-top: 75.47%;
    /* 283 / 375 */
}

.hero img {
    position: absolute;
    display: block;
}

img.hero_bg {
    top: 0;
    left: 0;
    width: 100%;
    /* 375 × 245 */
}

.hero_ttl {
    position: static;
}

.hero_ttl img {
    top: 6.55%;
    left: 8.4%;
    /* 31.5 / 375 */
    width: 83.6%;
    /* 313.5 / 375 */
}

img.hero_date {
    top: 65.02%;
    /* 184 / 283 */
    left: 13.52%;
    /* 50.7 / 375 */
    width: 73.2%;
    /* 274.5 / 375 */
}

/* coming soon 帯（テキスト実装） */

.coming_soon {
    width: 90.67%;
    /* 340 / 375 */
    height: 40px;
    margin: 11px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,
            rgba(231, 74, 153, 0) 0%,
            #e74a99 40%,
            #e74a99 60%,
            rgba(231, 74, 153, 0) 100%);
    font-family: 'Barlow', 'DIN Alternate', Arial, sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
    letter-spacing: 1.25px;
    color: #fff;
}


/* --- キャンペーンカード共通 --- */

.cp {
    position: relative;
    display: flow-root;
    /* バッジの負のマージンが親に伝播（相殺）するのを防ぐ */
    width: 91.47%;
    /* 343 / 375 */
    margin: 0 auto 52px;
    padding-bottom: 23px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 4px rgba(152, 79, 40, 0.25);
}

.cp1 {
    margin-top: 61px;
}

/* 最後のカードは下マージンなし（クロージングの padding-top で間隔を取る） */
.cp3 {
    margin-bottom: 0;
}

.cp_badge {
    position: relative;
    z-index: 1;
    line-height: 0;
}

.cp_badge img {
    width: 55.1%;
    /* 189 / 343 */
    display: block;
    margin: -33px auto 0;
}

.cp_catch {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    color: #1b1b1b;
    text-align: center;
    margin: 5px 0 10px;
}

img.cp_main {
    display: block;
    margin: 8px auto 0;
}

.cp1 img.cp_main {
    width: 83.6%;
    /* 286.7 / 343 */
}

.cp2 img.cp_main {
    width: 85.7%;
    /* 294 / 343 */
}

.cp3 img.cp_main {
    width: 88.9%;
    /* 305 / 343 */
}

.cp_lead {
    text-align: center;
    position: relative;
    font-weight: bold;
    font-size: 15px;
    color: #333;
    width: fit-content;
    margin: 6px auto 0;
}

.cp_lead::before,
.cp_lead::after {
    content: "";
    height: 1.1em;
    width: 1px;
    background: currentColor;
    position: absolute;
    top: 50%;
}

/* 斜線はカードごとのテーマカラー */
.cp1 .cp_lead::before,
.cp1 .cp_lead::after {
    background: #dc4e8d;
}

.cp2 .cp_lead::before,
.cp2 .cp_lead::after {
    background: #a81b4b;
}

.cp3 .cp_lead::before,
.cp3 .cp_lead::after {
    background: #187fc4;
}

.cp_lead::before {
    left: -1em;
    transform: translateY(-50%) rotate(-20deg);
}

.cp_lead::after {
    right: -1em;
    transform: translateY(-50%) rotate(20deg);
}

.cp_btn {
    display: block;
    margin: 16px auto 0;
    width: 88.3%;
    /* 303 / 343 */
    line-height: 0;
    transition: opacity 0.2s;
}

.cp_btn img {
    width: 100%;
    display: block;
}

.cp_btn:hover {
    opacity: 0.8;
}


/* --- カードごとの微調整 --- */

.cp2 img.cp_main {
    margin-top: 9px;
}

.cp2 .cp_lead {
    margin-top: 8px;
}

.cp3 img.cp_main {
    margin-top: 5px;
}

.cp3 .cp_lead {
    margin-top: 17px;
}


/* --- クロージング --- */

.closing {
    padding-top: 27px;
    text-align: center;
}

/* 「キャンペーンは / 2026年9月14日（月）スタート / ぜひご利用ください！」（画像） */
img.closing_ttl {
    width: 86.8%;
    /* 325.5 / 375 */
    display: block;
    margin: 0 auto;
}

.closing_note {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 10px 0 0;
    text-align: center;
}

img.staff {
    width: 85.2%;
    /* 319.5 / 375 */
    display: block;
    margin: 6px auto 0;
}


/* =========================================
   footer
   ========================================= */

footer.footer {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    box-sizing: border-box;
    min-height: 60px;
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #dc4e8d;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
}


/* =========================================
   responsive
   ========================================= */

/* 中央カラムに写真が被り始める幅で縮小 */
@media screen and (max-width:1200px) {

    .pc_deco_l,
    .pc_deco_r {
        width: 300px;
    }

    .pc_deco_l {
        right: calc(50% + 200px);
    }

    .pc_deco_r {
        left: calc(50% + 220px);
    }
}


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

    body::before {
        content: none;
    }

    .pc_deco {
        display: none;
    }

    header {
        background: #fff;
        padding: 17px;
        box-sizing: border-box;
    }

    .header_inr {
        width: 100%;
        margin: 0 auto;
        grid-template-columns: 70px 72px 1fr;
        grid-gap: 10px;
        align-items: end;
    }

    main {
        max-width: 100%;
        padding-top: 58px;
    }

    footer.footer {
        max-width: 100%;
    }
}
