@charset "UTF-8";

/* =========================
   Base
========================= */
:root {
  --color-purple: #6350c4;
  --color-blue: #404a9a;
  --color-sky: #157dc6;
  --color-lightpurple: #e5dff8;
  --color-bgpurple: #f4f0ff;
  --color-text: #535357;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (max-width: 767px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  html {
    font-size: min(4.2666666667vw, 24px);
  }
}

@media (min-width: 768px) and (max-width: 1240px) {
  html {
    font-size: 1.2903225806vw;
  }
}

@media (min-width: 1240px) {
  html {
    font-size: 16px;
  }
}

body {
  min-width: 320px;
  color: var(--color-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

a:hover {
  opacity: 0.75;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

ol,
ul {
  list-style: none;
}

.l-container {
  width: min(100% - 3rem, 62.5rem);
  margin-inline: auto;
}

.l-container-b {
  width: min(100% - 3rem, 73.75rem);
  margin-inline: auto;
}

@media (max-width: 767px) {
  .l-container,
  .l-container-b {
    width: min(100% - 2rem, 34rem);
  }

  a:hover {
    opacity: 1;
  }
}

a[tabindex="-1"]:hover {
  opacity: unset;
}

/* =========================
   Header
========================= */
.l-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  background-color: rgb(255, 255, 255, 0.6);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 4rem, 73.75rem);
  min-height: 5.625rem;
  margin-inline: auto;
}

.l-header__logo {
  display: block;
  width: 19.5625rem;
}

.l-header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.l-header__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.9375rem;
  height: 3.5rem;
  padding: 0 1.35rem;
  border: 0.0625rem solid var(--color-blue);
  border-radius: 999rem;
  color: var(--color-blue);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  background: #fff;
}

.l-header__nav-link.is-current {
  min-width: 16.5rem;
  color: #fff;
  background: var(--color-blue);
}

.l-header__menu-link {
  display: none;
}

@media (max-width: 767px) {
  .l-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition:
      transform 0.4s ease,
      background-color 0.3s ease;
  }

  .js-header.is-scrolled {
    background: #fff;
    backdrop-filter: blur(0.75rem);
    border-bottom: 0.0625rem solid rgba(116, 128, 188, 0.12);
  }

  .js-header.is-hidden {
    transform: translateY(-100%);
  }

  .js-header.is-visible {
    transform: translateY(0);
  }

  .l-header__inner {
    width: calc(100% - 1.5rem);
    min-height: 4.5rem;
  }

  .l-header__logo {
    width: 9.75rem;
  }

  .l-header__nav {
    display: none;
  }

  .l-header__menu-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    color: #404a9a;
    z-index: 100000;
  }

  .l-header__menu-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 1.5rem;
  }

  .l-header__menu-icon span {
    display: block;
    width: 100%;
    height: 0.125rem;
    border-radius: 999rem;
    background: currentColor;
  }

  .l-header__menu-text {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
  }
}

/* =========================
   Hero
========================= */

/* .p-hero */
.p-hero {
  position: relative;
  height: 53.75rem;
  padding: 7.25rem 0 4.25rem;
  overflow: hidden;
  width: 100%;
}
.page .p-hero {
  height: 43.75rem;
}
.comm_top .p-hero {
  background:
    url(../img/mv_comm_top.webp) no-repeat,
    url(../img/bg_mv_left.webp) no-repeat;
  background-position:
    top 0 right 0,
    bottom 1.6rem left -0.5rem;
  background-size:
    50.625rem auto,
    17rem auto;
}
.qa_top .p-hero {
  background:
    url(../img/mv_qa_top.webp) no-repeat,
    url(../img/bg_mv_left.webp) no-repeat;
  background-position:
    top 0 right 0,
    bottom 1.6rem left -0.5rem;
  background-size:
    50.625rem auto,
    17rem auto;
}

.comm_top.page .p-hero {
  background:
    url(../img/mv_comm_top.webp) no-repeat,
    url(../img/bg_mv_left.webp) no-repeat;
  background-position:
    top 0 right 0,
    bottom 2.1rem left 4.5rem;
  background-size:
    45rem auto,
    17rem auto;
}
.qa_top.page .p-hero {
  background:
    url(../img/mv_qa_top.webp) no-repeat,
    url(../img/bg_mv_left.webp) no-repeat;
  background-position:
    top 0 right 0,
    bottom 2.1rem left 4.5rem;
  background-size:
    45rem auto,
    17rem auto;
}

.p-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: min(100% - 4rem, 73.75rem);
  min-height: 41rem;
  margin-inline: auto;
}
.qa_top .p-hero__inner {
  min-height: 35.75rem;
}
.comm_top.page .p-hero__inner {
  min-height: 30.75rem;
}

.p-hero__body {
  position: relative;
}
.p-hero__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30.6875rem;
  height: 3.0625rem;
  margin-bottom: 2.125rem;
  border: 0.0625rem solid var(--color-blue);
  border-radius: 999rem;
  color: var(--color-blue);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1;
  background: #fff;
}
.page .p-hero__label {
  font-size: 1.25rem;
}
.p-hero__title {
  position: relative;
  color: var(--color-blue);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: 0.065em;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.page .p-hero__title {
  font-size: 2.5rem;
}
.p-hero__title-icon {
  width: 4.8125rem;
  padding-top: 1rem;
}
br.page-br {
  display: none;
}

@media (max-width: 767px) {
  .p-hero {
    height: 28.5rem;
    padding: 15rem 0 0;
  }
  .page .p-hero {
    height: 30.75rem;
  }
  .comm_top .p-hero,
  .comm_top.page .p-hero {
    background:
      url(../img/mv_comm_top_sp.webp) no-repeat,
      url(../img/bg_mv_left.webp) no-repeat;
    background-position:
      top 0 right -2rem,
      bottom 1.6rem left -0.5rem;
    background-size: 22rem, 9rem;
  }
  .qa_top .p-hero,
  .qa_top.page .p-hero {
    background:
      url(../img/mv_qa_top_sp.webp) no-repeat,
      url(../img/bg_mv_left.webp) no-repeat;
    background-position:
      top 0 right -2rem,
      bottom 1.6rem left -0.5rem;
    background-size: 22rem, 9rem;
  }

  .p-hero__inner {
    display: block;
    width: calc(100% - 2rem);
    min-height: auto;
    min-height: 20rem;
  }

  .p-hero__body {
    padding-left: 0;
  }

  .p-hero__label,
  .page .p-hero__label {
    min-width: 14.25rem;
    height: 1.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.6875rem;
  }

  .p-hero__title,
  .page .p-hero__title {
    font-size: 2rem;
    line-height: 1.42;
  }

  .p-hero__title-icon {
    width: 2.65rem;
    padding-top: 0.5rem;
  }

  .p-hero__visual {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 2rem);
    height: 18.5rem;
    margin: 2rem -1rem 0 auto;
    border-bottom-left-radius: 7rem;
    clip-path: ellipse(76% 63% at 66% 43%);
  }
}

/* =========================
   breadcrumb
========================= */

.breadcrumb {
  width: 100%;
  color: #393939;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin: 0 0.85em 0 0.5em;
  border-top: 0.075em solid currentColor;
  border-right: 0.075em solid currentColor;
  color: #a5a5a5;
  transform: rotate(45deg);
}

.breadcrumb__link {
  color: inherit;
  text-decoration: none;
}

/* =========================
   Comics
========================= */
.p-comics {
  padding: 1rem 0 5rem;
}

.p-section-heading {
  margin-bottom: 4.25rem;
}

.p-section-heading__title {
  margin-bottom: 1.65rem;
  color: var(--color-blue);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.p-section-heading__text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.09em;
}

.p-comic-panel {
  width: min(100%, 62.5rem);
  margin-inline: auto;
  padding: 2.6rem 2.9rem 3.7rem;
  border-radius: 0.875rem;
  background: var(--color-bgpurple);
}

.p-comic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.875rem 0.9375rem;
}

.p-comic-card {
  display: flex;
  flex-direction: column;
  min-height: 24.25rem;
  padding: 1.875rem 2.25rem 2.1875rem;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(85, 69, 170, 0.08);
}

.p-comic-card__scene {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.4375rem;
  height: 1.875rem;
  margin-bottom: 0.75rem;
  border-radius: 0.3125rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.875;
  background: linear-gradient(-135deg, #9385e3, #816fdb);
  letter-spacing: 0.09em;
}

.p-comic-card__thumb {
  position: relative;
  overflow: hidden;
}

.p-comic-card__thumb img {
  aspect-ratio: 358 / 250;
  object-fit: cover;
  filter: saturate(0.85);

  border: 0.0625rem solid var(--color-purple);
  border-radius: 1.25rem;
}

.p-comic-card__thumb span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 1.875rem;
  line-height: 1.875rem;
  border-radius: 0.25rem;
  color: var(--color-purple);
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--color-lightpurple);
  transform: translate(-50%, -50%);
  border: 1px solid var(--color-purple);
}

.p-comic-card__title {
  margin-top: 1.35rem;
  color: var(--color-blue);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}

.p-comic-card__text {
  margin: 0.25rem 0 1.25rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.25;
  letter-spacing: 0.1rem;
  min-height: 10rem;
}

.p-comic-card__btn_area {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--color-purple);
}

.p-comic-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  gap: 1rem;
  width: 10rem;
  height: 2.5rem;
  margin-top: auto;
  padding: 0 0.95rem;
  border-radius: 999rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  background: var(--color-purple);
}

.p-comic-card__btn::after {
  content: "";
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background: url(../img/icon_btn.webp) no-repeat;
  background-size: contain;
}

a[tabindex="-1"].p-comic-card__btn::after {
  content: "";
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background: url(../img/icon_btn_p.webp) no-repeat;
  background-size: contain;
}

a[tabindex="-1"].p-comic-card__btn {
  color: var(--color-purple);
  background: #fff;
  border: 1px solid var(--color-purple);
}

.p-comic-card.is-disabled {
  box-shadow: none;
}

.p-comic-card.is-disabled .p-comic-card__scene,
.p-comic-card.is-disabled .p-comic-card__btn_area,
.p-comic-card.is-disabled .p-comic-card__thumb img,
.p-comic-card.is-disabled .p-comic-card__title,
.p-comic-card.is-disabled .p-comic-card__text {
  opacity: 0.32;
}

@media (max-width: 767px) {
  .p-comics {
    padding: 1.5rem 0 3.5rem;
  }

  .p-breadcrumb {
    margin-bottom: 1.5rem;
  }

  .p-section-heading {
    margin-bottom: 2.5rem;
  }

  .p-section-heading__title {
    font-size: 1.5rem;
  }

  .p-section-heading__text {
    font-size: 0.8125rem;
    line-height: 1.9;
  }

  .p-comic-panel {
    padding: 1.25rem;
    border-radius: 0.75rem;
  }

  .p-comic-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .p-comic-card {
    min-height: auto;
    padding: 1.25rem;
  }

  .p-comic-card__text {
    line-height: 1.8;
    min-height: 6rem;
  }
}

/* =========================
   Characters
========================= */
.p-characters {
  padding: 4.35rem 0 5.25rem;
  background: var(--color-bgpurple);
}

.p-characters__title {
  position: relative;
  margin-bottom: 2.1rem;
  padding-left: 1.5rem;
  color: var(--color-blue);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1rem;
}

.p-characters__title::before {
  content: "";
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 0.5rem;
  height: 2.5rem;
  border-radius: 999rem;
  background: #7866d8;
}

.p-character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.7rem;
}

.p-character-card {
  display: grid;
  grid-template-columns: 9.375rem 1fr;
  gap: 1.6875rem;
  align-items: start;
  min-height: 8.75rem;
  padding: 1.875rem;
  border-radius: 0.75rem;
  background: #fff;
}

.p-character-card__img img {
  width: 9.375rem;
  height: auto;
  border-radius: 0.625rem;
  aspect-ratio: 150 / 190;
}
/* 
.p-character-card--pink .p-character-card__img {
  background: #f5daeb;
} */

.p-character-card__scene {
  margin-bottom: 0.25rem;
  color: #d84b9a;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.2rem 0.5rem;
  background-color: #fbe8f3;
  width: 8.4375rem;
  text-align: center;
  border-radius: 0.3125rem;
}

.p-character-card__name {
  margin-bottom: 0.45rem;
  color: var(--color-blue);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
}

.p-character-card__name span {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  padding-left: 0.25rem;
}

.p-character-card__text {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1rem;
}

@media (max-width: 767px) {
  .p-characters {
    padding: 3.25rem 0 3.75rem;
  }

  .p-character-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .p-character-card {
    grid-template-columns: auto;
    gap: 1rem;
  }

  .p-character-card__img {
    width: 100%;
    display: flex;
    align-items: center;
    grid-template-columns: 5.25rem 1fr;
    gap: 1rem;
  }

  .p-character-card__img img {
    width: 5.25rem;
  }

  .p-character-card__name span {
    display: block;
  }
}

/* =========================
   Links / Footer
========================= */
.l-footer {
  background: #f7f8ff;
}

.p-links {
  padding: 5.9rem 0 4.55rem;
  background: linear-gradient(180deg, #ffffff 50%, #e0daf7 100%);
}

.p-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.05rem;
}

.p-link-card,
.p-info-banner {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 0.6rem;
}

/* communcation非公開対応 */
.p-link-card.is-disabled:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: 1;
  border-radius: 0.6rem;
}
.p-link-card.is-disabled:after {
  content: "";
  display: block;
  aspect-ratio: 110 / 40;
  width: 6.875rem;
  height: auto;
  background: url(../img/coming_soon.webp) no-repeat center / contain;
  position: absolute;
  top: -0.8rem;
  right: -0.6rem;
  z-index: 1;
}

.p-link-card img,
.p-info-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.p-info-banner {
  width: 100%;
}

.l-footer__bottom {
  position: relative;
  padding: 1.65rem 1rem 1.85rem;
  border-top: 0.125rem solid #007bcc;
  text-align: center;
  background: #f6f6fa;
}

.l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-sky);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.l-footer__nav a {
  position: relative;
  display: inline-block;
  padding-left: 0.75rem;
}

.l-footer__nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  border-top: 0.27rem solid transparent;
  border-bottom: 0.27rem solid transparent;
  border-left: 0.38rem solid currentColor;
  transform: translateY(-50%);
}

.l-footer__copy {
  color: #000;
  font-size: 0.825rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .p-links {
    padding: 3.75rem 0 3.2rem;
  }

  .p-link-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
  }

  .p-link-card,
  .p-info-banner {
    border-radius: 0.35rem;
  }

  .p-link-card.is-disabled:after {
    width: 5.875rem;
    right: -0.4rem;
  }

  .l-footer__bottom {
    padding: 1.5rem 1rem 1.75rem;
  }

  .l-footer__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    padding-left: 2rem;
  }

  .l-footer__copy {
    font-size: 0.75rem;
  }
}

/* =========================
   Page Top
========================= */

.pagetop {
  --pagetop-bottom: 2rem;
  --pagetop-stop-bottom: 5rem;

  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #7e88cc 0%, #5c66af 100%);
  color: #fff;
  box-shadow: 0 0.75rem 1.5rem rgba(81, 93, 160, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop.is-show:hover {
  opacity: 0.75;
}

.pagetop::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}

.pagetop span {
  position: relative;
  padding-top: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

@media (max-width: 767px) {
  .pagetop.is-show:hover {
    opacity: 1;
  }

  .pagetop {
    --pagetop-bottom: 1rem;
    --pagetop-stop-bottom: 7rem;

    right: 1rem;
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* =========================
   Scroll Animation
========================= */
.js-io-fade,
.js-io-up,
.js-io-left,
.js-io-right {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: ease;
}

.js-io-up {
  transform: translateY(2rem);
}

.js-io-left {
  transform: translateX(-2rem);
}

.js-io-right {
  transform: translateX(2rem);
}

.js-io-fade.is-show,
.js-io-up.is-show,
.js-io-left.is-show,
.js-io-right.is-show {
  opacity: 1;
  transform: translate(0, 0);
}

/* =========================
   SP Menu
========================= */
.l-sp-menu {
  display: none;
}

@media (max-width: 767px) {
  body.is-menu-open {
    overflow: hidden;
  }

  .l-header__menu-link.is-open .l-header__menu-icon span:nth-child(1) {
    transform: translateY(0.405rem) rotate(45deg);
  }

  .l-header__menu-link.is-open .l-header__menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .l-header__menu-link.is-open .l-header__menu-icon span:nth-child(3) {
    transform: translateY(-0.405rem) rotate(-45deg);
  }

  .l-header__menu-icon span {
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .l-sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    display: block;
    width: 100%;
    padding: 4.5rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 0.0625rem solid rgba(116, 128, 188, 0.12);
    box-shadow: 0 0.75rem 1.5rem rgba(81, 93, 160, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .l-sp-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .l-sp-menu__nav {
    display: grid;
    gap: 0.75rem;
    width: min(100%, 34rem);
    margin-inline: auto;
  }

  .l-sp-menu__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 0.0625rem solid #5965be;
    border-radius: 999rem;
    color: #4a55a9;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    background: #fff;
  }

  .l-sp-menu__link:first-child {
    color: #fff;
    background: #4d5ab9;
  }
}

/* =========================
   Communication Detail
========================= */
.p-comic-detail {
  padding: 1rem 0 5.6rem;
  background: #fff;
}

.p-comic-detail .breadcrumb {
  margin-bottom: 2.75rem;
}

.p-comic-detail__head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 4.25rem;
}

.p-comic-detail__scene {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.4375rem;
  height: 1.875rem;
  margin-bottom: 1.1rem;
  padding: 0 0.8rem;
  border-radius: 0.3125rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  background: linear-gradient(-135deg, #9385e3, #816fdb);
}

.p-comic-detail__title {
  margin-bottom: 1.45rem;
  color: var(--color-blue);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.07em;
}

.p-comic-detail__lead {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.08em;
}

.p-comic-detail__print {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.p-comic-detail__print-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9.1875rem;
  height: 2.5rem;
  padding: 0 1.15rem 0 2.75rem;
  border: 1px solid var(--color-blue);
  border-radius: 0.625rem;
  color: var(--color-blue);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  transition: opacity 0.3s ease;
}

.p-comic-detail__print-btn:hover {
  opacity: 0.75;
}

.p-comic-detail__print-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(-50%);
  aspect-ratio: 48/50;
  width: 1.5rem;
  height: auto;
  background: url(../img/icon_print.webp) no-repeat center / contain;
}

.p-comic-detail__date {
  color: var(--color-blue);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.p-comic-detail__panel {
  width: min(100%, 62.5rem);
  margin-inline: auto;
  margin-bottom: 5.15rem;
  padding: 3.4375rem 3.125rem 5.5rem;
  border-radius: 0.875rem;
  background: var(--color-bgpurple);
}

.p-comic-detail__comic {
  width: min(100%, 56.25rem);
  margin-inline: auto;
  padding: 5.3125rem 6.625rem;
  border-radius: 0.875rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.p-comic-detail__comic img {
  width: 100%;
  height: auto;
}

.p-comic-commentary {
  margin-bottom: 5.5rem;
}

.p-comic-commentary__title {
  position: relative;
  margin-bottom: 1.6rem;
  padding-left: 1.45rem;
  color: var(--color-blue);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.p-comic-commentary__title::before {
  content: "";
  position: absolute;
  top: 0.16rem;
  left: 0;
  width: 0.5rem;
  height: 2.25rem;
  border-radius: 999rem;
  background: #7866d8;
}

.p-comic-commentary__body {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.15;
  letter-spacing: 0.08em;
}

.p-comic-supervisor {
  display: grid;
  grid-template-columns: 9.375rem 1fr;
  gap: 2rem;
  width: min(100%, 62.5rem);
  margin-inline: auto;
  padding: 1.875rem 1.875rem 3.5rem;
  border: 0.0625rem solid var(--color-purple);
  border-radius: 0.875rem;
  background: #fff;
}

.p-comic-supervisor__img {
  aspect-ratio: 150/190;
  width: 9.375rem;
  min-height: auto;
  /* border-radius: 0.25rem; */
}

.p-comic-supervisor__img img {
  width: 100%;
  height: auto;
}

.p-comic-supervisor__body {
  padding-top: 0.5rem;
}

.p-comic-supervisor__label {
  margin-bottom: 0.3rem;
  color: var(--color-purple);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.p-comic-supervisor__name {
  margin-bottom: 0.35rem;
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.p-comic-supervisor__name span {
  font-size: 0.75rem;
  padding-left: 0.5rem;
}

.p-comic-supervisor__position {
  margin-bottom: 0.85rem;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.p-comic-supervisor__text {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.08em;
}

/* =========================
   Print
========================= */
@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    width: 100%;
    min-width: 0;
    color: #000;
    background: #fff !important;
    font-size: 10pt;
    line-height: 1.6;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .l-header,
  .l-sp-menu,
  .l-footer,
  .p-links,
  .pagetop,
  .p-hero,
  .breadcrumb,
  .p-comic-detail__print {
    display: none !important;
  }

  main,
  .comm_top,
  .p-comic-detail {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .l-container,
  .l-container-b {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .p-comic-detail__head {
    display: block !important;
    margin: 0 0 8mm !important;
    break-after: avoid;
    page-break-after: avoid;
  }

  .p-comic-detail__scene {
    height: auto !important;
    margin: 0 0 3mm !important;
    padding: 1mm 3mm !important;
    border: 0.5pt solid #000 !important;
    border-radius: 2mm !important;
    color: #000 !important;
    font-size: 9pt !important;
    background: #fff !important;
  }

  .p-comic-detail__title {
    margin: 0 0 3mm !important;
    color: #000 !important;
    font-size: 18pt !important;
    line-height: 1.5 !important;
  }

  .p-comic-detail__lead {
    color: #000 !important;
    font-size: 10pt !important;
    line-height: 1.8 !important;
  }

  .p-comic-detail__panel {
    width: 100% !important;
    margin: 0 0 8mm !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .p-comic-detail__comic {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .p-comic-detail__comic img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .p-comic-commentary {
    margin: 0 0 8mm !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .p-comic-commentary__title {
    margin: 0 0 4mm !important;
    padding-left: 0 !important;
    color: #000 !important;
    font-size: 14pt !important;
  }

  .p-comic-commentary__title::before {
    display: none !important;
  }

  .p-comic-commentary__body {
    color: #000 !important;
    font-size: 10pt !important;
    line-height: 1.8 !important;
  }

  .p-comic-supervisor {
    display: grid !important;
    grid-template-columns: 24mm 1fr !important;
    gap: 5mm !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 5mm !important;
    border: 0.5pt solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .p-comic-supervisor__img {
    width: 24mm !important;
    min-height: 24mm !important;
    border-radius: 0 !important;
    background: #eee !important;
  }

  .p-comic-supervisor__label,
  .p-comic-supervisor__name,
  .p-comic-supervisor__position,
  .p-comic-supervisor__text {
    color: #000 !important;
  }

  .p-comic-supervisor__label {
    font-size: 8pt !important;
  }

  .p-comic-supervisor__name {
    font-size: 11pt !important;
  }

  .p-comic-supervisor__position,
  .p-comic-supervisor__text {
    font-size: 9pt !important;
    line-height: 1.7 !important;
  }

  .js-io-fade,
  .js-io-up,
  .js-io-left,
  .js-io-right {
    opacity: 1 !important;
    transform: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}

@media (max-width: 767px) {
  .p-comic-detail {
    padding: 1.5rem 0 3.75rem;
  }

  .p-comic-detail .breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.6875rem;
  }

  .p-comic-detail__head {
    display: block;
    margin-bottom: 2.5rem;
  }

  .p-comic-detail__scene {
    min-width: 5.25rem;
    height: 1.5rem;
    margin-bottom: 0.85rem;
    font-size: 0.6875rem;
  }

  .p-comic-detail__title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .p-comic-detail__lead {
    font-size: 0.8125rem;
    line-height: 1.9;
  }

  .p-comic-detail__print {
    margin-top: 1.25rem;
  }

  .p-comic-detail__print-btn {
    min-width: 7.5rem;
    height: 2rem;
    padding: 0 1rem 0 2.35rem;
    font-size: 0.75rem;
  }

  .p-comic-detail__print-btn::before {
    left: 1.25rem;
    font-size: 0.85rem;
    width: 1.25rem;
  }

  .p-comic-detail__date {
    font-size: 0.6875rem;
  }

  .p-comic-detail__panel {
    margin-bottom: 3.25rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
  }

  .p-comic-detail__comic {
    padding: 1.25rem;
    border-radius: 0.65rem;
  }

  .p-comic-commentary {
    margin-bottom: 3.5rem;
  }

  .p-comic-commentary__title {
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    font-size: 1.25rem;
  }

  .p-comic-commentary__title::before {
    width: 0.35rem;
    height: 1.75rem;
  }

  .p-comic-commentary__body {
    font-size: 0.8125rem;
    line-height: 1.9;
  }

  .p-comic-supervisor {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 0.65rem;
  }

  .p-comic-supervisor__img {
    width: 6.5rem;
    min-height: 6.5rem;
  }

  .p-comic-supervisor__name {
    font-size: 1rem;
  }

  .p-comic-supervisor__position,
  .p-comic-supervisor__text {
    font-size: 0.8125rem;
    line-height: 1.8;
  }
}

/* =========================
   Q&A Top
========================= */

/* Q&A */
.p-qa {
  padding: 1.15rem 0 5.95rem;
  background: var(--color-bgpurple);
}

.p-qa .p-breadcrumb {
  margin-bottom: 4.15rem;
  color: #535357;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.p-qa__heading {
  margin-bottom: 4.25rem;
}

.p-qa .p-section-heading__title {
  margin-bottom: 1.45rem;
  font-size: 2.5rem;
  letter-spacing: 0.08em;
}

.p-qa .p-section-heading__text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.15;
  letter-spacing: 0.08em;
}

.p-qa-list {
  display: grid;
  gap: 2.25rem;
  width: min(100%, 57.5rem);
  margin-inline: auto;
}

.p-qa-item {
  border-radius: 0.875rem;
  background: #fff;
}

.p-qa-item__head {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 4.875rem;
  padding: 1.35rem 4.5rem 1.35rem 3.05rem;
  text-align: left;
}

.p-qa-item__q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.8125rem;
  height: 2.8125rem;
  margin-right: 1rem;
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  background: var(--color-blue);
}

.p-qa-item__title {
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.p-qa-item__icon {
  position: absolute;
  top: 50%;
  right: 3rem;
  width: 1.125rem;
  height: 1.125rem;
  transform: translateY(-50%);
}

.p-qa-item__icon::before,
.p-qa-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.875rem;
  height: 0.0625rem;
  background: var(--color-blue);
  transform: translate(-50%, -50%);
}

.p-qa-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.25s ease;
}

.p-qa-item.is-open .p-qa-item__icon::after {
  opacity: 0;
}

.p-qa-item__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.35s ease,
    opacity 0.25s ease;
}

.p-qa-item.is-open .p-qa-item__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.p-qa-item__body-inner {
  overflow: hidden;
  padding: 0 3.05rem;
}

.p-qa-item.is-open .p-qa-item__body-inner {
  padding-bottom: 2.1rem;
}

.p-qa-item__answer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding-top: 1.6rem;
  border-top: 0.0625rem solid #888;
  line-height: 2.25;
  font-weight: 500;
}

.p-qa-item__a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8125rem;
  height: 2.8125rem;
  border: 0.0625rem solid var(--color-blue);
  border-radius: 50%;
  color: var(--color-blue);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  background: #fff;
}

/* SP */
@media (max-width: 767px) {
  .p-qa {
    padding: 1.5rem 0 3.75rem;
  }

  .p-qa .p-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.6875rem;
  }

  .p-qa__heading {
    margin-bottom: 2.5rem;
  }

  .p-qa .p-section-heading__title {
    font-size: 1.5rem;
  }

  .p-qa .p-section-heading__text {
    font-size: 0.8125rem;
    line-height: 1.9;
  }

  .p-qa-list {
    gap: 1.5rem;
  }

  .p-qa-item {
    border-radius: 0.65rem;
  }

  .p-qa-item__head {
    min-height: 4rem;
    padding: 1rem 2.75rem 1rem 1rem;
  }

  .p-qa-item__q {
    width: 1.75rem;
    height: 1.75rem;
    margin-right: 0.75rem;
    font-size: 0.75rem;
  }

  .p-qa-item__title {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .p-qa-item__icon {
    right: 1.25rem;
  }

  .p-qa-item__body-inner {
    padding-inline: 1rem;
  }

  .p-qa-item.is-open .p-qa-item__body-inner {
    padding-bottom: 1.4rem;
  }

  .p-qa-item__answer {
    gap: 0.75rem;
    padding-top: 1.15rem;
  }

  .p-qa-item__a {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8125rem;
  }

  .p-qa-item__answer p {
    font-size: 0.8125rem;
    line-height: 1.8;
  }
}

/* Q&A Category Filter */
.p-qa-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: right;
  row-gap: 1.2rem;
  column-gap: 1.25rem;
  width: min(100%, 55rem);
  margin: -2.25rem auto 5.75rem;
}

.p-qa-filter__btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 17.5rem;
  height: 5rem;
  padding-left: 5.05rem;
  border: 0.0625rem solid var(--color-blue);
  border-radius: 0.625rem;
  color: var(--color-blue);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: left;
  background: #fff;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease;
}
.p-qa-filter__btn[data-filter="all"] {
  padding-left: 0;
  justify-content: center;
}

.p-qa-filter__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1rem;
  aspect-ratio: 1/1;
  width: 3rem;
  height: auto;
  transform: translateY(-50%);
}

.p-qa-filter__btn[data-filter="biosimilar"]::before {
  background: url(../img/qa_icon_biosimilar.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="about"]::before {
  background: url(../img/qa_icon_about.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="ge_bs"]::before {
  background: url(../img/qa_icon_ge_bs.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="equivalence"]::before {
  background: url(../img/qa_icon_equivalence.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="extrapolation"]::before {
  background: url(../img/qa_icon_extrapolation.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="development"]::before {
  background: url(../img/qa_icon_development.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="previous_models"]::before {
  background: url(../img/qa_icon_previous_models.webp) no-repeat center /
    contain;
}
.p-qa-filter__btn[data-filter="medical_fee"]::before {
  background: url(../img/qa_icon_medical_fee.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="all"]::before {
  content: unset;
}

.p-qa-filter__btn.is-current {
  color: #fff;
  background: var(--color-blue);
}

.p-qa-filter__btn.is-current::before {
  background: #fff;
}
.p-qa-filter__btn[data-filter="biosimilar"].is-current::before {
  background: url(../img/qa_icon_biosimilar_current.webp) no-repeat center /
    contain;
}
.p-qa-filter__btn[data-filter="about"].is-current::before {
  background: url(../img/qa_icon_about_current.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="ge_bs"].is-current::before {
  background: url(../img/qa_icon_ge_bs_current.webp) no-repeat center / contain;
}
.p-qa-filter__btn[data-filter="equivalence"].is-current::before {
  background: url(../img/qa_icon_equivalence_current.webp) no-repeat center /
    contain;
}
.p-qa-filter__btn[data-filter="extrapolation"].is-current::before {
  background: url(../img/qa_icon_extrapolation_current.webp) no-repeat center /
    contain;
}
.p-qa-filter__btn[data-filter="development"].is-current::before {
  background: url(../img/qa_icon_development_current.webp) no-repeat center /
    contain;
}
.p-qa-filter__btn[data-filter="previous_models"].is-current::before {
  background: url(../img/qa_icon_previous_models_current.webp) no-repeat
    center / contain;
}
.p-qa-filter__btn[data-filter="medical_fee"].is-current::before {
  background: url(../img/qa_icon_medical_fee_current.webp) no-repeat center /
    contain;
}

.p-qa-item.is-hidden {
  display: none;
}

@media (hover: hover) {
  .p-qa-filter__btn:not(.is-current):hover {
    opacity: 0.75;
  }
}

@media (max-width: 767px) {
  .p-qa-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: -1rem auto 3rem;
  }

  .p-qa-filter__btn[data-filter="all"] {
    grid-column: 1 / -1;
  }

  .p-qa-filter__btn {
    width: 100%;
    height: 2.75rem;
    padding: 0.45rem 0.75rem 0.45rem 2.85rem;
    font-size: 0.8125rem;
  }

  .p-qa-filter__btn::before {
    left: 0.5rem;
    width: 1.85rem;
  }

  .p-qa-filter__btn::after {
    left: 1.17rem;
    width: 0.35rem;
    height: 0.35rem;
    border-width: 0.1rem;
  }
}

/* Q&A Filter Animation */
.p-qa-item.is-filter-enter {
  animation: qaFilterSlideIn 0.45s ease both;
}

@keyframes qaFilterSlideIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-qa-item.is-filter-enter {
    animation: none;
  }
}

/* Q&A Category Tag */
.p-qa-item {
  position: relative;
}

.p-qa-item__category {
  position: absolute;
  top: -0.9375rem;
  right: 2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* min-width: 7.5rem; */
  min-width: 10.5rem;
  min-height: 1.875rem;
  border-radius: 0.3125rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  background: var(--color-blue);
}

@media (max-width: 767px) {
  .p-qa-item__category {
    top: -0.75rem;
    right: 1.25rem;
    min-width: 6.75rem;
    min-height: 1.5rem;
    padding: 0.3rem 0.9rem;
    border-radius: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 500;
  }
}

/*QAコンテンツ調整*/
.p-qa-item__answer p {
  padding-top: 0.15rem;
  color: var(--color-text);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.p-qa-item__answer ul {
  font-size: 1rem;
  list-style: disc;
  padding-left: 1.7rem;
}

.p-qa-item__answer img,
.p-qa-item__answer_cts p:not(:first-of-type),
.mt-space {
  margin-top: 1.5rem;
}

.p-qa-item__answer p.cap {
  font-size: 0.75rem;
  margin-top: 0;
}

.p-qa-item__answer a {
  color: #404a9a;
}

@media (max-width: 767px) {
  .p-qa-item__answer p,
  .p-qa-item__answer ul {
    font-size: 0.8125rem;
    line-height: 1.8;
  }
  .p-qa-item__answer p.cap {
    font-size: 0.625rem;
  }
}

/* =========================
   modal
========================= */
.p-qa-item__answer p.note {
  font-size: 0.9rem;
  line-height: 1.8;
}
.p-qa-item__answer p.note a {
  position: relative;
  padding-left: 0.9rem;
  display: block;
}
.p-qa-item__answer p.note a::before {
  content: "・";
  position: absolute;
  left: -0.2rem;
}
@media (max-width: 767px) {
  .p-qa-item__answer p.note {
    font-size: 0.7rem;
  }
  .p-qa-item__answer p.note a {
    padding-left: 0.7rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
  }
  .p-qa-item__answer p.note a::before {
    left: -0.25rem;
  }
}
.external-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.external-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.external-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.external-modal__dialog {
  position: relative;
  width: min(100%, 62rem);
  background: #fff;
  border-radius: 0.75rem;
  padding: 3rem 4.5rem 2.5rem;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.18);
}

.external-modal__title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;
  color: #111;
}

.external-modal__text {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: #111;
}

.external-modal__url,
.external-modal__url:link,
.external-modal__url:visited {
  position: relative;
  display: block;
  margin: 0 0 1.5rem;
  padding: 2rem 2rem;
  background: #eaf5fb;
  color: #2f47ff;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 700;
  text-decoration: underline;
  word-break: break-all;
}

.external-modal__back {
  display: block;
  width: 100%;
  margin: 0 0 2rem;
  padding: 1.6rem 1rem;
  border: none;
  background: #efefef;
  color: #4c57ff;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  cursor: pointer;
}

.external-modal__notes {
  margin: 0;
  padding-left: 1.5rem;
}

.external-modal__notes li {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #111;
}

@media (max-width: 767px) {
  .external-modal {
    padding: 0.75rem;
  }

  .external-modal__dialog {
    width: 100%;
    padding: 1.5rem 1rem 1.25rem;
    border-width: 0.3125rem;
    border-radius: 0.5rem;
  }

  .external-modal__title {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .external-modal__text {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .external-modal__url,
  .external-modal__url:link,
  .external-modal__url:visited {
    padding: 1rem 0.875rem;
    font-size: 0.95rem;
  }

  .external-modal__back {
    padding: 1rem 0.75rem;
    font-size: 1rem;
  }

  .external-modal__notes li {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .external-modal__url,
  .external-modal__url:link,
  .external-modal__url:visited {
    font-size: 0.8rem;
  }
}

@media (min-width: 767px) {
  .external-modal__dialog {
    width: 650px;
    min-height: 340px;
    padding: 30px 40px;
    box-sizing: border-box;
  }
  .external-modal__title {
    font-size: 19px;
    margin: 0 0 10px;
  }
  .external-modal__text {
    margin: 0 0 16px;
    font-size: 13px;
  }
  .external-modal__url,
  .external-modal__url:link,
  .external-modal__url:visited {
    margin: 0 0 14px;
    padding: 16px;
    font-size: 13px;
  }
  .external-modal__back {
    margin: 0 0 14px;
    padding: 16px;
    font-size: 14px;
  }
  .external-modal__notes li {
    margin: 0 0 9px;
    font-size: 13px;
    line-height: 1.4;
  }
}

/* 文字＋アイコンのまとまり */
.external-modal__url-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

/* アイコン */
.external-modal__url-text::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  background: url("../img/icon_external.webp") no-repeat center / contain;
}
