@charset"UTF-8";

@import url(common.css);

  :root {
  --primary-color: #e44497;
  --accent-color: #f02f66;
  --bg-color: #fff5f8;
  --bg-alt: #fde9f1;
  --text-main: #111111;
  --text-sub: #555555;
  --border-color: #eeeeee;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--easing), transform 1.2s var(--easing);
}

.reveal.is-show {
  opacity: 1;
  transform: translateY(0);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: background-color 0.3s, padding 0.3s;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

header.scrolled .logo {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

header.scrolled .nav-links a {
  color: var(--text-main);
}

header.scrolled .nav-cta {
  color: #ffffff !important;
  background: var(--primary-color);
}

.nav-cta {
  background: var(--primary-color);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: var(--accent-color);
  transform: translateY(-1px);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  position: absolute;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slides {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s var(--easing), transform 2s var(--easing);
  transform: scale(1.1);
}

.hero-slide.active {
  opacity: 0.5;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 90px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero .lead {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 600px;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-down::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  margin: 20px auto 0;
  position: relative;
}

.scroll-down::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 30px;
  background: white;
  z-index: 3;
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

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

.eyebrow {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 80px;
}

.service-block.alt {
  direction: rtl;
}

.service-block.alt .service-text {
  direction: ltr;
}

.service-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eee;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--easing);
}

.service-block:hover .service-image img {
  transform: scale(1.05);
}

.service-text h3 {
  font-size: 28px;
  margin-bottom: 24px;
}

.service-text p {
  color: var(--text-sub);
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-list li::after {
  content: "→";
  color: var(--accent-color);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.flow-item {
  padding: 40px 24px;
  background: var(--bg-alt);
  border-radius: 8px;
  position: relative;
}

.flow-num {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 20px;
  right: 20px;
}

.flow-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  position: relative;
}

.flow-item p {
  font-size: 14px;
  color: var(--text-sub);
}

.cta-section {
  background: linear-gradient(180deg, #f6a8c7 0%, #e44497 100%);
  color: #111111;
  text-align: center;
  padding: 110px 0;
}

.cta-section h2 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
  display: inline-block;
  padding: 24px 64px;
  background: #5a2d82;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 4px;
  transition: transform 0.3s var(--easing), background 0.3s;
}

.cta-btn:hover {
  transform: scale(1.05);
  background: #432061;
}

.cta-btn:active {
  transform: scale(0.97);
}

footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-info h4 {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-links h5 {
  margin-bottom: 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-sub);
}

.copyright {
  font-size: 12px;
  color: #999;
  text-align: center;
}

.workspace-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-visual-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--easing), transform 1.2s var(--easing);
}

.hero-visual-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  display: block;
}

.hero-visual {
  position: relative;
  max-width: 520px;
  min-width: 280px;
  height: 520px;
  margin-left: auto;
  aspect-ratio: 4 / 5;
}

.sub-title {
  font-size: 20px;
  font-weight: 700;
  margin: 48px 0 24px;
  color: var(--primary-color);
}

.curriculum-block,
.course-block {
  margin-bottom: 28px;
}

.curriculum-block h5,
.course-block h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.curriculum-block p,
.course-block p,
.course-block li {
  font-size: 14px;
  color: var(--text-sub);
}

.course-block ul {
  padding-left: 20px;
}

.course-block li {
  margin-bottom: 6px;
}

.work-diagram {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 32px 0 48px;
}

.work-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.work-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.work-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.work-card ul {
  list-style: none;
  padding: 0;
}

.work-card li {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.work-feature-text {
  font-size: 14px;
  color: var(--text-sub);
}

.work-feature-text p {
  margin-bottom: 16px;
}

.work-feature-text ul {
  list-style: none;
  padding-left: 0;
  margin-top: 24px;
}

.work-feature-text li {
  margin-bottom: 20px;
  line-height: 1.7;
}

.work-feature-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.work-feature-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-top: 24px;
}

.work-feature-lead {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.8;
}

.work-feature-note {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
}

.work-feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.feature-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.05);
}

.feature-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.workspace-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: #ffffff;
}

header.scrolled .nav-dropdown-toggle {
  color: var(--text-main);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  padding: 12px 0;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--easing);
  z-index: 1001;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-alt);
  opacity: 1;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

section {
  padding: 100px 0;
}

.service-text,
.work-card,
.feature-card {
  border-top: 4px solid rgba(228, 68, 151, 0.25);
}

.section-title h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary-color);
  margin-top: 16px;
  border-radius: 2px;
}

.service-images.vertical {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.hero-logo {
  max-width: 360px;
  margin-bottom: 28px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

#ai-intro {
  background: var(--bg-alt);
}

.ai-intro-inner {
  max-width: 860px;
  margin: 0 auto;
}

.ai-intro-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 40px;
  text-align: center;
}

.ai-intro-text p {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.9;
}

.ai-intro-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.ai-intro-message {
  margin-top: 56px;
  padding: 40px 36px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.ai-intro-message p {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.9;
}

.ai-intro-note {
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 12px;
}

.ai-philosophy {
  text-align: center;
}

.ai-philosophy-lead {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-main);
}

.ai-philosophy-body {
  margin-bottom: 40px;
}

.ai-philosophy-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-sub);
}

.ai-philosophy-conclusion {
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.ai-philosophy-conclusion p {
  font-size: 15px;
  line-height: 1.9;
}

.ai-philosophy-conclusion strong {
  color: var(--text-main);
  font-weight: 700;
}

.ai-philosophy-note {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

#ai-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  max-width: calc(100vw - 32px);
}

#ai-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #5a2d82;
  color: #ffffff;
  border: none;
  font-size: 24px;
}

#ai-panel {
  display: none;
  width: 320px;
  height: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ai-header {
  padding: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

#ai-messages {
  padding: 12px;
  height: 220px;
  overflow-y: auto;
}

.ai {
  background: #f5f5f5;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.user {
  background: #fde9f1;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
  text-align: right;
}


.employment-voice {
  margin-top: 56px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.employment-voice-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  max-width: 100%;
  margin: 0;
}

.employment-voice-image {
  padding-left: 0;
}

.employment-voice-image img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: block;
}

.employment-voice-text {
  padding: 40px;
  max-width: 100%;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.employment-voice-text h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.employment-voice-text p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 16px;
}

.employment-voice-title {
  text-align: left;
  padding-left: 0;
  margin-bottom: 16px;
}

.nav-cta-tel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 28px;
  min-width: 300px;
  justify-content: center;
}

.nav-cta-tel .cta-icon {
  font-size: 20px;
  line-height: 1;
}

.nav-cta-tel .cta-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.nav-cta-tel .cta-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.nav-cta-tel .cta-tel {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.nav-cta-tel .cta-time {
  font-size: 10px;
  opacity: 0.8;
}

.nav-cta.nav-cta-tel {
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-width: auto;
  transform: none;
}

.nav-cta.nav-cta-tel:hover {
  background: transparent;
  transform: none;
  opacity: 0.8;
}

header.scrolled .nav-cta.nav-cta-tel {
  background: transparent !important;
  color: var(--text-main);
}

header.scrolled .nav-cta-tel .cta-text,
header.scrolled .nav-cta-tel .cta-tel,
header.scrolled .nav-cta-tel .cta-time {
  color: var(--text-main);
}

header.scrolled .nav-cta.nav-cta-tel:hover {
  background: transparent;
  opacity: 0.8;
}

.workspace-gallery {
  display: grid;
  grid-template-columns: 1fr; /* ← 縦並びにする */
  gap: 20px;                 /* 余白を追加（好みで調整OK） */
}


.workspace-img-small {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(40px, 8vw, 90px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
}

.no-break {
  white-space: nowrap;
}

.hero-btns {
  margin-top: 32px;
}

.service-block .service-images.vertical {
  grid-column: 1 / -1;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card-text {
  padding: 24px 22px 28px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.service-lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 48px;
}

.support-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.support-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.support-feature p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

.curriculum-feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 64px;
}

.curriculum-feature-list li {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}

.support-feature-vertical {
  max-width: 760px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.support-feature-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 28px;
}

.support-feature-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.support-feature-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}

.curriculum-center {
  text-align: center;
}

.curriculum-center-wrap {
  max-width: 760px;
  margin: 0 auto 64px;
}

.curriculum-title {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  margin: 80px 0 48px;
}

.curriculum-grid-balanced {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.curriculum-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}

.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.curriculum-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.curriculum-card p,
.curriculum-card li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}

.curriculum-card ul {
  padding-left: 18px;
}

.curriculum-card li {
  margin-bottom: 8px;
}

.curriculum-side-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.curriculum-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ai-shift-message {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ai-shift-lead {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ai-shift-text {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 32px;
  line-height: 1.9;
}

.ai-shift-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.ai-shift-list li {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--bg-alt);
  padding: 8px 16px;
  border-radius: 20px;
}

.ai-shift-conclusion {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.ai-text-image {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.ai-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.ai-emphasis {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.ai-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.fixed-cta-btn {
  display: inline-block;
  padding: 16px 28px;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(228, 68, 151, 0.4);
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}

.fixed-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(228, 68, 151, 0.5);
  opacity: 1;
}

.fixed-cta {
  position: fixed;
  right: 24px;
  bottom: 104px;
  z-index: 1500;
  max-width: calc(100vw - 32px);
}

.hero-emphasis {
  color: #ffffff;
}

.container,
.service-block,
.ai-text-image,
.ai-intro-layout,
.curriculum-side-layout,
.employment-voice-grid,
.flow-grid {
  min-width: 0;
}

a,
p,
li,
span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

.container,
.hero,
.hero-content,
.hero-visual,
.ai-text-image,
.ai-intro-layout,
.curriculum-side-layout,
.service-block,
.employment-voice-grid,
.flow-grid,
.footer-inner {
  min-width: 0;
}

.works-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.work-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}

.video-container video,
.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.work-info {
  padding: 24px;
}

.work-info h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.work-info p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 40px;
  }

  footer {
    overflow-x: hidden;
  }

  section {
    padding: 80px 0;
  }

  .service-block {
    gap: 40px;
    margin-bottom: 64px;
  }

  .cta-section {
    padding: 90px 0;
  }

  .hero-logo {
    max-width: 260px;
    margin-bottom: 20px;
  }

  .ai-intro-message {
    padding: 32px 24px;
  }

  .ai-philosophy-lead {
    font-size: 16px;
  }

  .ai-philosophy-note {
    font-size: 15px;
  }

  .cta-btn {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 18px 20px;
    font-size: 18px;
    line-height: 1.4;
    border-radius: 10px;
    text-align: center;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(31, 42, 68, 0.45);
  }

  .employment-voice-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .employment-voice-image img {
    max-width: 200px;
  }

  .employment-voice-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .employment-voice-image {
    order: 1;
  }

  .employment-voice-text {
    order: 2;
  }

  .workspace-gallery {
    grid-template-columns: 1fr;
  }

  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .support-feature-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-grid-balanced {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .curriculum-title {
    margin: 64px 0 32px;
  }

  .fixed-cta {
    right: 16px;
    bottom: 96px;
  }

  .fixed-cta-btn {
    padding: 18px 24px;
    font-size: 16px;
  }

  .hero {
    overflow: hidden;
  }

  .hero-content {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-title span {
    white-space: normal;
  }

  .ai-text-image,
  .ai-intro-layout {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ai-image img {
    max-width: 100%;
  }

  .work-diagram {
    grid-template-columns: 1fr;
  }

  .work-card {
    width: 100%;
  }

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

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .service-block,
  .service-block.alt {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

  .ai-intro-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ai-intro-right {
    order: -1;
    text-align: center;
  }

  .ai-intro-right img {
    max-width: 280px;
    margin: 0 auto;
  }

  .curriculum-side-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .curriculum-image {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .ai-text-image {
    grid-template-columns: 1fr;
  }

  .ai-image {
    order: -1;
    text-align: center;
  }

  .ai-image img {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 1100px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  header:not(.scrolled) .menu-toggle span { background: #fff; }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(86vw, 360px);
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 20px 24px;
    gap: 18px;
    transform: translateX(110%);
    transition: transform .35s var(--easing);
    z-index: 1500;
  }
  .nav-links.is-open { transform: translateX(0); }

  .nav-links a,
  .nav-dropdown-toggle { color: var(--text-main); }

  /* スマホはhoverできないので、ドロップダウンはクリック開閉に */
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding: 6px 0 0;
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
}

/* =========================
   Nav alignment pack
========================= */

/* a と dropdownトグルを同じ「高さ・揃え」にする */
.nav-links > a,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 2px;
  line-height: 1;
}

/* button化したので、ボタンの素の見た目を消す */
.nav-dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
}

/* ドロップダウン感の小さな印（並びの見た目も整う） */
.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 12px;
  margin-left: 8px;
  opacity: 0.75;
  transform: translateY(1px);
}

/* ドロップダウンの親も整列 */
.nav-dropdown {
  display: inline-flex;
  align-items: center;
}

/* =========================
   Nav typography unify（電話CTA以外）
========================= */
.nav-links > a:not(.nav-cta),
.nav-dropdown-toggle {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}
.nav-dropdown-toggle{
  background: none;
  border: none;
  padding: 0;
}

/* =========================
   HERO Upgrade Pack
========================= */

/* 背景を「暗く整える」オーバーレイ（可読性UP） */
.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2; /* hero-bg(1) → overlay(2) → content(>2) */
  background:
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.18) 100%),
    radial-gradient(circle at 20% 20%, rgba(228,68,151,.22), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(90,45,130,.20), transparent 55%);
  pointer-events:none;
}

/* 背景スライドは「色は出して、暗さはfilterで管理」 */
.hero-slide{
  filter: saturate(1.05) contrast(1.05) brightness(0.70);
}
.hero-slide.active{
  opacity: 1;        /* ここを上書き（元は0.5） */
  transform: scale(1);
}

/* 文字・ボタンを載せるガラスパネル */
.hero-copy{
  max-width: 640px;
  padding: 34px 34px;
  border-radius: 18px;
  background: rgba(17,17,17,.28);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 46px rgba(0,0,0,.25);
}

/* タイトルの視認性＆「AI×就労」を強調 */
.hero-title{
  text-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.hero-emphasis{
  display:inline-block;
  background: linear-gradient(90deg, #ffffff, #ffd1e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.hero-lead{
  margin-top: 18px;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.9;
  color: rgba(255,255,255,.88);
}

/* 安心材料を“バッジ化” */
.hero-badges{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.hero-badge{
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}

/* CTA 2本（主/副） */
.hero-actions{
  margin-top: 26px;
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 16px 22px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .25s var(--easing), box-shadow .25s var(--easing), background .25s;
  white-space: nowrap;
}
.hero-btn-primary{
  background: var(--primary-color);
  color:#fff;
  box-shadow: 0 14px 34px rgba(228,68,151,.35);
}
.hero-btn-primary:hover{
  transform: translateY(-2px);
  background: var(--accent-color);
  opacity:1;
}
.hero-btn-secondary{
  color:#fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
}
.hero-btn-secondary:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  opacity:1;
}

/* 右ビジュアルに“光の後光”を足して高級感 */
.hero-visual{
  position: relative;
}
.hero-visual::before{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 25% 15%, rgba(228,68,151,.35), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(90,45,130,.35), transparent 55%);
  filter: blur(10px);
  z-index:-1;
}
.hero-visual img{
  border-radius: 18px;
}

/* ヒーロー上ではハンバーガーを白に（見えない事故防止） */
@media (max-width: 992px){
  header:not(.scrolled) .menu-toggle span{ background:#fff; }
}

/* モバイル：ボタン縦積み */
@media (max-width: 768px){
  .hero-copy{ padding: 26px 22px; }
  .hero-actions{ flex-direction: column; }
  .hero-btn{ width:100%; white-space: normal; }
}
@media (max-width: 768px) {
  /* ▼スマホ時：ヒーローを少し短くする（100vh → 82vh相当） */
  .hero{
    height: 82vh;   /* フォールバック */
    height: 82svh;  /* iOS等のアドレスバー影響を受けにくい */
  }

  /* ▼スクロール表示が下に詰まりすぎないよう微調整 */
  .scroll-down{
    bottom: 18px;
  }
}






/* =========================
   Motion Pack（全体に動き）
========================= */

:root{
  --motion-fast: 220ms;
  --motion-mid: 520ms;
  --motion-slow: 980ms;
}

/* スクロール進捗バー */
#scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 3000;
  box-shadow: 0 10px 24px rgba(228, 68, 151, .28);
}

/* revealを“ふわっ＋僅かにブラー”にアップグレード */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity var(--motion-slow) var(--easing),
    transform var(--motion-slow) var(--easing),
    filter var(--motion-slow) var(--easing);
  will-change: opacity, transform, filter;
}
.reveal.is-show{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ナビ：hover & アクティブの下線（電話CTA以外） */
.nav-links > a:not(.nav-cta),
.nav-dropdown-toggle{
  position: relative;
}

.nav-links > a:not(.nav-cta)::before,
.nav-dropdown-toggle::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-fast) var(--easing), opacity var(--motion-fast) var(--easing);
}

.nav-links > a:not(.nav-cta):hover::before,
.nav-links > a.is-active::before,
.nav-dropdown:hover .nav-dropdown-toggle::before,
.nav-dropdown.is-open .nav-dropdown-toggle::before{
  opacity: .9;
  transform: scaleX(1);
}

/* ボタン類：押し心地 */
.cta-btn,
.fixed-cta-btn,
.nav-cta{
  transition:
    transform var(--motion-fast) var(--easing),
    box-shadow var(--motion-fast) var(--easing),
    background var(--motion-fast) var(--easing);
}

/* CTAに“シャイン” */
.cta-btn{
  position: relative;
  overflow: hidden;
}
.cta-btn::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-40%;
  width: 40%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}
.cta-btn:hover::after{
  opacity: 1;
  animation: ctaShine 900ms var(--easing) forwards;
}
@keyframes ctaShine{
  0%{ transform: translateX(0) skewX(-18deg); }
  100%{ transform: translateX(420%) skewX(-18deg); }
}

/* 固定ボタン/チャットを“ほんの少し浮遊” */
@media (prefers-reduced-motion: no-preference){
  .fixed-cta-btn,
  #ai-toggle{
    animation: floatSoft 6.5s var(--easing) infinite;
  }
  @keyframes floatSoft{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-4px); }
  }
}

/* 動きが苦手な方向け（OS設定で自動OFF） */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  .reveal{ opacity: 1 !important; transform: none !important; filter: none !important; }
  html{ scroll-behavior: auto; }
}




/* =========================
   CTA Attention（contact.html のCTAだけ目立たせる）
========================= */
@media (prefers-reduced-motion: no-preference) {

  /* 対象：contact.html へ飛ぶCTA（セクション内CTAと固定CTAの両方） */
  a.cta-btn[href="contact.html"],
  a.fixed-cta-btn[href="contact.html"]{
    position: relative;
    overflow: hidden;      /* 光のスイープを内側に収める */
    isolation: isolate;    /* 擬似要素の重なりを安定させる */
    transform: translateZ(0);
  }

  /* 外側に“ふわっと発光するハロー” */
  a.cta-btn[href="contact.html"]::before,
  a.fixed-cta-btn[href="contact.html"]::before{
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(circle at 30% 20%, rgba(255,255,255,.55), transparent 48%),
      radial-gradient(circle at 70% 80%, rgba(255,255,255,.35), transparent 55%),
      radial-gradient(circle at 50% 50%, rgba(228,68,151,.28), transparent 60%);
    filter: blur(10px);
    opacity: .25;
    animation: ctaHalo 2.6s ease-in-out infinite;
  }

  /* ボタン内側を“光が横切る”スイープ */
  a.cta-btn[href="contact.html"]::after,
  a.fixed-cta-btn[href="contact.html"]::after{
    content: "";
    position: absolute;
    top: -20%;
    left: -60%;
    width: 45%;
    height: 140%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-18deg);
    opacity: .0;
    animation: ctaSweep 4.8s var(--easing) infinite;
  }

  /* 固定CTAは“さらに目立つ”影を強化（hoverのtransformは既存のまま） */
  a.fixed-cta-btn[href="contact.html"]{
    box-shadow:
      0 14px 34px rgba(228, 68, 151, 0.45),
      0 8px 20px rgba(90, 45, 130, 0.18);
  }

  /* 下部CTA（cta-btn）も少しだけ立体感 */
  a.cta-btn[href="contact.html"]{
    box-shadow:
      0 16px 38px rgba(90, 45, 130, 0.30),
      0 10px 22px rgba(228, 68, 151, 0.20);
  }

  /* “波紋っぽい”強弱（擬似要素なので他のanimationと干渉しない） */
  @keyframes ctaHalo{
    0%, 100% { opacity: .20; transform: scale(1); }
    50%      { opacity: .48; transform: scale(1.02); }
  }

  /* スイープは「しばらく静止 → 一気に走る」ので目に入る */
  @keyframes ctaSweep{
    0%, 68%   { opacity: 0; transform: translateX(0) skewX(-18deg); }
    72%       { opacity: 1; }
    100%      { opacity: 0; transform: translateX(520%) skewX(-18deg); }
  }
}

/* 動きが苦手な方向け：OS設定で自動的に弱める */
@media (prefers-reduced-motion: reduce){
  a.cta-btn[href="contact.html"]::before,
  a.cta-btn[href="contact.html"]::after,
  a.fixed-cta-btn[href="contact.html"]::before,
  a.fixed-cta-btn[href="contact.html"]::after{
    animation: none !important;
    opacity: 0 !important;
  }
}
/* =========================
   福祉LP向け：相談CTA 強調カラー
========================= */

/* 下部CTA */
a.cta-btn[href="contact.html"]{
  background: #2bb673; /* 安心グリーン */
  color: #ffffff;
  box-shadow:
    0 18px 38px rgba(43, 182, 115, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.15);
}

/* hover */
a.cta-btn[href="contact.html"]:hover{
  background: #22a566;
}

/* 固定CTA */
a.fixed-cta-btn[href="contact.html"]{
  background: #2bb673;
  color: #ffffff;
  box-shadow:
    0 20px 44px rgba(43, 182, 115, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

/* 固定CTA hover */
a.fixed-cta-btn[href="contact.html"]:hover{
  background: #22a566;
}

/* =========================
   Video note（※音が出ます）
========================= */

.video-container {
  position: relative;
}

.video-note {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;

  font-size: 12px;
  font-weight: 700;
  color: #ffffff;

  background: rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;

  pointer-events: none; /* 再生操作の邪魔をしない */
}

.dummy-section {
  padding: 60px 20px;
}

.dummy-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.dummy-image {
  max-width: 360px;
  width: 100%;
  margin-bottom: 20px;
}

.dummy-text {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
/* 動画セクション下の余白を詰める */
#gallery {
  padding-bottom: 40px; /* もともとより小さく */
}

/* ダミーセクション上の余白を詰める */
.dummy-section {
  padding-top: 20px;   /* ← ここが一番効く */
  margin-top: 0;
}
.site-footer {
  background: #111;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-company p {
  font-size: 13px;
  line-height: 1.7;
  color: #ccc;
}

.footer-links h5 {
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: #ccc;
}

.footer-instagram {
  text-align: center;
}

.footer-instagram-text {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 12px;
}

.footer-instagram-img {
  width: 140px;
  border-radius: 12px;
}

.copyright {
  margin-top: 40px;
  font-size: 12px;
  text-align: center;
  color: #888;
}

/* スマホ */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-company {
    margin-bottom: 20px;
  }
}
.site-footer {
  background: #fff;        /* 背景を白に */
  color: #000;             /* 基本文字色を黒に */
}
.footer-company p,
.footer-links a,
.footer-instagram-text {
  color: #333;
}

.footer-tagline {
  color: #555;
}

.footer-links h5,
.footer-logo {
  color: #000;
}

.copyright {
  color: #666;
}
.site-footer a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #999; /* 薄いグレー */
}
.footer-instagram-handle {
  margin-top: 8px;
  font-size: 13px;
  color: #000;
}
.site-footer {
  border-top: 1px solid #e5e5e5;
}
.site-footer {
  padding-bottom: 120px; /* 追従CTA分の逃げ */
}
@media (max-width: 768px) {
  .nav-cta-tel {
    pointer-events: auto;
    cursor: pointer;
  }
}
@media (max-width: 768px) {
  .nav-cta-tel {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .nav-cta-tel:active {
    opacity: 0.7;
  }
}
@media (min-width: 769px) {
  .nav-cta-tel {
    pointer-events: none;
    cursor: default;
  }
}
/* ===== Contact Modal ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.contact-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  position: relative;
  background: white;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  z-index: 10;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #0a7cff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
/* ===== ラジオボタン横並び整列 ===== */
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.form-group > label:first-child {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}
/* ===== Contact Modal 修正版 ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px; /* 画面端の余白確保 */
}

.contact-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  position: relative;
  background: white;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;          /* ← 重要 */
  overflow-y: auto;          /* ← 重要 */
  border-radius: 8px;
  z-index: 10;
}

/* ×ボタン固定表示 */
.modal-close {
  position: sticky;
  top: 0;
  right: 0;
  float: right;
  background: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 20;
}

/* ===== モバイルメニュー ===== */
@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    padding: 30px 20px;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  /* ×ボタン */
  .nav-close {
    display: block;
    align-self: flex-end;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
  }
}

/* PCでは非表示 */
@media (min-width: 769px) {
  .nav-close {
    display: none;
  }
}
@media (max-width: 768px) {
  .nav-dropdown-menu {
    display: none;
    padding-left: 15px;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }
}
/* 時間セレクトを大きく */
#visit_time {
  font-size: 16px;
  padding: 14px;
  height: 48px;
}
.footer-instagram-handle a {
  color: #E1306C;
  font-weight: bold;
  text-decoration: none;
}

.footer-instagram-handle a:hover {
  text-decoration: underline;
}
.footer-instagram-handle {
  margin-top: 12px;
  font-size: 14px;
}

.footer-instagram-handle a {
  color: #E1306C;
  font-weight: 700;
  text-decoration: none;
}

.footer-instagram-handle a:hover {
  text-decoration: underline;
}
/* =========================
   Contact Modal - Form polish
   ========================= */
#contactModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* .active で表示 */
}

#contactModal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#contactModal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#contactModal .modal-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  max-height: min(88vh, 860px);
  overflow: auto;
}

#contactModal h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

/* 箇条書き（あなたが追加した .contact-form-notes 用） */
#contactModal .contact-form-notes {
  margin: 0 0 18px;
  padding: 14px 16px 14px 34px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
}

#contactModal .contact-form-notes li {
  margin: 6px 0;
  line-height: 1.7;
  font-size: 14px;
  color: var(--text-sub);
}

/* 閉じるボタン */
#contactModal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

#contactModal .modal-close:hover {
  filter: brightness(0.98);
}

/* フォーム全体 */
#contactModal form {
  margin-top: 8px;
}

#contactModal .form-group {
  margin: 16px 0;
}

#contactModal .form-title {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

/* 入力欄の統一（iPhoneズーム防止で font-size:16px を固定） */
#contactModal input[type="text"],
#contactModal input[type="email"],
#contactModal input[type="tel"],
#contactModal input[type="date"],
#contactModal input[type="number"],
#contactModal select,
#contactModal textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#contactModal textarea {
  min-height: 140px;
  resize: vertical;
}

/* フォーカス時 */
#contactModal input:focus,
#contactModal select:focus,
#contactModal textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

/* ラジオ行 */
#contactModal .radio-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
}

#contactModal .radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-main);
}

/* 2カラム（日付＋時間） */
#contactModal .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 注意文（既存の inline style のままでもOKだが、統一感を出す） */
#contactModal .visit-date-group p {
  color: var(--text-sub);
}

/* 送信ボタン */
#contactModal .submit-btn {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: var(--primary-color);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.2s ease;
  margin-top: 10px;
}

#contactModal .submit-btn:hover {
  filter: brightness(0.95);
}

#contactModal .submit-btn:active {
  transform: translateY(1px);
}

/* モバイル最適化 */
@media (max-width: 640px) {
  #contactModal .modal-content {
    padding: 20px 18px 18px;
    border-radius: 14px;
  }

  #contactModal h3 {
    font-size: 20px;
  }

  #contactModal .two-col {
    grid-template-columns: 1fr;
  }

  #contactModal .contact-form-notes {
    padding: 12px 12px 12px 30px;
  }
}
