/* 全体リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --color-bg:       #faf8f5;
  --color-ink:      #3a3128;
  --color-mid:      #6b5f52;
  --color-light:    #d4c9bc;
  --color-rule:     #e0d8cf;
  --color-award:    #b07d4a;
  --font-serif:     "Cormorant Garamond", serif;
  --font-sans:      "Inter", sans-serif;
  --font-jp:        "Noto Sans JP", sans-serif;
}

/* ヘッダー */
.header {
  width: 100%;
  padding: 20px 40px;
}

/* 中身 */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.logo img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  margin-left: 100px;
}

/* ナビ */
.nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav a {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
    color: #9c8f7a; /* くすみベージュ */
    transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.6;
}

/* =============================================
   FIRST VIEW
   ============================================= */
.fv-band {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  background-image: url("images/fv.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
 
 
/* =============================================
   WORKS SECTION
   ============================================= */
.works {
  width: 100%;
  background-color: var(--color-bg);
  padding-bottom: 140px;
}
 
.works-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}
 
 
/* ---- セクション見出し ---- */
.works-heading {
  padding-top: 96px;
  margin-bottom: 40px;
}
 
.works-heading-title {
  letter-spacing: 10px;
  color: var(--color-ink);
    font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 200;
}
 
 
/* ---- フィルター ---- */
.works-filter {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
}
 
.filter-btn {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--color-light);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
 
.filter-btn:hover {
  color: var(--color-mid);
}
 
.filter-btn.active {
  color: var(--color-ink);
  border-bottom-color: var(--color-ink);
}
 
 
/* ---- 区切り線 ---- */
.works-rule {
  border: none;
  border-top: 1px solid var(--color-rule);
}
 
 
/* =============================================
   WORK ROW
   ============================================= */
.work-row {
  padding: 56px 0 0;
  transition: background-color 0.3s ease;
}
 
 
/* =============================================
   画像エリア
   ============================================= */
.work-image-wrap {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background-color: #ece8e3;
  text-decoration: none;
}
 
.work-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
 
.work-image-wrap:hover .work-image {
  transform: scale(1.03);
}
 
/* ホバーオーバーレイ */
.work-image-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px 28px;
  opacity: 0;
  transition: opacity 0.35s ease;
  /* 画像にほんのり温かみのある幕 */
  background: linear-gradient(
    to top,
    rgba(58, 49, 40, 0.28) 0%,
    transparent 55%
  );
}
 
.work-image-wrap:hover .work-image-hover {
  opacity: 1;
}
 
.work-image-hover span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3.5px;
  color: #fff;
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.55);
}
 
 
/* =============================================
   画像下のフッター行
   ============================================= */
.work-row-foot {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 28px;
  padding-bottom: 52px;
}
 
 
/* ---- 番号カラム ---- */
.work-num-col {
  flex-shrink: 0;
  width: 88px;
  padding-top: 2px;
}
 
.work-index {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: #ede7df;
  letter-spacing: -1px;
  user-select: none;
  /* ホバーで数字が少し濃くなる */
  transition: color 0.35s ease;
}
 
.work-row:hover .work-index {
  color: #d4c9bc;
}
 
 
/* ---- 情報カラム ---- */
.work-info-col {
  flex: 1;
  min-width: 0;
  padding-right: 32px;
}
 
.work-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
 
.work-category {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--color-mid);
  text-transform: uppercase;
}
 
.work-award-badge {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-award);
  letter-spacing: 0.5px;
}
 
.work-tag-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--color-light);
}
 
.work-title {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
 
.work-row:hover .work-title {
  color: #1e1810;
}
 
.work-desc {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 300;
  line-height: 2.1;
  color: #5a4f44;
}
 
 
/* ---- VIEW リンク ---- */
.work-view-link {
  flex-shrink: 0;
  align-self: flex-end;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3.5px;
  color: var(--color-mid);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--color-rule);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
 
.work-view-link:hover {
  color: var(--color-ink);
  border-color: var(--color-ink);
}
 
 
/* =============================================
   GRAPHIC GRID（マスonry）
   ============================================= */
.graphic-grid {
  columns: 3;
  column-gap: 10px;
}
 
.graphic-item {
  display: block;
  position: relative;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 10px;
  background-color: #ece8e3;
  text-decoration: none;
}
 
.graphic-item .work-image {
  display: block;
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
 
.graphic-item:hover .work-image {
  transform: scale(1.04);
}
 
.graphic-item .work-image-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(58, 49, 40, 0.32) 0%,
    transparent 60%
  );
}
 
 /* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  width: 100%;
  background-color: #f5f1ec;
  padding-bottom: 140px;
}

.about-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}


/* ---- セクション見出し ---- */
.about-heading {
  padding-top: 96px;
  margin-bottom: 56px;
}

.about-heading-label {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--color-light);
  margin-bottom: 6px;
}

.about-heading-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 200;
  letter-spacing: 10px;
  color: var(--color-ink);
}

/* ---- 左右レイアウト ---- */
.about-body {
  display: flex;
  align-items: flex-start;
  gap: 72px;
}


/* ---- 写真 ---- */
.about-photo {
  flex-shrink: 0;
  width: 34%;
}

.about-photo img {
  width: 85%;
  height: auto;
  display: block;
  border-radius: 4px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}


/* ---- テキストエリア ---- */
.about-content {
  flex: 1;
  padding-top: 8px;
}

.about-name-block {
  margin-bottom: 32px;
}

.about-name-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-light);
  margin-top: 8px;
}
.about-name {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--color-ink);
}

.about-text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 300;
  line-height: 2.1;
  color: var(--color-mid);
  margin-bottom: 16px;
}


/* ---- SERVICE ---- */
.about-services {
  border-top: 1px solid var(--color-rule);
  padding-top: 16px;
  margin-top: 32px;
  margin-bottom: 24px;
}

.about-services-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--color-light);
  margin-bottom: 14px;
}

.about-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.about-services-list li {
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-ink);
  background-color: #fff;
  border: 1px solid var(--color-rule);
  padding: 6px 14px;
}


/* ---- TOOLS ---- */
.about-tools {
  border-top: 1px solid var(--color-rule);
  padding-top: 16px;
}

.about-tools-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--color-light);
  margin-bottom: 14px;
}

.about-tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.about-tools-list li {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--color-mid);
  border: 1px solid var(--color-rule);
  padding: 5px 14px;
}

/* =============================================
   CONTACT SECTION（強化版）
   ============================================= */
 
/* ---- 背景：グラデーションがゆっくり動く ---- */
.contact {
  position: relative;
  width: 100%;
  padding: 140px 40px;
  overflow: hidden;
  background: linear-gradient(135deg, #3a3128 0%, #221e1a 50%, #3a3128 100%);
}
 

 
/* ---- 背景テクスチャ（ノイズ感） ---- */
.contact-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(176, 125, 74, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
 
.contact-inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
  z-index: 1;
}
 
.contact-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
 
/* ---- 装飾ライン ---- */
.contact-line {
  width: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
 
/* JSでcontact-activeクラスが付いたら広がる */
.contact.contact-active .contact-line {
  width: 100%;
}
 
/* ---- ラベル ---- */
.contact-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0s, transform 0.6s ease 0s;
}
 
.contact.contact-active .contact-label {
  opacity: 1;
  transform: translateY(0);
}
 
/* ---- タイトル ---- */
.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 200;
  letter-spacing: 14px;
  color: #fff;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
 
.contact.contact-active .contact-title {
  opacity: 1;
  transform: translateY(0);
}
 
/* ---- 説明文 ---- */
.contact-desc {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 300;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transition: opacity 0.7s ease 0.2s;
}
 
.contact-desc2 {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  transition: opacity 0.7s ease 0.3s;
}
 
.contact.contact-active .contact-desc,
.contact.contact-active .contact-desc2 {
  opacity: 1;
}
 
/* ---- ボタン ---- */
.contact-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 20px 56px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease 0.4s,
    transform 0.7s ease 0.4s,
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}
 
.contact.contact-active .contact-btn {
  opacity: 1;
  transform: translateY(0);
}
 
.contact-btn-text {
  position: relative;
  z-index: 1;
}
 
/* シマー（光が走る） */
.contact-btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  animation: btnShimmer 4s ease infinite 1.5s;
}
 
@keyframes btnShimmer {
  0%   { left: -100%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}
 
.contact-btn:hover {
  background-color: #fff;
  border-color: #fff;
  color: var(--color-ink);
}
 
.contact-btn:hover .contact-btn-shimmer {
  display: none;
}
 
 


/* =============================================
   スクロール REVEAL
   ============================================= */


/* 左からスライドイン */
.js-reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

/* 右からスライドイン */
.js-reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.js-reveal-left.is-visible,
.js-reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
}
 
/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }
 
  .nav ul { gap: 20px; }
 
  .nav a {
    font-size: 14px;
    letter-spacing: 1px;
  }
 
  .works-inner {
    padding: 0 20px;
  }
 
  .works-heading {
    padding-top: 64px;
  }
 
  .works-heading-title {
    letter-spacing: 6px;
  }
 
  .work-image-wrap {
    aspect-ratio: 4 / 3;
  }
 
  .work-num-col {
    width: 56px;
  }
 
  .work-index {
    font-size: 38px;
  }
 
  .work-info-col {
    padding-right: 16px;
  }
 
  .work-row-foot {
    gap: 0;
  }
 
  .work-view-link {
    display: none; /* SP では画像ホバーのVIEWのみ表示 */
  }
 
 .graphic-grid {
    columns: 2;
    column-gap: 8px;
  }

}
 
@media (max-width: 480px) {
  .work-num-col {
    display: none;
  }
 
  .work-info-col {
    padding-right: 0;
  }
}


/* =============================================
   ABOUT RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .about-inner {
    padding: 0 20px;
  }

  .about-heading {
    padding-top: 64px;
    margin-bottom: 40px;
  }

  .about-heading-title {
    letter-spacing: 6px;
  }

  .about-body {
    flex-direction: column;
    gap: 36px;
  }

  .about-photo {
    width: 70%;
  }
}

@media (max-width: 480px) {
  .about-photo {
    width: 100%;
  }
}
/* =============================================
   CONTACT RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .contact {
    padding: 100px 20px;
  }
 
  .contact-title {
    letter-spacing: 8px;
  }
 
  .contact-btn {
    padding: 18px 40px;
    font-size: 13px;
  }
}