@charset "UTF-8";

@font-face {
    font-family: 'CustomFont'; /* フォントの名前 */
    src: url('../fonts/zen-maru-gothic-v18-japanese-700.woff2') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }
@font-face {
    font-family: 'CustomFont2'; /* フォントの名前 */
    src: url('../fonts/baloo-regular.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }

body {
    font-family: 'CustomFont', sans-serif;
}



.status-label {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    z-index: 2;
}

/* 状態ごとの色分け（任意） */
.status-label:contains("販売予定") { background-color: #ecab49; }
.status-label:contains("販売終了") { background-color: #9e9e9e; }

.disabled-link {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

/* 状態別カラー */
.status-label.upcoming {
    background-color: #cf56b1; /* オレンジ：販売予定 */
}

.status-label.ended {
    background-color: #9e9e9e; /* グレー：販売終了 */
}
.status-label.available {
    background-color: #5fbfdf;
}
.status-label.lowstock {
    background-color: #5fbfdf;
}

.product-thumb-wrapper {
    position: relative;
}

/* ここから */

.main_view{
  width: 70%;
  max-width: 800px;
  margin: 150px auto 0;
}
.main_view img{
  width: 100%;
}

/* ==== 背景とタイトル ==== */
.news-section {
  position: relative; /* ← 角丸装飾の基準にするため追加 */
  padding: 30px 20px;
  text-align: center;
  /* background-image: url(../img/26954851.jpg); */
  background-color: #ececec;
  background-position: center center;
  margin: 50px auto;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden; /* 白丸がはみ出さないように */
}

/* ==== 四隅の白い丸装飾 ==== */
.news-section::before,
.news-section::after,
.news-section .corner-circle::before,
.news-section .corner-circle::after {
  content: "";
  position: absolute;
  width: 15px;  /* 丸の大きさ（調整可） */
  height: 15px;
  background: #686868;
  border-radius: 50%;
  z-index: 1;
}

/* 左上・右上 */
.news-section::before {
  top: 20px;
  left: 20px;
}
.news-section::after {
  top: 20px;
  right: 20px;
}

/* 左下・右下 */
.news-section .corner-circle::before {
  bottom: 20px;
  left: 20px;
}
.news-section .corner-circle::after {
  bottom: 20px;
  right: 20px;
}

.news-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  letter-spacing: 1px;
    font-family: 'CustomFont2', sans-serif;

}

/* ==== スライダーエリア ==== */
.campaign {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.campaign-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* PCでは3枚同時表示 */
.campaign-slider a {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  padding: 0 3px;
}

/* スマホでは1枚ずつ */
@media (max-width: 768px) {
  .campaign-slider a {
    flex: 0 0 100%;
    padding: 0;
  }
}

.campaign picture {
  width: 100%;
  display: block;
}

.campaign img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* ==== ドットナビゲーション ==== */
.campaign-dots {
  text-align: center;
  margin-top: 20px;
  display: block; /* PCでも常に表示 */
}

.campaign-dots button {
  border: none;
  background: #bdbdbd;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.campaign-dots button.active {
  background: #333;
}


.waving-character {
    position: absolute;
    top: 200px;
    right: 60px;
    width: 300px;
    height: auto;
    z-index: 10;
    transition: transform 0.6s ease;
    transform: translate(0, 0); /* 初期：ひょっこり見えてる */
    z-index: 0;
}

.waving-character img {
    width: 100%;
    display: block;
}

/* hide クラスがついたら右上に逃げる */
.waving-character.hide {
    transform: translate(40%, -80%);
}

@media (max-width: 1400px) {


.waving-character {
    position: absolute;
    top: 200px;
    right: 60px;
    width: 250px;
    height: auto;
    z-index: 10;
    transition: transform 0.6s ease;
    transform: translate(0, 0); /* 初期：ひょっこり見えてる */
    z-index: 0;
}
.waving-character.hide {
    transform: translate(40%, -90%);
}

}

@media (max-width: 1200px) {

.main_view{
  width: 95%;
  margin: 150px auto 0;
}
.news-section {
  padding: 30px 20px;
  text-align: center;
  background-color: #ececec;
  margin: 50px 30px;
  max-width: 1200px;
  border-radius: 30px;
}

}
@media (max-width: 1000px) {

.main_view{
  width: 95%;
  margin: 150px auto 0;
}

.waving-character {
    position: absolute;
    top: 130px;
    right: 60px;
    width: 170px;
    height: auto;
    z-index: 10;
    transition: transform 0.6s ease;
    transform: translate(0, 0); /* 初期：ひょっこり見えてる */
    z-index: 0;
}
.waving-character.hide {
    transform: translate(40%, -75%);
}
}
@media (max-width: 768px) {
  .news-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 20px;
  }
  .news-container {
    grid-template-columns: 1fr;
  }
  .news-section {
  position: relative; /* ← 角丸装飾の基準にするため追加 */
  padding: 30px 20px;
  text-align: center;
  background-position: center center;
  margin: 50px auto;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden; /* 白丸がはみ出さないように */
}
}
@media (max-width: 600px) {

.main_view{
  width: 90%;
  margin: 140px auto 0;
}
.campaign{
    width: 90%;
    max-width: 900px;
    margin: 10px auto;
}
.waving-character.hide {
    transform: translate(40%, -100%);
}
/* ==== 四隅の白い丸装飾 ==== */
.news-section::before,
.news-section::after,
.news-section .corner-circle::before,
.news-section .corner-circle::after {
  content: "";
  position: absolute;
  width: 15px;  /* 丸の大きさ（調整可） */
  height: 15px;
  background: #b1b1b1;
  border-radius: 50%;
  z-index: 1;
}
}
@media (max-width: 400px) {

  .news-section {
  position: relative; /* ← 角丸装飾の基準にするため追加 */
  padding: 30px 0px;
  text-align: center;
  background-position: center center;
  margin: 50px 20px;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden; /* 白丸がはみ出さないように */
}
}

.line{
    width: 100%;
}
.line img {
    width: 100%;
    height: 100%;
    display: block; 
}

.color_background{
    width: 100%;
    background-image: url(../img/23848.jpg);
    background-size: cover;
    padding: 100px 0;
}

.title {
    display: flex;
    align-items: center;
}


.title h2 {
    font-family: 'CustomFont2', sans-serif;
    font-size: 3em;
    color: #333333;
    margin-left: 30px;
    padding-top: 10px;
}

.title img{
    width: 60px;
}

.new-images-container {
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 20px;
}

/* 横スクロールできるように調整 */
.scroll-wrapper {
  max-width: 1200px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.scroll-wrapper.active {
  cursor: grabbing;
}

/* 横並びで折り返さない */
.product-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  min-width: max-content; /* 必須！横幅を超えさせる */
  padding: 30px 0;
}

.product-card {
  width: 250px;
  flex: 0 0 auto;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.product-card a {
    text-decoration: none;
}

.product-card:hover {
  transform: translateY(-3px);
}

/* 商品画像 */
.product-thumbnail {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
/* 締切表示 */
.product-deadline {
  width: 100%;
  text-align: center;
  background: #f8f8f8;
  font-size: 0.9em;
  padding: 4px 0;
  color: #555;
  border-bottom: 1px solid #e0e0e0;
}

/* 詳細エリア */
.product-info {
  padding: 10px;
}

.profile-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.more_button {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

a.btn_18 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 250px;
    padding: 1rem 3rem;
    font-weight: bold;
    border-radius: 10px;
    color: #3b3b3b;
    font-size: 20px;
    border: 3px solid #3b3b3b;
    box-shadow: 5px 5px #3b3b3b;
    transition: box-shadow 0.3s ease-in-out;
    background-color: white;
    text-decoration: none;
    position: relative;
}

a.btn_18:hover {
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out; /* ← 追加 */
}

.button_pic {
    width: 100px;
    margin-right: 30px;
    margin-bottom: -30px;
    transition: transform 0.3s ease-in-out;
}

[class^="button_pic"].hovered {
    transform: translate(5px, 5px);
}
.button_pic2{
    width: 100px;
    margin-right: 30px;
    margin-bottom: -15px;
    transition: transform 0.3s ease-in-out;

}
.button_pic3{
    width: 100px;
    margin-right: 30px;
    margin-bottom: -26px;
    position: relative;
    z-index: 5;
    transition: transform 0.3s ease-in-out;

}

.arrow{
    width: 25px;
    height: 25px;
    margin-top: 3px;
}
.product_name{
    color: #333333;
    font-size: 1.3em;
}
.product_price{
    text-align: left;
    color: #d85ca8;
    font-size: 1.5em;
}
.product_explain{
    color: #333333;
}
.product_creator{
    display: flex;
    align-items: center;
    gap: 15px;
}
.product_creator p{
    color: #333333;
    font-size: 1.4em;
}
.elapsed-time{
    text-align: right;
    color: #5f5f5f;
    width: 100%;
    font-size: .8em;
}
.elapsed-time img{
    width: 13px;
    height: 13px;
    margin-right: 5px;
    margin-top: 3px;
}
.product-category {
    background-color: #5fbfdf; /* 水色 */
    color: #fff;               /* 白文字 */
    font-weight: bold;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

/* ---------- mosaic thumbnail ---------- */
.product-thumb-wrapper {
    position: relative;          /* ロゴを重ねる土台 */
}

.product-thumbnail {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* ▼ モザイク（ぼかし） */
.product-thumbnail.mosaic {
    /* ぼかし量はお好みで。pixelate を強調したい場合は値を上げる */
    filter: blur(6px);
    /* さらに明度を落として「隠している」感を強めるなら ↓ */
    /* filter: blur(6px) brightness(0.7); */
}

/* ▼ ロゴ（画像の 2/3 サイズで中央配置） */
.mosaic-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 完全中央寄せ */
    width: 66%;       /* = 2/3 */
    height: auto;
    pointer-events: none;        /* クリック判定を邪魔しない */
    opacity: 0.85;              /* 背景となじむ程度の透過に */
}

/* レスポンシブ対応（スマホ・タブレット） */
@media screen and (max-width: 1024px) {
    .new-images-container {
        padding: 15px;
    }

    .title h2 {
        font-size: 2.2em;
    }

    .title img {
        width: 45px;
    }

    .product-card {
        width: 200px;
    }

    .product_name {
        font-size: 1.1em;
    }

    .product_price {
        font-size: 1.2em;
    }

    .product_creator p {
        font-size: 1.2em;
    }


    .btn_18 {
        width: 200px!important;
        font-size: 18px!important;
        padding: 0.8rem 2rem!important;
    }
    .button_pic{
    width: 80px;
    margin-right: 30px;
    margin-bottom: -25px;
}
.button_pic2{
    width: 80px;
    margin-right: 30px;
    margin-bottom: -12px;
}
.button_pic3{
    width: 80px;
    margin-right: 30px;
    margin-bottom: -22px;
    position: relative;
    z-index: 5;
}


    .arrow {
        width: 20px;
        height: 20px;
    }
      .product-thumbnail{height:300px;}

}

@media screen and (max-width: 600px) {

    .title h2 {
        font-size: 1.8em;
        margin-left: 15px;
    }

    .scroll-wrapper {
        padding: 0 10px;
    }

    .product-card {
        width: 160px;
    }

    .product_name {
        font-size: 1em;
    }

    .product_price {
        font-size: 1.1em;
    }

    .product_creator p {
        font-size: 1em;
    }

    .profile-icon {
        width: 40px;
        height: 40px;
    }

    .btn_18 {
        width: 180px;
        font-size: 16px;
        padding: 0.6rem 1.5rem;
    }


    .arrow {
        width: 18px;
        height: 18px;
    }
      .product-thumbnail{height:240px;}

}

/* ここまで */


.featured-creators {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}
.featured-creators a{
    text-decoration: none;
    color: #333333;
}

.scroll-wrapper {
    overflow: hidden;
    position: relative;
}

.creator-list {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    width: max-content;
    list-style: none;
    margin-top: 50px;
}

.creator-item {
    flex: 0 0 auto;
    text-align: center;
    font-size: 20px;
}

.profile-border {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--border-color, #ccc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.profile-icon-large {
    border-radius: 50%;
    object-fit: cover;
    width: 135px;
    height: 135px;
    background-color: white;
}


@media screen and (max-width: 600px) {

.profile-border {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--border-color, #ccc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.profile-icon-large {
    border-radius: 50%;
    object-fit: cover;
    width: 95px;
    height: 95px;
    background-color: white;
}
}


/* ここまで*/

.creator-ranking{
    width: 100%;
    background-image: url(../img/ranking_background.jpg);
    background-position: center top;
    background-size: cover;
    padding: 100px 0;
}

.creator-ranking_space{
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.ranking-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px 80px;
    background-color: transparent; /* 背景削除 */
    padding: 10px;
    margin-top: 40px;
    max-width: 900px;
}

/* カード背景と影の追加 */
.rank-card {
    position: relative;
    overflow: visible;
    padding-left: 80px;
    background-color: #fff; /* 背景白に */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* 影追加 */
    border-radius: 8px;
}


/* メダル共通 */
.medal img {
    position: absolute;
    top: -10px;
    left: -30px;
    z-index: 2;
    pointer-events: none;
}

.rank-card.first {
    background-image: url(../img/501138.jpg);
    background-size: cover;
    background-position: center;
}

/* メダルのサイズを順位ごとに変える */
.rank-card.first .medal img {
    width: 80px;
}

.rank-card.top3 .medal img {
    width: 60px;
}

.rank-card.small .medal img {
    width: 50px;
}

/* 1位専用スタイル */
.rank-card.first {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.rank-card.first .creator-img {
    width: 65px;
    height: 65px;
}

.rank-card.first .creator-name {
    font-size: 1.5em;
}

.rank-card.first .sales-count {
    font-size: 1.2em;
}

/* 2位・3位横並び */
@media screen and (min-width: 768px) {
    .rank-card.top3 {
        display: inline-block;
        width: calc(50% - 40px);
        vertical-align: top;
    }
}
.rank-card.top3 {
    padding-top: 5px;
    padding-bottom: 5px;
    background-image: url(../img/707384.jpg);
    background-size: cover;
    background-position: center;
}

/* 2位・3位画像サイズ */
.rank-card.top3 .creator-img {
    width: 60px;
    height: 60px;
}

.rank-card.top3 .creator-name {
    font-size: 1.2em;
}

.rank-card.top3 .sales-count {
    font-size: 1em;
}

/* 4位〜10位グリッド表示 */
@media screen and (min-width: 768px) {
    .rank-card.small {
        width: calc(40% - 13.3px);
        display: inline-block;
    }
}
.rank-card.small{
    padding-top: 5px;
    padding-bottom: 5px;
}

.rank-card.small .creator-img {
    width: 50px;
    height: 50px;
}

.rank-card.small .creator-name {
    font-size: 1em;
}

.rank-card.small .sales-count {
    font-size: 0.9em;
}

/* 画像共通 */
.creator-img {
    border-radius: 50%;
    object-fit: cover;
}

.creator-info {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.creator-name, .sales-count {
    color: #333;
    margin: 4px 0;
}

.creator-ranking a{
    text-decoration: none;
}


/* アニメーション */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.rank-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* スクロールで表示されたとき */
.rank-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== モバイル対応（768px未満） ===== */
@media screen and (max-width: 767px) {
    .ranking-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .rank-card {
        width: 100%;
        padding: 10px 10px 10px 60px;
    }

    .creator-info {
        flex-direction: row;
        gap: 20px;
    }

    .creator-name {
        font-size: 1.1em;
    }

    .sales-count {
        font-size: 0.9em;
    }

    .rank-card.first .creator-name {
        font-size: 1.3em;
    }

    .rank-card.first .sales-count {
        font-size: 1em;
    }

    .rank-card.top3,
    .rank-card.small {
        width: 100%;
    }


    .rank-card.first .creator-img {
        width: 60px;
        height: 60px;
    }

    .medal img {
        width: 40px !important;
        top: -5px;
        left: -20px;
    }
}

/* ここまで */

.medal_area {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 50px auto 0;
    padding: 20px;
}

.medal_wrap {
    position: relative;
    overflow: hidden;
}

.medal_wrap img {
    width: 100%;
    display: block;
}

/* キラッと光る疑似要素 */
.medal_wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shine 5s infinite;
}

/* 光の動き */
@keyframes shine {
    0%   { left: -75%; }
    10%  { left: 125%; }
    100% { left: 125%; }
}

.product-thumb-wrapper.mosaic img.product-thumbnail {
    filter: blur(8px); /* モザイクっぽくする */
}

.product-thumb-wrapper .mosaic-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    opacity: 0.8;
    pointer-events: none;
}

.talk-start {
    color: #333333;
}

.talk-start span{
    font-size: .8em;
}

.for-u_goods {
    max-width: 600px;
    margin: 50px auto 0;
    padding: 20px;
}

.for-u_goods img{
    width: 100%;
}
