/* Base Styles */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #000000;
    --muted-color: #888888;
    --section-padding: 100px 0;
    --container-width: 1100px;
    --font-main: 'Inter', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

header .container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.nav a:hover {
    color: var(--muted-color);
}

.btn-ask {
    background: var(--accent-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-ask:hover {
    opacity: 0.8;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-color: #f7f7f7;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #333;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #0072bc;
    -webkit-text-stroke: 1.5px #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

/* Vision */
.vision {
    background-color: #fff;
}

.vision-text {
    font-size: 1.8rem;
    text-align: center;
    font-weight: 300;
    line-height: 2;
}

/* Service */
.service {
    background-color: #fcfcfc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    margin-bottom: 30px;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    overflow: hidden;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Profile */
.profile {
    background-color: #fff;
}

.profile-table {
    max-width: 800px;
    margin: 0 auto;
}

.profile-row {
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    width: 200px;
    font-weight: 700;
}

.profile-value {
    flex: 1;
}

.link-text {
    text-decoration: underline;
}

.btn-line {
    display: inline-block;
    background: #06C755;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
}

.btn-line:hover {
    background: #05b34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: var(--muted-color);
}

/* Mobile Menu Trigger */
.menu-trigger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    transition: 0.4s;
}

.menu-trigger span:nth-child(1) {
    top: 0;
}

.menu-trigger span:nth-child(2) {
    top: 9px;
}

.menu-trigger span:nth-child(3) {
    top: 18px;
}

.menu-trigger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .vision-text {
        font-size: 1.3rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero-bg {
        background-position: 35% center;
    }

    .profile-row {
        flex-direction: column;
    }

    .profile-label {
        width: 100%;
        margin-bottom: 5px;
    }

    /* Mobile Nav */
    .menu-trigger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background: #fff;
        overflow: hidden;
        transition: 0.5s;
    }

    .nav.active {
        height: calc(100vh - 80px);
    }

    .nav ul {
        flex-direction: column;
        padding: 40px;
        gap: 20px;
    }
}