/* ==================== SECTIONMAP: [共通] up_fv — 下層FVヒーロー（全下層で使用） ==================== */
.up_fv {
    position: relative;
    height: 30vw;
}
.up_fv_bg {
    width: 100%;
    height: 100%;
}
.up_fv_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.up_fv_inner {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}
.up_fv_title_en {
    font-size: 4.2rem;
    color: #fff;
}
.up_fv_title_en .subttl {
    font-size:  2.4rem;
    position: relative;
    padding-left: 40px;
}
.up_fv_title_en .subttl::before {
    content: "";
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.up_fv_title_jp {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
}

/* ==================== SECTIONMAP: [共通] breadcrumb — パンくず（全下層で使用） ==================== */
.breadcrumb {
    padding: 24px 40px;
}
.breadcrumb_list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.3rem;
    line-height: 1.4;
}
.breadcrumb_item {
    display: flex;
    align-items: center;
}
.breadcrumb_item:not(:first-child)::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-orange);
    margin: 0 12px;
    flex-shrink: 0;
}
.breadcrumb_item a {
    color: #858585;
}
.breadcrumb_item a:hover {
    text-decoration: underline;
}
.breadcrumb_item[aria-current="page"] {
    min-width: 0;
}
.breadcrumb_item[aria-current="page"] span {
    color: var(--color-black);
    display: block;
    max-width: 40ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==================== SECTIONMAP: [共通] up_fv / breadcrumb — レスポンシブ(SP) ==================== */
@media screen and (max-width: 640px) {
    .breadcrumb {
        padding: 24px 5%;
    }
    .breadcrumb_list {
        font-size: 1.2rem;
    }
    .breadcrumb_item[aria-current="page"] span {
        max-width: 55vw;
    }

    /* 下層FV(SP)：全下層共通の高さ・タイトル文字サイズ（page-company のSPに合わせる）。
       これが無いと base の height:30vw のままで各ページFVがSPで崩れる。 */
    .up_fv {
        height: 60vw;
    }
    .up_fv_title_en {
        font-size: 2.4rem;
    }
    .up_fv_title_jp {
        font-size: 1.4rem;
    }
        .up_fv_title_en .subttl {
            font-size:  1.7rem;
        }
}

/* ==================== SECTIONMAP: [CPT] column — archive-column / taxonomy-column_cat / single-column 等 ==================== */
.column_archive_layout {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 60px;
}
.column_archive_wrapper {
    background-color: #f0f4f5;
    padding-top: 40px;
}
.column_category_list_title {
    font-weight: 700;
}
/* 検索結果（search.php） */
.column_search_result_title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
}
.column_search_result_title .column_search_result_kw {
    color: var(--color-orange, #e63200);
}
.column_search_result_title .column_search_result_count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    margin-left: 8px;
}
.column_search_empty {
    background: #fff;
    border-radius: 10px;
    padding: 48px 24px;
    text-align: center;
}
.column_search_empty_lead {
    font-size: 1.6rem;
    font-weight: 700;
}
.column_search_empty_lead .column_search_result_kw {
    color: var(--color-orange, #e63200);
}
.column_search_empty_hint {
    font-size: 1.35rem;
    color: #666;
    margin-top: 10px;
}
.column_search_back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 12px 32px;
    background: var(--color-orange, #e63200);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
}
.column_search_back:hover {
    opacity: 0.88;
}
@media screen and (max-width: 640px) {
    .column_search_result_title {
        font-size: 1.7rem;
    }
    .column_search_empty {
        padding: 36px 18px;
    }
}
.column_category_list {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.column_category_list .column_category_item .column_category_link {
    background-color: #fff;
    border-radius: 20px;
    padding: 4px 14px;
    border: solid 1px #e5e5e5;
    font-size: 1.3rem;
}
.column_category_list .column_category_item.active .column_category_link {
    background-color: var(--color-orange);
    color: #fff;
}
.column_list_items {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}
.column_list_item {
    width: calc((100% - 70px) / 3);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
/* アイキャッチは元画像サイズに依存せず 16:9 で統一（object-fit:cover でトリミング） */
.column_card_thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #e8edf0; /* 画像未設定時の背景 */
}
.column_card_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.column_card_noimg {
    display: block;
    width: 100%;
    height: 100%;
}
.column_card_body {
    padding: 10px 20px 20px;
}
.column_card_cats {
    display: flex;
    margin-bottom: 10px;
}
.column_card_cat {
    font-size: 1.2rem;
    color: #fff;
    background-color: #323232;
    padding: 2px 14px;
    border-radius: 20px;
}
.column_card_date {
    font-size: 1.2rem;
    font-weight: 400;
    color: #808080;
}
.column_card_title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.column_card_excerpt {
    font-size: 1.4rem;
}

/* ==================== SECTIONMAP: [CPT] column — レスポンシブ ==================== */
@media screen and (max-width:1399px) and (min-width:1100px) {
    .column_list_items {
        gap: 20px;
    }
    .column_list_item {
        width: calc( 50% - 10px );
    }
}

/* 641〜1099px：3列だと窮屈なため、サイドバーを下に回して記事エリアを全幅化＋カードは2カラム */
@media screen and (max-width:1099px) and (min-width:641px) {
    .column_archive_layout {
        flex-direction: column;
    }
    .column_sidebar {
        width: 100%;
    }
    .column_list_items {
        gap: 20px;
    }
    .column_list_item {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width:640px) {
    .column_archive_layout {
        flex-direction: column;
    }
    .column_list_items {
        gap: 20px;
    }
    .column_list_item {
        width: 100%;
    }
}

/* ==================== SECTIONMAP: [CPT] casestudy — archive-casestudy（narrow/cases/found） ==================== */
.narrow_bar {
    background-color: #f0f4f5;
    padding: 15px 0;
    border-top: solid 1px #e5e5e5;
    border-bottom: solid 1px #e5e5e5;
}
.narrow_bar_inner {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-around;
}
.narrow_search_wrap {
    display: flex;
    align-items: center;
}
.narrow_search_head {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 25px 20px 25px 0;
    border-right: solid 1px #e5e5e5;
    margin-right: 20px;
}
.narrow_search_inner .column_search_form {
    width: 600px;
}
.narrow_contaier_opener {
    background-color: #000;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    gap: 20px;
    border: none;
    outline: none;
    padding: 10px 20px;
    border-radius: 4px;
}
.narrow_contaier_opener span.icon {
    width: 30px;
    height: 30px;
    background-color: #fff;
    transform: rotate(90deg);
    transition: all .2s;
}
.narrow_contaier_opener span.icon span {
    font-size: .7em;
    color: #000;
}

.narrow_contaier_opener.is-active span.icon {
    transform: rotate(-90deg);
}

.narrow_container {
    display: none;
    background-color: #f0f4f5;
}
.narrow_container.is-open {
    display: block;
}
.narrow_container .inner {
    padding-top: 40px;
    padding-bottom: 40px;
}
.narrow_inner {
    margin-bottom: 40px;
}
.narrow_head {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.narrow_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.narrow_checkbox {
    display: none;
}
.narrow_label {
    display: inline-flex;
    align-items: center;
    padding: 6px 22px;
    border: solid 1px #d5d5d5;
    border-radius: 50px;
    background-color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}
.narrow_label:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
.narrow_label:has(.narrow_checkbox:checked) {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}
.narrow_button_wrap {
    text-align: center;
    margin-top: 20px;
}
.narrow_apply {
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    background-color: var(--color-orange);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}
.narrow_contaier_opener {
    cursor: pointer;
}

.cases_articles_section {
    padding-top: 45px;
}
.cases_aricles_list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.cases_article_item {
    width: calc( 25% - 15px );
    background-color: #fff;
    border-radius: 10px;
}
.cases_card_thumb {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
}
.cases_card_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cases_card_noimg {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ececec;
}
.cases_card_title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
}
.cases_list_empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #909090;
    padding: 40px 0;
}

@media screen and (max-width:640px) {
    .cases_aricles_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
    }
}

.cases_article_item.is-show {
    animation: casesFadeUp .5s ease both;
}
@keyframes casesFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .cases_article_item.is-show {
        animation: none;
    }
}

.found_contents_wrap {
    padding: 45px 0;
    border-bottom: solid 1px #e2e2e2;
}
.exception_tab {
    background-color: #f0f4f5;
    padding: 0 45px 60px;
    border-radius: 0 0 20px 20px;
}
.found_article_wrap {
    margin-top: 110px;
}
.found_tab_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 2px;
}
.found_tab_item {
    padding: 11px 80px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
    border-radius: 20px 20px 0 0;
    background-color: #afafaf;
}
.found_tab_item.active {
    padding: 14px 80px;
    color: #000;
    background-color: #f0f4f5;
    font-size: 1.6rem;
}
.found_content {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
}
.found_content.active {
    display: flex;
}
.found_content_item {
    display: block;
}
.found_term {
    padding: 6px 20px;
    border: solid 1px #d5d5d5;
    border-radius: 50px;
    background-color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all .2s;
}
.found_term:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
.found_term.active {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}

.cases_card_body {
    padding: 25px;
}
.cases_card_tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.cases_card_tech_tag {
    font-size: 1.1rem;
    color: #555;
    background-color: #eff2f3;
    border-radius: 50px;
    padding: 2px 12px;
}
.cases_card_tech_tag.primary {
    color: #fff;
    background-color: #323232;
}
.cases_card_problems {
    margin-top: 8px;
    font-size: 1.25rem;
    line-height: 1.7;
    text-align: justify;
    font-weight: 500;
    color: #555;
}

.cases_no_result {
    padding: 60px 0;
    text-align: center;
    font-size: 1.5rem;
    color: #909090;
}

/* ==================== SECTIONMAP: [CPT] casestudy — レスポンシブ ==================== */
@media screen and (max-width:1399px) and (min-width:1100px) {
    .narrow_search_head {
        font-size: 1.5rem;
    }
    .narrow_bar_inner {
        gap: 20px;
    }
    .narrow_search_inner .column_search_form {
        width: 360px;
    }
    .narrow_contaier_opener {
        font-size: 1.5rem;
        align-items: center;
        padding: 8px 16px;
    }
    .narrow_inner {
        margin-bottom: 20px;
    }
    .narrow_label {
        font-size: 1.3rem;
    }
    .found_article_wrap {
        margin-top: 60px;
    }
    .found_tab_item {
        font-size: 1.3rem;
        padding: 10px 48px;
    }
    .found_tab_item.active {
        font-size: 1.5rem;
        padding: 12px 56px;
    }
    .found_term {
        font-size: 1.3rem;
        padding: 5px 10px;
    }
    .found_contents_wrap {
        padding: 30px 0;
    }
    .cases_articles_section {
        padding-top: 30px;
    }
    .cases_article_item {
        width: calc( ( 100% - 40px ) / 3 );
    }
}

@media screen and (max-width:640px) {
    .narrow_bar_inner {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }
    .narrow_search_wrap {
        width: 100%;
    }
    .narrow_search_inner {
        width: 100%;
    }
    .narrow_search_head {
        display: none;
    }
    .narrow_search_inner .column_search_form {
        width: 100%;
    }
    .narrow_search_inner .column_search_form {
        width: 100%;
    }
    .narrow_contaier_opener {
        font-size: 1.4rem;
        align-items: center;
    }
    .narrow_container .inner {
        padding: 20px 5% 30px;
    }
    .narrow_list {
        gap: 5px;
    }
    .narrow_label {
        font-size: 1.3rem;
    }
    .narrow_inner {
        margin-bottom: 20px;
    }
    .found_article_wrap {
        margin-top: 40px;
    }
    .found_tab_wrap {
        margin-bottom: 20px;
    }
    .found_tab_item {
        width: calc(50% - 1px);
        padding: 12px 0;
        text-align: center;
        border-radius: 4px;
    }
    .found_tab_item.active {
        padding: 12px 0;
        font-size: 1.4rem;
    }
    .exception_tab {
        padding: 20px 5% 40px;
    }
    .found_contents_wrap {
        padding: 20px 0 40px;
    }
    .cases_article_item {
        width: 100%;
    }
}

/* ==================== SECTIONMAP: [ページ] client（続き）— client_service_usecase ==================== */
/* ※ onayami / problems_list / qa_section_up / up_fv_title_headline / webservice_title / tokub 系は
   single-tech（web詳細）専用のため page-web.css へ移設。 */
.client_service_usecase {
    background-color: #cacaca;
    padding: 100px 0;
}

@media screen and (max-width:640px) {
    .client_service_usecase {
        padding: 40px 0;
    }
}

/* ==================== SECTIONMAP: [共通] pagination — アーカイブ全般のページネーション ==================== */
/* the_posts_pagination が出力する見出しを視覚的に隠す（スクリーンリーダーには残す） */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* コンテナ：中央寄せ・折り返し・上下余白。
   the_posts_pagination = .pagination > .nav-links > .page-numbers ／ paginate_links = .event_pagination 直下に .page-numbers の両対応。 */
.pagination,
.event_pagination {
    margin: 60px 0 40px;
}
.pagination .nav-links,
.event_pagination {
    display: flex;
    flex-wrap: wrap;             /* ページ数が多くても折り返して崩れない */
    justify-content: center;     /* ページに対して中央寄せ */
    align-items: center;
    gap: 8px;
}
/* 各ページ番号：サイト共通トンマナ（白い角丸ボックス、現在ページはオレンジ） */
.pagination .page-numbers,
.event_pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 4px;
    background-color: #fff;
    border: solid 1px #e0e0e0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.pagination a.page-numbers:hover,
.event_pagination a.page-numbers:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
.pagination .page-numbers.current,
.event_pagination .page-numbers.current {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}
/* 省略記号「…」は枠なし・控えめ */
.pagination .page-numbers.dots,
.event_pagination .page-numbers.dots {
    min-width: auto;
    padding: 0 4px;
    background: transparent;
    border-color: transparent;
    color: #888;
}
/* 「前へ / 次へ」は文字ぶん少し広く */
.pagination .prev.page-numbers,
.pagination .next.page-numbers,
.event_pagination .prev.page-numbers,
.event_pagination .next.page-numbers {
    padding: 0 16px;
    font-size: 1.3rem;
}
@media screen and (max-width:640px) {
    .pagination,
    .event_pagination {
        margin: 40px 0 30px;
    }
    .pagination .nav-links,
    .event_pagination {
        gap: 6px;
    }
    .pagination .page-numbers,
    .event_pagination .page-numbers {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 1.3rem;
    }
    .pagination .prev.page-numbers,
    .pagination .next.page-numbers,
    .event_pagination .prev.page-numbers,
    .event_pagination .next.page-numbers {
        padding: 0 12px;
        font-size: 1.2rem;
    }
}
