/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.contactform .flex-table {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.contactform .flex-row {
  display: flex;
  border-bottom: 1px solid #eee;
}
.contactform .flex-row:last-child {
  border-bottom: none;
}
.contactform .flex-header {
  background-color: #007bff;
  color: white;
}
.contactform .flex-cell {
  padding: 12px;
  flex: 1;
}
.contactform .flex-cell .CF7_req {
  background-color: #d064ae;
  color: #FFF;
  font-size: 0.8em;
  font-weight: bold;
  padding: 3px 5px;
  margin-right: 10px;
}
.contactform .flex-cell .CF7_noreq {
  background-color: #6b8fc9;
  color: #FFF;
  font-size: 0.8em;
  font-weight: bold;
  padding: 3px 5px;
  margin-right: 10px;
}
.contactform .flex-cell input[type="text"] {
	width:auto;
}
.contactform .flex-cell select {
	width:auto;
}
.contactform .flex-cell:nth-child(1) {
  flex: 0 0 400px;
  background-color: #f8f9fa;
  font-weight: 500;
  border-right: 1px solid #eee;
}
.contactform .flex-cell:nth-child(2) {
  background-color: white;
}
.contactform .CF7_btn {
	text-align: center;
	margin: 30px auto 50px;
}

.contactform input[type="submit"] {
background-color: #007BFF; /* ブルー */
color: white;
cursor: pointer;
transition: background-color 0.3s ease;
border: none;
}
.contactform input[type="submit"]:hover {
background-color: #0056b3; /* 濃いブルー */
}

@media screen and (max-width: 720px) {
  .contactform .flex-row {
    display: block;
  }
}