* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

#loader {
  position: fixed;
  inset: 0;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 4rem;
  letter-spacing: 4px;
  text-align: center;
}

.loader-bar {
  width: 0;
  height: 4px;
  background: #ff2f92;
  margin: 20px auto 0;
  animation: load 3s forwards;
}

@keyframes load {
  to {
    width: 260px;
  }
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: 0.4s ease;
  z-index: 1000;
  pointer-events: auto;
}

.header.active {
  transform: translateY(0);
}

.header * {
  pointer-events: auto;
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  margin-left: 12px;
  margin-right: 0;
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.header-cta i {
  font-size: 0.95rem;
}

.entry-btn {
  background: #57d5e1;
}

.contact-btn {
  background: #b8ee45;
}

.header-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.header-logo {
  width: 120px;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.header-logo-link:hover {
  opacity: 0.88;
}

/* LP 以外（サブページ）では常にヘッダーを見せる */
body.hp_subpage header.header#header {
  transform: translateY(0) !important;
}

.menu-toggle {
  display: none;
}

.mobile-menu,
.mobile-menu-backdrop {
  display: none;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.ink-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, #ff0055 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, #00e5ff 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, #ff9900 0%, transparent 40%);
  background-color: #000;
  pointer-events: none;
}

.ink-bg.animate {
  animation: ink-bg-fade 4s ease forwards;
}

@keyframes ink-bg-fade {
  from {
    background-color: #000;
  }
  to {
    background-color: #fff;
  }
}

.hero-inner {
  position: relative;
  color: #fff;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  display: block;
  width: 260px;
  margin-bottom: 30px;
  filter: drop-shadow(0 5px 16px rgba(0, 0, 0, 0.35));
}

#heroHeadline {
  font-size: 3.2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(40px);
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 4rem;
  margin-bottom: 40px;
}

.section h3,
.section p,
.section li,
.section .lead {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section {
  position: relative;
  margin-top: -100px;
  padding: 160px 40px 130px;
  clip-path: polygon(0 100px, 100% 0, 100% 100%, 0 100%);
}

section.section:nth-of-type(odd) {
  clip-path: polygon(0 0, 100% 100px, 100% 100%, 0 100%);
}

section.section#about {
  margin-top: 0;
  padding-top: 120px;
  clip-path: none;
}

/* Products（斜め区切りは .section / nth-of-type と同じ clip-path を継承。none にしないこと） */
section.section.products-band {
  background: linear-gradient(180deg, #fff9db 0%, #d9f0ff 55%, #c4e7ff 100%);
  color: #111;
  /* margin / padding / clip-path は .section 共通。上だけ少し余白を足す */
  padding-top: 200px;
}

#products h2 {
  color: #111;
}

#products .products-lead {
  max-width: 900px;
  font-size: 1.1rem;
  line-height: 1.9;
  margin-top: 0;
}

#products .products-lead,
#products p {
  color: #1a1a1a;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

a.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 40, 80, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 50, 100, 0.18);
}

.product-card-inner {
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.product-card-icon {
  font-size: 2.2rem;
  color: #0d6bc9;
  margin-bottom: 16px;
}

#products a.product-card h3 {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #111;
}

#products a.product-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 500;
  margin: 0;
  color: #333;
}

/* HP サブプロダクト個別ページ */
body.hp_subpage {
  /* レイアウト共通ヘッダー（position: fixed）ぶん、本文ヒーローを下げる */
  --hp-fixed-header-offset: calc(env(safe-area-inset-top, 0px) + 120px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f0f8ff 0%, #e2f0ff 100%);
  color: #111;
}

body.hp_subpage h1,
body.hp_subpage h2,
body.hp_subpage p {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}

.subpage-hero {
  margin-top: 0;
  padding: 100px 28px 48px;
  text-align: center;
}

body.hp_subpage .subpage-hero {
  padding-top: var(--hp-fixed-header-offset);
}

body.hp_subpage .subpage-hero h1:not(.bizauto-title) {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  color: #0f1f2d;
}

.subpage-hero .subpage-logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 28px;
}

.subpage-hero .subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  text-decoration: none;
  color: #0d6bc9;
  font-weight: 700;
  font-size: 0.95rem;
}

.subpage-hero .subpage-back:hover {
  text-decoration: underline;
}

.subpage-hero .subpage-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.9;
  font-weight: 600;
  color: #1f2b47;
}

/* 業務自動化ページ（ビジュアル強化 · hp_subpage--bizauto） */
body.hp_subpage.hp_subpage--bizauto {
  background:
    radial-gradient(900px circle at 8% -8%, rgba(255, 230, 0, 0.42), transparent 42%),
    radial-gradient(700px circle at 102% 12%, rgba(255, 47, 146, 0.16), transparent 48%),
    radial-gradient(750px circle at -5% 75%, rgba(87, 213, 225, 0.28), transparent 52%),
    linear-gradient(168deg, #feffff 0%, #f0f7ff 38%, #e4eefc 72%, #dde8fb 100%);
}

.hp_subpage--bizauto .bizauto-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--hp-fixed-header-offset);
  padding-right: 24px;
  padding-bottom: 48px;
  padding-left: 24px;
  text-align: center;
}

.hp_subpage--bizauto .bizauto-hero-bg {
  pointer-events: none;
  position: absolute;
  inset: -60% -20% auto;
  height: 120%;
  background:
    radial-gradient(ellipse 85% 60% at 50% -10%, rgba(255, 47, 146, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 20% 30%, rgba(13, 107, 201, 0.1), transparent 50%);
  opacity: 0.95;
}

.hp_subpage--bizauto .bizauto-hero > * {
  position: relative;
  z-index: 1;
}

.hp_subpage--bizauto .bizauto-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(1.85rem, 5vw, 2.55rem);
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  background: linear-gradient(120deg, #0d4a9a 0%, #1464d2 40%, #ff2f92 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(20, 100, 210, 0.12));
}

.hp_subpage--bizauto .bizauto-catch-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 26px 28px 30px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 1px rgba(255, 255, 255, 0.65) inset,
    0 22px 50px rgba(15, 50, 100, 0.12),
    0 0 0 1px rgba(13, 107, 201, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hp_subpage--bizauto .bizauto-catch-box .subpage-catch {
  margin: 0;
  padding: 0;
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(95deg, #091a30 0%, #0d4a9a 45%, #c41a6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hp_subpage--bizauto .bizauto-main.subpage-content {
  max-width: 820px;
  padding-top: 8px;
}

.hp_subpage--bizauto .bizauto-intro-wrap {
  margin-bottom: 2.5rem;
}

.hp_subpage--bizauto .bizauto-points {
  margin: 0;
}

.hp_subpage--bizauto .bizauto-point {
  position: relative;
  margin: 0 0 14px;
  padding: 18px 20px 20px 28px;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 36px rgba(15, 45, 90, 0.07);
  font-size: 1.02rem;
  line-height: 1.95;
  font-weight: 600;
  color: #1a2840;
}

.hp_subpage--bizauto .bizauto-point::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe600 0%, #ff2f92 55%, #57d5e1 100%);
  box-shadow: 0 2px 10px rgba(255, 47, 146, 0.35);
}

.hp_subpage--bizauto .bizauto-point:last-child {
  margin-bottom: 0;
}

.hp_subpage--bizauto .bizauto-section {
  margin: 0;
  padding: 0;
}

.hp_subpage--bizauto .bizauto-h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem;
  color: #0f1f2d;
}

.hp_subpage--bizauto .bizauto-h2::before {
  content: "";
  flex-shrink: 0;
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe600, #ff2f92 50%, #57d5e1);
  box-shadow: 0 2px 8px rgba(255, 47, 146, 0.35);
}

.hp_subpage--bizauto .case-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0 0 2.75rem;
}

.hp_subpage--bizauto .case-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 26px 24px 28px;
  padding-top: 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px rgba(15, 50, 100, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hp_subpage--bizauto .case-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 26px 56px rgba(15, 50, 100, 0.14);
}

.hp_subpage--bizauto .case-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #1464d2, #ff2f92, #ffe600);
  opacity: 0.92;
}

.hp_subpage--bizauto .case-index {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(13, 100, 200, 0.1);
}

.hp_subpage--bizauto .case-card-title {
  position: relative;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.14rem;
  font-weight: 800;
  margin: 0 44px 1rem 0;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(13, 107, 201, 0.22);
  color: #0d4a9a;
}

.hp_subpage--bizauto .case-dl dt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  color: #0d6bc9;
}

.hp_subpage--bizauto .case-dl dt::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2f92, #ffe600);
}

.hp_subpage--bizauto .case-dl dt:first-of-type {
  margin-top: 0;
}

.hp_subpage--bizauto .case-dl dt:not(:first-of-type) {
  margin-top: 1.15em;
}

.hp_subpage--bizauto .case-dl dd {
  margin: 0.45em 0 0;
  font-size: 0.98rem;
  line-height: 1.88;
  color: #22324d;
}

.hp_subpage--bizauto .bizauto-consult {
  margin: 0;
  padding: 0;
}

.hp_subpage--bizauto .bizauto-consult-inner {
  padding: 36px 28px 40px;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 48px rgba(15, 45, 90, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hp_subpage--bizauto .bizauto-consult-copy {
  text-align: center;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.75;
  color: #132238;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.hp_subpage--bizauto .subpage-consult-cta {
  text-align: center;
  margin: 0 0 1.25rem;
}

.hp_subpage--bizauto .subpage-consult-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  padding: 17px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1eb66e 0%, #15ab7a 48%, #1180a8 100%);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  box-shadow:
    0 4px 18px rgba(20, 140, 100, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hp_subpage--bizauto .subpage-consult-link:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 12px 36px rgba(20, 140, 100, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.hp_subpage--bizauto .subpage-consult-link i {
  font-size: 1.15rem;
}

/* マルチコミュニケーションツール LP（業務自動化ページと共通ベース・配色のみ調整） */
body.hp_subpage.hp_subpage--bizauto.hp_subpage--commtool {
  background:
    radial-gradient(880px circle at 8% -8%, rgba(120, 210, 255, 0.45), transparent 44%),
    radial-gradient(700px circle at 94% 12%, rgba(190, 120, 255, 0.2), transparent 50%),
    radial-gradient(780px circle at -4% 78%, rgba(87, 213, 225, 0.26), transparent 52%),
    linear-gradient(168deg, #fbfdff 0%, #eef4ff 38%, #e6f0ff 72%, #dde8fb 100%);
}

.hp_subpage--commtool .bizauto-hero-bg {
  background:
    radial-gradient(ellipse 82% 58% at 50% -8%, rgba(130, 150, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 52% 42% at 18% 28%, rgba(13, 107, 201, 0.1), transparent 50%);
}

.comm-channels-section {
  margin: 0;
  padding: 0;
}

.hp_subpage--commtool .comm-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 18px;
  margin: 8px 0 0;
}

.hp_subpage--commtool .comm-channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 22px 14px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 36px rgba(15, 50, 110, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp_subpage--commtool .comm-channel-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 20px 44px rgba(30, 60, 120, 0.12);
}

.hp_subpage--commtool .comm-channel-icon {
  font-size: 2.05rem;
  color: #1666d4;
  line-height: 1;
}

.hp_subpage--commtool .comm-channel-icon--line {
  color: #06c755;
}

.hp_subpage--commtool .comm-channel-icon--rcs {
  color: #673ab7;
}

.hp_subpage--commtool .comm-channel-name {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a2840;
  text-align: center;
  line-height: 1.45;
}

/* 日程調整 LP */
body.hp_subpage.hp_subpage--bizauto.hp_subpage--schedule {
  background:
    radial-gradient(860px circle at 6% -6%, rgba(30, 182, 110, 0.22), transparent 44%),
    radial-gradient(760px circle at 96% 10%, rgba(42, 142, 195, 0.2), transparent 50%),
    radial-gradient(740px circle at -2% 76%, rgba(255, 230, 0, 0.2), transparent 50%),
    linear-gradient(168deg, #f6fffc 0%, #eef8ff 42%, #e6f4ff 76%, #dfefff 100%);
}

.hp_subpage--schedule .bizauto-hero-bg {
  background:
    radial-gradient(ellipse 78% 54% at 50% -10%, rgba(30, 182, 110, 0.12), transparent 55%),
    radial-gradient(ellipse 48% 42% at 22% 26%, rgba(20, 100, 210, 0.08), transparent 50%);
}

.schedule-highlights-section {
  margin: 0;
  padding: 0;
}

.hp_subpage--schedule .schedule-lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 8px 0 0;
}

.hp_subpage--schedule .schedule-lp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 14px 36px rgba(12, 60, 90, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp_subpage--schedule .schedule-lp-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 20px 44px rgba(20, 80, 110, 0.12);
}

.hp_subpage--schedule .schedule-lp-icon {
  font-size: 2rem;
  color: #128a6a;
  line-height: 1;
}

.hp_subpage--schedule .schedule-lp-icon--gift {
  color: #d97706;
}

.hp_subpage--schedule .schedule-lp-label {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f2a24;
}

.hp_subpage--schedule .schedule-lp-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  font-weight: 600;
  color: #2a3d4a;
}

.subpage-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px 80px;
}

.subpage-content p {
  font-size: 1.02rem;
  line-height: 2;
  font-weight: 500;
  margin-bottom: 1.5em;
  color: #1f2b47;
}

.subpage-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2.2em 0 0.8em;
  color: #0d4a9a;
}

.subpage-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.subpage-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #0d6bc9;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.subpage-cta a:hover {
  background: #0a5aa8;
  transform: translateY(-2px);
}

body.hp_subpage .footer {
  margin-top: auto;
  padding: 40px 24px 32px;
}

body.hp_subpage .footer .copyright {
  text-align: center;
  max-width: none;
}

.wrap {
  max-width: 1100px;
  margin: auto;
}

.yellow {
  background: #ffe600;
}

.pink {
  background: #ff2f92;
  color: #fff;
}

#strength {
  background: #1464d2;
  color: #fff;
}

#recruit {
  background: linear-gradient(135deg, #1eb66e 0%, #15ab7a 45%, #2a8ec3 100%);
  color: #fff;
}

#recruit h2,
#recruit p {
  color: #fff;
}

#recruit .recruit-copy {
  max-width: 920px;
  margin: 0 auto 32px;
}

#recruit .recruit-copy p {
  font-size: 1.1rem;
  line-height: 1.95;
}

#recruit .mission-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 45px rgba(0, 50, 80, 0.22);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

#recruit .mission-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#recruit .mission-label .fa-sparkles {
  font-size: 1.1rem;
}

#recruit .mission-card p {
  font-size: 1.03rem;
  line-height: 2;
}

#recruit .recruit-cta {
  max-width: 920px;
  margin: 32px auto 0;
  text-align: center;
}

#recruit .recruit-cta p {
  font-size: 1.04rem;
  margin-bottom: 16px;
}

#recruit .entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: 0.25s ease;
  background: rgba(255, 255, 255, 0.12);
}

#recruit .entry-button:hover {
  background: #fff;
  color: #148f7c;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.card {
  background: #fff;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.dark-card {
  background: #1a1a1a;
  color: #fff;
}

.big-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

#about .card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

#about .card-heading .big-icon {
  margin-bottom: 0;
  font-size: 2.4rem;
}

#about .card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

#strength .dark-card {
  background: rgba(255, 255, 255, 0.92);
  color: #0f2f66;
  box-shadow: 0 22px 48px rgba(0, 25, 70, 0.2);
}

#strength .card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

#strength .card-heading .big-icon {
  margin-bottom: 0;
  font-size: 2rem;
  color: #1d63cb;
}

#strength .card h3 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.1;
}

#strength .card p {
  color: #21447a;
}

.flow-vertical {
  position: relative;
  padding-left: 60px;
  margin-top: 100px;
}

.flow-vertical::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.flow-step {
  position: relative;
  margin-bottom: 120px;
  opacity: 0;
  transform: translateX(-80px);
}

.step-number.premium {
  position: absolute;
  left: -10px;
  top: -20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 7rem;
  opacity: 0.38;
}

.footer {
  background: #111;
  color: #fff;
  padding: 80px 40px 40px;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
}

.company-panel {
  padding: 8px 0;
}

.company-logo img {
  width: 75%;
  max-width: 340px;
  height: auto;
}

.company-table {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.company-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  column-gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.95rem;
  line-height: 1.7;
}

.company-row dt {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.company-row dd {
  margin: 0;
}

.company-maps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-map-label {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.company-map {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
}

.company-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.copyright {
  max-width: 1200px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  #heroHeadline {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .section {
    margin-top: -60px;
    padding: 170px 24px 120px;
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  }

  section.section:nth-of-type(odd) {
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%);
  }

  section.section#about {
    padding-top: 120px;
    clip-path: none;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .header-logo {
    width: 90px;
  }

  nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1202;
  }

  .menu-toggle .menu-bar {
    width: 22px;
    height: 2px;
    background: #1f2b47;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .header.menu-open .menu-toggle .menu-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .header.menu-open .menu-toggle .menu-bar:nth-child(2) {
    opacity: 0;
  }

  .header.menu-open .menu-toggle .menu-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 30, 0.26);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1198;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 88vw;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.65);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1200;
  }

  .mobile-menu-inner {
    padding: 90px 22px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .mobile-menu a {
    color: #1f2b47;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .mobile-menu-inner > a {
    display: block;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(31, 43, 71, 0.22);
  }

  .mobile-menu-cta {
    margin-top: 6px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mobile-menu-cta .header-cta {
    margin: 0;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .header.menu-open .mobile-menu {
    transform: translateX(0);
  }

  .header.menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #about .card h3 {
    font-size: 1.7rem;
  }

  #strength .card h3 {
    font-size: 1.55rem;
  }

  #recruit .recruit-copy p {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  #recruit .mission-card {
    padding: 24px 20px;
  }

  #recruit .mission-card p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  #recruit .recruit-cta p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  #recruit .entry-button {
    min-width: 150px;
    padding: 12px 22px;
  }

  .footer {
    padding: 56px 20px 28px;
  }

  .company-row {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding: 12px 0;
  }

  .company-map iframe {
    height: 220px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #products a.product-card h3 {
    font-size: 1.1rem;
  }

  /* ハンバーガー表示時も固定ヘッダー分は確保 */
  body.hp_subpage {
    --hp-fixed-header-offset: calc(env(safe-area-inset-top, 0px) + 100px);
  }

  body.hp_subpage .subpage-hero h1:not(.bizauto-title) {
    font-size: 1.75rem;
  }

  body.hp_subpage.hp_subpage--bizauto .bizauto-title {
    font-size: 1.68rem;
  }

  body.hp_subpage.hp_subpage--bizauto .bizauto-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hp_subpage--bizauto .bizauto-catch-box .subpage-catch {
    font-size: 1.12rem;
  }

  .hp_subpage--bizauto .subpage-consult-link {
    min-width: unset;
    width: calc(100% - 8px);
    max-width: 360px;
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  .hp_subpage--bizauto .case-card {
    padding: 24px 16px 22px;
    padding-top: 30px;
  }

  .hp_subpage--bizauto .case-card-title {
    font-size: 1.03rem;
  }

  .hp_subpage--bizauto .bizauto-consult-inner {
    padding: 28px 18px 32px;
  }

  .hp_subpage--bizauto .case-index {
    font-size: 2.1rem;
    top: 14px;
    right: 14px;
  }

  .hp_subpage--commtool .comm-channels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hp_subpage--commtool .comm-channel-card {
    padding: 18px 10px 20px;
  }

  .hp_subpage--commtool .comm-channel-icon {
    font-size: 1.75rem;
  }

  .hp_subpage--commtool .comm-channel-name {
    font-size: 0.86rem;
  }

  .hp_subpage--schedule .schedule-lp-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hp_subpage--schedule .schedule-lp-card {
    padding: 18px 14px 22px;
  }

  .hp_subpage--schedule .schedule-lp-icon {
    font-size: 1.75rem;
  }

  .hp_subpage--schedule .schedule-lp-desc {
    font-size: 0.84rem;
  }
}
