/* ===================================================
   AKARIE株式会社 - ブランドスタイルシート
   =================================================== */

:root {
  --navy-900: #0d2a4d;
  --navy-800: #123660;
  --navy-700: #18467a;
  --blue-500: #1f7dc4;
  --blue-300: #5fb0e6;
  --gold-500: #f0b400;
  --gold-600: #c98f00;
  --cream: #faf9f5;
  --white: #ffffff;
  --ink-900: #1a2230;
  --ink-700: #3a4250;
  --gray-500: #6c7587;
  --gray-200: #e4e2dc;
  --border: #e3e0d8;
  --shadow: 0 12px 30px -12px rgba(13, 42, 77, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink-900);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.4;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* ===== TRIANGLE SIGNATURE MOTIF ===== */
.blade {
  display: inline-block;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid var(--gold-500);
  margin-right: 10px;
  transform: translateY(1px);
}

.eyebrow {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 14px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo-link img { height: 36px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-700);
  position: relative;
  padding: 6px 2px;
  transition: color .2s;
}

.main-nav a:hover { color: var(--navy-900); }

.main-nav a.active { color: var(--navy-900); font-weight: 700; }

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-500);
}

.btn-contact {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}

.btn-contact:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px; height: 22px;
  position: relative;
}

.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--navy-900); transition: all .25s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

/* ===== HERO (home) ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 70%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -6%;
  width: 560px; height: 560px;
  background: linear-gradient(135deg, var(--gold-500), var(--blue-300));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.12;
  transform: rotate(12deg);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -18%; left: 4%;
  width: 320px; height: 320px;
  background: var(--blue-300);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.08;
  transform: rotate(-25deg);
}

.hero-inner { position: relative; z-index: 2; max-width: 640px; }

.hero .eyebrow { color: var(--gold-500); }

.hero h1 {
  color: var(--white);
  font-size: 40px;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.hero p {
  color: rgba(255,255,255,0.86);
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-gold {
  display: inline-block;
  background: var(--gold-500);
  color: var(--navy-900) !important;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.btn-gold:hover { background: #ffc933; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white) !important;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

/* ===== PAGE BANNER (sub pages) ===== */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0 56px;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -30%; right: -4%;
  width: 320px; height: 320px;
  background: var(--gold-500);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.14;
  transform: rotate(20deg);
}

.page-banner .eyebrow { color: var(--gold-500); }
.page-banner h1 { color: var(--white); font-size: 32px; }
.page-banner p { color: rgba(255,255,255,0.82); margin-top: 12px; max-width: 560px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

.section-title {
  font-size: 28px;
  margin-bottom: 18px;
}

.section-lead {
  color: var(--ink-700);
  max-width: 640px;
  margin-bottom: 40px;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.card-num {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  color: var(--gold-600);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.card p { color: var(--ink-700); font-size: 14.5px; }

.card-link {
  display: inline-block;
  margin-top: 38px;
  color: var(--blue-500);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
.card-link:hover { color: var(--navy-900); }

/* ===== ABOUT SUMMARY (home) ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split .panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.panel-stat { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.panel-stat div { min-width: 130px; }
.panel-stat .num { font-size: 26px; font-weight: 700; color: var(--navy-900); font-family: 'Zen Kaku Gothic New', sans-serif; }
.panel-stat .label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ===== SERVICE DETAIL (services page) ===== */
.service-block {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }

.service-mark {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-mark .blade {
  border-bottom-color: var(--gold-500);
  border-left-width: 9px;
  border-right-width: 9px;
  border-bottom-width: 16px;
  margin: 0;
}

.service-block h3 { font-size: 21px; margin-bottom: 10px; }
.service-block .en-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--blue-500);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}
.service-block p { color: var(--ink-700); }

/* ===== TABLE (company info) ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td {
  padding: 18px 28px;
  font-size: 15px;
  vertical-align: top;
}
.info-table td:first-child {
  width: 200px;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--cream);
}
.info-table td:last-child { color: var(--ink-700); }

.map-frame {
  margin-top: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== CTA BAR ===== */
.cta-bar {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-bar h2 { color: var(--white); font-size: 26px; margin-bottom: 14px; }
.cta-bar p { color: rgba(255,255,255,0.82); margin-bottom: 30px; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}
.contact-card .label { font-size: 13px; color: var(--gray-500); letter-spacing: 0.06em; margin-bottom: 8px; }
.contact-card .value { font-size: 19px; font-weight: 700; color: var(--navy-900); }
.contact-card a.value { text-decoration: none; }
.contact-card .value:hover { color: var(--blue-500); }
.contact-note {
  margin-top: 32px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  color: var(--ink-700);
  font-size: 14.5px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-nav ul { list-style: none; display: flex; gap: 28px; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,0.78); font-size: 14px; }
.footer-nav a:hover { color: var(--gold-500); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .cards-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .service-block { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 65px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 18px 24px 26px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    transform: translateY(-110%); opacity: 0; transition: all .25s; gap: 18px; }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav ul { flex-direction: column; gap: 18px; width: 100%; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 76px; }
  .hero h1 { font-size: 26px; }
  .page-banner h1 { font-size: 25px; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
