/*
Theme Name: Ekuipp Corporate
Theme URI: https://ekuipp.co.jp
Author: Ekuipp Corporation
Description: Ekuipp Corporation website theme
Version: 1.0
*/

/* ===========================
   CSS Variables
=========================== */
:root {
  --navy: #0F2B5B;
  --navy-dark: #081A38;
  --blue: #1E73BE;
  --blue-light: #EBF4FF;
  --text: #1A1A1A;
  --text-light: #666666;
  --bg: #FFFFFF;
  --bg-gray: #F5F7FA;
  --border: #E0E5ED;
  --white: #FFFFFF;
  --max-width: 1100px;
  --radius: 4px;
}

/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { opacity: 0.8; }

ul { list-style: none; }

/* ===========================
   Layout
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--bg-gray);
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 640px;
}

.section-header {
  margin-bottom: 56px;
}

/* ===========================
   Header / Navigation
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo__mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -1px;
}

.site-logo__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.site-logo__sub {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 400;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--blue); opacity: 1; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.header-cta:hover { background: var(--navy-dark); opacity: 1; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: 0.3s;
}

/* ===========================
   Hero
=========================== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a4080 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(30, 115, 190, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: #7DBFFF;
}

.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.9;
  margin-bottom: 40px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover { background: #1660A8; border-color: #1660A8; opacity: 1; }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover { background: rgba(255,255,255,0.1); opacity: 1; }

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover { background: var(--navy-dark); opacity: 1; }

/* ===========================
   Stats (achievements)
=========================== */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stats__item {
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid var(--border);
}

.stats__item:last-child { border-right: none; }

.stats__num {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stats__num span {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--blue);
}

.stats__label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* ===========================
   Services
=========================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(15, 43, 91, 0.1);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link::after { content: '\2192 '; }

/* ===========================
   Trust / Why Us
=========================== */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-item__icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: white;
}

.trust-item__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.trust-item__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===========================
   Company highlight
=========================== */
.company-highlight {
  background: var(--navy);
  padding: 64px 0;
}

.company-highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.company-highlight__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #7DBFFF;
  margin-bottom: 12px;
}

.company-highlight__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
}

.company-highlight__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 32px;
}

.company-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 14px 18px;
}

.badge__icon { font-size: 20px; }

.badge__text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ===========================
   CTA Banner
=========================== */
.cta-banner {
  background: var(--bg-gray);
  padding: 80px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.cta-banner__desc {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.cta-banner__phone {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cta-banner__hours {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Footer
=========================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo__mark {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.footer-logo__text {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.footer-company-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-permit {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.footer-nav__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===========================
   Page: About
=========================== */
.page-hero {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.page-hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 8px;
}

.page-hero__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--navy);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border);
}

.company-table th {
  width: 200px;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-gray);
  text-align: left;
  vertical-align: top;
}

.company-table td {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

/* ===========================
   Page: Services
=========================== */
.services-detail__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.service-detail:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.service-detail:nth-child(even) .service-detail__visual {
  order: -1;
}

.service-detail__num {
  font-size: 64px;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 8px;
}

.service-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-detail__desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 24px;
}

.service-detail__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-detail__points li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.service-detail__points li::before {
  content: '\2713 ';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.service-detail__visual {
  background: var(--bg-gray);
  border-radius: 8px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

/* ===========================
   Page: Contact
=========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}

.contact-info__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-info__phone {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info__hours {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info__item {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-info__item strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 2px;
}

/* Contact Form 7 styles */
.wpcf7-form .form-row {
  margin-bottom: 20px;
}

.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.wpcf7-form .required-mark {
  color: #E53E3E;
  margin-left: 4px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.1);
}

.wpcf7-form textarea { height: 160px; resize: vertical; }

.wpcf7-form input[type="submit"] {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.wpcf7-form input[type="submit"]:hover { background: var(--navy-dark); }

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .site-nav { display: none; }
  .site-nav.is-open { display: block; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px; }
  .site-nav.is-open ul { flex-direction: column; gap: 0; }
  .site-nav.is-open li { border-bottom: 1px solid var(--border); }
  .site-nav.is-open a { display: block; padding: 14px 0; }
  .site-nav.is-open .header-cta { margin-top: 12px; width: 100%; justify-content: center; }
  .menu-toggle { display: flex; }

  .hero { padding: 64px 0 56px; }

  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-right: none; border-bottom: 1px solid var(--border); }
  .stats__item:last-child { border-bottom: none; }

  .services__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }

  .company-highlight__inner { grid-template-columns: 1fr; gap: 32px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .company-table th { width: 120px; padding: 14px 12px; }
  .company-table td { padding: 14px 12px; }

  .service-detail { grid-template-columns: 1fr; padding: 28px; }
  .service-detail:nth-child(even) { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail__visual { order: 0; }

  .contact-layout { grid-template-columns: 1fr; }
}


/* ===========================
   Gutenberg block content (generic pages e.g. privacy policy)
=========================== */
.wp-block-paragraph,
.wp-block-heading,
.wp-block-list {
  max-width: 760px;
}

.wp-block-paragraph {
  margin-bottom: 1.5em;
  line-height: 1.9;
  color: var(--text);
}

.wp-block-heading {
  margin-top: 2.4em;
  margin-bottom: 1em;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 700;
}

h2.wp-block-heading {
  font-size: 1.5rem;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--border);
}

h3.wp-block-heading {
  font-size: 1.15rem;
}

.wp-block-list {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.wp-block-list li {
  margin-bottom: 0.6em;
  line-height: 1.9;
}

section.section > .container > .wp-block-paragraph:first-child,
section.section > .container > .wp-block-heading:first-child {
  margin-top: 0;
}