@charset "UTF-8";
/* ===================================
   WORKS PAGE - メディアサイト風デザイン
   ONE CAREER / リブセンス 参考
=================================== */
.works-page {
  background: #fff;
}

/* Hero Section */
.works-hero {
  background: #f8f8f8;
  padding: 60px 0;
  border-bottom: 1px solid #e5e5e5;
}

@media screen and (max-width: 768px) {
  .works-hero {
    padding: 40px 0;
  }
}

.works-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (max-width: 768px) {
  .works-hero__inner {
    padding: 0 20px;
  }
}

.works-hero__title {
  font-size: 4.8rem;
  font-weight: 800;
  color: #000;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .works-hero__title {
    font-size: 3.2rem;
  }
}

.works-hero__subtitle {
  font-size: 1.4rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* Container - 2カラムレイアウト */
.works-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 280px;
      grid-template-columns: 1fr 280px;
  gap: 80px;
}

@media screen and (max-width: 768px) {
  .works-container {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 60px;
    padding: 40px 20px;
  }
}

/* Main Content */
.works-main {
  min-width: 0;
}

/* Category Tabs */
.category-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

@media screen and (max-width: 768px) {
  .category-tabs {
    margin-bottom: 40px;
  }
}

.category-tab {
  display: inline-block;
  padding: 8px 20px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  background: #f8f8f8;
  border: none;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .category-tab {
    font-size: 1.3rem;
    padding: 6px 16px;
  }
}

.category-tab:hover {
  background: #eee;
  color: #000;
}

.category-tab.is-active {
  background: #000;
  color: #fff;
}

/* Works List */
.works-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

@media screen and (max-width: 768px) {
  .works-list {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Works Item */
.works-item {
  /* Featured Item (最初の実績) */
}

.works-item__link {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.works-item__link:hover {
  opacity: 0.7;
}

.works-item--featured {
  grid-column: 1 / -1;
}

.works-item--featured .works-item__image {
  height: 400px;
}

@media screen and (max-width: 768px) {
  .works-item--featured .works-item__image {
    height: 240px;
  }
}

.works-item--featured .works-item__title {
  font-size: 2.4rem;
}

@media screen and (max-width: 768px) {
  .works-item--featured .works-item__title {
    font-size: 1.9rem;
  }
}

.works-item__image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f5f5;
}

@media screen and (max-width: 768px) {
  .works-item__image {
    height: 220px;
  }
}

.works-item__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.works-item__link:hover .works-item__image img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.works-item__meta {
  margin-bottom: 12px;
}

.works-item__category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #000;
  background: #f0f0f0;
  border-radius: 3px;
}

@media screen and (max-width: 768px) {
  .works-item__category {
    font-size: 1.1rem;
    padding: 3px 10px;
  }
}

.works-item__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0;
}

@media screen and (max-width: 768px) {
  .works-item__title {
    font-size: 1.6rem;
  }
}

/* Empty State */
.works-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 120px 0;
  color: #999;
  font-size: 1.6rem;
}

/* Pagination */
.works-pagination {
  grid-column: 1 / -1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid #e5e5e5;
}

@media screen and (max-width: 768px) {
  .works-pagination {
    margin-top: 60px;
    padding-top: 60px;
  }
}

.works-pagination a, .works-pagination span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

@media screen and (max-width: 768px) {
  .works-pagination a, .works-pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

.works-pagination a:hover, .works-pagination span:hover {
  border-color: #000;
  color: #000;
}

.works-pagination a.current, .works-pagination span.current {
  background: #000;
  color: #fff;
  border-color: #000;
}

.works-pagination .prev, .works-pagination .next {
  font-size: 1.3rem;
}

@media screen and (max-width: 768px) {
  .works-pagination .prev, .works-pagination .next {
    font-size: 1.2rem;
  }
}

/* Sidebar */
@media screen and (max-width: 768px) {
  .works-sidebar {
    border-top: 1px solid #e5e5e5;
    padding-top: 60px;
  }
}

.sidebar-section {
  margin-bottom: 48px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000;
}

.sidebar-categories,
.sidebar-recent {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-categories li,
.sidebar-recent li {
  margin-bottom: 12px;
}

.sidebar-categories li:last-child,
.sidebar-recent li:last-child {
  margin-bottom: 0;
}

.sidebar-categories a,
.sidebar-recent a {
  display: block;
  font-size: 1.4rem;
  color: #666;
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
  padding: 4px 0;
}

@media screen and (max-width: 768px) {
  .sidebar-categories a,
  .sidebar-recent a {
    font-size: 1.3rem;
  }
}

.sidebar-categories a:hover,
.sidebar-recent a:hover {
  color: #000;
}

.sidebar-recent a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* ===================================
   SINGLE PAGE - 詳細ページ
=================================== */
.works-single {
  background: #fff;
}

.works-single__hero {
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #f5f5f5;
}

@media screen and (max-width: 768px) {
  .works-single__hero {
    height: 280px;
  }
}

.works-single__hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.works-single__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 120px;
}

@media screen and (max-width: 768px) {
  .works-single__container {
    padding: 40px 20px 80px;
  }
}

.works-single__breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  color: #999;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .works-single__breadcrumb {
    font-size: 1.2rem;
    margin-bottom: 32px;
  }
}

.works-single__breadcrumb a {
  color: #999;
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.works-single__breadcrumb a:hover {
  color: #000;
}

.works-single__breadcrumb span:last-child {
  color: #666;
}

.works-single__header {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e5e5e5;
}

@media screen and (max-width: 768px) {
  .works-single__header {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
}

.works-single__meta {
  margin-bottom: 20px;
}

.works-single__category {
  display: inline-block;
  padding: 5px 14px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #000;
  background: #f0f0f0;
  border-radius: 3px;
}

@media screen and (max-width: 768px) {
  .works-single__category {
    font-size: 1.1rem;
    padding: 4px 12px;
  }
}

.works-single__title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #000;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0;
}

@media screen and (max-width: 768px) {
  .works-single__title {
    font-size: 2.4rem;
  }
}

.works-single__content {
  font-size: 1.6rem;
  line-height: 2;
  color: #333;
}

@media screen and (max-width: 768px) {
  .works-single__content {
    font-size: 1.5rem;
  }
}

.works-single__content h2, .works-single__content h3, .works-single__content h4 {
  color: #000;
  font-weight: 700;
  margin: 48px 0 24px;
  line-height: 1.6;
}

.works-single__content h2 {
  font-size: 2.4rem;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e5e5;
}

@media screen and (max-width: 768px) {
  .works-single__content h2 {
    font-size: 2rem;
  }
}

.works-single__content h3 {
  font-size: 2rem;
}

@media screen and (max-width: 768px) {
  .works-single__content h3 {
    font-size: 1.8rem;
  }
}

.works-single__content p {
  margin-bottom: 28px;
}

.works-single__content strong {
  font-weight: 700;
  color: #000;
}

.works-single__content a {
  color: #0066cc;
  text-decoration: underline;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.works-single__content a:hover {
  opacity: 0.7;
}

.works-single__content img {
  max-width: 100%;
  height: auto;
  margin: 48px 0;
}

@media screen and (max-width: 768px) {
  .works-single__content img {
    margin: 32px 0;
  }
}

.works-single__content ul, .works-single__content ol {
  margin-bottom: 28px;
  padding-left: 24px;
}

.works-single__content ul li, .works-single__content ol li {
  margin-bottom: 8px;
}

.works-single__footer {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid #e5e5e5;
}

@media screen and (max-width: 768px) {
  .works-single__footer {
    margin-top: 60px;
    padding-top: 40px;
  }
}

.works-single__back {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 12px 24px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  background: #f8f8f8;
  border-radius: 4px;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

@media screen and (max-width: 768px) {
  .works-single__back {
    font-size: 1.3rem;
    padding: 10px 20px;
  }
}

.works-single__back:hover {
  background: #eee;
  color: #000;
}
/*# sourceMappingURL=works.css.map */