@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* =============================================================
   カラートークン（Phase 0 / 2026-06 サイト改修）
   旧パレット: ベージュ #FFF8ED / 紺 #394590 / 中間 #b9b6c4
   方針: リクルートをベンチマークに白基調＋青アクセント。
         背景は薄い青グレー。角丸(--radius)はニューメディらしさとして維持。
   ※色変更は原則この :root だけで行う（個別hexの直書きは避ける）
   ============================================================= */
:root {
    --bg:      #eef2f8; /* 背景: 旧ベージュ #FFF8ED → 薄い青グレー（実装中に微調整可） */
    --surface: #ffffff; /* カード等の面（白基調） */
    --accent:  #394590; /* アクセント: ネイビー（ロゴ準拠・維持） */
    --text:    #424242; /* 本文 */
    --muted:   #b9b6c4; /* 中間グレー */
    --border:  #bebebe; /* 罫線・境界 */
    --radius:  20px;    /* 角丸の基準 */
}
/* 共通 */
body {
    color: var(--text);
    margin: 0px;
    padding: 0px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
main {
    padding-top: 55px;
}

.base {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
/* FV など中央寄せ固定幅を適用しない全幅寄りコンテナ */
.base--fluid {
    padding-left: 10%;
    padding-right: 10%;
}

img {
    width: 100%;
    height: auto;
}
th {
    font-weight: 500;
}
a {
    text-decoration: none;
}

h2 {
    font-weight: 500;
    color: var(--accent);
}
h3 {
    font-weight: 500;
}

.maru {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.min {
    font-family: 'Noto Serif JP', serif;
}
.fcw {
    color: #fff;
}
.fck {
    color: var(--accent);
}
.fcb {
    color: #C5AF98;
}
.fct {
    color: var(--text);
}
.ft12 {
    font-size: 12px;
}
.ft14 {
    font-size: 14px;
}
.ft15 {
    font-size: 15px;
}
.ft16 {
    font-size: 16px;
}
.ft17 {
    font-size: 17px;
}
.ft20 {
    font-size: 20px;
}
.ft30 {
    font-size: 30px;
}
.ft36 {
    font-size: 36px;
}
.lh25 {
    line-height: 25px;
}
.lh30 {
    line-height: 30px;
}
.lh35 {
    line-height: 35px;
}
.lh40 {
    line-height: 40px;
}
.lh51 {
    line-height: 51px;
}
.pb25 {
    padding-bottom: 25px;
}
.pb50 {
    padding-bottom: 50px;
}
.mb25 {
    padding-bottom: 25px;
}
.mb50 {
    padding-bottom: 50px;
}
.mt0 {
    margin-top: 0px;
}
.m0 {
    margin: 0;
}
.m16 {
    margin: 16px 0;
}
.pt15 {
    padding-top: 15px;
}
.pt25 {
    padding-top: 25px;
}
.pt50 {
    padding-top: 50px;
}
.tc {
    text-align: center;
}

.normal {
    font-weight: 400;
}
.bold {
    font-weight: 500;
}

.js-scroll {
    opacity: 0;
    transition: opacity 100ms;
}
.js-scroll.scrolled {
    opacity: 1;
}

.scrolled.fade-in {
    animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
    animation: fade-in-bottom 1s ease-in-out both;
}
.scrolled.fade-in-bottom.delay {
    animation: fade-in-bottom 1s ease-in-out both 0.3s;
}

.scrolled.slide-left {
    animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
    animation: slide-in-right 1s ease-in-out both;
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.pmusk {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: -5px;
}
.musk > div {
    background-color: #fff;
    position: absolute;
    top: 0;
    z-index: 2;
    width: 12.5%;
    height: 100%;
}
.loading.pmusk {
    margin: 0px;
}
.loading .musk > div {
    background-color: var(--accent);
    position: absolute;
    top: 0;
    z-index: 2;
    width: 12.5%;
    height: 100%;
}

.pmusk.scrolled .musk > div {
    animation: anima_slide 0.5s cubic-bezier(0.46, 0.26, 0.15, 0.89) 1 forwards;
}
.pmusk.loaded .musk > div {
    animation: anima_slide 0.5s cubic-bezier(0.46, 0.26, 0.15, 0.89) 1 forwards;
}
.loading.loaded.pmusk .musk > div {
    animation: anima_slide 2s cubic-bezier(0.46, 0.26, 0.15, 0.89) 1 forwards;
}

.musk > div:nth-of-type(1) {
    left: 0;
    animation-delay: 0.1s !important;
}
.musk > div:nth-of-type(2) {
    left: 12.5%;
    animation-delay: 0.2s !important;
}
.musk > div:nth-of-type(3) {
    left: 25%;
    animation-delay: 0.3s !important;
}
.musk > div:nth-of-type(4) {
    left: 37.5%;
    animation-delay: 0.4s !important;
}
.musk > div:nth-of-type(5) {
    left: 50%;
    animation-delay: 0.5s !important;
}
.musk > div:nth-of-type(6) {
    left: 62.5%;
    animation-delay: 0.6s !important;
}
.musk > div:nth-of-type(7) {
    left: 75%;
    animation-delay: 0.7s !important;
}
.musk > div:nth-of-type(8) {
    left: 87.5%;
    animation-delay: 0.8s !important;
}

@keyframes anima_slide {
    0% {
        top: 0;
    }
    100% {
        top: -100%;
    }
}


.loading {
    width: 100vw;
    height: 100vh;
    background-color: #fff;

  /* 以下のコードを追加 */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.loading.loaded {
    opacity: 0;
    visibility: hidden;
    transition: all 2s ease-in-out 2s;
}

.relative {
    position: relative;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shadow {
    transition: all .2s ease-in-out;
}
.shadow:hover {
    box-shadow: 2px 2px 2px rgba(153, 153, 153, 0.7);
    transform: translateY(-2px);
}

.textblur.scrolled {
    animation: blur 2s 0s ease both;
}

@keyframes blur {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* top */
.brandcopy {
    position: fixed;
    bottom: 40%;
    left: 10%;
    z-index: 1;
    width: 40%;
}
.parallax {
    /* 画像の高さと幅の設定 */
    overflow: hidden;
    height: 100vh;
    width: 100%;
    /* パララックス効果 */
    background-image: url(/images/firstview_pc.webp);
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}
.carousel {
    background-color: #fff;
    border-radius: 20px;
} 
.article {
    padding: 20px;
}
.carousel  .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
} 
.carousel .label1 {
    background-color: var(--accent);
    color: #fff;
    padding: 5px;
    display: inline-block;
    border-radius: 10px;
}

.carousel .label2 {
    background-color: rgb(211, 211, 211);
    padding: 5px;
    display: inline-block;
    border-radius: 10px;
}

.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about img {
    width: 40%;
}
.about div {
    width: 50%;
}

.panel-parent {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 330px;
    column-gap: 5%;
    row-gap: 10px;
    perspective:600px;
}
.panel {
    width: 45%;
    position: relative;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0px 0px 20px 0px;
}
.panel:hover {
    transform:rotateZ(15deg) translate(20%, -20%) rotateX(15deg) scale(0.9);
}

.panel .border {
    border-bottom: 1px solid #fff;
    width: 40%;
    padding: 5px 0px;
    text-align: center;
    position: absolute;
    left: 30%;
}

.panel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    border-radius: 0px 0px 30px 0px;
    z-index:2;
    overflow:hidden;
    height:100%;
    opacity:.6;
}

.panel div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
}

.topnews {
    background-color: var(--bg);
}

.news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.news-title {
    width: 80%;
}
.news-title .label1 {
    background-color: var(--accent);
    color: #fff;
    padding: 5px;
    margin-top: 20px;
    display: inline-block;
}

.news-title .label2 {
    background-color: rgb(211, 211, 211);
    padding: 5px;
    margin-top: 20px;
    display: inline-block;
}
.news-img {
    width: 20%;
    overflow: hidden;
    border: 1px var(--border) solid;
    border-radius: 20px;
}
.news-img img{
    object-fit: cover;
    object-position: top;
    transform:scale(1.1);
    transition:transform 0.3s;
}
.news:hover .news-img img {
    transform:scale(1.3);
}

.news-page img {
    border: 1px solid var(--border);
    border-radius: 20px;
}

/* 暖簾 */
.custom-shape-divider-bottom-1701171166 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1701171166 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.custom-shape-divider-bottom-1701171166 .shape-fill {
    fill: #FFFFFF;
}

.blend {
    mix-blend-mode: multiply;
}

.bgkon {
    background-color: var(--accent);
    height: 70vh;
    padding-top: 20px;
    margin-top: -20px;
}
.subbgkon {
    background-color: var(--accent);
    height: 30vh;
    padding-top: 20px;
    margin-top: -20px;
}


/* ページトップ */
.pagetop > img {
    height: 60vh;
    object-fit: contain;
    background-position: center;
}
.pagetop > img.cover {
    height: 60vh;
    object-fit: cover;
    background-position: center;
}
.pagetop > img.cover.top {
    height: 60vh;
    object-fit: cover;
    object-position: 50% 0px;
}

.pagetop .custom-shape-divider-bottom-1701171166 .shape-fill {
    fill: var(--bg);
}

/* ヘッダー */
.logo {
    display: flex;
    align-items: center;
    padding-left: 20px;
}
.logo img {
    height: 50px;
    width: auto;
}
/* スクリーンリーダー専用（視覚非表示・SEO/a11y用 h1 等） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* caret-right アイコン（旧 FontAwesome の置換インラインSVG） */
.caret-icon {
    display: inline-block;
    vertical-align: -0.08em;
    margin: 0 0.15em;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    z-index: 1000;
    background: #fff; /* 背景色 */
}
.global_menu { /* メニュー全体のスタイル */
    color: var(--text); /* 文字色 */
    text-align: center;
    height: fit-content;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.global_menu ul {
    margin: 0;
}
.global_menu li {
    display: inline-block;
}

.global_menu a { /* 各項目のスタイル */
    display: inline-block;
    padding: 10px 30px;
    color: var(--text);
    height: fit-content;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    cursor: pointer; /* 「企業情報」はhref無しでも指カーソル（ホバートリガー） */
}

.menu:hover > a {
    background: var(--accent);
    color: #fff;
}

.child_menu > li > a { /* 子項目のスタイル */

}
.child_menu > li > a:hover { /* 子項目のスタイル（ホバー時） */
    background: var(--accent);
}

.child_menu { /* 下層メニューのスタイル */
    width: 100vw;
    position: absolute;
    top: 52px; /* 親項目の直下に配置 */
    left: 0;
    padding: 30px;
    color: #fff; /* 文字色 */
    background: var(--accent); /* 背景色 */
    visibility: hidden; /* 下層メニューを非表示 */
    opacity: 0; /* 不透明度を最小に */
    transition: 1s opacity; /* アニメーション設定 */
}

.menu:hover .child_menu { /* 下層メニューのスタイル（親項目ホバー時） */
    opacity: 1; /* 不透明度を最大に */
    visibility: visible; /* 下層メニューを表示 */
}

.child_menu a {
    color: #fff;
}

.child_menu li:hover a {
    background-color: var(--muted);
}

/* ハンバーガーメニュー */
.menu-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: var(--text);
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
    transition: 0.3s;
}
.menu-btn span:after {
    top: 8px;
    transition: 0.3s;
}
#gnav-input:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#gnav-input:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#gnav-input:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#gnav-btn {
    font-size: 30px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
}
#gnav-input {
    display: none;
}
#gnav-input:checked ~ #gnav-content {
    top: 0;
}
#gnav-content {
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 10;
    transition: 0.3s;
    width: 100%;
    background-color: var(--accent);
}
#gnav-content > a > div{
    height: 60px;
    background-color: #fff;
}
.humb-menu__title {
    padding: 1.5rem;
}
#gnav-content label {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    border-bottom: 0.5px solid var(--border);
    color: #fff;
}
.humb-menu input {
    display: none;
}
.humb-menu .accshow {
    height: 0;
    overflow: hidden;
}
.humb-menu .accshow p {
    padding: 1.5rem;
}
.humb-menu .accshow a {
    display: inline-block;
    width: 100%;
    padding: 20px 1.5rem;
    border-top: 0.5px solid var(--border);
}
.humb-menu .cssacc:checked + .accshow {
    height: auto;
}
.humb-menu a {
    color: #fff;
    width: 100%;
    display: inline-block;
}

/* アコーディオン */
.acd-check {
    display: none;
}
.acd-label {
    background: var(--accent);
    color: #fff;
    display: block;
    margin-bottom: 1px;
    padding: 10px;
    position: relative;
}
.acd-label:after {
    background: var(--accent);
    color: #fff;
    box-sizing: border-box;
    content: '+';
    display: block;
    height: 65px;
    padding: 22px 20px;
    position: absolute;
    right: 0;
    top: 0px;
}
.acd-content {
    background-color: #fff;
    display: block;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: .5s;
    visibility: hidden;
}
.acd-content a {
    display: inline-block;
    width: 100%;
    padding: 20px 1.5rem;
    border-bottom: 0.5px solid var(--border);
    color: var(--accent);
}
.acd-check:checked + .acd-label:after {
    content: 'ー';
}
.acd-check:checked + .acd-label + .acd-content {
    height: 320px; /* 企業情報の子項目5つ分（会社概要/パーパス/ビジョン/代表者メッセージ/関連企業及びサービス）各64px */
    opacity: 1;
    visibility: visible;
}

/* サブページ共通 */
.subcontainer {
    background-color: var(--bg);
    padding-top: 50px;
    padding-bottom: 50px;
}
.paper {
    background-color: #fff;
    padding: 40px 10%;
    border-radius: 10px;
}
/* 見出しの下に短い下線 */
.heading {
    position: relative;
}
.heading::before {
    background-color: var(--accent);
    bottom: -16px;
    content: "";
    height: 3px;
    left: 25px;
    position: absolute;
    transform: translateX(-50%);
    width: 50px;
}

/* 会社概要 */
.profilelink {
    text-decoration: none;
    color: var(--accent);
}
table.profile {
    width: 100%;
    border-collapse:  collapse;     /* セルの線を重ねる */
}
table.profile tbody {
    width: 100%;
}
table.profile tr {
    width: 100%;
}
table.profile th {
    width: 30%;
    border-bottom: 2px solid var(--accent);
    text-align: left;
    vertical-align: top;
    padding: 20px 20px 20px 0px;
}
table.profile td {
    width: 70%;
    border-bottom: 2px solid var(--muted);
    vertical-align: top;
    padding: 20px 20px 20px 0px;
}
table.profile td p {
    margin: 0;
    padding: 0;
}
/* サービス */
.card {
    border-radius: 20px;
    margin-bottom: 20px;
}
.card i {
    padding-right: 5px;
}
.card > a  {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.card > a > div:nth-child(2) > p  {
    width: fit-content;
    padding-bottom: 5px;
    background: 
    linear-gradient(currentColor 0 0) 
    0 100% /var(--d, 0) 1px no-repeat;
    transition: 0.5s;
}
.card > a:hover > div:nth-child(2) > p  {
    color: var(--accent);
    --d: 100%;
}
.card > a > div:nth-child(1) {
    width: 30%;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}
.card > a > div:nth-child(1) > img {
    object-fit: cover;
    transform:scale(1);
    transition:transform 0.3s;
}
.card > a:hover > div:nth-child(1) > img {
    transform:scale(1.3);
}
/* /service のカードロゴは 4:3 枠＋アスペクト維持（横長ロックアップ等が歪まないよう contain）2026-06-11 */
.service-cards .card > a > div:nth-child(1) {
    aspect-ratio: 4 / 3;
}
.service-cards .card > a > div:nth-child(1) > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    box-sizing: border-box;
}
.card > a > div:nth-child(2) {
    width: 70%;
    padding: 20px;
}
.card > a > div:nth-child(2) > div {
    padding-top: 20px;
}
.card p {
    margin: 0;
    padding: 0;
}

/* フッター */
footer {
    /* D-1（2026-06-08）: 旧SNSエリア撤去で詰まって見えるためゆとりを確保 */
    padding: 64px 20px 44px;
    background-color: var(--accent);
    color: #fff;
}
footer img {
    width: 20%;
    height: auto;
}
footer a {
    color: #fff;
    transition: 0.5s all;
    cursor: pointer;
}
footer a:hover {
    opacity: 0.4;
}
/* D-1（2026-06-08）: フッター各ブロック間のゆとり。.pt25 はフッター内のみ増量（グローバルには影響させない） */
footer .pt25 {
    padding-top: 32px;
}
footer hr {
    width: 100%;
    max-width: 880px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 32px auto;
}
footer .copyright {
    margin-top: 8px;
}
/* 共通のアイコンエフェクト */
.socialEffect__link {
    margin: .3em;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #bfbfbf;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.1);
    transition: transform ease-out 0.2s;
}

.socialEffect__box li {
    display: inline-block;
}
/* LINE用アイコン設定 */
.icon-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transform: scale(0.9);
}
.fab.fa-line {
    display: inline-block;
    color: #fff;
}
.icon-line:hover {
    background: #06C755;
    transform: scale(0.9);
}
/* インスタ用アイコン設定 */
.icon-instagram::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transform: scale(0.9);
}
.fab.fa-instagram {
    display: inline-block;
    color: #fff;
}
.icon-instagram:hover {
    background: radial-gradient(
        circle farthest-corner at 32% 106%,
        rgb(255, 225, 125) 0%,
        rgb(255, 205, 105) 10%,
        rgb(250, 145, 55) 28%,
        rgb(235, 65, 65) 42%,
        transparent 82%
    ),
    linear-gradient(135deg, rgb(35, 75, 215) 12%, rgb(195, 60, 190) 58%);
    transform: scale(0.9);
}
.column30 {
    column-gap: 30px;
}
.row20 {
    row-gap: 20px;
}
/* vision */
.position {
    width: 30%;
}
.vision {
    width: 60%;
    margin: 0 auto;
}

/* contact */
table.profile span {
    font-size: 10px;
    margin-left: 10px;
    padding: 5px;
    font-weight: 400;
    background-color: var(--accent);
    border-radius: 20px;
    color: #fff;
}

table.profile input,
table.profile select {
    width: 100%;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 5px;
}
table.profile select {
    background-color: #fff;
    padding: 0 8px;
}
table.profile textarea {
    width: 100%;
    height: 200px;
    border: 1px solid var(--border);
    border-radius: 5px;
}

button {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: fit-content;
	margin: 25px auto;
	padding: 1rem 4rem;
	color: #fff;
	background: var(--accent);
	position: relative;
    transition: 0.3s ease-in-out;
    border: none;
    border-radius: 5px;
}
button:hover {
    background: #fff;
    color: var(--accent);
}
button:before, button:after {
  box-sizing: inherit;
  content: "";
  position: absolute;
  border: 2px solid transparent;
  width: 0;
  height: 0;
}
button:before {
  top: 0;
  left: 0;
}
button:after {
  bottom: 0;
  right: 0;
}
button:hover:before, button:hover:after {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
button:hover:before {
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}
button:hover:after {
  border-bottom-color: var(--accent);
  border-left-color: var(--accent);
  transition: border-color 0s ease-out 0.2s, width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
}

.btncontent {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.btncontent button {
    width: 30%;
    height: 50px;
}

.error-message {
    font-size: 14px;
    color: red;
}

/* contact: ご用件直下の注意書き */
table.profile .form-note {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text);
}

.line {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 50px;
}
.line > img {
    width: 20%;
}
.line > a > img {
    width: 60%;
}

/* マーケティング */
.main {
    background-color: #C5AF98;
    color: #fff;
    padding: 5px;
    border-radius: 10px;
}
.mainbb {
    margin-top: 16px;
    border-bottom: 2px #C5AF98 solid;
    width: fit-content;
    padding-bottom: 5px;
}
.marketingflex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.marketingflex img {
    height: 64px;
    max-width: 102px;
}
.sub {
    background-color: var(--accent);
    color: #fff;
    padding: 5px;
    border-radius: 10px;
}
.subbb {
    margin-top: 16px;
    border-bottom: 2px var(--accent) solid;
    width: fit-content;
    padding-bottom: 5px;
}
table.plan  {
    width: 100%;
    border-collapse: collapse;
}
table.plan th, table.plan td {
    border: solid 1px var(--text);
}
.plan th {
    text-align: left;
    font-weight: normal;
    width: 25%;
    background-color: var(--bg);
    padding: 10px 0 10px 10px;
    
}
.plan td {
    text-align: center;
    width: 25%;
    padding: 10px;
}
.plan1 {
    background-color: var(--accent);
    color: #fff;
    font-weight: bold;
}
.plan2 {
    background-color: #27a4f5;
    color: #fff;
    font-weight: bold;
}
.plan3 {
    background-color: #C5AF98;
    color: #fff;
    font-weight: bold;
}

.adon {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 25px;
    column-gap: 0.3%;
}
.adoncontent {
    width: 33%;
}
.adoncontent .top {
    text-align: center;
}
.adoncontent .top img {
    height: 64px;
    max-width: 102px;
}
.adoncontent .bottom .row {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.row img {
    width: 20px;
    height: 20px;
    padding-right: 5px;
}
.adon h2 {
    margin-top: 0px;
}
.adon p {
    margin: 0px;
}

@media screen and (max-width: 480px) {
    /* 480px以下に適用されるCSS（スマホ用） */
    .pc {
        display: none;
    }
    .parallax {
        /* 画像の高さと幅の設定 */
        height: 500px;
        width: 100%;
        /* パララックス効果 */
        background-image: url(/images/firstview_sp.webp);
        background-attachment: fixed;
        background-position: 0px 0%;
        background-size: cover;
        background-repeat: no-repeat;
        transform: translateZ(0);
    }
    .base,
    .base--fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    .pagetop > img {
        height: 30vh;
        object-fit: contain;
        background-position: center;
    }
    footer img {
        width: 60%;
        height: auto;
    }
    .wrap {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 70%;
        margin: 0 auto;
    }
    .wrap > a {
        width: 40%;
    }
    .card > a  {
        flex-wrap: wrap;
        width: 100%;
    }
    .card > a > img {
        width: 100%;
    }
    .card > a > div {
        width: 100%;
    }
    .news {
        flex-wrap: wrap;
    }
    .news-title {
        width: 100%;
        padding-bottom: 20px;
    }
    .news-img {
        width: 100%;
    }
    .line {
        flex-wrap: wrap;
        row-gap: 30px;
    }
    .line > img {
        width: 60%;
    }
    .line > a {
        width: 100%;
        text-align: center;
    }
    .line > a > img {
        width: 50%;
    }
    .about {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 30px;
    }
    .about img {
        width: 90%;
    }
    .about div {
        width: 90%;
    }
    .ft36 {
        font-size: 30px;
    }
    .panel .border {
        top: 45%;
    }
    .card > a > div:nth-child(1) {
        width: 100%;
    }
    .card > a > div:nth-child(2) {
        width: 100%;
    }
    .bgkon {
        height: 60vh;
    }
    .btncontent {
        flex-wrap: wrap;
        justify-content: center;
    }
    .btncontent button {
        width: 90%;
        white-space: nowrap;
        text-align: center;
    }
    .ftpanel {
        font-size: 20px;
    }
    .adon {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .adoncontent {
        width: 100%;
    }
    .position {
        width: 90%;
    }
    .vision {
        width: 100%;
    }
    .carousel {
        max-height: 320px;
    } 
}

@media screen and (min-width: 481px) {
    /* 481px以上に適用されるCSS（タブレット用） */
    .sp {
        display: none;
    }
    .panel-parent {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        height: 460px;
        column-gap: 5%;
        row-gap: 30px;
    }
    .panel {
        width: 30%;
        border-radius: 0px 0px 30px 0px;
    }
    .panel img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        object-fit: cover;
        z-index: 2;
        border-radius: 0px 0px 30px 0px;
        overflow:hidden;
        height:100%;
        opacity:.6;
    }
    .panel div {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        z-index: 2;
        text-align: center;
    }
    .ftpanel {
        font-size: 30px;
        margin-top: 0;
    }
    .ftpc {
        font-size: 18px;
        line-height: 50px;
    }
}
@media screen and (min-width: 960px) {
    /* 960px以上に適用されるCSS（PC用） */

}

/* =============================================================
   Phase 1: トップページ刷新（FVスライダー / サービスグリッド / ニュースtext）
   ※色は :root トークンを使用。角丸は --radius を採用。
   ============================================================= */

/* --- FV スライドショー（左下テキストパネル＋進捗バー / リクルート風） --- */
.fv-slider {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: var(--radius);
    overflow: hidden;
}
.fvSwiper {
    width: 100%;
    height: 100%;
}
.fv-slide {
    position: relative;
    width: 100%;
    height: 560px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* 画像背景スライド（基底の cover を継承。表示基準は下端＝街並み等の画像下部を見切れさせない／読込前のフォールバック色） */
.fv-slide--image {
    background-color: #dde6f3;
    background-position: center bottom;
}
/* テキストは左下パネルにのみ重ねる（画像全体にはかぶせない） */
.fv-slide__copy {
    position: absolute;
    left: 0;
    bottom: 13%;
    max-width: min(540px, 80%);
    padding: 26px 34px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}
.fv-slide__title {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}
.fv-slide__sub {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}
/* 左下：スライド進捗（自動再生の残り時間をリアルタイム表示） */
.fv-progress {
    position: absolute;
    left: 0;
    bottom: 6%;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 34px;
    color: #fff;
}
.fv-progress__num {
    font-size: 13px;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.fv-progress__cur {
    font-size: 16px;
}
.fv-progress__track {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    overflow: hidden;
}
.fv-progress__bar {
    display: block;
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: 999px;
    transition: width 0.12s linear;
}

/* --- 「もっと見る」リンク --- */
.morelink {
    display: inline-block;
    margin-top: 20px;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}
.morelink:hover {
    border-bottom-color: var(--accent);
}
.morelink .caret-icon {
    color: var(--accent);
}
.morelink i {
    padding-left: 6px;
}

/* --- サービス ロゴグリッド --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}
.service-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    color: var(--text);
    transition: all 0.2s ease-in-out;
}
.service-grid__item:hover {
    box-shadow: 2px 6px 16px rgba(57, 69, 144, 0.18);
    transform: translateY(-3px);
}
.service-grid__logo {
    height: 84px; /* 既存比 約1.5倍 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.service-grid__logo img {
    width: auto;
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}
.service-grid__title {
    margin: 0 0 8px;
    color: var(--accent);
}
.service-grid__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

/* --- ニュース テキストリスト（最新5件・画像なし） --- */
.topnews-list {
    margin: 20px 0;
}
.news-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 6px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: 0.2s;
}
.news-text:hover {
    color: var(--accent);
}
.news-text__date {
    color: var(--accent);
    font-weight: 500;
    white-space: nowrap;
}
.news-text__cat {
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.news-text__cat--sub {
    background: var(--muted);
}
.news-text__title {
    flex: 1 1 60%;
}

/* --- Phase 1 スマホ調整 --- */
@media screen and (max-width: 480px) {
    .fv-slider,
    .fvSwiper,
    .fv-slide {
        height: 360px;
    }
    .fv-slide__copy {
        bottom: 16%;
        padding: 16px 20px;
        max-width: 88%;
    }
    .fv-slide__title {
        font-size: 19px;
    }
    .fv-slide__sub {
        font-size: 12px;
    }
    .fv-progress {
        bottom: 7%;
        padding-left: 20px;
    }
    .fv-progress__track {
        width: 100px;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .service-grid__logo {
        height: 64px;
    }
    .service-grid__logo img {
        max-height: 64px;
    }
    .news-text__title {
        flex-basis: 100%;
    }
}

/* =============================================================
   Phase 2: サブページ共通化（シンプルヘッダー / 会社情報トップ）
   ============================================================= */
html {
    scroll-behavior: smooth;
}

/* サブページ共通ヘッダー（大型画像/のれんなし・白基調＋薄い青グレー） */
.subpagehead {
    background: var(--bg);
    padding: 64px 0 44px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.subpagehead__en {
    margin: 0;
    color: var(--accent);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.subpagehead__jp {
    margin: 8px 0 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
}

/* アンカー遷移時に固定ヘッダー分のオフセットを確保 */
.csection {
    scroll-margin-top: 80px;
}

/* 代表者メッセージ */
.ceo-message {
    max-width: 760px;
    margin: 24px 0 0;
}
.ceo-message__body {
    line-height: 2;
    color: var(--text);
    margin: 0 0 20px;
}
.ceo-message__name {
    text-align: right;
    color: var(--accent);
    font-weight: 700;
    margin: 0;
}

@media screen and (max-width: 480px) {
    .subpagehead {
        padding: 48px 0 32px;
    }
    .subpagehead__en {
        font-size: 26px;
    }
}

/* =============================================================
   Phase 3: ニュース（カテゴリのタブ / ページネーション）
   ============================================================= */
.news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.news-tab {
    padding: 10px 22px;
    color: var(--text);
    font-weight: 500;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: 0.2s;
}
.news-tab:hover {
    color: var(--accent);
}
.news-tab.is-active {
    color: var(--accent);
    background: var(--surface);
    border-color: var(--border);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.pagination__item {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-weight: 500;
    transition: 0.2s;
}
.pagination__item:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination__item.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pagination__item.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* =============================================================
   Recruit寄せ: セクション見出し（左寄せ EN + JP）
   ============================================================= */
.sec-head {
    margin-bottom: 28px;
}
.sec-head__en {
    margin: 0;
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent);
    line-height: 1.2;
}
.sec-head__jp {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}
@media screen and (max-width: 480px) {
    .sec-head__en {
        font-size: 36px;
    }
}

/* サービス：ロゴのみ横並び（小・Recruit寄せ） */
.service-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px 36px;
    margin: 8px 0 24px;
}
.service-logos__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 117px;
    transition: 0.2s;
}
.service-logos__item img {
    width: auto;
    max-width: 338px;
    max-height: 117px;
    object-fit: contain;
}
.service-logos__item:hover {
    opacity: 0.65;
    transform: translateY(-2px);
}
@media screen and (max-width: 480px) {
    .service-logos {
        gap: 20px 24px;
        justify-content: center;
    }
    .service-logos__item {
        height: 90px;
    }
    .service-logos__item img {
        max-height: 90px;
        max-width: 248px;
    }
}

/* =============================================================
   FV: 人物写真を使わないブランドヒーロー（CSSグラフィック）
   ============================================================= */
.fv-slide--brand {
    background: linear-gradient(120deg, #ffffff 0%, #eaf0f8 55%, #dde6f3 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.fv-slide--brand::before { /* 右上の淡いネイビーの光 */
    content: "";
    position: absolute;
    right: -8%;
    top: -35%;
    width: 56%;
    height: 170%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 69, 144, 0.13), rgba(57, 69, 144, 0) 70%);
    z-index: 1;
}
.fv-slide--brand::after { /* 右下のアクセント円 */
    content: "";
    position: absolute;
    right: 9%;
    bottom: -28%;
    width: 30%;
    height: 72%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 69, 144, 0.10), rgba(57, 69, 144, 0) 70%);
    z-index: 1;
}
/* テキストは従来の左下パネル（.fv-slide__copy）を流用 */

/* =============================================================
   D-2（2026-06-08）: 各種方針・規約 集約ページ /legal のリンクリスト
   ============================================================= */
.legal-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}
.legal-list__item {
    border-top: 1px solid var(--border);
}
.legal-list__item:last-child {
    border-bottom: 1px solid var(--border);
}
.legal-list__item a {
    display: block;
    padding: 20px 8px;
    transition: background 0.2s ease-in-out;
}
.legal-list__item a:hover {
    background: rgba(57, 69, 144, 0.04);
}
.legal-list__title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}
.legal-list__desc {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}
@media screen and (max-width: 480px) {
    .legal-list__title {
        font-size: 16px;
    }
}

/* =============================================================
   理念ページ（パーパス / ビジョン / メッセージ）共通リード（2026-06-11）
   英語ラベル＋特大の黒タイトル＋黒本文（左揃え）
   ============================================================= */
.lead-en {
    margin: 0 0 32px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
}
.lead-title {
    margin: 0;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
}
.lead-body {
    margin: 48px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 2.2;
    color: var(--text);
}
@media screen and (max-width: 768px) {
    .lead-title { font-size: 34px; }
}
@media screen and (max-width: 480px) {
    .lead-en { font-size: 18px; margin-bottom: 20px; }
    .lead-title { font-size: 27px; line-height: 1.5; }
    .lead-body { font-size: 16px; line-height: 1.9; margin-top: 32px; }
}

/* 代表写真＋署名オーバーレイ（メッセージページ / 2026-06-11）
   人物写真の左上の余白に「会社名・代表取締役（フォント）＋氏名画像」を重ねる */
.ceo-photo {
    position: relative;
    margin: 56px 0 0;
    border-radius: var(--radius);
    overflow: hidden;
}
.ceo-photo > img {
    display: block;
    width: 100%;
    height: auto;
}
.ceo-photo__cap {
    position: absolute;
    top: 13%;
    left: 7%;
    width: 42%;
}
.ceo-photo__org {
    margin: 0 0 4px;
    font-size: 13px;
    color: #424242;
}
.ceo-photo__role {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.ceo-photo__name {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
}
@media screen and (max-width: 600px) {
    .ceo-photo__cap { top: 10%; left: 5%; width: 35%; }
    .ceo-photo__org { font-size: 10px; margin-bottom: 2px; }
    .ceo-photo__role { font-size: 13px; margin-bottom: 6px; }
}