img {
  width: 100%;
}

p {
  margin: 0;
}

body {
  overflow: clip;
}

.main-content-bg {
  background-color: #e6e6dc;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: .1px;
  position: relative;
  overflow: clip;
  z-index: 1;
}

.content-side-l,
.content-side-r {
  width: 32.5%;
  max-width: 480px;
  padding: .1px;
}

.title-logo {
  position: -webkit-sticky;
  position: sticky;
  top: 40%;
  left: 0;
  padding: .1px;
  margin: 0 3.3vw 70px;
  max-width: 390px;
  width: calc(100% - 6.6vw);
  z-index: 2;
}

.title-logo2 {
  position: -webkit-sticky;
  position: sticky;
  top: 40%;
  left: 0;
  padding: .1px;
  margin: 0 3.3vw 70px;
  max-width: 290px;
  width: calc(100% - 6.6vw);
  z-index: 2;
}

.content-center {
  width: 100%;
  max-width: 510px;
  margin: 45px 0 70px;
  background-color: #f2f2f2;
  border-radius: 50px;
  padding: .1px;
}

.content-inner {
  width: 90%;
  margin: 0 auto;
  padding: .1px;
}

.content-title {
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
}

.content-text {
  font-size: 17.5px;
  line-height: 37.5px;
  margin: 0;
}

.picture340 {
  width: 75%;
  max-width: 340px;
  margin: 0 auto;
}

.content-line-bg {
  width: 100%;
  background-image: url(../images/bg-line.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  padding: .1px;
}

.img-caption {
  font-size: 15px;
  line-height: 31.3px;
  margin-top: 15px;
}

.content-white-bg {
  width: 100%;
  background-color: #fff;
  padding: .1px;
}

.content-bg-title,
.content-bg-subtitle {
  font-size: 28.5px;
  font-weight: bold;
}

.content-bg-subtitle {
  text-align: center;
}

.content-bg-lead {
  font-size: 18.3px;
  font-weight: bold;
  text-align: center;
}

.mssSurvey {
  margin: 0 auto 40px;
}

.login-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #2d75c7;
  font-size: 23.8px;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
  color: #2d75c7;
  transition: .3s;
  width: calc(100% - 6px);
  height: 89px;
}

.login-btn a span {
  font-size: 19px;
  display: block;
}

.regi-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23.8px;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
  background-color: #2d75c7;
  color: #fff;
  transition: .3s;
  width: 100%;
  height: 95px;
}

.login-btn a:hover,
.regi-btn a:hover {
  text-decoration: none;
  opacity: .7;
}

.annotation {
  font-size: 15px;
  line-height: 31px;
}

.mssSurvey__inner {
  padding: 65px 30px;
  text-align: center;
  background-image: url(/feature/mysony/number/assets/images/survey-back-top.svg), url(/feature/mysony/number/assets/images/survey-back-bottom.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center, bottom center;
  background-color: #fff;
}

.mssSurvey__twoUp {
  display: block;
}

.mssSurvey__header,
.mssSurvey__heading {
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  margin-bottom: 25px;
}

.mssSurvey__buttons>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.mssSurvey__button {
  background: none;
  border: 0;
  cursor: pointer;
  outline: none;
  font: inherit;
  appearance: none;
  display: inline-block;
  padding: .8em 1em .7em;
  border-radius: 100em;
  background-color: #000;
  color: #fff;
  transition-property: background-color;
  transition-duration: .2s;
  font-size: 16px;
}

.mssSurvey__twoUpItem+.mssSurvey__twoUpItem {
  border-top: solid 1px #cdb182;
  border-left: none;
  padding-top: 45px;
  margin-top: 45px;
  padding-left: 0;
  margin-left: 0;
}

.mssSurvey__button.-isCustomQuestionnaire {
  min-width: 245px;
}

.mssSurvey__notes {
  margin: 15px auto;
}

.mssSurvey__notesMark,
.mssSurvey__notesText {
  font-size: 13px;
}

.mssShare {
  margin: 50px auto;
  width: 90%;
}

.mssShare__header {
  margin-bottom: 13px;
}

.mssShare__heading {
  font-size: 18px;
  font-weight: normal;
  display: inline-block;
  padding: .4em 3.2em;
  border-radius: 100em;
  background-color: #fff;
}

.mssShare__links {
  max-width: 230px;
  margin: auto;
  text-align: center;
}

.mssShare__links>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-grid;
  place-items: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.mssShare__links a[data-mss-share=x] img {
  min-width: 35px;
}

.mssShare__links a[data-mss-share=line] img,
.mssShare__links a[data-mss-share=facebook] img {
  min-width: 54px;
}

.mssBanners {
  display: block;
  width: 90%;
  margin: 0 auto 80px;
}

.mssBanners>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 27px;
}

.mssShare a,
.mssBanners a {
  transition: .3s;
}

.mssShare a:hover,
.mssBanners a:hover {
  opacity: .7;
}

.content-side-l-bg01 {
  position: absolute;
  width: 58px;
  left: calc(50% - 473px);
  top: 2vh;
  z-index: 0;
  opacity: .4;
}

.content-side-l-bg02 {
  position: absolute;
  width: 42px;
  left: calc(50% - 627px);
  top: 2vh;
  z-index: 0;
  opacity: .4;
}

.content-side-l-bg03 {
  position: absolute;
  width: 140px;
  left: calc(50% - 678px);
  top: 12vh;
  z-index: 0;
  opacity: .4;
}

.content-side-l-bg04 {
  position: absolute;
  width: 63px;
  left: calc(50% - 373px);
  top: 17vh;
  z-index: 0;
  opacity: .4;
}

.content-side-l-bg05 {
  position: absolute;
  width: 35px;
  left: calc(50% - 668px);
  top: 55vh;
  z-index: 0;
  opacity: .4;
}

.content-side-l-bg06 {
  position: absolute;
  width: 290px;
  left: calc(50% - 560px);
  top: 50vh;
  z-index: 0;
  opacity: .4;
}

.content-side-l-bg07 {
  position: absolute;
  width: 138px;
  left: calc(50% - 608px);
  top: 72vh;
  z-index: 0;
  opacity: .4;
}


.content-side-r-bg01 {
  position: absolute;
  width: 186px;
  right: calc(50% - 547px);
  top: -3vh;
  z-index: 0;
  opacity: .4;
}

.content-side-r-bg02 {
  position: absolute;
  width: 58px;
  right: calc(50% - 740px);
  top: 9vh;
  z-index: 0;
  opacity: .4;
}

.content-side-r-bg03 {
  position: absolute;
  width: 90px;
  right: calc(50% - 468px);
  top: 17vh;
  z-index: 0;
  opacity: .4;
}

.content-side-r-bg04 {
  position: absolute;
  width: 103px;
  right: calc(50% - 684px);
  top: 22vh;
  z-index: 0;
  opacity: .4;
}

.content-side-r-bg05 {
  position: absolute;
  width: 93px;
  right: calc(50% - 417px);
  top: 55vh;
  z-index: 0;
  opacity: .4;
}

.content-side-r-bg06 {
  position: absolute;
  width: 115px;
  right: calc(50% - 740px);
  top: 50vh;
  z-index: 0;
  opacity: .4;
}

.content-side-r-bg07 {
  position: absolute;
  width: 189px;
  right: calc(50% - 637px);
  top: 77vh;
  z-index: 0;
  opacity: .4;
}

.scrollfix {
  opacity: 0;
  /* 最初は隠す */
  visibility: hidden;
  /* クリック判定なども消しておく */
  transition: opacity 0.5s ease;
  /* フェードイン用（JSで制御してもOK） */
  z-index: -1 !important;
  /* z-indexを有効にするため */
}

.scrollfix figure {
  margin: 0;
  padding: 0;
  display: block;
  will-change: transform;
  /* アニメーションを滑らかにする */
}

.moving-inner {
  margin: 0;
  padding: 0;
  will-change: transform;
}

/* 親要素が原因で位置が狂うのを防ぐ（おまじない） */
.main-content-bg,
.content-side-l,
.content-side-r {
  transform: none !important;
  perspective: none !important;
  filter: none !important;
}





/* Base */
figure {
  font-size: 0
}

.only_sp {
  display: none !important
}

/* 汎用マージンユーティリティ */
.margin-top0 {
  margin-top: 0 !important
}

.margin-top15 {
  margin-top: 15px !important
}

.margin-top20 {
  margin-top: 20px !important
}

.margin-top30 {
  margin-top: 30px !important
}

.margin-top35 {
  margin-top: 35px !important
}

.margin-top40 {
  margin-top: 40px !important
}

.margin-top50 {
  margin-top: 50px !important
}

.margin-top60 {
  margin-top: 60px !important
}

.margin-top80 {
  margin-top: 80px !important
}

.margin-btm50 {
  margin-bottom: 50px !important;
}

.margin-btm70 {
  margin-bottom: 70px !important;
}

.margin-top100 {
  margin-top: 100px !important;
}

/* 画像を強制的に一番手前に持ってきて、クリックを有効にする */
.luminous {
  position: relative !important;
  display: block;
  z-index: 99 !important;
  cursor: pointer;
}

.luminous:hover::after,
.luminous:hover img {
  opacity: 0.7 !important;
  transition: opacity 0.3s ease;
  /* 0.3秒かけてふわっと変化 */
}

/* Luminousの拡大画面を最前面に表示する */
.lum-lightbox {
  z-index: 10000 !important;
}

.lum-gallery-button {
  display: none !important;
}

.luminous::after {
  content: "" !important;
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  width: 44px !important;
  /* 少しだけ大きく */
  height: 44px !important;
  /* 漆黒よりは、少しだけグレーを混ぜた方が馴染みます */
  background-color: rgba(30, 30, 30, 0.5) !important;
  background-image: url("../../assets/images/mag-glass.svg") !important;
  background-size: 20px 20px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  border-radius: 50% !important;
  z-index: 10000 !important;
  display: block !important;
  /* 白いフチをうっすら入れると、暗い色の写真の上でも埋もれません */
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  /* 軽く影を落とすと立体感が出ます */
}



/* JSが書き込む px 指定を auto で上書きして無効化 */
.lum-img-wrapper {
  width: auto !important;
  height: auto !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* 画像本体：ここを auto !important にして比率崩れを物理的に防ぐ */
.lum-img-wrapper img {
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: 85vh !important;
  object-fit: contain !important;
  /* 歪みを防止 */
}

/* 閉じるボタンの復旧 */
.lum-close-button {
  position: fixed !important;
  top: 30px !important;
  right: 30px !important;
  z-index: 10001 !important;
}

/* どのクラス名であっても、luminousに関連する画像なら全て強制矯正する */
[class*="lum-"] img {
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: 80vh !important;
  object-fit: contain !important;
  /* ここを追加：JSによる移動(transform)を完全に殺す */
  transform: none !important;
  position: static !important;
}

/* 親要素も同様にサイズ固定を破壊する */
[class*="lum-img-wrapper"] {
  width: auto !important;
  height: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/*----------------------------------
  SP（767px以下）
----------------------------------*/
@media(max-width:767px) {
  .only_pc {
    display: none !important
  }

  .only_sp {
    display: block !important
  }

  .main-content-bg {
    display: block;
  }

  .content-center {
    width: 100%;
    max-width: 767px;
    margin: 0;
    border-radius: 0;
  }

  .content-title {
    width: 75%;
  }

  .content-text {
    font-size: 3.6vw;
    line-height: 7.33vw;
  }

  .content-text.margin-top30 {
    margin-top: 6vw !important;
  }

  .content-text.margin-top60 {
    margin-top: 11vw !important;
  }

  .picture340.margin-top30 {
    margin-top: 5vw !important;
  }

  .content-line-bg.margin-top40 {
    margin-top: 5vw !important;
  }

  .content-inner.margin-top50 {
    margin-top: 12vw !important;
  }

  .img-caption {
    font-size: 2.93vw;
    line-height: 6vw;
    margin-top: 2.6vw;
  }

  .margin-top50 {
    margin-top: 11vw !important;
  }

  .margin-btm50 {
    margin-bottom: 11vw !important;
  }

  .margin-btm70 {
    margin-bottom: 13vw !important;
  }

  .content-bg-title {
    font-size: 5.6vw;
  }

  .margin-top30 {
    margin-top: 6.6vw !important;
  }

  .content-bg-subtitle {
    font-size: 5.6vw;
    margin-top: 12vw !important;
  }

  .content-bg-lead {
    font-size: 3.6vw;
    margin-top: 4vw !important;
  }

  .login-btn.margin-top50 {
    margin-top: 10.6vw !important;
  }

  .login-btn a {
    border: 0.53vw solid #2d75c7;
    font-size: 4.7vw;
    line-height: 6.26vw;
    width: calc(100% - 1.06vw);
    height: 18.7vw;
  }

  .login-btn a span {
    font-size: 3.73vw;
  }

  .regi-btn.margin-top20 {
    margin-top: 5vw !important;
  }

  .regi-btn a {
    font-size: 4.7vw;
    line-height: 2.8vw;
    height: 18.7vw;
  }

  .annotation {
    margin-top: 10vw !important;
    font-size: 2.93vw;
    line-height: 6vw;
  }

  .mssSurvey__inner {
    padding: 12.7vw 10vw;
  }

  .mssSurvey__header,
  .mssSurvey__heading {
    font-size: 4.26vw;
    margin-bottom: 4vw;
  }

  .mssSurvey__button {
    font-size: 3.2vw;
  }

  .mssSurvey__twoUpItem+.mssSurvey__twoUpItem {
    padding-top: 8vw;
    margin-top: 8vw;
  }

  .mssSurvey__button.-isCustomQuestionnaire {
    min-width: 48vw;
  }

  .mssSurvey__notes {
    margin: 2.7vw auto;
  }

  .mssSurvey__notesMark,
  .mssSurvey__notesText {
    font-size: 2.53vw;
  }

  .mssShare {
    margin: 15vw auto 10vw;
  }

  .mssShare__header {
    margin-bottom: 5vw;
  }

  .mssShare__heading {
    font-size: 3.333vw;
  }

  .mssShare__links {
    max-width: 48vw;
  }

  .mssShare__links>ul {
    gap: 7vw;
  }

  .mssShare__links a[data-mss-share=x] img {
    min-width: 4.8vw;
  }

  .mssShare__links a[data-mss-share=line] img,
  .mssShare__links a[data-mss-share=facebook] img {
    min-width: 4.8vw;
  }

  .mssBanners {
    margin: 0 auto 15vw;
  }

  .mssBanners>ul {
    gap: 5vw;
  }

  /* 1. 画像を包む枠：スクロール可能にし、中央寄せを解除 */
  .lum-lightbox [class*="lum-img-wrapper"] {
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
  }

  /* 2. 画像本体：200vw（2倍）を指定し、PC用の auto 指定を強制上書き */
  [class*="lum-"] img {
    width: 200vw !important;
    /* ここで2倍を確定させる */
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    transform: none !important;
    position: static !important;
  }

  /* 3. 閉じるボタン：スクロールしても右上に固定 */
  .lum-close-button {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10005 !important;
    /* 重なり順を最強にする */
  }

  /* 4. 虫眼鏡アイコンの調整 */
  .luminous::after {
    left: 2vw !important;
    top: 2vw !important;
    width: 10vw !important;
    height: 10vw !important;
    background-size: 5vw 5vw !important;
  }
}
