@charset "UTF-8";
/* ストーカー本体の基本設定に pointer-events: none; を入れておくのも忘れずに！ */
#js-stalker {
  pointer-events: none; /* これがないとストーカーが邪魔で下のボタンが押せなくなります */
  z-index: 1;
  position: fixed;
}
@media screen and (max-width: 767px) {
  #js-stalker {
    position: absolute;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #js-stalker {
    position: absolute;
  }
}

/* KV外に出たときの非表示クラス */
#js-stalker.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.fixed__banner {
  position: fixed;
  color: #f61a25;
  text-align: center;
  font-size: 4.8vw;
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.1; /* 19.8px */
  letter-spacing: 0.096vw;
  padding: 4.8vw 0;
  background-color: #fff;
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.fixed__banner p {
  width: fit-content;
  margin: 0 auto;
  position: relative;
}
.fixed__banner p::after {
  position: absolute;
  content: "";
  width: 6.4vw;
  height: 6.4vw;
  background: transparent url(../img/fixed-arrow.svg) no-repeat center center/contain;
}
@media screen and (min-width: 1025px) {
  .fixed__banner {
    padding: min(1.9047619048vw, 32px) min(0.9523809524vw, 16px) min(4.4047619048vw, 74px) min(0.9523809524vw, 16px);
    font-size: min(1.5476190476vw, 26px);
    letter-spacing: min(0.030952381vw, 0.52px);
    border-radius: 24px 0 0 24px;
    border-top: 4px solid #f61a25;
    border-left: 4px solid #f61a25;
    border-bottom: 4px solid #f61a25;
    right: 0;
    top: min(5.9523809524vw, 100px);
    writing-mode: vertical-rl;
  }
  .fixed__banner p::after {
    top: calc(100% + min(0.7142857143vw, 12px));
    left: 50%;
    transform: translateX(-50%);
    width: min(1.9047619048vw, 32px);
    height: min(1.9047619048vw, 32px);
  }
}
@media screen and (max-width: 767px) {
  .fixed__banner {
    bottom: 0;
    left: 0;
    width: 100%;
  }
  .fixed__banner p::after {
    left: calc(100% + 3.2vw);
    top: 50%;
    transform: translateY(-50%);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .fixed__banner {
    bottom: 0;
    left: 0;
    width: 100%;
  }
  .fixed__banner p::after {
    left: calc(100% + 3.2vw);
    top: 50%;
    transform: translateY(-50%);
  }
}
.fixed__banner:hover {
  opacity: 0.7;
}

.fixed__banner.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* 透明なときに間違ってクリックされないようにする */
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 21.3333333333vw;
  z-index: 30;
}
.header img {
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .header {
    width: min(6.7261904762vw, 113px);
  }
}

.kv {
  width: 100%;
  min-height: min(100vh, 1200px);
  background-color: #f61a25;
  position: relative;
  overflow: hidden; /* はみ出し防止 */
}
@media (min-width: 1920px) {
  .kv::before {
    position: absolute;
    content: "";
    width: calc((100vw - 1920px) / 2);
    height: 100vh;
    background-color: #f61a25;
    top: 0;
    left: 0;
    z-index: 3;
  }
  .kv::after {
    position: absolute;
    content: "";
    width: calc((100vw - 1920px) / 2);
    height: 100vh;
    background-color: #f61a25;
    top: 0;
    right: 0;
    z-index: 3;
  }
}

.kv__visual {
  position: relative;
  width: 100%;
  background: transparent url("../img/kv-fallback-sp.jpg") no-repeat top center/cover;
}
@media screen and (min-width: 1025px) {
  .kv__visual {
    background-image: url("../img/kv-fallback-pc.jpg");
  }
}

.kv__frame {
  position: relative;
  width: 100%;
  z-index: 2;
  pointer-events: none;
  margin: 0 auto;
  max-width: 1920px;
}
.kv__frame img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 1025px) {
  .kv__frame {
    cursor: pointer;
  }
}

.kv__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  object-position: top;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.kv__video.is-ready {
  opacity: 1;
}

.kv__title {
  position: absolute;
  z-index: 3; /* ★文字が動画や背景に埋もれないように追加 */
  bottom: -3.4666666667vw;
  width: 90.6666666667vw;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 1025px) {
  .kv__title {
    width: min(68.5119047619vw, 1151px);
    bottom: max(-6.369047619vw, -107px);
  }
}

.kv__comment {
  position: absolute;
  z-index: 3;
  width: 32vw;
}
@media screen and (max-width: 767px) {
  .kv__comment {
    top: 2.6666666667vw;
    right: 2.6666666667vw;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .kv__comment {
    top: 2.6666666667vw;
    right: 2.6666666667vw;
  }
}
@media screen and (min-width: 1025px) {
  .kv__comment {
    z-index: -1;
    left: min(3.1547619048vw, 60px);
    bottom: max(-3.0952380952vw, -60px);
    width: min(30.3571428571vw, 589px);
  }
}

.kv__text__wrapper {
  color: #fff;
  text-align: center;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
}
.kv__text__wrapper p {
  font-size: 4.2666666667vw;
  font-weight: 600;
  line-height: 1.7; /* 27.2px */
  letter-spacing: 0.4266666667vw;
  margin-bottom: 0.5333333333vw;
}
.kv__text__wrapper span {
  font-size: 3.7333333333vw;
  font-style: normal;
  font-weight: 500;
  line-height: 1.7; /* 23.8px */
  letter-spacing: 0.1866666667vw;
}
@media screen and (min-width: 1025px) {
  .kv__text__wrapper {
    bottom: min(1.1904761905vw, 20px);
  }
  .kv__text__wrapper p {
    font-size: min(1.9047619048vw, 32px);
    letter-spacing: min(0.1904761905vw, 3.2px);
    margin-bottom: min(0.2976190476vw, 5px);
  }
  .kv__text__wrapper span {
    font-size: min(1.1904761905vw, 20px);
    letter-spacing: min(0.0595238095vw, 1px);
  }
}

.kv__lead {
  margin-bottom: 16vw;
  margin-top: 2.6666666667vw;
  background-color: #f61a25;
}
@media screen and (min-width: 1025px) {
  .kv__lead {
    position: relative;
    z-index: 4;
    margin-bottom: min(6.3095238095vw, 106px);
    margin-top: min(5.0595238095vw, 85px);
  }
}

.kv__btn {
  position: absolute;
  z-index: 3; /* ★追加 */
  width: 38.9333333333vw;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kv__btn {
  position: absolute; /* fixedではなく絶対配置 */
  z-index: 10;
  width: 38.9333333333vw;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (hover: hover) and (pointer: fine) {
  .kv__btn {
    position: fixed;
    top: 0;
    left: 0;
    width: min(19.7023809524vw, 331px);
    bottom: auto;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out;
  }
  .kv__btn.is-hidden {
    opacity: 0;
    visibility: hidden; /* 透明の時にタップの邪魔にならないよう追加 */
  }
}
.news {
  margin-bottom: 40.333333vw;
  text-align: center;
}
@media screen and (min-width: 1025px) {
  .news {
    margin-bottom: min(7.333333vw, 120px);
  }
}

.news__banner {
  max-width: 1440px;
}
.news__banner img {
  max-height: 100%;
}
@media screen and (max-width: 767px) {
  .news__banner {
    margin: 0 auto;
    width: 92.8vw;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .news__banner {
    margin: 0 auto;
    width: 92.8vw;
  }
}
@media screen and (min-width: 1025px) {
  .news__banner {
    margin-left: auto;
    width: min(45.3571428571vw, 762px);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f61a25;
  font-family: "MFW-PA1GothicStdN-Regular", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  overflow-x: clip;
}

@media screen and (min-width: 1025px) {
  .is-sp {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .is-pc {
    display: none !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .is-pc {
    display: none !important;
  }
}

.about {
  margin-bottom: 65.333333vw;
  position: relative;
}
@media screen and (max-width: 767px) {
  .about {
    background: transparent url(../img/beige-bg.webp) repeat center center/contain;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .about {
    background: transparent url(../img/beige-bg.webp) repeat center center/contain;
  }
}
@media screen and (min-width: 1025px) {
  .about {
    background: transparent url(../img/about-bg-pc.webp) no-repeat center center/contain;
    aspect-ratio: 1/1;
    margin-bottom: 17.333333vw;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }
}

.about__top {
  position: absolute;
  width: 100%;
  top: -22.4vw;
  left: 0;
  z-index: 2;
}
.about__top img {
  display: block;
  width: 100%;
}

.about__bottom {
  position: absolute;
  width: 100%;
  bottom: -27.4666666667vw;
  left: 0;
}
.about__bottom img {
  display: block;
  width: 100%;
}

.point__img img {
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .point__img {
    width: min(68.8095238095vw, 1156px);
    margin: 0 auto;
  }
}

@media screen and (min-width: 1025px) {
  .about__inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.section__inner {
  padding-left: 4.2666666667vw;
  padding-right: 4.2666666667vw;
}
@media screen and (min-width: 1025px) {
  .section__inner {
    max-width: calc(1440px + min(5.9523809524vw, 100px) * 2);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: min(5.9523809524vw, 100px);
    padding-right: min(5.9523809524vw, 100px);
  }
}

.section__title {
  height: 43.4666666667vw;
  text-align: center;
  margin-bottom: 8.5333333333vw;
}
.section__title img {
  max-height: 100%;
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .section__title {
    height: min(15.8928571429vw, 267px);
    margin-bottom: min(3.3333333333vw, 56px);
  }
}

.about__img {
  width: 81.8666666667%;
  text-align: center;
  margin: 0 auto 9.0666666667vw;
}

.about__lead {
  text-align: center;
  font-size: 6.4vw;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.64vw;
  margin-bottom: 6.4vw;
}
@media screen and (min-width: 1025px) {
  .about__lead {
    font-size: min(1.6666666667vw, 28px);
    letter-spacing: min(0.1666666667vw, 2.8px);
    margin-bottom: min(1.4285714286vw, 24px);
  }
}

.about__text {
  font-size: 4.2666666667vw;
  font-style: normal;
  font-weight: 500;
  font-family: "MFW-PA1GothicStdN-Medium", system-ui, sans-serif;
  line-height: 200%; /* 32px */
  text-align: center;
  margin-bottom: 10.6666666667vw;
}
.about__text span {
  font-size: 3.7333333333vw;
  line-height: 2.2;
  margin-bottom: 4.2666666667vw;
  display: block;
}
@media screen and (min-width: 1025px) {
  .about__text {
    font-size: min(1.1904761905vw, 20px);
    margin-bottom: min(2.7976190476vw, 47px);
  }
  .about__text span {
    font-size: min(1.0714285714vw, 18px);
    line-height: 2;
    margin-bottom: min(1.0714285714vw, 18px);
  }
}

.fact {
  background: transparent url(../img/beige-bg.webp) repeat center center/contain;
  position: relative;
  padding-bottom: 32vw;
}
@media screen and (min-width: 1025px) {
  .fact {
    padding-bottom: min(14.2857142857vw, 240px);
  }
}

.fact__title {
  height: 17.0666666667vw;
  margin: 0 auto 5.8666666667vw;
  text-align: center;
}
.fact__title img {
  max-height: 100%;
}
@media screen and (min-width: 1025px) {
  .fact__title {
    height: min(2.7380952381vw, 46px);
    margin-bottom: min(2.5vw, 42px);
  }
}

.fact__top {
  position: absolute;
  top: -15.7333333333vw;
  left: 0;
  width: 100%;
}
.fact__top img {
  display: block;
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .fact__top {
    top: calc(-6.9047619048vw + 2px);
  }
}

.fact__items {
  grid-template-columns: 1fr 1fr;
  display: grid;
  gap: 4.5333333333vw;
  margin-bottom: 16vw;
}
@media screen and (min-width: 1025px) {
  .fact__items {
    margin-top: min(4.880952381vw, 82px);
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: min(2.380952381vw, 40px);
    margin-bottom: min(7.1428571429vw, 120px);
  }
}

.fact__item {
  position: relative;
  background-color: #f61a25;
  border-radius: 15px;
  padding: 5.8666666667vw 0;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
@media screen and (min-width: 1025px) {
  .fact__item {
    padding: min(2.6785714286vw, 45px) 0;
    border-radius: 30px;
  }
}
.fact__item:hover {
  opacity: 0.7;
}

.fact__item__inner {
  background-color: #fff;
  border-radius: 50%;
  width: 123.9263803681%;
  padding: 19.4666666667vw 3.2vw 10.9333333333vw;
  aspect-ratio: 1/1;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 1025px) {
  .fact__item__inner {
    width: 124.2424242424%;
    padding: min(10vw, 168px) min(1.1904761905vw, 20px) min(7.5vw, 126px);
  }
}

.fact__item__icon {
  position: absolute;
  width: 18.1333333333vw;
  left: 50%;
  transform: translateX(-50%);
  top: -3.2vw;
}
@media screen and (min-width: 1025px) {
  .fact__item__icon {
    width: min(7.0238095238vw, 118px);
    max-width: 118px;
    top: max(-1.1904761905vw, -20px);
  }
}

.fact__item__title {
  text-align: center;
  font-size: 4.8vw;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.6; /* 28.8px */
  letter-spacing: 0.48vw;
  min-height: 4.8em;
  display: -webkit-box; /* 必須 */
  -webkit-box-orient: vertical; /* 必須 */
  -webkit-line-clamp: 3; /* 行数を制限 */
  overflow: hidden; /* はみ出た部分を非表示 */
}
@media screen and (min-width: 1025px) {
  .fact__item__title {
    font-size: min(2.1428571429vw, 36px);
    font-style: normal;
    font-weight: 600;
    font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
    letter-spacing: min(0.2142857143vw, 3.6px);
  }
}

.fact__item__btn {
  position: absolute;
  padding: 2.1333333333vw 8.5333333333vw 2.1333333333vw 4.2666666667vw;
  color: #f61a25;
  font-size: 3.2vw;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.3; /* 15.6px */
  border: 0.5269333333vw solid #f61a25;
  border-radius: 45px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4vw;
  white-space: nowrap;
  background-color: #fff;
}
.fact__item__btn::after {
  position: absolute;
  content: "";
  background: transparent url(../img/plus.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  right: 4.2666666667vw;
  width: 3.2vw;
  height: 3.2vw;
}
@media screen and (min-width: 1025px) {
  .fact__item__btn {
    padding: min(0.9523809524vw, 16px) min(3.8095238095vw, 64px) min(0.9523809524vw, 16px) min(1.9047619048vw, 32px);
    font-size: min(1.0714285714vw, 18px);
    bottom: max(-1.1904761905vw, -20px);
    border-radius: 70px;
    border: min(0.2380952381vw, 4px) solid #f61a25;
  }
  .fact__item__btn::after {
    width: min(1.4285714286vw, 24px);
    height: min(1.4285714286vw, 24px);
    right: min(1.9047619048vw, 32px);
  }
}

.modal__text {
  background-color: #f61a25;
  overflow: hidden;
  padding: 32px 0;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .modal__text {
    padding: 48px 0;
  }
}
@media screen and (max-width: 767px) {
  .modal__text {
    max-height: 517px;
  }
}

.modal__body__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modal__text__inner {
  background-color: #fff;
  position: relative;
  flex-grow: 1;
  overflow-y: scroll;
  overscroll-behavior-y: none;
}
@media screen and (min-width: 1025px) {
  .modal__text__inner {
    padding-left: 25px;
    padding-right: 25px;
    max-height: calc(100vh - 455px);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .modal__text__inner {
    padding-left: 25px;
    padding-right: 25px;
    max-height: calc(100vh - 455px);
  }
}
@media screen and (max-width: 767px) {
  .modal__text__inner {
    max-height: calc(100vh - 300px);
  }
}

.modal__text__title {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  top: 30px;
  width: 100%; /* 100%に広げる */
  left: 0; /* 0に戻す (50%を削除) */
  justify-content: center;
}
.modal__text__title img {
  width: 78px;
}
.modal__text__title p {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.6; /* 28.8px */
  letter-spacing: 1.8px;
  width: 220px;
}
@media screen and (min-width: 1025px) {
  .modal__text__title {
    gap: 16px;
    top: 62px;
  }
  .modal__text__title p {
    font-size: 24px;
    letter-spacing: 2.4px;
    min-width: 293px;
  }
  .modal__text__title img {
    width: 78px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .modal__text__title {
    gap: 16px;
    top: 62px;
  }
  .modal__text__title p {
    font-size: 24px;
    letter-spacing: 2.4px;
    min-width: 293px;
  }
  .modal__text__title img {
    width: 78px;
  }
}

.swiper-wrapper,
.swiper-slide,
.modal__body__text,
.modal__text,
.modal__text__inner {
  min-height: 0;
}

.modal__text__contents {
  width: 67%;
  margin: 0 auto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  font-family: "MFW-PA1GothicStdN-Medium", system-ui, sans-serif;
  line-height: 1.6; /* 25.6px */
  flex-grow: 1;
  min-height: 0;
  margin-top: 20px;
}
@media screen and (min-width: 1025px) {
  .modal__text__contents {
    font-size: 18px;
    line-height: 1.8;
    width: 380px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .modal__text__contents {
    font-size: 18px;
    line-height: 1.8;
    width: 380px;
  }
}
@media screen and (max-width: 767px) {
  .modal__text__contents {
    width: 280px;
    /* ▼▼ 1. 新しいWeb標準の書き方（Firefox、最新のiPhone Safari向け） ▼▼ */
    scrollbar-width: thin; /* バーを細くする（auto か thin しか選べません） */
    scrollbar-color: #ccc #f0f0f0; /* つまみの色 軌道(背景)の色 */
    /* ▼▼ 2. 従来の書き方（Chrome, Edge, 少し古いSafari向け） ▼▼ */
  }
  .modal__text__contents::-webkit-scrollbar {
    width: 6px;
  }
  .modal__text__contents::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    border-radius: 10px;
  }
  .modal__text__contents::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }
}

.modal__detail__btn__wrapper {
  position: absolute;
  bottom: -21.3333333333vw;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .modal__detail__btn__wrapper {
    bottom: max(-7.4404761905vw, -125px);
  }
}

.modal__detail__btn {
  margin: 0 auto;
  display: block;
  color: #f61a25;
  font-size: 4.2666666667vw;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.3;
  padding: 5.3333333333vw 24.5333333333vw 5.3333333333vw 20.2666666667vw;
  border-radius: 18.6666666667vw;
  width: fit-content;
  background-color: #fff;
  position: relative;
  transition: opacity 0.3s ease;
}
.modal__detail__btn::before {
  position: absolute;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  top: 50%;
  transform: translateY(-50%);
  background: transparent url(../img/logo-red.svg) no-repeat center center/contain;
  left: 8.5333333333vw;
}
.modal__detail__btn::after {
  position: absolute;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: transparent url(../img/ex-link-red.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  right: 8.5333333333vw;
}
@media screen and (min-width: 1025px) {
  .modal__detail__btn {
    font-size: min(1.4285714286vw, 24px);
    padding: min(1.4285714286vw, 24px) min(6.6666666667vw, 112px) min(1.4285714286vw, 24px) min(6.4285714286vw, 108px);
  }
  .modal__detail__btn::before {
    width: min(3.0952380952vw, 52px);
    height: min(2.7380952381vw, 46px);
    left: min(2.380952381vw, 40px);
  }
  .modal__detail__btn::after {
    width: min(2.380952381vw, 40px);
    height: min(2.380952381vw, 40px);
    right: min(2.380952381vw, 40px);
  }
}
.modal__detail__btn:hover {
  opacity: 0.7;
}

/* アクティブじゃないドット（フチだけ） */
.swiper-pagination-bullet {
  width: min(3.2vw, 16px) !important;
  height: min(3.2vw, 16px) !important;
  background: transparent !important; /* !importantを追加して背景を確実に透明に */
  border: min(0.5333333333vw, 2px) solid #fff !important;
  opacity: 1 !important; /* デフォルトの半透明(0.2)を打ち消してくっきりさせる */
  box-sizing: border-box; /* ボーダーの太さでサイズがブレないように念のため */
}
@media screen and (min-width: 1025px) {
  .swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #fff !important;
  }
}

/* アクティブなドット（塗りつぶし） */
.swiper-pagination-bullet-active {
  background: #fff !important;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 min(3.2vw, 12px) !important;
}

.swiper-container {
  position: relative;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: max(-11.7333333333vw, -44px) !important;
}

.swiper-button-next,
.swiper-button-prev {
  top: calc(100% + min(8vw, 30px)) !important;
}
@media screen and (min-width: 1025px) {
  .swiper-button-next,
  .swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important; /* または content: ""; */
}

/* 共通の設定（サイズなどを決める） */
.swiper-button-prev,
.swiper-button-next {
  width: min(4.2666666667vw, 16px) !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url(../img/swiper-btn.svg);
}
@media screen and (min-width: 1025px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 29px !important;
  }
}

.swiper-button-prev {
  left: min(8vw, 30px) !important;
}
@media screen and (min-width: 1025px) {
  .swiper-button-prev {
    left: -80px !important;
  }
}

.swiper-button-next {
  transform: rotate(180deg);
  right: min(8vw, 30px) !important;
}
@media screen and (min-width: 1025px) {
  .swiper-button-next {
    transform: translateY(-50%) rotate(180deg) !important;
    right: -80px !important;
  }
}

.swiper-slide {
  height: auto !important;
  display: flex !important;
}

.effect {
  background: #fff;
  padding-bottom: 35.333333vw;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .effect {
    padding-bottom: 17.8571428571vw;
  }
}

.effect__top {
  position: absolute;
  top: -14.1333333333vw;
  left: 0;
  width: 100%;
}
.effect__top img {
  display: block;
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .effect__top {
    top: -5.9523809524vw;
  }
}

.effect__items {
  display: flex;
  flex-direction: column;
  gap: 8.2666666667vw;
}
@media screen and (min-width: 1025px) {
  .effect__items {
    flex-direction: row;
    justify-content: center;
    gap: 100px;
  }
}

.effect__item {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1025px) {
  .effect__item {
    width: calc((100% - min(3.6904761905vw, 62px)) / 3);
  }
}

.effect__item__img {
  width: 73.2142857143%;
  margin: 0 auto 4.2666666667vw;
  position: relative;
}
.effect__item__img.--01::before {
  position: absolute;
  content: "";
  width: 20vw;
  height: 14.1333333333vw;
  background: transparent url(../img/effect-01-number.png) no-repeat center center/contain;
  left: 0;
  top: 0;
}
@media screen and (min-width: 1025px) {
  .effect__item__img.--01::before {
    width: min(6.0714285714vw, 102px);
    height: min(4.3452380952vw, 73px);
  }
}
.effect__item__img.--02::before {
  position: absolute;
  content: "";
  width: 20vw;
  height: 14.1333333333vw;
  background: transparent url(../img/effect-02-number.png) no-repeat center center/contain;
  left: 0;
  top: 0;
}
@media screen and (min-width: 1025px) {
  .effect__item__img.--02::before {
    width: min(6.0714285714vw, 102px);
    height: min(4.3452380952vw, 73px);
  }
}
@media screen and (min-width: 1025px) {
  .effect__item__img {
    margin-bottom: min(1.9047619048vw, 32px);
  }
}

.effect__item__title {
  display: flex;
  flex-direction: column;
  gap: 2.1333333333vw;
  text-align: center;
  margin-bottom: 2.1333333333vw;
}
.effect__item__title small {
  font-size: 4.2666666667vw;
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1; /* 16px */
}
.effect__item__title span {
  font-size: 7.4666666667vw;
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1; /* 28px */
}
@media screen and (min-width: 1025px) {
  .effect__item__title {
    gap: min(0.9523809524vw, 16px);
    margin-bottom: min(0.9523809524vw, 16px);
  }
  .effect__item__title small {
    font-size: min(1.4285714286vw, 24px);
    margin-bottom: min(0.9523809524vw, 16px);
  }
  .effect__item__title span {
    font-size: min(2.380952381vw, 40px);
  }
}

.effect__item__text {
  font-size: 4.2666666667vw;
  font-style: normal;
  font-weight: 500;
  font-family: "MFW-PA1GothicStdN-Medium", system-ui, sans-serif;
  line-height: 1.7; /* 27.2px */
  text-align: left;
}
@media screen and (min-width: 1025px) {
  .effect__item__text {
    font-size: min(1.0714285714vw, 18px);
    line-height: 1.8; /* 32.4px */
  }
}

/* モーダルの背景（オーバーレイ）の設定 */
#video-modal::backdrop {
  background: #000;
  opacity: 0.8;
}

/* モーダル展開時の背景スクロールロック */
body.is-locked {
  overflow: hidden;
  overflow: clip;
}

.video {
  padding-bottom: 32vw;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .video {
    padding-bottom: 16vw;
  }
}

.video__top {
  position: absolute;
  top: -15.2vw;
  left: 0;
  width: 100%;
}
.video__top img {
  display: block;
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .video__top {
    top: -10.3571428571vw;
  }
}

.video__items {
  display: flex;
  flex-direction: column;
  gap: 10.6666666667vw;
}
@media screen and (min-width: 1025px) {
  .video__items {
    gap: min(4.5238095238vw, 76px);
  }
}

.video__item {
  background-color: #fff;
  padding: 10.6666666667vw 7.2vw 17.0666666667vw;
  border-radius: 40px;
}
.video__item span {
  font-size: 3.7333333333vw;
  font-style: normal;
  font-weight: 500;
  font-family: "MFW-PA1GothicStdN-Medium", system-ui, sans-serif;
  line-height: 1.6; /* 22.4px */
  display: block;
}
@media screen and (min-width: 1025px) {
  .video__item {
    padding-top: min(5.6547619048vw, 95px);
    padding-bottom: min(9.4047619048vw, 158px);
  }
  .video__item span {
    font-size: min(0.8333333333vw, 14px);
  }
}

.video__item__inner {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
}

.main__video__title {
  height: 32.5333333333vw;
  margin: 0 auto;
  text-align: center;
}
.main__video__title img {
  max-height: 100%;
}
@media screen and (min-width: 1025px) {
  .main__video__title {
    height: min(7.1428571429vw, 120px);
  }
}

.explanation__video__title {
  height: 8.8vw;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 6.4vw;
}
.explanation__video__title img {
  max-height: 100%;
}
@media screen and (min-width: 1025px) {
  .explanation__video__title {
    height: min(3.3333333333vw, 56px);
    margin-bottom: min(1.9047619048vw, 32px);
  }
}

.video__item__lead {
  font-size: 6.4vw;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.4;
  letter-spacing: 0.128vw;
  text-align: center;
  margin-bottom: 8.5333333333vw;
}
@media screen and (min-width: 1025px) {
  .video__item__lead {
    font-size: min(1.9047619048vw, 32px);
    letter-spacing: min(0.0380952381vw, 0.64px);
    margin-bottom: min(2.380952381vw, 40px);
  }
}

.video__item__wrapper {
  margin-bottom: 4.2666666667vw;
}
@media screen and (min-width: 1025px) {
  .video__item__wrapper {
    margin-bottom: min(1.9047619048vw, 32px);
  }
}

.video__item__text {
  font-size: 4.2666666667vw;
  font-style: normal;
  font-weight: 500;
  font-family: "MFW-PA1GothicStdN-Medium", system-ui, sans-serif;
  line-height: 1.6; /* 25.6px */
  margin-bottom: 4.2666666667vw;
}
@media screen and (min-width: 1025px) {
  .video__item__text {
    font-size: min(1.0714285714vw, 18px);
    margin-bottom: min(0.9523809524vw, 16px);
  }
}

.main__video__btn {
  padding: 4.2666666667vw 19.2vw 4.2666666667vw 19.2vw;
  background-color: #f61a25;
  border-radius: 18.6666666667vw;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  width: fit-content;
  margin: 8.5333333333vw auto 0;
}
.main__video__btn span {
  font-size: 3.2vw;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.3;
}
.main__video__btn p {
  font-size: 4.2666666667vw;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.3;
}
.main__video__btn::before {
  position: absolute;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: transparent url(../img/music.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  left: 8.5333333333vw;
}
.main__video__btn::after {
  position: absolute;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: transparent url(../img/ex-link.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  right: 8.5333333333vw;
}
@media screen and (min-width: 1025px) {
  .main__video__btn {
    margin-top: min(2.380952381vw, 40px);
    padding: min(1.4285714286vw, 24px) min(6.6666666667vw, 112px) min(1.4285714286vw, 24px) min(6.0714285714vw, 102px);
  }
  .main__video__btn span {
    font-size: min(1.0714285714vw, 18px);
  }
  .main__video__btn p {
    font-size: min(1.4285714286vw, 24px);
  }
  .main__video__btn::before {
    width: min(2.7380952381vw, 46px);
    height: min(2.7380952381vw, 46px);
    left: min(2.380952381vw, 40px);
  }
  .main__video__btn::after {
    width: min(2.380952381vw, 40px);
    height: min(2.380952381vw, 40px);
    right: min(2.380952381vw, 40px);
  }
}

.coming__soon {
  width: 76.2666666667vw;
  margin: 8.5333333333vw auto 0;
}
@media screen and (min-width: 1025px) {
  .coming__soon {
    width: min(25.0595238095vw, 421px);
    margin-top: min(2.380952381vw, 40px);
  }
}

.process {
  background: transparent url(../img/beige-bg.webp) repeat center center/contain;
}

.process__items {
  display: flex;
  flex-direction: column;
  gap: 6.4vw;
}
@media screen and (min-width: 1025px) {
  .process__items {
    flex-direction: row;
    gap: 24px;
  }
}

.process__item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
@media screen and (min-width: 1025px) {
  .process__item {
    width: calc((100% - min(2.8571428571vw, 48px)) / 3);
  }
}
.process__item:hover {
  opacity: 0.7;
}

.process__item__title {
  font-size: 3.7333333333vw;
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.6; /* 22.4px */
}
@media screen and (min-width: 1025px) {
  .process__item__title {
    font-size: min(1.0714285714vw, 18px);
    line-height: 2; /* 36px */
  }
}

.process__item__thumbnail {
  cursor: pointer;
  margin-bottom: 4.2666666667vw;
  transition: opacity 0.3s ease;
}
.process__item__thumbnail img {
  border-radius: 15px;
}
@media screen and (min-width: 1025px) {
  .process__item__thumbnail {
    margin-bottom: min(1.9047619048vw, 32px);
  }
}
.process__item__thumbnail:hover {
  opacity: 0.7;
}

.modal__content {
  padding: 0;
  overflow: visible;
  margin: auto;
  background: transparent;
  width: 88%;
  border: none;
}
@media screen and (min-width: 1025px) {
  .modal__content {
    max-width: 862px;
  }
}
.modal__content#fact-modal {
  border-radius: 8vw;
  max-width: 464px;
}
@media screen and (max-width: 767px) {
  .modal__content#fact-modal {
    max-width: 330px;
  }
}
.modal__content#video-modal {
  width: 90%;
}

.modal__inner {
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal__close-btn {
  position: absolute;
  top: max(-16.8vw, -71px);
  right: 0;
  width: min(12.8vw, 64px);
  outline: none;
  transition: opacity 0.3s ease;
}
@media screen and (min-width: 1025px) {
  .modal__close-btn {
    right: -71px;
    top: -38px;
    width: 64px;
  }
  .modal__close-btn img {
    width: 100%;
  }
}
.modal__close-btn:hover {
  opacity: 0.7;
}

.modal__video {
  aspect-ratio: 154/87;
  width: 100%;
  display: block;
}
.modal__video iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

/* モーダルの背景（オーバーレイ）の設定 */
#fact-modal::backdrop {
  background: #000;
  opacity: 0.8;
}

.guideline {
  background: transparent url(../img/beige-bg.webp) repeat center center/contain;
  padding-bottom: 35.4666666667vw;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .guideline {
    padding-bottom: 11vw;
  }
}

.guideline__top {
  position: absolute;
  left: 0;
  top: -13.0666666667vw;
  width: 100%;
}
.guideline__top img {
  display: block;
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .guideline__top {
    top: -6.7857142857vw;
  }
}

.guideline__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6.4vw;
  margin-top: 25.0666666667vw;
  margin-bottom: 10.6666666667vw;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .guideline__items {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: min(2.380952381vw, 40px);
    margin-bottom: min(3.8095238095vw, 64px);
    margin-top: min(4.3452380952vw, 73px);
  }
}

.guideline__character {
  position: absolute;
  width: 72.5333333333vw;
  z-index: 1;
}
@media screen and (min-width: 1025px) {
  .guideline__character {
    width: min(23.5119047619vw, 395px);
    right: min(3.0357142857vw, 51px);
    top: max(-4.7023809524vw, -79px);
  }
}
@media screen and (max-width: 767px) {
  .guideline__character {
    left: 50%;
    transform: translateX(-50%);
    top: -15.4666666667vw;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .guideline__character {
    left: 50%;
    transform: translateX(-50%);
    top: -15.4666666667vw;
  }
}

.guideline__item {
  z-index: 2;
}
.guideline__item img {
  width: 100%;
}

.guideline__btn__wrapper {
  display: flex;
  flex-direction: column;
  gap: 4.2666666667vw;
  align-items: center;
}
@media screen and (min-width: 1025px) {
  .guideline__btn__wrapper {
    flex-direction: row;
    justify-content: center;
    gap: min(2.380952381vw, 40px);
  }
}

.guideline__btn {
  background-color: #f61a25;
  padding: 4.2666666667vw 16.2666666667vw 4.2666666667vw 16vw;
  border-radius: 18.6666666667vw;
  color: #fff;
  color: #fefdfc;
  font-size: 4.2666666667vw;
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.2; /* 19.2px */
  position: relative;
  width: 91.4666666667vw;
  transition: opacity 0.3s ease;
}
.guideline__btn::before {
  position: absolute;
  content: "";
  width: 5.3333333333vw;
  height: 6.4vw;
  background: transparent url(../img/pdf.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  left: 6.4vw;
}
.guideline__btn::after {
  position: absolute;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: transparent url(../img/download.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  right: 4.5333333333vw;
}
@media screen and (min-width: 1025px) {
  .guideline__btn {
    width: min(29.8214285714vw, 501px);
    font-size: min(1.1904761905vw, 20px);
    padding: min(1.4285714286vw, 24px) min(5.8928571429vw, 99px) min(1.4285714286vw, 24px) min(6.0119047619vw, 101px);
  }
  .guideline__btn::before {
    width: min(2.5vw, 42px);
    height: min(3.0952380952vw, 52px);
    left: min(2.380952381vw, 40px);
  }
  .guideline__btn::after {
    width: min(2.380952381vw, 40px);
    height: min(2.380952381vw, 40px);
    right: min(2.380952381vw, 40px);
  }
}
.guideline__btn:hover {
  opacity: 0.7;
}

.detail {
  background-color: #fff;
  padding-bottom: 22.1333333333vw;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .detail {
    padding-bottom: min(4.1666666667vw, 70px);
  }
}

.detail__top {
  position: absolute;
  top: -14.1333333333vw;
  left: 0;
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .detail__top {
    top: -6.0119047619vw;
  }
}
.detail__top img {
  display: block;
  width: 100%;
}

.detail__img {
  width: 77.0666666667vw;
  margin: 0 auto 11.7333333333vw;
}
@media screen and (min-width: 1025px) {
  .detail__img {
    width: min(37.5595238095vw, 631px);
    margin: 0;
    flex-shrink: 0;
  }
}

.detail__contents {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1025px) {
  .detail__inner {
    display: flex;
    align-items: center;
    gap: min(5.6547619048vw, 95px);
  }
}

.detail__title {
  width: 69.6vw;
}
@media screen and (max-width: 767px) {
  .detail__title {
    margin: 0 auto 8.8vw;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .detail__title {
    margin: 0 auto 8.8vw;
  }
}
@media screen and (min-width: 1025px) {
  .detail__title {
    width: min(27.1428571429vw, 456px);
    margin-bottom: min(3.1547619048vw, 53px);
  }
}

.detail__text {
  text-align: center;
  font-size: 4.2666666667vw;
  font-style: normal;
  font-weight: 500;
  font-family: "MFW-PA1GothicStdN-Medium", system-ui, sans-serif;
  line-height: 2; /* 32px */
  margin-bottom: 11.4666666667vw;
}
@media screen and (min-width: 1025px) {
  .detail__text {
    font-size: min(1.0714285714vw, 18px);
    margin-bottom: min(3.5714285714vw, 60px);
    text-align: left;
  }
}

.detail__btn {
  width: fit-content;
  background-color: #f61a25;
  padding: 5.3333333333vw 24.5333333333vw 5.3333333333vw 19.2vw;
  color: #fff;
  font-size: 4.2666666667vw;
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.3; /* 20.8px */
  border-radius: 18.6666666667vw;
  position: relative;
  transition: opacity 0.3s ease;
}
.detail__btn::before {
  position: absolute;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: transparent url(../img/logo.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  left: 8.5333333333vw;
}
.detail__btn::after {
  position: absolute;
  content: "";
  width: 7.4666666667vw;
  height: 7.4666666667vw;
  background: transparent url(../img/ex-link.svg) no-repeat center center/contain;
  top: 50%;
  transform: translateY(-50%);
  right: 8.5333333333vw;
}
@media screen and (max-width: 767px) {
  .detail__btn {
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .detail__btn {
    margin: 0 auto;
  }
}
@media screen and (min-width: 1025px) {
  .detail__btn {
    padding: min(1.4285714286vw, 24px) min(6.6666666667vw, 112px) min(1.4285714286vw, 24px) min(6.0714285714vw, 102px);
    font-size: min(1.4285714286vw, 24px);
  }
  .detail__btn::before {
    width: min(2.7380952381vw, 46px);
    height: min(2.7380952381vw, 46px);
    left: min(2.380952381vw, 40px);
  }
  .detail__btn::after {
    width: min(2.380952381vw, 40px);
    height: min(2.380952381vw, 40px);
    right: min(2.380952381vw, 40px);
  }
}
.detail__btn:hover {
  opacity: 0.7;
}

.footer {
  padding: 2.6666666667vw 4.2666666667vw;
  text-align: right;
  color: #fff;
  font-size: 3.2vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7; /* 20.4px */
  letter-spacing: 0.064vw;
}
@media screen and (min-width: 1025px) {
  .footer {
    font-size: min(0.8333333333vw, 14px);
    letter-spacing: min(0.0166666667vw, 0.28px);
    padding: min(0.5952380952vw, 10px) min(0.9523809524vw, 16px);
  }
}

.note__detail__description {
  padding: min(2.380952381vw, 40px);
  border-radius: min(1.1904761905vw, 20px);
  background: #f1f1f1;
}
@media screen and (max-width: 767px) {
  .note__detail__description {
    padding: 6.4vw;
    margin-left: 4.2666666667vw;
    margin-right: 4.2666666667vw;
  }
}

.note__detail__description__text {
  font-size: min(0.9523809524vw, 16px);
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin-bottom: min(1.9047619048vw, 32px);
}
@media screen and (max-width: 767px) {
  .note__detail__description__text {
    margin-bottom: 8.5333333333vw;
    font-size: 3.7333333333vw;
    letter-spacing: 0.02em;
  }
}

.note__detail__description__lead {
  font-size: min(0.9523809524vw, 16px);
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.8; /* 28.8px */
  letter-spacing: 0.02em;
  margin-bottom: min(1.4285714286vw, 24px);
}
@media screen and (max-width: 767px) {
  .note__detail__description__lead {
    font-size: 3.7333333333vw;
    margin-bottom: 4.2666666667vw;
  }
}

.note__detail__description__members {
  display: flex;
  flex-wrap: wrap;
  gap: min(1.1904761905vw, 20px);
  margin-bottom: min(1.9047619048vw, 32px);
}
@media screen and (max-width: 767px) {
  .note__detail__description__members {
    gap: 4.2666666667vw;
    margin-bottom: 8.5333333333vw;
  }
}

.note__detail__description__members__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(0.8333333333vw, 14px);
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item {
    flex-direction: row;
    gap: 2.6666666667vw;
  }
}

.note__detail__description__members__item__dialog {
  width: min(35.7142857143vw, 600px);
  margin: auto;
  border: none !important;
  border-radius: min(2.380952381vw, 40px);
  padding: 0 0 min(2.380952381vw, 40px);
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog {
    padding: 0 0 5.3333333333vw;
  }
}

.dialog__close {
  position: absolute;
  top: min(2.380952381vw, 40px);
  right: min(2.380952381vw, 40px);
  width: min(2.380952381vw, 40px);
  height: min(2.380952381vw, 40px);
}
@media screen and (max-width: 767px) {
  .dialog__close {
    width: 10.6666666667vw;
    height: 10.6666666667vw;
  }
}
.dialog__close img {
  width: 100%;
}

.note__detail__description__members__item__dialog__contents {
  overflow-y: scroll;
  max-height: 70vh;
  transition: padding-top 0.2s ease-out;
  padding: min(2.380952381vw, 40px) min(2.380952381vw, 40px) 0;
}
.note__detail__description__members__item__dialog__contents::-webkit-scrollbar {
  display: none;
}
.note__detail__description__members__item__dialog__contents.is-scrolled {
  padding-top: 0;
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog__contents {
    padding: 5.3333333333vw 5.3333333333vw 0;
  }
}

.note__detail__description__members__item__dialog__img {
  width: min(11.9047619048vw, 200px);
  height: min(11.9047619048vw, 200px);
}
.note__detail__description__members__item__dialog__img img {
  border-radius: 50%;
}
@media screen and (min-width: 1025px) {
  .note__detail__description__members__item__dialog__img {
    margin: 0 auto min(1.1904761905vw, 20px);
  }
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog__img {
    width: 26.6666666667vw;
    height: 26.6666666667vw;
  }
}

.note__detail__description__members__item__dialog__profile {
  margin-bottom: min(2.380952381vw, 40px);
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog__profile {
    display: flex;
    align-items: center;
    gap: 5.3333333333vw;
    margin-bottom: 6.4vw;
  }
}

.note__detail__description__members__item__dialog__name {
  font-size: min(1.4285714286vw, 24px);
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.2; /* 28.8px */
  letter-spacing: 0.02em;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog__name {
    font-size: 5.3333333333vw;
    text-align: left;
  }
}

.note__detail__description__members__item__dialog__company {
  font-size: min(0.9523809524vw, 16px);
  font-style: normal;
  font-weight: 600;
  font-family: "MFW-PA1GothicStdN-Bold", system-ui, sans-serif;
  line-height: 1.8; /* 28.8px */
  letter-spacing: 0.02em;
  margin-bottom: min(2.380952381vw, 40px);
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog__company {
    font-size: 3.7333333333vw;
    line-height: 1.8;
    margin-bottom: 6.4vw;
  }
}

.note__detail__description__members__item__dialog__text {
  font-size: min(0.9523809524vw, 16px);
  font-style: normal;
  line-height: 1.8; /* 28.8px */
  letter-spacing: 0.02em;
}
.note__detail__description__members__item__dialog__text a {
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog__text {
    font-size: 3.7333333333vw;
    line-height: 1.8;
  }
}

.note__detail__description__members__item__dialog__link {
  display: flex;
  gap: min(1.1904761905vw, 20px);
  justify-content: center;
}

.note__detail__description__members__item__dialog__link--x {
  width: min(2.380952381vw, 40px);
}

.note__detail__description__members__item__dialog__link--official {
  font-size: min(0.8333333333vw, 14px);
  font-style: normal;
  line-height: 1.2; /* 16.8px */
  letter-spacing: 0.28px;
  padding: min(0.5952380952vw, 10px) min(2.1428571429vw, 36px) min(0.5952380952vw, 10px) min(1.1904761905vw, 20px);
  border-radius: min(1.7857142857vw, 30px);
  background-color: #f2f2f2;
  position: relative;
  display: flex;
  align-items: center;
}
.note__detail__description__members__item__dialog__link--official::after {
  position: absolute;
  content: "";
  width: min(0.5952380952vw, 10px);
  height: min(0.5952380952vw, 10px);
  right: min(1.1904761905vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  background: transparent url(../img/note/ex-link.svg) no-repeat center center/contain;
}

.note__detail__description__members__item__img {
  width: min(5.9523809524vw, 100px);
  height: min(5.9523809524vw, 100px);
  position: relative;
}
.note__detail__description__members__item__img img {
  border-radius: 50%;
}
.note__detail__description__members__item__img::after {
  position: absolute;
  content: "";
  width: min(1.6666666667vw, 28px);
  height: min(1.6666666667vw, 28px);
  bottom: 0;
  background: transparent url(../img/plus-white.svg) no-repeat center center/contain;
  right: 0;
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__img {
    width: 12.8vw;
    height: 12.8vw;
  }
  .note__detail__description__members__item__img::after {
    width: 5.3333333333vw;
    height: 5.3333333333vw;
  }
}

.note__detail__description__members__item__name {
  font-size: min(0.8333333333vw, 14px);
  line-height: 1.2; /* 16.8px */
  letter-spacing: 0.02em;
  color: #000;
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__name {
    font-size: 3.2vw;
  }
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.2);
}

/* --- SPのときだけ適用されるスタイル --- */
@media (max-width: 1024px) {
  /*要素をボトムシートに変化させる */
  .note__detail__description__members__item__dialog,
  .watch__sidebar__story {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 4.2666666667vw 4.2666666667vw 0 0;
    box-shadow: 0 -1.3333333333vw 4vw rgba(0, 0, 0, 0.1);
    background-color: white;
    z-index: 200;
    transform: translateY(100%); /* 最初は画面の外（下）に隠しておく */
    transition: transform 0.3s ease-out; /* アニメーションの時間と滑らかさを指定 */
  }
  .watch__sidebar__story {
    border-radius: 10.6666666667vw 10.6666666667vw 0 0 !important;
  }
  .note__detail__description__members__item__dialog.is-open,
  .watch__sidebar__story.is-active {
    transform: translateY(0); /* 画面内にスライドインさせる */
  }
  /* 背景のオーバーレイのスタイルは変更なし */
  .note__detail__description__members__item__dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
  }
}
@media screen and (max-width: 767px) {
  .note__detail__description__members__item__dialog button:focus {
    outline: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .note__detail__description__members__item__dialog button:focus {
    outline: none;
  }
}

.note__detail__tag__items {
  display: flex;
  flex-wrap: wrap;
  gap: min(0.7142857143vw, 12px) min(0.4761904762vw, 8px);
}
@media screen and (max-width: 767px) {
  .note__detail__tag__items {
    gap: 2.1333333333vw;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .note__detail__tag__items {
    gap: 2.1333333333vw;
  }
}

.note__detail__tag__item {
  padding: min(0.7142857143vw, 12px) min(0.9523809524vw, 16px);
  font-size: min(0.8333333333vw, 14px);
  font-style: normal;
  line-height: 1.2;
  letter-spacing: min(0.0166666667vw, 0.28px);
  border-radius: min(3.5714285714vw, 60px);
  border: 1px solid #e5e5e5;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .note__detail__tag__item {
    padding: 2.6666666667vw;
    font-size: 3.2vw;
    letter-spacing: 0.064vw;
    line-height: 1.2;
  }
}
.note__detail__tag__item span {
  opacity: 0.5;
}
