@charset "UTF-8";
/* CSS Document */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  margin: 0;
  background: #f6f6f6;
  color: #333;
}

.order-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

h1,
h2 {
  text-align: center;
}

.lead {
  text-align: center;
  line-height: 1.7;
  color: #666;
}

/* ご注文者情報カード */
.customer-info {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  background: #fafafa;
}

/* 見出しを少し強調 */
.customer-info h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
  padding-left: 10px;
}

.order-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0;
}

.order-tab {
  border: 1px solid #ccc;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
}

.order-tab.is-active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.order-panel {
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.order-panel.is-active {
  display: block;
}

.form-row {
  margin-bottom: 16px;
}

/* フッター */
footer {
  border-top: 1px solid #666;
  padding: 20px;
  text-align: center;
  background: #fff;
}

footer p {
  margin: 5px 0;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

textarea {
  min-height: 90px;
}

.search-wrap {
  position: relative;
}

.suggestions {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.suggestion-btn {
  display: block;
  width: 100%;
  border: none;
  background: #fff;
  text-align: left;
  padding: 10px;
  cursor: pointer;
}

.suggestion-btn:hover {
  background: #f0f0f0;
}

.selected-item {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f8f8f8;
  color: #444;
}

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: bold;
  cursor: pointer;
  background: #333;
  color: #fff;
}

.btn.sub {
  background: #777;
}

.order-list {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

.order-table th,
.order-table td {
  border-bottom: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.summary-box {
  margin-top: 16px;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 12px;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.notice {
  margin-top: 12px;
  padding: 10px;
  background: #fff7e5;
  border: 1px solid #ead29a;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.notice-indent {
  display: inline-block;
  margin-left: 1em;
}
.box-qty-grid {
  display: flex;
  gap: 12px;
}

.qty-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qty-label {
  font-size: 13px;
  margin-bottom: 4px;
  color: #555;
  font-weight: bold;
}

.form-row select {
  width: 100% !important;
}

.form-row select {
  width: 100%;
  display: block;
  box-sizing: border-box;
  height: 42px;
  padding: 10px 36px 10px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  appearance: auto;
  -webkit-appearance: menulist;
}

.fixed-rank {
  font-weight: bold;
  margin-bottom: 6px;
}

.rank-note {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-left: 6px;
}