/* Reset and Base Styles */
body,
h6,
p {
    font-family: "Noto Sans JP" !important;
}

a {
    text-decoration: none;
    color: #0d1a38;
}

.sp_only {
    display: none;
}

.point {
    margin-bottom: 5px;
    color: #1D2A51;
    font-size: 14px;
    font-weight: 800;
}

.point-exp {
    margin-bottom: 50px;
    color: #1D2A51;
    font-size: 30px;
    font-weight: 500;
}

.mini-sp {
    display: none;
}

@media (max-width: 768px) {
    .sp_only {
        display: block;
    }
}

@media (max-width: 768px) {
    .pconly {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .sponly {
        display: none !important;
    }
}

nav.breadcrumb {
    display: block;
    background: #f5fdff;
}

nav.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 90%;
    max-width: 1200px;
    padding: 10px 0;
    list-style: none;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

nav.breadcrumb ol li {
    position: relative;
    padding-right: 1.5em;
}

nav.breadcrumb ol li::before {
    content: ">";
    position: absolute;
    right: 3px;
}

nav.breadcrumb ol li:last-child::before {
    content: none;
}

.breadcrumb a {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 120px);
}

.container_bst {
    margin: auto;
    width: 90%;
    max-width: 1200px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

main .main_area {
    width: 73%;
}

main #sidebar {
    width: 22%;
    position: sticky;
    top: 100px;
    height: 100%;
}

main #sidebar .side-cta {
    position: relative;
    margin-bottom: 10px;
}

main #sidebar .side-cta .back {
    width: 100%;
}

main #sidebar .side-cta .btn1,
main #sidebar .side-cta .btn2 {
    position: absolute;
    left: 8%;
    bottom: 6%;
    width: 80%;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

main #sidebar .side-cta .btn1 {
    bottom: -1%;
    width: 57%;
    left: 40%;
}

main #sidebar .side-cta .btn1:hover,
main #sidebar .side-cta .btn2:hover {
    transform: scale(1.07);
    filter: brightness(0.7);
}

main .main_area .en {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Main Area */
.main_area {
    width: 75%;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1D2A51;
    margin-bottom: 2rem;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #078ffb, #2db6d1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1D2A51;
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-link {
    display: inline-block;
    background: linear-gradient(135deg, #078ffb, #2db6d1);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.card-link:hover {
    opacity: 0.9;
    color: #fff;
}

/* Side Area */
.side_area {
    width: 25%;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1D2A51;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e3f2fa;
}

.widget-links {
    list-style: none;
}

.widget-links li {
    margin-bottom: 0.5rem;
}

.widget-links a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.widget-links a:hover {
    color: #0066cc;
}

.news-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.25rem;
}

.news-title {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.support-contact p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-btn {
    display: inline-block;
    background: #1D2A51;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #2a3a61;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container_bst {
        flex-direction: column;
        max-width: 500px;

    }

    main .main_area {
        width: 100%;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav {
        gap: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .tool-card .card-content {
        padding: 1rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    #lastcta{
        position: relative;
        margin-bottom: 30px;
    }
    #lastcta > img{
        width: 100%;
    }
    #lastcta a{
        position: absolute;
    }
    #lastcta .btn1{
        top: 39%;
        left: 6%;
        width: 60%;
    }
    #lastcta .btn2{
        top: 72%;
        left: 6%;
        width: 60%;
    }
    #lastcta a img{
        width: 100%;
    }
}