*,
:before,
::before,
:after,
::after {
  box-sizing: border-box;
}

* {
  border: 0;
  border-radius: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}

a,
button,
div,
h1,
input,
label,
p,
pre,
span,
textarea {
  color: #1f1f1f;
}

a,
body,
button,
div,
h1,
html,
input,
label,
p,
pre,
span,
textarea {
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-size: 100%;
  vertical-align: baseline;
}

html,
body {
  overflow: hidden;
}

body {
  font-size: 0;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
}

a {
  background: transparent;
  font-size: 0;
  text-decoration: none;
  vertical-align: baseline;
}

button {
  background-color: transparent;
  cursor: pointer;
  font-family: inherit;
}

input {
  background-color: transparent;
  font-family: inherit;
}

textarea {
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
  width: 100%;
  background-color: transparent;
  font-family: inherit;
  resize: vertical;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}

svg {
  overflow: visible;
}

::-webkit-scrollbar {
  display: none;
}

::-webkit-calendar-picker-indicator {
  display: none;
}

::-webkit-resizer {
  display: none;
}

@keyframes about-open {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes about-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body {
  color: #1f1f1f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.Logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  height: 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.Logo-Link {
  font-size: 18px;
  line-height: 26px;
}

.Menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 6px;
}
.Menu-Item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 30px;
  padding: 0 12px;
}
.Menu-Item-Link {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
}

.DesignList {
  display: flex;
  flex-direction: column;
  padding: 8px 6px;
}

.DesignItem {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #a7a7a7;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
}
.DesignItem[data-open] {
  color: #1f1f1f;
}

.IconMaker {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background-color: #ffffff;
  user-select: none;
}

.IconMaker-Preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.IconMaker-Stage {
  background-color: #ffffff;
  border-radius: 3px;
}
.IconMaker-Stage svg {
  display: block;
}

.PanelControl {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 48px;
  padding: 0 32px;
}
.PanelControl-Item {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 21px;
  color: #a7a7a7;
  cursor: pointer;
  user-select: none;
}
.PanelControl-Item[data-open] {
  color: #1f1f1f;
}
.PanelControl-Sample:hover {
  color: #1f1f1f;
}

.PanelColumn {
  position: absolute;
  left: 0;
  top: 56px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.IconMaker-Body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.PanelStack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.Panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: max-content;
  background: #ffffff;
  box-shadow: 0 0 3px 1px #f5f5f5;
  border-radius: 12px 8px 8px 8px;
  overflow: hidden;
}
.Panel[data-panel]:not([data-open]) {
  display: none;
}
.Panel[data-panel=usage] {
  position: fixed;
  top: 56px;
  right: 0;
}
.Panel[data-panel=menu] {
  max-height: calc(100vh - 112px);
}
.Panel[data-float] {
  position: fixed;
  right: auto;
}
.Panel[data-edge-left] {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.Panel[data-edge-right] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.Panel-Header {
  flex-shrink: 0;
  height: 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.Panel-Header:active {
  cursor: grabbing;
}
.Panel-Close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #646464;
  cursor: pointer;
}
.Panel-Close svg {
  width: 9px;
  visibility: hidden;
}
.Panel-Close:hover svg {
  visibility: visible;
}
.Panel-Title {
  display: flex;
  align-items: center;
  height: 32px;
  background: #fafafa;
  font-size: 11px;
  line-height: 1.5;
  color: #1f1f1f;
  border-bottom-right-radius: 12px;
}
.Panel-Title[data-end] {
  padding: 0 16px;
}
.Panel-Title[data-active] {
  color: #e66819;
}
.Panel-Main {
  flex: 1;
  min-height: 0;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.Panel-Section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 14px 18px;
}
.Panel-Section + .Panel-Section {
  border-top: 1px solid #f7f7f7;
}
.Panel-Handle {
  position: absolute;
}
.Panel-Handle[data-direction=n] {
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: ns-resize;
}
.Panel-Handle[data-direction=s] {
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: ns-resize;
}
.Panel-Handle[data-direction=e] {
  top: 0;
  right: 0;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
}
.Panel-Handle[data-direction=w] {
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
}
.Panel-Handle[data-direction=ne] {
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}
.Panel-Handle[data-direction=nw] {
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}
.Panel-Handle[data-direction=se] {
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}
.Panel-Handle[data-direction=sw] {
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nesw-resize;
}

.IconMaker[data-fixed] .Panel {
  position: fixed;
  top: 48px;
  right: 24px;
  left: auto;
}
.IconMaker[data-fixed] .Panel-Header {
  cursor: default;
}

.RightLabelGrid {
  display: grid;
  grid-template-columns: max-content 1fr;
}

.Number,
.Toggle,
.Check,
.Color,
.Stepper {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1/-1;
  align-items: center;
  height: 36px;
  column-gap: 8px;
}
.Number > :first-child,
.Toggle > :first-child,
.Check > :first-child,
.Color > :first-child,
.Stepper > :first-child {
  justify-self: end;
}
.Number > :last-child,
.Toggle > :last-child,
.Check > :last-child,
.Color > :last-child,
.Stepper > :last-child {
  justify-self: start;
}

.Number-Label {
  font-size: 13px;
  line-height: 1.6;
  color: #1f1f1f;
}

.NumberInput {
  --NumberInput-text-color: #e66819;
  display: flex;
  align-items: center;
}
.NumberInput-Arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #646464;
  cursor: pointer;
}
.NumberInput-Field {
  display: flex;
  align-items: center;
  gap: 4px;
}
.NumberInput-Input {
  field-sizing: content;
  min-width: calc(2ch + 16px);
  max-width: calc(8ch + 16px);
  height: 24px;
  padding: 0 4px;
  border-radius: 2px;
  background: #fafafa;
  font-size: 12px;
  line-height: 1.5;
  color: var(--NumberInput-text-color);
  text-align: center;
  user-select: text;
}
.NumberInput-Input:focus {
  outline: none;
}

.Footer {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
}

.PreviewScale {
  display: flex;
  align-items: center;
  gap: 4px;
}
.PreviewScale-Arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #707070;
  cursor: pointer;
}
.PreviewScale-Field {
  display: flex;
  align-items: center;
  gap: 4px;
}
.PreviewScale-Input {
  field-sizing: content;
  min-width: calc(2ch + 16px);
  max-width: calc(8ch + 16px);
  height: 24px;
  padding: 0 4px;
  border-radius: 2px;
  background: #fafafa;
  font-size: 12px;
  line-height: 1.5;
  color: #e66819;
  text-align: center;
  user-select: text;
}
.PreviewScale-Input:focus {
  outline: none;
}
.PreviewScale-Unit {
  font-size: 12px;
  line-height: 1.5;
  color: #8a8a8a;
}

.Stepper-Label {
  font-size: 13px;
  line-height: 1.6;
  color: #1f1f1f;
}

.StepperInput {
  display: flex;
  align-items: center;
  gap: 4px;
}
.StepperInput-Arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #707070;
  cursor: pointer;
}
.StepperInput-Arrow[data-disabled] {
  opacity: 0.3;
  cursor: default;
}
.StepperInput-Track {
  display: grid;
  justify-items: center;
}
.StepperInput-Option {
  grid-area: 1/1;
  visibility: hidden;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.5;
  color: #1f1f1f;
  user-select: none;
}
.StepperInput-Option[data-selected] {
  visibility: visible;
}

.Toggle-Label {
  font-size: 13px;
  line-height: 1.6;
  color: #1f1f1f;
}

.ToggleInput {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
.ToggleInput-Option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #1f1f1f;
  cursor: pointer;
  user-select: none;
}
.ToggleInput-Option[data-selected]::before, .ToggleInput-Option[data-selected]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  pointer-events: none;
}
.ToggleInput-Option[data-selected]::before {
  left: 0;
  border-left: 1px solid #646464;
  border-top: 1px solid #646464;
  border-bottom: 1px solid #646464;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}
.ToggleInput-Option[data-selected]::after {
  right: 0;
  border-right: 1px solid #646464;
  border-top: 1px solid #646464;
  border-bottom: 1px solid #646464;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.Check-Label {
  font-size: 13px;
  color: #1f1f1f;
  cursor: pointer;
}
.Check-Main {
  padding-left: 12px;
}

.Color-Label {
  font-size: 13px;
  color: #1f1f1f;
}
.Color-Main {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
}
.Color-InputWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 28px;
  background-color: #f7f7f7;
  border-radius: 8px;
}
.Color-Input {
  width: 96px;
  padding: 2px 10px;
  background-color: transparent;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 24px;
  color: #1f1f1f;
  user-select: text;
}
.Color-Picker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
}

.Action {
  display: flex;
  align-items: center;
  gap: 36px;
}
.Action-Option {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 21px;
  color: #a7a7a7;
  cursor: pointer;
  user-select: none;
}
.Action-Option[data-open] {
  color: #1f1f1f;
}
.Action-Download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 20px;
  background-color: #e66819;
  border-radius: 17px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  font-size: 14px;
  cursor: pointer;
}
.Action-Download > span {
  color: #ffffff;
}
.Action-Download > svg {
  width: auto;
  height: 16px;
}

.OptionText {
  width: 400px;
  height: 640px;
  background-color: #fafafa;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  tab-size: 4;
  resize: none;
  user-select: text;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.OptionText:focus {
  outline: none;
}

.AboutPanel {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: rgba(60, 60, 60, 0.85);
  animation: about-open 0.16s forwards;
}
.AboutPanel-Container {
  position: relative;
}
@media (max-width: 760px) {
  .AboutPanel-Container {
    width: calc(100vw - 16px);
    max-width: 640px;
    height: calc(100vh - 64px);
  }
}
@media (min-width: 761px) {
  .AboutPanel-Container {
    margin-top: 60px;
    width: 691px;
    height: calc(100vh - 120px);
  }
}
.AboutPanel-Header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding-left: 26px;
  background-color: #f7f7f7;
  border-radius: 16px 2px 0 0;
}
@media (min-width: 761px) {
  .AboutPanel-Header {
    padding-left: 28px;
  }
}
.AboutPanel-Slider {
  position: absolute;
  top: 0;
  z-index: 12200;
  display: flex;
  height: 48px;
  transition: left 0.3s ease, width 0.3s ease;
}
.AboutPanel-Slider-Center {
  height: 48px;
  background: #ffffff;
  transition: width 0.3s ease;
}
.AboutPanel-Tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 48px;
}
.AboutPanel-Tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  cursor: pointer;
}
.AboutPanel-Tab svg path {
  fill: #f7f7f7;
}
.AboutPanel-Tab[data-active] svg path {
  fill: #ffffff;
}
.AboutPanel-Tab-Label {
  position: absolute;
  z-index: 12201;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #1f1f1f;
  white-space: nowrap;
}
.AboutPanel-Tab[data-active] .AboutPanel-Tab-Label {
  font-weight: 600;
}
.AboutPanel-Close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
}
.AboutPanel-Close > svg {
  width: 12px;
  height: 12px;
  color: #707070;
}
.AboutPanel-Main {
  position: absolute;
  top: 48px;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-radius: 0 0 2px 2px;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
@media (max-width: 760px) {
  .AboutPanel-Main {
    padding: 33px 28px 33px;
  }
}
@media (min-width: 761px) {
  .AboutPanel-Main {
    padding: 41px 48px 41px;
  }
}
.AboutPanel-Article {
  display: none;
}
.AboutPanel-Article[data-active] {
  display: flex;
  flex-direction: column;
  gap: 29px;
  animation: about-fade-in 0.2s forwards;
}
.AboutPanel-Item {
  font-size: 17px;
  line-height: 31px;
}

.Slide {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(31, 31, 31, 0);
  pointer-events: none;
  transition: background-color 0.32s ease;
}
.Slide[data-open] {
  background-color: rgba(31, 31, 31, 0.2);
  pointer-events: auto;
}
.Slide-Panel {
  position: fixed;
  top: 56px;
  left: 48px;
  right: 48px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.32s ease;
}
.Slide[data-open] .Slide-Panel {
  transform: translateY(0);
}
.Slide-Header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.Slide-Title {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  font-size: 13px;
  line-height: 21px;
  color: #1f1f1f;
  cursor: pointer;
}
.Slide-Close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #8a8a8a;
  cursor: pointer;
}
.Slide-Close:hover {
  color: #1f1f1f;
}

.SlideMenu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(31, 31, 31, 0.2);
}
.SlideMenu-Panel {
  position: fixed;
  top: 104px;
  left: 56px;
  display: flex;
  flex-direction: column;
  width: 400px;
  max-height: 600px;
  padding: 16px 16px;
  background-color: #ffffff;
  border-radius: 2px;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.SlideMenu-Item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 4px;
  font-size: 15px;
  line-height: 23px;
}

.IconGallery {
  flex: 1;
  min-height: 0;
  padding: 32px 40px 40px;
  background-color: #ffffff;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.IconGallery-Title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #1f1f1f;
}
.IconGallery-Lead {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #8a8a8a;
}
.IconGallery-Hint {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #e66819;
}
.IconGallery-Nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.IconGallery-Nav-Item {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #f5f5f5;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: #1f1f1f;
}
.IconGallery-Nav-Item[data-active] {
  border-color: #e66819;
  color: #e66819;
}
.IconGallery-Grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.IconGallery-Cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #f5f5f5;
  border-radius: 2px;
  cursor: pointer;
}
.IconGallery-Cell svg {
  display: block;
  flex-shrink: 0;
  width: 360px;
  height: 360px;
}

.IconUsage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  padding: 14px 18px;
  user-select: text;
}
.IconUsage-Title {
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  color: #1f1f1f;
}
.IconUsage-Body {
  font-size: 13px;
  line-height: 21px;
  color: #646464;
}

.IconLegal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  padding: 0 18px 14px;
  user-select: text;
}
.IconLegal-Title {
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  color: #1f1f1f;
}
.IconLegal-Item {
  font-size: 13px;
  line-height: 21px;
  color: #646464;
}
