@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    --brand-blue: #0A3A69; /* Deep Ocean Navy */
    --brand-ice: #E1F0FA; /* Ice Blue */
    --brand-accent: #0078D7; /* Tech Blue */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #FFFFFF;
    --border-light: #DCE5ED;
}

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

body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--brand-ice);
    line-height: 1.6;
    font-weight: 300;
}

a { color: var(--brand-accent); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--brand-blue); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 30px; }

/* Header */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 100;
}
.header-row {
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}
.logo { font-size: 1.4rem; font-weight: 700; color: var(--brand-blue); letter-spacing: 0.5px; }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center;}
.nav-links a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand-accent); }

.btn-primary {
    background: var(--brand-accent);
    color: var(--bg-white) !important;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 120, 215, 0.2);
}
.btn-primary:hover { background: var(--brand-blue); }

/* Layouts */
section { padding: 80px 0; background: var(--bg-white); }
.section-alt { background: var(--brand-ice); }

.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.grid-2-rev { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

/* Hero */
.hero { padding: 120px 0; text-align: center; }
.hero h1 {
    font-size: 3.5rem; color: var(--brand-blue); line-height: 1.2; font-weight: 700; margin-bottom: 24px;
}
.hero p {
    font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px;
}

.img-hero {
    width: 100%; max-width: 900px;
    border-radius: 8px; box-shadow: 0 20px 40px rgba(10, 58, 105, 0.1);
    margin: 40px auto 0; display: block; border: 1px solid var(--border-light);
}
.img-service { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Cards */
.service-card {
    background: var(--bg-white); border: 1px solid var(--border-light);
    padding: 40px; border-radius: 6px; text-align: center; transition: 0.3s;
}
.service-card:hover { border-color: var(--brand-accent); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.service-card h3 { color: var(--brand-blue); font-size: 1.4rem; margin-bottom: 15px; }

/* Forms */
.form-box { background: var(--bg-white); padding: 40px; border: 1px solid var(--border-light); border-radius: 6px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; color: var(--brand-blue); font-weight: 500; font-size: 0.9rem;}
.form-group input, .form-group textarea {
    width: 100%; padding: 14px; border: 1px solid var(--border-light); border-radius: 4px;
    font-family: inherit; font-size: 1rem; color: var(--text-main); transition:0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline:none; border-color:var(--brand-accent); }

/* Footer */
footer { background: var(--brand-blue); color: #B3C6DB; padding: 60px 0 30px; }
footer h4 { color: var(--bg-white); margin-bottom: 20px; font-weight: 500; }
.footer-wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; border-bottom: 1px solid #1A4E83; padding-bottom: 40px;}
.footer-wrap ul { list-style: none; }
.footer-wrap li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-wrap a { color: #B3C6DB; }
.footer-wrap a:hover { color: var(--bg-white); }
.legal { font-size: 0.8rem; text-align: center; }
.legal p { margin-bottom: 5px; }

/* Cookie Alert */
.cookie-alert {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--brand-blue); color: var(--bg-white);
    padding: 15px; text-align: center; z-index: 1000;
    display: none; align-items:center; justify-content:center; gap:20px;
}
.cookie-alert .btn-primary { padding: 8px 16px; font-size: 0.8rem; background: var(--bg-white); color: var(--brand-blue) !important; }

@media(max-width: 800px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .grid-2, .grid-2-rev, .grid-3, .footer-wrap { grid-template-columns: 1fr; gap: 40px;}
}
