/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  display: block;
}
a {
  color: rgb(255, 141, 240);
}
a.aname {
  top: -94px;
  position:relative;
  z-index: 100;
  font-size: 0;
}
dl {
  margin-block-start: 0 !important;  
  margin-block-end: 0 !important;
}

/* ベース */
body {
  font-family: sans-serif;
  line-height: 1.5em;
  background: #fff;
  /*
  background: url(./img/popbg30.png);
  background-size: cover;
  background-attachment: fixed;
  */
  color: #222;
}

/* ヘッダー */
header {
  background: #333;
  color: #fff;
  padding: 0 0 5px 0;
}
.header-login {
  position: absolute;
  top: 7px;
  right: 6px;
  background: #0099ff;
  color: #fff;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
}
h1 {
  font-family: "Kaisei Opti", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  text-align: center;
  /* padding: 0 2em 0 0; */
}


/* メイン */
main {
  padding: 0 0;
}

/* フッター */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  margin: 150px 0 0 0;
}
footer p {
  padding: 8px;
}
footer p img {
  display: inline-block;
  width: 100px;
}
footer ul {
  list-style-type: none;
  margin: auto;
}
footer ul li {
  list-style-type: none;
  display: inline-block;
  padding: 0 0.5em;
  font-size: x-small;
}
footer p a {
  color: #fb2;
}
footer ul li a {

}

/* 共通コンテナ */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 15px 10px;
}
main .container {
  padding: 30px;
  width: 100%;
  max-width: 480px;
}

/* グリッド
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}
 */


/* =====================
   フォーム
===================== */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: larger;
  font-weight: bold;

}
label.label-required::after {
  content: " *";
  color: #ff5a5a;
  font-weight: bold;
  /* margin-left: 4px; */
}

select,
input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: large;
}
input[type="number"] {
  border: none;
}
.spin_erase::-webkit-inner-spin-button,
.spin_erase::-webkit-outer-spin-button {
  -webkit-appearance: none!important;
  margin: 0!important;
  -moz-appearance:textfield!important;
}
main textarea {
  min-height: 100px;
  width: 100%;
  padding: 10px;
  font-size: large;
  border: 1px solid #999;
}
input#extra-name,
main textarea {
  background: #eee;
  border-radius: 6px;
}
input#extra-name:focus,
main textarea:focus {
  background: #fff;
  /* outline: none; */
}

/* =====================
   数量
===================== */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-control button {
  width: 36px;
  height: 36px;
  border: none;
  background: #eee;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}
.quantity-control input {
  text-align: center;
}
/* 個数 横並び */
.quantity-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-inline input {
  width: 60px;
  font-weight: bold;
}
.quantity-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.quantity-group > label {
  margin-bottom: 0;
  white-space: nowrap;
  font-weight: normal;
}
/*
.quantity-group > .quantity-control {
  margin-left: auto;
}
*/

/* =====================
   合計
===================== */
.total {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding:15px 0 0 0;
  font-size: x-large;
  border-top: 1px dashed #999;
}

.total strong {
  color: #e91e63;
  font-weight: bold;
}

/* =====================
   ボタン
===================== */
.confirm-container button,
main button.button-go {
  width: 100%;
  background: rgb(255 168 244);
  color: #111;
  border-radius: 5px;
  border: none;
  border: 1px dotted #999;
  padding: 20px 0;
  margin: 30px auto;
  text-decoration: none;
  font-size: x-large;
  box-shadow: 0 8px 0 rgb(218, 105, 202);
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 2px;
}
.confirm-container .btn,
.thanks-container .btn {
  display: block;
  padding: 1rem 2rem;
  font-size: large;
  color: #fff;
  background: #333;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
  width: 15rem;
  text-align: center;
  margin: auto;
}
.confirm-container .btn:hover,
.thanks-container .btn:hover,
.confirm-container button:hover,
main button.button-go:hover {
  opacity: 0.8;
}

/* =====================
   カード
===================== */
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card-body {
  padding: 15px;
}

#product-name {
  font-size: 18px;
  margin-bottom: 5px;
}

#product-price {
  color: #e91e63;
  /* font-weight: bold; */
  margin-bottom: 15px;
}
#product-max {
  color: #555;
  font-size: small;
  text-align: right;
}
.card img {
    width: 100%;
    line-height: 0;
    margin: 0;
    min-height: 120px;
    background: #fff;
}
img.flow {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
    padding: 25px 25px;
}
/*
main {
  background: #fff url(./img/flow.png) no-repeat center 10px;
  background-size: contain;
  padding-top: 170px;
}
*/



/* thanks */
.confirm-container,
.thanks-container {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: inherit;
}
.thanks-container {
  text-align: center;
}
.confirm-container .order-item {
  border-top: 1px solid #ccc;
  padding: 0.5rem 1rem;
}
.confirm-container .check-icon,
.thanks-container .check-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
  font-size: 32px;
  line-height: 64px;
  font-weight: bold;
}
.confirm-container h2,
.thanks-container h2 {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  text-align: center;
}
.confirm-container p,
.thanks-container p {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}
















/* モバイル（デフォルト） */
@media (max-width: 768px) {
  body {
    background-size: auto;
  }
  /*
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  */
  .container {
    padding-top: 10px;
    padding-bottom: 7px;
  }
  main .container {
    padding: 0px 15px 15px 15px;
  }
}

/* タブレット */
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .container {
    padding-left: 30px;
  }
  h1 {
    font-size: xx-large;
    text-align: left;
  }
  .card.small {
    margin-top: 18px;
  }
}

/* PC */
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}










