@charset "UTF-8";

/* ========================================
TOP
======================================== */
#top-firstview {
    position: static;
    height: auto;
    padding: 48px 0 0;
    overflow: visible;
}

.top-left {
    position: static;
    width: 100%;
}

.top-logo {
    position: static;
    width: 90%;
    margin: 80px auto 0;
    padding: 0;
}

.top-logo img {
    width: 100%;
    height: auto;
    max-width: none;
    object-position: left center;
}

/* PCのサブタイトル・ナビリンクを非表示 */
.top-subtitle,
.top-nav {
    display: none;
}

.top-desc {
    position: static;
    left: auto;
    bottom: auto;
    width: 80%;
    padding: 20px 4% 25px;
    font-size: 0.85rem;
    line-height: 1.45;
    letter-spacing: 0;
}

.top-hero {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 0 4%;
}

/* 高さトリックを hero-slideshow 側に持たせることで padding が効くようになる */
.hero-slideshow {
    position: relative;
    height: 0;
    padding-bottom: 125%;
    overflow: hidden;
}

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

#top-below {
    padding-top: 10px;
}

.top-hero-caption {
    position: static;
    bottom: auto;
    left: auto;
    margin-left: 0;
    padding: 8px 4% 0;
    border-top: none;
    border-left: none;
    width: auto;
}

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

/* ========================================
HEADER (LAYER)
======================================== */
html, body {
    overflow-x: hidden;
}

#wrapper {
    width: 100%;
    min-width: 300px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.contents {
    flex: 1;
}

/* PCヘッダーをSPで非表示 */
#header {
    display: none;
}

/* ─── SP Header ──────────────────────────── */
#sp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    height: 48px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    overflow: hidden;
}

#sp-header h1 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: 0;
    height: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sp-header-logo {
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0;
    color: #121212;
    text-decoration: none;
    white-space: nowrap;
}

/* 下層ページ用ロゴ画像 */
.sp-header-logo img {
    height: 48px;
    width: auto;
    max-width: none;
    display: block;
    padding-top: 11px;
    padding-bottom: 10px;
}

.sp-menu-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
    font-family: inherit;
    letter-spacing: 0;
    cursor: pointer;
    color: #121212;
    line-height: 1;
}

/* ─── SP Nav Overlay ─────────────────────── */
.sp-nav-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 300;
    padding: 0 4%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
}

.sp-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.sp-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    flex-shrink: 0;
}

.sp-nav-main {
    margin-top: 60px;
    flex-shrink: 0;
}

.sp-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #121212;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 0;
}

.sp-nav-item .icon {
    font-size: 1rem;
}

.sp-nav-item:last-child {
    border-bottom: 1px solid #121212;
}

.sp-nav-sub {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
}

.sp-nav-sub a {
    font-size: 1.25rem;
    color: #121212;
    text-decoration: none;
    line-height: 1;
}


.sp-nav-footer {
    margin-top: auto;
    padding: 48px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-nav-footer a {
    font-size: 1rem;
    color: #121212;
    text-decoration: none;
    line-height: 1;
}

/* ========================================
FOOTER
======================================== */
#footer {
    position: static;
    margin-top: 20px;
    padding: 30px 4% 24px;
}

.footer-copy {
    position: static;
    display: none;
}

/* ナビグリッド: 左列＋右列 */
.footer-sp-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.footer-sp-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-sp-nav a {
    font-size: 1rem;
    color: #121212;
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 2px;
}

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

.footer-sp-util {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.footer-sp-util a {
    font-size: 1rem;
    color: #121212;
    text-decoration: none;
    line-height: 1;
}

/* 外部リンク群 */
.footer-links {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 140px;
    text-align: left;
}

.footer-links a {
    font-size: 0.85rem;
    color: #121212;
    text-decoration: none;
    line-height: 1;
    text-align: left;
}

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

/* アドレス */
.footer-addr {
    position: static;
    font-size: 0.75rem;
    color: #121212;
    line-height: 1.4;
    text-align: left;
}

/* ========================================
COL（共通グリッドレイアウト）
======================================== */

body.layer .contents {
    margin-top: 80px;
}

/* 固定ヘッダー分の余白 */
.layertitle-row {
    margin-top: 60px;
    padding: 20px 4%;
}

.col-page-title {
    grid-column: 1 / -1;
    white-space: nowrap;
}

/* 4列→2列グリッドに変換 */
.cols {
    grid-template-columns: 1fr 1fr;
    gap: 0 4%;
}

/* 説明文は全幅で縦積み */
.col-description-ja,
.col-description-en {
    grid-column: span 2;
    margin-top: 20px;
}

/* 3列グリッドは1列に */
.cols-3 {
    grid-template-columns: 1fr;
    gap: 20px 0;
}

.layer-subtitle {
    padding: 0 4%;
    margin-top: 24px;
    font-size: 1rem;
}

.col-subtitle-large {
    font-size: 1.25rem;
    margin-top: 20px;
}

.col-subtitle-small {
    font-size: 1rem;
    margin-top: 0.5rem;
    text-align: left;
}

.layer-section {
    padding: 24px 4% 40px;
}

/* ========================================
COLLECTION
======================================== */

/* シリーズセレクター: 縦積み */
.series-selector {
    flex-direction: column;
    padding: 0 4%;
    gap: 24px;
    margin-top: 20px;
    margin-bottom: 48px;
}

.series-selector-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    padding-top: 8px;
}

/* ========================================
COLLECTION SERIES
======================================== */

/* カラーセレクター: 3列 */
.color-selector {
    padding: 0 4%;
    gap: 20px 2%;
    margin-top: 20px;
}

.color-selector-item {
    width: calc((100% - 2% * 2) / 3);
}

.color-selector-item h4 {
    font-size: 0.75rem;
    margin-top: 5px;
    line-height: 1;
}

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

/* breadcrumb ナビ: 全幅 */
.col-nav-links {
    grid-column: span 2;
    margin-top: 0.5rem;
}

/* offset-1 パターンをSPでリセット */
.cols.offset-1>.col:first-child {
    grid-column: 1;
}

/* コレクション名・英語説明: 全幅 */
.col-collection-name,
.col-description-en-p {
    grid-column: 1 / -1;
}

.col-collection-name h3 {
    white-space: nowrap;
    font-size: 1.4rem;
}

/* 英語説明の過剰な上余白をリセット */
.col-description-en-p p {
    padding-top: 0;
    margin-top: 2rem;
}

/* Peek カルーセル */
.peek-slideshow {
    padding: 0;
    margin-bottom: 32px;
}

.peek-viewport {
    height: 80vw;
    min-height: auto;
    max-height: 70vh;
}

.peek-btn {
    width: 36px;
    height: 36px;
}

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

/* 商品画像: 全幅で縦積み */
.product-image {
    padding: 0 4%;
    margin: 24px 0;
    gap: 16px;
}

.col-img-offset {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

/* 購入セクション */
.product-purchase {
    padding: 0 4%;
    margin-top: 32px;
}

.purchase-main {
    grid-template-columns: 1fr;
}

.purchase-info {
    grid-column: 1;
    padding-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 4%;
    align-items: start;
}

.purchase-title {
    grid-column: 1;
    margin-bottom: 0;
}

.purchase-spec-group,
.purchase-note {
    grid-column: 2;
}

.purchase-sizes {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 32px 0;
    margin-bottom: 40px;
}

.purchase-note {
    width: 100%;
    font-size: 0.85rem;
    text-align: justify;
}

.purchase-size-label {
    font-size: 1.4rem;
    font-weight: normal;
}

/* 仕様セクション */
.product-specs {
    padding: 0 4%;
    margin-top: 40px;
}

/* ラベル(1/3) | コンテンツ(2/3) の2列レイアウト */
.specs-row {
    grid-template-columns: 1fr 2fr;
}

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

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

/* サイズボックス: 4つ全て1行 — PCと同じ比率幅のため高さが自動的に揃う */
.specs-size {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5%;
    padding: 0 0 1em;
    align-items: flex-start;
}

.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);
}

/* 価格テーブル: 品番グループを縦積みに */
.price-group {
    grid-template-columns: 1fr;
    margin-bottom: 1.2em;
}

.price-range {
    font-size: 1rem;
    margin-bottom: 0.4em;
}

.price-row {
    grid-template-columns: 2.5em 1fr auto;
    font-size: 0.85rem;
}

.price-tax-note {
    position: static;
    display: block;
    margin-top: 0.75em;
}

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

/* skip-2 パターンをSPでリセット */
.cols.skip-2> :nth-child(2),
.cols.skip-2> :nth-child(3) {
    grid-column: 1 / -1;
}

.col-title-display {
    grid-column: 1 / -1;
    font-size: 2rem;
}

.col-index,
.col-section-title {
    font-size: 2rem;
    line-height: 1;
}

.craft-block {
    padding: 32px 4%;
}

.craft-block:last-child {
    padding-bottom: 0;
}

.craft-block>.cols {
    grid-template-columns: auto 1fr;
    column-gap: 1em;
}

.craft-block::before {
    left: 4%;
    right: 4%;
}

.craft-block>.cols-3 {
    margin-top: 20px;
}

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

.bespoke-price {
    padding: 0 4%;
    margin-bottom: 40px;
}

.bespoke-price-item {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 2px 0;
}

.bespoke-price-product:last-child {
    margin-top: 1em;
}

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

.wool-properties {
    padding: 0 4%;
}

.wool-prop-pair {
    grid-template-columns: 1fr;
}

.cols .wool-prop-fig img {
    max-width: 250px;
}

.care-guide {
    grid-template-columns: 1fr;
    padding: 0 4%;
}

.care-guide-label {
    margin-bottom: 20px;
}

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

.care-guide-item {
    padding: 20px 0;
}

.care-guide-items .col-description-ja {
    grid-column: span 2;
    margin-top: 0;
}

/* ========================================
ABOUT
======================================== */

.company-section {
    grid-template-columns: 1fr;
    padding: 32px 4% 0;
}

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

.company-item {
    grid-template-columns: 1fr;
    gap: 4px 0;
}

.company-item--en-start {
    margin-top: 20px;
}

.about-photo {
    margin-top: 32px;
    padding: 0 4%;
}

.partners-section {
    padding: 32px 4% 0;
}

.partners-label {
    margin-bottom: 24px;
}

.partner-entry {
    padding: 16px 0;
}

.partner-collection,
.partner-role {
    grid-column: 1 / -1;
}

.partner-role--split {
    grid-template-columns: 1fr;
}

/* ========================================
CONTACT
======================================== */
.contact-section {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-bottom: 60px;
}

.contact-row {
    grid-template-columns: 1fr;
    gap: 8px 0;
    padding: 15px 0;
}

.contact-category {
    font-size: 1.1rem;
}

/* ─── CONTACT INQUIRY FORM SP ─────────── */
.contact-form-intro {
    grid-column: 1 / -1;
    margin-top: 16px;
}

.contact-form {
    grid-column: 1 / -1;
}

.contact-form-title {
    margin-top: 60px;
}

.contact-form-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px 0;
    padding: 16px 0;
}

.contact-submit-wrap {
    grid-template-columns: 1fr;
    padding-bottom: 0;
}

.contact-submit-spacer {
    display: none;
}

.contact-form-error-top {
    grid-column: 1;
}

.contact-desc {
    padding-left: 0;
    font-size: 1rem;
}

.contact-back-btn {
    margin-bottom: 20px;
}