/* =========================================
ベース設定 & 強力なスナップ設定
========================================= */
html {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* ユーティリティクラス */
.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }
}

/* =========================================
1. イントロ / 2. ヘッダー
========================================= */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.logo--light {
  height: 48px;
  width: auto;
  display: block;
}

#loading.loaded {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
  max-width: 240px;
  display: block;
}

.logo--black {
  display: none !important;
}

body.menu-open .logo--green {
  display: none !important;
}

body.menu-open .logo--black {
  display: block !important;
}

.menu-btn {
  width: 40px;
  height: 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1100;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #4CFF00;
  transition: 0.4s;
}

.menu-btn.active span {
  background-color: #111;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* =========================================
3. 全画面メニューオーバーレイ
========================================= */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 120px 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  gap: 80px;
  height: 520px;
  transform: translateX(-60px);
}

.menu-nav-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.menu-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: fit-content;
}

.menu-nav-list a {
  text-decoration: none;
  color: #111;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.3s;
  line-height: 1;
  display: block;
}

.menu-nav-list a:hover {
  color: #4CFF00;
}

.menu-divider {
  width: 1px;
  background-color: #eee;
  height: 100%;
}

.menu-nav-sub {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.sub-link-group {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sub-link-item {
  display: block;
  text-decoration: none;
  color: #111;
  line-height: 1;
}

.sub-link-item .main-txt {
  font-size: 26px;
  font-weight: 500;
  display: block;
  line-height: 1;
  letter-spacing: 0.03em;
}

.sub-link-item .sub-txt {
  font-size: 13px;
  color: #888;
  display: block;
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.2;
}

.sub-link-item:hover .main-txt {
  color: #4CFF00;
}

.menu-contact-info .tel {
  font-size: 26px;
  font-weight: 500;
  text-decoration: none;
  color: #111;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.menu-contact-info-txt {
  font-size: 12px;
  line-height: 1.8;
  color: #888;
  font-weight: 400;
}

.info-label {
  font-weight: 700;
  color: #111;
  display: block;
  margin-bottom: 4px;
}

.menu-sns-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu-sns-links a {
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

/* =========================================
右下追従ナビゲーション
========================================= */
.side-nav-container {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 40px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.side-nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
  opacity: 0.9;
}

.side-nav-item:hover {
  opacity: 1;
  transform: translateX(-3px);
}

.side-nav-circle {
  width: 40px;
  height: 40px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  border: none;
  box-shadow: none;
}

.side-nav-circle:hover {
  opacity: 0.6;
  transform: translateX(-3px);
}

.side-nav-icon {
  width: 28px;
  height: auto;
  display: block;
}

.side-nav-rotate {
  height: 120px;
  width: 40px;
  position: relative;
  margin-bottom: -30px;
  display: none;
}

.side-nav-rotate span {
  display: block;
  white-space: nowrap;
  background-color: transparent;
  color: #111;
  border: 1px solid #111;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 24px;
  box-shadow: none;

  position: absolute;
  top: 50%;
  right: 0;
  transform: rotate(90deg) translateY(50%);
  transform-origin: right center;
  transition: all 0.3s ease;
}

.side-nav-rotate:hover span {
  border-color: #111;
  background-color: #fafafa;
}

.pagetop-btn {
  width: 40px;
  height: 40px;
  background-color: #4CFF00;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(76, 255, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}

.pagetop-btn.is-visible {
  visibility: visible;
  opacity: 1;
}

.pagetop-btn::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2.5px solid #fff;
  border-left: 2.5px solid #fff;
  transform: rotate(45deg);
  margin-top: 4px;
}

/* =========================================
4. 各セクション設定
========================================= */
.snap-full {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
}

/* -------------------------------------------
ヒーローセクション
------------------------------------------- */
.hero-section {
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/main.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 90%;
  max-width: 1200px;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  text-align: center;
}

.hero-title {
  font-weight: 700;
  color: #fff;
  text-align: left;
  width: fit-content;
  margin: 0 auto 60px;
  font-size: 2.3rem;
  letter-spacing: 0.12em;
  line-height: 2.0;
}

.hero-btn-group {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
}

.hero-btn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-btn-label {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  height: 70px;
  background-color: #fff;
  border-radius: 35px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-btn:hover {
  background-color: #4CFF00;
  transform: translateY(-2px);
  border-color: #4CFF00;
}

.hero-section.is-active .hero-overlay {
  opacity: 1;
}

.hero-section.is-active .hero-content {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition-delay: 1.2s;
}

/* -------------------------------------------
CONCEPTセクション
------------------------------------------- */
.concept-section {
  background-color: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: calc(10vw + 60px);
  box-sizing: border-box;
}

.concept-container {
  text-align: left;
}

.concept-en {
  display: block;
  font-size: 4.2rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s;
}

.concept-jp {
  display: block;
  font-size: 3.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-indent: -0.45em;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s 0.3s;
}

.concept-section.is-visible .concept-en,
.concept-section.is-visible .concept-jp {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------
共通セクション設定
------------------------------------------- */
.content-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background-color: #fff;
  padding: 160px 100px;
  box-sizing: border-box;
  position: relative;
  display: block;
}

.section-label-wrapper {
  position: absolute;
  top: 0;
  left: 40px;
  bottom: 0;
  width: 20px;
  z-index: 10;
  pointer-events: none;
}

.section-label {
  position: sticky;
  top: 180px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  white-space: nowrap;
  transform: rotate(90deg);
  transform-origin: left top;
  display: inline-block;
  color: #333;
}

.text-block {
  width: 100%;
  max-width: 760px;
  margin-bottom: 120px;
}

.text-heading {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 60px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.text-paragraph {
  font-size: 16px;
  line-height: 2.4;
  margin-bottom: 40px;
  color: #333;
  letter-spacing: 0.02em;
  text-align: justify;
  text-justify: inter-ideograph;
}

.about-layout .text-block {
  margin-left: auto;
  margin-right: 80px;
}

.about-sign {
  text-align: right;
  font-size: 18px;
  font-style: italic;
  color: #666;
  margin-top: 40px;
}

.works-layout {
  padding-bottom: 320px;
}

.works-layout .text-block {
  margin-right: auto;
  margin-left: 80px;
}

.catalog-layout .text-block {
  margin-right: auto;
  margin-left: 80px;
  max-width: 760px;
}

.stack {
  position: relative;
  width: 100%;
  padding-top: 50px;
  z-index: 5;
}

.img-wrap {
  position: relative;
  display: flex;
}

.dummy {
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.img1 .dummy {
  background-image: url('../images/index__works--bg01.webp');
}

.img2 .dummy {
  background-image: url('../images/index__works--bg02.webp');
}

.img3 .dummy {
  background-image: url('../images/index__works--bg03.webp');
}

@media (min-width: 769px) {
  .stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 80px;
    box-sizing: border-box;
  }

  .img-wrap {
    justify-content: flex-end;
    padding-right: 0;
    margin-bottom: -60px;
  }

  .dummy {
    width: min(75vw, 600px);
    height: 350px;
  }

  .img1 .dummy {
    transform: translateX(-120px);
  }

  .img2 .dummy {
    transform: translateX(-360px);
  }

  .img3 .dummy {
    transform: translateX(0);
  }

  .works-caption-group {
    width: min(75vw, 600px);
    margin-left: auto;
    margin-right: 80px;
    margin-top: 140px;
    text-align: left;
    font-weight: 400;
    box-sizing: border-box;
  }

  .works-caption-item {
    margin-bottom: 32px;
    line-height: 2.2;
  }

  .works-caption-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #111;
  }

  .works-caption-txt {
    display: block;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.02em;
  }

  .works-caption-other {
    font-size: 12px;
    color: #666;
    margin-top: 24px;
  }
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 40px;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
}

.catalog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.catalog-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  height: 330px;
  margin: 0 auto 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.catalog-img-link img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease;
}

.catalog-img-link:hover {
  transform: translateY(-4px);
}

.catalog-img-link:hover img {

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.catalog-brand {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  color: #111;
}

.catalog-detail-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.catalog-detail-btn::before {
  content: '+';
  font-size: 14px;
  font-weight: 400;
}

.catalog-detail-btn.is-open::before {
  content: '−';
}

.catalog-desc {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-bottom 0.4s ease;
}

.catalog-desc.is-open {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 24px;
}

.catalog-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #eee;
  border-radius: 24px;
  text-decoration: none;
  color: #888;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.catalog-view-btn:hover {
  border-color: #111;
  background-color: #fafafa;
}

/* USE CASES */
.usecases-layout .text-block,
.usecases-layout .usecases-grid {
  max-width: 760px;
  margin-left: auto;
  margin-right: 80px;
}

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

.usecases-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.usecases-num {
  font-size: 38px;
  font-weight: 900;
  color: #eee;
  line-height: 1;
  font-style: italic;
  flex-shrink: 0;
}

.usecases-divider {
  width: 1px;
  background-color: #eee;
  align-self: stretch;
  margin: 4px 0;
  flex-shrink: 0;
}

.usecases-content {
  padding-left: 14px;
  text-align: left;

  max-width: 240px;
}

.usecases-title-en {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #000;
}

.usecases-title-jp {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #333;
  letter-spacing: 0.02em;
}

.usecases-item:nth-child(even) .usecases-content {
  padding-left: 10px;
}

.usecases-desc {
  font-size: 12px;
  line-height: 2;
  color: #666;
  text-align: justify;
  letter-spacing: 0.02em;
}

/* CTA (お問い合わせ) */
.cta-section {
  padding: 240px 100px;
  background-color: #fff;
  color: #111;
  text-align: center;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  position: relative;
}

.cta-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 60px;
  color: #111;
  text-align: left;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .hero-btn-label {
  color: #111;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.cta-section .hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  height: 70px;
  background-color: #fff;
  border: 1px solid #111;
  border-radius: 35px;
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: none;
}

.cta-section .hero-btn:hover {
  background-color: #4CFF00;
  border-color: #4CFF00;
  transform: translateY(-2px);
}

.section-divider {
  height: 1px;
  background-color: #eee;
  margin: 0 100px;
  border: none;
}

/* =========================================
COMPANY & CLOSING
========================================= */
.final-section {
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background-color: #fff;
  padding: 160px 140px 120px;
  box-sizing: border-box;
  position: relative;
}

.company-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.company-logo-txt {
  font-size: 14px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.05em;
  line-height: 1.8;
  white-space: nowrap;
  margin: 0;
}

.company-info-flex {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 100px;
}

.company-nav-col,
.company-info-col {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.08em;
}

.company-nav-list,
.info-content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-nav-list li,
.info-row {
  margin: 0;
  padding: 0;
  height: 1.8em;
}

.company-nav-list a {
  text-decoration: none;
  color: #111;
  transition: 0.3s;
  display: block;
}

.company-nav-list a:hover {
  color: #4CFF00;
}

.company-v-line {
  width: 1px;
  height: calc(1.8em * 13);
  background-color: #eee;
}

.info-link {
  text-decoration: none;
  color: #111;
  transition: 0.3s;
}

.info-link:hover {
  opacity: 0.6;
}

.map-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 6px;
}

.closing-section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.company-full-photo {
  width: 100%;
  height: 100%;
  background-color: #eee;
  background-image: url('../images/footer__information--bg.webp');
  background-size: cover;
  background-position: center;
}

footer {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.copyright {
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.js-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.js-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
SP（スマホ）：完全整合
========================================= */
@media (max-width: 768px) {
  .site-header {
    padding: 0 20px;
    height: 60px;
  }

  .side-nav-container {
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    gap: 15px;
  }

  .side-nav-rotate {
    margin-bottom: -40px;
  }

  .side-nav-rotate span {
    right: 4px;
    font-size: 12px;
    padding: 6px 14px;
    background-color: transparent;
    border: 1px solid #111;
  }

  .logo img {
    height: 32px;
  }

  .logo--light {
    height: 32px;
  }

  .content-section {
    padding: 100px 36px;
  }

  .section-label-wrapper {
    display: block !important;
    left: 15px;
  }

  .section-label {
    font-size: 9px;
    top: 120px;
    opacity: 0.6;
  }

  .text-block {
    text-align: left;
    max-width: 100%;
    margin-bottom: 60px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .about-layout .text-heading,
  .works-layout .text-heading,
  .catalog-layout .text-heading,
  .usecases-layout .text-heading {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 40px;
    text-align: left;
  }

  .about-layout .text-paragraph,
  .works-layout .text-paragraph,
  .catalog-layout .text-paragraph,
  .usecases-layout .text-paragraph {
    font-size: 15px;
    line-height: 2.0;
  }

  .about-sign {
    font-size: 15px;
    margin-top: 24px;
  }

  .works-layout {
    padding-bottom: 120px;
  }

  .stack {
    display: block;
    padding-right: 0;
  }

  .img-wrap {
    justify-content: center;
    padding-right: 0;
    margin-bottom: -60px;
  }

  .dummy {
    width: 100%;
    height: 280px;
  }

  .img1 .dummy,
  .img2 .dummy,
  .img3 .dummy {
    transform: translateX(0);
  }

  .works-caption-group {
    width: 100%;
    margin: 140px 0 0;
    text-align: left;
    font-weight: 400 !important;
  }

  .works-caption-item {
    max-width: 100%;
    margin-bottom: 32px;
    line-height: 2.4;
  }

  .works-caption-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #111;
  }

  .works-caption-txt {
    display: block;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.02em;
  }

  .works-caption-other {
    font-size: 12px;
    color: #666;
    margin-top: 24px;
    font-weight: 400 !important;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
    margin-top: 20px;
  }

  .catalog-img-link {
    height: 240px;
    margin-bottom: 10px;
  }

  .catalog-brand {
    font-size: 12px;
  }

  .catalog-view-btn {
    padding: 6px 14px;
    font-size: 9px;
  }

  .catalog-desc {
    font-size: 11px;
    line-height: 1.6;
  }

  .usecases-layout .usecases-grid {
    margin-left: 0;
    margin-right: 0;
  }

  .usecases-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 100%;
  }

  .usecases-num {
    font-size: 36px;
  }

  .usecases-content {
    max-width: none;
    flex: 1;
  }

  .side-nav-container {
    bottom: 20px;
    right: 20px;
    width: 35px;
  }

  .side-nav-circle {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .side-nav-rotate {
    height: 100px;
    width: 35px;
  }

  .side-nav-rotate span {
    font-size: 9px;
    padding: 6px 12px;
  }

  .pagetop-btn {
    width: 35px;
    height: 35px;
  }

  .menu-overlay {
    padding: 100px 24px 40px 48px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
    align-items: flex-start;
    overflow-y: auto;
  }

  .menu-inner {
    flex-direction: column;
    gap: 40px;
    height: auto;
    align-items: flex-start;
    transform: none;
  }

  .menu-nav-main {
    flex: none;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0;
  }

  .menu-nav-list {
    display: block;
    height: auto;
    width: auto;
  }

  .menu-nav-list li {
    margin-bottom: 30px;
  }

  .menu-nav-list li:last-child {
    margin-bottom: 0;
  }

  .menu-nav-list a {
    font-size: 16px;
  }

  .menu-divider {
    width: 100%;
    height: 1px;
  }

  .menu-nav-sub {
    flex: none;
    height: auto;
    justify-content: flex-start;
    gap: 40px;
  }

  .sub-link-item .main-txt {
    font-size: 15px;
  }

  .sub-link-item .sub-txt {
    font-size: 11px;
    margin-top: 6px;
  }

  .menu-contact-info .tel {
    font-size: 15px;
  }

  .final-section {
    padding: 100px 36px 80px;
  }

  .company-container {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    gap: 0;
  }

  .company-logo-txt {
    position: static;
    margin-bottom: calc(1.8em * 2);
  }

  .company-info-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .company-v-line {
    display: block;
    width: 100%;
    height: 1px;
    margin: calc(1.8em * 1.5) 0;
    background-color: #eee;
  }

  .company-nav-col,
  .company-info-col {
    width: 100%;
  }

  .info-row {
    height: auto;
  }

  .hero-title,
  .cta-title {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .hero-btn-group {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-btn-label,
  .cta-section .hero-btn-label {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .hero-btn,
  .cta-section .hero-btn {
    width: 260px;
    height: 50px;
    font-size: 13px;
    font-weight: 400;
  }

  .concept-section {
    justify-content: center;
    padding-left: 36px;
    padding-right: 36px;
  }

  .concept-container {
    width: fit-content;
    margin: 0 auto;
    text-align: left;
  }

  .concept-en {
    font-size: 8.9vw;
    margin-bottom: 5px;
    line-height: 1.6;
  }

  .concept-jp {
    font-size: 8.3vw;
    line-height: 1.6;
  }

  .section-divider {
    margin: 0 20px;
  }

  .cta-section {
    padding: 240px 40px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .final-section {
    padding: 160px 100px 120px;
  }

  .company-info-flex {
    gap: 40px;
  }
}

/* =========================================
CONTACT FORM CONFIGURATION
========================================= */
.contact-section {
  padding-bottom: 120px;
}

.contact-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.contact-container .text-heading {
  text-align: center;
  margin-bottom: 24px;
}

.contact-container .text-paragraph {
  text-align: center;
  margin-bottom: 80px;
}

.glass-form-wrapper {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 60px 80px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
  letter-spacing: 0.05em;
}

.form-label .req {
  display: inline-block;
  background-color: #111;
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 12px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.form-label .opt {
  display: inline-block;
  background-color: #eee;
  color: #666;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 12px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Inputs */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  color: #111;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: #fff;
  border-color: #4CFF00;
  box-shadow: 0 0 0 4px rgba(76, 255, 0, 0.1);
}

.form-textarea {
  height: 200px;
  resize: vertical;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}

.radio-input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-input:checked {
  border-color: #4CFF00;
  background: #4CFF00;
}

.radio-input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

/* Zip code flex */
.zip-group {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
}

.zip-mark {
  font-size: 18px;
  color: #333;
}

/* Privacy policy box */
.privacy-box {
  width: 100%;
  height: 160px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.privacy-box h4 {
  margin: 0 0 12px;
  color: #333;
  font-size: 14px;
}

.privacy-box p {
  margin: 0 0 12px;
}

.privacy-box p:last-child {
  margin: 0;
}

/* Checkbox */
.checkbox-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-input:checked {
  background: #4CFF00;
  border-color: #4CFF00;
}

.checkbox-input:checked::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* Submit button */
.submit-area {
  text-align: center;
}

.submit-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  max-width: 100%;
  height: 70px;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 35px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #4CFF00;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(76, 255, 0, 0.2);
}

/* Accordion Form Settings */
.accordion-wrapper {
  margin: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.form-accordion-btn {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  letter-spacing: 0.05em;
  font-family: inherit;
  transition: opacity 0.3s ease;
}

.form-accordion-btn:hover {
  opacity: 0.6;
}

.form-accordion-btn .icon {
  font-size: 20px;
  font-weight: 400;
  color: #4CFF00;
  transition: transform 0.3s ease;
}

.form-accordion-btn.is-open .icon {
  transform: rotate(45deg);
  color: #111;
}

.form-accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.form-accordion-content.is-open {
  max-height: 1200px;
  /* 十分な高さを確保 */
  opacity: 1;
}

.form-accordion-inner {
  padding: 10px 0 40px;
}

.accordion-note {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}

/* Form section headings within form */
.form-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 60px 0 30px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
}

.form-section-title::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: #4CFF00;
  margin-right: 12px;
}

.form-section-title:first-of-type {
  margin-top: 20px;
}

/* File input */
.file-note {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

.form-input-file {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-input-file:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: #4CFF00;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .glass-form-wrapper {
    padding: 40px 24px;
    border-radius: 16px;
  }

  .radio-group {
    flex-direction: column;
    gap: 16px;
  }

  .privacy-box {
    padding: 16px;
  }

  .form-accordion-btn {
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
  }

  .form-section-title {
    font-size: 16px;
    margin: 50px 0 24px;
  }
}