/*基本情報*/

body {
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#sukima {
  padding-bottom: 20px;
}

#midashi {
  padding-bottom: 20px;
}

.main-banner {
  img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

h1.pageTitle {
  padding: 1rem 2rem;
  border-bottom: 3px solid #2589d0;
  background: #efefef;
}

h2.midashi {
  position: relative;
  padding: 0.6em;
  background: -webkit-repeating-linear-gradient(-45deg, #ffffff, #ffffff 4px, #ffd1d1 3px, #ffd1d1 8px);
  background: repeating-linear-gradient(-45deg, #ffe9e9, #ffe9e9 4px, #ffd1d1 3px, #ffd1d1 8px);
  border-radius: 7px;
  font-size: 25px;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans";
  font-weight: 600;
}

h2.midashi::after {
  position: absolute;
  content: "";
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #ffd1d1;
  width: 0;
  height: 0;
}

.wb {
  word-break: auto-phrase;
}

/*小見出し*/
h3.komidashi {
  position: relative;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans";
  color: #ce0000;
}

h3.komidashi::after {
  position: absolute;
  top: 20px;
  left: 0;
  content: "";
  width: 100%;
  height: 3px;
  background-color: #ffd1d1;
  border-radius: 1.5px;
}

#komidashi {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  line-height: 1;
  margin: 28px 20px 20px 20px;
  text-align: justify;
}

#n-komidashi {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  line-height: 0.5;
  text-align: justify;
}

#n-komidashi p {
  line-height: 1.5;
}

.article {
  margin-bottom: 30px;
}

.article p {
  padding-top: 10px;
}

.scene {
  margin-top: 10px;
}

.h3-text {
  line-height: 1.5;
}

h3.n-h3 {
  color: #c8161d;
  border-bottom: 1px solid #c8161d;
  margin-bottom: 10px;
}

h4 {
  font-size: 20px;
  color: rgb(20, 137, 220);
}

#setumei {
  margin-bottom: 40px;
}

#setumei .reportsiyou {
  padding: 20px 0 10px 0;
}

a {
  text-decoration: none;
}

.mane-banner picture {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.mane-banner img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.anchor {
  display: block;
  padding-top: 20px;
  margin-top: -20px;
}

@media (width <=650px) {
  .anchor {
    display: block;
    padding-top: 220px;
    margin-top: -220px;
  }
}

/*レイアウト*/

#Flame {
  display: flex;
  flex-direction: column;
}

#Bread {
  display: flex;
  width: 70%;
  margin: auto;
  margin-bottom: -10px;
  margin-top: 10px;
}

#mein-Contents {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1em;
  margin: 0 auto;
  padding: 0;
  margin-top: 20px;
}

#sideMenu {
  float: left;
  width: 18%;
  padding-bottom: 20px;
}

#Main {
  float: right;
  width: 52%;
}

#footer {
  clear: both;
}

@media (650px < width < 1020px) {
  #Main {
    width: 80%;
  }

  #Bread {
    width: 80%;
  }
}

@media (width <=650px) {
  #Main {
    width: 90%;
  }

  #Bread {
    width: 90%;
  }
}

@media (418px < width < 550px) {
  #setumei h2.midashi {
    font-size: 5vw;
  }

  h3.komidashi {
    font-size: 3.5vw;
  }
}

@media (width < 419px) {
  #setumei h2.midashi {
    font-size: 5vw;
  }

  h3.komidashi {
    font-size: 3.666vw;
  }
}

@media (380px < width < 550px) {
  h2.midashi {
    font-size: 3.333vw;
  }
}

@media (width < 380px) {
  h2.midashi {
    font-size: 5.5vw;
  }
}

/*みんなDE印刷を学ぼうに戻るボタン*/
.button-51 {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0.9em 2em;
  border: none;
  border-bottom: 2px solid #e6edf3;
  background-color: #eeeeee;
  color: #333;
  font-weight: 600;
  font-size: 1em;
}

.button-51::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  transform: scaleX(0);
  transform-origin: center left;
  width: 100%;
  height: 2px;
  background-color: #2589d0;
  content: "";
  transition: transform 0.3s ease;
}

.button-51:hover::after {
  transform: scaleX(1);
}

/*目次-list008*/
.list-008 {
  position: relative;
  padding: 1.5em 1em 1em 2.5em;
  border: 2px solid #2589d0;
}

.list-008>div {
  position: absolute;
  top: -0.75em;
  left: 1em;
  padding: 0 0.5em;
  background-color: #fff;
  color: #2589d0;
  font-weight: 600;
}

.list-008 ul {
  list-style-type: disc;
  margin: 0;
  padding: 0;
}

.list-008 li {
  padding: 0.3em 0.3em 0.3em 0;
}

.list-008 li::marker {
  color: #2589d0;
  font-size: 1.1em;
}

.list-008 a {
  color: #2589d0;
}

.list-008 a:hover {
  color: rgb(255, 248, 145);
}

.list-1 {
  list-style-type: disc;
  padding: 1em 1em 1em 2.5em;
}

.list-1 li {
  padding: 0.3em 0.3em 0.3em 0;
  font-feature-settings: "palt";
}

.list-1 li::marker {
  color: #000000;
  font-size: 1.1em;
}

/*******基本情報ここまで*******/

/*関連商品*/
.connection-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}

.connection {
  background-color: #87b7ff;
  text-align: center;
  padding: 10px;
  border-radius: 15px;
  color: #fff;
}

.connection:hover {
  background-color: #ffdb87;
}

@media (1020px <=width < 1078px) {
  .connection {
    font-size: 1.3vw;
  }
}

@media (width < 700px) {
  .connection-list {
    display: flex;
    flex-direction: column;
  }
}

.heading-17 {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  padding: 0.5em 0.7em;
  overflow: hidden;
  border: 2px solid #2589d0;
  border-radius: 5px;
  color: #333333;
  margin-bottom: 15px;
  font-size: 1.47rem;
}

.heading-17:before {
  position: absolute;
  top: -50%;
  left: -30px;
  z-index: -1;
  transform: rotate(22deg);
  width: 130px;
  height: 200%;
  background-color: #2589d0;
  content: "";
}

.heading-17 span {
  margin-right: 1.1em;
  color: #fff;
  font-size: 1.1em;
}

@media (600px < width < 1220px) {
  .heading-17 {
    font-size: 1.2em;
  }

  .heading-17:before {
    position: absolute;
    top: -50%;
    left: -50px;
    z-index: -1;
    transform: rotate(20deg);
    width: 130px;
    height: 200%;
    background-color: #2589d0;
    content: "";
  }
}

@media (width <=600px) {
  .heading-17 {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .heading-17 p {
    padding: 10px;
    font-size: 3.85vw;
  }

  .heading-17:before {
    display: none;
  }

  .heading-17 span {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 3.5vw;
  }

  .ream-weight {
    flex-direction: column;
  }

  .ream-weight02 {
    flex-direction: column;
  }

  .ream-img {
    width: 50%;
    height: auto;
    object-fit: cover;
  }
}

/*メイン内容*/
.ream-weight {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.ream-weight02 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;

  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.ream-weight-ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.ream-weight-ul h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 10px 10px 0px 0px;
  -webkit-border-radius: 10px 10px 0px 0px;
  -moz-border-radius: 10px 10px 0px 0px;
  color: #fff;
  background-color: #2589d0;
}

.ream-weight-ul li {
  grid-row: span 4;
  display: grid;
  gap: 0.2rem;
  grid-template-rows: subgrid;
  border: 1px solid #dadada;
  border-radius: 10px;
}

#indent {
  padding: 0 10px;
  margin: 10px;
}

.ream-weight-ul li .indent {
  text-align: justify;
  text-indent: -3em;
  padding-left: 3em;
}

.ream-weight-ul li .marker {
  text-align: justify;
  padding: 10px;
  margin: 10px 10px 0px 10px;
  background-color: #fff6c6;
  font-weight: 600;
}

.ream-weight-ul li a .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8fc31f;
  border-radius: 30px;
  margin: auto 10px 10px 10px;
  padding: 5px;
  color: #fff;
}

.ream-weight-ul li a .btn:hover {
  opacity: 0.7;
}

/*ポイント枠*/
.box-007 {
  margin: 20px auto;
  border: 2px solid #2589d0;
  border-radius: 5px;
  color: #333333;
}

.box-007 div {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  position: relative;
  top: -13px;
  left: 10px;
  margin: 0 7px;
  padding: 0 8px;
  background: #fff;
  color: #2589d0;
  font-weight: 600;
  vertical-align: top;
}

.box-007 p {
  margin: 0;
  padding: 0 1.5em 1em;
}

/*相関表*/
.table_ream-weight {
  border-spacing: 0;
  border-collapse: separate;
  width: 100%;
}

.table_ream-weight th,
.table_ream-weight td {
  border-top: 1px solid #76b0bf;
  border-left: 1px solid #76b0bf;
  text-align: center;
  vertical-align: middle;
}

.table_ream-weight th {
  width: 25%;
  padding: 5px 11px;
  background: #89c6cf;
  color: #ffffff;
  font-weight: bold;
}

.table_ream-weight .th_purpose {
  width: 50%;
}

.table_ream-weight td {
  padding: 8px 10px;
  background: #fcfcfc;
  color: #000000;
}

.table_ream-weight tr:nth-child(even) td {
  background: #eeeeee;
}

.table_ream-weight th:last-child,
.table_ream-weight td:last-child {
  border-right: 1px solid #76b0bf;
}

.table_ream-weight tr:last-child th,
.table_ream-weight tr:last-child td {
  border-bottom: 1px solid #76b0bf;
}

.table_ream-weight tr:first-child :first-child {
  border-top-left-radius: 5px;
}

.table_ream-weight tr:first-child :last-child {
  border-top-right-radius: 5px;
}

.table_ream-weight tr:last-child :first-child {
  border-bottom-left-radius: 5px;
}

.table_ream-weight tr:last-child :last-child {
  border-bottom-right-radius: 5px;
}

.table_ream-weight tr:not(:first-child) th,
.table_ream-weight tr:not(:first-child) td {
  border-top: none;
}

/*紙の説明*/
.box-017 {
  max-width: 100%;
  margin: 20px auto;
  padding: 0.5em 1.5em 1em;
  border-top: 5px solid #2589d0;
  border-radius: 3px;
  background-color: #f2f2f2;
}

.box-017>div {
  margin-bottom: 0.5em;
  color: #2589d0;
  font-weight: 600;
  font-size: 1.2em;
}

.box-017>p {
  margin: 0;
  color: #333;
}

/*関連商品*/
.connection-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

.connection {
  background-color: #8fc31f;
  text-align: center;
  padding: 10px;
  border-radius: 15px;
  color: #fff;
}

.connection:hover {
  background-color: #8fc31f;
  opacity: 0.7;
}

@media (1020px <=width < 1078px) {
  .connection {
    font-size: 1.3vw;
  }
}

@media (width < 700px) {
  .ream-weight-ul {
    grid-template-columns: 1fr;
  }

  .connection-list {
    display: flex;
    flex-direction: column;
  }
}

/*商品詳細*/
.description {
  .explanation-001 {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
  }

  h4 {
    font-size: 20px;
    margin: 0px 0 15px 0;
    color: #333;
  }

  .product_002 {
    display: block;

    p {
      font-size: 20px;
      font-weight: 700;

      span {
        color: #c8161d;
        font-size: 40px;
      }

      .yen {
        font-size: 20px;
        color: #c8161d;
      }
    }

    .sheet {
      font-size: 15px;
      color: #333;
      background-color: #f5f5f5;
      padding: 5px 15px;
    }

    .selectbtn {
      display: flex;
      flex-direction: column;
      margin: 30px 0;

      div {
        display: flex;
        align-items: center;
      }

      p {
        font-size: 15px;
      }

      .notes {
        font-size: 13px;
        font-weight: 600;
        color: #c8161d;
        margin-top: 15px;
      }
    }
  }
}

input[name="es_item_qty"] {
  border: 1px solid #c0c0c0;
  border-radius: 30px;
  padding: 10px 15px;
  margin-left: 20px;
  width: 180px;
}

.buy-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  background-color: #333;
  font-weight: 700;
  color: #fff;
}

.buy-btn::after {
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
}

.buy-btn:hover {
  opacity: 0.7;
}

/*商品紹介テーブル*/
.table_001 {
  border-spacing: 0;
  border-collapse: separate;
  width: 100%;
  height: 30%;
}

.table_001 td {
  background: #e6e6e6;
  color: #333333;
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  font-weight: 700;
}

.td_01 {
  padding: 10px;
  text-align-last: justify;
  width: 130px;
  border-right: 1px solid #e0e0e0;
}

.td_02 {
  padding-left: 10px;
  width: 472px;
}

.table_001 tr:nth-child(even) td {
  background: #ffffff;
}

.table_001 td:last-child {
  border-right: 1px solid #e0e0e0;
}

.table_001 tr:last-child td {
  border-bottom: 1px solid #e0e0e0;
}

.table_001 tr:first-child :first-child {
  border-top-left-radius: 15px;
}

.table_001 tr:first-child :last-child {
  border-top-right-radius: 15px;
}

.table_001 tr:last-child :first-child {
  border-bottom-left-radius: 15px;
}

.table_001 tr:last-child :last-child {
  border-bottom-right-radius: 15px;
}

.table_001 td:not(:first-child) {
  border-left: none;
}

.table_001 tr:not(:first-child) td {
  border-top: none;
}

.product_001 img {
  max-width: 100%;
}

.center {
  margin: auto;
  width: 400px;
  height: auto;
  object-fit: cover;
}

.center ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.center li {
  flex: 1 1 auto;
  margin-right: 8px;
}

li:last-of-type {
  margin-right: 0;
}

.delivery {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;

  h2 {
    font-size: 20px;
    padding: 10px;
    color: #fff;
    background-color: #d2b48c;
  }

  .delivery-001 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  img {
    width: 40%;
    height: auto;
    object-fit: contain;
  }
}

/*1500px以下*/
@media (1200px < width < 1500px) {
  .center {
    width: 300px;
  }
}

@media (400px < width <=1200px) {
  .explanation-001 {
    flex-direction: column;
    align-items: center;

    .center {
      width: 80%;
    }
  }
}

@media (width <=400px) {
  .explanation-001 {
    flex-direction: column;
    align-items: center;

    .center {
      width: 100%;
    }
  }

  .Product-description-003 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;

    .item-01,
    .item-02,
    .item-03 {
      grid-column: 1;
      grid-row: auto;
    }

    .item-02,
    .item-03 {
      grid-column: 1 / span 2;
    }

    .item-02 {
      margin-top: 15px;
    }

    .item-03 {
      margin-bottom: 15px;
    }
  }

}

@media (width <=500px) {


  .Product-description-003 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;

    .item-01,
    .item-02,
    .item-03 {
      grid-column: 1;
      grid-row: auto;
    }

    .item-02,
    .item-03 {
      grid-column: 1 / span 2;
    }

    .item-02 {
      margin-top: 15px;
    }

    .item-03 {
      margin-bottom: 15px;
    }
  }

}

.Product-description {
  margin: 50px 0;

  h4 {
    color: #4d4d4d;
    border-bottom: 2px solid #bababa;
    padding: 5px 10px;
    margin: 10px 0 20px 0;
    font-size: 25px;
    background-color: #f8f8f8;
    font-family: "M PLUS 1 Code", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }
}

.Product-description-002 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: -30px;


  .description_002 {
    display: block;
    width: 350px;
    padding: 10px 15px;
    background-color: #fffaf0;
  }

  h5 {
    color: #333333;
    font-size: 18px;
    margin-bottom: 10px;
  }

  img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  p {
    margin-top: 10px;
    text-align: justify;
  }

}

.Product-description-003 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 0 15px;
  margin: 30px 0;
  border-top: 1px solid #898989;
  border-bottom: 1px solid #898989;


  .item-01 {
    grid-column: 1 / span 2;
  }

  .item-02 {
    margin-bottom: 15px;
  }

  h5 {
    color: #333333;
    font-size: 20px;
    padding: 10px 0;
  }

  img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  p {
    margin-top: 10px;
    text-align: justify;
  }

}

.sample-sesal_delivery {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  i {
    font-size: 40px;
  }
}

.sample-sesal_delivery001 {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  width: 100%;

  img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 15px;
  }

  p {
    text-align: justify;
    margin: 0 10px 10px 10px;
  }
}

.box-005 {
  margin: 10px auto;
  border: 2px solid #f06060;
  border-radius: 5px;
  color: #f06060;
  padding: 10px;
}