/* =========================================================
   KANTOF JAPAN 合同会社  Webサイト
   Base: White × Sky Blue / Modern & Refined
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== VARIABLES ===== */
:root {
  --sky-50:  #f3fbff;
  --sky-100: #e3f3fb;
  --sky-200: #c5e6f6;
  --sky-300: #8ed1ec;
  --sky-400: #4fb8e0;
  --sky-500: #1ea0d4;   /* メインスカイブルー */
  --sky-600: #0f7fb0;
  --sky-700: #0a5e85;
  --navy:    #0d2b4e;
  --text:    #1a2a3a;
  --muted:   #6b7a8d;
  --line:    #e6eef5;
  --white:   #ffffff;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 14px rgba(13, 43, 78, 0.06);
  --shadow:    0 12px 32px rgba(13, 43, 78, 0.08);
  --shadow-lg: 0 24px 48px rgba(13, 43, 78, 0.12);

  --container: 1160px;
  --header-h:  72px;
}

/* ===== BODY ===== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

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

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

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ロゴ */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%,
              #ffffff 0%,
              #cfe9f7 35%,
              var(--sky-500) 75%,
              var(--sky-700) 100%);
  box-shadow:
    inset 0 -3px 8px rgba(13, 43, 78, 0.25),
    inset 0 3px 6px rgba(255, 255, 255, 0.7),
    0 6px 14px rgba(30, 160, 212, 0.25);
  flex-shrink: 0;
}

.logo-mark--sm {
  width: 36px;
  height: 36px;
}

.logo-mark__inner {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  letter-spacing: 0;
}

/* ロゴ画像（images/logo.png）が存在する場合は前面に表示 */
.logo-mark {
  position: relative;
  overflow: hidden;
}

.logo-mark__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  z-index: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text__en {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.06em;
}

.logo-text__jp {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.1em;
}

/* PCナビ */
.gnav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

.gnav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.gnav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sky-500);
  transition: width 0.25s ease, left 0.25s ease;
}

.gnav a:hover {
  color: var(--sky-500);
}

.gnav a:hover::after {
  width: 100%;
  left: 0;
}

/* ハンバーガー */
.nav-toggle {
  width: 40px;
  height: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* モバイルナビ */
.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-nav ul {
  padding: 8px 24px 16px;
}

.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.mobile-nav li:last-child a {
  border-bottom: 0;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%,
      rgba(143, 209, 236, 0.55) 0%,
      rgba(143, 209, 236, 0) 60%),
    radial-gradient(ellipse 70% 70% at 15% 85%,
      rgba(30, 160, 212, 0.35) 0%,
      rgba(30, 160, 212, 0) 65%),
    linear-gradient(180deg, #ffffff 0%, var(--sky-50) 60%, var(--sky-100) 100%);
}

/* 背景画像（images/hero.jpg）：読み込み成功時のみ表示・トーンを白＋スカイで馴染ませる */
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(227, 243, 251, 0.6) 100%);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(13, 43, 78, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 43, 78, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__inner {
  padding: 80px 24px;
  width: 100%;
}

.hero__lead {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-600);
  letter-spacing: 0.3em;
  margin-bottom: 18px;
  position: relative;
  padding-left: 56px;
}

.hero__lead::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--sky-500);
}

.hero__title {
  font-size: clamp(28px, 5.6vw, 56px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero__title-em {
  background: linear-gradient(120deg, var(--sky-500) 0%, var(--sky-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--text);
  line-height: 2;
  max-width: 620px;
  margin-bottom: 40px;
}

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

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1.5px solid var(--sky-500);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  background: var(--sky-500);
  border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  min-height: 52px;
}

.btn--primary {
  background: linear-gradient(120deg, var(--sky-500) 0%, var(--sky-600) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(30, 160, 212, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 160, 212, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy);
  border: 1.5px solid var(--sky-300);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: #fff;
  border-color: var(--sky-500);
  color: var(--sky-600);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  padding: 18px 28px;
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 18px 28px;
}
.btn--outline:hover {
  background: #fff;
  color: var(--sky-600);
}

.btn--line {
  background: #06c755;
  color: #fff;
  padding: 18px 28px;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.35);
}
.btn--line:hover {
  background: #05a648;
  transform: translateY(-2px);
}

.btn__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin-bottom: 4px;
}

.btn__main {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
.section {
  padding: 112px 0;
  position: relative;
}

.section__head {
  text-align: center;
  margin-bottom: 64px;
}

.section__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-500);
  letter-spacing: 0.4em;
  margin-bottom: 12px;
}

.section__sub--light {
  color: var(--sky-200);
}

.section__title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section__title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky-400), var(--sky-600));
}

.section__desc {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.section--services {
  background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 160, 212, 0.05) 0%, rgba(30, 160, 212, 0) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-200);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--feature {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff 0%, var(--sky-50) 100%);
  border: 1.5px solid var(--sky-200);
  padding: 48px;
}

.service-card__no {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--sky-100);
  letter-spacing: 0;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-card--feature .service-card__no {
  color: var(--sky-200);
  font-size: 72px;
}

.service-card__body {
  position: relative;
  z-index: 1;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.service-card--feature .service-card__title {
  font-size: clamp(22px, 2.4vw, 28px);
}

.service-card__lead {
  display: inline-block;
  background: var(--sky-500);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.service-card__list {
  display: grid;
  gap: 12px;
}

.service-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text);
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 2px;
  background: var(--sky-500);
  border-radius: 2px;
}

.service-card__list strong {
  color: var(--sky-600);
  font-weight: 700;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-600);
  border-bottom: 1px solid var(--sky-300);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-card__link:hover {
  color: var(--sky-700);
  border-color: var(--sky-600);
}

.service-card__badge {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
  background: linear-gradient(120deg, var(--sky-500), var(--sky-700));
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(30, 160, 212, 0.35);
}

/* =========================================================
   CONCEPT
   ========================================================= */
.section--concept {
  background: #fff;
  overflow: hidden;
}

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

.concept__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
}

.concept__circle {
  position: absolute;
  border-radius: 50%;
}

.concept__circle--1 {
  inset: 0;
  background: radial-gradient(circle at 30% 30%,
    #fff 0%,
    var(--sky-100) 30%,
    var(--sky-300) 70%,
    var(--sky-500) 100%);
  box-shadow:
    inset 0 -16px 40px rgba(13, 43, 78, 0.18),
    inset 0 16px 40px rgba(255, 255, 255, 0.7),
    0 30px 60px rgba(30, 160, 212, 0.25);
}

.concept__circle--2 {
  inset: 18% 18%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  filter: blur(12px);
  border-radius: 50%;
}

.concept__circle--3 {
  width: 36%;
  height: 36%;
  top: -6%;
  right: -6%;
  background: var(--sky-100);
  filter: blur(40px);
  z-index: -1;
}

.concept__text .section__sub,
.concept__text .section__title {
  display: block;
  text-align: left;
}

.concept__text .section__title::after {
  left: 0;
  transform: none;
}

.concept__mission {
  margin-top: 28px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--sky-600);
  line-height: 1.7;
  letter-spacing: 0.04em;
  padding: 20px 24px;
  border-left: 4px solid var(--sky-500);
  background: var(--sky-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
}

.concept__body {
  font-size: 15px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 16px;
}

.concept__points {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}

.concept__points li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
  background: var(--sky-50);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.concept__points li:hover {
  border-color: var(--sky-200);
  transform: translateX(4px);
}

.concept__points-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(30, 160, 212, 0.3);
}

.concept__points h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.concept__points p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* =========================================================
   COMPANY
   ========================================================= */
.section--company {
  background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%);
}

.company-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.company-table th,
.company-table td {
  text-align: left;
  padding: 22px 28px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.8;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table th {
  width: 30%;
  background: var(--sky-50);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.company-table a {
  color: var(--sky-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.company-table a:hover {
  color: var(--sky-700);
}

/* =========================================================
   CONTACT
   ========================================================= */
.section--contact {
  background:
    radial-gradient(ellipse 70% 70% at 80% 20%, rgba(143, 209, 236, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 50%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 0;
}

.section--contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

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

.contact__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.contact__desc {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 48px;
  opacity: 0.9;
}

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

/* =========================================================
   CONTACT FORM
   ========================================================= */
.section--form {
  background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%);
}

.contact-form {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-bottom: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row--full {
  margin-bottom: 22px;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.required {
  display: inline-block;
  background: var(--sky-500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row textarea {
  resize: vertical;
  line-height: 1.8;
  min-height: 140px;
}

.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='none' stroke='%231ea0d4' stroke-width='2' d='M1 1l5 5 5-5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(30, 160, 212, 0.12);
  background: #fff;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #b6c1cc;
}

/* チェックボックス */
.form-row--check {
  margin: 8px 0 28px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--sky-300);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--sky-500);
  border-color: var(--sky-500);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* 送信ボタン */
.form-submit {
  display: flex;
  justify-content: center;
}

.btn--submit {
  min-width: 240px;
  padding: 18px 40px;
  font-size: 16px;
  letter-spacing: 0.15em;
}

.btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 送信メッセージ */
.form-message {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  min-height: 20px;
}

.form-message.is-success {
  color: var(--sky-700);
  font-weight: 600;
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  border-radius: var(--radius);
  padding: 14px 20px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #f7fafd;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.site-footer__addr {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.site-footer__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* =========================================================
   RESPONSIVE  ─  Tablet (≤960px)
   ========================================================= */
@media (max-width: 960px) {
  .gnav { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 88px 0; }

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

  .service-card,
  .service-card--feature {
    padding: 36px 28px;
  }

  .concept__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .concept__visual {
    max-width: 320px;
  }

  .contact-form {
    padding: 36px 28px;
  }
}

/* =========================================================
   RESPONSIVE  ─  Smartphone (≤640px)
   ========================================================= */
@media (max-width: 640px) {
  body { line-height: 1.8; }

  .container { padding: 0 20px; }

  .header-inner { height: 64px; }
  :root { --header-h: 64px; }

  .logo-mark { width: 36px; height: 36px; }
  .logo-mark__inner { font-size: 17px; }
  .logo-text__en { font-size: 14px; }
  .logo-text__jp { font-size: 10px; }

  /* HERO */
  .hero { min-height: calc(100vh - var(--header-h)); }
  .hero__inner { padding: 64px 20px 96px; }
  .hero__lead { padding-left: 44px; font-size: 11px; letter-spacing: 0.25em; }
  .hero__lead::before { width: 30px; }
  .hero__title { line-height: 1.5; margin-bottom: 20px; }
  .hero__desc { font-size: 14px; line-height: 1.9; margin-bottom: 32px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__scroll { bottom: 20px; }

  /* SECTION */
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 44px; }
  .section__sub { letter-spacing: 0.3em; }

  /* SERVICES */
  .service-card,
  .service-card--feature {
    padding: 32px 24px;
  }
  .service-card__no { font-size: 44px; }
  .service-card--feature .service-card__no { font-size: 56px; }
  .service-card__title { font-size: 18px; }
  .service-card--feature .service-card__title { font-size: 20px; }
  .service-card__list li { font-size: 14px; }
  .service-card__badge { top: 20px; right: 20px; font-size: 10px; padding: 5px 10px; }

  /* CONCEPT */
  .concept__inner { gap: 36px; }
  .concept__visual { max-width: 240px; }
  .concept__mission {
    font-size: 18px;
    padding: 16px 18px;
    line-height: 1.7;
  }
  .concept__body { font-size: 14px; }
  .concept__points li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .concept__points-num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* COMPANY */
  .company-table-wrap {
    border-radius: var(--radius);
  }
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 14px 20px;
  }
  .company-table th {
    background: var(--sky-50);
    font-size: 12px;
    padding-top: 16px;
    padding-bottom: 8px;
    letter-spacing: 0.1em;
  }
  .company-table td {
    border-bottom: 1px solid var(--line);
    padding-top: 4px;
    padding-bottom: 18px;
    font-size: 14px;
  }
  .company-table tr:last-child td {
    border-bottom: 0;
  }

  /* CONTACT */
  .contact__desc { font-size: 14px; margin-bottom: 32px; }
  .contact__buttons { flex-direction: column; align-items: stretch; }
  .contact__buttons .btn {
    width: 100%;
    padding: 16px 20px;
  }
  .btn__main { font-size: 16px; }

  /* FORM */
  .contact-form {
    padding: 28px 20px;
    border-radius: var(--radius);
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row input[type="tel"],
  .form-row select,
  .form-row textarea {
    font-size: 16px; /* iOS で自動ズームを防ぐ */
    padding: 12px 14px;
  }
  .btn--submit {
    width: 100%;
    min-width: 0;
    padding: 16px 24px;
    font-size: 15px;
  }

  /* FOOTER */
  .site-footer { padding: 32px 0; }
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =========================================================
   PRINT / ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--sky-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   COCOON デフォルト要素の無効化
   （header.php / footer.php を子テーマで完全上書きするため不要）
   ========================================================= */
#header,
#footer,
#breadcrumb,
#sidebar,
.sidebar,
.ad-area,
.sns-follow-buttons,
.toc-content,
#scroll-back-button {
  display: none !important;
}

/* Cocoon が body に追加する余白をリセット */
.kantof-body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Cocoon の wrap / content-in レイアウトをリセット */
#wrapper,
#main,
#content,
.content-in {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  display: block !important;
  float: none !important;
}

/* Cocoon が挿入する記事ループを非表示（front-page.php で独自出力するため） */
.post-list,
.article,
.post,
.page-numbers {
  display: none !important;
}

