@charset "utf-8";
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

:root {
  --system-theme-color: #008791;
  --system-theme-color-light: #05c2af;
  --system-main-bg-color: #f9f9f9;
  --system-main-text-color: #333;
}

html {
  font-size: 10px;
}

body {
  width: 100%;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .02em;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  font-family: "Noto Sans JP", sans-serif;
  background: var(--system-main-bg-color);
  color: var(--system-main-text-color);
  box-sizing: border-box;
}
ul,li {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 12px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: #ccc;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.btn-add {
  width: 100%;
  border-radius: 100dvw;
  background: #eb3e39;
  color: #fff;
  padding: 16px 12px;
}
.btn-order {
  width: 100%;
  border-radius: 100dvw;
  background: var(--system-theme-color);
  color: #fff;
  padding: 16px 12px;
}
.btn-delete {
  width: 100%;
  border-radius: 100dvw;
  background: #e41111;
  color: #fff;
  padding: 16px 12px;
}
.sale {
  color: #e41111;
}
.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.main-content .ttl {
  font-size: 2rem;
  line-height: normal;
  margin: 0;
  padding: 20px;
}

.sp-layout {
  display: block;
}
.pc-layout {
  display: none;
}


@media screen and (min-width:960px) {

  body {
    font-size: 1.5rem;
  }

  .main-content .ttl {
    font-size: 2.8rem;
    padding-left: 0;
    padding-right: 0;
  }

  .sp-layout {
    display: none;
  }
  .pc-layout {
    display: block;
  }
}
@media screen and (min-width:1215px) {}



/************************************
  ヘッダー
************************************/
.header {
  width: 100%;
  height: max-content;
  background: #fff;
  border-bottom: 1px solid #f8f8f8;
  z-index: 100;
  position: sticky;
  top: 0;
}
.header-inner {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header-inner h1 {
  width: max-content;
  margin: 0;
  font-size: unset;
}
.header-inner h1 a {
  display: inline-flex;
  align-items: center;
  width: 80px;
  height: auto;
}

.hamburger-wrapper {
  width: max-content;
  height: 28px;
  background: transparent;
  border: transparent;
  padding: 0;
  z-index: 101;
}
.hamburger-wrapper span {
  display: inline-block;
}
.hamburger-wrapper span::before {
  font-family: 'Material Symbols Rounded';
  content: '\e5d2';
  font-size: 28px;
  color: #333;
}

.h-menu-wrapper {
  display: block;
  position: fixed;
  right: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background: rgba(255, 255, 255, 0.6);
  transition: ease .5s;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  text-align: center;
}
.h-menu-wrapper .menu-logo {
  width: 150px;
  margin-bottom: 50px;
}
.h-menu-wrapper .header-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.h-menu-content {
  padding: 100px 5%;
}
.h-menu-content .login-user-name {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: #000;
}
.header-nav span {
  margin-right: 3px;
}
.h-menu-wrapper .header-nav .btn-menu {
  display: block;
  align-items: center;
  width: 100%;
  font-size: 16px;
  margin-bottom: 10px;
  background: var(--system-theme-color);
  border-radius: 3px;
  color: #fff;
  padding: 10px 0;
}
.h-menu-wrapper .header-nav .btn-menu:last-child {
  background: #333;
}
.h-menu-wrapper.is-active {
  transform: translateX(0);
}
.hamburger-wrapper.is-active span::before {
  font-family: 'Material Symbols Rounded';
  content: '\e5cd';
  font-size: 28px;
  color: #333;
}
/*** スクロール制御 ***/
body.scroll-control {
  overflow: hidden;
}


@media screen and (min-width:960px) {
  .header-inner {
    padding: 14px 20px;
  }

  .header-nav {
    display: flex;
    align-items: center;
  }
  .header-nav a {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 14px;
    color: #333;
  }
}
@media screen and (min-width:1215px) {}



/************************************
  ログイン画面
************************************/
.login-content {
  width: 100%;
  height: 100vh;
}
.login-section .system-name {
  width: 100%;
  margin: 30px auto;
}
.login-section h2 {
  width: auto;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}
.login-section h2 img {
  width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}
.login-section h2 span {
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
}
.login-section h2 .subtitle {
  text-align:justify;
  text-align-last:justify;
}
.login-section h2 .subtitle2 {
  text-align: center;
  font-size: 1.8rem;

}
.login-form-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
}
.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}
.login-form label {
  display: block;
  margin-top: 15px;
  width: 100%;
}
.login-form label span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 3px;
}
input:not([type="checkbox"]),
textarea {
  padding: 6px;
  
  border: 1px solid #e9e9e9;
  border-radius: 5px;
  box-sizing: border-box;
  width: 100%;
}
textarea {
  field-sizing: content;
  width: 100%;
  height: 100px;
  min-height: min-content;
}
input[type="checkbox"],
input[type="radio"] {
  width: 0;
  width: 18px;
  height: 18px;
}
select {
  padding: 4px;
  
  border: 1px solid #e9e9e9;
  border-radius: 5px;
  box-sizing: border-box;
  width: 100%;
}
.login-form-wrapper .btn-group {
  width: 100%;
}
.btn-group .login-form-btn {
  margin-top: 30px;
  background: var(--system-theme-color);
  width: 100%;
}
.login-form-wrapper a {
  text-decoration: none;
  color: var(--system-theme-color);
  display: block;
  margin-top: 1em;
  text-align: center;
  font-size: 14px;
}


@media screen and (min-width:960px) {
  .login-content {
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login-section {
    max-width: 100%;
    width: 800px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
  }

  .login-section .system-name {
    width: 50%;
  }

  .login-form-wrapper {
    width: 50%;
  }

  .login-form {
    padding-right: 50px;
  }

  .login-form label:first-of-type {
    margin-top: 0;
  }
}
@media screen and (min-width:1215px) {}



/************************************
  商品検索画面(トップ)
************************************/
.main-content {
  position: relative;
}
.search-form-wrapper {
  width: 100%;
  background: #fff;
}
.search-form {
  padding: 20px;
  height: 100%;
}
.search-form label {
  display: block;
  margin-bottom: 15px;
}
.search-form label span {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
  font-weight: bold;
}
.search-form.estimate .inner label > span {
  margin-bottom: 0px;
  margin-left: 3px;
}
.search-form .btn-area {
  width: 100%;
}
.btn-search {
  width: 100%;
  background: var(--system-theme-color);
}

/****** 商品リスト ******/

.item-list-section {
  padding: 20px;
  margin: 0 auto;
}
.product-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
.product-list .item {
  display: block;
  color: #333;
  background: #fff;
  border-radius: 5px;
  position: relative;
}
.product-list .img {
  display: block;
  width: 100%;
  height: max-content;
  border-radius: 5px 5px 0 0;
}
.product-list .product-status {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-block;
  padding: 0 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
}
.product-list img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 5px 5px 0 0;
  background: #efefef;
  border: 1px solid #f1f1f1;
}
.product-list .text {
  display: block;
  width: 100%;
  padding: 10px;
}
.tag {
  display: inline-block;
  padding: 4px;
  font-size: 10px;
}
.category {
  background: var(--system-theme-color-light);
  color: #fff;
}
.product-list .text .tag {
  display: inline-block;
}
.product-list .text .name {
  display: block;
  margin-top: 0.5em;
  font-weight: bold;
}

/****** ページネーション ******/
.page-nation-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 40px auto 0 auto;
  gap: 0 5px;
}
.page-nation-content .page-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  font-size: 14px;
  border: 1px solid #f9f9f9;
  background: #f9f9f9;
  color: #333;
  cursor: pointer;
}
.page-nation-content span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  width: 32px;
  height: 32px;
  font-size: 14px;
}
.page-nation-content .page-item.current {
  border: 1px solid var(--system-theme-color);
  background: var(--system-theme-color);
  color: #fff;
}
.page-nation-content .page-arrow span {
  width: 15px;
  height: 15px;
}
.page-nation-content .page-arrow {
  font-size: 14px;
  color: var(--system-theme-color);
}
.page-nation-content.sp {
  gap: 0 2px;
}
.page-nation-content.sp .page-item {
  background: transparent;
  border: none;
  padding: 5px;
  width: 18px;
  height: 18px;
}
.page-nation-content.sp .page-item.in-input {
  padding: 0;
}
.page-nation-content.sp .page-item.max-num {
  padding: 3px;
}
.page-nation-content.sp .page-arrow {
  padding: 6px;
}


@media screen and (min-width:960px) {
  .search-form {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 15px;
    max-width: calc(100% - 250px);
    margin: 0 auto;
  }
  .search-form label {
    margin-bottom: 0;
  }
  .search-form label:last-of-type {
    margin-bottom: 0;
  }
  .search-form .btn-area {
    grid-column: 1 / 4;
  }

  /****** 商品リスト ******/
  .item-list-section {
    padding: 40px;
    max-width: calc(100% - 240px);
  }
  .product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
  }
  .product-list img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }
  .tag {
    padding: 2px 7px;
    font-size: 12px;
  }

  /****** ページネーション ******/
  .page-nation-content {
    margin: 80px auto 0 auto;
  }
}
@media screen and (min-width:1215px) {
  .search-form {
    max-width: 1100px;
  }
  .item-list-section {
    max-width: 1100px;
  }
}



/************************************
  商品詳細画面
************************************/
.product-wrapper {
  padding: 20px;
  margin: 0 auto;
  width: 100%;
  max-width: calc(100% - 40px);
}
/********** スライダー **********/
.detail-slide-wrapper {
  width: 100%;
}
.detail-main-slide {
  width: 100%;
}
.detail-main-slide .splide__slide .detail-slide-img {
  width: 100%;
  height: max-content;
}
.detail-main-slide .splide__slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #efefef;
  border: 1px solid #f1f1f1;
  box-sizing: border-box;
}
.detail-thum-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  width: 100%;
  margin-top: 10px;
}
.detail-thum-wrapper .detail-slide-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.detail-thum-img {
  border: 2px solid #f1f1f1;
  box-sizing: border-box;
  cursor: pointer;
  transition: all .5s;
}
.detail-thum-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.detail-thum-img.is-active {
  border: 2px solid var(--system-theme-color-light);
}
/********** 商品説明欄 **********/
.detail-text-list .item {
  margin-top: 20px;
}
.detail-text-list .item .category {
  font-size: 14px;
  font-weight: bold;
}
.detail-text-list .item .tag {
  font-size: 14px;
  font-weight: bold;
}
.detail-text-list .item .name {
  font-size: 18px;
  font-weight: bold;
  display: block;
  margin-top: 8px;
}
.detail-text-list .item .detail {
  
  margin-top: 8px;
}
.item-table {
  margin: 0;
  width: 100%;
  background: #fff;
}
.item-table .row {
  display: flex;
  border-bottom: 2px solid #fafafa;
}
.item-table .row dt,
.item-table .row dd {
  vertical-align: middle;
  padding: 12px;
  border: none;
}
.item-table .row dt {
  width: 120px;
  font-weight: bold;
}
.item-table .row dd {
  margin: 0;
}
.strike {
  text-decoration: line-through;
}
.item-summary {
  font-weight: bold;
  font-size: 18px;
}
.detail-text-list .select-group label {
  display: flex;
  align-items: center;
  
  margin-top: 10px;
}
.detail-text-list .select-group input {
  margin-right: 5px;
}
.detail-text-list .reprice {
  color: #e41111;
  text-align: right;
}
.detail-text-list .reprice span {
  display: inline-block;
}
.detail-text-list .reprice span:not(:nth-of-type(2)) {
  font-size: 14px;
}
.detail-text-list .reprice span:nth-of-type(2) {
  font-size: 25px;
  font-weight: 500;
  padding: 0 4px;
}
.detail-text-list .btn-box {
  margin-top: 10px;
}


@media screen and (min-width:960px) {
  .product-wrapper {
    padding: 40px;
    display: flex;
    align-items: flex-start;
    max-width: 1100px;
  }
  /********** スライダー **********/
  .detail-slide-wrapper {
    max-width: 100%;
    width: 600px;
  }
  .detail-main-slide .splide__slide img {
    width: 100%;
    object-fit: contain;
  }
  .detail-thum-wrapper {
    margin-top: 20px;
  }
  /********** 商品説明欄 **********/
  .detail-text-section {
    margin-left: 40px;
    max-width: 100%;
    width: 900px;
  }
  .detail-text-list .item .name {
    font-size: 25px;
  }
  .detail-text-list .item:first-of-type {
    margin-top: 0;
  }
  .detail-text-list .item {
    margin-top: 40px;
  }
  .item-summary {
    font-size: 2rem;
    margin-bottom: 1em;
  }
  .detail-text-list .reprice span:nth-of-type(2) {
    font-size: 32px;
  }
}
@media screen and (min-width:1215px) {
  /********** 商品説明欄 **********/
  .detail-text-section {
    max-width: 100%;
    width: 1030px;
  }
  .item-table {
    max-width: calc(100% - 40px);
  }
}



/************************************
  カート画面
************************************/
.cart-list {
  background: #fff;
}
.cart-list:first-of-type {
  margin-top: 10px;
}
.cart-list .cart-list-item {
  padding: 15px;
  display: block;
}
.cart-list .cart-list-item:not(:last-of-type) {
  border-bottom: 1px solid #e6e6e6;
}
.cart-list .cart-list-item .del-box {
  display: flex;
  justify-content: flex-end;
  font-size: 14px;
  margin-top: 8px;
}
.cart-list-item .img {
  grid-row: auto;
  width: 100%;
}
.cart-list-item .img img {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  object-fit: contain;
}
.cart-list-item .text,
.cart-list-item .option {
  margin-top: 12px;
}
.cart-list-item .name,
.cart-list-item .c-type {
  display: flex;
  align-items: center;
  margin-top: 5px;
}
.cart-list-item .name {
  color: var(--system-theme-color-light);
  font-weight: bold;
  
  text-decoration: underline;
}
.cart-list-item .c-type {
  font-size: 14px;
}
.cart-list-item .c-type > .icon {
  margin-right: 3px;
}
.cart-list-item .option .row {
  display: flex;
  font-size: 14px;
  margin-top: 8px;
}
.cart-list-item .option .input-group {
  display: flex;
  justify-content: space-between;
}
.cart-list-item .option .input-group.input-number {
  display: flex;
  justify-content: flex-start;
}
.cart-list-item .input-group input[type="number"] {
  width: 55px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  text-align: right;
}
.cart-list-item .input-group .input-ribbon {
  font-size: 14px;
  padding: 6px;
  background: var(--system-theme-color-light);
  color: #fff;
  border: 1px solid #e9e9e9;
  border-left: none;
  border-radius: 0 5px 5px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cart-list-item .option .row.flex-end {
  display: flex;
  justify-content: flex-end;
  font-size: 14px;
}
.cart-list-item .option .heading {
  font-weight: bold;
  margin-bottom: 3px;
  padding-right: 15px;
}
.cart-list .cart-list-item .option .del-box {
  cursor: pointer;
}
.cart-list .cart-list-item .del-box > .sp-layout {
  width: 100%;
  margin-top: 15px;
}

/********** カート内の合計金額 **********/
.cart-total-section {
  margin-top: 20px;
}
.cart-total-list {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
}
.cart-total-list .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
}
.cart-total-list .row:not(:last-of-type) {
  border-bottom: 1px dashed #e6e6e6;
}
.cart-total-list .row dt,
.cart-total-list .row dd {
  margin: 0;
  padding: 10px;
}
.cart-total-list .row dt {
  font-weight: 500;
}
.cart-total-list .row.total dd {
  font-weight: bold;
  font-size: 22px;
}
.cart-total-section .btn-box {
  margin-top: 20px;
}
/********** 発注ボタン押下後のモーダル **********/
.modal-body:-internal-dialog-in-top-layer {
  padding: 10px;
  max-width: calc(100% - 20px);
  border: none;
  background: transparent;
}
.modal-inner {
  background: #fff;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, .2);
  border-radius: 3px;
}
.modal-inner .btn-group {
  display: flex;
  justify-content: flex-end;
  padding: 15px 10px 10px;
}
.btn-close {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-close > span {
  font-size: 28px;
}
.modal-inner .modal-inner-form {
  padding: 0 20px 20px;
  overflow-y: auto;
  height: 100%;
  max-height: 550px;
}
.modal-inner-form .notes {
  
  font-weight: 400;
}
.modal-inner-form label {
  display: block;
  margin-top: 12px;
}
.modal-inner-form .input-label {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}
.modal-inner-form .text {
  font-weight: 600;
  margin-bottom: 5px;
}
.modal-inner-form .tag {
  margin-bottom: 5px;
  margin-left: 3px;
}
.required {
  background: #e41111;
  color: #fff;
}
.modal-inner-form .btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 0 0 0;
}
.modal-body[open] {
  animation-name: modalOpenAnm;
  animation-duration: .4s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}
.modal-body.hide {
  animation-name: modalHideAnm;
  animation-duration: .4s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}
.modal-body[open]::backdrop {
  background: rgba(0, 0, 0, .78);
}
@keyframes modalOpenAnm {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes modalHideAnm {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/***** モーダル展開時の背景スクロール制御 *****/
body:has(.modal-body[open]) {
  overflow: hidden;
}


@media screen and (min-width:960px) {
  .product-outer {
    background: #f9f9f9;
    padding: 40px;
  }
  .product-outer .product-wrapper {
    display: block;
    padding: 0;
    max-width: calc(100% - 150px);
  }
  .cart-section {
    max-width: 100%;
  }
  .cart-list {
    padding: 10px;
    border: 1px solid #e6e6e6;
    max-width: calc(100% - 20px);
  }
  .cart-list:first-of-type {
    margin-top: 0;
  }
  .cart-list .cart-list-item {
    display: grid;
    grid-template-columns: 150px auto 200px;
    grid-template-rows: repeat(1, 1fr);
    gap: 0 20px;
    padding: 20px;
  }
  .cart-list-item .text,
  .cart-list-item .option {
    margin-top: 0;
  }
  .cart-list-item .option {
    grid-column-start: 2;
  }
  .cart-list-item .img {
    grid-row: 1;
    height: 140px;
    width: 140px;
    object-fit: contain;
    background: #f5f5f5;
  }
  .cart-list-item .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .cart-list-item .name {
    font-size: 18px;
  }
  .cart-list-item .c-type {}
  .cart-list-item .option {
    grid-column-start: auto;
  }
  .cart-list-item .option.cart {
    position: relative;
    padding-right: 50px;
  }
  .cart-list-item .option .row {
    flex-direction: row;
    justify-content: space-between;
  }
  .cart-list-item .option .row.subtotal {
    margin-top: 20px;
  }
  .cart-list-item .option .row.flex-end {
    margin-top: 0;
  }
  .cart-list-item .option .heading {
    margin-bottom: 0;
    padding-right: 0;
  }
  .cart-list .cart-list-item .option.cart .del-box {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: -12px;
    right: -12px;
  }

  /********** カート内の合計金額 **********/
  .cart-total-section {
    margin-top: 40px;
    margin-left: auto;
    max-width: 100%;
    width: 420px;
  }
  .cart-total-list {
    margin: 0;
  }
  .cart-total-list .row.total dd {
    font-weight: bold;
    font-size: 26px;
  }

  /********** 発注ボタン押下後のモーダル **********/
  .modal-inner .btn-group {
    padding: 20px 20px 10px;
  }
  .modal-inner .modal-inner-form {
    padding: 0 30px 30px;
    max-height: 700px;
  }
  .modal-inner-form label {
    margin-top: 20px;
  }
  .modal-inner-form .tag {
    padding: 5px;
  }
  .modal-inner-form .btn-group {
    padding: 10px 0 10px;
  }
}
@media screen and (min-width:1215px) {
  .product-outer .product-wrapper {
    max-width: 1100px;
  }
}



/************************************
  見積り履歴画面
************************************/
/********** 検索 **********/
.search-form-wrapper.estimate {
  width: 100%;
  background: #fff;
}
.search-form-wrapper.estimate .search-form {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  align-items: center;
}
.search-form-wrapper.estimate .search-form .btn-area {
  grid-column: span 2 / span 2;
}
.search-form-wrapper.estimate .search-form.estimate {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
  align-items: center;
}
.search-form-wrapper.estimate .search-form.estimate .btn-area {
  grid-column: auto;
}
.search-form-wrapper.estimate .search-form label {
  display: flex;
  align-items: center;
  margin: 0;
}
.search-form-wrapper.estimate .search-form label.input-text {
  display: block;
  margin: 0;
}
.search-form-wrapper.estimate .input-group .inner-ttl {
  font-weight: bold;
  font-size: 12px;
}
.search-form-wrapper.estimate .input-group .inner {
  display: flex;
  align-items: center;
  margin: 3px 0 0 0;
}
.search-form-wrapper.estimate .input-group.input-day .inner span {
  padding: 5px;
}
.search-form-wrapper.estimate .input-group.input-check label {
  padding-right: 10px;
}
.search-form-wrapper.estimate .input-group.input-check label span {
  margin: 0 0 0 4px;
  font-size: 14px;
}
/********** テーブル **********/
.order-table-section {
  padding: 20px;
}
.order-table-wrapper .sortbtn-group {
  display: flex;
  justify-content: flex-end;
}
.order-table-wrapper .sortbtn-box {
  display: flex;
  align-items: center;
  width: auto;
}
.order-table-wrapper .sortbtn-box .text {
  display: block;
  font-size: 12px;
  margin-right: 5px;
}
.order-table-wrapper .sortbtn-box .sort-select {
  width: auto;
}
.order-table {
  margin-top: 10px;
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #f9f9f9;
}
.order-table thead {
  display: none;
}
.order-table tbody tr {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 0px;
  background: #fff;
  border: 1px solid #eeeeee;
  margin-bottom: 8px;
}
.order-table tbody tr:nth-of-type(even) {
  background: #fbfbfb;
}
.order-table tbody tr > td {
  width: 100%;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.order-table tbody tr > td:nth-of-type(n+3) {
  grid-column: span 2 / span 2;
}
.order-table tbody tr > td:nth-of-type(-n+2) {
  display: flex;
  align-items: center;
}
.order-table tbody tr > td:nth-of-type(2) {
  display: flex;
  justify-content: flex-end;
}
.order-table tbody tr > td:last-of-type {
  display: flex;
  justify-content: space-between;
}
.order-table tbody tr > td.sp-layout:last-of-type {
  margin-top: 8px;
}
.order-table tbody tr > td.sp-layout .btn-area {
  width: 100%;
}
.order-table tbody tr > td.sp-layout .btn-area .btn-search {
  background: #00b7d8;
}
.order-table tbody tr > td:first-of-type .tag {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 4px 8px;
  font-size: 12px;
  width: 75px;
}
.order-table tbody tr > td:first-of-type .tag.category {
  background: #00b58a;
}
.order-table tbody tr > td .sp-layout {
  font-weight: bold;
}
.order-table tbody tr > td:not(:nth-of-type(2), :last-of-type) .inner {
  display: inline-block;
  padding: 3px 0 0 20px;
}
.timeout {
  background: #888;
  color: #fff;
}


@media screen and (min-width:960px) {
  .search-form-wrapper.estimate {
    border: 1px solid #ececec;
  }
  .search-form-wrapper.estimate .search-form {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 16px;
    max-width: inherit;
  }
  .search-form-wrapper.estimate .search-form.estimate {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px 20px;
    align-items: center;
  }
  .search-form-wrapper.estimate .search-form.order {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
    align-items: center;
  }
  .search-form-wrapper.estimate .input-group {
    display: flex;
  }
  .search-form-wrapper.estimate .input-group label {
    margin-right: 20px;
  }
  .search-form-wrapper.estimate .search-form .btn-area {
    grid-column: none;
    width: 200px;1314
  }
  .search-form-wrapper.estimate .search-form.estimate .btn-area {
    width: 100%;
  }
  .search-form-wrapper.estimate .search-form label.input-text {
    display: block;
    margin: 0;
    width: 100%;
    font-weight: bold;
  }
  .search-form-wrapper.estimate .search-form label span {
    margin: 0 0 0 4px;
  }
  .search-form-wrapper.estimate .search-form label.input-text span {
    margin: 0 0 4px 0;
  }
  .search-form-wrapper.estimate .input-group {
    display: flex;
  }
  .search-form-wrapper.estimate .input-group label {
    margin-right: 20px;
  }
  .search-form-wrapper.estimate .input-group.input-check label {
    padding-right: 10px;
  }
  .search-form-wrapper.order .input-group.input-check label {
    margin-right: 0px;
    padding-right: 7px;
    display: flex;
    align-items: center;
  }
  .search-form-wrapper.estimate .input-group {
    display: block;
  }
  .search-form-wrapper.estimate .input-group .inner {
    line-height: 3.2;
  }
  /********** テーブル **********/
  .order-table-section {
    padding: 0;
    margin-top: 40px;
    background: #fff;
    border: 1px solid #ececec;
  }
  .order-table-wrapper .sortbtn-group {
    display: none;
  }
  .order-table {
    margin-top: 0;
    border-collapse: collapse;
    border: none;
    width: 100%;
    table-layout: fixed;
  }
  .order-table thead {
    display: table-header-group;
    font-size: 12px;
    width: 100%;
    background: #f5f5f5;
  }
  .order-table thead tr th {
    padding: 10px;
    width: auto;
    font-size: 12px;
    text-align: left;
  }
  .order-table thead tr th:last-child {
    text-align: right;
  }
  .order-table tbody tr {
    padding: 0px;
    margin-bottom: 0px;
    display: table-row;
    width: auto;
    background: #fff;
  }
  .order-table tbody tr:nth-of-type(even) {
    background: #fff;
  }
  .order-table tbody tr > td {
    width: auto;
    display: table-cell;
    padding: 8px;
    vertical-align: middle;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
  }
  .order-table thead tr > th:first-of-type,
  .order-table tbody tr > td:first-of-type {
    width: 92px;
  }
  .order-table tbody tr > td:first-of-type {
    display: flex;
    justify-content: center;
    height: 50px;
  }
  .order-table tbody tr > td:first-of-type {
    justify-content: flex-start;
  }
  .order-table tbody tr > td:nth-of-type(2) {
    display: table-cell;
    text-decoration: underline;
  }
  .order-table tbody tr > td:not(:nth-of-type(2), :last-of-type) .inner {
    display: inline-block;
    padding: 0;
  }
  .order-table tbody tr > td:nth-last-of-type(2) {
    display: table-cell;
    text-align: right;
  }
  .order-table tbody tr > td:last-of-type {
    display: none;
  }
  .order-table thead tr th:nth-of-type(3) > span,
  .order-table thead tr th:nth-of-type(4) > span {
    display: inline-flex;
    align-items: center;
  }
  .icon-ev {
    font-size: 15px;
  }
  /********** テーブル下のページネーション **********/
  .page-nation-content {
    margin: 0 auto;
    padding: 40px 30px 0;
    max-width: calc(100% - 60px);
  }
  .order-table-section .page-nation-content {
    padding: 20px;
  }
}
@media screen and (min-width:1215px) {
  .order-table tbody tr > td {
    padding: 12px;
  }
  .order-table tbody tr > td:first-of-type {
    height: auto;
  }
}



/************************************
  見積り詳細画面
************************************/
.estimate-content {
  margin: 0 auto;
}
.estimate-detail-section {
  margin-top: 20px;
}
.detail-list {  
  background: #fff;
  margin: 0;
  border: 1px solid #e6e6e6;
}
.detail-list .row {
  display: flex;
  flex-direction: column;
}
.detail-list .row:not(:last-of-type) {
  border-bottom: 1px solid #e6e6e6;
}
.detail-list .row dt {
  font-weight: bold;
  background: #f6f6f6;
  padding: 10px;
  min-width: 150px;
}
.detail-list .row dd {
  padding: 10px;
  margin: 0;
}
.detail-list dd .inner {
  padding: 10px 0;
}
.detail-list dd .inner:first-of-type {
  padding-top: 0;
}
.detail-list dd .inner:last-of-type {
  padding-bottom: 0;
}
.detail-list dd .inner:not(:last-of-type) {
  border-bottom: 1px solid #e6e6e6;
}
.detail-list dd .date {
  display: block;
  font-weight: bold;
  margin-bottom: 3px;
  font-size: 12px;
}
.btn-section {
  margin-top: 20px;
  width: 100%;
}
.btn-section .btn-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.btn-section .btn-box button {
  width: 100%;
  padding: 18px 12px;
  
}
.btn-section .btn-box button:last-of-type {
  margin-top: 10px;
}


@media screen and (min-width:960px) {
  .estimate-content {
    max-width: calc(100% - 100px);
  }
  .estimate-detail-section {
    margin-top: 40px;
  }
  .detail-list .row {
    flex-direction: row;
  }
  .detail-list .row dt {
    padding: 16px;
  }
  .detail-list .row dd {
    padding: 16px;
    width: 100%;
  }
  .detail-list dd .inner {
    padding: 16px 0;
  }
  .btn-section {
    margin-top: 40px;
  }
  .btn-section .btn-box {
    flex-direction: row;
    justify-content: flex-end;
  }
  .btn-section .btn-box button {
    width: 250px;
    margin-left: 20px;
  }
  .btn-section .btn-box button:last-of-type {
    margin-top: 0;
  }
}
@media screen and (min-width:1215px) {
  .estimate-content {
    max-width: 1100px;
  }
}



/************************************
  発注履歴画面
************************************/
.decision {
  background: #eb3e39;
  color: #fff;
}


@media screen and (min-width:960px) {
  .search-form-wrapper.order .search-form {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 16px;
    max-width: inherit;
  }
}



/************************************
  発注完了画面
************************************/
.login-section.order-comp {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: calc(100% - 100px);
}
.login-section.order-comp h2 {
  width: 100%;
  margin: 0 auto 0.5em;
  display: block;
  text-align: center;
  font-size: 2em;
  line-height: 1.5;
}
.login-section.order-comp .login-form-wrapper {
  align-items: center;
  width: 100%;
}
.login-section.order-comp .login-form-wrapper p {
  
  text-align: center;
}
.login-section.order-comp .login-form-wrapper .btn-group {
  width: 100%;
}
.login-section.order-comp .login-form-wrapper a {
  border-radius: 100dvw;
  width: auto;
  color: #fff;
  background: var(--system-theme-color);
  padding: 18px 12px;
  
}


@media screen and (min-width: 960px) {
  .login-section.order-comp {
    max-width: 100%;
    width: 580px;
    display: block;
    margin: 0 auto;
    background: #fff;
  }
  .login-section.order-comp .login-form-wrapper {
    max-width: 100%;
  }
  .login-section.order-comp .login-form-wrapper .btn-group {
    width: 400px;
  }
}



/************************************
  パスワード再設定画面
************************************/
.login-section.reset-pw h2 {
  width: 100%;
  margin: 0 auto;
  display: block;
  text-align: center;
  font-size: 2.5em;
  line-height: 1.5;
}
.login-form label span {
  font-weight: bold;
}


@media screen and (min-width: 960px) {
  .login-section.reset-pw {
    max-width: 100%;
    width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    background: #fff;
  }
  .login-section.reset-pw .login-form-wrapper {
    max-width: 100%;
  }
}



/************************************
  パスワード設定画面
************************************/
.login-section.reset-pw .login-form label > span:last-of-type {
  margin-bottom: 0;
  margin-top: 8px;
}

/************************************
  alert message
************************************/
.alert-err-message {
  margin-bottom: -2px;
  background: red;
  color: #fff; 
  padding: 10px;
}

.alert-success-message {
  margin-bottom: -2px;
  background: green;
  color: #fff; 
  padding: 10px;
}

.alert-err-message .close-btn,
.alert-success-message .close-btn {
  cursor: pointer;
  float: right;
}
.text-center {
  text-align: center;
}

.error-message {
  color: red;
}

@media (max-width: 768px) {
  .page-nation-content {
      display: flex;
      align-items: center;
      width: 100%;
      padding: 10px 16px;
  }

  /* Hide all numbers on small devices */
  .page-nation-content .page-item:not([aria-label="Previous"]):not([aria-label="Next"]) {
      display: none !important;
  }

  /* Ensure the Next (`›`) button is on the right */
  .page-nation-content .page-item[aria-label="Next"] {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background-color: #E0F2FE; /* Light sky blue */
      color: #0288D1; /* Sky blue text */
      font-size: 18px;
      font-weight: bold;
      text-decoration: none;
      margin-left: auto; /* Push Next (`›`) button to the right */
  }

  /* Ensure the Previous (`‹`) button is properly placed */
  .page-nation-content .page-item[aria-label="Previous"] {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background-color: #E0F2FE; /* Light sky blue */
      color: #0288D1; /* Sky blue text */
      font-size: 18px;
      font-weight: bold;
      text-decoration: none;
      margin-right: auto; /* Push Previous (`‹`) button to the left */
  }

  /* Hover effect */
  .page-nation-content .page-item[aria-label="Previous"]:hover,
  .page-nation-content .page-item[aria-label="Next"]:hover {
      background-color: #0288D1; /* Darker sky blue */
      color: white;
  }

  /* Hide the previous button only on the first page */
  .page-nation-content .page-item[aria-label="Previous"].disabled {
      display: none !important;
  }

  /* Hide the next button on the last page */
  .page-nation-content .page-item[aria-label="Next"].disabled {
      display: none !important;
  }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Tooltip Styling */
.tooltip-text {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 8px 14px;  /* Increased padding for bigger size */
  font-size: 14px;  /* Increased font size */
  border-radius: 6px;
  top: -40px; /* Moved slightly higher */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}


/* Tooltip Arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  bottom: -6px;  /* Position the arrow */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent; /* Creates downward arrow */
}

/* Show tooltip */
.tooltip-show {
  opacity: 1;
  visibility: visible;
}

.d-none {
  display: none;
}

/* Positioning for relative elements */
.btn-add {
  position: relative;
}

.btn-add:disabled {
  cursor: not-allowed;
  background: #999;
}

.pointer-cursor {
  cursor: pointer;
}