@charset "UTF-8";

/* ========================================
PAGE FADE-IN (layer pages only)
======================================== */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.layer .contents,
body.layer #footer {
  animation: pageFadeIn 0.6s ease both;
  animation-delay: 0.4s;
}

#wrapper {
  width: 100%;
  min-width: 1280px;
  min-height: 800px;
}

/* ========================================
TOP
======================================== */
#top {
  width: 100%;
}

/* --- FIRSTVIEW (100vh) --- */
#top-firstview {
  position: relative;
  width: 100%;
  height: calc(100vh - 25px);
  box-sizing: border-box;
  overflow: visible;
  background: #fff;
}

.top-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
}

/* --- LOGO --- */
.top-logo {
  position: absolute;
  top: 30px;
  left: 3%;
  width: 88%;
}

.top-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  max-width: none;
}

/* --- SUBTITLES (YAMAGATA / DANTSU / STANDARD) --- */
.top-subtitle {
  position: absolute;
  top: 50%;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
}

.top-subtitle--1 {
  left: 2.5%;
}

.top-subtitle--2 {
  left: calc(33.33% + 10px);
}

.top-subtitle--3 {
  left: calc(66.67% + 23px);
}

/* --- NAVIGATION LINKS --- */
.top-nav {
  position: absolute;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  display: block;
}

.top-nav--collection {
  left: 2.5%;
  bottom: 30px;
}

.top-nav--craft {
  left: 2.5%;
  bottom: 5px;
}

.top-nav--bespoke {
  left: calc(33.33% + 10px);
  bottom: 30px;
}

.top-nav--about {
  left: calc(33.33% + 10px);
  bottom: 5px;
}

/* --- DESCRIPTION --- */
.top-desc {
  position: absolute;
  left: calc(66.67% + 23px);
  bottom: 3px;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0;
  width: 28%;
  padding-left: 2%;
}

/* --- HERO IMAGE --- */
.top-hero {
  position: absolute;
  top: 25px;
  right: 1.5%;
  bottom: 35px;
  overflow: hidden;
  width: calc(50% - 2.5%);
}

.top-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  max-width: none;
}

/* --- BELOW FOLD ---- */
#top-below {
  position: relative;
  width: 100%;
  background: #fff;
}

/* --- HERO CAPTION --- */
.top-hero-caption {
  display: flex;
  align-items: baseline;
  position: absolute;
  bottom: 3px;
  left: calc(50% + 1%);
  padding-top: 3px;
  border-top: 1px solid #000;
  width: fit-content;
}

.top-hero-name {
  font-size: 0.75rem;
  line-height: 1.25;
}


/* SP header / nav overlay / footer grid — hidden on PC */
#sp-header,
.sp-nav-overlay,
.footer-sp-grid {
  display: none;
}

/* ========================================
HEADER (LAYER)
======================================== */

#header {
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  flex-shrink: 0;
  width: 33.33%;
  padding: 22px 2.5% 20px;
  box-sizing: border-box;
}

.header-logo a {
  display: block;
  width: 100%;
}

.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.header-util {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5%;
  flex: 0 0 50%;
}

.header-util>a {
  line-height: 1;
  white-space: nowrap;
}

.header-util-links {
  display: flex;
  justify-content: space-between;
  width: 40%;
}

.header-util-links a {
  line-height: 1;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5%;
  flex: 0 0 50%;
}

.header-nav a {
  line-height: 1;
  white-space: nowrap;
}

.header-nav a .icon::before {
  content: '\25CB';
}

.header-nav a.is-active .icon::before {
  content: '\25CF';
}

/* ========================================
FOOTER
======================================== */
#footer {
  margin-top: 150px;
  width: 100%;
  position: relative;
}

.footer-copy {
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
  position: absolute;
  left: 1.5%;
  bottom: 20px;
}

.footer-addr {
  font-size: 0.75rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  position: absolute;
  left: 37.5%;
  bottom: 20px;
}

.footer-links {
  display: flex;
  position: absolute;
  right: 2%;
  bottom: 20px;
  text-align: right;
}

.footer-links a {
  font-size: 0.75rem;
  line-height: 1;
}

.footer-links a+a {
  margin-left: 20px;
}

/* ========================================
GRID（共通レイアウト）
======================================== */

/* ─── layertitle ─────────────────────────────────────────── */
.layertitle-row {
  width: 100%;
  padding: 2.5% 1.5%;
  position: relative;
  margin-top: 100px;
}

.col-page-title {
  font-size: 1rem;
  text-transform: uppercase;
}

.col-subtitle-large {
  font-size: 1.25rem;
}

.col-subtitle-small {
  font-size: 1rem;
}

.col-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1rem;
  text-transform: uppercase;
}

.col-nav-links a {
  color: #999;
  text-decoration: none;
}

.col-nav-links a.active {
  color: #1a1a1a;
}

.col-nav-links .separator {
  color: #999;
}

/* layer-subtitle */
.layer-subtitle {
  padding-left: 1.5%;
  font-size: 1rem;
}

/* col / 4分割 */
.cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2.5%;
  width: 100%;
}

.cols--gap-15 {
  column-gap: 1.5%;
}

/* col / 3分割 */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 1.5%;
  width: 100%;
}

.col {
  min-width: 0;
}

/* photo grid */
.cols-3 figure img,
.cols figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
COLLECTION
======================================== */
/* series-selector */
.series-selector {
  display: flex;
  gap: 1.5%;
  padding: 0 1.5%;
  margin-top: 20px;
  margin-bottom: 100px;
}

.series-selector-item {
  text-align: left;
}

.series-selector-item h3 {
  font-size: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-top: 1px solid #000;
  margin-bottom: 10px;
  padding-top: 10px;
}

.series-selector-item h3::after {
  content: '→';
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* ========================================
COLLECTION SERIES
======================================== */
/* color-selector */
.color-selector {
  display: flex;
  flex-wrap: wrap;
  padding: 0 1.5%;
  gap: 20px 1.5%;
  margin-top: 20px;
}

.color-selector-item {
  width: calc((100% - 1.5% * 5) / 6);
}

.color-selector-item h4 {
  font-size: 1rem;
}

/* ========================================
PRODUCT
======================================== */

/* Col 1 を空にして Col 2〜4 を使うパターン */
.cols.offset-1>.col:first-child {
  grid-column: 2;
}

/* Col 2 を空白にするパターン（Col1・Col3・Col4を使用） */
.cols.skip-2> :nth-child(2) {
  grid-column: 3;
}

.cols.skip-2> :nth-child(3) {
  grid-column: 4;
}

/* ─── Layer Section（本文レイアウト共通ラッパー） ──────────── */
.layer-section {
  width: 100%;
  padding: 40px 1.5% 60px;
  box-sizing: border-box;
}

.collection-description {
  padding: 0 1.5%;
}

/* ─── Product Purchase ───────────────────────────────────── */
.product-purchase {
  padding: 0 1.5%;
  margin-top: 60px;
}

.purchase-main {
  border-top: 1px solid #000;
  padding: 1.2em 0;
  align-items: start;
}

.purchase-info {
  grid-column: 1;
}

.purchase-title {
  font-size: 1rem;
  margin-bottom: 2em;
}

.purchase-spec-group+.purchase-spec-group {
  margin-top: 1.5em;
}

.purchase-spec {
  font-size: 0.85rem;
  line-height: 1.8;
}

.purchase-spec a {
  text-decoration: underline;
}

.purchase-note {
  font-size: 0.75rem;
  line-height: 1.6;
  margin-top: 1.5em;
  width: 80%;
  text-align: justify;
}

.purchase-sizes {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2.5%;
}

.purchase-size-head {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
}

.purchase-size-label {
  font-size: 1rem;
  font-weight: bold;
}

.purchase-size-dim {
  font-size: 0.85rem;
}

.purchase-size-img {
  margin: 1rem auto;
}

.purchase-size-img img {
  display: block;
  width: 100%;
}

/* ─── product Image ────────────────────────────────────────── */
.product-image {
  padding: 0 1.5%;
  margin: 60px 0;
}

.col-img-offset {
  grid-column: 2 / -1;
  margin-bottom: 20px;
}

.col-img-offset img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Product Specs ──────────────────────────────────────── */
.product-specs {
  padding: 0 1.5%;
  margin-top: 60px;
}

.specs-row {
  border-top: 1px solid #000;
  padding: 1.2em 0;
  align-items: start;
}

.specs-label {
  grid-column: 1;
  font-size: 1rem;
}

.specs-content {
  grid-column: 2 / -1;
  font-size: 1rem;
}

/* ─── Size boxes ─────────────────────────────────────────── */
.specs-size {
  display: flex;
  gap: 2.5%;
  align-items: flex-start;
  padding: 1em 5% 2em 0;
}

.size-item {
  flex: 0 0 auto;
}

/* 3gaps×2.5%=7.5%、残り92.5%を実寸幅比率140:200:250:300(計890)で分配 */
.size-item:has(.size-m) {
  width: calc(92.5% * 140 / 890);
}

.size-item:has(.size-l) {
  width: calc(92.5% * 200 / 890);
}

.size-item:has(.size-xl) {
  width: calc(92.5% * 250 / 890);
}

.size-item:has(.size-xxl) {
  width: calc(92.5% * 300 / 890);
}

.size-name {
  display: block;
  font-weight: bold;
  margin-bottom: 0.6em;
}

.size-box {
  width: 100%;
  border: 1px solid #000;
}

/* 実寸比率に合わせたアスペクト比 */
.size-m {
  aspect-ratio: 140 / 200;
}

.size-l {
  aspect-ratio: 1 / 1;
}

.size-xl {
  aspect-ratio: 250 / 200;
}

.size-xxl {
  aspect-ratio: 300 / 200;
}

/* ─── Price table ────────────────────────────────────────── */
.specs-price {
  position: relative;
  padding: 0.5em 0 1em;
}

.price-group {
  display: grid;
  grid-template-columns: 10em 1fr;
  margin-bottom: 1.5em;
}

.price-range {
  font-size: 1rem;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.price-row {
  display: grid;
  grid-template-columns: 5em 10em 1fr;
  font-size: 1rem;
}

.price-tax-note {
  position: absolute;
  right: 0;
  bottom: 1em;
  font-size: 0.75rem;
}

/* ========================================
CART
======================================== */

.cartjs_box table {
  width: 100%;
}

.cartjs_box tr {
  margin-bottom: 0.75em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid #000;
  display: block;
}

.cartjs_box tr th {
  font-size: 0.85rem;
  width: 30%;
  margin-right: 3%;
  display: inline-block;
  font-weight: normal;
}

.cartjs_box tr td {
  font-size: 1rem;
  width: 65%;
  display: inline-block;
  padding: 0 !important;
}

.cartjs_box .cartjs_sales_price td {
  font-size: 1rem;
}

.cartjs_box .cartjs_product_num input[type="text"] {
  font-size: 0.85rem;
  line-height: 2em;
  width: 100% !important;
  color: #000;
  background-color: #eee;
  text-align: center;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  font-family: YakuHanMPs, neue-haas-grotesk-text, "NeueHaasGroteskText Pro", "Neue Haas Grotesk", "Helvetica Neue", Helvetica, "dnp-shuei-gothic-kin-std", "IBM Plex Sans JP", sans-serif;
}

.cartjs_box .cartjs_option select {
  -webkit-border-radius: 0px;
  background-position: 100% center;
  background-repeat: no-repeat;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: normal;
  border-radius: 0;
  height: auto;
  width: 100%;
  text-align: center;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  background-color: #eee;
  letter-spacing: 0.05em;
  padding: 0.5em 1em;
}

.cartjs_box .cartjs_cart_in input[type="submit"] {
  cursor: pointer;
  color: #000;
  background-color: #F8F8F8;
  text-align: center;
  width: 100%;
  font-size: 0.85rem;
  line-height: 1.5em;
  border: 1px solid #000;
  padding: 0.8em 1.2em;
  font-family: YakuHanMPs, neue-haas-grotesk-text, "NeueHaasGroteskText Pro", "Neue Haas Grotesk", "Helvetica Neue", Helvetica, "dnp-shuei-gothic-kin-std", "IBM Plex Sans JP", sans-serif;
}

.cartjs_box .cartjs_cart_in input[type="submit"]:hover {
  color: #FFF;
  background-color: #000;
  border-top-color: #000;
  border-right-color: #000;
  border-bottom-color: #000;
  border-left-color: #000;
}

.cartjs_box .cartjs_sk_link_other {
  font-size: 0.85rem;
  margin-top: 1em;
}

.cartjs_box .sold {
  text-align: center;
  padding: 1em;
  color: #FFF;
  background-color: #333;
  margin-bottom: 1em;
}

/* ========================================
CRAFT & MATERIAL
======================================== */

/* ─── Craft Block（テキスト＋写真の複合ブロック） ─────────── */
.craft-block {
  position: relative;
  width: 100%;
  padding: 60px 1.5%;
  box-sizing: border-box;
}

.craft-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5%;
  right: 1.5%;
  border-top: 1px solid #000;
}

.craft-block>.cols-3 {
  margin-top: 2.5%;
}

.col-title-display {
  font-size: 2.5rem;
  line-height: 1.15;
}

.col-title-display span {
  font-size: 1rem;
  display: block;
  margin-top: 1em;
  letter-spacing: 0.05em;
}

/* ─── col text ─────────── */
.col-index {
  font-size: 2.5rem;
  line-height: 1;
}

.col-section-title {
  font-size: 2.5rem;
  line-height: 1.2;
}

.col-collection-name h3 {
  font-size: 1.25rem;
}

.col-description-ja h4 {
  font-size: 1.25rem;
  margin-bottom: 1em;
}

.col-description-ja p,
.wool-prop-text-ja {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  word-break: break-all;
}

.col-description-ja p+p {
  margin-top: 10px;
}

.col-description-en p,
.wool-prop-text-en {
  font-size: 1rem;
  line-height: 1.4;
}

.col-description-en p+p {
  margin-top: 10px;
}

.col-description-en-p p {
  padding-top: 3rem;
}

/* ========================================
BESPOKE & MAINTENANCE
======================================== */
.col-span-2 {
  grid-column: span 2;
}

.bespoke-price {
  padding: 0 1.5%;
  margin-bottom: 80px;
}

.bespoke-price-item {
  grid-column: 3 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #000;
  padding: 0.5em 0;
  align-items: baseline;
}

.bespoke-price-item--products {
  align-items: start;
}

.bespoke-price-product {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.bespoke-price-label {
  font-size: 1rem;
}

.bespoke-price-value {
  font-size: 1rem;
}

.maintenance-contact-wrap {
  padding: 0 1.5%;
}

/* ─── Wool Properties ──────────────────────────────────────── */
.wool-properties {
  padding: 0 1.5%;
}

/* row 1 */
.wool-prop-row--header {
  align-items: start;
}

/* rows 2+3: ボーダーなし（pairが持つ） */
.wool-prop-row {
  align-items: start;
}

/* 50%ペア：2列スパン + ボーダー */
.wool-prop-pair {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5%;
  border-top: 1px solid #000;
  padding: 20px 0;
  align-items: start;
  min-width: 0;
}

.wool-section-label {
  font-size: 1.25rem;
}

.wool-prop-col {
  min-width: 0;
}

.wool-prop-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5em;
}

.cols .wool-prop-fig img {
  display: block;
  max-width: 250px;
  width: 80%;
  margin: auto;
  height: auto;
  text-align: center;
}

.wool-prop-text {
  min-width: 0;
}

.wool-prop-text-en {
  margin-top: 20px;
}

#maintenance-intro {
  margin-top: 80px;
}

/* Care Guide */
.care-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2.5%;
  padding: 0 1.5%;
}

.care-guide-label {
  font-size: 1.25rem;
}

.care-guide-items {
  grid-column: 2 / -1;
}

.care-guide-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5%;
  border-top: 1px solid #000;
  padding: 1em 0;
}

.care-item-heading {
  font-size: 1.1rem;
  margin-bottom: 0.75em;
}

/* ========================================
ABOUT
======================================== */
/* Company Section */
.company-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2.5%;
  padding: 60px 1.5% 0;
}

.company-label {
  font-size: 1rem;
}

.company-items {
  grid-column: 3 / -1;
}

.company-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5%;
  border-top: 1px solid #000;
  padding: 0.75em 0;
}

.company-item-label {
  font-size: 1rem;
  line-height: 1.8;
}

.company-item-value {
  font-size: 1rem;
  line-height: 1.8;
}

/* About Photo */
.about-photo {
  margin-top: 60px;
  padding: 0 1.5%;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Partners Section */
.partners-section {
  padding: 60px 1.5% 0;
}

.partners-label {
  font-size: 1rem;
  margin-bottom: 60px;
}

.partner-entry {
  padding: 2.5% 0;
  align-items: start;
}

.partner-collection {
  font-size: 1rem;
}

.partner-role {
  font-size: 1rem;
  line-height: 1.8;
}

.partner-role--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5%;
  align-items: start;
}

.partner-name {
  font-size: 1rem;
  margin-bottom: 1em;
}

/* ========================================
CONTACT
======================================== */
.contact-section {
  grid-column: 2 / -1;
  padding-bottom: 80px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 20px 0;
  border-top: 1px solid #121212;
  color: #121212;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-row:last-child {
  border-bottom: 1px solid #121212;
}

.contact-desc {
  padding-left: 2.5%
}

.contact-row:hover .contact-desc {
  opacity: 0.6;
}

/* ─── CONTACT INQUIRY FORM ──────────── */
.contact-form-title {
  font-size: 1rem;
}

.contact-form-intro {
  grid-column: 3 / -1;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form {
  grid-column: 2 / -1;
  margin-top: 60px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 16px 0;
  font-size: 1rem;
  gap: 0 2.5%;
  align-items: center;
}

.contact-form-label {
  line-height: 1.4;
}

.contact-form-field input[type="text"],
.contact-form-field input[type="email"],
.contact-form-field input[type="tel"],
.contact-form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #121212;
  padding: 8px 10px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  background: transparent;
  outline: none;
}

.contact-form-field textarea {
  height: 200px;
  resize: vertical;
}

.contact-radio-group {
  display: flex;
  gap: 40px;
}

.contact-radio,
.contact-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.contact-checkbox a {
  text-decoration: underline;
}

.contact-optional {
  font-size: 0.75rem;
}

.contact-submit-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0 2.5%;
  padding: 40px 0 120px;
}

.contact-submit-btn {
  width: 100%;
  padding: 14px;
  border: 1px solid #121212;
  background: transparent;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  color: #121212;
}

.contact-submit-btn:hover {
  background: #121212;
  color: #fff;
}

/* ─── CONTACT FORM: エラー・確認・戻るボタン ── */
.contact-error-msg {
  display: block;
  color: #c00;
  font-size: 0.85rem;
  margin-top: 4px;
}

.contact-form-field input.has-error,
.contact-form-field textarea.has-error {
  border-color: #c00;
}

.contact-form-label.has-error {
  color: #c00;
}

.contact-form-error-top {
  grid-column: 2 / -1;
  color: #c00;
  font-size: 0.85rem;
  padding-bottom: 8px;
}

.contact-back-btn {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(18, 18, 18, 0.3);
  background: transparent;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  color: rgba(18, 18, 18, 0.5);
}

.contact-back-btn:hover {
  border-color: #121212;
  color: #121212;
}

.contact-confirm-value {
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ─── Lazy reveal ──────────────────────────────────────────── */
.lazy-reveal {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.lazy-reveal.is-visible {
  opacity: 1;
}