@charset "UTF-8";
html, body {
    overflow-x: hidden;
}
body {
    background-color: black;
    color: #333;
    transition: background-color 0.5s ease, color 0.5s ease;
    font-family: 'Noto Sans JP', sans-serif;
    width: 100vw;
}
body.light-background {
    background-color: white; /* 背景色を白に変更 */
    color: black; /* テキストカラーを黒に変更 */
}
.service-section {
    opacity: 0; /* 初期状態は透明 */
    transition: opacity 0.5s ease; /* 透明度が変わる際のアニメーション */
}
.service-section.active {
    opacity: 1; /* 不透明にする */
}

.inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 15px;
}
/*logo*/
header .logo {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
}
/*globalnav*/
.hamburger {
    margin: 10px auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hamburger .btn-gNav {
    position: fixed;
    top: 17px;
    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(255, 255, 255, 0.9);
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.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%, 35%);
}
.hamburger .btn-gNav.active span:nth-of-type(2) {
    opacity: 0;
    transform: translateX(50px);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    background: hsl(0, 0%, 35%);
}
.hamburger .btn-gNav.active span:nth-of-type(3){
    top: 12px;
    left: 0px;
    transform: translateY(-6px) rotate(135deg);
    width: 100%;
    background: hsl(0, 0%, 35%);
}
/**回転して×はここまで**/
.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: 1rem;
    color: #fff;
    position: relative;
}
.gNav .gNav-menu li a {
    color: inherit;
    text-decoration: none;
}
.gNav .gNav-menu li a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #fff;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    bottom: -5px;
}

.gNav .gNav-menu li a:hover::after {
    width: 100%;
}
/*globalnav end*/

/*main*/
.video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.video-container video {
    width: 100%;
    height: auto;
}
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}
#animatedText {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    position: relative;
    opacity: 0;
    filter: blur(10px);
    animation: fadeInBlur 2s forwards;
}
@keyframes fadeInBlur {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}
.full-width-background {
    background-color: black;
    padding: 40px 0;
}
.concept-section,
.company-overview {
    margin: 100px auto;
    max-width: 1280px;
    color: white;
    padding: 40px 15px;
    border-radius: 8px;
    text-align: center;
}
.concept-section h3,
.company-overview h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}
.concept-text,
.company-overview {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.concept-text p,
.company-overview p{
    text-align: left;
    width: fit-content;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}
.button-area {
    margin-top: 50px;
    text-align: center;
}
.link-white-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    position: relative;
}
.link-black-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    position: relative;
}
.link-white-arrow::after,
.link-black-arrow::after {
    content: '→';
    margin-left: 10px; 
    transition: transform 0.3s;
}
.link-white-arrow:hover::after,
.link-black-arrow:hover::after {
    transform: translateX(5px);
}
.link-white-arrow:hover,
.link-black-arrow:hover {
    border-bottom: 2px solid white;
    color: #e74c3c;
}
.service-section {
    padding: 0 20px;
    text-align: center;
}

.content_title {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 80px;
    font-weight: bold;
}

.concept-service {
    flex: 0 0 auto;
    width: 500px;
    margin-right: 20px;
    border-radius: 0.5rem;
    transition: 0.3s;
}
.concept-service:hover {
    transform: scale(1.02);
    opacity: 0.8;
}
.concept-service h4 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #333;
    min-height: 90px;
    display: flex;
    text-align: start;
}

/* 画像コンテナのスタイル */
.image-container {
    height: 300px;
    overflow: hidden;
}

.hover-image {
    width: 100%;
    height: auto;
    pointer-events: none
}

/* テキストオーバーレイのスタイル */
.text-overlay {
    padding: 10px;
    text-align: start;
    font-size: 1rem;
}

.scroll__wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
}

.scroll__wrapper::-webkit-scrollbar {
    display: none;
}

.scroll__wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/**company**/
.background-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    object-fit: cover;
}

.company-title, 
.service-title, 
.contact-title {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
}

.overlay-about {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3em;
    z-index: 0;
}

body.company-background {
    background-color: black;
    color: white;
}
.company,
.service,
.contact {
    position: relative;
    padding: 50px 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.company.active,
.service.active,
.contact.active {
    opacity: 1;
}
.company-text {
    margin: 20px auto;
    max-width: 1280px;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}
.table {
    width: 100%;
}
.row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
}
.row:hover {
    background-color: #f1f1f1;
}
.head {
    font-weight: bold;
    color: #2c3e50;
    width: 30%;
}
.body {
    color: #34495e;
    width: 70%;
    line-height: 2;
}
.row:last-child {
    border-bottom: none;
}
.content {
    margin-top: 10px;
}
.fade-in {
    text-align: center;
    margin-top: 50px;
    font-size: 2rem;
    font-weight: bold;
}
.gMap {
    margin-top: 20px;
    text-align: center;
}
.gMap-head {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 100px;
    color: #333;
}
.gMap {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.gMap iframe {
    width: 100%;
    height: 600px;
}
/**service**/
.reason-list {
    padding: 60px 20px;
}
.fade-up {
    margin-bottom: 100px;
}
.reason-list li {
    display: flex;
    align-items: center;
    text-align: justify;
    position: relative;
}
.reason-list li figure {
    width: 53%;
    margin: 0;
}
.reason-list li .txt-wrap {
    width: 47%;
    margin: 0 5%;
    position: relative;
    z-index: 1; /* テキストが画像の上に表示されるように */
}
.reason-list li .txt-wrap::after {
    content: "";
    width: 100%;
    height: calc(100% + 50px);
    background: url(../images/common/reason/num1.svg) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1; /* 背景として表示 */
}
.reason-list li:nth-child(2) .txt-wrap::after {
    background-image: url(../images/common/reason/num2.svg);
}
.reason-list li:nth-child(3) .txt-wrap::after {
    background-image: url(../images/common/reason/num3.svg);
}
.reason-list li .txt-wrap .point {
    letter-spacing: .2em;
    line-height: 1;
    font-family: din-2014, sans-serif;
    font-size: 16px;
    font-weight: 600;
}
.reason-list li .txt-wrap .point span {
    padding-bottom: .7em;
    display: inline-block;
    position: relative;
}
.reason-list li .txt-wrap .point span::after {
    content: "";
    width: 100%;
    height: 4px;
    background: #326CDB;
    position: absolute;
    left: -.15em;
    bottom: 0;
}
.reason-list li .txt-wrap h3 {
    padding-top: 1.5em;
    text-align: justify;
    line-height: 1.6;
    font-size: 24px;
    font-weight: 600;
}
.reason-list li .txt-wrap + p {
    text-align: justify;
    padding-top: 1.5em;
    font-size: 14px;
}
.reason-list ul li {
    margin: 10px 0 15px;
}
.overlay-number {
    position: absolute;
    top: 25%;
    font-size: 13rem;
    color: rgb(185, 184, 184, 50%);
    pointer-events: none;
    z-index: -1;
}
.basic-btn {
    position: absolute;
    bottom: -33px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
@media screen and (max-width: 768px) {
    
}


/*お問い合わせ*/
.contact-page {
    margin-top: 50px;
}
.page-heading {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.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 {
    box-shadow: 0 0 5px #333;
    background-color: #fff;
    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 {
    box-shadow: 0 0 5px #333;
    background-color: #fff;
    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 {
    box-shadow: 0 0 5px #333;
    background-color: #fff;
    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;
}

/**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;
}

/*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: 1rem;
    position: relative;
}
.footer-gNav .gNav-menu li a {
    color: inherit;
    text-decoration: none;
    position: relative;
}
.footer-gNav .gNav-menu li a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #333;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    bottom: -5px;
}
.footer-gNav .gNav-menu li a:hover::after {
    width: 100%;
}
.copy {
    color: #666;
}


/**ページ別フッター**/
.confirm .footer_area {
    color: #fff;
}
.confirm .footer_area a {
    color: #fff;
}
.confirm .footer-gNav .gNav-menu li a::after {
    background-color: #fff;
}
.submit .footer_area {
    color: #fff;
}
.submit .footer_area a {
    color: #fff;
}
.submit .footer-gNav .gNav-menu li a:after {
    background-color: #fff;
}

/**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 #f9dab2;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.error-404 a:hover {
    background-color: #f9dab2;
    color: #ffffff;
}
.top-btn {
    margin-top: 70px;
}

/*SP設定*/
@media (max-width: 992px) {

}
@media (max-width: 968px) {

}
@media screen and (max-width: 820px) {

}
@media screen and (max-width: 767px) {
    header .logo {
        font-size: 1.5rem;
    }
    /*ナビ*/
    .btn-gNav {
        display: block;
    }
    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 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: 12;
    }
    .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: #333;
    }
    .gNav .gNav-menu li a::after {
        content: "";
        display: block;
        height: 2px;
        width: 0;
        background-color: #000000;
        transition: width 0.3s ease;
        position: absolute;
        left: 0;
        bottom: -2px;
    }
    /*indexページコンテンツ*/
    #animatedText {
        font-size: 3rem;
    }
    .concept-section h3,
    .company-overview h3 {
        font-size: 1.6rem;
    }
    .concept-text p,
    .company-overview p {
        font-size: 1rem;
    }
    .scroll__wrapper {
        overflow-x: auto;
        display: flex;
    }
    .content_title {
        font-size: 2rem; /* タイトルのフォントサイズを調整 */
    }

    .concept-service {
        width: 90%; /* 各サービスボックスの幅を調整 */
        margin-right: 10px; /* マージンをゼロにする */
        margin-bottom: 20px; /* 下にスペースを追加 */
    }

    .concept-service h4 {
        font-size: 1rem; /* サービスタイトルのフォントサイズを調整 */
        line-height: 1.5; /* 行間を調整 */
    }
    .concept-service:last-child {
        margin-right: 0;
    }
    .image-container {
        height: 150px;
    }
    .hover-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .concept-section,
    .company-overview {
        margin: 0 auto;
    }
    .content_title {
        margin-top: 100px;
    }
    /*会社概要ページ*/
    .company-title {
        font-size: 3rem; /* タブレットサイズ */
    }
    .overlay-about {
        font-size: 6rem; /* タブレットサイズ */
    }

    /*サービスページ*/
    .reason-list li {
        flex-direction: column; /* 縦に並べる */
        align-items: flex-start; /* 左寄せ */
    }
    .reason-list li figure {
        width: 100%; /* 画像をフル幅に */
        margin-bottom: 20px; /* 画像下にマージン */
    }
    .reason-list li .txt-wrap {
        width: 100%; /* テキストもフル幅 */
        margin: 0; /* マージンをリセット */
    }
    .reason-list li .txt-wrap .point {
        font-size: 14px; /* 小さめのフォントサイズ */
    }
    .reason-list li .txt-wrap h3 {
        font-size: 20px; /* 小さめのフォントサイズ */
    }
    .reason-list li .txt-wrap + p {
        font-size: 12px; /* 小さめのフォントサイズ */
    }
    /*footer-nav*/
    .footer-gNav .gNav-menu li {
        margin: 0 auto;
        font-size: 0.8rem;
    }
    #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: 530px) {
    .concept-service h4 {
        font-size: 1rem;
    }
    .image-container {
        height: 200px;
    }
    .hover-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .company-title,
    .service-title {
        font-size: 2.5rem; /* スマホサイズ */
    }
    .contact-title {
        font-size: 2rem;
    }
    .overlay-about {
        font-size: 3.5rem; /* スマホサイズ */
    }
}
@media (max-width: 480px) {
    #animatedText {
        font-size: 1.5rem;
    }
    .concept-service h4 {
        min-height: 50px;
    }
}
@media (max-width: 430px) {
    .link-white-arrow, .link-black-arrow {
        font-size: 1.1rem;
    }
    .text-overlay {
        padding: 10px;
        text-align: start;
        font-size: 0.9rem;
    }

    /*会社概要ページ*/
    .company, .service, .contact {
        padding: 50px 0px;
    }
    .gMap {
        margin-top: 20px;
    }

}
@media (max-width: 400px) {
    .concept-service h4 {
        font-size: 0.75rem;
    }
    .contact-title {
        font-size: 1.7rem;
    }
}
