* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1E3A5F;
    --light-blue: #007ACC;
    --dark-blue: #0F1F3D;
    --accent-red: #D5262A;
    --background-gray: #F2F4F6;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--background-white);
    height: 100%;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(242, 244, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo_triconudge{
    width: 140px;
    height: auto;
    display: flex;
}

.g-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    height: 100%;
}

.g-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0 5px;
}

.g-nav a:hover {
    color: var(--primary-blue);
}

.g-nav a::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.g-nav a:hover::after {
    width: 100%;
}

/* 準備中のメニュー項目スタイル */
.g-nav a.coming-soon {
    color: #ccc !important;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.g-nav a.coming-soon::after {
    display: none;
}

.g-nav a.coming-soon::before {
    content: '準備中';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #999;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.g-nav a.coming-soon:hover::before {
    opacity: 1;
}

.contact-btn {
    background: var(--accent-red);
    color: var(--background-white) !important;
    padding: 10px 20px!important;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex !important;
    align-items: center;
    height: auto !important;
}

.contact-btn:hover {
    background: #B81F23;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-btn::after {
    display: none;
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown > a::before {
    content: '▼';
    font-size: 0.5rem;
    margin-left: 8px;
    margin-right: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
    color: var(--text-gray);
}

.dropdown:hover > a::before {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-white);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    min-width: 280px;
    height: auto  !important;
    gap: 10px !important;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    height: auto;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

.dropdown-menu a::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.mainvisual {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -80px;
    padding-top: 80px;
}

.mainvisual-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mainvisual-slider img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.mainvisual-slider .slick-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mainvisual-slider .slick-dots li button:before {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.mainvisual-slider .slick-dots li.slick-active button:before {
    color: var(--background-white);
}

.mainvisual-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    max-width: 960px;
    padding: 0 60px;
    width: 100%;
}

.main-copy {
    font-size: 3.2rem;
    font-weight: 900;
    color: #333333;
    margin-bottom: 30px;
    letter-spacing: 0.02em;
    line-height: 1.3;
    animation: fadeInUp 1s ease;
    text-shadow: 4px 4px 8px rgb(255, 255, 255);
}

.sub-copy {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s; 
    animation-fill-mode: both;
    text-shadow: 2px 2px 4px rgb(255, 255, 255);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}*

.cta-button {
    display: inline-block;
    background: var(--accent-red);
    color: var(--background-white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(213, 38, 42, 0.3);
}

.cta-button::after {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: #B81F23;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(213, 38, 42, 0.3);
}

.cta-button:hover::after {
    transform: translateX(5px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-red);
}

.lead-message {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.about {
    padding: 100px 0;
    background: var(--background-white);
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 60px;
}

.section-header .lead-text span{
    display: block;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: var(--background-gray);
    padding: 40px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.3;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

.service {
    padding: 100px 0;
    background: var(--background-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    text-decoration: none;
    background: var(--background-white);
    padding: 0;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.service-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    padding-top: 20px;
}

.service-image img {
    width: 60%;
    height: 60%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    right: 20px;
}

.service-item:hover .service-icon {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.service-icon span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--background-white);
    transition: color 0.3s ease;
}

.service-item:hover .service-icon span {
    color: var(--background-white);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 20px 30px 0;
}

.service-item p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    padding: 0 30px 30px;
}

.button-wrapper {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-red);
    color: var(--background-white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #B81F23;
    color: var(--background-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    color: var(--background-white);
    width: 300px;
    height: 300px;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--background-white);
}

.works {
    padding: 100px 0;
    background: var(--background-white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.work-item {
    background: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.work-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-content {
    padding: 30px;
}

.work-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light-blue);
    margin-bottom: 20px;
    line-height: 1.6;
}

.work-details p {
    color: var(--text-gray);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.company-name {
    font-weight: 700;
    color: var(--text-dark);
}

.work-tags {
    display: inline;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.work-tags .tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.work-tags .industry-tag {
    background: var(--background-gray);
    color: var(--text-dark);
    margin-bottom: 10px;
}

.work-tags .service-tag {
    color: var(--light-blue);
    border: 1px solid var(--light-blue);
    margin-bottom: 10px;
}

.work-link {
    display: block;
    color: var(--primary-blue);
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.work-link:hover {
    border-bottom-color: var(--primary-blue);
}

.work-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.work-link:hover::after {
    transform: translateX(5px);
}

.member {
    padding: 100px 0;
    background: var(--background-gray);
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.member-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.member-photo {
    width: 150px;
    height: 150px;
    background: var(--background-gray);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.member-photo:hover img {
    transform: scale(1.1) rotate(5deg);
}

.member-photo:not(:has(img))::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-blue);
    opacity: 0.1;
    border-radius: 50%;
}

.member-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.member-info p {
    color: var(--text-gray);
    line-height: 1.8;
}

.member-message {
    text-align: center;
    background: var(--background-white);
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.member-message p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.8;
}

.information {
    padding: 100px 0;
    background: var(--background-white);
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-item:hover {
    padding-left: 20px;
}

.news-item time {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.news-item:hover h3 {
    color: var(--primary-blue);
}

.company {
    padding: 100px 0;
    background: var(--background-gray);
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background-white);
    padding: 60px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.company-info dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
}

.company-info dt {
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 5px;
}

.company-info dd {
    color: var(--text-gray);
}

.company-info ul {
    list-style: none;
    line-height: 2;
}

.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--background-white);
    text-align: center;
}

.contact-section .section-title {
    color: var(--background-white);
}

.contact-section .section-title::after {
    background: var(--background-white);
}

.contact-lead {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-wrapper {
    margin-top: 40px;
}

.btn-contact {
    display: inline-block;
    background: var(--accent-red);
    color: var(--background-white);
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-contact:hover {
    background: #B81F23;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(213, 38, 42, 0.3);
}

.footer {
    background: var(--text-dark);
    color: var(--background-white);
    padding: 60px 0 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav {
    margin-bottom: 40px;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px;
    justify-content: center;
}

.footer-nav a {
    color: var(--background-white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-logo {
    margin: 0 auto;
    margin-bottom: 20px;
    width: 200px;
}

.footer-logo p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.9;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.8rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    
    .header-inner {
        padding: 0 15px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .g-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
        text-align: center;
    }
    
    .mainvisual {
        margin-top: -70px;
        padding-top: 70px;
    }
    
    .mainvisual-content {
        padding: 0 20px;
        text-align: center;
    }
    
    .main-copy {
        font-size: 2.5rem;
    }
    
    .sub-copy {
        font-size: 0.9rem;
    }

    .mainvisual-content span,
    h2.main-copy span{
    display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .member-grid {
        grid-template-columns: 1fr;
    }
    
    .member-item {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .company-info {
        padding: 40px 30px;
    }
    
    .company-info dl {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .section-header .lead-text span{
    display: inline;
}
}

.g-nav.active {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    padding: 20px 0;
}

.g-nav.active ul {
    flex-direction: column;
    gap: 20px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #6c757d;
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #5a6268;
}

/* 矢印を非表示にして、小さな矢印とTOPテキストを表示 */
.arrow-up {
    display: none;
}

.scroll-to-top::before {
    content: '▲';
    font-size: 14px;
    line-height: 1;
    margin-bottom: 2px;
}

.scroll-to-top::after {
    content: 'TOP';
    font-size: 11px;
    line-height: 1;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .scroll-to-top::before {
        font-size: 12px;
        margin-bottom: 1px;
    }
    
    .scroll-to-top::after {
        font-size: 9px;
    }
}