:root {
    --main-color: #2A7AC6;
    --gray: #f8f9fa;
}

a {
    transition: .3s ease;
}

a:hover {
    opacity: .6;
}

.main {
    width: 100%;
}

.page-ttl h2 {
    text-align: center;
    background-color: var(--main-color);
    color: #fff;
    padding: 10px;
}

.section {
    padding: 20px 20px;
}

.section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-ttl {
    margin-bottom: 30px;
    border-left: 4px solid var(--main-color);
    padding-left: 20px;
}

.top-menu {
    flex-wrap: wrap;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}

.top-menu.--col2 {
    grid-template-columns: 1fr 1fr;
}

.top-menu__item {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-menu__item.manual {
    min-width: 500px;
}

.top-menu__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.top-menu__item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top-menu__item-img {
    width: 100%;
    height: 150px;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-menu__item-img img {
    max-width: 60%;
    max-height: 60%;
    object-fit: cover;
}

.page-manual .top-menu__item-img {
    height: 250px;
}

.page-manual .top-menu__item-img img {
    max-width: 90%;
    max-height: 90%;
}

.top-menu__item-text {
    padding: 20px;
}

.top-menu__item-ttl {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--main-color);
}

.top-menu__item-ttl::before {
    content: "";
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
}

.top-menu__item-ttl::after {
    content: "";
    position: absolute;
    left: 4px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.top-menu__item-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
}

.contact-list {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.contact-list li a {
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-list li a::before {
    content: "";
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
}

.contact-list li a::after {
    content: "";
    position: absolute;
    left: 4px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info__box a {
    text-decoration: underline;
}

.faq-list {
    padding-left: 20px;
}

.faq-list li {
    font-size: 1.6rem;
    list-style-type: disc;
    margin: 15px 0;
}

.faq-list li a {
    text-decoration: underline;
    color: var(--main-color);
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    background-color: var(--main-color);
    color: #fff;
    font-size: 16px;
    padding: 15px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.8;
}

.faq-question:hover {
    opacity: .8;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
}

.faq-answer p {
    line-height: 1.8;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 200px;
    padding: 10px 15px;
}

.faq-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.breadcrumb {
    font-size: 14px;
    margin: 10px 0;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li a {
    text-decoration: none;
    color: var(--main-color);
    transition: color 0.3s ease;
}

.breadcrumb li::after {
    content: ">";
    margin: 0 5px;
    color: #ccc;
}

.breadcrumb li:last-child::after {
    content: "";
}

.page-not-found {
    text-align: center;
}

@media screen and (max-width: 1060px) {
    .top-menu,
    .top-menu.--col2 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 20px 10px;
    }    
    .top-menu {
        flex-direction: column;
    }
    .top-menu__item,
    .top-menu__item.manual {
        min-width: 0;
        width: 100%;
    }
    .top-menu__item-ttl {
        line-height: 1.6rem;
    }
    .top-menu__item-ttl::before {
        content: "";
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--main-color);
        width: 16px;
        height: 16px;
        border-radius: 50%;
        margin-right: 8px;
        position: relative;
    }
    .top-menu__item-ttl::after {
        content: "";
        position: absolute;
        left: 4px;
        /* top: 7px; */
        width: 6px;
        height: 6px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg);
    }
}
