@media screen and (min-width: 1025px) {   
    /* .pankuzu ul {
        display: flex;
        list-style-type: none;
        margin: 10px auto;
        left: 370px;
    } */

    .sp_on{display: none;}

    #mainArea {
        max-width: 1200px;
        margin: 0 auto;
    }

    .main{
        margin-top: 10rem;
        margin-bottom: 4rem;
    }

    .details { 
        border-top: 0.5px solid rgb(45, 97, 35, 0.2);
        border-left: 0.5px solid rgb(45, 97, 35, 0.2);
        border-right: 0.5px solid rgb(45, 97, 35, 0.2);
    }

    .details:last-of-type {
        border-bottom: 0.5px solid rgb(45, 97, 35, 0.2);
    }

    .details-summary {
        position: relative;
        display: block;
        padding: 20px;
        font-size: 1.2rem;
        /* text-align: center; */
        background-color: rgb(45, 97, 35, 0.06);
    }

    .details-summary:hover {
        color: #2D6123;
        cursor: pointer;
        opacity: 0.8;
    }

    .details-summary .btn {
        position: absolute;
        top: 37%;
        left: 90%;
        width: 18px;
        height: 18px;
        transform-origin: center center;
        transition-duration: 0.2s;
    }

    .details-summary .btn:before,
    .details-summary .btn:after {
        content: "";
        background-color: rgb(45, 97, 35, 0.9);
        border-radius: 10px;
        width: 18px;
        height: 4px;
        position: absolute;
        top: 7px;
        left: 0;
        transform-origin: center center;
    }

    .details-summary .btn:before {
        width: 4px;
        height: 18px;
        top: 0;
        left: 7px;
    }

    details[open] > summary .btn:before {
        content: none;
    }

    details[open] > summary .btn {
        transform: rotate(-180deg);
    }

    .details-summary::-webkit-details-marker {
        display: none;
    }

    .details-content {
        padding: 20px;
    }

    .details-content p {
        margin: 0 0 20px;
        font-size: 18px;
        text-align: left;
    }

    .details-content p:last-of-type {
        margin: 0 0 0;
    }

    .inquiry_link{
        color: #0a2c51;
    }
}

/*********************** タブレット ***********************/
@media screen and (max-width: 1024px) {
    .pc_on{display: none;}

    #mainArea {
        max-width: 96%;
        margin: 0 auto;
    }

    .main{
        margin-top: 6rem;
        margin-bottom: 4rem;
    }

    .details { 
        border-top: 0.5px solid rgb(45, 97, 35, 0.2);
        border-left: 0.5px solid rgb(45, 97, 35, 0.2);
        border-right: 0.5px solid rgb(45, 97, 35, 0.2);
    }

    .details:last-of-type {
        border-bottom: 0.5px solid rgb(45, 97, 35, 0.2);
    }

    .details-summary {
        position: relative;
        display: block;
        padding: 20px;
        font-size: 1.2rem;
        /* text-align: center; */
        background-color: rgb(45, 97, 35, 0.06);
    }

    .details-summary:hover {
        color: #2D6123;
        cursor: pointer;
        opacity: 0.8;
    }

    .details-summary .btn {
        position: absolute;
        top: 37%;
        left: 90%;
        width: 18px;
        height: 18px;
        transform-origin: center center;
        transition-duration: 0.2s;
    }

    .details-summary .btn:before,
    .details-summary .btn:after {
        content: "";
        background-color: rgb(45, 97, 35, 0.9);
        border-radius: 10px;
        width: 18px;
        height: 4px;
        position: absolute;
        top: 7px;
        left: 0;
        transform-origin: center center;
    }

    .details-summary .btn:before {
        width: 4px;
        height: 18px;
        top: 0;
        left: 7px;
    }

    details[open] > summary .btn:before {
        content: none;
    }

    details[open] > summary .btn {
        transform: rotate(-180deg);
    }

    .details-summary::-webkit-details-marker {
        display: none;
    }

    .details-content {
        padding: 20px;
    }

    .details-content p {
        margin: 0 0 20px;
        font-size: 18px;
        text-align: left;
    }

    .details-content p:last-of-type {
        margin: 0 0 0;
    }

    .inquiry_link{
        color: #0a2c51;
    }
}

/*********************** スマホ ***********************/
@media screen and (max-width: 599px) {
    .pc_on{display: none;}

    #mainArea {
        max-width: 96%;
        margin: 0 auto;
    }

    .main{
        margin-top: 6rem;
        margin-bottom: 4rem;
        margin-left: 1rem;
    }

    .details { 
        border-top: 0.5px solid rgb(45, 97, 35, 0.2);
        border-left: 0.5px solid rgb(45, 97, 35, 0.2);
        border-right: 0.5px solid rgb(45, 97, 35, 0.2);
        width: 98%;
        margin: 0 auto;
    }

    .details:last-of-type {
        border-bottom: 0.5px solid rgb(45, 97, 35, 0.2);
    }

    .details-summary {
        position: relative;
        display: block;
        font-size: 0.8rem;
        padding: 20px;
        background-color: rgb(45, 97, 35, 0.06);
    }

    .details-summary:hover {
        color: #2D6123;
        cursor: pointer;
        opacity: 0.8;
    }

    .details-summary .btn {
        position: absolute;
        top: 37%;
        left: 90%;
        width: 14px;
        height: 14px;
        transform-origin: center center;
        transition-duration: 0.2s;
    }

    .details-summary .btn:before,
    .details-summary .btn:after {
        content: "";
        background-color: rgb(45, 97, 35, 0.9);
        border-radius: 10px;
        width: 14px;
        height: 3px;
        position: absolute;
        top: 5px;
        left: 0;
        transform-origin: center center;
    }

    .details-summary .btn:before {
        width: 3px;
        height: 14px;
        top: 0;
        left: 5px;
    }

    details[open] > summary .btn:before {
        content: none;
    }
    
    details[open] > summary .btn {
        transform: rotate(-180deg);
    }

    .details-summary::-webkit-details-marker {
        display: none;
    }

    .details-content {
        padding: 20px;
    }

    .details-content p {
        margin: 0 0 20px;
        text-align: left;
        font-size: 0.8rem;
    }

    .details-content p:last-of-type {
        margin: 0 0 0;
    }

    .inquiry_link{
        color: #0a2c51;
    }
}

