.form-table th, 
.form-table td {
	display: block;
	width: 100% !important;
	border: none;
	}

.form-table th {
	padding: 15px 15px 5px;
	background: #f2f2f2;
}

.form-table td {
	padding: 5px 15px 15px;
}

input[type="date"] {
	margin-bottom: 10px;
}

@media screen and (min-width: 960px) {
    /* フォーム全体のコンテナ */
    #primary.content-area {
        width: 860px;
        margin: 0 auto 120px;
        padding: 50px 20px;
        background: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.05);
        line-height: 1.6;
        & h2 {
            margin-bottom: 40px;
            font-size: 20px;
            text-align: center;
        }
    }

    /* テーブルのレイアウト調整 */
    .form-table {
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .form-table th {
        width: 30%;
        padding: 20px 10px;
        background: #eee;
        border-bottom: 1px solid #fff;
        font-weight: bold;
        text-align: left;
        vertical-align: middle;
    }

    .form-table td {
        padding: 15px;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    /* 入力フィールドの装飾 */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        width: 100%;
        max-width: 400px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px; /* iPhoneでズームされないサイズ */
        box-sizing: border-box;
    }

    textarea {
        max-width: 100%;
    }

    /* 希望日時のセレクトボックス横並び */
    .form-table select {
        width: auto;
        display: inline-block;
    }

    /* ボタンの装飾 */
    input[type="submit"] {
        background: #444;
        color: #fff;
        border: none;
        padding: 15px 40px;
        font-size: 18px;
        font-weight: bold;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        appearance: none;
    }

    input[type="submit"]:hover {
        background: #0073aa;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* 送信ボタン（青色強調） */
    input[name="send"] {
        background: #0073aa;
    }

}  