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

:root {
    --ym-red: #ff0000;
    --soft-bg: #f4f4f7;
    --dark-navy: #1a1a1a;
    --sb-blue: #007aff;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--dark-navy);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.font-roboto { font-family: 'Roboto', sans-serif; }

/* --- Header --- */
.l-header-lp {
    position: sticky;
    top: 0;
    height: 58px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-lp {
    display: block;
    background: url(https://www.ymobile.jp/common_c/images/common/logo.svg) no-repeat center;
    background-size: contain;
    width: 120px;
    height: 24px;
    text-indent: -99em;
}

/* --- Global UI --- */
.section-container {
    padding: 2rem 0;
}
@media (min-width: 768px) {
    .section-container {padding: 3rem 0;}
}

.card-standard {
    background: white;
    border-radius: 24px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.btn-primary {
    background-color: var(--ym-red);
    color: white;
    font-weight: 900;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Animation */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* 桜演出 */
#petals-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.petal { position: absolute; background-color: #ffc0cb; border-radius: 150% 0 150% 0; opacity: 0.3; }

/* Decorated Titles */
.decorated-title-base {
    display: inline-block;
    position: relative;
    font-weight: 900;
    font-style: italic;
    padding: 0 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.decorated-title-base::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 10px;
    z-index: -1;
    opacity: 0.15;
    transform: skewX(-15deg);
}

.title-red { color: var(--ym-red); }
.title-red::before { background-color: var(--ym-red); }

.title-blue { color: var(--sb-blue); }
.title-blue::before { background-color: var(--sb-blue); }

/* Bubble Pricing */
.bubble-program {
    /* position: absolute; */
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: #ff8437;
    color: white;
    font-size: 9px;
    font-weight: 900;
    padding: 5px 6px;
    border-radius: 6px;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    z-index: 10;
    text-align: center;
}
@media (min-width: 768px) {
    .bubble-program { font-size: 10px; padding: 6px 8px; }
}

/* Note Text */
.cta-note {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.4;
}
.group-note {
    font-size: 12px;
    color: #6a6a6a;
    font-weight: normal;
    margin-bottom: 12px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-content {
    background: white;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 24px;
    overflow-y: auto;
    position: relative;
}
body.modal-open { overflow: hidden; }

#mv{
    text-align: center;
    background-image: url(../img/mv_pc_bg.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-size: cover;
}
#mv img{
    max-width: 500px;
    margin: 0 auto;
    width: 80%;
}

.oyako-img img{
  max-width: 500px;
  margin: 0 auto;
  width: 80%;
}

.attention-1{
    margin-top: 20px;
}
.mb-20m{
    margin-bottom: 20px;
}
h2 img{
     margin: 0 auto;
}

/*提供条件書*/
/* 基本スタイル */
        .tkj_container {
            font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
        }

        .tkj_header {
            border-bottom: 2px solid #ed1c24;
            margin-bottom: 20px;
            padding-bottom: 10px;
        }

        .tkj_title {
            font-size: 1.25rem;
            font-weight: bold;
            color: #000;
            margin: 0;
        }

        .tkj_section {
            margin-bottom: 30px;
        }

        .tkj_text,.tkj_list_item {
            font-size: 12px;
            margin-bottom: 15px;
        }

        .tkj_section_title {
            font-size: 1.1rem;
            font-weight: bold;
            background-color: #f4f4f4;
            padding: 8px 12px;
            margin-bottom: 15px;
            border-left: 4px solid #ed1c24;
        }

        /* テーブルスタイル */
        .tkj_table_wrapper {
            overflow-x: auto;
            margin-bottom: 20px;
        }

        .tkj_table {
            width: 100%;
            border-collapse: collapse;
            min-width: 500px;
        }

        .tkj_table th, .tkj_table td {
            border: 1px solid #ccc;
            padding: 12px;
            text-align: center;
            font-size: 12px;
        }

        .tkj_table th {
            background-color: #eee;
            font-weight: bold;
        }

        /* リストスタイル */
        .tkj_list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .tkj_list_item {
            margin-bottom: 10px;
            padding-left: 1.5em;
            text-indent: -1.5em;
        }

        .tkj_note {
            /* font-size: 0.9rem; */
            color: #ff0000;
            margin-top: 5px;
            display: block;
        }

        .tkj_footer {
            margin-top: 40px;
            font-size: 0.85rem;
            color: #666;
            border-top: 1px solid #eee;
            padding-top: 10px;
        }

        /* レスポンシブ調整（スマホ向け） */
        @media (max-width: 640px) {
            .tkj_container {
                padding: 0;
            }
            .tkj_title {
                font-size: 1.1rem;
            }
            .tkj_table th, .tkj_table td {
                padding: 8px;
                font-size: 0.9rem;
            }
            .tkj_text,.tkj_list_item {
            font-size: 14px;
            margin-bottom: 15px;
            }
        }

        @media (max-width: 640px) {
          .sp-only {
            display: inline !important;
          }
          .pc-only {
            display: none !important;
          }
        }
        .sp-only {
          display: none;
        }

        .pc-only {
          display: inline;
        }
        .ul-link{
          text-decoration: underline;
        }
