/* ==========================================
   株式会社優京 カスタムスタイル
   ========================================== */

/* ------------------------------------------
   共通: 概要テーブル（物件・施工）
------------------------------------------ */
.property-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.property-table th,
.property-table td {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    vertical-align: top;
}
.property-table th {
    background: rgba(255,255,255,0.06);
    color: #007dbb;
    font-weight: 500;
    width: 35%;
    white-space: nowrap;
}
.property-table td {
    color: #ccc;
}

/* ------------------------------------------
   共通: メイン画像・サムネイルカルーセル
------------------------------------------ */
.property-main-img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}
.property-main-img img {
    width: 100%;
    display: block;
    transition: opacity 0.25s ease;
}
.property-thumbs {
    margin-bottom: 2rem;
}
.property-thumbs .owl-item {
    cursor: pointer;
}
.property-thumbs .owl-item img {
    border-radius: 4px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}
.property-thumbs .owl-item:hover img {
    opacity: 0.85;
}
.property-thumbs .owl-item.is-active-thumb img {
    border-color: #007dbb;
    opacity: 1;
}

/* ------------------------------------------
   ヘッダー
------------------------------------------ */
.logo_area img {
    animation: logoGlow 2.5s ease-out 1.5s;
    animation-fill-mode: both;
    transition: all 0.4s ease;
}

/* hover時 */
.logo_area:hover img {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}

@keyframes logoGlow {

    0% {
        opacity: 0.7;
        transform: scale(0.98);
        filter: drop-shadow(0 0 0 rgba(255,255,255,0));
    }

    40% {
        opacity: 1;
        transform: scale(1.03);
        filter: drop-shadow(0 0 18px rgba(255,255,255,0.9));
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(255,255,255,0));
    }
}

/* ------------------------------------------
   物件詳細: 価格表示
------------------------------------------ */
.property-price {
    font-size: 28px;
    font-weight: 700;
    color: #007dbb;
    margin-bottom: 0.25rem;
}

/* ------------------------------------------
   共通: サイドバー お問い合わせボックス
------------------------------------------ */
.sidebar-contact-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 2rem;
}

/* ------------------------------------------
   リフォーム事例詳細: Before / After
------------------------------------------ */
.before-after {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
}
.before-after .ba-block {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.before-after .ba-block img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.before-after .ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}
.before-after .ba-label.after {
    background: rgba(0, 125, 187, 0.8);
}

/* ------------------------------------------
   最新情報: ニュースリスト
------------------------------------------ */
.news-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
}
.news-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.news-date {
    font-size: 13px;
    color: #007dbb;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.news-item h4 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 17px;
}
.news-item h4 a:hover {
    color: #007dbb;
}
.news-item p {
    color: #aaa;
    font-size: 14px;
    margin-top: 0.6rem;
    margin-bottom: 1rem;
    line-height: 1.75;
}
.news-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 2px 10px;
    border: 1px solid #007dbb;
    color: #007dbb;
    border-radius: 2px;
    margin-bottom: 0.6rem;
}

/* ------------------------------------------
   お問い合わせ: 会社情報ボックス
------------------------------------------ */
.contact-info-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    height: 100%;
}
.contact-info-box i {
    font-size: 2rem;
    color: #007dbb;
    margin-bottom: 1rem;
    display: block;
}
.contact-info-box h5 {
    color: #007dbb;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}
.contact-info-box p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* ------------------------------------------
   お問い合わせ: フォーム
------------------------------------------ */
.contact-form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 2.5rem;
}
.contact-form-wrap .form-label {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 0.4rem;
    display: block;
}
.contact-form-wrap .form-label .required {
    color: #007dbb;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    border: 1px solid #007dbb;
    padding: 1px 5px;
    border-radius: 2px;
    vertical-align: middle;
}
.contact-form-wrap .form-control {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}
.contact-form-wrap .form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: #007dbb;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(0,125,187,0.2);
}
.contact-form-wrap .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}
.contact-form-wrap select.form-control option {
    background: #1a1a2e;
    color: #fff;
}
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}
.privacy-check input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #007dbb;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.privacy-check label {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}
.privacy-check label a {
    color: #007dbb;
    text-decoration: underline;
}
#form-result {
    display: none;
    margin-bottom: 1rem;
}

/* ------------------------------------------
   Contact Form 7: フォームコントロール統一
------------------------------------------ */
.wpcf7 .wpcf7-form-control {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    padding: 8px 12px;
}
.wpcf7 .wpcf7-form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: #007dbb;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(0,125,187,0.2);
    outline: none;
}
.wpcf7 .wpcf7-textarea {
    width: 100% !important;
    max-width: 100% !important;
    resize: vertical;
    box-sizing: border-box;
}
.wpcf7 .wpcf7-form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.wpcf7 .wpcf7-select {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.wpcf7 .wpcf7-select option {
    background: #1a1a2e;
    color: #fff;
}
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    background: #007dbb;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    min-width: 200px;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
    background: #005f8e;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}