/* =========================
   Blue Surf オーダーフォーム CSS
========================= */

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

header {
  text-align: center;
  padding: 40px 0;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

@media (min-width: 768px) {
  header h1 { font-size: 32px; }
}

/* =========================
   Form Layout
========================= */

main {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.order-form label {
  font-weight: bold;
  margin-bottom: 8px;
}

.order-form .hint {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.order-form input,
.order-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: #9ca3af;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.3);
}

/* =========================
   Gallery (Color / Logo 共通)
========================= */

.color-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;        /* 横幅いっぱいに均等配置 */
  margin-top: 12px;
}

.color-gallery figure {
  flex: 0 0 calc(10% - 20px);            /* 1行に10個想定（数値は調整可） */
  text-align: center;
  margin: 0;
  padding: 0;
}

.color-gallery img {
  width: 100%;
  height: 60px;                           /* 高さ固定で整列 */
  object-fit: contain;                    /* 画像比率を維持して収める */
}

.color-gallery figcaption {
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 25px;
  color: #555;
}

/* =========================
   Submit Button
========================= */

.order-form button[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 14px 0;
  background-color: #0ea5e9;       /* アクアブルー系 */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

.order-form button[type="submit"]:hover {
  background-color: #0284c7;       /* 少し濃くしてホバー感 */
  transform: translateY(-1px);     /* 押せる感を演出 */
}

.order-form button[type="submit"]:active {
  background-color: #0369a1;       /* 押したとき */
  transform: translateY(0);
}

