@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===== 固定ランディング：全画面固定 & ノースクロール ===== */
.page-template-page-noscr-landing {
  /* ヘッダー・フッター・パンくず等は隠す（SWELL） */
  --nl-z: 9999;
  overflow: hidden;              /* スクロール禁止（PC） */
}
.page-template-page-noscr-landing html,
.page-template-page-noscr-landing body {
  height: 100%;
}
.page-template-page-noscr-landing #header,
.page-template-page-noscr-landing .p-breadcrumb,
.page-template-page-noscr-landing #before_footer_widget,
.page-template-page-noscr-landing #footer {
  display: none !important;
}
.page-template-page-noscr-landing .l-container,
.page-template-page-noscr-landing #content,
.page-template-page-noscr-landing #body_wrap {
  padding: 0 !important;
  margin: 0 !important;
}

/* メイン領域を画面に固定 */
.noscr-landing {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;               /* モバイルのアドレスバーに強い */
  display: grid;
  place-items: center;
  isolation: isolate;           /* 背景と前景のレイヤー分離 */
}

/* 背景：<picture> を全画面カバー */
.noscr-landing .nl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.noscr-landing .nl-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* 余白なく全画面フィット */
}

/* 中央コンテンツ（ロゴ・ボタン） */
.noscr-landing .nl-center {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 20px;
  /* うっすら背景を付けたい場合は以下をON
  background: color-mix(in srgb, #000 25%, transparent);
  border-radius: 16px;
  */
}
.noscr-landing .nl-logo {
  width: clamp(160px, 22vw, 360px);
  height: auto;
  display: inline-block;
}
.noscr-landing .nl-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: clamp(14px, 1.4rem, 18px);
}

/* iOSのときに縦スクロールが出ないよう保険 */
@supports (-webkit-touch-callout: none) {
  .page-template-page-noscr-landing {
    position: fixed;
    width: 100%;
    height: 100%;
  }
}

/* もしヘッダーが残るテーマ設定でも確実に最前面はLP */
.page-template-page-noscr-landing .noscr-landing { z-index: var(--nl-z); }