@charset "utf-8";
/* CSS Document */
#nicolaibergmann img {
  width: 100%;
  height: auto;
}
#nicolaibergmann svg {
  shape-rendering: geometricPrecision;
}
#nicolaibergmann .fix {
  clear: both;
}
@media screen and (min-width: 737px) {
  #nicolaibergmann {
    width: calc(100vw - 0.7%);
    margin: 0 calc(50% - 50vw);
    min-height: 100%;
    background-image: linear-gradient(180deg, rgba(244, 35, 100, 1) 10%, rgba(255, 84, 163, 1) 25%, rgba(158, 60, 99, 1) 38%, rgba(134, 54, 83, 1) 48%, rgba(239, 143, 206, 1) 60%, rgba(175, 218, 77, 1) 75%, rgba(232, 204, 183, 1) 90%);
    background-attachment: fixed;
    background-repeat: no-repeat;
  }
  #nicolaibergmann main {
    max-width: 1200px;
    min-height: 100%;
    margin: 0 auto;
    background-image: /* ノイズSVG */ url("data:image/svg+xml,%3Csvg viewBox='0 0 2000 2000' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 100;
  }
  #nicolaibergmann .kv_area {
    max-width: 100%;
    padding: 4rem 0 2rem;
    margin: 0 auto;
  }
  /* --- 商品イメージ画像（先に表示） --- */
  #nicolaibergmann .kv_img {
    width: 100%;
    /*filter: drop-shadow(2px 2px 2px #aaa);
    /* ▼ 追加：初期状態を透明にし、0.2秒後に1秒かけて表示 */
    opacity: 0;
    animation: fadeUpAnim 1s ease-out 0.2s forwards;
  }
  /* --- ロゴ画像（時間差で遅れて表示） --- */
  #nicolaibergmann .logo {
    width: 50%;
    margin: 2rem 25%;
    /* ▼ 追加：初期状態を透明にし、商品画像より遅らせて0.8秒後に表示 */
    opacity: 0;
    animation: fadeUpAnim 1s ease-out 0.8s forwards;
  }
  #nicolaibergmann .tit_area {
    padding: 1.5rem 0.5rem;
    border-bottom: #000 solid 1px;
    border-top: #000 solid 1px;
    text-align: center;
  }
  #nicolaibergmann .h1_tit {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  #nicolaibergmann .lead {
    font-size: 1.1rem;
  }
  /*--coupon_area--*/
  #nicolaibergmann .coupon_area {
    max-width: 90%;
    border: 1px solid #292929;
    padding: 1rem 1.5rem;
    margin: 0 5% 2rem;
    box-sizing: border-box;
  }
  #nicolaibergmann .coupon_area h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  #nicolaibergmann .aten {
    font-size: 0.85rem;
  }
  #nicolaibergmann dl {
    margin: .5rem 0;
  }
  #nicolaibergmann dl > div {
    display: flex;
    gap: 10px;
  }
  #nicolaibergmann dt {
    font-weight: 500;
  }
  /* --- プロフィール共通エリア設定 --- */
  #nicolaibergmann .prof {
    max-width: 100%;
    height: auto;
    background-color: #292929;
    padding: 2.5rem; /* 少し広げました */
    margin-bottom: 2rem;
    color: #fff;
  }
  #nicolaibergmann .prof h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
    border-left: 3px solid #fff; /* ワンポイントのあしらい */
    padding-left: 10px;
  }
  #nicolaibergmann .prof .comment-part p {
    font-size: 1rem;
    line-height: 1.85rem;
    margin-bottom: 2.5rem; /* プロフィールとの間隔 */
  }
  #nicolaibergmann .conL {
    float: left;
  }
  #nicolaibergmann .conR {
    float: right;
    margin-bottom: 2.5rem;
  }
  #nicolaibergmann .conR img {
    width: 150px;
    margin-left: 1rem;
  }
  #nicolaibergmann .prof .comment-part .cap {
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.4rem;
    text-align: right;
    margin-top: -2.0rem;
    opacity: 0.8;
  }
  /* --- プロフィール詳細（横並びレイアウト） --- */
  #nicolaibergmann .profile-area {
    display: flex;
    gap: 30px; /* 画像とテキストの間隔 */
    align-items: flex-start;
    border-top: 1px solid #555; /* コメントとの境界線 */
    padding-top: 2.5rem;
  }
  #nicolaibergmann .profile-img {
    width: 180px; /* 画像の横幅を固定 */
    flex-shrink: 0; /* 画像が潰れないように固定 */
  }
  #nicolaibergmann .profile-img img {
    width: 100%;
    height: auto;
    /* 画像を円形にしたい場合は以下を追加 */
    /* border-radius: 50%; */
  }
  #nicolaibergmann .profile-text {
    flex: 1;
  }
  #nicolaibergmann .profile-text h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
  }
  #nicolaibergmann .profile-text h4 span {
    font-size: 0.85rem;
    font-weight: normal;
    margin-left: 5px;
    opacity: 0.8;
  }
  #nicolaibergmann .profile-text p {
    font-size: 0.9rem; /* プロフィール文は少し小さめに */
    line-height: 1.6rem;
    color: #ccc;
  }
  /* --- ▼ ここから商品レイアウト ▼ --- */
  /* CMS干渉を防ぐため、すべてに #nicolaibergmann を付与 */
  #nicolaibergmann .product-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 60px 60px 30px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
  #nicolaibergmann .product-item {
    width: 100%;
  }
  #nicolaibergmann .product-gallery {
    width: 100%;
    margin-bottom: 20px;
  }
  #nicolaibergmann .main-image {
    /* ▼ 修正：200%から100%に戻す（これで枠内に正しく収まります） */
    width: 100%;
    margin-bottom: 10px;
  }
  #nicolaibergmann .main-image img {
    width: 100%;
    /* ボリューム感を出すために縦長にしたい場合は 1/1 を 4/5 などに変更 */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
  }
  /* ▼ サムネイルリスト（センタリング） ▼ */
  #nicolaibergmann .thumbnail-list {
    display: flex;
    justify-content: center; /* ご希望通り中央寄せ */
    gap: 10px;
  }
  #nicolaibergmann .thumb-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }
  #nicolaibergmann .thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
  #nicolaibergmann .thumb-btn:hover img, #nicolaibergmann .thumb-btn.is-active img {
    opacity: 1;
  }
}
/* --- 商品情報テキスト（左寄せ） --- */
#nicolaibergmann .product-info {
  text-align: left;
  width: 100%;
}
#nicolaibergmann .product-date {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 8px;
}
#nicolaibergmann .product-name {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
}
#nicolaibergmann .product-price {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
#nicolaibergmann .product-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}
@media screen and (max-width:736px) {
  #nicolaibergmann {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 0;
    margin-top: -10px;
    background-image: linear-gradient(180deg, rgba(244, 35, 100, 1) 10%, rgba(255, 84, 163, 1) 25%, rgba(158, 60, 99, 1) 38%, rgba(134, 54, 83, 1) 48%, rgba(239, 143, 206, 1) 60%, rgba(175, 218, 77, 1) 75%, rgba(232, 204, 183, 1) 90%);
    background-attachment: fixed;
    background-repeat: no-repeat;
  }
  #nicolaibergmann main {
    max-width: 100%;
    margin: 0 10px;
    box-sizing: border-box;
    background-image: /* ノイズSVG */ url("data:image/svg+xml,%3Csvg viewBox='0 0 2000 2000' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 100;
  }
  #nicolaibergmann .kv_area {
    max-width: 100%;
    padding: 3rem 0 2rem;
    margin: 0 auto;
  }
  #nicolaibergmann .kv_img {
    width: 100%;
    filter: drop-shadow(1px 1px 1px #aaa);
    opacity: 0;
    animation: fadeUpAnim 1s ease-out 0.2s forwards;
  }
  #nicolaibergmann .logo {
    width: 56%;
    margin: 1.5rem 22%;
    opacity: 0;
    animation: fadeUpAnim 1s ease-out 0.8s forwards;
  }
  #nicolaibergmann .tit_area {
    padding: 1.4rem;
    border-bottom: #000 solid 1px;
    border-top: #000 solid 1px;
    text-align: center;
  }
  #nicolaibergmann .h1_tit {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5rem;
    margin-bottom: 15px;
  }
  #nicolaibergmann .lead {
    font-size: 0.95rem;
  }
  /*--coupon_area--*/
  #nicolaibergmann .coupon_area {
    max-width: 100%;
    border: 1px solid #292929;
    padding: 1rem;
    margin: 0 1rem 2rem;
    box-sizing: border-box;
  }
  #nicolaibergmann .coupon_area h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  #nicolaibergmann .coupon_area p {
    font-size: 0.9rem;
  }
  #nicolaibergmann .aten {
    font-size: 0.8rem !important;
  }
  #nicolaibergmann dl {
    margin: .5rem 0;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }
  #nicolaibergmann dl > div {
    display: block;
    gap: 10px;
  }
  #nicolaibergmann dt {
    font-weight: 500;
  }
  /*--prof--*/
  #nicolaibergmann .prof {
    max-width: 100%;
    height: auto;
    background-color: #292929;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
  }
  #nicolaibergmann .prof h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
    border-left: 3px solid #fff; /* ワンポイントのあしらい */
    padding-left: 10px;
  }
  #nicolaibergmann .prof .comment-part p {
    font-size: 0.9rem;
    line-height: 1.75rem;
    margin-bottom: 1.5rem;
  }
  #nicolaibergmann .profile-area {
    flex-direction: column; /* 上下並びに変更 */
    gap: 20px;
    border-top: 1px solid #555; /* コメントとの境界線 */
    padding-top: 2rem;
  }
  #nicolaibergmann .profile-text h4 {
    font-weight: 500;
  }
  #nicolaibergmann .profile-text h4 span {
    font-size: 0.85rem;
    font-weight: normal;
    margin-left: 5px;
    opacity: 0.8;
  }
  #nicolaibergmann .profile-text p {
    font-size: 0.8rem; /* プロフィール文は少し小さめに */
    line-height: 1.5rem;
    color: #ccc;
    margin-top: 10px;
  }
  #nicolaibergmann .profile-img {
    width: 200px; /* スマホでは少し小さく */
    margin: 0 auto 2rem; /* 中央寄せにしたい場合 */
  }
  #nicolaibergmann .profile-text {
    text-align: left; /* テキストは左寄せを維持 */
  }
  /* ▼ 1. 親要素をFlexboxにして縦並びにする */
  #nicolaibergmann .comment-part {
    display: flex;
    flex-direction: column;
  }
  /* ▼ 2. 要素の順番（order）を指定する */
  #nicolaibergmann .comment-part h3 {
    order: 1; /* 1番目 */
  }
  /* 「.cap」がついていない通常の <p>（メインテキスト） */
  #nicolaibergmann .comment-part > p:not(.cap) {
    order: 2; /* 2番目 */
    margin-bottom: 1.5rem; /* 画像との間に少し余白を設ける */
  }
  #nicolaibergmann .conR {
    order: 3; /* 3番目 */
    float: none; /* PCのfloat（右寄せ）を解除 */
    margin-bottom: 0.5rem;
    text-align: center; /* SPでは画像を中央寄せにする場合 */
  }
  #nicolaibergmann .prof .comment-part .cap {
    order: 4; /* 4番目 */
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.4rem;
    margin-top: 0;
    opacity: 0.8;
    text-align: center;
    font-feature-settings: "halt";
  }
  #nicolaibergmann .fix {
    display: none;
  }
  /* ▼ 4. SP用の画像サイズ調整（お好みで） */
  #nicolaibergmann .conR img {
    width: 100%;
    max-width: 200px;
    margin-left: 0;
  }
  /* スマホ版もCMS干渉を防ぐためプレフィックスを追加 */
  #nicolaibergmann .product-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 50px 20px 10px;
  }
  /* ▼ スマホでもサムネを中央寄せ ▼ */
  #nicolaibergmann .thumbnail-list {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  #nicolaibergmann .thumb-btn {
    width: calc((100% - 20px) / 3); /* 3枚が綺麗に並ぶ幅に自動計算 */
    max-width: 100px;
    height: auto;
    aspect-ratio: 1 / 1;
    border: none;
    padding: 0;
    margin: 10px 0 20px;
  }
}
/* ▼ 画像切り替え時のふわっとアニメーション ▼ */
@keyframes fadeInAnim {
  0% {
    opacity: 0.2;
  } /* 完全に透明にせず少し残すのが自然に見せるコツです */
  100% {
    opacity: 1;
  }
}
#nicolaibergmann .main-image img.is-animating {
  animation: fadeInAnim 0.5s ease-out forwards;
}
@keyframes fadeUpAnim {
  0% {
    opacity: 0;
    transform: translateY(0px); /* 30px下からスタート */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* 本来の位置へ */
  }
}