:root{
  --navy:#0f2d89;
  --ink:#222;
  --line:#333;
  --bg:#ffffff;
  --serif:"Noto Serif JP", serif;
  --sans:"Noto Sans JP", sans-serif;
  --en:"EB Garamond", serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  line-height:1.9;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
.wrap{max-width:1080px; margin:0 auto; padding:0 24px;}

/* Header */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(6px);
  transition:box-shadow .3s ease;
}
.site-header.scrolled{ box-shadow:0 2px 12px rgba(0,0,0,0.06); }
.site-header .logo{ display:flex; align-items:center; gap:10px; }
.site-header .logo img{ height:34px; width:auto; }
.site-header .logo span{ font-size:13px; letter-spacing:.06em; color:var(--navy); font-weight:700; }
.site-header nav{ display:flex; gap:28px; font-size:14px; letter-spacing:.05em; }
.site-header nav a{ position:relative; padding:4px 0; }
.site-header nav a:hover{ color:var(--navy); }
.site-header nav a.active{ color:var(--navy); font-weight:700; }

/* Hero (top page, full screen) */
.hero{
  position:relative;
  height:100vh; min-height:560px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.hero img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.4) 100%);
}
.hero-content{
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
  padding:0 24px;
}
.hero-copy{
  font-family:var(--serif);
  color:#fff;
  font-size:clamp(26px,4.4vw,48px);
  font-weight:600;
  letter-spacing:.3em;
  line-height:1.7;
  text-shadow:0 2px 16px rgba(0,0,0,0.45);
  white-space:nowrap;
}
.hero-line{
  width:44px; height:1px;
  background:rgba(255,255,255,0.75);
  margin:26px 0;
}
.hero-en{
  font-family:var(--en);
  font-style:italic;
  color:#fff;
  font-size:clamp(14px,1.8vw,19px);
  letter-spacing:.4em;
  text-transform:uppercase;
  text-shadow:0 2px 10px rgba(0,0,0,0.35);
}
.scroll-cue{
  position:absolute; left:50%; bottom:28px; transform:translateX(-50%);
  width:1px; height:36px; background:rgba(255,255,255,0.7);
}

/* Inner page banner (about / profile / news / contact / privacy) */
.page-hero{
  position:relative;
  height:38vh; min-height:260px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  margin-top:0;
}
.page-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.page-hero::after{
  content:""; position:absolute; inset:0; background:rgba(15,45,137,0.6);
}
.page-hero .section-label{ position:relative; z-index:2; }
.page-hero .section-label .en{ color:#fff; text-shadow:3px 3px 0px rgba(0,0,0,0.2); }
.page-hero .section-label .ja{ color:rgba(255,255,255,0.9); }
.page-hero .section-label .divider{ background:rgba(255,255,255,0.7); }
.page-hero.no-image{ background:var(--navy); }
.page-hero.no-image::after{ content:none; }

/* Section shared */
section{ padding:120px 0; }
.content-section{ padding:96px 0; }
.section-label{
  text-align:center; margin-bottom:14px;
}
.section-label .en{
  display:block;
  font-family:var(--en);
  font-size:44px;
  font-weight:700;
  color:var(--navy);
  letter-spacing:.04em;
  text-shadow:3px 3px 0px rgba(0,0,0,0.12);
}
.section-label .ja{
  display:block;
  font-size:13px;
  letter-spacing:.3em;
  color:#666;
  margin-top:6px;
}
.section-label .divider{
  width:64px; height:1px; background:var(--line);
  margin:22px auto 0;
}

/* Vision */
.vision{ text-align:center; }
.vision .quote{
  font-family:var(--serif);
  font-size:clamp(24px,3vw,34px);
  font-weight:700;
  margin:36px 0 28px;
  letter-spacing:.04em;
}
.vision p{
  max-width:680px; margin:0 auto; color:#444; font-size:15px;
}
.btn{
  display:inline-block; margin-top:36px;
  padding:14px 40px;
  border:1px solid var(--line);
  font-size:13px; letter-spacing:.15em;
  transition:background .25s ease, color .25s ease;
  background:none;
  cursor:pointer;
  font-family:inherit;
}
.btn:hover{ background:var(--navy); border-color:var(--navy); color:#fff; }

/* Service */
.service-intro{
  max-width:680px; margin:36px auto 0; text-align:center; color:#444; font-size:15px;
}
.service-item{
  display:flex; align-items:center; gap:64px;
  padding:56px 0; border-top:1px solid #ddd;
}
.service-item:last-child{ border-bottom:1px solid #ddd; }
.service-item.reverse{ flex-direction:row-reverse; }
.service-item figure{
  flex:0 0 42%;
  background:#f4f5f7;
  display:flex; align-items:center; justify-content:center;
  aspect-ratio:4/3; overflow:hidden;
}
.service-item.logo-tile figure{ padding:40px; }
.service-item figure img{ width:100%; height:100%; object-fit:cover; }
.service-item.logo-tile figure img{ object-fit:contain; }
.service-item .text{ flex:1; }
.service-item h3{
  font-family:var(--serif); font-size:20px; font-weight:600;
  color:var(--navy); margin-bottom:16px; line-height:1.6;
}
.service-item p{ font-size:14px; color:#444; }

/* News */
.news-list{ margin-top:48px; display:flex; flex-direction:column; }
.news-card{
  display:grid; grid-template-columns:110px 1fr; gap:28px;
  padding:26px 0; border-top:1px solid #ddd; align-items:baseline;
}
.news-list .news-card:last-of-type{ border-bottom:1px solid #ddd; }
.news-card time{ font-family:var(--en); font-size:14px; color:#888; }
.news-card h3{ font-size:15px; font-weight:700; margin-bottom:8px; }
.news-card a{ display:block; }
.news-card a:hover h3{ color:var(--navy); }
.news-card p{ font-size:13px; color:#666; }
.news-more{ text-align:center; margin-top:44px; }

/* Contact section (used on top page) */
.contact{
  position:relative;
  color:#fff; text-align:center;
  padding:0;
}
.contact-bg{
  position:relative; height:60vh; min-height:420px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.contact-bg img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.contact-bg::after{
  content:""; position:absolute; inset:0; background:rgba(15,45,137,0.55);
}
.contact-inner{ position:relative; z-index:2; padding:0 24px; max-width:560px; }
.contact-inner .section-label .en{ color:#fff; text-shadow:3px 3px 0px rgba(0,0,0,0.25); }
.contact-inner .section-label .ja{ color:rgba(255,255,255,0.85); }
.contact-inner .divider{ background:rgba(255,255,255,0.6); }
.contact-tagline{ font-family:var(--serif); font-size:20px; margin:28px 0 16px; }
.contact-inner p.desc{ font-size:14px; opacity:.9; margin-bottom:8px; }
.contact-inner .btn{ border-color:#fff; color:#fff; margin-top:32px; }
.contact-inner .btn:hover{ background:#fff; color:var(--navy); }

/* Generic content typography (about / profile / news detail / privacy) */
.prose{ max-width:720px; margin:0 auto; }
.prose h2{
  font-family:var(--serif); font-size:20px; font-weight:600;
  color:var(--navy); margin:44px 0 16px;
}
.prose h2:first-child{ margin-top:0; }
.prose p{ font-size:15px; color:#444; margin-bottom:18px; }
.prose p:last-child{ margin-bottom:0; }

/* About page */
.about-lead{ text-align:center; max-width:640px; margin:0 auto 64px; }
.about-lead p{ font-size:15px; color:#444; }
.about-signature{ text-align:right; max-width:720px; margin:48px auto 0; font-size:14px; color:#555; }
.company-table{
  max-width:760px; margin:0 auto; width:100%; border-collapse:collapse;
}
.company-table th, .company-table td{
  text-align:left; padding:20px 16px; border-top:1px solid #ddd; font-size:14px; vertical-align:top;
}
.company-table tr:last-child th, .company-table tr:last-child td{ border-bottom:1px solid #ddd; }
.company-table th{ width:140px; color:#666; font-weight:500; }
.company-table td{ color:#222; line-height:1.8; }

/* Profile page */
.exec-card{
  display:flex; gap:56px; align-items:flex-start;
  padding:64px 0; border-top:1px solid #ddd;
}
.exec-card:last-child{ border-bottom:1px solid #ddd; }
.exec-card.reverse{ flex-direction:row-reverse; }
.exec-card figure{ flex:0 0 240px; }
.exec-card figure img{ width:100%; aspect-ratio:2/3; object-fit:cover; }
.exec-card .exec-body{ flex:1; }
.exec-card .exec-en{ font-family:var(--en); font-size:13px; letter-spacing:.15em; color:#999; }
.exec-card .exec-name{ font-family:var(--serif); font-size:24px; font-weight:700; margin:6px 0 4px; }
.exec-card .exec-role{ font-size:13px; color:var(--navy); letter-spacing:.1em; margin-bottom:24px; }
.exec-timeline{ margin-bottom:24px; }
.exec-timeline .row{ display:grid; grid-template-columns:70px 1fr; gap:16px; font-size:13px; padding:6px 0; color:#555; }
.exec-timeline .row .year{ color:var(--navy); font-family:var(--en); }
.exec-card .exec-bio{ font-size:14px; color:#444; }

/* News detail */
.news-detail-head{ text-align:center; max-width:760px; margin:0 auto 48px; }
.news-detail-head time{ font-family:var(--en); font-size:14px; color:#888; display:block; margin-bottom:16px; }
.news-detail-head h1{ font-size:22px; font-weight:700; line-height:1.7; }
.news-back{ text-align:center; margin-top:56px; }

/* Contact form */
.contact-form{ max-width:640px; margin:48px auto 0; }
.form-row{ margin-bottom:28px; }
.form-row label{ display:block; font-size:13px; font-weight:700; margin-bottom:10px; letter-spacing:.05em; }
.form-row label .required{ color:#c0392b; font-weight:400; font-size:11px; margin-left:6px; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea{
  width:100%; padding:12px 14px; border:1px solid #ccc; font-size:14px; font-family:inherit;
  background:#fff;
}
.form-row textarea{ min-height:160px; resize:vertical; }
.form-row input:focus, .form-row textarea:focus{ outline:1px solid var(--navy); border-color:var(--navy); }
.form-consent{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:#444; }
.form-consent a{ color:var(--navy); text-decoration:underline; }
.form-note{ font-size:12px; color:#888; margin:20px 0 28px; line-height:1.8; }
.form-submit{ text-align:center; }

/* Privacy policy */
.policy-list{ counter-reset:policy; }
.policy-list h2::before{
  counter-increment:policy;
  content:counter(policy) ". ";
}

/* Footer */
footer{
  background:#f7f8fa; padding:56px 0 32px; text-align:center;
}
footer .logo img{ height:40px; margin:0 auto 20px; }
footer nav{
  display:flex; justify-content:center; gap:26px; flex-wrap:wrap;
  font-size:13px; margin-bottom:24px; color:#555;
}
footer nav a:hover{ color:var(--navy); }
footer .copyright{ font-size:12px; color:#999; }

@media (max-width:860px){
  section{ padding:80px 0; }
  .content-section{ padding:64px 0; }
  .service-item, .service-item.reverse{ flex-direction:column; gap:28px; }
  .service-item figure{ flex:none; width:100%; }
  .site-header nav{ display:none; }
  .hero-copy{ font-size:22px; letter-spacing:.12em; white-space:normal; }
  .hero-line{ margin:20px 0; }
  .hero-en{ letter-spacing:.25em; }
  .news-card{ grid-template-columns:1fr; gap:6px; }
  .exec-card, .exec-card.reverse{ flex-direction:column; gap:28px; }
  .exec-card figure{ flex:none; width:160px; }
  .company-table th{ width:100px; }
}
