@charset "UTF-8";
.wrapper {
  padding-top: 150px;
  background-color: #fefaf7;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .wrapper {
    padding-top: 120px;
  }
}
.mv-sub__visual {
  background: url("/_common_n/img/order/mv2.png") right center/cover no-repeat;
}
/* -------------------------------- */
.order {
  position: relative;
  padding: 160px 5%;
}
.order__inner {
  max-width: 988px;
  margin: 0 auto;
  transform: translateX(100px);
}
@media screen and (max-width: 1320px) {
  .order__inner {
    transform: translateX(0);
  }
}
@media screen and (max-width: 767px) {
  .order {
    padding: 60px 24px 100px;
  }
  .order__inner {
    display: flex;
    flex-direction: column;
  }
}
.item-wrap {
  margin-top: 60px;
  margin-bottom: 160px;
}
.item {
  display: flex;
  flex-direction: row-reverse;
}
.order__category {
  margin: 0 auto 80px;
}
/* =====================================
  カテゴリー見出し
===================================== */
.item__category {
  font-size: 32px;
  font-weight: bold;
  border-bottom: dotted 2px #D3D3D3;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 25px;
}
.item__category::before {
  content: "";
  width: 60px;
  height: 60px;
  background: url("/_common_n/img/order/icon.png") center/contain no-repeat;
  flex-shrink: 0;
  display: block;
}
@media (max-width:768px) {
  .item__category {
    font-size: 22px;
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 30px;
  }
  .item__category::before {
    width: 36px;
    height: 36px;
  }
}
.item__content {
  width: 100%;
  padding-right: 50px;
}
.item__thumbnail {
  aspect-ratio: 1/.766;
  background-color: #fff;
  border-radius: 20px;
  max-width: 100%;
  max-height: 450px;
  overflow: hidden;
}
.item__thumbnail img {
  max-height: 450px !important;
  width: auto;
  margin: 0 auto;
}
ul.item__thumbnail-nav {
  margin-top: 30px;
  padding: 0;
  list-style: none;
}
/* メインslider：前後スライドが見えないように必ずクリップ */
.item__thumbnail.js-main-slider, .item__thumbnail.js-main-slider .slick-list {
  overflow: hidden !important;
}
/* もしどこかでslick-slideに余白が入っている場合を潰す */
.item__thumbnail.js-main-slider .slick-slide {
  margin: 0 !important;
  padding: 0 !important;
}
/* “白い余白”部分に前の画像が透けないように背景を固定 */
.item__thumbnail.js-main-slider, .item__thumbnail.js-main-slider .slick-slide {
  background: #fff;
}
/* =====================================
  商品詳細
===================================== */
.item__content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  font-size: 28px;
  letter-spacing: .05em;
}
.item__content h3 span {
  width: 12px;
  height: 12px;
  background-color: #e47d6e;
  border-radius: 10px;
}
.item__content-text {
  margin-top: 22px;
  letter-spacing: .05em;
  line-height: 2;
}
/* 表の代わりに置く2ボタン */
.item__mini-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
/* 小さいボタン */
.item__mini-btns .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px; /* ←ご希望の幅 */
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e47d6e;
  border-radius: 999px;
  background: #fff;
  color: #e47d6e;
  font-size: 14px;
  letter-spacing: .05em;
  text-decoration: none;
  box-sizing: border-box;
  transition: .3s;
}
.item__mini-btns .mini-btn:hover {
  background: #e47d6e;
  color: #fff;
}
/* スマホ調整 */
@media screen and (max-width: 767px) {
  .item__mini-btns {
    gap: 10px;
  }
  .item__mini-btns .mini-btn {
    width: 100%;
    max-width: 220px; /* 2つ並べたい/1列にしたいで調整OK */
    height: 42px;
    font-size: 14px;
  }
}
/* ========== サムネ：共通 ========== */
.thumb-wrap {
  position: relative;
  margin-top: 30px;
}
/* ulを横スクロール型に（3枚表示の「枠」になる） */
.thumb-wrap .js-thumb-slider {
  display: flex;
  overflow: hidden; /* 3枚以外は隠す */
  padding: 0;
  margin: 0;
  list-style: none;
  scroll-behavior: smooth;
}
/* 3枚表示：1枚の幅 = 1/3 */
.thumb-wrap .js-thumb-slider > li {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 0 8px; /* 既存の slick padding 相当 */
  height: 150px;
}
/* 画像は枠いっぱいに（上下余白なし） */
.thumb-wrap .js-thumb-slider img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  cursor: pointer;
  opacity: .5;
}
.thumb-wrap .js-thumb-slider img.active {
  opacity: 1;
  border: 2px solid #e47d6e;
}
/* ========== サムネ矢印（4枚以上でJSが表示） ========== */
.thumb-wrap .thumb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255, 255, 255, .85);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.thumb-wrap .thumb-prev {
  left: -6px;
}
.thumb-wrap .thumb-next {
  right: -6px;
}
.thumb-wrap .thumb-arrow::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
  color: rgba(0, 0, 0, .75);
  line-height: 1;
}
.thumb-wrap .thumb-prev::before {
  content: "\f053";
}
.thumb-wrap .thumb-next::before {
  content: "\f054";
}
.thumb-wrap .thumb-arrow[disabled] {
  opacity: .35;
  cursor: default;
}
/* ========== SP：高さだけ調整 ========== */
@media (max-width:767px) {
  .thumb-wrap .js-thumb-slider > li {
    height: 110px;
    padding: 0 6px;
  }
}
@media screen and (max-width: 767px) {
.order__category {
  margin: 0 auto 40px;
}
  .item-wrap {
    margin-top: 40px;
    margin-bottom: 80px;
  }
  .item {
    flex-direction: column;
  }
  .item__content {
    display: contents;
    padding-right: 0;
  }
  .item__thumbnail {
    height: 230px;
    max-height: none;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
  }
  ul.item__thumbnail-nav {
    gap: 16px 8px;
  }
  .item__thumbnail img {
    max-height: 230px !important;
  }
  /* メイン枠：高さを固定して中身を中央寄せ */
  .item__thumbnail {
    height: 230px; /* ←ここで高さを決める */
    max-height: none; 
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
  }
  /* slick 内部を高さ100%に揃える */
  .item__thumbnail.js-main-slider, .item__thumbnail.js-main-slider .slick-list, .item__thumbnail.js-main-slider .slick-track, .item__thumbnail.js-main-slider .slick-slide, .item__thumbnail.js-main-slider .slick-slide > div {
    height: 100%;
  }
  /* 画像を“上下左右中央”に配置 */
  .item__thumbnail.js-main-slider picture, .item__thumbnail.js-main-slider .slick-slide > div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  /* ここが本丸：切れない＆中央寄せ（横長でも右端が切れない） */
  .item__thumbnail.js-main-slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* 切れない */
    object-position: center center !important; /* 中央寄せ */
    display: block;
  }
  .item__content h3 {
    gap: 10px;
    margin-top: 30px;
    font-size: 18px;
    letter-spacing: .05em;
  }
  .item__content h3 span {
    width: 12px;
    height: 12px;
  }
  .item__content-text {
    margin-top: 20px;
  }
}
/* =====================================
  Slick 矢印（＜＞を丸の中心に）
===================================== */
.order .js-main-slider .slick-prev, .order .js-main-slider .slick-next, .order .js-thumb-slider .slick-prev, .order .js-thumb-slider .slick-next {
  z-index: 5;
  background: rgba(255, 255, 255, .85);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order .js-main-slider .slick-prev {
  left: 10px;
}
.order .js-main-slider .slick-next {
  right: 10px;
}
.order .js-thumb-slider .slick-prev {
  left: -6px;
}
.order .js-thumb-slider .slick-next {
  right: -6px;
}
.order .js-main-slider .slick-prev, .order .js-main-slider .slick-next {
  width: 44px;
  height: 44px;
}
.order .js-thumb-slider .slick-prev, .order .js-thumb-slider .slick-next {
  width: 34px;
  height: 34px;
}
/* FontAwesomeで左右固定（margin禁止） */
.order .js-main-slider .slick-prev:before, .order .js-main-slider .slick-next:before, .order .js-thumb-slider .slick-prev:before, .order .js-thumb-slider .slick-next:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
  color: rgba(0, 0, 0, .75);
  opacity: 1;
  line-height: 1;
  margin: 0;
}
.order .js-main-slider .slick-prev:before, .order .js-thumb-slider .slick-prev:before {
  content: "\f053";
}
.order .js-main-slider .slick-next:before, .order .js-thumb-slider .slick-next:before {
  content: "\f054";
}
/* =====================================
  カート部分
===================================== */
.item__cta {
  width: 343px;
  min-width: 343px;
}
.item__cta {}
.item__name {
  padding-bottom: 12px;
  font-size: 28px;
  letter-spacing: .05em;
  border-bottom: 1px solid #e47d6e;
}
.item__price {
  margin-top: 30px;
  font-size: 28px;
  font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", system-ui, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  letter-spacing: .05em;
}
.item__price small {
  font-size: 18px;
}
.item__cta .subTxt {
    font-size: 12px;
    color: #666;
}
.item__cta .subTxt2 {
    font-size: 14px;
    color: #666;
    margin: 15px 0 -15px;

}

.item__cta ul {
  margin-top: 20px;
  border-top: 1px solid #d3d3d3;
}
.item__cta ul li {
  display: flex;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #d3d3d3;
}
.item__cta ul li h4 {
  width: 90px;
  min-width: 90px;
  font-weight: bold;
}
.item__cta ul li .input_text {
  width: 100%;
}
.item__cta ul li .input_text input {
  display: block;
  width: 100%;
  padding: 6px 8px;
  background: #f9f9f9;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #d3d3d3;
}
.item__cta ul li .select {
  position: relative;
  width: 100%;
  display: block;
}
.item__cta ul li .select::after {
  position: absolute;
  content: '\f078';
  top: 50%;
  right: 10px;
  transform: translate(0, -50%);
  color: #e47d6e;
  font-size: 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  pointer-events: none;
}
.item__cta ul li .select select {
  display: block;
  width: 100%;
  padding: 6px 8px;
  background-color: #f9f9f9;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #d3d3d3;
}

.item__cta ul li.js-frame-li .select::after {
  top: 15px;
}

/* 額装画像：セレクトの下に100%で表示 */
.frame-preview{
  margin-top:10px;
}
.frame-preview img{
  display:block;
  width:100%;
  height:auto;
}

.submit-btn button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 392px;
  height: 70px;
  margin-top: 25px;
  background-color: #e47d6e;
  color: #fff;
  letter-spacing: .05em;
  text-align: center;
  border: 1px solid #e47d6e;
  border-radius: 35px;
}
.submit-btn button::after {
  position: absolute;
  content: '\f061';
  top: 50%;
  right: 25px;
  transform: translate(0, -50%);
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  transition: .3s;
}
.submit-btn button:hover {
  background-color: #fff;
  color: #e47d6e;
  transition: .3s;
}
.submit-btn button:hover::after {
  right: 19px;
  transition: .3s;
}
.contact-btn a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 392px;
  height: 70px;
  margin-top: 20px;
  background-color: #fff;
  color: #e47d6e;
  letter-spacing: .05em;
  text-align: center;
  border: 1px solid #e47d6e;
  border-radius: 35px;
}
.contact-btn a::after {
  position: absolute;
  content: '\f061';
  top: 50%;
  right: 25px;
  transform: translate(0, -50%);
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  transition: .3s;
}
.contact-btn a:hover {
  background-color: #e47d6e;
  color: #fff;
  transition: .3s;
}
.contact-btn a:hover::after {
  right: 19px;
  transition: .3s;
}
@media screen and (max-width: 767px) {
  .item__cta {
    /* ここが原因：display:contents をやめる */
    display: block;
    width: 100%;
    min-width: 0;
  }
  .item__name {
    padding-top: 30px;
    padding-bottom: 12px;
    font-size: 24px;
    letter-spacing: .05em;
    border-bottom: 1px solid #e47d6e;
  }
  .item__price {
    margin-top: 30px;
    font-size: 22px;
    letter-spacing: .05em;
  }
  .item__price small {
    font-size: 18px;
  }
  .item__cta ul {
    margin-top: 20px;
  }
  .item__cta ul li {
    padding: 10px 0;
    font-size: 14px;
  }
  .item__cta ul li h4 {
    width: 80px;
    min-width: 80px;
  }
  .submit-btn button {
    max-width: 100%;
    height: 60px;
    margin-top: 25px;
  }
  .contact-btn a {
    max-width: 100%;
    height: 60px;
    margin-top: 20px;
  }
}
.size-price-table-wrap {
  margin-top: 28px;
  border: 1px solid #d3d3d3;
  border-radius: 20px;
  overflow: hidden;
}
.size-price-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.size-price-table-wrap table thead {
  background-color: #e47d6e;
  color: #fff;
}
.size-price-table-wrap table th {
  padding: 16px;
  text-align: center;
  border-right: 1px solid #d3d3d3;
}
.size-price-table-wrap table th:last-child {
  border-right: 0;
}
.size-price-table-wrap table td {
  padding: 16px;
  text-align: center;
  border-right: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
}
.size-price-table-wrap table td:last-child {
  border-right: 0;
}
.size-price-table-wrap table tr:last-child td {
  border-bottom: 0;
}
.size-price-table-wrap table td small {
  font-size: 12px;
}
.size-price-table-wrap table td:nth-child(1) {
  background-color: #f9f5f2;
}
.size-price-table-memo {
  margin-top: 10px;
  color: #888;
  text-align: right;
}
/* =====================================
  左メニュー
===================================== */
.products-list {
  position: absolute;
  top: 160px;
  left: 0;
  width: 262px;
  padding: 52px;
  max-height: 100%;
  background: #fff;
  border-radius: 0 30px 30px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
  z-index: 99;
  overflow-y: auto;
}
.products-list.fixed {
  position: fixed;
  top: 0;
}
.products-list h3 {
  font-size: 20px;
  letter-spacing: .1em;
}
.products-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
}
.products-list ul li a {
  color: #e47d6e;
  line-height: 26px;
  letter-spacing: .05em;
}
.products-list ul li a:hover {
  opacity: .5;
  transition: .3s;
}
ul.products-sub {
  margin-top: 10px;
  margin-left: 10px;
  gap: 8px;
}
ul.products-sub li {
  margin: 0;
  position: relative;
  padding-left: 10px;
}
ul.products-sub li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.8em;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #e47d6e;
  border-radius: 50%;
}

@media screen and (max-width:1320px) {
  .products-list {
    position: initial;
    width: 100%;
    margin-top: 100px;
    padding: 52px;
    border-radius: 30px;
  }
  .products-list.fixed {
    position: initial;
    top: auto;
  }
}
@media screen and (max-width:767px) {
  .products-list {
    padding: 30px;
  }
  .products-list ul {
    gap: 6px;
    margin-top: 6px;
  }
    ul.products-sub li::before {
       top: 1.1em;
       left: -2px;
     width: 4px;
      height: 4px;
    }
}
/* =====================================
  ここで順序を固定
===================================== */
@media screen and (max-width: 767px) {
  .item__thumbnail {
    order: -20;
  }
  .thumb-wrap {
    order: -10;
  }
  .item__cta {
    order: 0;
  }
}