/* reset----------------------------- */
@charset "utf-8";
html{
    scroll-padding-top: 50px;
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans JP", "Noto Serif JP", serif;
    margin: 0 !important;
}

section, main, footer, h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,p,form,fieldset {
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6 {
    line-height: 1.1;
}
p{
    line-height: 2;
    text-align: justify;
}
li {
    list-style: none;
}

th {
    font-weight: normal;
}

em {
    font-style: normal;
}

sup {
    position: relative;
    height: 0;
    font-size: .46em;
}

article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
    display: block;
}

img {
    width: 100%;
    max-width:100%;
    display: block;
    object-fit: contain;
}
a{
    text-decoration: none;
    color: #FFF;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

main, .l-main {
    flex: 1;
}

.pc_only { display: block; }
.sp_only { display: none; }

@media screen and (max-width: 768px) {
    .pc_only { display: none; }
    .sp_only { display: block; }
}

body .l-header {
    width: 100% !important;
    position: relative !important; 
    top: auto !important;
    left: auto !important;
    background-color: #ffffff !important; 
    z-index: 1000 !important; 
    box-shadow: none !important;
}

.fixed-header {
    width: 100%;
}

/* 修正箇所：最上部フラット配置に伴い、上の不要な浮かせ用隙間（20px）を綺麗にリセット */
.pc_only.fixed-header {
    padding-top: 0px !important; 
}

.l-header_inner {
    width: min(1200px, 94%); 
    margin: 0 auto;
    background-color: #ffffff; 
    padding: 20px 32px !important; /* 上下のパディングをゆったり広げてフラットな品格を演出 */
    border-radius: 0 !important;   /* 角丸を完全にフラット（0）へ変更 */
    box-shadow: none !important;   /* 浮遊の影を完全消去 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* 会社名ロゴの配置エリア */
.l-header_logo {
    white-space: nowrap; 
    flex-shrink: 0; 
}

.l-header_logo a {
    font-family: "Jost", sans-serif; 
    font-size: 24px;
    font-weight: normal;
    color: #3b2d54;
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* メッセージ全体を包むナビゲーション領域 */
.l-header_nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
    margin-left: 40px; 
}

.l-header_nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px; 
}

.l-header_nav-list .menu-item a {
    font-family: "Sawarabi Gothic", "Noto Sans JP", sans-serif; 
    font-size: calc(12px + (14 - 12) * ((100vw - 768px) / (1200 - 768))); 
    font-weight: 600;
    color: #4a4a4a;
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    white-space: nowrap; 
}

.l-header_nav-list .menu-item a:hover {
    opacity: 0.6;
}

/* RECRUIT（線グラデーション） */
.l-header_nav-list .nav-btn--recruit a {
    display: inline-block;
    padding: 10px calc(14px + (28 - 14) * ((100vw - 768px) / (1200 - 768))); 
    border-radius: 100px;
    color: #4a4a4a !important;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent !important;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(90deg, #e2daeb 0%, #e1f3e8 45%, #faf5e2 75%, #faeae5 100%) border-box !important;
    transition: all 0.3s ease;
}

/* CONTACT（ベタ塗りグラデーション） */
.l-header_nav-list .nav-btn--contact a {
    display: inline-block;
    padding: 10px calc(14px + (28 - 14) * ((100vw - 768px) / (1200 - 768))); 
    border-radius: 100px;
    color: #4a4a4a !important;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent; 
    background: linear-gradient(90deg, #e2daeb 0%, #e1f3e8 45%, #faf5e2 75%, #faeae5 100%) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.l-header_nav-list .nav-btn--recruit a:hover,
.l-header_nav-list .nav-btn--contact a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.other-fv,
.p-vision-kv,
.p-business-kv,
.p-recruit-kv,
.p-company-kv,
.p-contact-kv {
    position: relative;
    width: 100%;
    height: 80px !important; 
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
    overflow: hidden;
    transition: height 0.3s ease;
    box-sizing: border-box;
    background: transparent !important; 
}

.other-fv_inner,
.p-vision-kv_inner,
.p-business-kv_inner,
.p-recruit-kv_inner,
.p-company-kv_inner,
.p-contact-kv_inner {
    position: relative;
    z-index: 2; 
    width: min(1200px, 90%);
    margin: 0 auto;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}


.p-vision-kv_title,
.p-business-kv_title,
.p-recruit-kv_title,
.p-company-kv_title,
.p-contact-kv_title {
    font-family: "Sawarabi Gothic", "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: #4a4a4a;
    letter-spacing: 0.1em;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.p-personal-kv_title,
.p-privacy-kv_title {
    font-family: "Sawarabi Gothic", "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 600;
    color: #4a4a4a;
    letter-spacing: 0.1em;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.other-fv_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

body .sp_only.fixed-header {
    position: relative !important; 
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background-color: #ffffff !important; 
    border-bottom: 1px solid #f0f0f0;
    z-index: 150 !important; 
    box-shadow: none !important;
}

.sp_only .header-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sp_only .header_logo_link {
    font-family: "Jost", sans-serif; 
    font-size: 20px;
    font-weight: normal;
    color: #3b2d54;
    text-decoration: none;
}

/* 右側のボタン ＆ ハンバーガーの特設コンテナ */
.sp_only_controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* スマホ用CONTACTボタンのスタイリング */
.sp-header-btn {
    display: inline-block;
    padding: 7px 40px; 
    border-radius: 100px;
    color: #4a4a4a !important;
    font-size: 16px; 
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(90deg, #e2daeb 0%, #e1f3e8 45%, #faf5e2 75%, #faeae5 100%) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    white-space: nowrap; 
    transition: all 0.3s ease;
}

.sp-header-btn:hover {
    opacity: 0.8;
}

/* ハンバーガー三本線アニメーション */
.sp_only .hamburger_menu {
    width: 30px;
    height: 24px;
    position: relative; 
    cursor: pointer;
    z-index: 200; 
}

.sp_only .hamburger_menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #3b2d54;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.sp_only .hamburger_menu span:nth-child(1) { top: 0; }
.sp_only .hamburger_menu span:nth-child(2) { top: 11px; }
.sp_only .hamburger_menu span:nth-child(3) { top: 22px; }

.sp_only .hamburger_menu.is-active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.sp_only .hamburger_menu.is-active span:nth-child(2) {
    opacity: 0;
}
.sp_only .hamburger_menu.is-active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* 右右上寄せモーダル型メニュー */
.sp_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 130; 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sp_nav.is-active {
    opacity: 1;
    pointer-events: auto;
}

.sp_nav_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.sp_nav_list {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: auto;
    max-height: 100vh;
    background-color: #dcebf3;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    list-style: none;
    margin: 0;
    padding: 100px 24px 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.sp_nav.is-active .sp_nav_list {
    transform: translateX(0);
}

.sp_nav_list .menu-item a {
    font-family: "Sawarabi Gothic", "Noto Sans JP", sans-serif; 
    font-size: 16px;
    font-weight: 500;
    color: #4a4a4a;
    text-decoration: none;
    letter-spacing: 0.05em;
    display: block;
    padding: 5px 10px;
}

.sp_nav_list .nav-btn--contact {
    display: none !important;
}

/* 下層FVのスマホ時余白緊縮 */
@media screen and (max-width: 1024px) {
    .l-header_inner {
        padding: 12px 24px; 
    }
    .l-header_nav {
        margin-left: 20px; 
    }
    .other-fv,
    .p-vision-kv,
    .p-business-kv,
    .p-recruit-kv,
    .p-company-kv,
    .p-contact-kv {
        height: 60px !important; 
    }
    .other-fv h1,
    .p-vision-kv_title,
    .p-business-kv_title,
    .p-recruit-kv_title,
    .p-company-kv_title,
    .p-contact-kv_title {
        font-size: 14px;
    }
}

body {
    padding-top: 0 !important;
}


body header.is-scrolled, 
body .l-header.is-scrolled, 
body #header.is-scrolled, 
body .header.is-scrolled,
body #masthead.is-scrolled,
body .site-header.is-scrolled {
    position: fixed !important;    /* 修正箇所：通常配置から固定配置（fixed）に戻して画面への追従を有効化 */
    top: 20px !important;          /* 画面最上部から20px浮かせて高雅な浮遊感を演出 */
    left: 50% !important;          /* 画面の横中央を基準線に指定 */
    transform: translateX(-50%) !important; /* 左右ジャスト真ん中にロック */
    
    /* 外ふちを完全に丸くし、横幅をスマートに引き締めるカプセル化デザイン */
    width: min(1200px, 92%) !important; 
    margin: 0 !important;          /* fixed配置に伴い、その場変形用のmarginは0リセット */
    border-radius: 100px !important;    /* 両端を完全に丸めるカプセルエフェクト */
    padding: 0px 0 !important;         /* 追従時はスタイリッシュに上下幅を少し引き締める */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important; /* 高級感あふれる極薄の立体影 */
}

/* 修正箇所：ログイン時のWordPress管理バー（黒い上部バー）の裏にヘッダーが潜り込んで文字が隠れるのを防ぐための自動押し下げ位置補正 */
.admin-bar body header.is-scrolled,
.admin-bar body .l-header.is-scrolled,
.admin-bar body #header.is-scrolled,
.admin-bar body .header.is-scrolled,
.admin-bar body #masthead.is-scrolled,
.admin-bar body .site-header.is-scrolled {
    top: 52px !important; /* 管理バーの高さ32px ＋ 浮かせ分20px を自動加算 */
}

@media screen and (max-width: 768px) {
    body header.is-scrolled, 
    body .l-header.is-scrolled, 
    body #header.is-scrolled, 
    body .header.is-scrolled,
    body #masthead.is-scrolled,
    body .site-header.is-scrolled {
        position: fixed !important;    /* 画面上部にしっかり固定追従 */
        top: 0 !important;             /* 画面の最上端（0位置）に吸着 */
        left: 0 !important;
        transform: none !important;
        width: 100% !important; 
        margin: 0 !important;
        
        /* PC版の変形デザイン（角丸や影）がスマホに干渉するのを防ぐ最小限のリセットのみ指定 */
        border-radius: 0 !important;   
        box-shadow: none !important;   

    }
    
    /* スマホ版ログイン時のWordPress管理バー表示時の追従位置補正 */
    .admin-bar body header.is-scrolled,
    .admin-bar body .l-header.is-scrolled,
    .admin-bar body #header.is-scrolled,
    .admin-bar body .header.is-scrolled,
    .admin-bar body #masthead.is-scrolled,
    .admin-bar body .site-header.is-scrolled {
        top: 46px !important; 
    }
}

header .menu-item a,
.sp_nav_list a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important; 
    vertical-align: middle !important;

    min-width: 90px !important; 
    transition: opacity 0.3s ease !important;
}

header .menu-item a:hover,
.sp_nav_list a:hover {
    opacity: 1 !important;
}

/* 通常時の英語テキスト */
.nav-text-en {
    display: block !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease !important;
}

/* ホバー時に下からせり上がってくる「ドット＋日本語」の器 */
.nav-text-ja {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, 120%) !important; 
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease !important;

}

/* 【ホバー連動】クロス移動命令 */
header .menu-item a:hover .nav-text-en,
.sp_nav_list a:hover .nav-text-en {
    transform: translateY(-120%) !important;
    opacity: 0 !important;
}

header .menu-item a:hover .nav-text-ja,
.sp_nav_list a:hover .nav-text-ja {
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
}

/* ドット（・）の装飾 */
.nav-dot {
    font-size: 14px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important; /* 2行の文字と干渉しないよう隙間をスリムに最適化 */
    color: #333333 !important;     
    text-align: center !important;
}

/* 下部の入れ替わり日本語テキスト */
.nav-ja-txt {
    font-size: 11px !important;    
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 700 !important;   
    
    line-height: 1.35 !important; 
    
    color: #333333 !important;     
    text-align: center !important;
    letter-spacing: 0.02em !important;
}