* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベース */
body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    background: #00a1e9;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.screen {
    /* display: none; */
    padding: 40px 25px;
    min-height: calc(100vh - 80px);
    text-align: center;
    position: relative;
}

.screen.active {
    display: block;
}

/* 共通ヘッダー */
.header {
    background: #013686;
    color: white;
    padding: 30px 20px;
    margin: -40px -25px 30px -25px;
    position: relative;
    overflow: hidden;
}

.title {
    font-size: 28px;
    font-weight: bold;
    margin: 6px 0;
    position: relative;
    z-index: 1;
}

.soccer-ball {
    font-size: 60px;
    margin: 20px 0;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* step1 オレンジ上部 */
.fc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: #013686;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 25px;
    font-weight: bold;
    margin: 10px 0;
    border: 1px solid rgba(0, 102, 204, 0.3);
}
/* オレンジ説明文 */
.description {
    font-size: 25px;
    font-weight: bold;
    color: white;
    line-height: 1.7;
    margin-bottom: 25px;
    background: #f08336;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 0 rgba(0,0,0,.08);
}

.step-list {
    text-align: left;
    margin: 25px 0;
}

.step {
    display: flex;
    align-items: center;
    margin: 18px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border-radius: 999px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    transition: transform 0.2s;
}

.step:hover {
    transform: translateX(5px);
}

.step-number {
    background: #013686;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    box-shadow: 0 3px 6px rgba(0, 102, 204, 0.3);
}

.step strong{
    color:#0c2f6b;
    font-size: 25px;
    font-weight: bold;
}

.btn {
    background: #013686;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    margin: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #868e96);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.6);
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.team-logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0066cc;
    font-weight: bold;
    border: 3px solid rgba(255,255,255,0.3);
}

/* 共通フォームスタイル */
.form-input,
select.form-input {
  width: 320px;
  height: 54px;
  font-size: 18px;
  padding: 0 14px;
  border: 2px solid #0066cc;
  border-radius: 12px;
  background: #ffffff;
  color: #013686;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.1);
  appearance: none;         /* デフォルト矢印を非表示 */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='%23003484' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* hover/focus */
select.form-input:hover,
select.form-input:focus {
  border-color: #013686;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
  background-color: #f0f9ff;
}

/* 年・月・日バージョン */
.form-input.short,
.form-input.short.mm,
.form-input.short.dd {
  width: 140px;
  height: 56px;
  font-size: 20px;
}

/* ラベル（年・月・日）もおしゃれに */
.inline-field span {
  font-size: 18px;
  color: #013686;
  font-weight: 600;
  margin-left: 6px;
}

/* フォームの横幅を中央で揃える（お好みで最大幅） */
.form-group{ 
    max-width:720px; margin:16px auto; 
}

/* 2行目：年・月・日を横並び */
.inline-fields{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap; /* 画面が狭い時は折り返し */
}

/* プルダウンを大きめに（高さと文字サイズUP） */
.form-input,
select.form-input {
  width: 320px;          /* 幅を統一 */
  height: 48px;          /* 高さを統一 */
  font-size: 18px;       /* 文字サイズ統一 */
  padding: 0 12px;       /* 内側余白 */
  border: 2px solid #e9ecef;
  border-radius: 10px;   /* 丸みを同じに */
  background: #fff;
  box-sizing: border-box;
  transition: all 0.3s;
}

/* 各セレクト + 単位 */
/* 2行目：年・月・日を“横並び&中央揃え” */
.inline-fields{
  display:flex;
  align-items:center;
  justify-content:center;   /* ← これがポイント */
  gap:12px;
  flex-wrap:wrap;           /* 画面が狭い時は折り返し */
}

.inline-field span {
  font-size: 18px;
  margin-left: 4px;
  color: #013686;     /* 青系の文字色で統一感 */
  font-weight: bold;
}

/* プルダウンを短く（長すぎ問題を解消） */
.form-input.short{ 
  width:130px;              /* 年 */
}
.form-input.short.mm,
.form-input.short.dd{ 
  width:100px;              /* 月・日 */
}
/* ラベルの文字も中央寄せ */
.form-group .form-label{
    display:block;
    text-align:center;
    margin-bottom:8px;
    color:#0c2f6b;
    font-size: 25px;
}

.error-message {
    background-color: #fdecea;  /* 薄い赤（警告系背景） */
    color: #b71c1c;             /* 濃い赤（文字色） */
    border: 1px solid #f5c2c0;  /* 少し濃い枠線 */
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 6px;
    font-size: 0.9rem;
}

