/* ↓global↓ */
body {
  width: 100%;
}
h3 {
  background-color: rgb(230, 230, 230);
  padding: 10px 20px;
}

a {
  color: inherit;
  text-decoration: none; /* no underline */
}

a:hover {
  text-decoration: underline;
}

textarea {
  resize: vertical;
}
/* ↑global↑ */

/* ↓utils↓ */
.flex {
  display: flex;
}

.flex-d-col {
  flex-direction: column;
}

.justify-content-space-around {
  justify-content: space-around;
}

.justify-content-center {
  justify-content: center;
}

.d-none {
  display: none;
}

.w-100 {
  width: 100%;
}

.w-80 {
  width: 80%;
}

.m-auto {
  margin: auto;
}

.mb-1 {
  margin-bottom: 1rem;
}

.bg-color-accent {
  background-color: #ea4c89;
}

.text-md {
  font-size: 1rem;
}

.text-lg {
  font-size: 2rem;
}

.text-bold {
  font-weight: bold;
}

.text-alert {
  color: red;
}

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

.control {
  text-align: left;
  margin-bottom: 10px;
}

.control > label {
  display: block;
  font-size: 1rem;
  margin-bottom: -3px;
}

.control > select {
  font-size: 1rem;
}

.control > input {
  font-size: 1rem;
  width: 100%;
}

.control > textarea {
  width: 100%;
}

.container {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
/* ↑utils↑ */

/* ↓layouts↓ */
html {
  font-size: 18px;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, 'Yu Gothic',
    YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ',
    Meiryo, sans-serif;
}

main > section {
  padding: 3rem 0rem;
  border-bottom: 1px solid #ccc;
}

main > section:first-child {
  padding: 1rem 0rem 3rem 0rem;
}

.messages {
  margin-bottom: 1rem;
}

/* ↑layouts↑ */

/* components */
.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.logo {
  text-align: center;
}

/* header */
nav.nav {
  display: flex;
  justify-content: center;
}

nav.nav ul {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  list-style: none;
}

nav.nav ul li {
  font-size: 1rem;
  padding: 5px 20px;
}

/* price item */
.skr-item-wrapper {
  flex: 1;
  max-width: 450px;
}

.skr-item {
  margin: auto;
  max-width: 350px;
  border: #ccc solid 1px;
  padding: 30px 30px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 2px 5px 30px -5px rgb(0 0 0 / 6%);
}

.skr-item > header {
  font-weight: bold;
  padding: 5px;
}

.skr-item > .skr-item-body {
  padding: 5px;
}

.skr-item-body .media {
  padding: 5px 0px;
}

.skr-item-body img {
  width: 162px;
  border: #ccc solid 1px;
}

.skr-item-body .prices {
  margin-bottom: 30px;
}

.skr-item-body .prices .price {
  margin: 15px 0;
}

.skr-item-body .prices .price .price-text {
  padding-left: 2px;
  padding-right: 2px;
  font-size: 2rem;
  font-weight: bold;
}

.skr-item-body .description {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  text-align: left;
  height: 307px;
}

.skr-item-body .description ul {
  list-style-type: '\2713';
}

.skr-item-body .description ul li {
  padding-bottom: 0.8rem;
}

.skr-item > footer {
  width: 80%;
  margin: auto;
  padding: 10px;
  margin-top: 1rem;
}

.skr-item > footer .label {
  padding-right: 10px;
}

.shop-btn {
  display: block;
  width: 100%;
  font-size: 1.4rem;
  border-radius: 50px;
  border-style: none;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 20px 20px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
}

.btn-primary {
  color: #3e3a34;
  background-color: #49cbf2;
}

.shop-btn:hover {
  opacity: 0.5;
  text-decoration: none;
}

.shop-btn:disabled {
  color: black;
  background-color: #ccc;
  cursor: default;
}

.shop-btn:disabled:hover {
  opacity: 1;
}

/* id */
input#shareware-quantity {
  width: 50%;
  text-align: right;
}

