@charset "utf-8";

.about-left a,
.top-group .wrap a,
.group-list ul li a,
.top-company_wrap a,
.top-company_link ul li a,
.link-wrap_bg,
.article-list a,
.article-category,
.detail-posts_category,
.footer-logo,
.header-logo a,
.header-btn,
.iamc-link a {
    transition: all 0.6s ease;
}
.about-left a:hover,
.top-group .wrap a:hover,
.group-list ul li a:hover,
.top-company_wrap a:hover,
.top-company_link ul li a:hover,
.link-wrap_bg:hover,
.article-list a:hover,
.article-category:hover,
.detail-posts_category:hover,
.footer-logo:hover,
.header-logo a:hover,
.iamc-link a:hover {
    opacity: 0.7;
}
.header-btn:hover {
    background: var(--blue);
}

.pcnone {
    display: none;
}
@media screen and (max-width: 768px) {
    .spnone {
        display: none;
    }
    .pcnone {
        display: block;
    }
}





/* ---------------------------------------------------------------------------------- */
/* TOP Page */
/* ---------------------------------------------------------------------------------- */
/* ----------------------------------------- MV */
.mv {
    overflow: hidden;
}
.mv:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/header-bk.webp);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    z-index: 0;
    animation: mvZoomOut 15s ease-out forwards;
}
.front-header {
    padding-top: 227px;
    padding-bottom: 13vw;
}
.mv-catch {
    font-size: clamp(42px, 5.5vw, 84px);
    line-height: 1.3;
    margin-left: 6vw;
}
.mv .marcellus {
    font-size: 11vw;
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
    width: 100%;
    opacity: 0.1;
    bottom: -1vw;
}
.page-header {
    padding-top: 200px;
    padding-bottom: 6vw;
    overflow: hidden;
}
/* .page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
} */
.header-txt {
    margin-left: 6vw;
    width: 70vw;
}
.header-catch {
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.3;
}
.header-img {
    margin-right: 6vw;
    width: 10vw;
    height: 10vw;
}
.header-iamc .header-img {
    background: #fff;
    border-radius: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-img::before,
.header-img::after {
    content: "";
    position: absolute;
    z-index: -10;
    border-radius: 50%;
    width: 10vw;
    height: 10vw;
    top: 0;
    left: 0;
    background: #c7e9ff;
}
.header-img::before {
    animation: anime 3s ease-out infinite;
}
.header-img::after {
    animation: anime 3s ease-out 1.5s infinite;
}
@keyframes anime {
    0% {
        transform: scale(.95);
        opacity: 1;
    }
    90% {
        opacity: .1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}
.front-header,
.page-header {
    z-index: 1;
}
@keyframes mvZoomOut {
    0% {
        transform: scale(1.15); /* 最初は1.15倍に拡大しておく */
    }
    100% {
        transform: scale(1);    /* 15秒かけて元のサイズ（等倍）に戻る */
    }
}
/*  ----------------------------------------- TOP PAGE SERVICE */
.top-service {
    background: url(../img/top-service_bg.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.service-diagram_wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.service__lines {
    width: 70vw;
    height: auto;
    max-width: 750px;
    margin: 0 auto;
    display: block;
}
.service-center_globe {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 35%;
    max-width: 300px;
}
.service-center_globe img {
    width: 100%;
    height: auto;
}
.service-sat_tr {
    /* width: 25vw; */
    top: 0;
    left: 50%;
    transform: translateX(-19%);
}
.service-sat_br {
    right: 0;
    bottom: 20%;
}
.service-sat_bl {
    left: 0;
    bottom: 20%;
}
.service-sat {
    gap: 1.5em;
    z-index: 4;
}
.service-sat_link {
    width: 15vw;
    max-width: 180px;
    transition: opacity 0.6s ease;
}
.service-sat_link:hover {
    opacity: 0.7;
}
.service-sat_link img {
    width: 100%;
    height: auto;
}
.service-sat_link:hover {
    opacity: 0.7;
}
.service-orbit_list li {
    margin-bottom: 0.5em;
    font-size: clamp(14px, 2vw, 18px);
}
.service-orbit_title {
    font-size: clamp(20px, 1.8vw, 22px); /* タイトルも可変に */
}
.service-orbit_list li {
    margin-bottom: 0.5em;
    font-size: clamp(12px, 1.4vw, 16px); /* リストも可変に */
}

.service-sat_bl {
    justify-content: flex-end;
}
.service-sat_tr .service-sat_label--right,
.service-sat_bl .service-sat_label--left {
    max-width: 210px;
}

@media screen and (max-width: 1080px) {
    .page-header {
        padding-top: 16vw;
        min-height: 350px;
    }
}
@media screen and (max-width: 680px) {
    .header-txt {
        margin-left: inherit;
        padding: 0 3%;
    }
}
@media screen and (max-width: 768px) {
    .service__lines,
    .service-center_globe {
        display: none;
    }
    .service-sat {
        position: relative !important;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        text-align: center;
        margin-bottom: 3em;
        gap: 1em;
    }
    .service-sat_bl {
        flex-direction: column;
    }
    .service-sat_link {
        width: 40%;
        max-width: 150px;
        margin: 0 auto;
    }
    .service-orbit_list li {
        display: inline-block;
        margin: 0 10px;
    }
    .service-orbit_title br {
        display: none;
    }
    .header-img,
    .header-iamc .header-img {
        display: none;
    }
    .header-txt {
        width: 100%;
    }
}

/*  ----------------------------------------- TOP PAGE GROUP */
.top-group {
    background: url(../img/top-group_bg.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}
.top-group::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.group-list ul {
    gap: 2%;
}
.group-list ul li {
    background: #fff;
    border-radius: 10px;
    width: 23.5%;
    margin-bottom: 2%;
    /* min-width: 250px; */
}
.group-list ul li a {
    padding: 3.6rem 0;
}
.group-list ul li a .more-btn {
    border-bottom: 1px solid var(--blue);
    padding-bottom: 0.2em;
    font-size: 14px;
    letter-spacing: 0.1em;
}
.group-list ul li a .more-btn img {
    margin-left: 0.5em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
    .group-list ul li {
        width: 48%;
    }
}
@media screen and (max-width: 480px) {
    .group-list ul li a {
        padding: 2.0rem 0;
    }
}

/*  ----------------------------------------- TOP PAGE COMPANY */
.top-company_link {
    width: 70%;
}
.top-company_link ul li {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;
}
.top-company_img {
    width: 41%;
}
.top-company_link ul li a {
    gap: 10%;
}
.top-company_link ul li a h3 {
    flex: 1;
    padding-right: 10%;
}
@media screen and (max-width: 768px) {
    .top-company_wrap {
        flex-direction: column;
    }
    .top-company_link {
        width: 100%;
        margin-top: 3.2rem;
    }
    .top-company_link ul li a {
        gap: 4%;
    }
    .top-company_link ul li a h3 {
        padding-right: 4%;
    }
    .top-company_link ul li a h3 .btn_animation_arrow,
    .top-company_link ul li a h3 .btn_animation_arrow::before,
    .top-company_link ul li a h3 .btn_animation_arrow::after {
        width: 20px;
        height: 20px;
    }
}
/*  ----------------------------------------- TOP PAGE NEWS */
.top-news_wrap ul {
    width: 70%;
}
.top-news_wrap ul li {
    background: #fff;
    padding: 2.5em 2em;
    border-radius: 10px;
    margin-bottom: 2.4rem;
}
@media screen and (max-width: 768px) {
    .top-news_wrap {
        flex-direction: column;
    }
    .top-news_wrap ul {
        width: 100%;
        margin-top: 3.2rem;
    }
    .top-news_wrap ul li {
        padding: 1.5em 2em;
    }
}
@media screen and (max-width: 480px) {
    .top-news_wrap ul li {
        padding: 1.5em;
    }
    .article-list_box {
        margin-right: 0;
    }
    .article-icon {
        display: none;
    }
    .article-category,
    .detail-posts_category {
        padding: 0.1em 1.5em;
    }
}
/*  ----------------------------------------- TOP PAGE RECRUIT */
.top-recruit {
    background: url(../img/top-group_bg.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 10%;
}
.top-recruit_img img {
    margin-top: -10%;
    margin-top: -10%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}
.top-recruit_txt h2 {
    gap: 1em;
}
.top-recruit_wrap div a span {
    z-index: 1;
}
@media screen and (max-width: 576px) {
    .top-recruit_txt {
        width: 100%;
        margin-bottom: 3.2rem;
    }
    .top-recruit_wrap div a {
        width: 100%;
        text-align: left;
    }
    .top-recruit_img img {
        aspect-ratio: 2 / 1;
    }
}



/* ----------------------------------------------------------------------------------★ */
/* SERVICE PAGE */
/* ----------------------------------------------------------------------------------★ */
/*  ----------------------------------------- SERVICE PAGE SERVICE */
.service-wrap {
    gap: 4%;
}
.sevice-wrap_img {
    width: 40%;
}
.sevice-wrap_img img {
    box-shadow: 0 2px 15px rgba(0, 50, 87, 0.15);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.service-txt_box {
    flex: 1;
}
.service-txt_box .btn_animation_wrap {
    margin-right: 24px;
    background: #fff;
    border-radius: 100px;
    position: relative;
    top: 10px;
}
.service-txt_box ul li::before {
    content: "";
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    background: var(--blue);
    border-radius: 100px;
    margin-right: 0.5em;
}
/*  ----------------------------------------- SERVICE PAGE LINKS */
.link-wrap_inner a .h2-en {
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.link-wrap_partner {
    background: url(../img/img03.webp);
}
.link-wrap_company {
    background: url(../img/img04.webp);
}
.link-wrap_bg {
    width: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.8rem 2.0rem;
}
/*  ----------------------------------------- SERVICE PAGE FAQ */
.faq .box {
    background: #fff;
    padding: 7.0rem 10.0rem;
}
.faq-list li section {
    border: 1px solid var(--gray);
    border-radius: 5px;
}
.faq-question {
    cursor: pointer;
    font-size: clamp(16px, 2vw, 18px);
    padding: 3em;
    transition: all .5s ease;
}
.faq-question span,
.faq-box p span {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-right: 0.5em;
}
.faq-question:before,
.faq-question:after {
    position: absolute;
    content: "";
    width: 24px;
    height: 1px;
    background: var(--blue);
}
.faq-question:before {
    top: 48%;
    right: 1.5em;
    transform: rotate(0deg);
}
.faq-question:after {
    top: 48%;
    right: 1.5em;
    transform: rotate(90deg);
    transition: all .5s ease;
}
.faq-question.close:after {
    opacity: 0;
}
.faq-box {
    display: none;
    font-size: clamp(16px, 2vw, 18px);
    padding: 0 3em 3em 3em;
}
.faq-box p {
    font-size: clamp(16px, 2vw, 18px);
}
@media screen and (max-width: 768px) {
    .service-wrap {
        flex-direction: column;
    }
    .sevice-wrap_img {
        width: 70%;
        margin-bottom: 2.4rem;
    }
    .sevice-wrap_img img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    .link-wrap_bg {
        width: 100%;
    }
    .faq .box {
        padding: 5rem 2rem;
    }
    .faq-question {
        padding: 3em 3em 3em 1.5em;
    }
    .faq-box {
        padding: 0em 3em 3em 1.5em;
    }
}
@media screen and (max-width: 576px) {
    .sevice-wrap_img {
        width: 100%;
    }
    .faq-question {
        padding: 2em 3em 2em 1.5em;
    }
    .faq-box {
        padding: 0em 3em 2em 1.5em;
    }
    .faq-question:before,
    .faq-question:after {
        right: 0.8em;
    }
}





/* ----------------------------------------------------------------------------------★ */
/* PARTNER */
/* ----------------------------------------------------------------------------------★ */
.partner-catch span {
    font-size: 8vw;
    background: linear-gradient(90deg, #005AA0 0%, #069FDD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
}
.partner-catch h2 {
    margin-top: -1.2em;
}
.partner-list_item {
    background: #fff;
    border-radius: 5px;
    padding: 3em;
}
.partner-list li .partner-wrap_right {
    border-top: 1px solid #D9D9D9;
}
.partner-wrap_left {
    width: 25%;
    flex-direction: column;
}
.partner-wrap_right {
    width: 70%;
}
.partner-wrap_icon {
    background: #FAFBFC;
    padding: 1em;
    border-radius: 500px;
    width: 163px;
    height: 163px;
}
.partner-block {
    border-bottom: 1px solid #D9D9D9;
    padding: 2em 0;
}
.partner-name {
    cursor: pointer;
}
.partner-name:before,
.partner-name:after {
    position: absolute;
    content: "";
    width: 24px;
    height: 1px;
    background: var(--blue);
}
.partner-name:before {
    top: 48%;
    right: 1.5em;
    transform: rotate(0deg);
}
.partner-name:after {
    top: 48%;
    right: 1.5em;
    transform: rotate(90deg);
    transition: all .5s ease;
}
.partner-name.close:after {
    opacity: 0;
}
.partner-box {
    display: none;
    font-size: clamp(16px, 2vw, 18px);
}
.partner-box p {
    font-size: clamp(16px, 2vw, 18px);
}
.partner-item {
    background: #FAFBFC;
    padding: 2.4rem 4.0rem;
}
.partner-item li {
    margin-bottom: 0.5em;
}
.partner-field ul {
    gap: 1em;
}
.partner-field ul li {
    background: #FAFBFC;
    border-radius: 100px;
    border: 1px solid #D9D9D9;
    font-size: 14px;
    padding: 0.5em 2em;
}
.partner-url {
    font-size: clamp(16px, 2vw, 20px);
    background: var(--yellow);
    border-radius: 200px;
    padding: 1em;
    width: 100%;
}
.flow-inner {
    max-width: 800px;
    margin: 0 auto;
}
.flow-inner ol {
    counter-reset: step-counter;
}
.flow-inner ol li {
    background: #fff;
    padding: 2em;
    border-radius: 5px;
    gap: 1em;
}
.flow-inner ol li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: var(--blue);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-family: "Marcellus", serif;
    flex-shrink: 0;
}
.flow-inner ol li h3 {
    width: 25%;
    flex-shrink: 0;
}
.flow-inner ol li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
}
@media screen and (max-width: 768px) {
    .partner-list_item {
        padding: 6vw 4vw;
    }
    .partner-wrap_icon {
        width: 15vw;
        height: 15vw;
        min-width: 65px;
        min-height: 65px;
    }
    .flow-inner ol li h3 {
        width: calc(95% - 32px);
    }
    .flow-inner ol li p {
        width: 100%;
    }
    .flow-inner ol li p br {
        display: none;
    }
}
@media screen and (max-width: 576px) {
    .partner-list_item section {
        flex-direction: column;
    }
    .partner-wrap_left {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 1em;
    }
    .partner-wrap_right {
        width: 100%;
    }
}





/* ----------------------------------------------------------------------------------★ */
/* COMPANY */
/* ----------------------------------------------------------------------------------★ */
/*  ----------------------------------------- COMPANY PAGE ABOUT */
.about-page {
    background: #fff;
}
.about-wrap {
    gap: 4em;
}
.about-left {
    flex: 1;
}
.about-right{
    width: 46.8%;
}
.about-img img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 500px;
}
.about-left .h3-ja {
    margin-left: 0.5em;
}
/* ----------------------------------------- COMPANY PAGE CAREER */
#career li {
    border-bottom: 1px solid #D9D9D9;
    padding: 1em 0;
    margin: 0 auto 1em;
    width: 80%;
    display: flex;
}
.career-year,
.career-event {
    display: inline-block;
    font-size: clamp(14px, 2.5vw, 21px);
}
.career-year {
    width: 8em;
}
.career-event {
    flex: 1;
}
/* ----------------------------------------- COMPANY PAGE INFO */
.company-table {
    width: 100%;
    border-collapse: collapse;
}
.company-table th,
.company-table td {
    border: 1px solid #D9D9D9;
    padding: 2em;
}
.company-table th {
    background: rgba(0, 90, 159, 0.1);
    white-space: nowrap;
    font-size: clamp(14px, 1.5vw, 21px);
    font-weight: 600;
}
.company-table td {
    font-size: clamp(14px, 2vw, 17px);
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.05em;
}
.company-table .google-map {
    border: 2px solid #87C3EB;
    border-radius: 100px;
    padding: 0.5em 1em;
    transition: all 0.6s ease;
}
.company-table .google-map:hover {
    background: #87C3EB;
    color: #fff;
}
.company-table .google-map img {
    margin-left: 0.5em;
}
/* -----------------------------------------COMPANY PAGE CHART */
.company-chart {
    background: #fff;
}
/* -----------------------------------------COMPANY PAGE BASE */
.base {
    background: #fff;
}
.page-base {
    background: inherit;
}
.base-box {
    width: 48%;
}
.base-box div > img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.google-map_btn {
    bottom: 1em;
    right: 1em;
    background: #fff;
    border-radius: 300px;
    border: 1px solid var(--blue);
    padding: 0.8em 2.5em;
}
.base-box h3 {
    border-bottom: 1px solid var(--black);
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
.base-hp_url img {
    margin-left: 0.5em;
}
.base-box a {
    transition: opacity 0.6s ease;
}
.base-box a:hover {
    opacity: 0.7;
}
@media screen and (max-width: 992px) {
    .about-right {
        width: 40%;
    }
    .about-wrap {
        gap: 2em;
    }
}
@media screen and (max-width: 768px) {
    .about-wrap {
        flex-direction: column;
    }
    .about-right {
        width: 70%;
        margin: 0 auto;
    }
    .about-right img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    .about-img img {
        aspect-ratio: 1 / 1;
    }
    .google-map_btn {
        padding: 0.5em 1.5em;
    }
}
@media screen and (max-width: 680px) {
    .base-box {
        width: 100%;
        margin-bottom: 4.8rem;
    }
    .base-box:last-child {
        margin-bottom: 0;
    }
    #career li {
        width: 100%;
    }
}
@media screen and (max-width: 576px) {
    .company-table th,
    .company-table td {
        padding: 1.2em;
    }
}





/* ----------------------------------------------------------------------------------★ */
/* NEWS archive */
/* ----------------------------------------------------------------------------------★ */
.article-list:first-child .article-list_item {
    border-top: 1px solid #D9D9D9;
}
.article-list .article-list_item {
    padding: 3em 0;
    border-bottom: 1px solid #D9D9D9;
}
.article-icon {
    width: 26px;
}
.article-box {
    gap: 2em;
}
.article-list_box {
    margin-right: 2em;
    flex: 1;
}
.article-category,
.detail-posts_category {
    font-size: clamp(12px, 1.5vw, 14px);
    padding: 0.5em 1.5em;
    border-radius: 2px;
    border: 1px solid var(--blue);
}
.detail-posts_category {
    margin-left: 16px;
}
.nav-links .page-numbers {
    font-family: "Marcellus", serif;
    transition: all 0.6s ease;
}
.navigation .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
}
.nav-links .page-numbers:hover {
    color: var(--blue);
    opacity: 0.7;
}
@media screen and (max-width: 768px) {
    .article-list_box {
        margin-right: 3vw;
    }
}

/* -----------------------------------------Single */
.detail-posts article {
    width: 85%;
}
.article .container p,
.article .container figure {
    margin-bottom: 1em;
}
#detail-posts h2 {
    font-size: clamp(20px, 2.5vw, 24px);
    margin-top: 5rem;
    margin-bottom: 1em;
    padding: 0.4em 1em;
    background: #f1f9ff;
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
    font-weight: 600;
}
#detail-posts h3 {
    font-size: clamp(18px, 2vw, 21px);
    margin-top: 5rem;
    margin-bottom: 1em;
    padding: 0.2em 1em;
    color: var(--blue);
    border-left: 5px solid var(--blue);
    font-weight: 600;
}
#detail-posts h4 {
    font-size: clamp(16px, 2vw, 18px);
    margin-top: 5rem;
    margin-bottom: 0.5em;
    padding: 0.2em 0;
    color: var(--blue);
    font-weight: 700;
}
#detail-posts figure {
    margin: 5rem 0;
}
#detail-posts ul {
    margin: 5rem 0;
}
#detail-posts ul li {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.5em;
}
#detail-posts ul li:before {
    content: "";
    display: inline-block;
    width: 0.3em;
    height: 0.3em;
    background: var(--blue);
    border-radius: 100px;
}
#detail-posts .post-link_wrap {
    margin: 5rem 0;
}
.article .post-link a {
    transition: all 0.6s ease;
}
.article .post-link a:hover {
    color: var(--blue);
}
#detail-posts .container a {
    color: blue;
    text-decoration: underline;
    transition: opacity 0.6s ease;
}
#detail-posts .container a:hover {
    opacity: 0.7;
}
@media screen and (max-width: 768px) {
    .detail-posts article {
        width: 100%;
    }
}



/* ---------------------------------------------------------------------------------- */
/* Contact Page */
/* ---------------------------------------------------------------------------------- */
.contact-wrapper {
    background: #fff;
    border: 1px solid #D9D9D9;
    padding: 1em;
}
.contact-box {
    width: 50%;
    flex-direction: column;
    padding: 2em 0;
}
.contact-tel_box span {
    border: 1px solid #D9D9D9;
    padding: 4px 1em;
}
.contact-tel_box a {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 3px;
}
.contact-tel_box p {
    font-size: 14px;
}
.contact-line_box a {
    border: 1px solid #D9D9D9;
    padding: 1em 2em;
}

#contact-form .contact-form_label,
#contact-confirm .contact-form_label {
    display: inline-flex;
    align-items: center;
    column-gap: 4em;
    font-size: 16px;
    width: 100%;
    padding-bottom: 3em;
    margin-bottom: 3em;
    border-bottom: 1px solid #d9d9d9;
    cursor: pointer;
}
#contact-form .contact-form_label p {
    flex: 1;
    font-size: 16px;
}
#contact-form .contact-form_label h3,
#contact-confirm .contact-form_label h3 {
    width: calc(10em + 5px);
    font-weight: 500;
    display: flex;
    gap: 0.2em;
}
#contact-form .contact-form_label h3.required::after,
#contact-confirm .contact-form_label h3.required::after {
    content: "*";
    color: #FF0000;
    font-size: 10px;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    padding: 1.5em;
    width: 100%;
    font-size: 18px;
}
.wpcf7-form-control-wrap textarea {
    line-height: 1.5;
}
/*デフォルトのスタイルを無効化する*/
input[type="submit"],
.previous-btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
span.wpcf7-spinner {
    display: none;
}
input[type="submit"],
.previous-btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 60%;
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: 700;
    padding: 1em;
    background-color: var(--blue);
    color: #fff;
    cursor: pointer;
    margin-top: 3.2rem;
    transition: background 0.6s ease;
}
.previous-btn {
    background-color: var(--green);
}
input[type="submit"]:hover {
    background: var(--green);
}
.previous-btn:hover {
    background-color: var(--black);
}
.wpcf7-not-valid-tip {
    margin-top: 0.5em;
}
.wpcf7-radio .wpcf7-list-item {
    margin: 0;
}

/* selectボックス */
#contact-form select.form-select {
    width: 100%;
    background: #F7F7F7;
    border: 1px solid var(--gray1);
    padding: 1em 3em 1em 1em;
    /* 右に矢印用の余白を多めに */
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
#contact-form .contact-form_select {
    position: relative;
}
#contact-form .contact-form_select:after {
    content: "";
    position: absolute;
    display: inline-block;
    border-top: 2px solid var(--gray2);
    border-right: 2px solid var(--gray2);
    height: 10px;
    width: 10px;
    top: 18px;
    right: 32px;
    transform: rotate(135deg);
    pointer-events: none;
}
#contact-confirm .contact-form_select:after {
    display: none;
}
.wpcf7-form-control {
    appearance: none;
}
#contact-form select.form-select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(0, 128, 255, 0.1);
}
.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em 2em;
    width: 100%;
}
.wpcf7-radio label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
}
.wpcf7-form-control-wrap input[type="radio"],
.wpcf7-radio input[type="radio"] {
    width: auto;
    padding: 0;
    border: none;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

/* プライバシーポリシー以下 */
.privacy-policy-wrapper {
    margin: 3em auto;
    max-width: 800px;
}
.privacy-policy-wrapper h3 {
    font-size: clamp(21px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
/* 規約テキストが入るスクロールボックス */
.privacy-text-box {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #d9d9d9;
    padding: 1.5em;
    background-color: #fdfdfd;
    margin-bottom: 1.5em;
    font-size: 14px;
    line-height: 1.8;
}
/* チェックボックス部分のデザイン */
.privacy-agreement {
    text-align: center;
}
.privacy-agreement label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}
.privacy-agreement input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.privacy-agreement span {
    font-weight: normal;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
}

/* お問合せ完了ページ */
.contact-top_btn {
    background: var(--blue);
    width: 70%;
    margin: 0 auto;
    padding: 1em;
    font-size: clamp(16px, 2vw, 18px);
    color: #fff;
    transition: background 0.6s ease;
}
.contact-top_btn:hover {
    background: var(--green);
}
.contact-confirm_read {
    font-size: clamp(18px, 2vw, 20px);
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: inherit;
    border: 2px solid;
    font-size: 16px;
    color: var(--red);
    width: 95%;
    margin: 2em auto 0;
    text-align: center;
    padding: 1.5em;
}

@media screen and (max-width: 768px) {
    #contact-form .contact-form_label, #contact-confirm .contact-form_label {
        column-gap: 1em;
    }
}
@media screen and (max-width:576px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-box {
        width: 100%;
    }
    .contact-tel_box {
        border-bottom: 1px solid #d9d9d9;
    }
    #contact-form .contact-form_label,
    #contact-confirm .contact-form_label {
        gap: 1em;
        flex-direction: column;
        align-items: baseline;
    }
    #contact-form .contact-form_label h3,
    #contact-confirm .contact-form_label h3,
    #contact-form .contact-form_label p {
        width: 100%;
    }
    input[type="submit"] {
        width: 100%;
    }
}





/* ---------------------------------------------------------------------------------- */
/* 顧問先専用サイト */
/* ---------------------------------------------------------------------------------- */
.page-id-268 form {
    margin-bottom: 6.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-id-268 form p {
    max-width: calc(1000px + 4.8rem);
    padding-left: 2.4rem;
    padding-right: 2.4rem;
    text-align: center;
    margin-bottom: 3.2rem;
}
.page-id-268 form input[type="password"] {
    width: 20vw;
    min-width: 300px;
    border: 1px solid #dddddd;
    padding: 1em;
}
.tax-finance {
    background: #fff;
}
.pdf-wrap ul {
    gap: 6%;
}
.pdf-wrap ul li {
    width: 15%;
    min-width: 90px;
    height: 100%;
}
.pdf-wrap ul li p {
    padding: 0.2em;
    border-radius: 5px;
}
.pdf-wrap.tax-news p {
    background: var(--blue);
}
.pdf-wrap.tax-finance p {
    background: var(--orange);
}
.pdf-wrap.tax-subsidies p {
    background: var(--green);
}

/* ---------------------------------------------------------------------------------- */
/* 404 Page */
/* ---------------------------------------------------------------------------------- */
#error-inner p {
    font-weight: 500;
}

#error-inner a {
    display: block;
    background: var(--blue);
    color: #fff;
    padding: 1em;
    width: 16em;
    margin: 0 auto;
}

/* ---------------------------------------------------------------------------------- */
/* privacy-policy */
/* ---------------------------------------------------------------------------------- */
#ps-box {
    max-width: calc(980px + 4.8rem);
    margin-bottom: 20rem;
}
#ps-box h3 {
    position: relative;
    margin-top: 2em;
    font-size: clamp(18px, 3vw, 28px);
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    border-bottom: 2px solid var(--gray);
}
#ps-box h3:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 2px var(--blue);
    bottom: -3px;
    width: 30%;
}
#ps-box p {
    margin-bottom: 1em;
}
@media screen and (max-width: 768px) {
    #ps-box {
        margin-bottom: 10rem;
    }
}