:root {
    --primary: #FF7EB3;
    --primary-soft: #FFEAF3;
    --secondary: #65D2E9;
    --secondary-soft: #E0F7FA;
    --bg-main: #FFFFFF;
    --bg-soft: #F8F9FE;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --disclosure-bg: #F0F0F5;
    --disclosure-text: #888899;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --font-main: 'Outfit', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

.container {
    padding: 0 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Ad Disclosure */
.ad-disclosure {
    background-color: var(--disclosure-bg);
    color: var(--disclosure-text);
    font-size: 10px;
    text-align: center;
    padding: 4px 0;
    width: 100%;
}

/* Header & Search */
header {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* Hamburger Menu */
.menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 60px 20px;
}

.nav-overlay.active {
    right: 0;
}

.nav-overlay ul {
    list-style: none;
}

.nav-overlay li {
    margin-bottom: 20px;
}

.nav-overlay a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay-bg.active {
    display: block;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    background-color: #F8F9FE;
    font-size: 14px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0A0A0;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: white url('shukatsu-bg.png') center/cover no-repeat;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

/* Table of Contents */
.toc {
    background: var(--bg-soft);
    padding: 30px 20px;
    border-radius: 24px;
    margin: 20px 0;
}

.toc h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* Base Sections */
section {
    padding: 60px 0;
}

.section-tag {
    color: var(--primary);
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
    display: block;
}

/* Feature Cards */
.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card.hidden {
    display: none !important;
}

.card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #F0F0F5;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card h3 a {
    text-decoration: underline;
    color: #007bff;
    /* 標準的な青色リンク */
    transition: color 0.2s;
}

.card h3 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.official-link {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    font-size: 0.9rem;
}

.tool-info {
    margin-top: 15px;
    text-align: left;
}

.tool-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
    background: var(--primary-soft);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

.tool-text {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* About & Profile */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.profile-img {
    width: 80px;
    height: 80px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.sns-link {
    font-size: 1.5rem;
    color: var(--text-main);
    transition: color 0.2s;
}

.sns-link:hover {
    color: var(--primary);
}

footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #F0F0F5;
}

@media (min-width: 769px) {
    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .feature-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .card {
        flex: 1;
        min-width: 300px;
    }
}