/* =====================
   CSS カスタムプロパティ
   ここを変更するだけでサイト全体の色・グラデーションが変わります
===================== */

:root {
  /* ▼ グラデーション（自由に変更してください） */
  --hero-gradient:  linear-gradient(90deg, #575757, #8c8c8c);
  --footer-gradient:linear-gradient(90deg, #575757, #b2b2b2);
--bg-body:  linear-gradient(90deg, #575757, #8c8c8c);

  /* アクセントカラー */
  --accent:      #f8a25c;
  --accent-dark: #986832;

  /* テキスト */
  --text-dark:  #1a1a1a;
--text-light: #d0d0d0;
  /* 背景 */
  --bg-white: radial-gradient(#d7d7d7, #c0c0c0);


  /* ボーダー */
  --border: #e5e5e5;

  /* フォント */
  --font-en:       'Montserrat', sans-serif;
  --font-en-serif: 'Cormorant Garamond', serif;
  --font-ja:       'Noto Sans JP', sans-serif;

  /* レイアウト */
  --max-w:       1100px;
  --section-pad: 4rem 1.25rem;
  --header-h:    56px;
}


/* =====================
   トップページ：セクションをカード化
===================== */
.page-top #about,
.page-top #works,
.page-top #contact {
  background: transparent;
  position: relative;
}
.page-top #about::before {
  display: none;
}
/* セクション見出し */
.page-top .section-heading h2 {
  color: #fff;
}
 
/* 見出し装飾ライン */
.page-top .section-heading::after {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.6) 0px,
    rgba(255,255,255,0.6) 4px,
    transparent 4px,
    transparent 8px
  );
}
 
/* About テキスト */
.page-top .about-text p {
  color: rgba(75, 75, 75, 0.88);
}
 
.page-top .about-link {
  color: rgba(75, 75, 75, 0.88);
  border-color: #fff;
}
 
/* Contact テキスト */
.page-top .contact-item h3 {
  color: rgba(75, 75, 75, 0.88);
}
 
.page-top .contact-item a {
  color: rgba(49, 49, 49, 0.88);
  border-color: rgba(255,255,255,0.4);
}
 
.page-top .contact-item a:hover {
  color: rgba(75, 75, 75, 0.88);
  border-color: #fff;
}
 
/* works-more リンク */
.page-top .works-more a {
  color: rgb(208, 208, 208);
  font-size: 1.2rem;
  border-color: #fff;
}
 
/* カードは白を維持 */
.page-top .work-card {
  background: var(--bg-white);
}
 
/* =====================
   リセット & ベース
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-ja);
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--bg-body);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =====================
   ユーティリティ
===================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
  /* ページ背景グラデーション */
main {
  padding-top: var(--header-h);
  background-image: url(../img/common/bg1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  width: 100svw;
}

/* =====================
   ページ遷移フェード
===================== */
#page-fade {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
 
/* フェードイン：白を消す */
#page-fade.fade-in {
  opacity: 0;
}
 
/* フェードアウト：白で覆う */
#page-fade.fade-out {
  opacity: 1;
}
/* =====================
   ハンバーガートグル（非表示）
===================== */
#menu-toggle {
  display: none;
}

/* =====================
   HEADER
===================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-logo {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* PCナビ → SP では非表示 */
.nav-links {
  display: none;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ハンバーガーアイコン */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* ハンバーガー → ✕ 変化 */
#menu-toggle:checked ~ header .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

#menu-toggle:checked ~ header .nav-toggle span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ header .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* =====================
   SP ドロワーメニュー
===================== */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: 75vw;
  max-width: 280px;
  height: calc(100dvh - var(--header-h));
   background-image: radial-gradient(#bdbdbd, #b0b0b0);
  border-left: 1px solid var(--border);
  z-index: 99;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

#menu-toggle:checked ~ .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.35s;
}

#menu-toggle:checked ~ .mobile-menu-overlay {
  display: block;
  opacity: 1;
}

.mobile-menu-section {
  margin-bottom: 2rem;
}

.mobile-menu-section h3 {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.mobile-menu-section li {
  padding: 0.4rem 0;
  border-bottom: .25px solid var(--border);
}

.mobile-menu-section a {
  font-family: var(--font-ja);
  font-size: 1.3rem;
  color: var(--text-mid);
}


/* =====================
   HERO
===================== */
.hero {
  background: var(--hero-gradient);
  padding: 4rem 1.25rem 3rem;
  min-height: 160px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-left: 2rem;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-title {
  font-family: var(--font-ja);
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #ffffff;
}


/* =====================
   PAGE NAVIGATION
===================== */
.wh-pagenav {
  padding: 2.5rem 1.25rem;
}

.pagenav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  padding-bottom: 15px;
}

 .pagenav-list a {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  transition: color 0.2s;
}

.wh-pagenav .pagenav-list a:hover {
  color: var(--accent);
}


/* =====================
   FOOTER
===================== */
footer {
  background: #1a1a1a;
  padding: 2rem 1.25rem;
}

.footer-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-copy {
  text-align: center;
}

.back-top {
  position: absolute;
  right: 0;
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

.back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  transition: background 0.2s;
  flex-shrink: 0;
}

.back-top:hover {
  background: rgba(255, 255, 255, 0.15);
}

.back-top svg {
  width: 16px;
  height: 16px;
}
@media (min-width: 960px) {
  :root {
    --header-h:    64px;
    --section-pad: 5.5rem 2rem;
  }

  /* PCナビ表示 / ハンバーガー非表示 */
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }

  .nav-inner {
    padding: 0 2rem;
  }
  .page-top .works-more a{
    font-size: 1.3rem;
  }
}