/* ============================================================
   ダンプ'sクリエイティブギルド - style.css
   ============================================================ */

/* ---------- CSS変数 ---------- */
:root {
    --bg: #0d0d0d;
    --surface: #141414;
    --border: #2a2a2a;
    --text: #e8e4dc;
    --text-sub: #7a7570;
    --accent: #c8a96e;
    --accent-dim: #7a6540;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* ---------- ベース ---------- */
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* 背景グリッドテクスチャ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 39px,
            #ffffff04 39px,
            #ffffff04 40px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 39px,
            #ffffff03 39px,
            #ffffff03 40px);
    pointer-events: none;
    z-index: 0;
}

/* 外枠装飾 */
body::after {
    content: '';
    position: fixed;
    top: 24px;
    left: 24px;
    right: 24px;
    bottom: 24px;
    border: 1px solid var(--border);
    pointer-events: none;
    z-index: 0;
}

/* ---------- レイアウト ---------- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

/* ---------- ロゴエリア ---------- */
.logo-area {
    text-align: center;
    margin-bottom: 64px;
    animation: fadeUp 1s ease both;
}

.logo-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--accent-dim);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.logo-name {
    font-family: 'Zen Antique', serif;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: 0.08em;
    color: var(--text);
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.logo-name::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 20px auto 0;
}

.logo-name-en {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--text-sub);
    margin-top: 12px;
    text-transform: uppercase;
}

/* ---------- セパレーター ---------- */
.separator {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
    margin: 0 auto 64px;
    animation: fadeUp 1s ease 0.2s both;
}

.section-separator {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
    margin: 64px auto;
    animation: fadeUp 1s ease 0.4s both;
}

/* ---------- 組織情報グリッド ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    max-width: 680px;
    width: 100%;
    animation: fadeUp 1s ease 0.3s both;
}

.info-cell {
    background: var(--surface);
    padding: 28px 32px;
}

.info-cell-label {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.info-cell-value {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text);
    font-weight: 400;
}

.info-cell-value a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
}

.info-cell-value a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ---------- コーナーマーク装飾 ---------- */
.corner-marks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.corner-marks span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--accent-dim);
    border-style: solid;
}

.corner-marks span:nth-child(1) {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.corner-marks span:nth-child(2) {
    top: -1px;
    right: -1px;
    border-width: 1px 1px 0 0;
}

.corner-marks span:nth-child(3) {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 1px 1px;
}

.corner-marks span:nth-child(4) {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

/* ---------- サービス一覧 ---------- */
.services-section {
    max-width: 680px;
    width: 100%;
    animation: fadeUp 1s ease 0.5s both;
}

.services-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.services-header-label {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    white-space: nowrap;
}

.services-header-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* サービスカード */
.service-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: border-color 0.25s;
    overflow: hidden;
}

.service-card+.service-card {
    margin-top: 1px;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, #c8a96e08);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    border-color: var(--accent-dim);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.service-icon {
    width: 112px;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    padding: 16px;
    flex-shrink: 0;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 14px;
}

.service-icon-placeholder {
    width: 80px;
    height: 80px;
    background: var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 28px;
    color: var(--text-sub);
}

.service-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.service-title {
    font-family: 'Zen Antique', serif;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-arrow {
    font-size: 12px;
    color: var(--text-sub);
    transition: transform 0.2s, color 0.2s;
    margin-left: auto;
    flex-shrink: 0;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.service-tag {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 7px;
    border: 1px solid var(--border);
    color: var(--text-sub);
}

.service-tag.type {
    border-color: var(--accent-dim);
    color: var(--accent);
}

.service-release {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-sub);
    margin-left: auto;
}

.service-release.coming {
    color: var(--accent-dim);
}

/* ---------- フッター ---------- */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 40px 48px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--text-sub);
    animation: fadeUp 1s ease 0.5s both;
}

footer::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 0 auto 20px;
}

/* ---------- アニメーション ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 540px) {
    body::after {
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    main {
        padding: 60px 24px;
    }

    .info-cell {
        padding: 22px 24px;
    }
}