/* ==================== Reset & Basic ==================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
    margin: 0; font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8; color: #333; background: #fff;
    overflow-x: hidden; width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: 0.3s; }

:root {
    --primary: #002e6e;
    --accent: #f2c000;
    --bg-light: #f4f7f9;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 4%; width: 100%; }
.section { padding: 100px 0; overflow: hidden; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--primary); color: #fff; }

.section-header { text-align: center; margin-bottom: 50px; }
.en-title { color: var(--primary); font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 5px; }
.section-header h2 { font-size: 2rem; position: relative; padding-bottom: 15px; margin: 0; }
.section-header h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 30px; height: 3px; background: var(--accent);
}

/* ==================== Header ==================== */
#header {
    position: fixed; top: 0; width: 100%; background: #fff;
    z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner { height: 70px; display: flex; justify-content: space-between; align-items: center; }
.nav-list { display: flex; gap: 20px; list-style: none; margin: 0; }
.nav-link { font-weight: 700; font-size: 0.85rem; color: var(--primary); }
.contact-btn { background: var(--primary); color: #fff; padding: 6px 15px; border-radius: 50px; }

/* ==================== Hero (Grid Overlay) ==================== */
.hero {
    margin-top: 70px;
    display: grid;
    grid-template-areas: "stack";
    place-items: center;
    background: #000;
    width: 100%;
    overflow: hidden;
}

.hero-visual { grid-area: stack; width: 100%; z-index: 1; }
.hero-img { width: 100%; height: auto; object-fit: contain; opacity: 0.7; }

.hero-content {
    grid-area: stack;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
    pointer-events: none;
}
.hero-logo { width: clamp(80px, 10vw, 120px); margin: 0 auto 15px; }
.hero-title {
    font-size: clamp(1.4rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.hero-lead { font-size: clamp(0.9rem, 2vw, 1.3rem); text-shadow: 0 0 10px rgba(0,0,0,0.8); }

/* ==================== Business Cards ==================== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.card {
    background: #fff; padding: 35px 25px; border-top: 4px solid var(--primary);
    box-shadow: 0 5px 25px rgba(0,0,0,0.05); display: flex; flex-direction: column;
}
.card-icon { font-size: 2.5rem; color: rgba(0,46,110,0.1); font-weight: 800; margin-bottom: 10px; }
.card-title { font-size: 1.2rem; margin-bottom: 15px; }
.card-detail { max-height: 0; overflow: hidden; transition: 0.4s; font-size: 0.9rem; }
.card.is-open .card-detail { max-height: 400px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; }
.accordion-btn { margin-top: auto; background: none; border: 1px solid #ddd; padding: 10px; cursor: pointer; font-size: 0.8rem; font-weight: 700; }

/* ==================== Profile Table ==================== */
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td { padding: 18px; border-bottom: 1px solid #eee; text-align: left; }
.profile-table th { width: 25%; background: #f9f9f9; color: var(--primary); font-size: 0.9rem; }

/* ==================== Footer ==================== */
.footer { background: #111; color: #999; padding: 60px 0 30px; font-size: 0.85rem; text-align: center; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; text-align: left; }
.footer-logo { width: 180px; filter: brightness(0) invert(1); }
.footer-address { font-style: normal; line-height: 1.6; }
.footer-nav { margin-bottom: 25px; }
.footer-nav a:hover { color: var(--accent); }
.sep { margin: 0 10px; color: #444; }
.copyright { border-top: 1px solid #222; padding-top: 25px; }

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    .grid { grid-template-columns: 1fr; }
    .header-inner { height: 60px; }
    .hero { margin-top: 60px; }
    .nav-list {
        position: fixed; top: 60px; left: 100%; width: 100%; height: 100vh;
        background: #fff; flex-direction: column; align-items: center; transition: 0.4s;
    }
    .nav-list.active { left: 0; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
    .hamburger span { width: 25px; height: 2px; background: var(--primary); }
    .footer-top { flex-direction: column; gap: 20px; text-align: center; }
    .profile-table th, .profile-table td { display: block; width: 100%; }
}