@charset "utf-8";

body {
  height: 100%;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #000;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
  color: #fff;
  background-color: #000;
}

.content {
  position: relative;
}

.content .btnn {
  position: absolute;
  width: auto;
  height: fit-content;
  bottom: 16%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* padding: 0 20px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  /* 半透明の黒 */
  /* border-radius: 28px; */
}

.content .btnn.prf {
  top: 23%;
  left: 15%;
  transform: none;
  text-align: center;
}

.content .btnn.prf h2 {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 21px;
}

.content .btnn.prf h2 span {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}


.content .btnn p {
  width: 350px;
  padding: 5px 5px;
  background-color: #644E30;
  text-align: center;
}

.content .btnn .flex p {
  width: fit-content;
  /* max-width: 210px; */
}

.content .btnn .flex {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.content .btnn p a.set01 {
  width: fit-content;
  display: block;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(14px, 1.2vw, 16px);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  line-height: 1;
  text-decoration: none;
}

@media (max-width: 860px) {

}


/* ==============================
   可変スケール対応セクション
   ============================== */
   .content .btnn.prf {
    top: 40%;
    left: 10%;
    transform-origin: top left;
    --scale: 1; /* ← ここを変えれば全体の倍率が変わる */
    transform: scale(var(--scale));
    text-align: center;
    transition: transform 0.3s ease; /* スムーズな拡大縮小 */
  }
  
  .content .btnn.prf h2 {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: clamp(16px, 1.8vw, 21px);
    line-height: 1.4;
  }
  
  .content .btnn.prf .flex {
    display: flex;
    justify-content: center;
    gap: 16px;
  }
  
  .content .btnn.prf .flex p {
    width: 100%;
    max-width: 195px;
    background-color: #644E30;
    padding: 5px;
    transition: background-color 0.3s ease;
  }
  
  .content .btnn.prf .flex p:hover {
    background-color: #8b6a43;
  }
  
  .content .btnn.prf .flex a.set01 {
    color: #fff;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: clamp(14px, 1.2vw, 18px);
    text-decoration: none;
  }

  footer {
    margin: 100px auto 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }


  footer small {
    font-family: "Noto Serif JP", "Yu Mincho", serif;
  }

  .btnn2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .btnn2 button {
    width: 320px;
    background-color: #644E30;
    padding: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    color: #fff;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: clamp(14px, 1.2vw, 16px);
    text-decoration: none;
  }
  /* --- スマホで自動的に小さく --- */
  @media (max-width: 860px) {
    .content .btnn.prf {
      --scale: 0.8;
      left: 50%;
      bottom: 10%;
      top: unset;
      transform: translate(-50%, -50%);
      width: 90%;
    }

    .content .btnn.prf h2 {
      font-size: clamp(17px, 2.5vw, 30px);
    }
    .btnn2 {
      width: 100%;
      flex-direction: column;
    }
    .btnn2 p {
      width: 90%;
    }
  }

  @media (max-width: 430px) {
    .content .btnn.prf {
      bottom: 7%;
    }
  }