@charset "UTF-8";
/* CSS Document */
.main {
    background-color: #fbfbfb;
}
.concept {
    position: relative;
}
.concept h1 {
    position: absolute;
    max-width: 662px;
    min-width: 240px;
    width: 46%;
    z-index: -1;
    top: 30%;
    left: 10.5%;
}
.concept p {
    line-height: 2.0em;
    padding-top: 145px;
    margin-bottom: 200px;
}
.h_second {
    display: inline-block;
    text-align: center;
    padding: 0 30px 10px;
    margin-bottom: 30px;
    border-bottom: solid 1px #231815;
} 
.young-tree p {
    text-align: left;
    max-width: 688px;
    margin: 0 auto;
    padding-left: 2em;
}
.young-tree p::before {
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    background-color: #231815;
    transform: translate(-18px, 15px) rotate(45deg)
}
.young-tree p:last-child {
    margin-bottom: 100px;
}

/* 苗木一覧 */
.young-tree_item_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(157px, 250px));
    justify-content: center;
    margin: 100px auto 145px;
    gap: 60px;
    max-width: 1300px;
}
.item_visual {
    position: relative;
    z-index: 1;
}
.item_visual .green {
    position: absolute;
    z-index: 10;
    writing-mode: vertical-rl;
    /* top: 10px;
    right: 10px; */
    top: 0;
    right: 0;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 2.08em;
    padding: 18px 0 20px;
    letter-spacing: 0.3em;
    background: linear-gradient(180deg, #7B920A 0%, rgba(123, 146, 10, 0.00) 100%);
}
.item_visual .pink {
    position: absolute;
    z-index: 10;
    writing-mode: vertical-rl;
    top: 0;
    right: 0;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 2.08em;
    padding: 18px 0 20px;
    letter-spacing: 0.3em;
    background: linear-gradient(180deg, #C84E89 0%, rgba(241, 95, 121, 0.00) 99.48%);
}
.item_visual .general, .item_visual .farmer {
    display: inline-block;
    font-size: 1.0rem;
    line-height: 1.6em;
    color: #fbfbfb;
    border-radius: 3px;
    padding: 0 6px;
}
.item_visual .general {
    background-color: #E183B6;
}
.item_visual .farmer {
    background-color: #74C087;
}
.kinds_wrapper {
    display: flex;
    flex-direction: column;
    width: 32px;
    gap: 5px;
    position: absolute;
    z-index: 10;
    bottom: 21.2%;
    left: 8%;
}
.item_visual .upright {
    text-combine-upright: all;
}
/* 苗木一覧の詳細部分 */
.item details {
    background-color: #F7F4F4;
    text-align: left;
    padding: 6px 20px;
}
.item details summary {
    text-align: center;
    list-style-type: none; /* 矢印を消す */
    position: relative;
}
summary::-webkit-details-marker {
    display:none; /* スマホ上の矢印を消す */
}
.item details summary::before {
    position: absolute;
    content: "＋";
    width: 13px;
    height: 30px;
    left: 0;
    font-size: 2.0rem;
    transition: .2s;
}
.item details[open] summary:before {
    transform: rotate(45deg);
    top: -9%;
}
.item details dl {
    display: flex;
    flex-wrap: wrap;
}
.item details dl dt {
    width: 100%;
    font-size: 1.4rem;
    line-height: 1.8em;
}
.item button {
    display: block; /* 中央寄せ */
    margin: auto; /* 中央寄せ */
}
.item button a {
    font-size: 1.6rem;
    padding: 13px 43px;
}
.item details button:nth-of-type(1) {
    margin: 20px auto 10px;
}
.item details button:nth-of-type(2) {
    margin-bottom: 14px;
}

/* ご注文詳細 */
.order-details {
    max-width: 688px;
    margin: 0 auto 200px;
    padding: 0 20px;
}
.order-details h3 {
    font-size: 2.0rem;
    line-height: 1.44em;
    font-weight: 400;
    text-align: left;
}
.order-details p {
    text-align: left;
}.order-details p:nth-of-type(1) {
    padding-bottom: 39px;
}

@media(max-width: 834px) {
    .concept h1 {
        position: absolute;
        width: 70%;
        z-index: -1;
        top: 10%;
        left: 5%;
    }
    .young-tree {
        padding: 0 20px;
    }
}

@media(max-width: 600px) {
    /* 苗木一覧の幅をスマホ用に変える */
    .young-tree_item_wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(157px, 157px));
        justify-content: center;
        margin: 100px auto 145px;
        gap: 6.94vw;
    }
    .item_visual {
        height: 193px;
    }
    .item_visual .fade div img {
        height: 193px;
    }
    .item_visual .green, .item_visual .pink {
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 1em;
        padding: 10px 8px 30px 8px;
        letter-spacing: 0.3em;
    }
    .kinds_wrapper {
        bottom: 22.2%;
    }
    .item details {
        padding: 6px 10px;
    }
    .item details summary {
        padding-right: 13px;
        text-align: right;
    }
    .item details button {
        padding: 0;
    }
    .item details button:nth-of-type(1) {
        margin: 15px auto 10px;
    }
    .item button a {
        font-size: 1.5rem;
        padding: 9px 22px;
    }
}

@media(max-width: 500px) {
    .main {
        font-size: 1.5rem;
    }
    .concept p {
        padding-top: 100px;
        margin-bottom: 145px;
    }

}