@charset "utf-8";

html {
  scroll-behavior: smooth;
}

/* --- 共通設定 --- */
body {
    margin: 0;
    background-color: #f0f0f0;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
}

h1, h2, p {
    margin: 0;
    font-weight: 300;
    font-size: 16px;
}

/* サイト内のすべてのリンク */
a {
    text-decoration: none;
    color: #333;
    font-weight: inherit; 
    opacity: 1;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* --- 1. ロゴ（左上） --- */
.sws-fixed-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.sws-fixed-logo img {
    width: 150px;
}

/* --- 2. メニュー（左下） --- */
.sws-menu-title {
    margin-bottom: 16px !important;
    font-size: 18px;
}

.sws-fixed-menu {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    text-align: left;
}

.sws-fixed-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sws-fixed-menu li {
    margin-bottom: 10px;
}

.sws-fixed-menu a {
    text-transform: none;
}

/* --- アーティスト（サブメニュー）のスタイル --- */
.sws-sub-menu {
    display: block;
    margin-top: 10px !important;
    margin-left: 0;    
    padding: 0;        
    list-style: none;  
}

.sws-sub-menu li {
    margin-bottom: 3px;
}

.sws-sub-menu a {
    font-size: 14px;
}

/* ハンバーガーボタンのデザイン（PC時は非表示） */
.sws-menu-trigger {
    display: none;
}

/* --- 3. QRコード（右中央） --- */
.sws-fixed-qr {
    position: fixed;
    top: 50%;
    right: 0;
    width: calc((100% - 540px) / 2); 
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sws-fixed-qr img {
    width: 120px;
    height: auto;
}

.sws-fixed-qr span {
    margin-top: 8px;
    font-size: 14px;
}

/* --- 4. メインコンテンツエリア --- */
.sws-wrapper {
    display: flex;
    justify-content: center;
}

/* 重複していた .sws-main-content の指定を統合 */
.sws-main-content {
    width: 100%;
    max-width: 540px;
    background-color: #fff;
    min-height: 100vh;
    padding: 0;
    box-sizing: border-box;
}

/* 動画のスタイル */
.sws-fv-video {
    width: 100%;
    height: 100svh; 
    overflow: hidden;
    position: relative;
}

.sws-fv-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sws-nd-contents,
.sws-nd-contents-2 {
    width: 100%;
    margin: 0 auto;
}

.sticky-sws-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.horizontal-scroll-section {
    height: auto; 
    position: relative;
    background-color: #fff;
}

.sws-con h1 {
    font-size: 21px;
}

.sws-con p {
    font-size: 14px;
    line-height: 1.8;
    padding-top: 10px;
}

.sws-con-tex {
    padding-top: 30px;
    width: 85%;
    margin: 0 auto;
}

.sws-con-img {
    text-align: center;
}

.sws-nd-contents-bg {
    background-color: #f0f0f0;
}

.sws-pro-tit {
    font-size: 21px;
}

.sws-pro-tit-wra {
    padding-top: 50px;
    max-width: 485px;
    width: 85%;
    margin: 0 auto;
}

.sws-pro-img {
    padding-top: 5px;
}

.sws-pro-img img {
    width: 100%;
}

.sws-pro-ari-wra {
    width: 85%;
    margin: 0 auto;
}

.sws-pro-ari-fle {
    display: flex;
    justify-content: space-between;
    /* align-items: end; */
    align-items: center;
    padding-top: 30px;
    /* gap: 3px; */
}

.sws-pro-ari-fle-top {
    display: flex;
    justify-content: space-between;
    /* align-items: end; */
    align-items: center;
    padding-top: 13px;
    /* gap: 3px; */
}

.sws-pro-ari-nam-top {
    font-size: 18px;
    font-weight: 600;
}

.sws-pro-ari-nam {
    font-size: 18px;
    font-weight: 600;
}

/* 重複していた .sws-pro-ari-tex の基本設定を統合 */
.sws-pro-ari-tex {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    line-clamp: 2;
    overflow: hidden;
    transition: 
        filter 0.3s ease-out, 
        opacity 0.3s ease-out,
        max-height 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    /* max-height: 3em; */
    filter: blur(0);
    opacity: 1;
}

.sws-pro-ari-tex p {
    font-size: 14px;
}

.sws-pro-ari-tex.is-open {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: 1000px;
    animation: blur-in-custom 0.8s forwards;
}

.sws-pro-ari-sns img {
    display: block;
}

/* --- 5. スライダー・WORKSセクション --- */
.custom-slider-container {
    margin: 0 auto;
    padding-top: 80px;
}

.sws-con, .sws-wor-tit {
    width: 100%;
}

.sws-wor-tit {
    padding-top: 30px;
}

.sws-wor {
    background-color: #fafafa;
    width: 100%;
    margin-top: 50px;
    padding: 20px 0 50px 0;
}

.sws-wor-2 {
    width: 85%;
    margin: 0 auto;
}


/* .sws-scroll-inner-frame {
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}


.sws-scroll-content {
    display: flex;
    gap: 15px;
    width: max-content;
    will-change: transform;
    cursor: grab;
    user-select: none;
    padding-top: 20px;
}

.sws-scroll-content:active {
    cursor: grabbing;
}


.sws-work-item {
    flex-shrink: 0;
    width: 264px; 
    height: 324px;
    aspect-ratio: 1 / 1;
}

.sws-work-item img {
    pointer-events: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.sws-progress-container {
    width: 100%;
    max-width: 300px;
    height: 1px;
    background-color: #ccc;
    margin: 40px auto;
    position: relative;
    cursor: pointer;
}


.sws-progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #000;
    transform: translateY(-50%); 
    cursor: grab;
    transition: none;
}

.sws-progress-bar:active {
    cursor: grabbing;
} */

/* --- 6. ボタン・エフェクト関連 --- */
.sws-ari-tex-container {
    padding-top: 15px;
    text-align: center;
}

.sws-view-more-btn {
    display: inline-block;
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.1em;
    padding-top: 7px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.sws-view-more-btn:hover {
    opacity: 0.7;
}

/* ローディング・ロゴアニメーション */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), 
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.9s;
}

#loading.is-faded {
  opacity: 0;
  visibility: hidden;
  filter: blur(1px);
}

.logo-wrapper {
  position: relative;
  width: 150px;
  aspect-ratio: 1 / 1;
  transition: opacity 0.6s ease, transform 0.6s ease; 
}

.logo-wrapper.is-fadeout {
  opacity: 0;
  transform: scale(1.05);
}

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

.logo-black-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  overflow: hidden;
  transition: height 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-black {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px; 
  height: auto;
}

/* テキスト演出（スプリット / ブラーイン） */
.js-split {
  display: block; 
  width: fit-content; 
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #000 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.js-split.is-active {
  background-position: 0 0 !important;
}

.js-blur-in {
  opacity: 0;
  filter: blur(10px); 
  transition: 
    opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
    filter 0.4s ease-out;
  will-change: opacity, transform, filter;
}

.js-blur-in.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes blur-in-custom {
    0% {
        filter: blur(5px);
        opacity: 0.1;
    }
    100% {
        filter: blur(0);
        opacity: 1;
    }
}

/* --- 7. GOODSセクション --- */
.goods-container {
    width: 85%;
    margin: 0 auto;
    padding-top: 50px;
}

.title {
    font-size: 18px;
    margin-bottom: 25px;
    color: #333;
    margin-top: 0;
}

.image-container {
    width: 100%;
}

.image-placeholder,
.image-placeholder img {
    width: 100%;
}

.product-name {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    padding-top: 10px;
}

.online-store-btn {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    margin-top: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.online-store-btn:hover {
    opacity: 0.7;
}

/* --- 8. CONTACTセクション & フッター --- */
.contact-container {
    width: 85%;
    margin: 0 auto;
    padding-top: 50px;
}

.section-title {
    margin-bottom: 20px;
    font-size: 21px;
}

.description {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.artist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 15px;
    padding-top: 20px;
}

.artist-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    height: 50px;
    border-radius: 25px;
    font-size: 14px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.artist-btn:hover {
    opacity: 0.7;
}

.main-footer {
    width: 85%;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 80px;
}

.copyright {
    font-size: 12px;
    color: #333;
    margin: 0;
}

/* --- デフォルト（PC）では非表示 --- */
.sws-mobile-logo {
    display: none;
}

/* 画像を包んでいる親要素をグリッドコンテナにする */
.sws-scroll-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 横に2つの列を同じ幅(1fr)で並べる */
  gap: 8px;                            /* 画像と画像の間の隙間（お好みで調整してください） */
  width: 100%;                          /* 横幅をいっぱいに広げる */
  max-width: 1200px;                    /* コンテンツの最大幅（必要に応じて調整） */
  margin: 0 auto;                     /* 中央寄せ */
  padding-top: 17px;
}

/* 各画像アイテムのレスポンシブ対応 */
.sws-work-item {
  width: 100%;
}

.sws-work-item img {
  width: 100%;
  height: auto;                         /* 縦横比を維持 */
  display: block;                       /* 下部にできる謎の隙間を消す */
  object-fit: cover;                    /* 画像のサイズがバラバラな場合に綺麗に収める */
}

.sws-artist-btn {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    /* margin-top: 20px; */
    margin-top: 5px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.sws-artist-btn:hover {
    opacity: 0.7;
}

/* モーダル背景（画面全体を覆う） */
.modal {
  display: none; /* 最初は隠しておく */
  position: fixed;
  z-index: 9999; /* 一番手前に表示 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.8); */
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
}

/* モーダルがアクティブになった時（JSでこのクラスを付与する） */
.modal.is-open {
  display: flex;
}

/* 拡大される画像 */
.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  /* box-shadow: 0 4px 20px rgba(0,0,0,0.5); */
  /* animation: zoomIn 0.3s ease; */
}

/* クリックしやすくするために画像にカーソルを合わせたら虫眼鏡（ポインタ）にする */
.sws-work-item img {
  cursor: pointer;
  transition: transform 0.2s;
}
/* .sws-work-item img:hover {
  transform: scale(1.02); 
} */

/* アニメーション */
/* @keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
} */

/* 閉じるボタンのベース（クリック領域用の透明な座布団） */
.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;  /* クリックしやすいように少し大きめの枠にする */
  height: 50px;
  cursor: pointer;
}

/* ご提示いただいた span の設定をベースに適用 */
.modal-close span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
  position: absolute;
  
  /* ボタンの真ん中に線を配置するための調整 */
  left: 20px; 
  top: 24px;   
  width: 15px;
  height: 1px;          /* 同じ 1px の太さ */
  background-color: #000; /* 同じ色 */
}

/* 1本目の線を右に45度回転 */
.modal-close span:nth-of-type(1) {
  transform: rotate(45deg);
}

/* 2本目の線を左に45度回転（これでバツ印になる） */
.modal-close span:nth-of-type(2) {
  transform: rotate(-45deg);
}

/* ==========================================
   全体の幅を統一するコンテナの設定
========================================== */
.profile-card {
  width: 100%;
  max-width: 600px; /* ★ここでPC表示時の全体の横幅を決めます（デザインに合わせて自由に変えてください） */
  margin: 0 auto;   /* 画面の中央に配置 */
  box-sizing: border-box;
  padding: 0 16px;  /* スマホの画面端にぴったりくっつきすぎるのを防ぐ余白 */
}

/* 中にある画像もコンテナの幅いっぱいに広げる */
.profile-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストもコンテナの幅いっぱいに広げる */
.profile-desc {
  width: 100%;
  box-sizing: border-box;
  /* その他フォントサイズやマージンはお好みで */
}


/* ==========================================
   ボタンの設定（上の要素には一切影響しません）
========================================== */

/* ボタン全体のコンテナ（aタグ） */
.sws-artist-btn {
  /* 🛠️ 修正：aタグ自体を右端に寄せる */
  display: flex !important; 
  margin-left: auto;       /* ★これで自動的に右端に押し出されます */
  margin-right: 0;
  
  align-items: center;
  justify-content: right; /* アイコンを中央に配置 */
  text-decoration: none;
  padding: 0;
  background: none;
  border: none;
  transition: opacity 0.2s ease;
  vertical-align: middle;
  
  /* 🛠️ 正円のサイズ（このサイズ分しかクリックできなくなります） */
  width: 53px; 
  height: 53px;
  box-sizing: border-box;
}

/* マウスホバー時のエフェクト */
.sws-artist-btn:hover {
  opacity: 0.8;
}

/* 右側の正円ボタン */
.sws-btn-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000; /* 完全な黒 */
  width: 40px;  /* きれいな正円のサイズ */
  height: 40px; 
  border-radius: 50%; /* 完全な正円にする */
  box-sizing: border-box;
  flex-shrink: 0; /* スマホ画面でも絶対に正円を縮ませない */
}

/* アイコン画像自体のサイズ調整 */
.sws-btn-icon img {
  width: 17px; /* アイコンの大きさ */
  height: auto;
  display: block;
}

/* 初期状態（5〜8枚目）は非表示 */
.sws-work-item.is-hidden {
    display: none !important;
}
/* 開いた時は表示（既存の1〜4枚目と同じ並び方にする） */
.sws-work-item.is-visible-more {
    display: block; /* 横並びの指定に合わせて flex や inline-block に適宜変更してください */
}

.sws-pro-ari-tex-jp {
    display: block;      /* 改行させてマージンを有効にする */
    /* margin-bottom: 5px; */
}

.sws-pro-ari-tex-en {
    display: block;      /* 改行させてマージンを有効にする */
    margin-top: -15px;
}



/* --- 9. レスポンシブ設定（スマホ環境） --- */
@media screen and (max-width: 768px) {
    .sws-menu-trigger {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
        position: fixed;
        bottom: 35px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        background-color: #000;
        border-radius: 50%;
        z-index: 2000;
        cursor: pointer;
    }

    .sws-menu-trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
        position: absolute;
        left: 15px;
        width: 20px;
        height: 1px;
        background-color: #f0f0f0;
    }

    .sws-menu-trigger span:nth-of-type(1) { top: 18px; }
    .sws-menu-trigger span:nth-of-type(2) { top: 24px; }
    .sws-menu-trigger span:nth-of-type(3) { top: 30px; }

    .sws-menu-trigger.active span:nth-of-type(1) {
        transform: translateY(6px) rotate(-45deg);
    }
    .sws-menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }
    .sws-menu-trigger.active span:nth-of-type(3) {
        transform: translateY(-6px) rotate(45deg);
    }

    .sws-fixed-menu {
        position: fixed;
        top: auto;
        right: 40px;
        bottom: 20px;
        left: 40px;
        height: 465px; 
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 8px;
        overflow: hidden;
        z-index: 200;
        transition: transform .3s cubic-bezier(.77, 0, .175, 1), opacity .3s, visibility .3s;
        transform: scaleY(0);
        transform-origin: center;
        opacity: 0;
        visibility: hidden;
        padding: 20px 30px 0;
        text-align: left; /* PC側の指定維持のため明示 */
    }

    .sws-fixed-menu.active {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
    }

    .sws-fixed-menu ul {
        padding-top: 0;
        list-style: none;
        margin: 0;
    }

    .sws-sub-menu {
        display: block;
        margin: 8px auto 0 !important;
        gap: 10px;
    }

    .sws-menu-scroll-wrapper {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        transition: opacity .3s ease-in-out;
        opacity: 0;
    }

    .sws-fixed-menu.active .sws-menu-scroll-wrapper {
        opacity: 1;
        transition-delay: .2s;
    }

    /* 旧 .sws-menu-scroll-sws-wrapper は現状不要のため削除もしくはラップ用に最適化可 */

    .sws-fixed-logo {
        position: static;
        text-align: center;
        padding-bottom: 10px;
    }

    .sws-fixed-logo img {
        width: 80px;
    }

    .sws-fixed-qr {
        display: none;
    }

    .sws-menu-title {
        margin-bottom: 13px !important;
        font-size: 18px;
    }

    .sws-mobile-logo {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1;
    }

    .sws-mobile-logo img {
        width: 30px;
        height: auto;
        display: block;
    }
}