/* =========================================================
   ベース
========================================================= */
.hh-wrap {
    max-width: 960px;
    margin: 48px auto;
    padding: 0 16px;
}

.hh-head {
    margin-bottom: 32px;
    text-align: left;
}

.hh-kicker {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #888;
    text-transform: uppercase;
}

.hh-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.25;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.01em;
}

.hh-subtitle {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* =========================================================
   通知
========================================================= */
.hh-notice {
    margin-bottom: 28px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    line-height: 1.8;
}

.hh-notice-success {
    background: #f7fbf8;
    border-color: rgba(21, 120, 80, 0.20);
    color: #1f3b2f;
}

.hh-notice-error {
    background: #fff8f8;
    border-color: rgba(185, 28, 28, 0.18);
    color: #7f1d1d;
}

.hh-notice-title {
    margin: 0 0 10px;
    font-weight: 700;
}

.hh-error-list {
    margin: 0;
    padding-left: 1.2em;
}

/* =========================================================
   フォーム
========================================================= */
.hh-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================================================
   セクション
========================================================= */
.hh-section {
    padding: 28px 28px 24px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.hh-section-head {
    margin-bottom: 18px;
}

.hh-section-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.01em;
}

.hh-section-note {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #6b7280;
}

/* =========================================================
   グリッド
========================================================= */
.hh-grid {
    display: grid;
    gap: 18px 20px;
}

.hh-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hh-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hh-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* =========================================================
   フィールド
========================================================= */
.hh-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hh-field label {
    display: block;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
    color: #374151;
}

/* =========================================================
   入力
========================================================= */
.hh-form input[type="text"],
.hh-form input[type="date"],
.hh-form input[type="time"],
.hh-form select,
.hh-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 1.7;
    color: #111827;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.hh-form textarea {
    min-height: 120px;
    resize: vertical;
}

.hh-form input[type="file"] {
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
}

.hh-form input::placeholder,
.hh-form textarea::placeholder {
    color: #9ca3af;
}

.hh-form input:focus,
.hh-form textarea:focus,
.hh-form select:focus {
    outline: none;
    border-color: #1f8f62;
    box-shadow: 0 0 0 4px rgba(31, 143, 98, 0.10);
    background: #fff;
}

/* =========================================================
   ラジオ
========================================================= */
.hh-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 2px;
}

.hh-radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

.hh-radio-group input[type="radio"] {
    margin: 0;
    transform: translateY(-1px);
}

/* =========================================================
   補足
========================================================= */
.hh-help {
    margin: -2px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #6b7280;
}

/* =========================================================
   ボタン
========================================================= */
.hh-submit-wrap {
    margin-top: 6px;
    text-align: center;
}

.hh-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 15px 34px;
    border: none;
    border-radius: 999px;
    background: #1f8f62;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(31, 143, 98, 0.18);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.hh-submit-button:hover {
    opacity: 0.96;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(31, 143, 98, 0.24);
}

.hh-submit-button:active {
    transform: translateY(0);
}

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width: 959px) {
    .hh-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hh-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hh-wrap {
        margin: 32px auto;
        padding: 0 14px;
    }

    .hh-head {
        margin-bottom: 24px;
    }

    .hh-section {
        padding: 22px 18px 20px;
        border-radius: 14px;
    }

    .hh-section-title {
        font-size: 18px;
    }

    .hh-grid-2,
    .hh-grid-3,
    .hh-grid-4 {
        grid-template-columns: 1fr;
    }

    .hh-submit-button {
        width: 100%;
        min-width: 0;
    }
}