/*
Theme Name: Businesspre Child
Template: businesspre
*/

/* ============================================================
   ベース
   ============================================================ */
body,
p {
    color: #101010;
    font-weight: bold !important;
    font-size: 18px;
}

.site-content {
    padding: 0;
    max-width: none;
}

.content-area {
    margin-bottom: 0;
}

.sec_container {
    margin-bottom: 180px;
}

.sec_container.company_container {
    margin-bottom: 200px;
}

.common_inner {
    width: min(1080px, 90%);
    margin: 0 auto;
}

.font_md {
    font-size: 20px;
    line-height: 2;
}

.font_lg {
    font-size: 44px;
}

.mb60 {
    margin-bottom: 60px;
}

.mb0 {
    margin-bottom: 0;
}

h1 {
    margin-bottom: 60px !important;
    margin-top: 0 !important;
}

h2 {
    margin-bottom: 60px !important;
    margin-top: 0 !important;
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .font_md {
        font-size: 17px;
    }

    .font_lg {
        font-size: 28px;
    }

    .mb60 {
        margin-bottom: 30px;
    }

    .sec_container,
    .sec_container.company_container {
        margin-bottom: 120px;
    }

    .sp-only {
        display: block;
    }
}

/* ============================================================
   KV・透過ヘッダー
   ============================================================ */

/* フロントページのみ masthead に .has-kv が付く（header.php で制御） */
#masthead.has-kv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

body.admin-bar #masthead.has-kv {
    top: 32px;
}

#masthead.has-kv .main-header {
    background: transparent !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#masthead.has-kv .main-header .site-title a,
#masthead.has-kv .main-header .nav-menu a,
#masthead.has-kv .main-header .site-description {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

#masthead.has-kv .main-header .drawer-hamburger-icon,
#masthead.has-kv .main-header .drawer-hamburger-icon::before,
#masthead.has-kv .main-header .drawer-hamburger-icon::after {
    background-color: #fff !important;
}

/* ドロワー展開中はハンバーガー中棒を透明に（× アイコン形成のため） */
#masthead.has-kv .main-header.drawer-opened .drawer-hamburger .drawer-hamburger-icon,
.drawer-opened .drawer-hamburger-icon {
    background-color: transparent !important;
}

/* スクロール後の固定ヘッダー（BusinessPress が自動生成する .main-header-clone に適用） */
.main-header-clone {
    background: #00000040;
    box-shadow: none;
    border-bottom: 1px solid #fff;
}

/* ===== KV 動画エリア ===== */
.kv-video-wrap {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    margin-bottom: 180px;
}

.kv-video-wrap video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

@media (max-width: 980px) {
    .kv-video-wrap {
        height: 67vh;
    }

    .kv-video-wrap video {
        width: 130%;
        height: 100%;
        object-fit: initial;
    }
}

@media (max-width: 768px) {
    .kv-video-wrap {
        height: 67vh;
        margin-bottom: 80px;
    }

    .kv-video-wrap video {
        width: 130%;
        height: 100%;
        object-fit: initial;
    }
}

/* ============================================================
   下層ページ 透過ヘッダー
   → TOPの has-kv には絶対に干渉しない
   ============================================================ */

/* position:relative を起点にして main-header を jumbotron に重ねる */
#masthead:not(.has-kv) {
    position: relative;
    margin-bottom: 140px;
}

#masthead:not(.has-kv) .main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent !important;
    transition: background 0.3s ease;
    border-bottom: solid 1px #eee;
}

/* 文字・アイコンを白に */
#masthead:not(.has-kv) .main-header .site-title a,
#masthead:not(.has-kv) .main-header .nav-menu a,
#masthead:not(.has-kv) .main-header .site-description {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

#masthead:not(.has-kv) .main-header .drawer-hamburger-icon,
#masthead:not(.has-kv) .main-header .drawer-hamburger-icon::before,
#masthead:not(.has-kv) .main-header .drawer-hamburger-icon::after {
    background-color: #fff;
}

.jumbotron {
    opacity: 0.8;
}

.jumbotron-content {
    padding-bottom: 30px;
    padding-top: 210px;
    text-align: center;
}

.jumbotron-overlay {
    background-color: rgb(27 65 179 / 20%);
}

.jumbotron-title {
    letter-spacing: 0.03em;
}

.subheader {
    color: #FFF !important;
    margin-bottom: 0;
    letter-spacing: 0.03em;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 980px) {
    .jumbotron-content {
        padding-bottom: 10px;
        padding-top: 130px;
    }
}

@media screen and (max-width: 786px) {
    .jumbotron-content {
        padding-bottom: 10px;
        padding-top: 130px;
    }

    .jumbotron-title {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    #masthead:not(.has-kv) {
        margin-bottom: 80px;
    }
}

/* ============================================================
   ナビゲーション
   ============================================================ */
.main-header-content {
    max-width: 100%;
    padding-left: 4%;
    padding-right: 4%;
}

.main-navigation div.menu>ul>li,
.main-navigation ul.menu>li {
    color: #fff;
    font-weight: bold;
}

.main-navigation a:hover,
.main-navigation .current_page_item>a,
.main-navigation .current-menu-item>a {
    color: #fff;
    opacity: 0.7;
}

.drawer-navigation-content .main-navigation .current_page_item>a,
.drawer-navigation-content .main-navigation .current-menu-item>a {
    color: #fff;
}

#menu-header li {
    margin-right: 35px;
}

#menu-item-28 {
    margin-right: 0;
}

#menu-item-28 a {
    border: 1px solid #fff;
    padding: 0px 25px;
}

#menu-item-28 a:hover {
    background-color: #fdfdfd4a;
}

.drawer-hamburger-icon,
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
    background-color: #fff;
}

@media (max-width: 980px) {
    .drawer-navigation {
        background: #1b41b3;
    }

    .drawer-navigation .main-navigation a:hover {
        color: #fff;
        opacity: 0.7;
    }
}

/* ============================================================
   TOP コンテンツ
   ============================================================ */
.concept_container .wp-block-columns {
    gap: 0;
}

.concept_container p {
    letter-spacing: -0.05em;
}

.business_flex,
.company_flex,
.news_flex {
    justify-content: space-between;
}

.business_container img {
    width: 100%;
    margin-bottom: 0;
}

.business_container figure {
    margin-bottom: 60px;
}

/* .business_flex {
    gap: 30px;
}

.business_flex .wp-block-column {
    position: relative;
}

.business_flex .wp-block-column figure {
    margin-bottom: 0;
}

.business_flex .wp-block-column p {
    font-size: 22px;
    position: absolute;
    bottom: 30px;
    right: 0;
    left: 0;
    margin: auto;
    color: #fff;
} */

.company_flex .flex_col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

@media (max-width: 980px) {
    .company_flex {
        align-items: flex-end !important;
    }

    .company_flex .flex_col {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .business_flex .wp-block-image {
        margin-bottom: 0;
    }

    .concept_container .wp-block-columns {
        gap: 20px;
    }

    .company_flex .flex_col {
        align-items: center;
    }
}

@media (max-width: 530px) {
    .business_container figure img {
        min-height: 220px;
        object-fit: cover;
    }
}

.recruit_container {
    background-image: url(../img/recruit_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 90px 0;
}

@media (max-width: 980px) {
    .recruit_container {
        background-size: cover;
        background-position: left;
    }
}

.contact_container {
    border-top: 3px solid #1b41b3;
    border-bottom: 3px solid #1b41b3;
    padding: 80px 0;
    margin-bottom: 0 !important;
}

.contact_container h2 {
    margin-bottom: 0 !important;
}

.contact_container:hover {
    background: #d3dbf12e !important;
}

.contact_container h2 img {
    padding-left: 90px;
    width: 90%;
    max-width: 447px;
}

.contact_container .contact_subtitle {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .contact_container h2 img {
        padding: 0;
        width: 350px;
    }
}

@media (max-width: 782px) {
    .home h2 {
        margin: 0 auto;
    }

    .home h2 img {
        height: 58px;
        width: auto;
        object-fit: contain;
        margin-bottom: 0;
    }

    .contact_container h2 img {
        height: 68px;
        margin-top: 20px;
    }
}

/* ============================================================
   NEWS LIST
   ============================================================ */
.news_container .wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #1b41b3;
}

.news_container .wp-block-latest-posts__list li {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 50px;
    border-bottom: 1px solid #1b41b3;
    position: relative;
    transition: background 0.25s ease;
    margin-bottom: 0;
}

.news_container .wp-block-latest-posts__post-date {
    order: -1;
    min-width: 82px;
    font-size: 20px;
    white-space: nowrap;
    color: #1b41b3;
    flex-shrink: 0;
    margin-top: 0;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.news_container .wp-block-latest-posts__post-title {
    flex: 1;
    color: #1b41b3;
    text-decoration: none;
}

.news_container .wp-block-latest-posts__list li::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2.5px solid #1b41b3;
    border-right: 2.5px solid #1b41b3;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.25s ease;
}

.news_container .wp-block-latest-posts__list li:hover::after {
    right: 18px;
}

@media (max-width: 980px) {
    .news_container .wp-block-latest-posts__list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
        padding: 20px 40px 20px 20px;
    }
}

@media (max-width: 768px) {
    .news_container h2 {
        text-align: center !important;
    }





    .news_container .wp-block-columns {
        gap: 0;
    }
}

/* ============================================================
   ボタン
   ============================================================ */
.btn-pseudo {
    display: inline-block;
    transition: background 0.25s ease;
    overflow: hidden;
    cursor: pointer;
}

.btn-pseudo:hover {
    background: #d3dbf1;
}

.btn-pseudo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 0px;
    min-width: 300px;
    color: #1b41b3;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.btn-pseudo a::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2.5px solid #1b41b3;
    border-right: 2.5px solid #1b41b3;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.25s ease;
}

.btn-pseudo:hover a {
    color: #1b41b3;
}

.btn-pseudo:hover a::after {
    right: 18px;
}

.recruit_container .btn-pseudo:hover {
    background: #d3dbf169;
}

.recruit_container .btn-pseudo a {
    color: #fff;
    border-color: #fff;
    background: unset !important;
}

.recruit_container .btn-pseudo a::after {
    border-color: #fff;
}

.news_container .btn-pseudo a {
    min-width: 200px;
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
    background-image: url(../img/footer_bg.png);
    background-size: contain;
    color: #fff;
}

.site-footer p {
    color: #fff;
}

.footer-main {
    padding: 60px 0 48px;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo img {
    max-width: 300px;
    height: auto;
}

.footer-logo a:not(:has(img)) {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.6;
}

.footer-info p {
    margin: 0;
    font-size: 17px;
}

.footer-tel a {
    color: #fff;
    text-decoration: none;
}

.footer-tel a:hover {
    color: #fff;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 140px;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    column-gap: 40px;
    row-gap: 20px;
}

.footer-nav-list li a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer-nav-list li:last-child a {
    padding-right: 0;
}

.footer-nav-list li a:hover {
    color: #fff;
    opacity: 0.7;
}

.footer-sdgs img {
    display: block;
    max-width: 230px;
    height: auto;
}

.footer-bottom {
    border-top: 1px solid #2a3f5f;
    padding: 16px 0;
}

.footer-bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.copyright {
    margin: 0;
    font-size: 0.9em;
    letter-spacing: 0.03em;
}

@media (max-width: 980px) {
    .footer-nav-list {
        column-gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 32px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        gap: 32px;
    }

    .footer-right {
        align-items: flex-start;
        width: 100%;
        gap: 60px;
    }

    .footer-nav-list {
        justify-content: flex-start;
    }

    .footer-bottom-inner {
        padding: 0 24px;
    }
}
@media (max-width: 550px) {
	.footer-logo img{
		width:200px;
	}
	.footer-left {
		gap:20px;
	}
	.footer-nav-list {
		row-gap: 5px;
	}
}

/* ============================================================
   下層ページ 共通
   ============================================================ */
body:not(.home) .content-area {
    margin-bottom: 180px;
}

.content-area h2 {
    font-size: 40px;
    color: #1b41b3;
    position: relative;

}

body:not(.home) .content-area h2 {
    padding-top: 22px;
}

.single .content-area h2 {
    font-size: 25px;
    color: #101010;
}

/* body:not(.home):not(.blog):not(.single):not(.archive) .content-area h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../img/title_deco.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 29px;
    height: 19px;
}
 */
.content-area h3 {
    font-size: 20px;
    position: relative;
    background-color: #f0f8ff;
    padding: 20px 20px 20px 80px;
}

.wp-singular .content-area h3:before {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 40px;
    height: 1px;
    background-color: #1b41b3;
    content: "";
}

.content-area h4 {
    font-size: 20px;
    color: #1b41b3;
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-area h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #1b41b3;
}

.content-area h5 {
    font-size: 18px;
    color: #1b41b3;
    padding-bottom: 6px;
    border-bottom: 1px dashed #1b41b3;
    margin-bottom: 16px;
}

/* ============================================================
   テーブル
   ============================================================ */
.wp-block-table td,
.wp-block-table th {
    padding: 25px;
    font-size: 18px;
    border: none;
    border-bottom: 1px solid #c7c7c7;
}

table tr:nth-child(1)>td {
    border-top: 1px solid #c7c7c7;
}

table tr>td:nth-child(1),
.wpcf7 table th {
    background-color: #7eb3eb29;
    color: #1b41b3;
}

.wpcf7 table tr:nth-child(1)>th {
    border-top: 1px solid #c7c7c7;
}

.wpcf7 table .required {
    background-color: #b10000;
    color: #fff;
    padding: 0 8px;
    margin-left: 8px;
}

.wpcf7 table td ul,
.submit_btn {
    list-style: none;
    margin: 0;
}

.wpcf7 table td li:nth-child(1) {
    margin-bottom: 8px;
}

.submit_btn {
    text-align: center;
}

/* ============================================================
   フォーム
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea {
    border: solid 1px #e6e6e6;
    color: #777;
    margin-top: 0;
    padding: 0.6em;
    width: 100%;
}

input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: #1b41b3;
    border: none;
    border-radius: 0px;
    color: #fff;
    cursor: pointer;
    font-size: 90%;
    line-height: 1;
    padding: 20px 80px;
    text-transform: uppercase;
    transition: .3s ease-in-out;
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #1b41b3;
    opacity: 0.8;
}

.wpcf7-spinner {
    display: none;
}

@media (max-width: 768px) {
    body:not(.home) .content-area {
        margin-bottom: 120px;
    }

    .content-area h2 {
        font-size: 33px;
    }

    .content-area h3 {
        font-size: 18px;
    }

    table tr {
        display: flex;
        flex-direction: column;
    }

    table tr:nth-child(1)>td:last-child {
        border-top: none;
    }

    .wp-block-table td,
    .wp-block-table th {
        font-size: 15px;
    }

    .wpcf7 table td {
        padding: 25px 0;
    }
}

/* ============================================================
   お知らせ
   ============================================================ */
.has-sidebar .site-content {
    width: min(1080px, 90%);
    margin: 0 auto;
}

.comments-area {
    display: none;
}

.entry-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.cat-links {
    order: 2;
    margin-bottom: 0;
    background-color: #f0f8ff;
    pointer-events: none;
    padding: 0 5px;
}

.cat-links a {
    color: #2358ae;
}

.entry-title {
    margin-bottom: 10px !important;
    order: 3;
    width: 100%;
    color: #2358ae;
}

.entry-meta {
    order: 1;
    margin-top: 0;
    pointer-events: none;
}

.post-list .entry-header {
    margin-bottom: 0;
}

.post-list .hentry {
    position: relative;
    margin-bottom: 120px;
}

.post-list .hentry:before {
    position: absolute;
    left: 0;
    bottom: -60px;
    width: 80px;
    height: 1px;
    background-color: #1b41b3;
    content: "";
}

.post-list .entry-title {
    color: #101010;
}

.sidebar-area .widget {
    color: #1b41b3;
}

/* ============================================================
   お問い合わせフォーム
   ============================================================ */
.wp-block-columns.tel_box {
    gap: 8px;
    flex-wrap: nowrap !important;
}

.wp-block-columns.tel_box a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .tel_num {
        font-size: 22px !important;
    }

    .wp-block-columns.tel_box>.wp-block-column:nth-child(1) {
        flex-basis: 30px !important;
    }
}

/* ============================================================
 teaser切り替え
   ============================================================ */
.page-id-11 .jumbotron {
    background-image: url(https://partner.moe/kuroyanagi/wp-content/uploads/2026/06/teaser12.png);
	background-position: bottom;
}
.page-id-15 .jumbotron {
    background-image: url(https://partner.moe/kuroyanagi/wp-content/uploads/2026/06/teaser10-2.png);
	    background-position: top;
}
.page-id-19 .jumbotron {
    background-image: url(https://partner.moe/kuroyanagi/wp-content/uploads/2026/06/teaser2-2.png);
	background-position: top;
}
.blog .jumbotron,.archive .jumbotron,.single .jumbotron{
	 background-image: url(https://partner.moe/kuroyanagi/wp-content/uploads/2026/06/teaser14-1.png);
}

