/*
Theme Name: Forcus
Theme URI:
Author: MEGUMI HASHIMOTO
Description: Forcus original theme
Version: 1.0
*/

/* ==========================================
Color
========================================== */ :root {
    --color-primary: #004860;
    --color-primary-light: #006182;
    --color-accent: #D29646;
    --color-accent-light: #F6EFE5;
    --color-text: #262626;
    --color-heading: #000000;
    --color-gray: #A2AAAD;
    --color-bg: #FFFFFF;
    --color-bg-light: #F7F7F7;
    --color-bg-blue: #F2FAFD;
    --color-bg-mega: #F4F6F7;
    --color-border: #DDE3E5;
    --color-text-light: #666666;
    /* Font Size */
    --fz-xxs: clamp(0.625rem, 0.9vw, 0.75rem); /* 10-12px */
    --fz-xs: clamp(0.75rem, 1vw, 0.875rem); /* 12-14px */
    --fz-sm: clamp(0.875rem, 1.2vw, 1rem); /* 14-16px */
    --fz-md: clamp(1rem, 1.4vw, 1.125rem); /* 16-18px */
    --fz-lg: clamp(1.25rem, 2vw, 1.5rem); /* 20-24px */
    --fz-xl: clamp(1.5rem, 3vw, 2rem); /* 24-32px */
    --fz-2xl: clamp(1.75rem, 3.5vw, 2.625rem); /* 28-42px */
    --fz-hero: clamp(2rem, 4vw, 3.25rem); /* 32-52px */
}
@media (max-width: 959px) {
    :root {
        --fz-lg: 1.125rem; /* 18px */
        --fz-xl: 1.375rem; /* 22px */
        --fz-hero: 1.75rem; /* 28px */
    }
}

/* ==========================================
Base
========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;

    background: var(--color-bg);
    color: var(--color-text);

    font-family: "Noto Serif JP", "Yu Mincho", "YuMincho",
                 "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;

    font-size: var(--fz-sm);
    line-height: 1.8;
    letter-spacing: .03em;

    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
}

.page-wrap {
    width: 100%;
    overflow-x: clip;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.top-site-main {
    flex: 1;
}
:target {
    scroll-margin-top: 92px;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

a {
    color: inherit;
    transition: .3s ease;
}
a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
p {
    margin: 0 0 1.6em;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .8em;
    color: var(--color-heading);
    font-weight: 600;
    line-height: 1.8;
font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}
body.admin-bar .site-header {
    top: 32px;
}

.fz-xxs { font-size: var(--fz-xxs) !important; }
.fz-xs { font-size: var(--fz-xs) !important; }
.fz-sm { font-size: var(--fz-sm) !important; }
.fz-md { font-size: var(--fz-md) !important; }
.fz-lg { font-size: var(--fz-lg) !important; }
.fz-xl { font-size: var(--fz-xl) !important; }
.fz-hero { font-size: var(--fz-hero) !important; }
.bg-light{ background: var(--color-bg-light) !important;}
.bg-white{ background: var(--color-bg) !important;}


.photo20 {
    object-position: center 20%;
}

@media (min-width: 640px) {
    .uk-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .uk-offcanvas-bar {
        padding: 20px 20px;
    }
}

/* ==========================================
uikit
========================================== */
@media (max-width: 640px) {
    .uk-padding-large {
        padding: 15px;
    }
}

/* ==========================================
Header
========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, .93);
    z-index: 9999;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.header-inner {
    position: static; /* megaメニューの配置基準にしない */
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
}
.header-logo {
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.header-logo img {
    width: 155px;
    height: auto;
}

/* ==========================================
Responsive
========================================== */
@media (max-width: 959px) {
    #sp-nav .uk-offcanvas-bar {
        width: 90vw;
        left: -90vw;
    }

    #sp-nav.uk-open .uk-offcanvas-bar {
        left: 0;
    }
}
.sp-menu
.sp-menu-b {
    display: none;
}
.sp-menu-b [uk-close] {
    color: #fff;
}
@media (max-width: 959px) {
    .header-inner {
        height: 72px;
    }
    .header-logo img {
        width: 130px;
    }
    .global-nav {
        display: none;
    }
    .sp-menu-b {
        display: flex;
        align-items: center;
        margin-right: 20px;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }
    .company-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ×は最初非表示 */
.sp-menu-close {
    display: none;
}

/* offcanvasが開いている時 */
body:has(#sp-nav.uk-open) .sp-menu-open {
    display: none;
}

body:has(#sp-nav.uk-open) .sp-menu-close {
    display: block;
}

/* ヘッダー分の余白 */
#sp-nav .uk-offcanvas-bar {
    padding-top: 70px;
}
.sp-menu-list {
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--fz-xs);
}
.sp-menu-list li {
    margin: 10px 0 0 0;
}
.sp-menu-list a {
    color: var(--color-gray);
    text-decoration: none;
}

.sp-menu .uk-offcanvas-close {
    top: 20px;
    right: 20px;
    color: #fff;
}
.uk-accordion{
    width: 100%;
}
.uk-accordion-title,
.accordion-text{
    font-size: var(--fz-md);
    width: 100%;
}
.uk-accordion-default{
    margin: 20px 0 0 0;
}
.accordion-text {
    margin: 20px 0 0 0;
    display: block;
    line-height: 1.4;
    overflow: hidden;
}
.accordion-list li{
    font-size: var(--fz-xs);

}
/* リスト共通 */
.accordion-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 子階層 */
.accordion-list .accordion-list {
    margin-top: 8px;
    margin-left: 0;
    padding-left: 14px;
    border-left: 1px solid var(--color-gray);
}

/* 項目 */
.accordion-list > li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 15px;
}

.accordion-list > li:last-child {
    margin-bottom: 0;
}

/* リンク */
.accordion-list > li > a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.accordion-list > li li {
    padding-left: 0;
}

.accordion-list > li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 7px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #fff;
}

/* 孫以降は消す */
.accordion-list .accordion-list > li::before {
    content: none;
}

.accordion-list > li > a:hover {
    color: #fff;
    opacity: .7;
    text-decoration: none;
}

/* ==========================================
Global Nav
========================================== */
.global-nav {
    position: static; /* megaメニューの配置基準にしない */
    height: 100%;
}
.gnav-list {
    position: static; /* megaメニューの配置基準にしない */
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gnav-item {
    position: relative;
}
.gnav-item a:hover{
    text-decoration: none;
}
.gnav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    height: 92px;
    padding: 0 20px;
    color: var(--color-heading);
    text-decoration: none;
    transition: .3s ease;
}
.gnav-item.is-current .gnav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
}
@media (min-width: 1200px) {
    .gnav-link {
        width: 165px;
        padding: 0;
    }
}

.arrowbox {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}
.titlebox {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gnav-link .en {
    display: block;
    margin-bottom: 5px;
    font-size: var(--fz-xxs);
    font-weight: 700;

    letter-spacing: .04em;
    line-height: 1;
    color: var(--color-primary);
}
.gnav-link .ja {
    display: block;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-heading);
}

@media (max-width: 1200px) {
.gnav-link {
    padding: 0 10px;
}
.gnav-link .en {
}
.gnav-link .ja {
    font-size: var(--fz-xs);
}
}

.gnav-link .arrow {
    width: 0;
    height: 0;
    margin-bottom: 6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--color-primary);
    transition: .3s ease;
}
/* Hover */
.gnav-item:hover > .gnav-link {
    background: var(--color-primary-light);
}
.gnav-item:hover > .gnav-link .en, .gnav-item:hover > .gnav-link .ja {
    color: #fff;
}
.gnav-item:hover > .gnav-link .arrow {
    border-top-color: #fff;
}
/* Contact */
.nav-contact > .gnav-link {
    background: var(--color-primary);
}
.nav-contact .en, .nav-contact .ja {
    color: #fff;
}
/* Login */
.nav-login > .gnav-link {
    background: var(--color-heading);
}
.nav-login .en, .nav-login .ja {
    color: #fff;
}

/*
 * メガメニューを持つliだけ
 * position: staticにする
 *
 * これによりmega-menuは
 * site-headerを基準に配置される
 */
.gnav-item.has-mega {
    position: static;
}

/* ========================================
   Mega Menu
======================================== */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    padding: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px);
    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    z-index: 1000;
    margin: 0;
}

.mega-menu a:hover{
    text-decoration: underline;
}
.m-button__icon{padding: 5px;
}
.m-button__icon svg {
    display: block;
    width: 10px;
    height: 10px;
}

/* メニュー内部 */

.mega-menu--contents {
    background: var(--color-bg-mega);
    color: var(--color-primary);
}

.mega-menu-inner {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 38px;
    padding-bottom: 38px;
}

/* リスト */

.mega-menu-list {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 70px;
    row-gap: 16px;

    margin: 0;
    padding: 0 20px;
    list-style: none;
}

.mega-menu-list li {
    margin: 0;
    padding: 0;
}

/* リンク */

.mega-menu-list a {
    position: relative;
    display: block;

    padding: 4px 0 4px 18px;

    line-height: 1.6;
    text-decoration: none;

    transition: opacity .2s ease;
}

/* 左側の三角 */

.mega-menu-list a::before {
    content: "";
    position: absolute;

    top: 50%;
    left: 0;

    width: 0;
    height: 0;

    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--color-primary);

    transform: translateY(-50%);
}

/* hover */

.mega-menu-list a:hover {
    opacity: .65;
}

.mega-menu .uk-tab>*>a {
    padding: 10px 20px 10px 0;
}

.mega-menu-padding-left{
    padding: 20px 0 20px 20px;

}

.mega-menu-padding-right {
    padding: 0;
    font-size: var(--fz-xs);
}

.mega-menu-content {
    width: 100%;
    background: var(--color-bg-mega);
}

/* 左側 */
.mega-menu-side {
    padding: 40px 20px;
    background: var(--color-bg-blue);
}

.mega-menu-tabs {
    position: relative;
    margin: 0;
    padding-left: 0;
    border-left: 1px solid var(--color-border);
}

/* UIkit標準の横線を消す */
.mega-menu-tabs::before {
    display: none;
}

.mega-menu-tabs > li {
    position: relative;
    padding-left: 30px;
}
.mega-menu-tabs > li.tab-line {
    border-top: 1px dotted var(--color-border);
}
.mega-menu-tabs > li > a {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: auto;
    padding: 10px 0;
    border: 0;
    color: var(--color-primary);
    line-height: 1.5;
    text-align: left;
    text-transform: none;
}

/* 選択中の縦線 */
.mega-menu-tabs > .uk-active::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: -1px;
    width: 2px;
    background:var(--color-primary);
}

.mega-menu-tabs > .uk-active > a {
    color: #111;
    font-weight: 600;
}

/* 右側 */
.mega-menu-main {
    min-width: 0;
    padding: 40px;
    background: var(--color-bg-mega);
}

.mega-menu-heading {
    margin: 0 0 30px;
    color:var(--color-primary);
    font-size: var(--fz-lg);
    font-weight: 400;
    line-height: 1.3;
}

.mega-menu-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: var(--fz-sm);
    margin-bottom: 10px;
    color: #111;
    font-weight: 500;
    text-decoration: none;
}

.mega-menu-card-title:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.mega-menu-card-title .uk-icon {
    flex: 0 0 auto;
}

.mega-menu-card p {
    margin: 0;
    color: #576572;
    line-height: 1.55;
    font-size: var(--fz-xs);
}

/* UIkit switcherの余白リセット */
.mega-menu-main .uk-switcher {
    margin: 0;
    padding: 0;
}

.mega-menu-main .uk-switcher > li {
    margin: 0;
}

.mega-menu.uk-drop {
    top: 92px !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
}

/* ========================================
   Mega Menu Open
======================================== */

.gnav-item.has-mega:hover > .mega-menu,
.gnav-item.has-mega:focus-within > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* ========================================
   icon-list
======================================== */
.icon-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.icon-list li {
    margin-bottom: 10px;
}

.icon-list li:last-child {
    margin-bottom: 0;
}

.icon-list a {
    position: relative;
    display: block;
    padding-left: 20px;
    color: inherit;
    text-decoration: none;
}

.icon-list__icon {
    position: absolute;
    top: 0.55em;
    left: 0;
    line-height: 1;
}

.icon-list__icon img,
.icon-list__icon svg {
    display: block;
    width: 10px;
    height: 10px;
}

.icon-list a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ==========================
mega-menu-child-list
========================== */
.mega-menu-service-item{
    border-bottom: dotted 1px var(--color-gray);
    margin-bottom: 20px;
    padding: 0 0 20px 0
}
.mega-menu-service-item p ,
.mega-menu-service-item ul{
    margin-bottom: 10px;
}

.mega-menu-child-list a {
    gap: 10px;
    color: inherit;
    text-decoration: none;

}
.mega-menu-child-list__icon {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    padding: 0 5px;
    margin-top: .55em;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--color-primary);
}

.mega-menu-child-list__text {
    min-width: 0;
    font-size: var(--fz-xs);
}

.mega-menu-child-list a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ==========================
BG
========================== */
.bg-grid {
    background-color: rgba(247, 247, 247, 1);
    background-image:
        linear-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px);
    background-size: 8px 8px;
}

/* ==========================
Common Button
========================== */
.c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    width: auto;
    min-width: 200px;
    height: 44px;
    padding: 0 28px;
    font-size: var(--fz-xs);
    line-height: 1;
    text-decoration: none;
    transition: .3s ease;
}

@media (max-width: 959px) {
    .c-button {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

.c-button--black {
    background: #000;
    color: #fff;
}
.c-button--black:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration-line: none;
}
.c-button--white {
    border: 1px solid #fff;
}
.c-button--white:hover {
    background: var(--color-primary);
    color: #fff;
    border: none;
}
.c-button--black-outline {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}
.c-button--black-outline:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.footer-company .c-button--black-outline {
    margin: 12px 0 0;
    min-width: 0;
    height: 36px;
    padding: 0 18px;
    font-size: var(--fz-xxs);
}
.footer-company .c-button--black-outline .c-button__icon img {
    width: 11px;
    height: 11px;
}
.footer-company .c-button--black-outline:hover .c-button__icon {
    transform: translateX(2px);
}
.c-link {
    display: block;
    position: relative;
    }
.c-link::before {
    content: "›";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: var(--fz-md);
    font-weight: 700;
}
.c-link:hover, .current_page_item > .c-link {
    color: var(--color-accent);
}
/* Text Link */
.c-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: var(--fz-xs);
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}
.c-text-link:hover {
    color: var(--color-accent);
}
/* button icon */
.c-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.c-button:hover .c-button__icon {
    transform: translateX(4px);
}
.c-button__icon img {
    display: block;
    width: 14px;
    height: 14px;
}
.c-button__icon svg {
    display: block;
    width: 10px;
    height: 10px;
}

/* ==========================================
Main
========================================== */
.page-hero {
    height: 350px;
    padding-top: 92px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 140px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 50, 60, 0.35);
}

.page-hero .uk-container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    padding: 30px 0;
}

.page-hero-en {
    margin: 0 0 12px;
    color: #fff;
    letter-spacing: .14em;
}

.page-hero-title {
    margin: 0;
    color: #fff;
    font-size: var(--fz-xl);
    line-height: 1.3;
}

.page-hero-title2 {
    margin: 0;
    padding-top: 20px;
    color: #fff;
    font-size: var(--fz-lg);
    line-height: 1.3;
}

/* =========================
   Smartphone
========================= */
@media (max-width: 959px) {

    .page-hero {
        height: 220px;
        min-height: 220px;
        padding-top: 58px;
        background-position: center center;
    }

    .page-hero-content {
        width: 100%;
        padding: 20px 0;
    }

    .page-hero-en {
        margin-bottom: 8px;
        font-size: var(--fz-xs);
        line-height: 1.4;
        letter-spacing: .14em;
    }

    .page-hero-title {
        font-size: var(--fz-lg);
        line-height: 1.4;
    }

    .page-hero-title2 {
        padding-top: 12px;
        font-size: var(--fz-md);
        line-height: 1.5;
    }

    .page-hero-overlay {
        background: rgba(0, 50, 60, 0.4);
    }
}

@media (max-width: 959px) {
.sube-page-hero.bg-grid{
    background: none;

}
.sube-page-hero-box{
        background-color: rgba(247, 247, 247, 1);
    background-image: linear-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px);
    background-size: 8px 8px;

}
}
@media (min-width: 960px) {
.sube-page-hero {
    padding: 60px 60px 30px;
    margin-bottom: 60px;
}
}

/* ==========================
Headline
========================== */

.headline-label-title01 {
    display: inline-block;
    margin-bottom: 15px;
    padding: 3px 10px;
    background: var(--color-heading);
    color: var(--color-bg);
    font-size: var(--fz-xxs);
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity .7s ease, transform .7s ease;
}

.headline-label-title01.uk-scrollspy-inview {
    opacity: 1;
    transform: translateX(0);
}

.headline-sub-title01 {
    margin-bottom: 0;
    color: var(--color-primary);
    font-weight: 500;
}
.headline-title01 {
    font-size: var(--fz-xl);
    font-weight: 500;
}
.headline-title01-w {
    font-size: var(--fz-xl);
    font-weight: 500;
    color: #fff;
}
.headline-title02 {
    font-size: var(--fz-sm);
    font-weight: 500;
}
.headline-title03 {
    font-size: var(--fz-lg);
    font-weight: 500;
    margin: 0;
    color: #fff;
}
.headline-sub-title04 {
    font-size: var(--fz-xs);
    font-weight: 500;
    margin-bottom: 0;
    color: var(--color-primary);
    text-align: center;
}
.headline-title04 {
    font-size: var(--fz-md);
    font-weight: 500;
    text-align: center;
}
.headline-title05 {
    font-size: var(--fz-xl);
    font-weight: 500;
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 50px;
}
@media (max-width: 959px) {
    .headline-title05 {
        padding-bottom: 15px;
        margin-bottom: 30px;
    }
}

.headline-title05::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 1px;
    background: var(--color-primary);
}
.headline-title06 {
    font-size: var(--fz-lg);
    font-weight: 500;
    position: relative;
    padding-top: 5px;
    padding-bottom: 8px;
    margin-bottom: 60px;
}
@media (max-width: 959px) {
    .headline-title06 {
        padding-bottom: 10px;
        margin-bottom: 25px;
    }
}
.headline-title06::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 1px;
    background: var(--color-primary);
}
.headline-title07 {
    font-size: var(--fz-lg);
    font-weight: 500;
    margin: 0;
    padding-bottom: 30px;
}

.headline {
    margin: 0 0 30px;
    font-weight: 600;
    font-size: var(--fz-md);
}
/* グレー背景 */
.headline--gray {
    margin-top: 60px;
    padding: 20px;
    background: var(--color-bg-light);
    font-size: var(--fz-md);
}
/* グレー背景 */
.headline--white {
    margin-top: 60px;
    padding: 20px;
    background: var(--color-bg);
    font-size: var(--fz-md);
}
/* 塗り */
.headline--fill {
    padding: 20px;
    margin-top: 60px;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--fz-md);
}
/* 下線 */
.headline--border {
    padding: 20px;
    background: var(--color-bg-light);
    border-bottom: 2px solid var(--color-primary);
    font-size: var(--fz-md);
}
.bg-light .headline--border {
    padding: 20px;
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-primary);
    font-size: var(--fz-md);
}
/* 左線 */
.headline--left {
    padding-left: 17px;
    border-left: 3px solid var(--color-primary);
    font-size: var(--fz-md);
}
@media (max-width: 959px) {
.headline {
    margin: 0 -20px 20px;
    }
.headline--gray,
    .headline--white,
    .headline--fill,
    .headline--border
    {
    padding: 10px 20px;
    }
}

.headline__sub {
    margin: 10px;
    color: var(--color-primary);
    font-size: var(--fz-sm);
    font-weight: 500;
}
.headline__title {
    margin: 0 0 30px 0;
    font-size: var(--fz-md);
    font-weight: 700;
    color: var(--color-heading);
}
.headline-no {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: var(--fz-sm);
    font-weight: 700;
}
.headline-no span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    color: #fff;
    font-size: var(--fz-lg);
    font-weight: 700;
}
.headline-side-title {
    --x-gradient: linear-gradient(90deg, var(--color-primary) 0 10px, transparent 0 calc(100% - 10px), var(--color-primary) calc(100% - 10px));
    --y-gradient: linear-gradient(var(--color-primary) 0 10px, transparent 0 calc(100% - 10px), var(--color-primary) calc(100% - 10px));
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 30px;
    background-image:
        var(--x-gradient),
        var(--y-gradient),
        var(--x-gradient),
        var(--y-gradient);
    background-repeat: no-repeat;
    background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
    background-position: top, right, bottom, left;
    text-align: center;
    color: var(--color-primary);
    font-size: var(--fz-xs);
}

.en-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  letter-spacing: 0.15em;
  width: fit-content;
  margin: 0 auto 30px;
font-size: var(--fz-2xl);
}
.en-title::before,
.en-title::after {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(0, 72, 96, 0.35);
}

@media (max-width: 959px) {
  .en-title {
    gap: 10px;
    margin: 0 auto 15px;
  }
  .en-title::before,
  .en-title::after {
    width: 14px;
  }
}
/* ==========================
lead
========================== */
.lead {
    max-width: 840px;
    margin: 0 auto;
    padding: 30px;
    background: var(--color-bg-light);
    text-align: center;
    margin-bottom: 30px;
}
.lead p {
    margin: 0;
}
/* グレー背景 */
.lead--blue {
    background: var(--color-bg-blue);
    font-weight: normal;
}

/* ==========================================
wordpress 調整
========================================== */
.wp-block-cover .has-background-dim:not([class*=-background-color]), .wp-block-cover-image .has-background-dim:not([class*=-background-color]), .wp-block-cover-image.has-background-dim:not([class*=-background-color]), .wp-block-cover.has-background-dim:not([class*=-background-color]) {
    background-color: var(--color-primary);
}

.wp-block-html {
    position: relative;
}

.wp-block-html::before {
    content: "コード編集モード";
    display: block;

    padding: 12px 16px;

    background: var(--color-bg-light);
    border: 1px dashed var(--color-border);

    color: var(--color-text-light);
    font-size: 13px;
    font-weight: 600;
}

.media-text-box {
    background: var(--color-bg-light);
}
.media-text-box .wp-block-media-text__content {
    padding: 60px;
}
.media-text-box figure {
    margin: 0 0 0 0;
}
.media-text-box p {
    margin: 20px;
}
@media (max-width: 599px) {
    .media-text-box p {
        margin: 15px;
    }
}
.media-text-box h3 {
    margin: 20px 20px 0 20px;
}
@media (max-width: 599px) {
    .media-text-box h3 {
        margin: 10px 10px 0 10px;
    }
}
:where(.wp-block-columns.media-text-box.is-layout-flex) {
    gap: 0em;
}
.wp-block-separator {
    border: 0;
    border-top: 1px dashed var(--color-gray);
    margin: 70px 0;
}
@media (max-width: 959px) {
.wp-block-separator {
    margin: 30px 0;
}
}

@media (max-width: 781px) {
    .media-text-box-right {
        display: flex;
        flex-direction: column-reverse;
    }
}

/* ==========================================
Footer
========================================== */
.site-footer {
    background: #000;
    color: #fff;
    font-size: var(--fz-xs);
}
.site-footer a {
    color: inherit;
    text-decoration: none;
}
.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 70px;
    padding: 90px 90px 100px;
}
.footer-col h3 {
    margin: 0 0 20px;
    font-size: var(--fz-xs);
    font-weight: 700;
    color: #fff;
}
.footer-col ul, .footer-bottom ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: rgba(255, 255, 255, .72);
}
.footer-col a:hover {
    color: #fff;
}
.footer-company {
    font-weight: 700;
}
.footer-logo img {
    width: 170px;
    height: auto;
    margin-bottom: 18px;
}
.footer-company p {
    margin: 0 0 14px;
    line-height: 1.8;
}
.footer-notice {
    padding: 38px 20px;
    border-top: 1px dotted rgba(255, 255, 255, .25);
    border-bottom: 1px dotted rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .72);
    text-align: center;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 58px 22px;
}
.footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    font-weight: 700;
}
.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}
/* SP */
@media (max-width: 959px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
        padding: 60px 24px;
    }
    .footer-company {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
    }
    .footer-bottom ul {
        flex-direction: column;
        gap: 14px;
    }
}
@media (max-width: 599px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-notice {
        text-align: left;
        padding: 30px 24px;
    }
}

/* ==========================
side-nav
========================== */
.side-column {
    position: relative;
    z-index: 1;
    background: var(--color-bg-light);
}
.side-column::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 100vw;
    background: var(--color-bg-light);
}
.main-column {
    position: relative;
    z-index: 2;
    background: var(--color-bg);
}

/* ==========================
Side Navigation
========================== */
.side-nav {
    position: sticky;
    top: 120px;
    padding: 20px 20px 20px 0;
}
.side-nav-heading {
    margin-bottom: 40px;
    text-align: center;
}
.side-nav-heading .en {
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-size: var(--fz-xs);
    font-weight: 700;
}
.side-nav-heading .ja {
    font-size: var(--fz-xl);
    font-weight: 700;
    line-height: 1.4;
}
.side-nav ul {
    list-style: none;
    background: var(--color-bg);
    margin: 0;
    padding: 20px;
}
.side-nav ul.children {
    font-size: var(--fz-xs);
    padding: 5px 0 0 23px;
}
.side-nav ul.children ul.children {
    padding-top: 10px;
    padding-bottom: 0;
}
.side-nav li {
    margin-bottom: 10px;
}
.side-nav a {
    position: relative;
    display: block;
    padding-left: 15px;
    text-decoration: none;
    transition: .3s ease;
}
.side-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--color-primary);
    ;
    transform: translateY(-50%);
}
.side-nav-service > ul > li.page_item_has_children > a {
    pointer-events: none;
    cursor: default;
    font-weight: 700;
}
.side-nav-service > ul > li.page_item_has_children > a::before, .side-nav-service > ul > li.page_item_has_children::before {
    display: none;
}
@media (max-width: 959px) {
    .side-nav ul {
        margin: 0;
        padding: 15px;
    }
}

/* ==========================================
Hero
========================================== */
/* ==========================================
   Top Hero
========================================== */

.top-hero {
    width: 100%;
    margin: 0 auto;
    position: relative; /* 絶対配置の基準にする */
}

.top-hero-back {
    background: var(--color-bg-light);
}



@keyframes scroll-dot {
  0%   { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* ==========================================
   scroll-indicator
========================================== */

.scroll-indicator {
  position: absolute;
  bottom: 150px; /* hero-bottom-menu の高さ分より上にずらす */
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid #fff;
  border-radius: 20px;
  z-index: 4; /* hero-bottom-menu(3)より上に */
  pointer-events: none; /* メニューのクリックを邪魔しないように */
}

.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: #fff;
  border-radius: 2px;
  animation: scroll-dot 1.5s infinite;
}

@media (max-width: 959px) {
  .scroll-indicator {
    bottom: 50px; /* SP用に別途調整 */
  }
}


/* ==========================================
   Slideshow
========================================== */

.top-hero-slideshow,
.top-hero-slideshow > .uk-position-relative,
.top-hero-cover {
    width: 100%;
}

.top-hero-cover {
    height: 100vh;
    height: 100dvh;
    min-height: 680px;
}

/* ==========================================
   Overlay
========================================== */

.top-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 72, 96, 0.1);

    pointer-events: none;
}

/* ==========================================
   Hero Content
========================================== */

.top-hero-content {
    z-index: 2;

    left: max(
        10%,
        calc((100% - 1440px) / 2 + 100px)
    );

    width: 900px;
    max-width: calc(100% - 80px);
    height: 330px;

    margin: 0;
    padding: 50px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #fff;

    background: rgba(0, 0, 0, 0.15);

    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

@media (max-width: 959px) {
  .top-hero-content {
    margin-top:30px;
  }
}


.top-hero-content p {
    margin: 0 0 30px;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   Hero Title
========================================== */

.hero-title {
    margin: 0 0 30px;

    color: #fff;

    font-size: var(--fz-hero);
    font-weight: 500;
    line-height: 1.15;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   Bottom Menu
========================================== */

.hero-bottom-menu {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 3;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: min(900px, 80%);

    transform: translateX(-50%);
}

.hero-bottom-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 90px;
    padding: 20px;

    background: rgba(255, 255, 255, 0.88);
    color: var(--color-primary);

    font-weight: 500;

    border-left: 1px solid rgba(0, 72, 96, 0.35);
}

.hero-bottom-item:first-child {
    border-left: 0;
}

.hero-bottom-item.is-active,
.hero-bottom-item.uk-active {
    background: rgba(0, 72, 96, 0.95);
    color: #fff;
}

.hero-bottom-item:hover {
    background: rgba(0, 72, 96, 0.9);
    color: #fff;
}

/* ==========================================
   Tablet / SP
========================================== */

@media (max-width: 959px) {

    .top-hero-cover {
        height: 100svh;
        min-height: 560px;
    }

    .top-hero-content {
        left: 20px;

        width: calc(100% - 40px);
        max-width: none;
        height: auto;
        min-height: 300px;

        padding: 30px;
    }

    .hero-title {
        margin-bottom: 20px;
    }

    .top-hero-content p {
        margin-bottom: 25px;
    }

}

/* ==========================================
Section
========================================== */

/* ==========================================
Service Card
========================================== */
.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: var(--color-bg);
    overflow: hidden;
}
.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: .5s ease;
}
.service-card:hover img {
    transform: scale(1.05);
}
.service-card-body {
    padding: 30px;
}

/* ==========================================
Company
========================================== */
.company-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px 24px;
}
.company-list dt {
    font-weight: 600;
    color: var(--color-heading);
}
.company-list dd {
    margin: 0;
}

/* ==========================
Pickup
========================== */
.top-pickup {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
}
.top-pickup-bg {
    position: absolute;
    inset: 0;
    background: url("/img/012.jpg") center / cover no-repeat;
    opacity: .35;
    z-index: 0;
}
.top-pickup::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .4);
    z-index: 1;
}
.top-pickup .uk-container {
    position: relative;
    z-index: 2;
}
.pickup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}
.pickup-card {
    background: var(--color-bg);
    padding: 30px 30px 30px;
}
.pickup-card-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    align-items: start;
}
.pickup-image {
        text-align: center;
    }
.pickup-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.pickup-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    background: var(--color-accent);
    color: #fff;
    font-size: var(--fz-sm);
    font-weight: 700;
    line-height: 1.2;
}
.pickup-label.black{
    background: var(--color-heading);
}
.pickup-content h3 {
    color: var(--color-heading);
    font-size: var(--fz-sm);
}
/* SP */
@media (max-width: 959px) {
    .top-pickup {
        padding: 70px 0;
    }
    .pickup-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pickup-card-inner {
        grid-template-columns: 1fr;
    }
    .pickup-image img {
        aspect-ratio: 16 / 10;
        
    }
}

/* ==========================================
   Coming Soon
========================================== */

.coming-soon {
    position: relative;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 4 / 5;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--color-primary) 0%,
            #386d78 55%,
            #A2BBBD 100%
        );

    color: #fff;
}

/* 斜めの薄い装飾 */
.coming-soon::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -35%;

    width: 90%;
    height: 170%;

    background: rgba(255, 255, 255, 0.07);

    transform: rotate(18deg);
}

/* Coming Soon 下のライン */
.coming-soon::after {
    content: "";
    position: absolute;
    top: calc(50% + 48px);
    left: 50%;

    width: 40px;
    height: 1px;

    background: rgba(255, 255, 255, 0.5);

    transform: translateX(-50%);
}

/* テキスト */
.coming-soon-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    padding: 20px;

    text-align: center;
}

/* COMING SOON */
.coming-soon-en {
    display: block;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    letter-spacing: 0.18em;
}

/* 近日公開予定 */
.coming-soon-ja {
    display: block;

    margin-top: 8px;

    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;

    letter-spacing: 0.12em;

    opacity: 0.7;
}

/* ==========================================
   SP
========================================== */

@media (max-width: 959px) {

    .coming-soon {
        max-width: none;
    }

}
/* ==========================
Company
========================== */
.top-company {
    padding: 0;
}
.company-message {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
}
.company-image img {
    width: 100%;
    height: 680px;
    object-fit: cover;
}
.company-content {
    margin-left: 90px;
}
/* SP */
@media (max-width: 959px) {
    .company-lead {
        margin-bottom: 50px;
        padding: 24px 20px;
        text-align: left;
    }
    .company-message {
        grid-template-columns: 1fr;
        order: 1;
        margin-right: -30px;
        margin-left: -30px;
    }
    .company-image img {
        height: 300px;
    }
    .company-content {
        max-width: none;
        margin: 0;
        padding: 40px 30px;
    }
}

/* ==========================
Philosophy
========================== */
.top-philosophy {
    position: relative;
    padding: 140px 0;
    background: var(--color-bg);
    overflow: hidden;
}
.philosophy-layout {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    gap: 60px;
}
.philosophy-image-area {
    position: relative;
    min-height: 560px;
}
.philosophy-bg {
    position: absolute;
    top: -100px;
    right: calc(40% - 40vw);
    width: 40vw;
    height: 760px;
    background: var(--color-bg-light);
    z-index: 0;
}
.philosophy-image-main {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 68%;
    z-index: 2;
}
.philosophy-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.philosophy-image-sub {
    position: absolute;
    top: 0;
    right: 0;
    width: 54%;
    z-index: 3;
}
.philosophy-image-sub img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
/* SP */
@media (max-width: 959px) {
    .top-philosophy {
        padding: 0;
    }
    .philosophy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .philosophy-content {
        max-width: none;
    }
    .philosophy-image-area {
        min-height: auto;
    }
    .philosophy-bg {
        display: none;
    }
    .philosophy-image-main, .philosophy-image-sub {
        position: static;
        width: 100%;

    }
    .philosophy-image-sub {
        margin-bottom: 16px;
    }
    @media (max-width: 959px) {
        .philosophy-image-area {
            display: flex;
            margin: 0 calc(50% - 50vw);
            gap: 0;
        }
        .philosophy-image-main, .philosophy-image-sub {
            position: static;
            width: 50%;
        }
        .philosophy-image-main img, .philosophy-image-sub img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .philosophy-layout {
            display: flex;
            flex-direction: column-reverse;
        }
    }
}

/* ==========================
AI Capabilities
========================== */
.top-ai {
    position: relative;
    overflow: hidden;
    padding: 100px 0 100px;
}
.top-ai-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 34%;
    height: 100%;
    background: url("/img/023.jpg") center / cover no-repeat;
    opacity: .35;
    z-index: 0;
}
.top-ai::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 34%;
    height: 100%;
    background: rgba(255, 255, 255, .45);
    z-index: 1;
}
.top-ai .uk-container {
    position: relative;
    z-index: 2;
}
.ai-heading {
    margin-left: 38%;
    margin-bottom: 60px;
}
.ai-card-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 34px;
    border-radius: 50%;
    overflow: hidden;
}
.ai-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* SP */
@media (max-width: 959px) {
    .top-ai {
        padding: 70px 0;
    }
    .top-ai-bg, .top-ai::after {
        width: 100%;
        height: 260px;
    }
    .ai-heading {
        margin-left: 0;
        margin-bottom: 40px;
    }
    .ai-card-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
        gap: 24px;
    }
    .ai-card {
        padding: 36px 24px;
    }
    .ai-card-image {
        width: 150px;
        height: 150px;
    }
}

/* ==========================
Governance
========================== */
.top-governance {
    background: var(--color-bg);
}

.governance-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: stretch;
    gap: 60px;
    min-height: 700px;
}

/* テキスト：右 */
.governance-content {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.governance-inner {
    width: 100%;
    max-width: 790px;
}

/* 画像：左 */
.governance-image {
    order: 1;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
}

.governance-image img {
    display: block;
    width: 100%;
    height: 800px;
    object-fit: cover;
    object-position: center 10%;
}

@media (max-width: 959px) {

    .governance-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* スマホ：画像を上 */
    .governance-image {
        margin-bottom: 30px;
        order: 1;
        margin-left: -30px;
        margin-right: -30px;
    }

    .governance-image img {
        width: 100%;
        height: 300px;
        display: block;
    }

    /* スマホ：テキストを下 */
    .governance-content {
        order: 2;
    }

    .governance-inner {
        max-width: 100%;
    }
}

/* ==========================
table
========================== */

/* table */
.company-table {
    max-width: 960px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}
.company-table dl {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
}
.company-table dt, .company-table dd {
    padding: 24px 0;
}
.company-table dt {
    font-weight: 700;
    color: #222;
}
.company-table dd {
    margin: 0;
    line-height: 1.8;
}
/* SP */
@media (max-width: 959px) {
    .lower-hero {
        height: 300px;
        padding-top: 58px;
    }
    .company-table dl {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }
    .company-table dt, .company-table dd {
        padding: 0;
    }
    .company-table dt {
        margin-bottom: 8px;
    }
}
.corporate-cta {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.corporate-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .78);
    z-index: 1;
}
.corporate-cta .uk-container {
    position: relative;
    z-index: 2;
}
.corporate-cta-buttons {
    text-align: center;
}
.corporate-cta-buttons .c-button {
    margin: 30px auto;
}
@media (max-width: 959px) {
    .corporate-cta {
        padding: 72px 0;
    }
    .corporate-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}
@media (max-width: 959px) {
    .entry-content {
        padding: 30px 0;
    }
}

/* ==========================
Company Card
========================== */
.company-card {
    display: block;
    height: 100%;
    background: var(--color-bg-light);
    color: inherit;
    text-decoration: none;
    transition: .3s ease;
    overflow: hidden;
}
.company-card:hover {
    transform: translateY(-4px);
    background: var(--color-bg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}
.company-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.company-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}
.company-card:hover .company-card-thumb img {
    transform: scale(1.05);
}
.company-card-body {
    padding: 15px;
}
.company-card-body h3 {
    margin: 0;
    font-size: var(--fz-md);
    font-weight: 700;
    color: var(--color-heading);
    text-align: center;
}
.company-card-body p {
    margin: 0;
    font-size: var(--fz-sm);
    line-height: 1.9;
    color: var(--color-text);
}

/* ==========================
Common Info Card
========================== */
.c-info-box:first-child {
    margin-bottom: 30px;
}
.c-info-card__thumb {
    margin-bottom: 30px;
}
.c-info-card-top-img img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
}
@media (min-width: 960px) and (max-width: 1199px) {
    .c-info-card-top-img img {
        height: 270px;
    }
}
.c-info-card {
    display: block;
    padding: 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: .3s ease;
}
.c-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}
.c-info-card__title {
    margin: 0 0 20px;
    font-size: var(--fz-md);
    font-weight: 700;
    min-height: 3.2em;
    color: var(--color-heading);
}
.c-info-card__meta {
    margin: 0;
}
.c-info-card__meta > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.c-info-card__meta dt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0;
    padding: 5px 10px;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--fz-xs);
}
.c-info-card__meta dd {
    margin: 0;
    color: var(--color-text);
}
.c-info-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 16px;
    border-radius: 999px;
    background: #d79a42;
    color: #fff;
    font-size: var(--fz-xs);
}
.c-info-card__link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--color-primary);
    font-weight: 700;
}
.c-info-card__link::before {
    content: "↘";
    font-size: 1rem;
}
/* スマホ */
@media (max-width: 639px) {
    .c-info-card {
        padding: 22px 20px 24px;
    }
    .c-info-card__meta > div {
        grid-template-columns: 76px 1fr;
    }
}

/* ==========================
target-list
========================== */
.target-list {
    margin: 0;
    padding: 0 20px 20px 20px;
    margin-bottom: 30px;
    list-style: none;
}
.target-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 28px;
    font-weight: 700;
    color: var(--color-heading);
}
.target-list li:last-child {
    margin-bottom: 0;
}
.target-list li::before {
    content: "";
    position: absolute;
    top: 0.9em;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* ==========================
client-section
========================== */
.client-image, .client-content {
    height: 100%;
}
.client-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
/* スマホ */
@media (max-width: 959px) {
    .client-image img {
        aspect-ratio: 2 / 1;
        object-position: center 20%;
    }
}
.client-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg-light);
}

/* ==========================
contact-form
========================== */
.contact-form {
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}
.form-row {
    margin: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}
.form-row .uk-form-label {
    font-weight: 700;
    width: auto;
}
.required {
    display: inline-block;
    margin-left: 12px;
    padding: 2px 7px;
    background: #ff3b30;
    color: #fff;
    font-size: var(--fz-xxs);
    line-height: 1.4;
    border-radius: 3px;
}
.contact-form .uk-input, .contact-form .uk-select, .contact-form .uk-textarea {
    background: #f1f1f1;
    border: none;
}
.form-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--color-text-light);
}
.video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 959px) {
    .video-wrap {
        padding: 0 0 20px 0;
    }
}

/* ==========================
history
========================== */
.career-history__item:first-child {
    border-top: 1px solid var(--color-border);
}

/* -------------------------
   Item
------------------------- */
.career-history__item {
    display: grid;
    grid-template-columns:
        clamp(70px, 14vw, 140px) minmax(0, 1fr);
    border-bottom: 1px solid var(--color-border);
}
/* Year */
.career-history__year {
    display: flex;
    align-items: center;
    position: relative;
    padding:clamp(18px, 3vw, 30px) clamp(15px, 3vw, 30px) clamp(18px, 3vw, 30px) 0;
    font-size: var(--fz-lg);
    font-weight: 500;
    line-height: 1;
    color: var(--color-heading);
    border-right: 1px solid var(--color-border);
}
.career-history__year::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border: 3px solid #fff;
    border-radius: 50%;

    transform: translateY(-50%);
}
/* Right */
.career-history__content {
    display: grid;
    grid-template-columns:
        clamp(30px, 6vw, 60px) minmax(0, 1fr);
    align-items: center;
    padding:clamp(18px, 3vw, 30px) 0 clamp(18px, 3vw, 30px) clamp(15px, 4vw, 35px);
}
.career-history__month {
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--color-primary);
}
.career-history__content p {
    margin: 0;
    line-height: 1.8;
    color: var(--color-text);
}
/* Hover */
@media (hover:hover) {
    .career-history__item {
        transition: .3s;
    }
    .career-history__item:hover {
        background: #fafafa;
    }
}

/* -------------------------
   Smartphone
------------------------- */
@media (max-width:640px) {
    .career-history__head {
        display: none;
    }
    .career-history__item {
        grid-template-columns: 65px 1fr;
    }
    .career-history__year {
        padding: 18px 10px 18px 5px;
    }
    .career-history__content {
        grid-template-columns: 28px 1fr;
        padding: 18px 0 18px 15px;
    }

}

/* ==========================================
philosophy
========================================== */
.headline-philosophy {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 3px 0;
}

.headline-philosophy-en {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--color-accent);
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 500;
}
.headline-philosophy-en::before, .headline-philosophy-en::after {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}
.headline-philosophy-title {
    margin: 0;
     font-size: var(--fz-lg);
    font-weight: 500;
    text-align: center;
}

/* ==========================================
Company Value
rp-company-value 専用
========================================== */
.rp-company-value {
    position: relative;
    overflow: hidden;
    padding: 30px 30px;
    margin-top: 20px;
    margin-bottom: 60px;
    background:
        linear-gradient(135deg, rgba(0, 72, 96, 0.045) 0%, rgba(255, 255, 255, 0) 55%), var(--color-bg-light);
}
.rp-company-value *, .rp-company-value *::before, .rp-company-value *::after {
    box-sizing: border-box;
}

.rp-company-value__inner {
    position: relative;

    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
/* 見出し */
.rp-company-value__heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}
.rp-company-value__heading-en {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 15px;
    color: var(--color-accent);
    font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック体", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}
.rp-company-value__heading-en::before {
    content: "";
    display: block;
    width: 38px;
    height: 1px;
    background: var(--color-accent);
}
.rp-company-value__heading-title {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.5;
}
/* カード一覧 */
.rp-company-value__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}
.rp-company-value__item {
    position: relative;
    grid-column: span 2;
    min-width: 0;
    min-height: 310px;
    margin: 0;
    padding: 30px;
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid rgba(0, 72, 96, 0.1);
    transition:
        transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.rp-company-value__item:nth-child(4) {
    grid-column: 2 / span 2;
}
.rp-company-value__item:nth-child(5) {
    grid-column: 4 / span 2;
}
.rp-company-value__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}
.rp-company-value__item::after {
    content: "";
    position: absolute;
    right: -65px;
    bottom: -65px;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(210, 150, 70, 0.15);
    border-radius: 50%;
    transition:
        transform 0.4s ease, background-color 0.4s ease;
}
.rp-company-value__item:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 72, 96, 0.22);
    box-shadow: 0 3px 10px rgba(0, 50, 67, 0.11);
}
.rp-company-value__item:hover::before {
    transform: scaleX(1);
}
.rp-company-value__item:hover::after {
    transform: scale(1.15);
    background: rgba(210, 150, 70, 0.05);
}
/* 番号 */
.rp-company-value__number {
    position: relative;
    z-index: 1;
    margin: 0 0 30px;
    color: var(--color-accent);
    font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック体", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
}
.rp-company-value__number::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 38px;
    width: 32px;
    height: 1px;
    background: rgba(210, 150, 70, 0.55);
    transform: translateY(-50%);
}
/* テキスト */
.rp-company-value__content {
    position: relative;
    z-index: 1;
}
.rp-company-value__en {
    margin: 0 0 8px;
    color: #839093;
     font-size: var(--fz-xxs);
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
}
.rp-company-value__title {
    margin: 0;
    color: var(--color-primary);
    font-size: var(--fz-lg);
    font-weight: 500;
    letter-spacing: .14em;
}
.rp-company-value__text {
    margin: 20px 0 0;
}
/* タブレット */
@media (max-width: 959px) {
.rp-company-value__item {
    min-height: 250px;
    padding: 30px;
}
    .rp-company-value {
        padding: 30px;
    }
    .rp-company-value__heading {
        margin-bottom: 45px;
    }
    .rp-company-value__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .rp-company-value__item, .rp-company-value__item:nth-child(4), .rp-company-value__item:nth-child(5) {
        grid-column: auto;
    }
    .rp-company-value__item:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
        justify-self: center;
    }
}
/* スマートフォン */
@media (max-width: 639px) {
    .rp-company-value {
        padding: 0;
        background: none;
        border: none;
    }
    .rp-company-value::before {
        top: 20px;
        right: -8px;
        font-size: 70px;
    }
    .rp-company-value__heading {
        margin-bottom: 35px;
    }
    .rp-company-value__heading-en {
        margin-bottom: 12px;
        font-size: 11px;
    }
    .rp-company-value__heading-title {
        font-size: 27px;
    }
    .rp-company-value__list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .rp-company-value__item, .rp-company-value__item:last-child {
        grid-column: auto;
        width: 100%;
        min-height: auto;
        padding: 27px 24px 29px;
    }
    .rp-company-value__number {
        margin-bottom: 30px;
    }
    .rp-company-value__title {
        font-size: 27px;
    }
    .rp-company-value__text {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.9;
    }
    .rp-company-value__item:hover {
        transform: none;
    }
}

/* ==========================
Company Overview Table
========================== */
.company-overview {
    max-width: 960px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}
.company-overview__row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid var(--color-border);
}
.company-overview__row dt {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 24px 30px;
    background: var(--color-bg-blue);
    font-weight: 700;
    color: var(--color-heading);
}
.company-overview__row dd {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 24px 30px;
    line-height: 1.8;
    color: var(--color-text);
}
.company-overview__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.company-overview__list li {
    position: relative;
    padding-left: 16px;
}
.company-overview__list li::before {
    content: "・";
    position: absolute;
    left: 0;
}
/* SP */
@media (max-width: 767px) {
    .company-overview__row {
        grid-template-columns: 1fr;
    }
    .company-overview__row dt {
        padding: 16px 20px 8px;
        background: var(--color-bg-blue);
    }
    .company-overview__row dd {
        padding: 0 20px 20px;
    }
}

/* ==========================
Company access
========================== */

.access {
    display: grid;
    gap: 56px;
}

.access__lines {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 34px;
    margin-bottom: 20px;
}

.line {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #222;
}

.line::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 4px solid;
    border-radius: 50%;
    background: var(--color-bg);
    box-sizing: border-box;
}

/* 東京メトロ */
.metro-red::before {
    color: #e60012;
}

.metro-purple::before {
    color: #8f6bb8;
}

.metro-green::before {
    color: #009944;
}

.metro-blue::before {
    color: #00a7db;
}

/* 都営三田線 */
.toei-blue::before {
    color: #0079c2;
}

/* JR */
.jr::before {
    border-radius: 2px;
    color: #00953b;
}

.access__text strong {
    display: inline-block;
    padding: .1em .45em;
    margin: 0 .15em;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg-light);
    font-size: .9em;
}

@media (max-width: 768px) {
    .access {
        gap: 40px;
    }

    .access__lines {
        gap: 12px;
        margin-bottom: 16px;
    }

    .line {
        font-size: 15px;
    }

    .line::before {
        width: 15px;
        height: 15px;
        border-width: 3px;
        margin-right: 8px;
    }
}

/* ==========================
sticky-column
========================== */

/* ==========================
side-link
========================== */

.side-link-list {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
    font-size: var(--fz-xs);
    border-bottom: 1px solid var(--color-bg-light);
}

.side-link-list li {
    margin: 0;
    padding: 0;
}

.side-link-list-item {
    display: flex;
    align-items: center;
    padding: 1em 1.2em;
    text-decoration: none;
    background: var(--color-bg-light);
    box-sizing: border-box;
}

.side-link-list li:nth-child(even) .side-link-list-item {
    background: var(--color-bg);
}

.side-link-list-arrow {
    flex-shrink: 0;
    width: 0;
    height: 0;
    margin-right: 14px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--color-primary);
}

.side-link-list-item:hover {
    color: var(--color-primary);
}
/* 第一階層 */
.side-link-list .side-link-list-parent .side-link-list-item {
    min-height: auto;
    padding: 2em 1em;
    background: var(--color-primary);
    color: #fff;
}

.side-link-list .side-link-list-parent .side-link-list-text {
    font-weight: 500;
}
.side-link-list-parent .side-link-list-arrow {
    border: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
}

.side-link-list-item.is-current .side-link-list-text {
    font-weight: 700 ;
}

@media (max-width: 959px) {

    .side-link-list-item {
        padding: 0.8em 1em;
    }

    .side-link-list-arrow {
        margin-right: 10px;
        border-top-width: 5px;
        border-bottom-width: 5px;
        border-left-width: 5px;
    }
    .side-link-list-text {
    }

    /* 第一階層 */
    .side-link-list .side-link-list-parent .side-link-list-item {
        min-height: auto;
        padding: 1.2em 1em;
    }

    .side-link-list .side-link-list-parent .side-link-list-text {
        line-height: 1.6;
    }
}

/* ==========================================
M&A Flow
========================================== */

.ma-flow {
    width: 100%;
}

.ma-flow-item {
    display: grid;
    grid-template-columns: minmax(220px, 28%) 1fr;
    column-gap: clamp(50px, 7vw, 60px);
    padding: clamp(60px, 8vw, 60px) 0;
    border-bottom: 1px solid var(--color-border);
}

.ma-flow-item:first-child {
    padding-top: 40px;
}

.ma-flow-item:last-child {
    border-bottom: 0;
}

/* 左側
------------------------------------------ */

.ma-flow-head {
    position: relative;
    align-self: center; /* ← 追加 */
}

.ma-flow-num {
    display: block;
    font-size: var(--fz-xxs);
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .14em;
    color: var(--color-primary);
}

.ma-flow-title {
    margin: 0;
    font-size: var(--fz-md);
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: .03em;
}
/* 右側
------------------------------------------ */

.ma-flow-body {
    position: relative;

    padding-left: clamp(40px, 5vw, 70px);
}

/* 縦線 */
.ma-flow-body::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: var(--color-border);
}

.ma-flow-body p {
    max-width: 780px;
    margin: 0;

}

/* ==========================================
Tablet
========================================== */

@media (max-width: 959px) {

    .ma-flow-item {
        grid-template-columns: 200px 1fr;
        column-gap: 40px;
        padding: 65px 0;
    }

    .ma-flow-body {
        padding-left: 40px;
    }

}

/* ==========================================
SP
========================================== */

@media (max-width: 639px) {

    .ma-flow-item {
        display: block;
        padding: 20px 0;
    }

    .ma-flow-item:first-child {
        padding-top: 20px;
    }

    .ma-flow-head {
        align-self: auto;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .ma-flow-title {
        font-weight: 600;
    }

    .ma-flow-body {
        padding-left: 0;
    }

    .ma-flow-body::before {
        display: none;
    }

}

/* ==========================================================
   Gutenberg Block Styles
   既存デザインを壊さず管理画面から選択できるスタイル
========================================================== */

/* ==========================================
   Heading
========================================== */

.is-style-headline-gray {
    margin-top: 60px;
    padding: 20px;
    background: var(--color-bg-light);
    color: var(--color-heading);
    font-size: var(--fz-md);
}

.is-style-headline-fill {
    margin-top: 60px;
    padding: 20px;
    background: var(--color-primary);
    color: #fff;
    font-size: var(--fz-md);
}

.is-style-headline-border {
    padding: 20px;
    background: var(--color-bg-light);
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-heading);
    font-size: var(--fz-md);
}

.is-style-headline-left {
    padding-left: 17px;
    border-left: 3px solid var(--color-primary);
    color: var(--color-heading);
    font-size: var(--fz-md);
}

.is-style-headline-frame {
    --x-gradient: linear-gradient(
        90deg,
        var(--color-primary) 0 10px,
        transparent 0 calc(100% - 10px),
        var(--color-primary) calc(100% - 10px)
    );
    --y-gradient: linear-gradient(
        var(--color-primary) 0 10px,
        transparent 0 calc(100% - 10px),
        var(--color-primary) calc(100% - 10px)
    );

    position: relative;
    padding: 1rem;
    margin-bottom: 30px;
    background-image:
        var(--x-gradient),
        var(--y-gradient),
        var(--x-gradient),
        var(--y-gradient);
    background-repeat: no-repeat;
    background-size:
        100% 1px,
        1px 100%,
        100% 1px,
        1px 100%;
    background-position:
        top,
        right,
        bottom,
        left;
    color: var(--color-primary);
    text-align: center;
}

/* ==========================================
   Lead
========================================== */

.is-style-lead {
    max-width: 840px;
    margin: 0 auto 30px;
    padding: 30px;
    background: var(--color-bg-light);
    text-align: center;
    line-height: 2;
}

.is-style-lead-blue {
    max-width: 840px;
    margin: 0 auto 30px;
    padding: 30px;
    background: var(--color-bg-blue);
    text-align: center;
    font-weight: normal;
    line-height: 2;
}

/* ==========================================
   Media Text
========================================== */

.wp-block-media-text.is-style-media-text-box {
    background: var(--color-bg-light);
}

.wp-block-media-text.is-style-media-text-box .wp-block-media-text__content {
    padding: 60px;
}

.wp-block-media-text.is-style-media-text-box figure {
    margin: 0;
}

.wp-block-media-text.is-style-media-text-box p {
    margin: 20px;
}

.wp-block-media-text.is-style-media-text-box h3 {
    margin: 20px 20px 0;
}

@media (max-width: 599px) {
    .wp-block-media-text.is-style-media-text-box .wp-block-media-text__content {
        padding: 30px;
    }

    .wp-block-media-text.is-style-media-text-box p {
        margin: 15px;
    }

    .wp-block-media-text.is-style-media-text-box h3 {
        margin: 10px 10px 0;
    }
}

/* ==========================================
   Columns
========================================== */

.wp-block-columns.is-style-media-text-box {
    gap: 0;
    background: var(--color-bg-light);
}


.wp-block-columns.is-style-media-text-box > .wp-block-column {
    margin: 0;
}

/* ==========================================
   Button
========================================== */

.wp-block-button.is-style-rp-black .wp-block-button__link,
.wp-block-button.is-style-rp-primary .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 44px;
    padding: 0 28px;
    border-radius: 0;
    font-size: var(--fz-xs);
    line-height: 1;
    text-decoration: none;
    transition: .3s ease;
}

.wp-block-button.is-style-rp-black .wp-block-button__link {
    background: #000;
    color: #fff;
}

.wp-block-button.is-style-rp-black .wp-block-button__link:hover {
    background: var(--color-primary);
    color: #fff;
}

.wp-block-button.is-style-rp-primary .wp-block-button__link {
    background: var(--color-primary);
    color: #fff;
}

.wp-block-button.is-style-rp-primary .wp-block-button__link:hover {
    background: var(--color-primary-light);
    color: #fff;
}

/* ==========================================
   Group Background
========================================== */

.wp-block-group.is-style-bg-light {
    padding: clamp(30px, 5vw, 60px);
    background: var(--color-bg-light);
}

.wp-block-group.is-style-bg-blue {
    padding: clamp(30px, 5vw, 60px);
    background: var(--color-bg-blue);
}

/* ==========================================
   dialogue
========================================== */
.dialogue-hero {
    height: 350px;
    padding-top: 92px;
    align-items: center;
}

@media (max-width: 959px) {
    .dialogue-hero {
    height: 240px;
        padding-top: 58px;
        background-position: center center;
    }
}
.dialogue-nav {
    gap: 15px;
}
/* 左側は固定 */
.dialogue-title {
    flex-shrink: 0;
    width: 213px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: var(--fz-md);
}
/* スライダー */
.dialogue-slider {
    min-width: 0;
    width: 50%;;
}
.dialogue-slide {
    width: 213px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dialogue-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 959px) {

    .dialogue-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .dialogue-title {
        width: 100%;
        height: auto;
        margin-top: 15px;
        padding: 5px;
        box-sizing: border-box;
    }

    .dialogue-slider {
        width: 100%;
        min-width: 0;
    }

    .dialogue-slider .uk-slider-items {
        justify-content: center;
    }

    .dialogue-slider .uk-slider-items > li {
        width: calc(100% / 3);
        display: flex;
        justify-content: center;
    }

    .dialogue-slide {
        width: 124px;
        max-width: 100%;
        height: 70px;
    }
}
.dialogue-detail {
    padding-top: 40px;
    padding-bottom: 40px;
}
.dialogue-text {
    line-height: 2;
}
.dialogue-movie {
    aspect-ratio: 1.6 / 1;
    background: #ddd;
}
.dialogue-hero .coming-soon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #004860 0%,
        #386d78 55%,
        #A2BBBD 100%
    );
    color: #fff;
}
.dialogue-hero .coming-soon-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
.dialogue-hero .coming-soon-en {
    display: block;
    font-size: 13px;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.dialogue-hero .coming-soon-ja {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: .1em;
    opacity: .7;
}
.dialogue-hero .coming-soon::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, .25);
    transform: rotate(-35deg);
}
@media (max-width: 959px) {
    .dialogue-detail {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .dialogue-movie {
        margin-top: 20px;
    }
}

.analysis-card02 {
    height: 100%;
    min-height: 220px;
    padding: 30px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-sizing: border-box;
}

.analysis-card02::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    width: 3px;
    height: 30px;
    background: #D29646;
}

.analysis-card02-number {
    margin-top: 5px;
    margin-bottom: 10px;
    color: #D29646;
    font-size: var(--fz-xxs);
    font-weight: 600;
    letter-spacing: .14em;
}

.analysis-card02-body {
    position: relative;
    z-index: 2;
}

.analysis-card02-title {
    color: var(--color-primary);
    font-size: var(--fz-md);
    font-weight: 500;
}

.analysis-card02-text {
    margin: 0;
    line-height: 2;
}

.analysis-card02-deco {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(
        135deg,
        rgba(210, 150, 70, .10),
        rgba(210, 150, 70, .10)
    );
    transform: rotate(45deg);
}

@media (max-width: 959px) {
    .analysis-card02 {
        min-height: auto;
        padding: 28px 24px;
    }

    .analysis-card02::before {
        top: 28px;
        height: 36px;
    }

    .analysis-card02-number {
    margin-top: 8px;
        margin-bottom: 28px;
    }

    .analysis-card02-text {
        font-size: 14px;
        line-height: 1.9;
    }
}
/* ==========================================
   policy-box
========================================== */

.policy-box {
    border: 1px solid var(--color-border);
    padding: 30px;
    background: #f8faf9;
    position: relative;
        margin-bottom: 30px;
}

.policy-box p {
    margin: 0;
    padding: 20px 0;
    line-height: 2;
    border-bottom: 1px solid rgba(0, 72, 96, 0.12);
}

.policy-box p:first-child {
    padding-top: 0;
}

.policy-box p:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

@media (max-width: 959px) {
    .policy-box {
        border: 1px solid var(--color-border);
border-left: none;
border-right: none;
    padding: 20px 0;
        margin-bottom: 30px;
        background: none;
    }

    .policy-box p {
        padding: 20px 0;
        line-height: 1.9;
    }
}

.management-item {
    padding: 60px 0 70px;
    border-top: 1px solid var(--color-border);
}

.management-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.management-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.management-number {
    color: #d29646;
    font-size: var(--fz-sm);
    letter-spacing: .15em;
}

.management-position {
    margin: 0;
    color: #006182;
    font-size: var(--fz-xxs);
    letter-spacing: .12em;
}

.management-content {
    display: grid;
    grid-template-columns: 20% 1fr;
    gap: 60px;
}

.management-name {
    margin: 0;
    font-size: var(--fz-md);
    font-weight: 500;
    line-height: 1.4;
}

.management-name span {
    display: block;
    margin-bottom: 10px;
    font-size: var(--fz-xxs);
    font-weight: 500;
    letter-spacing: .15em;
    color: var(--color-primary);
}

.management-text {
    line-height: 2;
}

.management-text p:first-child {
    margin-top: 0;
}

@media (max-width: 959px) {
    .management-item {
        padding: 40px 0 45px;
    }

    .management-head {
        margin-bottom: 25px;
    }

    .management-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ==========================================
   dialogue chapters
========================================== */

.dialogue-chapters {
    background: #f1f8fa;
}

/* ==========================================
   chapter list
========================================== */

.dialogue-chapter-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dialogue-chapter-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px dotted rgba(0, 72, 96, 0.35);
}

.dialogue-chapter-list a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 0;
    font-size: var(--fz-xs);
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

/* 三角 */
.dialogue-chapter-arrow {
    flex-shrink: 0;
    width: 0;
    height: 0;
    margin-right: 10px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid var(--color-primary);
}

/* ==========================================
   tablet / mobile
========================================== */

@media (max-width: 959px) {

.dialogue-chapters *+.uk-grid-margin-large, .uk-grid+.uk-grid-large, .uk-grid+.uk-grid-row-large, .uk-grid-large>.uk-grid-margin, .uk-grid-row-large>.uk-grid-margin {
    margin-top: 0;
}
    .dialogue-chapters-grid {
        margin-top: 0;
    }

    .dialogue-chapter-list a {
        min-height: auto;
        padding: 10px 0;
    font-size: var(--fz-xs);
    }

}

@media (max-width: 639px) {

    .dialogue-chapters-grid .uk-grid-margin{
        margin: 0;
    }

    .dialogue-chapter-arrow {
        margin-right: 8px;
        border-top-width: 3px;
        border-bottom-width: 3px;
        border-left-width: 5px;
    }

}

/* ==========================================
   dialogue section
========================================== */

.dialogue-section {
    padding: 60px 0;
}

.dialogue-section-title {
    margin-bottom: 60px;
    background: #000;
    color: #fff;
    text-align: center;
}

.dialogue-section-title h2 {
    margin: 0;
    padding: 10px 20px;
    color: #fff;
    font-size: var(--fz-md);
    font-weight: 400;
}

.dialogue-section-title h2 span {
    margin-right: 10px;
    font-size: 1.3em;
}

/* ==========================================
   dialogue talk
========================================== */

.dialogue-talk-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.dialogue-talk {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 30px;
    align-items: start;
}

.dialogue-speaker {
    padding: 5px 15px;
    color: #fff;
    text-align: center;
    line-height: 1.4;
}

.dialogue-speaker-gray {
    background: #555;
}

.dialogue-speaker-blue {
    background: var(--color-primary);
}

.dialogue-text p {
    margin: 0 0 10px;
}

.dialogue-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   dialogue image
========================================== */

.dialogue-image {
    margin: 60px 0;
    text-align: center;
}
.dialogue-image img{
    max-height:450px;
    margin: 0 auto;
}

/* ==========================================
   mobile
========================================== */

@media (max-width: 639px) {

    .dialogue-section {
        padding: 40px 0;
    }

    .dialogue-section-title {
        margin-bottom: 35px;
    }

    .dialogue-section-title h2 {
        padding: 15px;
        font-size: var(--fz-md);
    }
    .dialogue-talk {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dialogue-speaker {
        width: 100px;
        font-size: var(--fz-xs);
    }

    .dialogue-talk-list {
        gap: 30px;
    }

    .dialogue-text {
        line-height: 1.8;
    }

    .dialogue-image {
        margin: 40px 0;
    }

}

/* ==========================================
   Dialogue introduction
========================================== */
.dialogue-introduction {
    padding: 60px 0;
    background: var(--color-bg-light);
}

.dialogue-introduction-grid {
    margin-left: -60px;
}

.dialogue-introduction-grid > * {
    padding-left: 60px;
}

.dialogue-introduction-title {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.dialogue-introduction-text {
    color: #222;
    font-size: 14px;
    line-height: 2.3;
}

.dialogue-introduction-text p {
    margin: 0;
}

/* ==========================================
   Dialogue notice
========================================== */
.dialogue-notice {
    padding: 60px 0 80px;
    background: var(--color-bg);
}

.dialogue-notice-block {
    margin-bottom: 60px;
}

.dialogue-notice-block:last-child {
    margin-bottom: 0;
}

.dialogue-notice-content {
    color: #333;
    font-size: 14px;
    line-height: 2.2;
}

.dialogue-notice-content p {
    margin: 0 0 8px;
}

.dialogue-notice-content p:last-child {
    margin-bottom: 0;
}

.dialogue-company-name {
    letter-spacing: .16em;
}

.dialogue-notice-link {
    margin-top: 25px !important;
}

.dialogue-notice-link a {
    color: #333;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.dialogue-notice-link a:hover {
    color: #006182;
}

/* ==========================================
   Tablet
========================================== */
@media (max-width: 959px) {

    .dialogue-introduction {
        padding: 45px 0;
    }

    .dialogue-introduction-grid {
        margin-left: -30px;
    }

    .dialogue-introduction-grid > * {
        padding-left: 30px;
    }

    .dialogue-introduction-title {
        width: 180px;
        height: 180px;
    }

    .dialogue-introduction-text {
        line-height: 2;
    }

}

/* ==========================================
   Mobile
========================================== */
@media (max-width: 639px) {

    .dialogue-introduction {
        padding: 30px 0 35px;
    }

    .dialogue-introduction-grid {
        margin-left: 0;
    }

    .dialogue-introduction-grid > * {
        padding-left: 0;
    }

    .dialogue-introduction-title {
        width: 100%;
        height: auto;
        min-height: 90px;
        padding: 20px;
        box-sizing: border-box;
        font-size: 17px;
    }

    .dialogue-introduction-text {
        margin-top: 25px;
        font-size: 13px;
        line-height: 2;
    }

    .dialogue-introduction-text br {
        display: none;
    }

    .dialogue-notice {
        padding: 40px 0 60px;
    }

    .dialogue-notice-block {
        margin-bottom: 45px;
    }

    .dialogue-notice-content {
        font-size: 13px;
        line-height: 2;
    }

    .dialogue-company-name {
        letter-spacing: .08em;
    }

    .dialogue-notice-link {
        margin-top: 20px !important;
    }

}

.dialogue-title-anim {
    position: relative;
    display: inline-block;
}

.dialogue-title-anim::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 1px;
    background: #D29646;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s ease .4s;
}

.dialogue-title-anim.uk-scrollspy-inview::after {
    transform: scaleX(1);
}

/* ==========================================
   Profile
========================================== */

.profile-section {
    position: relative;
    background:
        linear-gradient(
            rgba(255, 255, 255, .72),
            rgba(255, 255, 255, .72)
        ),
        url("/img/012.jpg") center center / cover no-repeat;
}

.profile-card {
    background: rgba(255, 255, 255, .95);
}

.profile-image img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.profile-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 5px 12px;
    background: #D29646;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.profile-name {
    font-size: var(--fz-md);
    font-weight: 500;
}

.profile-name span {
    font-size: var(--fz-xs);
    font-weight: 400;
}

.profile-data {
    margin-bottom: 25px;
}

.profile-text p:last-child,
.profile-data p:last-child {
    margin-bottom: 0;
}

@media (max-width: 959px) {

    .profile-image {
        max-width: 320px;
        margin: 0 auto 25px;
    }

    .profile-image img {
        height: auto;
    }

}

@media (max-width: 640px) {

    .profile-label {
        margin-bottom: 15px;
    }

    .profile-name {
        margin-bottom: 20px;
    }

    .profile-data,
    .profile-text {
        font-size: 14px;
    }

}
/* ==========================
Page Top
========================== */
.page-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999999;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #004860;
    color: #fff;
    border-radius: 50%;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background .3s ease;
}

.page-top.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.page-top:hover {
    color: #fff;
    background: #D29646;
}

@media (max-width: 959px) {

    .page-top {
        display: flex !important;

        right: 30px;
        bottom: 30px;

        width: 40px;
        height: 40px;
    }

}


/* ==========================
annotation-mark
========================== */
.annotation{
    border-top: 1px solid  var(--color-bg-light);
}

.annotation-mark {
    font-size: var(--fz-xxs);
    color: var(--color-primary);
    text-decoration: none;
    vertical-align: super;
    margin: 0 1px;
}

.annotation-box {
    border: 1px solid var(--color-border);
    padding: 16px 18px;
    background: var(--color-bg-light);
}

.annotation-box p {
    font-size: var(--fz-xxs);
    line-height: 1.8;
    color: var(--color-text-light);
    margin: 0 0 6px;
    display: flex;
    gap: 4px;
}

.annotation-box p:last-child {
    margin-bottom: 0;
}