@charset "UTF-8";

/* ============================================
 * カスタムプロパティ（CSS変数）
 * ============================================ */
:root {
    --brand: #6ECFF6;
    --brand-dark: #2A7AA6;
    --bg: #F5F5F5;
    --card: #FFFFFF;
    --text: #333333;
    --muted: #666666;
    --line: #DDDDDD;
    --accent: #D4F4DD;
    --accent2: #FFF3B0;
}

/* ============================================
 * 基本設定
 * ============================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

.container {
    padding: 0 20px;
}

/* ============================================
 * ファーストビュー（FV）
 * ============================================ */
h2 {
    background-image: url(../img/inquiry-fv.jpg);
}

/* ============================================
 * タイポグラフィ
 * ============================================ */
h4 {
    font-weight: 700;
    margin: 0 0 8px;
    font-size: 24px;
}

.lead {
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 14px;
    text-align: center;
}

/* ============================================
 * タブ
 * ============================================ */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tab-btn {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
}

.tab-btn[aria-selected="true"] {
    border-color: var(--brand);
    color: #0F3B53;
    background: linear-gradient(#fff, #F8FDFF);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 0 0 3px rgba(110, 207, 246, .18) inset;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

/* ============================================
 * カード・グリッド
 * ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.grid {
    display: grid;
    gap: 16px;
}

@media(min-width:720px) {
    .grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
 * フォーム
 * ============================================ */
.field {
    margin-bottom: 14px;
}

.label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.help {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

/* フォームアクションボタン */
.actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn {
    appearance: none;
    border: 1px solid var(--brand-dark);
    color: #fff;
    background: var(--brand-dark);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

.btn.secondary {
    border-color: var(--line);
    color: #0F3B53;
    background: #E9F7FC;
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* インラインチップ */
.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
}

/* ============================================
 * 予約スロット
 * ============================================ */
.slot-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}

@media(min-width:720px) {
    .slot-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.slot {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.slot.disabled {
    opacity: .4;
    pointer-events: none;
    text-decoration: line-through;
}

.slot .mode {
    font-size: 12px;
    color: var(--muted);
}

.slot .book-btn {
    appearance: none;
    border: 1px solid var(--brand);
    background: var(--brand);
    color: #06344C;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
}

/* ============================================
 * スタッフカード
 * ============================================ */
.staff-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.avatar {
    inline-size: 44px;
    block-size: 44px;
    border-radius: 10px;
    background: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0F3B53;
    border: 1px solid var(--line);
}

.staff-info {
    flex: 1;
}

.title {
    font-size: 15px;
    font-weight: 700;
}

.role {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

.contact {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.contact a {
    font-size: 12px;
    text-decoration: none;
    color: #0F3B53;
    background: #E9F7FC;
    border: 1px solid var(--line);
    padding: 6px 8px;
    border-radius: 8px;
}

/* ============================================
 * トースト通知
 * ============================================ */
.toast {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    background: #06344C;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
 * セクションヘッダー
 * ============================================ */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.section-head h3 {
    margin: 0;
    font-size: 18px;
}

.mini {
    font-size: 12px;
    color: var(--muted);
}



/*font
英語
font-family: "Quicksand", sans-serif;
font-weight: Light-300,Regular-400,Medium-500,SemiBold-600,Bold-700;

日本語
font-family: "Murecho", sans-serif;
font-weight: Thin-100,ExtraLight-200,Light-300,Regular-400,Medium-500,SemiBold-600,Bold-700,ExtraBold-800,Black-900;
*/