/*
/*
Theme Name: my-portfolio
Author: UEDA SENA
Description: UEDA SENAのWebデザイナーポートフォリオ用オリジナルテーマ
Version: 1.0
*/

/* --- 以降は元の style.css の内容をそのまま貼り付け --- */
/* UEDA SENA Portfolio — Figma design translated to semantic HTML/CSS */
@charset "UTF-8";

:root {
  --cream: #fffdf8;
  --brown: #8b6347;
  --brown-dark: #3d2b1a;
  --brown-text: #5c4030;
  --muted: #7a6050;
  --sand: #c4a882;
  --line: #ebe2d5;
  --pale: #f2e8dc;
  --sky: #d4ebf4;
  --sky-text: #4a90a8;
  --footer: #2a1a0e;
}

* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--brown-text);
  background: var(--cream);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { 
  max-width: 100%; 
  width: 100%;
  height: auto;
  display: block; }
a { color: inherit; text-decoration: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,253,248,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(139,99,71,.06);
}
.brand { width: 71px; height: 70px; display: grid; place-items: center; overflow: hidden; }
.brand img { width: 71px; height: 70px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 48px; }
.nav a {
  position: relative;
  font: 400 12px/1.2 "Inter", sans-serif;
  color: var(--muted);
  letter-spacing: .03em;
}
.nav a.active { color: var(--brown); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 40px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--brown);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}
.hero-bg { position: absolute; inset: 0; opacity: .5; }
.hero-photo {
  position: absolute;
  top: -64px;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 600px;
  object-fit: cover;
  opacity: .5;
  padding: 0;
  margin: 0;
}
.hero-vector {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 28.2%;
}
.hero-inner { 
  position: relative; 
  z-index: 1; 
  text-align: center; }
.hero h1 {
  margin: 0;
  color: var(--brown-dark);
  font: 300 108px/1.2 "Cormorant Garamond", serif;
  letter-spacing: .01em;
}
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 16px; }
.ornament span { width: 48px; height: 1px; background: var(--brown); }
.ornament i { width: 5px; height: 5px; border-radius: 50%; background: var(--brown); }
.hero-name p {
  margin: 0 0 8px;
  color: var(--brown-dark);
  font: 500 22px/1.2 "Cormorant Garamond", serif;
  letter-spacing: .08em;
}
.hero-name small { color: #7a5c40; font: 300 13px/1.2 "Inter", sans-serif; }

.section { padding: 128px 80px; }
.about {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 96px;
  background: var(--cream);
}
.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.profile-frame {
  width: 210px;
  height: 210px;
  border: 3px solid var(--sand);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(139,99,71,.19);
}
.profile-frame img { width: 100%; height: 100%; object-fit: cover; }

.socials { display: flex; gap: 16px; }
.socials a, .round-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(196,168,130,.25);
  background: var(--pale);
  border-radius: 50%;
}
.socials a { width: 36px; height: 36px; }
.socials img { width: 15px; height: 15px; }



.about-right { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.section-heading { display: flex; flex-direction: column; gap: 14px; }
.section-heading.left { align-items: flex-start; }
.section-heading.center { align-items: center; text-align: center; }
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brown);
  font: 400 11px/1.2 "Inter", sans-serif;
  letter-spacing: .04em;
}
.section-label span { width: 28px; height: 2px; background: var(--brown); border-radius: 1px; }
.section-heading h2 {
  margin: 0;
  color: var(--brown-dark);
  font: 400 34px/1.2 "Noto Serif JP", serif;
}
.section-heading > p {
  margin: -2px 0 0;
  color: var(--muted);
  font: 300 15px/1.8 "Noto Sans JP", sans-serif;
}

.lead-text {
  margin: 0;
  color: var(--brown-text);
  font: 300 15px/2.1 "Noto Sans JP", sans-serif;
}

.hobby-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #faf5ec;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hobby-copy { flex: 1; min-width: 0; }
.hobby-copy h3 { margin: 0 0 4px; color: var(--brown-dark); font: 400 15px/1.2 "Noto Serif JP", serif; }
.hobby-copy p { margin: 0; color: var(--muted); font: 300 13px/1.2 "Noto Sans JP", sans-serif; }
.pill-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid rgba(196,168,130,.33);
  border-radius: 999px;
  color: var(--brown);
  font: 400 12px/1.2 "Noto Sans JP", sans-serif;
  white-space: nowrap;
}
.pill-link img { width: 12px; height: 12px; }

.skills { display: flex; flex-direction: column; gap: 14px; }
.sub-label { display: flex; align-items: center; gap: 8px; color: #a89080; font: 400 11px/1.2 "Inter", sans-serif; }
.sub-label span { width: 16px; height: 1px; background: var(--sand); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 7px 18px;
  background: var(--pale);
  border: 1px solid rgba(196,168,130,.27);
  border-radius: 999px;
  color: #6b4e30;
  font: 400 12px/1.2 "Noto Sans JP", sans-serif;
}

.works { 
  background: #fff; 
  display: flex; 
  flex-direction: 
  column; gap: 64px; 
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.work-card {
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(139,99,71,.07);
}
.thumb {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.thumb-1 { background: linear-gradient(110deg, #ddd0c0, #ede3d6); }
.thumb-2 { background: linear-gradient(110deg, #c4d9e2, #d8e8ec); }
.thumb-3 { background: linear-gradient(110deg, #e2d5c4, #ede3d6); }
.thumb > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.thumb img { 
  width: auto; 
  max-width: 100%;
  height: 200px; 
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.thumb span { font: 300 10px/1.2 "Inter", sans-serif; color: #b89870; letter-spacing: .04em; }
.thumb-2 span { color: #6090a8; }


.card-info { padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; }
.card-meta .type {
  padding: 4px 12px;
  border: 1px solid rgba(122,184,204,.25);
  border-radius: 999px;
  background: var(--sky);
  color: var(--sky-text);
  font: 400 11px/1.2 "Inter", sans-serif;
}
.card-meta img { width: 14px; height: 14px; }
.card-info h3 { margin: 0; color: var(--brown-dark); font: 400 18px/1.2 "Noto Serif JP", serif; }
.card-info > p { margin: 0; color: #a89080; font: 300 13px/1.2 "Noto Sans JP", sans-serif; }
.card-info hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 2px 0; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { padding: 3px 10px; border-radius: 999px; background: var(--pale); color: var(--brown); font: 400 11px/1.2 "Inter", sans-serif; }
.card-footer time { color: var(--sand); font: 300 11px/1.2 "Inter", sans-serif; white-space: nowrap; }

.contact { background: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 64px; }
.contact-form { width: min(620px, 100%); display: flex; flex-direction: column; gap: 22px; }
.contact-form label { display: flex; align-items: center; gap: 6px; color: var(--brown-text); font: 400 13px/1.2 "Noto Sans JP", sans-serif; }
.contact-form em {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fde8d8;
  color: #b07040;
  font: normal 400 10px/1.2 "Noto Sans JP", sans-serif;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: -14px;
  padding: 0 20px;
  color: var(--brown-text);
  background: #fff;
  border: 1px solid rgba(196,168,130,.33);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(139,99,71,.03);
  outline: none;
  font: 300 14px/1.5 "Noto Sans JP", sans-serif;
}
.contact-form input { height: 54px; }
.contact-form textarea { height: 180px; padding-top: 18px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--sand); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--sand); }
.contact-form button {
  align-self: center;
  width: 320px;
  height: 58px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  color: #fff5ec;
  background: linear-gradient(190deg, #9e7252 15%, #7a5030 85%);
  box-shadow: 0 8px 16px rgba(139,99,71,.19);
  cursor: pointer;
  font: 400 13px/1.2 "Inter", sans-serif;
  letter-spacing: .02em;
}
.contact-form button img { width: 15px; height: 15px; }

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 20px 0;
  text-align: center;
  color: #a89080;
  background: linear-gradient(110deg, #1e1208, #2a1a0e);
}

.footer_copy{
  text-align: center;
}

/* 制作実績（WORKS）の画像を確実に中央寄せにする設定 */
.work-card .thumb {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
  background: var(--cream) !important; /* カードと同じクリーム色に統一 */
  background-image: none !important;  /* グラデーションを削除 */
}

.work-card .thumb img {
  width: auto !important;
  max-width: 100% !important;
  height: 200px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}

/* 制作実績 詳細ページのメイン画像枠を白色・真ん中寄せにする */
.work-detail-thumb {
  background: #faf7f2 !important;         /* 背景色を変更 */
  background-image: none !important;     /* グラデーションを削除 */
  display: flex !important;
  justify-content: center !important;    /* 左右中央寄せ */
  align-items: center !important;        /* 上下中央寄せ */
  padding: 0 !important;
}

.work-detail-thumb-inner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.work-detail-thumb-inner img {
  margin: 0 auto !important;             /* 画像を完全に真ん中へ */
  max-width: 90% !important;
  max-height: 90% !important;
  object-fit: contain !important;
}

/* =========================================================
   Modal for Works Detail Page
   ========================================================= */

/* 1. モーダル本体（背景） */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* モーダル表示時のクラス */
.modal-container.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* モーダル背景の黒透過 */
.modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

/* モーダルコンテンツ領域 */
.modal-content {
  position: relative;
  z-index: 10000;
  width: 90%;
  max-width: 900px; /* 横幅の最大値を指定して画像が細くなりすぎるのを防止 */
  max-height: 85vh;
  overflow-y: auto;  /* 縦長画像がスクロールできるようにする */
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* モーダル内の画像設定 */
.modal-content img {
  width: 100%;      /* 横幅いっぱいに広げる */
  height: auto;     /* 縦横比を維持 */
  display: block;
  margin: 0 auto;
}

/* 閉じるボタン */
.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--brown);
}

/* 2. メイン画像のマウスカーソルをポインターにする */
.work-detail-thumb-inner a {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
}

.work-detail-thumb-inner img {
  transition: transform 0.3s ease;
}

.work-detail-thumb-inner a:hover img {
  transform: scale(1.02);
}


@media (max-width: 1000px) {
  .header, .section, .footer { padding-left: 40px; padding-right: 40px; }
  .nav { gap: 26px; }
  .about { grid-template-columns: 240px minmax(0,1fr); gap: 50px; }
  .hero h1 { font-size: 84px; }
  .works-grid { grid-template-columns: 1fr; max-width: 620px; width: 100%; margin-inline: auto; }
}

@media (max-width: 700px) {
  .header { height: 64px; padding: 0 20px; }
  .brand, .brand img { width: 52px; height: 54px; }
  .nav { gap: 15px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 9px; }
  .nav a.active::after { bottom: -8px; width: 28px; }

  .hero { min-height: 620px; }
  .hero-photo { top: 0; height: 100%; min-height: 0; object-fit: cover; }
  .hero h1 { font-size: clamp(54px, 16vw, 76px); }
  .hero-name p { font-size: 19px; }

  .section { padding: 88px 20px; }
  .about { display: flex; flex-direction: column; gap: 50px; }
  .about-left { width: 100%; }
  .about-right { gap: 32px; }
  .profile-frame { width: 180px; height: 180px; }
  .lead-text { font-size: 14px; line-height: 2; }
  .hobby-card { align-items: flex-start; flex-wrap: wrap; }
  .hobby-copy { min-width: calc(100% - 60px); }
  .pill-link { margin-left: 60px; }

  .works, .contact { gap: 48px; }
  .works-grid { gap: 20px; }
  .thumb { height: 220px; }
  .contact-form button { width: 280px; }

  .footer { padding: 50px 20px 35px; }

}

@media (max-width: 420px) {
  .nav { gap: 10px; }
  .nav a { font-size: 8px; }
  .section-heading h2 { font-size: 29px; }
  .hero { min-height: 560px; }

}

/* gallery */
:root{
  --cream:#fffdf8;
  --white:#fff;
  --brown-dark:#3d2b1a;
  --brown:#8b6347;
  --brown-text:#5f4432;
  --muted:#7a6050;
  --light:#a89080;
  --sand:#c4a882;
  --line:#ebe2d5;
  --sky:#d4ebf4;
  --sky-text:#4a90a8;
  --footer:#2a1a0e;
}

*{
  box-sizing:border-box}

html{
  scroll-behavior:smooth}

body{
  margin:0;
  background:var(--cream);
  color:var(--brown-dark);
  font-family:"Inter","Noto Sans JP",sans-serif;font-weight:300}

a{
  color:inherit;
  text-decoration:none}

img{
  display:block;
  max-width:100%}
  
button{
  font:inherit}

.site-header{
  height:72px;
  padding:0 80px;
  background:var(--cream);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 8px rgba(139,99,71,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;z-index:20}
  
.header-logo{
  width:71px;
  height:70px;
  display:block}
  
.header-logo img{
  width:100%;
  height:100%;
  object-fit:cover}
  
.global-nav{
  display:flex;
  align-items:center;
  gap:48px;
  height:100%}
  
.global-nav a{
  font-size:12px;
  line-height:14.4px;
  color:var(--muted);
  position:relative}
  
.global-nav a.is-active{
  color:var(--brown)}
  
.global-nav a.is-active span{
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  width:40px;
  height:2px;
  border-radius:2px;
  background:var(--brown)}

.gallery-hero{
  height:560px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff}
  
.hero-bg{
  position:absolute;
  inset:0;
  opacity:.5;
  overflow:hidden}
  
.hero-bg img{
  position:absolute;
  width:1440px;
  height:960px;
  left:50%;
  top:-131px;
  transform:translateX(-50%);
  max-width:none;
  object-fit:cover}
  
.hero-content{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  text-align:center}
  
.hero-label,.cta-label{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--brown)}
  
.hero-label i{
  width:40px;
  height:1px;
  background:var(--sand);
  border-radius:1px}
  
.hero-label span{
  font-size:12px;
  line-height:14.4px}
  
.hero-content h1{
  margin:0;
  font-family:"Cormorant Garamond",serif;
  font-size:96px;
  line-height:1.2;
  font-weight:300;
  letter-spacing:-.02em}
  
.hero-divider{
  display:flex;
  align-items:center;
  gap:10px}
  
.hero-divider i{
  width:40px;
  height:1px;
  background:var(--sand);
  border-radius:1px}
  
.hero-divider b{
  width:4px;
  height:4px;
  background:var(--sand);
  border-radius:50%}
  
.hero-content p{
  margin:0;
  font-family:"Noto Serif JP",serif;
  font-size:16px;
  line-height:28.8px;
  color:var(--brown-text)}


.gallery-main{
  padding:80px;
  background:var(--cream)}
  
.gallery-section{
  width:100%}
  
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px}
  
.section-title{
  display:flex;
  align-items:center;
  gap:10px}

.section-title i{
  width:20px;
  height:2px;
  background:var(--brown);
  border-radius:1px}
  
.section-title span{
  font-size:12px;
  line-height:14.4px;
  color:var(--brown)}

.photo-count,.sort{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--sand);
  font-size:12px;
  line-height:14.4px}

.photo-count img{
  width:14px;
  height:14px}
  
.sort{
  color:var(--light)}
  
.sort img{
  width:13px;
  height:13px}
  
.photo-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px}
  
.photo-card{
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(139,99,71,.07);
  min-width:0}
  
.photo-thumb{
  height:240px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px}
  
.photo-thumb img{
  width:100%;
  height:auto;
  object-fit:contain}
  
.photo-thumb span{
  font-size:10px;
  line-height:12px;
  letter-spacing:.02em}
  
.nature{
  background:linear-gradient(90deg,#a8c4a4,#c4d8c0);
  color:#7a9868}
  
.golden{
  background:linear-gradient(90deg,#d8caa8,#eae0c8);
  color:#c09848}
  
.water{
  background:linear-gradient(90deg,#a8c4d8,#c4d8e8);
  color:#4a88a8}
  
.flower{
  background:linear-gradient(90deg,#e0d0b4,#eee4d0);
  color:#c4a060}

.city{
  background:linear-gradient(90deg,#c4b8a8,#d8d0c4);
  color:#8a7860}
  
.leaf{
  background:linear-gradient(90deg,#a4c8bc,#c4dcd4);
  color:#488a78}
  
.cafe{
  background:linear-gradient(90deg,#d8c4a8,#e8d8c4);
  color:#b88c60}
  
.night{
  background:linear-gradient(90deg,#c4b4d0,#d8cce0);
  color:#7a6898}
  
.photo-info{
  background:var(--cream);
  padding:14px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:5px}
  
.photo-info>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px}
  
.tag{
  padding:3px 10px;
  border-radius:999px;
  font-size:10px;
  line-height:12px;
  border:1px solid transparent}
  
.tag.sky{
  background:var(--sky);
  border-color:rgba(122,184,204,.25);
  color:var(--sky-text)}
  
.tag.brown{
  background:#f2e8dc;
  border-color:rgba(196,168,130,.27);
  color:var(--brown)}
  
time{
  font-size:11px;
  line-height:13.2px;
  color:var(--sand);
  white-space:nowrap}
  
.photo-info h2{
  margin:0;
  font-family:"Noto Serif JP",serif;
  font-size:14px;
  line-height:16.8px;
  font-weight:400;
  white-space:nowrap}
  
.section-divider{
  height:1px;
  background:var(--line);
  margin:72px 0}
  
.all-photos .section-title span{
  font-size:11px;
  line-height:13.2px}
  
.load-more-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding-top:16px}
  
.load-more{
  width:260px;
  height:54px;
  border-radius:999px;
  border:1px solid rgba(196,168,130,.33);
  background:#faf5ec;
  color:var(--brown);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer}
  
.load-more img{
  width:16px;
  height:16px}
  
.load-more-wrap>span{
  font-size:12px;
  line-height:14.4px;
  color:var(--sand)}

.gallery-cta{
  padding:96px 80px;
  background:linear-gradient(90deg,#f0e8d8,#faf5ec);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px}
  
  .cta-text{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    text-align:center}
    
  .cta-label{
    gap:10px}
    
  .cta-label i{
    width:28px;
    height:2px;
    background:var(--brown)}
  
  .cta-label span{
    font-size:11px;
    line-height:13.2px}
    
  .cta-text h2{
    margin:0;
    font-family:"Cormorant Garamond","Noto Serif JP",serif;
    font-weight:300;
    font-size:48px;
    line-height:57.6px}
    
  .cta-text p{
    margin:0;
    font-family:"Noto Serif JP",serif;
    font-size:16px;
    line-height:28.8px;
    color:var(--muted)}
    
  .cta-buttons{
    display:flex;
    align-items:center;
    gap:20px}
    
  .btn{
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:999px;
    padding:16px 32px;
    font-family:"Noto Sans JP",sans-serif;
    font-size:14px;
    line-height:16.8px}
    
  .btn img{
    width:14px;
    height:14px}
    
  .btn.primary{
    background:var(--brown);
    color:#fff5ec;
    box-shadow:0 6px 12px rgba(139,99,71,.19)}
    
  .btn.secondary{
    background:#faf5ec;
    border:1px solid rgba(196,168,130,.33);
    color:var(--brown)}

.site-footer{
  padding:64px 80px 48px;
  background:linear-gradient(90deg,#1e1208,#2a1a0e);
  color:#a89080}
  
  /* 1つ目のセクションのカラー帯・背景色を非表示にする */
.photo-thumb::before,
.photo-thumb::after {
  display: none !important;
  background: none !important;
  border: none !important;
}

/* 背景カラーが付いている場合の打ち消し */
.photo-thumb.nature,
.photo-thumb.golden,
.photo-thumb.water,
.photo-thumb.flower,
.photo-thumb.city,
.photo-thumb.leaf,
.photo-thumb.cafe,
.photo-thumb.night {
  background: transparent !important;
  border: none !important;
}

/* 写真カード全体の背景色をすべて白色に統一する */
.photo-thumb {
  background: #fff !important;
  background-color: #fff !important;
}

/* もし帯や枠線の擬似要素が残っている場合の打ち消し */
.photo-thumb::before,
.photo-thumb::after {
  display: none !important;
}


@media (max-width:900px){
  .site-header,.gallery-main,.gallery-cta,.site-footer{
    padding-left:32px;
    padding-right:32px}
    
  .global-nav{
    gap:24px}
    
  .photo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))}
    
  .hero-content h1{
    font-size:72px}
    
  .gallery-hero{
    height:500px}
    
  .hero-bg img{
    height:700px;
    width:1050px;
    top:-80px}
  }

@media (max-width:600px){
  .site-header{
    height:64px;
    padding:0 20px}
    
  .header-logo{
    width:56px;
    height:56px}
    
  .global-nav{
    gap:12px}
    
  .global-nav a{
    font-size:9px}
    
  .global-nav a.is-active span{
    width:28px}
    
  .gallery-hero{
    height:480px}
    
  .hero-content{
    gap:14px;
    padding:0 20px}
    
  .hero-content h1{
    font-size:54px}
    
  .hero-content p{
    font-size:12px;
    line-height:22px;
    white-space:normal}
    
  .hero-label span{
    font-size:10px}
    
  .hero-label i,.hero-divider i{
    width:24px}
    
  .gallery-main{
    padding:48px 20px}
    
  .section-head{
    margin-bottom:20px}
    
  .photo-grid{
    grid-template-columns:1fr 1fr;
    gap:12px}
    
  .photo-thumb{
    height:150px}
    
  .photo-info{
    padding:10px 10px 12px}
    
  .photo-info h2{
    font-size:11px;
    line-height:16px}
    
  .tag{font-size:8px;
    padding:2px 7px}
    
  .photo-count,.sort,.section-title span{
    font-size:9px}
    
  .section-divider{
    margin:48px 0}
    
  .load-more{
    width:220px;
    height:48px}
    
  .gallery-cta{
    padding:64px 20px}
    
  .cta-text h2{
    font-size:30px;
    line-height:42px}
    
  .cta-text p{
    font-size:12px;
    line-height:22px}
    
  .cta-buttons{
    gap:10px}
    
  .btn{
    padding:12px 18px;
    font-size:11px}
    
  .site-footer{
    padding:48px 20px 32px}
    
  .footer-top,.footer-bottom{
    align-items:flex-start;
    gap:24px;
    flex-direction:column}
    
  .footer-nav{
    gap:16px;
    flex-wrap:wrap}
    
  .footer-divider{
    margin:28px 0}
    
  .footer-bottom>div{
    gap:12px}
  
  }


/* =========================================================
   Responsive hamburger menu
   ========================================================= */
.mobile-menu-wrap { display: none; }

@media (max-width: 700px) {
  .header .nav,
  .site-header .global-nav { display: none; }

  .mobile-menu-wrap {
    position: relative;
    display: block;
    z-index: 100;
  }

  .mobile-menu-button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(196,168,130,.25);
    border-radius: 50%;
    background: var(--pale);
    color: var(--brown);
    cursor: pointer;
  }

  .mobile-menu-button span,
  .mobile-menu-button::before,
  .mobile-menu-button::after {
    content: "";
    display: block;
    width: 17px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-menu-button::before { transform: translateY(-5px); }
  .mobile-menu-button::after { transform: translateY(5px); }
  .mobile-menu-button span { transform: translateY(0); }

  .mobile-menu-panel {
    position: absolute;
    top: 48px;
    right: 0;
    width: 210px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255,253,248,.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(61,43,26,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .mobile-menu-wrap:hover .mobile-menu-panel,
  .mobile-menu-wrap:focus-within .mobile-menu-panel,
  .mobile-menu-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu-panel a {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--brown-text);
    font: 500 11px/1.2 "Inter", sans-serif;
    letter-spacing: .08em;
  }
  .mobile-menu-panel a:hover,
  .mobile-menu-panel a:focus-visible,
  .mobile-menu-panel a.is-current {
    color: var(--brown);
    background: var(--pale);
    outline: none;
  }

  .mobile-menu-wrap.is-open .mobile-menu-button::before { transform: translateY(0) rotate(45deg); }
  .mobile-menu-wrap.is-open .mobile-menu-button::after { transform: translateY(0) rotate(-45deg); }
  .mobile-menu-wrap.is-open .mobile-menu-button span { opacity: 0; }
}

/* =========================================================
   imagehover.css targets
   ========================================================= */
.work-card .thumb.imghvr-fade,
.photo-card .photo-thumb.imghvr-zoom-in {
  position: relative;
  overflow: hidden;
}

.work-card .thumb.imghvr-fade img,
.photo-card .photo-thumb.imghvr-zoom-in > img {
  position: relative;
  z-index: 1;
}

.work-card .thumb figcaption,
.photo-card .photo-thumb figcaption {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61,43,26,.62);
}

.work-card .thumb figcaption span,
.photo-card .photo-thumb figcaption span {
  color: #fff;
  font: 500 11px/1.2 "Inter", sans-serif;
  letter-spacing: .16em;
}

.photo-card .photo-thumb figcaption span { font-size: 10px; }

@media (hover: none) {
  .work-card .thumb figcaption,
  .photo-card .photo-thumb figcaption { opacity: 0; }
}

/* =========================================================
   Shared ScrollTrigger / interaction helpers
   ========================================================= */
.js-reveal-ready { will-change: transform, opacity; }

.js-card-link { display: block; }
.js-card-link:focus-visible { outline: 2px solid var(--brown); outline-offset: 4px; border-radius: 16px; }

.work-card,
.photo-card,
.gallery-cta .btn,
.contact-form button,
.load-more,
.pill-link {
  transition: transform .25s ease, box-shadow .25s ease;
}

.work-card:hover { transform: translateY(-4px); box-shadow: 0 14px 44px rgba(139,99,71,.11); }
.photo-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(139,99,71,.10); }
.gallery-cta .btn:hover,
.contact-form button:hover,
.load-more:hover,
.pill-link:hover { transform: translateY(-2px); }

/* =========================================================
   Work detail page — node 2057:2 / 2066:430
   ========================================================= */
.work-detail-page { background: var(--cream); }
.work-detail-page .site-header { position: sticky; top: 0; z-index: 30; }

.work-breadcrumb {
  padding: 12px 80px;
  background: #faf5ec;
  border-bottom: 1px solid var(--line);
}
.work-breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sand);
  font: 400 10px/1.2 "Inter", sans-serif;
}
.work-breadcrumb-inner .current { color: var(--brown); }

.work-detail-hero { 
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 50px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  }

.work-detail-thumb {
  height: 500px;
  width: 500px;
  display: grid;
  place-items: center;
  background: linear-gradient(110deg,#ddd0c0,#ede3d6);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.work-detail-thumb-inner { text-align: center; }
.work-detail-thumb-inner img { 
  width: 100%; 
  height: 400px; 
  object-fit: cover;
  margin: 0 auto 40px;
  margin-top: 40px;
 }

.work-detail-caption {
  min-height: 48px;
  width: 500px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--light);
  font: 300 11px/1.2 "Noto Sans JP", sans-serif;
}


.work-detail-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 40px 100px;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 64px;
}

.work-info-card {
  align-self: start;
  padding: 28px 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(139,99,71,.06);
}
.work-info-group { padding: 0 0 20px; }
.work-info-group + .work-info-group { padding-top: 20px; border-top: 1px solid #f5ede0; }
.work-info-label { margin-bottom: 9px; color: var(--light); font: 400 10px/1.2 "Inter", sans-serif; }
.work-info-line { height: 1px; margin-bottom: 12px; background: #f0e8dc; }
.work-info-value { margin: 0; color: var(--brown-text); font: 300 13px/1.7 "Noto Sans JP", sans-serif; }
.work-type-tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--sky); border: 1px solid rgba(122,184,204,.25); color: var(--sky-text); font: 400 12px/1.2 "Noto Sans JP", sans-serif; }
.work-period { display: flex; align-items: center; gap: 8px; }
.work-period span { padding: 5px 12px; border-radius: 999px; background: #faf5ec; border: 1px solid rgba(196,168,130,.25); color: #6b4e30; font: 400 12px/1.2 "Noto Sans JP", sans-serif; }
.work-period em { color: var(--sand); font-style: normal; }
.work-tool-list { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tool-list span { padding: 5px 12px; border-radius: 999px; background: var(--pale); border: 1px solid rgba(196,168,130,.27); color: #6b4e30; font: 400 12px/1.2 "Noto Sans JP", sans-serif; }
.work-scope-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.work-scope-list li { display: flex; align-items: center; gap: 10px; color: var(--brown-text); font: 300 13px/1.2 "Noto Sans JP", sans-serif; }
.work-scope-list li::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--brown); }

.work-detail-copy { display: flex; flex-direction: column; gap: 52px; }
.work-copy-block { display: flex; flex-direction: column; gap: 14px; }
.work-copy-label { display: flex; align-items: center; gap: 8px; color: var(--brown); font: 400 10px/1.2 "Inter", sans-serif; letter-spacing: .04em; }
.work-copy-label::before { content: ""; width: 20px; height: 2px; border-radius: 1px; background: var(--brown); }
.work-copy-block h2 { margin: 0; color: var(--brown-dark); font: 400 28px/1.25 "Noto Serif JP", serif; }
.work-copy-card { padding: 24px; background: #faf5ec; border: 1px solid var(--line); border-radius: 14px; }
.work-copy-card p { margin: 0; color: var(--brown-text); font: 300 15px/2 "Noto Sans JP", sans-serif; }
.work-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.work-next p { margin: 0; color: var(--light); font: 300 11px/1.5 "Inter", sans-serif; }
.work-next a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--brown); color: #fff5ec; font: 400 12px/1.2 "Noto Sans JP", sans-serif; box-shadow: 0 6px 12px rgba(139,99,71,.16); }
.work-next a img { width: 12px; height: 12px; }

@media (max-width: 900px) {
  .work-breadcrumb { padding-left: 32px; padding-right: 32px; }
  .work-detail-content { grid-template-columns: 1fr; gap: 40px; padding-left: 32px; padding-right: 32px; }
  .work-info-card { max-width: none; }
}

@media (max-width: 700px) {
  .work-detail-page .site-header { padding: 0 24px; }
  .work-detail-page .header-logo { width: 56px; height: 56px; }
  .work-breadcrumb { padding: 12px 20px; }
  .work-detail-thumb 
  { height: auto; 
    width: 480px;
    max-width: 100%;
    object-fit: contain;
  }

  .work-detail-thumb-inner{
    margin: 0 auto;
  }
  .work-detail-caption { padding: 10px 20px; width: 480px;}
  .work-detail-content { padding: 32px 20px 64px; gap: 28px; }
  .work-info-card { padding: 22px 22px 26px; border-radius: 16px; }
  .work-detail-copy { gap: 32px; }
  .work-copy-block { gap: 12px; }
  .work-copy-block h2 { font-size: 20px; line-height: 1.4; }
  .work-copy-card { padding: 18px; }
  .work-copy-card p { font-size: 14px; line-height: 2; }
  .work-next { flex-direction: column; align-items: stretch; }
  .work-next a { justify-content: center; }
}

@media (max-width: 390px) {
  .work-detail-content { padding-left: 20px; padding-right: 20px; }
  .work-period { gap: 5px; }
  .work-period span { padding-left: 9px; padding-right: 9px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
