/* おうち電波 LP: Orderit テンプレートの上に重ねる調整 */
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .btn { font-family: "Lexend Deca", "Zen Maru Gothic", sans-serif !important; }
h1, h2, h3, h4, .fw-bold { font-weight: 900 !important; }
body { color: #27323f; font-size: 16px; line-height: 1.8; }
.nb { display: inline-block; }
.u-pr { background: #0a0e14; color: #d7e0ea; font-size: 13px; padding: 7px 16px; text-align: center; }
.u-pr b { border: 1px solid #d7e0ea; border-radius: 4px; padding: 0 6px; margin-right: 8px; font-weight: 700; }
.u-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 0 3px rgba(60,72,88,.15); }
.u-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.u-logo { font-weight: 900; font-size: 20px; letter-spacing: .08em; color: #0b6fa4; }
.u-hero { padding: 72px 0 72px !important; background: radial-gradient(circle at 80% 20%, #17557a 0, #0d2c42 50%, #0a0e14 100%) !important; }
.u-hero .title-heading { text-align: left; }
.u-phone { border: 8px solid #05070a; border-radius: 36px; overflow: hidden; background: #0a0e14; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.u-phone img { width: 100%; display: block; height: auto; }
.u-hero-phone { max-width: 290px; margin: 0 auto; }
.u-caption { color: #b9c6d3; font-size: 12px; text-align: center; margin-top: 12px; }
.u-icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; background: rgba(11,111,164,.1); color: #0b6fa4; }
.u-step-num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; background: #0b6fa4; color: #fff; }
.u-card { padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 5px 13px rgba(60,72,88,.15); height: 100%; }
.u-muted { color: #566474; }
.u-table { width: 100%; border-collapse: collapse; background: #fff; }
.u-table th, .u-table td { padding: 14px 12px; border-bottom: 1px solid #e3e8ee; vertical-align: top; text-align: left; font-size: 15px; }
.u-table thead th { background: #eef4f8; }
.u-table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 5px 13px rgba(60,72,88,.15); }
.u-note { font-size: 13px; color: #566474; }
/* 広告コードを貼るまでは、枠も見出しも表示しない */
.ad-slot { margin-top: 16px; }
.ad-slot:empty { display: none; }
.ad-section:not(:has(.ad-slot:not(:empty))) { display: none; }
.u-footer { background: #0a0e14; color: #b9c6d3; padding: 32px 0; font-size: 14px; }
.u-footer a { color: #fff; }
.accordion-button { font-weight: 700; }
/* テンプレートのスムーズスクロールだと、#付きのURLで開いたときに移動しないことがある */
html { scroll-behavior: auto !important; }
.u-link-card { display: block; color: inherit; transition: box-shadow .2s; }
.u-link-card:hover { color: inherit; box-shadow: 0 8px 20px rgba(60,72,88,.25); }
.u-doc h1 { font-size: 30px; margin-bottom: 20px; }
.u-doc h2 { font-size: 20px; font-weight: 900; margin: 36px 0 12px; scroll-margin-top: 80px; }
.u-doc a { color: #0b6fa4; text-decoration: underline; }
@media (max-width: 991px) { .u-hero { padding: 48px 0 !important; } .u-hero-phone { margin-top: 36px; max-width: 240px; } .u-hero h1 { font-size: 34px; } }
@media (max-width: 767px) { .u-hero h1 { font-size: 24px; line-height: 1.5; } .u-pr { font-size: 12px; } }
.accordion .accordion-item .accordion-button:before { content: "\ea78"; font-family: "remixicon"; }
/* 記事ページ */
.u-nav { display: flex; gap: 20px; font-size: 15px; font-weight: 700; }
.u-nav a { color: #27323f; }
.u-nav .u-nav-app { color: #0b6fa4; }
.u-crumb { font-size: 13px; color: #566474; margin-bottom: 8px; }
.u-crumb a { color: #566474; }
.u-date { font-size: 13px; color: #566474; margin-bottom: 20px; }
.u-article { font-size: 16px; }
.u-article h1 { font-size: 28px; line-height: 1.5; margin-bottom: 8px; }
.u-article h2 { font-size: 22px; border-left: 5px solid #0b6fa4; padding-left: 12px; margin-top: 48px; }
.u-article h3 { font-size: 18px; font-weight: 700 !important; margin: 28px 0 10px; }
.u-article p, .u-article ul, .u-article ol { margin-bottom: 18px; }
.u-article li { margin-bottom: 6px; }
.u-article .lead { font-size: 17px; }
.u-article .u-table-wrap { margin: 8px 0 24px; }
.u-point { background: #eef4f8; border-radius: 12px; padding: 16px 20px; margin: 8px 0 24px; }
.u-point p:last-child, .u-point ul:last-child { margin-bottom: 0; }
.u-toc { background: #f7f9fb; border: 1px solid #e3e8ee; border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.u-toc-title { font-weight: 900; margin-bottom: 6px; }
.u-toc ol { margin: 0; padding-left: 20px; }
.u-toc a { color: #0b6fa4; text-decoration: none; }
.u-app-box { background: #0d2c42; color: #fff; border-radius: 12px; padding: 24px; margin: 40px 0 24px; }
.u-app-box-title { font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.u-next { margin-bottom: 32px; height: auto; }
.u-related h2 { font-size: 18px; font-weight: 900; margin-bottom: 12px; }
.u-related a { color: #0b6fa4; }
.u-app-cta { margin-top: 24px; }
/* 公式バッジ。Google Playの画像は上下に透明の余白（250pxのうち29pxずつ）があるので、見える高さをApp Storeにそろえる */
.u-badges { --h: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.u-badges-lg { --h: 52px; }
.u-badges a { display: block; line-height: 0; }
.u-badge { height: var(--h); width: auto; display: block; }
.u-badge-play { height: calc(var(--h) * 250 / 192); margin: calc(var(--h) * -29 / 192) 0; }
@media (max-width: 767px) { .u-article h1 { font-size: 23px; } .u-article h2 { font-size: 19px; } .u-nav { gap: 14px; font-size: 14px; } }

/* 広告がまだない枠は、カードごと隠す（見出し付きのカードは残す） */
.ad-section [class*="col-"]:has(.ad-slot:empty):not(:has(h5)) { display: none; }
.ad-section .row { justify-content: center; }
/* 広告動画(縦長)。自サイトに置き、外部の動画サービスは使わない */
.u-video { display: block; width: 100%; max-width: 300px; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 18px; background: #0a0e14; box-shadow: 0 10px 30px rgba(10, 14, 20, .3); }
.u-video-title { text-align: center; font-weight: 900; margin-bottom: 12px; }
.u-video-section { padding-top: 48px !important; padding-bottom: 48px !important; }
.u-article-video { margin: 40px 0 0; text-align: center; }
.u-article-video h2 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
/* もしも(Amazon)の商品リンク */
.ad-item { padding: 12px 0; border-top: 1px solid #e3e8ee; font-size: 14px; line-height: 1.6; }
.ad-item a { display: block; color: #0b6fa4; }
.ad-item a img { display: block; margin: 0 auto 8px; }
/* 記事の後の商品リンク */
.u-products { margin: 40px 0 0; }
.u-products h2 { font-size: 20px; font-weight: 900; border-left: 5px solid #0b6fa4; padding-left: 12px; margin-bottom: 8px; }
.u-products .u-muted { font-size: 14px; }
