@charset "utf-8";
/* ============================================================
   UFO.JAPAN トップページ ダークテーマ
   design/top.png 準拠 / スコープ: body.ufo-top
   ============================================================ */

body.ufo-top {
    margin: 0;
    padding: 0;
    background: #060911;
    color: #e6ecf5;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.ufo-top *,
.ufo-top *::before,
.ufo-top *::after {
    box-sizing: border-box;
}

.ufo-top img {
    max-width: 100%;
    display: block;
}

.ufo-top a {
    color: inherit;
    text-decoration: none;
    transition: color .2s, opacity .2s, border-color .2s;
}

.ufo-top ul,
.ufo-top ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ufo-top h1,
.ufo-top h2,
.ufo-top h3,
.ufo-top h4,
.ufo-top p {
    margin: 0;
}

.uj-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 見出し ---------- */
.uj-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.uj-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .04em;
}

.uj-heading h2 i {
    color: #ff8a1e;
    font-size: 18px;
}

.uj-more {
    font-size: 12px;
    color: #ff8a1e;
    white-space: nowrap;
}

.uj-more:hover {
    color: #ffb066;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.uj-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 9, 17, .96);
    border-bottom: 1px solid #16202f;
    backdrop-filter: blur(6px);
}

.uj-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.uj-logo {
    flex: none;
    line-height: 1.15;
}

.uj-logo__main {
    display: block;
    font-family: Oswald, "Arial Black", sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .02em;
}

.uj-logo__main em {
    font-style: normal;
    color: #ff8a1e;
}

.uj-logo__sub {
    display: block;
    font-size: 9px;
    color: #7b8798;
    letter-spacing: .02em;
}

.uj-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.uj-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.uj-nav a {
    display: block;
    text-align: center;
    line-height: 1.3;
    color: #d4dbe6;
}

.uj-nav a:hover,
.uj-nav .is-current a {
    color: #ff8a1e;
}

.uj-nav__ja {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.uj-nav__en {
    display: block;
    font-size: 9px;
    color: #6f7b8c;
    letter-spacing: .06em;
}

.uj-nav a:hover .uj-nav__en,
.uj-nav .is-current .uj-nav__en {
    color: #b3733c;
}

.uj-header__tools {
    flex: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.uj-iconbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: none;
    color: #d4dbe6;
    font-size: 17px;
    cursor: pointer;
}

.uj-iconbtn:hover {
    color: #ff8a1e;
}

.uj-burger {
    display: none;
}

.uj-burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
    transition: transform .25s, opacity .25s;
}

.uj-burger.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.uj-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.uj-burger.is-active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* 検索ドロワー */
.uj-search {
    display: none;
    border-top: 1px solid #16202f;
    background: #0a0f1a;
}

.uj-search.is-open {
    display: block;
}

.uj-search form {
    display: flex;
    gap: 10px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px;
}

.uj-search input {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #22304a;
    border-radius: 4px;
    background: #0f1724;
    color: #e6ecf5;
    font-size: 14px;
}

.uj-search input::placeholder {
    color: #66738a;
}

.uj-search button {
    height: 42px;
    padding: 0 24px;
    border: 0;
    border-radius: 4px;
    background: #ff8a1e;
    color: #10151f;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* ============================================================
   ヒーロー
   ============================================================ */
.uj-hero {
    position: relative;
    /* hero_wide.jpg は 2400x1000 の横長版。
       PC幅で円盤・街明かり・富士山まで全景が収まるよう調整済み */
    background: #060911 url("/img/design/hero_wide.jpg") center center / cover no-repeat;
    overflow: hidden;
}

.uj-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(4, 7, 14, .96) 0%, rgba(4, 7, 14, .86) 26%, rgba(4, 7, 14, .3) 54%, rgba(4, 7, 14, .1) 74%, rgba(4, 7, 14, .5) 100%);
}

.uj-hero__inner {
    position: relative;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 20px 34px;
}

.uj-hero__copy {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.24;
    letter-spacing: .01em;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .75);
}

.uj-hero__copy em {
    font-style: normal;
    color: #ff8a1e;
}

.uj-hero__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 2;
    color: #c8d2e0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
}

/* 統計バー */
.uj-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 34px;
    border: 1px solid #22304a;
    border-radius: 6px;
    background: rgba(11, 16, 26, .9);
}

.uj-stats__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-left: 1px solid #1b2739;
}

.uj-stats__item:first-child {
    border-left: 0;
}

.uj-stats__item i {
    font-size: 26px;
    color: #ff8a1e;
}

.uj-stats__label {
    display: block;
    font-size: 11px;
    color: #8d99ab;
}

.uj-stats__value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .01em;
}

.uj-stats__value small {
    font-size: 12px;
    font-weight: 500;
    color: #b7c2d2;
}

.uj-stats__value.is-text {
    font-size: 17px;
}

/* ============================================================
   投稿CTA
   ============================================================ */
.uj-post {
    margin: 26px 0 0;
    padding: 30px 34px;
    border: 1px solid #4a331c;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a1108 0%, #14100c 55%, #0d1017 100%);
}

.uj-post__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: center;
}

.uj-post__label {
    font-size: 13px;
    color: #b6a289;
}

.uj-post__title {
    margin-top: 6px;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: .01em;
}

.uj-post__title em {
    font-style: normal;
    color: #ff8a1e;
}

.uj-post__text {
    margin-top: 12px;
    font-size: 13px;
    color: #a9b4c4;
}

.uj-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.uj-post__tags span {
    padding: 5px 12px;
    border: 1px solid #4d3a22;
    border-radius: 3px;
    background: #211609;
    font-size: 11px;
    color: #d8b98d;
}

.uj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 320px;
    margin-top: 22px;
    padding: 16px 22px;
    border-radius: 5px;
    background: linear-gradient(90deg, #ff8a1e, #ff6f00);
    color: #12160f;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(255, 122, 24, .26);
}

.uj-btn:hover {
    color: #12160f;
    filter: brightness(1.08);
}

.uj-btn__label {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 3ステップ */
.uj-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

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

.uj-step__circle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 132px;
    height: 132px;
    margin: 0 auto;
    border: 1px solid #5a4322;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #2a1c0c 0%, #150f0a 70%);
}

.uj-step:not(:last-child) .uj-step__circle::after {
    content: "\f0da";
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 18px;
    color: #ff8a1e;
}

.uj-step__num {
    font-size: 20px;
    font-weight: 700;
    color: #ffb066;
}

.uj-step__title {
    font-size: 11px;
    font-weight: 700;
    color: #efe3d3;
}

.uj-step__icons {
    display: flex;
    gap: 8px;
    font-size: 15px;
    color: #ff8a1e;
}

.uj-step__desc {
    margin-top: 10px;
    font-size: 11px;
    color: #8d99ab;
}

.uj-post__note {
    margin-top: 14px;
    font-size: 11px;
    color: #7d8798;
    text-align: right;
}

/* ============================================================
   セクション共通
   ============================================================ */
.uj-section {
    margin-top: 44px;
}

.uj-card {
    border: 1px solid #1a2434;
    border-radius: 6px;
    background: #0c111c;
}

/* ---------- ニュース ---------- */
.uj-news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.uj-news__item {
    display: block;
    border: 1px solid #1a2434;
    border-radius: 6px;
    background: #0c111c;
    overflow: hidden;
}

.uj-news__item:hover {
    border-color: #3a4a63;
}

.uj-news__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0e17;
}

.uj-news__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.uj-news__item:hover .uj-news__thumb img {
    transform: scale(1.05);
}

.uj-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    border-radius: 3px;
    background: rgba(6, 9, 17, .82);
    border: 1px solid #33425c;
    font-size: 10px;
    color: #cdd7e5;
}

.uj-badge.is-accent {
    border-color: #6b4a22;
    color: #ffb066;
}

.uj-news__body {
    padding: 14px 15px 17px;
}

.uj-news__date {
    font-size: 11px;
    color: #ff8a1e;
}

.uj-news__title {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.uj-news__text {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
    color: #8d99ab;
}

/* ---------- マップ + 目撃情報 ---------- */
.uj-mapwrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    /* 地図枠と目撃情報枠は同じ高さに揃える */
    align-items: stretch;
    gap: 22px;
}

/* 地図は枠いっぱいに敷く（design/top.png 準拠） */
.uj-map {
    display: block;
    overflow: hidden;
    border: 1px solid #2a3546;
    border-radius: 8px;
    background: #060b14;
}

/* ピンは地図画像に対する比率で配置する */
.uj-map__figure {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

/* 画像は枠の縦横比（≒1.396）に合わせて作ってあるため cover でも切れはほぼ出ない。
   ずれても切れるのは列島の外側の余白側 */
.uj-map__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* top/left は「地域の中心」を指す。ピンの起点をその中心に合わせる */
.uj-map__pin {
    position: absolute;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
    color: #f0f4fa;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .95), 0 0 16px rgba(0, 0, 0, .8);
}

.uj-map__pin b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffb066;
}

/* バッジ（角丸／大円）内の宇宙人アイコン */
.uj-map__badge {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8a1e;
    background: rgba(6, 11, 20, .55);
    border: 1px solid rgba(255, 138, 30, .75);
    box-shadow: 0 0 14px rgba(255, 138, 30, .3), inset 0 0 12px rgba(255, 138, 30, .12);
}

.uj-map__icon {
    width: 62%;
    height: 62%;
    filter: drop-shadow(0 0 5px rgba(255, 138, 30, .65));
}

/* 角丸バッジ */
.uj-map__pin--badge .uj-map__badge {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

/* 最多件数の地域は大きな円で強調 */
.uj-map__pin--hero .uj-map__badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border-width: 2px;
}

.uj-map__pin--hero .uj-map__label {
    font-size: 12px;
}

.uj-map__pin--hero b {
    font-size: 16px;
}

/* テキストのみのピンは指定座標を中心に置く */
.uj-map__pin--text {
    transform: translate(-50%, -50%);
    text-align: center;
}

.uj-sightings {
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
    border: 1px solid #1a2434;
    border-radius: 6px;
    background: #0c111c;
}

.uj-sightings__head {
    padding-bottom: 10px;
    border-bottom: 1px solid #1a2434;
    font-size: 12px;
    color: #9aa6b8;
}

.uj-sighting {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #151f2e;
}

.uj-sighting__thumb {
    flex: none;
    width: 84px;
    height: 62px;
    border-radius: 4px;
    object-fit: cover;
}

.uj-sighting__body {
    min-width: 0;
    flex: 1;
}

.uj-sighting__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.uj-sighting__place {
    font-size: 14px;
    font-weight: 700;
}

.uj-sighting__time {
    flex: none;
    font-size: 11px;
    color: #7d8798;
}

.uj-sighting__text {
    margin-top: 4px;
    font-size: 12px;
    color: #97a3b5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.uj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.uj-tag {
    padding: 3px 9px;
    border: 1px solid #2a3850;
    border-radius: 3px;
    font-size: 10px;
    color: #a4b0c2;
}

.uj-tag.is-accent {
    border-color: #6b4a22;
    background: #1d1409;
    color: #ffb066;
}

.uj-sightings__foot {
    margin-top: auto;
    padding-top: 14px;
    text-align: right;
}

/* ---------- 特集 ---------- */
.uj-features {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.uj-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 232px;
    padding: 22px;
    border: 1px solid #1a2434;
    border-radius: 6px;
    overflow: hidden;
    background: #0c111c;
}

/* 背景画像(z:0) → 暗幕グラデーション(z:1) → テキスト(z:2) の重ね順 */
.uj-feature__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.uj-feature:hover .uj-feature__bg {
    transform: scale(1.05);
}

.uj-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 7, 14, .18) 0%, rgba(4, 7, 14, .82) 68%, rgba(4, 7, 14, .95) 100%);
}

.uj-feature__title,
.uj-feature__text,
.uj-feature__btn {
    position: relative;
    z-index: 2;
}

.uj-feature__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 4px 10px;
    border: 1px solid #46566f;
    border-radius: 3px;
    background: rgba(6, 9, 17, .78);
    font-size: 10px;
    color: #cdd7e5;
}

.uj-feature__title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
}

.uj-feature__text {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
    color: #9aa6b8;
}

.uj-feature.is-main {
    min-height: 232px;
    padding: 30px;
}

.uj-feature.is-main .uj-feature__title {
    font-size: 30px;
    line-height: 1.35;
}

.uj-feature.is-main .uj-feature__text {
    font-size: 13px;
}

.uj-feature__btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    background: #ff8a1e;
    color: #12160f;
    font-size: 12px;
    font-weight: 700;
}

.uj-feature__btn:hover {
    color: #12160f;
    filter: brightness(1.08);
}

/* ---------- 3カラム (ランキング / 事典 / 宇宙人) ---------- */
.uj-trio {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 20px;
}

.uj-panel {
    padding: 18px 20px 20px;
    border: 1px solid #1a2434;
    border-radius: 6px;
    background: #0c111c;
}

.uj-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.uj-panel__head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}

.uj-panel__head h2 i {
    color: #ff8a1e;
    font-size: 15px;
}

.uj-panel__lead {
    margin-bottom: 14px;
    font-size: 12px;
    color: #8d99ab;
}

/* ランキング */
.uj-rank {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    border-bottom: 1px solid #151f2e;
}

.uj-rank__no {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: #1c2636;
    color: #9aa6b8;
    font-size: 12px;
    font-weight: 700;
}

.uj-rank:nth-child(1) .uj-rank__no {
    background: #ff8a1e;
    color: #12160f;
}

.uj-rank:nth-child(2) .uj-rank__no {
    background: #b9c3d2;
    color: #12160f;
}

.uj-rank:nth-child(3) .uj-rank__no {
    background: #a4703c;
    color: #12160f;
}

.uj-rank__title {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uj-rank__view {
    flex: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #7d8798;
}

.uj-rank__view i {
    color: #ff8a1e;
}

.uj-panel__foot {
    margin-top: 16px;
    text-align: center;
}

.uj-ghost {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #4d3a22;
    border-radius: 20px;
    font-size: 12px;
    color: #ffb066;
}

.uj-ghost:hover {
    background: #1d1409;
    color: #ffb066;
}

/* UFO事典 */
.uj-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

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

.uj-type img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #22304a;
    border-radius: 50%;
    object-fit: cover;
}

.uj-type:hover img {
    border-color: #ff8a1e;
}

.uj-type span {
    display: block;
    margin-top: 9px;
    font-size: 11px;
    color: #b7c2d2;
}

/* 宇宙人 */
.uj-aliens {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.uj-alien img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    object-fit: cover;
}

.uj-alien:hover img {
    opacity: .85;
}

.uj-alien span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    text-align: center;
    color: #b7c2d2;
}

/* ---------- メルマガ / SNS / About ---------- */
.uj-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 20px;
}

.uj-box {
    padding: 22px 24px 24px;
    border: 1px solid #1a2434;
    border-radius: 6px;
    background: #0c111c;
}

.uj-box.is-accent {
    border-color: #4a331c;
    background: linear-gradient(135deg, #17110a 0%, #0d1017 100%);
}

.uj-box h2 {
    font-size: 17px;
    font-weight: 700;
}

.uj-box p {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.8;
    color: #8d99ab;
}

.uj-mailform {
    display: flex;
    gap: 0;
    margin-top: 16px;
}

.uj-mailform input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #33425c;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: #f1f4f8;
    color: #1a2230;
    font-size: 13px;
}

.uj-mailform button {
    flex: none;
    height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 0 4px 4px 0;
    background: #ff8a1e;
    color: #12160f;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.uj-note {
    margin-top: 10px;
    font-size: 11px;
    color: #6f7b8c;
}

.uj-sns {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.uj-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
}

.uj-sns .is-x {
    background: #10151f;
    border: 1px solid #33425c;
}

.uj-sns .is-fb {
    background: #1877f2;
}

.uj-sns .is-yt {
    background: #ff0000;
}

.uj-sns .is-ig {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.uj-sns a:hover {
    color: #fff;
    filter: brightness(1.12);
}

/* ---------- カテゴリー ---------- */
.uj-cats {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    padding: 22px 10px;
    border-top: 1px solid #1a2434;
    margin-top: 44px;
}

.uj-cat {
    text-align: center;
    color: #b7c2d2;
}

.uj-cat i {
    display: block;
    font-size: 24px;
    color: #ff8a1e;
    margin-bottom: 9px;
}

.uj-cat span {
    font-size: 11px;
}

.uj-cat:hover {
    color: #ff8a1e;
}

/* ============================================================
   フッター
   ============================================================ */
.uj-footer {
    margin-top: 10px;
    padding: 26px 0 30px;
    border-top: 1px solid #16202f;
    background: #05080f;
}

.uj-footer__inner {
    display: flex;
    align-items: center;
    gap: 34px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.uj-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    color: #8d99ab;
}

.uj-footer__links a:hover {
    color: #ff8a1e;
}

.uj-footer__copy {
    width: 100%;
    padding-left: 0;
    font-size: 11px;
    color: #5f6b7c;
}

/* ============================================================
   下層ページ（プライバシーポリシー等）
   ============================================================ */
.uj-page {
    padding: 0 0 48px;
}

.uj-page__head {
    position: relative;
    padding: 54px 0 40px;
    border-bottom: 1px solid #16202f;
    background:
        radial-gradient(60% 120% at 50% 0%, rgba(255, 138, 30, .16) 0%, rgba(6, 9, 17, 0) 70%),
        linear-gradient(180deg, #0a1120 0%, #060911 100%);
    text-align: center;
}

.uj-page__en {
    display: block;
    font-family: Oswald, "Arial Black", sans-serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
}

.uj-page__en em {
    font-style: normal;
    color: #ff8a1e;
}

.uj-page__ja {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #8d99ab;
    letter-spacing: .08em;
}

/* パンくず（tag->pan_layout が出力する既存マークアップの色だけ上書き） */
.uj-page__pan {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px 0;
    font-size: 11px;
    color: #6d798a;
}

.uj-page__pan a {
    color: #8d99ab;
}

.uj-page__pan a:hover {
    color: #ff8a1e;
}

.uj-page__pan ul,
.uj-page__pan ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uj-page__body {
    max-width: 900px;
    margin: 0 auto;
    padding: 34px 20px 0;
}

.uj-page__lead {
    padding: 20px 22px;
    border: 1px solid #1c283a;
    border-left: 3px solid #ff8a1e;
    border-radius: 6px;
    background: #0b1220;
    font-size: 13px;
    line-height: 1.9;
    color: #c3ccd9;
}

.uj-page__note {
    margin-top: 28px;
}

.uj-page__note h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .03em;
}

.uj-page__note p {
    margin-top: 8px;
    font-size: 13px;
    color: #9aa5b4;
}

.uj-block {
    margin-top: 24px;
    padding: 24px 26px;
    border: 1px solid #16202f;
    border-radius: 8px;
    background: #0a1120;
}

.uj-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
}

.uj-block h3 i {
    color: #ff8a1e;
    font-size: 14px;
}

.uj-block p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.95;
    color: #b7c1cf;
}

.uj-block p:first-of-type {
    margin-top: 0;
}

.uj-block ul {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.uj-block li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.8;
    color: #b7c1cf;
}

.uj-block li::before {
    content: "";
    position: absolute;
    top: .7em;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff8a1e;
}

.uj-block a {
    color: #ff8a1e;
    word-break: break-all;
}

.uj-block a:hover {
    color: #ffb066;
}

/* 会社概要などの定義リスト */
.uj-deflist__row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #16202f;
}

.uj-deflist__row:first-child {
    padding-top: 0;
}

.uj-deflist__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.uj-deflist dt {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    color: #d4dbe6;
}

.uj-deflist dt i {
    color: #ff8a1e;
    font-size: 13px;
}

.uj-deflist dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: #b7c1cf;
}

/* サイトマップのリンク一覧 */
.uj-sitemap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.uj-sitemap__item {
    display: block;
    padding: 12px 14px;
    border: 1px solid #16202f;
    border-radius: 6px;
    background: #0b1220;
}

.uj-sitemap__item:hover {
    border-color: #ff8a1e;
    background: #101a2b;
}

.uj-sitemap__name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #e6ecf5;
}

.uj-sitemap__name i {
    font-size: 12px;
    color: #ff8a1e;
}

.uj-sitemap__desc {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.7;
    color: #8d99ab;
}

/* よくある質問 */
.uj-faq h3 {
    align-items: flex-start;
    line-height: 1.6;
}

.uj-faq__q {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #ff8a1e;
    color: #0a1120;
    font-family: Oswald, "Arial Black", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.uj-faq__a {
    padding-left: 34px;
}

/* お問い合わせフォーム */
.uj-form__row {
    margin-top: 18px;
}

.uj-form__row:first-child {
    margin-top: 0;
}

.uj-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #d4dbe6;
}

.uj-form__req,
.uj-form__opt {
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.uj-form__req {
    background: #ff8a1e;
    color: #0a1120;
}

.uj-form__opt {
    background: #1c283a;
    color: #8d99ab;
}

.uj-form input,
.uj-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #1c283a;
    border-radius: 6px;
    background: #060911;
    color: #e6ecf5;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;
}

.uj-form textarea {
    resize: vertical;
}

.uj-form input::placeholder,
.uj-form textarea::placeholder {
    color: #56626f;
}

.uj-form input:focus,
.uj-form textarea:focus {
    outline: none;
    border-color: #ff8a1e;
    box-shadow: 0 0 0 2px rgba(255, 138, 30, .18);
}

.uj-form__note {
    margin-top: 16px;
    font-size: 11px;
    color: #8d99ab;
}

.uj-form__submit {
    margin-top: 16px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.uj-form__error {
    margin-bottom: 16px;
    padding: 11px 14px;
    border: 1px solid #6b2b2b;
    border-radius: 6px;
    background: #21100f;
    font-size: 13px;
    color: #ff9b8a;
}

/* 送信完了 */
.uj-complete {
    text-align: center;
}

.uj-complete__icon {
    display: block;
    margin-bottom: 14px;
    font-size: 42px;
    color: #ff8a1e;
}

.uj-complete h3 {
    justify-content: center;
    font-size: 18px;
}

.uj-page__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1100px) {
    .uj-nav ul {
        gap: 14px;
    }

    .uj-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uj-trio {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .uj-trio > :nth-child(3) {
        grid-column: 1 / -1;
    }

    .uj-bottom {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .uj-bottom > :nth-child(3) {
        grid-column: 1 / -1;
    }

    .uj-news {
        grid-template-columns: repeat(2, 1fr);
    }

    .uj-cats {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 20px;
    }
}

@media (max-width: 900px) {
    .uj-header__inner {
        height: 60px;
        gap: 14px;
    }

    .uj-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        padding: 6px 0 14px;
        background: #0a0f1a;
        border-bottom: 1px solid #16202f;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }

    .uj-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .uj-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .uj-nav li {
        border-bottom: 1px solid #16202f;
    }

    .uj-nav a {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 13px 20px;
        text-align: left;
    }

    .uj-burger {
        display: flex;
        flex-direction: column;
    }

    .uj-hero {
        background-image: url("/img/design/hero.jpg");
        background-position: center 38%;
    }

    .uj-hero__inner {
        min-height: 0;
        padding: 48px 20px 26px;
    }

    .uj-hero__copy {
        font-size: 36px;
    }

    .uj-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .uj-stats__item:nth-child(odd) {
        border-left: 0;
    }

    .uj-stats__item:nth-child(n + 3) {
        border-top: 1px solid #1b2739;
    }

    .uj-post {
        padding: 22px 20px;
    }

    .uj-post__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .uj-post__title {
        font-size: 27px;
    }

    .uj-btn {
        min-width: 0;
        width: 100%;
    }

    .uj-step__circle {
        width: 96px;
        height: 96px;
    }

    .uj-step:not(:last-child) .uj-step__circle::after {
        right: -14px;
        font-size: 14px;
    }

    .uj-mapwrap {
        grid-template-columns: 1fr;
    }

    .uj-map__pin {
        font-size: 10px;
    }
}

@media (max-width: 640px) {
    /* 地図が狭くなるぶんピンも縮めて重なりを防ぐ */
    .uj-map__pin {
        gap: 5px;
    }

    .uj-map__pin b {
        font-size: 11px;
    }

    .uj-map__pin--badge .uj-map__badge {
        width: 22px;
        height: 22px;
        border-radius: 5px;
    }

    .uj-map__pin--hero .uj-map__badge {
        width: 32px;
        height: 32px;
    }

    .uj-map__pin--hero .uj-map__label {
        font-size: 10px;
    }

    .uj-map__pin--hero b {
        font-size: 13px;
    }

    .uj-inner {
        padding: 0 14px;
    }

    .uj-hero__copy {
        font-size: 29px;
    }

    .uj-hero__lead {
        font-size: 13px;
    }

    .uj-news,
    .uj-features,
    .uj-trio,
    .uj-bottom {
        grid-template-columns: 1fr;
    }

    .uj-trio > :nth-child(3),
    .uj-bottom > :nth-child(3) {
        grid-column: auto;
    }

    .uj-feature.is-main .uj-feature__title {
        font-size: 23px;
    }

    .uj-cats {
        grid-template-columns: repeat(3, 1fr);
    }

    .uj-footer__inner {
        gap: 16px;
    }

    .uj-page__head {
        padding: 36px 0 28px;
    }

    .uj-page__en {
        font-size: 27px;
    }

    .uj-page__body {
        padding-top: 24px;
    }

    .uj-block {
        padding: 20px 18px;
    }

    .uj-deflist__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .uj-sitemap {
        grid-template-columns: 1fr;
    }

    .uj-faq__a {
        padding-left: 0;
    }
}
