@charset "utf-8";

/* =========================================================================================
Breadcrumbs
=========================================================================================*/
.breadcrumbs {
    color: var(--color-base-font);
    text-align: left;
    font-size: clamp(0.875rem, calc(0.77rem + 0.449vw), 1rem); /* min: 14px, max: 16px */
    line-height: 1.4;
    padding-block: 30px;
}
.breadcrumbs a {
    color: var(--color-base-font);
    padding-right: 1.5em;
    position: relative;
}
.breadcrumbs a.home {
    padding-left: 1.5em;
}
.breadcrumbs a.home::before {
    content: "";
    width: 1em;
    aspect-ratio: 1 / 1;
    background: url(../images/common/icon_home.svg) no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -40%;
}
.breadcrumbs a::after {
    content: "";
    width: 0.75em;
    aspect-ratio: 1 /1;
    background: url(../images/common/arrow.svg) no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 0.2em;
    translate: 0 -40%;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
Parts (TABs)
=========================================================================================*/
.parts-tabs {
    margin: auto;
}
.parts-tabs .tab-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 5px;
    margin: 0;
}
.parts-tabs .tab-list .tab-item {
    font-size: 1.25rem;
    font-weight: var(--weight-bold);
    background: var(--color-gray);
    border: none !important;
    border-radius: 10px 10px 0 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px 30px;
    cursor: pointer;
    transition: 0.3s;
}
.parts-tabs .tab-list .tab-item.active {
    color: #fff;
    background: var(--color-main);
}
.parts-tabs .tab-content {
    background-color: var(--color-main);
    padding: 70px 40px 40px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
    padding-left: calc(50vw - 50%);
}
.parts-tabs .tab-content .box {
    background: #fff;
    padding: 30px;
}
.parts-tabs .tab-content .box .wp-block-buttons {
    margin-top: 2em;
}
/* -----------
制御
------------*/
.parts-tabs .tab-content .tab-panel {
    display: none;
}
.parts-tabs .tab-content .tab-panel.active {
    display: block;
}
@media only screen and (max-width: 820px) {
    .parts-tabs .tab-list .tab-item {
        font-size: clamp(1rem, calc(0.789rem + 0.899vw), 1.25rem); /* min: 16px, max: 20px */
        padding: 15px 20px 10px;
    }
}
@media only screen and (max-width: 468px) {
    .parts-tabs .tab-content {
        padding: 30px 20px 25px;
        margin-inline: -20px -20px;
    }
}

/* =========================================================================================
Parts (TEL)
=========================================================================================*/
.parts-tel {
    background: var(--color-gray);
    padding-block: 2.5em;
    margin: 50px 0;
}
.parts-tel .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
}
.parts-tel .tel-number {
    padding-left: 70px;
    position: relative;
    z-index: 1;
}
.parts-tel .tel-number::before {
    content: "";
    display: block;
    background: #fff;
    width: 60px;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
    z-index: 5;
    -webkit-mask-image: url(../images/common/icon_tel.svg);
    mask-image: url(../images/common/icon_tel.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.parts-tel .tel-number {
    font-size: 0.9rem;
}
.parts-tel .tel-number strong {
    color: #000;
    font-size: 2em;
    padding-left: 0.2em;
    display: block;
    line-height: 1.2;
}
@media only screen and (max-width: 820px) {
    .parts-tel {
        padding-block: 2em;
    }
}
@media only screen and (max-width: 468px) {
    .parts-tel {
        padding-block: 1.5em;
    }
    .parts-tel .tel-number {
        padding-left: 50px;
    }
    .parts-tel .tel-number::before {
        width: 45px;
    }
}

/* =========================================================================================
Parts (CONTACT)
=========================================================================================*/
.parts-contact {
    background: var(--color-main);
    padding-block: 100px;
    margin: 0;
}
.parts-contact .inner {
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.parts-contact .inner h2 {
    width: 350px;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;
}
.parts-contact .inner p {
    max-width: calc(100% - 50px - 350px);
}
.parts-contact .inner .wp-block-buttons {
    width: 100%;
    justify-content: center;
}

@media only screen and (max-width: 820px) {
    .parts-contact {
        padding-block: 75px;
    }
    .parts-contact .inner {
        gap: 30px;
    }
    .parts-contact .inner h2,
    .parts-contact .inner p {
        width: 100%;
        max-width: 100%;
    }
}
@media only screen and (max-width: 468px) {
}
