@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;700&family=Zen+Maru+Gothic:wght@300;400;500;700&display=swap');


body {
    font-family: 'Zen Maru Gothic', sans-serif;
    overflow-x: hidden;
}



/*  //////////// ハンバーガーメニュー ////////////////  */




.header-inner {             /* ハンバーガーメニューを開いたときの背景画像  */
    background-image: url(../image/archive-img/background.jpg);
    display: none;
    background-size: cover;
    width: 100vw;
    padding: 100px 0;
    overflow-y: scroll;
	position: fixed;
	z-index: 999;
}

.open-btn {  /* ハンバーガーメニューの形作り */
    display: block;
    width: 90px;
    height: 90px;
    border: #fff 0.5px solid;
    border-radius: 100%;
    background: linear-gradient(180deg, #9edd85 35%, #388c14);
    margin: 20px 20px 0 0;
    box-shadow: #11111173 2px 4px 10px;
    transition: 0.3s ease-in-out;
    /*position: relative;*/
	position: fixed;
	right: 0;
	z-index: 9999;
}

.open-btn:hover {
    transform: scale(1.2);
}

.open-btn span {     /* 3本線の原型つくり */
    display: inline-block;
    transition: all .3s;
    width: 50px;
    height: 4px;
    border-radius: 50px;
    background-color: #fff;
    position: absolute;
    left: calc(50% - 26px);
}


.open-btn span:nth-child(1) {    /* 1本目の絶対位置 */
    top: 27px;
}

.open-btn span:nth-child(2) {   /* ２本目の絶対位置 */
    top: 39px;
}

.open-btn span:nth-child(3) {   /* ３本目の絶対位置 */
    top: 51px;
}

.open-btn span:nth-of-type(3)::after {
    content:"メニュー";/*3つ目の要素のafterにMenu表示を指定*/
    position: absolute;
    top: 8px;
    right: calc(50% - 24px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.open-btn.active span:nth-of-type(1) {
    top: calc(50% - 10px);
    right: calc(50% - 10px);
    transform: translateY(6px) rotate(-45deg);
}

.open-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.open-btn.active span:nth-of-type(3){
    top: calc(50% + 3px);
    left: calc(50% -20px);
    transform: translateY(-6px) rotate(45deg);
}

.open-btn.active span:nth-of-type(3)::after {
    content:"とじる";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
    top: 14px;
    right: -12px;
}

@media screen and (max-width: 1024px) {

    .open-btn {
        display: block;
        width: 70px;
        height: 70px;
        margin: 10px 10px 0 0;
        box-shadow: #11111173 2px 3px 5px;
		position: fixed;
    }

    .open-btn span {     /* 3本線の原型つくり */
        display: inline-block;
        transition: all .3s;
        width: 40px;
        height: 3px;
        border-radius: 50px;
        background-color: #fff;
        position: absolute;
        left: calc(50% - 20px);
    }

    .open-btn span:nth-child(1) {    /* 1本目の絶対位置 */
        top: 26px;
    }
    
    .open-btn span:nth-child(2) {   /* ２本目の絶対位置 */
        top: 33px;
    }
    
    .open-btn span:nth-child(3) {   /* ３本目の絶対位置 */
        top: 40px;
    }

    .open-btn.active span:nth-of-type(1) {
        top: calc(50% - 7px);
        right: calc(50% - 10px);
        transform: translateY(6px) rotate(-45deg);
    }
    
    .open-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .open-btn.active span:nth-of-type(3){
        top: calc(50% + 6px);
        left: calc(50% -20px);
        transform: translateY(-6px) rotate(45deg);
    }
    
    .open-btn span:nth-of-type(3)::after {
        content: '';
    }

    .open-btn.active span:nth-of-type(3)::after {
        content: '';
    }
}

/*  //////////// ハンバーガーメニュー終了////////////////  */


/*  //////////// ハンバーガーメニュー開いたときのデザイン////////////////  */

#logo img {
    width: 90px;
    height: auto;
    padding: 20px 0 0 20px;
    transition: 0.3s ease-in-out;
	z-index: 99999;
	position: fixed;
}

#logo img:hover {
    transform: scale(1.2);
}


.header-nav-list {
    display: block;
    display: flex;
    justify-content: center;
    gap: 120px;
    margin: 0 auto;
}



.header-item1 {
    width: fit-content;
    color: #29639B;
    font-size: 35px;
    font-weight: 500;
    position: relative;
    transition: 0.5s;
}

.header-item2 {
    width: fit-content;
    color: #1E962E;
    font-size: 35px;
    font-weight: 500;
    position: relative;
    transition: 0.5s;
}

.header-item1 span,.header-item2 span{
    font-size: 28px;
    transition: 0.5s;
}

.header-nav-list img {
    width: 280px;
    height: auto;
}

.header-local {
    display: flex;
    column-gap: 50px;
    row-gap: 20px;
    width: 300px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.header-locals {
    color: #29639B;
    font-size: 20px;
    font-weight: 500;
    transition: 0.5s;
}

.header-locals2 {
    color: #1E962E;
    font-size: 20px;
    font-weight: 500;
    transition: 0.5s;
}

.header-list-item {
    margin-bottom: 60px;
}


.header-item1:hover, .header-item2:hover,
 .header-locals:hover, .header-locals2:hover:hover {
    transform: scale(1.15);
}

.header-item1::before {
    content: '';
    position: absolute;
    right: -65px;   
    top: 40px; 
    width: 40px;
    height: 3px;
    border-radius: 50px;
    background:#29639B;
}

.header-item1::after {
    content: '';
    position: absolute;
    right: -66px;   
    top: 35px; 
    width: 15px;
    height: 3px;
    border-radius: 50px;
    transform: rotate(45deg);
    background:#29639B;
}

.header-item2::before {
    content: '';
    position: absolute;
    right: -65px;   
    top: 40px; 
    width: 40px;
    height: 3px;
    border-radius: 50px;
    background:#1E962E;
}

.header-item2::after {
    content: '';
    position: absolute;
    right: -66px;   
    top: 35px; 
    width: 15px;
    height: 3px;
    border-radius: 50px;
    transform: rotate(45deg);
    background:#1E962E;
}


@media screen and (max-width: 1024px) {

    #logo img {
        padding: 10px 0 0 10px;
        width: 50px;
        height: auto;
    }

    #logo img:hover {
        transform: scale(1);
    }

    .open-btn:hover {
        transform: scale(1);
    }

    .header-nav-list {
        display: block;
    }

    .header-inner {
        padding-top: 60px;
        padding-left: 80px;
    }

    .header-sdg-contact {
        display: flex;
        gap: 30px;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-item1 {
        font-size: 18px;
        font-weight: 500;
    }
    
    .header-item2 {
        font-size: 18px;
        font-weight: 500;
    }

    .header-item1 span,.header-item2 span{
        font-size: 14px;
    }

    .header-nav-list img {
        width: 100px;
    }

    .header-local {
        column-gap: 30px;
        row-gap: 16px;
        width: 200px;
        padding-top: 16px;
    }
    
    .header-locals {
        font-size: 16px;
    }
    
    .header-locals2 {
        font-size: 16px;
    }

    .header-list-item {
        margin-bottom: 40px;
    }

    .header-list-item:nth-child(3) {
        margin-bottom: 40px;
    }

    .header-item1::before {
        content: '';
        position: absolute;
        right: -30px;   
        top: 20px; 
        width: 20px;
        height: 2px;
        border-radius: 50px;
        background:#29639B;
    }
    
    .header-item1::after {
        content: '';
        position: absolute;
        right: -30px;   
        top: 18px; 
        width: 6px;
        height: 2px;
        border-radius: 50px;
        transform: rotate(45deg);
        background:#29639B;
    }

    .header-item2::before {
        content: '';
        position: absolute;
        right: -30px;   
        top: 20px; 
        width: 20px;
        height: 2px;
        border-radius: 50px;
        background:#1E962E;
    }
    
    .header-item2::after {
        content: '';
        position: absolute;
        right: -30px;   
        top: 18px; 
        width: 6px;
        height: 2px;
        border-radius: 50px;
        transform: rotate(45deg);
        background:#1E962E;
    }

}



/**************************メインビジュアルここから***************************/
body {
    width: 100%;
    height: 100vh;
}

body:before{
    content:"";
    display:block;
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
    width:100vw;
    height:100vh;
    background-image: url(../image/archive-img/fuji.jpg);
    background-position: 50% 80%;
    background-size:cover;
  }

.main {
    width: 100%;
    height: 100vh;
    position: relative;
}

.meet-nature {
    width: 650px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%);
}

.mame {
    position: absolute;
    bottom: 3%;
     right: 3%;
}

.sdgs {
    width: 280px;
    height: auto;
    animation: poyopoyo 3s ease-in-out infinite;
}

.section {
    margin: 0 auto;
    padding: 100px 0;
    background-color: #fff;
}

.container {
    padding: 50px 200px;
    background: linear-gradient(180deg, #fff 40%, #d8f7ba 70%, #fff 100%);

}

@keyframes poyopoyo {
    0%, 40%, 60%, 80% {
      transform: scale(1.0);
    }
    50%, 70% {
      transform: scale(0.85);
    }
  }




h1 {
    font-size: 20px;
    line-height: 1.8;
    color: #707070;
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 50px;
}

.fill-in {
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

input[type=text] {
    position: relative;
    width: 60vw;
    height: 100px;
    font-size: 30px;
    padding: 10px 20px 10px 40px;
    background: linear-gradient(90deg, #E9FFE2 , #C9F999);
    border-radius: 50px;
    border: #707070 0.5px solid;
    display: block;
    margin: 0 auto;
    letter-spacing: 5px;
}

.fill-in a {
    display: block;
    position: absolute;
    right: 40px;
    width: 50px;
    height: auto;
}


h2 {
    font-size: 20px;
    color: #707070;
    text-align: center;
    letter-spacing: 5px;
    margin: 50px 0;
}


/* チェックボックスの装飾 */
input[type=checkbox] {
    display: none;
}

#sizeBox {
    display: flex;
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 40px;
    justify-content: center;
}

.checkbox_parts {
    display: block;
    width: 220px;
    font-size: 28px;
    letter-spacing: 5px;
    text-align: center;
    padding: 25px 0;
    border-radius: 50px;
    color: #707070;
    border: 0.5px #707070 solid;
    background: linear-gradient(90deg, #E9FFE2 , #C9F999);
    cursor: pointer;
    transition: 0.5s;
}

input[type=checkbox]:checked + .checkbox_parts{
    background: #2c995b;
    color: #fff;
    box-shadow: 1px 1px 14px #ffffff inset;
    border: none;
    }


/*他エリア*/
.wrapper {
    width: fit-content;
    margin: 0 auto;
}

.search_area div {
    margin-bottom: 100px;
}

.item_container {
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
  }

.item {
    position: relative;
    max-width: calc(100% / 3 - 60px);
    min-width: 240px;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.item:hover {
    transform: scale(1.02)
}

.images {
    position: relative;
}

.images::before {
    content: "見てみる！";
    font-size: 18px;
    font-weight: 500;
    position: absolute;
    padding: 20px 40px;
    background-color: #fff;
    color: #178723;
    border: #707070 solid 1px;
    border-radius: 50px;
    top: -35px;
    left: calc(50% - 85px);
}


.detail-flex {
    padding: 10px 0;
    display: flex;
    align-items: top;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.detail-flex img {
    max-width: 30px;
    height: auto;
}

.detail-flex p {
    font-size: 26px;
    color: #178723;
    font-weight: 500;
    letter-spacing: 5px;
}

.address {
    font-size: 18px;
    color: #178723;
    letter-spacing: 5px;
    font-weight: 500;
    text-align: center;
}
  
  
  
/*絞り込み条件外のアイテム*/
.hide_item {
    display: none;
}







footer {
    margin: 50px 100px 50px 100px;
    padding: 50px;
    background-color: #ffffffa0;
    border-radius: 30px;
}

.footer-flex {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
}

.footer-flex ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-flex ul li {
    max-width: 270px;
}

.footer-item {
    font-size: 28px;
    color: #707070;
    padding: 6px 14px;
    position: relative;
}

.footer-item::before {
    background: #81b052;
    content: '';
    width: 100%;
    height: 4px;
    border-radius: 50px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: center top;
    transform: scale(0, 1);
    transition: transform .3s;
  }
  .footer-item:hover::before {
    transform-origin: center top;
    transform: scale(1, 1);
  }

.footer-sdgs {
    width: 200px;
    height: auto;
}

.copyright {
    font-size: 14px;
    text-align: center;
}





  @media screen and (max-width: 1024px) {
    .main {
        width: 100%;
        height: 100vh;
        position: relative;
    }

    .meet-nature {
        max-width: 370px;
        top: 40%;
    }

    .mame {
        width: 180px;
        bottom: 6%;
    }

    .section {
        padding: 30px 0;
    }

    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 16px;
        margin-bottom: 30px;
    }

    input[type=text] {
        width: 70vw;
        height: 60px;
        font-size: 14px;
        padding: 10px 30px 10px 15px;
        letter-spacing: 2px;
    }

    .fill-in a {
        right: 20px;
        width: 30px;
    }

    h2 {
        font-size: 16px;
        margin: 30px 0;
    }

    #sizeBox {
        column-gap: 50px;
        row-gap: 25px;
    }

    .checkbox_parts {
        width: 150px;
        font-size: 16px;
    }

    .search_area div {
        margin-bottom: 50px;
    }

    .item_container {
        gap: 30px;
    }

    .item {
        min-width: 200px;
    }

    .images::before {
        font-size: 14px;
        padding: 10px 20px;
        top: -20px;
        left: calc(50% - 58px);
    }

    .detail-flex img {
        max-width: 18px;
        height: auto;
    }

    .detail-flex p {
        font-size: 18px;
    }

    .address {
        font-size: 14px;
    }
  
    footer {
        margin: 25px auto;
        padding: 35px;
        width: fit-content;
    }

    .footer-flex {
        padding: 35px;
        width: fit-content;
    }

    .footer-flex ul {
        display: block;
    }

    .footer-flex ul li {
        width: fit-content;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .footer-item {
        font-size: 20px;
    }

    .footer-sdgs {
        width: 150px;
    }

    .copyright {
        font-size: 12px;
    }
}

@media screen and (max-width: 390px) {
    #sizeBox {
        column-gap: 30px;
        row-gap: 25px;
    }
}
