/* =======================
   Base
   ======================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
    "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  color: #111111;
  background-color: #ffffff;
  line-height: 1.7;
  font-size: 15px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* =======================
   Header
   ======================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e0e0e0;
}

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

.logo img {
  height: 32px;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.nav a {
  text-transform: uppercase;
}

.nav a:hover {
  text-decoration: none;
  border-bottom: 1px solid #111111;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 7px 0;
  background: #111111;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* =======================
   HERO - Geometric Block (135deg & lighter)
   ======================= */

.hero {
  position: relative;
  padding: 120px 0 110px;
  background: #0f0f0f; /* ベース黒 */
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid #222;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 50vh;
  position: relative;
  z-index: 2; /* テキストを帯の前に出す */
}

/* ▼右側の斜めブロック（135° / 少し明るめ） */
.hero::after {
  content: "";
  position: absolute;
  right: -15%;
  top: 0;
  width: 55%;
  height: 100%;
  background: #2a2a2a;     /* ★ 黒より2段階明るくして視認性UP */
  transform: skewX(-10deg); /* ★ 角度変更：135°の斜め帯 */
  opacity: 0.85;
  z-index: 1;
}

/* テキスト類 */
.hero-tagline-en {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbbbbb;
  margin: 0 0 14px;
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 18px;
  line-height: 1.5;
}

.hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #dddddd;
  margin-bottom: 28px;
}

/* =======================
   CTA Button - Visible on black
   ======================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;

  background: #f7f7f7;      /* ★ "真っ白すぎない" 白 → 黒と相性◎ */
  color: #000;
  border: 1px solid #ffffff;

  /* ★ 常時光で視認性を確保 */
  box-shadow:
    0 0 6px rgba(255,255,255,0.55),
    0 0 12px rgba(255,255,255,0.35);

  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow:
    0 0 10px rgba(255,255,255,0.85),
    0 0 20px rgba(255,255,255,0.55);
}

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

  .hero::after {
    right: -30%; /* SPは帯を少し控えめに */
    width: 75%;
    transform: skewX(-135deg);
    opacity: 0.75;
  }

  .hero-title {
    font-size: 26px;
  }
}
/* =======================
   Section
   ======================= */

.section {
  padding: 64px 0;
}

.section-gray {
  background: #f9f9f9;
}

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

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777777;
  margin: 0 0 8px;
}

.section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

/* Text block */

.text-block {
  max-width: 760px;
}

.bullet-list {
  padding-left: 1.5em;
  margin: 0;
}

.bullet-list li {
  margin-bottom: 8px;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cards-vertical {
  grid-template-columns: 1fr;
}

.card {
  border-radius: 12px;
  padding: 20px 20px 18px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
}

.card-plain {
  background: transparent;
}

.card-title {
  font-size: 16px;
  margin: 0 0 8px;
}

.card-text {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.about-text {
  font-size: 14px;
  color: #444444;
}

.about-block {
  margin-bottom: 24px;
}

.subheading {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.company-info {
  margin: 0;
  font-size: 13px;
}

.company-info div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px 16px;
  margin-bottom: 8px;
}

.company-info dt {
  font-weight: 500;
  color: #666666;
}

.company-info dd {
  margin: 0;
}

/* Contact */

.contact-intro,
.contact-note {
  font-size: 14px;
  color: #444444;
  margin: 0 0 24px;
}

.contact-form {
  max-width: 640px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.required {
  color: #e53935;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #111111;
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #111111;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  text-decoration: none;
  background: #ffffff;
  color: #111111;
}

/* =======================
   Footer
   ======================= */

.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 16px 0 20px;
  font-size: 12px;
  color: #777777;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-info a {
  text-decoration: underline;
}

/* =======================
   Responsive
   ======================= */

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav {
    position: fixed;
    inset: 56px 0 auto 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    flex-direction: column;
    padding: 12px 16px 16px;
    gap: 12px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    padding-top: 56px;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-title {
    font-size: 22px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}