/* style.css：他ファイルにないスタイルのみ（#privacy, #osoujirengoutai, #margin-rate, #volunteer-com, #questionnaire） */

/* プライバシーポリシー */
#privacy .privacy-body h3 {
    padding: 10px 0 10px 30px;
}

#privacy .privacy-cnt li {
    margin-bottom: 30px;
}

#privacy .privacy-contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation-name: slideTextX100;
}

#privacy .personal-contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    animation-name: slideTextX100;
}

#privacy .tabs {
    margin: 0 auto;
    background-color: #ffffff;
}

#privacy .tab_item {
    display: block;
    float: left;
    width: calc(85% / 2);
    padding: 20px 0;
    border-bottom: 3px solid #0130a8;
    background-color: #d9d9d9;
    color: #565656;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    transition: all .2s ease;
}

#privacy .tab_item:hover {
    opacity: .7;
}

#privacy input[name="tab_item"] {
    display: none;
}

#privacy .tab_content {
    display: none;
    clear: both;
    padding: 40px 0 0 40px;
    overflow: hidden;
}

#policy:checked ~ #policy_content, #fix:checked ~ #fix_content {
    display: block;
}

#privacy .tabs input:checked + .tab_item {
    background-color: #0130a8;
    color: #ffffff;
}

#privacy .adjustment {
    margin-left: 40px;
}

#privacy .privacy-ttl, #privacy .personal-ttl {
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

#privacy .privacy-ttl h3, #privacy .personal-ttl h3 {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 15px;
}

#privacy .privacy-ttl h3::after, #privacy .personal-ttl h3::after {
    position: absolute;
    bottom: 0;
    left: calc(50% - 25px);
    width: 50px;
    height: 2px;
    background: #30b5f2;
    content: "";
}

#privacy .privacy-cnt, #privacy .personal-cnt {
    line-height: 1.5;
}

#privacy .privacy-cnt ol, #privacy .personal-cnt ol {
    list-style: decimal;
    margin-left: 30px;
}

#privacy .privacy-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#privacy .personal-contact {
    text-align: end;
}

#privacy .privacy-contact li, #privacy .personal-contact li {
    line-height: 1.5;
    text-align: right;
}

#privacy .privacy-cnt li {
    margin-bottom: 10px;
}

#privacy .privacy-contact a {
    width: 80px !important;
    height: auto;
}

#privacy .personal-cnt ul li {
    list-style: disc;
    margin-bottom: 5px;
    margin-left: 20px;
}

#privacy .counter {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    border: 1px solid #222222;
    line-height: 1.5;
    text-align: center;
}

#privacy .counter p::before {
    margin-right: 5px;
    content: "▶︎";
}

@media (max-width: 820px) {
    #privacy .tab_item {
        font-size: 2rem;
    }

    #privacy .adjustment {
        padding: 31.5px 0;
    }

    #privacy .tab_content {
        padding: 40px 0 0;
    }

    #privacy .privacy-ttl h3, #privacy .personal-ttl h3 {
        font-size: 2.3rem;
    }

    #privacy .counter {
        width: 90%;
    }
}

/* お掃除連合体 */
#osoujirengoutai .osoujirengoutai-body h3 {
    padding: 10px 0 10px 30px;
}

#osoujirengoutai .list li {
    padding-left: 1em;
    line-height: 1.5;
    text-indent: -1em;
}

#osoujirengoutai .list li::before {
    content: "・";
}

#osoujirengoutai .diamond {
    padding-left: 1em;
    line-height: 1.5;
    text-indent: -1em;
}

#osoujirengoutai .diamond::before {
    content: "◆";
}

#osoujirengoutai .plan {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

#osoujirengoutai .plan dl {
    height: 17vh;
    border: 1px solid #cccccc;
}

#osoujirengoutai .plan dt {
    padding: 5px;
    background-color: #e8f2ff;
    text-align: center;
}

#osoujirengoutai .plan dd {
    padding: 5px;
    text-align: justify;
}

#osoujirengoutai .plan li {
    width: 32%;
}

#osoujirengoutai .serviceCnt {
    margin: 0 40px;
}

#osoujirengoutai .serviceCnt table {
    width: 100%;
    margin: 20px auto 0;
    border-collapse: collapse;
}

#osoujirengoutai .serviceCnt tr {
    display: table-row;
    border: 1px solid #cccccc;
    vertical-align: inherit;
}

#osoujirengoutai .serviceCnt th {
    border: 1px solid #cccccc;
    background-color: #eeeeee;
    text-align: center;
    vertical-align: middle;
}

#osoujirengoutai .serviceCnt td {
    padding: 1%;
    border: 1px solid #cccccc;
}

#osoujirengoutai .flex {
    display: flex;
}

#osoujirengoutai .flex img {
    width: 40%;
}

#osoujirengoutai .area {
    margin: auto 0;
}

@media (max-width: 820px) {
    #osoujirengoutai .plan {
        flex-direction: column;
        text-align: center;
    }

    #osoujirengoutai .plan li {
        width: 100%;
    }

    #osoujirengoutai .plan dl {
        height: 25vh;
    }

    #osoujirengoutai .flex {
        flex-direction: column;
    }

    #osoujirengoutai .flex img {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    #osoujirengoutai table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    #osoujirengoutai th, #osoujirengoutai td {
        min-width: 200px;
        padding: 8px;
        border: 1px solid #dddddd;
        text-align: left;
    }

    #osoujirengoutai th:nth-of-type(1), #osoujirengoutai td:nth-of-type(1) {
        min-width: 125px;
    }

    #osoujirengoutai th:nth-of-type(2), #osoujirengoutai td:nth-of-type(2) {
        min-width: 120px;
    }

    #osoujirengoutai th:nth-of-type(3), #osoujirengoutai td:nth-of-type(3) {
        min-width: 200px;
    }
}

/* マージン率 */
#margin-rate .sv-inner h2 {
    width: max-content;
}

#margin-rate .margin-rate-body h3 {
    padding: 10px 0 10px 30px;
}

#margin-rate table {
    width: 80%;
}

#margin-rate table td {
    padding: 15px;
    border: solid 1px #80a4c5;
}

#margin-rate .serviceCnt p {
    font-size: 1.5rem;
}

@media screen and (max-width: 600px) {
    #margin-rate table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    #margin-rate th, #margin-rate td {
        min-width: 200px;
        padding: 8px;
        border: 1px solid #dddddd;
        text-align: left;
    }

    #margin-rate th:nth-of-type(1), #margin-rate td:nth-of-type(1) {
        min-width: 125px;
    }

    #margin-rate th:nth-of-type(2), #margin-rate td:nth-of-type(2) {
        min-width: 120px;
    }
}

/* ボランティア.com */
#volunteer-com .sv-inner h2 {
    width: max-content;
}

#volunteer-com .volunteer-com-body h3 {
    padding: 10px 0 10px 30px;
}

#volunteer-com .serviceCnt {
    margin-left: 30px;
}

#volunteer-com .area {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #cccccc;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

#volunteer-com .step {
    padding: 5px;
    border-bottom: 1px dotted #cccccc;
    background-color: #e8f2ff;
}

#volunteer-com .icon {
    display: table-cell;
    width: 10%;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

#volunteer-com .icon-img {
    width: auto;
}

#volunteer-com .text {
    display: table-cell;
    width: 90%;
    padding: 10px;
    vertical-align: middle;
}

#volunteer-com .arrow {
    width: 10%;
    margin: 15px auto;
}

#volunteer-com .contact {
    width: 60%;
    margin: 20px auto 80px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 6px;
    background-color: #eeeeee;
    text-align: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

@media (max-width: 768px) {
    #volunteer-com .area {
        width: 100%;
    }

    #volunteer-com dl {
        display: flex;
        flex-direction: column;
    }

    #volunteer-com .icon {
        display: table-cell;
        width: 100%;
        padding: 10px;
        text-align: center;
        vertical-align: middle;
    }

    #volunteer-com .contact {
        width: 100%;
    }
}

/* アンケート（questionnaire） */
#questionnaire .contact-description {
    padding-left: 40px;
}

#questionnaire .contact-description span {
    color: #bf0000;
}

#questionnaire .must {
    color: #bf0000;
}

#questionnaire .cf7-survey-form {
    padding: 40px;
}

#questionnaire .cf7-survey-form h3 {
    margin-top: 40px;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 5px solid #9575cd;
    color: #4a148c;
    font-size: 18px;
}

#questionnaire .cf7-survey-form label {
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.5;
    font-size: 1.6rem;
}

#questionnaire .cf7-survey-form .cf7-input,
#questionnaire .cf7-survey-form .cf7-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 16px;
    transition: border-color .3s;
}

#questionnaire .cf7-survey-form .cf7-input:focus,
#questionnaire .cf7-survey-form .cf7-textarea:focus {
    border-color: #7e57c2;
    outline: none;
}

#questionnaire .wpcf7-list-item {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 6px;
}

#questionnaire .wpcf7-radio,
#questionnaire .wpcf7-checkbox {
    display: block;
    margin-top: 8px;
}

#questionnaire .cf7-button-wrap {
    margin-top: 40px;
    text-align: center;
}

#questionnaire .cf7-button {
    padding: 12px 40px;
    border: none;
    border-radius: 6px;
    background: #7e57c2;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background .3s ease;
}

#questionnaire .cf7-button:hover {
    background: #5e35b1;
}

#questionnaire .wpcf7-response-output {
    display: block !important;
    font-size: 2.5rem;
}

#questionnaire .wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #46b450;
}

#questionnaire .wpcf7 form .wpcf7-response-output {
    border: 0px !important;
}
