/* ========================================
   Common Card Components (PC)
   共通カードコンポーネント
   ======================================== */

/* ========================================
   PC: 公式noteカード（横長バナースタイル）
   ======================================== */
.note-card-pc {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  box-sizing: border-box;
}

.note-card-pc__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.note-card-pc__card {
  width: 100%;
  background-color: var(--color-base-white);
  border-radius: 24px;
  box-shadow: 0px 0px 24px 0px rgba(140, 7, 8, 0.12);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.note-card-pc__logo {
  width: 210px;
  height: 46px;
  flex-shrink: 0;
}

.note-card-pc__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.note-card-pc__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-base-black);
  margin: 0;
  width: 340px;
  flex-shrink: 0;
}

.note-card-pc__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 330px;
  height: 49px;
  background-color: var(--color-base-black);
  border-radius: 12px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  text-decoration: none;
  position: relative;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.note-card-pc__btn:hover {
  background-color: var(--color-base-safety-red);
  opacity: 1;
}

.note-card-pc__btn-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-base-white);
  text-align: center;
}

.note-card-pc__btn-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-card-pc__btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ========================================
   PC: アプリダウンロードカード（横長バナースタイル）
   ======================================== */
.app-download-card-pc {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  box-sizing: border-box;
}

.app-download-card-pc__inner {
  position: relative;
  width: 100%;
  height: 210px;
  background-color: var(--color-base-white);
  border-radius: 24px;
  box-shadow: 0px 0px 24px 0px rgba(140, 7, 8, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.app-download-card-pc__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
}

.app-download-card-pc__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.app-download-card-pc__main {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 162px;
}

.app-download-card-pc__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 370px;
  text-align: center;
}

.app-download-card-pc__lead {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.64px;
  color: var(--color-red-600);
  text-transform: uppercase;
  margin: 0;
}

.app-download-card-pc__lead-sup {
  font-size: 10px;
  vertical-align: super;
}

.app-download-card-pc__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.96px;
  color: var(--color-base-black);
  text-align: center;
  margin: 0;
}

.app-download-card-pc__title p {
  margin: 0;
}

.app-download-card-pc__qr {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.app-download-card-pc__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-download-card-pc__stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.app-download-card-pc__badges {
  display: flex;
  gap: 8px;
}

.app-download-card-pc__badge {
  display: block;
  height: 42px;
}

.app-download-card-pc__badge img {
  height: 100%;
  width: auto;
}

.app-download-card-pc__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 285px;
  height: 39px;
  background-color: var(--color-gray-50);
  border-radius: 12px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.app-download-card-pc__btn:hover {
  opacity: 0.8;
}

.app-download-card-pc__btn-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-base-black);
  text-align: center;
}

.app-download-card-pc__notes {
  position: absolute;
  bottom: 17px;
  right: 36px;
  display: flex;
  gap: 16px;
}

.app-download-card-pc__note {
  display: flex;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-base-caption);
  margin: 0;
}

.app-download-card-pc__note-mark {
  flex-shrink: 0;
}

.app-download-card-pc__note-text {
  flex: 1;
}

/* ========================================
   SP: 公式noteカード（縦型カードスタイル）
   ======================================== */
.note-card-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
  width: 100%;
}

.note-card-sp__card {
  width: 100%;
  background-color: var(--color-base-white);
  border-radius: 16px;
  box-shadow: 0px 0px 24px 0px rgba(140, 7, 8, 0.12);
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.note-card-sp__logo {
  width: 160px;
  height: 35px;
}

.note-card-sp__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.note-card-sp__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-base-black);
  margin: 0;
  text-align: left;
}

.note-card-sp__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 49px;
  background-color: var(--color-base-black);
  border-radius: 12px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  text-decoration: none;
  position: relative;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.note-card-sp__btn:hover {
  background-color: var(--color-base-safety-red);
  opacity: 1;
}

.note-card-sp__btn-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-base-white);
  text-align: center;
}

.note-card-sp__btn-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-card-sp__btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ========================================
   SP: アプリダウンロードカード（縦型カードスタイル）
   ======================================== */
.app-download-card-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 16px;
}

.app-download-card-sp__card {
  width: 100%;
  background-color: var(--color-base-white);
  border-radius: 16px;
  box-shadow: 0px 0px 16px 0px rgba(140, 7, 8, 0.12);
  padding: 40px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.app-download-card-sp__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
}

.app-download-card-sp__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-download-card-sp__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  width: 100%;
}

.app-download-card-sp__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}

.app-download-card-sp__lead {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.72px;
  color: var(--color-red-600);
  margin: 0;
}

.app-download-card-sp__lead-sup {
  font-size: 11px;
  vertical-align: super;
}

.app-download-card-sp__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.88px;
  color: var(--color-base-black);
  text-align: center;
  margin: 0;
}

.app-download-card-sp__title p {
  margin: 0;
}

.app-download-card-sp__title-brand {
  font-size: 24px;
  letter-spacing: 0.96px;
}

.app-download-card-sp__stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* ハンバーガーメニューと同じ並び（左: Google Play / 右: App Store、高さ42px・間隔8px）。
   狭い端末では横幅に合わせて比率を保ったまま縮む */
.app-download-card-sp__badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.app-download-card-sp__badge {
  display: block;
  flex: 0 1 139px;
  min-width: 0;
}

.app-download-card-sp__badge img {
  display: block;
  width: 100%;
  height: auto;
}

.app-download-card-sp__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 40px;
  background-color: var(--color-gray-50);
  border-radius: 12px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.app-download-card-sp__btn:hover {
  opacity: 0.8;
}

.app-download-card-sp__btn-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-base-black);
  text-align: center;
}

.app-download-card-sp__notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  width: 100%;
}

.app-download-card-sp__note {
  display: flex;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-base-caption);
  margin: 0;
}

.app-download-card-sp__note-mark {
  flex-shrink: 0;
}

.app-download-card-sp__note-text {
  flex: 1;
}

/* ========================================
   共通: CTA セクション（noteカード + アプリダウンロードカード）
   PC/SP両対応、gap: 80px
   ======================================== */
.cta-section-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.cta-section-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
  width: 100%;
  padding-bottom: 96px;
}
