@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@400;700&display=swap');
/*
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
*/
/******************************************************************** pc sp
*/

/*  body
--------------------------------------------- */
body.is-open {
  overflow: hidden;
}

/*  kv
--------------------------------------------- */
.works .main_ttl {
    background: url(../images/works/ttl_bg.jpg) center center no-repeat;
	background-size: cover;
}

.works .main_ttl br {
    display: none;
}
.works .main_ttl h1 {
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    font-size: 32px;
    font-weight: 900;
    line-height: 140%;
    letter-spacing: 1.6px;
}
@media screen and (max-width: 1023px) {
    .works .main_ttl h1 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .works .main_ttl br {
        display: block;
    }
}
@media screen and (max-width: 750px) {
    .works .main_ttl {
        background-image: url(../images/works/sp/ttl_bg.jpg);
    }

}

/*  l-contents
--------------------------------------------- */
.l-contents {
    margin-inline: auto;
    padding-block: 60px 90px;
    width: 90%;
    max-width: 1180px;
}

@media screen and (min-width: 1024px) {
    .l-contents.detail {
        width: 70%;
    }
}

@media screen and (max-width: 1023px) {
    .l-contents {
        padding-block: 20px 40px;
        width: 92%;
    }
}

/*  js-tab-target
--------------------------------------------- */
.js-tab-target {
    display: none;
}
.js-tab-target.is-current {
    display: block;
}

/*  .js-show-all-scope
--------------------------------------------- */
.js-show-all-scope .is-hide {
    display: none;
}

/*  p-works-pickup
--------------------------------------------- */
.p-works-pickup__head {
    background-color: #fff;
}
@media screen and (min-width: 1024px) {
    .p-works-pickup__head {
        display: flex;
        flex-direction: column-reverse;
    }
}

.p-works-pickup__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 36px;
    border-bottom: 2px solid #eee;
}

@media screen and (max-width: 1023px) {
    .p-works-pickup__bottom {
        justify-content: center;
        padding-right: 0;
        padding-bottom: 35px;
    }
}

@media screen and (max-width: 1023px) {
    .p-works-pickup__top {
        display: block;
        border-top: 2px solid #eee;
        padding-right: 0;
    }
}
.p-works-pickup__label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 308px;
    height: 64px;
    background-color: #74B487;
}
@media screen and (min-width: 1024px) {
    .p-works-pickup__label {
        clip-path: polygon(0% 100%, 0% 0%, 100% 0%, 92.9% 100%);
    }
}
@media screen and (max-width: 1023px) {
    .p-works-pickup__label {
        padding: 10px;
        width: 100%;
        height: 43px;
    }
}

@media screen and (max-width: 1023px) {
    .p-works-pickup__label--sp-hide {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .p-works-pickup__label--pc-hide {
        display: none;
    }
}
.p-works-pickup__label-text {
    padding-right: 14px;
    color: #FFF;
    font-size: 24px;
    font-weight: 700;
}
@media screen and (max-width: 1023px) {
    .p-works-pickup__label-text {
        padding-right: 0;
        font-size: 16px;
    }
}

/* .p-works-pickup__slider {
    padding: 48px 52px 52px;
} */

@media screen and (max-width: 1023px) {
    .p-works-pickup__pagenation {
        width: 100%;
    }
}

.p-works-pickup__body {
    margin-top: 40px;
    padding: 80px 90px;
    background-color: #fff;
}

@media screen and (max-width: 1023px) {
    .p-works-pickup__body {
        padding: 15px 15px 20px;
    }
}

.p-works-pickup__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 68px 40px;
}
@media screen and (max-width: 1023px) {
    .p-works-pickup__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

.p-works-pickup__item {
    display: contents;
}

.p-works-pickup__body-btn {
    margin-top: 80px;
}
@media screen and (max-width: 1023px) {
    .p-works-pickup__body-btn {
        margin-top: 30px;
    }
}


/*  p-works-slider
--------------------------------------------- */
.p-works-slider {
    position: relative;
}

.p-works-slider__item {
    display: flex;
    align-items: center;
    gap: 48px;
}

@media screen and (max-width: 1023px) {
    .p-works-slider__item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
}

.p-works-slider__img {
    flex-shrink: 0;
    width: calc(520 / 1076 * 100%);
    transition: opacity .3s;
    will-change: opacity;
}

@media screen and (max-width: 1023px) {
    .p-works-slider__img {
        width: 100%;
    }
}

@media (hover: hover) and (pointer: fine) {
    .p-works-slider__img:hover {
        opacity: 0.7;
        text-decoration: none;
    }
}

.p-works-slider__img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.p-works-slider__contents {
    flex-grow: 1;
}

@media screen and (max-width: 1023px) {
    .p-works-slider__contents {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

}

.p-works-slider__sub-ttl {
    display: block;
    padding-bottom: 4px;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 28px */
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 1023px) {
    .p-works-slider__sub-ttl {
        font-size: 14px;
    }
}

.p-works-slider__ttl {
    display: block;
    margin-top: 12px;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

@media screen and (max-width: 1023px) {
    .p-works-slider__ttl {
        margin-top: 10px;
        font-size: 16px;
    }
}

.p-works-slider__cat-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

@media screen and (max-width: 1023px) {
    .p-works-slider__cat-wrap {
        margin-top: 15px;
        gap: 4px;
    }
}

.p-works-slider__head-btn {
    margin-top: 48px;
}
@media screen and (min-width: 1024px) {
    .p-works-slider__head-btn {
        max-width: 280px;
    }
}
@media screen and (max-width: 1023px) {
    .p-works-slider__head-btn {
        margin-top: 20px;
    }
}

.p-works-slider .splide__slide {
    padding: 48px 52px 52px;
    transform: translate3d(0, 0, 0);
}
@media screen and (max-width: 1023px) {
    .p-works-slider .splide__slide {
        padding: 17px 15px 30px;
    }
}
.p-works-slider .splide__arrows {
    position: relative;
    display: flex;
    align-items: center;
    gap: 48px;
}
@media screen and (max-width: 1023px) {
    .p-works-slider .splide__arrows {
        justify-content: space-between;
        gap: 25px;
        padding-inline: 44px;
    }
}
.p-works-slider .splide__arrow {
    display: inline-block;
    padding: 2px;
    width: 17px;
    height: 17px;
    border: none;
    border-top: 4px solid #4D4D4D;
    border-right: 4px solid #4D4D4D;
    background-color: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: opacity .3s;
}

.p-works-slider .splide__arrow:disabled {
    border-top-color: #ccc;
    border-right-color: #ccc;
    cursor: default;
}

.p-works-slider .splide__arrow:focus-visible {
    outline: 3px solid #b4e900;
    outline-offset: 3px;
}
.p-works-slider .splide__arrow--prev {
    transform: rotate(-135deg);
}
.p-works-slider .splide__arrow--next {
    transform: rotate(45deg);
}
@media (hover: hover) and (pointer: fine) {
    .p-works-slider .splide__arrow {
        transition: opacity 0.3s;
    }
    .p-works-slider .splide__arrow:not(:disabled):hover {
        opacity: 0.7;
    }
}

.p-works-slider .splide__count {
    color: #4D4D4D;
    font-family: Helvetica;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
@media screen and (max-width: 1023px) {
    .p-works-slider .splide__count {
        font-size: 20px;
    }
}

.p-works-slider .splide__count--slash {
    margin-inline: 12px;
}
@media screen and (max-width: 1023px) {
    .p-works-slider .splide__count--slash {
        margin-inline: 10px;
    }
}

/*  p-works-card
--------------------------------------------- */
.p-works-card {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto 130px 1fr;
    background-color: #f5f5f5;
    transition: opacity .3s;
}

@media screen and (max-width: 1023px) {
    .p-works-card {
        grid-template-rows: auto 100px 1fr;
    }
}

@media (hover: hover) and (pointer: fine) {
    .p-works-card:hover {
        opacity: 0.7;
        text-decoration: none;
    }
}

.p-works-card__img {
    width: 100%;
}
.p-works-card__img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* .p-works-card__contents {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 65px;
    padding: 26px;
    background-color: #f5f5f5;
}

@media screen and (min-width: 1024px) {
    .p-works-card__contents {
        min-height: 208px;
    }
}

@media screen and (max-width: 1023px) {
    .p-works-card__contents {
        padding: 16px 17px 22px;
        gap: 20px;
    }
} */

.p-works-card__ttl-wrap {
    padding: 26px 26px 0;
}

@media screen and (max-width: 1023px) {
    .p-works-card__ttl-wrap {
        padding: 16px 17px 0;
    }
}

.p-works-card__sub-ttl {
    display: block;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

@media screen and (max-width: 1023px) {
    .p-works-card__sub-ttl {
        font-size: 12px;
    }
}

.p-works-card__ttl {
    display: block;
    margin-top: 8px;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

@media screen and (max-width: 1023px) {
    .p-works-card__ttl {
        margin-top: 6px;
        font-size: 16px;
    }
}

.p-works-card__cat-wrap {
    display: flex;
    /* align-items: center; */
    flex-wrap: wrap;
    gap: 8px;
    padding: 26px;
}
@media screen and (max-width: 1023px) {
    .p-works-card__cat-wrap {
        gap: 4px;
        padding: 16px 17px;
    }
}

/*  p-works-picture
--------------------------------------------- */
.p-works-picture {
    margin-top: 28px;
    background-color: #fff;
}

@media screen and (max-width: 1023px) {
    .p-works-picture {
        margin-top: 20px;
    }
}

.p-works-picture__head {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 32px;
    width: 100%;
    border-bottom: 2px solid #eee;
}

@media screen and (max-width: 1023px) {
    .p-works-picture__head {
        padding: 10px 15px;
        gap: 10px;
    }
}

.p-works-picture__ttl {
    flex-shrink: 0;
    display: block;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 33.6px */
}

@media screen and (max-width: 1023px) {
    .p-works-picture__ttl {
        font-size: 16px;
    }
}

.p-works-picture__note {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

@media screen and (max-width: 1023px) {
    .p-works-picture__note {
        font-size: 10px;
    }
}

.p-works-picture__body {
    padding: 46px 90px 60px;
}

@media screen and (max-width: 1023px) {
    .p-works-picture__body {
        padding: 15px 15px 20px;
    }
}

.p-works-picture-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
}

@media screen and (max-width: 1023px) {
    .p-works-picture-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

.p-works-picture-list__btn {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
    border: none;
    transition: opacity .3s;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .p-works-picture-list__btn:hover {
        opacity: 0.7;
        text-decoration: none;
    }
}
.p-works-picture-list__img {
    position: relative;
}

.p-works-picture-list__img::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 40px;
    height: 40px;
    background-image: url(../images/works/ico-search.svg);
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #74B487;
}

.p-works-picture-list__img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.p-works-picture-list__label {
    display: block;
    padding-block: 7px 9px;
    color: #333;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 22.4px */
    background-color: #F5F5F5;
}

@media screen and (max-width: 1023px) {
    .p-works-picture-list__label {
        padding-block: 6px 7px;
    }
}

/*  .p-works-detai-breadcrumbs
--------------------------------------------- */
.p-works-detai-breadcrumbs__container {
    padding: 8px 16px;
    background-color: #fff;
    border-bottom: 2px solid #eee;
}

@media screen and (max-width: 1023px) {
    .p-works-detai-breadcrumbs__container {
        padding: 10px 15px;
    }
}

.p-works-detai-breadcrumbs__list {
    list-style: none; /*リセット*/
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-works-detai-breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.p-works-detai-breadcrumbs__item::after {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #74B487;
}
.p-works-detai-breadcrumbs__item:last-of-type:after {
    display: none;
}

a.p-works-detai-breadcrumbs__link,
.p-works-detai-breadcrumbs__current {
    color: #4D4D4D;
    font-size: 12px;
    font-weight: 700;
    line-height: 140%;
}

@media screen and (max-width: 1023px) {
    a.p-works-detai-breadcrumbs__link,
    .p-works-detai-breadcrumbs__current {
        font-size: 10px;
    }
}

/*  .p-works-detail
--------------------------------------------- */
.p-works-detail + .p-works-detail {
    margin-top: 60px;
}

@media screen and (max-width: 1023px) {
    .p-works-detail + .p-works-detail {
        margin-top: 20px;
    }
}

.p-works-detail__container {
    padding: calc(calc(68 / 1180)*100%) calc(calc(90 / 1180)*100%);
    background-color: #fff;
}
@media screen and (max-width: 1023px) {
    .p-works-detail__container {
        padding: 15px 15px 20px;
    }
}

.p-works-detail__contents {
    margin-top: 60px;
}
@media screen and (max-width: 1023px) {
    .p-works-detail__contents {
        margin-top: 21px;
    }
}
.p-works-detail__ttl {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    line-height: 140%;
}

@media screen and (max-width: 1023px) {
    .p-works-detail__ttl {
        font-size: 24px;
    }
}

.p-works-detail__contents-detail {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
@media screen and (max-width: 1023px) {
    .p-works-detail__contents-detail {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
}
@media screen and (min-width: 1024px) {
    .p-works-detail__wrap {
        width: calc(50% - 10px);
    }
}

.p-works-detail__site-wrap,
.p-works-detail__pre-wrap {
    display: flex;
}

.p-works-detail__pre-wrap {
    margin-top: 16px;
}
@media screen and (max-width: 1023px) {
    .p-works-detail__pre-wrap {
        margin-top: 8px;
    }
}

.p-works-detail__label {
    flex-shrink: 0;
    color: #629771;
    font-size: 20px;
    font-weight: 700;
    width: 80px;
    line-height: 140%;
}

@media screen and (max-width: 1023px) {
    .p-works-detail__label {
        font-size: 14px;
        width: 56px;
    }
}

.p-works-detail__name {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    padding-left: 1em;
    text-indent: -1em;
}
@media screen and (max-width: 1023px) {
    .p-works-detail__name {
        font-size: 14px;
    }
}

.p-works-detail__cat-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media screen and (max-width: 1023px) {
    .p-works-detail__cat-list {
        gap: 5px;
    }
}

.p-works-detail__txt {
    margin-top: 40px;
    padding-top: 48px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 180%;
    border-top: 1px solid #CCC;
}
@media screen and (max-width: 1023px) {
    .p-works-detail__txt {
        margin-top: 35px;
        padding-top: 30px;
    }
}

/*  .p-works-detail-btn
--------------------------------------------- */
.p-works-detail-btn {
    margin-top: 60px;
}

@media screen and (max-width: 1023px) {
    .p-works-detail-btn {
        margin-top: 20px;
    }
}
.p-works-detail-btn__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 48px 90px;
    background-color: #fff;

}
@media screen and (max-width: 1023px) {
    .p-works-detail-btn__container {
        flex-direction: column;
        padding: 40px 15px;
        gap: 20px;
    }
}

.p-works-detail-btn__contact,
.p-works-detail-btn__return {
    width: 100%;
}

/*  .p-works-detail-slider
--------------------------------------------- */
.p-works-detail-slider {
    --main-ratio: 4 / 3;
    --thumbnail-ratio-width: 4;
    --thumbnail-ratio-height: 3;
    --thumbnail-ratio: var(--thumbnail-ratio-width) / var(--thumbnail-ratio-height);
    /* --main-thumbnails-gap: 17px; */
    margin-inline: auto;
}

.p-works-detail-slider__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(var(--thumbnails-space) + var(--main-thumbnails-gap));
}
@media screen and (max-width: 1023px) {
    .p-works-detail-slider__inner {
        flex-direction: column;
    }

}
.p-works-detail-slider .splide {
    position: static;
}
.p-works-detail-slider__thumbnail-slider .p-works-detail-slider__wrapper {
    aspect-ratio: var(--thumbnails-ratio-width)/var(--thumbnails-ratio-height);
    height: 100%;
}

.p-works-detail-slider__thumbnail-slider .splide__track {
    height: 100%;
}
.p-works-detail-slider__thumbnail-slider .splide__list {
    flex-direction: column;
    gap: 17px;
}
@media screen and (min-width: 1024px) {
    .p-works-detail-slider__thumbnail-slider .splide__list:has(> :nth-child(3)) {
        justify-content: space-between;
        gap: 0;
    }
}

.p-works-detail-slider__thumbnail-slider .splide__slide {
    transform: translate3d(0, 0, 0);
    cursor: pointer;
    transition: opacity 0.3s;
}
.p-works-detail-slider__thumbnail-slider .splide__slide:not(.is-active) {
    opacity: 0.5;
}
.p-works-detail-slider__thumbnail-slider .splide__slide:focus-visible {
    outline: 3px solid #b4e900;
    outline-offset: -3px;
}

@media screen and (min-width: 1024px) {
    .p-works-detail-slider__main-slider {
        width: calc((748 / 1000) * 100%);
    }
}

.p-works-detail-slider__main-slider .p-works-detail-slider__img {
    aspect-ratio: var(--main-ratio);
}

@media screen and (min-width: 1024px) {
    .p-works-detail-slider__thumbnail-slider {
        width: calc((235 / 1000) * 100%);
    }
}
.p-works-detail-slider__thumbnail-slider .p-works-detail-slider__img {
    aspect-ratio: var(--thumbnail-ratio);
}
.p-works-detail-slider__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    -o-object-fit: cover;
       object-fit: cover;
    vertical-align: bottom;
}

@media screen and (max-width: 1023px) {
    .p-works-detail-slider__thumbnail-slider {
        margin-top: 12px;
        width: 100%;
    }

    /* Splideのトラックとラッパーの幅・高さを100%に固定してスライダー化を防ぐ */
    .p-works-detail-slider__thumbnail-slider .p-works-detail-slider__wrapper,
    .p-works-detail-slider__thumbnail-slider .splide__track {
        aspect-ratio: unset;
        width: 100%;
        height: auto;
        overflow: visible; /* 横スクロールさせない */
    }

    /* ★最重要：リストを強制的に通常のFlexbox横並びにする */
    .p-works-detail-slider__thumbnail-slider .splide__list {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-direction: row;
        width: 100%; /* Splideが自動計算する長い横幅をリセット */
        transform: none; /* Splideの自動移動（位置調整）を完全に無効化 */
        gap: 5px; /* サムネイル同士の隙間 */
    }

    .p-works-detail-slider__thumbnail-slider .splide__list:has(> :nth-child(3)) {
        justify-content: space-between;
        gap: 0;
    }

    /* ★最重要：3つの要素をきれいに3等分（横並び）にする */
    .p-works-detail-slider__thumbnail-slider .splide__slide {
        flex: 1 1 0%; /* 3等分に引き伸ばす */
        width: auto;  /* 固定幅を解除 */
        max-width: calc((100% - 10px) / 3); /* 隙間2つ分を引いて3等分 */
        height: auto;
    }

    /* 画像のアスペクト比を保つ（メインと同じ 4/3 にする場合） */
    .p-works-detail-slider__thumbnail-slider .p-works-detail-slider__img {
        aspect-ratio: var(--thumbnail-ratio);
        width: 100%;
        height: auto;
    }
}

/*  c-cat-1
--------------------------------------------- */
.c-cat-1 {
    display: flex;
    padding: 3px 11px 5px 11px;
    justify-content: center;
    align-items: center;
    color: #629771;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 3px;
    border: 1px solid #629771;
    box-sizing: border-box;
    background-color: #fff;
}

@media screen and (max-width: 1023px) {
    .c-cat-1 {
        padding: 4px 12px 6px 12px;
        font-size: 12px;
    }
}

@media screen and (min-width: 1024px) {
    .c-cat-1--small {
        padding: 3px 11px 5px 11px;
        font-size: 14px;
    }
}

/*  c-btn-1
--------------------------------------------- */
button.c-btn-1,
a.c-btn-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    width: 100%;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 22.4px */
    border-radius: 100px;
    background-color: #74B487;
    border: 1px solid transparent;
    transition: color .3s, background-color .3s;
    cursor: pointer;
}

@media screen and (max-width: 1023px) {
    a.c-btn-1 {
        padding: 11px;
    }
}

button.c-btn-1 {
    padding: 21px 20px 20px;
}

@media screen and (max-width: 1023px) {
    button.c-btn-1 {
        padding: 15px 20px 14px;
        font-size: 14px;
    }
}

.p-works-pickup__body-btn a.c-btn-1 {
    padding: 20px;
}
@media screen and (max-width: 1023px) {
    .p-works-pickup__body-btn a.c-btn-1 {
        padding: 12px;
    }
}

a.c-btn-1.c-btn-1--large {
    padding-block: 24px;
}

@media (hover: hover) and (pointer: fine) {
    button.c-btn-1:hover,
    a.c-btn-1:hover {
        color: #74B487;
        background-color: #FFF;
        border: 1px solid #74B487;
        text-decoration: none;
    }
}

/*  c-btn-2
--------------------------------------------- */
a.c-btn-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    width: 100%;
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 22.4px */
    border-radius: 100px;
    background: #74B487;
    border: none;
    border: 1px solid transparent;
    transition: color .3s, background-color .3s;
}
@media screen and (max-width: 1023px) {
    a.c-btn-2 {
        padding: 20px;
        font-size: 20px;
    }

}

a.c-btn-2.c-btn-2--gray {
    background: #4D4D4D;
}

@media (hover: hover) and (pointer: fine) {
    a.c-btn-2:hover {
        color: #74B487;
        background-color: #FFF;
        border-color: #74B487;
        text-decoration: none;
    }
    a.c-btn-2.c-btn-2--gray:hover {
        color: #4D4D4D;
        background-color: #FFF;
        border-color: #4D4D4D;
    }
}

/*  c-tabs
--------------------------------------------- */
.c-tabs__tab-list {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    transform: translateY(3px) translateZ(0);
    will-change: transform;
    background: linear-gradient(to top, #74B487 3px, transparent 1px);
}

@media screen and (max-width: 1023px) {
    .c-tabs__tab-list {
        gap: 8px;
    }
}

.c-tabs__tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 15px 17px;
    width: calc(100% / 3);
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 33.6px */
    background-color: #74B487;
    border-top: 3px solid #74B487;
    border-right: 3px solid #74B487;
    border-left: 3px solid #74B487;
    border-bottom: none;
    cursor: pointer;
    transition: opacity .3s;
    will-change: opacity;
}

@media screen and (max-width: 1023px) {
    .c-tabs__tab {
        padding: 17px 10px;
        font-size: 16px;
    }
}

.c-tabs__tab.is-current {
    color: #74B487;
    background-color: #FFF;
}

@media (hover: hover) and (pointer: fine) {
    .c-tabs__tab:not(.is-current):hover {
        opacity: 0.7;
        text-decoration: none;
    }
}

.c-tabs__body {
    padding: 49px;
    border: 3px solid #74B487;
    border-top: none;
    background: #FFF;
    transform: translateZ(0); /* GPUで強制的に再描画させる */
    will-change: transform;
}

@media screen and (max-width: 1023px) {
    .c-tabs__body {
        padding: 17px;
    }
}

.c-tabs__tab-panel {
    position: relative;
    background: #FFF;
}

/*  c-modal
--------------------------------------------- */
.c-modal {
    display: none;
}
.c-modal.is-open {
    display: block;
}
.c-modal__overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.c-modal__container {
    position: relative;
    width: min(calc(calc(860/1400)*100%), 860px);
    max-height: 95dvh;
    box-sizing: border-box;
    background-color: #74B487;
    overflow-y: auto;
}
@media screen and (max-width: 1023px) {
    .c-modal__container {
        width: min(100%, 750px);
    }
}
.c-modal__contents {
    position: relative;
    padding: 10px;
}
@media screen and (max-width: 1023px) {
    .c-modal__contents {
        padding: 4px 4px 0;
    }

}
.c-modal__contents img {
    max-width: none;
}
.c-modal__close-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background-color: #74B487;
    cursor: pointer;
}

@media screen and (max-width: 1023px) {
    .c-modal__close-btn {
        position: relative;
        width: 100%;
    }
}

.c-modal__close-btn::after {
    content: "";
    width: 20px;
    height: 20px;
    background: url(../images/works/ico-close.svg) no-repeat center center / contain;
    transition: opacity .3s;
}


@media (hover: hover) and (pointer: fine) {
    .c-modal__close-btn:hover::after {
        opacity: 0.7;
    }

}
