/*
Theme Name: Lightning Child
Template: lightning
Version: 1.0.0
*/

.page-header {
    background-image: url(https://valere.co.jp/wp-content/uploads/2026/04/bg_2.webp) !important;
    height: 30vh !important;
    background-size: cover;
    background-color: #e9f6fe !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 991.98px) {
    .page-header {
        background-color: #fff !important;
        background-size: cover;
        background-image: url(https://valere.co.jp/wp-content/uploads/2026/04/about.webp) !important;
    }
}

.page-header-title {
    color: initial !important;
}

.main-section--margin-bottom--on {
    margin-bottom: 0 !important;
}

@media (min-width: 1200px) {
    .site-body {
        padding: 3.5rem 0 2rem !important;
    }
}

.footer-nav .container {
    text-align: center !important;
}

.site-footer-copyright p:nth-child(2) {
    display: none;
}

/* Contact Form 7 基本スタイル */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
}

.wpcf7 label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.wpcf7 label .required {
    color: #e74c3c;
    font-size: 12px;
    margin-left: 4px;
}

/* 入力フィールド共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    margin-bottom: 0;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* テキストエリア */
.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

/* セレクトボックス */
.wpcf7 select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8"%3e%3cpath fill="%23333" d="M0 0l6 8 6-8z"/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* チェックボックス */
.wpcf7 .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.wpcf7 .wpcf7-checkbox:last-child {
    margin-bottom: 2em;
}

.wpcf7 .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.wpcf7 input[type="checkbox"] {
    width: auto;
    margin: 0 8px 0 0;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: center;
}

/* 承認チェックボックス */
.wpcf7 .wpcf7-acceptance {
    margin: 24px 0;
}

.wpcf7 .wpcf7-acceptance label {
    display: inline-flex;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
}

#google_translate_element {
    position: fixed;
    top: 8px;
    right: 20px;
    z-index: 9999;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    background-color: #3498db;
    color: #fff;
    padding: 16px 48px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 32px auto 0;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #2980b9;
}

.wpcf7 input[type="submit"]:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* フィールドグループ */
.wpcf7 p {
    margin-bottom: 24px;
}

/* エラーメッセージ */
.wpcf7 .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.wpcf7 .wpcf7-response-output {
    margin: 24px 0;
    padding: 16px;
    border-radius: 4px;
    text-align: center;
}

.wpcf7 .wpcf7-validation-errors {
    background-color: #ffe5e5;
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
}

/* スパム対策フィールド */
.wpcf7 p:has(input[name="spam-check"]) label {
    display: inline;
    font-weight: normal;
    margin-right: 8px;
}

.wpcf7 input[name="spam-check"] {
    width: 150px;
    display: inline-block;
    vertical-align: middle;
}

.label-wrap {
    margin-bottom: 2.4em;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 select,
    .wpcf7 textarea {
        font-size: 16px;
        /* iOSのズーム防止 */
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
        padding: 16px;
    }
}

.comment-respond,
.comment-list,
.comment-meta {
    display: none !important;
}