@charset "UTF-8";

/*----------------------------------------------------------
更新日：2025年11月06日
-------------------------------------------------------------*/

/*==============================
  操作パネル非表示
==============================*/
#wpadminbar {
  display: none !important;
}
/* 管理バー分の余白を消す */
html {
  margin-top: 0 !important;
}
/*==============================
  カラーテーマ
==============================*/
:root {
  --color-bg: rgba(12, 12, 30, 1);
  --color-accent: #2563eb;
  --color-accent-dark: #066b43;
  --color-border: #f2f2f2;
  --color-red-accent: #c61619;
  --color-solid-yellow: rgba(239, 237, 38, 0.2);
  --gradient-green: linear-gradient(
    145deg,
    rgba(103, 217, 54, 1) 0%,
    rgba(35, 168, 64, 1) 50%,
    rgba(47, 170, 214, 1) 100%
  );
  --gradient-orange: linear-gradient(
    145deg,
    rgba(252, 0, 0, 1) 0%,
    rgba(247, 93, 37, 1) 50%,
    rgba(252, 176, 69, 1) 100%
  );
}

/*==============================
  基本設定
==============================*/
html {
  scroll-behavior: smooth;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.breadcrumbs {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  left: 0;
  right: 0;
  padding: 0.5em 0 0;
}
section {
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.5;
}

/*==============================
  汎用コンポーネント
==============================*/
/* カード */
.card {
  background-color: #fff;
  border-radius: 2px;
  padding: 2em;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -2px rgba(0, 0, 0, 0.04);
}

/* グリッド */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5em;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
}
/* 見出し */
.title {
  font-size: 1.5em;
  font-weight: bold;
}

/* 吹き出し */
.callout {
  position: relative;
  display: inline-block;
  padding: 0.5em 1.5em;
  border-radius: 5em;
  border: 2px solid var(--color-accent-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 3em;
}

.callout::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 15px 12px;
  border-color: transparent transparent var(--color-accent-dark) transparent;
}

/*==============================
  ヘッダー
==============================*/
.header {
  background-color: var(--color-bg);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 999;
  transition: background-color 0.3s ease;
}

.header .logo-image {
  width: 1.6em;
  margin-right: 10px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.header-title a {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5em;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.header-title a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.btn-icon {
  width: 1.8em;
}

.btn-primary {
  background: var(--gradient-green);
  display: inline-flex;
  align-items: start;
  gap: 0.2em;
  padding: 0.4em 1.5em;
  transition: all 0.3s ease;
  border-radius: 9999px;
}

/*==============================
  デスクトップメニュー
==============================*/

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2em;
}

.desktop-menu a {
  color: #fff;
  font-weight: bold;
}

.desktop-menu a:hover {
  transition: all 0.3s ease;
  opacity: 0.5;
}

/*==============================
  heroセクション
==============================*/
.hero-bg {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* ★ここにoverflow:hiddenを移動 */
  z-index: -1; /* テキストやボタンより後ろに配置 */
}

.hero-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-bg .container {
  z-index: 2;
  color: #fff;
}

.hero-bg h1 {
  font-size: 2.6em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5em;
  display: inline-block;
  padding: 0.1em 0.6em 0.2em;
  background-color: var(--color-solid-yellow);
  background-image: var(--gradient-orange);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: reveal-bg 0.3s ease-out 0.5s forwards;
  transform: skewX(-15deg);
}

.hero-bg p {
  font-size: 1.25em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  animation: slideUp 1s ease-out 0.6s forwards;
  max-width: 800px;
  margin: 1em auto 0;
}

.cta-banner {
  line-height: 1.5;
  font-size: 1.25em;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-green);
  color: #fff;
  padding: 1em 3em;
  border-radius: 6px;
  max-width: 1080px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: herobtn 1s ease-out 0.8s forwards;
}

.cta-text {
  font-weight: 500;
}

.cta-button,
.btn-secondary {
  display: inline-block;
  background-color: #fff;
  padding: 0.5em 2em;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button span,
.btn-secondary span {
  white-space: nowrap;
  font-weight: bold;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-button:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
/*==============================
  challengesセクション
==============================*/
#challenges {
  padding-top: 8em;
  padding-bottom: 5em;
  position: relative;
  z-index: 2;
}

#challenges .grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}

#challenges .card {
  background-color: white;
  padding: 2em 2em 0;
  max-width: 42rem;
  width: 100%;
}

#challenges .card h3 {
  width: 100%;
  font-weight: bold;
  margin: 0 auto;
  padding-bottom: 1em;
  text-align: center;
  position: relative;
  display: inline-block;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

#challenges .card:first-of-type h3 {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.thought-bubbles-horizontal {
  margin: 20px auto;
  display: grid;
  grid-template-columns: 0.3fr 0.4fr 0.3fr;
  gap: 1em;
}

.thought-bubbles-horizontal li {
  padding: 1em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  border: 3px solid transparent;
  border-radius: 5px;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, rgb(252, 0, 0), rgb(252, 176, 69)) border-box;
}

.thought-bubbles-horizontal .text-container {
  font-size: 0.85em;
  font-weight: bold;
  line-height: 1.5;
}

/* 思考の吹き出しの「しっぽ」スタイル */
.thought-bubbles-horizontal li .thought-tail {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, rgb(252, 0, 0), rgb(252, 176, 69)) border-box;
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.grid-2-col .card:first-of-type .thought-bubbles-horizontal li {
  background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, rgb(35, 168, 64), rgb(47, 170, 214)) border-box;
}

.grid-2-col .card:first-of-type .thought-bubbles-horizontal li .thought-tail {
  background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, rgb(35, 168, 64), rgb(47, 170, 214)) border-box;
}

.thought-bubbles-horizontal .bubble-side:first-child .thought-tail.tail-1,
.thought-bubbles-horizontal .bubble-center .thought-tail.tail-1,
.thought-bubbles-horizontal .bubble-side:last-child .thought-tail.tail-1 {
  width: 2em;
  height: 2em;
}

.thought-bubbles-horizontal .bubble-side:first-child .thought-tail.tail-2,
.thought-bubbles-horizontal .bubble-center .thought-tail.tail-2,
.thought-bubbles-horizontal .bubble-side:last-child .thought-tail.tail-2 {
  width: 1em;
  height: 1em;
}

/* 吹き出し左 */
.thought-bubbles-horizontal .bubble-side:first-child .thought-tail.tail-1 {
  bottom: -1em;
  right: 25%;
}

.thought-bubbles-horizontal .bubble-side:first-child .thought-tail.tail-2 {
  bottom: -2em;
  right: 15%;
}

/* 吹き出し中央 */
.thought-bubbles-horizontal .bubble-center .thought-tail.tail-1 {
  bottom: -1em;
  left: calc(50% - 7.5px); /* 中央揃え */
}

.thought-bubbles-horizontal .bubble-center .thought-tail.tail-2 {
  bottom: -2.3em;
  left: calc(50% - 5px); /* 中央揃え */
}

/* 吹き出し右 */
.thought-bubbles-horizontal .bubble-side:last-child .thought-tail.tail-1 {
  bottom: -1em;
  left: 25%;
}
.thought-bubbles-horizontal .bubble-side:last-child .thought-tail.tail-2 {
  bottom: -2em;
  left: 15%;
}

/* -------------------------
  solutionセクション
-------------------------- */
#solution {
  padding: 0 0 5em;
  position: relative;
  z-index: 1;
  scroll-margin-top: 40px;
}

#solution .container {
  position: relative;
  z-index: 2;
}

#solution .highlight-band {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0em;
  font-weight: bold;
  color: #fff;
  font-size: 2.6em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1em;
  padding: 0.1em 0.6em 0.2em;
  background-color: var(--color-solid-yellow);
  background-image: var(--gradient-orange);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: reveal-bg 0.3s ease-out 0.5s forwards;
  transform: skewX(-15deg);
}
.second-line {
  display: flex;
  align-items: center;
  gap: 0em;
}

.solution-intro-text {
  margin: 0 auto 2em;
  font-size: 1.25em;
  font-weight: bold;
  line-height: 1.5;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

#solution .grid-2-col .card {
  background-color: #fff;
  border-radius: 2px;
  border: 1px solid #eee;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  padding: 0 0 2em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#solution .grid-2-col .card h3 {
  width: 100%;
  color: #fff;
  font-weight: bold;
  margin-bottom: 1em;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-orange);
}

#solution .grid-2-col .card p {
  width: 75%;
  font-size: 0.85em;
  text-align: left;
  line-height: 1.5;
}
.comparison-image-placeholder {
  position: relative;
  width: 10em;
  height: fit-content;
  margin: 0 auto 2em;
  overflow: hidden;
}

.comparison-image-placeholder .base-image {
  display: block;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.comparison-image-placeholder .animated-target-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  transform-origin: center center;
  animation: target-action 2.5s ease-out infinite;
  opacity: 0;
}

.card:nth-of-type(2) .animated-target-image {
  animation-delay: 1.25s;
}

@keyframes target-action {
  0% {
    transform: scale(1.3);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: scale(1);
    opacity: 1;
  }

  30% {
    transform: scale(1);
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  70% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/*==============================
  featuresセクション
==============================*/
#features {
  margin: 0 auto 6em;
}

#features .icon-circle {
  font-size: 2.6em;
  width: 2.2em;
  height: 2.2em;
  margin: 0 auto 0.8em;
  padding: 20px;
  background-color: #044b2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(13, 85, 193, 0.3);
  flex-shrink: 0;
}

#features .container .card h3 {
  font-size: 1em;
  color: var(--color-accent-dark);
}

#features .container .card p {
  text-align: left;
  line-height: 1.5;
  font-size: 0.85em;
}

/*==============================
  flowセクション
==============================*/
#flow {
  padding-bottom: 6em;
  scroll-margin-top: 40px;
}
#flow h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0.8em;
}
/* --- タブのデザイン --- */
.tabs-container {
  max-width: 100%;
  margin: 0;
}
.tabs-nav {
  display: flex;
  border: none;
  margin-bottom: 0;
  padding: 0;
  justify-content: center; /* タブを中央揃えに */
  position: relative;
  z-index: 10; /* コンテンツの上に表示 */
}
.tab-button {
  flex: none;
  min-width: 50%;
  background: #e2e8f0;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 0.9em 2em;
  border-radius: 2px 2px 0 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.25em;
  transition: all 0.3s;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}
.tab-button.active {
  border-bottom-color: #fff;
  position: relative;
  bottom: -1px;
  z-index: 1;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.tab-content {
  border-radius: 0 0 2px 2px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.tab-content.hidden {
  display: none;
}
.flow-steps {
  margin: 2em 0;
}

/* --- 各ステップ --- */
.flow-step {
  width: 90%;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 2.5em 0;
  margin: 0 auto;
  border-bottom: 1px dashed #e0e0e0;
  align-items: center;
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-step__content {
  display: flex;
  width: 70%;
}

/* --- ステップ番号 --- */
.flow-step__number {
  font-weight: bold;
  font-size: 5em; /* 数字のサイズ */
  line-height: 0.9;
  margin-right: 0.5em;
  font-family: "DIN", "DIN Alternate", "DIN Condensed", sans-serif;
  position: relative;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1em;
  align-items: center;
}

.flow-step__number::before {
  content: "STEP";
  font-weight: bold;
  font-size: 0.5em;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.flow-step__text-wrapper {
  width: 70%;
  text-align: left;
}

.flow-step__title {
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 0.8em;
}

.flow-step__text {
  line-height: 1.5;
}
.flow-step__image {
  width: 30%;
}

.flow-step__image img {
  width: 100%;
  height: 10em;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*==============================
  supportセクション
==============================*/
#support {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("/wp-content/themes/next-system/asset/img/edge-ai/fall-detection/tec_img_background.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 6em 0;
}
#support h2 {
  color: #fff;
  margin-bottom: 0.8em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
#support p {
  max-width: 800px;
  font-weight: bold;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/*==============================
  faqセクション
==============================*/
#faq {
  padding: 6em 0;
}
#faq .faq-list {
  margin: 3em auto 0;
  border-top: 1px solid var(--color-border);
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5em 0;
}
.faq-item .faq-question span,
.faq-item .faq-answer span {
  font-weight: bold;
  margin-right: 0.5em;
  letter-spacing: 2px;
}
.faq-item .faq-question span {
  color: var(--color-accent-dark);
}
.faq-item .faq-answer span {
  color: var(--color-red-accent);
}
.faq-question {
  font-size: 1.25em;
  font-weight: 500;
  position: relative;
  padding-right: 2.5em;
  cursor: pointer;
  margin: 0;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 2.6em;
  color: #94a3b8;
  transition: transform 0.3s ease;
  width: 1em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-question.open::after {
  content: "+";
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer p {
  font-size: 1.25em;
  font-weight: 500;
  padding-right: 3em;
  line-height: 1.7;
  max-width: none;
  margin: 1em 0;
}

/*==============================
  contactセクション
==============================*/
#contact {
  text-align: center;
  padding: 5em 0;
  background-image: var(--gradient-green);
  color: #fff;
}
#contact h2 {
  color: #fff;
  margin-bottom: 0.8em;
}
#contact p {
  margin: 0 auto 1em;
}

/*==============================
  アニメーション
==============================*/
@keyframes reveal-bg {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes herobtn {
  from {
    opacity: 0;
    transform: translate(-50%, 60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 50%);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*==============================
  レスポンシブ設定 (PC)
==============================*/
@media only screen and (min-width: 769px) {
  .sponly {
    display: none;
  }
  #hamburger-button,
  #mobile-menu {
    display: none;
  }

  .card li {
    flex-direction: row;
    align-items: center;
    gap: 2em;
  }
}

@media (min-width: 769px) and (max-width: 1079px) {
  .breadcrumbs {
    top: 70px;
  }

  .container,
  .breadcrumbs {
    padding: 0 2.5%;
  }
  .cta-banner,
  .header .container {
    width: 95%;
  }
}

/*==============================
  レスポンシブ設定 (SP)
==============================*/

@media only screen and (max-width: 768px) {
  /* 汎用コンポーネント */
  .pconly {
    display: none;
  }
  .breadcrumbs {
    top: 70px;
  }
  .container {
    margin: 0 auto;
    padding: 0 2.5%;
  }
  .header .container,
  .breadcrumbs {
    width: 95%;
  }
  .desktop-menu {
    display: none;
  }
  /* 吹き出し */
  .callout {
    padding: 0.5em 2em;
    font-size: 0.875em;
    line-height: 1.5;
  }
  .callout::before {
    top: -13px;
    border-width: 0 9px 12px 9px;
  }

  .header-title a {
    font-size: 1.2em;
  }

  .hero-bg {
    height: 80vh;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  .grid-4-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }

  .card {
    padding: 1em;
  }
  /*  headerセクション */
  .header .logo-image {
    width: 1.2em;
  }
  /* モバイルメニューセクション */
  #hamburger-button {
    display: grid; /* Flexbox から Grid に変更 */
    grid-template-rows: 1fr 1fr 1fr; /* 3つの均等な行を作成 */
    align-items: center; /* 各行のバーを垂直方向中央に */
    width: 50px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
  }

  #hamburger-button .bar {
    grid-column: 1; /* すべて1列目に配置 */
    width: 100%;
    height: 4px;
    background-color: var(--color-border);
    border-radius: 2px;
    transition: all 0.4s ease;
    transform-origin: center;
  }
  #hamburger-button .bar:nth-child(1) {
    grid-row: 1;
  }
  #hamburger-button .bar:nth-child(2) {
    grid-row: 2;
  }
  #hamburger-button .bar:nth-child(3) {
    grid-row: 3;
  }

  #hamburger-button.active .bar {
    /* ★重要：すべてを中央の行(2行目)に集める */
    grid-row: 2;
  }

  #hamburger-button.active .bar:nth-child(1) {
    transform: rotate(45deg);
  }
  #hamburger-button.active .bar:nth-child(2) {
    opacity: 0;
  }
  #hamburger-button.active .bar:nth-child(3) {
    transform: rotate(-45deg);
  }

  #mobile-menu {
    font-weight: bold;
    background: #fff;
    border-top: 1px solid var(--color-border);
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  #mobile-menu a {
    display: block;
    padding: 1em;
    border-bottom: 1px solid var(--color-border);
  }

  #mobile-menu .btn-primary {
    color: var(--color-border);
  }

  #mobile-menu a:hover {
    background: var(--color-bg);
  }

  #mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* heroセクション */
  .hero-bg h1 {
    font-size: 1.6em;
  }
  .hero-bg video {
    height: 100%;
  }
  .cta-banner {
    font-size: 1em;
    width: 95%;
    padding: 1em;
    margin: 0 auto;
    display: block;
  }
  .cta-text {
    margin-bottom: 0.5em;
    display: block;
  }
  .cta-button {
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  }

  /* challengesセクション */
  #challenges {
    padding-bottom: 2em;
  }

  #challenges h2 {
    font-size: 1.2em;
  }

  #challenges .grid-2-col {
    grid-template-columns: 1fr;
    gap: 0.5em;
  }

  #challenges .card {
    padding: 1em;
  }

  #challenges .card h3 {
    font-size: 1em;
  }

  #challenges .card li {
    flex-direction: column;
    gap: 0.5em;
  }
  #challenges .card li:nth-child(2) {
    flex-direction: column-reverse;
  }

  .text-container p {
    font-size: 0.875em;
  }

  .thought-bubbles-horizontal {
    gap: 0.5em;
    margin: 0;
  }

  /* 吹き出し左 */
  .thought-bubbles-horizontal .bubble-side:first-child .thought-tail.tail-1 {
    bottom: -1em;
    right: 25%;
  }

  .thought-bubbles-horizontal .bubble-side:first-child .thought-tail.tail-2 {
    bottom: -2em;
    right: 15%;
  }

  /* 吹き出し中央 */
  .thought-bubbles-horizontal .bubble-center .thought-tail.tail-1 {
    bottom: -1em;
    left: calc(50% - 7.5px); /* 中央揃え */
  }

  .thought-bubbles-horizontal .bubble-center .thought-tail.tail-2 {
    bottom: -2.3em;
    left: calc(50% - 5px); /* 中央揃え */
  }

  /* 吹き出し右 */
  .thought-bubbles-horizontal .bubble-side:last-child .thought-tail.tail-1 {
    bottom: -1em;
    left: 25%;
  }
  .thought-bubbles-horizontal .bubble-side:last-child .thought-tail.tail-2 {
    bottom: -2em;
    left: 15%;
  }

  /* solutionセクション */
  #solution {
    padding: 0 0 3em;
  }

  #solution .highlight-band {
    font-size: 1.4em;
  }

  #solution .grid-2-col .card {
    padding-bottom: 1em;
  }
  .solution-intro-text {
    font-size: 1em;
  }

  .icon-circle {
    font-size: 2em;
    width: 2.5em;
    height: 2.5em;
    margin-bottom: 0.5em;
  }

  /* flowセクション */
  #flow {
    padding-bottom: 3em;
  }
  #flow h2 {
    font-size: 1.2em;
  }
  .tabs-nav {
    gap: 0.5em;
  }

  .tab-button {
    flex: 1 1 auto;
    min-width: unset;
    font-size: 1em;
    padding: 0.7em 1.2em;
  }
  .flow-step__text-wrapper {
    width: 75%;
  }
  .flow-steps {
    margin: 0;
  }

  .flow-step {
    display: block;
    grid-template-columns: 1fr;
    gap: 1.5em;
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .flow-step__content {
    width: 100%;
  }

  .flow-step:nth-child(even) .flow-step__content {
    grid-column: 1 / 2;
    text-align: left;
    justify-content: flex-start;
  }

  .flow-step:nth-child(even) .flow-step__text-wrapper {
    text-align: left;
  }

  .flow-step:nth-child(even) .flow-step__image {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .flow-step__content {
    width: 100%;
  }
  .flow-step__image {
    width: 100%;
  }
  .flow-step__image img {
    margin-top: 1em;
  }
  .flow-step__number {
    font-size: 3.6em;
    justify-content: flex-start;
    width: 25%;
    margin: 0;
    align-items: baseline;
  }
  .flow-step__title {
    font-size: 1em;
  }
  .flow-step__text {
    font-size: 0.875em;
  }
  /* supportセクション */
  #support {
    padding: 3em 0;
  }
  #support h2 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
  }
  #support p {
    text-align: left;
    line-height: 1.5;
    font-weight: 100;
    font-size: 0.875em;
  }

  /* faqセクション */
  #faq {
    padding: 3em 0;
  }
  #faq h2 {
    font-size: 1.2em;
  }
  .faq-item {
    padding: 1.5em 0 1.5em 1em;
  }
  .faq-question {
    font-size: 1em;
  }
  .faq-question::before {
    left: -1.7em;
  }
  .faq-answer p {
    font-size: 1em;
    margin: 1em 0 0;
  }
  /* contactセクション */
  #contact {
    padding: 3em 0;
  }

  #contact h2 {
    font-size: 1.2em;
  }

  #contact p {
    line-height: 1.5;
  }
}
