@charset "UTF-8";

/* ========================================
   導入事例 (Cases) スタイル
   ※ columnページと同じデザインを継承
======================================== */

/* ----------------------------------------
   アーカイブページ
---------------------------------------- */
.p-archive-cases {
    padding: 80px 0 0;
}
@media screen and (max-width: 780px) {
    .p-archive-cases {
        padding: 40px 0 60px;
    }
}

/* ----------------------------------------
   ピックアップ（columnと同じ）
---------------------------------------- */
.p-archive-cases__pickup {
    margin-bottom: 0;
}

.p-archive-cases-pickup__link {
    display: flex;
    align-items: center;
    column-gap: 5%;
    transition: 0.3s;
}
@media (hover: hover) {
    .p-archive-cases-pickup__link:hover {
        opacity: 0.7;
    }
}
@media screen and (max-width: 1279px) {
    .p-archive-cases-pickup__link {
        flex-direction: column;
        row-gap: 25px;
    }
}

.p-archive-cases-pickup__img {
    flex-shrink: 0;
    flex-basis: 48.1818181818%;
    border-radius: 30px;
    overflow: hidden;
}
@media screen and (max-width: 1279px) {
    .p-archive-cases-pickup__img {
        width: 100%;
    }
}

.p-archive-cases-pickup__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-archive-cases-pickup__col {
    flex-grow: 1;
}

.p-archive-cases__box {
    display: inline-block;
    padding: 7px 15px;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    color: #fff;
    background-color: #2c419a;
    border-radius: 3px;
}
@media screen and (max-width: 780px) {
    .p-archive-cases__box {
        padding: 6px 12px;
    }
}

.p-archive-cases-pickup__ttl {
    margin-top: 20px;
    font-size: 2.125rem;
    line-height: 1.47;
    font-weight: bold;
    color: #192657;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-pickup__ttl {
        margin-top: 15px;
        font-size: 1.375rem;
    }
}

.p-archive-cases-pickup__date {
    margin-top: 15px;
    font-size: 0.9375rem;
    line-height: 1;
    font-weight: 600;
    color: #f4b000;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-pickup__date {
        margin-top: 25px;
        font-size: 0.875rem;
    }
}

.p-archive-cases-pickup__cat {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-pickup__cat {
        margin-top: 25px;
    }
}

.p-archive-cases-pickup__tag {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    background-color: #f2f3f5;
}

/* cases-tag タクソノミー用（24h稼動、Web予約など）- グレー背景 */
.p-archive-cases-pickup__feature-tag {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    background-color: #f2f3f5;
    color: #333;
}

.p-archive-cases-pickup__txt {
    margin-top: 20px;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-pickup__txt {
        margin-top: 25px;
    }
}

.p-archive-cases-pickup__more {
    display: none;
}

/* ----------------------------------------
   カテゴリ・フリーワード検索（columnと同じ）
---------------------------------------- */
.p-archive-cases__search {
    margin-top: 30px;
}
@media screen and (max-width: 780px) {
    .p-archive-cases__search {
        margin-top: 20px;
    }
}

.p-archive-cases-search {
    border-radius: 15px;
    overflow: hidden;
}

.p-archive-cases-search__head {
    padding: 25px 30px;
    background-color: #7792d3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    border-radius: unset;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-search__head {
        padding: 20px 15px;
    }
}

.p-archive-cases-search__head p {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    color: #fff;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-search__head p {
        flex-grow: 1;
        text-align: center;
    }
}

.p-archive-cases-search__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    display: inline-block;
    background-color: #4f6adc;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-search__btn {
        right: 15px;
        width: 24px;
        height: 24px;
    }
}

.p-archive-cases-search__btn::before,
.p-archive-cases-search__btn::after {
    content: '';
    width: 1rem;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.p-archive-cases-search__btn::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
    transition: 0.3s;
}

.c-acd.open > .c-acd__head > .p-archive-cases-search__btn,
.c-acd.open .p-archive-cases-search__btn {
    background-color: #b9c6e9;
}

.c-acd.open > .c-acd__head > .p-archive-cases-search__btn::after,
.c-acd.open .p-archive-cases-search__btn::after {
    transform: translate(-50%, -50%);
}

.p-archive-cases-search__body {
    padding: 40px 95px;
    background-color: #e9efff;
}
@media screen and (max-width: 780px) {
    .p-archive-cases-search__body {
        padding: 30px 20px 45px;
    }
}

.p-archive-cases-search__group {
    margin-bottom: 25px;
}

.p-archive-cases-search__group + .p-archive-cases-search__group {
    border-top: 1px dashed #4F6ADC;
    padding-top: 20px;
}

.p-archive-cases-search__group:last-child {
    margin-bottom: 0;
}

.p-archive-cases-search__label {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.p-archive-cases-search__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.p-archive-cases-search__tag {
    display: flex;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 15px;
    border-radius: 5px;
    border: 1px solid #4F6ADC;
    transition: all 0.3s ease;
    display: flex;
    gap: 5px;
    align-items: center;
}
@media screen and (max-width: 780px) {
.p-archive-cases-search__tag {
    font-size: 16px;
}
}

.p-archive-cases-search__tag:hover {
    background-color: #2c419a;
    color: #fff;
    border-color: #2c419a;
}

.p-archive-cases-search__tag.is-current {
    background-color: #2c419a;
    color: #fff;
    border-color: #2c419a;
}

/* よく検索されているキーワード */
.p-archive-cases__help {
    margin-top: 20px;
    display: flex;
    font-weight: 500;
}

.p-archive-cases__keyword--head {
    font-size:18px;
    margin-bottom: 10px;
}



.p-archive-cases__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.p-archive-cases__keyword {
    display: inline-block;
    color: #293E8F;
    border-radius: 20px;
    text-decoration: underline;
    font-size: 18px;
    margin-left: 30px;
}

.p-archive-cases__keyword:hover {
}


@media screen and (max-width: 780px) {
    .p-archive-cases__help {
        flex-direction: column;
        font-size: 16px;
    }
    .p-archive-cases__keywords {
        display: flex;
        gap:15px;
    }
    .p-archive-cases__keyword {
        margin-left: 0;
    }
}

/* ----------------------------------------
   カードリスト（columnと同じ）
---------------------------------------- */
.p-archive-cases__content {
    margin-top: 120px;
    padding-top: 120px;
    background-color: #F2F3F5;
    padding-bottom: 120px;
}
@media screen and (max-width: 780px) {
    .p-archive-cases__content {
        margin-top: 40px;
        padding-top: 40px;
    }
}

/* 2ページ目以降 */
.p-archive-cases.is-paged {
    padding-top: 0;
}

.p-archive-cases__content.is-paged {
    margin-top: 0;
}

.p-archive-cases__heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
    color: #192657;
}
@media screen and (max-width: 780px) {
    .p-archive-cases__heading {
        font-size: 1.25rem;
        margin-bottom: 25px;
    }
}

.p-archive-cases__list {
    margin-top: 0;
}

.c-card-list--cases {
    display: flex;
    flex-wrap: wrap;
    gap: 2.7272727273%;
    row-gap: 40px;
    align-items: stretch;
}

.c-card-list--cases .c-card-list__item {
    width: 31.5151515152%;
}
@media screen and (max-width: 1279px) {
    .c-card-list--cases .c-card-list__item {
        width: 48.6363636364%;
    }
}
@media screen and (max-width: 780px) {
    .c-card-list--cases {
        padding: 0;
    }
    .c-card-list--cases .c-card-list__item {
        width: 100%;
    }
}

.c-card-cases__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: opacity 0.3s ease;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}
.c-card-cases__link:hover {
    opacity: 0.7;
}

.c-card-cases__thumbnail {
    aspect-ratio: 350/196;
    border-radius: 10px;
    overflow: hidden;
}

.c-card-cases__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-card-cases__body {
    margin-top: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.c-card-cases__ttl {
    font-size: 1.125rem;
    line-height: 1.555;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #192657;
}

.c-card-cases__company {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.c-card-cases__date {
    margin-top: 15px;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 500;
    color: #808080;
}

.c-card-cases__cat-list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.c-card-cases__cat {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    background-color: #f2f3f5;
}

/* cases-tag タクソノミー用（24h稼動、Web予約など）- グレー背景 */
.c-card-cases__tag-list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.c-card-cases__feature-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    background-color: #f2f3f5;
    color: #333;
}

.c-card-cases__more {
    margin-top: auto;
    padding-top: 15px;
    text-align: right;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.c-card-cases__more img {
    width: 8px;
    height: auto;
    margin-top: 2px;
}

/* ----------------------------------------
   シングルページ（columnと同じ）
---------------------------------------- */
.p-single-cases__thumbnail {
    border-radius: 30px;
    overflow: hidden;
}

.p-single-cases__thumbnail img {
    width: 100%;
    height: auto;
}

.p-single-cases__ttl {
    margin-top: 50px;
    font-size: 2.125rem;
    line-height: 1.47;
    font-weight: bold;
}
@media screen and (max-width: 780px) {
    .p-single-cases__ttl {
        margin-top: 25px;
        font-size: 1.375rem;
    }
}

.p-single-cases__date {
    margin-top: 30px;
}
@media screen and (max-width: 780px) {
    .p-single-cases__date {
        margin-top: 25px;
    }
}

.p-single-cases__cat {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
@media screen and (max-width: 780px) {
    .p-single-cases__cat {
        margin-top: 25px;
    }
}

.p-single-cases__tag {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    background-color: #f2f3f5;
}

/* cases-tag タクソノミー用（24h稼動、Web予約など）- グレー背景 */
.p-single-cases__feature-tags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
@media screen and (max-width: 780px) {
    .p-single-cases__feature-tags {
        margin-top: 25px;
    }
}

.p-single-cases__feature-tag {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    background-color: #f2f3f5;
    color: #333;
}

.p-single-cases__intro {
    margin-top: 50px;
    font-size: 1.125rem;
    line-height: 1.777;
    font-weight: 500;
    color: #213172;
}
@media screen and (max-width: 780px) {
    .p-single-cases__intro {
        margin-top: 40px;
    }
}

.p-single-cases__cont h2 {
    color: #000000;
}

/* Information セクション */
.p-single-cases__information {
    margin: 60px 0 40px;
}
@media screen and (max-width: 780px) {
    .p-single-cases__information {
        margin: 40px 0 30px;
    }
}

.p-single-cases__information-heading {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.375rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}
@media screen and (max-width: 780px) {
    .p-single-cases__information-heading {
        font-size: 1.25rem;
    }
}

.p-single-cases__information-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #213172;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Information テーブル */
.p-single-cases__info {
    background-color: #E9EFFF;
    border-radius: 30px;
    overflow: hidden;
    padding: 20px 40px;
}
@media screen and (max-width: 780px) {
    .p-single-cases__info {
        border-radius: 10px;
    }
}

.p-single-cases__info table {
    width: 100%;
    border-collapse: collapse;
}

.p-single-cases__info th,
.p-single-cases__info td {
    border-bottom: 1px dashed #4F6ADC;
    text-align: left;
    font-size: 1rem;
    padding: 20px 0;
}
@media screen and (max-width: 780px) {
    .p-single-cases__info {
        padding: 10px 20px;
    }
    .p-single-cases__info table,
    .p-single-cases__info table tbody,
    .p-single-cases__info table tr {
        display: block;
        width: 100%;
    }
    .p-single-cases__info th {
        font-size: 18px;
        display: block;
        width: 100% !important;
        padding-top: 5px;
        border-bottom: 0;
        padding-bottom: 0;
    }
    .p-single-cases__info td {
        font-size: 16px;
        display: block;
        width: 100%;
        padding-top: 0px;
        padding-bottom: 10px;
    }
}

.p-single-cases__hr {
    border: 0;
    border-top: 1px dashed #4F6ADC;
    margin-top: 100px;
    margin-bottom: 100px;
}
@media screen and (max-width: 780px) {
    .p-single-cases__hr {
        margin-top: 50px;
        margin-bottom: 0;
    }
}

.p-single-cases__info tr:last-child th,
.p-single-cases__info tr:last-child td {
    border-bottom: none;
}

.p-single-cases__info th {
    width: 180px;
    font-weight: 700;
    color: #213172;
    background: transparent;
}
@media screen and (max-width: 780px) {
    .p-single-cases__info th {
        width: 100px;
    }
}

.p-single-cases__info td {
    color: #333;
}

/* 戻るボタン（共通スタイル使用） */

/* 検索結果ページ */
.p-search-cases__btn-wrap {
    margin-top: 60px;
}

.p-search-cases__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #4574C4;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.p-search-cases__btn:hover {
    opacity: 0.7;
}

/* 検索結果なし */
.c-result--noResult {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1rem;
}

/* 検索フォーム */
.c-search-form {
    display: flex;
    gap: 10px;
    border-radius: 0;
    border: 0;
}
@media screen and (max-width: 780px) {
    .c-search-form {
        gap: 5px;
    }
}

.c-search-form__input {
    flex: 1;
    padding: 10px 20px;
    border: 1px solid #4F6ADC;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #fff;
    font-size: 20px;
}
@media screen and (max-width: 780px) {
    .c-search-form__input {
        font-size: 16px;
        padding: 5px 10px;
    }
}

.c-search-form__input:focus {
    outline: none;
    border-color: #2c419a;
}

.c-search-form__submit {
    background-color: #4F6ADC;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
@media screen and (max-width: 780px) {
    .c-search-form__submit {
        padding: 10px 10px;
        width: 48px;
        height: 48px;
    }
}



.c-search-form__submit:hover {
    opacity: 0.7;
}

/* primary カラー（検索結果ハイライト） */
.u-primary {
    color: #2c419a;
}
