* {
    box-sizing: border-box;
}
  
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #5d5f68;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
}

a {
    transition: 0.3s all;
}

.inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-left: 7vw;
}

h2 {
    font-size: 2.2rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 60px;
}

h2::after {
    content: "";
    display: block;
    background-color: #8fb039;
    width: 213px;
    height: 16px;
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
}

.pc {
    display: block;
}

.sp {
    display: none;
}

img {
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    h2 {
        width: 100%;
        margin-bottom: 40px;
    }
    h2::after {
        width: 160px;
        right: 10vw;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .inner {
        padding-right: 7vw;
    }
}

/* header */

header {
    position: relative;
}

.header__wrap {
    display: flex;
    height: 100%;
    background-color: #8fb039;
}

.header__conts {
    width: 49%;
    background-color: #8fb039;
    padding-left: 7vw;
}

.header__contsWrap {
    background-color: #f4f4f4;
    height: 100%;
    padding: 80px 2% 70px 17%;
}

.header__contsWrap h1{
    font-size: 5.5rem;
    margin-bottom: 18%;
    line-height: 1;
}

.header__contsWrap p {
    font-size: 2rem;
    font-family: YuMincho,'Yu Mincho',serif;
    line-height: 2.5;
    z-index: 5;
    position: relative;
    font-weight: 600;
    font-feature-settings: "palt";
}

.header__nav {
    width: 51%;
}

.header__nav nav{
    height: 100%;
}

nav ul {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding-top: 50px;
    margin-top: 60px;
    height: 100%;
}

nav ul li{
    padding: 0 3%;
    border-right: 1px solid #5d5f68;
    font-size: 1.4rem;
}

nav ul li a:hover{
    text-decoration: underline;
}

nav ul li:last-child{
    border-right: none;
}

.header__wrap img{
    position: absolute;
    bottom: -60px;
    right: 0;
    width: 60%;
    max-width: 800px;
}

@media (max-width: 1140px) {
    .header__contsWrap h1{
        font-size: 5rem;
    }
}

@media (max-width: 1060px) {
    .header__conts {
        width: 51%;
    }
    .header__nav {
        width: 49%;
    }
}

@media (max-width: 1000px) {
    .header__wrap {
        flex-direction: column-reverse;
        height: auto;
    }
    .header__conts {
        width: 100%;
        background-color: #fff;
        position: relative;
        padding-left: 0px;
    }
    .header__conts::after {
        content:"";
        display: block;
        height: 90%;
        width: 50px;
        background-color: #8fb039;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .header__nav {
        width: 100%;
    }
    .header__nav img {
        max-width: 500px;
        width: 80%;
        bottom: -110px;
        top: inherit;
    }
    nav ul {
        padding: 30px 0;
        margin-top: 40px;
        justify-content: center;
    }
    nav ul li {
        font-size: 1.2rem;
        padding: 0 8px;
    }
    .header__contsWrap {
        padding: 50px 4vw;
        width: 95%;
        padding-left: 65px;
    }
    .header__contsWrap h1 {
        font-size: 3rem;
    }
    .header__contsWrap p {
        font-size: 1.2rem;
    }
}

/* introduce */

#introduce {
    padding: 167px 0 50px;
    position: relative;
}

.introduce__wrap {
    display: flex;
    align-items: flex-start;
    line-height: 2.4;
}

.introduce__text {
    background-color: #fff;
    z-index: 5;
    position: relative;
    margin-left: 5%;
    padding-right: 10px;
}

.introduce__wrap table td{
    padding-left: 10px;
}

@media (max-width: 767px) {
    #introduce {
        padding: 167px 0 90px;
        font-size: 1.4rem;
    }
    .introduce__wrap {
        display: block;
        width: 100%;
        line-height: 2;
    }
    .introduce__text {
        margin-left: 0;
        margin-top: 30px;
    }
}

/* works */

#works {
    padding: 70px 0 80px;
    position: relative;
    line-height: 2.4;
}

#works::before {
    content: "";
    display: block;
    background-color: #f4f4f4;
    position: absolute;
    left: 0;
    top:0;
    z-index: -1;
    width: 70%;
    height: 50%;
}

.works__wrap {
    display: flex;
    justify-content: space-between;
}

.works__wrap ul{
    list-style: disc;
    padding-left: 1em;
}

.works__wrap a {
    color: #6078e5;
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 5px;
    border-bottom: 1px solid #6078e5;
    line-height: 1;
}

.works__wrap a:hover {
    border-color: transparent;
}

.works__wrap img {
    max-width: 600px;
    width: 50%;
}

@media (max-width: 767px) {
    #works {
        line-height: 2;
        padding-bottom: 40px;
        font-size: 1.4rem;
    }
    #works::before {
        width: 80%;
        height: 80%;
    }
    .works__wrap {
        display: block;
    }
    .works__wrap img {
        display: block;
        max-width: 90%;
        width: 90%;
        margin-top: 30px;
        margin-left: auto;
    }
}

/* plan */

#plan {
    padding: 50px 0 40px;
    position: relative;
    line-height: 2.4;
}

#plan::before {
    content: "";
    display: block;
    background-color: #f4f4f4;
    position: absolute;
    right: 0;
    top:0;
    z-index: -1;
    width: 70%;
    height: 40%;
}

.plan__wrap {
    display: flex;
}

.plan__wrap img {
    max-width: 550px;
    width: 50%;
}

.plan__text {
    width: 50%;
}

.plan__wrap a {
    color: #6078e5;
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 5px;
    border-bottom: 1px solid #6078e5;
    line-height: 1;
}

.plan__wrap a:hover {
    border-color: transparent;
}

@media (max-width: 767px) {
    #plan {
        line-height: 2;
        padding-top: 40px;
    }
    #plan::before {
        height: 70%;
    }
    .plan__wrap {
        display: block;
    }
    .plan__wrap img {
        display: block;
        max-width: 90%;
        width: 90%;
        margin-top: 30px;
        margin-left: auto;
    }
    .plan__text {
        width: 90%;
        font-size: 1.4rem;
    }
}

/* access */

#access {
    position: relative;
}

#access::after {
    content: "";
    display: block;
    background-color: #8fb039;
    width: 50%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
}

#access .inner{
    background-color: #fff;
    z-index: 5;
    position: relative;
}

#access h2 {
    display: inline-block;
    margin-bottom: 20px;
}

#access h2::after {
    display: none;
}

#access h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.access__wrap {
    display: flex;
    justify-content: space-between;
}

.access__text {
    width: 30%;
    font-size: 1.4rem;
}

.access__text p{
    margin-bottom: 20px;
}

.access__text ul {
    list-style: disc;
    padding-left: 1em;
}

.access__text ul li{
    margin-top: 10px;
}

.access__wrap iframe {
    width: 70%;
}

@media (max-width: 767px) {
    #access {
        background-color: #fff;
    }
    #access .inner {
        background-color: #fff;
        padding-left: 0;
    }
    .access__wrap {
        display: block;
        background-color: #8fb039;
    }
    .access__text {
        width: 100%;
        background-color: #fff;
        margin-left: 7vw;
        padding-bottom: 40px;
        padding-left: 20px;
    }
    .access__wrap iframe {
        width: 100%;
        height: 50vh;
        padding: 30px 0 40px 7vw;
        background-color: #fff;
    }
}

/* contact */

#contact {
    padding: 80px 0 100px;
    background-color: #f4f4f4;
    background-size: 14px 14px;
    background-image:linear-gradient(#fff 35%, transparent 20%,transparent 100%);
}

#contact h2 {
    display: block;
    text-align: center;
    width: 100%;
}

#contact h2::after {
    display: none;
}

.contact__wrap {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 5%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

.contact__item {
    margin-bottom: 20px;
}

.contact__item label{
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.contact__itemWrap {
    display: flex;
    justify-content: space-between;
}

.contact__itemWrap .contact__item{
    width: 49%;
}

.contact__item input,
.contact__item textarea,
.contact__item select{
    border: 1px solid #909090;
    width: 100%;
    padding: 10px;
}

.contact__itemSelect {
    position: relative;
}

.contact__itemSelect::after {
    content:"";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 10px;
    border-top: 2px solid #909090;
    border-right: 2px solid #909090;
    transform: translateY(-50%) rotate(135deg);
}

.contact__btn {
    width: 200px;
    margin: 0 auto;
    margin-top: 60px;
    position: relative;
    transition: 0.3s all;
}

.contact__btn::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.contact__btn:hover::after {
    border-top: 2px solid #8fb039;
    border-right: 2px solid #8fb039;
}

.contact__btn button{
    background-color: #8fb039;
    border: 1px solid #8fb039;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    width: 100%;
    padding: 15px 0;
    transition: 0.3s all;
    font-weight: bold;
}

.contact__btn button:hover{
    cursor: pointer;
    background-color: #fff;
    color: #8fb039;
}

@media (max-width: 767px) {
    .contact__wrap {
        width: 90%;
    }
}

/* footer */

footer {
    background-color: #121212;
    color: #fff;
    padding-bottom: 30px;
}

footer nav ul{
    background-color: #121212;
    justify-content: center;
    margin-top: 0;
}

footer nav ul li{
    font-size: 1.4rem;
}

footer p {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 40px;
}

@media (max-width: 767px) {
    footer nav ul {
        flex-wrap: wrap;
    }
    footer nav ul li {
        padding: 0 20px;
        margin-bottom: 10px;
    }
}

#form-thanks .header__nav {
    width: 100%;
    height: 100%;
}

#form-thanks .header__nav ul {
    padding: 20px 0;
    justify-content: center;
    margin-top: 20px;
}

#form-thanks main {
    padding: 60px 0;
    background-color: #f4f4f4;
    background-size: 14px 14px;
    background-image:linear-gradient(#fff 35%, transparent 20%,transparent 100%);
}

#form-thanks main .form_thanksWrap {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

#form-thanks .btn {
    width: 200px;
    margin: 0 auto;
    margin-top: 40px;
}

#form-thanks .btn a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    background-color: #8fb039;
    color: #fff;
    border: 1px solid #8fb039;
    border-radius: 3px;
    font-weight: bold;
}

#form-thanks .btn a:hover{
    background-color: #fff;
    color: #8fb039;
}

/* 個人情報保護方針 */

#privacy .header__contsWrap h1 {
    margin-bottom: 0;
}

.privacy__wrap {
    padding: 80px 0;
}

.privacy__wrap .inner{
    padding: 0 20px;
}

.privacy__wrap h2{
    text-align: center;
}
.privacy__wrap h2::after{
    display: none;
}

.privacy__wrap h3{
    margin-bottom: 20px;
    font-weight: 700;
}

.privacy__wrap p{
    margin-bottom: 10px;
}

.privacy__wrap .privacy__item {
    margin-bottom: 10px;
}

.privacy__wrap h4{
    margin-bottom: 10px;
    font-weight: 700;
}

.privacy__conts {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f4f4f4;
}

.privacy__conts:last-child {
    border-bottom: 0;
}

@media (max-width: 767px) {
    .privacy__wrap {
        padding: 40px 0;
    }
    .privacy__wrap h2{
        font-size: 2rem;
    }
    .privacy__wrap h3{
        font-size: 1.8rem;
    }
    .privacy__wrap h4{
        font-size: 1.6rem;
    }
    .privacy__wrap p{
        font-size: 1.4rem;
    }
    .privacy__wrap ul li{
        font-size: 1.4rem;
    }
}