body {
    margin: 0;
    padding: 0;
    color: #1F1F1F;
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    line-height: 180%;
}

body * {
    box-sizing: border-box;
}

a {
    transition: 0.5s;
}

img {
    max-width: 100%;
}

#wrapper,
#contentwrapper {
    padding-bottom: 50px;
}

#contentwrapper ul,
section ul {
    list-style: none;
    list-style-position: inside;
    padding: 0;
}

#contentwrapper ul>li:first-child,
section ul>li:first-child {
    border-top: 1px solid #F2F0E6;
}

#contentwrapper ul li,
section ul li {
    border-bottom: 1px solid #F2F0E6;
    padding: 0.5rem 1.5rem;
    position: relative;
}

ol li {
    padding: 0.5rem 0;
}

#contentwrapper ul li::before,
section ul li::before {
    content: '●';
    color: #3B7038;
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    font-size: 0.5rem;
}

#contentwrapper h1,
section h2,
.font-barlow {
    font-family: 'Barlow', sans-serif;
}

#contentwrapper h1 span,
section h2 span,
.font-noto {
    font-family: 'Noto Sans JP',
        sans-serif;
}

.wrapbox {
    width: 100%;
    max-width: 1040px;
    padding: 0 20px;
    margin: 0 auto;
}

.column2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -webkit-align-items: center;
    -webkit-flex-wrap: nowrap;
}

#header {
    background: #3B7038;
    color: #fff;
    padding: 1rem 0;
}

#logo {
    margin: 0;
    font-weight: normal;
    font-size: 1.2rem;
    white-space: nowrap;

}

#logo span {
    font-size: 1rem;
    display: block;
    color: #FCDE5E;
}

#mainmenu a {
    text-decoration: none;
    display: inline-block;
    margin: 0 0 0 2rem;
    color: #fff;
    border-bottom: 2px solid #3B7038;
}

#mainmenu a:hover {
    border-bottom: 2px solid #FCDE5E;
}

#mainmenu ul {
    list-style: none;
    padding: 0;
}

#mainmenu li {
    display: inline;
}

section {
    display: block;
    margin: 0;
    padding: 20px 0 70px;
    position: relative;
    z-index: 1;
}

.bgb {
    background-color: #F2F0E6;
}

#mainvisual {
    background-position: center bottom;
    background-image: url(../images/normalbg.svg);
    background-size: 1920px auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #3B7038;
    color: #fff;
    z-index: 2;
    padding-top: 0;
}

@media all and (min-width: 1920px) {

    #mainvisual {
        background-position: left bottom, right bottom;
        background-image: url(../images/widebg_l.svg), url(../images/widebg_r.svg);
        background-size: contain, contain;
        background-repeat: no-repeat, no-repeat;
    }
}

#mainvisual .wrapbox {
    position: relative;
    overflow-y: visible;
}

#mainvisual .imgbox {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 20px;
    border-radius: 30px;
    max-width: 100%;
    width: 710px;
    height: 500px;
    max-height: 90vw;
    z-index: 0;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 710px auto;
    background-image: url(../images/mainvisualbg.jpg);
}

.wrapinner {
    position: relative;
    z-index: 2;
    padding: 50px 0 0;
    max-width: 100%;
    width: 480px;
    overflow: visible;
}

.wrapinner img:nth-child(2) {
    float: right;
    max-width: 80%;
    margin-top: -50px;
    transform: translateY(50px);
}

.wrapinner::after {
    content: '';
    display: block;
    clear: both;
}

#contentwrapper h1,
section h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2.6rem;
    color: #3B7038;
    margin: 4rem auto;

}

#contentwrapper h1 span,
section h2 span {
    display: block;
    font-size: 1rem;
    margin: 2rem auto 0;
    color: #1F1F1F;
}

#contentwrapper h2 {
    color: #1F1F1F;
    font-size: 1.4rem;
    margin: 3rem auto 1rem;
}

#intro {
    padding: 50px 0 0;
}

#intro img {
    display: block;
    margin: 1rem auto 0;
}

#project .column2 {
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    align-items: flex-start;
    -webkit-align-items: flex-start;
}

.pbox {
    max-width: calc((100% - 6%) / 2);
}

.pbox h3 {
    font-size: 1.6rem;
    line-height: 2.2rem;
    margin-bottom: 0;
}

.pbox h3 img {
    border-radius: 20px;
}

.pbox h3 span {
    color: #3B7038;
    font-size: 0.9rem;
    display: block;
    font-weight: normal;
}

.pbox p>a::after {
    content: url(../images/link.svg);
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.pbox p>a {
    border-radius: 3em;
    padding: 0.25rem 3rem 0.25rem 1.5rem;
    min-width: 15rem;
    background: rgba(233, 231, 221, 1);
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #1F1F1F;
}

.pbox p>a:hover {
    background: rgb(255, 255, 255, 1);
}

#contentwrapper .wrapbox,
#intro .wrapbox,
#aboutus .wrapbox,
#profile .wrapbox {
    max-width: 760px;
}


table {
    border-collapse: collapse;
    border: 1px solid #F2F0E6;
    border-bottom: none;
}

th,
td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid #F2F0E6;
}

th {
    background: #F8F8F7;
    white-space: nowrap;
}


#footer {
    background: #1F1F1F;
    color: #fff;
    padding: 1rem 0;
}

#footer h2 {
    font-weight: normal;
}

#footer a {
    color: #fff;
}

#footer a {
    display: inline-block;
    margin: 0 2rem 0 0;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footmenu {
    margin: 1rem auto;
    padding: 1rem 0;
    border-top: 1px solid #fff;
}

#footmenu ul {
    padding: 0;
    margin: 0;
}

#footmenu li {
    display: inline;
}


@media all and (max-width: 1040px) {
    #mainvisual .imgbox {
        width: 710px;
        max-width: calc(100% - 20px);
        background-size: cover;
        border-radius: 30px 0 0 30px;
        right: 0;
    }


}

@media all and (max-width: 640px) {
    #mainmenu {
        display: none;
    }

    .wrapinner {
        max-width: 90%;
        padding-top: 450px;
    }

    .wrapinner img:nth-child(2) {
        transform: translate(50px, 50px);
    }

    #project .column2 {
        justify-content: center;
        -webkit-justify-content: center;
    }

    .pbox {
        max-width: 470px;
        border-top: 1px dotted #3B7038;
    }
}


@media all and (max-width: 550px) {
    .wrapinner {
        padding-top: calc(90vw - 40px);
    }
}

@media all and (max-width: 480px) {

    th,
    td {
        display: block;
    }
}