@charset "utf-8";

.mainimage img {
    width: 100%;
	vertical-align: bottom;
}

.slick-slide img { /* 画像下の隙間削除 */
	vertical-align: bottom;
	display: inline!important;
}

#container {
    #main {
        h2 {
            margin-bottom: 30px;
            font-size: 3.2rem;
            font-weight: bold;
            text-align: center;
            @media (width <= 999px) {
                font-size: 2.4rem;
            }
        }
        .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;
                    }
                }
            }
            .purchase-list-box {
                display: flex;
                gap: 15px;
                .purchase-list-box_img {
                    width: 150px;
                    @media (width <= 999px) {
                        width: 120px;
                    }
                }
                .purchase-list-box_text {
                    width: calc(100% - 150px);
                    @media (width <= 999px) {
                        width: calc(100% - 120px);
                    }
                    div {
                        border-bottom: 1px solid #ccc;
                        margin-bottom: 10px;
                        padding-bottom: 10px;
                        font-size: 2.0rem;
                        font-weight: bold;
                    }
                    p {
                        font-size: 1.4rem;
                        margin-bottom: 0;
                    }
                }
            }
        }
        .sectionExample {
            background: var(--color-main-thin);
            .example-list {
                display: grid;
                grid-template-columns: repeat(6, 1fr);
                gap: 15px;
                @media (width <= 999px) {
                    grid-template-columns: 1fr 1fr;
                }
                li {
                    .example-list_img {
                        margin-bottom: 10px;
                        img {
                            vertical-align: bottom;
                        }
                    }
                    .example-list_text {
                        text-align: center;
                    }
                }
            }
        }
        .sectionFlow {
            .flow-list {
                margin-bottom: 25px;
                display: grid;
                grid-template-columns: repeat(5, 1fr);
                gap: 15px;
                @media (width <= 999px) {
                    grid-template-columns: repeat(2, 1fr);
                    grid-template-rows: repeat(3, 1fr);
                }
                li {
                    display: flex;
                    align-items: center;
                    @media (width <= 999px) {
                        margin-bottom: 15px;
                    }
                    &.flow-list5 {
                        @media (width <= 999px) {
                            grid-column: span 2 / span 2;
                        }
                    }
                    img {
                        background: var(--color-main2-deep);
                        border-radius: 500px;
                        width: 50px;
                        height: auto;
                        margin-right: 20px;
                        padding: 10px;
                    }
                }
            }
            .flow-info {
                font-size: 1.8rem;
                font-weight: bold;
                @media (width <= 999px) {
                    font-size: 1.6rem;
                }
            }
        }
        .sectionInfo {
            .info-menu {
                margin-bottom: 25px;
                display: flex;
                gap: 30px;
                @media (width <= 999px) {
                    display: block;
                }
                li {
                    @media (width <= 999px) {
                        margin-bottom: 10px;
                    }
                    a {
                        background: var(--color-main);
                        padding: 10px 20px;
                        color: #fff;
                        text-decoration: none;
                        position: relative;
                        @media (width <= 999px) {
                            text-align: center;
                            display: block;
                        }
                        &:hover {
                            background: var(--color-main-light);
                            &::after {
                                background: var(--color-main-light);
                            }
                        }
                        &:after {
                            content: "";
                            background: var(--color-main);
                            clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
                            display: block;
                            position: absolute;
                            top: 0;
                            right: -15px;
                            width: 15px;
                            height: 100%;
                            @media (width <= 999px) {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }
}