/*==================================================
    common
==================================================*/
html {
    scroll-padding-top: 165px;
}

.is-sp {
    display: none;
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 80px;
    }

    .is-pc {
        display: none;
    }

    .is-sp {
        display: block;
    }
}

/*==================================================
    header
==================================================*/
.p-headerDrawer {
    background: #ffefe3;
    color: #333;
}

.p-headerDrawer__navItem a {
    position: relative;
}

.p-headerDrawer__navItem:not(:last-child) a::after {
    background: #fff;
    content: "";
    height: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
}

.p-headerDrawer__navList:first-child > .p-headerDrawer__navItem:hover > .p-headerDrawer__navLink,
.acms-admin-module-edit + .p-headerDrawer__navList > .p-headerDrawer__navItem:hover > .p-headerDrawer__navLink {
    background: #ffefe3;
}

*:not(.acms-admin-module-edit) + .p-headerDrawer__navList:not(:first-child) {
    background: #ffefe3;
}

@media screen and (min-width: 1025px) {
    .p-header__contact {
        display: flex;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .p-headerDrawer__navItem:not(:last-child) a::after {
        content: none;
    }

    .p-headerDrawer__contact .p-headerContact {
        border-color: #fff;
    }
}

/*==================================================
    メインビジュアル
==================================================*/
.p-main__hero {
    margin: 0 calc(50% - 50vw);
}

.p-hero__dot {
    background: rgba(0, 0, 0, .25);
}

.p-hero__catchText {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

/*==================================================
    checkアイコンのリスト
==================================================*/
.itemListCheck--item {
    padding-left: 30px;
    position: relative;
}

.itemListCheck--item::before {
    border: 1px solid #000;
    content: "";
    height: 20px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
}

.itemListCheck--item::after {
    border-bottom: 4px solid var(--color-main);
    border-left: 4px solid var(--color-main);
    content: "";
    height: 11px;
    left: 9px;
    margin-top: -6px;
    position: absolute;
    top: 50%;
    transform: rotate(-45deg) translateY(-50%);
    width: 18px;
}

/*==================================================
    カテゴリ
==================================================*/
.tagList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tagList--item a {
    align-items: center;
    border: 2px solid var(--color-sub);
    display: flex;
    font-size: 16px;
    justify-content: center;
    line-height: 1.5;
    padding: 10px 15px;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.tagList--item a[data-current=true] {
    background: var(--color-main);
    border-color: rgba(0, 0, 0, 0);
    color: #fff;
    pointer-events: none;
}

/*==================================================
    リンク
==================================================*/
.c-link {
    color: var(--color-accent) !important;
}

/*==================================================
    フォーム
==================================================*/
.c-table.formTable {
    overflow-x: unset;
}

.c-form__list.no-flex {
    flex-direction: column;
}

.c-form__list .c-form__listItem {
    width: 100%;
}

.c-table.formTable th {
    width: 30%;
}

.c-table.formTable td {
    width: 70%;
}

.contactkindDetail {
    display: none;
}

.mt10 {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .c-table.formTable th {
        width: 100%;
    }

    .c-table.formTable td {
        width: 100%;
    }
}

/*==================================================
    responseDevice
==================================================*/
.c-article__responseDevice .itemListCheck {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.c-article__responseDevice .itemListCheck--item {
    background: #f0e6df;
    padding: 10px 30px 10px 50px;
}

.c-article__responseDevice .itemListCheck--item::before {
    border: 2px solid #fff;
    left: 20px;
}

.c-article__responseDevice .itemListCheck--item::after {
    left: 28px;
}

.c-article__responseDevice .p-responseDevice {
    margin: 0;
}

.c-article__responseDevice .p-responseDevice__contact {
    padding-left: 0;
}

.c-article__responseDevice .p-responseDeviceContact {
    font-size: 21px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .c-article__responseDevice .itemListCheck {
        display: grid;
        gap: 6px;
        grid-template-columns: 1fr 1fr;
    }

    .c-article__responseDevice .itemListCheck--item {
        line-height: 1.3;
        padding: 10px 30px 10px 60px;
    }

    .c-article__responseDevice .itemListCheck--item::before {
        left: 30px;
    }

    .c-article__responseDevice .itemListCheck--item::after {
        left: 38px;
    }

    .c-article__responseDevice .p-responseDeviceContact {
        font-size: 17px;
    }
}

/*==================================================
    footer
==================================================*/
.p-footer__main {
    grid-template: unset;
}

.p-footer__nav {
    grid-area: 1/1/2/4;
    padding-left: 0;
    width: 100%;
}

.p-footerNav:first-child,
.acms-admin-module-edit + .p-footerNav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: unset;
    width: 100%;
}

.p-footerNav__item:first-child,
.p-footerNav__item:nth-child(2) {
    grid-column: 1/5;
}

.p-footerNav__item {
    padding-left: 0;
}

.p-footerNav__item .p-footerNav {
    margin-bottom: 20px;
}

.p-footer__logo {
    grid-area: 2/1;
    padding-top: 40px;
}

.p-footer__info {
    grid-area: 3/1;
}

.p-footer__sns {
    grid-area: 4/1;
}

/*==================================================
    タイトル
==================================================*/
.c-title .is-small {
    display: inline-block;
    font-size: 20px;
    margin-bottom: 15px;
}

/* ================================================
 　　TOPページ、サービスカードの画像高さ指定
==================================================*/
.c-card[data-style="01"] .c-card__thumbnail {
    height: 200px;
}

/*==================================================
    SP パンくず
==================================================*/
@media (max-width: 767px) {
    .p-breadcrumb__list {
        flex-flow: row wrap;
    }

    .p-breadcrumb__item:not(:first-child) {
        max-width: unset;
    }
}
