@charset "UTF-8";
/*-------------------------------------------------------------------------

実装メモ

-------------------------------------------------------------------------*/
/*
※クラス名解説
c-text-link-layout：リンクテキストのスタイル（大部分で使われる）
c-text-link：リンクテキスト（ホバー用）
c-text-link-text：リンクテキストのテキスト（ホバーでテキスト単体で色が変えたりする）
c-text-link-arrow：リンクテキストの矢印
c-button：ボタン
*/

/*-------------------------------------------------------------------------

アクセシビリティ用ユーティリティ

-------------------------------------------------------------------------*/

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

/*-------------------------------------------------------------------------

共通css

-------------------------------------------------------------------------*/
:root {
  /* フォント */
  --font-ja:
    "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-en: "Montserrat", sans-serif;

  /* 余白など */
  --swiper-pagination-prev-button-position: 2.6rem;
  --section-side-space: 7.7%;
  --section-content-width: 110rem;
  --section-content-width-narrow: 80rem;

  /* アイコン */
  --icon-limitless: url("../img/common/icon/limitless.svg");
  --icon-limitless-width: 2.4rem;
  --icon-limitless-height: 2.6rem;

  /* カラー */
  --color-main: #1599c9;
  --color-main-light: #e3f4fa;
  --color-main-dark: #08467b;
  --color-main-pale: #fafeff;
  --color-heading: #333333;
  --color-text: #4e4e4e;
  --color-white: #ffffff;
  --color-lita-gray: #4d4d4d;
  --color-bg: #f5f5f5;
  --color-bg-dark: #efefef;
  --color-border: #999999;
  --color-highlight: #ff0000;

  /* グラデーション */
  --gradient-main: linear-gradient(
    to bottom left,
    #4e9dce 0%,
    #1599c9 36%,
    #0caac5 100%
  );
  --gradient-sub: linear-gradient(
    to top right,
    #0caac5 0%,
    #1599c9 37%,
    #1575c9 100%
  );
  --gradient-lita-orange: linear-gradient(
    to top right,
    #ff0000 0%,
    #ef7403 100%
  );
}

html {
  font-size: 10px;
}

/* 350px 以下：ルートを可変 → rem 指定がすべて連動 */
@media (max-width: 350px) {
  html {
    /* 350px=10px を基準に、350px 未満でも連続的に縮小 */
    font-size: calc(100vw / 35);
  }
}

/* 768px 以上：ルートを可変 → rem 指定がすべて連動 */
@media (min-width: 730px) and (max-width: 958px) {
  html {
    /* 730px=10px → 959px=12px に線形でスケール（上下限を固定） */
    font-size: clamp(10px, calc(10px + (100vw - 730px) * 0.00873), 12px);
  }
}

@media (min-width: 960px) {
  html {
    /* 960px=9px → 1280px=10px に線形でスケール（上限10px） */
    font-size: clamp(9px, calc(9px + (100vw - 960px) * 0.003125), 10px);
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  html {
    /* 1440px=10px → 1920px=12px に線形でスケール（上下限を固定） */
    font-size: clamp(10px, calc(10px + (100vw - 1440px) * 0.00417), 12px);
  }
}

@media (min-width: 1920px) {
  html {
    /* 1920px=12px を通過後も同じ傾きで vw に連動して拡大 */
    font-size: calc(10px + (100vw - 1440px) * 0.00417);
  }
}

body {
  background-color: var(--color-white);
  font-family: var(--font-ja);
  min-height: 100vh;
  /* 10px × 1.6rem = 16px */
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

/* ドロワーメニューが開いているとき背後のコンテンツが一緒に動かないように */
body.is-drawer-open {
  overflow: hidden;
}

a {
  cursor: pointer;
}

.c-text-link-inline {
  color: var(--color-main);
  text-decoration: underline;
}

/* 電話番号の自動リンク無効化（Chrome対策） */
a[href^="tel"] {
  text-decoration: none;
  color: inherit;
  pointer-events: none;
  cursor: default;
}

address {
  font-style: normal;
}

small {
  font-size: 100%;
}

button {
  all: unset;
  display: inline-block;
  cursor: pointer;
}

input,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  color: inherit;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: revert;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 2rem;
  height: 2rem;
  background-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

select {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ScrollHint.jsのスタイル */
.scroll-hint-icon {
  width: 20rem;
  left: calc(50% - 10rem);
}

.scroll-hint-text {
  font-size: 1.4rem;
}

/*-------------------------------------------------------------------------

共通パーツ

-------------------------------------------------------------------------*/

/* ボタン */
.c-button-wrap {
  text-align: center;
}

.c-button {
  display: inline-block;
  min-width: 20rem;
  height: 6rem;
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
  border-radius: 4rem;
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease;
  cursor: pointer;
}

.c-button-link {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.2rem 2.4rem;
}

.c-button-text {
  color: var(--color-white);
  transition: color 0.5s ease;
}

.c-button-arrow {
  position: relative;
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  background-color: var(--color-white);
  border-radius: 100%;
  transform: rotate(-45deg);
  transition: background-color 0.5s ease;
}

.c-button-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 0.1rem;
  background-color: var(--color-main);
  transform: translate(-50%, -50%);
  transition: background-color 0.5s ease;
}

.c-button-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  box-sizing: border-box;
  border-top: 1px solid var(--color-main);
  border-right: 1px solid var(--color-main);
  transform: rotate(45deg);
  transform-origin: top right;
  transition:
    border-top-color 0.5s ease,
    border-right-color 0.5s ease;
}

@media (any-hover: hover) {
  .c-button:hover {
    background-color: var(--color-white);
  }

  .c-button:hover .c-button-text {
    color: var(--color-main);
  }

  .c-button:hover .c-button-arrow {
    background-color: var(--color-main);
  }

  .c-button:hover .c-button-arrow::before {
    background-color: var(--color-white);
  }

  .c-button:hover .c-button-arrow::after {
    border-top-color: var(--color-white);
    border-right-color: var(--color-white);
  }
}

/* リンクテキスト */

.c-text-link-layout {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.5s ease;
}

.c-text-link-text {
  line-height: 1;
  color: var(--color-heading);
  transition: color 0.5s ease;
}

.c-text-link-arrow {
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-color: var(--color-main);
  border-radius: 100%;
  border: 1px solid var(--color-main);
  transform: rotate(-45deg);
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease;
}

.c-text-link-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1px;
  background-color: var(--color-white);
  transition: background-color 0.5s ease;
}

.c-text-link-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  box-sizing: border-box;
  border-top: 1px solid var(--color-white);
  border-right: 1px solid var(--color-white);
  transform: rotate(45deg);
  transform-origin: top right;
  transition:
    border-top-color 0.5s ease,
    border-right-color 0.5s ease;
}

@media (any-hover: hover) {
  .c-text-link-layout:hover {
    border-color: var(--color-main);
  }

  .c-text-link:hover .c-text-link-text {
    color: var(--color-main);
  }

  .c-text-link:hover .c-text-link-arrow {
    background-color: var(--color-white);
    border-color: var(--color-main);
  }

  .c-text-link:hover .c-text-link-arrow::before {
    background-color: var(--color-main);
  }

  .c-text-link:hover .c-text-link-arrow::after {
    border-top-color: var(--color-main);
    border-right-color: var(--color-main);
  }

  /* サイトマップページの会員ログインボタン */
  .c-text-link:hover .sitemap-login-icon-wrap {
    background-color: var(--color-white);
  }

  .c-text-link:hover .sitemap-login-icon {
    background-color: var(--color-main);
  }
}

/* インタラクションで使う矢印アイコン */
.c-interaction-arrow {
  width: 1rem;
  height: 1rem;
  border-right: 3px solid var(--color-main);
  border-bottom: 3px solid var(--color-main);
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}

/* 下層ページタイトル */
.c-subpage-title-section {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 36rem;
  background: var(--gradient-main);
  padding: 25rem var(--section-side-space) 0;
  overflow: hidden;
}

.c-subpage-title-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -4.7rem;
  right: -6.7rem;
  width: 30rem;
  height: 31.8rem;
  background-image: url("../img/common/icon/limitless2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.c-subpage-title {
  display: block;
  max-width: var(--section-content-width);
  margin-inline: auto;
}

.c-subpage-title-sub-text {
  display: block;
  font-family: var(--font-en);
  font-size: 1.4rem;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 1.6rem;
}

.c-subpage-title-text {
  display: block;
  font-size: 3.2rem;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0.1em;
}

.c-subpage-title-text--privacy-policy {
  font-size: clamp(2.65rem, 7.5vw, 3.2rem);
}

@media (min-width: 960px) {
  .c-subpage-title-section::before {
    top: 50%;
    transform: translateY(-50%);
    right: min(12.7778vw, -18.4rem);
    width: min(56.6666666667vw, 81.6rem);
    height: min(60.3472222222vw, 86.9rem);
  }

  .c-subpage-title-text {
    font-size: 3.6rem;
  }
}

.c-subpage-fadein {
  isolation: isolate;
  opacity: 0;
  translate: -50px 0;
  animation: c-subpage-fadein 0.5s ease forwards;
}

@keyframes c-subpage-fadein {
  from {
    opacity: 0;
    translate: -50px 0;
  }

  to {
    opacity: 1;
    translate: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-subpage-fadein {
    opacity: 1;
    translate: 0;
    animation: none;
  }
}

/* スクロールしたら下から上へフェードイン */
.js-scroll-fadein {
  opacity: 0;
  transform: translateY(2.4rem);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  .js-scroll-fadein {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* セクション見出し */
.c-section-heading {
  margin-bottom: 3rem;
}

.c-section-heading-en {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--color-heading);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.2rem;
}

.c-section-heading-en::before {
  content: "";
  background-image: var(--icon-limitless);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: var(--icon-limitless-width);
  height: var(--icon-limitless-height);
  flex-shrink: 0;
}

.c-section-heading-ja {
  font-size: 2.4rem;
  color: var(--color-heading);
  letter-spacing: 0.15em;
}

/* セクション見出し（英字無し） */
.c-section-heading--simple {
  --icon-limitless-width: 3rem;
  --icon-limitless-height: 3.2rem;
  font-size: 2.4rem;
  color: var(--color-heading);
  letter-spacing: 0.1em;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.c-section-heading--simple::before {
  content: "";
  display: inline-block;
  background-image: var(--icon-limitless);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: var(--icon-limitless-width);
  height: var(--icon-limitless-height);
  flex-shrink: 0;
  margin-top: 0.8rem;
}

/* パンくずリスト */
.breadcrumbs-wrap {
  padding: 3rem var(--section-side-space) 0;
}

.breadcrumbs {
  font-size: 1.4rem;
  overflow-x: auto;
  white-space: nowrap;
  max-width: var(--section-content-width);
  margin-inline: auto;
}

.breadcrumbs > span {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: max-content;
}

.breadcrumb_last {
  color: var(--color-border);
}

@media (min-width: 960px) {
  .breadcrumbs-wrap {
    padding: 2rem var(--section-side-space) 0;
  }
}

/* ページネーション */
.c-pagination {
  width: 100%;
}

.c-pagination-list {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  row-gap: 4rem;
  column-gap: 4.5rem; /* SPの前へ／次へ間隔 */
}

.c-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.c-pagination-item--pages {
  grid-column: 1 / -1;
  grid-row: 1;
}

.c-pagination-item--prev {
  margin-left: auto;
  grid-column: 1;
  grid-row: 2;
}

.c-pagination-item--next {
  grid-column: 2;
  grid-row: 2;
}

.c-pagination-item--num {
  width: 3.6rem;
  height: 3.6rem;
}

.c-pagination-item--num:has(.dots) {
  width: auto; /* ドット間の余白調整 */
}

.page-numbers {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-color: var(--color-main-pale);
  border: 1px solid var(--color-main);
  font-size: 1.4rem;
  color: var(--color-main);
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}

.page-numbers.current {
  background-color: var(--color-main);
  color: var(--color-white);
}

.page-numbers.dots {
  width: auto;
  background-color: transparent;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

.c-pagination-item--prev .c-text-link-arrow {
  transform: rotate(180deg);
}

.c-pagination-item--next .c-text-link-arrow {
  transform: rotate(0);
}

@media (any-hover: hover) {
  .page-numbers:hover {
    background-color: var(--color-main);
    color: var(--color-white);
  }
}

@media (min-width: 960px) {
  .c-pagination {
    width: 58rem;
    margin-inline: auto;
    position: relative;
  }

  .c-pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 0;
  }

  .c-pagination-item--pages {
    justify-self: auto;
  }

  .c-pagination-item--prev {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-self: auto;
  }

  .c-pagination-item--next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-self: auto;
  }
}

/* コンテンツ幅 */
.section-content-width {
  max-width: var(--section-content-width);
  margin-inline: auto;
}

/* セクション余白 */
.section-padding--first {
  padding: 7rem var(--section-side-space) 10rem;
}

.section-padding--middle {
  padding: 10rem var(--section-side-space);
}

.section-padding--last {
  padding: 10rem var(--section-side-space) 14rem;
}

.section-padding--only {
  padding: 7rem var(--section-side-space) 14rem;
}

@media (min-width: 960px) {
  .section-padding--first {
    padding: 10rem var(--section-side-space);
  }

  .section-padding--last {
    padding: 10rem var(--section-side-space) 18rem;
  }

  .section-padding--only {
    padding: 10rem var(--section-side-space) 18rem;
  }
}

/* カスタム投稿で記事がない場合 */
.no-posts-text {
  font-size: 2rem;
  text-align: center;
}

@media (min-width: 960px) {
  .no-posts-text {
    font-size: 2.4rem;
  }
}

/* reCHAPTCHA非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

/* 水素コラムのカードUI */
.column-card {
  --column-card-radius: 1rem;
  width: 100%;
  border-radius: var(--column-card-radius);
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.column-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.column-card-img {
  aspect-ratio: 29/18;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.column-card-category {
  line-height: 1;
  color: var(--color-white);
  background: var(--gradient-main);
  width: fit-content;
  border-radius: 0.4rem;
  padding: 0.6rem 1.2rem;
  display: grid;
  place-items: center;
}

.column-card-category-link {
  color: var(--color-white);
}

.column-card-category--position {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 1rem 2.4rem;
}

.column-card-meta {
  background-color: var(--color-bg);
  padding: 1.6rem var(--section-side-space) 3rem;
}

.column-card-date {
  display: inline-block;
  font-size: 1.5rem;
  color: var(--color-lita-gray);
  margin-bottom: 0.4rem;
}

.column-card-title {
  color: var(--color-heading);
  line-height: 1.5;
  margin-bottom: 7rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: color 0.3s ease;
}

.column-card-tag-list {
  display: flex;
  align-self: start;
  gap: 0.6rem 1.2rem;
  flex-wrap: wrap;
}

.column-card-text-link {
  display: flex;
  justify-content: flex-end;
}

@media (any-hover: hover) {
  .column-card:hover .column-card-title {
    color: var(--color-main);
  }

  .column-card:hover .column-card-img {
    transform: scale(1.1);
  }

  .column-card:hover .c-text-link-text {
    color: var(--color-main);
  }

  .column-card:hover .c-text-link-arrow {
    background-color: var(--color-white);
    border-color: var(--color-main);
  }

  .column-card:hover .c-text-link-arrow::before {
    background-color: var(--color-main);
  }

  .column-card:hover .c-text-link-arrow::after {
    border-top-color: var(--color-main);
    border-right-color: var(--color-main);
  }
}

/* サイドバー */
.column-sidebar-section:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 3rem;
  margin-bottom: 5rem;
}

.column-sidebar-title {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.column-sidebar-title-icon--category {
  display: block;
  width: 2.8rem;
  height: auto;
  object-fit: cover;
}

.column-sidebar-title-icon--tag {
  display: block;
  width: 2.4rem;
  height: auto;
  object-fit: cover;
}

.column-sidebar-title-text {
  font-size: 2.4rem;
  line-height: 1.5;
  color: var(--color-heading);
}

.column-sidebar-title-icon {
  display: contents;
}

.column-sidebar-title-icon--limitless {
  display: block;
  width: 3rem;
  height: auto;
  object-fit: cover;
}

.column-sidebar-post-item {
  border-bottom: 1px solid var(--color-border);
}

.column-sidebar-post-link {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.8rem;
  padding: 3rem 0;
}

.column-sidebar-post-item:first-child .column-sidebar-post-link {
  padding-top: 0;
}

.column-sidebar-post-img-wrap {
  border-radius: 0.4rem;
  overflow: hidden;
}

.column-sidebar-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.column-sidebar-post-title {
  color: var(--color-heading);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  transition: color 0.3s ease;
}

@media (any-hover: hover) {
  .column-sidebar-post-item:hover .column-sidebar-post-img {
    transform: scale(1.05);
  }

  .column-sidebar-post-item:hover .column-sidebar-post-title {
    color: var(--color-main);
  }
}

/* カテゴリー */
.column-card-category-list {
  display: flex;
  gap: 1.4rem 1.6rem;
  flex-wrap: wrap;
}

/* キーワードから探す */
.column-tag-list {
  display: flex;
  gap: 1.4rem 1.6rem;
  flex-wrap: wrap;
}

.column-tag-item {
  background-color: var(--color-main-light);
  border-radius: 0.4rem;
}

.column-tag {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-main);
  padding: 0.6rem 1.2rem;
}

/*-------------------------------------------------------------------------

ヘッダー

-------------------------------------------------------------------------*/
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--color-white);
  transition: transform 0.3s ease;
}

/* ヘッダー：下スクロールで非表示・上スクロールで表示 */
.header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }
}

/* メガメニュー表示時：ヘッダーより下を覆うオーバーレイ */
.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.6s ease,
    visibility 0s linear 0.6s;
}

.header-pc-actions,
.header-bottom--pc {
  display: none;
}

/* ヘッダー上部（ロゴ共通） */
.header-top {
  display: flex;
  justify-content: space-between;
  place-items: center;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
}

.header-logo-img {
  width: 15.2rem;
  height: auto;
}

.header-sp-button {
  display: flex;
  gap: 0.7rem;
}

/* ログインボタン */
.login-button {
  width: 5rem;
  height: 5rem;
  background: var(--gradient-lita-orange);
  border-radius: 0.2rem;
  padding: 0.6rem 0.3rem 0.7rem 0.5rem;
}

.login-button-inner {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.login-button-img-wrap {
  display: grid;
  place-items: center;
}

.login-button-img {
  width: 1.7rem;
  height: auto;
}

.login-button-text,
.menu-button-text {
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-white);
  text-align: center;
}

/* メニューボタン */
.menu-button {
  background: var(--gradient-sub);
  border-radius: 0.2rem;
  padding: 1.3rem 0.4rem 0.7rem 0.5rem;
}

.menu-button-inner {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.menu-hamburger {
  width: 2.4rem;
  height: 1.2rem;
  position: relative;
}

.menu-hamburger span {
  position: absolute;
  display: inline-block;
  width: 2.4rem;
  height: 0.1rem;
  background-color: var(--color-white);
}

.menu-hamburger span:nth-child(1) {
  top: 0;
}

.menu-hamburger span:nth-child(2) {
  top: 0.6rem;
}

.menu-hamburger span:nth-child(3) {
  top: 1.2rem;
}

/* ヘッダー下部 */
.header-bottom--sp {
  background-color: var(--color-main);
  padding: 1rem 0;
}

.header-bottom-menu-list--sp {
  display: flex;
}

.header-bottom-menu-item--sp {
  position: relative;
  flex: 1;
  color: var(--color-white);
}

.header-bottom-menu-link--sp {
  display: grid;
  place-items: center;
}

.header-bottom-menu-item--sp:first-child .header-bottom-menu-link--sp::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 0.1rem;
  height: 1.5rem;
  background-color: var(--color-white);
}

@media (min-width: 960px) {
  .header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
  }
  /* ヘッダー上部 */
  .header-top {
    padding: 0 0 0 5rem;
  }

  .header-logo-img {
    width: 19.7rem;
  }

  .header-pc-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    place-items: center;
    gap: 4rem;
  }

  .sns-link-list {
    display: flex;
    gap: 1.6rem;
  }

  .sns-link-item {
    width: 3.4rem;
    height: auto;
  }

  .header-pc-button-list {
    display: flex;
  }

  .header-pc-button-item {
    display: grid;
    place-items: center;
    width: 19.5rem;
    height: 7rem;
  }

  .header-pc-button-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    height: 100%;
  }

  .header-pc-contact-link {
    background-image: linear-gradient(
      to top right,
      #0caac5 0%,
      #1599c9 25%,
      #1575c9 50%,
      #1599c9 75%,
      #0caac5 100%
    );
    background-size: 200% 200%;
    background-position: 0% 100%;
    transition: background-position 0.3s;
  }

  .header-pc-login-link {
    background-image: linear-gradient(
      to top right,
      #ff0000 0%,
      #ef7403 50%,
      #ff0000 100%
    );
    background-size: 200% 200%;
    background-position: 0% 100%;
    transition: background-position 0.3s;
  }

  @media (any-hover: hover) {
    .header-pc-contact-link:hover,
    .header-pc-login-link:hover {
      background-position: 100% 0%;
    }
  }

  .header-pc-button-text {
    color: var(--color-white);
  }

  /* ヘッダー下部 */
  .header-sp-button,
  .header-bottom--sp {
    display: none;
  }

  .header-bottom--pc {
    position: relative;
    display: grid;
    place-items: center;
    height: 6.6rem;
  }

  .header-nav {
    height: 100%;
  }

  .header-nav-list {
    display: flex;
    height: 100%;
    align-items: stretch;
  }

  .header-nav-item {
    --header-nav-item-padding: min(10rem, 3.47222222222vw);
    padding: 0 var(--header-nav-item-padding);
    cursor: pointer;
  }

  .header-nav-item--has-mega {
    position: static;
  }

  .header-nav-item:not(:first-child) .header-nav-item-label::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(-1 * var(--header-nav-item-padding));
    width: 0.1rem;
    height: 1.2rem;
    background-color: var(--color-lita-gray);
  }

  .header-nav-item-label {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    place-items: center;
    gap: 1rem;
    height: 100%;
    color: var(--color-heading);
    cursor: pointer;
    transition: color 0.5s ease;
  }

  .header-nav-item-label-arrow {
    width: 0.8rem;
    height: 0.8rem;
    border-right: 2px solid var(--color-main);
    border-bottom: 2px solid var(--color-main);
  }

  /* メガメニュー */
  .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    pointer-events: none;
    transition:
      opacity 0.6s ease,
      visibility 0s linear 0.6s;
  }

  @media (any-hover: hover) {
    .header-nav-item:hover .header-nav-item-label {
      color: var(--color-main);
    }

    .header-nav-item--has-mega:hover .c-interaction-arrow {
      transform: rotate(-45deg);
    }

    .header-nav-item--has-mega:hover .mega-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transition:
        opacity 0.6s ease,
        visibility 0s linear 0s;
    }

    .header:has(.header-nav-item--has-mega:hover)::after {
      opacity: 1;
      visibility: visible;
      transition:
        opacity 0.6s ease,
        visibility 0s linear 0s;
    }
  }

  .mega-menu-inner {
    display: grid;
    justify-content: center;
    padding: 3.4rem 0;
  }

  .mega-menu-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .mega-menu-title-sub {
    font-family: var(--font-en);
    font-size: 1.2rem;
    line-height: 1;
    color: var(--color-lita-gray);
  }

  .mega-menu-title {
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .mega-menu-content {
    display: flex;
    gap: 2.8rem;
    margin-bottom: 1.6rem;
  }

  /* 1枠の中でフェード切替するスライド */
  .mega-menu-img-area {
    position: relative;
    flex-shrink: 0;
    width: 20rem;
    height: 14.8rem;
  }

  .mega-menu-img-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.6s ease,
      visibility 0.6s ease;
    pointer-events: none;
  }

  .mega-menu-img-item.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
  }

  .mega-menu-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.4rem;
    object-fit: cover;
  }

  .mega-menu-products-series-list {
    display: flex;
    gap: 3.8rem;
  }

  .mega-menu-products-series-item-title {
    --icon-limitless-width: 2.1rem;
    --icon-limitless-height: 2.2rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-heading);
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
  }

  .mega-menu-products-series-item-title::before {
    display: inline-block;
    content: "";
    background-image: var(--icon-limitless);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: var(--icon-limitless-width);
    height: var(--icon-limitless-height);
    margin-right: 1rem;
  }

  .mega-menu-products-name-item:not(last-child) {
    margin-bottom: 1.6rem;
  }

  .mega-menu-products-name-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
  }
}

/* ドロワーメニュー */
.drawer-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--gradient-main);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}

.drawer-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.menu-close-button {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.8rem 1.5rem;
}

.menu-close {
  position: relative;
  --menu-close-width: 2.4rem;
  width: var(--menu-close-width);
  height: var(--menu-close-width);
  margin-bottom: 0.6rem;
}

.menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  display: inline-block;
  width: var(--menu-close-width);
  height: 0.2rem;
  background-color: var(--color-white);
}

.menu-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-close-button-text {
  display: block;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-white);
  text-align: center;
}

.drawer-menu::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -9.2rem;
  width: 110.256410256vw;
  height: 117.948717949vw;
  background-image: url("../img/common/icon/limitless2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}

.drawer-menu-inner {
  position: relative;
  z-index: 1;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10rem 0 0 var(--section-side-space);
}

.drawer-nav-list {
  margin-bottom: 3rem;
}

.drawer-nav-item:not(:last-child) {
  margin-bottom: 1rem;
}

.drawer-nav-item-arrow {
  border-color: var(--color-white);
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  color: var(--color-white);
}

.drawer-nav-link::before {
  content: "";
  display: inline-block;
  width: var(--icon-limitless-width);
  height: var(--icon-limitless-height);
  background-image: var(--icon-limitless);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: brightness(0) invert(1);
}

.drawer-nav-dropdown-list {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  transition:
    max-height 0.5s ease,
    padding-top 0.5s ease;
}

.drawer-nav-item.is-open .drawer-nav-dropdown-list {
  max-height: 50rem;
  padding-top: 1rem;
}

.drawer-nav-item.is-open .drawer-nav-link .c-interaction-arrow {
  transform: rotate(-45deg);
}

.drawer-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.drawer-nav-dropdown-item::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 100%;
  background-color: var(--color-white);
}

.drawer-nav-dropdown-item:not(:last-child) {
  margin-bottom: 0.8rem;
}

.drawer-nav-dropdown-link {
  color: var(--color-bg);
  transition: color 0.5s ease;
}

/* アイコンをliタグに対して上下中央揃えに */
.login-external-link {
  display: grid;
}

@media (any-hover: hover) {
  .drawer-nav-dropdown-link:hover {
    color: var(--color-white);
  }
}

.drawer-menu-sns-list {
  display: flex;
  gap: 1rem;
  margin-bottom: 6.4rem;
}

.drawer-menu-sns-item {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 100%;
  background-color: var(--color-white);
}

.drawer-menu-sns-link {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.drawer-menu-sns-img {
  display: inline-block;
  width: 3.4rem;
  height: auto;
}

/*-------------------------------------------------------------------------

フッター

-------------------------------------------------------------------------*/
.footer {
  padding: 4.2rem var(--section-side-space) 1.4rem;
  background-color: var(--color-lita-gray);
}

.footer-inner {
  max-width: var(--section-content-width);
  margin-inline: auto;
}

.footer-logo {
  line-height: 0;
  margin-bottom: 3rem;
}

.footer-logo-link {
  display: block;
  line-height: 0;
}

.footer-logo-img {
  max-width: 50rem;
  width: 100%;
  height: auto;
}

.footer-address-list {
  margin-bottom: 3rem;
}

.footer-address-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-address-item:not(:last-child) {
  margin-bottom: 1.8rem;
}

.footer-address-item-term {
  width: 8rem;
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
  background-color: var(--color-white);
  border-radius: 0.4rem;
}

.footer-address-item-value {
  font-size: 1.4rem;
  color: var(--color-white);
  line-height: 1.5;
  font-weight: 400;
  overflow-wrap: normal;
}

.footer-address-item-value span {
  white-space: nowrap;
}

.footer-tel {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-white);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.footer-tel::before {
  content: "";
  display: inline-block;
  width: 2.6rem;
  height: 2.6rem;
  background-image: url("../img/common/icon/tel.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.footer-hours {
  font-size: 1.4rem;
  color: var(--color-white);
  font-weight: 400;
  margin-bottom: 1.4rem;
}

.footer-sns-list {
  display: flex;
  gap: 1rem;
  margin-bottom: 6.4rem;
}

.footer-sns-item {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 100%;
  background-color: var(--color-white);
}

.footer-sns-link {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.footer-sns-img {
  display: inline-block;
  width: 3.4rem;
  height: auto;
}

.footer-nav {
  margin-bottom: 18rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-nav-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}

.footer-nav-item {
  line-height: 1;
}

.footer-nav-link::before {
  content: "";
  display: inline-block;
  width: var(--icon-limitless-width);
  height: var(--icon-limitless-height);
  background-image: var(--icon-limitless);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.footer-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  color: var(--color-white);
  transition: color 0.5s ease;
}

@media (any-hover: hover) {
  .footer-nav-link:hover,
  .footer-nav-link:hover .login-external-link-img {
    color: var(--color-main);
  }
}

.footer-nav-dropdown-list {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  color: var(--color-white);
  transition:
    max-height 0.5s ease,
    padding-top 0.5s ease;
}

.footer-nav-item.is-open .footer-nav-dropdown-list {
  max-height: 50rem;
  padding-top: 2rem;
}

.footer-nav-item.is-open .footer-nav-link .c-interaction-arrow {
  transform: rotate(-45deg);
}

.footer-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-nav-dropdown-item::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 100%;
  background-color: var(--color-main);
}

.footer-nav-dropdown-item:not(:last-child) {
  margin-bottom: 2rem;
}

.footer-nav-dropdown-link {
  color: var(--color-bg);
  transition: color 0.5s ease;
}

@media (any-hover: hover) {
  .footer-nav-dropdown-link:hover {
    color: var(--color-main);
  }
}

.login-external-link-img {
  width: 2.4rem;
  height: auto;
}

/* フッター下部 */
.footer-bottom {
  border-top: 1px solid var(--color-white);
  padding-top: 2.5rem;
}

.footer-bottom-text {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 3.5rem;
}

.footer-bottom-link-list {
  display: flex;
}

.footer-bottom-link-item:first-child {
  padding-right: 2.4rem;
}

.footer-bottom-link-item:not(:first-child) {
  position: relative;
  padding-left: 2.4rem;
}

.footer-bottom-link-item:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-35%);
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.2rem;
  background-color: var(--color-white);
}

.footer-bottom-link {
  font-size: 1.4rem;
  color: var(--color-white);
}

.footer-bottom-link-list {
  margin-bottom: 1rem;
}

.footer-copyright {
  font-size: 1rem;
  color: var(--color-white);
}

@media (min-width: 960px) {
  .footer {
    padding: 11rem 4% 5rem;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    gap: min(5%, 20rem);
    margin-bottom: 15rem;
  }

  .footer-pc-left {
    width: 40%;
  }

  .footer-address-list {
    margin-bottom: 2.4rem;
  }

  .footer-address-item {
    flex-direction: row;
    gap: 1rem;
  }

  .footer-address-item:not(:last-child) {
    margin-bottom: 1rem;
  }

  .footer-address-item-term {
    display: grid;
    place-items: center;
    height: auto;
  }

  .footer-address-item-value {
    font-size: 1.5rem;
    margin-top: -0.2rem;
  }

  .footer-tel {
    font-size: 3.2rem;
  }

  .footer-hours {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .footer-sns-list {
    margin-bottom: 0;
  }

  .footer-nav {
    flex-direction: row;
    align-items: flex-start;
    gap: 4.8rem;
  }

  .footer-nav-item {
    white-space: nowrap;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: min(5%, 20rem);
  }

  .footer-bottom-text {
    margin-bottom: 0;
  }

  .footer-bottom-link {
    white-space: nowrap;
  }

  .footer-copyright {
    font-size: 1.2rem;
    white-space: nowrap;
  }
}
