#container {
  width: 100%;
}

#main-full {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}

.magnet-page {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #2f2a26;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.magnet-page *,
.magnet-page *::before,
.magnet-page *::after {
  box-sizing: border-box;
}

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

.magnet-wrap {
  width: min(calc(100% - 32px), 1040px);
  margin: 0 auto;
}

.magnet-eyebrow,
.magnet-heading__sub {
  display: inline-block;
  color: #5f3921;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.magnet-hero,
.magnet-section {
  padding: 54px 0;
}

.magnet-hero {
  padding-top: 78px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(201, 190, 167, 0.82);
  overflow: hidden;
  position: relative;
}

.magnet-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(106, 112, 80, 0.08);
  filter: blur(8px);
  pointer-events: none;
}

.magnet-hero__grid,
.magnet-two-col,
.magnet-story,
.magnet-details {
  display: grid;
  gap: 34px;
  align-items: start;
}

.magnet-hero__grid,
.magnet-two-col {
  grid-template-columns: 1.05fr 0.95fr;
}

.magnet-story,
.magnet-details {
  grid-template-columns: 0.95fr 1.05fr;
}

.magnet-hero__copy,
.magnet-hero__visual {
  position: relative;
  z-index: 1;
}

.magnet-hero__title,
.magnet-heading h2,
.magnet-copy h3,
.magnet-closing h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700;
  color: #2d251f;
}

.magnet-hero__title {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.23;
  letter-spacing: 0.05em;
}

.magnet-hero__lead {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.7vw, 18px);
  color: #6e665e;
  max-width: 42em;
}

.magnet-hero__lead strong,
.magnet-copy strong {
  color: #5f3921;
}

.magnet-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}

.magnet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

.magnet-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.magnet-btn--primary {
  background: linear-gradient(180deg, #845433 0%, #6e4529 100%);
  color: #fff;
}

.magnet-btn--sub {
  border: 1px solid rgba(122, 77, 47, 0.24);
  background: rgba(255,255,255,0.55);
  color: #2f2a26;
}

.magnet-hero__visual {
  padding: 18px 0 0 18px;
}

.magnet-hero__caption {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 2px solid rgba(122, 77, 47, 0.25);
  color: #6e665e;
  font-size: 14px;
  line-height: 1.9;
}

.magnet-heading {
  margin-bottom: 26px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.magnet-heading__lead {
  margin: 12px 0 0;
  color: #6e665e;
  font-size: 15px;
}

.magnet-copy p,
.magnet-note p,
.magnet-step p,
.magnet-values__item p,
.magnet-closing p {
  margin: 0 0 1.05em;
}

.magnet-copy p:last-child,
.magnet-note p:last-child,
.magnet-step p:last-child,
.magnet-values__item p:last-child,
.magnet-closing p:last-child {
  margin-bottom: 0;
}

.magnet-note {
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(122, 77, 47, 0.22);
}

.magnet-note p {
  font-size: 17px;
  line-height: 2;
  color: #453b34;
}

.magnet-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.magnet-values__item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-values__item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.55;
  color: #5f3921;
}

.magnet-values__item p {
  color: #6e665e;
  font-size: 14px;
  line-height: 1.9;
}

.magnet-story__steps {
  border-top: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(122, 77, 47, 0.24);
  display: grid;
  place-items: center;
  color: #5f3921;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.45);
}

.magnet-step p {
  color: #4a423b;
  font-size: 14px;
  line-height: 1.95;
}

.magnet-block {
  padding: 22px 0;
  border-top: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-block:last-child {
  border-bottom: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-copy h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.5;
}

.magnet-spec table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-top: 1px solid rgba(201, 190, 167, 0.82);
  border-bottom: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-spec th,
.magnet-spec td {
  padding: 15px 0;
  border-bottom: 1px solid rgba(201, 190, 167, 0.52);
  text-align: left;
  vertical-align: top;
  line-height: 1.85;
}

.magnet-spec th {
  width: 120px;
  padding-right: 18px;
  color: #5f3921;
  font-weight: 700;
}

.magnet-spec tr:last-child th,
.magnet-spec tr:last-child td {
  border-bottom: none;
}

.magnet-shoplist ul {
  margin: 18px 0 0;
  padding: 18px 0 0 1.2em;
  border-top: 1px solid rgba(201, 190, 167, 0.82);
}

.magnet-shoplist li {
  margin: 0 0 8px;
  line-height: 1.9;
  color: #4a423b;
}

.magnet-shoplist li:last-child {
  margin-bottom: 0;
}

.magnet-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  color: #5f3921;
  font-weight: 700;
}

.magnet-price strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.magnet-section--line {
  border-top: 1px solid rgba(201, 190, 167, 0.45);
}

.magnet-section--last {
  padding-top: 28px;
  padding-bottom: 72px;
}

.magnet-closing {
  padding-top: 28px;
  border-top: 2px solid rgba(122, 77, 47, 0.22);
}

.magnet-closing h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.magnet-closing p {
  color: #6e665e;
}

.magnet-buy-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 50px 16px;
  align-items: start;
}

.magnet-item {
  text-align: center;
}

.magnet-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
  background: #fff;
}

.magnet-item__name {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 20px;
  line-height: 1.5;
  color: #2d251f;
  text-align: center;
  padding: 10px;
}

.magnet-item__cart form,
.magnet-item__cart table {
  margin: 0;
}

.magnet-item__cart input[type="image"],
.magnet-item__cart input[type="submit"],
.magnet-item__cart button,
.magnet-item__cart .cart-btn,
.magnet-item__cart a {
  max-width: 100%;
}

@media (max-width: 960px) {
  .magnet-hero__grid,
  .magnet-two-col,
  .magnet-story,
  .magnet-details {
    grid-template-columns: 1fr;
  }

  .magnet-values {
    grid-template-columns: 1fr;
  }

  .magnet-buy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .magnet-wrap {
    width: min(calc(100% - 20px), 1040px);
  }

  .magnet-hero,
  .magnet-section {
    padding: 36px 0;
  }

  .magnet-hero {
    padding-top: 46px;
    padding-bottom: 34px;
  }

  .magnet-hero__links {
    flex-direction: column;
  }

  .magnet-btn {
    width: 100%;
  }

  .magnet-hero__visual {
    padding: 10px 0 0 10px;
  }

  .magnet-step {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .magnet-step__num {
    width: 34px;
    height: 34px;
  }

  .magnet-spec th,
  .magnet-spec td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .magnet-spec th {
    padding-bottom: 0;
  }

  .magnet-buy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .magnet-item__name {
    font-size: 15px;
    padding: 0px 4px;
  }
}