/*----------------------
common
----------------------*/
#toTop a {
  background: #333333;
  border-radius: 4px;
  bottom: 25px;
  color: #ffffff !important;
  font-size: 14px;
  opacity: 0.8;
  padding: 10px 14px;
  position: fixed;
  right: 25px;
  z-index: 8888;
}
img {
  max-width: 100%;
}
.pc {
  display: inline-block;
}
.pc_inline {
  display: inline-block;
}
.sp, .sp-block {
  display: none;
}
.sp_inline {
  display: none;
}
.redBold {
  color: #cc0000;
  font-weight: 700;
}
.err {
  background: #f9e9e9;
  border: 1px solid #cc0000;
  border-radius: 4px;
  color: #cc0000;
  font-size: 84%;
  margin: 0 0 10px 0;
  padding: 5px 10px;
}
/*----------------------
not Support
----------------------*/
#noScript {
  background: #f9f8db;
  padding: 8px;
  text-align: center;
  color: #000000;
  position: fixed;
  top: 70px;
  z-index: 99999;
  width: 100%;
}
#noScript span {
  font-weight: bold;
}
#notSupport {
  background: #FBEEEE;
  display: none;
  padding: 8px;
  text-align: center;
  position: fixed;
  top: 70px;
  z-index: 99999;
  width: 100%;
  color: #000000;
}
.oldie #notSupport {
  display: block;
}
/*----------------------
form parts
----------------------*/
input[type="text"], input[type="password"] {
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 8px;
  width: 100%;
}
select {
  /*
  webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  */
  box-sizing: border-box;
  font-size: 88%;
  width: 100%;
  /*padding: 8px;*/
}
.submitBtn {
  background: #fbbc15;
  padding: 10px;
  border-radius: 6px;
  -webkit-appearance: none !important;
  -moz-appearance: none;
  appearance: none;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  width: 100%;
  font-size: 100%;
  font-weight: 600;
  margin: 0 auto;
  text-align: center;
  color: #000000;
}
.resetBtn {
  background: #f9f9f9;
  padding: 4px 10px;
  border-radius: 6px;
  -webkit-appearance: none !important;
  -moz-appearance: none;
  appearance: none;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 74%;
  font-weight: 600;
  text-align: center;
  color: #000000;
  border: 1px solid #cccccc;
  margin: 0 0 10px 0;
  z-index: 99999;
}
/*----------------------
header
----------------------*/
.header {
  background: #005886; /*#1a465d;*/
  box-shadow: 0 0px 3px 0px rgba(0, 0, 0, 0.1);
  padding: 20px;
}
.logo {
  height: 25px;
}
.header h1 {
  float: left;
}
.headerBtn {
  float: right;
}
.headerBtn a {
  color: #ffffff;
  font-size: 84%;
}
/*----------------------
footer
----------------------*/
footer .copy {
  text-align: center;
  font-size: 78%;
  background: #333333;
  color: #ffffff;
  padding: 10px;
}
/*----------------------
layout
----------------------*/
.wrap {
  min-width: 1024px;
}
.splitView {
  display: flex;
  height: calc(100vH - 65px);
}
.splitL {
  border-right: 1px solid #cccccc;
  width: 320px;
  background: #fcfcfc;
}
.splitC {
  width: calc(100% - 640px);
}
.splitR {
  background: #ebf3f6; /*#f4f4f4;*/
  border-left: 1px solid #cccccc;
  width: 320px;
  position: relative;
}
h2 {
  font-weight: 700;
  font-size: 88%;
  margin: 0 0 10px 0;
}
.splitSection {
  padding: 15px 0;
}
.scrollItem {
  overflow-y: scroll;
  padding: 0px 20px 0 20px;
}
/*----------------------
splitL
----------------------*/
.imgRadio {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.imgRadio label {
  cursor: pointer;
  width: calc(50% - 10px);
  font-size: 88%;
  display: block;
}
.imgRadio input[type="radio"] {
  display: none;
}
.imgRadio .label-content {
  display: block;
  padding: 12px 0;
  margin: 0 0 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 0px 3px 0px rgba(0, 0, 0, 0.1);
}
.imgRadio .label-content:hover {
  border-color: #999;
}
.imgRadio input[type="radio"]:checked + .label-content {
  border-color: #007bff;
  background-color: #e6f0fa;
}
.imgRadio label img {
  height: 52px;
}
.imgRadioList input[type="radio"] {
  display: none;
}
.imgRadioList label {
  border: 1px solid #cccccc;
  display: flex;
  box-shadow: 0 0px 3px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  align-items: center;
  font-size: 80%;
  padding: 5px;
  margin: 0 0 10px 0;
  cursor: pointer;
  background-color: #ffffff;
  transition: all 0.2s ease;
}
.imgRadioList label img {
  width: 44px;
}
.imgRadioList label p.alC {
  margin: 0 10px 0 0;
}
.imgRadioList label:has(input[type="radio"]:checked) {
  border-color: #007bff;
  background-color: #e6f0fa;
}
.catalogLink {
  background: #fafcfb;
  border-top: 1px solid #d1e6eb;
  border-right: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px 20px;
  width: 280px;
}
.catalogL {
  width: 25%;
}
.catalogL img {
  box-shadow: 0 0px 3px 0px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}
.catalogR {
  width: 68%;
}
.catalogR p {
  font-size: 84%;
  font-weight: 600;
  margin: 0 0 15px 0;
}
.catalogR .btn {
  display: inline-block;
  border: 1px solid #025986;
  color: #025986;
  border-radius: 6px;
  padding: 3px 15px;
  font-size: 82%;
  text-align: center;
}
.catalogR .btn:hover {
  background: #025986;
  color: #ffffff;
  text-decoration: none;
}
#form_calculation, #form_height {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 10px 16px;
  line-height: 1.5;
  font-size: 84%;
  border: 1px solid #cccccc;
  border-radius: 6px;
  background-color: #ffffff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23666666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease;
}
#form_calculation:focus, #form_height:focus {
  outline: none;
  border-color: #007bff;
}
#section_onesideColor {
  display: none;
}
/*----------------------
カスタムセレクト
----------------------*/
#form_pillarColor, #form_baseColor, #form_onesideColor {
  display: none !important;
}
.custom-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  font-size: 14px;
  user-select: none;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 45%;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid #666666;
  border-bottom: 1.8px solid #666666;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease, top 0.3s ease;
}
.custom-select-wrapper.open .custom-select-trigger::after {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
}
.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
}
.custom-select-wrapper.open .custom-options {
  display: block;
}
.custom-option {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.custom-option:hover {
  background-color: #f0f7ff;
}
.custom-select-wrapper img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  margin-right: 12px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
/*----------------------
カスタムラジオセレクト
----------------------*/
div.imgRadioList {
  display: none !important;
}
.custom-radio-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  font-size: 13px;
  user-select: none;
  margin-bottom: 10px;
}
.custom-radio-select-trigger {
  display: flex;
  align-items: center;
  padding: 6px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.custom-radio-select-trigger::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 45%;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid #666666;
  border-bottom: 1.8px solid #666666;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease, top 0.3s ease;
}
.custom-radio-select-wrapper.open .custom-radio-select-trigger::after {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
}
.custom-radio-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
}
.custom-radio-select-wrapper.open .custom-radio-options {
  display: block;
}
.custom-radio-option {
  display: flex;
  align-items: center;
  padding: 10px 0px 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.custom-radio-option:hover {
  background-color: #f0f7ff;
}
.custom-radio-select-wrapper img {
  width: 44px;
  height: auto;
  object-fit: cover;
  margin-right: 12px;
  border-radius: 4px;
}
/*----------------------
splitR
----------------------*/
.priceWrap {
  padding: 20px;
}
.priceWrap h2 {
  font-weight: 700;
  font-size: 105%;
}
.priceTitleWrap {
  display: flex;
  justify-content: space-between;
}
.priceBox {
  background: #ffffff;
  padding: 15px;
  border-radius: 6px;
  color: #cc0000;
  font-weight: 700;
  font-size: 180%;
  text-align: center;
}
.priceBoxTxt {
  font-size: 12px;
  color: #000000;
}
.tax {
  color: #000000;
  font-size: 50%;
}
.detailWrap {
  padding: 0 20px 20px;
  position: relative;
}
.detailItemsList {
  background: #ffffff;
  border-radius: 6px;
}
.detailItemsList .scrollItem {
  padding: 0;
  padding: 15px;
}
.itemBox {
  border-bottom: 1px dotted #666;
  padding: 0 0 15px 0;
  margin: 0 0 15px 0;
}
.item {
  font-size: 84%;
}
.price {
  font-size: 84%;
  text-align: right;
}
.submitWrap {
  background: #ebf3f6;
  padding: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 279px;
}
/*----------------------
splitC
----------------------*/
.simulateView {
  padding: 20px;
}
.simulateImgWrap {
  text-align: center;
  display: flex;
  align-items: center;
}
.simulateL {
  width: 25%;
}
.simulateR {
  width: 75%;
}
.cautionTxt {
  color: #999;
  font-size: 12px;
}
.selectWWrap {
  margin: 20px 0 0 0;
}
.selectWWrap span {
  font-size: 80%;
}
.selectW {
  font-size: 84%;
  padding: 10px !important;
  width: 100px !important;
}
.selectH {
  box-sizing: border-box;
  font-size: 88%;
  padding: 8px;
  width: auto;
}
.frontageView {
  background: #f9f9f9;
  /*padding: 20px;*/
  border-top: 1px solid #cccccc;
  display: flex;
  box-sizing: border-box;
  height: 165px;
}
.frontageWrap {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 30px 20px 20px 20px;
  width: 100vw;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.frontageBox {
  display: flex;
  align-items: center;
  position: relative;
}
.frontage {
  width: 165px;
  height: 80px;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  border: 1px solid #ccc;
  box-shadow: 0 0px 3px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.frontage.active {
  border: 3px solid #fbbc15;
  border-color: #fbbc15;
  box-shadow: inset 0 0 0 2px #fbbc15, 0 0px 3px 0px rgba(0, 0, 0, 0.1);
}
.frontageHeader {
  padding: 4px 8px;
  font-weight: bold;
  font-size: 11px;
  background-color: #005886;
  border-bottom: 1px solid #005886;
  text-align: center;
  color: #fff;
  border-radius: 9px 9px 0 0;
}
.frontageBody {
  background: #ffffff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  border-radius: 0 0 9px 9px;
}
.addButton {
  border: 2px dotted #cccccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 12px;
  margin: 30px 0 0 40px;
  border-radius: 8px;
}
.addButton:hover {
  background-color: #f9f9f9;
}
.addBtnWrap {
  width: 90px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.plus-icon {
  width: 25px;
  height: 25px;
  background-color: #84c347;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.add-text {
  font-size: 12px;
  font-weight: bold;
}
.connector {
  width: 60px;
  height: 4px;
  background-color: #cccccc;
  position: relative;
  margin: 0 -2px;
  z-index: 80;
}
.connector-label-group {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}
.vertical-line {
  width: 2px;
  height: 55px;
  background-color: #cccccc;
}
.label-box {
  padding: 0px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.spacer {
  width: 40px;
}
/* 削除ボタン */
.delete-gate-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
}
.frontage:hover .delete-gate-btn {
  opacity: 1;
  visibility: visible;
  /*transition: opacity 0.2s ease 0s, visibility 0.2s ease 0s;*/
}
.gate1 .delete-gate-btn {
  display: none !important;
}
/*----------------------
設置箇所のエラー表示
----------------------*/
.frontage.has-error {
  border-color: #cc0000;
  box-shadow: inset 0 0 0 2px #cc0000, 0 0px 3px 0px rgba(0, 0, 0, 0.1);
}
.frontage.has-error .frontageHeader {
  background-color: #cc0000;
  border-bottom-color: #cc0000;
}
.gate-error-msg {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  color: #cc0000;
  font-size: 10px;
  white-space: nowrap;
  font-weight: bold;
  z-index: 200;
}
/*----------------------
計算保留中
----------------------*/
.calc-pending-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(235, 243, 246, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  z-index: 200;
}
.calc-pending-box {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.calc-pending-box p {
  font-size: 13px;
  color: #333333;
  margin: 0 0 10px 0;
  font-weight: 600;
}
.calc-pending-box span {
  font-size: 11px;
  color: #666666;
  display: block;
  line-height: 1.4;
}
.submitBtn.btn-disabled {
  background: #e0e0e0 !important;
  color: #888888 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}
.custom-radio-select-trigger.section-disabled {
  pointer-events: none;
  background-color: #f0f0f0;
  color: #aaaaaa;
  border-color: #dddddd;
    
}
.custom-radio-select-trigger.section-disabled::after {
  border-color: #aaaaaa;
}
#form_calculation:disabled {
  background-color: #f0f0f0;
  color: #aaaaaa;
  border-color: #dddddd;
  cursor: inherit;
}
.cautionTxtS {
    font-size: 10px;
    color: #666;
}
@media (max-width: 1280px) {
  .splitL,
  .splitR {
    width: 260px;
  }
  .splitC {
    width: calc(100% - 520px);
  }
  .submitWrap {
    width: 219px;
  }
  .priceBox {
    font-size: 130%;
  }
    .label-content {
        font-size: 84%;
    }
    .price {
  font-size: 74%;

}
}