/* landing(index)ではヘッダーを極限まで透明化 */
body.landing header {
  border-bottom: none;
  background: transparent;
}

/* サイトタイトル非表示 */
body.landing header .site-title {
  display: none;
}

/* navbarの高さを詰める（余白対策） */
body.landing header .navbar {
  padding-top: 12px;
  padding-bottom: 12px;
}

    /* landing page */
body.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.landing .card {
  width: 100%;
  box-sizing: border-box;
}

.landing-wrap {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

body.landing header .menu {
  display: flex;
}

h1 {
 font-size: 32px;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  font-weight:bolder;
}

.about-box h2, .about-box h4 {
   padding: 0;
   margin: 0 auto 10px;
}

.enter-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 24px;
}

.enter-btn:hover {
  opacity: 0.9;
}

.about-link {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

/* index(landing) では navのリンク類を隠して、テーマトグルだけ残す */
body.landing header .menu > li:not(.menu-item-toggle) {
  display: none;
}

/* トグルだけ右寄せにして見た目整える（必要なら） */
body.landing header .menu {
  justify-content: flex-end;
  width: 100%;
}

/* トグルが入る前から高さを確保してズレ防止 */
.theme-slot {
  margin: 20px 0 30px;
  display: flex;
  justify-content: center;
  min-height: 44px; /* トグルボタンの高さ分。合わなければ微調整 */
}


/* landingで theme-slot に移した li の黒丸を消す */
body.landing .theme-slot li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 念のため ul も */
body.landing .theme-slot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* landingではヘッダーをレイアウトから外して揺れ防止 */
body.landing header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;         
  border-bottom: none;
  background: transparent;
  pointer-events: none; 
}

/* ただしトグルだけは押せるようにする */
body.landing .theme-slot,
body.landing .theme-slot * {
  pointer-events: auto;
}

body.landing {
  min-height: 100svh;
}

.landing-wrap {
  animation: fadeIn .5s ease-out both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}

.enter-btn,
.about-link {
  user-select: none;
}

.landing-title {
  white-space: nowrap;
  margin-bottom: 0; 
  padding-bottom: 3px;
  font-size: 25px;
   /* font-family: "Lobster Two", sans-serif; */
   /* font-family: "Satisfy", cursive; */
}

@media (max-width: 480px) {
  .landing-title {
    font-size: 18px;
    letter-spacing: 0.06em;
  }
}

 .landing-wrap {
  text-align: center;
}

.about-box{
  margin-top: 5px;
}

.enter-btn{
  font-weight:500;
  transition: 0.25s ease;
}

.enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.links-sub{
   display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.cover__btn{
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;   /* ← 縦並び */
  align-items: center;      /* ← 中央揃え */
  gap: .3rem;
}

.card p{
     line-height: 2.5; 
     margin-top: 0; 
     padding-top: 0; 
     padding-bottom: 0;
}

.card p {
  font-size: clamp(14px, 2.5vw, 17px);
}

.cover__btn::before {
  content: none;  /* ← 既存消す */
}

.cover__btn::after{
  content: "\f282"; /* bi-chevron-down */
  font-family: "bootstrap-icons";
  font-size: 1rem;
  transition: transform .3s ease;
  opacity: 0.8;
}

details[open] > .cover__btn::after {
  transform: rotate(180deg);
}

.cover__btn::after{
  margin-top: 4px;
}

.cover__btn:hover::after {
  transform: translateY(2px);
}
/* 
.copy-url:hover {
  opacity: 0.7;
} */

.card a, 
.copy-url {
  text-decoration: none;
  position: relative;
  color: inherit;
    cursor: pointer;
    

}

.card a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: .5px;
  width: 100%;
  height: .5px;
  background: currentColor;  
  opacity: 0.35;    
}

.link-url {
  text-decoration: none;
  position: relative;
  color: inherit;
}

.link-url::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: .5px;
  background: currentColor;  
  opacity: 0.35;        
}

.sep{
   opacity: 0.6; 
}

.ab-btn{
  opacity: .9;
}

.ab-btn:hover{
  opacity: .65;
}

body.landing main {
  max-width: 980px;
  margin: 0 auto;
  padding: 25px;
}


  .links {
  display: flex;
  gap: 8px; /* 間隔 */
  flex-wrap: wrap;
  font-weight: lighter;
 justify-content: center;
 color: var(--muted);
 margin: 15px auto 10px;
}

.links a {
  text-decoration: none;
}