/*
Theme Name: TAG 株式会社
Theme URI: 
Template: lightning
Description: 
Author: 株式会社 滝沢印刷
Tags: 
Version: 1.0.0
*/

body {
    color: #000;
    overflow: hidden;
}

html {
    scroll-padding-top: 100px;
}

:root {
    --vk-color-border-hr: rgba(0, 0, 0, 1);
}

.entry-body a img {
    transition: all .3s ease;
}

.entry-body a:hover img {
    opacity: .7 !important;
    transition: all .3s ease;
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

.mt_200 {
    margin-top: 200px !important;
}

.mt_180 {
    margin-top: 180px !important;
}

.mt_160 {
    margin-top: 160px !important;
}

.mt_140 {
    margin-top: 140px !important;
}

.mt_100 {
    margin-top: 100px !important;
}

.mt_80 {
    margin-top: 80px !important;
}

.mt_60 {
    margin-top: 60px !important;
}

.mt_40 {
    margin-top: 40px !important;
}

.mb_170 {
    margin-bottom: 170px !important;
}

.mb_140 {
    margin-bottom: 140px !important;
}

.mb_100 {
    margin-bottom: 100px !important;
}

.mb_80 {
    margin-bottom: 80px !important;
}

.mb_60 {
    margin-bottom: 60px !important;
}

.mb_40 {
    margin-bottom: 40px !important;
}

.mb_20 {
    margin-bottom: 20px !important;
}

.pd_200 {
    padding-top: 200px !important;
    padding-bottom: 100px !important;
}

.pd_100 {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.post-name-works .pd_100 {
    padding-bottom: 0 !important;
}

.pd_80 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.pt_140 {
    padding-top: 140px !important;
}

.pt_40 {
    padding-top: 40px !important;
}

.pb_70 {
    padding-bottom: 70px !important;
}

.pb_60 {
    padding-bottom: 60px !important;
}

.br_30 img {
    border-radius: 30px !important;
}

#top_slider {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -2px !important;
}

#top_slider {
    aspect-ratio: 1920 / 1080;
    height: auto;
}

.wp-block-cover .wp-block-cover__inner-container {
    height: 100%;
}

#top_slider .main_catch {
    position: absolute;
    left: 0;
    bottom: 60px;
    z-index: 999;
}

#top_slider .main_catch figure,
#top_slider .main_catch img {
    width: 50vw !important;
    max-width: 464px;
}

body:not(.single) .site-body {
    padding-top: 0;
}

body:has(.page):not(.home) .site-body {
    padding-top: 240px;
}

body.post-name-service:has(.page):not(.home) .site-body {
    padding-top: 100px;
}

body.post-name-works:has(.page):not(.home) .site-body,
body.post-name-contact:has(.page):not(.home) .site-body {
    padding-top: 160px;
}

.site-header {
    box-shadow: none;
}

.global-nav-list>li {
    transition: all .3s ease;
}

.global-nav-list>li:hover {
    opacity: .7;
    transition: all .3s ease;
}

.global-nav-list>li .global-nav-name {
    font-size: 16px !important;
    font-weight: 400;
}

.global-nav-list>li.menu_recruit {
    background-color: var(--vk-color-primary);
}

.global-nav-list>li.menu_recruit .global-nav-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.global-nav-list>li.menu_recruit .global-nav-name i {
    font-size: 14px;
}

.global-nav-list>li:before {
    display: none;
}

.home:not(.header_scrolled) .global-nav-list>li .global-nav-name {
    color: #fff;
}

.global-nav-list>li.menu_recruit .global-nav-name {
    color: #fff;
}

.tate_index_cols {
    gap: 10px !important;
}

.tate_index_cols p {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 100px;
  line-height: 1 !important;
  color: var(--vk-color-primary);
  margin-bottom: 0 !important;
}

.page:not(.home) .tate_index_cols p {
    font-size: 80px;
}

.page:not(.home) #history .tate_index_cols p {
    color: #fff;
}

.tate_index_cols h2 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
}

#history .tate_index_cols h2 {
    color: #fff;
}

.top_about_cols h3 {
    font-size: 30px;
    line-height: 1.75;
    color: var(--vk-color-primary);
    white-space: nowrap;
}

#top_slider .wp-block-cover__background {
    z-index: 2;
}

.vk-mobile-nav-menu-btn {
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px !important;
    border-color: var(--vk-color-primary);
    background: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/menu_open.png) center center / 25px 20px no-repeat rgba(0,170,102,1) !important;
}

.vk-mobile-nav-menu-btn.menu-open {
    border-color: var(--vk-color-primary);
    background: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/menu_close.png) center center / 25px 20px no-repeat rgba(0,170,102,1) !important;
}

.alert {
    display: none;
}

.vk-mobile-nav {
    padding: 15px 15px 45px;
}

.vk-mobile-nav nav>ul {
    border-top: none;
}

.vk-mobile-nav .widget_nav_menu ul li a, .vk-mobile-nav nav ul li a {
    color: #000;
    border-bottom: 1px solid #cccccc;
    padding: 20px 0;
}

.vk-mobile-nav nav ul li.menu_mobile_recruit {
    margin-top: 30px;
}

.vk-mobile-nav nav ul li.menu_mobile_recruit a {
    color: #fff;
    text-align: center;
    background-color: var(--vk-color-primary);
    padding: 13px 0;
}

.vk-mobile-nav nav ul li.menu_mobile_recruit a .fa-solid {
    margin-left: 5px;
}

.btn_right_cols {
    width: fit-content;
    gap: 20px !important;
}

.btn_right_cols p {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--vk-color-primary);
    transition: opacity .3s ease;
}

.btn_right_cols:hover p {
    opacity: .7;
}

.btn_right_cols figure {
    width: 50px;
    height: 50px;
    position: relative;
    overflow: hidden;
}

.btn_right_cols figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/btn_right_green_hover.png) center / contain no-repeat;
    opacity: 0;
    transition: opacity .3s ease;
}

.btn_right_cols.second figure::after {
    background: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/btn_right_recruit_hover.png) center / contain no-repeat;
}

.btn_right_cols:hover figure::after {
    opacity: 1;
}

.btn_right_cols.second figure img {
    transition: opacity .3s ease;
}

.btn_right_cols.second:hover figure img {
    opacity: 0;
}

.btn_right_cols.second:hover figure::after {
    opacity: 1 !important;
}

.btn_right_business_cols {
    max-width: 500px;
    height: 130px;
    margin-bottom: 20px !important;
}

.btn_right_business_cols p:first-child {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    line-height: 1;
    margin-bottom: 0;
    transition: opacity .3s ease;
}

.btn_right_business_cols p:nth-child(2) {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0;
    transition: opacity .3s ease;
}

.btn_right_business_cols:hover p {
    opacity: .7;
}

.btn_right_business_cols figure {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    overflow: hidden;
}

.btn_right_business_cols figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/btn_right_business_hover.png) center / contain no-repeat;
    opacity: 0;
    transition: opacity .3s ease;
}

.btn_right_business_cols:hover figure::after {
    opacity: 1;
}

#about_scroll_group .infiniteslide_wrap {
    overflow: visible !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

#about_scroll_group .infiniteslide_wrap img {
    height: 450px;
    margin-left: 30px;
}

#about_scroll_group .infiniteslide_wrap img:not(:last-child) {
    padding-right: 0;
}

#about_scroll_group .infiniteslide_wrap li {
    margin-top: 0;
    margin-bottom: 0;
}

#about_scroll_group .infiniteslide_wrap ul {
    list-style: none;
    padding-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#top_business {
    background-image: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/top_business_bg_logo.png);   
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 41% auto;
}

.post-name-service #top_business {
    background-image: none;
}

#top_business .wp-block-cover .wp-block-cover__image-background,
#top_business .wp-block-cover .wp-block-cover__background {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.index_left_fix_10 {
    position: relative;
    left: -10px;
}

.index_left_fix_5 {
    position: relative;
    left: -5px;
}

.top_works_right_col {
    justify-items: flex-end;
    align-content: flex-end;
}

#top_works_slider figure {
    max-width: 450px;
}

body :where(.alignfull,.alignwide):where(:not(.vk_outer-paddingLR-zero))>.is-layout-constrained>.alignfull.top_works_slider_cols {
    margin-left: 0 !important;
    margin-bottom: 50px !important;
    gap: 50px !important;
}

#top_works_slider.wp-block-group.is-style-vk-group-scrollable[data-scroll-breakpoint=group-scrollable-pc]:not([data-table-mode=true]) .wp-block-columns .wp-block-column {
    min-width: 450px !important;
}

.top_works_slider_cols .wp-block-column {
    position: relative;
}

.top_works_slider_link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.top_works_slider_cols .wp-block-column {
    transition: opacity 0.2s ease;
}

.top_works_slider_cols .wp-block-column:hover .top_works_slider_thumb img {
    opacity: .7;
}

.top_works_slider_thumb img {
    transition: opacity 0.2s ease;
}

.top_works_slider_thumb {
    position: relative;
}

.top_works_slider_thumb figure.wp-block-image {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 450 / 250;
}

.top_works_slider_thumb figure.wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
    display: block;
}

.top_works_slider_thumb p.top_works_slider_thumb_cat {
    font-size: 12px;
    color: #fff;
    line-height: 28px;
    background-color: var(--vk-color-primary);
    height: 30px;
    padding: 0 15px;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
}

.works_thumb_group {
    position: relative;
}

.works_thumb_group figure {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 340 / 270;
    position: relative;
    margin: 0;
}

.works_thumb_group figure a {
    position: absolute;
    inset: 0;
    display: block;
}

.works_thumb_group .wp-block-image img:not([style*=object-fit]) {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
}

.works_thumb_group p.works_thumb_cat {
    font-size: 16px;
    color: #fff;
    line-height: 40px !important;
    background-color: var(--vk-color-primary);
    height: 40px;
    padding: 0 20px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}

.works_thumb_group::after {
    content: "";
    background-image: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/works_grid_glass.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 6px;
    right: 6px;
}

.works_thumb_group.no-thumbnail::after {
    display: none;
}

.works_partner {
    font-size: 12px;
    line-height: 23px !important;
    height: 25px;
    border: 1px solid #000;
    border-radius: 12.5px;
    padding: 0 18px;
    display: inline-block;
    margin-top: 18px !important;
}

.works_partner.second {
    border: none;
}

.works_year {
    line-height: 1.4px !important;
    margin-bottom: 15px !important;
}

.vk_posts .vk_post:first-child {
    border-top: 1px solid #000;
}

.vk_posts .vk_post {
    border-bottom: 1px solid #000;
}

.vk_posts .postListText {
    padding: 36px 15px;
}

.vk_posts .postListText_title,
.vk_posts .postListText_date {
    font-size: 16px;
}

.vk_posts .postListText_date {
    min-width: 165px;
}

.vk_posts .postListText_title a {
    text-decoration: none;
}

.vk_posts .postListText_title a {
    color: #000;
    transition: all .3s ease;
}

.vk_posts .postListText_title a:hover {
    opacity: .7;
    transition: all .3s ease;
}

#top_news {
    position: relative;
    overflow: visible;
}

/* 背景装飾画像
   1280px 基準: 幅 44vw × 高さ 44vw (1:1)、top: 120px、right: -175px */
#top_news::before {
    content: '';
    display: block;
    position: absolute;
    width: 44vw;
    height: 44vw;
    top: 120px;
    right: -175px;
    background-image: url('https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/top_new_bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
}

#top_news > *, #footer_recruit > * {
    position: relative;
    z-index: 1;
}

#footer_recruit {
    position: relative;
    overflow: hidden;
    color: #fff;
}

#footer_recruit::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background-color: rgba(191, 238, 255, 0.1);
    pointer-events: none;
    z-index: 3;
}

#footer_recruit > * {
    position: relative;
    z-index: 1;
}

#footer_recruit .wp-block-column:nth-child(2) {
    position: relative;
    z-index: 4;
    background: linear-gradient(200deg, #00aa66 20%, #78c846 100%);
    padding-left: 70px;
    padding-right: 70px;
}

#footer_recruit .footer_recruit_center_col {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#footer_recruit .wp-block-column:nth-child(2) p {
    font-size: 18px;
}

#footer_recruit .footer_recruit_tate_index p {
    font-family: "Playwrite NZ Basic", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 100px !important;
    line-height: 1;
    margin-bottom: 0 !important;
}

#footer_recruit .footer_recruit_tate_index h2 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
}

#footer_recruit .btn_right_cols p {
    font-size: 16px !important;
    color: #fff;
}

/* ホバー時に全体を opacity: .7 */
#footer_recruit {
    transition: opacity .3s ease;
    cursor: pointer;
}

#footer_recruit:hover {
    opacity: .9;
}

/* どこをホバーしても矢印アイコンが変化 */
#footer_recruit:hover .btn_right_cols.second figure img {
    opacity: 0;
}

#footer_recruit:hover .btn_right_cols.second figure::after {
    opacity: 1 !important;
}

#footer_contact .tate_index_cols {
    margin-bottom: 10px !important;
}

#footer_contact .tate_index_cols {
    position: relative;
    top: -15px;
    gap: 5px !important;
}

#footer_contact .tate_index_cols h2 {
    margin-bottom: 0;
}

.footer_contact_phone {
    margin-bottom: 35px;
}

.footer_contact_phone figure {
    width: 70px;
    height: 70px;
}

.footer_contact_phone .is-nowrap {
    gap: 18px !important;
}

.footer_contact_phone .is-vertical {
    gap: 0 !important;
}

.footer_contact_phone .is-vertical p:first-child {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: 2px;
}

.footer_contact_phone.second .is-vertical p:first-child {
    letter-spacing: 1px;
}

.footer_contact_phone .is-vertical p:last-child {
    padding-left: 4px;
}

.footer_contact_phone.second {
    position: relative;
}

.footer_contact_phone.second::after {
    content: "";
    background-image: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/btn_right_business_hover.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    transition: all .3s ease;
}

.footer_contact_phone.second:hover::after {
    background-image: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/btn_right_green_hover.png);
    transition: all .3s ease;
}

.footer_contact_phone.second .is-vertical p {
    font-size: 25px;    
    transition: all .3s ease;
}

.footer_contact_phone.second figure {
    transition: all .3s ease;
}

.footer_contact_phone.second:hover .is-vertical p,
.footer_contact_phone.second:hover figure {
    opacity: .7;
    transition: all .3s ease;
}

.footer_info {
    position: relative;
    padding-bottom: 20px;
}

.footer_info:not(.second)::after {
    content: "";
    background-image: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/footer_info_after.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer_info p:first-child {
    font-size: 14px;
    line-height: 1.75;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.footer_info p:last-child {
    font-size: 14px;
    line-height: 1.75;
}

footer .widget:has(.footer_info) {
    margin-bottom: 20px !important;
}

.copyright_pc {
    display: block;    
}

.site-footer-copyright {
    display: none;
}

.site-footer {
    font-size: 14px;
}

.footer_menu_cols {
    margin-top: 90px;
}

.footer_menu_cols p a {
    color: #000;
    text-decoration: none; 
    transition: all .3s ease;   
}

.footer_menu_cols p a:hover {
    color: #000;
    opacity: .7;
    transition: all .3s ease;   
}

.footer_menu_cols ul {
    list-style: none;
    padding-left: 0;
}

.footer_menu_cols li {
    margin-bottom: 25px;
    font-size: 12px;
}

.footer_menu_cols li a {
    color: #000;
    display: inline-block;
    text-decoration: none;
    transition: all .3s ease;
}

.footer_menu_cols li a:hover {
    color: #000;
    opacity: .7;
    transition: all .3s ease;
}

#page_top {
    display: none !important;
}

.btn_exlink .vk_button_link {
    min-width: 170px;
    height: 40px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.btn_exlink .vk_button_link .vk_button_link_caption {
    font-size: 14px;
    line-height: 39px;
}

.btn_exlink .vk_button_link_after {
    margin-left: 3px;
}

.btn_exlink .vk_button_link:hover {
    box-shadow: none;
    opacity: 1 !important;
}

.btn_gmap .vk_button_link {
    min-width: 230px;
    height: 50px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 1px solid var(--vk-color-primary);
}

.btn_gmap .vk_button_link:hover {
    background-color: #fff !important;
    border-color: var(--vk-color-primary);
}

.btn_gmap .vk_button_link .vk_button_link_caption {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 49px;
}

.btn_gmap .vk_button_link:hover .vk_button_link_caption {
    color: var(--vk-color-primary);
}

.btn_gmap .vk_button_link_after {
    margin-left: 40px;
}

.btn_gmap .vk_button_link:hover {
    box-shadow: none;
    opacity: 1 !important;
}

.fa-home, .fa-calendar-days {
    display: none !important;
}

#breadcrumb {
    border-top: none;
    border-bottom: none;
    margin-top: calc((31rem + 40px) * -1) !important;
    margin-bottom: 31rem !important;
    text-align: right;
}

.breadcrumb-list li::after {
    content: "ー";
}

.breadcrumb-list li:nth-child(2)::after {
    display: none;
}

#breadcrumb li {
    font-size: 14px;
}

#breadcrumb li a {
    color: #000;
    text-decoration: none;
    transition: all .3s ease;
}

#breadcrumb li a:hover {
    opacity: .7;
    transition: all .3s ease;
}

#breadcrumb li:nth-child(n+3) {
    display: none;
}

.blog .vk_post_imgOuter_singleTermLabel,
.single .entry-footer,
.vk_post_title_new {
    display: none;
} 

.page-header {
    margin-top: 350px;
    flex-direction: column;
}

.page-header-inner {
    margin-top: -100px;
}

.page-header-title {
    font-size: 22px !important;
    font-weight: 500 !important;
    letter-spacing: 2px;
}

.page-header-title::before {
    content: var(--page-header-title-before, "");
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 100px;
    line-height: 1;
    color: var(--vk-color-primary);
    position: absolute;
    top: -100px;
    left: 15px;
}

.blog .page-header-title::before {
    left: 7px;
}

.post-name-works .page-header-title::before,
.post-name-contact .page-header-title::before {
    left: 10px;
}

.blog .vk_post .vk_post_title {
    font-size: 30px !important;
}

.blog .vk_post .vk_post_date {
    font-size: 16px !important;
    color: #666666;
}

.blog .vk_post .vk_post_excerpt {
    font-size: 16px !important;
    color: #000;
}

.blog .vk_posts .vk_post:first-child {
    border-top: none;
}

.blog .vk_posts .vk_post {
    padding: 140px 0 !important;
}

.blog .vk_posts .vk_post:last-child {
    border-bottom: none;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled):focus {
    box-shadow: none;
}

body:not(.home) .entry-body p {
    line-height: 2;
    text-align: justify;
    font-feature-settings: "palt";
}

body:not(.home) .entry-body h3 {
    font-size: 35px;
    font-weight: 600;
}

body.post-name-contact:not(.home) .entry-body h3 {
    font-size: 30px;
    font-weight: 600;
}

.daihyo_name_cols {
    gap: 15px !important;
}

.daihyo_name_cols p {
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0 !important;
}

.daihyo_name_cols figure {
    max-width: 155px;
    margin-bottom: 0 !important;
}

.bg_green {
    background-color: #ebf2eb !important;
}

.bg_history {
    background-color: #e6e6e6 !important;
    background-image: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/bg_history-scaled.jpg);
    background-size: cover;
    background-position: center center;
    background-blend-mode: multiply;
}

.br_36 {
    border-radius: 36px !important;
}

#philosophy .wp-block-columns:not(:last-child) {
    border-bottom: 1px solid var(--vk-color-primary);
}

#philosophy .wp-block-columns:not(:last-child).pb_70 {
    margin-bottom: 70px !important;
}

#philosophy .wp-block-columns h3 {
    font-size: 30px;
    line-height: 1;
    color: var(--vk-color-primary);
    letter-spacing: 6px;
}

.wp-block-table {
    border-color: #cccccc;
}

.wp-block-table td {
    border-left: none;
    border-right: none;
    padding: 30px 0;
}

.wp-block-table tr:first-child td {
    padding-top: 0;
    border-top: none;
}

.wp-block-table td:first-child {
    width: 25%;
}

.wp-block-table:where(:not([class*=font-size])) {
    font-size: 16px;
    line-height: 1.875;
}

/* 技術者数セル：等幅フォント＋スペース保持で名数を縦揃え */
figure.wp-block-table.mt_100.vk_hidden-sm.vk_hidden-xs tr:nth-child(8) td:last-child {
    font-family: "MS Gothic", "Osaka-Mono", "Noto Sans Mono CJK JP", monospace;
    white-space: pre-wrap;
}

.vk_timeline .vk_timeline_item {
    padding-left: 0;
}

.vk_timeline .vk_timeline_item_style {
    width: 16px;
    height: 16px;
    left: calc(20% - 8px);
}

.vk_timeline_item_lineStyle-default::before {
    width: 1px;
    background: rgba(255,255,255,1);
    top: 20px;
    left: 20%;
}

.vk_timeline_item_caption {
    font-size: 16px;
    color: #fff !important;
}

.vk_timeline_item_content {
    padding-left: calc(20% + 30px);
    margin-top: -52px;
    color: #fff;
}

body:not(.home) .entry-body #access h3 {
    font-size: 20px;
    font-weight: 500;
}

body:not(.home) .entry-body #access p {
    white-space: nowrap;
}

body:not(.home) .entry-body #strength h3,
body:not(.home) .entry-body #business h3 {
    color: var(--vk-color-primary);
    white-space: nowrap;
    margin-bottom: 15px !important;
}

#business {
    margin-bottom: 100px !important;
}

#business.pd_200 {
    padding-bottom: 180px !important;
}

.strength_yoko_cols p {
    font-size: 40px;
    line-height: 1.3em !important;
    color: var(--vk-color-primary);
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

.works_btn_cols .wp-block-column {
    transition: all .3s ease;
}

.works_btn_cols .wp-block-column p {
    text-align: center !important;
    font-size: 18px;
    line-height: 70px !important;
    margin-bottom: 0 !important;
}

.works_btn_cols .wp-block-column:hover {
    opacity: .7;
    transition: all .3s ease;
}

body.post-name-works:not(.home) .entry-body h3 {
    color: var(--vk-color-primary);
    margin-bottom: 80px !important;
}

.works_grid_cols {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.works_grid_cols p.works_name { 
    line-height: 1.56 !important;
}

.works_grid_cols .works_grid_body {
    padding: 0 20px 25px;
}

.works_grid_cols .vk_gridColumn_item {
    background-color: #fff;
    padding: 0 !important;
    border-right: 1px solid #dfe8df;
    border-bottom: 1px solid #dfe8df;
}

.works_grid_cols .row {
    gap: 40px !important;
}

.bg_green.mt_80 {
    margin-top: 40px !important;
}

.contact_lead {
    font-size: 25px;
    font-weight: 600;
}

.phone_number {
    font-size: 60px;
    font-weight: 600;
    line-height: 1 !important;
    margin-bottom: 0 !important;
}

.phone_number a {
    color: var(--vk-color-primary);
    text-decoration: none;
}

.contact_phone_cols .vk_icon_frame {
    padding-top: 4px;
}

.contact_phone_cols p:not(.phone_number) {
    font-size: 20px;
}

.wp-block-separator {
    border-top: 1px solid;
}

.single .page-header {
    min-height: 0;
}

.single .page-header::before {
    display: none;
}

.single #breadcrumb {
    margin-top: calc((0rem + 40px) * -1) !important;
    margin-bottom: 0 !important;
}

.vk_post .vk_post_btn {
    font-size: 16px;
}

@media (min-width: 1500px) {
    #top_news::before {
        width: 660px;
        height: 660px;
    }
}

@media (min-width: 992px) {
    .global-nav-list>li {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    .global-nav-list>li.menu_recruit {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 20px !important;
    }
    .global-nav-list>li:not(.menu_recruit) a {
        padding-left: 11.5px !important;
        padding-right: 11.5px !important;
    }
    .site-header-container {
        max-width: 100vw;
        padding-left: 40px;
        padding-right: 0;
    }
    .site-header--layout--nav-float .site-header-logo {
        margin-right: 0;
    }
    body.header_scrolled .global-nav-list>li {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    footer .col-lg-6:first-child {
        flex: 0 0 40%;
        max-width: 40%;
    }
    footer .col-lg-6:last-child {
        flex: 0 0 60%;
        max-width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .btn_exlink {
        margin-bottom: 30px;
    }
    .vk_timeline {
        max-width: 630px !important;
    }
    .works_grid_cols .vk_gridColumn_item {
        width: calc(33% - 23px);
        max-width: calc(33% - 23px) !important;
        margin-bottom: 60px !important;
    }
    .works_grid_cols .row {
        gap: 0 40px !important;
    }
}

@media (min-width: 1200px) {
    .global-nav-list>li:not(.menu_recruit) a {
        padding-left: 22.5px !important;
        padding-right: 22.5px !important;
    }
    #message .wp-block-columns {
        gap: 100px !important;
    }
    .strength_cols {
        gap: 120px !important;
    }
}

@media (max-width: 1199.98px) {
    #footer_recruit .footer_recruit_tate_index p {
        font-size: 60px !important;
    }
    #top_slider .main_catch {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    #top_slider .main_catch figure,
    #top_slider .main_catch img {
        width: 50vw !important;
    }
    .footer_contact_phone .is-vertical p:first-child {
        font-size: 33px;
    }
    .footer_contact_phone.second .is-vertical p:first-child {
        font-size: 18px;
    }
    .blog .vk_posts .vk_post {
        padding: 70px 0 !important;
    }
    .works_grid_cols .vk_gridColumn_item {
        max-width: calc(33% - 24px) !important;
    }
    .page-header {
        margin-top: 250px;
        min-height: 25rem;
    }
    .page-header-title::before {
        font-size: 80px;
        top: -80px;
    }
    .post-name-about .page-header-title::before {
        font-size: 60px;
    }
    #breadcrumb {
        margin-top: calc((25rem + 40px) * -1) !important;
        margin-bottom: 25rem !important;
    }
    .footer_menu_cols {
        gap: 13px !important;
    }
}

@media (max-width: 991.98px) {
    body, html {
        font-size: 16px;
    }
    .site-header-logo {
        padding-top: 1rem;
    }
    .tate_index_cols p, .page:not(.home) .tate_index_cols p {
        font-size: 60px;
    }
    .tate_index_cols h2, .page-header-title {
        font-size: 16px;
    }
    .top_about_cols h3 {
        font-size: 28px;
        line-height: 1.7;
    }
    #philosophy .wp-block-columns h3 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    #footer_recruit .footer_recruit_tate_index h2.mb_60 {
        margin-bottom: 30px !important;
    }
    #footer_recruit .footer_recruit_tate_index {
        gap: 15px !important;
    }
    .footer_contact_phone {
        border-radius: 20px !important;
        padding: 30px 0 30px 30px !important;
    }
    .footer_contact_phone figure {
        width: 50px;
        height: 50px;
    }
    .footer_contact_phone .is-vertical p:first-child {
        font-size: 28px;
    }
    .footer_contact_phone .is-vertical p:last-child {
        font-size: 13px;
        padding-left: 2px;
    }
    .footer_menu_cols {
        display: none !important;
    }
    .footer_logo, .footer_info {
        text-align: center;
    }
    .footer_info:not(.second)::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .site-footer-content .row {
        flex-direction: column;
        align-items: center;
    }
    .copyright_pc {
        display: none;
    }
    .site-footer-copyright {
        display: block;
        color: var(--vk-color-primary);
        font-size: 12px;
    }
    .btn_exlink.vk_button.vk_button-align-right {
        text-align: center !important;
    }
    footer .widget:has(.footer_menu_cols) {
        margin-bottom: 0;
    }
    footer .site-footer-content .row .col-lg-6:first-child {
        max-width: 100%;
    }
    body:has(.page):not(.home) .site-body,
    body.post-name-works:has(.page):not(.home) .site-body,
    body.post-name-contact:has(.page):not(.home) .site-body {
        padding-top: 70px;
    }
    .page-header {
        margin-top: 200px;
    }
    .page-header-title::before {
        font-size: 60px;
        top: -65px;
    }
    .blog .page-header-title::before {
        left: 10px;
    }
    .post-name-works .page-header-title::before {
        left: 15px;
    }
    body:not(.home) .entry-body h3 {
        font-size: 28px;
    }
    body.post-name-contact:not(.home) .entry-body h3 {
        font-size: 24px;
    }
    .vk_timeline .vk_timeline_item_style {
        width: 10px;
        height: 10px;
        left: calc(20% - 5px);
    }
    .vk_timeline_item_lineStyle-default::before {
        top: 14px;
    }
    .vk_timeline_item_caption, body:not(.home) .entry-body .vk_timeline p {
        font-size: 14px;
    }
    .vk_timeline_item_content {
        margin-top: -46px;
    }
    #access .wp-block-columns {
        flex-direction: column;
        gap: 70px !important;
    }
    .strength_yoko_cols p {
        font-size: 32px;
    }
    #business {
        margin-bottom: 50px !important;
    }
    .works_btn_cols .wp-block-column p {
        font-size: 16px;
        line-height: 50px !important;
    }
    .works_grid_cols .works_grid_body {
        padding: 0 15px 20px;
    }
    .post-name-works h3 {
        margin-bottom: 50px !important;
    }
    .contact_lead {
        font-size: 20px;
    }
    .phone_number {
        font-size: 38px;
    }
    .contact_phone_cols p:not(.phone_number) {
        font-size: 18px;
    }
    .works_grid_cols .vk_gridColumn_item {
        margin-bottom: 40px !important;
    }
    body.post-name-works:not(.home) .entry-body h3 {
        margin-bottom: 60px !important;
    }
}

@media (min-width: 782px) and (max-width: 991.98px) {
    #top_business .wp-block-columns {
        gap: 15px !important;
    }
    .post-name-service #top_business .wp-block-columns {
        gap: 30px !important;
    }
    #footer_recruit .wp-block-column:nth-child(2) {
        padding-left: 15px;
        padding-right: 15px;
    }
    .footer_contact_phone .is-vertical p:first-child {
        font-size: 24px;
    } 
    .footer_contact_phone.second .is-vertical p:first-child {
        font-size: 11px;
    } 
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .works_grid_cols .row {
        gap: 15px !important;
    }
    .works_grid_cols .vk_gridColumn_item {
        width: calc(50% - 37.5px);
        max-width: calc(50% - 7.5px) !important;
    }
}

@media (min-width: 782px) {
    #top_business .wp-block-cover {
        margin-left: calc(0% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    #top_business .wp-block-cover .wp-block-cover__image-background,
    #top_business .wp-block-cover .wp-block-cover__background {
        width: 50%;
        left: 50%;
    }
    .vk_posts .postListText {
        margin-left: 0 !important;
    }
    #top_news .vk_posts {
        margin-top: 30px;
    }
    #top_works {
        margin-bottom: 40px !important;
    }
    .footer_contact_phone:not(.second) a {
        pointer-events: none;
    }
        .strength_cols .wp-block-column:first-child {
        position: relative
    }
    .strength_cols .wp-block-column:first-child .btn_gmap.second {
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .btn_gmap.second .vk_button_link .vk_button_link_caption {
        font-family: "Noto Sans JP", sans-serif;
        position: relative;
        z-index: 1;
        line-height: 48px;
    }
}

@media (max-width: 781.98px) {
    #top_business .wp-block-cover {
        min-height: 300px !important;
    }
    #footer_recruit .wp-block-column:nth-child(2) {
        aspect-ratio: 680 / 713;
    }
    .footer_recruit_tate_cols {
        flex-direction: row !important;
    }
    .footer_recruit_tate_cols figure {
        max-width: 50% !important;
        overflow: hidden;
        aspect-ratio: 323 / 266;
    }
    .footer_recruit_tate_cols figure img:not([style*=object-fit]) {
        object-fit: cover;
        object-position: center center;
    }
    #message .wp-block-columns {
        flex-direction: column-reverse;
    }
    #message .tate_index_cols.mb_40 {
        margin-bottom: 40px !important;
    }
    .daihyo_name_cols {
        margin-bottom: 30px !important;
    }
    #footer_recruit {
        border-radius: 15px !important;
    }
    .br_36 {
        border-radius: 18px !important;
    }
    .strength_cols {
        gap: 40px !important;
    }
}

@media (min-width: 576px) and (max-width: 781.98px) {
    #footer_recruit .wp-block-column:nth-child(2) {
        aspect-ratio: 680 / 400;
    }
}

@media (max-width: 780.98px) {
    .mt_200 {
        margin-top: 100px !important;
    }
    .mt_180 {
        margin-top: 80px !important;
    }
    .mt_160 {
        margin-top: 80px !important;
    }
    .mt_140 {
        margin-top: 70px !important;
    }
    .mt_100 {
        margin-top: 50px !important;
    }
    .mt_80 {
        margin-top: 40px !important;
    }
    .post-name-works .mt_80 {
        margin-top: 70px !important;
    }
    .post-name-works .bg_green.mt_80 {
        margin-top: 20px !important;
    }
    .mt_60 {
        margin-top: 30px !important;
    }
    .mt_40 {
        margin-top: 20px !important;
    }
    body:not(.home) .entry-body #access h3.mt_40 {
        margin-top: 0 !important;
    }
    .mb_170 {
        margin-bottom: 80px !important;
    }
    .mb_140 {
        margin-bottom: 70px !important;
    }
    .mb_100 {
        margin-bottom: 50px !important;
    }
    .mb_60 {
        margin-bottom: 60px !important;
    }
    .strength_txt.mb_60 {
        margin-bottom: 30px !important;
    }
    .mb_80 {
        margin-bottom: 40px !important;
    }
    .mb_40 {
        margin-bottom: 20px !important;
    }
    .pd_200 {
        padding-top: 70px !important;
        padding-bottom: 40px !important;
    }
    #business.pd_200 {
        padding-bottom: 90px !important;
    }
    .pd_100 {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
    }
    .pd_80 {
        padding-top: 70px !important;
        padding-bottom: 60px !important;
    }
    .pt_140 {
        padding-top: 70px !important;
    }
    .pt_40 {
        padding-top: 20px !important;
    }
    .pb_70 {
        padding-bottom: 40px !important;
    }
    .pb_60 {
        padding-bottom: 40px !important;
    }
    .br_30 img {
        border-radius: 15px !important;
    }
    #top_business .wp-block-cover .wp-block-cover__image-background,
    #top_business .wp-block-cover .wp-block-cover__background {
        width: calc(100% - 15px);
        left: 15px;
    }
    #top_business {
        background-size: 70% auto;
    }
    .index_left_fix_10 {
        left: -5px;
    }
    .btn_right_business_cols {
        height: 80px;
        margin-bottom: 0 !important;
    }
    .btn_right_business_cols figure {
        width: 33px;
        height: 33px;
    }
    .btn_right_business_cols p {
        font-size: 16px !important;
    }
    #top_works, #top_news {
        gap: 0 !important;
    }
    #top_works .tate_index_cols.mb_20,
    #top_news .tate_index_cols.mb_20 {
        margin-bottom: 0 !important;
    }
    .top_works_slider_cols {
        gap: 30px !important;
    }
    body :where(.alignfull,.alignwide):where(:not(.vk_outer-paddingLR-zero))>.is-layout-constrained>.alignfull.top_works_slider_cols {
        margin-bottom: 30px !important;
        gap: 35px !important;
    }
    .btn_right_cols {
        margin-right: 0 !important;
        margin-left: auto;
    }
    .btn_right_cols.mb_40 {
        margin-bottom: 35px !important;
    }
    .vk_posts .postListText {
        padding: 30px 0;
    }
    #footer_recruit .wp-block-column:nth-child(2) p {
        font-size: 16px;
    }
    #footer_recruit .footer_recruit_tate_index h2 {
        font-size: 16px;
    }
    #philosophy .wp-block-columns:not(:last-child).pb_70 {
        margin-bottom: 40px !important;
    }
}

@media (min-width: 768px) {
    .wp-block-table td:first-child {
        width: 25%;
    }
}

@media (max-width: 768px) {
    #about_scroll_group .infiniteslide_wrap img {
        height: 300px;
        margin-left: 18px;
    }
    #about_scroll_group .infiniteslide_wrap ul {
        padding-left: 10px;
        white-space: nowrap;
    }
    #about_scroll_group .infiniteslide_wrap img:not(:last-child) {
        padding-right: 10px;
    }
    #about_scroll_group .infiniteslide_wrap .scroll_text_top1 img {
        height: 50px;
    }
    #top_business, #top_business_case {
        border-radius: 15px !important;
    }
    #top_business .wp-block-cover .wp-block-cover__image-background,
    #top_business .wp-block-cover .wp-block-cover__background {
        border-top-left-radius: 15px !important;
        border-bottom-left-radius: 15px !important;
    }
}

@media (max-width: 767.98px) {
    .blog .vk_post.media {
        flex-direction: column;
        gap: 20px;
    }
    .blog .vk_post .media-img, .blog .vk_post-btn-display .vk_post_body {
        width: 100%;
    }
    .blog .vk_post .vk_post_title {
        font-size: 24px !important;
    }
    .wp-block-table td {
        display: block;
        width: calc(100vw - 30px);
    }
    .wp-block-table td:first-child {
        font-weight: 500;
        padding-bottom: 0;
        border-top: none;
        border-bottom: none;
    }
    .wp-block-table td:last-child {
        padding-top: 0;
        border-top: none;
    }
    .works_btn_cols .wp-block-column p {
        font-size: 14px;
        line-height: 40px !important;
    }
    .works_grid_cols .vk_gridColumn_item {
        max-width: 100% !important;
    }
}

@media (min-width: 576px) {
    #top_slider .swiper .vk_slider_item {
        /* aspect-ratio: 1280 / 800; */
        width: 100%;
        height: 100vh;
    }
    .phone_number a {
        pointer-events: none;
    }
}

@media (max-width: 575.98px) {
    #top_slider .swiper .vk_slider_item {
        aspect-ratio: 750 / 1200;
        max-height: 100vh;
    }
    #footer_recruit .wp-block-column:nth-child(2) {
        padding-left: 15px;
        padding-right: 15px;
    }
    #top_slider .main_catch {
        position: absolute;
        left: 0;
        bottom: unset;
        top: 7vh;
    }
    #top_slider .main_catch figure,
    #top_slider .main_catch img {
        width: 310px !important;
    }
    .footer_contact_phone.second .is-vertical p:first-child {
        font-size: 16px;
    }
    .mt_200 {
        margin-top: 70px !important;
    }
    .page:not(.home) .tate_index_cols p.one_line {
        transform: scaleX(0.85);
        transform-origin: left center;
    }
    #top_news::before {
        width: 100%;
        height: 100%;
        top: 300px;
        right: -60px;
    }
    .btn_gmap .vk_button_link {
        min-width: 100%;
        height: 70px;
        border-radius: 35px !important;
    }
    .btn_gmap .vk_button_link .vk_button_link_caption {
        font-size: 22px;
        line-height: 69px;
    }
    .works_grid_cols .vk_gridColumn_item {
        max-width: calc(100% - 30px);
        margin-bottom: 30px !important;        
    }
    .vk_post .vk_post_btn {
        font-size: 14px;
    }
    .page-header {
        min-height: 17rem;
    }
    .page-header {
        margin-top: 250px;
        min-height: 14rem;
    }
    .page-header-title::before {
        font-size: 80px;
        top: -80px;
    }
    #breadcrumb {
        margin-top: calc((14rem + 40px) * -1) !important;
        margin-bottom: 14rem !important;
    }
}

@media (min-width: 1000px) and (max-height: 800px) {
    #top_slider,
    #top_slider .swiper {
        height: 100vh;
    }
    #top_slider,
    #top_slider .swiper .vk_slider_item {
        aspect-ratio: unset;
        min-height: 100vh;
    }
}

@media (min-width: 576px) {
    #top_works_slider {
        margin-left: calc((100vw - 510px) / 2) !important;
    }
}

@media (min-width: 768px) {
    #top_works_slider {
        margin-left: calc((100vw - 690px) / 2) !important;
    }
}

@media (min-width: 992px) {
    #top_works_slider {
        margin-left: calc((100vw - 930px) / 2) !important;
    }
    .blog .vk_post .media-img {
        margin-right: 50px !important;
    }
}

@media (min-width: 1200px) {
    #top_works_slider {
        margin-left: calc((100vw - 1100px) / 2) !important;
    }
}

@media (max-width: 575.98px) {
    #top_works_slider {
        margin-left: 15px !important;
    }
    #top_works_slider figure {
        max-width: 265px;
    }
    #top_works_slider.wp-block-group.is-style-vk-group-scrollable[data-scroll-breakpoint=group-scrollable-pc]:not([data-table-mode=true]) .wp-block-columns .wp-block-column {
        min-width: 265px !important;
    }
    .footer_logo {
        max-width: 250px;
        margin-inline: auto;
    }
    .vk_timeline .vk_timeline_item_style {
        left: calc(30% - 5px);
    }
    .vk_timeline_item_lineStyle-default::before {
        left: 30%;
    }
    .vk_timeline_item_content {
        padding-left: calc(30% + 20px);
    }
    .works_btn_cols.wp-block-columns.is-not-stacked-on-mobile {
        flex-wrap: wrap !important;
        gap: 1px !important;
    }
    .works_btn_cols .wp-block-column {
        flex: 0 0 calc(33.333% - 2px) !important;
        max-width: calc(33.333% - 2px) !important;
    }
}

@media (max-width: 400px) {
    .footer_contact_phone.second .is-vertical p:first-child {
        font-size: 16px;
    }
    .footer_recruit_tate_cols figure img:not([style*=object-fit]) {
        width: 100%;
        height: 180px !important;
    }
}

/* =====================
   Horizontal Scrollbar (#top_works_slider)
   ===================== */

/* Firefox */
#top_works_slider {
    scrollbar-color: var(--vk-color-primary) #fff;
    scrollbar-width: thin;
}

/* WebKit (Chrome / Safari / Edge) */
#top_works_slider::-webkit-scrollbar {
    height: 3px;
    background: #fff;
}
#top_works_slider::-webkit-scrollbar-button {
    display: none;
    width: 0;
}
#top_works_slider::-webkit-scrollbar-track {
    background: #fff;
}
#top_works_slider::-webkit-scrollbar-thumb {
    background: var(--vk-color-primary) !important;
    border-radius: 0;
}


/* お問い合わせフォーム */

.wpcf7{
border: 0;
background: 0;
margin: 60px auto 0 0 !important;}

.wpcf7 table {
max-width: 800px;
}

.post_content th {
background: 0;}

.post_content td, .post_content th {
border: 0;}

.red {
padding: 0 6px;
line-height: 20px;
font-size: 14px;
background: #ff0000;
margin-right: 25px;
color: #fff;
border-radius: 2px;}

th {
text-align: left;}

.grey {
padding: 0 6px;
line-height: 20px;
font-size: 14px;
background: #808080;
margin-right: 25px;
color: #fff;
border-radius: 2px;}

@media(max-width: 768px){
.CF7_table tr, .CF7_table td, .CF7_table th{
display: block;
width: 100%;
line-height: 2.5em;}
}

.contact_background {
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
background: #F1EBDD;
}

.contact_space {
max-width: 1100px;
margin: 0 auto;
padding: 120px 100px;}

@media (max-width: 1100px){
.contact_space {
padding: 80px 40px;}
}

@media (max-width: 800px){
.contact_space {
padding: 40px 20px;}
}

.post_content td, .post_content th{
background: 0;}

.wpcf7 input, .wpcf7 textarea{
border: 0;}

/*説明文の文字・余白指定*/
.contact-text{
font-size: 12px;
padding-top: 20px;
line-height:  1.5rem;}

/*注意文の文字*/
.contact-text p{
font-size: 12px;}

/*注意文の色指定*/
.checkbox-text{
margin-left: 0 !important;
font-size: 15px !important;
line-height: 1 !important;
color: #ff0000;}

.padding-top p{
margin-bottom: 0;}

.padding-top p:first-child{
margin-bottom: 10px;}

@media(max-width: 800px){
.padding-top p{
margin-bottom: 10px;
line-height: 1.5em !important;}
}

@media (max-width: 800px){
.CF7_table td {
padding: 0 0 30px 0 !important;}
.CF7_table th {
padding: 0 0 10px 0 !important;}
}

.CF7_table input, .CF7_table textarea{
border-radius: 5px;
border: 1px solid #ddd;}

.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous{
font-size: 18px;
background: var(--vk-color-primary);
margin-top: 60px;
width: 260px;
height: 60px;
border-radius: 5px;}

p:has(.wpcf7-submit) {
display: flex;
justify-content: center;}

.CF7_table th{
vertical-align: top;
font-weight: 400;
padding: 15px 30px 13px 0;}

.wpcf7-list-item,.wpcf7 form{
margin: 0 !important;}

.wpcf7-spinner{
display: none;}

.wpcf7 .wpcf7-list-item{
display: inline;}

.check2 .first,.check2 .last{
margin-left: 10px !important;}

.check2 span:first-child{
margin-left: 0 !important;}

.wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-previous:hover{
	opacity: 0.5;
	background-color: #487d5b;
}

@media(max-width: 575.98px){
	.wpcf7 p {
		margin-bottom: 0;
	}
	.contact-text-p p{
		line-height: 1.75;
	}
}

.post-name-contact :where(:not(.wp-block-table))>table {
    border: 1px solid transparent;
}

.wpcf7 select {
    background-image: url(https://www.niisoku.co.jp/engine/wp-content/uploads/2026/02/icon_selectbox.png);
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 12px 10px;
}

:where(:not(.wp-block-table))>table :is(th,td) {
    font-size: 16px;
}

.call_attention {
    margin-top: 40px;
    margin-bottom: 40px !important;
}

input[name="checkbox-42[]"] {
    width: 20px;
    height: 20px;
}

#wpcf7-f148-p948-o1 > form > div.padding-top > p:nth-child(1) > span > span > span > label {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media(max-width: 575.98px) {
    .call_attention {
        margin-top: 20px;
        margin-bottom: 20px !important;
    }
    input[name="checkbox-42[]"] {
        width: 30px;
        height: 30px;
    }
    .red, .grey {
        margin-right: 15px;
    }
}

/* Firefox */

:where(:not(.wp-block-table)) > table :is(thead, tbody, tfoot, th, td) {
    border-color: #fff;
}

.service_lead {
    font-weight: 500;
    line-height: 1.75 !important;
}

@media (max-width: 575.98px) {
    .service_lead {
        font-size: 16px !important;
    }
}

.service_strength_cover img {
    object-position: right;
}

.top_service_scroll .scroll-item img {
    border-radius: 30px;
}

@media (max-width: 575.98px) {
    .top_service_scroll .scroll-item img {
        border-radius: 15px;
    }
}