/* contents.css */
/*--------------------------------------*/

/* header */
body {
    position: relative;
    border-top: 28px solid #eb9929;
}
body:before {
    position: absolute;
    top: -28px;
    left: 0;
    width: 100%;
    height: 22px;
    background-color: #0096d2;
    content: "";
}
@media only screen and (max-width: 750px) {
    body {
        border-top: 6.933vw solid #eb9929;
    }
    body:before {
        top: -6.933vw;
        height: 5.333vw;
    }
}

/* for top */
#top header {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 880px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("../images/kv.jpg");
}
#top header:before,
#top header:after {
    position: absolute;
    bottom: -25vw;
    width: 100vw;
    height: 25vw;
    background-color: #faf5f0;
    margin: auto;
    content: "";
}
#top header:before {
    left: 0;
    transform: skewY(8deg);
}
#top header:after {
    right: 0;
    transform: skewY(-8deg);
}
#top header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 7.5em;
    height: 2.25em;
    background-color: rgba(0,150,210,0.7);
    margin: auto;
    padding: 0.25em 0;
    border-radius: 8px;
    line-height: 1.2;
    font-size: 94px;
    font-weight: 700;
    color: #ffffff;
    z-index: 1;
}
#top header h1 span {
    display: block;
    font-size: 20px;
    letter-spacing: 0.2em;
}
#top header .scroll {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    width: 5em;
    margin: auto;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2em;
}
#top header .scroll:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1em;
    width: 1.0em;
    height: 0.65em;
    background-color: #ffffff;
    margin: auto;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    content: "";
}

@media only screen and (max-width: 1200px) {
    #top header {
        height: calc(100vh - 34px);
    }
    #top header h1 {
        font-size: 7.6vw;
    }
    #top header h1 span {
        font-size: 2.0vw;
    }
    #top header .scroll {
        bottom: 5.6vw;
        font-size: 1.8vw;
    }
}
@media only screen and (max-width: 750px) {
    #top header {
        height: 100vw;
    }
    #top header h1 {
        height: 2.5em;
        font-size: 8.6vw;
    }
    #top header h1 span {
        font-size: 2.4vw;
    }
    #top header .scroll {
        bottom: 5.6vw;
        font-size: 2.6vw;
    }
}

/* top lead */
#top-lead {
    overflow: hidden;
    background-color: #faf5f0;
    padding-top: 60px;
    padding-bottom: 160px;
}
#top-lead:before,
#top-lead:after {
    position: absolute;
    bottom: -25vw;
    width: 100vw;
    height: 25vw;
    background-color: #0096d2;
    margin: auto;
    content: "";
}
#top-lead:before {
    left: 0;
    transform: skewY(8deg);
}
#top-lead:after {
    right: 0;
    transform: skewY(-8deg);
}
#top-lead .inner {
    width: 90%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
#top-lead h2 {
    margin-bottom: 1em;
    text-align: center;
    font-size: 44px;
    font-weight: 500;
}
#top-lead h2 br {
    display: none;
}
@media only screen and (max-width: 1040px) {
    #top-lead h2 br {
        display: block;
    }
}
#top-lead p {
    text-align: center;
    line-height: 2.0;
    font-size: 22px;
}
@media only screen and (max-width: 1000px) {
    #top-lead h2 {
        font-size: 4.6vw;
    }
    #top-lead p {
        font-size: 2.0vw;
    }
}
@media only screen and (max-width: 750px) {
    #top-lead {
        padding-top: 10vw;
        padding-bottom: 16vw;
    }
    #top-lead .inner {
        width: 86%;
    }
    #top-lead h2 {
        font-size: 6.2vw;
    }
    #top-lead p {
        font-size: 3.2vw;
    }
}

/* top pager */
#top-pager {
    position: relative;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-image: url("../images/bg_top.jpg");
    padding-top: 100px;
    padding-bottom: 275px;
}
#top-pager:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 980px);
    background: linear-gradient(180deg, #0096d2 0%, #ffffff 100%);
    content: "";
}
#top-pager .inner {
    width: 94%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
#top-pager h2 {
    margin-bottom: 1em;
    text-align: center;
    font-size: 60px;
    font-weight: 500;
    color: #ffffff;
}
@media only screen and (max-width: 1000px) {
    #top-pager h2 {
        font-size: 5.2vw;
    }
}
@media only screen and (max-width: 750px) {
    #top-pager {
        background-size: 190%;
        padding-top: 18vw;
        padding-bottom: 48vw;
    }
    #top-pager:before {
        height: calc(100% - 120vw);
    }
    #top-pager .inner {
        width: 86%;
    }
    #top-pager h2 {
        font-size: 7.4vw;
    }
}
#top-pager .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}
#top-pager .wrap:after {
    display: block;
    width: 32%;
    content: "";
}
#top-pager article {
    position: relative;
    width: 32%;
    height: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: 40px;
    padding-top: calc(62.5% * 0.32);
    transition: all .3s ease;
}
@media only screen and (max-width: 750px) {
    #top-pager .wrap {
        flex-direction: column;
    }
    #top-pager .wrap:after {
        display: none;
    }
    #top-pager article {
        width: 100%;
        margin-bottom: 5.4vw;
        padding-top: 62.5%;
    }
}

#top-pager article a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#top-pager article:hover {
    opacity: 0.7;
}
#top-pager article p {
    display: block;
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    text-align: center;
    line-height: 1.2;
    font-size: 20px;
    font-weight: 700;
    pointer-events: none;
}
#top-pager article p strong {
    font-size: 40px;
    font-weight: 900;
}
#top-pager article p.line1 {
    top: 34%;
}
#top-pager article p.line1 strong {
    font-size: 34px;
}
#top-pager article span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
    width: 6.5em;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 2.5em;
    margin: auto;
    padding-right: 2.5em;
    text-align: center;
    line-height: 1.0;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
}
@media only screen and (max-width: 1000px) {
    #top-pager article p {
        font-size: 2.0vw;
    }
    #top-pager article p strong {
        font-size: 3.6vw;
    }
    #top-pager article p.line1 strong {
        font-size: 3.0vw;
    }
    #top-pager article span {
        font-size: 1.2vw;
    }
}
@media only screen and (max-width: 750px) {
    #top-pager article p {
        top: 12%;
        font-size: 5.4vw;
    }
    #top-pager article p strong {
        font-size: 11.8vw;
    }
    #top-pager article p.line1 strong {
        font-size: 8.2vw;
    }
    #top-pager article span {
        bottom: 18%;
        font-size: 3.6vw;
    }
}

#top-pager article:nth-child(7n+1) p,
#top-pager article:nth-child(7n+1) span {color: #0096d2}
#top-pager article:nth-child(7n+2),
#top-pager article:nth-child(7n+2) span {color: #00994f}
#top-pager article:nth-child(7n+3),
#top-pager article:nth-child(7n+3) span {color: #786bb0}
#top-pager article:nth-child(7n+4),
#top-pager article:nth-child(7n+4) span {color: #00a1a6}
#top-pager article:nth-child(7n+5),
#top-pager article:nth-child(7n+5) span {color: #4a6bb2}
#top-pager article:nth-child(7n+6),
#top-pager article:nth-child(7n+6) span {color: #61aa33}
#top-pager article:nth-child(7n+7),
#top-pager article:nth-child(7n+7) span {color: #ec6d65}

#top-pager article:nth-child(7n+1) {background-image: url("../images/book/book01.svg");}
#top-pager article:nth-child(7n+2) {background-image: url("../images/book/book02.svg");}
#top-pager article:nth-child(7n+3) {background-image: url("../images/book/book03.svg");}
#top-pager article:nth-child(7n+4) {background-image: url("../images/book/book04.svg");}
#top-pager article:nth-child(7n+5) {background-image: url("../images/book/book05.svg");}
#top-pager article:nth-child(7n+6) {background-image: url("../images/book/book06.svg");}
#top-pager article:nth-child(7n+7) {background-image: url("../images/book/book07.svg");}

#top-pager article:nth-child(7n+1) span {background-image: url("../images/book/arrow01.svg");}
#top-pager article:nth-child(7n+2) span {background-image: url("../images/book/arrow02.svg");}
#top-pager article:nth-child(7n+3) span {background-image: url("../images/book/arrow03.svg");}
#top-pager article:nth-child(7n+4) span {background-image: url("../images/book/arrow04.svg");}
#top-pager article:nth-child(7n+5) span {background-image: url("../images/book/arrow05.svg");}
#top-pager article:nth-child(7n+6) span {background-image: url("../images/book/arrow06.svg");}
#top-pager article:nth-child(7n+7) span {background-image: url("../images/book/arrow07.svg");}


/*********************************************/
/* for contents */
#contents header h1 {
    position: relative;
    width: 380px;
    background-color: #0096d2;
    margin-top: -8px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5em 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    z-index: 1;
}
#contents h1 span {
    display: block;
    font-size: 18px;
    letter-spacing: 0.2em;
}
#contents h1 a {
    color: #ffffff;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#contents h1 a:hover {
    color: #eb9929;
}
@media only screen and (max-width: 750px) {
    #contents header h1 {
        width: 74%;
        font-size: 7.0vw;
    }
    #contents header h1 span {
        font-size: 3.4vw;
    }
}


/* footer */
footer {
    background-color: #0096d2;
    padding-top: 20px;
    padding-bottom: 30px;
    border-top: 12px solid #eb9929;
}

footer .anchor {
    width: 16em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3em;
}
footer .anchor a {
    display: block;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 3em;
    background-image: url(../images/icon_yama_white.png);
    padding-top: 3em;
    text-align: center;
    font-size: 22px;
    color: #ffffff;
}
footer .anchor a:hover {
    opacity: 0.7;
}
footer .inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

footer .footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-image: repeating-linear-gradient(90deg, #ffffff, #ffffff 8px, transparent 8px, transparent 14px);
    background-position: left bottom;
    background-repeat: repeat-x;
    background-size: 100% 1px;
    padding: 0 0 40px;
}
footer .footer-wrap .footer-office p {
    margin-bottom: 0.25em;
    font-size: 16px;
    color: #ffffff;
}
footer .footer-wrap .footer-office p strong {
    font-size: 30px;
    font-weight: bold;
}

footer .footer-wrap ul {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
footer .footer-wrap ul li {
    max-width: 240px;   
}
footer .footer-wrap ul a:hover img {
    transition: all .3s ease;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

.footer-links p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 22px;
    color: #ffffff;
}
.footer-links p.copy {
    font-size: 14px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #eb9929;
}


@media only screen and (max-width: 750px) {
    footer {
        padding-top: 4vw;
        padding-bottom: 4vw;
    }
    footer .anchor a {
        font-size: 3.2vw;
    }
    footer .footer-wrap {
        flex-direction: column;
        padding: 0 0 10vw;
    }
    footer .footer-wrap .footer-office {
        margin-bottom: 4.2vw;
    }
    footer .footer-wrap .footer-office p {
        font-size: 3.4vw;
    }
    footer .footer-wrap .footer-office p strong {
        font-size: 6.2vw;
    }
    .footer-links p {
        font-size: 3.2vw;
    }
    footer p.copy {
        font-size: 3.0vw;
    }
    footer .footer-wrap ul {
        justify-content: center;
        max-width: 100%;
        gap: 3.0vw;
    }

}


/* nav */
nav {
    position: relative;
    padding-top: 80px;
    padding-bottom: 60px;
    text-align: center;
}
nav:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -90px;
    width: 100%;
    height: 90px;
    background-color: #ffffff;
    margin: auto;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    z-index: 1;
    content: "";
}
nav h2 {
    line-height: 1.2;
    font-size: 28px;
    font-weight: 700;
    color: #0096d2;
}
nav h2 strong {
    font-size: 48px; 
}
nav h2 strong.small {
    font-size: 38px;
}
nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 20em;
    margin-top: -0.85em;
    margin-left: auto;
    margin-right: auto;
    font-size: 48px; 
}
nav ul li a {
    display: block;
    position: relative;
    background-color: #0096d2;
    padding:  0 0.5em;
    text-align: center;
    line-height: 28px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    transition: all .3s ease;
}
nav ul li a:hover {
    opacity: 0.7;
}
nav ul li a:before {
    position: absolute;
    top: 0;
    width: 14px;
    height: 28px;
    background-color: #0096d2;
    content: "";
}
nav ul li.prev a:before {
    left: -13.5px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
nav ul li.next a:before {
    right: -14px;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
}

nav ul li.hidden a {
    visibility: hidden;
}
@media only screen and (max-width: 1020px) {
    nav {
        padding-bottom: 0;
    }
    nav ul {
        justify-content: center;
        width: auto;
        margin-top: 0.5em;
    }
    nav ul li {
        margin: 0 20px
    }
}
@media only screen and (max-width: 750px) {
    nav {
        padding-top: 6vw;
        padding-bottom: 4vw;
    }
    nav:after {
        bottom: -14vw;
        height: 14vw;
    }
    nav h2 {
        line-height: 1.2;
        font-size: 4.4vw;
    }
    nav h2 strong {
        font-size: 9.4vw; 
    }
    nav h2 strong.small {
        font-size: 7.6vw;
    }
    nav ul {
        justify-content: space-between;
        width: 70%;
        font-size: 9.4vw; 
    }
    nav ul li {
        display: block;
        width: 46%;
        margin: 0;
    }
    nav ul li a {
        width: 100%;
        padding:  0 1.5em;
        line-height: 7.8vw;
        font-size: 3.6vw;
    }
    nav ul li a:before {
        width: 3.8vw;
        height: 7.8vw;
    }
    nav ul li:first-child a:before {
        left: -3.7vw;
    }
    nav ul li:last-child a:before {
        right: -3.7vw;
    }
}


/* legend */
#legend {
    width: 36em;
    margin-left: auto;
    margin-right: auto;
}
#legend div {
    position: relative;
    margin-bottom: 0.75em;
    padding-left: 5.5rem;
    font-weight: 700;
}
#legend div:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    content: "";
}
#legend .legend-a {
    font-size: 28px;
}
#legend .legend-b {
    font-size: 24px;
    font-weight: 500;
}
#legend .legend-a:before {
    width: 51px;
    height: 43px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../images/icon_yama.png");
    background-size: contain;
}
#legend .legend-b:before {
    display: block;
    position: absolute;
    left: 24px;
    width: 12px;
    height: 12px;
    background-color: #eb9929;
    border-radius: 100%;
    content: "";
}
@media only screen and (max-width: 750px) {
    #legend {
        margin-bottom: 6vw;
    }
    #legend .legend-a {
        font-size: 4.8vw;
    }
    #legend .legend-b {
        font-size: 4.2vw;
    }
    #legend .legend-a:before {
        width: 13.3vw;
        height: 7.6vw;
    }
    #legend .legend-b:before {
        left: 5.8vw;
        width: 2.4vw;
        height: 2.4vw;
    }
}


/* history */
#history {
    background-color: #faf5f0;
    padding-top: 120px;
    padding-bottom: 90px;
}
#history article {
    position: relative;
    margin-bottom: 15px;
    padding-top: 60px;
    padding-left: 220px;
    padding-bottom: 60px;
}
#history article:before {
    position: absolute;
    top: 175px;
    left: 82px;
    width: 6px;
    height: calc(100% - 175px);
    background-color: #00994f;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    content: "";
}
#history article:after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(100% - 220px);
    height: 2px;
    border-bottom: 2px dashed #00994f;
    content: "";
}

#history article .dots {
    display: flex;
    justify-content: center;
}
#history article .dots span {
    width: 10px;
    height: 10px;
    background-color: #00994f;
    margin: 0 5px 30px;
    border-radius: 100%;
}

#history article .year {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 1.75em;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    min-width: 170px;
}
#history article .year strong {
    font-size: 42px;
}
#history article .year span {
    display: block;
}
#history article .year:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 4em;
    height: 4em;
    background-color: #00994f;
    border-radius: 100%;
    font-size: 42px;
    z-index: -1;
    content: "";
}
#history article .year.text {
    padding-top: 0;
    width:170px;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#history article .year.text span {
    display: inline-block;
}

#history article .events {
    display: flex;
    justify-content: space-between;
}

#history article .events p {
    position: relative;
    margin-bottom: 1em;
    padding-top: 1em;
    padding-left: 80px;
    line-height: 1.4;
    font-size: 20px;
    /*font-weight: 700;*/
    font-weight: 500;
    letter-spacing: 0.06em;
}
#history article p:before {
    position: absolute;
    top: 0.45em;
    left: 0;
    width: 46px;
    height: 38px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../images/icon_yama.png");
    background-size: contain;
    content: "";
}
#history article p:has(+ .dots) {
    margin-bottom: 2em;
}

#history article p small {
    display: inline-block;
    padding-left: 1.05em;
    text-indent: -1.05em;
    /*font-size: 18px;*/
    font-size: 20px;
    font-weight: 500;
}

#history article p:has(+ figure) {
    width: 60%;
}
#history article .events figure {
    width: 37.5%;
    max-width: 320px;
    margin-left: 2em;
    margin-bottom: 0;
        text-align: center;
}
#history article .events figure img {
    max-width: 100%;
    height: auto;
}
#history article .events figcaption {
    text-align: center;
    font-size: 14px;
}


#history article .events {
    display: flex;
    justify-content: space-between;
}
#history article .events a {
    color: #333d4d;
    text-decoration: underline;
}
#history article .events h3 {
    display: inline-block;
    background-color: #eb9929;
    margin-bottom: 0.75em;
    padding: 0 1.5em;
    border-radius: 2em;
    line-height: 2.0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
}

#history article ul.national {
    margin-top: 2em;
    margin-right: 30px;
}
#history article ul.national li {
    position: relative;
    margin-bottom: 0.5em;
    padding-left: 18px;
    font-size: 18px;
    letter-spacing: 0.02em;
}
#history article ul.national li:before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: #eb9929;
    border-radius: 100%;
    content: "";
}
#history article ul.national li a {
    color: #333d4d;
    text-decoration: underline;
}

#history .note {
    margin-top: 2em;
    margin-left: 220px;
    font-size: 14px;
}

@media only screen and (max-width: 750px) {
    #history {
        padding-top: 20vw;
        padding-bottom: 16vw;
    }
    #history article {
        margin-bottom: 20vw;
        padding-top: 0;
        padding-left: 0;
        padding-bottom: 0;
    }
    #history article:before {
        display: none;
    }
    #history article:after {
        display: none;
    }
    #history article .dots span {
        width: 2.2vw;
        height: 2.2vw;
        margin: 0 1.1vw 12vw;
    }
    #history article .year {
        position: relative;
        margin-bottom: 2em;
        padding-top: 0;
        padding-left: 0;
        font-size: 4.2vw;
        letter-spacing: 0.06em;
    }
    #history article .year strong {
        font-size: 8.2vw;
    }
    #history article .year span {
        display: inline-block;
    }
    #history article .year:after {
        position: absolute;
        top: 0;
        left: -20vw;
        width: 120%;
        height: 1.6em;
        border-radius: inherit;
        border-top-right-radius: 1em;
        border-bottom-right-radius: 1em;
        font-size: 8.2vw;
    }
    
    #history article .year.text {
        width:auto;
        height: 3em;
    }

    #history article h2 {
        background-position: left top 2.4vw;
        background-size: 12vw;
        padding-left: 16vw;
        font-size: 6.2vw;
    }
    #history article p {
        font-size: 3.4vw;
    }
    #history article p small {
        /*font-size: 3.0vw;*/
    }
    #history article .events p {
        padding-left: 3em;
    }
    #history article p:before {
        width: 2.14em;
        height: 1.9em;
    }
    #history article p:has(+ .dots) {
        margin-bottom: 10vw;
    }
    #history article p:has(+ figure) {
        width: 100%;
    }
    #history article .events figure {
        width: 100%;
        max-width: inherit;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
    }
    #history article .events {
        display: block;
    }
    #history article .events h3 {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1em;
        font-size: 4.8vw;
    }
    #history article ul.national {
        margin-right: 0;
        text-align: left;
    }
    #history article ul.national li {
        padding-left: 4.5vw;
        font-size: 3.6vw;
    }
    #history article ul.national li:before {
        top: 1.5vw;
        width: 2.4vw;
        height: 2.4vw;
    }
    #history article .events figure {
        margin-bottom: 5.4vw;
    }
    #history .note {
        margin-left: 0;
        font-size: 2.4vw;
    }
}


/* list */
#list {
    padding-top: 40px;
    padding-bottom: 65px;
}
#list h2 {
    margin-bottom: 1em;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}
#list ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
#list ul:after {
    display: block;
    width: 325px;
    content: "";
}
#list ul li {
    width: 325px;
    margin-bottom: 20px;
}
#list ul li a {
    display: block;
    position: relative;
    padding: 1em 2em 1em 1.5em;
    border: 1px solid #0096d2;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0096d2;
    transition: all .3s ease;
}
#list ul li a strong {
    font-size: 18px;
}
#list ul li a:after {
    position: absolute;
    top: 0;
    right: 1.5em;
    bottom: 0;
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 1px solid #0096d2;
    border-right: 1px solid #0096d2;
    transform: rotate(45deg);
    content: ""
}
#list ul li a:hover {
    opacity: 0.7;
}
@media only screen and (max-width: 1120px) {
    #list ul {
        max-width: 660px;
    }
}
@media only screen and (max-width: 750px) {
    #list {
        padding-top: 8vw;
        padding-bottom: 12vw;
    }
    #list h2 {
        font-size: 6.2vw;
    }
    #list ul {
        display: block;
        width: 85%;
        max-width: inherit;
    }
    #list ul:after {
        display: none;
    }
    #list ul li {
        width: auto;
        margin-bottom: 3.2vw;
    }
    #list ul li a {
        font-size: 3.0vw;
    }
    #list ul li a strong {
        font-size: 4.8vw;
    }
    #list ul li a:after {
        width: 2.2vw;
        height: 2.2vw;
    }
}


/* page */

#page {
    margin-top: 120px;
    margin-bottom: 90px;
    font-size: 18px;
}

#page .inner {
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#page h2 {
    margin-bottom: 2em;
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #0096d2;
}


@media only screen and (max-width: 750px) {
    #page {
        margin-top: 20vw;
        margin-bottom: 16vw;
        font-size: 3.4vw;
    }
    
    #page h2 {
        font-size: 6.3vw;
        margin-bottom: 4vw;
    }
    
    #page h3 {
        font-size: 4.8vw;
    }
    
}
