/*
 * legacy.css — 旧デザイン（header.php / header-2〜6.php を使う get_header() 系テンプレート）の
 * 補助スタイル。style.css の後に読み込む。以前は各 header-N.php に同じ <style> が重複し、
 * single.php にも個別の <style> があったものを 1 ファイルに統一。
 * 新デザイン（css/slab.css）とはデザインシステムが異なるため混ぜない。
 */

/* ---------- 共通（旧 header-N.php のインライン CSS） ---------- */
/* 読込中にスクロールバーが出現して全体が横ズレするのを防ぐ（slab.css と同じ対策） */
html { scrollbar-gutter: stable; }

._self {
    color: #003D79;
}

label {
    display: none;
}

.travel-select-icon {
    position: relative;
}

.travel-select-icon:after {
    position: absolute;
    content: "\f107";
    right: 0px;
    top: 0;
    font-size: 18px;
    color: #aaa;
    background: #f9f9f9;
    font-family: "fontAwesome";
    pointer-events: none;
    border: 1px solid #d7d7d7;
    padding-right: 10px;
    padding-top: 2px;
    padding-left: 10px;
    height: 40px;

}

button {
    /*width: 80px;*/
    margin-right: 15px;
    justify-content: center;
    align-items: center;
    background: #003D79;
    border: 1px solid #003D79;
    /*height: 40px;*/
    white-space: nowrap;
    color: #fff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(14, 15, 18, .2);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -ms-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    padding-top: 2px;
    margin-left: -8px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0 !important;
    box-shadow: none;
    border: 1px solid #d7d7d7;
    border-radius: 0px;
    height: 40px;
    width: 230px;
    color: grey;
    font-site: 16px;
    padding-left: 30px;
    padding-top: 3px;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0 !important;
    box-shadow: none;
    border: 1px solid #d7d7d7;
    border-radius: 0px;
    /*height:40px;*/
    width: 400px;
    padding-left: 20px;
    color: #003D79;
    font-site: 16px;
    padding-top: 4px;
}

::placeholder {
    color: #grey;
}

.form-control.is-valid, .was-validated .form-control:valid {
    border: none !important;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    border: none !important;
}

@media screen and (min-width: 800px) {
    .mobile {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .desktop {
        display: none;
    }
}


/* ---------- 記事詳細（single.php）— :where() で詳細度を上げずに body.single にだけ適用 ---------- */
:where(body.single) p {
    color: #464345;
}

:where(body.single) .single_title {
    margin: 0;
    color: #464345;
    font-weight: 600;
    font-size: 1.5rem;
}
