/*
Template: colorful-theme
Theme Name: LPtemp_Colorful_child
Theme URI: https://lptemp.com
Description: カラフルの子テーマです。
Version: 1.0
Author: Seiya Eto
Author URI: https://pocowan.com/
*/



/*☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆*/
/*目立つボタンのアニメーションCSS*/
/*☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆*/
/* アニメーションの定義 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1); /* 少し拡大 */
  }
  100% {
    transform: scale(1);
  }
}
/* ボタン画像にアニメーションを適用 */
.action-btn input[type="image"] {
  animation: pulse 2s infinite; /* アニメーションを繰り返し */
  display: block;
  margin: 0 auto; /* センター配置 */
  transition: transform 0.2s ease-in-out; /* ホバー時のスムーズな動き */
}
/* ホバー時に少し大きく */
.action-btn input[type="image"]:hover {
  transform: scale(1.15);
}



/*☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆*/
/*コンタクトフォーム7デザイン*/
/*☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆*/

/* フォーム全体のデザイン */
.custom-contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* フォームのラベル */
.custom-contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}
/* テキスト入力・テキストエリア */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.custom-contact-form input[type="text"]:focus,
.custom-contact-form input[type="email"]:focus,
.custom-contact-form input[type="tel"]:focus,
.custom-contact-form textarea:focus {
    border-color: #0073e6;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
}
/* テキストエリアの高さ調整 */
.custom-contact-form textarea {
    height: 150px;
    resize: vertical;
}
/* 送信ボタン */
.custom-contact-form input[type="submit"] {
    width: 100%;
    background: #0073e6;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.custom-contact-form input[type="submit"]:hover {
    background: #005bb5;
}
/* チェックボックスとラジオボタン */
.custom-contact-form input[type="checkbox"],
.custom-contact-form input[type="radio"] {
    margin-right: 8px;
}
/* エラーメッセージ */
span.wpcf7-not-valid-tip {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}
div.wpcf7-response-output {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}
div.wpcf7-validation-errors {
    border: 2px solid red;
    background: rgba(255, 0, 0, 0.1);
}
div.wpcf7-mail-sent-ok {
    border: 2px solid green;
    background: rgba(0, 255, 0, 0.1);
}
.custom-contact-form input[type="submit"] {
    transform: scale(1);
    transition: transform 0.3s ease;
}
.custom-contact-form input[type="submit"]:hover {
    transform: scale(1.05);
}