@charset "utf-8";
/* CSS Document */

html {
    font-size: 10px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin: 0 auto;
    position: relative;
    letter-spacing: .05em;
    transition: all .3s;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

:root {
    --navy: #012F7A;
    --dark-green: #165E43;
    --grey: #353737;
}

.en {
    font-weight: 700;
}

.ja {
    font-weight: 500;
}

.wrap {
    width: 90%;
    margin: 0 auto;
    padding: 90px 0;
}

.wrap .container {
    width: 100%;
}

.ttl {
    font-size: 4.5rem;
    width: fit-content;
    margin: 0 auto;
}

.ttl+.ja {
    font-size: 1.8rem;
    width: fit-content;
    margin: 0 auto;
}

.p_text {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--grey);
}

.p_text span {
    display: block;
}

th span,
td span {
    display: block;
}

/* ============================================================ */
/* ===============
     header
 =============== */
header {
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: ease-in 0.2s;
}

header.is-changed {
    background: #fff;
    padding: 10px 30px;
}

header .logo {
    width: 15%;
    height: fit-content;
    max-width: 100px;
    transition: ease-in-out 0.15s;
}

header .logo:hover {
    opacity: 0.8;
}

header .logo a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

header .logo a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.h-nav {
    display: none;
}

/* SP menu */
.sp_menu,
#g-nav {
    display: block;
}

/* sp menu
====================================== */
.openbtn {
    cursor: pointer;
    width: 70px;
    height: 70px;
    border-radius: 7px;
    z-index: 9999;
    position: relative;
    margin-left: 2%;
    margin-bottom: auto;
}

/*ボタン内側*/
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    border-radius: 2px;
    height: 2px;
    background: #000;
    width: 62%;
    left: 14px;
}

.openbtn span:nth-of-type(1) {
    top: calc(50% - 12px);
}

.openbtn span:nth-of-type(2) {
    top: 50%;
}

.openbtn span:nth-of-type(3) {
    top: calc(50% + 12px);
}

.openbtn.is-active span:nth-of-type(1) {
    opacity: 0;
}

.openbtn.is-active span:nth-of-type(2) {
    top: 25px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.is-active span:nth-of-type(3) {
    top: 37px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}

/*  Hamburger - Inner menu
====================================== */
#g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background-color: rgb(255, 255, 255, 0.6);
    transition: all 0.6s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#g-nav.panelactive {
    position: fixed;
    z-index: 998;
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    right: 0;
}

#g-nav ul {
    z-index: 997;
    width: 80%;
    height: 100%;
    display: inline-block;
    margin-left: auto;
    background: #fff;
    padding-top: 10vh;
}

#g-nav li {
    transition: all 0.3s;
    border-bottom: 1px solid var(--grey);
    width: 100%;
}

#g-nav li a {
    padding: 30px;
    display: block;
    font-weight: 600;
    font-size: 2.4rem;
    transition: all 0.3s;
    position: relative;
}

@media (orientation: landscape) {
    #g-nav ul {
        width: 60%;
        padding: 50px 0;
    }
}

/* ===============
     fv
 =============== */
#fv {
    width: 100%;
    height: 90vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#fv .fv-bg {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -1;
}

.fv-text {
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 2.8rem;
    font-size: clamp(5vw, 2.8rem, 7vw);
    line-height: 2;
    white-space: nowrap;
}

.fv-text span:not(.bg) {
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    padding: 0 3rem;
    position: relative;
    z-index: 1;
}

.fv-text span:not(.bg):first-of-type {
    margin-bottom: 2rem;
}

.fv-text span.bg {
    position: absolute;
    display: block;
    inset: 0;
    background: var(--navy);
    z-index: -1;
    transition: ease-in 0.3s;
    margin-bottom: 0;
}

#fv .scroll {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#fv .scroll img {
    width: 100%;
    height: 100%;
    max-width: 20px;
    object-fit: contain;
    animation: scroll-anim 3s infinite linear;
}

@keyframes scroll-anim {
    0% {
        opacity: 0;
        transform: translateY(-1.5rem);
    }

    50% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(1rem);
    }
}

#fv .scroll p {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
}

@media (orientation: landscape) {
    #fv {
        min-height: 600px;
    }

    .fv-text {
        font-size: 2.4rem;
        font-size: clamp(3vw, 2.4rem, 5vw);
    }
}

/* =========== Message =========== */
#message {
    width: 100%;
    background: url(../images/bg-cr-networks-message.jpg) no-repeat center / cover;
    position: relative;
    z-index: -2;
}

#message::before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    z-index: -1;
}

#message .wrap {
    width: 100%;
}

#message .wrap .ttl,
#message .wrap .ttl+.ja {
    color: #fff;
    clip-path: var(--ttl-clip, inset(100% 0 0 0));
}

#message .wrap .ttl+.ja {
    margin-bottom: 50px;
}

#message .p_text {
    color: #fff;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: balance;
}

#message .p_text strong {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: balance;
}

#message .p_text:has(strong) {
    margin-bottom: 20px;
}

#message .p_text span {
    display: block;
    text-align: center;
}

/* ==================
    main-固定動画bg
 ================== */
/* 動画背景用の親コンテナ */
.video-bg-container {
    position: relative;
    width: 100%;
    height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.video-bg-container::-webkit-scrollbar {
    display: none;
}

/* 背景動画のスタイル */
.video-bg {
    position: fixed;
    /* 固定して背景に */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -999;
    opacity: 0.6;
}

/* 子コンテナ */
.video-content {
    position: relative;
    z-index: 1;
    display: flex;
}

/* ===============
     #service,
     #company,
     #access
 =============== */
#service .ttl.en,
#company .ttl.en,
#news .ttl.en,
#access .ttl.en {
    color: var(--dark-green);
    font-size: 4.5rem;
    text-align: center;
    width: 100%;
    clip-path: var(--ttl-clip, inset(100% 0 0 0));
}

#service .ttl+.ja,
#company .ttl+.ja,
#news .ttl+.ja,
#access .ttl+.ja {
    width: 100%;
    margin-bottom: 40px;
    clip-path: var(--ttl-clip, inset(100% 0 0 0));
    text-align: center;
}

#service .wrap,
#company .wrap,
#news .wrap,
#access .wrap {
    padding-bottom: 0;
}

/* ===============
     #service
 =============== */
#service {
    position: relative;
}

#service::before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 100%;
    background: url(../images/bg-cr-networks-service.jpg) no-repeat center / cover;
    top: 200px;
    right: 0;
    z-index: -5;
    height: 350px;
}

#service .ttl+.ja {
    margin-bottom: 450px;
}

#service .container {
    margin-right: auto;
}

#service .p_text {
    width: 80%;
    margin: 0 auto;
}

#service ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px 2%;
    margin: 0 auto 40px auto;
    width: 80%;
}

#service li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48%;
    background: #fff;
    font-size: 1.5rem;
    padding: 20px;
    text-align: center;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.16));
    min-height: 90px;
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: balance;
}

#service li span {
    display: block;
    text-align: center;
}

#service .p_text strong {
    font-size: 2.4rem;
    font-weight: 700;
}

#service .p_text:has(strong) {
    margin-bottom: 10px;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: balance;
}

/* ===========================
     #company / ※一部Accessも
 =========================== */
#company {
    position: relative;
}

#company::before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 100%;
    background: url(../images/bg-cr-networks-company.jpg) no-repeat center / cover;
    top: 200px;
    right: 0;
    z-index: -5;
    height: 350px;
}

#company .ttl+.ja {
    margin-bottom: 450px;
}

#company .p_text,
#company ul {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#company .wrap table,
#access .wrap table {
    width: 80%;
    margin: 0 auto 40px auto;
}

#company table,
#company th,
#company td,
#access table,
#access th,
#access td {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: start;
    color: var(--grey);
}

#company tr,
#access tr {
    border-bottom: 1px solid var(--grey);
}

#company th,
#company td,
#access th,
#access td {
    padding: 15px 0;
    vertical-align: baseline;
}

#company th,
#access th {
    white-space: nowrap;
}

#company td {
    padding-left: 15px;
}

#company .p_text.patent {
    text-indent: -5rem;
    padding-left: 5rem;
    margin-bottom: 10px;
    font-weight: 400;
}

#company .p_text.patent span {
    display: block;
    padding-left: 5rem;
    text-indent: 0rem;
    padding-left: 0rem;
}

#company .link-to-sites li {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--grey);
    font-weight: 400;
    width: fit-content;
}

#company .link-to-sites li a {
    width: fit-content;
    height: 80px;
    margin-bottom: 15px;
    border: 1px solid #707070;
    background: #fff;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
}

#company .link-to-sites li:last-of-type {
    margin-bottom: 40px;
}

#company .link-to-sites li:last-of-type a {
    width: 60%;
}

#company .link-to-sites li a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#company .link-to-sites li a:hover {
    opacity: 0.7;
}

#company .info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#company .info li {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--grey);
}

#company .info li a {
    font-weight: 400;
    font-size: 1.5rem;
    text-decoration: underline;
    color: var(--grey);
    transition: 0.3s;
}

#company .info li a:hover {
    color: var(--navy);
}

#company .office-info {
    display: block; 
}

#company .office-info .office-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--grey);
}

#company .office-info .office-text span {
    display: block;
    margin-top: 4px;
    font-size: 1.3rem;
    color: #666;
}

#company .office-info img {
    display: block;
    width: 120px;
    height: auto;
    margin-top: 10px;
}


/* ===============
     #news
 =============== */
#news .container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6%;
}

#news .container .ttl-wrap {
    margin: 0 auto;
}

#news .news-lists {
    width: 100%;
}

#news .news-lists li {
    padding: 30px 0;
    display: flex;
    gap: 3%;
    border-bottom: 1px solid #707070;
}

#news .news-lists li:first-of-type {
    border-top: 1px solid #707070;
}

#news .news-lists-img {
    background: #fff;
    width: 30%;
    min-width: 180px;
    height: fit-content;
}

#news .news-lists-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#news .news-lists-text {
    width: 70%;
}

#news .p_text,
#news .date {
    font-size: 1.5rem;
    color: #000;
    line-height: 2;
}

#news .date {
    font-weight: 400;
}

#news .p_text {
    font-weight: 700;
}

/* ===============
     #access
 =============== */
#access .wrap {
    display: flex;
    flex-direction: column;
}

#access table {
    width: 100%;
    opacity: 1;
}

#access tr {
    border-top: 1px solid var(--grey);
}

#access td {
    padding-left: 15px;
}

#access td,
#access td span {
    text-decoration: none;
}

#access .map {
    width: 80%;
    aspect-ratio: 1.3 / 1;
    max-height: 500px;
    margin: 0 auto;
}

#access .map iframe {
    height: 100%;
    border: none;
}

/* ===============
     #security-policy
 =============== */
#security-policy .wrap {
    width: 72%;
    background: #fff;
    padding: 30px;
    margin: 70px auto;
}

#security-policy .SP-container {
    width: 100%;
}

#security-policy .SP-ttl {
    font-size: 2.4rem;
    color: var(--grey);
    text-align: center;
    margin-bottom: 20px;
}

#security-policy .wrap-for-scroll {
    overflow-y: scroll;
    height: 350px;
}

/* WebKit系ブラウザ（Chrome, Safari など） */
#security-policy .wrap-for-scroll::-webkit-scrollbar {
    width: 8px;
    background: #fff;
}

#security-policy .wrap-for-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

/* Firefox 対応 */
#security-policy .wrap-for-scroll {
    scrollbar-width: 8px;
    scrollbar-color: rgba(0, 0, 0, 0.4) #fff;
    /* thumb, track の順 */
}

#security-policy .wrap-for-scroll .p_text {
    margin-bottom: 20px;
}

#security-policy .SP-subttl,
#security-policy .p_text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2;
    color: var(--grey);
}

#security-policy .SP-subttl+.p_text {
    padding-left: 1.8rem;
}

#security-policy .p_text.entachment {
    width: fit-content;
    margin-left: auto;
}

/* ===============
     footer
 =============== */
footer {
    background-color: #E2E2E2;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    display: inline-block;
    height: 100%;
    width: 70%;
    background: url(../images/bg-contact.png) no-repeat right top/ contain;
    top: 0;
    right: 0;
}

footer .ttl.en {
    font-size: 3.5rem;
}

footer .ttl.en+.ja {
    margin-bottom: 30px;
}

footer .p_text {
    text-align: center;
    color: #000;
    margin-bottom: 30px;
    font-size: 1.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: balance;
}

footer .link-email {
    display: block;
    width: fit-content;
    background: #fff;
    color: #363636;
    margin: 0 auto;
    font-size: 2.2rem;
    font-size: clamp(1.4vw, 2.2rem, 5vw);
    position: relative;
    padding: 15px 80px 15px 25px;
    border-radius: 99px;
    border: 4px solid transparent;
    transition: ease-in 0.3s;
}

footer .link-email::before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 25px;
    height: 25px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: url(../images/link-email-arrow.svg) no-repeat center right / contain;
    transition: ease-in 0.3s;
}

footer .link-email:hover {
    border-color: #363636;
}

footer .link-email:hover::before {
    right: 10px;
}

/* ===============
     copyright
 =============== */
small {
    background: #fff;
    font-size: 1.3rem;
    text-align: center;
    padding: 14px 0;
    width: 100%;
    display: block;
}