.top-image {
  margin-top: 120px;
  margin-left: clamp(8px, 1.5vw, 20px);
  margin-right: clamp(8px, 1.5vw, 20px);
}

.top-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.imgg img,
.spec-table img,
.list-grid .list img {
  border-radius: 14px;
}

.spec-flex,
.sds-flex {
  display: block;
}

.spec-text,
.sds-text,
.text {
  min-width: 300px;
  flex: 1;
}

.spec-text {
  min-width: 0;
  flex: 1 1 0;
  margin-top: 10px;
}

.spec-text ul {
  margin: 0;
  padding-left: clamp(18px, 2vw, 24px);
}

.spec-text li {
  margin-bottom: clamp(10px, 1.2vw, 18px);
  line-height: clamp(1.65, 1.55 + 0.2vw, 1.85);
  overflow-wrap: anywhere;
}

.spec-table {
  width: 100%;
  max-width: 500px;
  margin: 10px auto 20px;
  font-size: 15px;
  text-align: center;
  border-collapse: collapse;
}

.spec-table img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.spec-table table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.spec-table th {
  width: 30%;
  background: #f5f7fb;
}

.sds-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  margin: 40px 0 20px;
}

.sds-img {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  margin-bottom: clamp(18px, 3vw, 28px);
  text-align: center;
}

.sds-img img {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sds-text {
  flex: 1;
  min-width: 0;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}

.sds-text p {
  margin-bottom: 15px;
}

.sds-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.use-box {
  margin-bottom: clamp(18px, 3vw, 28px);
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #f7f7f7;
}

.sds-text ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.sds-text li {
  margin-bottom: 8px;
}

.sds-note {
  margin: 30px 0;
  line-height: 1.7;
}

.sds-note.small {
  font-size: 14px;
  color: #666;
}

.product-title {
  margin-bottom: 25px;
  padding-left: 12px;
  font-size: 22px;
  font-weight: bold;
}

.product-note {
  font-size: 14px;
  color: #666;
}

.flex-item iframe {
  width: 100%;
}

.flex-item .iframe-wrapper {
  border-radius: 12px;
}

.flex-row .flex-item {
  padding-top: 6px;
  padding-bottom: 6px;
}

.flex-row .flex-item > p.top-space {
  margin: 0.2rem 1rem 0 !important;
  line-height: 1.65;
}

#contents .list-grid .list .text p {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.list-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 16px);
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.list-grid .list {
  flex: 0 0 min(300px, 82vw);
}

.lead {
  font-size: 22px;
  font-weight: 700;
}

.big {
  font-size: 22px;
}

.mid {
  font-size: 18px;
}

.top-space {
  margin-top: 20px !important;
  line-height: 1.8;
}

.story p {
  line-height: 1.9;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}

.story-images {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(8px, 1.2vw, 16px);
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.story-images img {
  display: block;
  width: 220px;
  height: auto;
  flex: 0 0 220px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.banner-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 30px);
  margin-bottom: clamp(10px, 1.6vw, 18px);
}

.banner-container a:first-child {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 700px;
  display: block;
  padding: clamp(8px, 1vw, 14px);
  border: 1px solid rgba(16, 38, 59, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f5f9fd);
  box-shadow: 0 12px 26px rgba(15, 39, 64, 0.14);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.banner-container a:first-child:hover,
.banner-container a:first-child:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(45, 99, 143, 0.42);
  box-shadow: 0 18px 34px rgba(15, 39, 64, 0.2);
}

.banner-container a:first-child img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.purchase-btn {
  display: inline-block;
  flex: 0 1 auto;
  padding: clamp(5px, 0.7vw, 8px) clamp(8px, 1vw, 12px);
  color: #fff;
  font-size: clamp(11px, 1.4vw, 16px);
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  background: var(--header-gradient-alt);
  transition: filter 0.3s;
}

.purchase-btn::before {
  content: "\2190";
  margin-right: 0.45em;
}

.purchase-btn:hover {
  background: var(--header-gradient);
  filter: brightness(1.05);
}

.intro-section {
  padding: 30px 0;
  margin-bottom: 40px;
}

.intro-section h2 {
  margin-bottom: 20px;
}

#contents .intro-section p {
  margin: 2rem 1rem 2rem;
  color: #333;
  line-height: 1.8;
}

.new {
  --new-col-gap: 18px;
  --new-row-padding: 8px;
  --new-font-dt: 0.92rem;
  --new-font-dd: 0.95rem;
  --new-badge-gap: 8px;
  --new-panel-bg: #ffffff;
  --new-panel-border: #e2e8f0;
  --new-row-border: #e6edf5;
  --new-link: #0a5aa1;
  --new-link-hover: #0f7ed8;

  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0 var(--new-col-gap);
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--new-panel-border);
  border-radius: 12px;
  background: var(--new-panel-bg);
  box-shadow: 0 2px 12px rgba(19, 63, 112, 0.05);
}

.new dt {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--new-badge-gap);
  min-width: 0;
  color: #1b3555;
  font-size: var(--new-font-dt);
  font-weight: bold;
  white-space: nowrap;
}

.new dd {
  display: flex;
  align-items: center;
  width: auto;
  min-width: 0;
  margin: 0;
  color: #1a2734;
  font-size: var(--new-font-dd);
  line-height: 1.6;
}

.new dt span {
  display: inline-block;
  flex: 0 0 auto;
  margin-left: 2px;
  padding: 3px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #486784;
  border-radius: 999px;
}

.new dt span.icon-bg1 {
  background: #c7372f;
}

.new dt,
.new dd {
  padding: var(--new-row-padding) 0;
  border-bottom: 1px solid var(--new-row-border);
}

.new dt:last-of-type,
.new dt:last-of-type + dd {
  border-bottom: none;
}

.new a {
  color: var(--new-link);
  text-decoration: none;
  text-decoration-color: rgba(10, 90, 161, 0.35);
  text-underline-offset: 0.2em;
}

.new a:hover {
  color: var(--new-link-hover);
  text-decoration: underline;
}

@media screen and (max-width: 899px) {
  .sds-flex {
    display: block;
  }

  .sds-flex.sds-flex-keep-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: clamp(10px, 2vw, 28px);
  }

  .sds-img {
    width: 100%;
    margin: 0 auto 15px;
    text-align: center;
  }

  .sds-img img {
    display: inline-block;
    width: auto;
    max-width: 100%;
  }

  .sds-flex.sds-flex-keep-row .sds-img img {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .sds-flex.sds-flex-keep-row .sds-text {
    min-width: 0;
    margin: 0 auto;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media screen and (min-width: 600px) and (max-width: 1199px) {
  .flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .flex-row {
    display: contents;
  }

  .flex-item {
    width: auto;
    margin-bottom: 0;
    grid-column: 1 / -1;
  }

  .flex-container > .flex-row:nth-of-type(1) > .flex-item:first-child,
  .flex-container > .flex-row:nth-of-type(2) > .flex-item:last-child {
    grid-column: 1 / -1;
  }

  .flex-container > .flex-row:nth-of-type(1) > .flex-item:last-child {
    grid-column: 1;
  }

  .flex-container > .flex-row:nth-of-type(2) > .flex-item:first-child {
    grid-column: 2;
  }

  .flex-container > .flex-row:nth-of-type(4) > .flex-item:first-child {
    order: 2;
  }

  .flex-container > .flex-row:nth-of-type(4) > .flex-item:last-child {
    order: 1;
  }

  .sds-flex.sds-flex-keep-row {
    gap: clamp(10px, 1.8vw, 20px);
  }

  .sds-flex.sds-flex-keep-row .sds-img {
    flex: 0 0 clamp(300px, 35vw, 410px);
    min-width: 300px;
    width: auto;
    margin: 0;
    text-align: center;
  }

  .sds-flex.sds-flex-keep-row .sds-text {
    font-size: clamp(13.5px, 0.7vw + 7px, 17px);
    line-height: clamp(1.5, 1.42 + 0.12vw, 1.65);
    margin: 0 auto;
  }

  #contents .sds-flex.sds-flex-keep-row .sds-text p {
    margin: 0 1rem 2rem;
  }
}

@media screen and (max-width: 899px) {
  .iframe-wrapper {
    max-width: min(520px, 92%);
    margin: 0 auto;
  }

  .sds-flex.sds-flex-keep-row {
    display: block;
  }

  .sds-flex.sds-flex-keep-row .sds-img {
    width: 100%;
    margin: 0 auto 15px;
    text-align: center;
  }

  .sds-flex.sds-flex-keep-row .sds-img img {
    display: inline-block;
    width: auto;
    max-width: 100%;
  }

  .sds-flex.sds-flex-keep-row .sds-text {
    min-width: 0;
    margin: 0 auto;
  }
}

@media screen and (min-width: 600px) and (max-width: 899px) {
  .spec-table {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: none;
  }

  .spec-table img {
    flex: 0 0 clamp(180px, 38%, 240px);
    max-width: clamp(180px, 38%, 240px);
    margin-bottom: 0;
  }

  .spec-table table {
    flex: 1 1 0;
    width: auto;
  }

  #contents {
    padding: 15px;
  }

  .top-image img {
    border-radius: 14px;
  }

  .flex-container {
    gap: 12px;
  }

  .list {
    margin-bottom: 20px;
  }

  .iframe-wrapper {
    aspect-ratio: 16 / 9;
    height: auto;
    padding-bottom: 0;
  }

  .iframe-wrapper iframe {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 899px) {
  .list-grid .list {
    flex: 0 0 min(238px, 68vw);
    padding: 12px 10px 8px;
  }

  .list-grid .list figure {
    width: clamp(108px, 32vw, 144px);
    margin-bottom: 0.9rem;
  }

  .list-grid .list .text {
    flex: 0 0 auto;
    padding: 8px 10px 10px;
  }

  .list-grid .list .text p {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 599px) {
  .iframe-wrapper {
    max-width: min(420px, 94%);
  }

  .list-grid .list {
    flex: 0 0 min(238px, 68vw);
    padding: 12px 10px 8px;
  }

  .list-grid .list figure {
    width: clamp(108px, 32vw, 144px);
    margin-bottom: 0.9rem;
  }

  .list-grid .list .text {
    flex: 0 0 auto;
    padding: 8px 10px 10px;
  }

  .list-grid .list .text p {
    margin-bottom: 0;
  }

  .spec-table {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: none;
  }

  .spec-table img {
    flex: 0 0 clamp(120px, 38%, 170px);
    max-width: clamp(120px, 38%, 170px);
    margin-bottom: 0;
  }

  .spec-table table {
    flex: 1 1 0;
    width: auto;
  }

  .flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .flex-row {
    display: contents;
  }

  .flex-item {
    width: auto;
    margin-bottom: 0;
    grid-column: 1 / -1;
  }

  .flex-container > .flex-row:nth-of-type(1) > .flex-item:first-child,
  .flex-container > .flex-row:nth-of-type(2) > .flex-item:last-child {
    grid-column: 1 / -1;
  }

  .flex-container > .flex-row:nth-of-type(1) > .flex-item:last-child {
    grid-column: 1;
  }

  .flex-container > .flex-row:nth-of-type(2) > .flex-item:first-child {
    grid-column: 2;
  }

  .new {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
  }

  .new dt {
    padding-bottom: 2px;
    border-bottom: none;
  }

  .new dd {
    padding-top: 0;
    padding-bottom: 12px;
  }

  .flex-container > .flex-row:nth-of-type(4) > .flex-item:first-child {
    order: 2;
  }

  .flex-container > .flex-row:nth-of-type(4) > .flex-item:last-child {
    order: 1;
  }
}

@media screen and (min-width: 900px) {
  .story-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(8px, 1.2vw, 16px);
    max-width: none;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .story-images img {
    width: 100%;
    flex: none;
  }
}

@media screen and (min-width: 900px) and (max-width: 1199px) {
  .story-images {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .story-images img {
    width: 220px;
    flex: 0 0 220px;
  }
}

@media screen and (min-width: 1200px) {
  .story-images {
    grid-template-columns: repeat(2, minmax(213px, 1fr));
    justify-content: start;
    align-items: start;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .story-images img {
    width: 100%;
    min-width: 213px;
  }
}

@media screen and (min-width: 900px) {
  .new dt span.icon-bg1 {
    background: #ff3333;
  }

  .new dd {
    width: auto;
  }

  .list-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .list-grid .list {
    flex: 0 0 clamp(260px, 28vw, 332px);
    width: auto;
    margin-right: 0;
  }

  .list-grid .list figure {
    width: clamp(138px, 16vw, 176px);
  }

  .list-grid .list:nth-of-type(3n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 900px) {
  .spec-flex,
  .sds-flex {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
  }

  .spec-flex {
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
  }

  .spec-text {
    margin-top: 0;
  }

  .sds-flex {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 900px) and (max-width: 1199px) {
  .sds-flex {
    display: block;
  }

  .sds-flex.sds-flex-keep-row {
    display: block;
  }

  .sds-flex.sds-flex-keep-row .sds-img {
    width: 100%;
    margin: 0 auto clamp(18px, 3vw, 28px);
    text-align: center;
  }

  .sds-flex.sds-flex-keep-row .sds-img img {
    display: inline-block;
    width: auto;
    max-width: 100%;
  }

  .sds-flex.sds-flex-keep-row .sds-text {
    min-width: 0;
    margin: 0 auto;
  }

  .spec-flex {
    display: block;
  }

  .spec-table {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: none;
  }

  .spec-table img {
    flex: 0 0 clamp(180px, 34%, 240px);
    max-width: clamp(180px, 34%, 240px);
    margin-bottom: 0;
  }

  .spec-table table {
    flex: 1 1 0;
    width: auto;
  }

  .spec-text {
    margin-top: 12px;
  }

  .list-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .list-grid .list {
    flex: 0 0 min(280px, 62vw);
    width: auto;
    margin-right: 0;
  }

  .list-grid .list:nth-of-type(3n) {
    margin-right: 0;
  }

  .spec-table table {
    font-size: clamp(12px, 10.5px + 0.2vw, 14px);
  }

  .spec-table th,
  .spec-table td {
    padding: clamp(7px, 0.5vw, 10px);
  }
}

@media screen and (min-width: 1200px) and (max-width: 1439px) {
  .sds-flex {
    display: block;
  }

  .sds-flex.sds-flex-keep-row {
    display: block;
  }

  .sds-flex.sds-flex-keep-row .sds-img {
    width: 100%;
    margin: 0 auto clamp(18px, 3vw, 28px);
    text-align: center;
  }

  .sds-flex.sds-flex-keep-row .sds-img img {
    display: inline-block;
    width: auto;
    max-width: 100%;
  }

  .sds-flex.sds-flex-keep-row .sds-text {
    min-width: 0;
    margin: 0 auto;
  }

  #contents .sds-flex.sds-flex-keep-row .sds-text p {
    margin: 0 1rem 2rem;
  }

  .spec-table {
    flex: 0 1 clamp(280px, 38%, 500px);
  }

  .spec-text {
    font-size: clamp(0.94rem, 0.88rem + 0.01vw, 1.02rem);
  }

  .spec-text li {
    margin-bottom: clamp(11px, 6px + 0.5vw, 16px);
    line-height: clamp(1.56, 1.48 + 0.01vw, 1.68);
  }

  .sds-text {
    font-size: clamp(13px, 0.72vw + 5.6px, 16px);
    line-height: clamp(1.6, 1.2 + 0.04vw, 1.8);
  }

  .sds-text li {
    margin-bottom: clamp(5px, 0.5vw, 8px);
  }

  .sds-title {
    font-size: clamp(15px, 1vw + 5px, 18px);
  }
}

@media screen and (min-width: 1200px) {
  .story-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media screen and (min-width: 1200px) {
  .story-layout .story-text {
    font-size: clamp(0.78rem, 0.38rem + 0.5vw, 1rem);
  }

  .story-layout .story-text p {
    margin-bottom: clamp(0.55rem, 0.1rem + 0.45vw, 1.05rem);
    line-height: clamp(1.45, 1.1 + 0.6vw, 1.8);
  }
}
