﻿/* 全体のリセットとスマホベース設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

.form-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 15px;
}

/* ヘッダーエリアとキャッチコピー */
.header-area {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.catchphrase {
  font-size: 22px;
  color: #d35400;
  font-weight: bold;
  margin-bottom: 8px;
}

.summary-text {
  font-size: 13px;
  color: #555;
  margin-bottom: 15px;
  text-align: left; /* 【これを追加】これで左詰めになります */
}

/* PDFリンクボタン */
.pdf-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  background-color: #34495e;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
}

.pdf-link-btn:active {
  background-color: #2c3e50;
}

h2 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 5px;
}

.notice {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-bottom: 25px;
}

.section-title {
  font-weight: bold;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #2c3e50;
  border-bottom: 2px solid #2c3e50;
  padding-bottom: 5px;
}

.member-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
}

.member-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
  color: #16a085;
}

.form-group {
  margin-bottom: 15px;
}

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

.label-note {
  font-size: 11px;
  font-weight: normal;
  color: #e67e22; /* 楽器その他と同じオレンジ色で注意を促す */
  margin-left: 5px;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px; 
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  -webkit-appearance: none;
  appearance: none;
}

/* 1行入力・選択肢は高さ48px */
input[type="text"],
input[type="email"],
input[type="date"],
select {
  height: 48px; 
}

/* 【追加】要望用のテキストエリア設定 */
textarea {
  height: auto;
  resize: vertical; /* PCで上下のみリサイズ可能に */
  font-family: inherit;
}

/* 【追加】楽器「その他」選択時に出す記入欄（初期状態は非表示） */
.other-instrument-wrap {
  display: none;
  margin-top: 10px;
}

select {
  padding-right: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='10' height='10' viewBox='0 0 10 10'><path d='M0 3l5 5 5-5z' fill='%23666'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.submit-btn {
  display: block;
  width: 100%;
  height: 54px;
  background-color: #2ecc71;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 25px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.submit-btn:active {
  background-color: #27ae60;
}

/* 【追加】日時とコースを横並びにする設定 */
.form-row-flex {
  display: flex;       /* 横並びにする */
  gap: 10px;          /* 左と右の項目の間に10pxの隙間を作る */
  width: 100%;
}

.form-row-flex .flex-item {
  flex: 1;            /* 左右の横幅を「50%ずつ」均等に分ける */
  margin-bottom: 15px; /* 下の項目との余白 */
}

/* 【追加】お問合せボタンの装飾 */
.contact-btn-wrap {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
}

.contact-mail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;  /* iPhone SEの横幅からはみ出さないサイズ */
  height: 44px;      /* タップしやすい高さ */
  background-color: #ffffff;
  color: #2980b9;    /* 清潔感のある青い文字 */
  border: 2px solid #2980b9; /* 青い枠線 */
  text-decoration: none;
  border-radius: 22px; /* 綺麗な丸みのあるボタン */
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s;
}

/* ボタンを指で押したときの反応（スマホ対応） */
.contact-mail-btn:active {
  background-color: #2980b9;
  color: #ffffff;
}

/* スケジュールボード全体の枠 */

.board-title {
  font-size: 15px;
  color: #2c3e50;
  text-align: center;
  border-bottom: 2px solid #34495e;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.board-lead {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
}

.day-container {
  width: 100%;
}

.day-title {
  font-size: 14px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.4;
}

/* 全体のテーマがある場合に横につくタグ */
.theme-tag {
  display: inline-block;
  background-color: #e74c3c; /* 鮮やかな赤 */
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
}

.time-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  background-color: #f8fafc;
  padding: 6px 8px;
  border-radius: 4px;
}

.time-badge {
  background-color: #e67e22;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  margin-right: 8px;
  text-align: center;
  min-width: 82px;
}

.course-name {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  word-break: break-all;
}

.course-letter {
  display: inline-block;
  background-color: #34495e;
  color: #fff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  border-radius: 50%;
  margin-right: 5px;
}

/* パーカッション用の補足メッセージ枠 */
.notice-box {
  background-color: #fff9f1; /* 優しい薄オレンジの背景 */
  border-left: 4px solid #e67e22; /* 左側に目印の線を引く */
  padding: 10px;
  margin-top: 10px;
  font-size: 11px;
  color: #d35400;
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}



.venue-title {
  font-size: 15px;
  color: #2c3e50;
  text-align: center;
  border-bottom: 2px solid #34495e;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.venue-lead {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* 施設名と住所の装飾 */
.venue-info {
  text-align: center;
  margin-bottom: 15px;
}

.venue-name {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* 部屋名は少しだけ小さく補足風に */
.room-name {
  font-size: 13px;
  color: #16a085; /* アクセントに綺麗な深緑色 */
}

.venue-address {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* GoogleMapボタンの装飾 */
.map-btn-wrap {
  text-align: center;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px; /* iPhone SEの幅を超えないサイズ */
  height: 44px;
  background-color: #3498db; /* 地図を連想させる爽やかな青色 */
  color: #fff;
  text-decoration: none;
  border-radius: 22px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
  transition: background-color 0.2s;
}

.map-link-btn:active {
  background-color: #2980b9;
}

/* 【追加】折りたたみボード全体の共通デザイン */
.accordion-board {
  background-color: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  overflow: hidden;
}

/* タップする見出し部分（スマホ用に48pxの高さを確保） */
.accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 文字と「＋」を両端に離す */
  height: 48px;
  padding: 0 15px;
  font-size: 15px;
  font-weight: bold;
  color: #2c3e50;
  cursor: pointer;
  list-style: none; /* ブラウザ標準の三角矢印を消す */
  background-color: #ffffff;
}

/* Safari（iPhone）で標準の三角矢印を消すための設定 */
.accordion-summary::-webkit-details-marker {
  display: none;
}

/* 開いている状態のときは見出しの背景を少しトーンダウン */
.accordion-board[open] .accordion-summary {
  background-color: #f8fafc;
  border-bottom: 1px solid #eee;
}

/* 開いたときに「＋」を「✕」に変える */
.accordion-board[open] .accordion-icon {
  transform: rotate(45deg);
  color: #e74c3c; /* 閉じるときは赤色に */
}

.accordion-icon {
  font-size: 16px;
  transition: transform 0.2s; /* 変化をなめらかに */
}

/* 中身が広がるエリアの余白 */
.accordion-content {
  padding: 15px;
}

