/* ==========================================================================
   シャープナー LP — style.css
   セクション配置（モバイルファースト・帯内は常時 SP レイアウト）
   ========================================================================== */

/* --------------------------------------------------------------------------
   FV
   -------------------------------------------------------------------------- */

.wms-fv {
  position: relative;
  width: 100%;
  height: auto;
  /* 画像 375×680 に合わせ、高さは帯幅から算出 */
  aspect-ratio: 375 / 680;
  background-color: var(--wms-color-bg);
}

/* 上辺を基準に全面表示 */
.wms-fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: top center;
  pointer-events: none;
}

.wms-fv__content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 左上見出し */
.wms-fv__heading {
  position: absolute;
  top: 45px;
  left: 56px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--wms-font-heading);
  font-weight: 400;
  font-style: normal;
}

/* 横文字 h2：四角ボーダー・4文字 */
.wms-fv__label {
  display: inline-block;
  padding: 12px 10px;
  font-family: var(--wms-font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  line-height: 1;
  color: var(--wms-color-main);
  writing-mode: horizontal-tb;
  border: 2px solid var(--wms-color-main);
  background-color: transparent;
}

/* 縦文字キャッチ：1列目小 / 2列目大 */
.wms-fv__catch {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--wms-font-heading);
  font-weight: 400;
  font-style: normal;
  color: var(--wms-color-main);
  line-height: 1.35;
}

.wms-fv__catch-col {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.08em;
}

.wms-fv__catch-col--sm {
  font-size: 2rem;
  font-weight: 400;
}

.wms-fv__catch-col--lg {
  font-size: 4rem;
  font-weight: 400;
}

/* 右下バッジ */
.wms-fv__aside {
  position: absolute;
  right: 20px;
  bottom: 130px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wms-fv__badge {
  display: block;
  width: 143px;
  height: auto;
  pointer-events: none;
}

.wms-fv__cta {
  width: 85%;
}

.wms-fv .wms-fv__cta {
  position: absolute;
  left: 50%;
  bottom: 36px;
  gap: 1rem;
  z-index: 1;
  transform: translateX(-50%);
  margin-bottom: 0;
}

.wms-fv__sticky-sentinel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   appeal / about
   -------------------------------------------------------------------------- */

.wms-appeal {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background-color: #111111;
  background-image: url("img/about-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.wms-appeal__inner {
  width: 90%;
  margin: 0 auto;
  padding: 0;
}

.wms-appeal .wms-section-heading {
  position: relative;
}

.wms-appeal .wms-section-heading::after {
  content: "ABOUT";
  position: absolute;
  left: 50%;
  top: -30%;
  z-index: 0;
  transform: translate(-50%, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-appeal__body {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.wms-appeal__text {
  color: var(--wms-color-text-muted);
}

.wms-appeal__text + .wms-appeal__text {
  margin-top: 12px;
}

.wms-appeal__visual-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: var(--wms-color-bg-muted);
}

/* --------------------------------------------------------------------------
   features / trouble
   -------------------------------------------------------------------------- */
.wms-features__inner {
  width: 90%;
  margin: 0 auto;
  padding: 0;
}

.wms-features .wms-section-heading {
  position: relative;
}

.wms-features .wms-section-heading::after {
  content: "TROUBLE";
  position: absolute;
  left: 50%;
  top: -41%;
  z-index: 0;
  transform: translate(-50%, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-features {
  position: relative;
  z-index: 2;
  padding-top: 4.7rem;
  padding-bottom: 10rem;
  background-image: url("img/trouble-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.wms-features__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 200px;
}

.wms-features__item {
  position: relative;
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
}

.wms-features__item::before,
.wms-features__item::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  pointer-events: none;
}

.wms-features__item::before {
  top: 0;
  left: 0;
  border-top: 1px solid var(--wms-color-main);
  border-left: 1px solid var(--wms-color-main);
}

.wms-features__item::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--wms-color-main);
  border-bottom: 1px solid var(--wms-color-main);
}

.wms-features__item:nth-child(even) {
  justify-self: end;
}
.wms-features__item-img {
  width: 26px;
  height: 26px;
  aspect-ratio: 480 / 270;
}

.wms-features__item-title {
  margin-top: 16px;
  font-family: var(--wms-font-main);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--wms-color-main);
}

.wms-features__item-text {
  line-height: normal;
  font-size: 1.1rem;
  color: var(--wms-color-text-muted);
}

/* --------------------------------------------------------------------------
   testimonials
   -------------------------------------------------------------------------- */

.wms-testimonials {
  position: relative;
  z-index: 1;
  padding-block: 160px 90px;
  margin-top: -126px;
  background-image: url("img/trouble-bg2.png");
  background-color: #111;
  background-repeat: no-repeat;
  background-position: center 3.2%;
  background-size: contain;
}
.wms-testimonials .wms-section-heading__title {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.wms-testimonials .wms-section-heading__title-icon {
  width: 60%;
  height: auto;
  object-fit: contain;
}
.wms-testimonials .wms-section-heading__title-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.wms-testimonials .wms-section-heading__title-text {
  font-size: var(--wms-font-size-section-heading-lead);
  font-weight: 700;
  color: var(--wms-color-main);
  width: 90%;
  margin: 0 auto;
}
.wms-how-to-use__item-num-text {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: bottom;
  color: var(--wms-color-main);
}
.wms-section-heading__title-text::after {
  content: "";
  display: block;
  width: 100%;
  height: 15px;
  background-image: url("img/wms-border.webp");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  margin-top: 22px;
}
.wms-testimonials .wms-section-heading__title-accent {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wms-color-main);
}
.wms-testimonials .wms-section-heading__title-heading {
  position: relative;
  display: block;
  width: 60%;
  margin: 0 auto;
}

.wms-testimonials .wms-section-heading__title-heading img {
  display: block;
  width: 100%;
  height: auto;
}

.wms-testimonials .wms-section-heading__title-heading::after {
  content: "";
  position: absolute;
  top: -80%;
  right: -20%;
  z-index: 1;
  width:116.64px;
  height: 118px;
  background-image: url("img/trouble-accent.webp");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  pointer-events: none;
}

.wms-testimonials .wms-section-heading::after {
  content: none;
}

.wms-testimonials__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
  padding-top: 40px;
  padding-inline: 10px;
  gap: 10px;
  margin: 0 auto;
}
.wms-testimonials__list:nth-of-type(2){
  padding-top: 20rem;
}
.wms-testimonials__list:nth-of-type(2) .wms-testimonials__item {
  display: grid;
  place-content: center;
  place-items: center;
  padding-bottom: 0;
}
.wms-testimonials__list:last-child{
  padding-top:20rem;
}
.wms-testimonials__list:last-child .wms-testimonials__item{
  padding-top: 2rem;
  padding-bottom: 0;
  justify-content: end;
}
.wms-testimonials__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding-bottom: 60px;
  padding-inline: 10px;
  text-align: center;
  z-index: 0;
  box-sizing: border-box;
}
.wms-how-to-use__description{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wms-color-main);
  padding: 2rem 1rem;
  background: var(--wms-gradient-brand-a50);
  overflow: visible;
  border: 1px solid var(--wms-color-main);
}

.wms-how-to-use__description::after {
  content: "";
  position: absolute;
  top: 47px;
  left: 3%;
  z-index: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--wms-color-bg);
  transform: translate(40%, -50%);
  pointer-events: none;
}

.wms-how-to-use__description-icon {
  position: relative;
  z-index: 1;
  display: inline-block;
  flex-shrink: 0;
  margin-left: -1rem;
  padding: 4px 4px 4px calc(.5rem + 4px);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--wms-color-main);
  background-color: var(--wms-color-bg);
}

.wms-how-to-use__description > p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.1rem;
}
.wms-testimonials__item-border {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.wms-testimonials__item-img {
  width: 25%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.wms-testimonials__item-name {
  margin-top: 12px;
  min-height: auto;
  font-size: 1rem;
  font-weight: 700;
  line-height: normal;
  color: var(--wms-color-main);
}

.wms-testimonials__item-text {
  margin-top: 8px;
  font-size: .8rem;
  text-align: left;
  color: var(--wms-color-text-muted);
  padding-bottom: 0;
}

/* 比較表（4列 × 最大6行）
   青グラデ・灰色はセル背景で描画（固定サイズ疑似要素は使わない） */
.wms-testimonials__table-wrap {
  position: relative;
  width: 100%;
  margin-top: 48px;
  padding-block: 24px;
  overflow: visible;
}

.wms-testimonials__table {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background-color: transparent;
  overflow: visible;
}

.wms-testimonials__table-col--label {
  width: 17%;
}

.wms-testimonials__table-col--wave {
  width: 33%;
}

.wms-testimonials__table-col--data {
  width: 25%;
}

/* 3・4列目：灰色 */
.wms-testimonials__table tr > *:nth-child(3),
.wms-testimonials__table tr > *:nth-child(4) {
  background-color: #333333;
}

/* 2列目（WAVE）：縦グラデを行またぎで連続表示 */
.wms-testimonials__table tr > *:nth-child(2) {
  position: relative;
  z-index: 1;
  background-image: linear-gradient(180deg, #176ad8 0%, #001e52 100%);
  background-repeat: no-repeat;
  background-size: 100% 600%;
}

.wms-testimonials__table tbody tr:nth-child(1) > *:nth-child(2) {
  background-position: center 0%;
  /* 灰色列より上にはみ出し（行高は増やさない） */
  box-shadow: 0 -20px 0 0 #176ad8;
}

.wms-testimonials__table tbody tr:nth-child(2) > *:nth-child(2) {
  background-position: center 20%;
}

.wms-testimonials__table tbody tr:nth-child(3) > *:nth-child(2) {
  background-position: center 40%;
}

.wms-testimonials__table tbody tr:nth-child(4) > *:nth-child(2) {
  background-position: center 60%;
}

.wms-testimonials__table tbody tr:nth-child(5) > *:nth-child(2) {
  background-position: center 80%;
}

.wms-testimonials__table tbody tr:nth-child(6) > *:nth-child(2) {
  background-position: center 100%;
  /* 灰色列より下にはみ出し */
  box-shadow: 0 20px 0 0 #001e52;
}

.wms-testimonials__table th,
.wms-testimonials__table td {
  padding: 12px 4px;
  vertical-align: middle;
  font-size: .65rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.wms-testimonials__table tbody tr:last-child th,
.wms-testimonials__table tbody tr:last-child td {
  border-bottom: none;
}

.wms-testimonials__table-corner,
.wms-testimonials__table-label {
  padding-inline: 2px;
}

.wms-testimonials__table th.wms-testimonials__table-label {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: var(--wms-color-main);
  word-break: keep-all;
}

.wms-testimonials__table-head {
  vertical-align: top;
  text-align: center;
}

.wms-testimonials__table-head-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.wms-testimonials__table-head-img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.wms-testimonials__table-head-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--wms-color-main);
}

.wms-testimonials__table-icon {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto 6px;
}

.wms-testimonials__table-text {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.5;
  font-weight: bold;
  color: var(--wms-color-text-muted);
}

.wms-testimonials__extras {
  position: relative;
  width: 90%;
  margin: 4rem auto 0;
  border: 1px solid var(--wms-color-main);
  background-color: rgb(41, 41, 41);
  padding: 30px;
}

.wms-testimonials__extras::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  background-image: url("img/arrow-down.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.wms-testimonials__extras-title {
  margin: 0 0 30px;
  font-family: var(--wms-font-main);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--wms-color-main);
}

.wms-testimonials__extras-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wms-testimonials__extras-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.wms-testimonials__extras-item-img {
  flex-shrink: 0;
  width: 20%;
  height: auto;
  object-fit: contain;
}

.wms-testimonials__extras-item-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--wms-color-text-muted);
}

/* --------------------------------------------------------------------------
   use-cases
   -------------------------------------------------------------------------- */

.wms-use-cases {
  padding-block: 120px 80px;
  background-color: #111111;
  overflow: hidden;
}

.wms-use-cases__inner .wms-section-heading {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  text-align: right;
}

.wms-use-cases__inner .wms-section-heading::after {
  content: "REVIEW";
  position: absolute;
  left: 0;
  right: auto;
  top: 0;
  z-index: 0;
  transform: translate(0, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-use-cases__inner .wms-section-heading__title {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-left: auto;
  margin-right: 0;
  padding: 2px 20px;
  background: var(--wms-gradient-brand);
  font-size: var(--wms-font-size-section-heading-lead);
  line-height: 1.4;
  text-align: right;
  color: var(--wms-color-main);
}

.wms-use-cases__slider {
  position: relative;
  margin-top: 4rem;
}

.wms-use-cases__slider-viewport {
  overflow: hidden;
  width: 100%;
  container-type: inline-size;
  container-name: review-slider;
}

.wms-use-cases__list {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.35s ease;
  will-change: transform;
}

.wms-use-cases__item {
  flex: 0 0 auto;
  width: 78cqw;
  max-width: 340px;
  min-width: 260px;
  box-sizing: border-box;
  height: auto;
  max-height: none;
  padding: 22px;
  background-image: url("img/slider-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  clip-path: polygon(
    0 0,
    calc(100% - 28px) 0,
    100% 28px,
    100% 100%,
    28px 100%,
    0 calc(100% - 28px)
  );
}

.wms-use-cases__item-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background-color: var(--wms-color-bg-muted);
}

.wms-use-cases__item-title {
  font-family: var(--wms-font-main);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
  padding-bottom: 1.4rem;
  color: var(--wms-color-main);
  
}

.wms-use-cases__item-text {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: left;
  color: var(--wms-color-text-muted);
}

.wms-use-cases__item-name {
  margin-top: 8px;
  font-size: 0.875rem;
  text-align: end;
  color: var(--wms-color-text-muted);
}

.wms-use-cases__slider-prev,
.wms-use-cases__slider-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--wms-color-main);
  background-color: rgba(0, 0, 0, 0.35);
  color: var(--wms-color-main);
  cursor: pointer;
  transform: translateY(-50%);
}

.wms-use-cases__slider-prev {
  left: 0;
}

.wms-use-cases__slider-next {
  right: 0;
}

.wms-use-cases__slider-prev::before,
.wms-use-cases__slider-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.wms-use-cases__slider-prev::before {
  border-width: 6px 9px 6px 0;
  border-color: transparent currentColor transparent transparent;
  transform: translate(-55%, -50%);
}

.wms-use-cases__slider-next::before {
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent currentColor;
  transform: translate(-45%, -50%);
}

.wms-use-cases__slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.wms-use-cases__slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background-color: transparent;
  box-sizing: border-box;
  cursor: pointer;
}

.wms-use-cases__slider-dot.is-active {
  border-color: var(--wms-color-bg);
  background-color: var(--wms-color-bg);
}

.wms-use-cases__scene {
  position: relative;
  width: 100%;
  margin-top: 8rem;
}

.wms-use-cases__scene .wms-section-heading {
  position: relative;
  display: grid;
  align-items: center;
  margin-bottom: 24px;
  padding-inline: var(--wms-layout-section-padding-inline);
}

.wms-use-cases__scene .wms-section-heading::after {
  content: "SCENE";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  transform: translate(-50%, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-use-cases__scene .wms-section-heading__title {
  font-size: var(--wms-font-size-section-heading-lead);
  line-height: 2;
  text-align: center;
  padding-top: 2rem;
}

.wms-use-cases__scene .wms-section-heading__title-sub {
  line-height: 1.5;
  text-align: center;
}

.wms-use-cases__scene-item > div {
  width: 85%;
  margin: 0 auto;
  margin-top: -30px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wms-use-cases__scene-item:first-of-type h3 {
  text-align: start;
}

.wms-use-cases__scene-item:last-of-type h3 {
  text-align: end;
}

.wms-use-cases__scene-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.wms-use-cases__scene-item-title {
  font-size: 2.4rem;
  color: #4395ff9e;
}

.wms-use-cases__scene-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   how-to-use
   -------------------------------------------------------------------------- */

.wms-how-to-use {
  position: relative;
  padding-block: 56px 120px;
  background-image: url("img/Rectangle 4517.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: visible;
}

.wms-how-to-use::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 375 / 250;
  background-image: url("img/howtouse-img.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
}

.wms-how-to-use__inner {
  position: relative;
  z-index: 1;
  width: 90%;
  margin: 0 auto;
  padding: 0;
}

.wms-how-to-use .wms-section-heading {
  position: relative;
  padding-top: 60px;
}

.wms-how-to-use .wms-section-heading::after {
  content: "HOW TO USE";
  position: absolute;
  left: 50%;
  top: -14%;
  z-index: 0;
  transform: translate(-50%, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-how-to-use .wms-section-heading__title {
  display: inline-block;
  margin-inline: auto;
  padding: 0.35em 1.1em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: var(--wms-gradient-brand-a50);
  font-size: var(--wms-font-size-section-heading-lead);
}

.wms-how-to-use .wms-section-heading__title-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  padding-top: 2rem;
}

.wms-how-to-use__list {
  display: grid;
  grid-template-columns: 1fr;
  gap:3rem;
  margin-top: 3rem;
  overflow: visible;
}

.wms-how-to-use__item {
  position: relative;
  text-align: center;
  overflow: visible;
}

.wms-how-to-use__item-num {
  position: absolute;
  top: 0;
  z-index: 1;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  width: auto;
  min-width: 88px;
  height: 36px;
  padding: 0 28px 6px;
  box-sizing: border-box;
  font-family: var(--wms-font-outfit);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--wms-color-main);
  border-radius: 0;
}

.wms-how-to-use__item:nth-child(odd) .wms-how-to-use__item-num {
  /* __inner が width: 90% のため、帯端までの余白 = 5% / 0.9 */
  left: calc(-5% / 0.9);
  right: auto;
  padding-right: 36px;
  background: var(--wms-gradient-brand);
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

.wms-how-to-use__item:nth-child(even) .wms-how-to-use__item-num {
  right: calc(-5% / 0.9);
  left: auto;
  padding-left: 36px;
  background: var(--wms-gradient-brand-reverse);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
}

.wms-how-to-use__item-img {
  display: block;
  width: 100%;
  min-height: 222px;
  margin-top: 0;
  object-fit: cover;
  background-color: var(--wms-color-bg-muted);
}

.wms-how-to-use__item-title {
  margin-top: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wms-color-main);
}

.wms-how-to-use__item-text {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--wms-color-text-muted);
}

/* --------------------------------------------------------------------------
   functions
   -------------------------------------------------------------------------- */

.wms-functions {
  padding-block: 56px 120px;
  background-color: #111111;
}

.wms-functions__inner {
  width: 90%;
  margin: 0 auto;
  padding: 0;
}

.wms-functions .wms-section-heading {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 6rem;
}

.wms-functions .wms-section-heading::after {
  content: "FUNCTIONS";
  position: absolute;
  left: 50%;
  top: -17%;
  z-index: 0;
  overflow: hidden;
  transform: translate(-50%, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-functions__heading-img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto;
}

.wms-functions .wms-section-heading__title {
  font-size: var(--wms-font-size-section-heading-lead);
  line-height: 1.6;
  text-align: center;
}

.wms-functions .wms-section-heading__title-sub {
  display: inline-block;
  margin-top: 4px;
}

.wms-functions__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  gap: 24px 12px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.wms-functions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.wms-functions__item-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 160 / 107;
  object-fit: cover;
  border-radius: 0;
  background: none;
}

.wms-functions__item-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: 1;
  margin-top: -40px;
}

.wms-functions__item-icon {
  display: block;
  width: 48px;
  height: 48px;
  padding: 10px;
  box-sizing: border-box;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--wms-gradient-brand);
}

.wms-functions__item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--wms-color-main);
}

.wms-functions__item-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--wms-color-text-muted);
}

/* --------------------------------------------------------------------------
   founder-story
   -------------------------------------------------------------------------- */

.wms-founder-story {
  position: relative;
  padding-block: 56px 120px;
  background-image: url("img/story-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: visible;
}

.wms-founder-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 375 / 490;
  background-image: url("img/Mask group (17).png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
}

.wms-founder-story__inner {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  display: grid;
  gap: 12rem;
}

.wms-founder-story .wms-section-heading::after {
  content: none;
}

.wms-founder-story .wms-section-heading,
.wms-founder-story .wms-section-heading__title {
  text-align: left;
}

.wms-founder-story__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  justify-content: start;
  margin-top: 32px;
}

.wms-founder-story__visual-img {
  width: fit-content;
  height: fit-content;
  object-fit: cover;
  border-radius: 8px;
}

.wms-founder-story__text {
  color: var(--wms-color-text-muted);
  text-align: left;
}

.wms-founder-story__text + .wms-founder-story__text {
  margin-top: 16px;
}
.wms-founder-story__content {
  text-align: center;
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
}
/* --------------------------------------------------------------------------
   specifications
   -------------------------------------------------------------------------- */

.wms-specifications {
  padding-block: 120px;
  background-color: #111111;
}
.wms-specifications__inner {
  width: 100%;
  padding: 0;
}
.wms-specifications .wms-section-heading {
  position: relative;
}

.wms-specifications .wms-section-heading::after {
  content: "DETAIL";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  transform: translate(-50%, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-specifications__table {
  width: 90%;
  margin: 0 auto;
  margin-top: 4rem;
  border-collapse: collapse;
}
.wms-specifications__table tbody{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wms-specifications__table tr{
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.wms-specifications__table tr:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

/* 上辺ボーダー上に、長さ約10%の青線を被せる */
.wms-specifications__table tr:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 10%;
  height: 2px;
  background-color: var(--wms-color-bg);
  transform: translateY(-50%);
  pointer-events: none;
}
.wms-specifications__table th,
.wms-specifications__table td {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  margin-top: 10px;
  text-align: left;
  border-bottom: 2px solid var #FFFF;
  color: var(--wms-color-main);
}

.wms-specifications__table th {
  font-weight: 700;
  color: var(--wms-color-fourth);
  border-bottom: none;
}
.wms-specifications__table td {
  padding-bottom: 16px;
  display: grid;
  align-items: flex-start;
  grid-template-columns: .3fr 1fr;
  gap: 1em;
}

.wms-specifications__table td.wms-specifications__table-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.25em 0.5em;
}

.wms-specifications__visual {
  margin-top: 120px;
  text-align: center;
  width: 100%;
}

.wms-specifications__visual-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #111111;
}

/* --------------------------------------------------------------------------
   faq
   -------------------------------------------------------------------------- */

.wms-faq {
  padding-block: 56px 120px;
  background-color: #111111;
}

.wms-faq .wms-section-heading {
  position: relative;
}

.wms-faq .wms-section-heading::after {
  content: "FAQ";
  position: absolute;
  left: 50%;
  top: -60%;
  z-index: 0;
  transform: translate(-50%, -35%);
  font-family: var(--wms-font-outfit);
  font-optical-sizing: auto;
  font-size: var(--wms-font-size-section-label);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wms-color-section-label);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: var(--wms-opacity-section-label);
  pointer-events: none;
}

.wms-faq__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wms-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding-inline: 20px;
}

.wms-faq__question {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  font-family: var(--wms-font-main);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wms-color-main);
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.wms-faq__question::before {
  content: "Q";
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-family: var(--wms-font-outfit);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--wms-color-main);
  background: var(--wms-gradient-brand);
}

.wms-faq__question > span:first-of-type {
  flex: 1;
  min-width: 0;
}

.wms-faq__question::-webkit-details-marker {
  display: none;
}

.wms-faq__question::marker {
  content: "";
}

.wms-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding-block: 1rem;
  transition: grid-template-rows 0.35s ease, opacity 0.25s ease;
}

.wms-faq__item[open] .wms-faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.wms-faq__answer-inner {
  overflow: hidden;
  padding: 16px;
  font-size: 0.875rem;
  background-color: #ffffff24;
  color: var(--wms-color-text-muted);
}

.wms-faq__answer-inner p {
  margin: 0;
}

.wms-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
}

.wms-faq__icon::before,
.wms-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--wms-color-main);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wms-faq__icon::before {
  width: 100%;
  height: 1px;
}

.wms-faq__icon::after {
  width: 1px;
  height: 100%;
}

.wms-faq__item[open] .wms-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.wms-cta {
  padding-top: 48px;
  padding-bottom: 75px;
  text-align: center;
  background-image: url("img/cta-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  /* background-size: cover; */
  height: auto;
}

.wms-cta__inner {
  width: 90%;
  margin: 0 auto;
  padding: 0;
}

.wms-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  justify-content: center;
}

.wms-cta__img {
  position: relative;
  z-index: 2;
  width: 60%;
}

.wms-cta__img-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.wms-cta__img::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15%;
  z-index: 1;
  width: 60%;
  height: 60%;
  z-index: -1;
  background-image: url("img/cta-icon.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  pointer-events: none;
}
.wms-cta__title {
  position: relative;
  z-index: 2;
  font-family: var(--wms-font-main);
  font-size: clamp(1.25rem, 5vw, 1.2rem);
  font-weight: bold;
  color: var(--wms-color-main);
  text-align: center;
}
.wms-cta__title-img {
  display: block;
  width: 60%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.wms-cta__text {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--wms-color-text-muted);
}
.wms-cta__price {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: center;
  gap: 4px;
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--wms-color-second);
  font-family: var(--wms-font-oswald);
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  padding-bottom: 40px;
}
span.wms-cta__price-unit{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wms-color-main);
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--wms-font-oswald);
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
}
.wms-cta__price-unit-tax {
  font-size: 1rem;
  color: var(--wms-color-main);
  display: flex;
  font-weight: bold;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wms-cta__actions {
  margin-top: 24px;
  font-weight: bold;
}

.wms-cta__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 24px;
  padding-inline: 24px 48px;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ff8d1b 0%, #e95200 100%);
  color: var(--wms-color-main);
  text-align: center;
  text-decoration: none;
  border-style: none;
  width: 100%;
  cursor: pointer;
}

.wms-cta__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  background-image: url("img/arrow.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.wms-cta__accessories {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 24px;
}

.wms-cta__accessories-title {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--wms-color-main);
  text-align: center;
}

.wms-cta__accessories-title::before,
.wms-cta__accessories-title::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background-color: currentColor;
}

.wms-cta__accessories-title-text {
  position: relative;
  flex-shrink: 0;
  margin-inline: 2px;
  padding: 2px .5em;
  line-height: 1.4;
}

/* ----[ 文字 ]---- のブラケット */
.wms-cta__accessories-title-text::before,
.wms-cta__accessories-title-text::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 7px;
  border: 1px solid currentColor;
  box-sizing: border-box;
  pointer-events: none;
}

.wms-cta__accessories-title-text::before {
  left: 0;
  border-right: none;
}

.wms-cta__accessories-title-text::after {
  right: 0;
  border-left: none;
}

.wms-cta__accessories-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.wms-cta__accessories-item {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.wms-cta__accessories-item-term {
  margin: 0;
}

.wms-cta__accessories-item-img {
  display: block;
  width: 64px;
  height: auto;
  object-fit: contain;
}

.wms-cta__accessories-item-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: left;
  color: var(--wms-color-text-muted);
}

.wms-cta__accessories-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  background-image: url("img/cta-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding-block: 24px;
  padding-inline: 10px;
  box-sizing: border-box;
}

.wms-cta__accessories-visual-item {
  display: flex;
  width: 100%;
}

.wms-cta__accessories-visual-item--badge {
  align-items: center;
  justify-content: center;
  width: 50%;
  gap: 2px;
}

.wms-cta__accessories-visual-item--copy {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  width: fit-content;
}

.wms-cta__accessories-visual-img {
  flex-shrink: 0;
  width: 40px;
  height: auto;
  object-fit: contain;
}

.wms-cta__accessories-visual-badge {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: var(--wms-color-main);
}

.wms-cta__accessories-visual-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--wms-color-text-muted);
}

.wms-cta__accessories-visual-title {
  margin: 4px 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
}

.wms-cta__accessories-visual-text--note {
  font-size: 0.65rem;
  opacity: 0.85;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */

.wms-footer {
  padding-block: 90px 105px;
  background-color: #222222;
}

.wms-footer__inner {
  width: 90%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.wms-footer__logo {
  width: 70%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  padding-bottom: 16px;
}
.wms-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.wms-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #777777;
}

/* --------------------------------------------------------------------------
   Smartphone（帯内見切れ防止・440px 以下）
   -------------------------------------------------------------------------- */

@media (max-width: 440px) {
  .wms-fv__aside {
    right: 20px;
    bottom: 130px;
  }

  .wms-fv__badge {
    width: 96px;
  }

  .wms-fv .wms-fv__cta {
    bottom: 35px;
    width: 90%;
  }

  /* 見出し：約70%に縮小 */
  .wms-fv__label {
    font-size: calc(1.7rem * 0.7);
  }

  .wms-fv__catch-col--sm {
    font-size: 2rem;
  }

  .wms-fv__catch-col--lg {
    font-size: 4rem;
  }
}

/* Tablet / PC: 帯幅維持。列・レイアウト切替なし（外側背景は common.css） */
