/* ===========================
   固定ページ共通スタイル
   =========================== */

.page-content {
    padding: 40px 0 80px;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--color-border);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-text);
}

.page-body {
    max-width: 780px;
    margin: 0 auto;
}

.page-intro {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.page-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 40px;
    text-align: right;
}

/* --- セクション --- */
.page-section {
    margin-bottom: 36px;
}

.page-section h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.page-section p {
    margin-bottom: 12px;
    line-height: 1.9;
    color: var(--color-text);
}

.page-section a {
    color: var(--color-primary);
    text-decoration: none;
}

.page-section a:hover {
    text-decoration: underline;
}

/* --- リスト --- */
.page-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.page-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.8;
}

.page-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* --- テーブル --- */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.info-table th,
.info-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    line-height: 1.7;
    vertical-align: top;
}

.info-table th {
    width: 160px;
    font-weight: 500;
    color: var(--color-text);
    background: rgba(255, 140, 66, 0.06);
    white-space: nowrap;
}

.info-table td {
    color: var(--color-text);
}

.info-table td a {
    color: var(--color-primary);
    text-decoration: none;
}

.info-table td a:hover {
    text-decoration: underline;
}

.info-table-full th {
    width: 180px;
}

/* --- お問い合わせメール --- */
.contact-email {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin: 16px 0;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-email a {
    color: var(--color-primary);
    font-size: 1.05rem;
    text-decoration: none;
    font-weight: 500;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* --- お問い合わせフォーム --- */
.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.form-group .required {
    color: var(--color-accent);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg-white);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    padding: 14px 40px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

/* --- レスポンシブ --- */
@media (max-width: 640px) {
    .page-header h1 {
        font-size: 1.4rem;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        padding-bottom: 4px;
        border-bottom: none;
        font-size: 0.85rem;
        color: var(--color-text-light);
    }

    .info-table td {
        padding-top: 0;
        padding-bottom: 16px;
    }

    .contact-email {
        flex-direction: column;
        text-align: center;
    }
}
