header {

    display: flex;
    /* align-items: end; */
    padding: 16px 3%;
    position: fixed;
    background: transparent;
    z-index: 50;
    transition: background 0.3s;
    backface-visibility: hidden;
    height: 75px;
    width: 100%;

}

header h1 {
    display: flex
}

header h1 a {
    display: flex;
    align-items: center;
    text-decoration-line: none;
    transition: opacity 0.3s ease;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.header-logo-default {
    opacity: 1;
}

.header-logo-scrolled {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}


header.fixed {
    background-color: white;
    position: fixed;
    /*fixedを設定して固定*/
    z-index: 999;
    /*最前面へ*/
    width: 100%;
    height: 60px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    /*これを付け足し*/
}

header.fixed .socialEffect__box {

    display: none;

}



header.fixed h1 svg {

    height: 39px;
    width: 60%;

}

header.fixed h1 {

    width: 300px;

}

header.fixed h1 a {
    opacity: 1;
}

header.fixed .header-logo-default {
    opacity: 0;
}

header.fixed .header-logo-scrolled {
    opacity: 1;
    margin: 18px;
}

header.fixed .g-nav {

    margin-right: 83px;
    width: auto;

}

header.fixed .g-nav a {

    /* font-size: 15px; */
    color: #333;


}


body {

    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    color: #333;
    line-height: 1.8;

}

.top-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 75px;
    margin-top: 10px;
    width: auto;
    height: auto;

}

.top-text-content,
.top-text-content2 {
    color: #fff;
}

.top-text-content {
    font-weight: bold;
    font-size: 3.6rem;
    height: 75px;
}

h1 {

    margin: 0;

}

h1 svg {

    height: 50px;


}

.g-nav {

    padding-left: 0;
    width: 530px;
    text-align: right;
    margin-left: auto;
    margin-right: 90px;
    transition: 0.5s;

}

.g-nav ul {

    flex-wrap: wrap;
    margin: auto 0;

}

.g-nav li {

    margin-bottom: 3px;
    padding: 0 0 0 37px;
    display: inline-block;
    font-weight: 600;
    color: black;
}

li {

    list-style: none;

}

.g-nav a {
    text-decoration-line: none;
    font-size: 19px;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.g-nav ul,
.socialEffect__box ul {

    padding-left: 0px;

}

.g-nav a:visited {

    color: #ffffff;

}

.keyvisual img {

    display: block;
    width: 100%;
    height: auto;

}


.servicelist1,
.servicelist2 {
    margin: 0 20%;

}


.servicelist1 {

    display: flex;


}

.servicelist2 {

    display: flex;

}

.icon {

    text-align: center;
}

.ttl {

    text-align: center;
    margin-top: 7%;
    font-weight: bold;
    width: 100%;

}

.sttl {

    text-align: center;
    color: #a5a5a5;

}

.text01 {

    font-size: 17px;
    color: #333;
    line-height: 2.3;
    width: 73%;
    margin: 0 auto 9% auto;

}

.direc,
.code,
.design,
.conslt {

    margin-bottom: 50px;
}

/* .direc,
.code {

    margin-right: 100px;

} */



/* ホバー時の色変え */
/* ヘッダーのメニュー下線 */

.menu-nav a:before {

    /* content: "";
    background: red;
    position: relative;
    top: 20px;
    width: 100%;
    height: 10px;
    opacity: 0; */
    /*透過0*/
    /* display: block;
    z-index: -1;
    transition: .3s ease-in-out;
    transform: translateY(100%);
    pointer-events: none; */

}

.menu-nav a:hover:before {

    opacity: 1;
    /*透過なしに変化*/
    transform: translateY(0);

}




h2 {

    margin-top: 100px;
    color: inherit;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;

}


.design,
.code,
.conslt,
.maintenance {

    margin-top: 138px;
}



.discover,
.direc,
.design,
.code,
.conslt,
.maintenance {

    display: flex;
}

.discover_image,
.direc_image,
.design_image,
.code_image,
.conslt_image,
.maintenance_image {
    width: 52%;
    margin-top: 5%;
}

.discover_image {

    margin-left: auto;

}

.discover_arrange,
.direc_arrange,
.design_arrange,
.coding_arrange,
.conslt_arrange,
.maintenance_arrange {

    width: 100%;
    height: 100%;
}

.direc_image {
    margin-top: 40px;
}


.design_image {
    margin-left: auto;

}

.code_image {}




.conslt_image {
    margin-left: auto;

}



.maintenance_image {}




.works_content {
    background-image: url('material/background2.PNG');
    background-size: cover;
}

.discover_arrange,
.direc_arrange,
.design_arrange,
.coding_arrange,
.conslt_arrange,
.maintenance_arrange {
    background: #f4f4f4;

}


.topvideo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sptopvideo {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.works_content {

    display: flex;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
    text-align: center;
    padding-bottom: 137px;
}

.works_content_img {
    width: 95%;
}

.works_content_detail {
    width: 50%;

    position: relative;
    overflow: hidden;

}

.works_content_detail img {
    transition: transform 0.3s ease;
}

.works_content_detail:hover img {
    transform: scale(1.1);
}

.works-button {
    display: flex;
    margin: 0 auto;
    position: relative;
    bottom: 102px;
}

a.btn-border {
    border: 2px solid #222;
    border-radius: 3px;
}

.btn,
a.btn,
button.btn {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 0.5rem 2rem;
    cursor: pointer;

    user-select: none;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;

}

a.btn-border:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 100%;
    content: "";
    transition: all 0.3s;
    transform: translateX(0) translateY(0);
    border-radius: 0 50% 50% 0;
    background: #333;
}

a.btn-border:hover:before {
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    line-height: 30px;
    width: 30px;
    height: 30px;
    content: "\f061";
    transform: translateX(467%) translateY(0.5rem);
    color: #fff;
    border-radius: 50%;
}


.works-button>a {

    margin: 0 auto;
}

.foot {

    width: 80%;
    text-align: left;
    display: flex;
    margin: 0 auto;

}

.foot ul {

    flex-wrap: wrap;
    padding-left: 0px;
    width: 100%;

}

.foot li {

    margin-bottom: 3px;
    padding: 0 0 0 15px;
    display: inline-block;
    font-weight: 600;
}


.foot a:visited {

    color: black;

}

.small_PC {

    width: 45%;
    font-size: 1.1rem;
    margin: auto 0;

}

.foot-menu {

    width: 100%;
}

.menu-nav li a {

    color: #FFF;
}

.foot_logo {
    display: flex;
    margin: auto 50px auto 50px;
}

.foot_logo a {
    display: flex;
    align-items: center;
    text-decoration-line: none;
}

.footer-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}



.foot_menu_nav li a {
    color: #333;
    font-size: 19px;
    text-decoration-line: none;
}

/* スマホ対応 */

.discover_image,
.direc_image,
.code_image,
.design_image,
.conslt_image,
.maintenance_image {
    display: block;
}

.discover_image_sp,
.direc_image_sp,
.code_image_sp,
.design_image_sp,
.conslt_image_sp,
.maintenance_image_sp {

    display: none;
}

.small_sp {
    display: none;
}

/* セクションヘッダーのスタイル */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: white;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0,0,0,0.02) 50%, transparent 51%);
    background-size: 20px 20px;
    pointer-events: none;
}

.section-subtitle {
    color: #0e2361;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-header h2 {
    color: #0e2361;
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
        padding: 30px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
}

/* サービスセクションのスタイル */
.service-item {
    display: flex;
    align-items: stretch;
    margin-bottom: 100px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-height: 500px;
}

.service-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-number {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
}

.service-label {
    color: #0e2361;
    font-size: 1.1rem;
    font-weight: bold;
}

.service-number-text {
    color: #0e2361;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    margin: 0 auto;
}

.service-text {
    margin-bottom: 40px;
}

/* サービスヘッダーの横並びレイアウト */
.service-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.service-header::before {
    content: "";
    display: block;
    width: 2px;
    height: 80px;
    background-color: #e9ecf2;
    flex-shrink: 0;
    align-self: center;
    order: 1;
}

.service-header .service-number {
    flex-shrink: 0;
    margin-bottom: 0;
    order: 0;
}

.service-header .service-text {
    flex: 1;
    margin-bottom: 0;
    order: 2;
}

.service-subtitle {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.service-title {
    color: #000000;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 0px;
    text-align: left;
}

.service-description {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.service-point {
    background: #ededed;
    padding: 10px 25px;
    border-radius: 5px;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-point .point-label {
    background: #0e2361;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 15px;
}

.service-point .point-title {
    color: #0e2361;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 10px 0 10px 0;
}

.service-point .point-description {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
}



.service-item.reverse .service-visual {
    border-radius: 10px 0 0 10px;
}

/* Gauge Container */
.gauge-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gauge-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gauge-content {
    display: flex;
    gap: 40px;
    z-index: 1;
}

.gauge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 150px;
}

.gauge-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #0e2361;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.gauge-value {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 5px;
}

.gauge-arrow {
    position: absolute;
    font-size: 1.2rem;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.gauge-arrow.up {
    color: #28a745;
}

.gauge-arrow.down {
    color: #dc3545;
}

.gauge-label {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

/* Service Image Styling */
.service-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* スマホ用画像（デスクトップでは非表示） */
.service-mobile-image {
    display: none;
    margin: 20px 0;
    text-align: center;
}

.service-mobile-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}



/* Responsive adjustments for service section */
@media (max-width: 768px) {
    

    .header.fixed .header-logo-scrolled{
        margin: 18px;
    }

    .service-header::before{
        display: none;
    }

    .service-item {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-content {
        padding: 40px 30px;
    }

    .service-visual {
        padding: 30px;
        border-radius: 0 0 10px 10px;
        display: none; /* スマホでは非表示 */
    }

    .service-item.reverse .service-visual {
        border-radius: 10px 10px 0 0;
        display: none; /* スマホでは非表示 */
    }

    .gauge-content {
        flex-direction: column;
        gap: 20px;
    }

    .gauge-item {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        padding: 20px;
    }

    .gauge-circle {
        width: 80px;
        height: 80px;
    }

    .gauge-value {
        font-size: 1.5rem;
    }

    .gauge-arrow {
        font-size: 1rem;
    }

    .service-point {
        margin-top: 30px;
        padding: 20px;
    }

    .service-point .point-title {
        font-size: 1.2rem;
    }
    
    .service-image-container {
        padding: 15px;
    }
    
    .service-image {
        border-radius: 8px;
    }
    
    /* スマホ表示で画像を表示 */
    .service-mobile-image {
        display: block;
    }
    
    .service-mobile-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    
    .service-header {
        flex-direction: column;
        gap: 20px;
    }


    
    .service-header .service-number {
        margin-bottom: 0;
    }
    
    .service-header .service-text {
        margin-bottom: 0;
    }
    
    .service-title {
        font-size: 1.5rem;

    }
    
    .service-number-text {
        font-size: 2.5rem;
    }
    
}

/* ミッションセクションのスタイル */
.mission-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 100px auto;
    padding: 0 40px;
    gap: 60px;
    text-align: center;
}

.mission-text {
    flex: 1;
}

.mission-main {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.mission-visual {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        padding: 0 30px;
        gap: 40px;
        text-align: center;
    }
    
    .mission-main {
        font-size: 1.5rem;
    }
    
    .mission-description {
        font-size: 1rem;
    }
    
    .mission-visual {
        width: 150px;
        height: 150px;
    }
    
    .mission-icon {
        font-size: 3rem;
    }
}

/* 会社情報セクションのスタイル */
.company-info-section {
    background: #0e2361;
    color: white;
    padding: 80px 0;
}

.company-info-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px;
}

.company-details {
    flex: 1;
    max-width: 500px;
}

.company-logo-area {
    margin-bottom: 40px;
}

.company-info-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: white;
}

.company-data-list {
    margin: 0;
    padding: 0;
}

.company-data-list dt {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 25px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.company-data-list dd {
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}

.company-data-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-data-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.company-data-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

.company-info-copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.company-map {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.company-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .company-info-container {
        flex-direction: column;
        padding: 0 30px;
        gap: 40px;
    }
    
    .company-details {
        max-width: none;
    }
    
    .company-info-name {
        font-size: 2rem;
        text-align: center;
    }
    
    .company-map {
        height: 300px;
    }
    
    .company-data-list dt {
        font-size: 0.95rem;
    }
    
    .company-data-list dd {
        font-size: 0.95rem;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .header-logo-scrolled {
        position: absolute;
        top: 0;
        left: 0;
    }
}