@charset "utf-8";
/*
background-color:#fefcfa;
color: #5c5a57;
link-color:#8b7c7c; 薄いグレー
link:hover-color: #3b3b3b;

orange #f89173;
green #99e069
*/

.category-jp-view {
    height: calc(100vh - 100px);
    width: 100%;
    background-image: url(../images/category/category-jp2.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.category-en-view {
    height: calc(100vh - 100px);
    width: 100%;
    background-image: url(../images/category/category-eng2.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

h1.top-h1{
    display: none;
}

/*日本語版*/

.first-index {
    margin-top: 30px;
    max-width: 60%;
    border-top: solid 45px #f89173;
    border-right: solid 3px #f89173;
    border-left: solid 3px #f89173;
    border-bottom: solid 3px #f89173;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.first-index::before {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    background-image: url(../images/category/icon-index-050328.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -32px;
    right: 50%;
    /*一度目次と同じ位置にする*/
    /*50%の位置から左にずらす→できなかったのでright50%*/

    /* 
    top:34px;
    left: 46.8%;
    z-index: 10;
    iphone seならばっちり*/
}

.first-index::after {
    content: "目次";
    font-size: 25px;
    color: #fefcfa;;
    position: absolute;
    top: -37px;
    left: 50%;
    /*  left: 50%;
    iphone seならばっちり*/
}

/*英語版*/

.first-index-en {
    margin-top: 30px;
    max-width: 60%;
    border-top: solid 45px #f89173;
    border-right: solid 3px #f89173;
    border-left: solid 3px #f89173;
    border-bottom: solid 3px #f89173;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.first-index-en::before {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    background-image: url(../images/category/icon-index-050328.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -32px;
    right: 50%;
    /*一度目次と同じ位置にする*/
    /*50%の位置から左にずらす→できなかったのでright50%*/

    /* 
    top:34px;
    left: 46.8%;
    z-index: 10;
    iphone seならばっちり*/
}

.first-index-en::after {
    content: "index";
    font-size: 25px;
    color: #fefcfa;;
    position: absolute;
    top: -37px;
    left: 50%;
    /*  left: 50%;
    iphone seならばっちり*/
}

.check-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../images/category/icon-check-050328.png);
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

/*日本語版*/

.first-index li {
    font-size: 23px;
    margin-top: 20px;
    margin-left: 20px;
}

.first-index li:last-child {
    margin-bottom: 20px;
}

.first-index li {
    color: #8b7c7c;
}

.first-index a:hover {
    color: #3b3b3b;
    text-decoration: underline;
    opacity: 0.85;
}

/*英語版*/

.first-index-en li {
    font-size: 23px;
    margin-top: 20px;
    margin-left: 20px;
}

.first-index-en li:last-child {
    margin-bottom: 20px;
}

.first-index-en li {
    color: #8b7c7c;
}

.first-index-en a:hover {
    color: #3b3b3b;
    text-decoration: underline;
    opacity: 0.85;
}



.category-by-field {
    max-width: 80%;
    margin-top: 15px;
}

.category-by-field li{
    margin-left: 50px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 25px;
}

.category-by-field li:last-child{
    margin-bottom: 30px;
}

.category-by-field:last-child {
    margin-bottom: 30px;
}


h2.h2-type1 {
    font-weight: normal;
    font-size: 35px;
    color: #5c5a57;
    border-left: 10px solid #f89173;
    border-bottom: 1px solid transparent;
    background-color: transparent;
    padding: 0.75em 1em;
    box-shadow: 1px 1px 1px 0px #ccc;
    margin-left: 15px;
    margin-bottom: 30px;
    margin-top: 80px;
}
.main-index-jp {
    margin-top: 30px;
}

@media (min-width: 1200px)  {
    .category-by-field {
        max-width: 75%;
    }
}

@media (min-width: 1800px)  {
    .category-by-field {
        max-width: 60%;
    }
}

@media (max-width: 600px)  {
    .category-by-field {
        max-width: 95%;
        margin-top: 80px;
    }
}


@media (max-width: 800px) {
    h2.h2-type1 {
        font-size: 30px;
    }

    .first-index li {
        font-size: 20px;    
    }
}

@media (max-width: 450px) {
    h2.h2-type1 {
        font-size: 27px;
    }

    .first-index li {
        font-size: 20px;    
    }
}