body {
    background: none;
    letter-spacing: 0.15em;
}

p {
    font-size: 13px;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: black;
}

h2,h3 {
    padding: 0;
    border: none;
}

ul {
    padding: 0;
}

.page_title {
    margin-top: 30px;
    letter-spacing: normal;
}

.wrap {
    width: 100%;
}

.inner {
    /* max-width: 980px; */
    max-width: 840px;
    margin: 0 auto;
    padding: 0 20px;
}

.title_cateogry {
    background: #000;
    color: #FFF;
    font-size: 18px;
    box-sizing: border-box;
    padding: 12px 30px;
    margin-bottom: 25px;
    line-height: 1;
    width: 100%;
}

.title_cateogry span {
    display: none;
}

.section_title {
    background: none;
    border: none;
    font-size: 20px;
}

.message_wrap {
    margin-bottom: 50px;
}

.message {
    display: flex;
}

.display_sp {
    display: none;
}

.link_arrow {
    display: inline-block;
    width: clamp(16px, 16px + 0.9vw, 28px);
    height: 100%;
    position: relative;
}

.message_left {
    width: 40%;
    margin-right: 40px;
}

.message_right {
    width: 50%;
}

.message_right p {
    margin-top: 30px;
}

.btn_style a {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-right: 20px;
    column-gap: 20px;
    width: min(360px, 100%);
    height: 45px;
    line-height: 45px;
    border-bottom: 3px solid #469926;
    box-sizing: border-box;
}

.link_btn {
    display: flex;
    align-items: start;
    justify-content: flex-end;
    margin-top: 25px;
}

.link_label {
    z-index: 10;
    font-size: clamp(10px, 10px + 0.7vw, 14px);

}

.link_arrow::before {
    content: '';
    display: block;
    width: clamp(16px, 16px + 0.9vw, 28px);
    height: 1px;
    background: black;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.link_arrow::after {
    content: '';
    display: block;
    width: 9px;
    height: 1px;
    background: black;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: top right;
    right: 0;
    transform: rotate(-30deg);
}

.btn_style a:hover {
    color: white;
    overflow: hidden;
}

.btn_style a:hover .link_arrow::before {
    background: white;
}

.btn_style a:hover .link_arrow::after {
    background: white;
}

.btn_style a:hover::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #469926;
    transform: translateX(-100%);
    animation: hover_slide 0.2s forwards;
}

@keyframes hover_slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }

}

.books_img {
    width: 100%;
    display: block;
}

.plans_wrap {
    background: #F0F0F0;
}

.plans {
    padding-top: 50px;
    padding-bottom: 50px;
}

.plans_message {
    margin-top: 30px;
}

.items {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 4%;
}

.item {
    width: 48%;
}

.entitle {
    font-size: 12px;
    color: #469926;

}

.jatitle {
    letter-spacing: 0.3em;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid black;
}

.estimate {
    padding-top: 50px;
    padding-bottom: 70px;
}

.estimate a {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
    column-gap: 20px;
    text-align: center;
    width: 280px;
    height: 45px;
    line-height: 45px;
    background: #969696;
    color: white;
    box-sizing: border-box;
}

.spacer {
    content: '';
    display: block;
    width: 28px;
}

.estimate a:hover::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4b4b4b;
    transform: translateX(-100%);
    animation: hover_slide 0.2s forwards;
}

.estimate_link_arrow {
    display: inline-block;
    width: 28px;
    height: 100%;
    position: relative;
}

.estimate_link_arrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.estimate_link_arrow::after {
    content: '';
    display: block;
    width: 9px;
    height: 1px;
    background: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: top right;
    right: 0;
    transform: rotate(-30deg);
}

.estimate a:hover {
    color: white;
    overflow: hidden;
}

.estimate a:hover .link_arrow::before {
    background: white;
}

.estimate a:hover .link_arrow::after {
    background: white;
}

.doc_inner {
    max-width: 840px;
    margin: 0 auto 70px auto;
}

.document {
    /* text-align: center; */
    margin: 0 20px;
    /* padding: 0 20px; */
    border: 4px solid #469926;
    /* letter-spacing: 0.3em; */
}

.doc_title {
    text-align: center;
    border-bottom: 4px solid #469926;
    padding: 45px 0 20px 0;
    margin-left: 35px;
    margin-right: 35px;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 0 10% 0 15%;
    margin: 60px 0;
}

.detail_left {
    width: 50%;
}

.detail_left li {
    font-size: 16px;
    list-style: inside;
    margin: 10px 0;
}

.detail_left p {
    font-size: 16px;
    margin-top: 30px;
}

.detail_right {
    width: 50%;
    text-align: center;
}

.document img {
    width: min(280px, 80%);
}

.doc_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}


.doc_btn a {
    width: min(70%, 400px);
    height: 45px;
    line-height: 45px;
    font-size: 20px;
    font-size: clamp(14px, 14px + 0.3vw, 20px);
    text-align: center;
    background: #6CB750;
    opacity: 1;
    border-radius:30px;
    color: white;
    box-sizing: border-box;
    box-shadow: 0 6px #1a7940;
    /* transition: all 0.2s; */
}

.doc_btn a:hover {
    opacity: 0.9;
}

.doc_btn a:active {
    position: relative;
    top: 6px;
    box-shadow: none;
}

.contact-wrap {
    text-align: center;
    background: #F0F0F0;
    padding: 35px 0;
}

.contact_dtl {
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.contact_title {
    margin-bottom: 50px;
}

.contact_dtl-left {
    display: flex;
    background: black;
    width: 400px;
    height: 80px;
    align-items: center;
    justify-content: center;
}

.contact_dtl-left p {
    color: white;
}

.contact_txt02 {
    font-size: 12px;
}

.contact_txt {
    font-size: 20px;
}

.contact_dtl-right {
    display: flex;
    width: 400px;
    height: 80px;
    align-items: center;
    justify-content: center;
}

.tel_num {
    font-size: 22px;
    font-weight: bold;
    color: #469926;
}

@media (max-width: 599px) {
    h2 {
        color: black;
    }
    #category_menu {
        display: none;
    }
    .title_cateogry{
        font-size: 15px;
        color: black;
        text-align: center;
        padding: 0 0 15px 0;
        margin-bottom: 20px;
        font-weight: bold;
        margin-top: -10px;
        background-image: url(../img/menu/border.png);
        background-color: white;
        background-position: center bottom;
        background-repeat: repeat-x;
    }
    .title_cateogry span {
        display: block;
        color: #004817;
        font-size: 10px;
        padding-top: 2px;
    }

    .message {
        flex-direction: column;
    }
    .display_sp {
        display: block;
        margin-bottom: 30px;
    }
    .message_left {
        width: 100%;
        margin: 0 auto 30px auto;
    }
    .books_img {
        width: 80%;
        padding: 0 10%;
    }
    .message_right {
        width: 100%;
    }
    .link_btn {
        justify-content: center;
    }
    .message_right p {
        margin-top: 20px;
    }
    .display_pc {
        display: none;
    }
    .section_title {
        /* text-align: center; */
        font-size: 15px;
    }
    .items {
        flex-direction: column;
    }
    .item {
        width: 90%;
        padding: 0 5%;
    }
    .detail {
        flex-direction: column;
        margin: 20px 0;
    }
    .detail_left {
        width: 100%;
    }
    .detail_left li {
        font-size: 12px;
        margin: 5px 0;
    }
    .detail_left p {
        font-size: 12px;
    }
    .detail_right {
        display: none;
    }

    .contact_dtl {
        flex-direction: column;
    }

    .contact_dtl-left {
        width: 100%;
    }

    .contact_dtl-right {
        width: 100%;
    }

}