/*
 * アイパネル TOP ページ専用スタイル(handoff 044: リニューアル版へ全面刷新)
 *
 * お客様提示のリニューアル版(https://ipanel-top-renewal.digden134.workers.dev/)に準拠。
 *   - アクセント: オレンジ #F58213(松浦さん判断 2026-08-01。旧・赤 #e63312 は撤去)。
 *   - 本文 #242321 / クリーム面 #FFFAF3・#FAF7F1 / フォント Noto Sans JP。
 *   - クラスは `rt-*`(renewal top)で名前空間分離(ec-* / ipanel-common-blocks と非干渉)。
 *   - ヘッダー/フッターは共通(CommonBlocksSubscriber)。ここには置かない。
 * ブレイクポイント: mobile 〜767px / desktop 768px〜。
 */

:root {
    --rt-ink: #242321;
    --rt-ink-soft: #5b5852;
    --rt-orange: #F58213;
    --rt-orange-dark: #d96e08;
    --rt-cream: #FFFAF3;
    --rt-cream-2: #FAF7F1;
    --rt-line: #ece7de;
    --rt-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

.ipanel-top {
    font-family: var(--rt-sans);
    color: var(--rt-ink);
    background: #fff;
    line-height: 1.9;
}
.ipanel-top img { max-width: 100%; height: auto; display: block; }

/* 共通ボタン */
.rt-btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: 15px 30px; border-radius: 999px;
    font-size: 15px; font-weight: 700; text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
    white-space: nowrap;
}
.rt-btn:hover { transform: translateY(-2px); }
.rt-btn--primary { background: var(--rt-orange); color: #fff; }
.rt-btn--primary:hover { background: var(--rt-orange-dark); color: #fff; }
.rt-btn--ghost { background: transparent; color: var(--rt-ink); border: 1.5px solid var(--rt-ink); }
.rt-btn--ghost:hover { background: var(--rt-ink); color: #fff; }
.rt-btn--onOrange { background: var(--rt-ink); color: #fff; }
.rt-btn--onOrange:hover { background: #000; color: #fff; }
.rt-btn--onOrangeGhost { background: transparent; color: #fff; border: 1.5px solid #fff; }
.rt-btn--onOrangeGhost:hover { background: #fff; color: var(--rt-orange); }

/* 共通リンク(→ / ↗) */
.rt-link {
    display: inline-flex; align-items: center; gap: .4em;
    color: var(--rt-orange-dark); font-weight: 700; text-decoration: none; font-size: 15px;
}
.rt-link:hover { color: var(--rt-orange); text-decoration: underline; }

/* ===== §1 HERO ===== */
.rt-hero {
    background: var(--rt-cream-2);
    display: flex; flex-direction: column; align-items: center;
    padding: 56px 20px 0;
    overflow: hidden;
}
.rt-hero__inner { text-align: center; max-width: 900px; }
.rt-hero__title {
    font-size: clamp(38px, 8vw, 82px); font-weight: 900; line-height: 1.12;
    letter-spacing: .01em; margin: 0 0 24px; color: var(--rt-ink);
}
.rt-hero__sub { font-size: clamp(15px, 2.6vw, 21px); font-weight: 500; margin: 0 0 32px; }
.rt-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 40px; }
.rt-hero__img { width: 100%; max-width: 1100px; }
.rt-hero__img img { width: 100%; }

/* ===== 汎用セクション ===== */
.rt-sec {
    max-width: 1080px; margin: 0 auto; padding: 72px 20px;
    display: grid; gap: 36px; align-items: center;
}
.rt-sec__title {
    font-size: clamp(26px, 5vw, 42px); font-weight: 900; line-height: 1.28;
    margin: 0 0 22px; color: var(--rt-ink);
}
.rt-sec__body { font-size: 16px; margin: 0 0 22px; color: var(--rt-ink); }

.rt-figure { margin: 0; border-radius: 14px; overflow: hidden; }
.rt-figure img { width: 100%; }
.rt-figure--rounded { border-radius: 18px; }

/* 2 カラム(画像 + テキスト) */
.rt-sec--split { grid-template-columns: 1fr 1fr; }
.rt-sec--reverse .rt-figure { order: 2; }

/* チップ(§2) */
.rt-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.rt-chips li {
    font-size: 14px; font-weight: 700; padding: 7px 16px; border-radius: 999px;
    background: #f3efe8; color: var(--rt-ink-soft);
}
.rt-chips__accent { background: var(--rt-orange) !important; color: #fff !important; }

/* フロー(§3 街で気づく＋… / §5 気づく→…) */
.rt-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 700; }
.rt-flow__item {
    padding: 10px 18px; border-radius: 10px; background: var(--rt-cream);
    border: 1.5px solid var(--rt-line); font-size: 15px;
}
.rt-flow__plus { color: var(--rt-orange); font-size: 20px; }
.rt-flow--steps .rt-flow__item { background: #fff; border-color: var(--rt-orange); }
.rt-flow__arrow { color: var(--rt-orange); font-size: 18px; }

/* ===== §6 「愛」でむすびます ===== */
.rt-love {
    background: var(--rt-cream); padding: 80px 20px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.rt-love__mark { width: 72px; margin-bottom: 18px; }
.rt-love__mark img { width: 100%; }
.rt-love__title {
    font-size: clamp(28px, 5.5vw, 46px); font-weight: 900; line-height: 1.3;
    margin: 0 0 40px; color: var(--rt-ink);
}
.rt-love .rt-figure { max-width: 900px; width: 100%; margin-bottom: 44px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.rt-letter { max-width: 640px; font-size: 17px; line-height: 2.2; }
.rt-letter p { margin: 0 0 26px; }
.rt-letter__quote { font-size: 20px; font-weight: 700; color: var(--rt-orange-dark); }
.rt-letter__sign { font-size: 19px; font-weight: 700; margin-top: 8px; }

/* §6 動画 */
.rt-video { margin-top: 56px; max-width: 720px; width: 100%; text-align: center; }
.rt-video__label { font-size: 20px; font-weight: 900; margin: 0 0 8px; }
.rt-video__lead { font-size: 15px; color: var(--rt-ink-soft); margin: 0 0 20px; }
.rt-video__thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; margin: 0 auto 16px; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.rt-video__thumb img { width: 100%; }
.rt-video__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 74px; height: 74px; border-radius: 50%; background: rgba(245,130,19,.92); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 26px; padding-left: 5px;
}
.rt-video__thumb:hover .rt-video__play { background: var(--rt-orange); }

/* ===== §7 オレンジ CTA ===== */
.rt-final {
    background: var(--rt-orange); color: #fff; text-align: center;
    padding: 84px 20px; display: flex; flex-direction: column; align-items: center;
}
.rt-final__title { font-size: clamp(26px, 5vw, 44px); font-weight: 900; line-height: 1.3; margin: 0 0 18px; color: #fff; }
.rt-final__sub { font-size: 16px; font-weight: 500; margin: 0 0 34px; }
.rt-final__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== レスポンシブ(mobile 〜767px) ===== */
@media (max-width: 767px) {
    .ipanel-top { line-height: 1.8; }
    .rt-hero { padding: 40px 18px 0; }
    .rt-sec { padding: 52px 18px; gap: 26px; }
    .rt-sec--split { grid-template-columns: 1fr; }
    .rt-sec--reverse .rt-figure { order: 0; }
    .rt-sec--split .rt-figure { order: 0; }
    .rt-sec--split .rt-sec__head { order: 1; }
    .rt-love { padding: 56px 18px; }
    .rt-letter { font-size: 16px; line-height: 2.1; }
    .rt-final { padding: 60px 18px; }
    .rt-btn { padding: 14px 24px; font-size: 14px; }
}
