:root {
  --primary-color: #F19C3A;
  --main-font-color: #412614;
  --background-color: #FEF7C1;
  --container-background-color: #FFFFFF;
}

body {
  color: var(--main-font-color);
  background-color: var(--background-color);
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
}

.body-container {
  max-width: 800px;
  margin: 24px auto 15px auto;
  padding: 0 10px;

}

.img-howtouse {
  width: 100%;
  height: auto;
}

.procedure-flex-container {
  display: flex;
  flex-direction: column;

  .procedure-p {
    display: flex;

    .icon {
      width: 80px;
      height: auto;
      margin: 1rem 0 1.5rem 0;
      padding: 0;
      position: relative;
    }

    p {
      width: 100%;
      height: auto;
      margin: 0;
      padding: 0;
    }
  }

  .procedure-right {
    flex: 1;
    margin: 0 0 0 20px;
    padding: 0;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;

    img {
      height: 1.2rem;
      width: auto;
      margin: 0;
      margin-top: 1rem;
      padding: 0;
    }

    p {
      font-size: 12px;
      text-wrap: wrap;
    }
  }
}

h2 {
  text-align: center;
  font-size: 21px;
  margin: 4rem 0 1rem 0;
}

h3 {
  font-size: 16px;
  text-align: left;
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
}

.convini-container{
  display: flex;
  justify-content: center;
  .convini-img{
    width: 100%;
  }
}

.print-button-container {
  display: flex;
  justify-content: center;

  .print-button {
    display: inline-block;
    background-color: white;
    width: 45%;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    color: var(--main-font-color);
    text-decoration: none;
  }

  .print-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;

    span {
      margin-top: 5px;
      display: inline-flex;
      text-wrap: nowrap;
      font-size: 12px;
    }
  }

  .print-icon {
    width: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
  }

  .link-img {
    width: 0.8rem;
    height: auto;
    margin: 0;
    margin-left: 5px;
    padding: 0;
  }
}

.paper-name-size {
  display: flex;
  margin: 0px;

  strong {
    font-size: 12px;
  }

  h3 {
    margin-bottom: 5px;
  }
}

.size {
  font-size: 0.6rem;
  align-content: center;
  margin: 0;
  padding: 0;
  padding-left: 8px;
  letter-spacing: -0.03rem;
}

.price-l-2l {
  font-size: 12px;
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
}

.price {
  font-size: 11px;
  margin: 0;
  margin-bottom: 5px;
  padding: 0;
}

.printing-paper-details {
  position: relative;
  padding: 40px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 10px;
  background-color: var(--container-background-color);

  .balloon {
    position: absolute;
    top: -25px;
    background-color: var(--primary-color);
    border-radius: 50px;
    padding:8px 12px;
    color: white;
    font-size: 10px;
    font-weight: bold;
  }

  .balloon:after {
    content: '';
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: var(--primary-color);
  }

  .paper-title {
    text-align: center;
    line-height: 1.0;
    margin-bottom: 25px;

    h2, p {
      margin: 0;
    }

    h2 {
      font-size: 19px;
    }

    p {
      margin-top: 5px;
      font-weight: bold;
    }
  }

  .printing-paper-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
  }

  .img-l {
    justify-self: flex-end;
    align-self: center;
    max-width: 102px;
    height: auto;
    width: auto;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
  }

  .img-2l {
    justify-self: flex-end;
    align-self: center;
    max-height: 102px;
    height: auto;
    width: auto;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
  }

  .paper-detail-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-content: center;
    margin: 0;
    padding: 0;
  }

  .other-print-detail {
    display: flex;
    gap: 40px;

    h3 {
      text-align: center;
      font-size: 1rem;
      font-weight: bold;
    }

    p, h4{
      margin: 0;
    }
  }

  .note {
    display: block;
    margin: 20px;
    text-indent: -1em;
    padding-left: 1em;
    color: rgba(65, 38, 20, 0.6);
    font-size: 10px;

    .store-search-link, .link-icon {
      color: #F19C3A;
      filter: none;
    }

    .link-icon {
      width: auto;
      height: auto;
    }

    .store-search-link {
      color: var(--primary-color);
    }
  }
}

.other-paper-container {
  display: flex;
  flex-direction: column;
  margin: 10px;
  background-color: var(--container-background-color);
  padding: 20px 0px;

  h2 {
    font-size: 1.2rem;
    text-align: left;
    margin: 10px 0px 20px 20px;
  }

  .other-paper-flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;

    .plain-paper-container {
      margin-left: 22px;
    }
  }

}

.footer {
  display: flex;
  justify-content: center;
  margin: 40px 0;

  .footer-container {
    width: 22.5rem;

    div {
      display: flex;
      justify-content: space-around;
      margin-bottom: 15px;
    }

    img {
      width: 1rem;
      height: auto;
      margin: 0;
      margin-right: 5px;
      padding: 0;
    }

    .top-left, .bottom-left {
      display: flex;
      align-items: center;
      background-color: transparent;
      border: none;
      padding: inherit;
      text-align: left;
      text-decoration: none;
      font-size: 12px;
      color: var(--main-font-color);
    }

    .top-right, .bottom-right {
      display: flex;
      align-items: center;
      background-color: transparent;
      border: none;
      padding: inherit;
      text-align: right;
      text-decoration: none;
      font-size: 12px;
      color: var(--main-font-color);
    }
  }
}
