/* ================================
   安江のぶお QRページ
================================ */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #123;
  font-family:
    "新ゴ R",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.8;
}

.yasue-qr-page * {
  box-sizing: border-box;
}

.yasue-qr-page {
  overflow: hidden;
  font-family:
    "新ゴ R",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}

.qr-hero h1,
.qr-lead,
.qr-hero-catch,
.qr-section h2,
.qr-section h3,
.qr-button,
.history-year {
  font-family:
    "新ゴ B",
    "新ゴ R",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}


/* ================================
   表示補助
================================ */

.sp-br {
  display: none;
}


/* ================================
   モーション
================================ */

html.motion-ready .js-motion {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  will-change: opacity, transform;
}

html.motion-ready .js-motion.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.motion-ready .js-motion {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sns-icon-link,
  .qr-button,
  .history-marker,
  .history-item {
    transition: none !important;
  }
}


/* ================================
   ファーストビュー
================================ */

.qr-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 96px 22px 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eaf7f8;
}

.qr-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.qr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.68) 36%,
      rgba(255,255,255,0.18) 64%,
      rgba(255,255,255,0.02) 100%
    );
}

.qr-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  transform: translateY(34px);
}

.qr-label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: #237f8a;
  border: 1px solid rgba(55,154,168,0.22);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.qr-hero h1 {
  margin: 0;
  color: #379aa8;
  font-size: clamp(44px, 13vw, 76px);
  line-height: 1.08;
  letter-spacing: 0.05em;
  font-weight: 900;
}

.qr-lead {
  margin: 22px 0 0;
  font-size: clamp(21px, 5.6vw, 34px);
  line-height: 1.55;
  font-weight: 800;
  color: #123;
}

.qr-lead span {
  display: block;
}

.qr-hero-catch {
  margin: 22px 0 0;
  color: #379aa8;
  font-size: clamp(22px, 5.8vw, 32px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.qr-hero-note {
  margin: 8px 0 0;
  color: #123;
  font-size: clamp(14px, 3.2vw, 18px);
  line-height: 1.75;
  font-weight: 700;
}


/* ================================
   共通ボタン
================================ */

.qr-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.qr-button:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.qr-button:active {
  transform: scale(0.98);
}

.qr-button.primary {
  color: #fff;
  background: #379aa8;
}

.qr-button.secondary {
  color: #379aa8;
  background: #fff;
  border: 2px solid #379aa8;
}

.qr-button.wide {
  width: 100%;
  max-width: 420px;
  margin: 16px auto 0;
}


/* ================================
   共通セクション
================================ */

.qr-section {
  padding: 60px 22px;
  max-width: 760px;
  margin: 0 auto;
}

.qr-section h2 {
  margin: 0 0 18px;
  color: #379aa8;
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
}

.qr-section h3 {
  margin: 34px 0 18px;
  color: #123;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
  text-align: center;
}

.qr-section p {
  margin: 0 0 14px;
  font-size: 16px;
  line-break: strict;
  text-wrap: pretty;
}

.qr-copy {
  max-width: 620px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left;
}

.qr-copy.center {
  text-align: center;
}

.no-break-heading {
  white-space: nowrap;
}


/* ================================
   YouTube
================================ */

.qr-youtube {
  max-width: 820px;
}

.youtube-desc {
  margin-bottom: 6px !important;
  text-align: center;
  font-weight: 900;
  color: #123;
  line-height: 1.55;
}

.youtube-desc span {
  display: block;
}

.youtube-sub {
  margin-bottom: 0 !important;
  text-align: center;
  color: #456;
  font-size: 15px !important;
}

.youtube-card {
  margin-top: 26px;
  border-radius: 26px;
  overflow: hidden;
  background: #f5fbfc;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.youtube-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.youtube-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.youtube-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 64px;
  line-height: 1;
  text-shadow: 0 4px 14px rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.14);
}

.youtube-player-area {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.youtube-player-area iframe {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  height: auto;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  background: #000;
}


/* ================================
   政策相談所
================================ */

.qr-form {
  max-width: 920px;
  margin-top: 16px;
  padding: 52px 24px;
  border-radius: 32px;
  background: #f5fbfc;
}

.policy-image {
  margin: 24px 0 22px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.07);
}

.policy-image img {
  display: block;
  width: 100%;
  height: auto;
}
.policy-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.policy-image-link:hover {
  opacity: 0.92;
}

.policy-image-link:active {
  transform: scale(0.99);
}

.policy-image-link:focus-visible {
  outline: 3px solid rgba(55,154,168,0.45);
  outline-offset: 4px;
  border-radius: 22px;
}

/* ================================
   Instagram
================================ */

.instagram-area {
  margin-top: 24px;
}

.qr-instagram #sbi_load,
.qr-instagram #sbi_load .sbi_load_btn,
.qr-instagram .sbi_load_btn {
  display: none !important;
}


/* ================================
   SNSリンク
================================ */

.qr-sns {
  padding-top: 44px;
  padding-bottom: 56px;
}

.sns-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  max-width: 560px;
  margin: 0 auto;
}

.sns-icon-link {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #123;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.sns-icon-link:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.sns-icon-link:active {
  transform: scale(0.97);
}

.sns-icon-circle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2eaec;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.sns-icon-circle img {
  display: block;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.sns-icon-label {
  color: #123;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.sns-website {
  grid-column: 2;
}


/* ================================
   プロフィール
================================ */

.profile-box {
  padding: 28px;
  border-radius: 28px;
  background: #f8fbfc;
}

.profile-catch {
  color: #123;
  font-weight: 800;
}

.profile-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}

.profile-points li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
  color: #345;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}


/* ================================
   略歴タイムライン
================================ */

.profile-history {
  --history-marker-top: 0px;
  --history-marker-height: 56px;
  position: relative;
  margin: 34px 0 8px;
  padding-left: 28px;
}

.history-rail {
  position: absolute;
  top: 76px;
  bottom: 8px;
  left: 8px;
  width: 3px;
  border-radius: 999px;
  background: #d7ecef;
}

.history-marker {
  position: absolute;
  left: 0;
  top: var(--history-marker-top);
  width: 3px;
  height: var(--history-marker-height);
  border-radius: 999px;
  background: #379aa8;
  transition: top 0.35s ease, height 0.35s ease;
}

.history-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-item {
  position: relative;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: #fff;
  opacity: 0.62;
  transform: translateX(0);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.history-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -25px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #c7dde0;
  border: 2px solid #f8fbfc;
  transition: background 0.25s ease, transform 0.25s ease;
}

.history-item.is-active {
  opacity: 1;
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.history-item.is-active::before {
  background: #379aa8;
  transform: scale(1.15);
}

.history-year {
  display: block;
  color: #379aa8;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.history-text {
  display: block;
  margin-top: 3px;
  color: #234;
  font-size: 15px;
  line-height: 1.65;
}


/* ================================
   ラジオ
================================ */

.qr-radio {
  border-top: 1px solid #e1eef0;
}

.radio-copy span,
.contact-copy span {
  display: block;
}

.radio-copy span + span,
.contact-copy span + span {
  margin-top: 8px;
}

.radio-note,
.contact-note {
  max-width: 520px;
  margin: 16px auto 0 !important;
  color: #567;
  font-size: 14px !important;
  line-height: 1.8;
  text-align: center;
}


/* ================================
   ご意見・連絡先
================================ */

.qr-contact-actions {
  border-top: 1px solid #e1eef0;
  padding-bottom: 70px;
}


/* ================================
   フッター
================================ */

.qr-footer {
  padding: 28px 20px 36px;
  text-align: center;
  background: #f5fbfc;
}

.qr-footer p {
  margin: 0;
  color: #789;
  font-size: 12px;
  line-height: 1.6;
}


/* ================================
   スマホ
================================ */

@media screen and (max-width: 640px) {

  .sp-br {
    display: block;
  }

  .qr-hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 28px 56px;
    align-items: flex-start;
    background: #eaf7f8;
  }

  .qr-hero-bg {
    object-position: 68% top;
  }

  .qr-hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.18) 32%,
        rgba(255,255,255,0.68) 60%,
        rgba(255,255,255,0.58) 100%
      );
  }

  .qr-hero-inner {
    text-align: left;
    transform: none;
    padding-top: clamp(230px, 39dvh, 350px);
  }

  .qr-label {
    font-size: 12px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.88);
    color: #237f8a;
  }

  .qr-hero h1 {
    font-size: clamp(39px, 11.5vw, 58px);
  }

  .qr-lead {
    margin-top: 16px;
    font-size: clamp(19px, 5vw, 25px);
    line-height: 1.52;
  }

  .qr-hero-catch {
    margin-top: 18px;
    font-size: clamp(21px, 5.5vw, 28px);
    line-height: 1.35;
  }

  .qr-hero-note {
    margin-top: 7px;
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.7;
  }

  .qr-section {
    padding: 44px 24px;
  }

  .qr-section h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 8.4vw, 40px);
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  .qr-section p,
  .qr-copy {
    font-size: 15.5px;
    line-height: 1.9;
    letter-spacing: 0.01em;
  }

  .qr-youtube {
    padding-top: 44px;
  }

  .youtube-card,
  .policy-image {
    margin-top: 22px;
  }

  .youtube-card {
    border-radius: 22px;
  }

  .youtube-player-area iframe {
    max-width: min(100%, 420px);
  }

  .qr-form {
    padding: 42px 18px;
    border-radius: 28px;
  }

  .policy-image {
    border-radius: 18px;
  }

  .qr-sns {
    padding-top: 40px;
    padding-bottom: 52px;
  }

  .sns-icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
    max-width: 360px;
  }

  .sns-icon-circle {
    width: 74px;
    height: 74px;
  }

  .sns-icon-circle img {
    max-width: 36px;
    max-height: 36px;
  }

  .sns-icon-label {
    font-size: 13px;
    font-weight: 400;
  }

  .no-break-heading {
    font-size: clamp(28px, 7.7vw, 36px);
  }

  .profile-box {
    padding: 22px;
  }

  .profile-points {
    grid-template-columns: 1fr;
  }

  .profile-history {
    margin-top: 28px;
    padding-left: 24px;
  }

  .history-rail {
    left: 6px;
  }

  .history-item {
    padding: 13px 13px 13px 14px;
  }

  .history-item::before {
    left: -23px;
  }

  .history-text {
    font-size: 14px;
  }
}