@charset "UTF-8";

/* 768px以上：PC / 767px以下：スマートフォン */

/* 共通：基本設定・文字・アクセシビリティ */
body:has(.yn-site) {
  margin: 0;
}
.yn-site {
  --yn-pink: #c70079;
  min-height: 100vh;
  color: #000;
  background: #f4f4f4;
  font-family: "Noto Sans JP","Noto Sans", "Yu Gothic",Meiryo,sans-serif;
  line-height: 1.65;
}
.yn-site *, .yn-site *::before, .yn-site *::after {
  box-sizing: border-box;
}
.yn-site :where(h1,h2,h3,p,ul) {
  margin: 0;
  padding: 0;
}
.yn-site :where(ul) {
  list-style: none;
}
.yn-site img {
  display: block;
  max-width: 100%;
  height: auto;
}
.yn-site a {
  color: inherit;
  text-decoration: none;
}
.yn-site button {
  font: inherit;
  cursor: pointer;
}
.yn-site a[href], .yn-site button {
  -webkit-tap-highlight-color: transparent;
}
.yn-site :focus-visible {
  outline: 3px solid #075eac;
  outline-offset: 5px;
}
.yn-site h2 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 900;
}
.yn-pink {
  color: var(--yn-pink);
}
.yn-skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 10px 20px;
  background: #fff;
}
.yn-skip:focus {
  top: 12px;
}

/* 共通：ボタンと操作時の演出 */
.yn-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  padding: 14px 40px;
  border: 2px solid transparent;
  border-radius: 36px;
  color: #fff!important;
  background: var(--yn-pink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .04em;
}
.yn-button__icon {
  flex: none;
  width: 24px;
  height: 24px!important;
}
.yn-button--outline {
  color: #000!important;
  background: #fff;
  border-color: #000;
}
.yn-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.yn-button__icon {
  transition: transform .25s ease;
}
.yn-button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, #ffffff38 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform .55s ease;
}
@media (hover:hover) {
  .yn-button[href]:hover {
    transform: translateY(-3px);
    background-color: #ad0069;
    box-shadow: 0 8px 18px #85005130;
  }
  .yn-button--outline[href]:hover {
    background-color: #fff1f8;
    border-color: var(--yn-pink);
  }
  .yn-button[href]:hover::before {
    transform: translateX(130%);
  }
  .yn-button[href]:hover .yn-button__icon {
    transform: translateX(5px);
  }
}
.yn-button[href]:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px #85005130;
}
.yn-button[href]:focus-visible .yn-button__icon {
  transform: translateX(5px);
}
.yn-button[href]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px #85005125;
}
.yn-menu-toggle {
  display: none;
}
.yn-download__apps [hidden] {
  display: none!important;
}

/* 共通：追随ヘッダーとナビゲーション */
.yn-site [data-include="header"] {
  position: sticky;
  top: 0;
  z-index: 100;
}
.yn-site #main, .yn-site #download {
  scroll-margin-top: calc(var(--yn-header-height, 110px) + 16px);
}
.yn-header {
  position: relative;
  padding-top: 10px;
  background: #fff;
  border-bottom: 5px solid var(--yn-pink);
  box-shadow: 0 3px 12px #0000000d;
}
.yn-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1480px;
  margin: auto;
  padding: 0 30px;
}
.yn-header__top > a:first-child {
  width: 270px;
}
.yn-header__cta {
  border-radius: 16px;
  padding: 9px 22px;
  font-size: 18px;
  gap: 12px;
}
.yn-nav {
  max-width: 1280px;
  margin: 10px auto 0;
}
.yn-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}
.yn-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 26px;
  border-radius: 10px 10px 0 0;
  font-size: 16px;
  font-weight: 700;
  background: #ccc;
  white-space: nowrap;
}
.yn-nav a[aria-current="page"] {
  color: white;
  background: var(--yn-pink);
}

/* トップ：ヒーローと星の背景 */
.yn-hero {
  position: relative;
  background: url("/sites/default/files/page/lp/youmeneobank/img/kv-bottom.svg") bottom -1px center/100% auto no-repeat,url("/sites/default/files/page/lp/youmeneobank/img/kv-top.svg") top center/100% auto no-repeat,url("/sites/default/files/page/lp/youmeneobank/img/kv-star.svg") center/cover no-repeat,linear-gradient(150deg,#ffee9a,#f7d240);
}
.yn-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 53px;
  max-width: 1280px;
  margin: auto;
  padding: 40px 0 90px;
}
.yn-hero h1 {
  width: 860px;
  flex: 0 1 860px;
}
.yn-hero__offer {
  width: 250px;
  flex: 0 1 250px;
}
.yn-hero.has-moving-stars {
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(150deg,#ffee9a,#f7d240);
}
.yn-hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.yn-hero.has-moving-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("/sites/default/files/page/lp/youmeneobank/img/kv-bottom.svg") bottom -1px center/100% auto no-repeat,
    url("/sites/default/files/page/lp/youmeneobank/img/kv-top.svg") top center/100% auto no-repeat;
}
.yn-hero.has-moving-stars .yn-hero__inner {
  position: relative;
  z-index: 2;
}

/* トップ：星背景のスマートフォン表示 */
@media (max-width:767px) {
  .yn-hero.has-moving-stars::after {
    background-size: 100% auto,180% auto;
  }
}

/* トップ：ゆめNEOBANKとは・紹介スライド */
.yn-about {
  background: url("/sites/default/files/page/lp/youmeneobank/img/about-mv.png") center 69px/1480px 650px no-repeat;
}
.yn-about__inner {
  max-width: 1480px;
  margin: auto;
  min-height: 792px;
  padding: 100px 100px 130px;
  display: flex;
  justify-content: flex-end;
}

/* 広い画面では画像の縦横比を保ってリボンを左右の画面端まで広げる。 */
@media (min-width:1481px) {
  .yn-about {
    background-size: 100% auto;
  }
  .yn-about__inner {
    min-height: calc(100vw * 650 / 1480 + 142px);
    align-items: center;
  }
}
.yn-about__mobile-art {
  display: none;
}
.yn-about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 600px;
}
.yn-about h2 {
  white-space: nowrap;
}
.yn-about h2 small {
  font-size: 32px;
}
.yn-about__lead {
  text-align: center;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
}
.yn-about__label {
  color: var(--yn-pink);
  background: #f9dbdb;
  border-radius: 30px;
  width: 420px;
  max-width: 100%;
  text-align: center;
  font-weight: 900;
  padding: 6px 12px;
  font-size: 16px;
}
.yn-slider {
  width: 554px;
  max-width: 100%;
  padding: 0 67px 52px;
  visibility: visible;
}
.yn-slider .splide__track {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 5px #0003;
  background: white;
}
.yn-slide {
  min-height: 180px;
  padding: 20px 22px;
  font-size: 16px;
}
.yn-slide h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  font-weight: 900;
}
.yn-slide h3 span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--yn-pink);
}
/* ホーム：PCの丸数字だけを約3px上げ、円の位置とサイズは維持する */
@media (min-width:768px) {
  .yn-slide h3 span {
    line-height: 1.4;
    padding-bottom: 6px;
  }
}
.yn-slide__lead {
  font-size: 20px;
  font-weight: 900;
  margin: 14px 0 10px!important;
}
/* ホーム：サブ見出しのない④の本文は、見出しとの間隔を揃える */
.yn-slide__body--standalone {
  margin-top: 14px!important;
}
.yn-slider .splide__arrow {
  position: absolute;
  top: 65px;
  border: 0;
  padding: 0;
  width: 50px;
  height: 50px;
  background: none;
}
.yn-slider .splide__arrow--prev {
  left: 0;
}
.yn-slider .splide__arrow--next {
  right: 0;
  transform: rotate(180deg);
}
.yn-slider .splide__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 4px;
}
.yn-slider .splide__pagination__page {
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
}
.yn-slider .splide__pagination__page::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #999;
}
.yn-slider .splide__pagination__page.is-active::after {
  background: var(--yn-pink);
}
.yn-slider:not(.is-initialized) .splide__slide {
  width: 100%;
}

/* トップ：キャンペーン・特典バナー */
.yn-campaign {
  min-height: 630px;
  padding: 56px 24px 110px;
  text-align: center;
  background: url("/sites/default/files/page/lp/youmeneobank/img/top-cp-bg.svg") center/max(1280px, 100%) 100% no-repeat;
}
@media (min-width:1481px) {
  .yn-campaign {
    background-size: 100% auto;
    min-height: calc(100vw * 630 / 1480);
    padding-top: calc(56px + (100vw - 1480px) * 630 / 1480 / 2);
    padding-bottom: calc(110px + (100vw - 1480px) * 630 / 1480 / 2);
  }
}
.yn-campaign__eyebrow {
  color: var(--yn-pink);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px!important;
}
.yn-campaign h2 {
  font-size: 40px;
  margin-bottom: 38px;
}
.yn-campaign__banner {
  display: block;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
}
.yn-campaign__banner img {
  width: 100%;
}

/* トップ：おトクな特典カード */
.yn-benefits {
  text-align: center;
  padding: 40px 40px 100px;
  background: url("/sites/default/files/page/lp/youmeneobank/img/top-ben-bg.svg") center 190px/1480px 730px no-repeat;
}
@media (min-width:1481px) {
  .yn-benefits {
    background-size: 100% auto;
    min-height: calc(190px + 100vw * 730 / 1480 + 100px);
  }
}
.yn-benefits h2 {
  margin-bottom: 72px;
  letter-spacing: .04em;
}
.yn-benefits__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 40px;
  max-width: 1280px;
  margin: 0 auto 90px!important;
}
.yn-card {
  position: relative;
  width: calc((100% - 80px)/3);
  padding-top: 45px;
}
.yn-card__number {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 90px;
  z-index: 1;
  transition: transform .22s ease;
}
.yn-card:focus-within .yn-card__number {
  transform: translateX(-50%) scale(1.12);
}
@media (hover:hover) {
  .yn-card:hover .yn-card__number {
    transform: translateX(-50%) scale(1.12);
  }
}
.yn-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 225px;
  border-radius: 20px;
  padding: 32px 22px;
  background: white;
  box-shadow: 0 4px 5px #0003;
  text-align: left;
}
.yn-card__copy {
  position: relative;
  z-index: 1;
  flex: none;
}
.yn-card__copy p {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.yn-card h3 {
  font-size: 20px;
  line-height: 1.4;
  white-space: nowrap;
}
.yn-card h3 strong {
  font-size: 48px;
  color: var(--yn-pink);
  font-weight: 900;
}
.yn-card h3 .yn-card__coupon {
  display: block;
  font-size: 32px;
  margin-top: 20px;
  line-height: 1.4;
}
.yn-card__copy .yn-card__payment {
  display: table;
  margin-top: 4px;
  padding: 0 3px;
  color: #fff;
  background: var(--yn-pink);
  font-size: 12px;
  line-height: 16px;
}
.yn-card__maximum {
  display: inline-block!important;
  vertical-align: middle;
  width: 54px;
  margin-right: 2px;
  position: relative;
  top: -10px;
}
.yn-card__illustration {
  width: 160px;
  min-width: 0;
  flex: 0 1 160px;
}
.yn-card__arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
}

/* トップ：ATM案内 */
.yn-atm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  max-width: 1280px;
  min-height: 240px;
  margin: 0 auto 65px;
  border-radius: 20px;
  background: #eec8d6;
  text-align: left;
  padding: 0 40px;
}
.yn-atm__image {
  width: 240px;
  flex: none;
  align-self: flex-end;
}
.yn-atm h3 {
  color: var(--yn-pink);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.4;
}
.yn-atm p {
  font-size: 14px;
  margin: 13px 0;
}
.yn-atm__logos {
  display: flex;
  gap: 23px;
}
.yn-atm__logos img {
  width: auto;
  height: 50px;
  min-width: 0;
  object-fit: contain;
}

/* 共通：アプリダウンロードCTA */
.yn-download {
  padding: 100px 24px 80px;
  min-height: 624px;
  background: linear-gradient(#c70079,#b0006b);
  text-align: center;
  color: #fff;
}
.yn-download h2 {
  font-size: 50px;
  line-height: 1.5;
}
.yn-download__apps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 57px;
  max-width: 1081px;
  margin: 53px auto;
}
.yn-download__apps > * {
  min-width: 0;
}
.yn-download__app, .yn-download__qr {
  width: 150px;
  flex: none;
}
.yn-download__apps a:nth-child(2) {
  width: 338px;
}
.yn-download__apps a:nth-child(3) {
  width: 272px;
}
.yn-download__trademarks {
  max-width: 1081px;
  margin: 48px auto 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}
.yn-download__trademarks p {
  padding-left: 1em;
  text-indent: -1em;
}

/* 共通：フッターと銀行代理業の概要 */
.yn-footer {
  background: white;
}
.yn-footer__inner {
  max-width: 1280px;
  margin: auto;
  padding: 80px 0 45px;
}
.yn-footer h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
}
.yn-footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  font-size: 16px;
  line-height: 26px;
}
.yn-footer li::before {
  content: "・";
}
.yn-footer__copyright {
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 48px 20px 56px!important;
  color: #666;
}
.yn-footer__copyright small {
  font-size: 16px;
}
.yn-notice {
  padding: 20px;
  background: #fff;
  color: #000;
}

/* 共通・トップ：中間幅の調整 */
@media (min-width:768px) and (max-width:1359px) {
  .yn-nav {
    margin-left: 30px;
    margin-right: 30px;
  }
  .yn-nav a {
    padding: 8px clamp(12px,1.8vw,20px);
    font-size: clamp(14px,1.5vw,16px);
  }
  .yn-hero__inner {
    gap: 3.6vw;
    padding: 2.7vw 7vw 6.1vw;
  }
  .yn-about {
    background-size: 112vw auto;
    background-position: calc(50% - 3vw) 70px;
  }
  .yn-about__inner {
    padding: 80px 25px 100px;
    min-height: 650px;
  }
  .yn-about__content {
    width: 51%;
    gap: 25px;
  }
  .yn-about h2 {
    font-size: clamp(28px,3.25vw,44px);
  }
  .yn-about h2 small {
    font-size: 24px;
  }
  .yn-about__lead {
    font-size: clamp(15px,1.62vw,22px);
  }
  .yn-slider {
    padding: 0 42px 45px;
  }
  .yn-slider .splide__arrow {
    width: 36px;
    height: 36px;
  }
  .yn-slide {
    padding: 20px 14px;
    font-size: 13px;
  }
  .yn-slide__lead {
    font-size: 16px;
  }
  .yn-campaign {
    min-height: 0;
    padding: 50px 10vw 80px;
  }
  .yn-benefits__grid {
    gap: 50px 24px;
  }
  .yn-card {
    width: calc((100% - 24px)/2);
    max-width: 400px;
  }
  .yn-atm {
    gap: 25px;
    padding: 25px;
  }
  .yn-atm__image {
    width: 180px;
    margin-bottom: -25px;
  }
  .yn-atm h3 {
    font-size: 28px;
  }
  .yn-download__apps {
    gap: 30px;
  }
  .yn-download__app,.yn-download__qr {
    width: 110px;
  }
  .yn-footer__inner {
    padding: 60px 40px 45px;
  }
}
/* 共通・トップ：スマートフォン表示 */
@media (max-width:767px) {
  .yn-site h2 {
    font-size: 28px;
  }
  .yn-button {
    font-size: 17px;
    padding: 13px 20px;
    gap: 12px;
  }
  .yn-header {
    padding: 6px 0;
    border-bottom-width: 3px;
  }
  .yn-header__top {
    position: relative;
    z-index: 2;
    padding: 0 10px;
    gap: 6px;
    flex-wrap: nowrap;
    background: #fff;
  }
  .yn-header__top > a:first-child {
    width: 148px;
    min-width: 0;
    flex: 0 1 148px;
    margin-right: auto;
  }
  .yn-header__cta {
    flex: none;
    font-size: 11px;
    padding: 10px 7px;
    gap: 4px;
    border-radius: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .yn-header__cta .yn-button__icon {
    width: 16px;
    height: 16px!important;
  }
  .yn-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 8px;
    border: 0;
    background: transparent;
  }
  .yn-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    transition: transform .25s ease, opacity .2s ease;
  }
  .yn-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .yn-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .yn-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .yn-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    margin: 0;
    padding: 14px 12px 20px;
    background: #fff;
    box-shadow: 0 12px 20px #0002;
    max-height: calc(100dvh - var(--yn-header-height, 59px));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-18px);
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease, visibility 0s linear .28s;
  }
  .yn-header.is-menu-open .yn-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .yn-nav ul {
    flex-direction: column;
    gap: 5px;
  }
  .yn-nav li {
    flex: 1;
  }
  .yn-nav a[aria-current="page"] {
    color: #000;
    background: #ccc;
  }
  .yn-nav a {
    min-height: 48px;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 7px;
    white-space: normal;
  }
  .yn-hero {
    background-size: 100% auto,180% auto,auto 100%,auto;
  }
  .yn-hero__inner {
    flex-direction: column;
    gap: 14px;
    padding: 25px 16px 40px;
  }
  .yn-hero h1 {
    width: min(100%,550px);
    flex: auto;
  }
  .yn-hero__offer {
    flex: auto;
    width: min(100%,430px);
  }
  .yn-hero__offer img {
    width: 100%;
    height: auto;
    aspect-ratio: 550/250;
  }
  .yn-about {
    background: none;
  }
  .yn-about__inner {
    min-height: 0;
    padding: 45px 18px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .yn-about__mobile-art {
    display: block;
    width: calc(100% + 36px);
  }
  .yn-about__mobile-art img {
    width: 100%;
  }
  .yn-about__content {
    width: 100%;
    gap: 22px;
  }
  .yn-about h2 small {
    font-size: 20px;
  }
  .yn-about__lead {
    font-size: clamp(13px,3.6vw,20px);
  }
  .yn-about__label {
    width: auto;
    font-size: 13px;
    padding: 7px 15px;
  }
  .yn-slider {
    width: 100%;
    max-width: 470px;
    padding: 0 28px 40px;
  }
  .yn-slide {
    padding: 20px 14px;
    min-height: 175px;
    font-size: clamp(11px,3vw,16px);
  }
  .yn-slide h3 {
    font-size: 18px;
    gap: 12px;
  }
  .yn-slide__lead {
    font-size: clamp(13px,3.5vw,19px);
  }
  .yn-slider .splide__arrow {
    width: 28px;
    height: 40px;
    top: 65px;
  }
  .yn-slider .splide__pagination__page::after {
    width: 12px;
    height: 12px;
  }
  .yn-campaign {
    padding: 40px 20px 60px;
    min-height: 0;
  }
  .yn-campaign__eyebrow {
    font-size: 17px;
    margin-bottom: 5px!important;
  }
  .yn-campaign h2 {
    font-size: 25px;
    margin-bottom: 25px;
  }
  .yn-campaign__banner {
    border-radius: 10px;
  }
  .yn-benefits {
    padding: 42px 20px 55px;
    background-size: auto 1100px;
    background-position: center 130px;
  }
  .yn-benefits h2 {
    margin-bottom: 35px;
  }
  .yn-benefits__grid {
    gap: 25px;
    margin-bottom: 40px!important;
  }
  .yn-card {
    width: 100%;
    max-width: 400px;
    padding-top: 35px;
  }
  .yn-card__number {
    width: 70px;
  }
  .yn-card__body {
    min-height: 200px;
    padding: 27px 18px 22px;
    gap: 0;
  }
  .yn-card__copy p {
    font-size: 12px;
  }
  .yn-card h3 {
    font-size: 18px;
  }
  .yn-card h3 strong {
    font-size: 44px;
  }
  .yn-card h3 .yn-card__coupon {
    font-size: 28px;
  }
  .yn-card__illustration {
    width: 42%;
    flex-basis: 42%;
  }
  .yn-card__maximum {
    width: 43px;
  }
  .yn-atm {
    flex-direction: column;
    gap: 10px;
    padding: 20px 16px 25px;
    margin-bottom: 35px;
    text-align: center;
  }
  .yn-atm__image {
    width: 150px;
    align-self: center;
    margin-bottom: 0;
  }
  .yn-atm h3 {
    font-size: 23px;
  }
  .yn-atm p {
    font-size: 13px;
  }
  .yn-atm__logos {
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
  }
  /* トップ：元画像の比率（253:285）で幅を分け、スマホでもロゴの見える高さを揃える */
  .yn-atm__logos img {
    width: 0;
    height: auto;
    flex: 253 1 0;
    max-width: 210.83px;
  }
  .yn-atm__logos img:last-child {
    flex-grow: 285;
    max-width: 237.5px;
  }
  .yn-download {
    padding: 45px 20px;
    min-height: 0;
  }
  .yn-download h2 {
    font-size: clamp(22px,5.7vw,32px);
  }
  .yn-download__apps {
    display: grid;
    grid-template-columns: 1.24fr 1fr;
    gap: 20px;
    max-width: 420px;
    margin: 30px auto;
  }
  .yn-download__app {
    grid-column: 1 / -1;
    justify-self: center;
    width: 85px;
  }
  .yn-download__apps a:nth-child(2),.yn-download__apps a:nth-child(3) {
    width: 100%;
  }
  .yn-download__qr {
    grid-column: 1 / -1;
    justify-self: center;
    width: 110px;
  }
  .yn-download__apps[data-os="android"], .yn-download__apps[data-os="ios"] {
    grid-template-columns: 1fr;
  }
  .yn-download__apps[data-os="android"] [data-store], .yn-download__apps[data-os="ios"] [data-store] {
    width: min(100%, 260px);
    justify-self: center;
  }
  .yn-download .yn-button {
    font-size: 13px;
    padding: 12px 15px;
    gap: 10px;
  }
  .yn-download .yn-button__icon {
    width: 20px;
    height: 20px!important;
  }
  .yn-download__trademarks {
    margin-top: 30px;
    font-size: 11px;
  }
  .yn-footer__inner {
    padding: 35px 24px;
  }
  .yn-footer h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .yn-footer__columns {
    grid-template-columns: 1fr;
    gap: 25px;
    font-size: 13px;
    line-height: 1.9;
  }
  .yn-footer__copyright {
    padding: 25px 16px!important;
  }
  .yn-footer__copyright small {
    font-size: 11px;
  }
}

/* 共通：動きを減らす設定 */
@media (prefers-reduced-motion:reduce) {
  .yn-button[href]:hover, .yn-button[href]:focus-visible, .yn-button[href]:active,
  .yn-button[href]:hover .yn-button__icon, .yn-button[href]:focus-visible .yn-button__icon {
    transform: none;
  }
  .yn-button::before {
    display: none;
  }
  .yn-site *, .yn-site *::before, .yn-site *::after {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}
