/* ===== バナー（参考：980px 幅の横長の画像バナー。写真＋淡い面に見出し・説明・ボタン。文字は HTML で組み直した） ===== */
.banner { width: 90%; margin: 0 auto 50px; }
.banner__link { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--accent-soft); padding: 10px; transition: opacity .2s linear; }
.banner__link::before { content: ""; position: absolute; inset: 10px; background: rgba(255, 255, 255, .72); }
.banner__photo { position: relative; display: block; order: 2; height: 210px; margin: 8px -10px -10px; }
.banner__photo img { width: 100%; height: 100%; object-fit: cover; }
.banner__body { position: relative; z-index: 1; display: block; order: 1; padding: 26px 10px 14px; text-align: center; color: var(--accent); }
.banner__h { display: block; font-family: var(--f-serif); font-size: 2rem; line-height: 3.6rem; font-weight: 500; letter-spacing: .4rem; }
.banner__sub { display: block; margin-top: 10px; font-size: 1.2rem; line-height: 2.2rem; font-weight: 700; letter-spacing: .15rem; }
.banner__btn { position: relative; display: block; width: 186px; margin: 16px auto 0; padding: 0 30px; background: var(--accent); color: #fff; text-align: center; font-size: 1.3rem; line-height: 32px; font-weight: 700; letter-spacing: .3rem; }
.banner__btn::after { content: ""; position: absolute; top: 0; bottom: 0; right: 16px; width: 6px; height: 6px; margin: auto 0; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); }
.banner__wm { position: absolute; z-index: 1; right: 6px; bottom: 150px; font-family: var(--f-script); font-size: 7rem; line-height: 1; color: rgba(255, 255, 255, .9); letter-spacing: 0; pointer-events: none; }

@media (min-width: 768px) {
  .banner { width: 100%; max-width: 980px; margin-bottom: 100px; }
  .banner__link { flex-direction: row; align-items: stretch; height: 250px; padding: 15px; }
  .banner__link::before { inset: 15px 15px 15px 15px; }
  .banner__link:hover { opacity: .7; }
  .banner__photo { order: 1; flex: 0 0 37%; height: auto; margin: -15px 0 -15px -15px; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
  .banner__body { order: 2; flex: 1; align-self: center; padding: 0 20px 0 10px; text-align: left; }
  .banner__h { font-size: 2.4rem; line-height: 3.6rem; }
  .banner__btn { width: 240px; margin: 22px 0 0 160px; line-height: 40px; }
  .banner__wm { right: 20px; bottom: -14px; font-size: 9rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .banner__h { font-size: 2rem; letter-spacing: .2rem; }
  .banner__btn { margin-left: 0; }
}
