body{
    margin: 0;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

.magnus-fv {
  background: #02080c;
  color: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
}

.fv-bg {
  position: absolute;
  inset: 0;
  background:
    url("/wp-content/themes/allmark_hp_test/images/magnus/fv-pc.png") center top / cover no-repeat;
  z-index: 0;
}

.fv-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 34px 0 52px;
  display: flex;
  flex-direction: column;
}

.fv-logo img {
  width: clamp(150px, 13vw, 220px);
  height: auto;
}

.fv-copy {
  margin-top: 3%;
  max-width: 660px;
}

.fv-lead {
  font-size: clamp(15px, 1.25vw, 22px);
  font-weight: 400;
  letter-spacing: .04em;
  margin-bottom: 22px;
  color: #d3e0e2;
  margin-left: 5%;
  text-shadow: 0 0 20px rgb(4 36 50);
}

.fv-title-image {
  display: block;
  width: min(90%, 550px);
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.fv-desc {
  margin-top: 28px;
  color: #d3e0e2;
  font-size: clamp(15px, 1.25vw, 22px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .04em;
  margin-left: 5%;
  text-shadow: 0 0 20px rgb(4 36 50);
}

.fv-points {
  margin-top: 3%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fv-point {
  position: relative;
  aspect-ratio: 320 / 92;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-point-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.fv-point span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: .08em;

  text-shadow:
    0 0 10px rgba(126,239,255,.95),
    0 0 20px rgba(126,239,255,.35);
}

.fv-question {
  margin-top: 36px;
  text-align: center;
  font-weight: 300;
  letter-spacing: .08em;
  text-shadow: 0 0 16px rgba(126, 239, 255, .95);
}

.fv-question strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 500 !important;
}

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

.human {
  font-size: clamp(22px, 2.4vw, 34px);
}

.fv-question-main {
  line-height: 1.6;
}

.human-wrap {
  position: relative;
  display: inline-block;
}

.human-ruby {
  position: absolute;
  left: 50%;
  top: -1.2em;
  transform: translateX(-50%);
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: .08em;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(126,239,255,.9),
    0 0 20px rgba(126,239,255,.35);
}

/* SP */
@media (max-width: 767px) {
  .fv-bg {
    background:
      url("/wp-content/themes/allmark_hp_test/images/magnus/fv-sp.png") center top / cover no-repeat;
  }

  .fv-title-image {
    display: block;
    width: min(80%, 500px);
    height: auto;
}

  .fv-inner {
    width: min(560px, 90%);
    padding: 30px 0 0;
  }

  .fv-copy {
    margin-top: 30px;
  }

  .fv-lead {
    font-size: clamp(12px, 2.8vw, 15px);
    line-height: 1.5;
    margin-bottom: 3%;
  }

  h1.fv-title {
    margin: 0;
}

  .fv-title .red {
    font-size: clamp(68px, 19vw, 112px);
  }

  .fv-title .white {
    font-size: clamp(44px, 12vw, 70px);
  }

  .fv-title .large {
    font-size: clamp(54px, 15vw, 86px);
  }

  .fv-desc {
    margin-top: 5%;
   font-size: clamp(12px, 2.8vw, 15px);
  }

  .fv-points {
    grid-template-columns: 1fr;
    margin-top: 5%;
    gap:0;
  }

  .fv-point {
    padding: 0 5px;
    font-size: clamp(21px, 6vw, 28px);
  }

  .fv-question {
    margin-top: 15px;
    text-align: center;
  }

  .fv-question strong {
    font-size: clamp(20px, 5.8vw, 32px);
    line-height: 2.5;
  }

  .human {
    font-size:clamp(24px, 7vw, 36px);
}

.human-ruby {
    top: -0.8em;
}

.fv-point-frame {
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

}

.problem-section {
  position: relative;
  padding:10% 0;
  background: url("/wp-content/themes/allmark_hp_test/images/magnus/problem-bg.png") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}


.problem-head {
  text-align: center;
  margin-bottom: 50px;
}

.problem-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.5;
  color: #D0D7DD;
}

.problem-head h2 span {
  color: #f32222;
  font-size: 1.28em;
}

.problem-head p {
font-family: "Noto Serif JP", serif;
  display: inline-block;
  margin: 18px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: .08em;
}

.problem-list {
  display: grid;
  gap: 26px;
}

.problem-card {
  position: relative;
  min-height: 178px;
}

.problem-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.problem-card-inner {
  position: relative;
  z-index: 1;
  min-height: 178px;
  display: grid;
  align-items: center;
  column-gap: 5%;
  padding: 26px 150px 24px 180px;
}

.problem-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.problem-num {
  text-align: left;
  color: #D73933;
}

.problem-num span {
  display: block;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 800;
  letter-spacing: .08em;
    font-family: "Staatliches", sans-serif;
  font-style: normal;
}

.problem-num strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(30px, 3vw, 50px);
    line-height: .9;
    font-family: "Staatliches", sans-serif;
    font-weight: 400;
    letter-spacing: 0.1rem;
    color: #D73933;
}

.problem-icon img {
  width: 76px;
}

.problem-text {
      width: 550px;
}

.problem-visual {
  justify-self: end;
}

.problem-text h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .04em;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
}

.problem-text h3 em {
  display: block;
  margin-top: 4px;
  color: #ff1f1f;
  font-style: normal;
  font-size: 1.25em;
  text-shadow: 0 0 14px rgba(255, 0, 0, .35);
}

.problem-text p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(12px, .9vw, 14px);
  line-height: 1.75;
  letter-spacing: .04em;
}

.problem-visual {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  justify-self: end;
}

.problem-visual img {
  display: block;
  width: 270px;
  max-width: 100%;
  height: auto;
}

.problem-bottom {
    position: relative;
    margin: 72px auto 0;
    padding: 34px 20px 38px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(20px, 2.3vw, 30px);
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: .08em;
    color: #D0D7DD;
    text-shadow: 0 0 12px rgba(255, 255, 255, .25), 0 0 24px rgba(120, 180, 210, .18);
    width: 80%;
}

.problem-bottom::before,
.problem-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(160, 190, 200, .55) 18%, rgba(200, 230, 235, .75) 50%, rgba(160, 190, 200, .55) 82%, transparent 100%);
}

.problem-bottom::before {
  top: 0;
}

.problem-bottom::after {
  bottom: 0;
}

.problem-frame-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.problem-frame {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* SP */
@media (max-width: 767px) {
  .problem-section {
    padding: 64px 0 50px;
    background: url("/wp-content/themes/allmark_hp_test/images/magnus/problem-bg-sp.png") center top / cover no-repeat;
  }

    .problem-inner {
        width: 95%;
        margin: 0 auto;
    }

  .problem-head {
    margin-bottom: 3%;
  }

  .problem-head h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .problem-head p {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .problem-list {
    gap: 0;
  }

.problem-card {
    position: relative;
  }

  .problem-frame-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .problem-frame {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
  }
 .problem-card {
    position: relative;
  }

    .problem-card-inner {
        position: relative;
        z-index: 1;
        min-height: auto;
        padding: 11% 9%;
        display: grid;
        grid-template-columns: 72px 1fr;
        column-gap: 5px;
        row-gap: 10px;
        align-content: start;
        margin: 0 auto;
    }

  .problem-side {
    align-items: flex-start;
    gap: 10px;
  }

  .problem-icon img {
    width:40px;
  }

  .problem-text {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
  }

  .problem-text h3 {
    font-size: clamp(16px, 4.2vw, 21px);
    line-height: 1.65;
  }

  .problem-text p {
    margin-top: 3%;
    font-size: clamp(10px, 2.9vw, 14px);
    line-height: 1.9;
  }

  .problem-text h3 em {
    font-size: 1.15em;
}

  .problem-visual {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 8px;
    justify-self: center;
  }

  .problem-visual img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

.problem-bottom {
        font-size: clamp(18px, 4vw, 30px);
        margin: 5% auto 0;
        padding: 5% 0;
    }
}

.curse-section {
  position: relative;
  padding: 9% 0 10%;
  background: url("/wp-content/themes/allmark_hp_test/images/magnus/curse-bg.png") center top / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.curse-inner {
  width: min(88%, 1180px);
  margin: 0 auto;
}

.curse-head {
  text-align: center;
  margin-bottom: 56px;
}

.curse-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 600;
  letter-spacing: .08em;
  color: #D0D7DD;
}

.curse-head p {
  margin: 18px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(17px, 1.5vw, 18px);
  letter-spacing: .08em;
  color: #D0D7DD;
}

.curse-list {
  display: grid;
  gap: 84px;
}

.curse-card {
  position: relative;
}

.curse-label {
  position: relative;
  z-index: 2;
  width: min(360px, 48%);
  margin: 0 auto -60px;
  padding: 15px 20px;
  background: #192330;
  border: 1px solid rgba(210,225,235,.65);
  color: #D0D7DD;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 600;
  letter-spacing: .12em;
  box-shadow: 0px 10px 10px -6px rgb(0 0 0 / 20%);
}

.curse-paper {
  position: relative;
  padding: 100px 90px;
  color: #080808;
  text-align: center;
  background: url("/wp-content/themes/allmark_hp_test/images/magnus/curse-paper.png") center / 100% 100% no-repeat;
}

.curse-paper h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 400;
  letter-spacing: .08em;
}

.curse-paper{
   font-family: fude-goshirae;
}

@font-face {
  font-family: "fude-goshirae";
  src:
    url("/wp-content/themes/allmark_hp_test/fonts/fude-goshirae.woff2") format("woff2"),
    url("/wp-content/themes/allmark_hp_test/fonts/fude-goshirae.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.curse-sub {
  margin: 20px 0 30px;
  color: #003b69;
  font-family: fude-goshirae;
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 800;
  letter-spacing: .08em;
}

.curse-body {
  width: min(880px, 92%);
  margin: 0 auto;
}

.curse-body p {
  margin: 0 0 20px;
  font-family: fude-goshirae;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 2.25;
  letter-spacing: .08em;
}

.curse-body p:last-child {
  margin-bottom: 0;
}

.curse-conclusion {
  font-size: clamp(18px, 1.55vw, 24px) !important;
  line-height: 1.9 !important;
}

.curse-conclusion strong {
  color: #003b69;
  font-size: 1.15em;
}

.sp-only {
  display: none;
}

.curse-subhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);

  width: min(92%, 1200px);
  margin: 20px auto 0;
}

.curse-subhead p {
  margin: 0;
  color:#D0D7DD;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 1.3vw, 20px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.8;
  white-space: nowrap;
}

.curse-line {
  display: block;
  width: min(15vw, 380px);
  height: auto;
  flex-shrink: 1;
}

/* SP */
@media (max-width: 767px) {
  .curse-section {
    padding: 10% 0;
    background: url("/wp-content/themes/allmark_hp_test/images/magnus/curse-bg.png") center top / cover no-repeat;
  }

  .curse-inner {
    width: 100%;
  }

  .curse-head {
    width: 100%;
    margin: 0 auto 42px;
  }

  .curse-head h2 {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.55;
    margin: 0 5%;
  }

  .curse-head p {
    font-size: clamp(14px, 4vw, 14px);
  }

  .curse-list {
    gap: 58px;
  }

  .curse-label {
    width: min(78%, 280px);
    margin-bottom: -45px;
    padding: 13px 18px;
    font-size: clamp(15px, 4vw, 19px);
  }

  .curse-paper {
    padding: 25% 5%;
    background-image: url("/wp-content/themes/allmark_hp_test/images/magnus/curse-paper-sp.png");
    background-size: 100% 100%;
  }

  .curse-paper h3 {
    font-size: clamp(22px, 5.8vw, 30px);
    line-height: 1.6;
  }

  .curse-sub {
    margin-bottom: 20px;
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.7;
  }

  .curse-body {
    width: 100%;
  }

  .curse-body p {
    margin-bottom: 20px;
    font-size: clamp(13px, 3.45vw, 16px);
    line-height: 2.2;
    letter-spacing: .06em;
  }

  .curse-conclusion {
    font-size: clamp(17px, 4.5vw, 23px) !important;
  }

  .sp-only {
    display: block;
  }

  .curse-body p:last-child {
    margin: 0 !important;
}

.curse-subhead {
    gap: 12px;
    margin-top: 14px;
  }

  .curse-subhead p {
    font-size: clamp(10px, 2.9vw, 14px);
    white-space: normal;
  }

  .curse-line {
    width: 12vw;
    min-width: 40px;
  }
}

.reverse-section {
  position: relative;
  color: #fff;
  overflow: hidden;
    background: #000;
}

.reverse-top {
    background: linear-gradient(180deg, rgba(1, 7, 12, .10), rgba(1, 5, 8, .30) 66%, rgba(8, 0, 0, .30)), url(/wp-content/themes/allmark_hp_test/images/magnus/reverse-bg.png) center top / cover no-repeat;
    padding: 80px 0 10px;
}

.reverse-lead {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(94%, 1160px);
  margin: 0 auto 22px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: .08em;
  color: #D0D7DD;
}

.reverse-lead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(210,230,235,.7), transparent);
}

.reverse-title-box {
  position: relative;
  width: min(68%, 820px);
  margin: 0 auto 44px 0;
  font-weight: 600;
  padding: 30px 50px 32px 36px;
}

.reverse-title-frame-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: block;

  width: 100%;
  height: 100%;

  pointer-events: none;
}

.reverse-title-frame {
  width: 100%;
  height: 100%;

  object-fit: fill;

  display: block;
}

.reverse-title-box h2 {
  position: relative;
  z-index: 1;
}

.reverse-title-box em {
  color: #e30f16;
  font-style: normal;
}

.reverse-title-box h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .08em;
  font-size: clamp(26px, 3vw, 44px);
  color: #D0D7DD;
}

.reverse-title-box em {
  color: #e30f16;
  font-style: normal;
}

.reverse-text {
  font-family: "Noto Serif JP", serif;
  letter-spacing: .08em;
}

.reverse-text-top {
  width: min(78%, 900px);
  margin: 0 auto 44px;
}

.reverse-text p {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 300;
  line-height: 2;
}

.reverse-border {
  width: 100%;
  height: 1px;
  margin: 30px 0;
  background: rgba(210,230,235,.65);
}

.reverse-message {
    margin: 20px auto 36px;
    padding: 15px;
    background: rgba(139, 8, 4, .70);
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(25px, 2vw, 35px);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: .08em;
    display: inline-block;
    width: auto;
}

.reverse-text-bottom {
  width: min(86%, 1280px);
  margin: 0 auto;
  text-align: center;
  padding-bottom: 10px;
}

.reverse-main-copy {
    margin: 15px 0 28px !important;
    line-height: 1.9 !important;
    font-size: clamp(24px, 2.4vw, 36px) !important;
}

.reverse-message-wrap {
    text-align: center;
}

.reverse-main-copy strong {
    display: inline-block;
    padding: 0 .4em;
    color: #be1116;
    background: #CACAC8;
    font-size: 1em;
    font-weight: 700;
}

.sp-only {
  display: none;
}

/* SP */
@media (max-width: 767px) {
  .reverse-section {
    padding: 20px 0 0;
  }

  .reverse-inner {
    width: 100%;
  }

.reverse-top {
    background: url(/wp-content/themes/allmark_hp_test/images/magnus/reverse-bg.png) right top / cover no-repeat;
    padding: 0;
}

  .reverse-lead {
    width: 86%;
    margin-bottom: 18px;
    font-size: clamp(15px, 4.2vw, 20px);
  }

.reverse-title-box {
    width: 60%;
    margin: 0 auto 20px 0;
    padding: 24px 40px 26px 30px;
  }

  .reverse-title-box h2 {
    font-size: clamp(24px, 6.8vw, 34px);
    line-height: 1.55;
  }

  .reverse-text-top {
    width: 86%;
    margin: 0 auto 42px;
  }

  .reverse-text p {
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 2.15;
  }

  .reverse-border {
    margin: 20px 0;
  }

  .reverse-message {
    width: 82%;
    margin-bottom: 36px;
    padding: 18px 20px;
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .reverse-text-bottom {
    width: 90%;
  }

  .reverse-main-copy {
   font-size: clamp(20px, 5vw, 28px) !important;
  }

  .sp-only {
    display: block;
  }
}

.turning-section {
  position: relative;
  padding: 20% 0;
  color: #fff;
  overflow: hidden;
background: url(/wp-content/themes/allmark_hp_test/images/magnus/turning-bg.png) center / cover no-repeat;
}

.turning-inner {
  width: min(88%, 1220px);
  margin: 0 auto;
}

.turning-copy {
  width: min(820px, 68%);
  margin-left: auto;
  font-family: "Noto Serif JP", serif;
  letter-spacing: .08em;
}

.turning-lead {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(15px, 1.2vw, 20px);
    font-weight: 300;
    line-height: 2.05;
}

.turning-title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .08em;
}

.turning-label {
    display: inline-block;
    padding: 8px 15px 10px;
    margin-right: .3em;
    color: #050505;
    background: #D9D9D9;
    font-size: clamp(24px, 2.5vw, 38px);
    font-weight: 700;
    line-height: 1.25;
}

.turning-shift {
  display: inline;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 600;
}

.turning-title strong {
  display: inline-block;
  margin-top: 15px;
  color: #e61016;
 font-size: clamp(32px, 3.8vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 0 16px rgba(255, 0, 0, .28);
}

.turning-end {
  color: #fff;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 600;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* SP */
@media (max-width: 767px) {
  .turning-section {
    min-height: 1100px;
    padding: 0;
    background: url("/wp-content/themes/allmark_hp_test/images/magnus/turning-bg-sp.png") center top / cover no-repeat;
}

  .turning-inner {
    width: min(88%, 430px);
  }

  .turning-copy {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .turning-lead {
    margin-bottom: 26px;
    font-size: clamp(14px, 3.6vw, 18px);
    line-height: 1.95;
    padding-top: 40px;
  }

    .turning-label {
        display: block;
        width: fit-content;
        margin: 0 auto 10px;
        padding: 6px 18px 9px;
        font-size: clamp(24px, 7vw, 34px);
    }

  .turning-shift {
    display: block;
    font-size: clamp(20px, 5.4vw, 28px);
  }

  .turning-title strong {
    display: block;
    margin-top: 16px;
    font-size: clamp(36px, 8.8vw, 52px);
  }

  .turning-end {
    display: block;
    margin-top: 8px;
    font-size: clamp(20px, 5.4vw, 28px);
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}

.check-section {
  position: relative;
  padding: 72px 0 80px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(60, 6, 8, .72) 0%, rgba(20, 10, 12, 0) 45%, rgba(5, 5, 8, 0) 100%),
    url("/wp-content/themes/allmark_hp_test/images/magnus/check-bg.png") center / cover no-repeat;
}

.check-inner {
  width: min(86%, 1180px);
  margin: 0 auto;
}

.check-title {
  margin: 0 0 36px;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 300;
  letter-spacing: .22em;
}

.check-list {
  width: min(62%, 690px);
}

.check-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 10px;
  align-items: flex-start;
  padding: 26px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.28);
}

.check-item:first-child {
  padding-top: 0;
}

.check-icon {
  width: 28px;
  height: 28px;
  margin-top: 4px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 35, 25, .95);
  border-radius: 4px;
  color: #ff3128;

  font-size: 22px;
  font-weight: 900;
  line-height: 1;

  box-shadow:
    0 0 10px rgba(255, 20, 10, .65),
    inset 0 0 8px rgba(255, 20, 10, .24);
  text-shadow: 0 0 8px rgba(255, 30, 20, .9);
}

.check-item p {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(17px, 1.45vw, 24px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .08em;
}

.check-item em {
  color: #d7a520;
  font-style: normal;
  font-weight: 600;
}

.check-bottom {
    width: min(62%, 800px);
    margin: 54px 0 0 84px;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(25px, 2.6vw, 35px);
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: .08em;
}

.check-bottom em {
  color: #d7a520;
  font-style: normal;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* SP */
@media (max-width: 767px) {
  .check-section {
    padding: 40px 0 60px;
    background:
      linear-gradient(90deg, rgba(70, 8, 10, .78) 0%, rgba(25, 9, 12, .56) 54%, rgba(5, 5, 8, .18) 100%),
      url("/wp-content/themes/allmark_hp_test/images/magnus/check-bg-sp.png") center top / cover no-repeat;
  }

  .check-inner {
    width: min(88%, 420px);
  }

  .check-title {
    margin-bottom: 28px;
    font-size: clamp(16px, 4.6vw, 22px);
  }

  .check-list {
    width: 100%;
  }

  .check-item {
    grid-template-columns: 30px 1fr;
    column-gap: 5px;
    padding: 25px 0;
    width: 95%;
  }

  .check-icon {
    width: 20px;
    height: 20px;
    font-size: 18px;
  }

  .check-item p {
    font-size: clamp(9px, 2.6vw, 14px);
    line-height: 1.9;
  }

  .check-bottom {
    width: 100%;
    margin: 44px 0 0;
    text-align: center;
    font-size: clamp(16px, 4.6vw, 22px);
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}

.magnet-message {
  position: relative;
  padding: 10% 0 12%;
  background: #120000;
  overflow: hidden;
background: url("/wp-content/themes/allmark_hp_test/images/magnus/magnet-message-bg.png") center / cover no-repeat;
}

.magnet-message-inner {
position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magnet-arrow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(42%, 320px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.magnet-message p {
  margin: 0;
  color: #fff;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .12em;
  text-shadow:0 0 30px rgb(38 38 38 / 70%), 0 0 22px rgba(0, 190, 255, .25)
}

.magnet-message em {
  color: #e60012;
  font-style: normal;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .magnet-message {
    padding: 15% 0 40%;
    background-image: url("/wp-content/themes/allmark_hp_test/images/magnus/magnet-message-bg-sp.png");
    background-size: cover;
    background-position: center;
  }

  .magnet-message p {
    font-size: clamp(23px, 6.4vw, 32px);
    line-height: 1.55;
    letter-spacing: .1em;
    padding-top: 24px;
  }

  .magnet-arrow {
    width: 40%;
    top: 10%;
  }

  .sp-only {
    display: block;
  }
}

.magnus-define-section {
  position: relative;
  padding: 4% 0 10%;
  background:
    linear-gradient(180deg, rgba(2,5,8,.2), rgba(2,5,8,.86)),
    url("/wp-content/themes/allmark_hp_test/images/magnus/magnus-define-bg.png") center top / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.magnus-define-inner {
  width: min(88%, 1180px);
  margin: 0 auto;
}

.magnus-logo-area {
  text-align: center;
  margin-bottom: 60px;
}

.magnus-logo {
    display: block;
    width: min(58vw, 520px);
    margin: 7% auto 2%;
}

.magnus-ruby {
    position: relative;
    display: inline-block;
    margin: 0 0 20px;
    padding: 0 42px;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(15px, 1.4vw, 20px);
    letter-spacing: .16em;
    color: #D8D8D8;
}

.magnus-ruby::before,
.magnus-ruby::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: rgba(255,255,255,.65);
}

.magnus-ruby::before {
  left: 0;
}

.magnus-ruby::after {
  right: 0;
}

.magnus-lead {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.8;
  letter-spacing: .12em;
  color: #D0D7DD;
}

.magnus-definition-box {
    position: relative;
    margin: 0 auto;
    padding: 40px 74px 54px;
    border: 0.5px solid rgba(255, 25, 25, .78);
    border-radius: 15px;
    background: rgba(0, 8, 12, .48);
}

.magnus-definition-title {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0 28px;
  color: #ff1616;
  background: #02070a;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: .12em;
}

.magnus-definition-list {
  margin: 0;
}

.magnus-definition-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  column-gap: 48px;
  padding: 17px 0;
}

.magnus-definition-item:not(:last-child) {
  border-bottom: 1px solid rgba(140, 20, 20, .35);
}

.magnus-definition-item dt {
    position: relative;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(28px, 2vw, 38px);
    font-weight: 400;
    letter-spacing: .22em;
    color: #D8D8D8;
}

.magnus-definition-item dt::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);

  width: 1px;
  height: 30px;

  background: rgba(255,255,255,.55);
}

.magnus-definition-item dt span {
  color: #ff1a1a;
}

.magnus-definition-item dd {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(22px, 1.75vw, 30px);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: .08em;
    color: #D8D8D8;
}

@media (max-width: 767px) {
  .magnus-define-section {
    padding: 46px 0 64px;
    background-image: url("/wp-content/themes/allmark_hp_test/images/magnus/magnus-define-bg-sp.png");
    background-size: cover;
    background-position: center top;
  }

  .magnus-define-inner {
    width: min(90%, 430px);
  }

  .magnus-logo-area {
    margin-bottom: 34px;
  }

  .magnus-logo {
    width: min(92%, 360px);
    margin-bottom: 10px;
  }

  .magnus-lead {
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.75;
  }

  .magnus-definition-box {
    padding: 30px 20px 25px;
    border-radius: 8px;
  }

    .magnus-definition-title {
        top: -13px;
        font-size: clamp(17px, 4.4vw, 22px);
        white-space: nowrap;
    }

.magnus-definition-item {
        grid-template-columns: 115px 1fr;
        column-gap: 30px;
        padding: 18px 0;
    }

  .magnus-definition-item dt {
    font-size: clamp(15px, 4vw, 20px);
    letter-spacing: .18em;
  }

  .magnus-definition-item dt::after {
    right: -9px;
    height: 34px;
  }

  .magnus-definition-item dd {
    font-size: clamp(11px, 3vw, 14px);
    line-height: 1.75;
  }
}

.compare-section {
  position: relative;
  padding: 84px 0 96px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5,5,5,.18), rgba(5,5,5,.42)),
    url("/wp-content/themes/allmark_hp_test/images/magnus/compare-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.compare-inner {
  width: min(86%, 1180px);
  margin: 0 auto;
}

.compare-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 44px;
}

.compare-thought {
  text-align: center;
}

.compare-thought h2 {
  margin: 0 0 28px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .08em;
}

.compare-thought.new h2 {
  color: #d8a326;
}

.compare-thought.new h2 span {
  display: block;
}

.compare-thought p {
  margin: 0 auto 28px;
  color:#CBC9C6;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 2;
  letter-spacing: .06em;
  min-height: 88px;
}

.compare-thought figure {
  margin: 0;
}

.compare-thought img {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 8px;
}

.compare-top {
  position: relative;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}

.compare-top::before {
  content: "";
  position: absolute;

  top: 10px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);

  width: 1px;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0),
      rgba(255,255,255,.24) 12%,
      rgba(255,255,255,.28) 50%,
      rgba(255,255,255,.24) 88%,
      rgba(255,255,255,0)
    );

  pointer-events: none;
}

.compare-thought {
  display: flex;
  flex-direction: column;

  text-align: center;
}

.compare-thought.old h2 {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-thought h2 {
  min-height: 84px;
}

.compare-thought p {
  min-height: 92px;
  display: flex;
  align-items: center;
}

.compare-thought figure {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 240px;

  margin-top: auto;
}

.compare-message {
  text-align: center;
  margin: 28px 0 32px;
}

.compare-message p {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .08em;
  color: #CDCECD;
}

.compare-message em {
  color: #d8a326;
  font-style: normal;
}

.compare-message span {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  font-family: "Noto Serif JP", serif;
  font-size:clamp(18px, 1.3vw, 20px);
  line-height: 2;
  letter-spacing: .06em;
}

.compare-table-wrap {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.4) rgba(255,255,255,.08);
}

/* Chrome / Safari */
.compare-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.compare-table-wrap::-webkit-scrollbar-track {
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}

.compare-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.42);
  border-radius: 999px;
}

.compare-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,.6);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(0, 0, 0, .68);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(14px, 1.15vw, 16px);
  color: #fff;
  letter-spacing: .04em;
}

.compare-table th,
.compare-table td {
  border: 1px solid rgba(255,255,255,.24);
  padding: 14px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.65;
}

.compare-table thead th {
  padding: 12px;
  background: rgba(8, 12, 14, .92);
  font-weight: 600;
  font-size: clamp(15px, 1.35vw, 18px);
  color: #CDCECD;
}

.compare-table tbody td:nth-child(2),
.compare-table thead th:nth-child(2) {
  background:
    linear-gradient(
      90deg,
      #1A2127 0%,
      #0F1317 100%
    );

  color: rgba(255,255,255,.92);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 -1px 0 rgba(0,0,0,.55);
}

.compare-table tbody td:nth-child(2),
.compare-table thead th:nth-child(2) {
  background:
    linear-gradient(
      90deg,
      #12181d 0%,
      #0F1317 100%
    ) !important;
}

.compare-table thead th:nth-child(1) {
  width: 26%;
}

.compare-table thead th:nth-child(2) {
    width: 33%;
    color: #CDCECD;
}

.compare-table thead th:nth-child(3) {
  width: 41%;
  color: #d8a326;
  background: linear-gradient(
  180deg,
  #2E0A0B 0%,
  #17090A 48%,
  #2B0506 100%
);
  border-color: rgba(255, 45, 45, .6);
}

.compare-table tbody th {
  text-align: center;
  font-weight: 500;
  background: rgba(8, 12, 14, .82);
}

.compare-table tbody th img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
}

.compare-table tbody th span {
  vertical-align: middle;
  color: #CDCECD;
}

.compare-table tbody td:nth-child(2) {
  background: rgba(8, 12, 14, .72);
  color: #CFCECC;
}

.compare-table tbody td:nth-child(3) {
    position: relative;
    color: #d8a326;
    font-weight: 500;
    background: linear-gradient(
  90deg,
  #2E0A0B 0%,
  #17090A 48%,
  #2B0506 100%
);
    border-color: rgba(255, 45, 45, .52);
}

.compare-table tbody td:nth-child(3)::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid #f4c531;
}

/* SP */
@media (max-width: 767px) {
  .compare-section {
    padding: 58px 0 30px;
    background:
      linear-gradient(180deg, rgba(5,5,5,.24), rgba(5,5,5,.56)),
      url("/wp-content/themes/allmark_hp_test/images/magnus/compare-bg-sp.png") center top / cover no-repeat;
  }

  .compare-inner {
    width: min(88%, 430px);
  }

  .compare-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 56px;
  }

    .compare-thought h2 {
        margin-bottom: 15px;
        font-size: clamp(22px, 5.6vw, 30px);
    }

  .compare-thought p {
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 2;
  }

  .compare-thought img {
    width: min(100%, 330px);
  }

  .compare-message {
    margin: 0 calc(50% - 50vw) 34px;
    padding: 0 7% 0;
  }

  .compare-message p {
    font-size: clamp(16px, 4.4vw, 24px);
  }

  .compare-message span {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .compare-table-wrap {
    overflow-x: auto;
  }

  .compare-table {
    min-width: 620px;
    font-size: 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 13px 10px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .compare-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .compare-table {
    min-width: 620px;
    font-size: 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 15px;
  }

  .compare-table tbody th img {
    width: 21px;
    height: 21px;
    margin-right: 7px;
  }

  .compare-top::before {
    display: none;
  }

  .compare-table thead th:nth-child(2) {
    width: 20%;
    color: #CFCECC;
}

.compare-table thead th:nth-child(1) {
    width: 15%;
}

.compare-table thead th:nth-child(3) {
    width: 20%;
}

.compare-thought.old h2 {
  min-height: 50px;
}

.compare-thought p {
    margin: 0 auto 15px;
}

}

.structure-section {
  position: relative;
  padding: 70px 0 0;
  background: #03080b;
  color: #fff;
  overflow: hidden;
}

.structure-inner {
  width: 100%;
  margin: 0 auto;
}

.structure-head {
  width: min(88%, 1080px);
  margin: 0 auto 42px;
  text-align: center;
}

.structure-kicker {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.8;
  letter-spacing: .08em;
  color: #CDCECD;
}

.structure-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .08em;
  color: #CDCECD;
}

.structure-head h2 em {
  color: #e21b1b;
  font-style: normal;
}

.structure-note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 0;
  color: #CDCECD;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 1.3vw, 20px);
  letter-spacing: .08em;
}

.structure-note::before,
.structure-note::after {
  content: "";
  width: 90px;
  height: 1px;
  background: rgba(255,255,255,.45);
}

.structure-note em,
.structure-note strong {
  color: #d81818;
  font-style: normal;
}

.structure-map {
  width: min(88%, 1040px);
  margin: 0 auto 48px;
}

.structure-map img,
.structure-compare img {
  display: block;
  width: 100%;
  height: auto;
}

.structure-message {
    position: relative;
    width: 80%;
    padding: 24px 20px 26px;
    background: linear-gradient(
90deg, transparent 0%, rgba(42, 42, 42, 0.82) 18%, rgba(66, 66, 66, 0.88) 50%, rgba(42, 42, 42, 0.82) 82%, transparent 100% 100%);
    text-align: center;
    display: block;
    margin: 0 auto;
}

.structure-message p {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.65;
  letter-spacing: .08em;
color: #CDCECD;
}

.structure-message em {
  color: #08b7ff;
  font-style: normal;
  font-weight: 600;
}

.structure-compare {
  width: 100%;
  margin: 0 auto;
}

.sp-only {
  display: none;
}

/* SP */
@media (max-width: 767px) {
  .structure-section {
    padding-top: 46px;
  }

  .structure-head {
    width: min(88%, 420px);
    margin-bottom: 30px;
  }

    .structure-kicker {
        font-size: clamp(13px, 3.6vw, 16px);
        line-height: 1.7;
        margin: 0 0 10px;
    }

  .structure-head h2 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.55;
  }

  .structure-note {
    gap: 10px;
    font-size: clamp(11px, 3vw, 13px);
  }

  .structure-note::before,
  .structure-note::after {
    width: 52px;
  }

  .structure-map {
    width: min(90%, 420px);
    margin-bottom: 36px;
  }

  .structure-message {
    padding: 20px 0;
  }

  .structure-message p {
    font-size: clamp(13px, 3.6vw, 18px);
    line-height: 1.8;
  }

  .structure-compare {
    width: 100%;
  }

  .sp-only {
    display: block;
  }
}

.magnet-case-section {
  position: relative;
  padding: 72px 0 76px;
  color: #fff;
  background:url("/wp-content/themes/allmark_hp_test/images/magnus/magnet-case-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.magnet-case-inner {
  width: min(80%, 1080px);
  margin: 0 auto;
}

.magnet-case-title {
  margin: 0 0 42px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .08em;
color: #CDCECD;
}

.case-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1.2;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
}

.case-heading .main {
  font-size: clamp(20px, 1.8vw, 28px);
}

.case-heading .sub {
  font-size: clamp(13px, 1vw, 18px);
  opacity: .9;
}

.magnet-case-grid {
  display: grid;
  grid-template-columns: 0.92fr 90px 1.08fr;
  gap: 5px;
  align-items: center;
}

.case-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-arrow img {
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
}


.case-column h3 {
  margin: 0 0 20px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: .08em;
  color: #CDCECD;
}

.case-column.new h3 {
  color: #00b7ff;
}

.case-column {
  display: grid;
  gap: 18px;
}

.case-card {
  min-height: 112px;
  padding: 18px 22px;
  display: grid;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(7, 12, 18, .58);
  font-family: "Noto Serif JP", serif;
}

.old .case-card {
  grid-template-columns: 110px 1fr;
  gap: 22px;
}

.case-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.case-side .case-type {
  margin: 0;
  text-align: center;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}

.new .case-card {
  grid-template-columns: 40px 60px 1fr;
  border-color: rgba(0, 183, 255, .85);
  background: rgba(0, 25, 42, .58);
  box-shadow:
    0 0 18px rgba(0, 166, 255, .42),
    inset 0 0 18px rgba(0, 166, 255, .18);
}

.case-icon img {
    display: block;
    width:50px;
    height: 50px;
}

.case-column.new .case-icon img {
  display: block;
  width: 55px;
  height: 55px;
}
.case-type {
  margin: 0;
  text-align: center;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}

.case-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00b7ff;
    font-size: clamp(21px, 1.8vw, 30px);
    font-family: "Times New Roman", serif;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    box-shadow: inset 0 0 18px rgba(87, 148, 186, .23), 0 0 12px rgba(0, 183, 255, .18);
}

.case-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(15px, 1.25vw, 20px);
    line-height: 1.55;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 5%;
    text-align: center;
    border-radius: 5px;
    box-shadow: inset 0 0 18px #5794ba3b;
    color: #CDCECD;
}

.new .case-copy strong {
  color: #00b7ff;
}

.case-copy span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size:clamp(12px, 1vw, 14px);
  line-height: 1.7;
}

.magnet-case-bottom {
  margin-top: 44px;
  text-align: center;
}

.magnet-case-bottom p {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.8;
  letter-spacing: .08em;
  color: #CDCECD;
}

.magnet-case-bottom em {
  color: #00b7ff;
  font-style: normal;
  font-weight: 600;
}

.magnet-case-sp {
  display: none;
}

@media (max-width: 767px) {
  .magnet-case-grid {
    display: none;
  }

  .magnet-case-sp {
    display: grid;
    gap: 34px;
  }

  .case-sp-industry {
    margin: 0 0 10px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.7;
    letter-spacing: .06em;
    color: rgba(255,255,255,.9);
  }

  .magnet-case-sp .case-heading {
    margin: 0 0 8px;
    text-align: center;
    color: rgba(255,255,255,.85);
  }

  .magnet-case-sp .new-heading {
    color: #00b7ff;
  }

  .magnet-case-sp .case-card {
    min-height: auto;
    padding: 10px;
  }

  .magnet-case-sp .old-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
  }

.magnet-case-sp .new-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
        border-color: rgba(0, 183, 255, .85);
    background: rgba(0, 25, 42, .58);
    box-shadow: 0 0 18px rgba(0, 166, 255, .42), inset 0 0 18px rgba(0, 166, 255, .18);
  }

  .magnet-case-sp .case-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .magnet-case-sp .case-num {
    width: 42px;
    height: 42px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
  }
  

  .case-arrow-sp {
    width: 48px;
    margin: 8px auto;
  }

  .case-arrow-sp img {
    display: block;
    width: 100%;
    height: auto;
  }

  .magnet-case-sp .case-icon img {
    width: 42px;
    height: 42px;
  }

}

/* SP */
@media (max-width: 767px) {
  .magnet-case-section {
    padding: 30px 0 64px;
    background:
      linear-gradient(180deg, rgba(3,8,14,.45), rgba(2,6,10,.92)),
      url("/wp-content/themes/allmark_hp_test/images/magnus/magnet-case-bg.png") center top / cover no-repeat;
  }

  .magnet-case-inner {
    width: min(90%, 430px);
  }

  .magnet-case-title {
    margin-bottom: 32px;
    font-size:clamp(16px, 4.4vw, 24px);
  }

.magnet-case-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .case-arrow {
    order: 2;
    margin: -6px auto;
  }

  .case-column.new {
    order: 3;
  }

  .case-arrow img {
    width: 62px;
  }

  .case-card,
  .old .case-card,
  .new .case-card {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 15px;
  }

    .old .case-card {
        grid-template-columns: 80px 1fr;
        align-items: center;
        min-height: unset !important;
        gap: 0 3%;
}

  .case-side {
    gap: 6px;
  }

  .case-side .case-type {
    font-size: 10px;
  }

  .old .case-card .case-type {
    grid-column: 1;
    font-size: 11px;
  }

  .old .case-card .case-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .new .case-card {
    grid-template-columns: 42px 54px 1fr;
  }

    .case-icon img {
        width: 40px;
        height: 40px;
    }

  .case-copy strong {
    font-size: clamp(14px, 3.6vw, 18px);
  }

  .case-copy span {
    font-size: clamp(11px, 3vw, 13px);
  }

  .magnet-case-bottom {
    margin-top: 34px;
  }

  .magnet-case-bottom p {
    font-size: clamp(14px, 3.7vw, 18px);
  }

  h3.case-heading {
    margin-bottom: 3%;
}

.case-copy strong{
    padding: 3%;
}

    .case-column.new .case-card {
        display: grid;
        grid-template-columns: 45px 1fr;
        gap: 10px;
        align-items: center;
        min-height: unset;
    }

  .case-column.new .case-num,
  .case-column.new .case-icon {
    grid-column: 1;
  }

  .case-column.new .case-copy {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .case-column.new .case-num {
    margin: 0 auto;
  }

  .case-column.new .case-icon {
    margin: 0 auto;
  }

  .case-column.new .case-icon img {
    display: block;
    width: 35px;
    height: 35px;
}

.case-num {
    width: 40px;
    height: 40px;
}
}

.magnus-needed-section {
  position: relative;
  padding: 80px 20px;
  background: #02060b;
  overflow: hidden;
  color: #fff;
}

.magnus-needed-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/wp-content/themes/allmark_hp_test/images/magnus/magnus-needed-bg.png") center center / cover no-repeat;
}

.magnus-needed-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.45) 48%,
      rgba(0,0,0,.12) 100%
    );
}

.magnus-needed-inner {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
}

.magnus-needed-frame-wrap,
.magnus-needed-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.magnus-needed-frame {
  object-fit: fill;
}

.magnus-needed-content {
    position: relative;
    z-index: 1;
    padding: 50px 120px;
    display: flex;
    align-items: center;
}

.magnus-needed-text h2 {
  margin: 0 0 26px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(46px, 4vw, 72px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .06em;
  color: #CDCECD;
}

.magnus-needed-sub {
  display: inline-block;
  margin: 0 0 38px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(130, 210, 255, .35);
  color: #8fd8ff;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 1.7vw, 34px);
}

.magnus-needed-body p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.9);
  font-size: clamp(18px, 1.1vw, 22px);
  line-height: 2.1;
  letter-spacing: .04em;
  font-family: "Noto Serif JP", serif;
}

.magnus-needed-em {
  margin-top: 20px !important;
  color: #fff !important;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 2.4vw, 50px) !important;
  line-height: 1.7 !important;
}

.magnus-needed-last {
    margin-top: 30px;
    color: #ffcf63;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(36px, 2.7vw, 56px);
    line-height: 1.6;
    letter-spacing: .08em;
    text-align: center;
    margin-bottom: 0;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .magnus-needed-section {
    padding: 0;
  }

  .magnus-needed-bg {
    background-image: url("/wp-content/themes/allmark_hp_test/images/magnus/magnus-needed-bg-sp.png");
    background-position: center top;
  }

  .magnus-needed-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.58) 0%,
        rgba(0,0,0,.42) 48%,
        rgba(0,0,0,.76) 100%
      );
  }

  .magnus-needed-inner {
    width: min(94%, 430px);
  }

  .magnus-needed-content {
    min-height: auto;
    padding: 48px 10px 54px;
    display: block;
  }

  .magnus-needed-text h2 {
    font-size: clamp(28px, 7.2vw, 42px);
    line-height: 1.45;
  }

  .magnus-needed-sub {
    font-size: clamp(18px, 4.2vw, 26px);
  }

  .magnus-needed-body p {
    font-size: clamp(12px, 3vw, 16px);
    line-height: 2;
  }

  .magnus-needed-em {
    font-size: clamp(16px, 4vw, 24px)  !important;
  }

  .magnus-needed-last {
    font-size:clamp(17px, 4.4vw, 26px) !important;
    text-align: left;
  }

  .sp-only {
    display: block;
  }

  .magnus-needed-body {
    width: 85%;
}

.magnus-needed-sub {
  margin: 0 0 20px;
}
}

.magnet-cta-section {
  position: relative;
  overflow: hidden;
  padding: 10% 0;

  background:
    linear-gradient(
      180deg,
      #02070c 0%,
      #02070c 55%,
      #04090d 100%
    );
}

.magnet-cta-inner {
  width: min(92%, 1200px);
  margin: 0 auto;
  text-align: center;
}

/* CTA画像 */
.magnet-cta-btn {
  display: block;
  width: min(100%, 980px);
  margin: 0 auto 10px;

  transition:
    transform .3s ease,
    filter .3s ease;
}

.magnet-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.magnet-cta-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* 下テキスト */
.magnet-cta-copy h2 {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .08em;
}

.magnet-cta-copy h2 em {
  color: #e21b1b;
  font-style: normal;
}

.magnet-cta-copy p {
  margin: 20px 0 0;

  color: rgba(255,255,255,.86);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.8;
  letter-spacing: .06em;
}

/* SP */
@media (max-width: 767px) {

  .magnet-cta-section {
    padding:15% 0;
  }

  .magnet-cta-inner {
    width: min(94%, 430px);
  }

  .magnet-cta-btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .magnet-cta-copy h2 {
    font-size: clamp(17px, 4.4vw, 26px);
    line-height: 1.55;
  }

  .magnet-cta-copy p {
    margin-top: 5px;
    font-size: clamp(11px, 3vw, 14px);
    line-height: 1.9;
  }
}

.will-section {
  position: relative;
  padding: 76px 0 88px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(70, 120, 155, .12) 0%,
      rgba(120, 160, 185, .10) 48%,
      rgba(170, 210, 230, .08) 100%
    ),
    url("/wp-content/themes/allmark_hp_test/images/magnus/will-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.will-inner {
  width: min(88%, 1160px);
  margin: 0 auto;
}

.will-content {
  width: min(920px, 80%);
}

.will-content h2 {
  margin: 0 0 42px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .06em;
  text-shadow:0 0 20px rgb(9 66 89)
}

.will-content em {
  color: #ffcf63;
  font-style: normal;
}

.will-body p {
  margin: 0 0 32px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: .06em;
  text-shadow: 0 0 20px rgb(9 66 89);
}

.will-bottom {
  margin: 48px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
text-shadow: 0 0 20px rgb(9 66 89);
}

.will-bottom-sub {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .06em;
}

.will-bottom-main {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2.2vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

.will-bottom-main em {
  color: #ffcf63;
  font-style: normal;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* SP */
@media (max-width: 767px) {
  .will-section {
    padding: 52px 0 64px;
    background:
      linear-gradient(
        180deg,
        rgba(120, 165, 190, .18) 0%,
        rgba(90, 135, 165, .12) 100%
      ),
      url("/wp-content/themes/allmark_hp_test/images/magnus/will-bg-sp.png") center top / cover no-repeat;
  }

  .will-inner {
    width: min(86%, 430px);
  }

  .will-content {
    width: 100%;
  }

  .will-content h2 {
    margin-bottom: 34px;
    font-size: clamp(26px, 7vw, 38px);
    line-height: 1.6;
  }

  .will-body p {
    margin-bottom: 28px;
    font-size: clamp(14px, 3.8vw, 20px);
    line-height: 2;
    letter-spacing: .05em;
  }

  .will-bottom {
    margin-top: 38px;
    font-size: clamp(25px, 6.8vw, 36px);
    line-height: 1.8;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}

.company-section {
        padding: 60px 0;
        background: linear-gradient(180deg, #153147 0%, #000000 100%);
    }

.company-inner {
  width: min(86%, 820px);
  margin: 0 auto;
  text-align: center;
}

.company-title {
  margin: 0 0 58px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
}

.company-info {
  width: min(100%, 640px);
  margin: 0 auto 56px;
  font-family: "Noto Serif JP", serif;
}

.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  text-align: left;
}

.company-row:first-child {
  border-top: none;
}

.company-row dt {
  color: rgba(255,255,255,.78);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .08em;
}

.company-row dd {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.8;
  letter-spacing: .06em;
}

.company-row a {
  color: #fff;
  text-decoration: none;
  text-underline-offset: 4px;
}

.company-lead {
  margin: 0 0 26px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.9;
  letter-spacing: .08em;
  color: #fff;
}

.company-cta {
  display: block;
  width: min(100%, 720px);
  margin: 0 auto;
  transition: transform .3s ease, filter .3s ease;
}

.company-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.company-cta img {
  display: block;
  width: 100%;
  height: auto;
}

/* footer */
.magnus-footer {
  background: #020507;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  padding: 34px 0;
}

.magnus-footer-inner {
  width: min(88%, 1100px);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin: 0 0 22px;
}

.footer-logo img {
  display: block;
  width: min(220px, 52vw);
  height: auto;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-nav a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: .04em;
}

.sp-only {
  display: none;
}

/* SP */
@media (max-width: 767px) {
  .company-section {
    padding: 62px 0;
    background:
      linear-gradient(180deg, #153147 0%, #120000 100%);
  }

  .company-inner {
    width: min(88%, 430px);
  }

  .company-title {
    margin-bottom: 38px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .company-info {
    margin-bottom: 56px;
  }

  .company-row {
    grid-template-columns: 92px 1fr;
    padding: 18px 0;
  }

  .company-row dt {
    font-size: 12px;
    text-align: center;
  }

  .company-row dd {
    font-size: 12px;
    margin-left: 5%;
  }

  .company-lead {
    margin-bottom: 22px;
    font-size: clamp(18px, 4.8vw, 24px);
    line-height: 1.85;
  }

  .company-cta {
    width: 100%;
  }

  .magnus-footer {
    padding: 30px 0;
  }

  .footer-nav {
    gap: 14px;
    flex-direction: column;
  }

  .sp-only {
    display: block;
  }
}