@charset "UTF-8";
/*
Theme Name:FUJIMOTO DESIGN Original Theme
Description:FUJIMOTO DESIGN WordPressテーマ
Author:Brai Gayo
Version:1.0.4
*/

/* ============================================
   スライダー
   ============================================ */

.swiper {
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.swiper-slide {
  height: 70vh;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 70vh;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
}

/* ============================================
   トップページ 2カラム
   ============================================ */

.top-works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  border-top: 1px solid #e8e8e8;
  background: #fff;
}

.top-col {
  border-right: 1px solid #e8e8e8;
  background: #fff;
  min-width: 0;
}

.top-col:last-child {
  border-right: none;
}

/* カラムヘッダー */
.top-col-header {
  padding: 32px 24px 20px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}

.top-col-catch {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 6px;
}

.top-col-ja {
  font-size: 11px;
  color: #aaa;
  margin: 0;
}

/* グリッド */
.top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

/* カード */
.top-card {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
}

.top-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.top-card a:hover img {
  opacity: 0.85;
  transition: opacity 0.2s;
}

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

.top-card-body {
  padding: 10px 12px 14px;
  background: #fff;
}

.top-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

.top-card-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
  margin: 0;
  flex: 1;
}

.top-card-year {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.top-card-tag {
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid #e0e0e0;
  color: #888;
  background: #fff;
}

/* ============================================
   作品詳細ページ
   ============================================ */

.work-detail {
  width: 100%;
  margin: 0;
  padding: 0;
}

.work-hero {
  width: 100%;
}

.work-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.work-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 4%;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.work-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.work-meta-tag {
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid #e0e0e0;
  color: #888;
}

.work-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #513530;
}

.work-client {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.work-year {
  font-size: 12px;
  color: #aaa;
}

.work-text {
  font-size: 13px;
  line-height: 2;
  color: #444;
}

.work-gallery {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 4%;
}

.work-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.work-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px 4%;
  border-top: 1px solid #e8e8e8;
  max-width: 1400px;
  margin: 0 auto;
}

.work-nav a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
}

.work-nav a:hover {
  color: #000;
}

/* ホームページのヘッダーの高さをリセット */
.home header.page-header {
  height: auto !important;
}