@charset "UTF-8";
/* ============================
   カラーパレット
   #000282 ネイビー（メイン: 見出し・英字タイポ・ナビ・テーブル等）
   #be392e 赤朱（アクセント: CTA・予約ボタン・固定エリア）
   #ffffff 白（背景・反転テキスト）
   ============================ */

/* c-table の th を上下中央揃え */
.c-table th {
    vertical-align: middle;
}

/* ベース文字色（--fc）を茶系から黒に上書き。サイト全体に適用 */
:root {
    --fc: #000;
    --fc-rgb: 0, 0, 0;
    --kc: #000282;
    --kc-rgb: 0, 2, 130;
    --sc: #be392e;
    --sc-rgb: 190, 57, 46;
}

/*ヘッダー*/
.g-header .g-header__resv {
    background-color: #be392e;
}
.g-header .g-header__nav-btn {
    background-color: #000282;
}
.g-header .g-header__nav {
    background-color: #000282;
}
.c-visual-sub {
    margin-top: 200px;
}
.c-visual-sub .c-visual-sub__inner {
    height: 250px;
}
.g-nav .g-nav__list .nav-link:before {
    background: linear-gradient(#000282, #000282) right bottom / 0 1px no-repeat;
}
.g-nav .g-nav__list .nav-link:hover {
    color: #000282;
}
.g-nav .lower .js-close__btn {
    background-color: #000282;
}
.c-visual-sub .c-visual-sub__ttl:before {
    color: #000282;
}
/*トップコンテンツ*/
.c-label {
    background-color: #000282;
}
.rotate3d .center {
    background-color: rgb(0 0 0 / 20%);
}
/*フッター*/
.g-pagetop a {
    background: #000282;
}
.g-fixarea .contact--1 {
    background-color: #be392e;
}

.g-fixarea .g-fixarea-footer .g-fixarea-footer__item {
    background-color: #be392e;
}
.g-gmap {
    padding: 0px;
}
/*共通*/
.post-content h2 {
    background-color: #000282;
}
.u-font-sc {
    color: #be392e;
}
.u-font-kc {
    color: #000282;
}
.c-headline-leftbig .c-headline-leftbig__sttl {
    color: #000282;
}
.p-common-news .p-common-news__ttl::before {
    color: #000282;
}
.c-table-prof tr td {
    color: #000282;
}
.l-aside h3 {
    background-color: #000282;
}
.l-aside .year {
    color: #be392e;
}
.c-headline__type3 {
    border-left: 6px solid #242682 !important;
}
/* 事業内容カードのCTA「詳しく見る」: 白文字+ネイビー輪郭で半透明背景上でも視認性確保 */
.c-btn-cyber .c-btn-cyber__target .c-btn-cyber__text {
    color: #fff;
    text-shadow:
        -1px -1px 0 #000282,
        1px -1px 0 #000282,
        -1px 1px 0 #000282,
        1px 1px 0 #000282,
        0 0 8px rgba(0, 2, 130, 0.5);
    font-weight: 900;
}
/* 「詳しく見る」ボタンの枠線（4辺）を白に */
.c-btn-cyber .c-btn-cyber__target .c-btn-cyber__lines > span {
    background-color: #fff;
}
/* 「詳しく見る」ボタンのホバー塗りつぶし色をサイトのネイビーに */
.c-btn-cyber .c-btn-cyber__target .c-btn-cyber__item1,
.c-btn-cyber .c-btn-cyber__target .c-btn-cyber__item2 {
    border-color: #000282;
}
.c-btn-cyber .c-btn-cyber__target .c-btn-cyber__item1:before,
.c-btn-cyber .c-btn-cyber__target .c-btn-cyber__item2:before {
    background: #000282;
}
/* 事業内容カードのタイトル装飾（番号大型アウトライン型） */
.p-service-num {
    font-family: "Anton", "Oswald", sans-serif;
    font-size: clamp(56px, 6vw, 96px);
    line-height: 1;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.95);
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 0 2px 12px rgba(0, 2, 130, 0.45);
}
.p-service-num__label {
    display: inline-block;
    font-family: "Anton", "Oswald", sans-serif;
    letter-spacing: 0.32em;
    font-size: 11px;
    color: #fff;
    margin-left: 14px;
    vertical-align: middle;
    font-weight: 400;
    text-shadow:
        -1px -1px 0 #000282,
        1px -1px 0 #000282,
        -1px 1px 0 #000282,
        1px 1px 0 #000282;
}
/* 事業カード和タイトル「電気設備工事」等の白文字に青輪郭 */
.c-btn-cyber .c-btn-cyber__item p.text-white {
    text-shadow:
        -1px -1px 0 #000282,
        1px -1px 0 #000282,
        -1px 1px 0 #000282,
        1px 1px 0 #000282,
        0 2px 10px rgba(0, 2, 130, 0.5);
}
/* ============================
   仕事のスケジュール（タイムライン型）
   ============================ */
.p-schedule-timeline {
    position: relative;
    padding-left: 100px;
}
.p-schedule-timeline::before {
    content: "";
    position: absolute;
    left: 72px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #000282 0%, #be392e 100%);
    border-radius: 2px;
}
.p-schedule-timeline__item {
    position: relative;
    padding-bottom: 48px;
}
.p-schedule-timeline__item:last-child {
    padding-bottom: 0;
}
.p-schedule-timeline__item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #be392e;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #be392e;
    z-index: 1;
}
.p-schedule-timeline__time {
    position: absolute;
    left: -100px;
    top: 0;
    font-family: "Anton", "Oswald", sans-serif;
    font-size: 18px;
    color: #000282;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.p-schedule-timeline__content {
    background: #fff;
    border-radius: 12px;
}
.p-schedule-timeline__ttl {
    font-weight: 700;
    margin: 0 0 8px;
}
.p-schedule-timeline__txt {
    margin: 0;
    line-height: 1.8;
}
@media (max-width: 767px) {
    .p-schedule-timeline {
        padding-left: 40px;
    }
    .p-schedule-timeline::before {
        left: 14px;
        width: 2px;
    }
    .p-schedule-timeline__item::before {
        left: -32px;
        width: 12px;
        height: 12px;
        top: 4px;
    }
    .p-schedule-timeline__time {
        position: static;
        text-align: left;
    }
    .p-schedule-timeline__content {
        padding: 16px;
    }
    .p-schedule-timeline__item {
        padding-bottom: 32px;
    }
}

/* グロナビ dropdown-menu のサイズ拡大 */
.dropdown-menu {
    min-width: 240px;
    padding: 12px 0;
    font-size: 15px;
}
.dropdown-menu .dropdown-item {
    padding: 12px 24px;
}

/* ============================
   visual.php フォールバック（大型タイポ × ネイビー背景）
   ============================ */

/* 写真ありバリアント */
.p-top-visual-fallback--with-picture {
    background: #000;
}
.p-top-visual-fallback--with-picture::before {
    opacity: 0.35;
}

.p-top-visual-fallback__photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 2, 130, 0.65) 0%,
        rgba(0, 10, 74, 0.5) 50%,
        rgba(0, 2, 130, 0.75) 100%
    );
    pointer-events: none;
}
.p-top-visual-fallback__bigtype {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: "Anton", "Oswald", sans-serif;
    font-size: clamp(80px, 18vw, 280px);
    line-height: 0.9;
    letter-spacing: 0.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    margin: 0;
    animation: visual-fallback-bigtype 2s ease-out;
}
@keyframes visual-fallback-bigtype {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
.p-top-visual-fallback .p-top-visual-fallback__inner,
.c-visual__catchcopy.p-top-visual-fallback__inner {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%);
    z-index: 3;
    max-width: 880px;
    width: 100%;
    animation: visual-fallback-fade 1.2s ease-out;
}
@keyframes visual-fallback-fade {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 20px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.p-top-visual-fallback__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px;
    font-family: "Anton", "Oswald", sans-serif;
    letter-spacing: 0.32em;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
}
.p-top-visual-fallback__eyebrow::before,
.p-top-visual-fallback__eyebrow::after {
    content: "";
    width: 48px;
    height: 1px;
    background: #fff;
    opacity: 0.65;
}
.p-top-visual-fallback__ttl {
    letter-spacing: 0.02em;
    text-align: left !important;
    font-size: 40px !important;
}
.p-top-visual-fallback__sub {
    letter-spacing: 0.06em;
    text-align: left !important;
}
@media (max-width: 767px) {
    .p-top-visual-fallback__bigtype {
        font-size: clamp(72px, 26vw, 160px);
    }
    .p-top-visual-fallback__eyebrow {
        font-size: 11px;
        letter-spacing: 0.22em;
        gap: 12px;
        margin-bottom: 18px;
    }
    .p-top-visual-fallback__eyebrow::before,
    .p-top-visual-fallback__eyebrow::after {
        width: 24px;
    }
    .p-top-visual-fallback__ttl {
        line-height: 1.5;
        margin-bottom: 20px;
    }
}
/* レスポンシブビデオスタイル */
#video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比を維持 */
}

#video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.c-btn-cyber .c-btn-cyber__item {
    background-color: rgb(84 86 210 / 36%);
}

.bk-center {
    background-position: center center;
}

.bk-bottom {
    background-position: center bottom;
}

.c-after__bc {
    background-color: rgb(240 240 240);
}

@media screen and (max-width: 767px) {
    .c-btn-cyber .c-btn-cyber__body:hover .c-btn-cyber__item {
        margin: 10px;
        padding: 10px;
    }
    .c-faq__item-ttl {
        text-indent: -30px;
        padding-left: 10px;
    }
    .c-faq__item-body {
        padding-right: 0;
    }
    .c-faq__item-body-txt {
        padding: 10px;
    }
    .c-box {
        padding: 10px;
    }
    /* SP時: ジグザグレイアウトの画像とテキストの被りを防止 */
    .c-shadow-clip {
        margin-bottom: 24px;
    }
}

/* ============================
   トップ求人ヒーロー（シネマティック型）
   ============================ */
.p-top-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}
.p-top-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.05);
    animation: p-top-hero-zoom 16s ease-out forwards;
}
@keyframes p-top-hero-zoom {
    from {
        transform: scale(1.12);
    }
    to {
        transform: scale(1);
    }
}
.p-top-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.3) 35%,
            rgba(0, 0, 0, 0.85) 100%
        ),
        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.45) 100%
        );
    z-index: 1;
}
.p-top-hero__bigtype {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    font-family: "Anton", "Oswald", sans-serif;
    font-size: clamp(80px, 18vw, 280px);
    line-height: 0.9;
    letter-spacing: 0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    margin: 0;
}
.p-top-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1080px;
    padding: 140px 24px 80px;
    text-align: center;
}
.p-top-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-family: "Anton", "Oswald", sans-serif;
    letter-spacing: 0.32em;
    color: #fff;
    font-size: 14px;
}
.p-top-hero__eyebrow::before,
.p-top-hero__eyebrow::after {
    content: "";
    width: 48px;
    height: 1px;
    background: #fff;
    opacity: 0.7;
}
.p-top-hero__catch {
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    margin: 0 0 32px;
    font-weight: 700;
}
.p-top-hero__lead {
    color: rgba(255, 255, 255, 0.88);
    max-width: 820px;
    margin: 0 auto 56px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.p-top-hero__cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}
.p-top-hero__cta-btn--sub {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 0.1em;
}
.p-top-hero__cta-btn--sub::before {
    background: rgba(255, 255, 255, 0.92);
}
.p-top-hero__cta-btn--sub:hover {
    color: #111;
    border-color: rgba(255, 255, 255, 0.9);
}
.p-top-hero__facts {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.p-top-hero__fact {
    flex: 1;
    padding: 28px 8px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.p-top-hero__fact:first-child {
    border-left: none;
}
.p-top-hero__fact-num {
    font-family: "Anton", "Oswald", sans-serif;
    color: #fff;
    line-height: 1;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}
.p-top-hero__fact-num small {
    font-size: 0.42em;
    margin-left: 4px;
    font-weight: 400;
    opacity: 0.85;
}
.p-top-hero__fact-label {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.22em;
    margin: 0;
}
.p-top-hero__fact-label-en {
    display: block;
    font-family: "Anton", "Oswald", sans-serif;
}
.p-top-hero__fact-label-ja {
    display: block;
    margin-top: 4px;
    font-size: 0.85em;
    opacity: 0.72;
    letter-spacing: 0.18em;
    font-weight: 400;
}
/* CTA: 暗背景シネマティック用大型ボタン */
.p-top-hero__cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 320px;
    padding: 22px 40px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.85);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    overflow: hidden;
    transition:
        color 0.4s ease,
        border-color 0.4s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.p-top-hero__cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
    z-index: 0;
}
.p-top-hero__cta-btn:hover {
    color: #111;
    border-color: #fff;
    text-decoration: none;
}
.p-top-hero__cta-btn:hover::before {
    transform: translateX(0);
}
.p-top-hero__cta-btn > span,
.p-top-hero__cta-btn > i {
    position: relative;
    z-index: 1;
}
.p-top-hero__cta-btn__arrow {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: currentColor;
    position: relative;
    transition: width 0.4s ease;
}
.p-top-hero__cta-btn__arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translateY(-1px) rotate(35deg);
    transform-origin: right center;
}
.p-top-hero__cta-btn:hover .p-top-hero__cta-btn__arrow {
    width: 44px;
}
.c-box-border:after {
    background-color: #0002820d;
}
@media screen and (max-width: 767px) {
    .p-top-hero__cta {
        flex-direction: column;
        gap: 14px;
    }
    .p-top-hero__cta-btn {
        min-width: 260px;
        padding: 18px 28px;
        gap: 12px;
        font-size: 14px;
    }
    .p-top-hero__cta-btn__arrow {
        width: 24px;
    }
}

@media screen and (max-width: 767px) {
    .p-top-hero {
        min-height: 90vh;
    }
    .p-top-hero__inner {
        padding: 100px 16px 80px;
    }
    .p-top-hero__eyebrow {
        letter-spacing: 0.24em;
        margin-bottom: 20px;
    }
    .p-top-hero__eyebrow::before,
    .p-top-hero__eyebrow::after {
        width: 24px;
    }
    .p-top-hero__lead {
        margin-bottom: 40px;
    }
    .p-top-hero__cta {
        margin-bottom: 56px;
    }
    .p-top-hero__facts {
        max-width: 100%;
    }
    .p-top-hero__fact {
        padding: 16px 4px;
    }
    .p-top-hero__fact-label {
        letter-spacing: 0.16em;
    }
    .p-top-hero__scroll {
        display: none;
    }
}
