/* お問い合わせフォームなど、旧 style.css / mystyle.css に追加するスタイル */

.explanation p {
    margin-top: 20px;
}

.contact-form .field {
    margin: 20px 0 0;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.contact-form .input-text,
.contact-form select,
.contact-form textarea {
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    padding: 6px 8px;
    font-size: 1em;
    font-family: inherit;
    border: 1px solid #aaa;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .input-text:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #43a047;
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.2);
}

/* ボット対策の入力欄（画面の外に出して見えなくする） */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.error {
    color: #c00;
    margin-top: 4px !important;
}

.actions {
    margin-top: 24px !important;
}

/* サポートウェブの「ご質問等はこちら」ボタンと同じ緑 */
.green-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #57b95b 0%, #37963c 100%);
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 8px rgba(55, 150, 60, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.green-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(55, 150, 60, 0.45);
    filter: brightness(1.08);
}

.green-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(55, 150, 60, 0.35);
}

.plain-btn {
    margin-right: 16px;
    padding: 9px 22px;
    border: 1px solid #999;
    border-radius: 999px;
    background: #fff;
    font-size: 1em;
    cursor: pointer;
}

.plain-btn:hover {
    border-color: #37963c;
}

table.summary {
    margin-top: 20px;
    border-collapse: collapse;
}

table.summary th {
    text-align: left;
    vertical-align: top;
    padding: 6px 16px 6px 0;
    white-space: nowrap;
}

table.summary td {
    padding: 6px 0;
}

/* 本文は改行をそのまま表示する */
table.summary td.message {
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 600px) {
    table.summary th,
    table.summary td {
        display: block;
        padding: 2px 0;
    }

    table.summary th {
        padding-top: 10px;
    }
}
