@charset "UTF-8";

/*******************************************************************
下層ページ共通CSS（ヘッダー・KV・トップに戻る・SP下部ナビ・フッター・アニメーション）
読み込み順：reset.css → common.css → 各ページのCSS（例：dream.css）
画像：images/common/
********************************************************************/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  background: #000;
  color: #fff;
}

#wrapper {
  position: relative;
  overflow: clip;
}

#wrapper::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(../images/common/bg_pc.jpg) no-repeat center / cover;
  transform: translateZ(0);
  pointer-events: none;
}

a {
  display: block;
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.u-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ヘッダー */
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background: #000;
}

.news_wrap {
  overflow: hidden;

}

.news_list {
  height: 100%;
}

.header_news {
  display: flex;
  align-items: center;
  color: #000;
  font-weight: 500;
  line-height: 1.75;
  white-space: nowrap;
  height: 100%;
}

.header_news dt {
  margin-right: 1em;
}

.header_news dd {
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
}

.header_news dd a {
  color: #084dfe;
  font-weight: 900 !important;
  text-decoration: underline dashed 2px #084dfe;
  text-underline-offset: 7px;
  margin-right: 20px;
}

/* トップに戻る：文字はAB-quadraのアウトライン画像（Figma書き出し）で表示し、テキストは透明（読み上げ用に残す） */
.back-btn {
  background: url(../images/common/btn_back_text.svg) no-repeat center / 278px 48px, url(../images/common/btn_back.svg) no-repeat 0 0 / 100% 100%;
  filter: drop-shadow(8px 8px 0 #0b34c0);
  color: transparent;
  font-size: 48px;
  text-align: center;
}

.back-btn:hover {
  opacity: 0.8;
}

.footer {
  position: relative;
  background: #000;
}

.footer p {
  color: #fff;
  line-height: 1.75;
  text-align: center;
}

/***********************************************************************
  「★PC版 CSS★」ブラウザの幅が751px以上ならここの記述が有効になる
  **********************************************************************/
@media all and (min-width: 751px) {

  html,
  body,
  #wrapper {
    min-width: 1920px;
  }

  html {
    overflow-y: scroll;
  }

  /* 黒フィルター（上部20%・コンテンツ部65%）はコンテンツと一緒にスクロール。背景画像は #wrapper::before */
  #wrapper {
    background:
      linear-gradient(rgba(0, 0, 0, 0.2) 0 557px, transparent 557px),
      linear-gradient(transparent 546px, rgba(0, 0, 0, 0.65) 546px);
  }

  .pc_non {
    display: none !important;
  }

  /* ヘッダー */
  .header {
    height: 80px;
  }

  .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 900px;
    height: 210px;
    background: url(../images/common/header_shadow.png) no-repeat 0 0 / 100% auto;
    pointer-events: none;
  }

  .header_logo {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 440px;
    height: 140px;
    background: #000;
  }

  .header_logo img {
    width: 360px;
    height: auto;
  }

  .header_logo:hover,
  .header_sns a:hover,
  .header_menu a:hover {
    opacity: 0.7;
  }

  .header_sns {
    position: absolute;
    top: 18px;
    left: 450px;
    display: flex;
    height: 46px;
    padding: 0 30px;
    border-right: 1px solid #fff;
  }

  .header_sns li {
    width: 56px;
    border-left: 1px solid #fff;
  }

  .header_sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .header_menu {
    position: absolute;
    top: 8px;
    left: 856px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .news_wrap {
    position: absolute;
    top: 0;
    /* left: 1125px; */
    right: 0;
    width: 794px;
    height: 80px;
    padding: 0 10px 0 230px;
    background: url(../images/common/header_news.png) no-repeat 0 0 / auto 100%;
    font-size: 28px;
  }

  /* メイン（上部はKVの高さ分あける） */
  .main {
    position: relative;
    width: 1920px;
    padding: 510px 0 67px;
  }

  /* KV（タイトル画像はページごとにHTMLで指定。書き出しサイズ1470×831） */
  .kv {
    position: absolute;
    top: -54px;
    left: 225px;
    z-index: 2;
  }

  .back-btn {
    width: 649px;
    height: 101px;
    margin: 122px auto 0;
    line-height: 101px;
  }

  .footer {
    padding: 155px 0 27px;
  }

  .footer p {
    font-size: 16px;
  }
}

/***********************************************************************
  「★SP版 CSS★」ブラウザの幅が750px以下ならここの記述が有効になる
  **********************************************************************/
@media all and (max-width: 750px) {

  body {
    width: 750px;
  }

  /* 黒フィルター（上部20%・コンテンツ部65%）はコンテンツと一緒にスクロール */
  #wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.2) 0 424px, rgba(0, 0, 0, 0.65) 424px);
  }

  /* 固定背景：SPは縦長用の画像 */
  #wrapper::before {
    background-image: url(../images/common/bg_sp.jpg);
  }

  .sp_non {
    display: none !important;
  }

  /* ヘッダー */
  .header {
    height: 153px;
  }

  .header_logo {
    position: absolute;
    top: 14px;
    left: 40px;
    width: 200px;
  }

  .header_logo img {
    width: 100%;
    height: auto;
  }

  .header_sns {
    position: absolute;
    top: 31px;
    left: 288px;
    display: flex;
    align-items: center;
    height: 39px;
  }

  .header_sns img {
    width: 37px;
    height: auto;
  }

  .header_sns li+li {
    margin-left: 13px;
    padding-left: 12px;
    border-left: 1px solid #fff;
  }

  .news_wrap {
    position: absolute;
    top: 99px;
    left: 0;
    width: 750px;
    height: 54px;
    padding: 0 20px 0 183px;
    background: url(../images/common/header_news_sp.png) no-repeat 0 0 / 100% 100%;
    font-size: 21px;
    z-index: 1;
  }

  /* メイン（上部はKVの高さ分あける） */
  .main {
    position: relative;
    padding: 464px 0 50px;
  }

  /* KV（タイトル画像はページごとにHTMLで指定） */
  .kv {
    position: absolute;
    top: 126px;
    left: 43px;
    z-index: 2;
    width: 660px;
  }

  .kv img {
    width: 100%;
    height: auto;
  }

  .back-btn {
    width: 668px;
    height: 104px;
    margin: 32px auto 0;
    background-image: url(../images/common/btn_back_text.svg), url(../images/common/btn_back_sp.svg);
    line-height: 104px;
  }

  /* 下部ナビ */
  .sp-navi {
    margin-top: 17px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

  .sp-navi ul {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    height: 273px;
  }

  .sp-navi ul::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    width: 750px;
    height: 200px;
    background: #084efe;
  }

  .sp-navi li+li {
    margin-left: 12px;
  }

  .sp-navi_top {
    margin-left: auto !important;
  }

  .footer {
    padding: 26px 0 272px;
  }

  .footer p {
    font-size: 24px;
  }

  .back-btn {
    display: none !important;
  }
}

/*******************************
アニメーション（参考：mb2026/dream.htm）
・<head>で html に .js-anime を付与 → common.js が表示範囲に入った [data-js-inview] に .is-inview を付与
・各ページ固有の要素のアニメーションは各ページのCSSに記述
********************************/
/* KV：下からフェードイン */
.js-anime .kv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 1s;
}

.js-anime .is-inview.kv {
  opacity: 1;
  transform: none;
}

/* ホバー */
.header_logo,
.header_sns a,
.header_menu a,
.sp-navi a,
.back-btn {
  transition: transform 0.2s, opacity 0.2s;
}

.header_sns a:hover,
.header_menu a:hover,
.sp-navi a:hover {
  transform: scale(0.9);
}

.header_logo:hover,
.back-btn:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .js-anime .kv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}