:root {
    --primary-color: #1A2B4C;
    --primary-light: #2C3E50;
    --accent-color: #FF6B35;
    --bg-color: #F4F7F9;
    --bg-dark: #1A2B4C;
    --text-color: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --container-width: 1100px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 900;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
}

.section-title.color-white {
    color: var(--white);
}

.bg-dark {
    background-color: var(--bg-dark);
}

/* Header */
header {
    padding: 25px 0;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo {
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 0.2em;
    font-weight: 900;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: #000;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 43, 76, 0.9) 0%, rgba(26, 43, 76, 0.4) 50%, rgba(26, 43, 76, 0.1) 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-text-box {
    max-width: 600px;
    color: var(--white);
    padding: 40px 0;
}

.hero-sub {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: inline-block;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.cta-button:hover {
    background-color: #e65a2a;
    transform: scale(1.05);
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-item {
    background: var(--white);
    padding: 50px 40px;
    border-top: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.problem-item h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Affinity Section */
.affinity {
    background-color: var(--white);
    text-align: center;
}

.affinity-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.solution-card {
    position: relative;
    padding-top: 40px;
}

.number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.2);
    line-height: 1;
}

.solution-card h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Profile Section */
.profile-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.profile-image {
    flex: 0 0 350px;
}

.profile-image img {
    width: 100%;
    border: 10px solid var(--white);
    box-shadow: 20px 20px 0 var(--accent-color);
}

.profile-title {
    color: var(--accent-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Contact Section */
.contact-box {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 80px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.contact-info {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-button {
    width: 100%;
    padding: 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: #000;
}

/* Footer */
footer {
    padding: 60px 0;
    background-color: #000;
    color: var(--white);
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    header {
        position: relative;
        padding: 15px 0;
        background-color: var(--white);
    }

    header .logo {
        color: var(--primary-color);
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        display: block;
        background-color: var(--white);
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .hero-image::after {
        display: none;
    }

    .hero-image img {
        object-position: 80% center; /* 男性が右側にいるので、右側を優先表示 */
    }

    .hero-content {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .hero-sub {
        font-size: 1rem;
    }
    
    .hero-text-box {
        color: var(--primary-color);
        text-align: center;
        padding: 0;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
        clip-path: none; /* スマホでは押しやすさ優先で普通の四角形に */
        border-radius: 5px;
    }
    
    .problem-grid, .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        flex: 0 0 250px;
        width: 250px;
        margin: 0 auto 30px;
    }
    
    .contact-box {
        padding: 40px 20px;
    }

    .section {
        padding: 60px 0;
    }
}
