/* =========================================================
   button.css — 共通塗りボタン .c-btn
   .c-btn--blue  : 「お問い合わせはこちら」（#123f73 → #4992e3）
   .c-btn--gold  : 「カタログをダウンロード」（#a98401 → #ffc800）
   .c-btn--sky   : 「無料サンプル請求」（#8dc1fb → #e9f3ff・青字）
   .c-btn--solid : フラット青（メガメニュー上部ボタン）
   .c-btn--outline / .c-btn--white : 白抜き
   .c-btn--sm : 14px（ヘッダー） / .c-btn--block : 幅100%
   アイコン: <img class="c-btn__icon"> を末尾に入れる（gap 15px）
   ========================================================= */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-white);
  text-align: center;
  white-space: nowrap;
  border: 0;
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.c-btn:hover {
  box-shadow: 0 4px 12px rgba(15, 44, 77, 0.22);
}
.c-btn:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}
.c-btn__icon {
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.c-btn:hover .c-btn__icon {
  transform: translateX(3px);
}

/* グラデーションは transition できないので、ホバー用のグラデーションを ::before に重ねて opacity で出す */
.c-btn--blue,
.c-btn--gold,
.c-btn--sky {
  position: relative;
  isolation: isolate; /* ::before を背景の上・文字の下に置く */
}
.c-btn--blue::before,
.c-btn--gold::before,
.c-btn--sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.c-btn--blue:hover::before,
.c-btn--gold:hover::before,
.c-btn--sky:hover::before {
  opacity: 1;
}
/* 「カタログをダウンロード」（gold）・「お問い合わせ」（blue）: ホバーは色のフェードだけ（影・アイコンの移動なし） */
.c-btn--blue:hover,
.c-btn--gold:hover {
  box-shadow: none;
}
.c-btn--blue:hover .c-btn__icon,
.c-btn--gold:hover .c-btn__icon {
  transform: none;
}
.c-btn--blue {
  background: linear-gradient(90deg, var(--c-blue-dark) 0%, #4992e3 100%);
}
.c-btn--blue::before {
  background: linear-gradient(90deg, #1a5190 0%, #5aa0ee 100%);
}
.c-btn--gold {
  background: linear-gradient(90deg, #a98401 0%, #ffc800 100%);
}
.c-btn--gold::before {
  background: linear-gradient(90deg, #b99205 0%, #ffd21f 100%);
}
.c-btn--sky {
  background: linear-gradient(90deg, #8dc1fb 0%, #e9f3ff 100%);
  color: var(--c-blue);
}
.c-btn--sky::before {
  background: linear-gradient(90deg, #7ab4f5 0%, #dcebfd 100%);
}

.c-btn--solid {
  background: var(--c-blue);
  font-weight: 600;
  padding: 12px 16px;
  line-height: 1.2;
}
.c-btn--solid:hover {
  background: var(--c-blue-dark);
}

.c-btn--outline {
  background: var(--c-white);
  color: var(--c-blue);
  box-shadow: inset 0 0 0 1px var(--c-blue);
}
.c-btn--outline:hover {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow:
    inset 0 0 0 1px var(--c-blue),
    0 4px 12px rgba(15, 44, 77, 0.18);
}
.c-btn--white {
  background: transparent;
  color: var(--c-white);
  box-shadow: inset 0 0 0 1px var(--c-white);
}
.c-btn--white:hover {
  background: var(--c-white);
  color: var(--c-blue-dark);
}

.c-btn--sm {
  font-size: 14px;
  padding: 12px 22px;
}
.c-btn--block {
  display: flex;
  width: 100%;
}
