:root {
    /* Line Art / Wireframe Theme */
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #1a1a1a;
    /* 黒を基調 */
    --border-color: #1a1a1a;
    --card-bg: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --grid-line: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    /* 方眼紙のようなグリッド背景 */
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 背景のアニメーション要素（今回は控えめな幾何学模様に変更） */
.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.5;
    pointer-events: none;
}

.globe {
    position: absolute;
    border: 1px solid #ccc;
    /* 塗りではなく線 */
    border-radius: 50%;
    background: transparent;
    animation: float 25s infinite linear;
}

.globe-1 {
    width: 600px;
    height: 600px;
    top: -20%;
    left: -10%;
    border-style: dashed;
}

.globe-2 {
    width: 400px;
    height: 400px;
    bottom: -10%;
    right: -5%;
    border-color: #ddd;
    animation-direction: reverse;
}

.globe-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 60%;
    border: 1px solid #eee;
}

@keyframes float {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(180deg) translate(20px, -20px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

.container {
    width: 90%;
    max-width: 1000px;
    padding: 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--border-color);
    /* 枠線で囲む */
    background: var(--bg-color);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1);
    /* ハードな影 */
}

.hero-section h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.hero-section p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #555;
    font-weight: 500;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.card {
    text-decoration: none;
    color: inherit;
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

/* ホバー時の「ズレ」演出 */
.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0px var(--text-color);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.card p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.arrow-icon {
    align-self: flex-end;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Animations (シンプルに) */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    text-align: center;
    color: #888;
    font-size: 0.8rem;
    margin-top: 2rem;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    width: 100%;
}

/* Placeholder specific */
.placeholder {
    opacity: 0.6;
    border-style: dashed;
    cursor: default;
}

.placeholder:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
        gap: 2rem;
    }

    .hero-section {
        padding: 1.5rem;
        box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
    }
}