
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    color: #333;
    -webkit-text-size-adjust: 100%;
}

.ym-red { color: #E60012; }
.bg-ym-red {background-color: #ff4144;}

/* =========================================
   Header
   ========================================= */
.l-header-lp {
    position: relative;
    height: 54px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 14px;
    background-color: #fff;
    z-index: 50;
    border-bottom: 1px solid #f0f0f0;
}
.header-logo-lp {
    display: block;
    background: url(https://www.ymobile.jp/common_c/images/common/logo.svg) no-repeat center top;
    background-size: 110px 22px;
    width: 110px;
    height: 22px;
    padding: 0px;
    margin: 0px auto;
    text-indent: -99em;
    overflow: hidden;
}

/* このページ限定エリア */
.limited-alert-bar {
    position: relative;
    z-index: 40;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 16px;
    background-color: #ff4144;
    color: #fff;
    text-align: center;
}
.limited-alert-bar p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* 申込エリア */
.cta-section-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.target-group-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    padding-left: 0.75rem;
    border-left: 4px solid #E60012;
}

.btn-entry {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border: 2px solid #E60012;
    color: #E60012;
    font-weight: 900;
    border-radius: 0.75rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.condition-badge {
    display: inline-flex;
    align-items: center;
    background: #fdf2f2;
    color: #E60012;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid #ffdada;
}

.plan-list-inline {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 10px;
    font-size: 10px;
    color: #777;
    line-height: 1.6;
    margin-top: 8px;
}

/* SIM選択オプション（モーダル内） */

.step-icon-circle {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #E60012;
    color: #E60012;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* 魅力カード内の詳細リンク用共通スタイル */
.miryoku-link {
    color: #333;
    text-decoration: underline;
    font-size: 11px;
    font-weight: 900;
    margin-top: 8px;
    display: block;
}

/* =========================================
   Custom Modal Styles (No Tailwind)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: flex-end; /* SP: Bottom */
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}
@media (min-width: 768px) {
    .modal-overlay {
        align-items: center; /* PC: Center */
        padding: 1rem;
    }
}

.modal-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 600px;
    padding: 1.5rem;
    border-radius: 2rem 2rem 0 0; /* SP: Rounded top */
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.2);
    color: #333;
    transform: translateY(0);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}
@media (min-width: 768px) {
    .modal-container {
        border-radius: 2rem;
        padding: 2.5rem;
        transform: translateY(0);
        animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

.modal-drag-handle {
    width: 48px;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    margin: 0 auto 1.5rem;
}
@media (min-width: 768px) {
    .modal-drag-handle { display: none; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Modal Internal Buttons */
.modal-btn-primary {
    background-color: #E60012;
    color: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 900;
    width: 100%;
    display: block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}

/* =========================================
   Appeal Area
   ========================================= */

.btn-appeal-cta {
    background-color: #E60012;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.4);
}

/* 4ヵ月後もおトクに！セクションのスタイル */

.zyogai{
  color: #333;
  display: block;
  font-weight: bold;
}

/* フッターのブラッシュアップ */
.footer-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    gap: 8px 0; /* 行間の調整 */
}

.footer-nav-item {
    font-size: 10px;
    line-height: 1.2;
    padding: 0 10px;
    border-right: 1px solid #374151; /* gray-700相当の薄い区切り線 */
    margin-bottom: 4px;
}

.footer-nav-item:last-child {
    border-right: none;
}

.footer-nav-item a {
    color: #6b7280; /* gray-500 */
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap; /* 折り返しを防いで綺麗に整列 */
}

.footer-nav-item a:hover {
    color: #9ca3af; /* gray-400 */
    text-decoration: underline;
}

.copyright {
    font-size: 10px;
    color: #4b5563; /* gray-600 */
    margin-top: 24px;
    letter-spacing: 0.025em;
}

/* モバイル対応：画面が狭い時は区切り線を消して柔軟に配置 */
@media (max-width: 640px) {
    .footer-nav-item {
        border-right: none;
        padding: 0 8px;
    }
    .footer-bottom-nav {
        gap: 12px 4px;
    }
}

/* 提供条件書セクション */
.terms-section {
    padding: 64px 20px 72px;
    background: #f5f6f8;
    border-top: 1px solid #e5e7eb;
}

.terms-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.terms-box {
    background: #fff;
    padding: 40px 44px 44px;
    border: 1px solid #d9dde3;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
}

.terms-title {
    margin: 0 0 30px;
    padding: 0 0 16px;
    border-bottom: 3px solid #e60012;
    color: #111827;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 900;
    text-align: center;
    letter-spacing: .02em;
}

.terms-content {
    color: #252a31;
    font-feature-settings: "palt" 0;
}

.terms-document-title {
    margin: 0 0 28px;
    color: #111827;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
}

.terms-subtitle {
    margin: 34px 0 12px;
    padding: 10px 14px;
    border-left: 5px solid #e60012;
    background: #f8f9fb;
    color: #111827;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 900;
}

.terms-text,
.terms-bullet-list,
.terms-history,
.terms-end,
.terms-plan-title {
    font-size: 14px;
    line-height: 1.9;
}

.terms-text {
    margin: 0 0 16px;
}

.terms-table-scroll {
    width: 100%;
    margin: 20px 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #cfd4da;
    border-radius: 10px;
    background: #fff;
}

.terms-table {
    width: 100%;
    min-width: 700px;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    color: #252a31;
    font-size: 13.5px;
    line-height: 1.55;
}

.terms-table th,
.terms-table td {
    padding: 12px 14px;
    border-right: 1px solid #cfd4da;
    border-bottom: 1px solid #cfd4da;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.terms-table tbody tr:last-child td {
    border-bottom: 0;
}

.terms-table th {
    background: #f1f3f5;
    color: #111827;
    font-weight: 800;
}

.terms-table th:first-child,
.terms-table td:first-child {
    width: 5%;
}

.terms-table th:nth-child(2),
.terms-table td:nth-child(2) {
    width: 36%;
}

.terms-table th:nth-child(3),
.terms-table td:nth-child(3) {
    width: 36%;
}

.terms-cell-number {
    white-space: normal;
}

.terms-notes {
    margin-top: 14px;
}

.terms-note {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: var(--lp-note-font-size, 14px) !important;
    line-height: 1.8;
}

.terms-note-block {
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8f9fb;
}

.terms-plan-box {
    margin: 10px 0 24px;
    padding: 18px 20px;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    background: #fafafa;
}

.terms-plan-title {
    margin: 0 0 8px;
    font-weight: 700;
}

.terms-plan-box .terms-text:last-of-type {
    margin-bottom: 10px;
}

.terms-bullet-list {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
}

.terms-bullet-item {
    display: grid;
    grid-template-columns: 1em minmax(0, 1fr);
    align-items: start;
}

.terms-bullet-mark {
    font-weight: 700;
}

.terms-bullet-sub {
    display: grid;
    gap: 3px;
    margin: 6px 0 0 1.4em;
}

.terms-bullet-sub > div {
    display: grid;
    grid-template-columns: 1em minmax(0, 1fr);
}

.terms-end {
    margin: 30px 0 30px;
    text-align: right;
}

.terms-history {
    display: grid;
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #e1e4e8;
}

.terms-history p {
    margin: 0;
}

@media (max-width: 640px) {
    .terms-section {
        padding: 42px 12px 54px;
    }
    .terms-box {
        padding: 26px 18px 30px;
        border-radius: 12px;
    }
    .terms-title {
        margin-bottom: 24px;
        font-size: 19px;
    }
    .terms-document-title {
        margin-bottom: 22px;
        font-size: 16px;
    }
    .terms-subtitle {
        margin-top: 28px;
        padding: 9px 11px;
        font-size: 15px;
    }
    .terms-text,
    .terms-bullet-list,
    .terms-history,
    .terms-end,
    .terms-plan-title {
        font-size: 14px;
        line-height: 1.85;
    }
    .terms-table-scroll {
        margin-right: -4px;
        margin-left: -4px;
        width: calc(100% + 8px);
    }
    .terms-table {
        min-width: 670px;
        font-size: 13px;
    }
    .terms-table th,
    .terms-table td {
        padding: 10px 11px;
    }
    .terms-plan-box {
        padding: 15px 14px;
    }
    .terms-note-block {
        padding: 12px 13px;
    }
}
.fixed-text{
    color: #333333;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 10px;
    text-align: center;
}

/* モーダル内のSIM/eSIMカード：スマホでの崩れ（折り返し/余白/タップ領域）対策 */
a[data-contract-link] {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* ===== Hero Countdown ===== */

/*20260331終了対応*/

.text-center {
  text-align: center;
}

/* ===== PDF reference LP override (2026-10) ===== */
html { scroll-behavior: smooth; }
.lp-body {background: #f6faff;color:#222;}
.lp-shell { width:100%; max-width:800px; margin:0 auto; background:#fff; overflow:hidden; }
.trial-hero { position:relative; color:#fff; background:linear-gradient(180deg,#0a8ff0 0%,#10a8ef 45%,#4dd8e8 100%); overflow:hidden; }
.trial-hero::before { content:""; position:absolute; inset:0; background:url('../img/tower.png') center/cover no-repeat; opacity:.12; mix-blend-mode:multiply; }
.trial-hero-inner { position:relative; padding:54px 54px 44px; }

.hero-note,.fineprint { font-size:19px; line-height:1.55; font-weight:500; }
.trial-cta {width: min(88%, 540px);min-height: 82px;display:flex;align-items:center;justify-content:center;position:relative;/* width:92%; */margin:42px auto 0;/* min-height:120px; */border-radius:70px;background:#ff4144;color:#fff;text-decoration:none;font-weight:900;font-size: 28px;box-shadow: 0 10px 0 #a82024;}
.trial-cta span {position:absolute;right: 34px;font-size: 24px;}
.normal-link {display:block;color:#000;text-decoration:underline;text-align:center;margin: 30px 0 0;font-size: 18px;padding-bottom: 60px;}
.connect-section,.trial-details,.discount-section {padding: 90px 50px 0px;}
.split-heading { font-size:44px; line-height:1.3; font-weight:900; margin:0 0 85px; }
.split-heading .pink { color:#ff006e; } .split-heading .blue { color:#087ef5; } .split-heading b { font-size:.7em; margin:0 14px; }
.section-bar { text-align:center; font-size:41px; font-weight:900; padding:18px 12px; margin:0 0 80px; border-top:7px solid; border-bottom:7px solid; }
.blue-bar { color:#0782f5; border-color:#0782f5; } .pink-bar {color:#ff006e;border-top: 5px solid #ff006e;border-bottom: 5px solid #ff006e;}
.connect-card { overflow:hidden; border-radius:42px; background:#eaf2ff; max-width:620px; margin:0 auto; }
.connect-image-wrap { position:relative; height:370px; overflow:hidden; }
.connect-image-wrap img { width:100%; height:100%; object-fit:cover; }
.connect-image-wrap span { position:absolute; right:30px; bottom:24px; font-size:19px; color:#111; font-weight:700; }
.connect-copy { padding:55px 60px 70px; }
.connect-copy h4 { color:#0782f5; font-size:32px; text-align:center; margin-bottom:48px; font-weight:900; }
.connect-copy p { font-size:24px; line-height:1.75; } .connect-copy p strong { font-weight:500; }
.connect-copy small { display:block; margin-top:48px; font-size:17px; line-height:1.5; }
.carousel-dots { display:flex; justify-content:center; gap:24px; margin:50px 0 20px; }
.carousel-dots i { width:31px; height:31px; background:#c4c4c4; border-radius:50%; } .carousel-dots i.active { background:#0782f5; }
.details-lead {text-align:center;font-size:35px;font-weight:900;color:#ff006e;line-height:1.4;margin-top: 0px;margin-bottom: 40px;}
.details-lead strong { font-size:60px; }
.spec-list {max-width:650px;margin:0 auto;font-size: 25px;padding: 20px 30px;background-color: #fff;border-radius: 20px;}
.spec-list div {display:flex;justify-content:space-between;gap:30px;margin: 14px 0;} .spec-list b { font-weight:900; text-align:right; }
.details-subnote {font-size:24px;margin: 15px auto 70px auto;max-width: 650px;/* margin: 0 auto; */}
.point-title { text-align:center; font-size:28px; font-weight:900; margin-bottom:45px; }
.point-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.point-box {/* display:flex; */align-items:center;gap:18px;background:#fafafa;border:1px solid #eee;padding: 25px 10px;text-align: center;}
.point-box img {width:72px;height:72px;object-fit:contain;margin: 0 auto;border-radius: 50px;} .point-box b {display:block;font-size:21px;margin-top: 5px;} .point-box small { display:block; font-size:15px; color:#666; line-height:1.25; }



.trial-details { background:#fff8f8; }
.discount-base { font-size:43px; line-height:1.5; margin:0 0 25px 65px; }
.discount-arrow { color:#087ef5; font-size:85px; text-align:center; line-height:1; }
.discount-copy { text-align:center; font-size:27px; line-height:1.6; margin:45px 0; } .discount-copy strong { font-size:43px; }
.discount-card { position:relative; background:#fff5e5; border-radius:48px; padding:90px 60px 55px; max-width:670px; margin:0 auto; }
.example-badge { position:absolute; left:50%; top:-42px; transform:translateX(-50%); background:#1686ff; color:#fff; width:350px; text-align:center; padding:18px 0; border-radius:60px; font-size:38px; font-weight:900; }
.discount-row { display:flex; align-items:center; justify-content:center; gap:25px; font-size:29px; } .discount-row img { width:90px; } .discount-row sup { font-size:18px; }
.annual { text-align:center; font-size:20px; margin-top:8px; } .plus { text-align:center; font-size:48px; line-height:1; margin:10px; font-weight:900; }
.discount-row.wifi span { font-size:48px; }
.after-label { width:max-content; max-width:100%; border:1px solid #777; padding:12px 22px; margin:40px auto 30px; font-size:21px; }
.discount-price { text-align:center; color:red; white-space:nowrap; } .discount-price small { font-size:23px; } .discount-price strong { font-size:85px; line-height:1; } .discount-price span { font-size:40px; font-weight:900; } .discount-price em { display:block; color:#222; font-style:normal; font-size:44px; font-weight:900; margin-top:14px; }
.breakdown { margin-top:50px; font-size:19px; }.breakdown>p{text-align:center;margin-bottom:8px}.breakdown>div{display:flex;justify-content:space-between;margin:14px 0}.breakdown small{display:block;font-size:15px;line-height:1.4;margin-bottom:25px}
.simulation-btn { display:block; width:90%; margin:45px auto 0; background:#333; color:#fff; text-decoration:none; text-align:center; border-radius:55px; padding:28px 15px; font-size:28px; font-weight:900; }
#features { padding-top:80px !important; }
#features h2 { color:#ff006e; border-top:6px solid #ff006e; border-bottom:6px solid #ff006e; padding:18px 0; }

@media (max-width: 640px) {
  .trial-hero-inner{padding:25px 24px 30px}.hero-note,.fineprint{font-size:10px}.trial-cta{min-height:60px;margin-top:22px;font-size:20px;box-shadow:0 9px 0 #a82024}.trial-cta span{right:28px;font-size:17px}.normal-link{font-size: 17px;margin-top: 30px;padding-bottom: 10px;}
  .connect-section,.trial-details,.discount-section{padding:45px 25px 40px}.split-heading{font-size:23px;margin-bottom:42px}.section-bar{font-size:21px;padding:9px 6px;margin-bottom:40px;/* border-width:4px; */}.connect-card{border-radius:22px}.connect-image-wrap{height:185px}.connect-image-wrap span{font-size:10px;right:15px;bottom:12px}.connect-copy{padding:28px 30px 35px}.connect-copy h4{font-size:17px;margin-bottom:24px}.connect-copy p{font-size:12.5px}.connect-copy small{font-size:9px;margin-top:24px}.carousel-dots{gap:12px;margin:25px 0 10px}.carousel-dots i{width:16px;height:16px}.details-lead{font-size:18px;margin-bottom:35px;margin-top: 35px;}.details-lead strong{font-size:31px}.spec-list{font-size:16px}.spec-list div{margin: 15px 15px;}.details-subnote{font-size:12px;margin: 10px 0 55px;}.point-title{font-size: 20px;margin-bottom:24px}.point-grid{gap:11px}.point-box{gap:9px;padding: 12px 10px;text-align: center;}.point-box img{width:38px;height:38px;}.point-box b{font-size:11px}.point-box small{font-size:8px}.discount-base{font-size:22px;margin-left:32px}.discount-arrow{font-size:43px}.discount-copy{font-size:14px;margin:23px 0}.discount-copy strong{font-size:22px}.discount-card{border-radius:24px;padding:45px 30px 28px}.example-badge{top:-21px;width:175px;padding:9px;font-size:19px}.discount-row{gap:12px;font-size:15px}.discount-row img{width:45px}.annual{font-size:10px}.plus{font-size:24px}.discount-row.wifi span{font-size:24px}.after-label{margin:20px auto 15px;padding:6px 11px;font-size:11px}.discount-price small{font-size:12px}.discount-price strong{font-size:43px}.discount-price span{font-size:20px}.discount-price em{font-size:22px}.breakdown{margin-top:25px;font-size:10px}.breakdown small{font-size:8px}.simulation-btn{margin-top:23px;padding:14px;font-size:14px}
}

/* ===== 2026-10 revision: MV image / centered lead / carousel ===== */
.trial-hero-inner {
    padding: 0 0 44px;
}
.hero-main-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}
.trial-hero .hero-note {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 30px 54px 0;
}
.trial-hero .trial-cta,
.trial-hero .normal-link {
    position: relative;
    z-index: 1;
}
.split-heading {
    text-align: center;
    font-size: 48px;
}
.connect-carousel {
    position: relative;
    width: 100%;
}
.connect-carousel-viewport {
    overflow: hidden;
    width: 100%;
}
.connect-carousel-track {
    display: flex;
    gap: 0;
    width: 100%;
    will-change: transform;
}
.connect-slide {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
}
.connect-slide .connect-card {
    width: 100%;
    flex: 1 1 auto;
}
.connect-plus-image {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 42px auto 0;
}
.carousel-dots button {
    appearance: none;
    -webkit-appearance: none;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c4c4c4;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.carousel-dots button.active {
    background: #0782f5;
    transform: scale(1.05);
}
.carousel-dots button:focus-visible {
    outline: 3px solid rgba(7, 130, 245, .35);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .trial-hero-inner { padding: 0 0 30px; }
    .trial-hero .hero-note { padding: 20px 24px 0; }
    .split-heading { font-size: 26px; text-align: center; }
    .connect-carousel-track { gap: 18px; }
    .connect-plus-image { margin-top: 24px; }
    .carousel-dots button { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .connect-carousel-track { transition: none !important; }
}

/* =========================================
   Trial application modal (2-step)
   ========================================= */
.application-modal {
    width: 100%;
}
.application-modal-head {
    text-align: center;
    margin-bottom: 18px;
}
.application-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}
.application-step-indicator span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 900;
    transition: all .2s ease;
}
.application-step-indicator span.is-current,
.application-step-indicator span.is-done {
    background: #e60012;
    color: #fff;
}
.application-step-indicator i {
    display: block;
    width: 34px;
    height: 2px;
    background: #e5e7eb;
}
.application-step-caption {
    margin: 0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    color: #9ca3af;
}
.application-modal-step[hidden] {
    display: none !important;
}
.application-modal-step.is-active {
    animation: applicationStepIn .22s ease-out;
}
@keyframes applicationStepIn {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}
.application-modal-title {
    margin: 0 0 6px;
    text-align: center;
    color: #1f2937;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}
.application-modal-lead {
    margin: 0 0 20px;
    text-align: center;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}
.application-choice-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.application-choice-list--sim {
    margin-bottom: 16px;
}
.application-choice-card,
.application-contract-card {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #1f2937;
    border-radius: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.application-choice-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: center;
    min-height: 82px;
    padding: 14px 16px;
    text-align: left;
}
.application-choice-card:hover,
.application-contract-card:hover {
    border-color: #e60012;
    background: #fffafa;
}
.application-choice-card:active,
.application-contract-card:active {
    transform: translateY(1px);
}
.application-choice-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #e60012;
    font-size: 21px;
}
.application-choice-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.application-choice-copy strong {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 900;
}
.application-choice-copy small {
    color: #6b7280;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
}
.application-choice-arrow {
    color: #e60012;
    font-size: 13px;
}
.application-device-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    color: #e60012;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 900;
    text-decoration: none;
}
.application-device-link .fa-external-link-alt {
    font-size: 9px;
}
.application-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: -4px 0 12px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.application-choice-list--contract {
    margin-bottom: 16px;
}
.application-contract-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 13px 15px;
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
}
.application-contract-card small {
    font-size: 11px;
    font-weight: 800;
}
.application-contract-card.is-selected {
    border-color: #e60012;
    background: #fff7f7;
}
.application-radio {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    box-sizing: border-box;
    position: relative;
}
.application-contract-card.is-selected .application-radio {
    border-color: #e60012;
}
.application-contract-card.is-selected .application-radio::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #e60012;
}
.application-caution {
    margin: 0 0 14px;
    padding: 13px 14px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff5f5;
    color: #4b5563;
    text-align: left;
}
.application-caution[hidden] {
    display: none !important;
}
.application-caution strong {
    display: block;
    margin-bottom: 5px;
    color: #e60012;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}
.application-caution p {
    margin: 0;
    font-size: 11px;
    line-height: 1.65;
    font-weight: 700;
}
.application-proceed-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
    border-radius: 9999px;
    background: #e60012;
    color: #fff;
    box-shadow: 0 6px 0 #a8000d;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
.application-proceed-btn i {
    position: absolute;
    right: 22px;
    font-size: 12px;
}
.application-proceed-btn:not(.is-disabled):active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #a8000d;
}
.application-proceed-btn.is-disabled {
    background: #d1d5db;
    box-shadow: 0 5px 0 #9ca3af;
    color: #fff;
    cursor: not-allowed;
    pointer-events: auto;
}
.application-close-btn {
    display: block;
    margin: 18px auto 0;
    padding: 4px 14px;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    text-decoration: underline;
    cursor: pointer;
}
@media (min-width: 768px) {
    .application-modal-title { font-size: 23px; }
    .application-choice-card { min-height: 90px; }
    .application-contract-card { min-height: 64px; font-size: 15px; }
    .application-caution p { font-size: 12px; }
}

/* ===== 2026-10 layout tune: discount / feature / use cases / steps ===== */
/* Discount service: visual hierarchy and responsive layout */
.discount-section {
    background: #fff;
}
.discount-section .section-bar {
    margin-bottom: 54px;
}
.discount-base {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 28px 32px;
    border-radius: 22px;
    background: #f7f9fc;
    border: 1px solid #e6e9ee;
    text-align: center;
    font-size: 30px;
    line-height: 1.45;
    font-weight: 900;
}
.discount-arrow {
    margin: 12px 0 4px;
    font-size: 52px;
    line-height: 1;
}
.discount-copy {
    margin: 18px 0 58px;
    font-size: 24px;
    line-height: 1.5;
}
.discount-copy strong {
    display: inline-block;
    margin-top: 2px;
    color: #ff006e;
    font-size: 36px;
    line-height: 1.3;
}
.discount-card {
    max-width: 650px;
    margin: 0 auto;
    padding: 72px 44px 42px;
    border: 1px solid #f3dfbc;
    border-radius: 32px;
    background: #fff8ec;
    box-shadow: 0 10px 30px rgba(84, 61, 28, .08);
}
.example-badge {
    top: -26px;
    width: 230px;
    padding: 11px 0 12px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1.2;
    box-shadow: 0 7px 18px rgba(22, 134, 255, .2);
}
.discount-row {
    gap: 16px;
    font-size: 22px;
    line-height: 1.4;
}
.discount-row img {
    width: 66px;
    flex: 0 0 auto;
}
.discount-row b {
    min-width: 0;
}
.discount-row sup {
    font-size: 13px;
}
.annual {
    margin-top: 0px;
    font-size: 14px;
}
.plus {
    margin: 18px 0;
    font-size: 34px;
}
.discount-row.wifi span {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #edf8ff;
    color: #1686ff;
    font-size: 30px;
}
.after-label {
    margin: 32px auto 20px;
    padding: 9px 18px;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    font-weight: 800;
}
.discount-price {
    white-space: normal;
    line-height: 1;
}
.discount-price small { font-size: 16px; }
.discount-price strong {
    margin-left: 4px;
    font-size: clamp(56px, 10vw, 76px);
    letter-spacing: -.035em;
}
.discount-price span { font-size: 30px; }
.discount-price em {
    margin-top: 10px;
    font-size: 30px;
}
.breakdown {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid #dfd3c1;
    font-size: 15px;
}
.breakdown > p {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 900;
    color: #666;
}
.breakdown > div {
    align-items: baseline;
    gap: 12px;
    margin: 12px 0;
}
.breakdown > div span { min-width: 0; }
.breakdown > div b { white-space: nowrap; }
.breakdown small {
    margin: -3px 0 18px;
    padding-left: 10px;
    border-left: 3px solid #e7d4b3;
    font-size: 12px;
    line-height: 1.65;
    color: #666;
}
.discount-section > .fineprint {
    max-width: 650px;
    margin: 26px auto 0;
    color: #555;
}
.simulation-btn {
    width: min(88%, 540px);
    margin-top: 34px;
    padding: 20px 30px;
    font-size: 18px;
    box-shadow: 0 6px 0 #111;
}

/* Shared content area */
.content-feature-section,
.content-cases-section,
.content-steps-section,
.content-koe-section {
    padding: 44px 44px;
}
.content-feature-section { background: #fff; }
.content-cases-section { background: #f7f9fb; }
.content-koe-section { background: #fff; }
.content-steps-section { background: #f7f9fb; }
.content-section-inner {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.content-section-title {
    margin: 0 0 40px;
    text-align: center;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: .01em;
}
.content-section-title span{
  display: block;
  font-size: 14px;
  font-weight: normal;
  margin-top: 15px;
}
.content-section-title--pink {
    color: #ff006e;
    border-top: 5px solid #ff006e;
    border-bottom: 5px solid #ff006e;
    padding: 15px 8px;
}

/* Y!mobile features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.feature-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e9e9e9;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.055);
}
.feature-visual {
    /* height: 178px; */
    /* padding: 18px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}
.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.feature-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}
.feature-badge {
    width: fit-content;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff0f3;
    color: #e60012;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 900;
}
.feature-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 900;
}
.feature-copy {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 700;
}
.feature-note {
    margin: 9px 0 0;
    color: #6b7280;
    font-size: 12px !important;
    line-height: 1.55;
}
.feature-card .miryoku-link {
    margin-top: auto;
    padding-top: 18px;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 900;
    text-underline-offset: 4px;
}

/* Trial use cases */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.case-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 22px;
    border: 1px solid #e7ebef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.04);
}
.case-icon {
    width: 82px;
    height: 82px;
    padding: 8px;
    border-radius: 18px;
    /* background: #f5f7fa; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.case-content { min-width: 0; }
.case-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 900;
}
.case-copy {
    margin: 0;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.7;
    font-weight: 700;
}

/* Application steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.step-card {
    position: relative;
    min-width: 0;
    padding: 24px 18px 22px;
    border: 1px solid #dde2e7;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0,0,0,.04);
}
.step-card--accent {
    border: 2px solid #ff4144;
}
.step-icon-circle {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border: 2px solid #ff4144;
    background: #fff;
    color: #ff4144;
    font-size: 19px;
    font-weight: 900;
    box-shadow: none;
}
.step-card--accent .step-icon-circle {
    background: #ff4144;
    color: #fff;
}
.step-content { min-width: 0; }
.step-label {
    margin-bottom: 3px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .08em;
}
.step-card--accent .step-label { color: #e60012; }
.step-title {
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 900;
}
.step-copy {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 700;
}

@media (max-width: 640px) {
    .discount-section { padding: 46px 20px 44px; }
    .discount-section .section-bar { margin-bottom: 34px; }
    .discount-base {
        padding: 20px 16px;
        border-radius: 15px;
        font-size: 20px;
    }
    .discount-arrow { margin-top: 8px; font-size: 38px; }
    .discount-copy { margin: 12px 0 44px; font-size: 15px; }
    .discount-copy strong {font-size: 28px;}
    .discount-card {
        padding: 52px 18px 26px;
        border-radius: 22px;
    }
    .example-badge {
        top: -20px;
        width: 154px;
        padding: 9px 0;
        font-size: 17px;
    }
    .discount-row {
        gap: 10px;
        font-size: 15px;
        text-align: left;
    }
    .discount-row img { width: 48px; }
    .discount-row.wifi span { width: 46px; height: 46px; font-size: 23px; }
    .annual { font-size: 11px; }
    .plus {margin: 6px 0;font-size: 26px;}
    .after-label { margin: 24px auto 15px; padding: 7px 10px; font-size: 12px; }
    .discount-price small {font-size: 18px;}
    .discount-price strong {font-size: clamp(48px, 15vw, 70px);}
    .discount-price span {font-size: 35px;}
    .discount-price em { font-size: 21px; }
    .breakdown { margin-top: 24px; padding-top: 17px; font-size: 12px; }
    .breakdown > div { gap: 8px; margin: 10px 0; }
    .breakdown small { font-size: 10px; line-height: 1.55; }
    .discount-section > .fineprint { margin-top: 20px; font-size: 10px; }
    .simulation-btn {margin-top: 0px;padding: 15px 12px;font-size: 15px;box-shadow: 0 4px 0 #111;}

    .content-feature-section,
    .content-cases-section,
    .content-steps-section { padding: 50px 20px; }
    .content-section-title { margin-bottom: 28px; font-size: 24px; }
    .content-section-title--pink { padding: 12px 5px; border-width: 4px; }

    .feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { border-radius: 17px; }
    .feature-visual {/* height: 170px; *//* padding: 16px 18px; */}
    .feature-card-body { padding: 19px 18px 21px; }
    .feature-badge { font-size: 12px; }
    .feature-title { font-size: 19px; margin-bottom: 8px; }
    .feature-copy { font-size: 14px; line-height: 1.7; }
    .feature-note { font-size: 11px; }
    .feature-card .miryoku-link { padding-top: 15px; font-size: 13px; }

    .case-grid { grid-template-columns: 1fr; gap: 12px; }
    .case-card { grid-template-columns: 70px minmax(0,1fr); gap: 15px; padding: 17px; border-radius: 16px; }
    .case-icon { width: 70px; height: 70px; border-radius: 15px; }
    .case-title { margin-bottom: 5px; font-size: 16px; }
    .case-copy { font-size: 13px; line-height: 1.65; }

    .steps-grid { grid-template-columns: 1fr; gap: 12px; }
    .step-card {
        display: grid;
        grid-template-columns: 52px minmax(0,1fr);
        align-items: center;
        gap: 15px;
        padding: 18px;
        text-align: left;
        border-radius: 16px;
    }
    .step-icon-circle { margin: 0; width: 48px; height: 48px; font-size: 17px; }
    .step-label { font-size: 11px; }
    .step-title { margin-bottom: 5px; font-size: 16px; }
    .step-copy { font-size: 13px; line-height: 1.6; }
}

/* Resolve legacy #features overrides from the previous LP stylesheet. */
#features.content-feature-section {
    padding-top: 72px !important;
}
#features .content-section-title--pink {
    margin: 0 0 40px;
    padding: 15px 8px;
    border-top: 5px solid #ff006e;
    border-bottom: 5px solid #ff006e;
    color: #ff006e;
    font-size: 30px;
    line-height: 1.35;
    border-right: none;
    border-left: none;
}
@media (max-width: 640px) {
    #features.content-feature-section {padding-top: 20px !important;}
    #features .content-section-title--pink {
        margin-bottom: 28px;
        padding: 12px 5px;
        font-size: 24px;
    }
}

/* ===== 2026-10 additional discount guidance / number-transfer CTA ===== */
.other-discount-area {
    width: min(100%, 650px);
    margin: 34px auto 0;
    padding: 20px 0px;
    /* border: 1px solid #e5e7eb; */
    border-radius: 24px;
    /* background: #f8fafc; */
}
.other-discount-kicker {
    margin: 0 0 20px;
    text-align: center;
    color: #222;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 900;
}
.other-discount-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.other-discount-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e3e7ec;
    border-radius: 16px;
    background: #fff;
    text-align: left;
}
.other-discount-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff0f3;
    color: #e60012;
    font-size: 20px;
}
.other-discount-item h3 {
    margin: 1px 0 6px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 900;
}
.other-discount-item p {
    margin: 0;
    color: #4b5563;
    font-size: 12.5px;
    line-height: 1.65;
    font-weight: 700;
}
.other-discount-guide {
    margin: 30px 0 0;
    text-align: center;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 800;
}
.simulation-note {
    width: min(92%, 650px);
    margin: 27px auto 0;
    color: #555;
    text-align: left;
    line-height: 1.55;
    font-weight: 500;
}
.number-transfer-cta-block {
    margin-bottom: 22px;
}
.number-transfer-cta-block > p {
    margin-bottom: 14px;
    line-height: 1.7;
}
.number-transfer-trial-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 14px;
    border: 0;
    border-radius: 12px;
    background: #ff4144;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(230, 0, 18, .18);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.number-transfer-trial-btn:active {
    transform: scale(.98);
    box-shadow: 0 4px 10px rgba(230, 0, 18, .16);
}
.plan-change-note {
    padding-top: 20px;
    border-top: 1px solid #ececec;
}
.plan-change-note > p {
    margin-bottom: 16px;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .other-discount-area {
        margin-top: 26px;
        /* padding: 20px 16px; */
        border-radius: 18px;
    }
    .other-discount-kicker {
        margin-bottom: 15px;
        font-size: 18px;
    }
    .other-discount-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 30px;
    }
    .other-discount-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
        padding: 15px;
        border-radius: 14px;
    }
    .other-discount-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .other-discount-item h3 { font-size: 15px; }
    .other-discount-item p { font-size: 12px; }
    .other-discount-guide {
        margin-top: 16px;
        font-size: 12.5px;
    }
    .simulation-note {
        font-size: 9.5px;
        line-height: 1.4;
        max-width: 650px;
        margin: 26px auto 0;
        color: #555;
        font-weight: normal;
    }
    .number-transfer-trial-btn {
        padding: 14px 12px;
        font-size: 16px;
    }
}

/* =========================================
   Note typography normalization (14px)
   ========================================= */
:root {
    --lp-note-font-size: 14px;
}

/* LP内の注記・注意書きはPC/SPとも14pxで統一 */
.hero-note,
.fineprint,
.details-subnote,
.connect-image-wrap span,
.connect-copy small,
.simulation-note,
.terms-note,
.application-caution p,
.application-caution strong,
.section-note,
.zyogai {
    font-size: var(--lp-note-font-size) !important;
}

/* ポイントカード内で通常補足と注記が同居するケース */
.point-box small .section-note {
    display: inline-block;
    margin-top: 2px;
    line-height: 1.5;
    font-size: 10px !important;
}

/* =========================================
   MV background + transparent foreground image (2026-10-06)
   ========================================= */
.trial-hero {
    background: #fff;
    color: #222;
}
.trial-hero::before {
    display: none;
}
.trial-hero-inner {
    padding: 0 0 44px;
    background: #fff;
}
.hero-visual {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-image: url('../img/mv_bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.hero-visual .hero-main-image {
    position: relative;
    z-index: 1;
    /* display: block; */
    width: 100%;
    height: auto;
}
.mv_pc{display: none;}
.mv_sp{

}
.hero-cta-area {
    position: relative;
    z-index: 2;
    background: #fff;
    padding-top: 1px;
}
.trial-hero .hero-note {
    color: #333;
    margin: 0;
    padding: 30px 54px 0;
}
.trial-hero .normal-link {
    color: #000;
}
@media (max-width: 640px) {
    .trial-hero-inner {
        padding-bottom: 30px;
    }
    .trial-hero .hero-note {
        padding: 20px 24px 0;
    }
}

/* =========================================
   MV background coverage adjustment (2026-10-06)
   mv_bg.png covers MV through CTA / normal application link
   ========================================= */
.trial-hero-inner {
    background-color: #fff;
    background-image: url('../img/mv_bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
.hero-visual {
    background: transparent;
}
.hero-cta-area {
    background: transparent;
}

/* ===== 2026-10 revision: trial period image ===== */
.timeline-image-wrap {
    margin: 90px -5px 45px;
    text-align: center;
}
.timeline-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .timeline-image-wrap {
        margin: 45px -5px 24px;
    }
}

/* =========================================
   Responsive polish + PC MV / swipe carousel (2026-10-06)
   ========================================= */

/* おうち割 光セット（A）: supplied icon */
.discount-row.wifi .discount-icon-ouchi {
    display: block;
    width: 62px;
    height: 46px;
    flex: 0 0 62px;
    object-fit: contain;
}

/* Carousel: touch/pointer swipe */
.connect-carousel {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.connect-carousel-viewport {
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior-x: contain;
}
.connect-carousel-viewport.is-dragging {
    cursor: grabbing;
}
.connect-carousel-track {
    gap: 22px;
}
.connect-image-wrap {
    height: auto;
    aspect-ratio: 1042 / 666;
}
.connect-copy {
    padding: 38px 42px 44px;
}
.connect-copy h4 {
    margin-bottom: 24px;
    font-size: 26px;
    line-height: 1.45;
}
.connect-copy p {
    font-size: 17px;
    line-height: 1.85;
}
.connect-copy small {
    margin-top: 28px;
    line-height: 1.65;
}
.carousel-dots {
    gap: 12px;
    margin: 28px 0 12px;
}
.carousel-dots button {
    width: 13px;
    height: 13px;
}

/* PC: MV background spans the full browser width, while foreground content stays readable */
@media (min-width: 769px) {
    .trial-hero {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        background-color: #16a9ee;
        background-image: url('../img/mv_bg_pc.webp');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }
    .trial-hero-inner {
        width: min(100%, 800px);
        margin: 0 auto;
        padding: 0 36px 52px;
        background: transparent;
    }
    .hero-visual {
        max-width: 820px;
        margin: 0 auto;
    }
    .hero-main-image {
        width: 100%;
        max-width: 820px;
        margin: 0 auto;
    }
    .mv_pc{display: block;}
    .mv_sp{display: none;}
    .hero-cta-area {
        max-width: 820px;
        margin: 0 auto;
    }
    .trial-hero .hero-note {
        padding: 24px 24px 0;
        line-height: 1.7;
    }
    .trial-hero .trial-cta {
        width: min(88%, 540px);
        min-height: 82px;
        margin-top: 28px;
        font-size: 28px;
        box-shadow: 0 10px 0 #a82024;
    }
    .trial-hero .trial-cta span {
        right: 34px;
        font-size: 24px;
    }
    .trial-hero .normal-link {
        margin-top: 22px;
        font-size: 18px;
        padding-bottom: 0;
    }

    .connect-section,
    .trial-details,
    .discount-section {
        padding-left: 54px;
        padding-right: 54px;
    }
    .split-heading {
        margin-bottom: 56px;
        font-size: clamp(32px, 3vw, 42px);
        line-height: 1.35;
    }
    .section-bar {
        margin-bottom: 52px;
        padding: 14px 10px;
        /* border-width: 5px; */
        font-size: clamp(27px, 2.4vw, 34px);
        line-height: 1.35;
    }
    .connect-card {
        max-width: 680px;
        border-radius: 30px;
    }
    .discount-row.wifi .discount-icon-ouchi {
        width: 66px;
        height: 48px;
        flex-basis: 66px;
    }
}

/* SP: keep supplied vertical MV background and increase text readability */
@media (max-width: 768px) {
    .trial-hero {
        background-color: #16a9ee;
        background-image: url('../img/mv_bg.webp');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
    }
    .trial-hero-inner {
        padding: 0 0 30px;
        background: transparent;
    }
    .hero-visual,
    .hero-cta-area {
        width: 100%;
        max-width: 100%;
    }
    .trial-hero .hero-note {
        padding: 20px 20px 0;
        line-height: 1.65;
    }
    .trial-hero .trial-cta {
        width: calc(100% - 40px);
        min-height: 62px;
        margin-top: 22px;
        font-size: 20px;
    }
    .trial-hero .normal-link {
        margin-top: 25px;
        /* font-size: 14px; */
        padding-bottom: 0;
    }

    .connect-section,
    .trial-details,
    .discount-section {
        padding-left: 18px;
        padding-right: 18px;
    }
    .split-heading {
        margin-bottom: 38px;
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.4;
    }
    .section-bar {
        margin-bottom: 34px;
        padding: 10px 6px;
        font-size: clamp(21px, 6vw, 25px);
        line-height: 1.4;
    }
    .connect-carousel {
        width: 100%;
        max-width: 100%;
    }
    .connect-carousel-track {
        gap: 16px;
    }
    .connect-card {
        border-radius: 20px;
    }
    .connect-copy {
        padding: 24px 20px 28px;
    }
    .connect-copy h4 {
        margin-bottom: 18px;
        font-size: 20px;
        line-height: 1.45;
    }
    .connect-copy p {
        font-size: 15px;
        line-height: 1.8;
    }
    .connect-copy small {
        margin-top: 22px;
        line-height: 1.65;
    }
    .connect-plus-image {
        margin-top: 22px;
    }
    .carousel-dots {
        gap: 10px;
        margin: 22px 0 8px;
    }
    .carousel-dots button {
        width: 11px;
        height: 11px;
    }
    .discount-row.wifi .discount-icon-ouchi {
        width: 48px;
        height: 36px;
        flex-basis: 48px;
    }

    /* Core content typography: avoid overly small text on phones */
    .spec-list { font-size: 16px; }
    .point-box b {font-size: 16px;line-height: 1.4;margin: 8px 0 5px 0px;}
    .point-box small {font-size: 13px;line-height: 1.5;}
    .discount-row { font-size: 16px; line-height: 1.5; }
    .annual { font-size: 12px; }
    .breakdown { font-size: 12px; line-height: 1.55; }
    .breakdown small { font-size: 11px; line-height: 1.55; }
}

/* Allow the desktop MV to break out of the centered LP column without horizontal scroll. */
@media (min-width: 769px) {
    html,
    body {
        overflow-x: clip;
    }
    .lp-shell {
        overflow: visible;
    }
}

/* Readability tuning across content blocks */
@media (min-width: 769px) {
    .lp-shell {
        max-width: 700px;
    }
    .content-section-inner {
        max-width: 760px;
    }
    .content-section-title,
    #features .content-section-title--pink {
        font-size: 32px;
    }
    .feature-title { font-size: 21px; }
    .feature-copy {font-size: 13px;}
    .feature-card .miryoku-link { font-size: 15px; }
    .case-title,
    .step-title {font-size: 15px;}
    .case-copy,
    .step-copy {font-size: 13px;}
    .other-discount-item h3 { font-size: 17px; }
    .other-discount-item p { font-size: 14px; }
    .other-discount-guide { font-size: 15px; }
}

@media (max-width: 768px) {
    .content-feature-section,
    .content-cases-section,
    .content-steps-section,
    .content-koe-section {
        padding-left: 18px;
        padding-right: 18px;
    }
    .feature-copy { font-size: 15px; }
    .feature-card .miryoku-link { font-size: 14px; }
    .case-title,
    .step-title { font-size: 17px; }
    .case-copy,
    .step-copy { font-size: 14px; }
    .other-discount-item h3 { font-size: 16px; }
    .other-discount-item p { font-size: 14px; }
    .other-discount-guide {font-size: 15px;}
}

/* =========================================
   #koe: user voice carousel
   ========================================= */
#koe .koe-carousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
#koe .koe-carousel-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior-x: contain;
}
#koe .koe-carousel-viewport.is-dragging {
    cursor: grabbing;
}
#koe .koe-carousel-track {
    display: flex;
    gap: 22px;
    width: 100%;
    will-change: transform;
}
#koe .koe-slide {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
}
#koe .koe-card {
    width: 100%;
    min-height: 360px;
    box-sizing: border-box;
    padding: 42px 52px 44px;
    border-radius: 24px;
    background: #f4f7f9;
    text-align: left;
}
#koe .koe-avatar {
    width: 130px;
    height: 130px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
#koe .koe-avatar img {
    display: block;
    /* width: 88%; */
    /* height: 88%; */
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
}
#koe .koe-copy {
    margin: 0;
    color: #172033;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.75;
    letter-spacing: .01em;
}
#koe .koe-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 0;
}
#koe .koe-carousel-dots button {
    appearance: none;
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c4c4c4;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
#koe .koe-carousel-dots button.active {
    background: #0782f5;
    transform: scale(1.05);
}
#koe .koe-carousel-dots button:focus-visible {
    outline: 3px solid rgba(7, 130, 245, .35);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    #koe .koe-carousel-track {
        gap: 16px;
    }
    #koe .koe-card {
        min-height: 310px;
        padding: 30px 22px 32px;
        border-radius: 20px;
    }
    #koe .koe-avatar {
        width: 118px;
        height: 118px;
        margin-bottom: 24px;
    }
    #koe .koe-copy {
        font-size: 16px;
        line-height: 1.7;
    }
    #koe .koe-carousel-dots {
        gap: 10px;
        margin-top: 22px;
    }
    #koe .koe-carousel-dots button {
        width: 11px;
        height: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #koe .koe-carousel-track {
        transition: none !important;
    }
}

/* =========================================
   CTA hover interactions
   ========================================= */
@media (hover: hover) and (pointer: fine) {
    .trial-cta,
    .simulation-btn,
    #submitBtn,
    .number-transfer-trial-btn,
    .btn-entry,
    .modal-btn-primary,
    .application-proceed-btn:not(.is-disabled) {
        transition: transform .2s ease, filter .2s ease, background-color .2s ease, box-shadow .2s ease;
    }

    .trial-cta:hover,
    .simulation-btn:hover,
    #submitBtn:hover,
    .number-transfer-trial-btn:hover,
    .modal-btn-primary:hover,
    .application-proceed-btn:not(.is-disabled):hover {
        transform: translateY(-2px);
        filter: brightness(1.06);
    }

    .btn-entry:hover {
        transform: translateY(-2px);
        background-color: #fff4f5;
    }
}
