@charset 'UTF-8';

html ,body ,div ,span ,applet ,object ,iframe ,h1 ,h2 ,h3 ,h4 ,h5 ,h6 ,p ,blockquote ,pre ,a ,abbr ,acronym ,address ,big ,cite ,code ,del ,dfn ,em ,font ,img ,ins ,kbd ,q ,s ,samp ,small ,strike ,strong ,sub ,sup ,tt ,var ,b ,u ,i ,center ,dl ,dt ,dd ,ol ,ul ,li ,fieldset ,form ,label ,legend ,table ,caption ,tbody ,tfoot ,thead ,tr ,th ,td {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    font-size: 16px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #151515;
    img {
        vertical-align: bottom;
        width: 100%;
    }
    a {
        text-decoration: none;
        color: #151515;
        &:hover {
            text-decoration: underline;
        }
    }
    li {
        list-style: none;
    }

    header {
        background: url("../../images/common/hd_bg_img_yellow.png") center repeat-x;
        h1 {
            max-width: 880px;
            margin: 0 auto;
            position: relative;
            &::after {
                display: block;
                position: absolute;
                content: "";
                width: 120px;
                height: 120px;
                background: url("../../images/common/JACI_chara.png") no-repeat;
                background-size: contain;
                right: 0;
                top: 24px;
            }
            img {
                text-align: left;
                width: auto;
            }
        }
    }


    #main_wrap {
        max-width: 880px;
        margin: 0 auto;
        .mainVisual {
            a {
                display: block;
                position: relative;
                &:hover {
                    opacity: .8;
                }
                &::before {
                    position: absolute;
                    content: "";
                    background: url("../../images/common/click.png") no-repeat;
                    background-size: contain;
                    width: 160px;
                    height: 32px;
                    bottom: 0;
                    right: 0;
                }
            }
        }
        section {
            h3 {
                text-align: center;
                background-color: #1c94e8;
                color: #fff;
                height: 48px;
                line-height: 48px;
            }
        }
        section.secWrap {
            margin-top: 64px;
        }

        #news {
            margin-top: 48px;
            ul {
                margin-top: 24px;
                li {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    column-gap: 24px;
                    + li {
                        margin-top: 24px;
                    }
                    span {
                        display: block;
                        flex-shrink: 0;
                    }
                }
            }
        }

        #sympoArchive {
            margin-top:48px;
            ul {
                margin-top: 24px;
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                column-gap: 40px;
                li {
                    width: calc((100% - 40px) / 2);
                    p {
                        margin-top: 8px;
                        &::before {
                            content: "\025b6";
                            margin-right: 4px;
                        }
                    }
                }
            }
        }

        .sympoPrice {
            .priceWrap {
                margin-top: 24px;
                padding: 0 24px;
                display: flex;
                flex-wrap: nowrap;
                align-items: self-start;
                justify-content: space-between;
                column-gap: 24px;
                .memberBox {
                    text-align: center;
                    width: calc((100% - 24px * 2) / 3);
                    h4 {
                        background-color: #1c56e8;
                        color: #fff;
                        padding: 4px 0;
                        + p {
                            margin-top: 16px;
                        }
                    }
                    .price {
                        margin-top: 16px;
                    }
                    .priceBox {
                        display: flex;
                        flex-direction: row;
                        justify-content: space-between;
                        dl.price {
                            width: calc(100% / 3);
                            display: flex;
                            flex-direction: column;
                            dt {
                                border: 1px solid #848484;
                                padding: 4px;
                                box-sizing: content-box;
                                flex-grow: 1;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                            }
                            dd {
                                padding: 4px;
                                box-sizing: content-box;
                                border: 1px solid #848484;
                                margin-top: auto;
                            }
                        }
                    }
                    p.price {
                        padding: 4px;
                        box-sizing: content-box;
                        border: 1px solid #848484;
                    } 
                }
            }
        }

        .howAppli {
            h3 + p {
                margin-top: 24px;
            }
            .appliFlow {
                margin-top: 24px;
                h4 {
                    &::before {
                        content: "\025b6";
                        margin-right: 4px;
                    }
                }
                ol {
                    margin-top: 8px;
                    list-style-position: inside;
                    li {
                        list-style: custom-counter-style;
                        margin-left: 20px;
                        + li {
                            margin-top: 8px;
                        }
                        a {
                            display: inline-block;
                            border-bottom: 1px solid #848484;
                            text-decoration: none;
                        }
                    }
                }
            }
        }
    }

    footer {
        margin-top: 64px;
        background: url("../../images/common/ft_bg.jpg") repeat-x;
        .footer_wrap {
            max-width: 880px;
            margin: 0 auto;
            padding: 64px 0 40px;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: space-between;
            .about {
                display: flex;
                flex-direction: column;
                row-gap: 24px;
                .jaci {
                    img {
                        display: block;
                        width: auto;
                    }
                    a {
                        display: block;
                        margin-top: 8px;
                        font-size: 12px;
                    }
                }
            }
            .copyright {
                a + a {
                    margin-left: 24px;
                }
                img {
                    width: auto;
                }
            }
        }
    }
}