/* Document
 * ========================================================================== */

/**
 * Add border box sizing in all browsers (opinionated).
 */

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

/**
 * 1. Add text decoration inheritance in all browsers (opinionated).
 * 2. Add vertical alignment inheritance in all browsers (opinionated).
 */

::before,
::after {
  text-decoration: inherit; /* 1 */
  vertical-align: inherit; /* 2 */
}

/**
 * 1. Use the default cursor in all browsers (opinionated).
 * 2. Change the line height in all browsers (opinionated).
 * 3. Use a 4-space tab width in all browsers (opinionated).
 * 4. Remove the grey highlight on links in iOS (opinionated).
 * 5. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 * 6. Breaks words to prevent overflow in all browsers (opinionated).
 */

html {
  cursor: default; /* 1 */
  line-height: 1.5; /* 2 */
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
  -webkit-tap-highlight-color: transparent /* 4 */;
  -ms-text-size-adjust: 100%; /* 5 */
  -webkit-text-size-adjust: 100%; /* 5 */
  word-break: break-word; /* 6 */
}

/* Sections
 * ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
 * ========================================================================== */

/**
 * Remove the margin on nested lists in Chrome, Edge, IE, and Safari.
 */

dl dl,
dl ol,
dl ul,
ol dl,
ul dl {
  margin: 0;
}

/**
 * Remove the margin on nested lists in Edge 18- and IE.
 */

ol ol,
ol ul,
ul ol,
ul ul {
  margin: 0;
}

/**
 * 1. Add the correct sizing in Firefox.
 * 2. Show the overflow in Edge 18- and IE.
 */

hr {
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * Add the correct display in IE.
 */

main {
  display: block;
}

/**
 * Remove the list style on navigation lists in all browsers (opinionated).
 */

nav ol,
nav ul {
  list-style: none;
  padding: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
 * ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Add the correct text decoration in Edge 18-, IE, and Safari.
 */

abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/* Embedded content
 * ========================================================================== */

/*
 * Change the alignment on media elements in all browsers (opinionated).
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on iframes in all browsers (opinionated).
 */

iframe {
  border-style: none;
}

/**
 * Remove the border on images within links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Change the fill color to match the text color in all browsers (opinionated).
 */

svg:not([fill]) {
  fill: currentColor;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Tabular data
 * ========================================================================== */

/**
 * Collapse border spacing in all browsers (opinionated).
 */

table {
  border-collapse: collapse;
}

/* Forms
 * ========================================================================== */

/**
 * Remove the margin on controls in Safari.
 */

button,
input,
select {
  margin: 0;
}

/**
 * 1. Show the overflow in IE.
 * 2. Remove the inheritance of text transform in Edge 18-, Firefox, and IE.
 */

button {
  overflow: visible; /* 1 */
  text-transform: none; /* 2 */
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * 1. Change the inconsistent appearance in all browsers (opinionated).
 * 2. Correct the padding in Firefox.
 */

fieldset {
  border: 1px solid #a0a0a0; /* 1 */
  padding: 0.35em 0.75em 0.625em; /* 2 */
}

/**
 * Show the overflow in Edge 18- and IE.
 */

input {
  overflow: visible;
}

/**
 * 1. Correct the text wrapping in Edge 18- and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 */

legend {
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in Edge 18- and IE.
 * 2. Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the inheritance of text transform in Firefox.
 */

select {
  text-transform: none;
}

/**
 * 1. Remove the margin in Firefox and Safari.
 * 2. Remove the default vertical scrollbar in IE.
 * 3. Change the resize direction in all browsers (opinionated).
 */

textarea {
  margin: 0; /* 1 */
  overflow: auto; /* 2 */
  resize: vertical; /* 3 */
}

/**
 * Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  padding: 0;
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Remove the inner border and padding of focus outlines in Firefox.
 */

::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus outline styles unset by the previous rule in Firefox.
 */

:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove the additional :invalid styles in Firefox.
 */

:-moz-ui-invalid {
  box-shadow: none;
}

/* Interactive
 * ========================================================================== */

/*
 * Add the correct display in Edge 18- and IE.
 */

details {
  display: block;
}

/*
 * Add the correct styles in Edge 18-, IE, and Safari.
 */

dialog {
  background-color: white;
  border: solid;
  color: black;
  display: block;
  height: -moz-fit-content;
  height: -webkit-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
}

dialog:not([open]) {
  display: none;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
 * ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* User interaction
 * ========================================================================== */

/*
 * 1. Remove the tapping delay in IE 10.
 * 2. Remove the tapping delay on clickable elements
      in all browsers (opinionated).
 */

a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  -ms-touch-action: manipulation; /* 1 */
  touch-action: manipulation; /* 2 */
}

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

/* Accessibility
 * ========================================================================== */

/**
 * Change the cursor on busy elements in all browsers (opinionated).
 */

[aria-busy="true"] {
  cursor: progress;
}

/*
 * Change the cursor on control elements in all browsers (opinionated).
 */

[aria-controls] {
  cursor: pointer;
}

/*
 * Change the cursor on disabled, not-editable, or otherwise
 * inoperable elements in all browsers (opinionated).
 */

[aria-disabled="true"],
[disabled] {
  cursor: not-allowed;
}

/*
 * Change the display on visually hidden accessible elements
 * in all browsers (opinionated).
 */

[aria-hidden="false"][hidden] {
  display: initial;
}

[aria-hidden="false"][hidden]:not(:focus) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* 全体 */
html, body {
  font-family: "Yomogi", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.app-wrapper {
  background-color: #fffff0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#container #content {
  background: transparent;
}

h2 {
  margin: 0;
  position: relative;
  margin: 10px;
  padding: 8px 25px 8px 25px;
  background: none;
  text-transform: uppercase;
  border: 2px solid #333;
  border-radius: 3em .5em 2em .5em/.4em 2em .5em 3em;
 }

h2:before, h2::after {
  border-radius: 4px;
  box-shadow: 0 1px 4px #95C7A4;
  content: "";
  height: 100%;
  position: absolute;
  width: 100%;
}

h2::before {
  background-color: #95C7A4;
  left: 0;
  top: 4px;
  z-index: -1;
}

h2::after {
  background-color: #95C7A4;
  top: 5px;
  left: 5px;
  z-index: -2;
}

a {
  text-decoration: none;
}

p {
  text-align: center;
}

.section {
  /* width: 100%; */
  text-align: center;
}

.section-title {
  margin: 30px;
  padding-top: 0;
  font-size: 30px;
  display: inline-block;
}

.section-subtitle {
  position: relative;
  width: fit-content;
  padding: 12px 16px;
  border: 2px solid #333333;
  border-radius: 8px;
  justify-self: center;
  font-weight: 700;

  &::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    background-color: #fffff0;
    rotate: 135deg;
    translate: -50% 0;
  }

  &::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: 2px solid;
    border-color: #333333 #333333 transparent transparent;
    rotate: 135deg;
    translate: -50% 0;
  }
}

.edit-btn {
  display: inline-flex;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 6px 8px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background-color: #333;
}

.edit-btn:hover {
  animation: anima-edit-btn 1s;
}

@keyframes anima-edit-btn {
  0% {
      box-shadow: 0 0 0 0 rgba(217, 80, 16, 0.5);
  }
  100% {
      box-shadow: 0 0 0 1.2em rgb(0 0 0 / 0%);
  }
}

/* ヘッダー */
.header {
  width: 100%;
  border-bottom: 1px solid #949495;
  background: #cda16f;
  box-shadow: 0 1px 4px #95C7A4;
  margin-bottom: 24px;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.header-nav {
  position: static;
  top: 100%;
  width: auto;
  background: #cda16f;
  overflow: visible;
  max-height: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.menu-toggle, .menu-btn, .menu-close-btn{
  display: none;
}

.menu-button span {
  display: block;
}

.logout-text {
  display: inline-flex;
}

.logout-icon {
  display: none;
}

@media (max-width: 768px) {
  .header {
    height: 70px;
    /* position: fixed;
    top: 0; */
    width: 100%;
    /* z-index: 1000; */
  }

  .header-container {
    height: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
  }

  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
  }

  .menu-btn span {
    width: 20px;
    height: 2px;
    background: #333;
    margin: 0 auto;
  }

  .app-title {
    margin: 0;
    justify-self: center;
    text-align: center;
  }

  .header-actions {
    justify-self: end;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fffff0;
    border-top: 1px solid #333132;
    z-index: 20;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  }

  .header-nav-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    gap: 0;
    list-style: none;
  }

  .header-nav-list li a {
    display: block;
    padding: 0;
  }

  .menu-toggle:checked ~ .header-nav {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
  }

  .logout-text {
    display: none;
  }

  .header-actions .logout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #333;
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .menu-close-btn {
    display: flex;
    justify-content: center;
    background: #cda16f;
    cursor: pointer;
  }
}

.app-title {
  margin: 0;
  padding: 0;
}

.app-title a {
  color: #333;
}

.header-nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  font-size: 18px;
}

.header-nav-list a {
  padding: 6px 10px;
  border-radius: 10px;
  color: #333;
  transition: background-color .5s, border-color .5s;
}

.header-nav-list a:hover {
  color: #fff;
  background-color: #333;
}

.header-actions a {
  color: #333;
  background-color: #fffff0;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background-color .5s, border-color .5s;
}

.header-actions a:hover {
  color: #fff;
  background-color: #333;
}

/* home */
.home-title {
  font-size: 60px;
}

.home-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "left center right";
  align-items: center;
  justify-items: center;
  gap: 48px;
  margin-top: 0;
}

.tissue-paper-image {
  grid-area: left;
  width: 320px;
  height: auto;
  display: block;
  margin-top: 50px;
}

.shopping-image {
  grid-area: right;
  width: 320px;
  height: auto;
  display: block;
  margin-top: 50px;
}

.home-btns {
  grid-area: center;
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 0;
  font-size: 18px;
}

.link-btn {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin:0 auto;
  padding: .9em 2em;
  border: 2px solid #ae2c05;
  border-radius: 25px;
  background-color: #333;
  color: #fff;
  font-size: 1em;
}

.link-btn:hover {
  animation: anima-link-btn 1s;
}

@keyframes anima-link-btn {
  0% {
      box-shadow: 0 0 0 0 rgba(217, 80, 16, 0.5);
  }
  100% {
      box-shadow: 0 0 0 1.2em rgb(0 0 0 / 0%);
  }
}

@media (max-width: 768px) {
  .home-title {
    font-size: 40px;
  }

  .home-main {
    margin-top: 56px;
  }

  .tissue-paper-image {
    display: none;
  }

  .shopping-image {
    display: none;
  }

  .link-btn {
    padding: .9em .5em;
     width: 150px;
  }
}

/* 新規登録画面 */
.input-form {
  width: 220px;
  margin: 0 auto;
  text-align: center;
  justify-self: center;
  font-size: 18px;
  font-weight: 700;
}

.input-form input,
.input-form select {
  height: 44px;
}

.input-form input[type="text"],
.input-form input[type="email"],
.input-form input[type="password"] {
  width: min(320px, 100%);
  border: 2px solid #f3c5d6;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.input-form input::placeholder {
  color: #c08aa0;
}

.input-form input:focus {
  outline: none;
  border-color: #ee8fd5;
  box-shadow: 0 0 0 4px rgba(238, 143, 181, 0.2);
  background-color: #fff;
}

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 40px;
  margin: 36px auto;
  padding: 0;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
}

.submit-btn:hover {
    animation: submit-btn 2s linear infinite;
}

@keyframes submit-btn {
    7% {
        transform: translateY(-15px);
    }
    15% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-7px);
    }
    25% {
        transform: translateY(0);
    }
}

/* ログイン画面 */
.remember-field {
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* ダッシュボード画面 */
.greeting {
  margin: 0;
  font-size: 18px;
}

.dashboard-content {
  font-size: 18px;
  text-align: left;
  margin-top: 50px;
}

.dashboard-content p {
  text-align: left;
}

.group-name {
  display: flex;
  gap: 12px;
  align-items: center;
}

.invite-token {
  margin: 0;
}

.group-user-card {
  background-color: #fff;
  border: 1px solid #949495;
  border-radius: 8px;
  padding: 12px;
  margin: 24px auto;
  box-shadow: 0 1px 4px #95C7A4;
}

.group-user-headline {
  font-size: 18px;
  margin: 12px auto;
}

.group-user-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-user-list li {
  display: flex;
  gap: 12px;
  padding: 8px;
}

.group-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px auto;
}

.no-group-message {
  font-size: 20px;
  padding: 12px;
  margin-bottom: 24px;
}

.dashboard-content .dashboard-btns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* カテゴリ一覧 */
.category-list-card {
  background-color: #fff;
  border: 1px solid #949495;
  border-radius: 8px;
  padding: 12px;
  margin: 24px auto;
  box-shadow: 0 1px 4px #95C7A4;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid #949495;
}

.category-list-item:last-child {
  border-bottom: none;
}

.category-name {
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.category-list-actions {
  display: flex;
  gap: 8px;
}

.list-edit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background-color: #9a50c5;
}

.list-delete-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background-color: #d42020;
}

/* アイテム一覧 */
.item-filter {
  margin: 8px 0 14px;
}

.item-filter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.item-filter-label {
  font-weight: 700;
}

.item-filter-select {
  height: 32px;
  border: 1px solid #949495;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
}

.item-filter-submit {
  height: 32px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #333;
  color: #fff;
  padding: 0 10px;
  cursor: pointer;
}

.item-list-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid #949495;
}

.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item-main {
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.item-stock-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
}

.item-list-actions {
  display: flex;
  gap: 10px;
  margin-left: 0;
  min-width: 92px;
  justify-content: flex-end;
}

.item-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 10px 6px;
  border-bottom: 1px solid #949495;
}

.item-list-item:last-child {
  border-bottom: none;
}

.stock-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.item-stock-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 768px) {
  .item-list-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "main ."
      "stock actions";
    row-gap: 8px;
    column-gap: 10px;
    align-items: center;
  }

  .item-main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .item-stock-controls {
    grid-area: stock;
    min-width: 0;
    justify-content: flex-start;
  }

  .item-list-actions {
    grid-area: actions;
    min-width: 0;
    align-self: center;
  }
}

/* アイテム編集 */
.item-category-wrap {
  margin: 10px 0 16px;
  text-align: center;
}

.item-category-select {
  width: 100%;
  padding: 8px 14px;
  border: 2px solid #f3c5d6;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #fff8fb;
  color: #5a3d49;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #c08aa0 50%),
    linear-gradient(135deg, #c08aa0 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.item-category-select:focus {
  outline: none;
  border-color: #ee8fd5;
  box-shadow: 0 0 0 4px rgba(238, 143, 181, 0.2);
  background-color: #fff;
}

/* フラッシュメッセージ */
.flash-message {
  border-radius: 5px;
  padding: 16px 24px;
  margin: 16px 0px;
}

.flash-message.notice {
  background-color: #bcdfff;
  color: #0067C0;
  border: solid 1px #0067C0;
}

.flash-message.alert {
  background-color: #ffd4d1;
  color: #930403;
  border: solid 1px #930403;
}
