@charset "UTF-8";
/* ==========================================================
   トップページ SP版（スマホ）調整
   デザインカンプ：jpg/01_LOADsp_.jpg / 02_MAINsp_.jpg（幅1280px基準）
   PC版に影響しないよう、表示切り替え用の1行を除き
   すべて @media (max-width: 600px) の中に記述する
   ========================================================== */

/* フッターのXアイコンはSP専用（PCでは表示しない） */
.footer-sns-sp {
  display: none;
}
/* 動画のタップ受けレイヤーはSP専用（PCでは表示しない） */
.top-movie-tap {
  display: none;
}

@media (max-width: 600px) {

  /* ---------- ローディング画面 ---------- */
  /* カンプ：ロゴ中心が上から39%・幅45%、ラインが上から54%の位置 */
  #splash_logo {
    top: 39%;
  }
  #splash_logo img {
    width: 45vw;
  }
  #lineImage {
    top: 54%;
    bottom: auto;
  }

  /* ---------- メインビジュアル（動画） ---------- */
  /* 動画を画面最上部から表示し、ヘッダー（ロゴ・メニュー）は動画に重ねる */
  .top-page #top-container {
    padding: 0;
  }
  /* PCと同じYouTube動画を、スマホの画面の縦いっぱいに表示。左右ははみ出した分を切り取る */
  /* svh＝アドレスバー表示時の画面の高さ（スクロールでバーが出入りしても動画の高さが変わらない） */
  .top-movie {
    display: block;
    aspect-ratio: auto;
    height: 100vh;   /* svh非対応ブラウザ用 */
    height: 100svh;
    max-height: none;
  }
  /* 旧スマホ用スライダーは使わない */
  .slider-mobile {
    display: none;
  }
  /* 前・次の動画へのスキップボタン：タップしやすい大きさ（44px）を確保しつつ、矢印は小さめにする */
  .top-movie-nav {
    width: 44px;
    height: 44px;
    margin-top: -22px;
  }
  .top-movie-nav::before {
    width: 16px;
    height: 16px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
  .top-movie-prev {
    left: 6px;
  }
  .top-movie-next {
    right: 6px;
  }
  /* サウンドボタン：右上はメニューボタンと重なるので、左下（Worksボタンと同じ高さ）に配置 */
  .top-movie-sound {
    top: auto;
    right: auto;
    left: 15px;
    bottom: calc(7.2vw + (44.5vw * 134 / 362 - 34px) / 2); /* Worksボタンと上下中央を揃える */
    gap: 6px;
    padding: 7px 12px 7px 10px;
    font-size: 1.0rem;
    letter-spacing: 1px;
  }
  .top-movie-sound svg {
    width: 16px;
    height: 16px;
  }
  /* 前・次ボタンとサウンドボタンの表示切り替え
     SPはマウスオーバーがないため、top-movie.js が付け外しする is-active の間だけ表示し、一定時間で非表示
     （タップ後に残る :hover では表示しないよう、PC用の :hover 表示を打ち消す） */
  .top-movie .top-movie-nav,
  .top-movie .top-movie-sound,
  .top-movie:hover .top-movie-nav,
  .top-movie:hover .top-movie-sound {
    opacity: 0;
  }
  .top-movie.is-active .top-movie-nav {
    opacity: 0.8;
  }
  .top-movie.is-active .top-movie-sound {
    opacity: 1;
  }
  /* タップ時の :hover で見た目が変わらないようにする（iOSで1回目のタップが「ホバー扱い」になり無視されるのを防ぐ） */
  .top-movie.is-active .top-movie-nav:hover {
    opacity: 0.8;
  }
  .top-movie-sound:hover {
    background-color: rgba(0, 0, 0, 0.45);
  }
  /* ボタン非表示中は、ボタンではなく下の透明レイヤーでタップを受ける（見えないボタンの誤操作防止） */
  .top-movie:not(.is-active) .top-movie-nav,
  .top-movie:not(.is-active) .top-movie-sound {
    pointer-events: none;
  }
  /* 透明なタップ受けレイヤー：ボタン非表示中だけ動画の上に重ねる（ボタン類より下） */
  .top-movie-tap {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .top-movie.is-active .top-movie-tap {
    display: none;
  }
  /* Worksボタン：右端ぴったり、カンプ基準で幅約44.5%・下から約28px */
  .top-movie-works {
    width: 44.5vw;
    bottom: 7.2vw;
  }

  /* ---------- 見出し（News / Member / Contact） ---------- */
  /* カンプに合わせて太く・濃く */
  .section-title,
  .title-box_contact p {
    font-weight: 600;
    color: #111;
  }

  /* ---------- News ---------- */
  #news-container {
    margin-top: 5px;
  }
  /* VIEW MOREボタン：カンプ基準 約130×38px、枠の下辺にまたがる位置 */
  .more-button {
    width: 130px;
    height: 38px;
    top: -61px;
    padding: 0 10px;
    justify-content: center;
  }
  .more-button span {
    margin-left: 0;
    font-size: 0.9rem;
  }
  .more-button img {
    margin-left: 12px;
    height: 11px;
  }

  /* ---------- Works ---------- */
  #works-container {
    height: 305px;
  }

  /* ---------- Member ---------- */
  #member-container .inner {
    margin-top: 45px;
    margin-bottom: 45px;
  }
  #member-container li {
    margin-bottom: 14px;
  }
  #member-container li .name {
    font-size: 1.5rem;
    line-height: 2.2rem;
  }
  #member-container li .position {
    font-size: 1.0rem;
    line-height: 1.6rem;
    color: #555;
  }
  #member-container li::after {
    width: 11px;
    height: 11px;
  }

  /* ---------- Contact ---------- */
  .contact-box {
    margin: 70px auto 80px;
  }
  .title-box_contact {
    margin-bottom: 70px;
  }

  /* ---------- フッター ---------- */
  .footer .inner {
    font-size: 1.0rem;
  }
  .footer li {
    font-size: 1.0rem;
    letter-spacing: 0.1em;
  }
  .footer .info-box_sp {
    margin-top: 0;
  }
  .footer .footer-policy_pc {
    margin-top: 45px;
  }

  /* ---------- フッター：Xアイコン ---------- */
  .footer-sns-sp {
    display: flex;
    justify-content: center;
    margin: 0 0 45px;
  }
  .footer-sns-sp a {
    display: block;
    width: 92px;
    height: 92px;
    border: 1px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    transition: opacity 0.3s;
  }
  .footer-sns-sp a:hover {
    opacity: 0.7;
  }
  .footer-sns-sp img {
    display: block;
    width: 100%;
    height: 100%;
  }
}
