/* コトバノチカラ – main stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ============================================================
   RESET / BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: #fff;
  color: #333;
  font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: #111; text-decoration: none; transition: color .2s; }
a:hover { color: #555; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   TOP BAR
============================================================ */
.top-bar {
  background: #000;
  padding: 7px 0;
  font-size: 13px;
  color: #ccc;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: #fff; }
.top-bar .top-bar-left, .top-bar .top-bar-right { display: flex; align-items: center; gap: 18px; }
.top-bar .top-bar-right { justify-content: flex-end; }
.top-bar i { margin-right: 5px; }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1010;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: #000;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* Logo SVG */
.logo-wrap a { display: flex; align-items: center; gap: 10px; }
.logo-wrap .logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.5px;
  transition: color .3s;
}
.site-header.scrolled .logo-wrap .logo-text { color: #fff; }
.site-header.scrolled .logo-wrap svg path { fill: #fff; }

/* Nav */
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
.main-nav ul li a:hover { background: #111; color: #fff; }
.site-header.scrolled .main-nav ul li a { color: #eee; }
.site-header.scrolled .main-nav ul li a:hover { background: #fff; color: #000; }

/* mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #111; margin: 5px 0; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: #fff; }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  min-height: 580px;
  background: #111 url('../pictures/bg-1.webp') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
}
.hero-content .hero-label {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  margin-bottom: 22px;
}
.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #ddd;
}
.btn-primary-dark {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
.btn-primary-dark:hover { background: #e0e0e0; color: #000; }
.btn-outline-dark {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 3px;
  margin-left: 12px;
  transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: #fff; color: #000; }

/* ============================================================
   SECTION COMMON
============================================================ */
.section { padding: 80px 0; }
.section-alt { background: #f7f7f7; }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-sub {
  font-size: 16px;
  color: #777;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

/* ============================================================
   STAT STRIP
============================================================ */
.stat-strip {
  background: #000;
  padding: 36px 0;
}
.stat-strip .stat-item { text-align: center; color: #fff; }
.stat-strip .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-strip .stat-label { font-size: 13px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   SERVICES GRID
============================================================ */
.service-card {
  border: 1px solid #ededed;
  padding: 36px 28px;
  transition: box-shadow .25s, transform .25s;
  background: #fff;
  height: 100%;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-4px); }
.service-card .svc-icon {
  font-size: 32px;
  color: #000;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: #666; line-height: 1.7; margin: 0; }
.service-card .svc-price {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}
.service-card .svc-price span { font-size: 13px; font-weight: 400; color: #999; }

/* ============================================================
   ABOUT / WHO WE ARE
============================================================ */
.about-img-wrap { position: relative; }
.about-img-main { width: 100%; height: 420px; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #000;
  color: #fff;
  padding: 24px 20px;
  text-align: center;
  width: 130px;
}
.about-img-badge strong { display: block; font-size: 36px; font-weight: 900; font-family: 'Montserrat', sans-serif; }
.about-img-badge span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

.checklist { list-style: none; padding: 0; margin: 24px 0 32px; }
.checklist li { padding: 6px 0 6px 30px; position: relative; font-size: 15px; color: #333; }
.checklist li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #000;
}

.btn-dark-solid {
  display: inline-block;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 34px;
  border-radius: 3px;
  transition: background .2s;
}
.btn-dark-solid:hover { background: #333; color: #fff; }

/* ============================================================
   PROCESS STEPS
============================================================ */
.step-card { text-align: center; padding: 30px 20px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}
.step-card h4 { font-size: 17px; font-weight: 700; color: #111; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: #666; line-height: 1.7; margin: 0; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-card {
  background: #fff;
  border: 1px solid #ededed;
  padding: 32px 28px;
  position: relative;
}
.testimonial-card .quote-icon {
  font-size: 40px;
  color: #e0e0e0;
  line-height: 1;
  margin-bottom: 14px;
  font-family: Georgia, serif;
}
.testimonial-card p { font-size: 15px; color: #444; line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testimonial-card .author { font-weight: 700; font-size: 14px; color: #111; }
.testimonial-card .author-role { font-size: 13px; color: #999; }
.stars { color: #000; font-size: 13px; margin-bottom: 14px; }

/* ============================================================
   FAQ
============================================================ */
.faq-item { border-bottom: 1px solid #ededed; padding: 20px 0; }
.faq-question {
  font-weight: 700;
  font-size: 16px;
  color: #111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question i { font-size: 14px; color: #999; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 400px; padding-top: 12px; }

/* ============================================================
   CTA BANNER
============================================================ */
.cta-section {
  background: #000 url('../pictures/bg-2.webp') center center / cover no-repeat;
  position: relative;
  padding: 90px 0;
  text-align: center;
}
.cta-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.cta-section .container { position: relative; z-index: 2; color: #fff; }
.cta-section h2 { font-size: 38px; font-weight: 800; font-family: 'Montserrat', sans-serif; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: #ccc; margin-bottom: 32px; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid #ededed;
  padding: 60px 0 0;
}
.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin-bottom: 14px;
}
.footer-about p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 18px; }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #111; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li a { font-size: 14px; color: #666; line-height: 2.1; transition: color .2s; }
.footer-links li a:hover { color: #000; }
.footer-contact p { font-size: 14px; color: #666; line-height: 1.8; }
.footer-contact i { margin-right: 8px; color: #000; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ededed;
  border-radius: 50%;
  color: #111;
  font-size: 14px;
  margin-right: 6px;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: #000; color: #fff; }
.footer-bottom {
  border-top: 1px solid #ededed;
  padding: 18px 0 22px;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #999;
}
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: #000; }

/* ============================================================
   COOKIE BANNER (GDPR)
============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  color: #ddd;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner a { color: #fff; text-decoration: underline; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: #fff;
  color: #000;
  border: none;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  transition: background .2s;
}
.btn-cookie-accept:hover { background: #ddd; }
.btn-cookie-decline {
  background: transparent;
  color: #aaa;
  border: 1px solid #555;
  padding: 9px 22px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  transition: color .2s, border-color .2s;
}
.btn-cookie-decline:hover { color: #fff; border-color: #aaa; }

/* ============================================================
   FORMS
============================================================ */
.contact-section { padding: 80px 0; }
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #000; outline: none; background: #fff; }
.form-group textarea { height: 140px; resize: vertical; }
.btn-submit {
  display: inline-block;
  background: #000;
  color: #fff;
  border: none;
  padding: 14px 42px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-submit:hover { background: #333; }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: #111;
  padding: 70px 0 60px;
  text-align: center;
  color: #fff;
}
.page-hero h1 { font-family: 'Montserrat', sans-serif; font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: #aaa; max-width: 520px; margin: 0 auto; }
.breadcrumb-bar { padding: 12px 0; font-size: 14px; }
.breadcrumb-bar a { color: #777; }
.breadcrumb-bar a:hover { color: #111; }

/* ============================================================
   LEGAL PAGES
============================================================ */
.legal-section { padding: 60px 0 80px; }
.legal-section h2 { font-size: 22px; font-weight: 700; color: #111; margin: 36px 0 12px; }
.legal-section h3 { font-size: 18px; font-weight: 700; color: #333; margin: 28px 0 10px; }
.legal-section p, .legal-section li { font-size: 15px; color: #555; line-height: 1.8; }
.legal-section ul { padding-left: 22px; margin-bottom: 18px; }
.legal-section a { color: #111; text-decoration: underline; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 34px; }
  .section-title { font-size: 28px; }
  .cta-section h2 { font-size: 28px; }
}

@media (max-width: 767px) {
  .top-bar { display: none; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; z-index: 2000; padding: 60px 30px 30px; flex-direction: column; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul li a { color: #fff !important; font-size: 18px; padding: 12px 0; }
  .main-nav ul li a:hover { background: none; color: #aaa !important; }
  .nav-toggle { display: block; }
  .hero-content h1 { font-size: 28px; }
  .hero-section { min-height: 400px; }
  .about-img-badge { right: 0; bottom: -10px; }
  .stat-strip .stat-num { font-size: 32px; }
  .section-title { font-size: 24px; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}
