/*
Theme Name: TCD051 Child
Theme URI: https://example.com
Template: vogue_tcd051
Description: Child theme for TCD051 VOGUE
Author: あなたの名前
Version: 1.0.0
*/

/* ここに子テーマのCSSを書く（後からでOK） */

/* フローティング上部ボタン */
.to-top-btn{
  position: fixed;
  right: clamp(12px, 2vw, 20px);
  bottom: clamp(16px, 3vh, 28px); /* スマホ下部UIと干渉しにくい位置 */
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: none;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 18px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  backdrop-filter: blur(2px);
  transition: transform .2s ease, opacity .2s ease;
}

/* ホバー/フォーカスで少し浮かせる（キーボード操作にも配慮） */
.to-top-btn:hover,
.to-top-btn:focus-visible{
  transform: translateY(-2px);
  outline: none;
}

/* iOSセーフエリア（ノッチ端末）対応 */
@supports(padding: max(0px)) {
  .to-top-btn{
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  }
}

/* （任意）デスクトップは少し大きく */
@media (min-width: 992px){
  .to-top-btn{ width:54px; height:54px; font-size:20px; line-height:54px; }
}

/* ここまでホバー戻る */

/* ===== 親コンテナ：2ボタン横並び ===== */

/* CTAボタン行の上下余白を明確に */
.cta-btns{
  display:flex; justify-content:center; flex-wrap:wrap; gap:20px;
  margin-top:20px;
  margin-bottom:20px;        /* ← ここを追加（PC） */
}
@media (max-width:768px){
  .cta-btns{ margin-bottom:56px; }  /* スマホは少し狭め */
}


/* ===== ボタン本体 ===== */
.cta-btns > a.btn-c {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 100vh;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: 0.3s;
  font-size: 1.6rem;
  padding: 0.8rem 2.4rem;
  cursor: pointer;
  white-space: nowrap;         /* ← 1行固定（折り返さない） */
  width: auto !important;      /* ← 自動幅 */
  flex: 0 0 auto;              /* ← 折り返し防止 */
}

/* ===== 左アイコン ===== */
.cta-btns > a.btn-c i {
  font-size: 1.5rem;
  line-height: 1;
  position: relative;
  top: 0;
}

/* ===== テキスト ===== */
.cta-btns > a.btn-c .btn-label {
  position: relative;
  top: -0.05em;                /* テキストをわずかに上げて中央揃え */
  line-height: 1;
}

/* ===== 右矢印 ===== */
.cta-btns > a.btn-c::after {
  content: "\f105";            /* Font Awesome “›” */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
  margin-left: 0.6rem;
  position: relative;
  top: 0;
}

/* ===== PC（横並び・中央寄せ） ===== */
@media (min-width: 1024px) {
  .cta-btns {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 36px;
  }
  .cta-btns > a.btn-c {
    font-size: 1.45rem;
    padding: 0.7rem 2rem;
  }
  .cta-btns > a.btn-c i {
    font-size: 1.3rem;
  }
  .cta-btns > a.btn-c::after {
    font-size: 1.1rem;
  }
}

/* ===== スマホ（縦並び・中央寄せ） ===== */
@media (max-width: 768px) {
  .cta-btns {
    flex-direction: column;
    gap: 20px;
  }
  .cta-btns > a.btn-c {
    width: 100%;
    max-width: 320px;
    white-space: normal;       /* スマホでは折り返し可 */
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }
}

/* ===== 黄色立体デザイン ===== */
a.btn--yellow {
  color: #000;
  background-color: #fff100;
}
a.btn--yellow:hover {
  color: #000;
  background-color: #fff20a;
}
a.btn--yellow.btn--cubic {
  border-bottom: 5px solid #ccc100;
}
a.btn--yellow.btn--cubic:hover {
  margin-top: 3px;
  border-bottom: 2px solid #ccc100;
}

/* ===== ピンク立体デザイン ===== */
a.btn--pink {
  color: #000;
  background-color: #ff6cdf;
}
a.btn--pink:hover {
  color: #000;
  background-color: #ff6cdf;
}
a.btn--pink.btn--cubic {
  border-bottom: 5px solid #ff5fdc;
}
a.btn--pink.btn--cubic:hover {
  margin-top: 3px;
  border-bottom: 2px solid #ff5fdc;
	
/* 右下フロートのLEDビジョンボタン */
.led-float-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;

  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;

  background: linear-gradient(135deg, #ffe082 0%, #ffc107 40%, #ffb300 70%, #ff8f00 100%);
  color: #222;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.led-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
}

/* スマホ用に少し小さく＆余白調整 */
@media (max-width: 768px) {
  .led-float-btn {
    right: 14px;
    bottom: 14px;
    padding: 10px 18px;
    font-size: 1.2rem;
  }
}

/* 管理バーが出るときに被らないように（ログイン時用・任意） */
@media screen and (min-width: 783px) {
  body.admin-bar .led-float-btn {
    bottom: 52px;
  }
}