@charset "UTF-8";

/* Variables */
:root {
    --color-primary: #004ea2;
    --color-accent: #f39800;
    --color-text: #1a1a1a;
    --color-gray: #f2f2f2;
    --color-white: #ffffff;
    --font-main: "Noto Sans JP", sans-serif;
    --font-accent: "Oswald", sans-serif;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.8;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}
body.overflow-hidden { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: bottom; border-radius: 0 !important; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
ul { list-style: none; }

/* Layout Components */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.container--narrow { max-width: 800px; }
.section { padding: 100px 0; }
.bg-gray { background: var(--color-gray); }

.section__header { text-align: center; margin-bottom: 60px; }
.section__en { display: block; font-family: var(--font-accent); font-size: 1.1rem; color: var(--color-primary); letter-spacing: 0.2em; margin-bottom: 10px; }
.section__jp { font-size: 2rem; font-weight: 700; position: relative; padding-bottom: 15px; }
.section__jp::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; background: var(--color-accent); }

/* Header */
.hdr { position: fixed; top: 0; left: 0; width: 100%; z-index: 1200; transition: background 0.4s, padding 0.4s; padding: 25px 0; }
.hdr.hdr--scroll { background: rgba(255, 255, 255, 0.95); padding: 15px 0; border-bottom: 1px solid #eee; }
.hdr__wrap { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.hdr__logo { font-family: var(--font-accent); font-size: 2rem; font-weight: 700; color: var(--color-white); }
.hdr__logo a { color: inherit; }
.hdr.hdr--scroll .hdr__logo { color: var(--color-primary); }

.hdr__menu { display: flex; }
.hdr__menu li { margin-left: 30px; }
.hdr__menu a { font-weight: 700; font-size: 0.9rem; color: var(--color-white); letter-spacing: 0.1em; }
.hdr.hdr--scroll .hdr__menu a { color: var(--color-text); }

/* Drawer Button */
.drawer__btn { 
    display: none; background: none; border: none; cursor: pointer; position: relative; width: 30px; height: 24px; z-index: 1300;
}
.drawer__btn span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--color-white); transition: 0.3s; }
.drawer__btn span:nth-child(1) { top: 0; }
.drawer__btn span:nth-child(2) { top: 11px; }
.drawer__btn span:nth-child(3) { bottom: 0; }
.hdr.hdr--scroll .drawer__btn span { background: var(--color-text); }

.drawer__btn.is-active span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
.drawer__btn.is-active span:nth-child(2) { opacity: 0; }
.drawer__btn.is-active span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

/* Drawer Nav */
.drawer__nav {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--color-primary);
    display: flex; justify-content: center; align-items: center; transition: 0.5s; z-index: 1100;
}
.drawer__nav.is-open { right: 0; }
.drawer__menu { display: flex; flex-direction: column; text-align: center; }
.drawer__menu li { margin: 20px 0; }
.drawer__menu a { font-size: 1.5rem; color: var(--color-white); font-weight: 700; }

/* Hero */
.hero { height: 100vh; background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('../images/eyechatch.jpg') center/cover; position: relative; display: flex; align-items: center; }
.hero__inner { width: 90%; max-width: 1200px; margin: 0 auto; color: var(--color-white); }
.hero__ttl { font-family: var(--font-accent); font-size: 5rem; line-height: 1; margin-bottom: 20px; }
.hero__sub { font-size: 1.5rem; letter-spacing: 0.3em; font-weight: 500; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--color-white); font-family: var(--font-accent); letter-spacing: 0.2em; writing-mode: vertical-lr; font-size: 0.8rem; }

/* About */
.about__flex { display: flex; gap: 60px; align-items: center; }
.about__text { flex: 1; }
.about__text h3 { font-size: 1.8rem; margin-bottom: 30px; line-height: 1.4; color: var(--color-primary); }
.about__img { flex: 1; }
.about__img img { box-shadow: 30px 30px 0 var(--color-gray); }

/* Service */
.service__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service__card { background: var(--color-white); border-radius: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.service__card-img { height: 300px; background-size: cover; background-position: center; }
.service__card-body { padding: 40px; }
.service__card-body h3 { font-size: 1.6rem; color: var(--color-primary); margin-bottom: 20px; }

/* Strength */
.strength__list { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.strength__item { text-align: center; }
.strength__icon { color: var(--color-accent); margin-bottom: 20px; display: inline-flex; justify-content: center; align-items: center; }
.strength__item h3 { font-size: 1.5rem; margin-bottom: 20px; position: relative; display: inline-block; padding-bottom: 10px; }
.strength__item h3::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; background: var(--color-accent); }
.strength__item p { text-align: left; font-size: 0.95rem; }

/* Company */
.company__table { width: 100%; border-collapse: collapse; }
.company__table th, .company__table td { padding: 25px; border-bottom: 1px solid #ddd; }
.company__table th { width: 30%; text-align: left; background: #eee; font-weight: 700; }

/* Contact Form */
.contact__box { background: var(--color-white); padding: 50px; border: 1px solid #eee; }
.form__group { margin-bottom: 30px; }
.form__group label { display: block; font-weight: 700; margin-bottom: 10px; }
.required { color: #d00; font-size: 0.8rem; margin-left: 5px; }
.form__group input, .form__group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; font-family: inherit; font-size: 1rem; border-radius: 0; background: #f9f9f9; }
.form__group textarea { height: 180px; }
.btn { display: inline-block; padding: 20px 60px; font-weight: 700; cursor: pointer; border: none; font-size: 1.1rem; border-radius: 0; transition: 0.3s; }
.btn--primary { background: var(--color-primary); color: var(--color-white); }
.btn--primary:hover { background: #003a7a; }
.form__submit { text-align: center; }

/* Footer */
.ftr { background: #111; color: var(--color-white); padding: 80px 0 40px; }
.ftr__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.ftr__logo { font-family: var(--font-accent); font-size: 2rem; font-weight: 700; }
.ftr__nav a { margin-left: 30px; font-size: 0.85rem; color: #999; }
.ftr__bottom { text-align: center; border-top: 1px solid #333; padding-top: 30px; }
.copyright { font-size: 0.8rem; color: #666; }

/* Responsive */
@media (max-width: 960px) {
    .hero__ttl { font-size: 3rem; }
    .about__flex { flex-direction: column; }
    .about__img img { box-shadow: none; }
    .hdr__nav { display: none; }
    .drawer__btn { display: block; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .service__grid, .strength__list { grid-template-columns: 1fr; gap: 40px; }
    .company__table th { width: 40%; padding: 15px; }
    .company__table td { padding: 15px; }
    .contact__box { padding: 30px 20px; }
    .ftr__top { flex-direction: column; gap: 30px; }
    .ftr__nav a { margin: 0 10px; }
    .pc-only { display: none; }
}