
:root {
--as-maincolor: #122353;
--as-maincolor-h: #3c5ba0;
--as-maincolor-h2: #505f88;
--as-subcolor: #a5a5a5;
--as-subcolor-h: #cfcfcfff;
--as-bgcolor01: #f7f7f7;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px !important;
}

.as-header {
    background-color: var(--as-maincolor);
    padding: 10px 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    padding: 0.8rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--as-maincolor);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

.btn-contact {
    background-color:  var(--as-maincolor);
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.collapse{
    visibility: visible !important;
}
        
/* Navbar mobile adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
        margin-bottom:1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem 0;
    }
    
    .dropdown-menu {
        border: none;
        background-color: #1e293b;
        box-shadow: none;
    }
    
    .dropdown-item {
        color: #e2e8f0;
        padding: 0.5rem 1rem;
    }
    
    .dropdown-item:hover {
        background-color: #334155;
        color: white;
    }

    collapse{
        visibility: collapse;
    }
}



#top .hero-section {
    padding: 80px 0 100px 0;
}


.hero-section {
    background: linear-gradient(315deg, #000000 0%, #122353 25%, #3c5ba0 50%, #122353 85%, #000000 100%);
    color: white;
    padding: 2em 0 3em 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(315deg, #000000 0%, #122353 25%, #3c5ba0 50%, #122353 85%, #000000 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

#top .hero-section .gradientline {
    bottom: 1em;
    height:1em;
}


.hero-section .gradientline {
    background: linear-gradient(90deg, #da0e00 0%, #e96a0b 19%, #eeb71a 36%, #c1e0b7 50%, #0096df 64%, #004e99 75%, #372d82 90%, #441071 100%);
    bottom: 0.75em;
    position: absolute;
    height: 0.75em;
    display: block;
    width: 100%;
}
        
.feature-box {
    border-radius: 12px;
    padding: 2.5em;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.bg-pink-soft {
    background-color: #fecdd3;
}

.bg-orange-soft {
    background-color: #fed7aa;
}

.bg-yellow-soft {
    background-color: #fef08a;
}

.bg-green-soft {
    background-color: #bbf7d0;
}

.bg-blue-soft {
    background-color: #bfdbfe;
}

.bg-purple-soft {
    background-color: #e9d5ff;
}

.bg-lavender-soft {
    background-color: #f3e8ff;
}

.intro-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-section {
    background: var(--as-maincolor);
    color: white;
    padding: 60px 0;
}

.btn-custom {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 50px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.btn-custom:hover {
    background-color: white;
    color: var(--as-maincolor);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}




/*  ################################################################
    記事ページ
################################################################# */

/*基本*/

.usaco_con_wrap_2 .con_main {
    padding-right: 0;
}

@media screen and (min-width:768px) {
    .usaco_con_wrap_2 .con_main {
    padding-right: 2em;
    }
}

.usaco_con_wrap_2 .con_side {
    position: sticky;
    top: 100px
}

article{

    ul li,
    ol li{
        margin-bottom: 0.5em;
        list-style: circle !important;
        margin-left: 1.5em;
    }

    p{
        margin-bottom: 1em !important;
    }

    h3.section-heading {
        position: relative;
        padding-left: 50px;
        font-size: 2em;
        font-weight: 700;
        color: #1e293b;
        margin: 1em 0 0.5em;
        padding: 0.1em 0 0.2em 1.5em;
        border-bottom: 3px solid var(--as-maincolor);
    }

    h3.section-heading::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.3em;
        width: 1em;
        height: 1em;
        background-color: var(--as-maincolor);
        border-radius: 4px;
    }

    h3.section-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -0.3em;
        width: calc(100% - 1em);
        height: 3px;
        background-color: var(--as-subcolor);
        z-index: -1;
    }

    
    h5.section-heading {
        position: relative;
        font-size: 1.3em;
        font-weight: bold;
        margin: 1em 0 0.5em;
        padding: 0.1em 0.5em 0.1em 1.5em;
        border-bottom: 3px solid var(--as-subcolor);
        display: inline-block;
    }

    h5.section-heading::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.3em;
        width: 1em;
        height: 1em;
        background-color: var(--as-subcolor);
        border-radius: 4px;
    }


    @media screen and (min-width:768px) {
        .article_block{
            margin: 0 1em;
        }
    }

    .row--2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .col--2 {
        width: 100%;
        padding: 0;
    }

    @media screen and (min-width:768px) {
        .col--2 {
            width: calc(100% / 2);
            padding: 1em;
        }
    }

    .row--3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .col--3 {
        width: 100%;
        padding: 0;
    }

    @media screen and (min-width:768px) {
        .col--3 {
            width: calc(100% / 3);
            padding: 1em;
        }
    }

    .row--4 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .col--4 {
        width: 100%;
        padding: 0;
    }

    @media screen and (min-width:768px) {
        .col--4 {
            width: calc(100% / 4);
            padding: 1em;
        }
    }



}
