@charset "utf-8";

/* ========================================
   基本設定
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #333;
  line-height: 1.6;
}

/* ========================================
   Header
======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: transparent;
  background-color: rgba(51, 51, 51, 0.6);
  border-bottom: none;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.gx.header__container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gx.header__logo {
  width: 240px;
  height: 0;
  padding-bottom: 13.4%;
  background: url(../img/logo.png) no-repeat left center;
  background-size: contain;
}

/* ハンバーガーメニューボタン */
.gx.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.gx.header__hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  transition: all 0.3s;
}

.gx.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.gx.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.gx.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ナビゲーション */
.gx.header__nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.gx.header__nav-item {
  font-size: 14px;
}

.gx.header__nav-link {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.gx.header__nav-link:hover {
  color: #ffb800;
}

/* ========================================
   Hero Section
======================================== */
.gx.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* スライダー */
.gx.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.gx.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gx.hero__slide--1 {
  background-image: url("../img/gx/gx_hero_bg_01.jpg");
}

.gx.hero__slide--2 {
  background-image: url("../img/gx/gx_hero_bg_02.jpg");
}

.gx.hero__slide--3 {
  background-image: url("../img/gx/gx_hero_bg_03.jpg");
}

.gx.hero__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));*/
}

.gx.hero__slide.active {
  opacity: 1;
}

/* コンテンツ */
.gx.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 1);
}

.gx.hero__subtitle {
  font-size: 16px;
  margin-bottom: 1.6vh;
  letter-spacing: 2px;
  color: #fff;
}

.gx.hero__title {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 6.3vh;
  line-height: 1.2;
  color: #fff;
}

.gx.hero__description {
  margin-bottom: 3.3vh;
  font-size: 22px;
  font-weight: 500;
  color: #ffc107;
}

.gx.hero__tags {
  display: flex;
  gap: 16px;
  margin-bottom: 4.6vh;
  flex-wrap: wrap;
}

.gx.hero__tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-shadow: none;
}

.gx.hero__text {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 24px;
  color: #fff;
}

/* インジケーター */
.gx.hero__indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.gx.hero__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.gx.hero__indicator.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

.gx.hero__indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Section 共通スタイル
======================================== */
.gx.section {
  padding: 200px 60px;
}

.gx.section--dark {
  background: #2b2b2b;
  color: #fff;
}

.gx.section__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* セクション見出し */
.gx.section__heading {
  text-align: center;
  margin-bottom: 100px;
}

.gx.section__heading-en {
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 8px;
  color: #ffc107;
}

.gx.section--dark .gx.section__heading-en {
  color: #ffc107;
}

.gx.section__heading-ja {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #333;
}

.gx.section--dark .gx.section__heading-ja {
  color: #fff;
}

.gx.section__heading-line {
  width: 50px;
  height: 3px;
  background: #ffb800;
  margin: 0 auto;
}

/* アニメーション付きインジケーター */
.gx.indicator {
  position: absolute;
  left: 40px;
  top: -10px;
  transform: translateY(-50%) rotate(45deg);
  width: 40px;
  height: 40px;
  z-index: 100;
}

.gx.indicator span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  animation: animate 1s linear infinite;
}

.gx.indicator span:nth-child(1) {
  top: -30px;
  left: -30px;
  animation-delay: 0s;
}

.gx.indicator span:nth-child(2) {
  top: -15px;
  left: -15px;
  animation-delay: 0.2s;
}

.gx.indicator span:nth-child(3) {
  top: 0;
  left: 0;
  animation-delay: 0.4s;
}

.gx.indicator span:nth-child(4) {
  top: 15px;
  left: 15px;
  animation-delay: 0.6s;
}

.gx.indicator span:nth-child(5) {
  top: 30px;
  left: 30px;
  animation-delay: 0.8s;
}

@keyframes animate {
  0% {
    border-color: #fff;
    transform: translate(0, 0);
  }
  20% {
    border-color: #fff;
    transform: translate(15px, 15px);
  }
  20.1%,
  100% {
    border-color: #ffd64a;
  }
}

/* ========================================
   共通：2カラムレイアウト
======================================== */
.gx.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* 画像を左側全幅表示 */
.gx.layout-split.image-left .gx.layout-split__image {
  margin-left: calc(-50vw + 600px);
  max-width: none;
  order: 1;
}

.gx.layout-split.image-left .gx.layout-split__content {
  order: 2;
}

/* 画像を右側全幅表示 */
.gx.layout-split.image-right .gx.layout-split__image {
  margin-right: calc(-50vw + 600px);
  width: 50vw;
  max-width: none;
  order: 2;
}

.gx.layout-split.image-right .gx.layout-split__content {
  order: 1;
}

/* 画像共通スタイル */
.gx.layout-split__image img,
.gx.layout-split__image svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   About Section
======================================== */
#about.section--dark {
  border-bottom-right-radius: 160px;
}
.gx.about__image {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 720 / 420;
}

.gx.about__image img,
.gx.about__image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* バッジ */
.gx.about__badge {
  position: absolute;
  top: -50px;
  width: clamp(120px, 11.25vw, 162px);
  height: clamp(186px, 17.5vw, 252px);
  background: #ffb800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(15px, 1.39vw, 20px);
}

.gx.about__badge-icon {
  width: clamp(40px, 4.51vw, 65px);
  height: clamp(40px, 4.51vw, 65px);
  margin-bottom: 1em;
}

.gx.about__badge-text,
.gx.about__badge-text * {
  color: #fff;
}

.gx.about__badge-text {
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
}

.about__badge-pre-text {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: clamp(12px, 1vw, 14px);
}

.about__badge-main-text {
  display: block;
  font-weight: 900;
  line-height: 1.2;
}

.about__badge-approx,
.about__badge-unit {
  font-size: clamp(12px, 1vw, 14px);
}

.about__badge-number {
  font-size: clamp(24px, 2.22vw, 32px);
}

.about__badge-post-text {
  display: block;
  font-weight: 700;
  margin-top: 8px;
  font-size: clamp(12px, 1vw, 14px);
}

/* テーブル */
.gx.about__table {
  width: 100%;
  border-collapse: collapse;
}

.gx.about__table th,
.gx.about__table td {
  color: #fff;
}

.gx.about__table th {
  font-weight: 700;
}

.gx.about__table td {
  font-weight: 100;
  letter-spacing: 0.05rem;
}

.gx.about__table-row {
  border-bottom: 1px solid #fff;
}

.gx.about__table-row:first-child {
  border-top: none;
}

.gx.about__table-header {
  padding: 12px 0px;
  text-align: left;
  width: 161px;
  font-weight: normal;
  vertical-align: middle;
}

.gx.about__table-data {
  padding: 12px 0px;
  line-height: 1.8;
}

/* ========================================
   Equipment Section
======================================== */
.gx.equipment__note {
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: #666;
}

.gx.equipment__visual {
  position: relative;
  margin-bottom: 80px;
}

.gx.equipment__image {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gx.equipment__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 番号ボタン */
.gx.equipment__button {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #ffb800;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.3s;
}

.gx.equipment__button:hover {
  transform: scale(1.2);
}

/* グリッドレイアウト */
.gx.equipment__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gx.equipment__item {
  padding: 24px;
  border: 1px solid #cccccc;
  border-radius: 15px;
  box-shadow: 0 4px 0 #ffb800;
  min-height: 80px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.gx.equipment__item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gx.equipment__item:hover {
  transform: translateY(-8px);
}

.gx.equipment__item-number {
  width: 30px;
  height: 30px;
  background: #ffb800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  margin-right: 16px;
  flex-shrink: 0;
}

.gx.equipment__item-text {
  font-size: 15px;
}

.gx.small-text {
  font-size: 0.8em;
}

/* ========================================
   Popup Modal
======================================== */
.gx.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gx.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.gx.popup {
  background: #fff;
  color: #333;
  padding: 0;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.gx.popup-overlay.active .gx.popup {
  transform: scale(1);
}

.gx.popup__image {
  width: 100%;
  overflow: hidden;
}

.gx.popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gx.popup__content {
  padding: 32px;
}

.gx.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: #3a3a3a;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}

.gx.popup__close:hover {
  background: #4a4a4a;
}

.gx.popup__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.gx.popup__number {
  width: 48px;
  height: 48px;
  background: #ffb800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}

.gx.popup__title {
  font-size: 24px;
  font-weight: bold;
}

.gx.popup__subtitle {
  display: inline-block;
  background: #ffb800;
  padding: 6px 16px;
  font-size: 14px;
  color: #fff;
  margin-left: 12px;
}

.gx.popup__description {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: #666;
}

.gx.popup__description a {
  color: #007bff;
  text-decoration: underline;
  font-weight: 700;
  display: inline;
}

/* ========================================
   Feature Section
======================================== */
.gx.feature__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* 奇数番目：画像を左側全幅表示 */
.gx.feature__item:nth-child(odd) .gx.feature__image {
  margin-left: calc(-50vw + 600px);
  max-width: none;
  order: 1;
}

.gx.feature__item:nth-child(odd) .gx.feature__content {
  order: 2;
}

/* 偶数番目：画像を右側全幅表示 */
.gx.feature__item:nth-child(even) .gx.feature__image {
  margin-right: calc(-50vw + 600px);
  max-width: none;
  order: 2;
}

.gx.feature__item:nth-child(even) .gx.feature__content {
  order: 1;
}

/* 画像共通スタイル */
.gx.feature__item .gx.feature__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gx.feature__title {
  font-size: 18px;
  margin-bottom: 24px;
  font-weight: 600;
  color: #fff;
}

.gx.feature__title span {
  font-size: 18px;
  color: #ffc107;
}

.gx.feature__title .display--desktop-block {
  display: block;
}

.gx.feature__text {
  font-size: 15px;
  line-height: 1.9;
  color: #fff;
}

.gx.feature__content {
  position: relative;
  padding-bottom: 30px;
}

.gx.feature__button {
  position: absolute;
  bottom: 0;
  right: 0;
  text-decoration: none;
  font-size: 14px;
  color: #fff;
}

.gx.feature__button i {
  margin-left: 8px;
  color: #fff;
}

.gx.feature__button:hover,
.gx.feature__button:hover i {
  color: #ffc107;
}

.gx.feature__content {
  position: relative;
  padding-bottom: 30px; /* space for the button */
}

.feature__button {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.feature__button:hover {
  color: #ffc107;
}

.feature__button i {
  margin-left: 8px;
}

.gx.feature-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: -35px;
  right: 0;
  text-align: right;
}

.gx.feature-buttons-container .gx.feature__button {
  position: static;
}

/* ========================================
   License Section
======================================== */
.gx.license__grid {
  display: grid;
  grid-template-columns: 300fr 469fr 300fr;
  gap: 40px;
  margin-bottom: 60px;
  justify-content: center;
  position: relative;
}

.gx.license__grid::before {
  content: "";
  position: absolute;
  top: 5vw;
  left: 50%;
  width: 100vw;
  height: 14vw;
  background: #ffeebb;
  z-index: 0;
  max-height: 144px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}

.gx.license__grid.is-animated::before {
  transform: translateX(-50%) scaleX(1);
}

.gx.license__item {
  overflow: visible;
  text-align: center;
  position: relative;
  z-index: 1;
}

.gx.license__item-image {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 300 / 345;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gx.license__item-image:hover {
  transform: translateY(-8px);
}

.gx.license__item-image.item-center {
  max-width: 469px;
  aspect-ratio: 469 / 345;
}

.gx.license__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 10px 9px 13px -2px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 0 auto;
  transition: box-shadow 0.3s ease;
}

.gx.license__item-content {
  padding: 32px 24px;
}

.gx.license__item-title {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 600;
}

.gx.license__item-text {
  font-size: 14px;
  line-height: 1.8;
}

.gx.license__button {
  display: inline-flex;
  align-items: center;
  color: #333;
  padding: 24px 40px;
  border: 1px solid #333;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.gx.license__button:hover {
  background: #4a4a4a;
  color: #fff;
}

.gx.license__button-icon {
  margin-left: 16px;
  font-size: 40px;
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease, color 0.3s ease;
  color: #333;
  font-weight: 100;
  line-height: 1;
}

.gx.license__button:hover .gx.license__button-icon {
  right: -40px;
}

/* ========================================
   Case Section
======================================== */
#case.section {
  background: #f5f5f5;
  border-top-left-radius: 160px;
}

.gx.case__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.gx.case__item {
  text-align: center;
}

.gx.case__item-image {
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
}

.gx.case__item-image img {
  width: 100%;
  object-fit: cover;
}

.gx.case__item-title {
  font-size: 16px;
}

.gx.case__item a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.gx.case__item a:hover {
  transform: translateY(-8px);
}

/* ========================================
   Map Section
======================================== */
.gx.map__table {
  width: 100%;
  border-collapse: collapse;
}

.gx.map__table th,
.gx.map__table td {
  color: #333;
}

.gx.map__table-row {
  border-bottom: 1px solid #333;
}

.gx.map__table-row:first-child {
  border-top: none;
}

.gx.map__table-header {
  padding: 12px 0px;
  text-align: left;
  width: 120px;
  font-weight: normal;
  vertical-align: middle;
}

.gx.map__table th {
  font-weight: 700;
}

.gx.map__table-data {
  padding: 12px 0px;
  line-height: 1.8;
}

.gx.map__image {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 720 / 420;
}

.gx.map__image iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   Contact Section
======================================== */
.gx.contact {
  position: relative;
  padding: 120px 60px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/gx/gx_contact_bg.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.gx.contact__button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #ffc107;
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 32px 48px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.gx.contact__button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.gx.contact__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.gx.contact__icon i {
  color: #fff;
}

.gx.contact__button span {
  color: #fff;
}

/* ========================================
   Footer
======================================== */
.gx.footer {
  background: #212121;
  color: #fff !important;
  padding: 60px 60px 40px;
}

.gx.footer * {
  color: #fff;
}

.gx.footer__container {
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.gx.footer__title {
  font-size: 16px;
  margin-bottom: 32px;
  letter-spacing: 2px;
}

.gx.footer__logo {
  margin-bottom: 32px;
}

.gx.footer__logo img {
  width: 240px;
}

.gx.footer__address {
  font-size: 14px;
  margin-bottom: 16px;
}

.gx.footer__copyright {
  font-size: 12px;
  margin-top: 32px;
}

/* ========================================
   アニメーション
======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* テキストアニメーション */
.gx.hero__title,
.gx.hero__subtitle,
.gx.hero__description {
  visibility: hidden;
}
.gx.hero__title.is-ready,
.gx.hero__subtitle.is-ready,
.gx.hero__description.is-ready {
  visibility: visible;
}

.char-animated {
  color: inherit;
  opacity: 0;
  display: inline-block;
  transform: translateY(1em);
  animation: char-appear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes char-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   レスポンシブ対応
======================================== */

/* 1320px以下（デスクトップ小） */
@media (max-width: 1320px) {
  .gx.layout-split.image-left .gx.layout-split__image,
  .gx.feature__item:nth-child(odd) .gx.feature__image {
    margin-left: -60px;
    width: calc(100% + 60px);
    max-width: none;
    order: 1;
  }

  .gx.layout-split.image-right .gx.layout-split__image,
  .gx.feature__item:nth-child(even) .gx.feature__image {
    margin-right: -60px;
    width: calc(100% + 60px);
    max-width: none;
    order: 2;
  }
}

/* 画面幅が1200px未満になったときのヘッダー対応 */
@media (max-width: 1200px) {
  .gx.header__container {
    max-width: none;
    padding: 0 20px;
  }

  .gx.header__logo {
    width: 160px;
  }

  .gx.header__nav-link {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .gx.header__nav-item {
    margin-left: 16px;
  }

  .gx.header__nav {
    gap: 12px;
  }
}

/* 768px以下（タブレット） */
@media (max-width: 768px) {
  /* Header */
  .gx.header__hamburger {
    display: flex;
  }

  .gx.header__container {
    padding: 0 24px;
  }

  .gx.header__logo {
    width: 190px;
    height: 0;
    padding-bottom: 13.4%;
    background: url(../img/logo.png) no-repeat left center;
    background-size: contain;
  }

  .gx.header__nav-wrapper {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(0, 0, 0, 0.95);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .gx.header__nav-wrapper.active {
    transform: translateX(0);
  }

  .gx.header__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 40px 24px;
  }

  .gx.header__nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .gx.header__nav-link {
    display: block;
    padding: 20px 0;
    font-size: 16px;
  }

  /* Hero */
  .gx.hero__content {
    padding: 0 24px;
    text-align: center;
  }

  .gx.hero__title {
    margin-bottom: 60px;
    font-size: 36px;
  }

  .gx.hero__subtitle {
    margin-bottom: 12px;
  }

  .gx.hero__description {
    margin-bottom: 32px;
  }

  .gx.hero__tags {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
  }

  .gx.hero__tag {
    width: fit-content;
  }

  .gx.hero__text {
    margin-top: 46px;
  }

  /* Indicator */
  .gx.indicator {
    width: clamp(24px, 2.78vw, 40px);
    height: clamp(24px, 2.78vw, 40px);
  }

  .gx.indicator span {
    border-bottom: clamp(2px, 0.21vw, 3px) solid #fff;
    border-right: clamp(2px, 0.21vw, 3px) solid #fff;
  }

  .gx.indicator span:nth-child(1) {
    top: clamp(-18px, -2.08vw, -30px);
    left: clamp(-18px, -2.08vw, -30px);
  }

  .gx.indicator span:nth-child(2) {
    top: clamp(-9px, -1.04vw, -15px);
    left: clamp(-9px, -1.04vw, -15px);
  }

  .gx.indicator span:nth-child(4) {
    top: clamp(9px, 1.04vw, 15px);
    left: clamp(9px, 1.04vw, 15px);
  }

  .gx.indicator span:nth-child(5) {
    top: clamp(18px, 2.08vw, 30px);
    left: clamp(18px, 2.08vw, 30px);
  }

  /* Section */
  .gx.section {
    padding: 60px 24px;
  }

  .gx.section__heading-ja {
    font-size: 28px;
  }

  .gx.section__heading {
    margin-bottom: 100px;
  }

  /* Layout Split */
  .gx.layout-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gx.layout-split.image-left .gx.layout-split__image,
  .gx.layout-split.image-right .gx.layout-split__image {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  /* About */
  #about.section--dark {
    border-bottom-right-radius: 40px;
  }

  .gx.about.layout-split .gx.layout-split__image {
    order: 1;
  }

  .gx.about.layout-split .gx.layout-split__content {
    order: 2;
  }

  .gx.about__table-data {
    padding: 3px 0px 15px 0;
  }

  .gx.about__badge {
    position: absolute;
    top: -20px;
    width: clamp(80px, 7.5vw, 108px);
    height: clamp(124px, 11.67vw, 168px);
    background: #ffb800;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 0.93vw, 12px);
  }

  .gx.about__badge-icon {
    width: clamp(30px, 2.5vw, 35px);
    height: clamp(30px, 2.5vw, 35px);
    margin-bottom: 0.5em;
  }

  .gx.about__badge-text {
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
  }

  .about__badge-pre-text {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
    font-size: clamp(9px, 0.8vw, 11px);
  }

  .about__badge-main-text {
    display: block;
    font-weight: 900;
    line-height: 1.1;
  }

  .about__badge-approx,
  .about__badge-unit {
    font-size: clamp(9px, 0.8vw, 11px);
  }

  .about__badge-number {
    font-size: clamp(18px, 1.8vw, 24px);
  }

  .about__badge-post-text {
    display: block;
    font-weight: 700;
    margin-top: 4px;
    font-size: clamp(9px, 0.8vw, 11px);
  }

  .gx.about__table-row:last-child {
    border-bottom: none;
  }

  /* Equipment */
  #equipment .gx.section__heading {
    margin-bottom: 33px;
  }

  .gx.equipment__item {
    padding: 10px;
    min-height: 30px;
    flex-direction: column;
    justify-content: center;
  }

  .gx.equipment__item-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .gx.equipment__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gx.equipment__item-text {
    font-size: 14px;
  }

  /* Feature */
  #feature .gx.section__heading {
    margin-bottom: 50px;
  }

  .gx.feature__item {
    grid-template-columns: 1fr;
    gap: 80px;
    margin-bottom: 40px;
  }

  .gx.feature__item:nth-child(odd) .gx.feature__image,
  .gx.feature__item:nth-child(even) .gx.feature__image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    order: 2;
  }

  .gx.feature__item:nth-child(odd) .gx.feature__content,
  .gx.feature__item:nth-child(even) .gx.feature__content {
    order: 1;
  }

  .gx.feature__title,
  .gx.feature__title span {
    text-align: center;
    line-height: 2em;
  }

  .gx.feature__title span {
    display: block;
  }

  /* License */
  .gx.license__grid {
    grid-template-columns: 1fr;
  }

  .gx.license__button {
    width: 100%;
    display: block;
    text-align: center;
    padding: 24px 20px;
  }

  .gx.license__button-icon {
    right: -19px;
  }

  .gx.license__button:hover .gx.license__button-icon {
    right: -19px;
  }

  .gx.license__grid::before {
    display: none;
  }

  .gx.license__item-image::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 120px;
    background: #ffeebb;
    z-index: -1;
    transform: translate(-50%, -50%) scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
  }

  .gx.license__grid.is-animated .gx.license__item-image::after {
    transform: translate(-50%, -50%) scaleX(1);
  }

  .gx.license__grid.is-animated
    .gx.license__item:nth-child(1)
    .gx.license__item-image::after {
    transition-duration: 0.5s;
  }

  .gx.license__grid.is-animated
    .gx.license__item:nth-child(2)
    .gx.license__item-image::after {
    transition-delay: 0.2s;
  }

  .gx.license__grid.is-animated
    .gx.license__item:nth-child(3)
    .gx.license__item-image::after {
    transition-delay: 0.6s;
  }

  .gx.license__item-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  /* Case */
  #case.section {
    border-top-left-radius: 40px;
  }

  .gx.case__grid {
    grid-template-columns: 1fr;
  }

  /* Map */
  .gx.map.layout-split .gx.layout-split__image {
    order: 1;
  }

  .gx.map.layout-split .gx.layout-split__content {
    order: 2;
  }

  .gx.map__table-data {
    padding: 3px 0px 15px 0;
  }

  /* Contact */
  .gx.contact__button {
    padding: 20px;
  }

  /* Footer */
  .gx.footer__logo img {
    width: 190px;
  }
}


@media screen and (min-width: 481px) {
}

/* 480px以下（スマートフォン） */
@media screen and (max-width: 480px) {
.mini-sp{ display: none; }
  .gx.equipment__button {
    width: 20px;
    height: 20px;
  }
.gx.hero__tags{ flex-direction: initial; }
    .gx.hero__tag {
        width: 48%;
        padding: 12px 10px;
    }
    .gx.hero__text {
        margin-top: 26px;
        text-align: left;
        font-size: 15px;
    }
    .gx.hero__title {
        margin-bottom: 25px;
        font-size: 36px;
    }
    .gx.hero__description {
        margin-bottom: 10px;
    }
    .gx.equipment__item-text {
        font-size: 13px;
    }

}
