/*
Theme Name: UnderStrap Child
Theme URI: https://understrap.com
Template: understrap
Author: Your Name
Author URI: https://example.com
Description: Child theme for UnderStrap
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
*/

/* 親テーマのCSSをインポート */
@import url("../understrap/style.css");

/* カスタムスタイル */
/* ここに独自のスタイルを追加 */

/* wp-content/themes/understrap-child/style.css に追加 */

/* フォーム全体のスタイリング */
.wrapper form,
.login-page form,
.content-wrapper form {
    width: 100%;
    max-width: 100%;
}

body {margin-top:100px;}


/* 入力フィールドの共通スタイル */
.form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="password"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100% !important;
    display: block !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    min-width: 0 !important;
}

/* input-groupのスタイリング */
.input-group {
    position: relative !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
}

.input-group .form-control {
    position: relative !important;
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
}

.input-group-text,
.input-group .btn {
    display: flex !important;
    align-items: center !important;
}

/* フォームのレイアウト調整 */
.card-body {
    padding: 1.5rem !important;
}

.form-group {
    margin-bottom: 1rem !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem !important;
    }
    
    .form-control,
    .input-group {
        width: 100% !important;
        min-width: 0 !important;
    }
}

