/* Admin Page Only */
.notice.nishiki-pro-info ul {
  display: flex;
  flex-wrap: wrap;
}
.notice.nishiki-pro-info ul li {
  margin-right: 0.3rem;
}
.notice.nishiki-pro-info ul li:last-child {
  margin-right: 0;
}
.notice.nishiki-pro-info.import-demo {
  position: relative;
  overflow: hidden;
}
.notice.nishiki-pro-info.import-demo .import-demo-wrapper {
  display: flex;
  gap: 1rem;
}
.notice.nishiki-pro-info.import-demo .import-demo-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.notice.nishiki-pro-info.import-demo .import-demo-images img {
  max-width: 180px;
  height: auto;
}

a[href="themes.php?page=nishiki-pro-about"] {
  color: #d6aaff !important;
}

.nishiki-pro-info-wrap {
  max-width: 100%;
}
.nishiki-pro-info-wrap .cols {
  display: flex;
  margin-bottom: 2em;
  gap: 2em;
}
.nishiki-pro-info-wrap p {
  font-size: 1em;
}
.nishiki-pro-info-wrap h2 {
  margin: 1.5em 0 0.5em;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
}
.nishiki-pro-info-wrap .left-col {
  padding: 2em;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  flex-basis: 70%;
}
.nishiki-pro-info-wrap .left-col .main-visual h1 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  line-height: normal;
}
.nishiki-pro-info-wrap .right-col {
  display: flex;
  flex-direction: column;
  flex-basis: 30%;
  gap: 2em;
}
.nishiki-pro-info-wrap .right-col h2 {
  text-align: center;
}
.nishiki-pro-info-wrap .link-buttons {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}
.nishiki-pro-info-wrap .cards {
  display: grid;
  margin-bottom: 3em;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2em;
}
.nishiki-pro-info-wrap .cards .about-card {
  position: relative;
  overflow: hidden;
  padding: 2em;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  text-align: center;
  transition: all 0.3s ease;
}
.nishiki-pro-info-wrap .cards .about-card.featured {
  background-color: #b4a0b5;
  color: #fff;
}
.nishiki-pro-info-wrap .cards .about-card.featured h2 {
  color: currentColor;
}
.nishiki-pro-info-wrap .cards .about-card.featured img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.nishiki-pro-info-wrap .cards .about-card.featured .button-primary {
  border: none;
  background-color: #fff;
  color: #222;
}
.nishiki-pro-info-wrap .cards .about-card ul {
  display: flex;
  font-size: 1.5em;
  gap: 0.5em;
  justify-content: center;
}
.nishiki-pro-info-wrap .cards .about-card ul li {
  margin: 0;
}
.nishiki-pro-info-wrap .cards .about-card ul a {
  color: currentColor;
  text-decoration: none;
}
.nishiki-pro-info-wrap .cards .about-card ul svg {
  width: 2em;
}
.nishiki-pro-info-wrap .cards svg {
  width: 3em;
  height: auto;
}

#nishiki-pro-color-palette-wrap li {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: center;
}
#nishiki-pro-color-palette-wrap li .wp-picker-container {
  margin-right: 1rem;
}
#nishiki-pro-color-palette-wrap li .wp-picker-container button {
  margin-bottom: 0;
}
#nishiki-pro-color-palette-wrap li label {
  margin-right: 1rem;
}
#nishiki-pro-color-palette-wrap li .num {
  display: inline-block;
  width: 1.5rem;
}

.centering-vertical {
  width: 100%;
}

.nishiki-pro-block-heading-wrap {
  display: flex;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-list {
  position: sticky;
  top: 3.5rem;
  margin: 0 1.5rem 0 0;
  flex-basis: 200px;
  align-self: flex-start;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-list li a {
  display: block;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fcfcfc;
  color: #222;
  text-decoration: none;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-list li a.current {
  border: 1px solid #222;
  background: #222;
  color: #fcfcfc;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-list li a.current:hover {
  background: #222;
  color: #fcfcfc;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-list li a:hover {
  background: #f9f9f9;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-list li:last-child {
  margin-bottom: 0;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-update-heading.is-busy {
  opacity: 0.7;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-update-heading.disable {
  pointer-events: none;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-block-heading-num {
  margin-right: 1.5rem;
  flex-basis: 100px;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-block-heading-num li a {
  display: block;
  padding: 0.5rem 12px;
  border-radius: 4px;
  background: #755f8c;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-block-heading-num li.current a {
  background: #672e8c;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-delete-heading::before {
  margin-right: 0;
  font-size: 1.15rem;
  color: #222;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap {
  display: flex;
  width: 100%;
  max-width: 1200px;
  padding: 1.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fcfcfc;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail {
  margin-right: 1.5rem;
  flex-basis: 500px;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail > .heading-input-wrap:first-child {
  padding-top: 0;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail input,
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail select {
  margin-right: 0.5rem;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-tab-contents {
  padding: 1rem;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  background: #efefef;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-tabs {
  display: flex;
  margin-top: 2.5rem;
  justify-content: space-between;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-tabs .heading-tab {
  padding: 0.4rem 1rem;
  border: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  outline: none;
  background: #f9f9f9;
  font-size: 1.1rem;
  cursor: pointer;
  flex-basis: 15%;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-tabs .heading-tab:hover {
  background: #f6f6f6;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-tabs .heading-tab.is-active {
  background: #efefef;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-wrap {
  display: none;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-wrap.is-show {
  display: block;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-input-wrap {
  padding: 1rem 0;
  border-bottom: 1px dotted #555;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-input-wrap button.wp-color-result {
  margin-bottom: 0;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-input-wrap .sub-title {
  margin: 0 0 0.5rem;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-title {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.1rem;
  font-weight: bold;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .detail .heading-input-label {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  flex-basis: 150px;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview {
  display: flex;
  flex-direction: column;
  line-height: initial;
  flex: 1;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-inner {
  position: sticky;
  top: 3.5rem;
  margin-bottom: 3rem;
  flex: unset;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading {
  line-height: 2;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading div {
  position: relative;
  padding-left: 2.5rem;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading div::before {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 1.2rem;
  color: #e5e5e5;
  transform: translate(0%, -50%);
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading > div > * {
  padding-top: 0;
  padding-bottom: 0;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading .livepreview-heading-h1::before {
  content: "h1";
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading .livepreview-heading-h2::before {
  content: "h2";
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading .livepreview-heading-h3::before {
  content: "h3";
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading .livepreview-heading-h4::before {
  content: "h4";
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading .livepreview-heading-h5::before {
  content: "h5";
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading .livepreview-heading-h6::before {
  content: "h6";
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-heading .is-selected::before {
  color: #222;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-title {
  position: relative;
  margin-top: 0;
  font-size: 1.2rem;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-title span {
  position: relative;
  z-index: 2;
  padding-right: 1rem;
  background-color: #fcfcfc;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-title::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: block;
  width: 100%;
  border-bottom: 1px dotted #555;
  content: "";
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .livepreview .livepreview-title i::before {
  color: inherit;
}
.nishiki-pro-block-heading-wrap .nishiki-pro-heading-style-wrap .CodeMirror {
  border: 1px solid #ccc;
}
.nishiki-pro-block-heading-wrap .heading-input-wrap.flex {
  display: flex;
  flex-wrap: wrap;
}
.nishiki-pro-block-heading-wrap .heading-input-wrap.flex .input-wrap {
  display: flex;
  flex-wrap: wrap;
}
.nishiki-pro-block-heading-wrap .heading-input-wrap.flex .input {
  margin-bottom: 1rem;
  flex-basis: 50%;
}
.nishiki-pro-block-heading-wrap .heading-input-wrap.flex .input:last-child {
  margin-bottom: 0;
}
.nishiki-pro-block-heading-wrap .heading-input-wrap.flex .input.width-100 {
  flex-basis: 100%;
}
.nishiki-pro-block-heading-wrap .heading-input-wrap.flex .input .input-inner {
  display: flex;
}

.nishiki-pro-template-heading-wrap {
  max-width: 600px;
}
.nishiki-pro-template-heading-wrap .nishiki-pro-template-heading-buttons {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}
.nishiki-pro-template-heading-wrap .nishiki-pro-template-heading-buttons:first-child {
  margin-top: 0;
}
.nishiki-pro-template-heading-wrap .nishiki-pro-template-heading-buttons:last-child {
  margin-bottom: 0;
}
.nishiki-pro-template-heading-wrap .button-secondary {
  display: flex;
  box-sizing: border-box;
  margin: 2rem 0;
  padding: 0;
  border: none;
  background: none;
  align-items: center;
  flex-basis: 48%;
}
.nishiki-pro-template-heading-wrap .button-secondary:hover {
  border: none;
  background: none;
}
.nishiki-pro-template-heading-wrap .button-secondary.dashicons-before:hover:before {
  color: #222;
}
.nishiki-pro-template-heading-wrap .button-secondary .preview {
  display: inline-block;
  width: 100%;
  padding: 0.5rem;
}
.nishiki-pro-template-heading-wrap [data-heading-template=dot01] .preview {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23adadad' fill-opacity='1' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=color01] .preview {
  background-color: #222;
  color: #fff;
}
.nishiki-pro-template-heading-wrap [data-heading-template=baloon01] .preview {
  position: relative;
  border-color: #222;
  background-color: #222;
  color: #fff;
}
.nishiki-pro-template-heading-wrap [data-heading-template=baloon01] .preview::after {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 2.9rem;
  width: 0;
  height: 0;
  margin-bottom: -10px;
  margin-left: -30px;
  border: 10px solid transparent;
  border-top-color: inherit;
  border-bottom: 0;
  content: "";
}
.nishiki-pro-template-heading-wrap [data-heading-template=border01] .preview {
  padding: 1rem;
  border-top: 1px solid;
  border-bottom: 1px solid;
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=border02] .preview {
  padding: 1rem;
  border-bottom: 1px solid;
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=border03] .preview {
  padding: 1rem;
  border: 1px solid;
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=border04] .preview {
  display: flex;
  color: #222;
  align-items: center;
}
.nishiki-pro-template-heading-wrap [data-heading-template=border04] .preview::before {
  position: static;
  margin-right: 1rem;
  border-top: 1px solid;
  content: "";
  flex-grow: 1;
}
.nishiki-pro-template-heading-wrap [data-heading-template=border04] .preview::after {
  position: static;
  margin-left: 1rem;
  border-top: 1px solid;
  content: "";
  flex-grow: 1;
}
.nishiki-pro-template-heading-wrap [data-heading-template=bracket01] .preview {
  position: relative;
  display: table;
  width: auto;
  margin: 0 auto;
  padding: 1rem;
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=bracket01] .preview::before {
  position: absolute;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-top: solid 1px;
  border-left: solid 1px;
  content: "";
}
.nishiki-pro-template-heading-wrap [data-heading-template=bracket01] .preview::after {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
  width: 1rem;
  height: 1rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 0;
  content: "";
}
.nishiki-pro-template-heading-wrap [data-heading-template=bracket02] .preview {
  position: relative;
  display: table;
  width: auto;
  margin: 0 auto;
  padding: 1rem;
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=bracket02] .preview::before, .nishiki-pro-template-heading-wrap [data-heading-template=bracket02] .preview::after {
  position: absolute;
  width: 0.5rem;
  height: 100%;
  border-radius: 0;
  content: "";
}
.nishiki-pro-template-heading-wrap [data-heading-template=bracket02] .preview::before {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  border-top: solid 1px;
  border-bottom: solid 1px;
  border-left: solid 1px;
}
.nishiki-pro-template-heading-wrap [data-heading-template=bracket02] .preview::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  border-top: solid 1px;
  border-right: solid 1px;
  border-bottom: solid 1px;
}
.nishiki-pro-template-heading-wrap [data-heading-template=accent01] .preview {
  position: relative;
  padding-left: 2.5rem;
  border-bottom: 2px solid #222;
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=accent01] .preview::before {
  position: absolute;
  top: 0;
  left: 1rem;
  width: 0.7rem;
  height: 0.7rem;
  background-color: #222;
  content: "";
  transform: rotate(45deg);
}
.nishiki-pro-template-heading-wrap [data-heading-template=accent01] .preview::after {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #222;
  content: "";
  transform: rotate(15deg);
}
.nishiki-pro-template-heading-wrap [data-heading-template=accent02] .preview {
  position: relative;
  display: table;
  width: auto;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  line-height: 1;
  color: #222;
}
.nishiki-pro-template-heading-wrap [data-heading-template=accent02] .preview::before {
  position: absolute;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-top: solid 1px;
  border-left: solid 1px;
  content: "";
}
.nishiki-pro-template-heading-wrap [data-heading-template=stripe01] .preview {
  padding: 0.5rem;
  background: #6b6b6b;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.5' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
}
.nishiki-pro-template-heading-wrap [data-heading-template=stitch01] .preview {
  width: calc(85% - 12px);
  margin-right: auto;
  margin-left: auto;
  border: dashed 1px #fff;
  background: #000;
  box-shadow: 0 0 0 6px #000;
  color: #fff;
}
.nishiki-pro-template-heading-wrap [data-heading-template=polka-dot01] .preview {
  background: #000;
  background-image: radial-gradient(#555 10%, rgba(0, 0, 0, 0) 20%), radial-gradient(#555 10%, rgba(0, 0, 0, 0) 20%);
  background-position: 0 0, 5px 5px;
  background-size: 10px 10px;
  color: #fff;
}

.nishiki-pro-customizer-heading,
.nishiki-pro-wc-customizer-heading {
  margin-right: -12px;
  margin-left: -12px;
  padding: 0.5rem 12px;
  background: #755f8c;
  font-size: 1rem;
  font-weight: normal;
  color: #fff;
}

.nishiki-pro-customizer-button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  background: #755f8c;
  font-weight: normal;
  color: #fff;
  text-decoration: none;
}
.nishiki-pro-customizer-button:hover {
  color: #fff;
}

.customize-control {
  margin-bottom: 1.2rem;
}

.customize-control-range .range-slider[type=range] {
  width: 100%;
  height: 2px;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  background-color: #555d66;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.customize-control-range .range-slider[type=range]:focus, .customize-control-range .range-slider[type=range]:active {
  outline: none;
}
.customize-control-range .range-slider[type=range]::-webkit-slider-thumb {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #eee;
  box-shadow: 0 0 0 2px #555d66;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}
.customize-control-range .range-slider[type=range]:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(85, 93, 102, 0.6);
  -webkit-transition: 300ms;
  transition: 300ms;
}

.customize-control textarea {
  background-color: revert;
}
