@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
}

/*---------- ヘッダ ----------*/
header {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 1040px;
    padding: 0 0px 0 60px;
    margin-bottom: 66px;
}

.head-main {
    width: 100%;
}

.head-menu {
    /* width: 5%; */
    display: flex;
    justify-content: center;
}

.head-up {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.head-down {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    height: 500px;
}

.head-image {
    object-fit: contain;
    width: 65%;
}

.head-down .head-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 35%;
    /* height: 610px; */
    background-color: #193d33;
}

.head-up .head-title {
    width: 35%;
    background-color: #1D4035;
}

.head-title-image {
    padding-bottom: 20px;
}

.text-big {
    font-size: 32px;
    color: white;
    letter-spacing: 10px;
    padding: 13px;

}

.text-small {
    font-size: 15px;
    color: #ffc209;
    letter-spacing: 2px;
    padding-bottom: 35px;

}

.view-more {
    position: relative;

    color: white;
    text-align: left;
}

.view-more::before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #ffc209;
    width: 135px;
    top: 26px;
    height: 2px;
}

.view-more::after {
    content: "";
    position: absolute;
    border-left: 1px solid #ffc209;
    height: 15px;
    width: 1px;
    rotate: -45deg;
    top: 16px;
    left: 130px;
}

.head-image-title {
    position: relative;
    text-align: center;
    width: 65%;
    height: 500px;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    text-shadow: 0 2px 3px black;
}

.menu {
    width: 30px;
    height: 4px;
    background-color: #DDDDDD;
    margin: 5px 0;
}

.menu-group {
    position: absolute;
    right: 9px;
    top: 10px;
}

/*----------- メイン -----------*/
main {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 113px;
}

.main-container {
    background-color: #FFFBE6;
}

.main-title {
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 160px;
    padding: 33px 271px 39px 271px;
    color: #1D4035;
}

.main-title p {
    text-align: center;
    font-weight: 600;
    letter-spacing: 10px;
    font-size: 40px;

    color: #1D4035;
    /* width: 190px; */
}

.main-title-padding {
    padding-bottom: 52px;
}

.main-title div {
    padding-top: 30px;
    margin: auto;
    height: 2px;
    width: 110px;
    border-bottom: solid #c1c1c1 2px;
}

.main-cards-content {
    padding: 76px 120px 76px 102px;
}

.main-cards-content label {
    font-size: 24px;
    font-weight: bold;
    color: #193C33;
}

.main-cards {
    display: flex;
    gap: 16px;
}

.card {
    cursor: pointer;
    background-color: #1D4035;
    height: 140px;
    width: 100%;
    margin-top: 16px;
    padding: 12px 21.5px 22px 21.5px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;

    display: flex;
    color: white;
    flex-direction: column;
    align-items: center;
}

.card div {
    width: 100%;
    border-bottom: solid #F8CD03 1px;
}

.card p {
    font-size: 18px;
    margin-top: 12px;
}

.card:hover {
    background-color: #0D6750;
}

.card-img {
    width: 60px;
    height: 60px;
}

.card-block {
    background-color: #1d403500;
    height: 140px;
    width: 100%;
    margin-top: 16px;
    padding: 0 21.5px;
    border-radius: 10px;
    color: white;
}

main p {
    text-align: center;
    font-size: 24px;

    font-weight: 600;
}

.main-cards-content label {
    font-size: 24px;
    color: black;

}

.main-searchBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #CA4F51;
    height: 100px;
    margin: 60px auto 75px auto;
    width: 400px;
    padding: 26px 106px 28px 106px;
    font-size: 32px;
    color: #FFFFFF;
    font-weight: 500;


}

.main-search {
    width: 32px;
    height: 32.05px;
}

/*------------- フッター --------------*/
footer {
    position: relative;
    height: 453px;
    padding-top: 75px;
}

footer::before {
    content: "相談無料";
    position: absolute;
    width: 200px;
    height: 40px;
    left: 42%;
    top: 15%;
    background-color: #ffc209;
    font-weight: 600;
    letter-spacing: 5px;
    font-size: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    left: 49%;
    top: 22%;
    rotate: -45deg;
    background-color: #ffc209;
}

footer img {
    width: 100%;
    height: 378px;
}

.footer-text-big {
    font-size: 30px;
    color: white;
    font-weight: 600;
    letter-spacing: 5px;

}

.footer-text-small {
    font-size: 15px;
    color: white;
    letter-spacing: 5px;

    text-align: center;
}

.footer-engage {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    text-shadow: 0 2px 3px black;
}

.clock-button {
    position: absolute;
    top: 55%;
    left: 50%;
    width: 50%;
    height: 30%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid white;
    box-shadow: 0px 0px 3px 1px white;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.clock-button:hover {
    backdrop-filter: blur(5px);
}

.clock {
    width: 60px;
    height: 60px;
}

.arrow::before {
    content: "";
    position: absolute;
    border-bottom: 1px solid white;
    width: 50px;
    top: 60px;
    height: 2px;
    right: 70px;
}

.arrow::after {
    content: "";
    position: absolute;
    border-left: 1px solid white;
    height: 15px;
    width: 1px;
    rotate: -45deg;
    top: 49px;
    right: 74px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/**----------------  checkbox ------------------------*/
.checkbox-area {
    display: flex;
    margin-top: 30px;
}

.checkbox-area ul {
    width: 50%;
}

.checkbox-area li {
    list-style: none;
    padding-top: 15px;
}

.sub-checkbox {
    padding-left: 35px;
}

.custom-checkbox {
    margin-right: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    height: 20px;
    line-height: 20px;
}

/*---------------- モーダル ------------------*/
.modal {
    display: none;
    z-index: 1;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal input[type=checkbox] {
    width: 20px;
    height: 20px;
    border-radius: 0 !important;
    accent-color: #0D6750;
}

.modal-container {
    width: calc(100% - 200px);
    height: 100%;
    margin: 0 auto;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    max-width: 1140px;
    max-height: 691px;
    border: #0D6750 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border: 2px solid #0E6750;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.close {
    padding-bottom: 6px;
    width: 40px;
    height: 40px;
    position: absolute;
    color: #0E6750;
    background-color: white;
    box-shadow: 0px 0px 0px 0px black;
    right: 20px;
    top: 10px;
    font-size: 35px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    height: 70px;
    width: 100%;
    background-color: #0E6750;
    color: white;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.modal-header p {
    padding-top: 10px;
    text-align: center;
    font-size: 30px;
    letter-spacing: 3px;
}

.modal-body {
    height: calc(100% - 140px);
    overflow-y: auto;
}

.modal-head {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}


.modal-head .modal-btn {
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 16px;
    font-size: 20px;
    font-weight: 600;

    color: #0E6750;
    border: 2px solid #0E6750;
    transition: background-color 0.3s ease;
}


.modal-btn:has(input[type="radio"]:checked) {
    background-color: #186450;
    color: white;
}


.modal-head input[type="radio"] {
    display: none;
}


.modal-head .modal-btn:hover {
    color: white;
    background: #186450;
}

.modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 16px;
    height: 70px;
    width: 100%;
    background-color: #fffbe6;
    color: white;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.modal-footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 20px;

    text-align: center;
    font-weight: 500;
}

.num {
    font-size: 20px;
    color: black;
    font-weight: 600;

}

.footer-btn {
    background-color: #ca4f51;
    width: 128px;
    height: 47px;
    margin-left: 20px;
    border-radius: 10px;
    color: white !important;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    font-size: 18px;
    font-weight: 600;
}

.category {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

.category-part {
    margin-top: 30px;
    padding-left: 30px;
    display: flex;
}

.category-part label {
    padding-right: 70px;
}

.text-category {
    background-color: #f5f6f6;
    border-left: 8px solid #0E6750;
    font-size: 22px;
    font-weight: 600;
    padding-left: 20px;
    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
}

.other {
    padding-bottom: 100px;
}

.other .other-container {
    width: calc(100% - 70px);
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.pad-top {
    padding-top: 9px;
    padding-left: 0px;
}

.pad-top-left {
    padding-left: 20px;
    padding-top: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.other-row {
    height: 80px;
    width: 100%;
    border-bottom: 1px solid rgb(204, 204, 204);
    border-top: 1px solid rgb(204, 204, 204);
}

.other-mid-row {
    height: 120px;
    width: 100%;
    border-bottom: 1px solid rgb(204, 204, 204);
    border-top: 1px solid rgb(204, 204, 204);
}

.other-mid-row-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.other-row-content {
    width: 80%;
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
}

.other-row-content select {
    font-size: 16px;
    border-radius: 5px;
    height: 40px;
    width: 200px;
}

.other-row-content span {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.other-row-content div {
    width: 33%;
}

.other-flex {
    display: flex;
    justify-content: start;
    align-items: center;
}

.other-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 0 95px;
    gap: 20px;
}

.other-flex-end {
    display: flex;
    justify-content: end;
    align-items: center;
}

.other-flex-start {
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.other-flex-start div {
    width: 33%;
}

.other-flex-other {
    padding-right: 201px;
}

select {
    padding: 5px;
    font-size: 20px;
}

.other-margin {
    /* margin: 40px 137px 0 137px; */
}


.other-title {
    font-size: 18px;

    background-color: #f7f7f7;
    width: 20%;
    height: 100%;
    font-weight: 600;
    padding-left: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
}

/**------------ hamburger menu   ---------------*/

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

#hamburger:hover {
    cursor: pointer;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: -16px;
    right: -3px;
    font-size: 60px;
}