:root {
  --h2fontsize: 25px;
  --green:#23861F;
}

/* css reset --------------------*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

a {
    color: #0066c0;
}

main {
    overflow: hidden;
}

h1, h2, h3 {
    font-family: 'Noto Sans JP', sans-serif;
}


body {
    line-height: 1;
    min-height: 100vh;
    position: relative;
    padding-bottom: 256px;
    box-sizing: border-box;
}

article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section {
    display: block;
}

ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
}

ins {
    background-color: #fff;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #fff;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

p, li, dt, dd {
    font-size: 16px;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
}

/*--------------------*/
header {
    border-top: 3px solid #61A85E;
}

header > div {
    max-width: 1040px;
    padding: 0 20px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
    z-index: 1;
}
header h1 {
/*    line-height: 1.6;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

header h1 img {
    width: 324px;
}

@media screen and (max-width: 1080px){
    header h1 img {
        width: 320px;
    }
}

@media screen and (max-width: 420px){
    header h1 img {
        width: 260px;
    }
}

header h1 a {
    color: black;
}

header h1 span {
    display: block;
    font-size: .93em;
}

header nav.navi-pc ul {
    display: flex;
    gap: 15px;
}

header nav.navi-pc ul li {
    font-size: 13px;
}

header nav.navi-pc ul li a {
    color: black;
    position: relative;
    padding: 0px 0 8px;
}

header nav.navi-pc ul li a:hover {
    border-bottom: 2px solid #61A85E;
}

header nav.navi-pc ul li.selected a {
    border-bottom: 2px solid #61A85E;
}

/* header nav ul li a:after {
    content:"";
    width:100%;
    height:2px;
    position:absolute;
    bottom:0px;
    left:0;
    background:#61A85E;
    text-decoration:underline;
} */
header nav.navi-sp ul li a:before {
    content: "";
    width: 11px;
    height: 11px;
    display: block;
    background: white;
    position: absolute;
    right: 25px;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    z-index: 2;
}

header nav.navi-sp ul li a:after {
    content: "";
    width: 11px;
    height: 11px;
    display: block;
    background: #61a85e;
    position: absolute;
    right: 22px;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
}

header nav.navi-sp {
    position: absolute;
    width: 100%;
    background: white;
    top: 60px;
    text-align: center;
    /* transform: translateX(100%); */
    opacity: 0;
    transition: .2s;
    height: 0;
    overflow: hidden;
    z-index: 3;
}

header nav.navi-sp.active {
    /* transform: translateX(0%); */
    opacity: 1;
    height: auto;
}

header nav.navi-sp ul {
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #61A85E;
}

header nav.navi-sp ul li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
    border: 3px solid #61A85E;
    border-width: 1px 0 0px;
    padding-left: 20px;
    color: #61A85E;
    position: relative;
    font-size: 16px;
}

header nav.navi-sp ul li a {
}

header nav.navi-sp ul li a {
    /* color: #61A85E; */
    /* display: block; */
    /* width: 100%; */
    /* height: 100%; */
}

header nav.navi-sp ul li.selected a {
    border: none;
}

main h1 {
    background: #61A85E;
    text-align: center;
    color: white;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin: 0px 0; */
    font-size: 30px;
}

.main-wrapper {
    max-width: 1040px;
    padding: 0 20px;
    margin: 80px auto 90px;
    position: relative;
}

.main-wrapper:before {
    content: "";
    width: 279px;
    height: 100%;
    position: absolute;
    left: -279px;
    top: 0;
    background: url(../img/deco_main_wrapper.png) center top 14px;
    mix-blend-mode: multiply;
}

.main-wrapper:after {
    content: "";
    width: 279px;
    height: 100%;
    position: absolute;
    right: -279px;
    top: 0;
    background: url(../img/deco_main_wrapper.png) center top 423px;
    mix-blend-mode: multiply;
}

img {
    height: auto;
}

footer {
    border-top: 3px solid #61A85E;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: white;
}

footer a {
    color: black;
}

footer > div:nth-child(1) {
    max-width: 1040px;
    padding: 30px 20px 20px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    /* height: 200px; */
    /* flex-direction: column-reverse; */
    gap: 25px;
}

footer > div:nth-child(1) > div:first-child {
    margin-right: auto;
}

footer > div:nth-child(1) > div p + p {
    margin-top: 20px;
    font-size: 14px;
}

footer ul + ul {
    margin-top:6px;
}

footer ul {
    display: flex;
    gap: 10px;
    /* margin-top: 24px; */
    /* height: 24px; */
    margin-top: 1px;
}

footer ul li {
    font-size: 13px;
}

footer ul li a {
    color: black;
    position: relative;
    /* padding: 0px 0 8px; */
}

footer > div.copyright {
    text-align: center;
    margin: 20px 0 30px;
}

.contact-button {
    display: none;
}

.contact-button a {
    display: flex;
    background: #61A85E;
    color: white;
    width: 300px;
    justify-content: center;
    align-items: center;
    height: 60px;
    border-radius: 30px;
    margin: -10px auto 40px;
    position: relative;
}

.contact-button a:before {
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    background: white;
    position: absolute;
    right: 25px;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    z-index: 2;
}

.contact-button a:after {
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    background: #61a85e;
    position: absolute;
    right: 27px;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    z-index: 2;
}

.large-title {
    color: #61A85E;
    font-size: var(--h2fontsize);
    text-align: center;
    margin: 40px 0 30px;
}

#menu-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 60px;
    height: 100%;
    background: white;
}

#menu-btn p {
    width: 100%;
    position: absolute;
    bottom: 9px;
    text-align: center;
    font-size: 10px;
    color: #61A85E;
}

#menu-btn > div {
    width: 22px;
    height: 28px;
    transition: all .4s;
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
    z-index: 11;
    padding: 3px 0;
    box-sizing: border-box;
}

#menu-btn span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box
}

#menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #61A85E;
    border-radius: 4px
}

#menu-btn span:nth-of-type(1) {
    top: 5px;
}

#menu-btn span:nth-of-type(2) {
    top: 0;
    bottom: 0;
    margin: auto
}

#menu-btn span:nth-of-type(3) {
    bottom: 5px;
}

#menu-btn.active span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(7px) rotate(-45deg);
}

#menu-btn.active span:nth-of-type(2) {
    opacity: 0
}

#menu-btn.active span:nth-of-type(3) {
    -webkit-transform: translateY(-7px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}

@media screen and (max-width: 1060px) {
    footer ul li {
        font-size: 12px;
    }
    header nav.navi-pc ul {
    gap:12px;
    }
    header nav.navi-pc ul li {
    font-size: 13px;
    }
}

@media screen and (max-width: 1000px) {
    header nav.navi-pc ul, footer ul {
        gap: 6px;
    }
    header nav.navi-pc ul li {
    font-size: 12px;
    }
}

@media screen and (max-width: 980px) {
    footer ul li {
        font-size: 11px;
    }
}

@media screen and (max-width: 920px) {
    header nav.navi-pc ul, footer ul {
        gap: 8px;
    }

    header nav.navi-pc ul li {
        font-size: 12px;
    }

    footer ul li {
        font-size: 11px;
    }

    body {
        padding-bottom: 489px;
    }

    header > div {
        height: 60px;
    }

    header h1 {
        font-size: 14px;
        line-height: 1.5;
    }

    nav.navi-pc {
        display: none;
    }

    p, li, dt, dd {
        font-size: 14px;
        line-height: 1.7;
    }

    .large-title {
        font-size: 20px;
        margin: 25px 0 25px;
    }

    .main-wrapper {
        margin: 35px auto 35px;
    }

    main h1 {
        height: 60px;
        font-size: 18px;
    }

    footer > div:nth-child(1) {
        flex-direction: column;
    }

    footer ul {
        gap: 10px 10px;
        justify-content: flex-start;
        width: 100%;
        /* max-width: 630px; */
        flex-wrap: wrap;
        margin: 0px 0 28px;
        /* overflow: hidden; */
    }

    footer ul li {
        position: relative;
        padding-left: 1em;
        font-size:12px;
        line-height: 1;
    }

    footer ul li a:before {
        content: "";
        width: 9px;
        height: 9px;
        display: block;
        background: white;
        position: absolute;
        left: -19px;
        top: 0;
        bottom: 0;
        margin: auto;
        transform: rotate(45deg);
        z-index: 2;
    }

    footer ul li a:after {
        content: "";
        width: 9px;
        height: 9px;
        display: block;
        background: #61a85e;
        position: absolute;
        left: -17px;
        top: 0;
        bottom: 0;
        margin: auto;
        transform: rotate(45deg);
    }

    footer ul:first-child li:last-child {
        display: none;
    }

    footer .copyright small {
        font-size: 12px;
    }

    .contact-button {
        display: block;
    }
}

@media screen and (max-width: 502px) {
    body {
        padding-bottom: 481px;
    }
}

@media screen and (max-width: 414px) {
    footer ul {
        max-width:100%;
        /* line-height: 2.5; */
    }
}

@media screen and (max-width: 390px) {
    footer ul {
        gap: 10px 10px;
        /* flex-wrap: wrap; */
        /* line-height: 5; */
    }
}

@media screen and (max-width: 360px) {
    body {
        padding-bottom: 502px;
    }
}

@media screen and (min-width: 921px) {
    #menu-btn {
        display: none;
    }

    nav.navi-sp {
        display: none;
    }
}

.pagination {
    display: flex;
    margin: 100px 0;
    justify-content:space-between;
}

.pagination > div {
}

.pagination a {
    display:flex;
    color:black;
    background: white;
    border:1px solid black;
    padding: 10px 29px;
    justify-content:center;
    align-items:center;
    gap:13px;
    transition:.2s;
}

.pagination a:hover {
    color:white;
    background:black;
}

.pagination > div:nth-child(1) a:before,
.pagination > div:nth-child(2) a:after {
    content:"";
    display:block;
    width:14px;
    height:16px;
    background:black;
    transition:.2s;
}


.pagination > div:nth-child(1) a:hover:before,
.pagination > div:nth-child(2) a:hover:after {
    background: white;
}

.pagination > div:nth-child(1) a:before {
    clip-path: polygon(100% 0, 0% 50%, 100% 100%);
}

.pagination > div:nth-child(2) a:after {
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}



@media screen and (max-width: 920px){
    .pagination a {
        padding: 8px 16px;
        font-size: 14px;
    }

    .pagination > div:nth-child(1) a:before, .pagination > div:nth-child(2) a:after {
        width: 11px;
        height: 12px;
    }

    .pagination {
        margin: 50px 0;
    }
}

