/*
Theme Name: Ticket System Theme
Theme URI: 
Author: みんな大好き櫻井ちゃん
Author URI: 
Description: 回数券管理システム専用テーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ticket-system
*/

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ヘッダー */
header {
  background-color: #2c3e50;
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 24px;
  margin: 0;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

header nav a:hover {
  opacity: 0.8;
}

/* メインコンテンツ */
main {
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* ボタン */
.button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #2980b9;
}

.button-primary {
  background-color: #2ecc71;
}

.button-primary:hover {
  background-color: #27ae60;
}

.button-danger {
  background-color: #e74c3c;
}

.button-danger:hover {
  background-color: #c0392b;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

/* 会員証スタイル */
.member-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.member-card .member-number {
  font-size: 28px;
  font-weight: bold;
  margin: 20px 0;
}

.member-card .qr-code {
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
  margin: 20px 0;
}

/* チケット表示 */
.ticket-info {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 15px;
  margin: 15px 0;
}

.ticket-info h3 {
  margin-bottom: 10px;
  color: #2c3e50;
}

.remaining-count {
  font-size: 32px;
  font-weight: bold;
  color: #e74c3c;
}

/* フッター */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .card {
    padding: 20px;
  }
}
