@charset "UTF-8";

/* =====================================================
   合同会社Gluon 共通スタイル
   ・サイズは rem（PC基準 1280px／SP基準 375px）
   ・ブレークポイントは 767px／768px のみ
   ===================================================== */

/* ===== 変数 ===== */
:root {
  --color-text: #3F3F41;
  --color-base: #FEFDFB;
  --color-main: #037756;
  --color-main-light: #0E9467;
  --color-main-dark: #024B37;
  --color-accent: #DDFB54;
  --color-pale: #F1F5EE;
  --color-nav: #F3F3EF;
  --color-line: #DCDCDC;
  --color-footer: #3F3F41;
  --color-thread: #B7D43A;
  --color-main-rgb: 3, 119, 86;
  --color-white: #FFFFFF;

  --sphere: radial-gradient(
    circle at 35% 30%,
    #F6FFC9 0%,
    #DDFB54 45%,
    #A8C424 100%
  );
  --gradient-text: linear-gradient(
    90deg,
    #037756 39.35%,
    #DDFB54 45.26%,
    #DDFB54 52.41%,
    #FEFDFB 57.31%
  );

  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Rubik", "Noto Sans JP", sans-serif;

  --ease-out: cubic-bezier(0, 0, 0.4, 1);
}

/* ===== リセット ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 1280px) {
  html {
    font-size: 1.25vw;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: 100%;
  }
}

@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}

body {
  margin: 0;
  background-color: var(--color-base);
  color: var(--color-text);
  font-family: var(--font-ja);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* ===== ユーティリティ ===== */
@media screen and (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== コンテンツ幅 ===== */
.inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media screen and (max-width: 767px) {
  .inner {
    padding: 0 1.25rem;
  }
}

/* ===== 文字リンク（ボタン以外） ===== */
@media (min-width: 768px) {
  .link {
    transition: opacity 0.3s var(--ease-out);
  }

  .link:hover {
    opacity: 0.6;
  }
}

/* ===== 球体 ===== */
.sphere {
  display: inline-block;
  flex-shrink: 0;
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sphere);
}

/* ===== 光る見出しの文字（グラデーションを文字で切り抜く） ===== */
.gradient-text {
  color: transparent;
  background: var(--gradient-text);
  background-size: 300% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ===== 準備中ラベル ===== */
.soon {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background-color: var(--color-line);
  color: var(--color-text);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.is-disabled {
  cursor: default;
}

/* =====================================================
   ロゴ（ヘッダーとは別要素。スクロールで流れる）
   ===================================================== */
.site-logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  max-width: 87rem;
  margin: 2.125rem auto 0;
  padding: 0 1.5rem;
  pointer-events: none;
}

.site-logo__link {
  display: block;
  width: 10.6875rem;
  pointer-events: auto;
}

.site-logo__link img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .site-logo {
    margin-top: 1.875rem;
  }

  .site-logo__link {
    width: 6.4375rem;
  }
}

/* =====================================================
   ヘッダー
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5rem;
  z-index: 100;
  pointer-events: none;
}

.header__inner {
  display: grid;
  grid-template-columns:
    1fr
    auto
    1fr;
  max-width: 87rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media screen and (max-width: 767px) {
  .header {
    height: 3.875rem;
  }

  .header__inner {
    padding: 0 1rem;
  }
}

/* ----- ナビ（PC：中央のピル／SP：下から開くパネル） ----- */
.gnav {
  grid-column: 2;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .gnav {
    margin-top: 2rem;
  }

  .gnav__list {
    position: relative;
    display: flex;
    height: 2.75rem;
    padding: 0.25rem;
    border-radius: 100vmax;
    background-color: var(--color-nav);
  }

  .gnav__item {
    position: relative;
    z-index: 1;
  }

  .gnav__link {
    display: block;
    padding: 0.6875rem 1rem;
    border-radius: 100vmax;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease;
  }

  .gnav__link:hover {
    color: var(--color-main);
  }

  .gnav__link.is-current {
    background-color: var(--color-main);
    color: var(--color-white);
  }

  .gnav__bg {
    position: absolute;
    left: 0.25rem;
    bottom: 0.25rem;
    width: 0;
    height: 2.25rem;
    border-radius: 100vmax;
    background-color: var(--color-pale);
    opacity: 0;
    transition: 0.2s all ease;
  }
}

@media screen and (max-width: 767px) {
  .gnav {
    position: fixed;
    left: 50%;
    bottom: -0.5rem;
    z-index: 101;
    width: 100%;
    max-width: 19.4375rem;
    translate: -50% 0;
    visibility: hidden;
    filter: drop-shadow(0 0 0.625rem rgba(var(--color-main-rgb), 0.15));
    transition: 0.3s all var(--ease-out);
  }

  .gnav.is-active {
    bottom: 0.5rem;
    visibility: visible;
  }

  .gnav__list {
    display: grid;
    gap: 0.25rem;
    padding: 2rem 4rem 5.5rem;
    border-radius: 0.5rem;
    background-color: var(--color-nav);
    clip-path: inset(100% 50% 0 50% round 0.5rem);
    transition: 0.3s all var(--ease-out);
  }

  .gnav.is-active .gnav__list {
    clip-path: inset(0 0 0 0 round 0.5rem);
  }

  .gnav__link {
    display: block;
    padding: 0.9375rem 1rem;
    border-radius: 100vmax;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .gnav__link.is-current {
    background-color: var(--color-main);
    color: var(--color-white);
  }

  .gnav__bg {
    display: none;
  }
}

/* ----- 右上のCTAタブ ----- */
.cta-tab {
  grid-column: 3;
  display: flex;
  align-items: flex-start;
  width: fit-content;
  height: fit-content;
  margin-left: auto;
  padding-top: 0.3125rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background-color: var(--color-main);
  color: var(--color-white);
  pointer-events: auto;
}

.cta-tab__item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.cta-tab__item:first-child {
  padding: 0.625rem 0.75rem 1rem 1.25rem;
}

.cta-tab__item:last-child {
  padding: 0.625rem 1.25rem 1rem 0.75rem;
}

.cta-tab__divider {
  flex-shrink: 0;
  width: 0.125rem;
  height: 1rem;
  margin-top: 0.875rem;
  background-image: linear-gradient(
    to bottom,
    var(--color-white) 50%,
    transparent 50%
  );
  background-size: 100% 0.25rem;
}

.cta-tab .soon {
  margin-left: 0.25rem;
}

@media (min-width: 768px) {
  a.cta-tab__item {
    transition: opacity 0.3s var(--ease-out);
  }

  a.cta-tab__item:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 767px) {
  .cta-tab__item {
    flex-direction: column;
    gap: 0.125rem;
    font-size: 0.625rem;
  }

  .cta-tab__item:first-child {
    padding: 0.375rem 0.625rem 0.5rem 0.875rem;
  }

  .cta-tab__item:last-child {
    padding: 0.375rem 0.875rem 0.5rem 0.625rem;
  }

  .cta-tab__divider {
    margin-top: 1rem;
  }

  .cta-tab .soon {
    margin-left: 0;
    padding: 0 0.25rem;
    font-size: 0.5rem;
  }
}

/* ----- アイコン（CSSマスクで文字色に合わせる） ----- */
.icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1.5rem;
  aspect-ratio: 1;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon--recruit {
  --icon: url("../images/common/icon_recruit.svg");
}

.icon--contact {
  --icon: url("../images/common/icon_contact.svg");
}

/* ----- SPのメニューボタン ----- */
.menu-btn {
  display: none;
}

@media screen and (max-width: 767px) {
  .menu-btn {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    z-index: 102;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.25rem;
    width: 6.0625rem;
    height: 3.5rem;
    padding: 1.0625rem 2.25rem;
    border: 0.25rem solid var(--color-nav);
    border-radius: 3.125rem;
    background-color: var(--color-main);
    box-shadow: 0 0 0.625rem rgba(var(--color-main-rgb), 0.15);
    translate: -50% 0;
    transition: 0.3s all var(--ease-out);
  }

  .menu-btn__line {
    display: block;
    width: 1rem;
    height: 0.125rem;
    border-radius: 0.125rem;
    background-color: var(--color-white);
    transition: 0.3s all var(--ease-out);
  }

  .menu-btn.is-active {
    box-shadow: 0 0 0 rgba(var(--color-main-rgb), 0);
  }

  .menu-btn.is-active .menu-btn__line:nth-child(1) {
    transform: translateY(0.375rem) rotate(45deg);
  }

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

  .menu-btn.is-active .menu-btn__line:nth-child(3) {
    transform: translateY(-0.375rem) rotate(-45deg);
  }
}

/* =====================================================
   ボタン
   ===================================================== */

/* ----- 丸い矢印 ----- */
.arrow {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 0.25rem solid;
  border-radius: 50%;
  overflow: clip;
  --arrow-icon: url("../images/common/icon_arrow.svg");
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 0.625rem;
  background-color: currentColor;
  -webkit-mask: var(--arrow-icon) center / contain no-repeat;
  mask: var(--arrow-icon) center / contain no-repeat;
  transition: translate 0.3s var(--ease-out);
}

.arrow::before {
  translate: -50% -50%;
}

.arrow::after {
  translate: -500% -50%;
}

.arrow--blank {
  --arrow-icon: url("../images/common/icon_blank.svg");
}

.arrow--blank::before,
.arrow--blank::after {
  height: 0.75rem;
}

.arrow--lg {
  width: 5rem;
}

.arrow--lg::before,
.arrow--lg::after {
  width: 0.875rem;
  height: 1rem;
}

@media (min-width: 768px) {
  a:hover .arrow::before,
  button:hover .arrow::before {
    translate: 500% -50%;
  }

  a:hover .arrow::after,
  button:hover .arrow::after {
    translate: -50% -50%;
  }
}

@media screen and (max-width: 767px) {
  .arrow {
    width: 1.5rem;
    border-width: 0.125rem;
  }

  .arrow::before,
  .arrow::after {
    width: 0.4375rem;
    height: 0.375rem;
  }

  .arrow--blank::before,
  .arrow--blank::after {
    height: 0.4375rem;
  }

  .arrow--lg {
    width: 3rem;
    border-width: 0.1875rem;
  }

  .arrow--lg::before,
  .arrow--lg::after {
    width: 0.5625rem;
    height: 0.625rem;
  }
}

/* ----- 塗りボタン ----- */
.btn {
  display: inline-grid;
  grid-template-columns:
    1fr
    auto;
  align-items: center;
  gap: 0.625rem;
  min-width: 27.3125rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  transition: 0.3s var(--ease-out);
}

.btn__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-main);
}

.btn--line {
  background-color: var(--color-base);
  color: var(--color-main);
  box-shadow: inset 0 0 0 0.125rem var(--color-main);
}

.btn--md {
  min-width: 21.4375rem;
  padding: 1rem 0.875rem 1rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  a.btn:hover,
  button.btn:hover {
    padding-right: 2rem;
    padding-left: 2rem;
    background-color: var(--color-main-light);
  }

  a.btn--white:hover,
  a.btn--line:hover {
    background-color: var(--color-pale);
  }
}

@media screen and (max-width: 767px) {
  .btn {
    min-width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
  }

  .btn--md {
    min-width: 19.4375rem;
    padding: 1rem;
    font-size: 0.875rem;
  }
}

/* ----- 文字＋丸矢印のリンク ----- */
.textLink {
  display: inline-grid;
  grid-template-columns:
    1fr
    auto;
  align-items: center;
  gap: 1rem;
  color: var(--color-main);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.3s var(--ease-out);
}

.textLink .arrow {
  transition: translate 0.3s var(--ease-out);
}

@media (min-width: 768px) {
  a.textLink:hover,
  a:hover .textLink {
    color: var(--color-main-light);
  }

  a.textLink:hover .arrow,
  a:hover .textLink .arrow {
    translate: -0.25rem 0;
  }
}

@media screen and (max-width: 767px) {
  .textLink {
    gap: 0.75rem;
    font-size: 0.875rem;
  }
}

/* =====================================================
   見出し（英字ラベル＋和文）
   ===================================================== */
.heading__en {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  font-feature-settings: normal;
}

.heading__en .sphere {
  width: 0.625rem;
}

.heading__title {
  margin-top: 1.5rem;
  color: var(--color-main);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.4;
}

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

.heading--center .heading__en {
  justify-content: center;
}

.heading--white .heading__en {
  color: var(--color-accent);
}

.heading--white .heading__title {
  color: var(--color-white);
}

@media screen and (max-width: 767px) {
  .heading__en {
    font-size: 1rem;
  }

  .heading__title {
    margin-top: 1.25rem;
    font-size: 1.75rem;
  }
}

/* =====================================================
   2列のリード（見出し＋本文｜図・立体）
   TOP ② CONCEPT・③ SERVICE、事業内容 ⑧ OUR APPROACH
   ===================================================== */
.split {
  padding: 8.75rem 0 9.6875rem;
}

.split__grid {
  display: grid;
  grid-template-columns:
    38.625rem
    1fr;
  align-items: center;
  gap: 2.8125rem;
  max-width: 76.5rem;
  margin: 0 auto;
}

.split__body {
  margin-top: 3rem;
  font-size: 1.375rem;
}

.split__body p + p {
  margin-top: 1.8em;
}

.split__btn {
  margin-top: 3.75rem;
}

@media screen and (max-width: 767px) {
  .split {
    padding: 3.75rem 0;
  }

  .split__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split__body {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
  }

  .split__btn {
    margin-top: 2rem;
  }
}

/* =====================================================
   素材が組み合わさる立体（D-4）
   ===================================================== */
.assemble {
  position: relative;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 1;
  margin: 0 auto;
}

.assemble__piece {
  position: absolute;
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.assemble__piece--01 {
  top: 0;
  left: 0;
}

.assemble__piece--02 {
  top: 0;
  left: 50%;
}

.assemble__piece--03 {
  top: 50%;
  left: 0;
}

.assemble__piece--04 {
  top: 50%;
  left: 50%;
}

.assemble__sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  translate: -50% -50%;
}

@media screen and (max-width: 767px) {
  .assemble {
    max-width: 16rem;
  }

  .assemble__sphere {
    width: 2.5rem;
  }
}

/* =====================================================
   3つのつながり（球体＋糸 D-3）
   TOP ⑤ CONNECTION、Gluonについて ③ CONNECTION
   ===================================================== */
.connection {
  padding: 8.75rem 0 9.6875rem;
}

.connection__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}

.connection__item {
  position: relative;
  text-align: center;
}

.connection__sphere {
  position: relative;
  z-index: 1;
  display: block;
  width: 5rem;
  margin: 0 auto;
}

.connection__thread {
  position: absolute;
  top: 2.5rem;
  left: 50%;
  width: calc(100% + 3rem);
  height: 0.125rem;
  overflow: visible;
  translate: 0 -50%;
}

.connection__thread line {
  stroke: var(--color-thread);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.8;
}

.connection__line--v {
  display: none;
}

.connection__num {
  display: block;
  margin-top: 1.25rem;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  font-feature-settings: normal;
}

.connection__title {
  margin-top: 0.75rem;
  color: var(--color-main);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.connection__text {
  margin-top: 1rem;
  font-size: 1rem;
}

@media screen and (max-width: 767px) {
  .connection {
    padding: 3.75rem 0;
  }

  .connection__list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
  }

  .connection__item {
    display: grid;
    grid-template-columns:
      3.5rem
      1fr;
    column-gap: 1.25rem;
    text-align: left;
  }

  .connection__sphere {
    grid-row: 1 / span 3;
    width: 3.5rem;
    margin: 0;
  }

  .connection__line--h {
    display: none;
  }

  .connection__line--v {
    display: inline;
  }

  .connection__thread {
    top: 1.75rem;
    left: 1.75rem;
    width: 0.125rem;
    height: calc(100% + 2.5rem);
    translate: -50% 0;
  }

  .connection__num {
    margin-top: 0.5rem;
  }

  .connection__title {
    margin-top: 0.5rem;
    font-size: 1.125rem;
  }

  .connection__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
  }
}

/* =====================================================
   下層FV
   ===================================================== */
.page-fv {
  position: relative;
  padding: 9.5rem 0 5.25rem;
  overflow-x: clip;
}

.page-fv__object {
  position: absolute;
  top: -1.6875rem;
  left: calc(50% + 9.875rem);
  z-index: -1;
  width: 38.375rem;
  height: 33.0625rem;
  object-fit: contain;
}

.page-fv__en {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: normal;
}

.page-fv__en .sphere {
  width: 1rem;
}

.page-fv__title {
  margin-top: 0.75rem;
  color: var(--color-main);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-fv__lead {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.page-fv .breadcrumb {
  margin-top: 3rem;
}

@media screen and (max-width: 767px) {
  .page-fv {
    padding: 8.5rem 0 5rem;
  }

  .page-fv__object {
    top: -1.25rem;
    right: -7.5rem;
    left: auto;
    width: 22.75rem;
    height: 19.625rem;
  }

  .page-fv__en {
    gap: 0.5rem;
    font-size: 0.875rem;
  }

  .page-fv__en .sphere {
    width: 0.625rem;
  }

  .page-fv__title {
    font-size: 1.75rem;
  }

  .page-fv__lead {
    font-size: 0.875rem;
  }

  .page-fv .breadcrumb {
    margin-top: 2rem;
  }
}

/* ----- パンくず ----- */
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "";
  display: block;
  width: 0.375rem;
  height: 0.4375rem;
  margin: 0 0.5rem;
  margin-block: 0.1875rem;
  background-color: var(--color-line);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.breadcrumb__link {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* =====================================================
   下層の本文ブロック（左に小見出し・右に中身）
   ===================================================== */
.page-block {
  padding: 6.25rem 0;
}

.page-block__grid {
  display: grid;
  grid-template-columns:
    250fr
    900fr;
  gap: 3.125rem;
}

.page-block__en {
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: normal;
}

.page-block__title {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.5rem;
  color: var(--color-main);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-block__title .sphere {
  width: 1rem;
  margin-top: calc((1.4em - 1rem) / 2);
}

.page-block__head {
  color: var(--color-main);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-block__text {
  font-size: 1rem;
}

.page-block__photo {
  margin-top: 1.5rem;
  overflow: clip;
  border-radius: 0.5rem;
}

.page-block__photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-block__head + .page-block__text,
.page-block__photo + .page-block__text {
  margin-top: 1.5rem;
}

@media screen and (max-width: 767px) {
  .page-block {
    padding: 2.5rem 0;
  }

  .page-block .inner {
    padding: 0 2rem;
  }

  .page-block__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-block__en {
    font-size: 0.875rem;
  }

  .page-block__title {
    gap: 0.5rem;
    font-size: 1.25rem;
  }

  .page-block__title .sphere {
    width: 0.625rem;
    margin-top: calc((1.4em - 0.625rem) / 2);
  }

  .page-block__head {
    font-size: 1.25rem;
  }

  .page-block__text {
    font-size: 0.875rem;
  }
}

/* =====================================================
   表（罫線2色）
   ===================================================== */
.info-table__row {
  display: grid;
  grid-template-columns:
    296fr
    596fr;
  gap: 0.5rem;
}

.info-table__term {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-main);
  color: var(--color-main);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}

.info-table__desc {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 1rem;
  line-height: 1.8;
}

.info-table__row:first-child .info-table__term {
  border-top: 1px solid var(--color-main);
}

.info-table__row:first-child .info-table__desc {
  border-top: 1px solid var(--color-line);
}

@media screen and (max-width: 767px) {
  .info-table__row {
    grid-template-columns:
      5rem
      1fr;
    gap: 0.25rem;
  }

  .info-table__term {
    padding: 1.5rem 0;
    font-size: 0.75rem;
  }

  .info-table__desc {
    padding: 1.5rem 0;
    font-size: 0.875rem;
  }
}

/* =====================================================
   お問い合わせ帯（全体が1つのリンク）
   ===================================================== */
.contact-band {
  display: block;
  padding: 6.75rem 0;
  transition: background-color 0.3s var(--ease-out);
}

.contact-band__grid {
  display: grid;
  grid-template-columns:
    1fr
    auto;
  align-items: end;
  gap: 2.5rem;
}

.contact-band__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-main);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.3s var(--ease-out);
}

.contact-band__title .icon {
  width: 2.5rem;
}

.contact-band__text {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .contact-band:hover {
    background-color: var(--color-pale);
  }

  .contact-band:hover .contact-band__title {
    color: var(--color-main-light);
  }
}

@media screen and (max-width: 767px) {
  .contact-band {
    padding: 4.5rem 0 2rem;
  }

  .contact-band__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-band__title {
    gap: 0.5rem;
    font-size: 1.25rem;
  }

  .contact-band__title .icon {
    width: 1.75rem;
  }

  .contact-band__text {
    margin-top: 1rem;
    font-size: 0.875rem;
  }

  .contact-band .textLink {
    justify-self: end;
  }
}

/* =====================================================
   フッター
   ===================================================== */
.footer {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-footer);
  color: var(--color-white);
}

.footer__top {
  display: grid;
  grid-template-columns:
    1fr
    auto
    auto;
  align-items: start;
  gap: 4rem;
}

.footer__logo {
  display: block;
  width: 12.8125rem;
}

.footer__logo img {
  width: 100%;
}

.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, 12.125rem);
  gap: 1.75rem 3.625rem;
}

.footer-nav__link {
  display: block;
  overflow: clip;
}

.footer-nav__ja {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  translate: -1rem 0;
  transition: translate 0.3s var(--ease-out);
}

.footer-nav__ja::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.625rem;
  background-color: var(--color-white);
  -webkit-mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
  mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
}

.footer-nav__en {
  display: block;
  margin-top: 0.625rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  font-feature-settings: normal;
}

@media (min-width: 768px) {
  .footer-nav__link:hover .footer-nav__ja {
    translate: 0 0;
  }
}

.footer-cta {
  display: grid;
  gap: 1.25rem;
}

.footer-cta__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.footer-cta .soon {
  margin-left: 0.25rem;
}

@media (min-width: 768px) {
  a.footer-cta__item {
    transition: opacity 0.3s var(--ease-out);
  }

  a.footer-cta__item:hover {
    opacity: 0.7;
  }
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.4;
  font-feature-settings: normal;
}

.footer__privacy {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out);
}

@media (min-width: 768px) {
  .footer__privacy:hover {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 3.5rem 0 6rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__logo {
    width: 8.5625rem;
  }

  .footer-nav__list {
    grid-template-columns: repeat(auto-fill, minmax(9.1875rem, 1fr));
    gap: 1.25rem 0.75rem;
  }

  .footer-nav__ja {
    font-size: 0.875rem;
  }

  .footer-nav__en {
    font-size: 0.75rem;
  }

  .footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .footer__copy,
  .footer__privacy {
    font-size: 0.75rem;
  }
}

/* =====================================================
   動きを減らす設定のとき
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
