#under_page {
    padding: 170px 0 0 0;
}

#under_page .under_ttl {
    margin-bottom: 80px;
}

#under_page .under_ttl h2 {
    margin-bottom: 10px;
}

#under_page .under_ttl h3 {
    margin-bottom: 70px;
}

#under_page .under_ttl .cont_inner {
    border-bottom: 1px solid #a7a7a7;
}

#under_page .cont_head,
#under_page .cont_body {
    margin-bottom: 40px;
}

#under_page .cont_head h4 {
    margin-bottom: 15px;
}


/** about css　**/


/* philosophy css */

.cont_bg_img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    height: 1200px;
}

#philosophy .cont_bg_img {
    background-image: url(../img/ud_about_img_01.jpg);
    padding: 100px 0;
}

#philosophy .fadeinTrigger {
    line-height: 60px;
}


/* value css */

#value .btm_line,
#cp_profile .btm_line {
    border-bottom: 1px solid #000;
}

#value li {
    width: 49%;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

#value li .flex {
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

#value li .flex img {
    margin-right: 18px;
    width: 25px;
    height: auto;
}

.read-more-3 label {
    display: none;
}


/* purpose css */

#purpose .cont_body {
    margin-bottom: 0;
}

.mask {
    position: relative;
    width: 100%;
    height: 600px;
    /* 任意の高さに調整 */
    overflow: hidden;
}

.mask_img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background-size: 100%;
    background-position: center;
    transition: width 0.1s ease;
    background-repeat: no-repeat;
}

.purpose_img.mask_img {
    background-image: url(../img/ud_about_img_03.jpg);
}


/* cp_profile css */

#cp_profile .cont_head {
    width: 30%;
}

#cp_profile .cont_body {
    width: 65%;
}

#under_page table {
    width: 100%;
    border-collapse: collapse;
}

#under_page table th {
    width: 30%;
    text-align: left;
    line-height: 23px;
}

#under_page table tr:first-child th,
#under_page table tr:first-child td {
    border-top: 1px solid #000;
}

#under_page table th,
#under_page table td {
    padding: 20px 0;
}

#under_page table td {
    width: 70%;
}

#cp_profile table td img {
    width: 120px;
    vertical-align: middle;
}

#cp_profile table tr:nth-child(2) td img {
    width: 320px;
}

#cp_profile table tr:nth-child(3) td img {
    width: 200px;
}

#cp_profile table tr:nth-child(4) td img {
    width: 150px;
}

#cp_profile .logo_profile {
    margin-top: 50px;
}

#cp_profile .cp_name_profile {
    margin-top: 20px;
}

#cp_profile .cp_name_profile .popup .popup_foot span {
    margin-bottom: 20px;
}

#cp_profile .cp_name_profile .popup .popup_foot {
    line-height: 35px;
}

.popup_cont .btn.pop:before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.popup_cont .btn.pop:before {
    background-image: url(../img/btn_icon_03.svg);
}

#cp_profile .popup_head p,
#cp_profile .popup_foot p {
    margin-top: 0;
}

#cp_profile .popup .popup_foot {
    line-height: 40px;
}

#cp_profile .popup .popup_foot .txt_lg {
    margin-bottom: 30px;
}

.cp_name_profile .popup_body {
    position: relative;
}

.cp_name_profile .popup_body span {
    font-size: 6.4rem;
    line-height: 1;
    font-weight: bold;
    position: absolute;
}

.cp_name_profile .popup_body span:nth-child(1) {
    left: 0;
    top: 0;
}

.cp_name_profile .popup_body span:nth-child(2) {
    right: 0;
    top: 80px;
}

.cp_name_profile .popup_body span:nth-child(3) {
    left: 40px;
    bottom: 79px;
}

.cp_name_profile .popup_body span:nth-child(4) {
    left: 95px;
    bottom: 0;
}

.cp_name_profile .popup_foot_img {
    margin-top: 40px;
}

.cp_name_profile .popup_foot_img img {
    width: 80%;
}

.cp_name_profile .popup_body:before {
    content: '';
    display: inline-block;
    width: 160px;
    height: 170px;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    right: 10px;
    bottom: 0;
    background-image: url(../img/name_img_01.svg);
    animation: rotateAnimation 100s linear infinite;
}

.logo_profile span,
.cp_name_profile span {
    display: block;
}

@keyframes rotateAnimation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1530px) {
    .cp_name_profile .popup_body:before {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 1300px) {
    .cp_name_profile .popup_body:before {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 1300px) {
    .cp_name_profile .popup_body:before {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 800px) {
    .txt_xxlg {
        font-size: 4rem;
    }
    #under_page {
        padding: 120px 0 0 0;
    }
    #under_page .cont_head h4 {
        margin-bottom: 5px;
    }
    #philosophy .txt_md {
        font-size: 1.4rem;
    }
    #philosophy .fadeinTrigger {
        line-height: 40px;
    }
    #philosophy .cont_bg_img {
        padding: 60px 0 190px 0
    }
    .cont_bg_img {
        background-position: 70% 100%;
        height: 700px;
    }
    #value li {
        width: 100%;
    }
    #value .cont_body img {
        width: 100%;
        margin: 0 auto;
        display: block;
    }
    #value li .flex img {
        margin-right: 15px;
        width: 18px;
    }
    .purpose_img.mask_img {
        background-size: cover;
    }
    .cp_name_profile .popup_body:before {
        width: 100px;
        height: 100px;
    }
    #cp_profile .cont_head,
    #cp_profile .cont_body,
    #under_page table th,
    #under_page table td {
        width: 100%;
    }
    #under_page table th,
    #under_page table td {
        display: block;
    }
    #under_page table tr:first-child td {
        border-top: none;
    }
    #cp_profile table td img {
        width: 100px;
    }
    #cp_profile table tr:nth-child(2) td img {
        width: 260px;
    }
    #cp_profile table tr:nth-child(3) td img {
        width: 160px;
    }
    #cp_profile table tr:nth-child(4) td img {
        width: 120px;
    }
    #under_page table th {
        padding: 15px 0;
    }
    #under_page table td {
        padding: 0 0 20px 0;
    }
    #cp_profile th.btm_line {
        border-bottom: none;
    }
    .btn.pop {
        width: 96%;
    }
    .popup_cont .btn.pop:before {
        right: 3%;
        width: 13px;
        height: 13px;
    }
    #value li:last-child {
        margin-bottom: 0;
    }
    /* もっと見るボタン css */
    .read-more-3 {
        position: relative;
    }
    .read-more-3 ul {
        position: relative;
        max-height: 500px;
        overflow: hidden;
        transition: max-height 1s;
    }
    .read-more-3:has(:checked) ul {
        max-height: 100%;
    }
    .read-more-3 ul::after {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
        content: '';
    }
    .read-more-3:has(:checked) ul::after {
        content: none;
    }
    .read-more-3 label {
        display: flex;
        align-items: center;
        gap: 0 4px;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.7em 2.2em;
        background: #000;
        color: #fff;
        transition: all 0.3s ease-in-out;
    }
    .read-more-3 label:hover {
        color: #fff;
        background-image: linear-gradient(45deg, #614476 10%, #e8caee 50%, #0c1467 90%);
        background-size: 300% 100%;
        animation-name: gradationTextAnimation;
        animation-duration: 8s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }
    .read-more-3:has(:checked) label {
        display: none;
    }
    .read-more-3 input {
        display: none;
    }
    #under_page.under_about .popup_foot .span {
        font-size: 1.3rem;
    }
    #cp_profile .popup_foot .txt_lg {
        font-size: 2rem;
    }
    #under_page .popup_body {
        margin-bottom: 27px;
    }
    #cp_profile .popup .popup_foot .txt_lg {
        margin-bottom: 10px;
    }
    #cp_profile .popup .popup_foot {
        line-height: 35px;
    }
    #cp_profile .cp_name_profile .popup .popup_foot span {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    #philosophy .cont_bg_img {
        padding: 60px 0 0px 0;
    }
    .cont_bg_img {
        height: 650px;
    }
    #under_page #philosophy .cont_head {
        margin-bottom: 20px;
    }
    .mask {
        height: 350px;
    }
    .popup_head h6 {
        margin-bottom: 10px;
    }
    .cp_name_profile .popup_inner {
        width: 85%;
        padding: 30px 5%;
    }
    .cp_name_profile .popup_body:before {
        width: 75px;
        height: 75px;
    }
}


/** privacy css　**/

#under_page .cont_tmp_one {
    margin-bottom: 80px;
}

#under_page .cont_tmp_one .lt_line {
    border-left: 4px solid #614476;
}

#under_page .cont_tmp_item {
    margin-bottom: 40px;
}

#under_page .cont_tmp_item h6 {
    margin-bottom: 20px;
}

#under_page .cont_tmp_item .ttl {
    background: #f5f5f5;
    padding: 15px 20px;
    margin-bottom: 40px;
}

#under_page .cont_tmp_item p,
#under_page .cont_tmp_item ol,
#under_page .cont_tmp_item li {
    margin-top: 20px;
}

#under_page .cont_tmp_item ol li ol,
#under_page .cont_tmp_item ol li ol li:first-child {
    margin-top: 0;
}

#under_page .cont_tmp_item ol li ol li {
    margin-top: 5px;
}

#under_page .cont_tmp_item ol li {
    list-style: decimal;
    list-style-position: inside;
}

#under_page .cont_tmp_one ol.custom_ol li {
    list-style: none;
}

#under_page .cont_tmp_one ol.custom_ol {
    counter-reset: item;
    padding-left: 0;
}

#under_page .cont_tmp_one ol.custom_ol>li {
    counter-increment: item;
}

#under_page .cont_tmp_one ol.custom_ol>li::before {
    margin: 0 0.5em 0 0;
    font-weight: bold;
}

#under_page .cont_tmp_one ol.custom_ol.bkt>li::before {
    content: "( " counter(item) " )";
}

#under_page .cont_tmp_one ol.custom_ol.aster>li::before {
    content: "※" counter(item);
}

#under_page .cont_tmp_one .txt_link .btn {
    width: 100%;
}

#under_page .cont_tmp_one .link_icon .btn:before {
    right: 0;
}

#under_page .cont_tmp_one .ud_line.txt_link a::after {
    width: 100%;
}

.under_privacy .cp_img_01 img {
    width: 160px;
}

@media (max-width: 800px) {
    #under_page .cont_tmp_item .ttl {
        margin-bottom: 20px;
        padding: 10px 15px;
    }
    #under_page .cont_tmp_item p,
    #under_page .cont_tmp_item ol,
    #under_page .cont_tmp_item li {
        margin-top: 15px;
    }
}


/** law css　**/

.under_law .cp_img_01 img,
.under_law .cp_img_02 img {
    width: 130px;
}

.under_law .cp_img_03 img {
    width: 330px;
}

@media (max-width: 800px) {
    .under_law .cp_img_01 img,
    .under_law .cp_img_02 img {
        width: 100px;
    }
    .under_law .cp_img_03 img {
        width: 270px;
    }
}


/** 404 css　**/

.under_404 .btn,
.under_thanks .btn {
    border: 1px solid #000;
}


/** contact css　**/

.under_contact .cont_head p {
    margin-top: 0;
}

.under_contact .flex .cont_head {
    width: 45%;
}

.under_contact .flex .cont_body {
    width: 53%;
}

.under_contact .cont_body .txt_xsm {
    text-align: center;
    line-height: 20px;
}

.under_contact .cont_body .txt_xsm.ud_line {
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
}

.wpcf7-form label {
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
}

.wpcf7-form .form_item {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: inline-block;
    width: 100%;
}

.wpcf7-form .wpcf7-form-control {
    width: 96%;
    padding: 20px 2%;
    border: none;
    background: #f3f3f3;
}

.wpcf7-form .wpcf7-select {
    width: 100% !important;
}

.wpcf7-form .required {
    margin-left: 5px;
    color: #7c5f8e;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: #cf2e2e;
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
    padding: 5px 2%;
    margin-top: 10px;
    border-left: 1px solid #cf2e2e;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    margin: 10px 0;
    padding: 15px 2%;
    border: none;
    background: #f0f0f0;
    text-align: center;
    border-radius: 5px;
}

.wpcf7-form .wpcf7-submit {
    color: #fff;
    width: 250px;
    margin: 0 auto;
    display: block;
    outline: none;
    background: linear-gradient(270deg, #6b6b6b 0%, #474747 25%, #272727 51%, #434343 100%);
    background-position: 1% 50%;
    background-size: 200% auto;
    transition: all 0.4s ease-out;
}

.wpcf7-form .wpcf7-submit:hover {
    background-position: 99% 50%;
}

@media (max-width: 800px) {
    .under_contact .flex .cont_head,
    .under_contact .flex .cont_body {
        width: 100%;
    }
    .wpcf7-form .wpcf7-form-control {
        width: 92%;
        padding: 20px 4%;
    }
    .wpcf7-form .wpcf7-submit {
        width: 200px !important;
    }
}


/** breadcrumbs css　**/

.aioseo-breadcrumbs,
.aioseo-breadcrumbs a {
    font-size: 1.2rem;
}

.aioseo-breadcrumbs {
    padding-bottom: 10px;
}

.aioseo-breadcrumbs a {
    display: inline-block;
    background-image: linear-gradient(45deg, #614476 10%, #e8caee 50%, #0c1467 90%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-name: gradationTextAnimation;
    animation-duration: 8s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
