/* =========================================================
   About
   位置・大きさ・動きは s5-studios.com/about/ の数値そのまま。
   カードなどの面の色だけ、夜空の背景に合わせて少し暗くしている
   ========================================================= */
/* 5つの言葉の書体：せのびゴシック（(c) MODI工場／M+ FONTS 派生。assets/fonts/Senobi-Gothic_LICENSE.txt） */
@font-face {
  font-family: "Senobi Gothic";
  src: url("../fonts/Senobi-Gothic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --card: rgba(8, 22, 46, .72);      /* 元は rgba(0,38,81,.8) */
  --card-line: #14284a;              /* 元は #183d67 */
}

/* 「More」で飛んでいく写真の写し（about.js が作る。頭の部分より下、中身より上） */
.profile-fly { position: fixed; z-index: 5; overflow: hidden; pointer-events: none; will-change: transform; }
.profile-fly img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 改行の出し分け（パソコンだけ／スマホだけ） */
br.u-show-sp, .u-show-sp { display: none; }
@media (max-width: 899px) {
  br.u-show-sp { display: inline; }
  span.u-show-sp { display: inline; }
  br.u-show-pc, .u-show-pc { display: none; }
}

main.-about { position: relative; z-index: 1; }
main.-about .about-inner { position: relative; z-index: 1; padding-bottom: 300px; }
@media (max-width: 899px) { main.-about .about-inner { padding-bottom: 45.33vw; } }

/* ---------- 見出し1行ぶん（ホームと同じ部品） ---------- */
.catch-line { white-space: nowrap; text-align: center; font-family: var(--font-display); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.catch-line__inner { display: inline-block; }
.catch-line .ch { display: inline-block; }
.catch-line.-fill .ch {
  background: linear-gradient(180deg, #8f8a7f 0%, var(--cream) 42%, var(--cream) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =========================================================
   ① 円い写真＋見出し
   ========================================================= */
.about-kv { position: relative; padding-top: 202px; }
.about-kv__inner { position: relative; margin: 0 auto; max-width: 1118px; width: 79.86%; }
.about-kv__inner::before { content: ""; display: block; padding-top: 44.45%; }
.about-kv__bg {
  position: absolute; top: 0; left: 0; right: 0; margin: auto; width: 44.45%;
  border-radius: 50%; overflow: hidden; clip-path: circle(0 at center);
}
.about-kv__bg::before { content: ""; display: block; padding-top: 100%; }
.about-kv__bg > div {
  position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat;
  transform: scale(1.5);
}
.about-kv__bg.-show { clip-path: circle(248px at center); transition: clip-path 1.5s var(--e-quart-inout); }
.about-kv__bg.-show > div { transform: scale(1); transition: transform 1.5s var(--e-quart-inout); }

/* 2行のとき：1行目は真ん中より上、2行目は下（元サイトと同じ） */
.about-kv__catch1, .about-kv__catch2 { position: absolute; overflow: hidden; }
.about-kv__catch1 { z-index: 1; top: 49.9%; right: .89%; width: 96.42%; transform: translate3d(0, -100%, 0); }
.about-kv__catch2 { top: 48.29%; right: 0; width: 97.14%; }
.about-kv__catch1 .catch-line { transform: translate3d(0, 100%, 0); }
.about-kv__catch2 .catch-line { transform: translate3d(0, -100%, 0); }
.about-kv__catch1.-show .catch-line, .about-kv__catch2.-show .catch-line { transform: translate3d(0, 0, 0); transition: transform 1.1s var(--e-quart-inout); }

/* 1行だけのとき：同じ行を上半分・下半分に分け、真ん中から上下へ開いて出す（ホームと同じ出方） */
.about-kv.-one .about-kv__catch1, .about-kv.-one .about-kv__catch2 { top: 0; right: 0; width: 97%; height: 50%; transform: none; }
.about-kv.-one .about-kv__catch2 { top: 50%; }
.about-kv.-one .about-kv__catch1 .catch-line { position: absolute; left: 0; width: 100%; bottom: 0; transform: translate3d(0, 50%, 0); }
.about-kv.-one .about-kv__catch2 .catch-line { position: absolute; left: 0; width: 100%; top: 0; transform: translate3d(0, -50%, 0); }
.about-kv.-one .about-kv__catch1 .ch { transform: translate3d(0, 96%, 0); }
.about-kv.-one .about-kv__catch2 .ch { transform: translate3d(0, -96%, 0); }
.about-kv.-one .ch { transition: transform 1.1s var(--e-quart-inout); }
.about-kv.-one .-show .ch { transform: translate3d(0, 0, 0); }

/* 下へ誘う縦線（上から下へ伸びて消えるのをくり返す） */
.c-scroll-line::before, .c-scroll-line::after { content: ""; position: absolute; left: 50%; width: 1px; height: 60px; opacity: 0; transition: opacity .5s var(--e-cubic-inout) 1.5s; }
.c-scroll-line::before { bottom: -140px; background: var(--cream); z-index: 2; transform-origin: center top; animation: about-before 1.2s infinite both; }
.c-scroll-line::after { bottom: -140px; background: #1a2c4a; z-index: 1; }
.c-scroll-line.-show::before, .c-scroll-line.-show::after { opacity: 1; }
@keyframes about-before {
  0% { animation-timing-function: var(--e-sine-inout); transform: scale(1, 0); }
  50% { height: 60px; transform: scale(1, 1); }
  50.00001% { animation-timing-function: var(--e-quart-inout); }
  100% { height: 0; }
}

@media (max-width: 899px) {
  .about-kv { padding-top: 17.73vw; }
  .about-kv__inner { width: 85.33vw; height: 66.27vw; max-width: none; }
  .about-kv__inner::before { display: none; }
  .about-kv__bg { width: 66.27vw; height: 66.27vw; }
  .about-kv__bg::before { display: none; }
  .about-kv__bg.-show { clip-path: circle(33.13vw at center); }
  .about-kv__catch1 { top: 21.73vw; right: .8vw; width: 82.93vw; transform: none; }
  .about-kv__catch2 { top: 32.4vw; right: 0; width: 83.73vw; }
  .about-kv.-one .about-kv__catch1, .about-kv.-one .about-kv__catch2 { width: 83.73vw; height: 50%; }
  .c-scroll-line::before, .c-scroll-line::after { display: none; }
}

/* =========================================================
   ② 5つの言葉と紹介文（日本語⇔英語）
   ========================================================= */
.about-exp { position: relative; width: 90%; max-width: 915px; margin: 236px auto 0; }
.about-exp .lang-wrapper {
  position: relative; opacity: 0;
  transform: matrix3d(1, -.09, 0, 0, .09, 1, 0, 0, 0, 0, 1, 0, 20, 200, 0, 1);
}
/* 入れ物の高さはいつも日本語の高さで変わらないので、高さは動かさない */
.about-exp .lang-wrapper.-inview {
  opacity: 1; transform: none;
  transition: opacity 1.5s var(--e-quart-out), transform 1.5s var(--e-quart-out);
}
.about-exp .lang-ja, .about-exp .lang-en {
  position: absolute; top: 0; left: 0; right: 0; margin: auto;
  font-size: 1.625rem; line-height: 1.346; font-weight: 300; text-align: center;
  transition: opacity 1s var(--e-quint-out), transform 1s var(--e-quint-out);
}
.about-exp .lang-ja { font-family: "Noto Sans JP", sans-serif; }
.about-exp h2 span { display: block; margin-bottom: 1.3em; }
.about-exp .lang-ja > span:first-child { font-family: "Senobi Gothic", "Noto Sans JP", sans-serif; font-weight: 400; }
/* 紹介文の書体：5つの言葉と同じせのびゴシック（上の @font-face で読み込み済み） */
.about-exp .lang-ja > span:nth-child(2) { font-family: "Senobi Gothic", "Noto Sans JP", sans-serif; font-weight: 400; }
/* 行の終わりの「、」（スマホで改行される所だけ消す。「。」は残す。パソコンではそのまま） */
.about-exp h2 span.eol-p { display: inline; margin: 0; }
@media (max-width: 899px) {
  .about-exp h2 span.eol-p { display: none; }
}
.about-exp h2 span:last-of-type { margin-bottom: 0; }
/* 選んでいない方の言葉は、画面の端に薄く見えている（元サイトと同じ） */
.about-exp .lang-wrapper.-ja .lang-ja, .about-exp .lang-wrapper.-en .lang-en { z-index: 1; transform: translate3d(0, 0, 0); }
.about-exp .lang-wrapper.-ja .lang-en { opacity: .3; user-select: none; transform: translate3d(calc(50vw + 16%), 0, 0); }
.about-exp .lang-wrapper.-en .lang-ja { opacity: .3; user-select: none; transform: translate3d(calc(-50vw - 16%), 0, 0); }

/* 「English」ボタン */
.c-btn-en { display: flex; justify-content: center; margin-top: 34px; opacity: 0; transform: matrix3d(1, -.09, 0, 0, .09, 1, 0, 0, 0, 0, 1, 0, 20, 200, 0, 1); }
.c-btn-en.-inview { opacity: 1; transform: none; transition: opacity 1.5s var(--e-quart-out), transform 1.5s var(--e-quart-out); }
.c-btn-en__inner { position: relative; padding-bottom: 24px; font-size: 1.1875rem; letter-spacing: 0; font-weight: 300; transition: transform 1s var(--e-quint-out); }
.c-btn-en__inner .underbar { height: 24px; }
.c-btn-en__inner:hover .underbar::after { transform: translate3d(0, calc(-100% + 1px), 0); transition: transform .4s var(--e-expo-out); }

@media (max-width: 899px) {
  .about-exp { width: auto; margin-top: 12vw; }
  .about-exp .lang-wrapper, .about-exp .c-btn-en { animation: animationFrames 2.5s var(--e-quart-out) 1; transform-origin: 50% 50%; opacity: 1; transform: none; }
  .about-exp .lang-ja, .about-exp .lang-en { max-width: 82.67vw; font-size: 4.27vw; line-height: 1.6; }
  .about-exp .lang-wrapper.-ja .lang-en { transform: translate3d(100vw, 0, 0); }
  .about-exp .lang-wrapper.-en .lang-ja { transform: translate3d(-100vw, 0, 0); }
  .c-btn-en { margin-top: 8vw; }
  .c-btn-en__inner { font-size: 4.27vw; padding-bottom: 4.4vw; }
  .c-btn-en__inner .underbar { height: 4.93vw; }
}
@keyframes animationFrames {
  0% { opacity: 0; transform: translate(0, 30px); }
  60% { opacity: 0; transform: translate(0, 30px); }
  100% { opacity: 1; transform: translate(0, 0); }
}

/* =========================================================
   見出し（Profile / Tools）：上の縦線が伸び、文字が下からせり上がり、下の縦線が伸びる
   ========================================================= */
.c-about-title {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 400; font-size: 4.5rem; letter-spacing: -.01em;
  margin: 240px 0 74px;
}
.c-about-title strong { display: block; overflow: hidden; height: .8em; line-height: .8; font-weight: 400; }
.c-about-title strong span { display: inline-block; transform: translate3d(0, 100%, 0); }
.c-about-title::before, .c-about-title::after { content: ""; width: 1px; background: var(--cream); transform: scaleY(0); transform-origin: 0 0; }
.c-about-title::before { height: 172px; margin-bottom: 20px; }
.c-about-title::after { height: 61px; margin-top: 27px; }
.c-about-title.-inview::before { transform: scaleY(1); transition: transform .5s var(--e-cubic-inout); }
.c-about-title.-inview::after { transform: scaleY(1); transition: transform 1s var(--e-quart-out) .65s; }
.c-about-title.-inview strong span { transform: translate3d(0, 0, 0); transition: transform 1s var(--e-quint-out); }
@media (max-width: 899px) {
  .c-about-title { font-size: 9.6vw; margin: 21.33vw 0 8vw; }
  .c-about-title::before { height: 18.93vw; margin-bottom: 2.67vw; }
  .c-about-title::after { height: 7.73vw; margin-top: 2.93vw; }
}

/* =========================================================
   ③ プロフィールのカード
   ========================================================= */
.about-artists { position: relative; z-index: 1; }
.about-artists__list { display: flex; flex-wrap: wrap; justify-content: center; width: 91.43%; max-width: 1280px; margin: 0 auto; gap: 34px 2.66%; }   /* カードが2段になったので、段の間を横の間と同じくらい空ける */
.about-artists__list .list-item {
  position: relative; width: 31.56%; height: 43.125vw; max-height: 552px; padding: 36px 0 86px; text-align: center;
  -webkit-mask-image: linear-gradient(to bottom, #000, #000 33%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000, #000 33%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%; -webkit-mask-position: 0 100%; mask-position: 0 100%;
  transform: scale(.85, .85); will-change: transform;
}
.about-artists__list .list-item.-inview {
  -webkit-mask-position: 0 0; mask-position: 0 0; transform: scale(1, 1);
  transition: -webkit-mask-position 1.8s var(--e-quart-out), mask-position 1.8s var(--e-quart-out), transform 1.8s var(--e-quart-out);
}
.about-artists__list .list-item__bg { position: absolute; inset: 0; background: var(--card); }
.about-artists__list .list-item__txt { position: relative; padding: 0 36px; opacity: 0; }
.about-artists__list .list-item__txt1 { font-size: 1.125rem; line-height: 1.556; margin-bottom: .2em; }
.about-artists__list .list-item__txt2 { font-size: 1.375rem; line-height: 1.273; }
.about-artists__list .list-item__thumb {
  position: relative; margin: 25px auto 0; width: 57.18%;
  -webkit-mask-image: linear-gradient(to bottom, #000, #000 33%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000, #000 33%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%; -webkit-mask-position: 0 100%; mask-position: 0 100%;
}
.about-artists__list .list-item__thumb::before { content: ""; display: block; padding-top: 148.92%; }
.about-artists__list .list-item__thumb__inner { position: absolute; inset: 0; overflow: hidden; }
.about-artists__list .list-item__thumb__inner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-artists__list .list-item__more { position: absolute; bottom: 39px; left: 0; width: 100%; opacity: 0; }
.about-artists__list .list-item__more a { position: relative; display: inline-block; }
.about-artists__list .list-item__more span { position: relative; font-size: 1.125rem; letter-spacing: 0; }
.about-artists__list .list-item__more span::before { content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background: var(--cream); pointer-events: none; transform-origin: 0 50%; transition: transform .5s var(--e-expo-out); }
.about-artists__list .list-item__more a:hover span::before { transform: scaleX(0); }   /* 下線が左へ縮んで消える（元サイトと同じ見た目を軽い動かし方で） */
/* 外のサイトへ行くリンクは右上向きの矢印つき */
.about-artists__list .list-item__more a.blank { margin-left: -14px; }
.about-artists__list .list-item__more a.blank::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: -18px; margin: auto; width: 11px; height: 11px;
  background: no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M1 10L10 1M3.5 1H10V7.5' fill='none' stroke='%23efe8d7' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none; transition: transform .4s var(--e-expo-out);
}
.about-artists__list .list-item__more a.blank:hover::before { transform: translate3d(calc(30% + 1px), calc(-30% + 1px), 0); }
.about-artists__list .list-item.-inview .list-item__thumb { -webkit-mask-position: 0 0; mask-position: 0 0; transition: -webkit-mask-position 2.5s var(--e-quart-out) .3s, mask-position 2.5s var(--e-quart-out) .3s; }
.about-artists__list .list-item.-inview .list-item__txt { opacity: 1; transition: opacity 1s var(--e-quad-out) .3s; }
.about-artists__list .list-item.-inview .list-item__more { opacity: 1; transition: opacity 1s var(--e-quad-out) .6s; }

@media (max-width: 899px) {
  .about-artists__list { width: 100%; gap: 0; justify-content: flex-start; }
  .about-artists__list .list-item { width: 50%; height: auto; max-height: none; min-height: 75.73vw; padding: 6.93vw 0 13.87vw; transform: scale(.75, .75); border-bottom: 1px solid var(--card-line); }
  .about-artists__list .list-item:nth-child(-n+2) { border-top: 1px solid var(--card-line); }
  .about-artists__list .list-item:nth-child(odd) { border-right: 1px solid var(--card-line); }
  .about-artists__list .list-item__txt { padding: 0 4.8vw; }
  .about-artists__list .list-item__txt1 { font-size: 2.93vw; line-height: 1.27; margin-bottom: .8em; }
  .about-artists__list .list-item__txt2 { font-size: 4.27vw; line-height: 1.25; margin-top: -.67vw; }
  .about-artists__list .list-item__thumb { margin: 4vw auto 0; width: 29.2vw; }
  .about-artists__list .list-item__more { bottom: 6.67vw; }
  .about-artists__list .list-item__more span { font-size: 3.2vw; }
  .about-artists__list .list-item__more a.blank { margin-left: -2.13vw; }
  .about-artists__list .list-item__more a.blank::before { right: -2.13vw; top: 1.33vw; width: 1.6vw; height: 1.6vw; background-size: 1.6vw; }
}

/* =========================================================
   ④ お客様と使う道具（横いっぱいの帯）
   ========================================================= */
.about-media { position: relative; }
.about-media__list .list-item {
  position: relative; text-align: center; background: var(--card); margin-bottom: 1px; padding: 190px 0 193px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000, #000 33%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000, #000 33%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%; -webkit-mask-position: 0 100%; mask-position: 0 100%;
  transform: scale(.85, .85); will-change: transform;
}
.about-media__list .list-item.-inview {
  -webkit-mask-position: 0 0; mask-position: 0 0; transform: scale(1, 1);
  transition: -webkit-mask-position 1.8s var(--e-quart-out), mask-position 1.8s var(--e-quart-out), transform 1.8s var(--e-quart-out);
}
.about-media__list .list-item__title { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 500; font-size: 2.5rem; letter-spacing: 0; margin-bottom: 30px; }
.about-media__list .list-item__link { position: relative; display: inline-block; z-index: 1; font-size: 1.1875rem; letter-spacing: 0; }
.about-media__list .list-item__link a { display: block; position: relative; padding-bottom: 17px; transform-style: preserve-3d; perspective: 1200px; }
.about-media__list .list-item__link a p { position: relative; z-index: 2; }
.about-media__list .list-item__link .underbar { height: 18px; z-index: 2; }
.about-media__list .list-item__link a:hover .underbar::after { transform: translate3d(0, calc(-100% + 1px), 0); transition: transform .4s var(--e-expo-out); }
/* マウスを乗せると、ページの絵が傾いた状態から起き上がって後ろに浮かぶ */
.about-media__list .list-item__link .preview {
  position: absolute; top: 50%; left: 50%; width: 420px; height: 280px; margin: -163px 0 0 -210px; z-index: 1;
  background-size: cover; background-position: 50% 0; pointer-events: none; user-select: none;
  opacity: 0; transform: matrix3d(.752, .34, 0, 0, -.34, .752, 0, 0, 0, 0, 1, 0, 0, 380, 0, 1);
  transition: all .5s var(--e-quad-in);
}
.about-media__list .list-item__link a:hover .preview, .about-media__list .list-item__link a:focus-visible .preview {
  opacity: .5; transform: matrix3d(1, -.09, 0, 0, .09, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  transition: all 1s var(--e-expo-out);
}
@media (max-width: 899px) {
  .about-media__list .list-item { padding: 20.53vw 0; transform: scale(.75, .75); }
  .about-media__list .list-item__title { font-size: 5.87vw; margin-bottom: 3.33vw; }
  .about-media__list .list-item__link { font-size: 4.27vw; }
  .about-media__list .list-item__link a { padding-bottom: 4.13vw; }
  .about-media__list .list-item__link .underbar { height: 4.93vw; }
  .about-media__list .list-item__link .preview { display: none; }
}

/* =========================================================
   ⑤ 締めの一言
   ========================================================= */
.about-contact { position: relative; width: 90%; max-width: 915px; margin: 236px auto 0; text-align: center; }
.about-contact__inner { position: relative; }
.about-contact__line1, .about-contact__line2 { position: relative; margin: 0 auto; }
.about-contact__line1 { width: 775px; max-width: 100%; z-index: 2; padding-left: 13px; }
.about-contact__line2 { width: 842px; max-width: 100%; margin-top: -36px; z-index: 2; }
.about-contact .catch-line { font-size: 150px; line-height: 1.13; }
/* 下に形の山を積もらせる場所（about.js が canvas を画面の横幅いっぱいに置く） */
/* 元サイトの最後の場面と同じく、画面1枚の高さで、文字は真ん中。流体はこの場面いっぱいに（ページの最後なので下の余白はなし） */
.about-contact { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-bottom: 0; user-select: none; -webkit-user-select: none; }   /* 押したまま動かして形を流すとき、文字が選ばれないように */
main.-about .about-inner { padding-bottom: 0; }
.about-contact__pile { position: absolute; left: 50%; width: 100vw; margin-left: -50vw; z-index: 1; pointer-events: none; }
/* 文字が1文字ずつ前へ転がる（about.js が -roll を付ける） */
.about-contact .catch-line .ch.-roll { animation: ab-roll 1s cubic-bezier(.645, .045, .355, 1) both; }
@keyframes ab-roll {
  0% { transform: perspective(600px) rotateX(0); }
  50% { transform: perspective(600px) translateY(22%) rotateX(-180deg); }
  100% { transform: perspective(600px) rotateX(-360deg); }
}
/* 横棒：パソコンは1行目の後ろ（-pc-dash）、スマホは1行目と2行目のあいだに1行で（about-contact__dash） */
.about-contact__dash { display: none; position: relative; z-index: 2; }

@media (max-width: 899px) {
  .about-contact { width: auto; margin-top: 45.33vw; padding: 0 8.67vw; min-height: 100svh; }
  main.-about .about-inner { padding-bottom: 0; }
  .about-contact__line1 { width: 77.2vw; padding-left: 0; }
  .about-contact__line2 { width: 83.87vw; margin-top: -3.73vw; }
  .about-contact .catch-line .ch.-pc-dash { display: none; }
  .about-contact__dash { display: block; margin-top: -2.67vw; }
  .about-contact__dash .catch-line { line-height: 1; }
  .about-contact__dash + .about-contact__line2 { margin-top: -2.67vw; }
}
