@charset "utf-8";
/*共通設定*/
body {
    font-family:
        "Noto Sans JP",
        "Helvetica Neue",
        Arial,
        sans-serif;
    background-color: #f8f9fa;
    color: #1f2937;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 0;
}

/* 個別部品 */
/* header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.header__inner {
    position: relative;
    max-width: 1440px;
    height: 72px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    margin: 0;
    font-size: 24px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

.header__logo a {
    color: #111827;
    text-decoration: none;
}

.header__nav {
    
}

.header__list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__item {
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
}

.header__item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.header__item:not(.header__item--contact) a:hover {
   color: #4f46e5;
}

/* 現在表示しているページ */
.header__item a.is-active {
    color: #4f46e5;
}

.header__item--contact {
    background-color: #4f46e5;
    border-radius: 6px;
    color: #fff;
    padding: 10px 24px;
    transition:
      background-color 0.3s,
      color 0.3s;
}

.header__item--contact:hover {
    background-color: #3730a3;
}

/* パソコンではハンバーガーボタンを非表示 */
.header__hamburger {
    display: none;
}

/* works hero */
.works-hero {
    padding: 72px 80px 60px;
    background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 100%);
    text-align: center;
}

.works-hero__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;

}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 13px;
}

.breadcrumb__chevron {
    display: flex;
    align-items: center;
    transform: translateY(1px);
}

.breadcrumb span:last-child {
    color: #4f46e5;
    font-weight: 600;
}

.works-hero__title {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}

.works-hero__text {
    color: #6b7280;
    font-size: 17px;
}

/* works list */
.works-list {
    padding: 56px 80px 80px;
    background-color: #f8f9fa;
}

.works-list__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.works-card {
    overflow: hidden;
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.08);
}

.works-card__image {
    position: relative;
    height: 240px;
}

.works-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-card__label {
    position: absolute;
    top: 16px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.works-card__label--purple {
    background-color: #4f46e5;
}

.works-card__label--green {
    background-color: #059669;
}

.works-card__label--orange {
    background-color: #f5a011;
}

.works-card__body {
    padding: 24px 24px 28px;
}

.works-card__tags {
    display: flex;
    /* 画面が小さくなってきたときに対応する */
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #4f46e5;
}

.tag--orange {
    background-color: #f5a011;
}

.tag--blue {
    background-color: #9eecf6;
}

.tag--pink {
    background-color: #ffebfe;
}

.tag--purple {
    background-color: #cec9f2;
}

.tag--light-blue {
    background-color: #d1fae5;
}

.tag--yellow {
    background-color: #faecd1;
}

.works-card__title {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
}

.works-card__text {
    margin: 16px 0 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.9;
}

.works-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.works-card__period {

}

.works-card__period span {
    display: block;
    font-size: 11px;
    color: #9ca3af;
}

.works-card__period strong {
    margin-top: 1px;
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.works-card__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 133px;
    height: 36px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s;
}

.works-card__button--purple {
    background-color: #eef2ff;
    color: #4f46e5;
}

.works-card__button--purple:hover {
    background-color: #4f46e5;
    color: #fff;
}

.works-card__button--green {
    background-color: #f0fdf4;
    color: #059669;
}

.works-card__button--green:hover {
    background-color: #059669;
    color: #fff;
}

.works-card__button--orange {
    background-color: #fef2dd;
    color: #7c4e01;
}

.works-card__button--orange:hover {
    background-color: #7c4e01;
    color: #fff;
}

.works-card__button-icon {
    display: flex;
    align-items: center;
}

/* cta */
.cta {
    padding: 0 100px 64px;
}

.cta__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    border-radius: 20px;
    text-align: center;
    background-color: #4f46e5;
    position: relative;
}

.cta__icon {
    position: absolute;
    top: 5px;
    left: 5px;
}

.cta__title {
    color: #fff;
    line-height: 1.5;
    font-size: 26px;
    font-weight: 700;
}

.cta__text {
    margin-top: 10px;
    font-size: 15px;
    color: #c7d2fe;
}

.cta__buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cta__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    min-width: 220px;
    height: 50px;
    padding: 20px 36px;
    font-size: 15px;
    font-weight: 700;
    transition:
    background-color .3s,
    color .3s;
    white-space: nowrap;
}

.cta__button--white {
    background-color: #fff;
    color: #4f46e5;
}

.cta__button--white:hover {
    background-color: #4f46e5;
    color: #fff;
}

.cta__button-icon {
    display: flex;
    align-items: center;
}

.cta__button--outline {
    color: #fff;
    border: 2px solid #fff;
}

.cta__button--outline:hover {
    background-color: #fff;
    color: #4f46e5;
}

.cta__button-arrow {
    display: flex;
    align-items: center;
}

/* footer */
.footer {
    background-color: #0f172a;
}

.footer__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 25px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy {
    font-size: 13px;
    color: #6b7280;
}

.footer__nav {

}

.footer__list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__list a {
    font-size: 13px;
    color: #9ca3af;
}

.footer__list a.is-active {
    color: #fff;
    font-weight: 600;
}

/* レスポンシブモバイル表示 */
@media (max-width: 900px) {
/* header */
    .header__inner {
        max-width: 100%;
        height: 64px;
        padding: 0 40px;
    }

    .header__logo {
        /* z-indexを有効にする */
        position: relative;
        z-index: 102;
        font-size: 20px;
    }

    .header__hamburger {
    /* z-indexを有効にする */
    position: relative;
    z-index: 102;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

   .header__hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #111827;
    border-radius: 2px;
    transition:
    transform 0.3s,
    opacity 0.3s;
  }

   .header__nav {
    position: absolute;
    /* header__inner高さと揃える */
    top: 64px;
    left: 0;
    width: 100%;
    padding: 24px;
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);

    /* 最初はメニューを隠す */
    visibility: hidden;
    /* 完全に透明 */
    opacity: 0;
    transform: translateY(-10px);
    /* 見えないメニューを誤ってクリックするのを防ぐ */
    pointer-events: none;
    /* メニューの動きを滑らかにする */
    transition:
     /* 透明度・上下動き・表示非表示  */
      opacity 0.3s,
      transform 0.3s,
      visibility 0.3s;
  }

  .header__nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__item {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
  }

  .header__item a {
    display: block;
    padding: 16px;
    width: 100%;
  }

  .header__item--contact {
    margin-top: 20px;
    /* aタグにpaddingをつけるためリセット */
    padding: 0;
    border-bottom: none;
  }

  .header__item--contact a {
    padding: 14px 24px;
    border-radius: 6px;
    color: #fff;
  }

  .header__hamburger.is-open
  .header__hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header__hamburger.is-open
  .header__hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open
  .header__hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

/* works hero */
    .works-hero {
        /* 左右は24px共通 */
        padding: 56px 24px 48px;
    }
    
    .works-hero__inner {
        padding: 0;
    }

    .breadcrumb {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .works-hero__title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .works-hero__text {
        font-size: 15px;
    }

/* works list */
    .works-list {
        /* 左右は24px共通 */
        padding: 48px 24px 64px;
    }

    .works-list__inner {
        padding: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .works-card {
        display: flex;
        flex-direction: column;
    }

    .works-card__image {
        height: 210px;
    }

    .works-card__body {
        flex: 1;
        padding: 22px 20px 24px;
        display: flex;
        flex-direction: column;
    }

    .works-card__title {
        font-size: 17px;
    }

    .works-card__text {
        font-size: 13px;
        line-height: 1.8;
    }

    .works-card__bottom {
        margin-top: auto;
        padding-top: 24px;
    }

/* cta */
    .cta {
        /* 左右は24px共通 */
        padding: 0 24px 56px;
    }

    .cta__inner {
        padding: 44px 28px 48px;
    }

    .cta__icon svg {
        width: 44px;
        height: 44px;
    }

    .cta__title {
        font-size: 24px;
    }

    .cta__text {
        font-size: 12px;
    }

    .cta__buttons {
        margin-top: 20px;
        gap: 16px;
    }

    .cta__button {
        min-width: 200px;
        height: 48px;
        padding: 14px 24px;
        font-size: 14px;
    }

/* footer */
    .footer__inner {
    /* 左右は24px共通 */
        padding: 24px;
    }

    .footer__copy {
        font-size: 11px;
    }

    .footer__list {
        gap: 16px;
    }

    .footer__list a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
/* header */
    .header__inner {
        padding: 0 16px;
    }

    .header__nav {
     padding: 20px 16px;
    }

/* works hero */
    .works-hero {
        /* 左右は16px共通 */
        padding: 40px 16px 36px;
    }

    .breadcrumb {
        gap: 8px;
        margin-bottom: 11px;
        font-size: 10px;
    }

    .works-hero__title {
        font-size: 30px;
        margin-bottom: 10px;
        line-height: 1.35;
    }

    .works-hero__text {
        font-size: 14px;
        line-height: 1.8;
    }

/* works list */
    .works-list {
        /* 左右は16px共通 */
        padding: 36px 16px 48px;
    }

    .works-list__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .works-card {
        border-radius: 12px;
    }

    .works-card__image {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .works-card__label {
        top: 12px;
        left: 10px;
        /* 画像幅からはみ出さない */
        max-width: calc(100% - 20px);
        padding: 5px 10px;
        font-size: 10px;
        /* ラベルが2行表示になった時 */
        line-height: 1.5;
    }

    .works-card__body {
        padding: 20px 16px 25px;
    }

    .works-card__tags {
        gap: 6px;
    }

    .tag {
        padding: 3px 8px;
        font-size: 10px;
    }

    .works-card__title {
        margin: 10px 0 0;
        font-size: 15px;
    }

    .works-card__text {
        margin: 12px 0 0;
        font-size: 12px;
    }

    .works-card__bottom {
        padding-top: 20px;
        gap: 12px;
    }

    .works-card__button {
        width: auto;
        min-width: 116px;
        padding: 8px 12px;
        font-size: 12px;
    }

/* cta */
    .cta {
        /* 左右は16px共通 */
        padding: 0 16px 48px;
    }

    .cta__inner {
        padding: 52px 20px 32px;
        border-radius: 16px;
    }

    .cta__icon {
        top: 4px;
        left: 4px;
    }

    .cta__icon svg {
        width: 40px;
        height: 40px;
    }

    .cta__title {
        font-size: 18px;
        line-height: 1.6;
    }

    .cta__text {
        margin-top: 8px;
        font-size: 9px;
        line-height: 1.8;
    }

    .cta__buttons {
        margin-top: 15px;
        flex-direction: column;
        gap: 12px;
    }

    .cta__button {
        width: 100%;
        min-width: 0;
        height: 48px;
        padding: 12px 20px;
        font-size: 14px;
    }

/* footer */
    .footer__inner {
        /* 左右は16px共通 */
        padding: 24px 16px;
        flex-direction: column-reverse;
        gap: 18px;
    }

    .footer__list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .footer__copy {
        font-size: 10px;
        text-align: center;
    }

}
