/*
 * UIL広島駅前 A案（アクセス訴求）
 * 既存の計測、フォーム、JavaScriptには触れず、追加HTMLの表示だけを定義する。
 */

html,
.a-variant-active {
  overflow-x: hidden;
}

.a-variant-active .section-fv--a {
  min-height: 690px;
  overflow: hidden;
}

.a-variant-active .section-fv--a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 38, 0.62) 0%, rgba(5, 24, 38, 0.5) 38%, rgba(5, 24, 38, 0.16) 66%, rgba(5, 24, 38, 0) 88%, rgba(5, 24, 38, 0) 100%);
  pointer-events: none;
}

.a-variant-active .section-fv--a .section-fv__animation {
  z-index: 1;
}

.a-variant-active .a-hero {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  width: min(760px, 58vw);
  padding: 74px 0 70px clamp(40px, 7.5vw, 130px);
  color: #fff;
  text-align: left;
  transform: none;
  text-shadow:
    0 2px 4px rgba(5, 28, 49, 0.84),
    0 12px 30px rgba(5, 28, 49, 0.34);
}

.a-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #dff8f3;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.a-hero__eyebrow::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: #42c2b3;
}

.a-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 4.6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.a-hero__title span {
  color: #dff8f3;
}

.a-hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.85;
}

.a-hero__access {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.a-hero__access span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 42, 72, 0.52);
  box-shadow: 0 8px 24px rgba(5, 28, 49, 0.16);
  font-size: 15px;
}

.a-hero__access strong {
  margin-right: 0.4em;
}

.a-hero__actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 28px;
}

.a-hero__actions a,
.section-access-a__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 13px 24px;
  border: 2px solid #0f4984;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.a-hero__primary,
.section-access-a__cta a {
  color: #fff;
  background: #0f4984;
  box-shadow: 0 12px 30px rgba(15, 73, 132, 0.2);
}

.a-hero__primary {
  border-color: #fff;
  color: #0f4984;
  background: #fff;
  box-shadow: 0 12px 30px rgba(5, 28, 49, 0.24);
  text-shadow: none;
}

.a-hero__secondary {
  border-color: rgba(255, 255, 255, 0.86);
  color: #fff;
  background: rgba(8, 42, 72, 0.42);
  text-shadow: none;
}

.a-hero__actions a:hover,
.section-access-a__cta a:hover {
  transform: translateY(-2px);
}

.a-hero__primary:hover,
.section-access-a__cta a:hover {
  color: #0f4984;
  background: #fff;
}

.a-hero__primary:hover {
  color: #fff;
  background: #0f4984;
}

.a-hero__secondary:hover {
  color: #0f4984;
  background: #fff;
}

.a-hero__reassurance {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.section-charm--a {
  position: relative;
  padding: 86px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.16) 0 76px, transparent 77px),
    radial-gradient(circle at 92% 88%, rgba(15, 73, 132, 0.12) 0 150px, transparent 151px),
    linear-gradient(145deg, #42c2b3 0%, #36b8c2 100%);
}

.section-charm--a .section-charm-a {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1040px, calc(100% - 48px));
  max-width: 1040px;
  padding: 0;
}

.section-charm-a__heading {
  color: #fff;
  text-align: center;
}

.section-charm-a__label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-charm-a__heading h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.section-charm-a__numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(620px, 100%);
  margin: 34px auto 0;
}

.section-charm-a__number-card {
  min-width: 0;
  margin: 0;
  padding: 24px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(8, 42, 72, 0.14);
  text-align: center;
}

.section-charm-a__number-label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 12px;
  border-radius: 999px;
  color: #0f4984;
  background: #e7f8f6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.section-charm-a__number-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 0;
  color: #0f4984;
  line-height: 1;
  white-space: nowrap;
}

.section-charm-a__number-value strong {
  color: #0f4984;
  font-family: Lato, sans-serif;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-charm-a__number-value span {
  font-size: 17px;
  font-weight: 700;
}

.section-charm-a__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.section-charm-a__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 116px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  color: #fff;
  background: rgba(8, 42, 72, 0.14);
}

.section-charm-a__feature-number {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #0f4984;
  background: #fff;
  font-family: Lato, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.section-charm-a__feature h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.section-charm-a__feature p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.65;
}

.section-charm-a__link {
  display: table;
  margin: 28px auto 0;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.section-charm-a__link::after {
  content: " →";
}

.section-charm-a__link:hover {
  color: #fff;
  opacity: 0.72;
}

.section-access-a {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background: #f4f9fb;
  scroll-margin-top: 88px;
}

.section-access-a::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(66, 194, 179, 0.12);
}

.section-access-a .container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

.section-access-a__heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-access-a__label {
  margin: 0 0 10px;
  color: #42a99d;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.section-access-a__heading h2,
.section-access-a__proof-copy h2 {
  margin: 0;
  color: #162d43;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
}

.section-access-a__heading > p:last-child,
.section-access-a__proof-copy > p:last-child {
  margin: 18px 0 0;
  color: #536777;
  font-size: 16px;
  line-height: 1.9;
}

.section-access-a__routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.section-access-a__route {
  position: relative;
  min-height: 270px;
  padding: 34px 30px 30px;
  overflow: hidden;
  border: 1px solid rgba(15, 73, 132, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 73, 132, 0.08);
}

.section-access-a__route-number {
  position: absolute;
  right: 18px;
  top: 10px;
  color: rgba(15, 73, 132, 0.08);
  font-family: Lato, sans-serif;
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
}

.section-access-a__route-kicker {
  position: relative;
  margin: 0 0 14px;
  color: #42a99d;
  font-size: 13px;
  font-weight: 700;
}

.section-access-a__route h3 {
  position: relative;
  margin: 0;
  color: #0f4984;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.section-access-a__route > p:last-child {
  position: relative;
  margin: 18px 0 0;
  color: #536777;
  font-size: 15px;
  line-height: 1.85;
}

.section-access-a__proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.25fr;
  gap: 38px 60px;
  align-items: center;
  margin-top: 42px;
  padding: 44px 48px 34px;
  border-radius: 24px;
  color: #fff;
  background: #0f4984;
}

.section-access-a__proof .section-access-a__label,
.section-access-a__proof-copy h2,
.section-access-a__proof-copy > p:last-child {
  color: #fff;
}

.section-access-a__proof-copy h2 {
  font-size: 28px;
}

.section-access-a__proof-copy > p:last-child {
  margin-top: 12px;
  opacity: 0.88;
}

.section-access-a__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.section-access-a__stats > div {
  padding: 18px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.section-access-a__stats dt {
  font-size: 15px;
  font-weight: 500;
}

.section-access-a__stats dd {
  margin: 5px 0 0;
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.section-access-a__stats small {
  margin-left: 2px;
  font-size: 17px;
}

.section-access-a__note {
  grid-column: 1 / -1;
  margin: -14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.section-access-a__cta {
  margin-top: 42px;
  text-align: center;
}

.section-access-a__cta p {
  margin: 0 0 16px;
  color: #253b4e;
  font-size: 17px;
  font-weight: 700;
}

.section-access-a__cta a {
  min-width: 330px;
}

@media (max-width: 991.98px) {
  .a-variant-active .section-fv--a {
    min-height: 640px;
  }

  .a-variant-active .section-fv--a::after {
    background: linear-gradient(90deg, rgba(5, 24, 38, 0.64) 0%, rgba(5, 24, 38, 0.5) 58%, rgba(5, 24, 38, 0.14) 80%, rgba(5, 24, 38, 0) 100%);
  }

  .a-variant-active .a-hero {
    width: min(680px, 78vw);
    padding: 58px 0 54px 7vw;
  }

  .a-hero__title {
    font-size: clamp(43px, 6vw, 58px);
  }

  .section-access-a__routes {
    grid-template-columns: 1fr;
  }

  .section-access-a__route {
    min-height: 0;
  }

  .section-access-a__proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .section-charm--a {
    padding: 50px 0 46px;
    background:
      radial-gradient(circle at 3% 6%, rgba(255, 255, 255, 0.14) 0 52px, transparent 53px),
      radial-gradient(circle at 98% 94%, rgba(15, 73, 132, 0.1) 0 100px, transparent 101px),
      linear-gradient(145deg, #42c2b3 0%, #36b8c2 100%);
  }

  .section-charm--a .section-charm-a {
    width: calc(100% - 40px);
  }

  .section-charm-a__label {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .section-charm-a__heading h2 {
    font-size: clamp(26px, 7.4vw, 32px);
    line-height: 1.42;
    letter-spacing: 0;
  }

  .section-charm-a__numbers {
    gap: 10px;
    margin-top: 22px;
  }

  .section-charm-a__number-card {
    min-height: 106px;
    padding: 16px 6px 15px;
    border-radius: 18px;
  }

  .section-charm-a__number-label {
    margin-bottom: 7px;
    padding: 2px 10px;
    font-size: 11px;
  }

  .section-charm-a__number-value {
    gap: 2px;
  }

  .section-charm-a__number-value strong {
    font-size: clamp(30px, 9vw, 38px);
  }

  .section-charm-a__number-value span {
    font-size: clamp(10px, 3.2vw, 13px);
  }

  .section-charm-a__features {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
  }

  .section-charm-a__feature {
    gap: 12px;
    min-height: 72px;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .section-charm-a__feature-number {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .section-charm-a__feature h3 {
    font-size: 16px;
    line-height: 1.4;
  }

  .section-charm-a__feature p {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.5;
  }

  .section-charm-a__link {
    margin-top: 20px;
    font-size: 13px;
  }

  .a-variant-active .section-about-b {
    width: 100%;
    max-width: 335px;
    margin-right: auto;
    margin-left: auto;
    background-size: 100% 100%;
  }

  .a-variant-active .section-fv--a {
    display: flex;
    align-items: flex-start;
    min-height: 740px;
    padding-top: 0;
    background-position: 46% center;
  }

  .a-variant-active .section-fv--a::after {
    background:
      linear-gradient(180deg, rgba(5, 24, 38, 0.64) 0%, rgba(5, 24, 38, 0.52) 48%, rgba(5, 24, 38, 0.22) 64%, rgba(5, 24, 38, 0) 76%, rgba(5, 24, 38, 0) 100%);
  }

  .a-variant-active .section-fv--a .section-fv__animation {
    right: -210px;
    bottom: 0;
    width: 740px;
    opacity: 0.86;
  }

  .a-variant-active .a-hero {
    width: 100%;
    padding: 42px 20px 132px;
  }

  .a-hero__eyebrow {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .a-hero__eyebrow::before {
    width: 26px;
  }

  .a-hero__title {
    font-size: clamp(37px, 10.6vw, 46px);
    line-height: 1.22;
  }

  .a-hero__lead {
    margin-top: 19px;
    font-size: 15px;
    line-height: 1.75;
  }

  .a-hero__access {
    gap: 8px;
    margin-top: 18px;
  }

  .a-hero__access span {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 13px;
  }

  .a-hero__actions {
    display: block;
    margin-top: 22px;
  }

  .a-hero__actions a {
    width: 100%;
    min-height: 54px;
    padding: 11px 18px;
    font-size: 15px;
  }

  .a-hero__secondary {
    margin-top: 10px;
  }

  .a-hero__reassurance {
    display: table;
    margin: 10px auto 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(8, 42, 72, 0.46);
    font-size: 12px;
    text-align: center;
    text-shadow: none;
  }

  .section-access-a {
    padding: 78px 0;
  }

  .section-access-a .container {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-access-a__heading {
    text-align: left;
  }

  .section-access-a__heading h2,
  .section-access-a__proof-copy h2 {
    font-size: 27px;
  }

  .section-access-a__heading > p:last-child,
  .section-access-a__proof-copy > p:last-child {
    font-size: 15px;
    line-height: 1.8;
  }

  .section-access-a__routes {
    gap: 14px;
    margin-top: 32px;
  }

  .section-access-a__route {
    padding: 28px 24px 26px;
    border-radius: 18px;
  }

  .section-access-a__route h3 {
    font-size: 20px;
  }

  .section-access-a__proof {
    gap: 28px;
    margin-top: 30px;
    padding: 32px 22px 24px;
    border-radius: 20px;
  }

  .section-access-a__proof-copy h2 {
    font-size: 24px;
  }

  .section-access-a__stats {
    gap: 8px;
  }

  .section-access-a__stats > div {
    padding: 15px 5px;
  }

  .section-access-a__stats dd {
    font-size: 29px;
  }

  .section-access-a__stats small {
    font-size: 14px;
  }

  .section-access-a__note {
    margin-top: -8px;
    text-align: left;
  }

  .section-access-a__cta {
    margin-top: 32px;
  }

  .section-access-a__cta p {
    font-size: 15px;
    line-height: 1.7;
  }

  .section-access-a__cta a {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .section-charm--a .section-charm-a {
    width: calc(100% - 32px);
  }

  .section-charm-a__heading h2 {
    font-size: 23px;
  }

  .section-charm-a__feature {
    padding-right: 12px;
    padding-left: 12px;
  }

  .section-charm-a__feature p {
    font-size: 11px;
  }

  .a-variant-active .a-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .a-hero__title {
    font-size: 35px;
  }

  .a-hero__access span {
    font-size: 12px;
  }
}

@media (max-width: 374px) {
  .a-variant-active .header .navbar-brand {
    flex: 0 0 auto;
    margin-right: 0;
  }

  .a-variant-active .header .navbar-brand .text-container {
    display: none;
  }
}
