/*
Theme Name: SDK INC. Theme
Theme URI: https://sdk-hokkaido.com/
Author: opticaldesign
Author URI: https://opticaldesignare.jp/
Description: SDK株式会社用WordPressテーマ
Version: 2.0
*/

:root {
  --black: #111110;
  --white: #f5f4f0;
  --dark: #1a1916;
  --gray-100: #eae9e4;
  --gray-200: #d0cfc9;
  --gray-400: #888780;
  --gray-600: #4a4947;
  --font-display: "Bebas Neue", sans-serif;
  --font-en: "DM Sans", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(245, 244, 240, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.logo {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--black);
  text-decoration: none;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-link img {
  height: 40px;
}
.logo-link-text {
  display: flex;
  flex-direction: column;
  gap: 0px;
  justify-content: center;
}
.logo-link-name {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1;
}
.logo-link-since {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  line-height: 1.35;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--black);
}
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  font-size: 12px !important;
}
.nav-cta:hover {
  background: var(--gray-600) !important;
}
.sdk-hamburger-btn,
.sdk-nav-overlay,
.sdk-nav-drawer {
  display: none;
}
body.sdk-menu-open {
  overflow: hidden;
}

.subpage-header {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-wrap img {
  height: 40px;
  width: auto;
}
.logo-wrap > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  transform: scaleX(0.86) scaleY(1.12);
  transform-origin: left center;
}
.logo-text {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1;
}
.logo-since {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  line-height: 1;
}
.header-back {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.header-back:hover {
  color: var(--black);
}
.header-back::before {
  content: "\2190";
}

/* Mobile hamburger drawer */
@media (max-width: 900px) {
  .sdk-hamburger-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px;
    position: relative;
    z-index: 103;
  }
  .sdk-hamburger-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--black);
    transition:
      transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
      opacity 0.2s ease,
      width 0.3s ease;
    transform-origin: center;
  }
  .sdk-hamburger-btn.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .sdk-hamburger-btn.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .sdk-hamburger-btn.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .sdk-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition:
      background 0.35s ease,
      visibility 0s 0.35s;
    z-index: 101;
  }
  .sdk-nav-overlay.is-open {
    background: rgba(0, 0, 0, 0.5);
    visibility: visible;
    transition:
      background 0.35s ease,
      visibility 0s 0s;
  }

  .sdk-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(92vw, 420px);
    height: 100dvh;
    background: var(--white);
    z-index: 102;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid var(--gray-200);
  }
  .sdk-nav-drawer.is-open {
    right: 0;
  }
  .sdk-drawer-header {
    height: 72px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px;
  }
  .sdk-drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition:
      background 0.2s,
      color 0.2s;
  }
  .sdk-drawer-close:hover {
    background: var(--gray-100);
    color: var(--black);
  }
  .sdk-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
  }
  .sdk-nav-section-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    padding: 20px 24px 8px;
    text-transform: uppercase;
  }
  .sdk-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    color: var(--black);
    transition: background 0.15s;
  }
  .sdk-nav-item:hover {
    background: var(--gray-100);
  }
  .sdk-nav-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .sdk-nav-num {
    font-size: 10px;
    color: var(--gray-400);
    width: 18px;
    letter-spacing: 0.05em;
    font-family: var(--font-en);
  }
  .sdk-nav-label {
    font-size: 15px;
    color: var(--black);
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .sdk-nav-arrow {
    font-size: 14px;
    color: var(--gray-400);
  }
  .sdk-drawer-cta {
    padding: 18px 24px 28px;
    border-top: 1px solid var(--gray-100);
    background: var(--white);
  }
  .sdk-drawer-cta-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--black);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
  }
}

#top {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px;
}
.hero-right {
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gray-400);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.hero-title .gray {
  color: var(--gray-400);
}
.hero-sub {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-600);
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 40px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--black);
  text-align: center;
}
.stat-num sup {
  font-size: 16px;
}
.stat-label {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  margin-top: 4px;
  text-align: center;
}
.hero-btns {
  display: flex;
  gap: 12px;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 14px 32px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: var(--gray-600);
}
.btn-secondary {
  background: transparent;
  color: var(--black);
  padding: 14px 32px;
  font-size: 13px;
  font-family: var(--font-body);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s;
}
.btn-secondary:hover {
  border-color: var(--black);
}
.hero-deco {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 100px;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  pointer-events: none;
}

.reasons {
  background: var(--dark);
  color: var(--white);
  padding: 100px 48px;
}
.reasons .section-tag {
  color: var(--gray-400);
}
.reasons .section-tag::before {
  background: var(--gray-400);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.section-desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 56px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-600);
  border: 1px solid var(--gray-600);
}
.reason-card {
  background: var(--dark);
  padding: 36px 28px;
  position: relative;
  transition: background 0.25s;
}
.reason-card:hover {
  background: #252422;
}
.reason-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
}
.reason-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.reason-icon img {
  max-width: 100%;
  height: auto;
}
.reason-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--white);
}
.reason-text {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.9;
}

.services {
  padding: 100px 48px;
  background: var(--white);
}
.services .section-desc {
  color: var(--gray-600);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: stretch;
}
/* 1段目3枚＋2段目2枚（同じ幅のまま左右に間を空けて中央寄せ） */
.services-grid .service-card:nth-child(1) {
  grid-column: 1 / 3;
}
.services-grid .service-card:nth-child(2) {
  grid-column: 3 / 5;
}
.services-grid .service-card:nth-child(3) {
  grid-column: 5 / 7;
}
.services-grid .service-card:nth-child(4) {
  grid-column: 2 / 4;
}
.services-grid .service-card:nth-child(5) {
  grid-column: 4 / 6;
}
.service-card {
  border: 1px solid var(--gray-200);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s,
    transform 0.25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}
.service-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gray-200);
  position: absolute;
  top: -8px;
  right: 12px;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.service-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.service-text {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}
.service-price {
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 12px;
  color: var(--gray-400);
  position: relative;
  z-index: 1;
}
.service-price strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  margin-top: 4px;
}

.area {
  padding: 100px 48px;
  background: var(--gray-100);
}
.area .section-desc {
  color: var(--gray-600);
}
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.area-map {
  aspect-ratio: 4/3;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}
.area-map img {
  width: 100%;
  height: auto;
}
.area-map-label {
  position: absolute;
  font-size: 11px;
  color: var(--gray-600);
  letter-spacing: 0.05em;
}
.area-list {
  display: flex;
  flex-direction: column;
}
.area-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.area-item:first-child {
  border-top: 1px solid var(--gray-200);
}
.area-name {
  font-size: 15px;
  font-weight: 500;
}
.area-badge {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  background: var(--black);
  color: var(--white);
  padding: 4px 12px;
}
.area-badge.gray {
  background: var(--gray-200);
  color: var(--gray-600);
}

.voice {
  padding: 100px 48px;
  background: var(--white);
}
.voice .section-desc {
  color: var(--gray-600);
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.voice-card {
  border: 1px solid var(--gray-200);
  padding: 28px;
  transition: border-color 0.2s;
}
.voice-card:hover {
  border-color: var(--black);
}
.voice-stars {
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--black);
}
.voice-quote {
  font-size: 28px;
  color: var(--gray-200);
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.voice-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--black);
}
.voice-text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.voice-author {
  font-size: 12px;
  color: var(--gray-400);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}
.voice-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.voice-more {
  text-align: center;
  margin-top: 48px;
}
.voice-pagination {
  text-align: center;
  margin-top: 48px;
}
.voice-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.voice-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 13px;
  font-family: var(--font-en);
  color: var(--gray-600);
  text-decoration: none;
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}
.voice-pagination .page-numbers.current {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.voice-pagination .page-numbers:hover {
  border-color: var(--black);
  color: var(--black);
}
.voice-pagination .prev,
.voice-pagination .next {
  width: auto;
  padding: 0 16px;
  font-family: var(--font-body);
}

.voice-stars-hero {
  font-size: 16px;
  letter-spacing: 2px;
}
.voice-author-hero {
  margin-left: 16px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.voice-single-body {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-600);
  margin-bottom: 48px;
}
.voice-single-body p {
  margin-bottom: 16px;
}
.voice-single-meta {
  background: var(--gray-100);
  padding: 28px 32px;
  margin-bottom: 48px;
  border-left: 3px solid var(--black);
}
.voice-single-meta-label {
  font-size: 11px;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.voice-single-meta-stars {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.voice-single-meta-author {
  font-size: 14px;
  color: var(--gray-600);
}
.voice-single-nav {
  text-align: center;
}

.company {
  padding: 100px 48px;
  background: var(--gray-100);
}
.company .section-desc {
  color: var(--gray-600);
}
.company-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.company-img {
  aspect-ratio: 4/3;
  background: var(--gray-200);
  overflow: hidden;
}
.company-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--gray-200);
}
.company-table tr:first-child {
  border-top: 1px solid var(--gray-200);
}
.company-table th {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 16px 0;
  text-align: left;
  width: 140px;
  vertical-align: top;
}
.company-table td {
  font-size: 13px;
  color: var(--black);
  padding: 16px 0;
  line-height: 1.8;
}

.cta-section {
  background: var(--dark);
  color: var(--white);
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "SDK INC.";
  position: absolute;
  font-family: var(--font-display);
  font-size: 180px;
  color: rgba(255, 255, 255, 0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.cta-section .section-tag {
  justify-content: center;
  color: var(--gray-400);
}
.cta-section .section-tag::before {
  background: var(--gray-400);
}
.cta-section .section-title {
  color: var(--white);
}
.cta-desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.9;
  margin: 16px auto 44px;
  max-width: 480px;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn-white {
  background: var(--white);
  color: var(--black);
  padding: 16px 44px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-white:hover {
  background: var(--gray-100);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 16px 44px;
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  border: 1px solid var(--gray-600);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s;
}
.btn-outline-white:hover {
  border-color: var(--white);
}
.tel-block {
  margin-top: 48px;
}
.tel-block span {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  font-weight: 300;
  margin-bottom: 6px;
}
.tel-block a {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.tel-block a:hover {
  color: var(--gray-400);
}

.cta-section .sales-decline-notice {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 40px auto 0;
  padding-top: 28px;
  font-size: 11px;
  line-height: 1.75;
  color: rgba(245, 244, 240, 0.72);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact {
  padding: 100px 48px;
  background: var(--white);
}
.contact .section-desc {
  color: var(--gray-600);
  margin-bottom: 48px;
}
.contact-inner {
  max-width: 620px;
  margin: 0 auto;
}
.field {
  margin-bottom: 22px;
}
.field-last {
  margin-bottom: 24px;
}
.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.field-label span {
  font-size: 13px;
  font-weight: 500;
}
.badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
}
.badge.required {
  background: #fdf0ee;
  color: #c0392b;
}
.badge.optional {
  background: var(--gray-100);
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
}
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--black);
  outline: none;
  appearance: none;
  transition: border-color 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--black);
}
input::placeholder,
textarea::placeholder {
  color: var(--gray-400);
  font-size: 13px;
}
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "\25BC";
  font-size: 10px;
  color: var(--gray-400);
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.field-note {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 4px;
}
textarea {
  height: 110px;
  resize: vertical;
  line-height: 1.8;
}
.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.radio-grid.col3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-600);
  transition:
    border-color 0.2s,
    background 0.2s;
  user-select: none;
}
.radio-item:hover,
.checkbox-item:hover {
  border-color: var(--black);
  background: var(--gray-100);
}
.radio-item input,
.checkbox-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
  flex-shrink: 0;
  cursor: pointer;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 20px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.section-head-title {
  font-size: 15px;
  font-weight: 500;
}
.section-head-note {
  font-size: 11px;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  padding: 2px 10px;
  border-radius: 999px;
}
.privacy-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--gray-100);
  padding: 16px;
  margin-bottom: 24px;
}
.privacy-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--black);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.privacy-box label {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
  cursor: pointer;
}
.privacy-box a {
  color: var(--black);
  text-decoration: underline;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover {
  background: var(--gray-600);
}
.success-msg {
  display: none;
  text-align: center;
  padding: 48px 0;
}
.success-msg.show {
  display: block;
}
.error-msg {
  border: 1px solid #e2b8b5;
  background: #fff5f4;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.error-title {
  font-size: 14px;
  font-weight: 600;
  color: #9b2c24;
  margin-bottom: 6px;
}
.error-text {
  font-size: 13px;
  color: #6b4a47;
  line-height: 1.8;
}
.success-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.success-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.success-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.9;
}

footer {
  background: var(--dark);
  border-top: 1px solid var(--gray-600);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  display: block;
  height: 16px;
  width: auto;
}
.footer-logo-text {
  display: inline-block;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: var(--gray-200);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-copy {
  font-size: 11px;
  color: var(--gray-400);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

.sdk-float-links {
  position: fixed;
  right: 0;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  max-width: calc(100vw - 32px);
}
.sdk-float-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 56px;
  min-height: 168px;
  padding: 18px 10px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(17, 17, 16, 0.18);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.sdk-float-link__label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.22em;
  text-align: center;
}
.sdk-float-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  align-self: center;
}
.sdk-float-link__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.sdk-float-link__icon--line img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.sdk-float-link--line .sdk-float-link__label {
  color: var(--black);
}
.sdk-float-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(17, 17, 16, 0.22);
}
.sdk-float-link--outline {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
}
.sdk-float-link--outline:hover {
  border-color: var(--black);
}
.sdk-float-link--outline.sdk-float-link--line:hover {
  border-color: #06c755;
}
.sdk-float-link--solid {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.sdk-float-link--solid:hover {
  background: var(--gray-600);
  border-color: var(--gray-600);
}
body.sdk-loading .sdk-float-links {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 600px) {
  .sdk-float-links {
    left: auto;
    right: 8px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 16px);
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .sdk-float-link {
    min-height: 148px;
    padding: 14px 8px;
    font-size: 12px;
    gap: 8px;
    border-radius: 4px;
    flex-direction: column;
  }
  .sdk-float-link__label {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.18em;
    text-align: center;
  }
  .sdk-float-link__icon img {
    width: 26px;
    height: 26px;
  }
  .sdk-float-link__icon--line img {
    width: 24px;
    height: 24px;
  }
}
@media print {
  .sdk-float-links {
    display: none !important;
  }
}

.breadcrumb {
  background: var(--gray-100);
  padding: 12px 48px;
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  font-size: 12px;
  color: var(--gray-400);
  font-family: var(--font-body);
}
.breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--gray-200);
}
.breadcrumb a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--black);
}

.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 80px 48px 64px;
}
.page-tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gray-400);
}
.page-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.page-subtitle {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.8;
}
.page-date {
  font-size: 12px;
  color: var(--gray-400);
  font-family: var(--font-en);
  letter-spacing: 0.08em;
}

.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 48px 100px;
}
.content-wrap.wide {
  max-width: 900px;
}

.intro {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 48px;
}
.info-table tr {
  border-bottom: 1px solid var(--gray-200);
}
.info-table tr:first-child {
  border-top: 1px solid var(--gray-200);
}
.info-table th {
  font-weight: 500;
  color: var(--black);
  background: var(--gray-100);
  padding: 18px 20px;
  text-align: left;
  width: 200px;
  vertical-align: top;
  white-space: nowrap;
}
.info-table td {
  color: var(--gray-600);
  padding: 18px 20px;
  line-height: 1.9;
  vertical-align: top;
}

.sub-section-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--black);
  line-height: 1.5;
}

.policy-section {
  margin-bottom: 52px;
}
.policy-section h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--black);
  line-height: 1.5;
}
.policy-section p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 12px;
}
.policy-section ul {
  margin: 12px 0 12px 20px;
}
.policy-section ul li {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 6px;
  list-style: disc;
}
.policy-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}
.policy-section table th,
.policy-section table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.8;
  vertical-align: top;
}
.policy-section table th {
  font-weight: 500;
  color: var(--black);
  background: var(--gray-100);
  width: 180px;
  white-space: nowrap;
}
.policy-section table td {
  color: var(--gray-600);
}

.note-box {
  background: var(--gray-100);
  border-left: 3px solid var(--gray-400);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}

.contact-box {
  background: var(--dark);
  color: var(--white);
  padding: 40px;
  margin-top: 64px;
}
.contact-box h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-600);
}
.contact-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.contact-box table th,
.contact-box table td {
  padding: 10px 0;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.8;
  vertical-align: top;
}
.contact-box table th {
  font-weight: 400;
  color: var(--gray-400);
  width: 160px;
}
.contact-box table td {
  color: var(--white);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.group-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
}
.group-label::before {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gray-400);
}
.sitemap-list {
  list-style: none;
}
.sitemap-list li {
  margin-bottom: 2px;
}
.sitemap-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--gray-600);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.sitemap-list li a:hover {
  color: var(--black);
  border-color: var(--gray-200);
  background: var(--gray-100);
}
.sitemap-list li a::before {
  content: "\2192";
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--gray-400);
  flex-shrink: 0;
}
.sitemap-list li a .link-desc {
  display: block;
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 1px;
  letter-spacing: 0.02em;
}
.sitemap-list li.sub a {
  padding-left: 28px;
  font-size: 12px;
}
.sitemap-list li.sub a::before {
  content: "L";
  font-size: 10px;
}

.index-main {
  max-width: 900px;
  margin: 40px auto;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-left > * {
  animation: fadeUp 0.7s ease both;
}
.hero-left > *:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-left > *:nth-child(2) {
  animation-delay: 0.2s;
}
.hero-left > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero-left > *:nth-child(4) {
  animation-delay: 0.4s;
}
.hero-left > *:nth-child(5) {
  animation-delay: 0.5s;
}

/* スクロールで各セクションが表示（#top ヒーローは除外） */
@media (prefers-reduced-motion: no-preference) {
  main > section:not(#top) {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.75s ease,
      transform 0.75s ease;
  }
  main > section:not(#top).is-inview {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  header {
    padding: 14px 24px;
  }
  .logo-link-text {
    transform: none;
    gap: 2px;
  }
  .logo-link-name {
    font-size: 18px;
    letter-spacing: 0.01em;
    line-height: 1.05;
  }
  .logo-link-since {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  header > nav {
    display: none;
  }
  #top {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  #top .hero-right {
    order: -1;
  }
  #top > div:last-child {
    min-height: 56vh;
  }
  .hero-left {
    padding: 40px 24px;
  }
  .hero-title {
    font-size: 36px;
  }
  .reasons {
    padding: 60px 24px;
  }
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services {
    padding: 60px 24px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }
  .area {
    padding: 60px 24px;
  }
  .area-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .voice {
    padding: 60px 24px;
  }
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .company {
    padding: 60px 24px;
  }
  .company-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .company-table tr {
    display: block;
    padding: 18px 0;
  }
  .company-table tr:first-child {
    padding-top: 0;
  }
  .company-table th {
    display: block;
    width: 100%;
    padding: 0 0 8px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--gray-600);
  }
  .company-table td {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 14px;
    line-height: 1.75;
    word-break: break-word;
  }
  .cta-section {
    padding: 60px 24px;
  }
  .cta-section .sales-decline-notice {
    margin-top: 32px;
    padding-top: 24px;
    font-size: 10px;
  }
  .contact {
    padding: 60px 24px;
  }
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  .breadcrumb {
    padding: 10px 24px;
  }
  .page-hero {
    padding: 48px 24px 40px;
  }
  .content-wrap {
    padding: 40px 24px 60px;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .radio-grid {
    grid-template-columns: 1fr;
  }
  .radio-grid.col3 {
    grid-template-columns: 1fr;
  }
  .info-table th {
    width: 140px;
  }
}

@media (max-width: 600px) {
  #top > div:last-child {
    min-height: 44vh;
  }
  header {
    padding: 12px 16px;
  }
  .logo-link img {
    height: 28px;
  }
  .logo-link {
    gap: 6px;
  }
  .logo-link-text {
    gap: 1px;
  }
  .logo-link-name {
    font-size: 16px;
    letter-spacing: 0;
  }
  .logo-link-since {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  header > nav {
    display: none;
  }
  .hero-left {
    padding: 32px 16px;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }
  .cta-btns {
    flex-direction: column;
  }
  .tel-block a {
    font-size: 28px;
  }
  .breadcrumb {
    padding: 8px 16px;
  }
  .breadcrumb li {
    font-size: 11px;
  }
  .page-hero {
    padding: 32px 16px;
  }
  .page-title {
    font-size: 24px;
  }
  .content-wrap {
    padding: 32px 16px 48px;
  }
  .info-table th {
    width: auto;
    display: block;
  }
  .info-table td {
    display: block;
  }
  .company {
    padding: 48px 16px;
  }
  .company-table tr {
    padding: 16px 0;
  }
  .company-table th {
    font-size: 11px;
  }
  .company-table td {
    font-size: 13px;
  }
  .footer-logo {
    flex-direction: column;
    gap: 6px;
  }
  .footer-logo-text {
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1;
  }
  .footer-logo-img {
    height: 32px;
    margin-bottom: 16px;
  }
}

/* フロントページ初期ローディング（HTML/sdk_loading.html） */
body.sdk-loading {
  overflow: hidden;
}
.sdk-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #111110;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}
.sdk-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.sdk-loader-inner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdk-loader-logo-group {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: scale(0.4);
}
.sdk-loader-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.sdk-loader-logo-wrap .sdk-loader-logo-img {
  height: 54px;
  width: auto;
  display: block;
  opacity: 0;
  transform: scale(0.92);
}
.sdk-loader-logo-wrap.is-visible .sdk-loader-logo-img {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.sdk-loader-divider {
  width: 1px;
  height: 52px;
  background: #444;
  flex-shrink: 0;
  opacity: 0;
}
.sdk-loader-logo-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sdk-loader-sdk {
  font-family: var(--font-en), "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
  line-height: 1;
  clip-path: inset(0 100% 0 0);
}
.sdk-loader-ing-row {
  font-family: var(--font-en), "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.38em;
  color: #888780;
  line-height: 1;
  margin-left: 2px;
  min-height: 16px;
  opacity: 0;
}
.sdk-loader-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--white);
  width: 0%;
}
