/* ================================================================
   NEW LP TEMPLATE — ブランド調整ポイント
   このファイルはレイアウト/レスポンシブ/アニメ初期状態のエンジンです。
   新ブランドに合わせて主に以下を調整してください（構造は変更不要）:
     - カラー: #000(基調) / #fff(背景) / #eee(ヒーロー背景) / #666・#9c9c9c(補助) / #111
     - 余白: .content-block の padding、.brand-intro / .staff-credit / article.ec の margin
     - フォントサイズ: clamp() を使用したヒーロー、商品名/価格、フッターなど
     - ブレークポイント: 768px 単一（.pc / .sp で画像出し分け）
   ================================================================ */

/* 幅トークン：読み物幅（テキスト/クレジット）と image-gallery の既定幅。
   image-gallery は content-block ごとに --gallery-width を上書きして自由幅にできる */
:root {
  --readable: min(80%, 1000px); /* 読み物幅 ≒ 旧 #main */
  /* 小さめプリセット */
  --gallery-xs: min(32%, 400px); /* ≒400px */
  --gallery-sm: min(44%, 550px); /* ≒550px */
  --gallery-width: min(56%, 700px); /* gallery 既定 ≒ 旧 #main の 70% */
  /* 大きめプリセット（各ブロックで width: var(--gallery-xl) のように使う） */
  --gallery-md: min(68%, 850px); /* 既定と lg の中間 ≒850px */
  --gallery-lg: min(80%, 1000px); /* ≒読み物幅 */
  --gallery-xl: min(90%, 1400px);
  --gallery-2xl: min(96%, 1760px);
  --gallery-full: 100%; /* 画面全幅 */
}

@media screen and (max-width: 768px) {
  :root {
    --readable: 80%;
    --gallery-width: 64%;
  }
}

body {
  overflow-x: hidden; /* #main 全幅化に伴う横スクロール保険 */
}

::selection {
  background-color: #000;
  color: #fff;
}

/* ----------------------------------------------------------------
 Preloader
----------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: opacity 1s ease-out;
}

/* ロゴを mask で切り抜き、background の linear-gradient を --progress で
   下から上へ塗り上げる（fill #000 / 未fill #ccc）。--progress は main.js が 0%→100% に更新 */
.preloader__logo {
  /* width: clamp(105px, 30vw, 180px); */
  width: 9cqw;
  aspect-ratio: 322.53 / 108.25;
  -webkit-mask-image: url("../image/logo.svg");
  mask-image: url("../image/logo.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: linear-gradient(to top, #000 0%, #000 var(--progress, 0%), #ccc var(--progress, 0%), #ccc 100%);
  transition: opacity 0.6s ease-out;
}

.preloader.is-logo-hidden .preloader__logo {
  opacity: 0;
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .preloader__logo {
    width: 28cqw;
  }
}

/* JS 無効時は preloader を出さない（本体を直接見せる） */
@media (scripting: none) {
  .preloader {
    display: none;
  }
}

/* 表示中はスクロール操作を封じる（iOS Safari 含む） */
body.is-loading {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  .preloader,
  .preloader__logo {
    transition-duration: 0.01ms;
  }
}

/* ----------------------------------------------------------------
Hero
----------------------------------------------------------------- */
#hero {
  width: 100%;
  background-color: #eee;
  position: relative;
  container-type: inline-size; /* 子が cqw（#hero 幅基準）を使える */
}

#hero img {
  width: 100%;
}

#hero .swiper-slide img {
  display: block;
  width: 100%;
}

/* オーバーレイは Swiper(.swiper{z-index:1}) より前面に出す */
#hero .hero-feature-1,
#hero .hero-feature-2,
#hero .hero-logo {
  z-index: 2;
}

#hero .hero-feature-1 {
  position: absolute;
  bottom: 48%;
  left: 4%;
  color: #fff;
  transform: translateY(-50%);
  /* font-size: clamp(1rem, 3.4vw, 3.4rem);  */
  /* font-size: clamp(1rem, 3.4cqw, 3.4rem); */
  font-size: 2.5cqw;
  letter-spacing: 0.4cqw;
}

#hero .hero-feature-1 span {
  display: inline-block;
  opacity: 0;
}

#hero .hero-feature-1 .white {
  margin-left: 10px;
}

#hero .hero-feature-2 {
  position: absolute;
  bottom: 44%;
  left: 4%;
  transform: translateY(-50%);
  color: #fff;
  /* font-size: clamp(0.9rem, 2.3vw, 2rem);
  font-size: clamp(0.9rem, 2.3cqw, 2rem); */
  font-size: 2cqw;
  letter-spacing: 0.2cqw;
}

#hero .hero-feature-2 span {
  display: inline-block;
  opacity: 0;
}

#hero .hero-feature-2 .white {
  margin-left: 6px;
}

#hero .hero-logo {
  width: 10%;
  position: absolute;
  top: calc(50% - 50px);
  right: 4%;
}

#hero .hero-logo img {
  filter: brightness(0) invert(1);
  /* SVGを白に変更 */
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }

  /* .sp と .swiper を併せ持つSP用ヒーローは、後勝ちの .swiper{display:block} を上書きするため特異度を上げて非表示にする */
  #hero .hero-sp {
    display: none;
  }

  #hero {
    /* max-width: 1440px; */
    margin-left: auto;
    margin-right: auto;
  }

  #hero .hero-pc {
    display: flex;
    align-items: flex-start;
    gap: 1px;
  }

  #hero .hero-pc__left,
  #hero .hero-pc__right {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  #hero .hero-feature-1 {
    /* transform: translateY(-50%); */
    top: 8%;
    bottom: auto;
    left: 6%;
    /* font-size: clamp(1.9rem, 3.4vw, 3.4rem); */
    /* font-size: clamp(1.9rem, 3.4cqw, 3.4rem); */
    font-size: 7cqw;
  }

  #hero .hero-feature-2 {
    /* transform: translateY(-50%); */
    top: 14.5%;
    bottom: auto;
    left: 6%;
    /* font-size: clamp(1.4rem, 2.4vw, 2.5rem);
    font-size: clamp(1.4rem, 2.4cqw, 2.5rem); */
    font-size: 5.2cqw;
  }

  #hero .hero-logo {
    width: 24%;
    position: absolute;
    top: auto;
    bottom: 5%;
    right: 5%;
  }
}

/* ----------------------------------------------------------------
Main Layout
----------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  #main {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
  }
}

@media screen and (min-width: 769px) {
  #main {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }
}

/* ----------------------------------------------------------------
intro
----------------------------------------------------------------- */

@media screen and (max-width: 768px) {
  .brand-intro {
    margin: 50px auto 40px auto;
  }

  .intro-paragraph {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.25rem;
    line-height: 1.5rem;
  }

  .brand-intro .intro-heading-box {
    margin-inline: calc(50% - 50vw); /* .brand-intro(80%幅)から画面幅いっぱいへ打ち拡げ */
    padding: 30px 16px;
    /* margin-bottom: 40px; */
    --intro-bg-size: 220%; /* スケール調整ノブ（例: 140% で寄る） */
    --intro-bg-pos: 50% 50%; /* トリミング位置ノブ */
  }

  .brand-intro .intro-heading-box + .intro-paragraph {
    margin-top: 30px;
  }
}

@media screen and (min-width: 769px) {
  .brand-intro {
    margin: 120px auto 40px auto;
  }

  .intro-paragraph {
    display: block;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.25rem;
    line-height: 2.4rem;
  }

  .brand-intro .intro-heading-box {
    width: fit-content; /* 文字にフィット */
    margin-inline: auto; /* 中央寄せ */
    padding: 32px 100px;
    --intro-bg-size: 220%; /* スケール調整ノブ（例: 140% で寄る） */
    --intro-bg-pos: 50% 50%; /* トリミング位置ノブ */
  }

  .brand-intro .intro-heading-box + .intro-paragraph {
    margin-top: 60px;
  }
}

/* #main 全幅化に伴い、読み物は読み物幅で中央に絞る */
.brand-intro {
  /* width: var(--readable); */
  margin-inline: auto;
}

/* 見出し2つ（2026 Summer / LIBERTY ARCHIVES）を囲うパネル */
.brand-intro .intro-heading-box {
  width: 85%;
  max-width: 620px;
  margin: 0 auto;
  display: block;
  background-color: #eee; /* 画像読込前のフォールバック */
  background-image: url("../image/intro_bg.webp");
  background-repeat: no-repeat;
  background-size: var(--intro-bg-size, cover); /* スケール（% にすると数値が大きいほど寄る） */
  background-position: var(--intro-bg-pos, center); /* トリミング位置 */
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.85); /* 白の光彩で柄から文字を分離（控えめ） */
}

.brand-intro .intro-heading {
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  line-height: 1.5;
  letter-spacing: 0.25rem;
  font-weight: 400;
  color: white;
}

.brand-intro .intro-heading--lg {
  font-size: clamp(1.2rem, 2.7vw, 1.8rem);
  line-height: 2;
  letter-spacing: 0.25rem;
  font-weight: 400;
}

/* ----------------------------------------------------------------
content block
----------------------------------------------------------------- */

.content-block {
  position: relative;
  margin: 0px auto 0px auto;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* content-block は全幅。区切り線は読み物幅で中央・最下部に維持 */
.content-block::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: var(--readable);
  border-bottom: 1px solid #000;
}

@media screen and (max-width: 768px) {
  .content-block {
    margin: 0px auto 30px auto;
    padding-top: 30px;
    padding-bottom: 60px;
  }
}

/* ----------------------------------------------------------------
content number
----------------------------------------------------------------- */

.content-number {
  position: absolute;
  display: block;
  bottom: 14px;
  right: calc((100% - var(--readable)) / 2 + 6px);
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  line-height: 1.4rem;
  text-align: center;
  z-index: 2;
  overflow: hidden;
  height: 1.4rem;
}

.content-number .digit {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .content-number {
    bottom: 10px;
    right: calc((100% - var(--readable)) / 2 + 1px);
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    line-height: 0.9rem;
    height: 0.9rem;
  }
}

/* ----------------------------------------------------------------
image-gallery
----------------------------------------------------------------- */

@media screen and (max-width: 768px) {
  .image-gallery {
    display: block;
    width: 70%;
    margin: 0 auto;
  }

  .image-gallery .image-item {
    width: 100%;
  }

  .image-gallery .image-item a:hover img {
    filter: brightness(1.1);
    transition: filter 0.3s ease-in-out;
  }

  .image-gallery .image-item a:not(:hover) img {
    filter: brightness(1);
    transition: filter 0.2s linear;
  }

  .image-gallery--flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
  }

  #content-block-01 .image-gallery--flex {
    gap: 1px;
    width: 100%;
  }

  #content-block-02 .image-gallery--flex {
    gap: 1px;
    width: 100%;
  }

  #content-block-03 .image-gallery--flex {
    gap: 1px;
    width: 100%;
  }

  #content-block-03 .image-gallery + .image-gallery {
    margin-top: 40px;
  }

  #content-block-04 .image-gallery--flex {
    gap: 1px;
  }

  #content-block-04 .image-gallery + .image-gallery {
    margin-top: 40px;
    width: 100%;
  }

  #content-block-05 .image-gallery--flex {
    gap: 1px;
  }

  #content-block-05 .image-gallery + .image-gallery {
    margin-top: 40px;
    width: 100%;
  }

  #content-block-07 .image-gallery--flex {
    gap: 1px;
    width: 100%;
  }

  #content-block-08 .image-gallery--flex {
    gap: 1px;
    width: 100%;
  }

  #content-block-09 .image-gallery--flex {
    gap: 1px;
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .image-gallery {
    display: block;
    width: var(--gallery-md);
    margin: 0 auto;
  }

  .image-gallery .image-item {
    width: 100%;
  }

  .image-gallery .image-item a:hover img {
    filter: brightness(1.1);
    transition: filter 0.3s ease-in-out;
  }

  .image-gallery .image-item a:not(:hover) img {
    filter: brightness(1);
    transition: filter 0.2s linear;
  }

  .image-gallery--flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
  }

  #content-block-01 .image-gallery--flex {
    gap: 1px;
    width: var(--gallery-md);
  }

  #content-block-01 .product-credit {
    width: var(--gallery-md);
  }

  #content-block-02 .image-gallery--flex {
    gap: 1px;
    width: var(--gallery-md);
  }

  #content-block-02 .product-credit {
    width: var(--gallery-md);
  }

  #content-block-03 .image-gallery--block {
    width: var(--gallery-sm);
  }

  #content-block-03 .image-gallery--flex {
    gap: 1px;
    width: var(--gallery-md);
  }

  #content-block-03 .image-gallery + .image-gallery {
    margin-top: 40px;
  }

  #content-block-03 .product-credit {
    width: var(--gallery-md);
  }

  #content-block-04 .image-gallery--block {
    width: var(--gallery-sm);
  }

  #content-block-04 .image-gallery--flex {
    gap: 1px;
    width: var(--gallery-md);
  }

  #content-block-04 .image-gallery + .image-gallery {
    margin-top: 40px;
  }

  #content-block-04 .product-credit {
    width: var(--gallery-md);
  }

  #content-block-05 .image-gallery--block {
    width: var(--gallery-sm);
  }

  #content-block-05 .image-gallery--flex {
    gap: 1px;
  }

  #content-block-05 .image-gallery + .image-gallery {
    margin-top: 40px;
  }

  #content-block-05 .product-credit {
    width: var(--gallery-md);
  }

  #content-block-06 .image-gallery--block {
    width: var(--gallery-sm);
  }

  #content-block-06 .product-credit {
    width: var(--gallery-sm);
  }

  #content-block-07 .image-gallery--flex {
    gap: 1px;
    width: var(--gallery-md);
  }

  #content-block-07 .product-credit {
    width: var(--gallery-md);
  }

  #content-block-08 .image-gallery--flex {
    gap: 1px;
    width: var(--gallery-md);
  }

  #content-block-08 .product-credit {
    width: var(--gallery-md);
  }

  #content-block-09 .image-gallery--flex {
    gap: 1px;
    width: var(--gallery-md);
  }

  #content-block-09 .product-credit {
    width: var(--gallery-md);
  }
}

/* ----------------------------------------------------------------
product-credit
----------------------------------------------------------------- */

.product-credit {
  width: min(56%, 700px);
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: left;
  align-items: center;
}

.list .item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  border-bottom: 1px solid #444;
  padding-bottom: 1px;
  -webkit-tap-highlight-color: transparent;
  color: #444;
}

.list .item a:hover {
  color: #666;
  border-bottom: 1px solid #666;
  -webkit-tap-highlight-color: transparent;
}

.list .item:not(:last-child) {
  margin-bottom: 16px;
}

.list .item .name {
  font-size: 0.7rem;
}

.list .item .price {
  font-size: 0.7rem;
}

.list .item.is-pickup a {
  border-bottom: 1px solid #000;
}

.list .item.is-pickup .name,
.list .item.is-pickup .price {
  font-weight: bold;
  color: #000;
}

/* is-pickup も hover 時の色変化を通常 item と揃える（太字は維持） */
.list .item.is-pickup a:hover .name,
.list .item.is-pickup a:hover .price {
  color: #666;
}

@media screen and (min-width: 769px) {
  .list .item a:hover {
    color: #666;
    border-bottom: 1px solid #666;
    -webkit-tap-highlight-color: transparent;
  }
}

@media screen and (max-width: 768px) {
  .product-credit {
    justify-content: center;
    margin: 40px auto 0 auto;
  }

  .list .item a {
    gap: 40px;
  }

  .list .item:not(:last-child) {
    margin-bottom: 12px;
  }

  .list .item .name {
    font-size: 0.62rem;
  }

  .list .item .price {
    font-size: 0.62rem;
  }
}

/* ----------------------------------------------------------------
catalog
----------------------------------------------------------------- */

.catalog {
  width: var(--gallery-md);
  margin-top: 120px;
  margin-inline: auto;
}

.catalog-title {
  text-align: center;
  font-size: clamp(1.04rem, 2.08vw, 1.6rem);
  letter-spacing: 0.1rem;
  line-height: 1.6;
  font-weight: 400;
}

/* タイトル下の注釈（画像タップ可の案内） */
.catalog-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  line-height: 1.8;
  color: #666; /* サイトの補助色 */
  font-style: italic; /* 英語行は .ec ボタンと同じイタリック調 */
}

.catalog-note .catalog-note-ja {
  font-size: 0.6rem;
  font-style: normal; /* 日本語はイタリックにしない */
}

.catalog-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 1px;
  column-gap: 30px;
}

.catalog-grid img {
  width: 100%;
  display: block;
}

.catalog-grid .catalog-item a:hover img {
  filter: brightness(1.1);
  transition: filter 0.3s ease-in-out;
}

.catalog-grid .catalog-item a:not(:hover) img {
  filter: brightness(1);
  transition: filter 0.2s linear;
}

@media screen and (max-width: 768px) {
  .catalog {
    margin-top: 60px;
    width: 100%;
  }

  .catalog-grid {
    column-gap: 10px;
    width: 100%;
    margin-top: 40px;
  }

  .catalog-note {
    margin-top: 16px;
  }
}

@media screen and (min-width: 769px) {
  .catalog-note {
    font-size: 1.1rem;
  }

  .catalog-note .catalog-note-ja {
    font-size: 0.8rem;
  }
}

/* ----------------------------------------------------------------
Staff credit
----------------------------------------------------------------- */

.staff-credit {
  width: var(--readable);
  margin: 120px auto 160px;
  text-align: center;
}

.staff-credit .image-gallery {
  max-width: 360px;
  margin-bottom: 60px;
}

.staff-credit ul li {
  margin-bottom: 40px;
}

.staff-role {
  font-size: 0.82rem;
  margin-bottom: 12px;
  color: #9c9c9c;
}

.staff-name {
  font-size: 0.82rem;
}

@media screen and (max-width: 768px) {
  .staff-credit .image-gallery {
    width: 60%;
  }
}

/* ----------------------------------------------------------------
ec store
----------------------------------------------------------------- */

article.ec {
  text-align: center;
  width: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  margin: 120px auto 120px auto;
  padding: 0;
}

article.ec p {
  width: 100%;
  font-size: 1.2rem;
  line-height: 1.6rem;
  letter-spacing: 0.1rem;
  font-style: italic;
  text-align: center;
  padding: 0;
}

article.ec p a {
  width: 80%;
  max-width: 640px;
  min-height: 80px;
  display: block;
  margin: 0 auto;
  /* display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center; */
  align-items: center;
  box-sizing: border-box;
  padding: 30px 40px 30px;
  position: relative; /* オーバーレイの基準＋スタッキング文脈 */
  z-index: 0;
  /* 背景画像（修飾クラス側で差し替え）。スケール＝background-size、トリミング位置＝background-position */
  background-image: var(--ec-bg, none);
  background-repeat: no-repeat;
  background-size: var(--ec-bg-size, cover); /* 拡大率（大きいほどズーム） */
  background-position: var(--ec-bg-pos, center); /* トリミングの中心位置 */
  background-color: #000; /* 画像読込前／未指定時のフォールバック */
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 1); /* 写真上でも読めるように */
  border: 1px solid #000;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-size 0.5s ease,
    filter 0.5s ease;
}

/* 可読性確保の暗転オーバーレイ：画像の上・テキストの下に敷く */
article.ec p a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  z-index: -1; /* 要素自身の背景画像より上、テキストより下 */
}

/* ホバー：暗転オーバーレイを消して明るい雰囲気に */
article.ec p a:hover::before {
  background-color: rgba(0, 0, 0, 0); /* 0.2 → 0：暗転を消す */
}

/* ホバー：背景画像だけをズーム＋少し明るく（枠・文字は固定） */
article.ec p a:hover {
  background-size: calc(var(--ec-bg-size, 100%) * 1.05); /* 例: 200% → 216% */
  filter: brightness(1.2);
}

/* 上部ボタン */
article.ec--top p a {
  --ec-bg: url("../image/btn_bg_top.webp");
  --ec-bg-size: 280%; /* スケール：大きいほど寄る */
  --ec-bg-pos: 46% 42%; /* トリミング位置（縦の見せどころ） */
}

/* 下部ボタン */
article.ec--bottom p a {
  --ec-bg: url("../image/btn_bg_bottom.webp");
  --ec-bg-size: 280%;
  --ec-bg-pos: 50% 50%;
}

@media screen and (max-width: 768px) {
  article.ec {
    margin: 80px auto 80px auto;
  }
}

/* モーション抑制時はホバーのズーム/明るさ変化を瞬時にする */
@media (prefers-reduced-motion: reduce) {
  article.ec p a {
    transition-duration: 0.01ms;
  }
}

/* ----------------------------------------------------------------
Floating Button（上部ECボタンをフローティング化：.ec--top デザインを流用）
----------------------------------------------------------------- */

#floating-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto; /* ボタンにフィット（article.ec の width:100% を解除） */
  margin: 0; /* article.ec の margin:120px auto を解除 */
  opacity: 0;
  visibility: hidden;
  filter: blur(8px); /* blur-in 初期状態 */
  pointer-events: none;
  transition:
    opacity 0.4s ease-out,
    filter 0.4s ease-out,
    visibility 0s linear 0.4s; /* 非表示はフェード後に（キーボードフォーカスから除外） */
}

#floating-btn.is-visible {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  pointer-events: auto;
  transition:
    opacity 0.4s ease-out,
    filter 0.4s ease-out,
    visibility 0s;
}

/* コンパクトな footprint（背景画像・文字・ホバーは .ec p a を継承） */
#floating-btn p {
  width: auto;
  font-size: 1.2rem;
}

#floating-btn p a {
  width: min(90vw, 420px);
  min-height: 60px;
  padding: 16px 32px;
  border-radius: 999px; /* ピル型 */
  overflow: hidden; /* ::before の暗転オーバーレイも角丸に収める */
}

/* フローティングのみ：ベースで暗転オーバーレイを敷く（可読性確保） */
#floating-btn p a::before {
  background-color: rgba(0, 0, 0, 0.2);
}

/* ホバー時は既存どおり暗転を消して明るく（IDの特異度で上書きされるため再指定） */
#floating-btn p a:hover::before {
  background-color: rgba(0, 0, 0, 0);
}

@media screen and (max-width: 768px) {
  #floating-btn {
    bottom: 16px;
  }

  #floating-btn p a {
    width: 86vw;
    min-height: 54px;
    padding: 14px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #floating-btn {
    transition-duration: 0.01ms;
  }
}

/* ----------------------------------------------------------------
 Footer
 ----------------------------------------------------------------- */

#footer-logo {
  width: 100%;
  text-align: center;
  margin: 70px auto 0 auto;
}

#footer-logo p {
  margin: 0 auto;
}

#footer-logo img {
  width: 160px;
  margin: 0 auto;
}

#footer-logo a:hover {
  opacity: 0.7;
}

#footer-copyright {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 20px 0 35px 0;
}

#footer-copyright p {
  color: #111;
  font-family: Montserrat, "Helvetica Neue", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.1rem;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  #footer-logo img {
    width: 120px;
    margin: 0 auto;
  }

  #footer-copyright p {
    font-size: 0.44rem;
  }
}
