/*
Theme Name: ナチュラルリビング7
Theme URI: https://natural-living.site/
Author: ナチュラルリビング株式会社
Description: 大阪市鶴見区の天然素材リフォーム会社ナチュラルリビング株式会社の公式テーマ。オーガニック・ボタニカルなデザイン。Contact Form 7 対応。
Version: 1.0.0
License: GPL v2 or later
Text Domain: natural-living7
*/

/* メインスタイルは css/main.css に定義されています */

/* ==========================================
   Contact Form 7 スタイル
   ========================================== */
.wpcf7 form {
    background: var(--cream);
    border-radius: 40px;
    padding: 56px 52px;
    border: 1.5px solid var(--sage-pale);
}

.wpcf7 p {
    margin-bottom: 24px;
}

.wpcf7 label {
    display: block;
    font-family: "Klee One", "Shippori Mincho B1", serif;
    font-size: 13px;
    color: var(--forest);
    font-weight: 700;
    margin-bottom: 10px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--sage-pale);
    background: var(--white);
    border-radius: 18px;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    font-size: 14px;
    color: var(--charcoal);
    transition: .2s;
    line-height: 1.6;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--forest);
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    width: auto;
    margin-right: 8px;
    accent-color: var(--forest);
}

.wpcf7 .wpcf7-list-item {
    display: inline-block;
    margin: 0 16px 8px 0;
}

.wpcf7 .wpcf7-list-item-label {
    font-size: 13px;
    color: var(--text);
}

.wpcf7 .wpcf7-acceptance {
    margin-top: 12px;
}

.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    border: 0;
    cursor: pointer;
    transition: .3s;
    background: var(--forest);
    color: var(--cream);
    box-shadow: 0 12px 30px -10px rgba(47, 82, 51, .35);
    margin-top: 24px;
    min-width: 220px;
    justify-content: center;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--forest-deep);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -10px rgba(47, 82, 51, .45);
}

.wpcf7 .wpcf7-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.wpcf7-response-output {
    margin: 24px 0 0 !important;
    padding: 16px 20px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    border: 0 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: var(--sage-pale);
    color: var(--forest-deep);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    background: #FDEDEC;
    color: var(--terracotta-dark);
}

.wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: var(--terracotta-dark) !important;
    font-size: 12px !important;
}

.wpcf7-spinner {
    margin-left: 12px !important;
}

/* フォーム内の送信ボタン配置 */
.ct_form .form_submit,
.ct_form .wpcf7 p:has(input[type="submit"]) {
    text-align: center;
    margin-top: 36px;
}

@media (max-width: 900px) {
    .wpcf7 form {
        padding: 40px 28px;
    }
}

/* ==========================================
   WordPress コア互換スタイル
   ========================================== */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-soft); text-align: center; margin-top: 8px; }

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.entry-content h2 {
    font-family: "Klee One", serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
    margin: 48px 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--sage-light);
}

.entry-content h3 {
    font-family: "Klee One", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--forest);
    margin: 36px 0 16px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content a {
    color: var(--forest);
    text-decoration: underline;
}

.entry-content ul, .entry-content ol {
    margin: 20px 0 20px 24px;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content blockquote {
    border-left: 4px solid var(--sage);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--cream-dark);
    border-radius: 0 16px 16px 0;
}

.entry-content img {
    border-radius: 16px;
    margin: 24px 0;
}

/* ページネーション */
.pagination,
.wp-pagenavi,
.nav-links {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: var(--cream);
    color: var(--forest);
    border-radius: 12px;
    font-family: "Klee One", serif;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--sage-pale);
    transition: .2s;
}

.pagination a:hover,
.nav-links a:hover {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
}

.pagination .current,
.nav-links .current {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
}
