/*
Theme Name: itplus
Template: arkhe
Version: 3.12.0
*/
/* ========================================
   共通
======================================== */
body {
    font-family: 'Manrope', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    
}

h6.wp-block-heading {
    display: inline-block !important;
    font-size: 10px !important;
    color: #3F76ED !important;
    line-height: 12px !important;
    background-color: #dbeafe !important;
    padding: 10px 32px !important;
    border-radius: 999px !important;
}

div#top_title_area {
    display: none;
}

.title_padding {
    padding-left: 24px;
}

/* tablet */

@media (max-width: 1024px) {
  
    .l-container,
    .l-main__body,
    .wp-site-blocks {

        width: 100%;
        max-width: 720px !important;

        margin-left: auto;
        margin-right: auto;

        padding-left: 40px !important;
        padding-right: 40px !important;

        box-sizing: border-box;
    }

     h2 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
     h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

     p {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }

    .mv-cover .wp-block-button__link {
        font-size: 14px !important;
    }

}


/* smartphone */

@media (max-width: 767px) {

    .l-container,
    .l-main__body,
    .wp-site-blocks {

        width: 350px !important;
        max-width: calc(100% - 32px) !important;

        margin-left: auto;
        margin-right: auto;

        padding-left: 0 !important;
        padding-right: 0 !important;

        box-sizing: border-box;
    }
  
     h2 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }
  
     h3 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

     p {
        font-size: 13px !important;
        line-height: 1.9 !important;
    }

    .mv-cover .wp-block-button__link {
        font-size: 13px !important;
    }

}

/* ========================================
   common responsive typography
======================================== */

@media (max-width: 767px) {

    .c-postContent h2,
    .entry-content h2,
    .wp-block-heading h2,
    h2.wp-block-heading,
    h2 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .c-postContent h3,
    .entry-content h3,
    .wp-block-heading h3,
    h3.wp-block-heading,
    h3 {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .c-postContent p,
    .entry-content p,
    p {
        font-size: 13px !important;
        line-height: 1.9 !important;
    }

    .wp-block-button__link {
        font-size: 13px !important;
    }

}




/* ========================================
   header 
======================================== */
/*header_nuv*/
.c-gnav__a {
    font-weight: 600 !important;
    color: #424242 !important;
    letter-spacing: 0.08em !important;
}


/*nomal_nuv*/
.c-gnav__li:not(.contact-btn) > .c-gnav__a,
.c-gnav__li.current-menu-item:not(.contact-btn) > .c-gnav__a,
.c-gnav__li.current_page_item:not(.contact-btn) > .c-gnav__a {

    height: 44px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 24px !important;

    border-radius: 999px !important;

    line-height: 1 !important;

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease;
}


/* hover/current */

.c-gnav__li:not(.contact-btn) > .c-gnav__a:hover,
.c-gnav__li.current-menu-item:not(.contact-btn) > .c-gnav__a,
.c-gnav__li.current_page_item:not(.contact-btn) > .c-gnav__a {

    background: rgba(37, 99, 235, 0.08) !important;

    color: #2563EB !important;
}


/* contact button */

.c-gnav__li.contact-btn > .c-gnav__a {

    height: 48px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 28px !important;

    line-height: 1 !important;

    border-radius: 999px !important;

    background: #2563EB !important;
    color: #fff !important;

    transition:
        background .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}


/* hover */

.c-gnav__li.contact-btn > .c-gnav__a:hover {

    background: #1D4ED8 !important;

    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.18);
}

/* header nav vertical center */

.c-gnav {
    height: 100%;

    display: flex !important;
    align-items: center !important;
}

.c-gnav__list {
    height: 100%;

    display: flex !important;
    align-items: center !important;
}

.c-gnav__li {
    height: 100%;

    display: flex !important;
    align-items: center !important;
}

/* link */

.c-gnav__a {
    display: flex !important;
    align-items: center !important;
}

.l-header {
    min-height: 88px;
}

/* header menu gap */

.c-gnav__list {
    gap: 20px;
}

/* ハンバーガーメニューを右へ */
@media (max-width: 1024px) {

    .l-header__inner,
    .l-header__body {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* ロゴを左 */
    .l-header__center,
    .l-header__logo,
    .c-headLogo {
        order: 1 !important;
        margin-right: auto !important;
    }

    /* ハンバーガーを右 */
    .l-header__drawerBtn,
    .l-header__right {
        order: 3 !important;
        margin-left: auto !important;
    }

}

/* ========================================
   header / breadcrumb / page MV spacing
======================================== */

/* ヘッダー高さをロゴ下あたりまで詰める */
.l-header {
    min-height: auto !important;
}

.l-header__body,
.l-header__inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* ロゴサイズ */
.c-headLogo img,
.l-header__logo img {
    max-height: 64px !important;
    width: auto !important;
}

/* ヘッダー下の余白を削除 */
.l-header + *,
#header + *,
.l-wrapper {
    margin-top: 0 !important;
}

/* パンくず上下の余白を詰める */
.p-breadcrumb,
.c-breadcrumb,
.l-breadcrumb {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* パンくず直後のカバーブロックを上に詰める */
.p-breadcrumb + .wp-block-cover,
.c-breadcrumb + .wp-block-cover,
.l-breadcrumb + .wp-block-cover {
    margin-top: 0 !important;
}

/* メインビジュアル上の余白を削除 */
.services-mv,
.cases-mv,
.company-mv {
    margin-top: 0 !important;
}

/* カバーブロック下の余白も詰める */
.services-mv,
.cases-mv,
.company-mv {
    margin-bottom: 0 !important;
}

/* ページ本文エリアの上余白を詰める */
.l-main__body,
.c-postContent,
.p-front__content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ========================================
   下層ページ MV 上余白完全削除
======================================== */

/* main全体 */
.l-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* content */
#content,
.l-content,
.l-main__body,
.c-postContent,
.post_content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* パンくず */
.p-breadcrumb,
.c-breadcrumb,
.l-breadcrumb {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

    margin-top: 0 !important;
    padding-top: 8px !important;
}

/* cover */
.wp-block-cover,
.wp-block-cover.alignfull {
    margin-top: 0 !important;
}

/* 下層MV */
.services-mv,
.cases-mv,
.company-mv {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* breadcrumb高さを強制的に潰す */
.p-breadcrumb,
.c-breadcrumb,
.l-breadcrumb {
    height: auto !important;
    min-height: 0 !important;

    line-height: 1 !important;

    display: block !important;

    padding-top: 6px !important;
    padding-bottom: 6px !important;

    margin-bottom: 0 !important;
}

/* inner */
.p-breadcrumb__inner,
.c-breadcrumb__inner,
.l-breadcrumb__inner {
    min-height: 0 !important;
    height: auto !important;

    line-height: 1 !important;
}
/* MV上余白削除 */
.wp-block-cover:first-child {
    margin-top: 0 !important;
}

/* パンくずをMV上に重ねて、余白を発生させない */
#content {
    position: relative;
}

.p-breadcrumb,
.c-breadcrumb,
.l-breadcrumb {
    position: absolute !important;
    top: 12px;
    left: 0;
    right: 0;

    z-index: 5;

    background: transparent !important;

    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

/* MVを上に詰める */
.services-mv,
.cases-mv,
.company-mv {
    margin-top: 0 !important;
}

/* ========================================
  footer
======================================== */

.site-footer-custom {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    background: #F8FBFF;
    padding: 80px 0 40px;
}

.footer-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;

    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1.2fr;
    gap: 80px;

    align-items: flex-start;
}

.footer-logo img {
    width: 220px;
}

.footer-menu h4,
.footer-info h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #333;
    font-size: 13px;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #2563EB;
}

.footer-info p {
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 12px;
    color: #333;
}

.footer-copy {
    margin-top: 56px;
    text-align: center;
    font-size: 12px;
    color: #555;
}

/*footer tablet*/

@media (max-width: 1024px) {

    .site-footer-custom {
        padding: 64px 0 36px;
    }

    .footer-inner {
        max-width: 720px;
        padding: 0 40px;

        grid-template-columns: 1fr 1fr;
        gap: 48px 64px;
    }

    .footer-logo {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        width: 200px;
    }

}

/* footer smartphone*/

@media (max-width: 767px) {

    .site-footer-custom {
        padding: 56px 0 32px;
    }

    .footer-inner {
        width: 350px;
        max-width: calc(100% - 32px);

        margin: 0 auto;
        padding: 0;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;

        align-items: flex-start;
    }

    /* ロゴだけ横幅フル */
    .footer-logo {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-menu h4,
    .footer-info h4 {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .footer-menu li {
        margin-bottom: 10px;
    }

    .footer-menu a,
    .footer-info p {
        font-size: 13px;
        line-height: 1.9;

        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .footer-copy {
        width: 350px;
        max-width: calc(100% - 32px);

        margin: 40px auto 0;

        text-align: center;

        font-size: 11px;
        line-height: 1.6;
    }


  /* リストの黒ポチ削除 */
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* リンク感を少し出す */
.footer-menu a {
    color: #4F6B95;
    text-decoration: none;

    transition:
        color .3s ease,
        opacity .3s ease;
}

.footer-menu a:hover {
    color: #2563EB;
    opacity: 0.8;
}
}

/* フッター下の余白削除 */
.l-footer__widgets {
    padding: 0 !important;
}

.l-footer__foot {
    display: none;
}
/* ========================================
  top
======================================== */

/*------mv------*/

.mv-cover {
    position: relative;
    min-height: 760px;
    overflow: hidden;
}

/* 背景画像 */
.mv-cover::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('/wp-content/uploads/2026/05/top_mv-scaled.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: scale(1.08);
    animation: mvZoomOut 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;

    z-index: 0;
}



/* 中身 */
.mv-cover .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;

    max-width: 1280px;
    margin: 0 auto;
    padding: 140px 80px;
}


/* メインコピーPCでは改行しない */
.sp-break {
    display: inline;
}

/* スマホだけ改行 */
@media (max-width: 767px) {

    .sp-break {
        display: block;
    }

}

/* テキストふわっと */
.mv-cover .wp-block-cover__inner-container > * {
    opacity: 0;
    transform: translateY(28px);
    animation: mvFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mv-cover .wp-block-cover__inner-container > *:nth-child(1) { animation-delay: 0.2s; }
.mv-cover .wp-block-cover__inner-container > *:nth-child(2) { animation-delay: 0.4s; }
.mv-cover .wp-block-cover__inner-container > *:nth-child(3) { animation-delay: 0.6s; }
.mv-cover .wp-block-cover__inner-container > *:nth-child(4) { animation-delay: 0.8s; }

/* tablet */
@media (max-width: 1024px) {
   .mv-cover {
        min-height: 720px !important;
        background-position: center top !important;
    }

    .mv-cover::after {
        background-image: url('/wp-content/uploads/2026/05/tb_mv.png');
        background-position: center center;
    }

    .mv-cover .wp-block-cover__inner-container {
        padding: 120px 48px;
    }
}

/* smartphone */
@media (max-width: 767px) {
    .mv-cover {
        min-height: 680px;
    }

    .mv-cover::after {
        background-image: url('/wp-content/uploads/2026/05/sp_mv.png');
        background-position: center center;
    }

    .mv-cover::before {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.82) 0%,
            rgba(255,255,255,0.55) 45%,
            rgba(255,255,255,0.12) 100%
        );
    }

    .mv-cover .wp-block-cover__inner-container {
        padding: 110px 24px 80px;
    }
  
 

    /* メインビジュアル：コピー位置を上に */
    .mv-cover {
        min-height: 720px !important;
        background-position: center top !important;
    }

    .mv-cover .wp-block-cover__inner-container {
        padding-top: 120px !important;
        padding-bottom: 80px !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;

        text-align: left !important;
    }

    /* コピー全体を少し上へ */
    .mv-cover .wp-block-cover__inner-container > * {
        margin-left: 0 !important;
    }

    /* ボタン横並び維持 */
    .mv-cover .wp-block-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }

    .mv-cover .wp-block-button__link {
        width: auto !important;
        white-space: nowrap !important;
        padding: 14px 20px !important;
        font-size: 13px !important;
    }
}

/* main visual smartphone */

@media (max-width: 767px) {

    .mv-cover {
        min-height: 680px !important;
        background-position: center top !important;
    }

    .mv-cover .wp-block-cover__inner-container {
        width: 350px !important;
        max-width: calc(100% - 32px) !important;

        margin: 0 auto !important;

        padding-top: 64px !important;
        padding-bottom: 64px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;

        text-align: left !important;
    }

    /* タグ：横に伸ばさない */
    .mv-cover h6 {
        display: inline-flex !important;
        width: auto !important;
        max-width: none !important;

        padding: 8px 16px !important;
        margin: 0 0 22px !important;

        font-size: 11px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    /* メインコピー */
    .mv-cover h1,
    .mv-cover h2 {
        font-size: 30px !important;
        line-height: 1.45 !important;
        letter-spacing: 0.02em !important;

        margin: 0 0 24px !important;
    }

    /* 説明文 */
    .mv-cover p {
        font-size: 13px !important;
        line-height: 1.9 !important;

        margin: 0 0 28px !important;
    }

    /* ボタン */
    .mv-cover .wp-block-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }

    .mv-cover .wp-block-button__link {
        width: auto !important;

        padding: 13px 18px !important;

        font-size: 13px !important;
        line-height: 1.4 !important;

        white-space: nowrap !important;
    }

}

@media (max-width: 767px) {

    .mv-cover .wp-block-heading,
    .mv-cover h6.wp-block-heading {
        display: inline-flex !important;
        width: fit-content !important;
        max-width: max-content !important;
    }

    .mv-cover h6 {
        display: inline-flex !important;
        width: fit-content !important;
        max-width: max-content !important;

        padding: 8px 16px !important;
        margin-bottom: 22px !important;

        white-space: nowrap !important;
    }
  
  
      .mv-cover h2 {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 22px !important;
        line-height: 1.55 !important;

        word-break: normal !important;
        overflow-wrap: anywhere !important;

        margin-right: 0 !important;
    }
  
   .mv-cover h2 {
     color: #333 !important
  }
p.has-text-color.has-link-color.wp-elements-db13193d4ab99a91ea0e9f4c781b5849 {
    color: #424242 !important;
}
}



/* animation */
@keyframes mvZoomOut {
    to {
        transform: scale(1);
    }
}

@keyframes mvFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*------top_services------*/

/* service cards */

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 556px);
    gap: 77px;
    justify-content: center;
}

.service-card-link {
    display: block;
    width: 556px;
    text-decoration: none;
    color: inherit;
}

.service-card {
    width: 556px;
    height: 338px;

    overflow: hidden;

    background: #fff;
    border: 1px solid #E5EAF1;
    border-radius: 16px;

    transition:
        transform .45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow .45s ease;
}

.service-card-link:hover .service-card {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 42, 74, 0.12);
}

.service-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.service-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-link:hover img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 24px 28px;
}

.service-card-body h3 {
    margin: 0 0 16px;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;

    color: #1F2937;
}

.service-card-body p {
    margin: 0 0 20px;

    font-size: 13px;
    line-height: 1.8;

    color: #718096;
}

.service-card-body span {
    display: inline-block;

    font-size: 13px;
    font-weight: 700;

    color: #2563EB;

    transition: transform .35s ease;
}

.service-card-link:hover span {
    transform: translateX(6px);
}


/* responsive */

@media (max-width: 1200px) {
    .service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
    }

    .service-card-link,
    .service-card {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .service-card-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-card {
        height: auto;
    }
}

/* service card animation */

.service-card-link {

    opacity: 0;

    transform:
        translateY(40px)
        scale(0.98);

    animation:
        serviceCardFade 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;

    animation-delay: 0.2s;
}


/* stagger */

.service-card-link:nth-child(2) {
    animation-delay: 0.35s;
}

.service-card-link:nth-child(3) {
    animation-delay: 0.5s;
}

.service-card-link:nth-child(4) {
    animation-delay: 0.65s;
}


/* animation */

@keyframes serviceCardFade {

    from {

        opacity: 0;

        transform:
            translateY(40px)
            scale(0.98);

        filter: blur(6px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter: blur(0);
    }
}

/*------top_cases ------*/

/*767px〜1180pxは2カラム維持*/

/* =========================
   Tablet（767〜1180px）
========================= */
@media (min-width:767px) and (max-width:1180px){

.record-top-inner{
    display:grid;
    grid-template-columns: 340px 1fr;
    gap:40px;

    align-items:center;

    max-width:1100px;
    padding:0 24px;
}

/* 左 */
.record-top-left{
    position:relative;
    z-index:5;
}

/* map */
.record-top-right{
    width:100%;
    min-width:0;
}

.record-top .rt-map-wrap{
    width:100%;
    max-width:none;
}

/* mapサイズ */
.record-top .japan-map{
    width:100%;
    height:auto;
}

/* 吹き出し */
.record-top .map-label{
    transform:scale(.82);
    transform-origin:center;
    padding:8px 12px;
}

/* 数字 */
.record-top .rt-label-num{
    font-size:22px;
}

/* 左文章 */
.record-top .rt-heading{
    font-size:32px;
}

.record-top .rt-big{
    font-size:84px;
}

.record-top .rt-sub{
    font-size:14px;
    line-height:1.8;
}

}
/* ========================================
   services
======================================== */

/*services MV responsive */

/* PC */
.services-mv {
    background-image:
        linear-gradient(
            rgba(255,255,255,0.18),
            rgba(255,255,255,0.18)
        ),
        url('/wp-content/uploads/2026/05/company_mv-2.png') !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Tablet */
@media (max-width: 1024px) {

    .services-mv {
        background-image:
            linear-gradient(
                rgba(255,255,255,0.22),
                rgba(255,255,255,0.22)
            ),
            url('/wp-content/uploads/2026/05/tb_services_mv.png') !important;

        background-position: center center !important;
        min-height: 420px !important;
    }
}

/* SP */
@media (max-width: 767px) {

    .services-mv {
        background-image:
            linear-gradient(
                rgba(255,255,255,0.26),
                rgba(255,255,255,0.26)
            ),
            url('/wp-content/uploads/2026/05/sp_services_mv.png') !important;

        background-position: center top !important;
        background-size: cover !important;

        min-height: 320px !important;
    }

    .services-mv .wp-block-cover__inner-container {
        padding-top: 80px !important;
        padding-bottom: 56px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .services-mv h1,
    .services-mv h2 {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    .services-mv p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
}

.service-tabs {
    margin-top: 80px;
}

/* buttons */
.service-tab-buttons {
    display: flex;
    gap: 12px;

    margin-bottom: 48px;

    flex-wrap: wrap;
}

.service-tab-button {
    border: none;

    background: #EEF4FB;

    color: #1E3A5F;

    padding: 16px 24px;

    border-radius: 999px;

    font-weight: 700;
  
    font-size: 13px;

    cursor: pointer;

    transition:
        all .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tab-button.active {
    background: #2563EB;
    color: #fff;
}

.service-tab-button:hover {
    transform: translateY(-2px);
}

/* content */
.service-tab-content {
    display: none;

    opacity: 0;
    transform: translateY(20px);
}

.service-tab-content.active {
    display: block;

    animation:
        tabFade .8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tabFade {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* layout */
.service-layout {
    display: grid;
    grid-template-columns: 1fr 420px;

    gap: 80px;

    align-items: center;
}

.service-image img {
    width: 100%;

    border-radius: 24px;

    transition:
        transform 1.2s cubic-bezier(0.22,1,0.36,1);
}

.service-image:hover img {
    transform: scale(1.04);
}

.service-text h3 {
    font-size: 40px;
    margin-bottom: 32px;
}

.service-text p {
    line-height: 2;
}

/* responsive */
@media (max-width: 768px) {

    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-main-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    color: #222;
    margin-bottom: 56px;
}

.service-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;

    color: #8A96A8;
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
}

.service-detail-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* responsive */
@media (max-width: 768px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-main-text {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .service-detail-image img {
        height: 200px;
    }
}

.service-tab-content {
    display: none;
}

.service-tab-content.active {
    display: block;
}

/*animation*/
.service-tabs {
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tabs.is-show {
    opacity: 1;
    transform: translateY(0);
}

.service-tabs {
    transition-delay: 0.2s;
}
/* service tabs responsive 改善版*/

/* tablet */
@media (max-width: 1024px) {

    .service-tabs {
        width: 720px;
        max-width: calc(100% - 48px);
        margin: 0 auto;
    }

    .service-tab-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 48px;
    }

    .service-tab-button {
        flex: 1 1 calc(50% - 12px);
        padding: 14px 18px;
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* smartphone */
@media (max-width: 767px) {

    .service-tabs {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .service-tab-buttons {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;

        overflow-x: auto;
        -webkit-overflow-scrolling: touch;

        padding: 0 16px 12px;
        margin-bottom: 32px;

        scrollbar-width: none;
    }

    .service-tab-buttons::-webkit-scrollbar {
        display: none;
    }

    .service-tab-button {
        flex: 0 0 auto;

        min-width: 230px;
        max-width: 260px;

        padding: 13px 18px;

        font-size: 12px;
        line-height: 1.45;

        border-radius: 999px;
        white-space: normal;
        text-align: center;
    }

    .service-detail-layout {
        width: 350px;
        max-width: calc(100% - 32px);
        margin: 0 auto;

        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-main-text {
        font-size: 14px !important;
        line-height: 2 !important;
        margin-bottom: 28px !important;
    }

    .service-sub-list {
        font-size: 13px !important;
        line-height: 2 !important;
    }

    .service-detail-image {
        order: -1;
    }

    .service-detail-image img {
        height: 180px !important;
        border-radius: 16px;
    }
  /*タブ切り替え*/
   .service-tab-buttons {
        display: flex;
        overflow-x: auto;
        gap: 12px;

        padding: 0 24px 12px;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .service-tab-button {
        flex: 0 0 auto;
        scroll-snap-align: center;
        white-space: nowrap;
    }

}


/* ========================================
 cases
======================================== */


/* ========================================
   Company
======================================== */

/* company MV responsive*/

/* PC */
.company-mv {
    background-image:
        linear-gradient(
            rgba(255,255,255,0.18),
            rgba(255,255,255,0.18)
        ),
        url('/wp-content/uploads/2026/05/company_mv-3.png') !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* tablet */
@media (max-width: 1024px) {

    .company-mv {
        background-image:
            linear-gradient(
                rgba(255,255,255,0.22),
                rgba(255,255,255,0.22)
            ),
            url('/wp-content/uploads/2026/05/tb_company_mv.png') !important;

        background-size: cover !important;
        background-position: center center !important;

        min-height: 420px !important;
    }

    .company-mv .wp-block-cover__inner-container {
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
}

/* smartphone */
@media (max-width: 767px) {

    .company-mv {
        background-image:
            linear-gradient(
                rgba(255,255,255,0.26),
                rgba(255,255,255,0.26)
            ),
            url('/wp-content/uploads/2026/05/sp_cases_mv-1.png') !important;

        background-size: cover !important;
        background-position: center top !important;

        min-height: 320px !important;
    }

    .company-mv .wp-block-cover__inner-container {
        padding-top: 72px !important;
        padding-bottom: 56px !important;

        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .company-mv h1,
    .company-mv h2 {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }

    .company-mv p {
        font-size: 12px !important;
        line-height: 1.8 !important;
    }
}
.wp-block-group.title_line {
    border-left: solid 3px #fff;
}



.p-breadcrumb {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.wp-block-cover:first-child {
    margin-top: 0 !important;
}

.l-content {
    padding-top: 0 !important;
}

.wp-block-cover {
    margin-top: 0 !important;
}
.company-table {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
}

.company-table table {
    width: 100% !important;
    border-collapse: separate !important;
　　border-spacing: 0;
}

.company-table table td,
.company-table table th {
    padding: 24px 32px !important;
    border: none !important;
    border-bottom: 1px solid #E5E7EB !important;
    text-align: left !important;
    vertical-align: middle !important;
}



/* 左列 */
.company-table table td:first-child,
.company-table table th:first-child {
    width: 25% !important;
    background: #EEF4FB !important;
    color: #0F2A4A !important;
    font-weight: 700 !important;
}

/* 右列 */
.company-table table td:nth-child(2),
.company-table table th:nth-child(2) {
    background: #fff !important;
    color: #333 !important;
}

.company-table {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    background: #fff;
}

.company-table table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
}

.company-table {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    background: #fff;

   box-shadow:
    0 4px 10px rgba(15, 42, 74, 0.03),
    0 20px 40px rgba(15, 42, 74, 0.06);
}

/*animation*/
.company-table {
    opacity: 0;
    transform: translateY(32px);

    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 表示時 */
.company-table.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* 行 */
.company-table table tr {
    opacity: 0;
    transform: translateY(16px);

    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-table.is-show table tr {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延 */
.company-table table tr:nth-child(1) {
    transition-delay: 0.15s;
}

.company-table table tr:nth-child(2) {
    transition-delay: 0.25s;
}

.company-table table tr:nth-child(3) {
    transition-delay: 0.35s;
}

.company-table table tr:nth-child(4) {
    transition-delay: 0.45s;
}

.company-table table tr:nth-child(5) {
    transition-delay: 0.55s;
}

.company-table table tr:nth-child(6) {
    transition-delay: 0.65s;
}

.company-table table tr:nth-child(7) {
    transition-delay: 0.75s;
}

.company-table table tr:nth-child(8) {
    transition-delay: 0.85s;
}

/*responsive*/
@media (max-width: 768px) {

    .company-table table td,
    .company-table table th {

        display: block;
        width: 100% !important;

        padding: 18px 18px !important;
    }

    .company-table table td:first-child,
    .company-table table th:first-child {

        width: 100% !important;

        padding-bottom: 18px !important;
    }
  
  
 
  /*見出し改行*/
    .sp-hide {
        display: none;
    }

  /*エフェクト消す*/
 .company-table,
    .company-table table,
    .company-table tr,
    .company-table td,
    .company-table th {
        border-radius: 0 !important;
        box-shadow: none !important;
       
    }

    .company-table {
        overflow: hidden;
        border: 1px solid #E5EAF2;
    }

}


/*accsss map*/
.company-access {
    padding: 80px 0;
}

.company-access h3 {
    font-size: 40px;
    font-weight: 700;

    margin-bottom: 24px;
}

.company-access hr {
    border: none;
    border-top: 1px solid #D9DEE5;

    margin-bottom: 48px;
}

/* 情報ブロック */
.company-access .wp-block-media-text {
    align-items: flex-start;

    margin-bottom: 56px;
}

/* icon */
.company-access .wp-block-media-text__media {
    width: 56px;
}

/* title */
.company-access strong {
    display: block;

    color: #2563EB;

    font-size: 24px;
    font-weight: 700;

    margin-bottom: 12px;
}

/* 本文 */
.company-access p {
    line-height: 2;
}

/* 右画像 */
.company-access-image img {
    width: 100%;
    border-radius: 24px;

    object-fit: cover;
}

/* hover */
.company-access-image img {
    transition:
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-access-image:hover img {
    transform: scale(1.04);
}

/* ========================================
   Contact Form 
======================================== */

.contact-form-custom {
    max-width: 880px;
    margin: 0 auto;
    padding: 56px;

    background: #fff;
    border: 1px solid #E5EAF1;
    border-radius: 24px;

    box-shadow:
        0 4px 10px rgba(15, 42, 74, 0.03),
        0 20px 40px rgba(15, 42, 74, 0.06);
}

.form-row {
    margin-bottom: 28px;
}

.form-row label {
    display: block;

    margin-bottom: 12px;

    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: 0.04em;
}

.form-row label span {
    display: inline-block;

    margin-left: 8px;
    padding: 4px 8px;

    background: #DBEAFE;
    color: #2563EB;

    border-radius: 999px;

    font-size: 11px;
    line-height: 1;
}

.form-input,
.form-textarea {
    width: 100%;

    padding: 18px 20px;

    border: 1px solid #DDE5EF;
    border-radius: 14px;

    background: #F8FBFF;

    font-size: 15px;
    color: #1F2937;

    transition:
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;

    background: #fff;
    border-color: #2563EB;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-textarea {
    min-height: 180px;
    resize: vertical;
}

.form-privacy {
    margin: 32px 0;

    font-size: 14px;
    color: #4B5563;
}

.form-privacy input {
    margin-right: 8px;
}

.form-submit {
    text-align: center;
}

.form-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;
    height: 56px;

    border: none;
    border-radius: 999px;

    background: #2563EB;
    color: #fff;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;

    cursor: pointer;

    transition:
        background .35s ease,
        transform .35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow .35s ease;
}

.form-submit-button:hover {
    background: #1D4ED8;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.24);
}

/* CF7 message */
.wpcf7-not-valid-tip {
    margin-top: 8px;

    font-size: 13px;
    color: #EF4444;
}

.wpcf7-response-output {
    margin: 32px 0 0 !important;
    padding: 16px 20px !important;

    border-radius: 14px !important;

    font-size: 14px;
}

/* responsive */
@media (max-width: 768px) {

    .contact-form-custom {
        padding: 32px 20px;
        border-radius: 18px;
    }

    .form-input,
    .form-textarea {
        padding: 16px;
    }

    .form-submit-button {
        width: 100%;
    }
  
  /*icon　size*/
  img.wp-image-219 {
    width: 16px !important;
}
  
  img.wp-image-221 {
    width: 16px !important;
}
  
  img.wp-image-222 {
    width: 16px !important;
}

}

.form-input.wpcf7-select {
    appearance: none;
    -webkit-appearance: none;

    background-color: #F8FBFF;
    background-image:
        linear-gradient(45deg, transparent 50%, #2563EB 50%),
        linear-gradient(135deg, #2563EB 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 16px) 50%;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;

    cursor: pointer;
}

.form-input.wpcf7-select:focus {
    background-color: #fff;
}

/* contact form SP時フラット化 */
@media (max-width: 767px) {

    .contact-form-custom {
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}
/* ========================================
   contact form animation
======================================== */

.contact-form-custom {
    opacity: 0;

    transform:
        translateY(48px)
        scale(0.98);

    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);

    transition-delay: 0.2s;
}

.contact-form-custom.is-show {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

/* ========================================
 cases
======================================== */

/* cases MV responsive */

/* PC */
.cases-mv {
    background-image:
        linear-gradient(
            rgba(255,255,255,0.18),
            rgba(255,255,255,0.18)
        ),
        url('/wp-content/uploads/2026/05/cases_mv-2.png') !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* tablet */
@media (max-width: 1024px) {

    .cases-mv {
        background-image:
            linear-gradient(
                rgba(255,255,255,0.22),
                rgba(255,255,255,0.22)
            ),
            url('/wp-content/uploads/2026/05/tb_cases_mv.png') !important;

        background-size: cover !important;
        background-position: center center !important;

        min-height: 420px !important;
    }

    .cases-mv .wp-block-cover__inner-container {
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
}

/* smartphone */
@media (max-width: 767px) {

    .cases-mv {
        background-image:
            linear-gradient(
                rgba(255,255,255,0.26),
                rgba(255,255,255,0.26)
            ),
            url('/wp-content/uploads/2026/05/sp_cases_mv.png') !important;

        background-size: cover !important;
        background-position: center top !important;

        min-height: 320px !important;
    }

    .cases-mv .wp-block-cover__inner-container {
        padding-top: 72px !important;
        padding-bottom: 56px !important;

        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .cases-mv h1,
    .cases-mv h2 {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }

    .cases-mv p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
}
/* ========================================
   導入実績 タブレット対応
======================================== */
@media (min-width: 769px) and (max-width: 1180px) {

  /* 親コンテナの幅制限を解除 */
  body:has(.record-top) .l-content__body,
  body:has(.record-top) .l-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* セクション全幅化 */
  .record-top {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
  }

  /* 2カラムグリッド */
  .record-top-inner {
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
    gap: 16px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* 右カラム（地図） */
  .record-top-right {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  /* 地図ラッパー */
  .record-top .rt-map-wrap {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    padding-bottom: 112% !important;
    height: 0 !important;
    overflow: visible !important;
  }

  /* SVG */
  .record-top .japan-map {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
  }

  /* 吹き出し */
  .record-top .map-label {
    padding: 5px 8px !important;
    gap: 3px !important;
    border-radius: 14px !important;
  }

  .record-top .rt-label-num {
    font-size: 16px !important;
  }

  .record-top .rt-label-region {
    font-size: 9px !important;
  }

  .record-top .rt-label-unit {
    font-size: 10px !important;
  }

  /* 左テキスト */
  .record-top .rt-en {
    font-size: 11px !important;
  }

  .record-top .rt-heading {
    font-size: 22px !important;
  }

  .record-top .rt-big {
    font-size: 56px !important;
  }

  .record-top .rt-unit {
    font-size: 16px !important;
  }

  .record-top .rt-sub {
    font-size: 12px !important;
    line-height: 1.7 !important;
  }

  .record-top .rt-btn {
    font-size: 12px !important;
    padding: 10px 16px !important;
    margin-top: 20px !important;
  }

}

/* ========================================
   導入実績個別ページ タブレット対応
======================================== */
@media (min-width: 769px) and (max-width: 1180px) {

  /* 親コンテナ幅制限解除 */
  body:has(.record-section) .l-content__body,
  body:has(.record-section) .l-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* セクション全幅化 */
  .record-section {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* 2カラムグリッド */
  .record-inner {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 24px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* 右カラム（地図） */
  .record-right {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  /* 地図ラッパー */
  .record-section .map-wrap {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 112% !important;
    height: 0 !important;
    overflow: visible !important;
    display: block !important;
  }

  /* SVG */
  .record-section .japan-map {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
  }

  /* 吹き出しサイズ */
  .record-section .map-label {
    padding: 5px 8px !important;
    gap: 3px !important;
    border-radius: 14px !important;
  }

  .record-section .label-num {
    font-size: 16px !important;
  }

  .record-section .label-region {
    font-size: 9px !important;
  }

  .record-section .label-unit {
    font-size: 10px !important;
  }

  /* 関東吹き出し位置調整（タブレット時のみ） */
  .record-section .map-label.right:nth-child(7)  { top: 33% !important; right: 0% !important; }
  .record-section .map-label.right:nth-child(8)  { top: 42% !important; right: 0% !important; }
  .record-section .map-label.right:nth-child(9)  { top: 51% !important; right: 0% !important; }
  .record-section .map-label.right:nth-child(10) { top: 60% !important; right: 0% !important; }

  /* 左テキスト調整 */
  .record-section .record-heading { font-size: 22px !important; }
  .record-section .record-big     { font-size: 52px !important; }
  .record-section .record-unit    { font-size: 16px !important; }
  .record-section .record-sub     { font-size: 12px !important; }
  .record-section .bed-table      { padding: 16px 18px !important; }
  .record-section .bed-num span   { font-size: 20px !important; }
  .record-section .bed-label      { font-size: 12px !important; }

}