/* /assets/css/terms.css */
/* TERMSページ専用（base.css / layout.css は読み込み済み前提）
   - 文章中心で読みやすい
   - legal/privacy と同系の “panel” 見た目に馴染ませる
*/

/* ===== HERO（index/contact と同型） ===== */
.hero {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    border-radius: var(--radius2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
    overflow: hidden;
    position: relative;
}

.heroSlider {
    position: relative;
    height: 560px;
    background: #111;
}

.heroTrack {
    height: 100%;
    display: flex;
    transition: transform .85s var(--ease);
    will-change: transform;
}

.heroSlide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.heroSlide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.03);
    will-change: transform;
    transform: scale(1.06) translate3d(var(--px, 0px), var(--py, 0px), 0);
    transition: transform .35s var(--ease);
}

.heroOverlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 18% 80%, rgba(0, 0, 0, .55), transparent 62%),
        linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.heroContent {
    position: absolute;
    left: 44px;
    bottom: 44px;
    width: min(720px, calc(100% - 88px));
    color: #fff;
    pointer-events: auto;
}

.heroKicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 1000;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .95;
}

.heroKicker .kDot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--orange2);
    box-shadow: 0 0 18px rgba(255, 90, 90, .5);
}

.heroTitle {
    margin: 12px 0 0;
    font-size: clamp(30px, 3.3vw, 54px);
    line-height: 1.05;
    font-weight: 1000;
    letter-spacing: -.03em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.heroDesc {
    margin: 14px 0 0;
    font-size: 13.5px;
    line-height: 2.0;
    opacity: .92;
    max-width: 70ch;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.heroActions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.viewMore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 1000;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
    user-select: none;
    font-size: 13px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.viewMore:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .70);
}

.viewMore:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}

.viewMore .dot {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--orange2);
    box-shadow: 0 0 18px rgba(255, 90, 90, .45);
}

/* ===== Big Typo ===== */
.bigWord {
    width: min(1320px, calc(100% - 56px));
    margin: 26px auto 0;
    font-weight: 1000;
    letter-spacing: -.05em;
    font-size: clamp(64px, 8.6vw, 150px);
    line-height: .92;
    color: transparent;
    background: linear-gradient(90deg, rgba(255, 46, 46, 1), rgba(255, 90, 90, 1));
    -webkit-background-clip: text;
    background-clip: text;
    transform: skewX(-6deg);
    user-select: none;
    opacity: .95;
}

/* ===== Page wrap ===== */
.pageWrap {
    width: min(1200px, calc(100% - 56px));
    margin: 0 auto;
}

.pageWrap {
    width: min(1100px, calc(100% - 56px));
    margin: 0 auto;
    padding: 34px 0 70px;
}

/* panel（layout.cssにpanelがある前提だが、terms単体でも崩れないように最低限補強） */
.panel {
    border-radius: var(--radius2);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow2);
    padding: 26px;
}

/* タイトル */
.panel h1 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.15;
    font-weight: 1000;
    letter-spacing: -.03em;
}

/* 更新日など */
.panel>p {
    margin: 8px 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.8;
}

/* 罫線 */
.panel hr {
    margin: 18px 0 22px;
    border: 0;
    height: 1px;
    background: var(--line);
    opacity: .95;
}

/* 見出し */
.panel h2 {
    margin: 22px 0 8px;
    font-size: 16px;
    font-weight: 1000;
    letter-spacing: -.01em;
}

.panel h2:first-of-type {
    margin-top: 0;
}

/* 本文 */
.panel p {
    margin: 0 0 12px;
    color: #222;
    font-size: 14px;
    line-height: 2.0;
    font-weight: 900;
}

/* リスト */
.panel ul {
    margin: 10px 0 16px 0;
    padding-left: 1.1em;
    display: grid;
    gap: 8px;
}

.panel li {
    color: #222;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 900;
}

.panel li::marker {
    color: var(--orange2);
}

/* リンク */
.panel a {
    color: var(--orange2);
    font-weight: 1000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.panel a:hover {
    opacity: .85;
}

/* ちょいアクセント（読みやすさ） */
.panel h2 {
    position: relative;
    padding-left: 10px;
}

.panel h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 4px;
    height: 1.1em;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--orange), var(--orange2));
    opacity: .95;
}

/* モバイル */
@media (max-width: 980px) {
    .pageWrap {
        width: min(1100px, calc(100% - 28px));
        padding: 22px 0 60px;
    }

    .panel {
        padding: 18px;
    }

    .panel p,
    .panel li {
        font-size: 13.5px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .panel a {
        transition: none !important;
    }
}