@charset "UTF-8";

/* =========================================================
   [出典] abouthimitsukichi.html & index.html
   全体の基本設定・フォント・変数の定義
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Playfair+Display&display=swap');

:root {
    /* [出典] abouthimitsukichi.html (お気に入りの色設定) */
    --brand-brown: #584232;
    --brand-orange: #d98c4d;
    --brand-light-orange: #F9E0C0;
    --brand-active-orange: #E6A35B;
    --brand-bg: #F7F1E5;
    --brand-border: #e9cdb1;
    --league-color: #6d7e9c; 
}

html {
    /* [出典] style.css (基本動作) */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    /* [出典] abouthimitsukichi.html (中央寄せ・幅設定をこちらに統一) */
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    max-width: 840px;
    color: var(--brand-brown);
    font-family: "Helvetica Neue", Arial, "Yu Gothic", "Noto Sans JP", sans-serif;
}

.container {
    /* [出典] style.css (コンテナの基本) */
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    max-width: 100%;
}

/* =========================================================
   [出典] abouthimitsukichi.html
   見出し (Typography) - お気に入りのフォント設定
   ========================================================= */
h1 {
    text-align: center;
    margin: 0 0 24px;
    font-size: 2rem;
    letter-spacing: 0.05em;
    color: var(--brand-brown);
}

h1, h2, legend {
    font-family: 'Playfair Display', serif;
    color: var(--brand-orange);
}

/* 英語のサブタイトル (MARIKO SATSUKI など) */
.subhead-en {
    display: block;
    font-size: 0.8rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.15em;
    color: #c89b6e;
    margin-top: -10px;
    margin-bottom: 16px;
    text-align: center;
}

/* =========================================================
   Header（サイト共通）
   ========================================================= */
/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff9f5;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
  }

.title-area {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }


.title-area h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--brand-orange);
}
.title-area h1 a {
    color: inherit;
    text-decoration: none;
}

  .site-header h1 {
    font-size: 1.4rem;
    margin: 8px 0 4px;
    color: #d98c4d;
  }

  .subhead-en {
    font-size: 0.8rem;
    color: #b48d6e;
    margin: 0;
  }


/* =========================================================
   Header（サイト共通）
   ========================================================= */

/* ナビメニュー (PC) */
.main-menu > ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-menu li a {
    text-decoration: none;
    color: #3a2c1e;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ナビメニュー (スマホ) */
.menu-icon {
    display: none;
}
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 1.8rem;
        color: var(--brand-orange);
        cursor: pointer;
    }
    .main-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        z-index: 1000;
        padding-bottom: 12px;
    }
    .main-menu.show { display: block; }
    .main-menu ul { flex-direction: column; gap: 0; }
    .main-menu li a { display: block; padding: 12px 16px; border-bottom: 1px solid #eee; }
}

main.container {
    margin-top: 80px; /* ヘッダー固定分の余白 */
    padding: 0 16px;
}

  /* ▼ 共通：サブメニュー非表示（デフォルト） */
  .has-submenu {
    position: relative;
    background-color: #fff;
  }

  .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 320px;
    /* ← 広げる！ */
    max-width: 100vw;
    /* ← 画面からはみ出さない */
    white-space: normal;
    /* ← 折り返しOK */
    overflow-wrap: break-word;
    padding: 8px 12px;
    list-style: none;
    z-index: 999;
    pointer-events: auto;
  }




  .submenu li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #3a2c1e;
    white-space: normal;
    align-items: center;
  }

  .submenu li a:hover {
    background-color: #fceee2;
  }

  /* ▼ PCホバーで表示 */
  @media (min-width: 769px) {
    .has-submenu:hover .submenu {
      display: block;
    }
  }

  /* ▼ スマホ対応：親リンクをクリックで切り替え */
  @media (max-width: 768px) {
    .has-submenu>a::after {
      content: "▼";
      float: right;
      margin-left: 8px;
    }

    .has-submenu.open .submenu {
      display: block;
    }
  }

/* フッター */
.site-footer {
    width: 100%;
    background-color: #fdfaf8;
    color: #8c7054;
    padding: 24px 0;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 40px;
}
.footer-inner {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 16px;
    line-height: 1.4;
}
.site-footer a { color: var(--brand-orange); text-decoration: none; }
.site-footer hr { margin: 12px auto; width: 60%; border: none; border-top: 1px solid #e4d5c6; }


/* =========================================================
   [出典] abouthimitsukichi.html
   さつきさんお気に入りのコンポーネント集
   ========================================================= */

/* 1. 基本のセクション枠 (ベージュ背景) */
.section {
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    padding: 24px 20px;
    margin-bottom: 24px;
    background: var(--brand-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

  .section legend {
    padding: 0 8px;
    font-weight: 700;
    font-size: 1.15rem;
    color: #584232;
  }

.section-description {
    font-size: 0.9rem;
    color: #555;
    margin: 4px 0 10px 0;
    line-height: 1.4;
}

/* 2. STEPなどのフローチャート囲い (.flow-card) */
.flow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 16px;
}
.flow-card {
    background: #fff;
    border: 2px solid var(--brand-border);
    border-radius: 12px;
    padding: 24px 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 2px 8px rgba(88, 66, 50, 0.05);
}
.step-badge {
    position: absolute;
    top: -14px;
    left: 16px;
    background: var(--brand-brown);
    color: #fff;
    font-size: 0.85rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.05em;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 20px;
    border: 2px solid var(--brand-bg);
}
.flow-arrow {
    font-size: 1.5rem;
    color: var(--brand-border);
    margin: -4px 0;
    z-index: 1;
    position: relative;
    line-height: 1;
    text-shadow: 0 2px 0 #fff;
}
.flow-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 12px;
    display: block;
    color: var(--brand-brown);
    border-bottom: 1px dashed var(--brand-border);
    padding-bottom: 8px;
}
.flow-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* ========== Buttons 基本 ========== */
button {
  padding: 8px 16px;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  background: #F9E0C0;
  color: #5C4A3A;
  transition: background 0.18s ease, transform 0.1s ease;
}
button:hover {
  background: #E6A35B;
  transform: translateY(-1px);
}
button:active {
  transform: translateY(0);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}



/* ========== Buttons バリエーション ========== */
/* 幅いっぱいのボタン用 */
.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 16px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.btn-block::after {
    content: "→";
    position: absolute;
    right: 16px;
    font-family: monospace;
    transition: transform 0.2s;
}
.btn-block:hover::after {
    transform: translateX(4px);
}
/* オレンジボタン */
.btn-register {
    background-color: var(--brand-active-orange);
    box-shadow: 0 4px 10px rgba(230, 163, 91, 0.3);
    border: none;
}
.btn-register:hover {
    background-color: var(--brand-orange);
    transform: translateY(-2px);
}
/* 茶色ボタン */
.btn-reserve {
    background-color: var(--brand-brown);
    box-shadow: 0 4px 10px rgba(88, 66, 50, 0.2);
}
.btn-reserve:hover {
    background-color: #4a3525;
    transform: translateY(-2px);
}

/* 4. サブセクション枠 (.sub-section) - 白背景の囲い */
.sub-section { 
    background: #fff; 
    border-radius: 8px; 
    padding: 16px; 
    margin-bottom: 16px; 
    border: 1px solid #eee; 
}
.sub-title { 
    font-weight: bold; 
    margin-bottom: 8px; 
    border-left: 4px solid var(--brand-border); 
    padding-left: 8px; 
    color: var(--brand-brown); 
}

/* 5. Informationリスト (.info-list) - ドットが可愛いリスト */
.info-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    font-size: 0.9rem;
    background: #faf8f5;
    padding: 10px;
    border-radius: 6px;
}
.info-list li {
    margin-bottom: 4px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}
.info-list li::before {
    content: "•";
    color: var(--brand-orange);
    font-weight: bold;
    margin-right: 6px;
}

/* 6. ルールリスト（チェックマーク付き） */
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li { margin-bottom: 8px; padding-left: 1.2em; text-indent: -1.2em; line-height: 1.6; }
.rule-list li::before { content: "✔"; color: var(--brand-orange); font-weight: bold; margin-right: 6px; }


/* =========================================================
   [出典] index.html
   ========================================================= */
/* 矢印付きのおしゃれリンク */
.fancy-link {
            display: inline-flex;
            justify-content: space-between;
            width: 100%;
            /* ←ここを修正 */
            max-width: 260px;
            /* 必要なら最大幅で制限 */
            padding: 12px 20px;
            border: 1px solid #444;
            text-decoration: none;
            color: #555;
            font-size: 1rem;
            font-weight: 400;
            transition: all 0.3s ease;
            gap: 6px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: start;
            text-align: left;
        }

.fancy-link:hover {
    background-color: #fafafa;
    color: #222;
    border-color: #222;
}
.fancy-link .arrow, .fancy-link .arrow-fancy {
    color: #999;
    transition: transform 0.3s ease;
}
.fancy-link:hover .arrow, .fancy-link:hover .arrow-fancy {
    transform: translateX(4px);
    color: #444;
}


/* =========================================================
   Forms（入力フォームの共通レイアウト）
   ========================================================= */
  .form-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .form-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
  }

  .form-row input {
    margin-bottom: 8px;
  }

  .form-row label {
    min-width: 40px;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .form-row input,
  .form-row select {
    flex: 1;
    min-width: 120px;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    outline: none;
  }

  .form-row input:focus,
  .form-row select:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.25);
    outline: none;
  }

  .narrow-label {
    min-width: 30px;
    font-weight: bold;
  }

  .form-row input.short-input {
    width: 42px;
    min-width: unset;
    flex: 0 0 auto;
  }


  .wide-label {
    min-width: 60px;
    font-weight: bold;
  }

  .long-input {
    flex: 1;
    min-width: 100px;
    max-width: 376px;
    padding: 8px 12px;
  }

  .medium-input {
    width: auto;
    min-width: 50px;
    max-width: 250px;
    flex: 0 0 auto;
  }


  /* =========================================
       ▼ ステッチ風デザイン（外枠・装飾） ▼
       ========================================= */

    /* フォーム全体を囲むステッチ枠（ここは可愛く） */
    .stitch-frame {
        background: #fff;
        padding: 24px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        position: relative;
        margin-bottom: 32px;
    }
    /* 内側の破線（飾り） */
    .stitch-frame::after {
        content: "";
        position: absolute;
        top: 6px; left: 6px; right: 6px; bottom: 6px;
        border: 2px dashed var(--brand-border); 
        border-radius: 8px;
        pointer-events: none;
        z-index: 1;
    }
    .stitch-content {
        position: relative;
        z-index: 2;
        padding: 8px; 
    }

    /* タイトル装飾 */
    .page-title {
        text-align: center;
        margin-bottom: 24px;
    }
    .page-title h1 {
        display: inline-block;
        border-bottom: 2px dashed var(--brand-orange);
        padding-bottom: 8px;
        margin-bottom: 4px;
        font-size: 1.6rem;
    }
    .page-title span {
        display: block;
        font-size: 0.85rem;
        color: #a08266;
        font-family: 'Playfair Display', serif;
        letter-spacing: 0.1em;
    }


    /* =========================================================
   From Register: 汎用パーツ（タグ・注釈・成功画面）
   ========================================================= */

/* 必須・任意タグ */
.required-tag {
    color: var(--brand-active-orange);
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 4px;
    background: #fff0e0;
    padding: 2px 6px;
    border-radius: 4px;
}

.any-tag {
    font-size: 0.75rem;
    color: #999;
    font-weight: normal;
    margin-left: 6px;
}

/* 注釈テキスト */
.note {
    font-size: 0.8rem;
    color: #8c7054;
    margin-top: 6px;
    line-height: 1.4;
}

/* フォームグループ（縦並びレイアウト用） */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--brand-brown);
    font-size: 0.95rem;
}

/* LINEボタン（汎用クラスとして追加） */
.line-btn {
    background-color: #06c755;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    border-radius: 8px;
    margin-top: 16px;
    border: 2px dashed #05b34c; /* ステッチ風維持 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.line-btn:hover {
    transform: translateY(-2px);
    background-color: #05b34c;
}

/* 成功画面（チケット風デザイン） */
.success-ticket {
    background: #fffcf5;
    border: 3px dashed var(--brand-orange);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(217, 140, 77, 0.15);
    margin-bottom: 40px;
}

/* =========================================================
   From Register: 入力フォームのスマホ最適化
   input スタイルと競合しないよう、クラス指定 (.std-input) に変更
   ========================================================= */
.std-input {
    width: 100%;
    padding: 12px 14px; /* タップしやすい広さ */
    font-size: 16px;    /* スマホ自動拡大防止 */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
    appearance: none;
    height: 50px;       /* 指で押しやすい高さ */
    color: #333;
}

.std-input:focus {
    border-color: var(--brand-active-orange);
    box-shadow: 0 0 0 3px rgba(230, 163, 91, 0.25);
    outline: none;
}