/* ページフォーム共通(パスワード再設定 / お問い合わせ)
   既存 registration.css の作法を踏襲。zigzag 感は home のピル + カード上端3色帯で表現。 */

.pf-page {
    background: #f5f5f3;
    padding: 120px 20px 88px;
    min-height: 100vh;
}

.pf-container {
    max-width: 640px;
    margin: 0 auto;
}

.pf-container--wide {
    max-width: 820px;
}

/* home のセクションピル(overview-kicker/modern-steps-kicker)を踏襲 */
.pf-eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 14px;
    border: 1.5px solid #111;
    border-radius: 999px;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    color: #111;
}

.pf-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e7e2;
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* zigzag の GUIDE 3色(黄/ピンク/ティール)を細い帯で。控えめなブランドアクセント。 */
.pf-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        #f2c230 0%, #f2c230 33.33%,
        #db4d9d 33.33%, #db4d9d 66.66%,
        #2fb6a8 66.66%, #2fb6a8 100%
    );
}

.pf-title {
    margin: 0 0 10px;
    font-size: 1.9rem;
    line-height: 1.25;
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: 0.02em;
}

.pf-lead {
    margin: 0 0 28px;
    font-size: 0.96rem;
    color: #666;
    line-height: 1.85;
}

.pf-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.pf-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #222;
}

.pf-req,
.pf-opt {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pf-req {
    background: #fdecef;
    color: #c53d3d;
}

.pf-opt {
    background: #eef0ee;
    color: #6b6f6b;
}

.pf-input,
.pf-select,
.pf-textarea {
    width: 100%;
    padding: 0 16px;
    min-height: 56px;
    border: 1px solid #d8d8d2;
    border-radius: 14px;
    background: #fcfcfa;
    font-size: 1rem;
    color: #222;
    box-sizing: border-box;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pf-textarea {
    padding: 14px 16px;
    min-height: 168px;
    line-height: 1.8;
    resize: vertical;
}

.pf-select {
    background-image:
        linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 2px),
        calc(100% - 16px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 48px;
}

.pf-input::placeholder,
.pf-textarea::placeholder {
    color: #9a9a94;
}

.pf-input:focus,
.pf-select:focus,
.pf-textarea:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
    background: #fff;
}

.pf-error {
    margin-top: 8px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: #c53d3d;
}

.pf-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #f0c9c9;
    border-radius: 12px;
    background: #fdf2f2;
    color: #b23b3b;
    font-size: 0.92rem;
    line-height: 1.7;
}

.pf-status {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #cfe8d6;
    border-radius: 12px;
    background: #eef7f0;
    color: #256a3d;
    font-size: 0.92rem;
    line-height: 1.8;
}

.pf-actions {
    margin-top: 28px;
}

.pf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    opacity: 0.96;
}

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

.pf-links {
    margin-top: 22px;
    text-align: center;
    font-size: 0.9rem;
}

.pf-links a {
    color: #555;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pf-links a:hover {
    color: #111;
}

/* ハニーポット(人間には見せない) */
.pf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .pf-page {
        padding: 92px 16px 56px;
    }

    .pf-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .pf-title {
        font-size: 1.55rem;
    }

    .pf-input,
    .pf-select,
    .pf-textarea {
        font-size: 16px;
    }
}
