/* ============================================================
   ai-octops.css — Pixel-perfect OCTOps clone styles
   Based on research: docs/research/octops/
   Primary accent: #E9463E
   Gradient: linear-gradient(270deg, #EF8477 0%, #E9463E 100%)
   Container max-width: 1264px
   ============================================================ */

/* ----------------------------------------------------------
   1. OCTOps Page-scoped CSS Custom Properties
   ---------------------------------------------------------- */
.octops-page {
  --octops-primary: #E9463E;
  --octops-primary-light: #EF8477;
  --octops-primary-gradient: linear-gradient(270deg, #EF8477 0%, #E9463E 100%);
  --octops-bg-white: #FFFFFF;
  --octops-bg-pink-light: #FFE9E8;
  --octops-bg-pink-lighter: #FFEAEB;
  --octops-text-primary: #000000;
  --octops-text-white: #FFFFFF;
  --octops-text-red: #E9463E;
  --octops-border-red: #E9463E;
  --octops-font-primary: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Helvetica, sans-serif;
  --octops-font-accent: "Lato", Helvetica, sans-serif;
  --octops-font-fallback: "Microsoft YaHei", Arial, sans-serif;
  --octops-container-max: 1264px;
  --octops-header-height: 60px;
  --octops-radius-pill: 30px;
  --octops-radius-card: 12px;
  --octops-z-header: 9999;
  --octops-tab-yellow: #F5C842;
  --octops-tab-blue: #4A90D9;
  --octops-tab-green: #5CB85C;
  --octops-tab-lightblue: #5BC0DE;
}

/* ----------------------------------------------------------
   2. Global resets for this page only
   ---------------------------------------------------------- */
.octops-page,
.octops-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.octops-page {
  font-family: var(--octops-font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--octops-text-primary);
  background-color: var(--octops-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global page wrapper — matches original .PC > .all container */
.octops-page .all {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  background-color: var(--octops-bg-white);
}

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

.octops-page a {
  color: inherit;
  text-decoration: none;
}

.octops-page button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------------------------
   3. Container (scoped to .uses-selector only — not global)
   ---------------------------------------------------------- */
.octops-page .uses-selector .container {
  display: inline-block;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.4px solid var(--octops-border-red);
  padding: 2px 0px 4px 0px;
  width: 100%;
  max-width: 300px;
  cursor: pointer;
  position: relative;
}

/* ----------------------------------------------------------
   4. Header / Navigation
   ---------------------------------------------------------- */
.octops-page .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--octops-header-height);
  z-index: var(--octops-z-header);
  background-color: var(--octops-bg-white);
}

.octops-page .frame-header {
  position: relative;
  width: 100%;
  max-width: var(--octops-container-max);
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12.64px 50.56px;
  margin: 0 auto;
  background-color: rgb(255, 255, 255);
}

.octops-page .logo {
  width: 120.75px;
  height: 35px;
  display: block;
  flex-shrink: 0;
}

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

/* Scroll text area (desktop nav items shown as scroll text) */
.octops-page .scroll-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18.96px;
  font-size: 16px;
  font-family: var(--octops-font-fallback);
  font-weight: 400;
}

.octops-page .scroll-text.hidden {
  display: none;
}

@media (min-width: 769px) {
  .octops-page .scroll-text.hidden {
    display: flex !important;
  }
}

.octops-page .text-font {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--octops-font-fallback);
  color: var(--octops-text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.octops-page .text-font:hover {
  color: var(--octops-primary);
}

/* Header CTA buttons container */
.octops-page .frame-dl-qa {
  display: flex;
  align-items: center;
  gap: 8px;
}

.octops-page .header-button-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7.584px 12.64px;
  border-radius: var(--octops-radius-pill);
  background: var(--octops-primary-gradient);
  color: var(--octops-text-white);
  font-size: 16px;
  font-weight: 400;
  font-family: var(--octops-font-fallback);
  transition: filter 0.2s ease;
}

.octops-page .header-button-dl:hover {
  filter: brightness(1.1);
}

.octops-page .header-button-qa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7.584px 12.64px;
  border-radius: var(--octops-radius-pill);
  border: 2px solid var(--octops-border-red);
  background-color: var(--octops-bg-white);
  color: var(--octops-text-red);
  font-size: 16px;
  font-weight: 400;
  font-family: var(--octops-font-fallback);
  transition: all 0.2s ease;
}

.octops-page .header-button-qa:hover {
  background-color: var(--octops-primary);
  color: var(--octops-text-white);
}

/* Frame menu (hamburger + gnav) */
.octops-page .frame-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger menu */
.octops-page .menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.octops-page .menu-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--octops-text-primary);
  transition: transform 300ms ease, opacity 300ms ease;
}

.octops-page .menu.active .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.octops-page .menu.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.octops-page .menu.active .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop navigation (hidden on desktop, shown via scroll-text instead) */
.octops-page .gnav {
  display: none;
}

.octops-page .gnav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18.96px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.octops-page .gnav ul li a {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--octops-font-fallback);
  color: var(--octops-text-primary);
  transition: color 0.2s ease;
}

.octops-page .gnav ul li a:hover {
  color: var(--octops-primary);
}

.octops-page .gnav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile nav overlay */
.octops-page .mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 998;
}

.octops-page .mobile-nav-overlay.active {
  display: block;
}

/* Mobile nav panel */
.octops-page .mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  background-color: var(--octops-bg-white);
  z-index: 999;
  padding: 48px 32px 32px;
  transform: translateX(100%);
  transition: transform 300ms ease;
  overflow-y: auto;
}

.octops-page .mobile-nav.active {
  transform: translateX(0);
}

.octops-page .mobile-nav-links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-top: 0;
  gap: 0;
  list-style: none;
}

.octops-page .mobile-nav-links > li {
  width: 100%;
  border-bottom: none;
}

.octops-page .mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  font-size: 18px;
  font-weight: 500;
  color: var(--octops-text-primary);
  font-family: var(--octops-font-primary);
  text-align: center;
}

.octops-page .mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  border-bottom: none;
}

.octops-page .mobile-nav-cta .header-button-dl,
.octops-page .mobile-nav-cta .header-button-qa {
  width: 100%;
  height: 64px;
  justify-content: center;
}

.octops-page .mobile-nav-cta .header-button-dl {
  color: var(--octops-text-white);
}

.octops-page .mobile-nav-cta .header-button-qa {
  color: var(--octops-text-red);
  border: none;
}

/* ----------------------------------------------------------
   5. Hero Section
   ---------------------------------------------------------- */
.octops-page .hero-section {
  background: var(--octops-bg-white);
  padding-top: var(--octops-header-height);
  padding-bottom: 0;
}

.octops-page .hero-section.has-background {
  background: var(--octops-bg-white);
}

.octops-page .hero-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top full-width hero image */
.octops-page .top {
  width: 100%;
  display: block;
}

.octops-page .top img {
  width: 100%;
  height: auto;
  display: block;
}

.octops-page .frame-top-text {
  padding: clamp(18.75px, 5vw, 3.95rem) 0px clamp(18.75px, 5vw, 3.95rem) 0px;
  gap: clamp(3.75px, 1vw, 0.79rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.octops-page .top-text1 {
  font-size: clamp(14px, 3.5vw, 2.765rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  line-height: clamp(14px, 3.5vw, 2.765rem);
  letter-spacing: 1px;
  color: var(--octops-text-primary);
  display: block;
  text-align: center;
}

.octops-page .top-text2 {
  font-size: clamp(28px, 5vw, 3.95rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  line-height: clamp(28px, 5vw, 3.95rem);
  letter-spacing: 1px;
  color: var(--octops-text-primary);
  display: block;
  text-align: center;
}

.octops-page .top-text2 .octops-brand {
  color: #E9463E;
  font-family: var(--octops-font-accent);
  font-weight: 700;
}

.octops-page .top-img {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.octops-page .top-img img {
  width: clamp(200px, 34vw, 26.86rem);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero industry slider */
.octops-page .hero-slider {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.octops-page .hero-slider-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.octops-page .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.octops-page .hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.octops-page .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.octops-page .hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

.octops-page .hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #d1d1d1;
  cursor: pointer;
  padding: 0;
}

.octops-page .hero-slider-dot.active {
  background-color: #E9463E;
}

/* Intro text + ai_dounyu block */
.octops-page .frame-top-text2 {
  padding: clamp(18.75px, 5vw, 3.95rem) 0px clamp(18.75px, 5vw, 3.95rem) 0px;
  gap: clamp(18.75px, 5vw, 3.95rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.octops-page .top-text3 {
  font-size: clamp(16px, 2.2vw, 1.738rem);
  line-height: clamp(18px, 2.6vw, 2.054rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  text-align: center;
}

.octops-page .top-text3 .octops-brand {
  font-family: var(--octops-font-accent);
  font-weight: 700;
}

.octops-page .top2 {
  width: 100%;
  display: flex;
  justify-content: center;
}

.octops-page .top2 img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
}

.octops-page .top-text4 {
  font-size: clamp(20px, 3.2vw, 2.528rem);
  font-weight: 700;
  color: #E9463E;
  letter-spacing: 1px;
  line-height: clamp(22px, 3.4vw, 2.686rem);
  font-family: var(--octops-font-primary);
  text-align: center;
}

.octops-page .top-text4 .octops-brand {
  font-family: var(--octops-font-accent);
  font-weight: 700;
}

.octops-page .hero-content-wrapper {
  width: 100%;
  max-width: 884px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .octops-page .top-text4-change {
    display: block;
  }
}

/* Hero wave transition */
.octops-page .hero-wave {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.octops-page .hero-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------------------------------------
   6. Section Header Pattern (shared across all sections)
   ---------------------------------------------------------- */
.octops-page .frame-top-text-uses,
.octops-page .frame-top-text-service,
.octops-page .frame-top-text-functions,
.octops-page .frame-top-text-recommendation,
.octops-page .frame-top-text-feature,
.octops-page .frame-top-text-case_studies {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(11.25px, 3vw, 2.37rem);
  padding: clamp(37.5px, 10vw, 7.9rem) 0px clamp(18.75px, 5vw, 3.95rem) 0px;
}

/* Uses section has slightly different padding per spec */
.octops-page .frame-top-text-uses {
  padding: clamp(18.75px, 5vw, 3.95rem) 0px;
  gap: clamp(11.25px, 3vw, 2.37rem);
}

/* Case studies hidden */
.octops-page .frame-top-text-case_studies {
  display: none !important;
}

.octops-page .case-studies-section {
  display: none !important;
}

.octops-page .text-uses,
.octops-page .text-service,
.octops-page .text-functions,
.octops-page .text-recommendation,
.octops-page .text-feature,
.octops-page .text-case_studies {
  font-size: clamp(24px, 3.5vw, 2.25rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.2;
  letter-spacing: 1px;
  display: block;
}

.octops-page .text-uses-en,
.octops-page .text-service-en,
.octops-page .text-functions-en,
.octops-page .text-recommendation-en,
.octops-page .text-feature-en,
.octops-page .text-case_studies-en {
  font-size: clamp(14px, 2.2vw, 1.738rem);
  font-weight: 700;
  font-family: var(--octops-font-accent);
  color: var(--octops-primary);
  line-height: 1.4;
  letter-spacing: 1px;
  display: block;
}

/* ----------------------------------------------------------
   7. Uses Section (利用シーン)
   ---------------------------------------------------------- */
.octops-page .uses-section {
  padding: 0;
  background-color: var(--octops-bg-white);
}

.octops-page .uses-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0 50.56px;
}

.octops-page .uses-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.octops-page .uses-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  width: 100%;
  margin-bottom: 40px;
}

.octops-page .uses-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--octops-bg-white);
  border-radius: var(--octops-radius-card);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.octops-page .uses-card:hover {
  transform: translateY(-4px);
}

.octops-page .uses-card-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--octops-bg-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.octops-page .uses-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.octops-page .uses-card-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--octops-text-primary);
  margin: 16px 0;
  line-height: 1.4;
  text-align: center;
}

/* Industry selector */
.octops-page .uses-selector {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.octops-page .uses-selector-label {
  font-size: 16px;
  color: var(--octops-text-primary);
  background: transparent;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 20px;
}

.octops-page .uses-selector-arrow {
  color: var(--octops-primary);
  font-size: 14px;
  margin-left: 4px;
}

/* Uses CTA button */
.octops-page .frame-uses-button {
  display: flex;
  margin: clamp(15px, 4vw, 3.16rem) 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.octops-page .uses-button {
  width: 180px;
  height: 40.9688px;
  padding: 10px;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-white);
  background: var(--octops-primary-gradient);
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.octops-page .uses-button:hover {
  filter: brightness(1.1);
  color: var(--octops-text-white);
}

/* New Uses grid with cover cards */
.octops-page .uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1011px;
  margin: 0 auto 40px;
}

.octops-page .uses-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.octops-page .uses-cover-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9.984px;
}

.octops-page .uses-cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.octops-page .uses-cover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.octops-page .uses-cover-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  gap: 20px;
}

.octops-page .uses-cover-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-white);
  width: auto;
  max-width: 100%;
}

.octops-page .uses-cover-subtitle {
  font-size: 10px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-white);
  width: auto;
  max-width: 100%;
}

.octops-page .uses-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 9.984px;
}

.octops-page .uses-tag-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: calc(50% - 10px);
  padding: 2px 0px 4px;
  border: none;
  border-bottom: 1.5px solid var(--octops-border-red);
  text-decoration: none;
  transition: opacity 0.1s ease;
}

.octops-page .uses-tag-link:hover {
  opacity: 0.7;
}

.octops-page .uses-tag-text {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-border-red);
  white-space: nowrap;
}

.octops-page .uses-tag-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30.3984px;
  height: 18.9844px;
  padding: 2px 10px 4px;
  border: 1.5px solid var(--octops-border-red);
  border-radius: 16px;
  background-color: transparent;
  color: var(--octops-border-red);
  font-size: 10px;
  line-height: 10px;
}

/* ----------------------------------------------------------
   7.5 About Section (OCTOpsについて)
   ---------------------------------------------------------- */
.octops-page .about-section {
  padding: 0;
  background-color: var(--octops-bg-white);
}

.octops-page .about-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0;
}

.octops-page .frame-top-text-about,
.octops-page .frame-top-text-point {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(11.25px, 3vw, 2.37rem);
  padding: clamp(37.5px, 10vw, 7.9rem) 0px clamp(18.75px, 5vw, 3.95rem) 0px;
}

.octops-page .frame-top-text-about {
  width: 1011px;
  max-width: 100%;
  margin: 0 auto;
}

.octops-page .about-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(9.375px, 2.5vw, 1.975rem);
  padding: 0 0 clamp(18.75px, 5vw, 3.95rem) 0;
  font-family: var(--octops-font-primary);
  font-weight: 500;
}

.octops-page .text-about,
.octops-page .text-point {
  font-size: clamp(24px, 3.5vw, 2.25rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.2;
  letter-spacing: 1px;
  display: block;
}

.octops-page .text-about-brand {
  font-family: var(--octops-font-accent);
  letter-spacing: 1px;
}

.octops-page .text-about-en,
.octops-page .text-point-en {
  font-size: clamp(14px, 2.2vw, 1.738rem);
  font-weight: 700;
  font-family: var(--octops-font-accent);
  color: var(--octops-primary);
  line-height: 1.4;
  letter-spacing: 1px;
  display: block;
}

.octops-page .about-subtitle {
  font-size: clamp(14px, 2.2vw, 1.738rem);
  font-weight: 700;
  line-height: clamp(16px, 2.4vw, 1.896rem);
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  text-align: center;
}

.octops-page .about-desc-frame {
  display: flex;
  justify-content: center;
  width: 70%;
}

.octops-page .about-desc {
  font-size: clamp(8px, 1.2vw, 0.948rem);
  font-weight: 700;
  line-height: clamp(10px, 1.4vw, 1.106rem);
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  text-align: left;
}

.octops-page .about-content {
  display: flex;
  justify-content: center;
  padding: 0;
}

.octops-page .about-illustration {
  width: 100%;
  max-width: var(--octops-container-max);
  margin-left: auto;
  margin-right: auto;
}

.octops-page .about-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .octops-page .about-illustration {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
}

/* ----------------------------------------------------------
   7.6 Point Section (OCTOps 能做什么)
   ---------------------------------------------------------- */
.octops-page .point-section {
  padding: 0;
  background-color: #E9463E;
}

.octops-page .point-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0;
}

.octops-page .frame-top-text-point {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(11.25px, 3vw, 2.37rem);
  padding: clamp(37.5px, 10vw, 7.9rem) 0px clamp(18.75px, 5vw, 3.95rem) 0px;
}

.octops-page .text-point {
  font-size: clamp(24px, 3.5vw, 2.25rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-white);
  line-height: 1.2;
  letter-spacing: 1px;
  display: block;
}

.octops-page .text-point-en {
  font-size: clamp(14px, 2.2vw, 1.738rem);
  font-weight: 700;
  font-family: var(--octops-font-accent);
  color: var(--octops-text-white);
  line-height: 1.4;
  letter-spacing: 1px;
  display: block;
}

.octops-page .point-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px clamp(30px, 8vw, 6.32rem) 24px;
  gap: clamp(16px, 4vw, 32px);
}

.octops-page .point-desktop-image {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.octops-page .point-desktop-image img {
  width: 100%;
  height: auto;
  display: block;
}

.octops-page .point-mobile-cards {
  display: none;
  width: 100%;
}

.octops-page .point-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 3vw, 24px);
  width: 100%;
  max-width: 1100px;
  margin-bottom: 4px;
}

.octops-page .point-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.octops-page .point-problem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  min-height: clamp(120px, 18vw, 160px);
}

.octops-page .point-problem-card p {
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 700;
  line-height: 1.6;
  color: #333333;
  margin: 0;
}

.octops-page .point-arrow-down {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: 20px;
  height: clamp(16px, 4vw, 24px);
  background-color: #FFFFFF;
}

.octops-page .point-arrow-line,
.octops-page .point-arrow-head {
  display: none;
}

.octops-page .point-summary-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  width: 100%;
  max-width: 1100px;
  padding: clamp(20px, 4vw, 32px);
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-bottom: 28px;
}

.octops-page .point-summary-card::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 20px solid #FFFFFF;
}

.octops-page .point-summary-logo {
  width: clamp(120px, 20vw, 160px);
  height: auto;
  display: block;
}

.octops-page .point-summary-card p {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: #333333;
  margin: 0;
}

.octops-page .point-brand {
  color: #E9463E;
  font-weight: 700;
}

.octops-page .point-feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 20px);
  width: 100%;
  max-width: 1100px;
}

.octops-page .point-feature-item {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.octops-page .point-feature-icon {
  flex-shrink: 0;
  width: clamp(80px, 18vw, 135px);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.octops-page .point-feature-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.octops-page .point-feature-text {
  flex: 1;
}

.octops-page .point-feature-text p {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700;
  line-height: 1.6;
  color: #333333;
  margin: 0;
}

.octops-page .point-note {
  font-size: 0.85em;
  color: #666666;
  font-weight: 500;
}

@media (max-width: 768px) {
  .octops-page .point-content {
    padding: 0 16px clamp(30px, 8vw, 6.32rem) 16px;
  }

  .octops-page .point-desktop-image {
    display: none;
  }

  .octops-page .point-mobile-cards {
    display: block;
  }

  .octops-page .point-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .octops-page .point-problem-card {
    min-height: 100px;
    padding: 12px;
  }

  .octops-page .point-problem-card p {
    font-size: 12px;
    line-height: 1.5;
  }

  .octops-page .point-feature-item {
    gap: 12px;
    padding: 14px;
  }

  .octops-page .point-feature-icon {
    width: clamp(95px, 24vw, 145px);
  }

  .octops-page .point-feature-text p {
    font-size: 13px;
  }

  .octops-page .point-summary-card p {
    font-size: 13px;
  }
}

/* Legacy image fallback rules (kept for safety, now unused) */
.octops-page .point-content .top2 {
  width: 94%;
  max-width: 1100px;
  display: block;
  margin: 0 auto;
}

.octops-page .point-content .top2 img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ----------------------------------------------------------
   8. Service Section (サービス紹介)
   ---------------------------------------------------------- */
.octops-page .service-section {
  padding: 0;
  background: linear-gradient(rgb(255, 255, 255) 0%, rgb(255, 233, 232) 100%);
}

.octops-page .service-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0 50.56px;
}

.octops-page .service-intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(9.375px, 2.5vw, 1.975rem);
  padding: 0 0 clamp(18.75px, 5vw, 3.95rem) 0;
  margin-bottom: 0;
}

.octops-page .service-intro-lead {
  font-size: clamp(14px, 2.2vw, 1.738rem);
  font-weight: 700;
  line-height: clamp(16px, 2.4vw, 1.896rem);
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
}

.octops-page .service-intro-desc {
  width: 80%;
  text-align: left;
  font-size: clamp(8px, 1.2vw, 0.948rem);
  font-weight: 700;
  line-height: clamp(10px, 1.4vw, 1.106rem);
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
}

.octops-page .service-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.octops-page .img-center-service {
  display: flex;
  justify-content: center;
  padding: 0 0 clamp(18.75px, 5vw, 3.95rem) 0;
}

.octops-page .img-center-service img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------------------------------------
   9. Functions Section (機能一覧)
   ---------------------------------------------------------- */
.octops-page .functions-section {
  padding: 0;
  background: radial-gradient(rgb(255, 255, 255) 0%, rgb(255, 234, 232) 100%);
}

.octops-page .functions-section.has-background {
  background: radial-gradient(rgb(255, 255, 255) 0%, rgb(255, 234, 232) 100%);
}

.octops-page .functions-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0 50.56px;
}

.octops-page .functions-content {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 48px);
  padding-bottom: clamp(37.5px, 10vw, 7.9rem);
}

.octops-page .functions-subtitle {
  font-size: clamp(14px, 2vw, 1.25rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.6;
  text-align: center;
  margin-top: clamp(8px, 2vw, 16px);
}

.octops-page .frame-accordion-center {
  display: flex;
  justify-content: center;
}

.octops-page .frame-accordion {
  width: 100%;
  max-width: 900px;
}

.octops-page .functions-group {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.octops-page .functions-group-title {
  font-size: clamp(16px, 2.2vw, 1.5rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: left;
}

.octops-page .functions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(24px, 5vw, 48px);
}

.octops-page .function-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12.64px;
  background-color: var(--octops-bg-white);
  border: 2px solid #CCCCCC;
  border-radius: 4px;
}

.octops-page .function-icon {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.octops-page .function-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.octops-page .function-title {
  font-size: clamp(14px, 1.6vw, 17.696px);
  font-weight: 500;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.2;
}

.octops-page .function-desc,
.octops-page .function-note {
  font-size: clamp(12px, 1.4vw, 15.168px);
  font-weight: 500;
  color: #555555;
  line-height: 1.2;
}

.octops-page .functions-section-note {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--octops-text-primary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .octops-page .function-item {
    align-items: flex-start;
  }

  .octops-page .function-icon {
    width: 60px;
  }
}

/* ----------------------------------------------------------
   10. Recommendation Section (業界別おすすめ機能)
   ---------------------------------------------------------- */
.octops-page .recommendation-section {
  padding: 0;
  background-color: var(--octops-bg-white);
}

.octops-page .recommendation-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0 50.56px;
}

.octops-page .recommendation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(37.5px, 10vw, 7.9rem);
  max-width: 1011px;
  margin: 0 auto;
  width: 100%;
}

.octops-page .recommendation-subtitle {
  font-size: clamp(14px, 2vw, 1.25rem);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.6;
  text-align: center;
  margin-top: clamp(8px, 2vw, 16px);
  margin-bottom: clamp(24px, 5vw, 48px);
}

.octops-page .recommendation-note {
  font-size: 15.168px;
  font-weight: 700;
  color: #888888;
  line-height: 1.5;
  text-align: right;
  margin-top: 24px;
  width: 100%;
  padding: 5px 0 37.5px;
}

/* Tab buttons */
.octops-page .recommendation-tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  width: 100%;
}

.octops-page .recommendation-tab-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.octops-page .recommendation-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 152px;
  height: 36px;
  padding: 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1.5px solid #000;
  border-radius: 20px;
  font-weight: 700;
  font-family: var(--octops-font-primary);
  font-size: 14px;
  background-color: #FFF;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.octops-page .recommendation-tab .tab-icon {
  padding-right: 4px;
  width: 20px;
  height: auto;
  display: none;
}

.octops-page .recommendation-tab.active .tab-icon-on,
.octops-page .recommendation-tab:hover .tab-icon-on {
  display: inline-block;
}

.octops-page .recommendation-tab:not(.active):not(:hover) .tab-icon-off {
  display: inline-block;
}

.octops-page .recommendation-tab:hover,
.octops-page .recommendation-tab.active {
  color: white;
  border-color: transparent;
}

.octops-page .recommendation-tab.hb-yellow:hover,
.octops-page .recommendation-tab.hb-yellow.active {
  background-color: #F5A61D;
}

.octops-page .recommendation-tab.hb-blue:hover,
.octops-page .recommendation-tab.hb-blue.active {
  background-color: #3C4FA1;
}

.octops-page .recommendation-tab.hb-green:hover,
.octops-page .recommendation-tab.hb-green.active {
  background-color: #349463;
}

.octops-page .recommendation-tab.hb-lightblue:hover,
.octops-page .recommendation-tab.hb-lightblue.active {
  background-color: #31A3DC;
}

/* Tab panels */
.octops-page .recommendation-panels {
  width: 100%;
  background-color: #FFF;
  border-radius: 4px;
  padding: clamp(6px, 1.6vw, 1.264rem) clamp(6px, 1.6vw, 1.264rem) 0;
}

.octops-page .recommendation-panel {
  display: none;
  justify-content: center;
}

.octops-page .recommendation-panel.active {
  display: flex;
}

.octops-page .recommendation-panel[hidden] {
  display: none;
}

.octops-page .recommendation-panel img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .octops-page .recommendation-tabs {
    gap: 4px;
  }

  .octops-page .recommendation-tab-row {
    gap: 5vw;
    margin-bottom: 4px;
  }
}

/* ----------------------------------------------------------
   11. Feature Section (OCTOpsの特長)
   ---------------------------------------------------------- */
.octops-page .feature-section {
  padding: 0;
  background: radial-gradient(rgb(255, 255, 255) 0%, rgb(255, 234, 232) 100%);
}

.octops-page .feature-section.has-background {
  background: radial-gradient(rgb(255, 255, 255) 0%, rgb(255, 234, 232) 100%);
}

.octops-page .feature-section .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0 50.56px;
}

.octops-page .feature-content {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 48px);
  padding-bottom: clamp(37.5px, 10vw, 7.9rem);
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.octops-page .feature-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.octops-page .feature-icon-col {
  flex: 0 0 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.octops-page .feature-icon-col img {
  width: 132px;
  height: auto;
  display: block;
}

.octops-page .feature-text-col {
  flex: 0 0 80%;
  display: flex;
  flex-direction: column;
  gap: clamp(5.625px, 1.5vw, 1.185rem);
}

.octops-page .feature-title {
  font-size: clamp(20px, 2.2vw, 1.738rem);
  font-weight: 700;
  line-height: clamp(22px, 2.4vw, 1.896rem);
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  text-align: left;
}

.octops-page .feature-desc {
  font-size: clamp(12px, 1.2vw, 0.948rem);
  font-weight: 500;
  line-height: clamp(14px, 1.4vw, 1.106rem);
  letter-spacing: 1px;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  text-align: left;
  margin: 0;
}

@media (max-width: 768px) {
  .octops-page .feature-row {
    flex-direction: column;
    text-align: center;
  }

  .octops-page .feature-icon-col,
  .octops-page .feature-text-col {
    flex: 0 0 auto;
    width: 100%;
  }

  .octops-page .feature-title,
  .octops-page .feature-desc {
    text-align: center;
  }
}

/* ----------------------------------------------------------
   12. Download/Contact Section (フッターCTA)
   ---------------------------------------------------------- */
.octops-page .download-contact-section {
  padding: 0;
  background: radial-gradient(50% 50%, rgba(255, 213, 208, 0.25) 50%, rgba(255, 163, 159, 0.25) 100%);
  background-color: rgba(0, 0, 0, 0);
}

.octops-page .download-contact-section.footer {
  /* Combined class from HTML */
}

.octops-page .frame-dlqa {
  width: 100%;
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 50px 50.56px;
}

.octops-page .frame-top-text-dlqa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 0 16px 0;
}

.octops-page .text-dlqa {
  font-size: 44.24px;
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.2;
  letter-spacing: 1px;
  display: block;
}

.octops-page .text-dlqa-en {
  font-size: 30.336px;
  font-weight: 700;
  font-family: var(--octops-font-accent);
  color: var(--octops-primary);
  line-height: 1.4;
  letter-spacing: 1px;
  display: block;
}

.octops-page .dlqa-subtitle {
  font-size: 15.168px;
  font-weight: 500;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.octops-page .dlqa-card-note {
  font-size: clamp(11px, 1.3vw, 0.875rem);
  color: #888888;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  max-width: 360px;
}

.octops-page .dlqa-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

.octops-page .qa-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.octops-page .qa-content {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25.28px;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 70px 50.56px;
}

.octops-page .qa-content img {
  width: auto;
  max-width: 100%;
  height: 230.039px;
  display: block;
  object-fit: contain;
}

.octops-page .frame-qa-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12.64px;
  text-align: center;
}

.octops-page .qa-text {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  font-family: var(--octops-font-primary);
  color: var(--octops-text-primary);
  line-height: 1.4;
}

.octops-page .qa-subtext {
  font-size: clamp(11px, 1.3vw, 0.875rem);
  color: #888888;
  line-height: 1.5;
  text-align: center;
  max-width: 360px;
}

@media (max-width: 768px) {
  .octops-page .dlqa-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .octops-page .qa-content {
    padding: 48px 32px;
  }

  .octops-page .text-dlqa {
    font-size: 32px;
  }

  .octops-page .text-dlqa-en {
    font-size: 22px;
  }
}

.octops-page .footer-button-qa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--octops-radius-pill);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--octops-font-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 200px;
  background-color: var(--octops-bg-white);
  color: var(--octops-primary);
  border: 2px solid var(--octops-primary);
}

.octops-page .footer-button-qa:hover {
  background: var(--octops-primary-gradient);
  color: var(--octops-text-white);
}

/* ----------------------------------------------------------
   13. Footer
   ---------------------------------------------------------- */
.octops-page .footer.sub-footer {
  background-color: var(--octops-bg-white);
  padding: 0 0 18.96px;
}

.octops-page .footer.sub-footer .wp-block-group__inner-container {
  max-width: var(--octops-container-max);
  margin: 0 auto;
  padding: 0 50.56px;
  display: flex;
  flex-direction: column;
}

.octops-page .frame-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 101.12px;
  padding: 12.64px 56.88px 0px;
}

.octops-page .footer-logo {
  max-width: 200px;
  flex-shrink: 0;
}

.octops-page .footer-logo a {
  display: block;
}

.octops-page .footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.octops-page .footer-nav {
  display: flex;
  align-items: center;
  gap: 18.96px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.octops-page .footer-nav ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18.96px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.octops-page .footer-nav ul li a {
  font-size: 15.168px;
  font-weight: 500;
  font-family: var(--octops-font-fallback);
  color: var(--octops-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.octops-page .footer-nav ul li a:hover {
  color: var(--octops-primary);
}

.octops-page .frame-footer-dl-qa {
  display: flex;
  align-items: center;
  gap: 8px;
}

.octops-page .footer-cta-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7.584px 12.64px;
  border-radius: var(--octops-radius-pill);
  background: var(--octops-primary-gradient);
  color: var(--octops-text-white);
  font-size: 16px;
  font-weight: 400;
  font-family: var(--octops-font-fallback);
  text-decoration: none;
  transition: filter 0.2s ease;
  min-width: 120px;
}

.octops-page .footer-cta-dl:hover {
  filter: brightness(1.1);
}

.octops-page .footer-cta-qa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7.584px 12.64px;
  border-radius: var(--octops-radius-pill);
  border: 2px solid var(--octops-border-red);
  background-color: var(--octops-bg-white);
  color: var(--octops-text-red);
  font-size: 16px;
  font-weight: 400;
  font-family: var(--octops-font-fallback);
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 120px;
}

.octops-page .footer-cta-qa:hover {
  background-color: var(--octops-primary);
  color: var(--octops-text-white);
}

.octops-page .footer-copyright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2.16px 55.616px 2.16px 106.176px;
  font-size: 10.112px;
  font-weight: 500;
  color: #999999;
  line-height: 1.4;
}

.octops-page .footer-copyright p {
  margin: 0;
}

.octops-page .footer-operator {
  font-weight: 700;
  color: var(--octops-text-primary);
}

@media (max-width: 768px) {
  .octops-page .frame-footer {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 12.64px 20px 0;
  }

  .octops-page .footer-nav {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  .octops-page .footer-nav ul {
    justify-content: center;
  }

  .octops-page .footer-copyright {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12.64px 20px;
  }
}

@media (max-width: 390px) {
  .octops-page .frame-footer-dl-qa {
    flex-direction: column;
    width: 100%;
  }

  .octops-page .footer-cta-dl,
  .octops-page .footer-cta-qa {
    width: 100%;
    min-width: auto;
  }

  .octops-page .footer-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .octops-page .footer-logo {
    max-width: 150px;
  }
}

/* ----------------------------------------------------------
   14. Utility / Animation overrides
   ---------------------------------------------------------- */

/* Override global dark theme for this page */
.octops-page {
  background-color: var(--octops-bg-white);
  color: var(--octops-text-primary);
}

.octops-page h1,
.octops-page h2,
.octops-page h3,
.octops-page h4,
.octops-page h5,
.octops-page h6 {
  color: var(--octops-text-primary);
}

/* Override section-animate from global.css */
.octops-page .section-animate {
  opacity: 1;
  transform: none;
  transition: none;
}

.octops-page .section-animate.visible {
  opacity: 1;
  transform: none;
}

/* Focus states */
.octops-page :focus-visible {
  outline: 2px solid var(--octops-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .octops-page *,
  .octops-page *::before,
  .octops-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------
   15. Responsive Breakpoints
   ---------------------------------------------------------- */

/* Tablet (768px) */
@media (max-width: 768px) {
  .octops-page .frame-header {
    padding: 12.64px 20px;
  }

  .octops-page .scroll-text {
    display: none;
  }

  .octops-page .menu {
    display: flex;
  }

  .octops-page .mobile-nav {
    display: block;
  }

  .octops-page .hero-section .wp-block-group__inner-container,
  .octops-page .uses-section .wp-block-group__inner-container,
  .octops-page .about-section .wp-block-group__inner-container,
  .octops-page .point-section .wp-block-group__inner-container,
  .octops-page .service-section .wp-block-group__inner-container,
  .octops-page .functions-section .wp-block-group__inner-container,
  .octops-page .recommendation-section .wp-block-group__inner-container,
  .octops-page .feature-section .wp-block-group__inner-container,
  .octops-page .frame-dlqa,
  .octops-page .footer.sub-footer .wp-block-group__inner-container {
    padding: 0 20px;
  }

  /* Add vertical breathing room so the contact section's pink background
     is visible between the white card and the white footer */
  .octops-page .frame-dlqa {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* Make hero top image full-width to match red Point section background */
  .octops-page .hero-section .top {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }

  .octops-page .uses-grid {
    grid-template-columns: 1fr;
  }

  .octops-page .uses-cover-title {
    font-size: 16px;
    line-height: 24px;
  }

  .octops-page .uses-cover-subtitle {
    font-size: 12px;
    line-height: 18px;
  }

  .octops-page .function-item {
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .octops-page .function-icon {
    width: 70px;
    height: auto;
  }

  .octops-page .function-text {
    text-align: left;
  }

  .octops-page .recommendation-tabs {
    gap: 8px;
  }

  .octops-page .recommendation-tab {
    padding: 10px 16px;
    font-size: 13px;
  }

  .octops-page .recommendation-cards {
    grid-template-columns: 1fr;
  }

  .octops-page .dlqa-content {
    grid-template-columns: 1fr;
  }

  .octops-page .footer-nav ul {
    gap: 16px 24px;
  }
}

/* Mobile (390px) */
@media (max-width: 390px) {
  .octops-page .frame-header {
    padding: 12.64px 16px;
  }

  .octops-page .hero-section .wp-block-group__inner-container,
  .octops-page .uses-section .wp-block-group__inner-container,
  .octops-page .about-section .wp-block-group__inner-container,
  .octops-page .point-section .wp-block-group__inner-container,
  .octops-page .service-section .wp-block-group__inner-container,
  .octops-page .functions-section .wp-block-group__inner-container,
  .octops-page .recommendation-section .wp-block-group__inner-container,
  .octops-page .feature-section .wp-block-group__inner-container,
  .octops-page .frame-dlqa,
  .octops-page .footer.sub-footer .wp-block-group__inner-container {
    padding: 0 16px;
  }

  /* Add vertical breathing room so the contact section's pink background
     is visible between the white card and the white footer */
  .octops-page .frame-dlqa {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Make hero top image full-width to match red Point section background */
  .octops-page .hero-section .top {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .octops-page .uses-grid {
    grid-template-columns: 1fr;
  }

  .octops-page .uses-tag-text {
    font-size: 12px;
  }

  .octops-page .uses-card-text {
    font-size: 16px;
  }

  .octops-page .recommendation-tab {
    padding: 8px 12px;
    font-size: 12px;
  }

  .octops-page .recommendation-tab img {
    width: 16px;
  }

  .octops-page .recommendation-card {
    padding: 20px;
  }

  .octops-page .recommendation-card h4 {
    font-size: 16px;
  }

  .octops-page .function-title {
    font-size: 16px;
  }

  .octops-page .function-desc {
    font-size: 13px;
  }

  .octops-page .feature-card-icon {
    width: 64px;
  }

  .octops-page .feature-card-title {
    font-size: 16px;
  }

  .octops-page .feature-card-desc {
    font-size: 13px;
  }

  .octops-page .footer-button-qa {
    width: 100%;
    min-width: auto;
  }

  .octops-page .footer-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .octops-page .footer-logo {
    max-width: 150px;
  }
}

/* Desktop (1440px+) */
@media (min-width: 1440px) {
  .octops-page .frame-header,
  .octops-page .uses-section .wp-block-group__inner-container,
  .octops-page .service-section .wp-block-group__inner-container,
  .octops-page .functions-section .wp-block-group__inner-container,
  .octops-page .recommendation-section .wp-block-group__inner-container,
  .octops-page .feature-section .wp-block-group__inner-container,
  .octops-page .frame-dlqa,
  .octops-page .footer.sub-footer .wp-block-group__inner-container {
    padding-left: 50.56px;
    padding-right: 50.56px;
  }

  .octops-page .about-section .wp-block-group__inner-container,
  .octops-page .point-section .wp-block-group__inner-container {
    padding-left: 0;
    padding-right: 0;
  }

  .octops-page .top-text1 {
    font-size: 44.24px;
    line-height: 44.24px;
  }

  .octops-page .top-text2 {
    font-size: 63.2px;
    line-height: 63.2px;
  }
}

/* ----------------------------------------------------------
   Scene Modal (利用シーン 業界別ポップアップ)
   ---------------------------------------------------------- */
.scene-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.scene-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: scene-modal-fade-in 0.25s ease;
}

@keyframes scene-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scene-modal-slide-up {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.scene-modal-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  max-width: 1264px;
  width: 100vw;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  animation: scene-modal-slide-up 0.3s ease;
}

.scene-modal-body {
  padding: 0;
  font-family: var(--octops-font-primary);
}

/* Title Bar (category + title + close button inline) */
.scene-modal-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 32px 20px;
  gap: 16px;
}

.scene-modal-titlebar-info {
  flex: 1;
  min-width: 0;
}

.scene-modal-category {
  font-size: 14px;
  font-weight: 500;
  color: #E9463E;
  margin-bottom: 4px;
}

.scene-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.3;
}

/* Close button — inline with title bar, always visible */
.scene-modal-close {
  position: relative;
  top: auto;
  right: auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #999;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 0;
  flex-shrink: 0;
  margin-top: 4px;
}

.scene-modal-close:hover {
  color: #999;
  transform: none;
}

/* Horizontal Divider */
.scene-modal-divider {
  border: none;
  height: 1px;
  background: #e5e5e5;
  margin: 0 32px;
}

/* Sections */
.scene-modal-section {
  padding: 24px 32px;
}

.scene-modal-section:not(:last-child) {
  border-bottom: 1px solid #eee;
}

/* Subtitles */
.scene-modal-subtitle {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  width: 100%;
  background-color: #E9463E;
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.scene-modal-small-title {
  display: flex;
  align-items: center;
  margin: 12px 0;
  padding: 0 0 4px 3px;
  border-left: 2px solid #E9463E;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.scene-modal-main-text {
  color: #000;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

/* Before/After */
.scene-modal-ba-list {
  margin-top: 12px;
}

.scene-modal-ba-item {
  border-radius: 16px;
  margin-bottom: 12px;
  background: #fff;
}

.scene-modal-ba-content {
  width: 100%;
  padding: 16px;
  background: #F5F5F5;
}

.scene-modal-ba-content--pink {
  background: #FFF5F5;
}

.scene-modal-ba-label {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 0;
}

.scene-modal-arrow {
  text-align: center;
  margin: 16px 0;
  font-size: 24px;
  color: #E9463E;
  user-select: none;
  transform: scaleX(2);
}

.scene-modal-ba-text-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scene-modal-ba-text-list li {
  display: list-item;
  padding-left: 12px;
  text-indent: -8px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: #000;
}

.scene-modal-ba-text-list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}

/* Points */
.scene-modal-point-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.scene-modal-point-list li {
  display: list-item;
  padding-left: 16px;
  text-indent: -8px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: #000;
}

.scene-modal-point-list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}

/* Hero Image */
.scene-modal-content {
  padding-bottom: 8px;
}

.scene-modal-hero {
  padding: 24px 32px 0;
}

.scene-modal-hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Before/After Row (image + text side by side) */
.scene-modal-ba-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scene-modal-ba-row img {
  width: 50%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.scene-modal-ba-row ul {
  flex: 1;
  margin: 0;
}

/* Modal responsive */
@media (max-width: 768px) {
  .scene-modal-panel {
    width: calc(100vw - 24px);
    max-height: 95vh;
    border-radius: 12px;
  }

  .scene-modal-title {
    font-size: 20px;
  }

  .scene-modal-titlebar {
    padding: 20px 20px 0;
  }

  .scene-modal-divider {
    margin: 0 20px;
  }

  .scene-modal-section {
    padding: 20px;
  }

  .scene-modal-arrow {
    font-size: 20px;
  }

  .scene-modal-ba-row {
    flex-direction: column;
  }

  .scene-modal-ba-row img {
    width: 100%;
  }
}
