﻿@charset "UTF-8";
/* CSS Document */
/* ========================================
   実績紹介
======================================== */

body {
  background: #fff;
}

.works-logo-title {
  margin: 0;
  line-height: 1;
}

.works-logo-title img {
  width: 300px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.works-page {
  position: relative;
  background: #fff;
  color: #111;
  overflow: hidden;
  min-height: 100vh;
}

.works-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% + 40px);
  width: 620px;
  height: 100%;
  background: url("../img/concept/bk.png") top left / 500px auto repeat-y;
  pointer-events: none;
  z-index: 0;
}

.works-page > * {
  position: relative;
  z-index: 1;
}


/* 上部タイトル */
.works-hero {
  width: min(1120px, calc(100% - 32px));
  height: 430px;
  margin: -22px auto 0;
  border: 3px solid rgba(255,255,255,.65);
  box-sizing: border-box;
}

.works-hero-inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.works-title {
  text-align: center;
  color: #0075e8;
}

.works-title img {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.works-title h1 {
  margin: 0;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .03em;
}

.works-title p {
  margin: 8px 0 0;
  color: #0075e8;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
}


/* 青ライン */
.works-blue-line {
  height: 10px;
  background: #0075e8;
  margin-top: -5px;
}

.works-blue-line span {
  display: block;
  width: 50%;
  height: 100%;
  background: #66a9e8;
}


/* パンくず */
.works-breadcrumb {
  width: min(980px, calc(100% - 32px));
  margin: 26px auto 0;
  color: #000;
  font-size: 14px;
  line-height: 1.8;
}

.works-breadcrumb a {
  color: #005eff;
  text-decoration: none;
}

.works-breadcrumb span {
  margin: 0 5px;
}


/* カテゴリ */
.works-category-area {
  margin: 24px 0 0;
  padding: 34px 16px 44px;
  text-align: center;
  overflow: hidden;
}

.works-category-area::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: url("../img/concept/bg.png") top left / 420px auto repeat;
  opacity: .55;
  pointer-events: none;
}

.works-category-heading {
  display: inline-block;
  min-width: 320px;
  padding: 9px 60px;
  background: repeating-linear-gradient(
    -45deg,
    #0075e8 0,
    #0075e8 2px,
    #1889f5 2px,
    #1889f5 4px
  );
  color: #fff;
  font-size: 15px;
  line-height: 1;
  margin-bottom: 34px;
  box-sizing: border-box;
}

.works-category-list {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.works-category-btn {
  position: relative;
  width: 162px;
  height: 84px;
  background: var(--cat-color);
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 8px 12px;
  box-sizing: border-box;
  transition: opacity .2s ease, transform .2s ease;
}

.works-category-btn.is-dim {
  opacity: .55;
}

.works-category-btn.is-active {
  opacity: 1;
  transform: translateY(-3px);
}

.works-category-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 3px solid var(--cat-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.works-category-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.works-category-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}


/* 一覧 */
.works-list-section {
  padding: 36px 0 90px;
}

.works-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

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

.works-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  box-sizing: border-box;
}

.works-card-link {
  display: block;
  min-height: 360px;
  background: #fff;
  padding: 18px 18px 34px;
  color: #111;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform .2s ease, box-shadow .2s ease;
}

.works-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}

.works-card-img {
  aspect-ratio: 4 / 3;
  background: #e5e5e5;
  overflow: hidden;
  margin-bottom: 13px;
}

.works-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.works-noimage {
  width: 100%;
  height: 100%;
  color: #999;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.works-label {
  display: inline-block;
  min-width: 74px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 7px 12px;
  margin-bottom: 26px;
  box-sizing: border-box;
}

.works-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}

.works-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}


/* 詳細 */
.works-detail-section {
  padding: 64px 0 100px;
}

.works-detail-box {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  border: 3px solid #d8d8d8;
  background: #fff;
  color: #111;
  padding: 68px 84px 52px;
  box-sizing: border-box;
}

.works-detail-head {
  margin-bottom: 64px;
}

.works-detail-label {
  display: inline-block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 34px;
  margin-bottom: 28px;
}

.works-detail-head h2 {
  color: #231815;
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
}

.works-detail-head p {
  color: #231815;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.works-detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.works-detail-main img,
.works-detail-sub img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.works-detail-main {
  min-height: 360px;
}

.works-detail-sub {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.works-detail-comment {
  margin-top: 36px;
  color: #ddd;
  font-size: 16px;
  line-height: 1.9;
}

.works-detail-back {
  text-align: center;
  margin-top: 46px;
}

.works-detail-back a {
  display: inline-block;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  text-decoration: none;
  padding: 12px 42px;
  font-size: 14px;
}

.works-detail-back a:hover {
  background: #fff;
  color: #000;
}

.works-empty {
  color: #fff;
  text-align: center;
  font-size: 16px;
  padding: 50px 0;
}


/* 写真だけモーダル */
.works-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.works-photo-modal.is-open {
  display: block;
}

.works-photo-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.76);
  z-index: 1;
}

.works-photo-modal-img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  max-width: min(1100px, calc(100vw - 150px));
  max-height: calc(100vh - 110px);
  transform: translate(-50%, -50%);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  pointer-events: auto;
}

.works-photo-close {
  position: absolute;
  top: 28px;
  right: 32px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.works-photo-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: #333;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.works-photo-prev {
  left: 38px;
}

.works-photo-next {
  right: 38px;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .works-hero {
    height: 330px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-detail-box {
    padding: 54px 36px 42px;
  }

  .works-detail-gallery {
    grid-template-columns: 1fr;
  }

  .works-detail-sub {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .works-title h1 {
    font-size: 34px;
  }

  .works-hero {
    height: 260px;
  }

  .works-category-heading {
    min-width: 0;
    width: min(320px, 100%);
    padding: 9px 20px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-card-link {
    min-height: auto;
    
  }

  .works-detail-box {
    padding: 42px 20px 34px;
  }

  .works-detail-head h2 {
    font-size: 27px;
  }

  .works-detail-sub {
    grid-template-columns: 1fr;
  }

  .works-photo-modal-img {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
  }

  .works-photo-arrow {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .works-photo-prev {
    left: 14px;
  }

  .works-photo-next {
    right: 14px;
  }
}

.stalker,
#cursorImg,
#circle1,
#circle2,
#circle3 {
  position: fixed;
  pointer-events: none !important;
  z-index: 1000000 !important;
}