@charset "utf-8";

/* ============================================================
   #slim — スリム真空パック器
============================================================ */

/* ---- #slim base ------------------------------------------ */
#slim {
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---- gNav override ---------------------------------------- */
#slim #zj_ma17-gNav {
  background: #cf5824;
  border-bottom: none;
}
#slim #zj_ma17-gNav li a {
  color: #fff;
  height: 60px;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.3s;
}
#slim #zj_ma17-gNav li a:hover {
  background: rgba(0,0,0,.1);
}

@media screen and (max-width: 736px) {
  #slim #zj_ma17-gNav {
    position: sticky;
    top: 50px;
    z-index: 100;
  }
  #slim #zj_ma17-gNav p.spOnly {
    height: 50px;
    line-height: 50px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #fff;
    padding: 0 4%;
    background: #cf5824 url(../img/arrow3.svg) no-repeat calc(100% - 12px) center;
    background-size: 18px;
  }
  #slim #zj_ma17-gNav p.spOnly.active {
    background-image: url(../img/arrow3_on.svg);
  }
  #slim #zj_ma17-gNav li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.2);
    line-height: 50px;
  }
  #slim #zj_ma17-gNav li:last-child {
    border-bottom: none;
  }
  #slim #zj_ma17-gNav li a {
    text-align: left;
    padding: 0 4%;
    height: 50px;
    color: #111;
    font-size: 0.9rem;
  }
}

/* ---- KV --------------------------------------------------- */
#slim-kv {
  width: 100%;
  background: #f8f8f8;
  text-align: center;
  overflow: hidden;
}
#slim-kv img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- POINT sections --------------------------------------- */
#features {
  width: 100%;
}

.slim-point {
  width: 100%;
  padding: 50px 0;
}
.slim-point__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-sizing: border-box;
}
/* image right: body first in DOM, img second → row */
.slim-point--img-right .slim-point__inner {
  flex-direction: row;
}
/* image left: body first in DOM, img second → reverse so img appears left */
.slim-point--img-left .slim-point__inner {
  flex-direction: row-reverse;
}

.slim-point__body {
  flex: 1;
  min-width: 0;
}
.slim-point__img {
  flex: 0 0 46%;
  max-width: 460px;
}
.slim-point__img img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.slim-point__badge {
  display: inline-block;
  background: #cf5824;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 4px 14px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  border-radius: 3px;
}
.slim-point__badge strong {
  font-size: 1.2em;
  margin-left: 4px;
}

.slim-point__title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 16px;
  line-height: 1.3;
}

.slim-point__text {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.slim-point__note {
  font-size: 0.75rem;
  color: #666;
  margin-top: 12px;
  line-height: 1.6;
}

@media screen and (max-width: 736px) {
  .slim-point {
    padding: 40px 0;
  }
  .slim-point__inner {
    flex-direction: column-reverse !important;
    padding: 0 5%;
    gap: 24px;
  }
  .slim-point__img {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .slim-point__title {
    font-size: 1.4rem;
  }
}

/* ---- 使い方 ----------------------------------------------- */
#usage {
  width: 100%;
}

.slim-howto {
  padding: 50px 0;
}
.slim-howto__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.slim-howto__title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #707070;
  line-height: 1.4;
}
.slim-howto__title--sm {
  font-size: 1.35rem;
}
.slim-howto__title-note {
  font-size: 16px;
  font-weight: normal;
}

/* 2-column step grid */
.slim-howto__steps {
  display: grid;
  gap: 32px;
}
.slim-howto__steps--2col {
  grid-template-columns: 1fr 1fr;
}
.slim-howto__steps--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.slim-howto__step {
  display: flex;
  flex-direction: column;
}
.slim-howto__step img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.slim-howto__step-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}
.slim-howto__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #cf5824;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
}
.slim-howto__step-body p {
  font-size: 0.95rem;
  font-weight: bold;
  color: #000;
  line-height: 1.7;
  margin: 0;
  padding-top: 4px;
}

.slim-howto--no-pad {
  padding: 0;
}

/* banner below vacuum section */
.slim-howto__banner {
  margin-top: 40px;
}
.slim-howto__banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* roll bag title row: h2 left, roll-head image right */
.slim-howto__title-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #707070;
}
.slim-howto__title-row .slim-howto__title {
  flex: 1;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.slim-howto__roll-head {
  flex-shrink: 0;
}
.slim-howto__roll-head img {
  width: auto;
  height: auto;
  max-width: 374px;
  display: block;
}
/* 密封パック用バナー：デスクトップ表示幅 */
.slim-howto__roll-head--half img {
  max-width: 288px;
}

@media screen and (max-width: 736px) {
  .slim-howto {
    padding: 40px 0;
  }
  .slim-howto__inner {
    padding: 0 5%;
  }
  .slim-howto__title {
    font-size: 1.4rem;
    margin-bottom: 28px;
    padding-bottom: 14px;
  }
  .slim-howto__title--sm {
    font-size: 1.05rem;
  }
  .slim-howto__steps--2col,
  .slim-howto__steps--3col {
    grid-template-columns: 1fr;
  }
  .slim-howto__title-row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 28px;
    padding-bottom: 14px;
  }
  .slim-howto__roll-head img {
    max-width: 100%;
  }
  .slim-howto__roll-head--half img {
    width: 70%;
    height: auto;
    margin-left: auto;
  }
}


/* ---- 別売品 ----------------------------------------------- */
#slim-options {
  padding: 50px 0;
  background: #fff;
}
.slim-options__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.slim-options__hero {
  margin-bottom: 40px;
}
.slim-options__hero img {
  width: 522px;
  height: auto;
  display: block;
  margin-left: auto;
}
.slim-options__title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #707070;
}
.slim-options__group {
  margin-bottom: 50px;
}
.slim-options__subtitle {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 20px;
}
.slim-options__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.slim-options__grid--single {
  grid-template-columns: repeat(1, 300px);
}
.slim-options__item img {
  width: 100%;
  aspect-ratio: 300 / 198;
  border-radius: 6px;
  display: block;
  object-fit: contain;
}
.slim-options__size {
  font-weight: bold;
  color: #333;
  margin: 10px 0 4px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.slim-options__item p:not(.slim-options__size) {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

@media screen and (max-width: 736px) {
  #slim-options {
    padding: 40px 0;
  }
  .slim-options__inner {
    padding: 0 5%;
  }
  .slim-options__title {
    font-size: 1.4rem;
    padding-bottom: 14px;
  }
  .slim-options__grid {
    grid-template-columns: 1fr;
  }
  .slim-options__grid--single {
    grid-template-columns: 1fr;
  }
  .slim-options__hero img {
    width: 100%;
  }
}

/* ---- 製品情報（#zj_ma17-info） ------------------------------------------ */
#zj_ma17-info table {
  margin: 0 auto 20px;
}
p.te {
  margin: 0 auto 60px;
}
@media screen and (min-width: 737px) {
  p.te {
    width: 900px;
  }
}
