@charset "utf-8";

/* ==========================================================================
   大誠有限会社 — 共通スタイル
   設計値は参照サイトの実測値に準拠（等比スケーリング／配色／トランジション時序）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. フォント
   日本語見出し: Zen Kaku Gothic New (SIL OFL) — CDN の unicode-range 分割を利用
   欧文: Ubuntu (UFL) — ラテン部分のみ自己ホスト
   -------------------------------------------------------------------------- */
/* 4 言語ぶんをまとめて 1 リクエストで取得する。
   Google Fonts の CSS は unicode-range で分割されているため、
   実際に使う文字の分割ファイルだけが読み込まれる（日本語ページで
   ハングルの分割が落ちてくることはない）。 */
@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Noto+Sans+SC:wght@400;500;700;900&family=Noto+Sans+KR:wght@400;500;700;900&display=swap");

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ubuntu-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ubuntu-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. 等比スケーリング（本デザインの根幹）
   PC: 設計幅 1300px、1600px で上限。SP: 設計幅 375px。全寸法を rem で記述する。
   1rem = 10px @1300px
   -------------------------------------------------------------------------- */
:root {
  --min-width: 1300;
  --max-width: 1600;
  /* 1300px を設計幅とし、1600px で頭打ち。下限は 1024px 相当（7.8px）まで許容する。
     ここを 10px で止めると、1024〜1300px の画面で 110rem のコンテナが
     画面幅を超えて横スクロールが出る（iPad 横で発生していた）。 */
  --fz: clamp(7.8px, calc(100vw / var(--min-width) * 10), calc(var(--max-width) / 1300 * 10px));
  --scrollbar: 0px;
  font-size: var(--fz);

  /* 配色 */
  --c-brand: #0099d9;
  --c-text: #343434;
  --c-text-sub: #767676;
  --c-line: #e9e9e9;
  --c-bg-light: #f5f5f5;
  --c-bg-nav: #e6e2e4;
  --c-white: #fff;

  /* イージング */
  --e-main: cubic-bezier(0.68, 0.04, 0.16, 0.99);
  --e-nav: cubic-bezier(0.64, 0.05, 0.34, 0.99);
  --e-img: cubic-bezier(0.44, 0.01, 0.12, 0.99);

  /* フォント */
  --f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN",
    "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
  --f-en: "Ubuntu", sans-serif;
  --f-body: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo,
    "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 1023px) {
  /* 375px を設計幅とするが、そのままだと iPad 縦(768px)で 2 倍に膨らむ。
     15px で頭打ちにして、タブレットでも文字と余白が破綻しないようにする。 */
  :root {
    --fz: clamp(10px, calc(100vw / 375 * 10), 15px);
  }
}

/* --------------------------------------------------------------------------
   2.5 言語別フォント
   見出し用（--f-jp）と本文用（--f-body）を言語ごとに差し替える。
   字形が異なるため、日本語のフォントで中国語・韓国語を表示すると
   字体が崩れたり豆腐（□）になる。
   -------------------------------------------------------------------------- */
html[lang^="zh"] {
  --f-jp: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}
html[lang^="ko"] {
  --f-jp: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
html[lang^="en"] {
  --f-jp: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}
/* 英語は語間が空くため、日本語向けの字間指定を弱める */
html[lang^="en"] body {
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3. リセット
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
}

html,
body {
  font-family: var(--f-jp);
  color: var(--c-text);
  background: var(--c-white) none;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  font-size: max(1.5rem, 10px);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

@media screen and (max-width: 1023px) {
  html,
  body {
    font-size: max(1.4rem, 10px);
  }
}

body *:focus-visible {
  outline: auto;
}
body *:focus-visible[tabindex="-1"] {
  outline: 0;
  outline-color: transparent;
}

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

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. ユーティリティ
   接尾辞 -w = PC のみ / -n = SP のみ
   -------------------------------------------------------------------------- */
.w1100 {
  width: 110rem;
  margin-inline: auto;
}

.effect-fade-hover {
  transition: opacity 0.3s ease;
}
.effect-fade-hover:hover {
  opacity: 0.6;
}

@media screen and (min-width: 1024px) {
  .dn-w {
    display: none;
  }
  .mt40-w { margin-top: 4rem; }
  .mt60-w { margin-top: 6rem; }
  .mt75-w { margin-top: 7.5rem; }
  .mt100-w { margin-top: 10rem; }
  .mt120-w { margin-top: 12rem; }
  .mt140-w { margin-top: 14rem; }
}

@media screen and (max-width: 1023px) {
  .dn-n {
    display: none;
  }
  /* .w1100 と .inner を併用した場合、後に書いた方が勝つ。
     SP では内寸を .inner に決めさせたいので、必ず .w1100 より後に置くこと。 */
  .w1100 {
    width: 100%;
  }
  .inner {
    width: 34.5rem;
    margin-inline: auto;
  }
  .mt40-n { margin-top: 4rem; }
  .mt60-n { margin-top: 6rem; }
  .mt75-n { margin-top: 7.5rem; }
  .mt100-n { margin-top: 10rem; }
  .mt120-n { margin-top: 12rem; }
  .mt140-n { margin-top: 14rem; }
}

/* --------------------------------------------------------------------------
   5. Loading
   -------------------------------------------------------------------------- */
.loading {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: var(--c-white);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading.loading--off {
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}
.loading.loading--off .loading__mark {
  translate: 10rem -3rem;
  transition: translate 0.5s ease-out;
}
.loading .loading__mark {
  width: 7rem;
  transition: translate 0.5s ease-out;
}

/* 正式ロゴマーク（共通） */
.logo-mark {
  display: block;
  width: 100%;
  height: auto;
}
.loading .loading__txt {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.6rem, 10px);
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: var(--c-brand);
}

/* --------------------------------------------------------------------------
   6. Header / Nav
   -------------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* 明るい映像の上でもヘッダー要素が読めるよう、上部にごく薄い階調を敷く */
#header.header--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.42) 0%, rgba(10, 14, 20, 0) 100%);
}

#header .header__in {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-inline: auto;
  padding: 1.5rem 1.7rem;
}

#header .header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 22rem;
}
@media screen and (max-width: 1023px) {
  #header .header-logo {
    width: 17.6rem;
  }
}
#header .header-logo__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
#header .header-logo__mark {
  flex: none;
  width: 3.4rem;
}
@media screen and (max-width: 1023px) {
  #header .header-logo__mark {
    width: 2.8rem;
  }
}
#header .header-logo__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: color 0.4s ease;
}
#header .header-logo__ja {
  font-size: max(1.9rem, 10px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}
@media screen and (max-width: 1023px) {
  #header .header-logo__ja {
    font-size: max(1.6rem, 10px);
  }
}
#header .header-logo__en {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1rem, 9px);
  line-height: 1;
  letter-spacing: 0.28em;
  opacity: 0.75;
}

/* hero など暗い背景の上：文字は白。
   ロゴマークは正式データ（青のグラデーション）をそのまま使い、
   暗所で沈まないよう影のみ添える。マークの色自体は改変しない。 */
#header .header-logo--white .header-logo__body {
  color: var(--c-white);
  text-shadow: 0 0.1rem 0.6rem rgba(10, 14, 20, 0.4);
}
#header .header-logo--white .logo-mark {
  filter: drop-shadow(0 0.1rem 0.5rem rgba(255, 255, 255, 0.35));
}
/* 明るい背景の上：文字は濃色 */
#header .header-logo--black .header-logo__body {
  color: var(--c-text);
}

/* ヘッダー右側 */
#header .header__side {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#header .header__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: 13rem;
  height: 3.8rem;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.1em;
  color: var(--c-white);
  background-color: var(--c-text);
  transition: background-color 0.3s ease;
}
#header .header__contact:hover {
  background-color: var(--c-brand);
}
#header .header__contact .ico_svg {
  width: 1.6rem;
}
#header .header__contact .ico_svg .svg-path {
  fill: currentColor;
}
@media screen and (max-width: 1023px) {
  #header .header__contact {
    display: none;
  }
}


/* ハンバーガー */
#header .menu {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 5rem;
  aspect-ratio: 1;
  transition: background-color 0.3s ease;
}
#header .menu:hover {
  background-color: var(--c-brand);
}
#header .menu:hover .menu__line {
  background-color: var(--c-white);
}
@media screen and (max-width: 1023px) {
  #header .menu {
    width: 4.5rem;
  }
}
#header .menu__btn {
  position: relative;
  width: 2rem;
  height: 1.4rem;
}
@media screen and (max-width: 1023px) {
  #header .menu__btn {
    width: 1.8rem;
  }
}
#header .menu__line {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0.2rem;
  margin: auto;
  opacity: 1;
  background-color: var(--c-text);
  transition: top 0.25s 0.25s ease, background-color 0.3s ease,
    opacity 0s 0.25s ease, rotate 0.25s ease;
}
#header .menu__line:nth-of-type(1) { top: 0; }
#header .menu__line:nth-of-type(2) { top: 0.6rem; }
#header .menu__line:nth-of-type(3) { top: 1.2rem; }

#header .menu--open .menu__line {
  transition: top 0.25s 0s ease, background-color 0.3s ease,
    opacity 0s 0.25s ease, rotate 0.25s 0.25s ease;
}
#header .menu--open .menu__line:nth-of-type(1) {
  top: 0.6rem;
  rotate: 45deg;
}
#header .menu--open .menu__line:nth-of-type(2) {
  opacity: 0;
}
#header .menu--open .menu__line:nth-of-type(3) {
  top: 0.6rem;
  rotate: -45deg;
}

/* 暗い背景（hero）の上：ヘッダー内要素を白に反転 */
#header.header--dark .langsw__btn {
  color: var(--c-white);
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(0.5rem);
}
#header.header--dark .header__contact {
  color: var(--c-text);
  background-color: var(--c-white);
}
#header.header--dark .header__contact:hover {
  color: var(--c-white);
  background-color: var(--c-brand);
}
#header.header--dark .menu__line {
  background-color: var(--c-white);
}
#header.header--dark .menu:hover .menu__line {
  background-color: var(--c-white);
}
/* ナビを開いている間は必ず暗色（ナビ背景が明るいため） */
#header .menu--open .menu__line,
#header.header--dark .menu--open .menu__line {
  background-color: var(--c-text);
}

/* 全画面ナビ */
#header .nav {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100vh;
  background-color: var(--c-bg-nav);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media screen and (max-width: 1023px) {
  #header .nav {
    display: block;
    height: calc(var(--vh, 1vh) * 100);
  }
}
#header .nav.nav--active {
  opacity: 1;
  visibility: visible;
}

/* ナビ背景画像（hover で切替） */

#header .nav__wrap {
  display: flex;
  justify-content: center;
  /* 内容が画面より高い時に上端が切れないよう safe を付ける。
     通常の center だと、はみ出した分がスクロールで到達できなくなる。 */
  align-items: safe center;
  flex-wrap: wrap;
  min-height: 100%;
  padding-block: 9rem 3rem;
}
#header .nav__in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 30rem;
}

#header .nav-list {
  width: 100%;
}
/* 2 つ目のリストは一回り小さく */
#header .nav-list + .nav-list {
  margin-top: 2.4rem;
}
#header .nav-list + .nav-list .nav-list__link {
  font-size: max(1.3rem, 10px);
}

#header .nav-list__item {
  position: relative;
  overflow: hidden;
}
#header .nav-list__item + .nav-list__item {
  margin-top: 1.4rem;
}
#header .nav-list__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 140%;
  height: 0.1rem;
  background-color: var(--c-text);
  translate: -102%;
  transition: translate 0s 0.3s ease;
}
#header .nav-list__link {
  position: relative;
  display: block;
  width: fit-content;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.8rem, 10px);
  line-height: 1.7;
  letter-spacing: 0.15em;
  /* 副題を付けて 2 行になったため、em ではなく自身の高さで隠す */
  translate: 0 105%;
  transition: color 0.3s ease, translate 0s 0.3s ease;
}
#header .nav-list__link:hover {
  color: var(--c-brand);
}
/* 英字だけでは中国語・韓国語の訪問者が項目を判別しにくいため、
   各言語の説明を添える（フッターの併記と同じ訳語をそのまま使う） */
#header .nav-list__sub {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: max(1.2rem, 10px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--c-text-sub);
  transition: color 0.3s ease;
}
#header .nav-list__link:hover .nav-list__sub {
  color: var(--c-brand);
}
#header .nav-list + .nav-list .nav-list__sub {
  margin-top: 0.1rem;
  font-size: max(1.1rem, 10px);
}
#header .nav-list__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0.1rem;
  background-color: var(--c-brand);
  transform-origin: left center;
  scale: 0 1;
  transition: scale 0.4s var(--e-main);
}
#header .nav-list__link:hover::before {
  scale: 1;
}
#header .nav-list__link--soon {
  pointer-events: none;
  color: var(--c-text-sub);
}
#header .nav-list__link--soon::after {
  content: "(coming soon)";
  display: block;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.1rem, 10px);
  line-height: 1;
  letter-spacing: 0.1em;
}

/* 開いた時の段差アニメーション（参照サイトの時序に準拠） */
#header .nav.nav--active .nav-list__item::after {
  translate: 75%;
  transition: translate 1s 0.1s var(--e-nav);
}
#header .nav.nav--active .nav-list__item:nth-of-type(1)::after { transition-delay: 0.1s; }
#header .nav.nav--active .nav-list__item:nth-of-type(2)::after { transition-delay: 0.14s; }
#header .nav.nav--active .nav-list__item:nth-of-type(3)::after { transition-delay: 0.18s; }
#header .nav.nav--active .nav-list__item:nth-of-type(4)::after { transition-delay: 0.22s; }
#header .nav.nav--active .nav-list__item:nth-of-type(5)::after { transition-delay: 0.26s; }
#header .nav.nav--active .nav-list__item:nth-of-type(6)::after { transition-delay: 0.3s; }

#header .nav.nav--active .nav-list__link {
  translate: 0;
  transition: color 0.3s ease, translate 0.8s 0.2s var(--e-main);
}
#header .nav.nav--active .nav-list__item:nth-of-type(1) .nav-list__link { transition-delay: 0s, 0.2s; }
#header .nav.nav--active .nav-list__item:nth-of-type(2) .nav-list__link { transition-delay: 0s, 0.24s; }
#header .nav.nav--active .nav-list__item:nth-of-type(3) .nav-list__link { transition-delay: 0s, 0.28s; }
#header .nav.nav--active .nav-list__item:nth-of-type(4) .nav-list__link { transition-delay: 0s, 0.32s; }
#header .nav.nav--active .nav-list__item:nth-of-type(5) .nav-list__link { transition-delay: 0s, 0.36s; }
#header .nav.nav--active .nav-list__item:nth-of-type(6) .nav-list__link { transition-delay: 0s, 0.4s; }

#header .nav__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: 100%;
  height: 3.4rem;
  margin-top: 3rem;
  border-radius: 100vmax;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.1em;
  color: var(--c-white);
  background-color: var(--c-text);
  transition: background-color 0.3s ease;
}
#header .nav__contact:hover {
  background-color: var(--c-brand);
}
#header .nav__contact .ico_svg {
  width: 1.6rem;
}
#header .nav__contact .ico_svg .svg-path {
  fill: currentColor;
}
#header .nav__copy {
  width: 100%;
  margin-top: 2.2rem;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1rem, 10px);
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-align: center;
  color: var(--c-text-sub);
}

/* メニューを開いている間は、ヘッダー右側の言語切替と CONTACT を隠す。
   ナビ内に同じ導線があり、二重に見えるため。 */
#header.header--navopen .langsw,
#header.header--navopen .header__contact {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.overlay--active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   7. 共通パーツ
   -------------------------------------------------------------------------- */

/* 見出し */
.title01 .title01__en {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(6rem, 10px);
  line-height: 0.8;
  letter-spacing: 0.07em;
}
@media screen and (max-width: 1023px) {
  .title01 .title01__en {
    font-size: max(5rem, 10px);
    letter-spacing: 0.08em;
  }
}
.title01 .title01__ttl {
  margin-top: 1.5rem;
  font-size: max(1.8rem, 10px);
  letter-spacing: 0.05em;
  color: var(--c-brand);
}
@media screen and (max-width: 1023px) {
  .title01 .title01__ttl {
    font-size: max(1.5rem, 10px);
    line-height: 1.8;
  }
}

/* 英字見出しの一文字ずつアニメーション */
.js-title__span {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.js-title__span > span {
  display: inline-block;
  translate: 0 100%;
  transition: translate 0.8s var(--e-main);
}
.scr-anin--on .js-title__span > span,
.js-title--on .js-title__span > span {
  translate: 0;
}
.js-title__span:nth-of-type(1) > span { transition-delay: 0.05s; }
.js-title__span:nth-of-type(2) > span { transition-delay: 0.1s; }
.js-title__span:nth-of-type(3) > span { transition-delay: 0.15s; }
.js-title__span:nth-of-type(4) > span { transition-delay: 0.2s; }
.js-title__span:nth-of-type(5) > span { transition-delay: 0.25s; }
.js-title__span:nth-of-type(6) > span { transition-delay: 0.3s; }
.js-title__span:nth-of-type(7) > span { transition-delay: 0.35s; }
.js-title__span:nth-of-type(8) > span { transition-delay: 0.4s; }
.js-title__span:nth-of-type(9) > span { transition-delay: 0.45s; }
.js-title__span:nth-of-type(10) > span { transition-delay: 0.5s; }

/* ボタン */
.btn01 {
  position: relative;
  display: block;
  width: fit-content;
  padding: 1rem 3.5rem 1rem 1rem;
  font-family: var(--f-en);
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.btn01:hover {
  color: var(--c-brand);
}
.btn01:hover::after {
  scale: 0 1;
}
.btn01:hover .ico_svg {
  translate: 1rem;
}
.btn01::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0.4rem;
  background-color: var(--c-text);
  transform-origin: right center;
  scale: 1;
  transition: scale 0.4s var(--e-main);
}
.btn01 .ico_svg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1rem;
  width: 1.5rem;
  aspect-ratio: 1;
  margin: auto;
  transition: translate 0.4s var(--e-main);
}
.btn01 .ico_svg .svg-path {
  stroke: currentColor;
}
.btn01--left {
  padding-inline: 3.5rem 1rem;
}
.btn01--left:hover .ico_svg {
  translate: -1rem;
}
.btn01--left::after {
  transform-origin: left center;
}
.btn01--left .ico_svg {
  left: 1rem;
  right: auto;
  scale: -1;
}
.btn01--white {
  color: var(--c-white);
}
.btn01--white::after {
  background-color: var(--c-white);
}

/* お知らせリスト */
.news01 .news01__in {
  width: 76rem;
  margin-inline: auto 0;
}
@media screen and (max-width: 1023px) {
  .news01 .news01__in {
    width: 100%;
  }
}
.news01 .news01-list {
  margin-top: 6rem;
}
@media screen and (max-width: 1023px) {
  .news01 .news01-list {
    margin-top: 4rem;
  }
}
.news01 .news01-list__item + .news01-list__item {
  margin-top: 2rem;
}
@media screen and (max-width: 1023px) {
  .news01 .news01-list__item + .news01-list__item {
    margin-top: 2.5rem;
  }
}
.news01 .news01-list__link {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  transition: color 0.3s ease;
}
.news01 .news01-list__link:hover {
  color: var(--c-brand);
}
.news01 .news01-list__link:hover::after {
  transform-origin: left center;
  scale: 1;
}
.news01 .news01-list__link::after {
  content: "";
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  display: block;
  width: 100%;
  height: 0.1rem;
  background-color: var(--c-text);
  transform-origin: right center;
  scale: 0 1;
  transition: scale 0.4s var(--e-main);
}
@media screen and (max-width: 1023px) {
  .news01 .news01-list__link {
    gap: 0.2rem 0;
    padding-right: 2.5rem;
  }
  .news01 .news01-list__link::after {
    content: none;
  }
}
.news01 .news01-list__date {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.4rem, 10px);
  letter-spacing: 0.06em;
}
.news01 .news01-list__cate {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 9rem;
  padding: 0.3rem 1rem;
  font-size: max(1.2rem, 10px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--c-white);
  background-color: var(--c-brand);
}
.news01 .news01-list__ttl {
  flex: 1;
  font-size: max(1.5rem, 10px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .news01 .news01-list__ttl {
    flex: none;
    width: 100%;
    margin-top: 0.5rem;
  }
}
.news01 .news01-list__link .ico_svg {
  width: 1.8rem;
}
@media screen and (max-width: 1023px) {
  .news01 .news01-list__link .ico_svg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1.5rem;
    margin: auto;
  }
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
#footer {
  position: relative;
  z-index: 1;
  color: var(--c-white);
}
#footer .footer__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--c-text);
}
#footer .footer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 自社写真は曇天の淡い色調なので、白文字が乗るよう地の濃色に沈める。
     （参照サイトの画像は元から暗く、この処理は不要だった） */
  opacity: 0.26;
  filter: grayscale(0.35) contrast(1.05);
}
#footer .footer__in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 110rem;
  margin-inline: auto;
  padding-block: 10rem;
}
@media screen and (max-width: 1023px) {
  #footer .footer__in {
    width: 30.4rem;
    padding-block: 6rem;
  }
}
#footer .footer__info {
  width: 50rem;
}
@media screen and (max-width: 1023px) {
  #footer .footer__info {
    width: 100%;
  }
}
#footer .footer__logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
@media screen and (max-width: 1023px) {
  #footer .footer__logo {
    justify-content: center;
  }
}
#footer .footer__logo .header-logo__mark {
  flex: none;
  width: 4.4rem;
}
#footer .footer__logo-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
#footer .footer__logo-ja {
  font-size: max(2.2rem, 10px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}
#footer .footer__logo-en {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.1rem, 9px);
  line-height: 1;
  letter-spacing: 0.28em;
  opacity: 0.75;
}
#footer .footer__address a {
  transition: opacity 0.3s ease;
}
#footer .footer__address a:hover {
  opacity: 0.6;
}
#footer .footer__lang {
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}
#footer .footer__lang:hover {
  opacity: 0.6;
}
#footer .footer__address {
  margin-top: 2.5rem;
  font-family: var(--f-body);
  font-size: max(1.3rem, 10px);
  line-height: 2;
  letter-spacing: 0.05em;
}
#footer .footer__license {
  margin-top: 1.5rem;
  font-family: var(--f-body);
  font-size: max(1.2rem, 10px);
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #cfcfcf;
}
#footer .footer-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  width: 51rem;
}
@media screen and (max-width: 1023px) {
  #footer .footer-list {
    display: none;
  }
}
#footer .footer-list__item {
  width: 23.6rem;
}
#footer .footer-list__item.grayscale .footer-list__link {
  color: var(--c-text-sub);
  pointer-events: none;
}
#footer .footer-list__link {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: fit-content;
  padding-block: 0.8rem;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.4rem, 10px);
  letter-spacing: 0.08em;
}
#footer .footer-list__link::before {
  content: "";
  position: absolute;
  bottom: 0.4rem;
  left: 0;
  display: block;
  width: 100%;
  height: 0.1rem;
  background-color: currentColor;
  transform-origin: left center;
  scale: 0 1;
  transition: scale 0.4s var(--e-main);
}
#footer .footer-list__link:hover::before {
  scale: 1;
}
#footer .footer-list__jp {
  font-family: var(--f-jp);
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.05em;
  color: #cfcfcf;
}
#footer .footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 110rem;
  margin-inline: auto;
  padding-block: 2.5rem;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 1023px) {
  #footer .footer__bottom {
    width: 30.4rem;
    justify-content: center;
  }
}
#footer .footer__copy {
  font-family: var(--f-en);
  font-size: max(1.1rem, 10px);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   9. スクロールアニメーション共通
   -------------------------------------------------------------------------- */
.scr-anin {
  opacity: 0;
  translate: 0 2rem;
  transition: opacity 0.8s ease, translate 0.8s ease;
}
.scr-anin.scr-anin--on {
  opacity: 1;
  translate: 0;
}
/* 個別に制御する要素は共通の opacity 制御から除外する */
.lcl-philosophy__txt.scr-anin,
.lcl-linkarea.scr-anin,
.title01.scr-anin {
  opacity: 1;
  translate: 0;
}

/* --------------------------------------------------------------------------
   10. モーション低減
   -------------------------------------------------------------------------- */
@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;
  }
  .scr-anin,
  .lcl-philosophy__span,
  .js-title__span > span {
    opacity: 1 !important;
    translate: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   11. 言語切替（日本語 / English / 中文 / 한국어）
   -------------------------------------------------------------------------- */
.langsw {
  position: relative;
  z-index: 10;
}

.langsw__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  height: 3.8rem;
  padding-inline: 1.4rem;
  font-family: var(--f-en);
  font-weight: 700;
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.08em;
  /* 隣の CONTACT が塗りボタンなので、線だけだと未完成に見える。
     地色を明示して「押せるもの」だと分かるようにする。 */
  color: var(--c-text);
  background-color: var(--c-bg-light);
  border: 0.1rem solid #d2d2d2;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.langsw__btn::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-bottom: 0.1rem solid currentColor;
  border-right: 0.1rem solid currentColor;
  rotate: 45deg;
  translate: 0 -0.15rem;
  transition: rotate 0.3s ease, translate 0.3s ease;
}
.langsw__btn:hover,
.langsw.is-open .langsw__btn {
  color: var(--c-white);
  background-color: var(--c-brand);
  border-color: var(--c-brand);
}
.langsw.is-open .langsw__btn::after {
  rotate: -135deg;
  translate: 0 0.15rem;
}

.langsw__list {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 13rem;
  padding: 0.6rem 0;
  background-color: var(--c-white);
  box-shadow: 0 0.4rem 2rem rgba(10, 14, 20, 0.16);
  opacity: 0;
  visibility: hidden;
  translate: 0 -0.6rem;
  transition: opacity 0.25s ease, visibility 0.25s ease, translate 0.25s ease;
}
.langsw.is-open .langsw__list {
  opacity: 1;
  visibility: visible;
  translate: 0;
}
.langsw__link {
  display: block;
  padding: 0.9rem 1.6rem;
  font-size: max(1.3rem, 10px);
  letter-spacing: 0.05em;
  color: var(--c-text);
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.langsw__link:hover {
  color: var(--c-brand);
  background-color: var(--c-bg-light);
}
.langsw__link[aria-current="true"] {
  font-weight: 700;
  color: var(--c-brand);
}
.langsw__link[aria-current="true"]::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.9rem;
  margin-right: 0.8rem;
  border-bottom: 0.15rem solid currentColor;
  border-right: 0.15rem solid currentColor;
  rotate: 45deg;
  translate: 0 -0.2rem;
}

/* SP・タブレットでもヘッダーに残す。多言語サイトで言語切替が
   ハンバーガーの奥にしか無いと、外国語の訪問者が入口を見つけられない。 */
@media screen and (max-width: 1023px) {
  .langsw__btn {
    gap: 0.4rem;
    padding-inline: 1rem;
  }
  .langsw__list {
    top: calc(100% + 0.4rem);
    min-width: 12rem;
  }
}

/* 画面が低い端末（iPhone SE 等）と、ルート値が大きくなるタブレット縦では
   メニューが画面に収まらないため、さらに詰める。
   スクロールはできるが、開いた時点で全項目が見えている方が迷わない。 */
@media screen and (max-height: 700px),
       screen and (min-width: 768px) and (max-width: 1023px) {
  #header .nav__wrap {
    padding-block: 7rem 2rem;
  }
  #header .nav-list__link {
    font-size: max(1.5rem, 10px);
  }
  #header .nav-list__sub {
    margin-top: 0.1rem;
    font-size: max(1.1rem, 10px);
  }
  #header .nav-list__item + .nav-list__item {
    margin-top: 1rem;
  }
  #header .nav-list + .nav-list {
    margin-top: 1.6rem;
  }
  #header .nav__contact {
    margin-top: 2rem;
  }
  #header .nav__lang {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
  }
  #header .nav__copy {
    margin-top: 1.6rem;
  }
}

/* ナビ内（全画面メニューからも切り替えられるようにする） */
.nav__lang {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  width: 100%;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 0.1rem solid rgba(52, 52, 52, 0.2);
}
.nav__lang-link {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.nav__lang-link:hover {
  color: var(--c-brand);
}
.nav__lang-link[aria-current="true"] {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 0.4rem;
}

/* --------------------------------------------------------------------------
   12. タブレット（768〜1023px）
   375px 設計のまま流すと余白が痩せるため、コンテナだけ画面幅に追従させる
   -------------------------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .inner,
  .w1100 {
    width: min(88%, 68rem);
    margin-inline: auto;
  }
}
