@charset "UTF-8";
html {
    overflow-x: hidden;
}
body {
    background-color: rgb(255, 255, 255);
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}
.inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 15px;
}
.inner2 {
    margin: 0 auto;
    max-width: 1040px;
    padding: 0 20px;
}
/*logo*/
header .logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 20px 0 0 0;
}
/*globalnav*/
.hamburger {
    margin: 10px auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hamburger .btn-gNav {
    position: fixed;
    top: 45px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 12;
    opacity: 0.7;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(23, 23, 23, 0.9);
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.scrolled.hamburger .btn-gNav span {
    background: #fff;
}
.hamburger .btn-gNav span:nth-child(1) {
    top: 0;
}
.hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
}
.hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
}
/***activeクラスが付与されると線が回転して×になる***/
.hamburger .btn-gNav.active span:nth-of-type(1) {
    top: 0px;
    left: 0px;
    transform: translateY(6px) rotate(-135deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
.hamburger .btn-gNav.active span:nth-of-type(2) {
    opacity: 0;/*真ん中の線は透過*/
    transform: translateX(50px); /* 右に20px移動 */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    background: hsl(0, 0%, 100%);
}
.hamburger .btn-gNav.active span:nth-of-type(3){
    top: 12px;
    left: 0px;
    transform: translateY(-6px) rotate(135deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
/**回転して×ここまで**/
.btn-gNav {
    display: none;
}
.gNav .gNav-menu {
    display: flex;
    justify-content: space-between;
}
.gNav .gNav-menu li {
    margin: 0 auto;
    padding: 0 10px;
    font-weight: 700;
    font-size: 14px;
}
.gNav .gNav-menu li a:hover{
	color: #cecece;
}

/*-----
    トップページ
    ------*/
.text-scroll-container {
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    margin: 0 auto 150px;
    width: 100vw;
    height: 100vh;
}
.text-scroll-background {
    position: absolute;
    white-space: nowrap;
    color: rgba(182, 182, 182, 0.2);
    font-size: 5.5rem;
    font-weight: bold;
    flex-shrink: 0;
    top: 40%;
    z-index: -2;
}
.text-scroll-background:nth-child(odd) {
    animation: MoveLeft 26s -13s infinite linear;
}
.text-scroll-background:nth-child(even) {
    animation: MoveLeft 26s infinite linear;
}
.text-scroll-foreground {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    line-height: 2.5;
    max-height: 80%;
    text-align: justify;
    color: black;
    z-index: 1;
    filter: blur(10px);
    opacity: 0;
    transition: filter 2s ease-out, opacity 2s ease-out;
}
/* ぼかしを解除して表示する */
.text-scroll-foreground.show {
    filter: blur(0);
    opacity: 1;
}
/* MoveLeftアニメーション: 右から左へスクロール */
@keyframes MoveLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* トップページサービス */
.top-service {
    background-color: #fff;
    padding: 40px 0;
    transition: background-color 0.5s ease;
    margin-bottom: 150px;
}
.top-service h2 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    margin-left: 15px;
}
/* スクロール後に変更される背景色を設定 */
.scrolled {
    background-color: #000; /* スクロール後に変更する色 */
}
.scrolled.top-service h2 {
    color: #fff;
}
.service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 500px;
    background-color: #2c2c2c;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease, z-index 0.8s ease, opacity 0.8s ease;
    position: relative;
    opacity: 0;
    transform: translateY(120px);
    margin-bottom: -70px;
}
.service-card-image {
    width: 70%;
    height: 100%;
    object-fit: cover;
}
.service-card-info {
    padding: 20px;
    width: 30%;
    color: #333;
}
.service-card-info h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}
.service-card-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: #f5f5f5;
}
.service-card.show {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
}
/* トップページの会社概要 */
.top-company {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 40px 0;
    transition: background-color 0.5s ease;
    margin-bottom: 150px;
}
.top-company h2 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    margin-left: 15px;
}
.company-info__details {
    display: flex;
    flex-wrap: wrap;
}
.company-info__details dl {
    margin-bottom: 15px;
    margin-left: 15px;
}
.company-info__details,
.company-info-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.company-info__details div {
    display: flex;
}
.top-company {
    width: 100%;
    margin-bottom: 20px;
}
.company-info__wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 50px;
    align-items: flex-start;
    margin-right: 15px;
}
.company-info__details,
.company-info-content {
    width: 50%;
}
.company-info__details dl,
.company-info-content dl {
    margin: 0;
}
.company-info__details dt,
.company-info-content dt {
    font-weight: bold;
    color: #9d9d9dc7;
}
.company-info__details dd,
.company-info-content dd {
    margin: 10px 0;
    font-weight: bold;
}


/*------
    カンパニーページ
    ------*/
.company-info {
    font-family: Arial, sans-serif;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
}
.line {
    height: 1px;
    background-color: #333;
    width: 0%;
    margin-bottom: 20px;
    transition: width 1s ease;
}
.line.show {
    width: 100%;
}
.company-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    transform: rotateY('50px');
    opacity: 0;
    transition: transfrom 1s ease, opacity 1s ease;
}
.company-info h2.show {
    transform: translateY(0);
    opacity: 1;
}
.company-info__details-page {
    width: 50%;
    margin: 5.625em 0 6.75em auto;
}
.company-info__details-page dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 75px;
}
.company-info__details-page dt {
    color: #777;
}
.company-info__details-page dd {
    color: #333;
    font-weight: 600;
    letter-spacing: 0.13rem;
    margin: 0;
}
.company-map {
    width: 50%;
    margin: 3.625em 0 3.75em auto;
}
.googlemaps-link {
    margin-top: 10px;
    position: relative;
}
.googlemaps-link a {
    text-decoration: none;
    position: relative;
}
.googlemaps-link a::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background-color: #333;
    transition: width 0.3s ease;
}
.googlemaps-link a:hover::before {
    width: 100%;
}
/*----- アニメーション用 CSS -----*/
.company-info__wrapper-page, .company-map {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 3s ease, transform 3s ease;
}
.company-info__wrapper-page.show, .company-map.show {
    opacity: 1;
    transform: translateY(0);
}
/*-----
    サービスページ
    ------*/
.service-info {
    font-family: Arial, sans-serif;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
}
/* サービスセクションのタイトル */
.service-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    transform: rotateY(50px);
    opacity: 0;
    transition: transform 2s ease, opacity 2s ease;
}
.service-info h2.show {
    transform: translateY(0);
    opacity: 1;
}
.service-info__wrapper-page {
    gap: 30px; 
    padding: 10px;
}
.service-info__details-page {
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}
.service-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
}
.service-img-wrapper {
    max-width: 550px;
    width: 100%;
    max-height: 350px;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translate(-30px, 50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.service-img-wrapper img.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}
.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    opacity: 0;
    transition: opacity 2s ease-out, clip-path 2s ease-out;
}
.service-content.show {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}
.service-content h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.service-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}
.service-content ul li {
    font-size: 1rem;
    color: #777;
    line-height: 1.8;
    margin: 10px 0;
    text-align: justify;
}

/*------
    お問い合わせ
    ------*/
.contact-page {
    font-family: Arial, sans-serif;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
}
.contact-page h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    transform: rotateY(50px);
    opacity: 0;
    transition: transform 2s ease, opacity 2s ease;
}
.contact-page h2.show {
    transform: translateY(0);
    opacity: 1;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.contactform {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    width: 100%;
    margin: 20px auto;
}
.contactform h4 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333333;
}
.item {
    margin-bottom: 15px;
}
.label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555555;
}
.form_tit {
    margin: 0;
}
.label-required {
    color: #ff0000;
}
.label-required-any {
    color: #555555;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
}
textarea {
    resize: vertical;
    min-height: 100px;
}
.btn {
    text-align: center;
}
button[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
    background-color: #ffffff;
    border: solid 1px #181818; 
    color: #333;
}
.kakunin {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 120px auto;
}
.kakunin h4 {
    margin-bottom: 15px;
}
.sousin-btn {
    text-align: center;
    margin-bottom: 15px;
}
.modoru-btn {
    text-align: center;
    margin-top: 15px;
}
.back-btn {
    background-color: #c0c0c0;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.back-btn:hover {
    background-color: #fff;
    border: 1px solid #181818;
    color: #333;
}
.back-btn a {
    text-decoration: none;
}
.miss {
    background: #ffffff;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 120px auto;
}
.miss-text {
    margin-bottom: 35px;
}
.miss-btn {
    background-color: #c0c0c0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.miss-btn a {
    text-decoration: none;
}
.miss-btn:hover {
    background-color: #ffffff;
    border: solid 1px #181818;
    color: #333;
}
.end {
    background: #ffffff;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 120px auto;
}
/**submit**/
.end h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.contact-ckecktext p {
    font-size: 0.9rem;
    line-height: 2;
    margin-bottom: 15px;
}
.contact-ckecktext li {
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.contact-ckecktext li strong{
    font-weight: bold;
}
/*------
    お問い合わせ
    ------*/

/*------
    footer
    ------*/
.footer_area {
    margin: 100px 0 50px 0;
    text-align: center;
}
.footer_area p {
    font-size: 12px;
}
.footer-gNav .gNav-menu {
    display: flex;
    justify-content: center;
    margin: 0 0 75px 0;
}
.footer-gNav .gNav-menu li {
    margin: 0 30px;
    padding: 0 10px;
    font-weight: 700;
    font-size: 12px;
}
.footer-gNav .gNav-menu li a:hover{
	color: #cecece;
}


/*------
    404
    ------*/
.error-404 {
    text-align: center;
    background-color: #ffffff;
    margin: 200px 0 150px;
    padding: 60px;
    border-radius: 35px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.error-404 h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}
.error-404 p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}
.error-404 a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.error-404 a:hover {
    background-color: #181818;
    color: #ffffff;
}
.footer_area {
    margin-top: 100px;
    text-align: center;
}
.copy {
    color: #666;
}
.top-btn {
    margin-top: 70px;
}

/**topスクロール**/
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}
#back-to-top:hover {
    background-color: #444;
}


/*------
    SP設定
    ------*/
@media screen and (max-width: 920px) {
    .text-scroll-foreground {
        font-size: 1.125rem;
        line-height: 3;
    }
}
@media screen and (max-width: 820px) {
    .text-scroll-foreground {
        font-size: 1.125rem;
        line-height: 3;
        max-width: 500px;
        width: 100%;
    }
    .item {
        display: block;
    }
    .label {
        display: block;
        margin-bottom: 5px;
    }
}
@media screen and (max-width: 767px) {
    /*nav*/
    .btn-gNav {
        display: block;
    }
    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(23, 23, 23, 0.9);;
        font-size: 16px;
        box-sizing: border-box;
        z-index: 1;
        padding-top: 50px;
        transition: .3s;
    }
    .gNav.open {
        right: 0;
        height: 80vh;
        z-index: 2;
    }
    .gNav .gNav-menu {
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
        /*justify-content: center;*/
    }
    .gNav .gNav-menu li {
        width: 86%;
        padding: 15px;
        font-size: 16px;
        letter-spacing: 2px;
        border-bottom: #ffffff 1px solid;
        color: #ffffff;
    }

    /* SPトップページサービス */
    .top-service {
        padding: 20px 0;
    }
    .top-service h2{
        font-size: 2.2rem;
        margin-left: 0;
    }
    .service-card {
        display: block; /* 画像とテキストを縦に並べる */
        width: 100%; /* 各カードが全幅を使用 */
        margin-bottom: 30px; /* カード間のスペース */
    }
    .service-card-image {
        width: 100%; /* 画像が全幅を占める */
        height: auto; /* 高さは自動調整 */
        object-fit: cover;
    }
    .service-card-info {
        padding: 20px;
        width: 100%; /* テキスト部分も全幅を占める */
    }
    .service-card-info h3 {
        font-size: 1.6rem;
    }
    .service-card-info p {
        font-size: 1rem;
    }
    /* spトップページカンパニー */
    .top-company {
        display: block;
    }
    .top-company h2{
        font-size: 2.2rem;
        margin-left: 0;
    }
    .company-info__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .company-info__details,
    .company-info-content {
        width: 100%;
    }
    .company-info__details dl,
    .company-info-content dl {
        margin-left: 0;
    }

    /* カンパニー */
    .company-info__details-page {
        width: 100%;
        margin: 5.625em 0 auto;
    }
    .company-map {
        width: 100%;
        margin: 5.625em 0 auto;
    }
    /* サービス */
    .service-item {
        display: block;
    }
    /*footer-nav*/
    .footer-gNav .gNav-menu li {
        margin: 0 auto;
    }

    #back-to-top {
        bottom: 15px;
        right: 15px;
        font-size: 20px;
        padding: 8px;
    }
}
@media (max-width: 600px) {
    .contactform {
        padding: 15px 20px;
    }

    .contactform h4 {
        font-size: 1.3em;
    }

    input[type="text"], input[type="email"], input[type="tel"], textarea {
        font-size: 0.9em;
    }

    button[type="submit"] {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
@media (max-width: 520px) {
    .text-scroll-foreground {
        font-size: 1.125rem;
        line-height: 2.2;
        max-width: 300px;
        width: 100%;
    }
}
@media (max-width: 480px) {
    header .logo {
        margin: 20px 0 0 0;
    }
    #back-to-top {
        bottom: 10px;
        right: 10px;
        font-size: 18px;
        padding: 7px;
    }
}