/*
Theme Name: chexif LP Theme
Description: グラスモーフィズムを取り入れたchexif専用のモダンなランディングページ
Author: rokyu25
Version: 1.0.0
*/

@charset "UTF-8";

/* =========================================================
   1. 変数定義（Variables）
========================================================= */
:root {
    --color-primary: #3498db;
    --color-white: #ffffff;
    --color-grey: #333333;
    --accent: #ff4757;
    --muted: #777777;
    --text-color: #333333;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-serif: "Georgia", "Times New Roman", "Times", "Hiragino Mincho ProN", "MS PMincho", serif;
}

/* =========================================================
   2. リセット＆ベース（Reset & Base）
========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-family: var(--font-sans);
    line-height: 1.6;
    background-color: #121212;
    /* ダークテーマの背景 */
    color: #ffffff;
    font-weight: 400;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    color: #cccccc;
    font-size: 1.6rem;
    line-height: 1.6;
}

/* =========================================================
   3. タイポグラフィ（Typography）
========================================================= */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: var(--accent);
}

.serif-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
}

/* =========================================================
   4. レイアウト（Layout）
========================================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* =========================================================
   5. ボタン（Buttons）
========================================================= */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-family: var(--font-sans);
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background-color: #258cd1;
}

.btn-glow {
    background: var(--accent);
    color: #ffffff;
    padding: 16px 32px;
    font-size: 1.6rem;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease-in-out;
}

.btn-glow:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.btn-primary-lg {
    background: #ffffff;
    color: #000000;
    padding: 20px 40px;
    font-size: 1.8rem;
    border-radius: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease-in-out;
}

.btn-primary-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   6. セクション＆パーツ（Sections & Parts）
========================================================= */
.premium-hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
}

.premium-hero .hero-glow-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.premium-hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -2px;
    margin: 24px 0;
}

.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.glass-nav .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.glass-nav .brand {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 1px;
}

.glass-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.glass-nav .nav-links a:not(.btn-glow) {
    font-size: 1.4rem;
    font-weight: 500;
    color: #cccccc;
    transition: color 0.3s ease;
}

.glass-nav .nav-links a:hover {
    color: #ffffff;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 40px;
    text-align: center;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease-in-out;
    text-align: left;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    background: rgba(255, 71, 87, 0.05);
}

.feature-card span {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 2rem;
}

.rich-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.rich-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rich-footer .footer-links {
    display: flex;
    gap: 24px;
}

.rich-footer .footer-links a {
    font-size: 1.3rem;
    color: var(--muted);
    transition: color 0.3s;
}

.rich-footer .footer-links a:hover {
    color: var(--accent);
}

/* =========================================================
   7. スマホ用レスポンシブ（Media Queries）
========================================================= */
@media (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .premium-hero h1 {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }

    .glass-card {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .glass-nav .nav-links {
        display: none;
        /* スマホでは一旦メニューを隠す */
    }

    .rich-footer .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}