@charset "utf-8";

.mainimage img {
    width: 100%;
	vertical-align: bottom;
}

.slick-slide img { /* 画像下の隙間削除 */
	vertical-align: bottom;
	display: inline!important;
}

#container {
    #main {
        section {
            padding: 50px 0 0 0;
        }
        h2 {
            margin-bottom: 20px;
            font-size: 3.5rem;
            font-weight: bold;
            line-height: 1.3;
            @media (width <= 999px) {
                font-size: 2.5rem;
            }
        }
        .sectionAbout {
            .about-headline {
                a {
                    background: var(--color-main);
                    border-radius: 4px;
                    top: 1px;
                    margin-left: 10px;
                    padding: 3px 10px;
                    font-size: 1.3rem;
                    text-decoration: none;
                    line-height: 1;
                    color: #fff;
                    position: relative;
                    &:hover {
                        background: var(--color-main-light);
                    }
                    &::after {
                        margin-left: 5px;
                        font-family: var(--fa);
                        content: "\f101";
                        font-weight: 900;
                    }
                    @media (width <= 999px) {
                        margin-top: 15px;
                        margin-left: 0;
                        padding: 10px;
                        text-align: center;
                        font-size: 1.6rem;
                        display: block;
                    }
                }
            }
            .about-box {
                .about-box-inner {
                    background: var(--color-main2-thin);
                    border: 1px solid var(--color-main2-light);
                    padding: 25px;
                    h3 {
                        background: var(--color-main2-deep);
                        margin-bottom: 15px;
                        padding: 10px 20px;
                        color: #fff;
                        font-size: 2.0rem;
                        font-weight: bold;
                    }
                    .about-box_img {
                        margin-bottom: 5px;
                        img {
                            vertical-align: bottom;
                        }
                    }
                    .buttonLink1 {
                        border-radius: 0;
                    }
                }
            }
        }
        .sectionContents {
            h2 {
                margin-bottom: 50px;
                font-size: 5.0rem;
                text-align: center;
                @media (width <= 999px) {
                    margin-bottom: 25px;
                    font-size: 4.0rem;
                }
            }
            .contents-link {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
                @media (width <= 999px) {
                    grid-template-columns: repeat(2, 1fr);
                }
                .contents-box_img {
                    img {
                        vertical-align: bottom;
                    }
                }
                .buttonLink1 {
                    border-radius: 0;
                    margin-bottom: 0;
                    a {
                        @media (width <= 999px) {
                            padding: 10px;
                            font-size: 1.4rem;
                        }
                        &::before {
                            @media (width <= 999px) {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }
}