@charset "utf-8";
* { box-sizing: border-box; }
body { margin: 0; }

/* 画像エリア */
.hero {
  position: relative;   /* ボタン重ね用 */
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;         /* 縦長画像を自然表示 */
  display: block;
}

/* 中央ボタン */
.hero-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  margin: 30px auto 0;

  

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  padding: 12px 20px;
  border-radius: 9999px;

  background: linear-gradient(to right,  #eea851, #EE87B4);   /* ←ここに色 */
  color: white;              /* ←ここに文字色 */
  border: 2px solid rgb(114, 109, 109);   /* ←ここに枠色（不要なら none） */

  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .2s ease;
}

.hero-btn:active{
  transform: translate(-50%) scale(0.97);
  }

.hero-btn:focus-visible {
  outline: 2px solid ;  /* ←ここにフォーカス色 */
  outline-offset: 3px;
}

  

@media (min-width: 870px){
  .hero-btn{
    min-width: 320px;
    padding: 16px 30px;
    font-size: 24px;
    border-width: 2px;

      position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  }
  
}

/* 1100px〜 さらに大きく */
@media (min-width: 1100px){
  .hero-btn{
    min-width: 380px;
    padding: 18px 36px;
    font-size: 36px;}
  }

