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

body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', 'メイリオ', sans-serif;
    line-height: 1.7;
    color: #000;
    background-color: #E5EDF5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('first_view.png');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.header-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    z-index: 2;
}

.catchphrase-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 60px;
}

.empty-space {
    /* 右側の空白エリア */
}

.catchphrase {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    padding: 10px 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #4573A1;
    color: white;
}

/* Sections */
section {
    padding: 100px 0;
    margin-top: 80px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #4573A1;
    font-weight: 300;
    letter-spacing: 0.05em;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: #4573A1;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Service Section */
.service-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(69, 115, 161, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(69, 115, 161, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(69, 115, 161, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #4573A1;
    font-weight: 500;
}

.service-card .service-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #666;
    font-style: italic;
}

.service-card p {
    line-height: 1.8;
    color: #333;
}

/* Profile Section */
.profile-section {
    background: white;
    border-radius: 30px;
    margin: 0 20px;
    box-shadow: 0 20px 40px rgba(69, 115, 161, 0.1);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding: 80px 60px;
}

.profile-image {
    text-align: center;
}

.profile-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.profile-name {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #4573A1;
    font-weight: 500;
}

.profile-text {
    line-height: 1.9;
    font-size: 1.05rem;
}

.profile-text p {
    margin-bottom: 20px;
}

.qualifications {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 4px solid #4573A1;
}

.qualifications h4 {
    color: #4573A1;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Company Section */
.company-grid {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(69, 115, 161, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.company-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.company-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.company-label {
    font-weight: bold;
    color: #4573A1;
}

.company-value {
    color: #333;
}

/* Footer */
footer {
    background: #4573A1;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 100px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .catchphrase-container {
        padding-left: 0;
        justify-content: center;
    }

    .catchphrase {
        font-size: 1.5rem;
    }

    /* Navigation - モバイル時はロゴのみ表示 */
    .nav-menu {
        display: none;
    }

    .nav-container {
        justify-content: center;
        padding: 10px 20px;
    }

    .nav-logo-img {
        height: 50px;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

    .profile-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }

    .company-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .company-grid {
        padding: 40px 30px;
    }

    section {
        padding: 60px 0;
    }

    /* ハンバーガーメニューを追加する場合の準備 */
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #4573A1;
        margin: 4px 0;
        transition: 0.3s;
    }
}

@media (max-width: 480px) {
    .catchphrase {
        font-size: 1.2rem;
    }

    .nav-logo-img {
        height: 45px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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