/* =========================================================
   汎用ボタン型リンク
========================================================= */

/* ボタンを並べる領域 */
.button-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 30px 0;
}


/* ---------------------------------------------------------
   全ボタン共通
--------------------------------------------------------- */

.link-button {
  position: relative;
  display: inline-flex;
  min-width: 220px;
  min-height: 54px;
  padding: 13px 28px;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 1px solid transparent;
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.link-button:hover {
  transform: translateY(-2px);
}

.link-button:active {
  transform: translateY(0);
}

.link-button:focus-visible {
  outline: 3px solid rgba(184, 154, 67, 0.3);
  outline-offset: 3px;
}


/* ---------------------------------------------------------
   1. 金色のメインボタン
--------------------------------------------------------- */

.link-button--gold {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #c7aa55 0%,
    #aa8b39 55%,
    #8f722b 100%
  );
  border-color: #9d8032;
  box-shadow:
    0 5px 14px rgba(105, 83, 29, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.link-button--gold:hover {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #d1b65e 0%,
    #b69841 55%,
    #987a30 100%
  );
  box-shadow:
    0 9px 20px rgba(105, 83, 29, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}


/* ---------------------------------------------------------
   2. 白背景・金色枠線ボタン
--------------------------------------------------------- */

.link-button--outline {
  color: #806820;
  background: #ffffff;
  border-color: #b89a43;
  box-shadow: 0 4px 12px rgba(70, 57, 35, 0.07);
}

.link-button--outline:hover {
  color: #5e4b15;
  background: #faf6e9;
  border-color: #92772f;
  box-shadow: 0 8px 18px rgba(70, 57, 35, 0.12);
}


/* ---------------------------------------------------------
   3. 濃いグレーのボタン
--------------------------------------------------------- */

.link-button--dark {
  color: #ffffff;
  background: #3d3932;
  border-color: #3d3932;
  box-shadow: 0 5px 14px rgba(45, 41, 35, 0.20);
}

.link-button--dark:hover {
  color: #ffffff;
  background: #514b41;
  border-color: #514b41;
  box-shadow: 0 9px 20px rgba(45, 41, 35, 0.25);
}


/* ---------------------------------------------------------
   4. 淡いアイボリーのボタン
--------------------------------------------------------- */

.link-button--soft {
  color: #5c5137;
  background: #f7f2e8;
  border-color: #d8cdb6;
  box-shadow: 0 4px 12px rgba(70, 57, 35, 0.06);
}

.link-button--soft:hover {
  color: #453a20;
  background: #eee4cf;
  border-color: #c2ad7b;
  box-shadow: 0 8px 18px rgba(70, 57, 35, 0.10);
}


/* ---------------------------------------------------------
   5. 矢印付きボタン
--------------------------------------------------------- */

.link-button--arrow {
  padding-right: 48px;
}

.link-button--arrow::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 22px;
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(-50%);
  transition: right 0.2s ease;
}

.link-button--arrow:hover::after {
  right: 17px;
}


/* ---------------------------------------------------------
   6. 戻る矢印付きボタン
--------------------------------------------------------- */

.link-button--back {
  padding-left: 48px;
}

.link-button--back::before {
  content: "←";
  position: absolute;
  top: 50%;
  left: 22px;
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(-50%);
  transition: left 0.2s ease;
}

.link-button--back:hover::before {
  left: 17px;
}


/* ---------------------------------------------------------
   サイズ違い
--------------------------------------------------------- */

/* 小さいボタン */
.link-button--small {
  min-width: 150px;
  min-height: 44px;
  padding: 9px 20px;
  font-size: 0.9rem;
}

/* 大きいボタン */
.link-button--large {
  min-width: 290px;
  min-height: 62px;
  padding: 16px 34px;
  font-size: 1.1rem;
}

/* 横幅いっぱい */
.link-button--wide {
  width: 100%;
  max-width: 520px;
}


/* ---------------------------------------------------------
   四角に近いボタン
--------------------------------------------------------- */

.link-button--square {
  border-radius: 9px;
}


/* ---------------------------------------------------------
   無効状態
--------------------------------------------------------- */

.link-button.is-disabled,
.link-button[aria-disabled="true"] {
  color: #918b80;
  background: #e8e5df;
  border-color: #d8d4cd;
  box-shadow: none;
  pointer-events: none;
  cursor: default;
  opacity: 0.75;
}
/* =========================================================
   スマートフォン
========================================================= */

@media screen and (max-width: 680px) {

  .button-list {
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
  }

  .link-button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 1rem;
  }

  .link-button--large {
    min-width: 0;
    min-height: 58px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.05rem;
  }

  .link-button--small {
    min-height: 46px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.92rem;
  }
}