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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter','Noto Sans JP',sans-serif;
    color:#222;
    background:#fff;
    overflow-x:hidden;
}

.container{
    width:min(90%, 1200px);
    margin:auto;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;

    padding:0 50px;

    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,.05);

    z-index:100;
}

.logo{
    font-size:28px;
    font-weight:bold;
    line-height:1.2;
    white-space:nowrap;
}

nav{
    display:flex;
    gap:30px;
    align-items:center;
}

nav a{
    text-decoration:none;
    color:#333;
    white-space:nowrap;
}

.btn{
    background:#001f3f;
    color:white;
    border:none;
    padding:12px 24px;
    border-radius:30px;
}

.hero{
    min-height:100vh;
    padding:120px 20px 80px;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    background:
    linear-gradient(
        135deg,
        #ffffff,
        #dbeafe
    );
}

.hero-content{
    width:100%;
}

.hero h1{
    font-size:clamp(36px, 7vw, 72px);
    line-height:1.15;
    margin-bottom:20px;
}

.hero p{
    font-size:clamp(16px, 3vw, 24px);
    color:#666;
}

.hero-buttons{
    margin-top:40px;
}

.btn-primary{
    display:inline-block;
    background:#001f3f;
    color:white;
    padding:15px 40px;
    text-decoration:none;
    border-radius:8px;
}

.btn-secondary{
    display:inline-block;
    border:1px solid #001f3f;
    color:#001f3f;
    padding:15px 40px;
    text-decoration:none;
    border-radius:8px;
    margin-left:15px;
}

section{
    padding:120px 0;
}

.vision h2{
    margin-top:20px;
    font-size:48px;
    line-height:1.4;
}

.business{
    background:#f8fafc;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:50px;
}

.card{
    background:white;
    padding:40px;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.card h3{
    margin-bottom:20px;
    line-height:1.5;
}

.card ul{
    padding-left:20px;
    line-height:1.8;
}

.company table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

.company th{
    width:250px;
    background:#f3f4f6;
}

.company th,
.company td{
    padding:25px;
    border:1px solid #ddd;
    line-height:1.7;
    overflow-wrap:anywhere;
}

.contact{
    background:#001f3f;
    color:white;
    text-align:center;
}

.contact h2{
    text-align:center;
}

.contact form{
    max-width:700px;
    margin:40px auto 0;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact input,
.contact select{
    height:58px;
    padding:0 20px;
    border-radius:10px;
}

.contact textarea{
    padding:20px;
    border-radius:10px;
    min-height:180px;
    resize:vertical;
}

.contact input,
.contact select,
.contact textarea{
    width:100%;
    border:none;
    font:inherit;
}

.contact button{
    background:white;
    color:#001f3f;
    padding:15px;
    border:none;
    border-radius:8px;
    font-weight:bold;
    font:inherit;
    cursor:pointer;
}

footer{
    text-align:center;
    padding:40px;
    background:#f5f5f5;
}

.contact-text{
    margin:20px 0 40px;
    text-align:center;
    opacity:.9;
    line-height:1.8;
}

.detail-link{
    display:inline-block;
    margin-top:20px;

    color:#0058bc;
    text-decoration:none;
    font-weight:bold;
}

.detail-link:hover{
    text-decoration:underline;
}

.logo-area{
    display:flex;
    align-items:center;
}

.header-logo{
    height:60px;
    width:auto;
}

.section-label{
    font-size:24px;
}

@media (max-width: 768px) {
    header {
        height:auto;
        min-height:64px;
        padding:12px 20px;
        flex-wrap:wrap;
        gap:8px 14px;
    }

    .logo {
        font-size:20px;
    }

    .logo-area {
        margin-left:auto;
    }

    nav {
        order:3;
        width:100%;
        justify-content:center;
        gap:16px;
        overflow-x:auto;
        padding-top:4px;
    }

    nav a {
        font-size:13px;
    }

    .header-logo {
        height:40px;
    }

    .hero {
        min-height:86vh;
        padding-top:150px;
    }

    .hero h1 {
        margin-bottom:15px;
    }

    .hero-buttons {
        margin-top:30px;
        display:flex;
        flex-direction:column;
        gap:12px;
        align-items:stretch;
    }

    .btn-primary,
    .btn-secondary {
        padding:12px 24px;
        font-size:14px;
        margin-left:0;
        text-align:center;
    }

    section {
        padding:60px 0;
    }

    .vision h2 {
        font-size:28px;
        line-height:1.5;
    }

    .cards {
        grid-template-columns:1fr;
        gap:20px;
    }

    .card {
        padding:25px;
    }

    .section-label {
        font-size:16px;
    }

    .company table,
    .company tbody,
    .company tr,
    .company th,
    .company td {
        display:block;
        width:100%;
    }

    .company tr + tr {
        margin-top:14px;
    }

    .company th {
        padding:14px 15px;
        text-align:left;
        border-bottom:none;
    }

    .company td {
        padding:15px;
        font-size:14px;
    }

    .contact form {
        max-width:100%;
    }

    .contact input,
    .contact select {
        font-size:16px;
        height:48px;
    }

    .contact textarea {
        font-size:16px;
        min-height:140px;
    }

    .contact button {
        padding:12px;
        font-size:14px;
    }

    footer {
        padding:25px;
        font-size:13px;
    }
}

@media (max-width: 480px) {
    header {
        padding:10px 14px;
    }

    .logo {
        font-size:16px;
    }

    nav {
        justify-content:flex-start;
        gap:14px;
    }

    nav a {
        font-size:12px;
    }

    .header-logo {
        height:34px;
        max-width:80px;
        object-fit:contain;
    }

    .hero h1 {
        line-height:1.3;
    }

    .hero p {
        font-size:14px;
    }

    .hero-buttons {
        margin-top:20px;
    }

    .btn-primary,
    .btn-secondary {
        padding:10px 20px;
        font-size:13px;
    }

    section {
        padding:40px 0;
    }

    .container {
        width:92%;
    }

    .vision h2 {
        font-size:22px;
    }

    .card {
        padding:20px;
    }

    .card h3 {
        font-size:16px;
    }

    .detail-link {
        font-size:13px;
    }
}
