
:root {
  --bg: #0f0e0c;          
  --bg-soft: #181613;     
  --text: #ece6da;        
  --text-sub: #9a9284;    
  --gold: #c2a46b;        
  --line: rgba(236, 230, 218, 0.14); 
  --serif: "Cormorant Garamond", Georgia, serif;   
  --en: "Cormorant Garamond", Georgia, serif;      
  --ja: "Shippori Mincho", "Yu Mincho", serif;     
  --max: 1200px;          
}


* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 112.5%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 100% - 48px); margin: 0 auto; }


.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.4s, padding 0.4s;
}
.header.is-scrolled {               
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(8px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--en); font-size: 1.6rem; letter-spacing: 0.3em; }
.logo span {                         
  display: block; font-family: var(--en); font-weight: 600; font-size: 0.5rem; letter-spacing: 0.34em;
  color: var(--gold); margin-top: -2px; white-space: nowrap;
}
.header .logo { text-shadow: 0 1px 10px rgba(0,0,0,0.65); }   
.nav { display: flex; gap: 40px; }
.nav a { font-family: var(--en); font-size: 0.95rem; letter-spacing: 0.25em; position: relative; }
.nav a::after {                     
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--gold); transition: width 0.4s;
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }


.menu-btn { display: none; background: none; border: 0; width: 32px; height: 20px; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--text); transition: 0.3s; }
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 50%; }
.menu-btn span:nth-child(3) { top: 100%; }


.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 2s ease, transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {                      
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,14,12,0.55), rgba(15,14,12,0.4) 45%, rgba(15,14,12,0.9));
}
.hero-content {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; width: 90%;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);   
}
.hero-sub { font-family: var(--en); font-size: 0.9rem; letter-spacing: 0.6em; color: var(--gold); margin-bottom: 24px; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; font-style: italic; letter-spacing: 0.06em; line-height: 1.25; }
.hero-text { margin-top: 28px; color: var(--text); font-size: 1rem; opacity: 0.88; max-width: 34em; margin-left: auto; margin-right: auto; }
.scroll-down {
  position: absolute; z-index: 2; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--en); font-size: 0.75rem; letter-spacing: 0.4em; color: var(--text-sub);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-down::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }


.section { padding: 140px 0; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-en { font-family: var(--en); font-size: 0.85rem; letter-spacing: 0.5em; color: var(--gold); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 500; letter-spacing: 0.08em; margin-top: 8px; }
.section-head::after { content: ""; display: block; width: 1px; height: 40px; background: var(--gold); margin: 28px auto 0; opacity: 0.6; }


.concept { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.concept-img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.concept-body p { color: var(--text-sub); margin-bottom: 1.6em; font-size: 0.95rem; }
.concept-body h3 { font-size: 2rem; font-weight: 400; font-style: italic; letter-spacing: 0.04em; line-height: 1.4; margin: 12px 0 32px; }


.card { display: block; position: relative; overflow: hidden; }
.card-img-wrap { overflow: hidden; position: relative; background: var(--bg-soft); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity 0.6s; }
.card:hover .card-img { transform: scale(1.06); }
.card-info { padding: 20px 2px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-title { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.4; }
.card-loc { font-size: 0.75rem; color: var(--text-sub); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; }
.card-price { font-family: var(--en); font-size: 1.1rem; color: var(--gold); white-space: nowrap; }
.card-price small { font-family: var(--en); font-style: italic; font-size: 0.8rem; color: var(--text-sub); }
.card-view {                        
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--en); letter-spacing: 0.5em; font-size: 0.9rem;
  background: rgba(15,14,12,0.35); opacity: 0; transition: opacity 0.5s;
}
.card:hover .card-view { opacity: 1; }


.ai-badge {
  display: inline-block; font-family: var(--en); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.2em;
  padding: 2px 10px; border: 1px solid var(--gold); color: var(--gold); line-height: 1.7;
  background: rgba(15, 14, 12, 0.75);
}
.card .ai-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.ai-notice { margin-top: 20px; font-size: 0.82rem; color: var(--text-sub); line-height: 1.7; }
.ai-notice .ai-badge { margin-right: 8px; }


.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px 40px; }
.featured-grid .card:nth-child(1) { grid-column: 1 / 8; }
.featured-grid .card:nth-child(2) { grid-column: 9 / 13; margin-top: 120px; }
.featured-grid .card:nth-child(3) { grid-column: 2 / 6; }
.featured-grid .card:nth-child(4) { grid-column: 7 / 13; margin-top: 60px; }
.featured-grid .card:nth-child(5) { grid-column: 1 / 7; }
.featured-grid .card:nth-child(6) { grid-column: 8 / 12; margin-top: 100px; }
.featured-grid .card-img-wrap { aspect-ratio: 3 / 2; }
.featured-grid .card:nth-child(even) .card-img-wrap { aspect-ratio: 4 / 5; }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  padding: 18px 56px; border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--en); letter-spacing: 0.35em; font-size: 0.9rem;
  position: relative; overflow: hidden; transition: color 0.5s; cursor: pointer; background: none;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s; z-index: -1; }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-center { text-align: center; margin-top: 100px; }


.price-list { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-item { padding: 48px 28px; text-align: center; }
.price-item + .price-item { border-left: 1px solid var(--line); }
.price-item h4 { font-weight: 600; font-size: 1.15rem; letter-spacing: 0.06em; }
.price-item p { font-size: 0.82rem; color: var(--text-sub); margin-top: 6px; }
.price-item .price { font-family: var(--en); font-size: 1.8rem; color: var(--gold); margin-top: 18px; }


.about { background: var(--bg-soft); }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-inner p { color: var(--text-sub); font-size: 0.95rem; margin-bottom: 1.4em; }
.about-name { font-size: 1.3rem; letter-spacing: 0.4em; margin-bottom: 4px; color: var(--text) !important; }
.about-name-en { font-family: var(--en); letter-spacing: 0.3em; color: var(--gold) !important; margin-bottom: 40px !important; }


.page-head { padding: 200px 0 80px; text-align: center; }


.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 72px; }
.filter-btn {
  background: none; border: 1px solid var(--line); color: var(--text-sub);
  padding: 8px 26px; font-family: var(--en); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: 0.3s;
}
.filter-btn:hover { color: var(--text); border-color: var(--text-sub); }
.filter-btn.is-active { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.gallery-grid { columns: 3; column-gap: 32px; }    
.gallery-grid .card { break-inside: avoid; margin-bottom: 56px; animation: fadeUp 0.8s both; }
.gallery-grid .card:nth-child(3n+1) .card-img-wrap { aspect-ratio: 4 / 5; }
.gallery-grid .card:nth-child(3n+2) .card-img-wrap { aspect-ratio: 3 / 2; }
.gallery-grid .card:nth-child(3n) .card-img-wrap { aspect-ratio: 1 / 1; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }


.detail { padding: 140px 0 120px; }
.breadcrumb { font-size: 0.75rem; color: var(--text-sub); margin-bottom: 40px; letter-spacing: 0.15em; }
.breadcrumb a:hover { color: var(--gold); }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; align-items: start; }
.detail-img-wrap { position: relative; background: var(--bg-soft); }
.detail-img { width: 100%; }
.watermark {                        
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--en); font-size: clamp(1.5rem, 4vw, 3rem); letter-spacing: 0.6em;
  color: rgba(255,255,255,0.18);
}
.detail-info { position: sticky; top: 120px; }
.detail-no { font-family: var(--en); color: var(--gold); letter-spacing: 0.4em; font-size: 0.85rem; }
.detail-title { font-size: 2.3rem; font-weight: 500; letter-spacing: 0.02em; margin-top: 8px; line-height: 1.25; }
.detail-title-ja { font-family: var(--ja); color: var(--text-sub); font-size: 0.85rem; letter-spacing: 0.3em; margin-top: 10px; }
.detail-desc { margin: 32px 0; color: var(--text-sub); font-size: 1rem; }
.spec { border-top: 1px solid var(--line); margin-bottom: 36px; }
.spec div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.spec div { gap: 20px; }
.spec dt { color: var(--text-sub); white-space: nowrap; }
.spec dd { text-align: right; min-width: 0; }   

.size-title { font-size: 0.85rem; letter-spacing: 0.2em; color: var(--text-sub); margin-bottom: 14px; }
.size-options { display: grid; gap: 10px; }
.size-option {                      
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border: 1px solid var(--line); cursor: pointer; transition: 0.3s;
}
.size-option:hover { border-color: var(--text-sub); }
.size-option input { position: absolute; opacity: 0; }
.size-option.is-checked { border-color: var(--gold); background: rgba(194,164,107,0.07); }
.size-option-name { font-size: 1rem; font-weight: 600; }
.size-option-detail { display: block; font-size: 0.78rem; color: var(--text-sub); line-height: 1.5; }
.size-option-price { font-family: var(--en); font-size: 1.15rem; color: var(--gold); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 32px 0 24px; }
.total-label { font-size: 0.85rem; color: var(--text-sub); letter-spacing: 0.2em; }
.total-price { font-family: var(--en); font-size: 2.4rem; color: var(--text); }
.total-price small { font-family: var(--en); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-sub); margin-left: 6px; }
.btn-buy { width: 100%; }
.btn-buy[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-buy[disabled]:hover { color: var(--gold); }
.btn-buy[disabled]:hover::before { transform: scaleX(0); }
.note { font-size: 0.8rem; color: var(--text-sub); margin-top: 14px; text-align: center; line-height: 1.7; }

.related { border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.related-grid .card-img-wrap { aspect-ratio: 3 / 2; }


.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; text-align: center; }
.footer .logo { display: inline-block; margin-bottom: 28px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 36px; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--text-sub); margin-bottom: 40px; }
.footer-nav a:hover { color: var(--gold); }
.copyright { font-family: var(--en); font-size: 0.75rem; color: var(--text-sub); letter-spacing: 0.2em; }


.legal { max-width: 760px; margin: 0 auto; padding-bottom: 140px; }
.legal-updated { text-align: center; font-size: 0.8rem; color: var(--text-sub); letter-spacing: 0.15em; margin: -40px 0 64px; }
.legal-lead { font-size: 1.05rem; color: var(--text); margin-bottom: 48px; text-align: center; font-style: italic; }
.legal h2 {
  font-family: var(--en); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.04em;
  margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-weight: 600; font-size: 1.05rem; margin: 28px 0 8px; color: var(--gold); letter-spacing: 0.04em; }
.legal p, .legal li { color: var(--text-sub); font-size: 0.98rem; }
.legal p { margin-bottom: 1.1em; }
.legal ul { margin: 0 0 1.2em 1.3em; }
.legal li { margin-bottom: 0.45em; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a:not(.btn) { color: var(--gold); border-bottom: 1px solid rgba(194,164,107,0.4); }
.legal a:not(.btn):hover { border-bottom-color: var(--gold); }


.license-table { width: 100%; border-collapse: collapse; margin: 8px 0 40px; font-size: 0.95rem; }
.license-table th, .license-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.license-table th { font-family: var(--en); font-weight: 600; color: var(--gold); letter-spacing: 0.08em; }
.license-table td:first-child, .license-table th:first-child { text-align: left; color: var(--text-sub); }
.license-table .yes { color: var(--gold); }
.license-table .no { color: var(--text-sub); opacity: 0.6; }


.footer-nav a[lang="ja"], .legal-ja, .legal-ja a:not([lang="en"]) { font-family: var(--ja); letter-spacing: 0.04em; }
.footer-nav a[lang="ja"] { font-size: 0.78rem; }
.legal-title-ja { font-family: var(--ja); font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.08em; }
.legal-ja { font-size: 0.92rem; line-height: 1.9; }
.tokusho-table { width: 100%; border-collapse: collapse; }
.tokusho-table th, .tokusho-table td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tokusho-table tr:first-child th, .tokusho-table tr:first-child td { border-top: 1px solid var(--line); }
.tokusho-table th { width: 32%; font-weight: 500; color: var(--gold); }
.tokusho-table td { color: var(--text); }
.tokusho-table a { color: var(--gold); }


.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 1.1rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {           
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--en); font-size: 1.6rem; font-weight: 400; color: var(--gold); transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--gold); }
.faq-answer { padding: 0 0 24px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-group { font-family: var(--en); font-size: 0.85rem; letter-spacing: 0.4em; color: var(--gold); margin: 64px 0 16px; text-align: center; }
.faq-group:first-of-type { margin-top: 0; }


.contact-box { text-align: center; border: 1px solid var(--line); padding: 56px 32px; margin-bottom: 48px; }
.legal .contact-box .contact-email { display: inline-block; font-family: var(--en); font-size: 1.6rem; letter-spacing: 0.04em; margin: 12px 0 28px; color: var(--text); border: 0; }
.contact-box p { margin-bottom: 0.6em; }


.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }


@media (max-width: 960px) {
  .concept { grid-template-columns: 1fr; gap: 48px; }
  .concept-img { aspect-ratio: 3 / 2; }
  .price-list { grid-template-columns: repeat(2, 1fr); }
  .price-item:nth-child(3) { border-left: 0; }
  .price-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery-grid { columns: 2; }
  .detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .detail-info { position: static; }
}


@media (max-width: 640px) {
  .header, .header.is-scrolled { padding: 16px 20px; }
  .container { width: calc(100% - 32px); }
  .menu-btn { display: block; z-index: 110; }
  
  .nav {
    position: fixed; inset: 0; background: rgba(15,14,12,0.98);
    flex-direction: column; align-items: center; justify-content: center; gap: 40px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  .nav a { font-size: 1.2rem; }
  .header.is-open .nav { opacity: 1; pointer-events: auto; }
  .header.is-open .menu-btn span:nth-child(1) { top: 50%; transform: rotate(30deg); }
  .header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .header.is-open .menu-btn span:nth-child(3) { top: 50%; transform: rotate(-30deg); }

  .section { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }
  .hero-sub { letter-spacing: 0.35em; font-size: 0.78rem; }
  .hero-text { font-size: 0.92rem; }
  .concept-body h3 { font-size: 1.7rem; }
  
  .featured-grid { grid-template-columns: 1fr; gap: 48px; }
  .featured-grid .card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .featured-grid .card:nth-child(n) .card-img-wrap { aspect-ratio: 3 / 2; }
  .btn-center { margin-top: 64px; }
  .btn { padding: 16px 40px; }
  .price-list { grid-template-columns: 1fr; }
  .price-item + .price-item { border-left: 0; border-top: 1px solid var(--line); }
  .price-item { padding: 32px 16px; }
  .page-head { padding: 140px 0 48px; }
  .filters { gap: 8px; margin-bottom: 48px; }
  .filter-btn { padding: 6px 18px; }
  .gallery-grid { columns: 1; }
  .gallery-grid .card { margin-bottom: 44px; }
  .detail { padding: 100px 0 80px; }
  .detail-title { font-size: 1.8rem; }
  .total-price { font-size: 2rem; }
  .related-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal { padding-bottom: 88px; }
  .legal h2 { font-size: 1.3rem; }
  .license-table { font-size: 0.85rem; }
  .license-table th, .license-table td { padding: 12px 6px; }
  .tokusho-table th, .tokusho-table td { display: block; width: 100%; padding: 6px 0; border: none; }
  .tokusho-table th { padding-top: 18px; border-top: 1px solid var(--line); }
  .tokusho-table td { padding-bottom: 18px; }
  .contact-box { padding: 40px 16px; }
  .legal .contact-box .contact-email { font-size: 1.25rem; word-break: break-all; }
}
