@charset "UTF-8";
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  text-decoration: none;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* iOSでのフォーム要素のデフォルトスタイルをリセット */
input,
textarea,
select,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
}

/* iOSでタップしたときに出るグレーのハイライトを消す */
* {
  -webkit-tap-highlight-color: transparent;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/*
 * 基本的なページ設定
 */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  color: #212529;
  background-color: #f4f7f9;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/*
 * 基本的な要素のスタイル
 */
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
a:hover {
  color: rgb(0, 98.4, 204);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

hr {
  border: 0;
  border-top: 1px solid #dee2e6;
  margin: 2em 0;
}

i {
  padding-right: 4px;
}

.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  background-image: linear-gradient(135deg, rgb(51, 149.4, 255), #007bff);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  z-index: 1000;
  border: 2px solid #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) Scale(0.9);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.page-top-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.page-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) Scale(1);
}
.page-top-btn:hover {
  opacity: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}
.page-top-btn:hover svg {
  transform: translateY(-2px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.grid-container {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-container--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .grid-container--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.u-sp-only {
  display: none;
}
@media (max-width: 1024px) {
  .u-sp-only {
    display: block;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(220, 53, 69, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: Scale(1.05);
  transition: transform 0.3s ease;
}

.u-hidden .modal-overlay {
  opacity: 0;
  pointer-events: none;
}

.u-hidden .modal-content {
  transform: Scale(0.95);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #dee2e6;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #dc3545;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  font-size: 2.8rem;
  font-weight: 300;
  color: #6c757d;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.modal-close-btn:hover {
  color: #212529;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.error-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.error-list li {
  font-size: 1.5rem;
  color: #212529;
  padding: 8px 0;
  border-bottom: 1px solid #dee2e6;
}
.error-list li:last-child {
  border-bottom: none;
}
.error-list li .error-label {
  font-weight: 700;
  color: #5e5873;
}

.is-scroll-locked {
  overflow: hidden;
}

@keyframes flash-and-fade {
  0% {
    background-color: rgba(115, 103, 240, 0.2);
  }
  70% {
    background-color: rgba(115, 103, 240, 0.2);
  }
  100% {
    background-color: transparent;
  }
}
.is-highlighted {
  animation: flash-and-fade 2.5s ease-out;
}

@media (max-width: 767px) {
  .u-pc-only {
    display: none !important;
  }
}

.u-sp-only {
  display: none !important;
}
@media (max-width: 767px) {
  .u-sp-only {
    display: block !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s ease-in-out;
  text-decoration: none !important;
}
.btn:hover {
  text-decoration: none !important;
}
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn--primary {
  color: #ffffff;
  background-color: #007bff;
}
.btn--primary:hover {
  background-color: rgb(0, 98.4, 204);
  color: #ffffff;
}
.btn--secondary {
  color: #212529;
  background-color: transparent;
  border-color: #dee2e6;
}
.btn--secondary:hover {
  background-color: #f1f3f5;
  color: #212529;
}
.btn--danger {
  color: #fff;
  background-color: #dc3545;
}
.btn--danger:hover {
  background-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  color: #fff;
}
.btn--danger-outline {
  color: #dc3545;
  background-color: transparent;
}
.btn--danger-outline:hover {
  background-color: rgba(220, 53, 69, 0.05);
  color: #dc3545;
}

.form-input {
  display: block;
  width: 100%;
  padding: 10px 15px;
  box-sizing: border-box;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #212529;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}
.form-input::-moz-placeholder {
  color: #6c757d;
  opacity: 0.8;
}
.form-input::placeholder {
  color: #6c757d;
  opacity: 0.8;
}

.form-input.is-invalid {
  border-color: #dc3545 !important;
}
.form-input.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-group {
  margin-bottom: 10px;
}

.form-label {
  display: inline-block;
  font-weight: 700;
}

.form-radio-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.form-radio-group.is-invalid {
  border: 1px solid rgba(220, 53, 69, 0.5);
  border-radius: 8px;
  padding: 11px 16px;
  background-color: rgba(220, 53, 69, 0.05);
  margin: -5px;
  padding-left: 11px;
}

.form-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 6px;
}
.form-radio__input {
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  margin-right: 0;
  transition: all 0.2s;
  position: relative;
}
.form-radio__input:checked {
  border-color: #007bff;
  background-color: #007bff;
}
.form-radio__input:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: #fff;
}
.form-radio__label {
  color: #212529;
  font-size: 1.4rem;
}

.admin-page .form-input {
  background-color: rgba(235, 233, 241, 0.4);
  color: #212529;
}
.admin-page .form-input::-moz-placeholder {
  color: #6e6b7b;
  opacity: 0.6;
}
.admin-page .form-input::placeholder {
  color: #6e6b7b;
  opacity: 0.6;
}
.admin-page .form-input:focus {
  background-color: #ffffff;
  border-color: #7367f0;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.15);
}
.admin-page .form-input-group {
  background-color: rgba(235, 233, 241, 0.4);
}
.admin-page .form-input-group:focus-within {
  background-color: #ffffff;
  border-color: #7367f0;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.15);
}
.admin-page .form-input-group .form-input {
  background-color: transparent;
}
.admin-page .form-input-group .form-input:focus {
  box-shadow: none;
}

.form-group.is-invalid-group .choice-group,
.form-group.is-invalid-group .form-radio-group {
  border: 1px solid rgba(220, 53, 69, 0.5);
  border-radius: 8px;
  padding: 16px;
  background-color: rgba(220, 53, 69, 0.05);
}

.opening-hours-editor {
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  overflow: hidden;
}
.opening-hours-editor__row {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid #ebe9f1;
}
.opening-hours-editor__row:last-child {
  border-bottom: none;
}
.opening-hours-editor__day {
  flex: 0 0 80px;
  font-weight: 600;
  color: #6e6b7b;
}
.opening-hours-editor__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.opening-hours-editor__inputs .form-input {
  width: 100px;
}
.opening-hours-editor__separator {
  color: #6e6b7b;
}
.opening-hours-editor__closed {
  margin-left: auto;
}

.form-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.form-checkbox__input {
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 6px;
}

.form-description {
  font-size: 1.3rem;
  color: #6e6b7b;
  margin-top: 8px;
  line-height: 1.5;
}

.form-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-toggle__label {
  font-size: 1.4rem;
  color: #6e6b7b;
  cursor: pointer;
}
.form-toggle__switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 21px;
  cursor: pointer;
}
.form-toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
}
.form-toggle__input:checked + .form-toggle__slider {
  background-color: #dc3545;
}
.form-toggle__input:checked + .form-toggle__slider:before {
  transform: translateX(20px);
}
.form-toggle__slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}
.form-toggle__slider::before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-radio__label {
  font-size: 1.4rem;
  color: #6e6b7b;
  cursor: pointer;
}
.form-radio .segmented-control {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden; /* 角丸を効かせるため */
}
.form-radio .segmented-control input[type=radio] {
  display: none;
}
.form-radio .segmented-control label {
  font-size: 1.1rem;
  padding: 2px 16px;
  cursor: pointer;
  text-align: center;
  flex-grow: 1; /* 親要素いっぱいに広がる */
  background-color: #f0f0f0;
  color: #333;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none; /* テキスト選択を無効に */
  transition: background-color 0.2s;
}
.form-radio .segmented-control label + input[type=radio] + label {
  border-left: 1px solid #ccc;
}
.form-radio .segmented-control input[type=radio]:checked + label {
  background-color: #007bff;
  color: white;
}

.toggle-switch-3way {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 270px;
  background-color: #e0e5ec;
  border-radius: 50px;
  box-shadow: inset 3px 3px 6px #b8b9be, inset -3px -3px 6px #ffffff;
  padding: 5px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.toggle-switch-3way input[type=radio] {
  display: none;
}
.toggle-switch-3way label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  z-index: 2;
  transition: color 0.4s ease;
}
.toggle-switch-3way .switch-handle {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 86.6666666667px;
  height: calc(100% - 10px);
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.4s ease;
}
.toggle-switch-3way input[value="0"]:checked ~ .switch-handle {
  transform: translateX(0%);
  background: #a3aab6;
}
.toggle-switch-3way input[value="0"]:checked ~ label:nth-of-type(1) {
  color: #fff;
}
.toggle-switch-3way input[value="1"]:checked ~ .switch-handle {
  transform: translateX(100%);
  background: linear-gradient(45deg, #2575fc 0%, #6a11cb 100%);
}
.toggle-switch-3way input[value="1"]:checked ~ label:nth-of-type(2) {
  color: #fff;
}
.toggle-switch-3way input[data-state="2"]:checked ~ .switch-handle {
  transform: translateX(200%);
  background: linear-gradient(45deg, #ff5f6d 0%, #ffc371 100%);
}
.toggle-switch-3way input[data-state="2"]:checked ~ label:nth-of-type(3) {
  color: #fff;
}

.card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(33, 37, 41, 0.05);
  overflow: hidden;
}
.card__header {
  padding: 16px 24px;
  border-bottom: 1px solid #dee2e6;
}
.card__header > :last-child {
  margin-bottom: 0;
}
.card__body {
  padding: 24px;
}
.card__body > :last-child {
  margin-bottom: 0;
}
.card__list {
  padding: 24px;
  margin-top: 20px;
}
.card__list > :last-child {
  margin-bottom: 0;
}
.card__footer {
  padding: 16px 24px;
  background-color: #f1f3f5;
  border-top: 1px solid #dee2e6;
}
.card__footer > :last-child {
  margin-bottom: 0;
}
.card__preview {
  margin-top: 20px;
}

.admin-page .card {
  background-color: #ffffff;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 rgba(115, 103, 240, 0.06);
  transition: all 0.3s ease-in-out;
}
.admin-page .card:hover {
  box-shadow: 0 8px 24px 0 rgba(115, 103, 240, 0.2);
}
.admin-page .card__header {
  padding: 24px;
  border-bottom: 1px solid #ebe9f1;
}
.admin-page .card__body {
  padding: 24px;
}

@keyframes Gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
@keyframes morph {
  0% {
    border-radius: 40% 60% 60% 40%/70% 30% 70% 30%;
  }
  100% {
    border-radius: 40% 60%;
  }
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.moving-wall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: linear-gradient(45deg, #02e1ba 0%, #26c9f2 29%, #d911f2 66%, #ffa079 100%);
  background-size: 400% 400%;
  animation: Gradient 15s ease infinite;
  overflow: hidden;
}
.moving-wall::before, .moving-wall::after {
  content: "";
  width: 70vmax;
  height: 70vmax;
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  left: -20vmin;
  top: -20vmin;
  animation: morph 15s linear infinite alternate, spin 20s linear infinite;
  z-index: 1;
  will-change: border-radius, transform;
  transform-origin: 55% 55%;
  pointer-events: none;
}
.moving-wall::after {
  width: 70vmin;
  height: 70vmin;
  left: auto;
  right: -10vmin;
  top: auto;
  bottom: 0;
  animation: morph 10s linear infinite alternate, spin 26s linear infinite reverse;
  transform-origin: 20% 20%;
}

.blinking {
  animation: blink 1s ease-in-out infinite alternate;
}

.blinking2 {
  position: relative;
  z-index: 1;
  overflow: initial;
  animation: blink 1s ease-in-out 5 alternate;
}
@keyframes blink {
  0% {
    opacity: 0.3;
    scale: 1;
  }
  100% {
    opacity: 1;
    scale: 1.2;
  }
}
.poyopoyo {
  animation: poyopoyo 3s ease-out infinite;
  opacity: 1;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1);
  }
  50%, 70% {
    transform: scale(0.75);
  }
}
@keyframes poyopoyo2 {
  0%, 40%, 60%, 80% {
    transform: scale(1);
  }
  50%, 70% {
    transform: scale(0.99);
  }
}
.fuwafuwa {
  animation: fuwafuwa 3s infinite ease-in-out 0.8s alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
  margin-top: 15px;
}
@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0) rotate(-7deg);
  }
  50% {
    transform: translate(0, -7px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(7deg);
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* アニメーション本体の定義 */
@keyframes gentle-blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4; /* 完全に消えるのではなく、少し薄くなるくらいが優しい */
  }
  100% {
    opacity: 1;
  }
}
/* このクラスを付けた要素が点滅する */
.gentle-blink {
  animation: gentle-blink 2.5s ease-in-out infinite; /* 2.5秒かけてゆっくり点滅 */
}

/* アニメーション本体の定義 */
@keyframes pulse-warning {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }
  70% {
    transform: scale(1.02); /* 少しだけ大きくする */
    box-shadow: 0 0 10px 15px rgba(255, 82, 82, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}
/* このクラスを付けた要素が点滅する */
.pulse-warning {
  animation: pulse-warning 2s infinite;
  border-radius: 6px; /* 影を綺麗に見せるため、角を丸めておくと良い */
}

/* ==================================================================
//  【追加】ウィジェット連動 ハイライトエフェクト
// ==================================================================*/
@keyframes highlight-fade {
  from {
    background-color: #fffbe6;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
  }
  to {
    background-color: transparent;
    box-shadow: none;
  }
}
.inquiry-mail__item.is-highlighted {
  animation: highlight-fade 3s ease-out;
}

.header {
  background-color: #ffffff;
  border-bottom: 1px solid #ebe9f1;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.05);
  padding: 0 24px;
  height: var(--header-height, 64px);
  position: relative;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__left, .header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__title {
  color: #5e5873;
  font-weight: 700;
}

.development {
  background-color: #ccd3ce;
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  margin-left: -8px;
  cursor: pointer;
}
.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #5e5873;
  border-radius: 2px;
  transition: all 0.3s;
}
.header__toggle-bar:not(:last-child) {
  margin-bottom: 5px;
}

.header-logo {
  display: inline-block;
  width: 45px;
  height: 25px;
  position: relative;
  transform: translateY(3px);
}
.header-logo__dot {
  position: absolute;
  border-radius: 50%;
  background-color: #7367f0;
}
.header-logo__dot:nth-child(1) {
  width: 11px;
  height: 11px;
  bottom: 0;
  left: 0;
}
.header-logo__dot:nth-child(2) {
  width: 7px;
  height: 7px;
  bottom: 13px;
  left: 10px;
}
.header-logo__dot:nth-child(3) {
  width: 7px;
  height: 7px;
  bottom: 4px;
  left: 17px;
}
.header-logo__dot:nth-child(4) {
  width: 11px;
  height: 11px;
  bottom: 13px;
  left: 25px;
}
.header-logo__dot:nth-child(5) {
  width: 11px;
  height: 11px;
  bottom: 0;
  left: 34px;
}

.header-site-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6e6b7b;
  font-size: 1.3rem;
  padding-left: 24px;
  border-left: 1px solid #ebe9f1;
}

.user-info {
  text-align: right;
}
.user-info__name {
  display: block;
  font-weight: 700;
  color: #5e5873;
  font-size: 1.4rem;
}
.user-info__email {
  display: block;
  color: #6e6b7b;
  font-size: 1.2rem;
}

.logout-form__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(115, 103, 240, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}
.logout-form__button img {
  width: 20px;
  height: 20px;
}
.logout-form__button:hover {
  background-color: #7367f0;
}

@media (max-width: 1024px) {
  .header__toggle {
    display: block;
  }
  .header .header-logo,
  .header .header-site-info,
  .header .user-info {
    display: none;
  }
}
.sidebar {
  background-color: #ffffff;
  width: 260px;
  border-right: 1px solid #ebe9f1;
  padding: 16px 0;
  transition: width 0.3s ease;
}
.sidebar__nav {
  padding: 0 16px;
}
.sidebar__user-info {
  padding: 16px 24px;
  border-bottom: 1px solid #ebe9f1;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.sidebar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #5e5873;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s;
}
.sidebar-item:hover {
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
}
.sidebar-item.is-active {
  background: linear-gradient(118deg, #7367f0, rgb(126.2095808383, 154.7355289421, 242.2904191617));
  color: #ffffff;
  box-shadow: 0 0 10px 1px rgba(115, 103, 240, 0.1);
}
.sidebar-item__icon {
  width: 20px;
  text-align: center;
  font-size: 1.8rem;
}

.accordion {
  margin-top: 24px;
}
.accordion__item {
  margin-bottom: 8px;
  background-color: transparent;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #6e6b7b;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  gap: 16px;
}
.accordion__head::after {
  content: "+";
  transition: transform 0.3s;
}
.accordion__icon {
  color: #6e6b7b;
}
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  overflow: hidden;
}
.accordion__item.is-open {
  background-color: rgba(115, 103, 240, 0.04);
}
.accordion__item.is-open > .accordion__head {
  color: #5e5873;
}
.accordion__item.is-open > .accordion__head::after {
  transform: rotate(45deg);
}
.accordion__item.is-open > .accordion__body {
  grid-template-rows: 1fr;
}

.sidebar-menu {
  list-style: none;
  min-height: 0;
  padding: 8px 0;
  padding-left: 16px;
}
.sidebar-menu__link {
  display: block;
  font-size: 1.4rem;
  padding: 10px 16px;
  color: #6e6b7b;
  text-decoration: none;
  border-radius: 6px;
  position: relative;
  padding-left: 24px;
}
.sidebar-menu__link::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #a6a4b0;
  transition: all 0.2s;
}
.sidebar-menu__link:hover {
  color: #5e5873;
}
.sidebar-menu__link:hover::before {
  transform: translateY(-50%) Scale(1.5);
}
.sidebar-menu__link.is-active {
  color: #7367f0;
  font-weight: 700;
}
.sidebar-menu__link.is-active::before {
  background-color: #7367f0;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.page-header__title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #5e5873;
  margin-bottom: 4px;
}
.page-header__title span {
  font-size: 1.8rem;
}
.page-header__subtitle {
  font-size: 1.5rem;
  color: #6e6b7b;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.stat-card__info {
  flex-grow: 1;
}
.stat-card__title {
  color: #6e6b7b;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.stat-card__value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #5e5873;
}

.modal {
  display: none;
}
.modal.is-open {
  display: block;
}

.form-modal .modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  background: rgba(115, 103, 240, 0.1);
}
.form-modal .modal__container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
  max-width: 720px;
  width: 90%;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.form-modal form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 0;
}
.form-modal .modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #ebe9f1;
  flex-shrink: 0;
}
.form-modal .modal__close {
  background: transparent;
  border: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  position: relative;
}
.form-modal .modal__close::before, .form-modal .modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 15%;
  width: 70%;
  height: 2px;
  background: #6e6b7b;
  border-radius: 2px;
}
.form-modal .modal__close::before {
  transform: rotate(45deg);
}
.form-modal .modal__close::after {
  transform: rotate(-45deg);
}
.form-modal .modal__title {
  font-size: 2rem;
  font-weight: 700;
  color: #5e5873;
}
.form-modal .modal__content {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}
.form-modal .modal__footer {
  display: flex;
  padding: 0;
  flex-shrink: 0;
  background-color: #f1f3f5;
  border-top: 1px solid #ebe9f1;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.form-modal__footer-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.form-modal__footer-group--right {
  display: flex;
  gap: 16px;
}
.form-modal .form-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ebe9f1;
}
.form-modal .form-section-title:first-of-type {
  margin-top: 0;
}
.form-modal .compact-form-layout {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.form-modal .compact-form-layout .form-group--w70 {
  width: 70%;
}
.form-modal .compact-form-layout .form-group--w60 {
  width: 60%;
}
.form-modal .compact-form-layout .form-group--w50 {
  width: 50%;
}
.form-modal .compact-form-layout .form-group--w40 {
  width: 40%;
}
.form-modal .compact-form-layout .form-group--w30 {
  width: 30%;
}
.form-modal .form-group--horizontal {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-modal .form-color-picker {
  width: 55px;
  height: 40px;
  background-color: transparent;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.form-modal .form-color-picker::-webkit-color-swatch-wrapper {
  padding: 4px;
}
.form-modal .form-color-picker::-webkit-color-swatch {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: Scale(0.95);
  }
  to {
    opacity: 1;
    transform: Scale(1);
  }
}
.form-error-indicator {
  color: #dc3545;
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-group__label {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #ebe9f1;
  border-radius: 6px;
  font-size: 1.4rem;
  color: #6e6b7b;
  background-color: #ffffff;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s ease-in-out;
}
.choice-group__label:hover {
  border-color: #7367f0;
  color: #7367f0;
}
.choice-group__label.is-active {
  background-color: #7367f0;
  color: #ffffff;
  border-color: #7367f0;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}
.choice-group__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.choice-group__input:checked + .choice-group__label {
  background-color: #7367f0;
  color: #ffffff;
  border-color: #7367f0;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}
.choice-group__input:focus + .choice-group__label {
  outline: none;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.15);
}

.photo-uploader {
  position: relative;
}
.photo-uploader__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.photo-uploader__label {
  display: block;
  cursor: pointer;
}
.photo-uploader__preview {
  background-color: #ebe9f1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.photo-uploader__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(94, 88, 115, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-uploader__label:hover .photo-uploader__overlay {
  opacity: 1;
}
.photo-uploader__button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.photo-uploader__button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s;
  color: #fff;
  cursor: pointer;
}
.photo-uploader__button:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
.photo-uploader__button.is-active {
  background-color: #dc3545;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.5);
}
.photo-uploader__button.is-active:hover {
  background-color: rgb(210.9493670886, 36.5506329114, 53.2594936709);
}

.opening-hours-editor__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 8px;
  margin-bottom: 8px;
  background-color: rgba(235, 233, 241, 0.3);
  border-radius: 6px;
}
.opening-hours-editor__header-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #6e6b7b;
  margin-right: auto;
}
.opening-hours-editor__header-actions {
  display: flex;
  gap: 8px;
}
.opening-hours-editor__row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.opening-hours-editor__row:not(:last-child) {
  border-bottom: 1px solid #ebe9f1;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.opening-hours-editor__day {
  flex-basis: 90px;
  font-weight: 600;
  color: #5e5873;
  flex-shrink: 0;
}
.opening-hours-editor__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
}
.opening-hours-editor__inputs .form-input {
  min-width: 120px;
}
.opening-hours-editor__separator {
  color: #6e6b7b;
}
.opening-hours-editor__actions {
  flex-shrink: 0;
}

.holiday-toggle-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 600;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}
.holiday-toggle-btn__text--on, .holiday-toggle-btn__text--off {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.holiday-toggle-btn__text--off {
  display: none;
}

.visually-hidden:checked + .holiday-toggle-btn {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}
.visually-hidden:checked + .holiday-toggle-btn .holiday-toggle-btn__text--on {
  display: none;
}
.visually-hidden:checked + .holiday-toggle-btn .holiday-toggle-btn__text--off {
  display: inline-block;
}

.alert {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  margin-bottom: 20px;
}
.alert--danger {
  background-color: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}
.alert__list {
  list-style-position: inside;
  padding-left: 0;
}
.alert__list li {
  display: inline-block;
  font-size: 1.3rem;
  white-space: nowrap;
}
.alert__list li::before {
  content: "【";
}
.alert__list li::after {
  content: "】";
}

.page-login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 20px;
  background-color: transparent;
  position: relative;
  z-index: 1;
  padding-bottom: 20vh;
}

.login-card {
  width: 100%;
  max-width: 444px;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}
.login-card .card__body {
  padding: 0;
}
.login-card,
.login-card .form-label {
  color: #fff;
}
.login-card__header {
  text-align: center;
  padding-bottom: 16px;
}
.login-card__title {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
}
.login-card__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  line-height: 1.6;
}
.login-card__alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 700;
}
.login-card__alert ul {
  padding-left: 0;
  list-style: none;
}
.login-card__alert li {
  margin-bottom: 5px;
}
.login-card__alert li:last-child {
  margin-bottom: 0;
}
.login-card__alert--error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.login-card__footer {
  text-align: center;
  padding-top: 16px;
}
.login-card__footer a {
  color: rgba(255, 255, 255, 0.9);
}
.login-card__footer a:hover {
  color: #fff;
}
.login-card--under-preparation {
  padding: 26px;
  max-width: 500px;
}

.form-label {
  font-weight: 400;
}

.form-input {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.form-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.form-input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-input-group {
  position: relative;
}

.form-input-group__icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.form-input-group__icon:hover {
  color: #fff;
}

.btn--primary {
  background-color: #007bff;
  border-color: transparent;
  color: #fff;
}

.btn--block {
  width: 100%;
}

.l-admin-layout__main {
  margin-bottom: 100px;
}

.behavior-history .detail-layout-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
@media (max-width: 480px) {
  .behavior-history .detail-layout-grid {
    grid-template-columns: 1fr;
  }
}

.admin-page .is-hidden {
  display: none !important;
}
.admin-page .card {
  margin-bottom: 10px;
}
.admin-page .card__header {
  padding: 24px 24px 12px;
}
.admin-page .card__title {
  font-size: 20px;
}
.admin-page .card__title span {
  font-size: 16px;
}
.admin-page .page-header {
  margin-bottom: 16px;
}
.admin-page .page-header__subtitle {
  margin: 0;
}

.ranking-item__actions,
.inquiry-card-item__actions {
  flex-shrink: 0;
  flex: 1;
  text-align: right;
}
.ranking-item__actions a,
.inquiry-card-item__actions a {
  font-size: 12px;
  padding: 0 10px;
}

.period-specification .card__body {
  padding: 10px 24px;
}
.period-specification .form-group {
  display: flex;
  flex-grow: initial;
  align-items: center;
}
.period-specification .form-group label {
  display: inline-block;
  font-size: 14px;
  padding-right: 10px;
}
.period-specification .form-group input {
  display: inline-block;
  width: 180px;
  padding: 6px 12px;
}
.period-specification .date-range-form {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.period-specification .date-range-form .form-group {
  margin-bottom: 0;
}
.period-specification .date-range-form__actions {
  display: flex;
  gap: 8px;
  margin-right: auto;
}
.period-specification .date-range-form .btn {
  flex-shrink: 0;
}

.graph canvas {
  width: 100%;
  height: 300px;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
@media (max-width: 480px) {
  .detail-layout-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card__unit {
  font-size: 1.4rem;
  font-weight: 400;
  color: #6e6b7b;
  margin-left: 2px;
}

.visitor-timeline__item {
  display: flex;
  position: relative;
  gap: 16px;
}
.visitor-timeline__item::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 15px;
  bottom: 0;
  width: 2px;
  background-color: #ebe9f1;
}
.visitor-timeline__item:last-child::before {
  height: 0;
}
.visitor-timeline__marker {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.visitor-timeline__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.visitor-timeline__content {
  flex-grow: 1;
  padding-bottom: 16px;
}
.visitor-timeline__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.visitor-timeline__timestamp {
  font-weight: 700;
  color: #5e5873;
}
.visitor-timeline__body {
  padding: 8px 16px;
  background-color: rgba(235, 233, 241, 0.4);
  border-radius: 6px;
  margin-bottom: 8px;
}
.visitor-timeline__body > *:last-child {
  margin-bottom: 0;
}
.visitor-timeline__footer {
  font-size: 1.2rem;
  color: #6e6b7b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.visitor-timeline__item--conversion .visitor-timeline__icon {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.visitor-timeline__item--conversion .visitor-timeline__body {
  background-color: rgba(40, 167, 69, 0.05);
  border-left: 3px solid #28a745;
}
.visitor-timeline__item--engaged .visitor-timeline__icon {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}
.visitor-timeline__item--engaged .visitor-timeline__body {
  background-color: rgba(255, 193, 7, 0.05);
}
.visitor-timeline__item--deeply-engaged .visitor-timeline__icon {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}
.visitor-timeline__item--deeply-engaged .visitor-timeline__body {
  background-color: rgba(220, 53, 69, 0.05);
}

.analytics-flex {
  display: flex;
  gap: 10px;
}
.analytics-flex .card {
  flex: 1;
}

.rankings {
  width: 60%;
}

.analytics-card {
  margin-bottom: 20px;
}
.analytics-card__header {
  margin-bottom: 10px;
}
.analytics-card__title {
  font-size: 15px;
  margin: 0;
}
.analytics-card__total {
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #dc143c;
  border-radius: 20px;
  padding: 2px 20px;
}

.view-ranking .card__body,
.keyword-ranking .card__body {
  padding: 12px 24px;
}
.view-ranking .ranking-list,
.keyword-ranking .ranking-list {
  display: flex;
  flex-direction: column;
}
.view-ranking .ranking-item,
.keyword-ranking .ranking-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebe9f1;
  transition: background-color 0.2s ease;
}
.view-ranking .ranking-item:last-child,
.keyword-ranking .ranking-item:last-child {
  border-bottom: none;
}
.view-ranking .ranking-item:hover,
.keyword-ranking .ranking-item:hover {
  background-color: rgba(115, 103, 240, 0.04);
}
.view-ranking .ranking-item__rank,
.keyword-ranking .ranking-item__rank {
  width: 20px;
  font-size: 1.2rem;
  color: #6e6b7b;
  text-align: right;
  padding-right: 4px;
}
.view-ranking .ranking-item__slug,
.keyword-ranking .ranking-item__slug {
  width: 30%;
  font-size: 1.5rem;
  color: #5e5873;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.view-ranking .ranking-item__stats,
.keyword-ranking .ranking-item__stats {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.view-ranking .stat,
.keyword-ranking .stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 60px;
}
.view-ranking .stat__label,
.keyword-ranking .stat__label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #6e6b7b;
}
.view-ranking .stat__value,
.keyword-ranking .stat__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5e5873;
}
.view-ranking .stat__value .stat-card__unit,
.keyword-ranking .stat__value .stat-card__unit {
  font-size: 1.2rem;
  font-weight: 400;
  color: #6e6b7b;
  margin-left: 1px;
}
.view-ranking .stat--cv .stat__value,
.keyword-ranking .stat--cv .stat__value {
  color: #7367f0;
}
.view-ranking .stat--duration .stat__value,
.keyword-ranking .stat--duration .stat__value {
  color: #28a745;
}

.analytics {
  width: 50px;
}

.report-item:not(:last-child) {
  margin-bottom: 10px;
}
.report-item__label {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
}
.report-item__text {
  color: #5e5873;
}
.report-item__count {
  font-weight: 600;
  color: #6e6b7b;
}
.report-item__progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}
.report-item__progress-fill {
  height: 100%;
  background-color: #7367f0;
  border-radius: 4px;
  transition: width 0.5s ease-in-out;
}

.no-data-message {
  font-size: 1.2rem;
  text-align: center;
  padding: 3rem 1rem;
  color: #6e6b7b;
}

.log-list {
  display: flex;
  flex-direction: column;
}

.log-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 24px;
  border-bottom: 1px solid #ebe9f1;
  transition: background-color 0.2s ease;
}
.log-item:last-child {
  border-bottom: none;
}
.log-item.is-highlighted {
  background-color: rgba(115, 103, 240, 0.04);
}
.log-item.is-highlighted .log-item__duration {
  font-weight: 700;
  color: #7367f0;
}
.log-item__main {
  flex-grow: 1;
}
.log-item__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.log-item__timestamp {
  font-size: 1.4rem;
  font-weight: 600;
  color: #5e5873;
  white-space: nowrap;
}
.log-item__ip {
  font-size: 1.4rem;
  color: #7367f0;
  text-decoration: underline;
  text-decoration-color: rgba(115, 103, 240, 0.3);
}
.log-item__region {
  font-size: 12px;
}
.log-item__referrer {
  font-size: 1.2rem;
  word-break: break-all;
}
.log-item__referrer span {
  display: block;
  font-size: 9px;
  color: #929292;
  line-height: 1.1;
  margin-top: 2px;
}
.log-item__duration {
  font-size: 1.4rem;
  font-weight: 600;
  color: #5e5873;
  white-space: nowrap;
  flex-shrink: 0;
  background-color: #f2f2f2;
  border-radius: 20px;
  padding: 2px 16px;
}

.indicator-ranking {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.indicator-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 4px;
}
.indicator-item__label {
  grid-column: 1/2;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.indicator-item__rank {
  font-size: 1.2rem;
  font-weight: 600;
  color: #6e6b7b;
}
.indicator-item__name {
  font-size: 1.4rem;
  color: #5e5873;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.indicator-item__bar-wrapper {
  grid-column: 1/2;
  height: 6px;
  background-color: rgba(235, 233, 241, 0.6);
  border-radius: 3px;
  overflow: hidden;
}
.indicator-item__bar {
  height: 100%;
  background-color: #7367f0;
  border-radius: 3px;
  transition: width 0.5s ease-out;
}
.indicator-item__count {
  grid-column: 2/3;
  grid-row: 1/3;
  font-size: 1.6rem;
  font-weight: 700;
  color: #5e5873;
  padding-left: 16px;
}

.text-center {
  text-align: center;
}

.inquiry-card-list {
  display: flex;
  flex-direction: column;
}

.inquiry-card-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 24px;
  border-bottom: 1px solid #ebe9f1;
  transition: background-color 0.2s ease;
}
.inquiry-card-item:last-child {
  border-bottom: none;
}
.inquiry-card-item:hover {
  background-color: rgba(115, 103, 240, 0.04);
}
.inquiry-card-item__timestamp {
  font-size: 1.3rem;
  font-weight: 600;
  color: #6e6b7b;
  white-space: nowrap;
}
.inquiry-card-item__details {
  flex-grow: 1;
  min-width: 0;
}
.inquiry-card-item__inquirer {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5e5873;
  margin-bottom: 4px;
}
.inquiry-card-item__subject {
  font-size: 1.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .inquiry-card-item {
    flex-wrap: wrap;
    row-gap: 16px;
  }
  .inquiry-card-item__timestamp {
    flex-basis: 100%;
    order: 1;
  }
  .inquiry-card-item__details {
    flex-basis: 100%;
    order: 2;
  }
  .inquiry-card-item__actions {
    flex-basis: 100%;
    order: 3;
    margin-left: auto;
  }
}
@media screen and (max-width: 480px) {
  .admin-page .l-admin-layout__main {
    padding: 10px;
  }
  .admin-page .page-header {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .admin-page .page-header__title {
    font-size: 20px;
    margin-top: 30px;
  }
  .admin-page .page-header__subtitle {
    font-size: 14px;
    margin: 0;
  }
  .admin-page .page-header__actions {
    margin-top: 4px;
    text-align: center;
  }
  .admin-page .page-header__actions .btn {
    text-align: center;
  }
  .admin-page .card {
    width: 100%;
  }
  .admin-page .graph .card__body {
    padding: 16px;
  }
  .admin-page .period-specification .card__body {
    padding: 10px;
  }
  .admin-page .period-specification .date-range-form {
    width: 100%;
    gap: 6px 0;
    justify-content: center;
  }
  .admin-page .period-specification .date-range-form__actions {
    width: 100%;
    gap: 2px;
    text-align: center;
    justify-content: center;
    margin: 0;
  }
  .admin-page .period-specification .form-group {
    display: inline-block;
    padding-right: 10px;
  }
  .admin-page .period-specification .form-group label {
    display: none;
  }
  .admin-page .period-specification .form-group input {
    width: initial;
  }
  .admin-page .period-specification button {
    box-sizing: border-box;
    padding: 10px 16px;
  }
  .admin-page .period-specification .btn--primary {
    margin-right: 4px;
  }
  .admin-page .analytics-flex {
    display: block;
  }
  .admin-page .analytics-flex .card__body {
    padding: 16px;
  }
  .admin-page .rankings {
    width: 100%;
  }
  .admin-page .ranking-item {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .admin-page .ranking-item__slug {
    width: initial;
  }
  .admin-page .ranking-item__stats {
    order: 3;
    flex-basis: 100%;
    justify-content: space-around;
    border-top: 1px dashed #ebe9f1;
    margin-top: 4px;
  }
  .admin-page .ranking-item__actions {
    order: 2;
    margin-left: auto;
  }
  .admin-page .stat {
    min-width: auto;
  }
  .admin-page .log-item {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .admin-page .log-item__main {
    flex-basis: 100%;
    order: 1;
  }
  .admin-page .log-item__duration {
    flex-basis: 100%;
    order: 2;
    text-align: right;
  }
  .admin-page .log-item__header {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}
.log-accordion {
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.log-accordion--tenant {
  margin-bottom: 24px;
}
.log-accordion--event {
  margin: 24px;
}
.log-accordion__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.log-accordion__summary::-webkit-details-marker {
  display: none;
}
.log-accordion__title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.log-accordion__title i {
  width: 20px;
  text-align: center;
  color: #6e6b7b;
}
.log-accordion__content {
  padding: 16px;
}
.log-accordion[open] > .log-accordion__summary {
  color: #7367f0;
  border-bottom: 1px solid #ebe9f1;
}

.badge {
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
  padding: 4px 10px;
  font-size: 1.2rem;
  border-radius: 12px;
  font-weight: 600;
}

.responsive-table {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
  table-layout: fixed;
  word-break: break-all;
}
.data-table__head th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #6e6b7b;
  background-color: #f5f7ff;
  border-bottom: 2px solid #ebe9f1;
}
.data-table__body td {
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: none;
  background-color: transparent;
  transition: background-color 0.2s;
}
.data-table__body .data-table__row-group--sub > td {
  background-color: rgba(245, 247, 255, 0.5);
  border-bottom: 1px solid #ebe9f1;
}
.data-table__body .data-table__row-group:not(.data-table__row-group--sub):hover > td {
  background-color: rgba(115, 103, 240, 0.06);
}
.data-table__body .data-table__row-group:not(.data-table__row-group--sub):hover + .data-table__row-group--sub > td {
  background-color: rgba(115, 103, 240, 0.06);
}
.data-table__body .data-table__row-group--sub:hover > td {
  background-color: rgba(115, 103, 240, 0.06);
}
.data-table__body .data-table__row-group:last-child > td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .data-table__head {
    display: none;
  }
  .data-table__body, .data-table__row-group,
  .data-table td {
    display: block;
    width: 100%;
  }
  .data-table__row-group {
    border: 1px solid #ebe9f1;
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
  }
  .data-table__row-group td {
    border-bottom: 1px solid #ebe9f1;
  }
  .data-table__row-group--sub > td {
    border-top: 1px solid #ebe9f1;
    border-bottom: none;
  }
  .data-table__row-group:last-child {
    margin-bottom: 0;
  }
  .data-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    padding: 10px 12px;
  }
  .data-table td:last-child {
    border-bottom: none;
  }
  .data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #5e5873;
    text-align: left;
    margin-right: 16px;
  }
  .data-table td[data-label="User Agent"] {
    justify-content: flex-start;
    text-align: left;
  }
  .data-table td[data-label="User Agent"]::before {
    display: none;
  }
}
.index-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  margin-bottom: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #ebe9f1;
}
.index-nav__link {
  display: block;
  padding: 6px 12px;
  color: #6e6b7b;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}
.index-nav__link:hover {
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
}
.index-nav__link.is-active {
  background-color: #7367f0;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.4);
}

.customer-list__index {
  position: relative;
  width: 38px;
  height: 38px;
  background-color: #7367f0;
  border-radius: 50%;
  margin-bottom: 8px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: grid;
  place-content: center;
  scroll-margin-top: 80px;
}
.customer-list__card {
  margin-bottom: 16px;
  transition: all 0.2s ease-in-out;
  position: relative;
}
.customer-list__card:hover {
  box-shadow: 0 8px 24px 0 rgba(115, 103, 240, 0.12);
}
.customer-list__card.is-highlighted {
  border-color: #7367f0;
  box-shadow: 0 0 12px rgba(115, 103, 240, 0.3);
}
.customer-list__card .card__body {
  padding: 16px 24px;
}
.customer-list__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.customer-list__company-name {
  font-size: 2rem;
  font-weight: 700;
  color: #5e5873;
  margin-bottom: 0;
  padding-right: 48px;
}
.customer-list__company-id {
  font-size: 1.4rem;
  font-weight: 400;
  color: #6e6b7b;
  margin-left: 8px;
}
.customer-list__edit-btn {
  position: absolute;
  top: 24px;
  right: 24px;
}
.customer-list__meta-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-size: 1.3rem;
  color: #6e6b7b;
  padding-bottom: 8px;
}
.customer-list__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.customer-list__meta-item i {
  color: #6e6b7b;
}

.list-card-v3__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.list-card-v3__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5e5873;
  line-height: 1.4;
  padding-right: 8px;
}
.list-card-v3__id {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6e6b7b;
  margin-left: 8px;
}
.list-card-v3__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}
.list-card-v3__row:first-of-type {
  border-top: 1px solid #ebe9f1;
}

.info-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  min-width: 0;
}
.info-group__icon {
  color: #6e6b7b;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.info-group__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-group--address {
  flex-grow: 1;
}
.info-group--billing {
  margin-left: auto;
  gap: 16px;
}

.billing-item {
  font-size: 1.3rem;
  color: #5e5873;
}
.billing-item__label {
  color: #6e6b7b;
  font-size: 1.2rem;
  margin-right: 2px;
}

.status-badge {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.status-badge--product {
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
  text-transform: uppercase;
}
.status-badge--success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.status-badge--danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.customer-form__actions-wrapper {
  margin-top: 32px;
  padding-bottom: 100px;
}
.customer-form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.customer-form__actions-group {
  display: flex;
  gap: 16px;
}
.customer-form__zip-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.customer-form__zip-group .form-input[name=zip1] {
  flex-basis: 70px;
}
.customer-form__zip-group .form-input[name=zip2] {
  flex-basis: 80px;
}
.customer-form__zip-group .btn {
  flex-shrink: 0;
  padding: 8px 12px;
}

.customer-list .compact-form-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.customer-list .compact-form-layout .form-label {
  margin: 0;
}
.customer-list .compact-form-layout:not(:last-child) {
  margin-bottom: 24px;
}
.customer-list .compact-form-layout > .form-group {
  margin-bottom: 0;
}
.customer-list .compact-form-layout > .form-group--w10 {
  flex-basis: calc(10% - 24px * 0.9);
}
.customer-list .compact-form-layout > .form-group--w15 {
  flex-basis: calc(15% - 24px * 0.85);
}
.customer-list .compact-form-layout > .form-group--w20 {
  flex-basis: calc(20% - 24px * 0.8);
}
.customer-list .compact-form-layout > .form-group--w23 {
  flex-basis: calc(23.333% - 24px * 0.766);
}
.customer-list .compact-form-layout > .form-group--w25 {
  flex-basis: calc(25% - 24px * 0.75);
}
.customer-list .compact-form-layout > .form-group--w30 {
  flex-basis: calc(30% - 24px * 0.7);
}
.customer-list .compact-form-layout > .form-group--w40 {
  flex-basis: calc(40% - 24px * 0.6);
}
.customer-list .compact-form-layout > .form-group--w50 {
  flex-basis: calc(50% - 24px * 0.5);
}
.customer-list .compact-form-layout > .form-group--w60 {
  flex-basis: calc(60% - 24px * 0.4);
}
.customer-list .compact-form-layout > .form-group--w70 {
  flex-basis: calc(70% - 24px * 0.3);
}
.customer-list .compact-form-layout > .form-group--w100 {
  flex-basis: 100%;
}
.customer-list .compact-form-layout > .form-group--fill {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}
.customer-list .customer-form__address-row {
  align-items: flex-end;
  gap: 16px;
}
.customer-list .customer-form__address-row .form-group--zip {
  flex-shrink: 0;
}
.customer-list .customer-form__address-row .form-group--prefecture {
  flex-basis: 140px;
  flex-shrink: 0;
}
.customer-list .customer-form__address-row .form-group--city {
  flex-basis: 240px;
  flex-shrink: 0;
}
.customer-list .customer-form__address-row .form-group--street {
  flex-grow: 1;
}
.customer-list .info-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.customer-list .info-badge-group:not(:last-child) {
  margin-bottom: 8px;
}
.customer-list .info-badge {
  display: inline-flex;
  align-items: baseline;
  background-color: #f5f7ff;
  border: 1px solid #ebe9f1;
  border-radius: 6px;
  overflow: hidden;
}
.customer-list .info-badge__label {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 4px 8px;
  color: #6e6b7b;
  background-color: rgba(235, 233, 241, 0.5);
}
.customer-list .info-badge__value {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 4px 10px;
  color: #5e5873;
}
.customer-list .info-badge--product .info-badge__label {
  background-color: rgba(115, 103, 240, 0.6);
  color: #fff;
}
.customer-list .info-badge--product .info-badge__value {
  color: #7367f0;
  font-weight: 700;
}
.customer-list .info-badge--industry .info-badge__label {
  background-color: rgba(23, 162, 184, 0.6);
  color: #fff;
}
.customer-list .info-badge--industry .info-badge__value {
  color: #17a2b8;
  font-weight: 700;
}
.customer-list .info-badge--price .info-badge__label {
  background-color: rgba(40, 167, 69, 0.6);
  color: #fff;
}
.customer-list .info-badge--price .info-badge__value {
  color: #28a745;
  font-weight: 700;
}
.customer-list .info-badge--danger .info-badge__label {
  background-color: rgba(220, 53, 69, 0.6);
  color: #fff;
}
.customer-list .info-badge--danger .info-badge__value {
  color: #dc3545;
  font-weight: 700;
}
.customer-list .form-radio-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.customer-list .form-input--align-right {
  text-align: right;
}
.customer-list .btn--icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
}
.customer-list .form-section {
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  padding: 16px 24px 24px;
  background-color: hsl(228, 100%, 100.0392156863%);
}
.customer-list .form-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6e6b7b;
  padding: 0 8px;
  margin-left: 16px;
  width: auto;
}
.customer-list .form-section .compact-form-layout--address {
  gap: 16px;
}
.customer-list .form-section .compact-form-layout--address .form-group:nth-child(1) {
  flex-basis: 140px;
  flex-grow: 0;
  flex-shrink: 0;
}
.customer-list .form-section .compact-form-layout--address .form-group:nth-child(2) {
  flex-grow: 2;
}
.customer-list .form-section .compact-form-layout--address .form-group:nth-child(3) {
  flex-basis: 120px;
  flex-grow: 0;
  flex-shrink: 0;
}
.customer-list .form-section .compact-form-layout--address .form-group:nth-child(4) {
  flex-grow: 1;
}
.customer-list .form-section .compact-form-layout--contact .form-group:nth-child(1), .customer-list .form-section .compact-form-layout--contact .form-group:nth-child(2) {
  flex-basis: 180px;
  flex-grow: 0;
  flex-shrink: 0;
}
.customer-list .form-section .compact-form-layout--contact .form-group:nth-child(3), .customer-list .form-section .compact-form-layout--contact .form-group:nth-child(4) {
  flex-grow: 1;
}
.customer-list .zipcode-group {
  display: flex;
  align-items: center;
  max-width: 320px;
}
.customer-list .zipcode-group__zip1 {
  width: 80px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  text-align: center;
}
.customer-list .zipcode-group__hyphen {
  padding: 0 8px;
  color: #6e6b7b;
}
.customer-list .zipcode-group__zip2 {
  width: 100px;
  border-radius: 0;
  text-align: center;
}
.customer-list .zipcode-group__button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left-color: transparent;
}
.customer-list .zipcode-group__button:hover {
  border-left-color: #7367f0;
}
.customer-list .address-fields .form-group--prefecture {
  flex-basis: 180px;
  flex-grow: 0;
  flex-shrink: 0;
}
.customer-list .address-fields .form-group--street-number {
  flex-basis: 150px;
  flex-grow: 0;
  flex-shrink: 0;
}
.customer-list .address-fields .form-group--city, .customer-list .address-fields .form-group--building {
  flex-grow: 1;
}
.customer-list .form-section .compact-form-layout--contract {
  align-items: flex-end;
}
.customer-list .form-section .compact-form-layout--contract .form-group--product {
  flex-grow: 1;
}
.customer-list .form-section .compact-form-layout--contract .form-group--date {
  flex-basis: 160px;
  flex-shrink: 0;
}
.customer-list .form-section .compact-form-layout--billing .form-group--cost-l {
  flex-basis: 180px;
}
.customer-list .form-section .compact-form-layout--billing .form-group--cost-s {
  flex-basis: 150px;
}
.customer-list .form-section .compact-form-layout--billing .form-group--blocks {
  flex-basis: 110px;
}
.customer-list .form-section .compact-form-layout--billing .form-group--cost-l,
.customer-list .form-section .compact-form-layout--billing .form-group--cost-s,
.customer-list .form-section .compact-form-layout--billing .form-group--blocks {
  flex-grow: 1;
}
.customer-list .form-input-group {
  display: flex;
  border-radius: 6px;
}
.customer-list .form-input-group .form-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  flex-grow: 1;
  min-width: 0;
}
.customer-list .form-input-group__text {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background-color: rgba(235, 233, 241, 0.4);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  font-size: 1.3rem;
  color: #6e6b7b;
  flex-shrink: 0;
}
.customer-list .photo-uploader__label {
  display: block;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px dashed #ebe9f1;
  transition: all 0.2s ease-in-out;
}
.customer-list .photo-uploader__label:hover {
  border-color: #7367f0;
}
.customer-list .photo-uploader__preview {
  width: 200px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f5f7ff;
  border-radius: 6px;
}
.customer-list .photo-uploader--favicon .customer-list .photo-uploader__preview {
  width: 80px;
  height: 80px;
}
.customer-list .photo-uploader__input {
  display: none;
}
.customer-list .form-subsection-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #6e6b7b;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid #7367f0;
}
.customer-list .form-subsection-title:not(:first-of-type) {
  margin-top: 24px;
}
.customer-list .btn--small {
  padding: 4px 12px;
  font-size: 1.2rem;
  border-radius: 5px;
}

.customer .u-mt-small {
  margin-top: 8px;
}
.customer .u-mt-large {
  margin-top: 24px;
}
.customer .u-ml-medium {
  margin-left: 16px;
}
.customer .u-mr-small {
  margin-right: 8px;
}
.customer .u-mb-small {
  margin-bottom: 8px;
}
.customer .u-mb-large {
  margin-bottom: 24px;
}
.customer .u-p-0 {
  padding: 0 !important;
}
.customer .u-hidden {
  display: none !important;
}

.tab-ui__list {
  border-bottom: 1px solid #ebe9f1;
  margin-bottom: 24px;
}
.tab-ui__buttons {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.tab-ui__buttons::-webkit-scrollbar {
  height: 4px;
}
.tab-ui__buttons::-webkit-scrollbar-track {
  background: transparent;
}
.tab-ui__buttons::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 2px;
}
.tab-ui__button {
  padding: 12px 20px;
  font-size: 1.5rem;
  font-weight: 500;
  color: #6e6b7b;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tab-ui__button:hover {
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
}
.tab-ui__button.is-active {
  color: #7367f0;
  border-bottom-color: #7367f0;
}
.tab-ui__panel {
  display: none;
}
.tab-ui__panel.is-active {
  display: block;
}

.classification-list .form-modal .modal__container {
  max-width: 900px;
}
.classification-list .classification-form-layout {
  display: flex;
  gap: 16px;
}
.classification-list .classification-form-layout__photo {
  flex: 0 0 240px;
}
.classification-list .classification-form-layout__photo .photo-uploader__preview {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
}
.classification-list .classification-form-layout__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.classification-list .compact-form-layout {
  margin-bottom: 0 !important;
}
.classification-list .compact-form-layout .form-group {
  margin-bottom: 0;
}
.classification-list .compact-form-layout .form-group--w50 {
  width: 50%;
}
.classification-list .compact-form-layout .form-group--w35 {
  width: 35%;
}
.classification-list .compact-form-layout .form-group--w30 {
  width: 30%;
}
.classification-list .compact-form-layout .form-group--w25 {
  width: 25%;
}
.classification-list .compact-form-layout .form-group--w20 {
  width: 20%;
}
.classification-list .compact-form-layout .form-group--w15 {
  width: 15%;
}
.classification-list .compact-form-layout .form-label {
  margin: 0;
}
.classification-list .compact-form-layout.is-color-picker-row {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #ebe9f1;
}
.classification-list .compact-form-layout.is-color-picker-row .form-label {
  font-size: 1.2rem;
}
.classification-list .form-color-picker {
  width: 40px;
  height: 40px;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  cursor: pointer;
  padding: 2px;
}
.classification-list .form-color-picker::-webkit-color-swatch {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.classification-list #modal-order_by.form-input::-webkit-outer-spin-button, .classification-list #modal-order_by.form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.classification-list #modal-order_by.form-input[type=number] {
  -moz-appearance: textfield;
}

.classification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.classification-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
  height: 100%;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.classification-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(115, 103, 240, 0.15);
}

.classification-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.classification-card__image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.classification-card__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.classification-card__image.is-svg {
  -o-object-fit: contain;
     object-fit: contain;
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
}
.classification-card__header {
  padding: 8px 4px 4px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.classification-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.classification-card__body {
  padding: 8px 16px;
  border-top: 1px solid currentColor;
  opacity: 0.8;
  flex-grow: 1;
}
.classification-card__footer {
  padding: 4px 16px 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.03);
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.7;
}
.classification-card__footer p {
  margin: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  font-size: 1.2rem;
}
.detail-grid__item {
  display: flex;
  justify-content: space-between;
}
.detail-grid__item span:first-child {
  opacity: 0.8;
}
.detail-grid__item span:last-child {
  font-weight: 700;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.master-crud__page {
  display: none;
  animation: master-crud-fade-in 0.3s ease-out;
}
.master-crud__page.is-active {
  display: block;
}
.master-crud__create-area, .master-crud__create-area--edit {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.master-crud__create-area .form-group, .master-crud__create-area--edit .form-group {
  margin-bottom: 0;
}
.master-crud__create-area label, .master-crud__create-area--edit label {
  font-size: 1.2rem;
  font-weight: 400;
  white-space: nowrap;
}
.master-crud__input--name {
  flex-grow: 1;
}
.master-crud__input--order {
  flex: 0 0 70px;
  text-align: center;
}
.master-crud__input--order::-webkit-outer-spin-button, .master-crud__input--order::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.master-crud__input--order[type=number] {
  -moz-appearance: textfield;
}

.master-crud-form--with-image {
  display: flex;
  align-items: center;
  gap: 24px;
}
.master-crud-form--with-image .photo-uploader {
  flex-shrink: 0;
}
.master-crud-form--with-image .photo-uploader__preview {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #f1f3f5;
  background-size: cover;
  background-position: center;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(115, 103, 240, 0.1);
}
.master-crud-form--with-image .master-crud-form__fields {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.master-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.master-preview-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.master-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(115, 103, 240, 0.15);
}

.master-preview-card--simple {
  padding: 8px 16px;
}
.master-preview-card--simple__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid currentColor;
  opacity: 0.8;
}
.master-preview-card--simple__title {
  font-size: 1.4rem;
  font-weight: 700;
}
.master-preview-card--simple__body {
  font-size: 1.2rem;
  line-height: 1.4;
  opacity: 0.9;
}
.master-preview-card--simple__body p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

@keyframes master-crud-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.staff-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
}

.staff-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.staff-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #ebe9f1;
  border-bottom: 1px solid #ebe9f1;
  overflow: hidden;
}
.staff-card__photo-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.staff-card__body {
  padding: 12px 16px;
  flex-grow: 1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.staff-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.staff-card__tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
  line-height: 1.5;
}
.staff-card__tag--office {
  color: #7367f0;
  background-color: rgba(115, 103, 240, 0.1);
}
.staff-card__tag--department {
  color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
  background-color: rgba(23, 162, 184, 0.1);
}
.staff-card__tag--role {
  color: #5e5873;
  background-color: #ebe9f1;
}
.staff-card__name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5e5873;
  margin-bottom: 2px;
}
.staff-card__name-kana {
  font-size: 1.2rem;
  color: #6e6b7b;
  opacity: 0.8;
  margin-bottom: 12px;
}
.staff-card__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1.3rem;
  color: #6e6b7b;
  margin-bottom: 12px;
  flex-grow: 1;
}
.staff-card__contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.staff-card__contact .contact-item i {
  width: 14px;
  text-align: center;
  opacity: 0.7;
}
.staff-card__programs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.staff-card__info {
  font-size: 1.3rem;
  color: #6e6b7b;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #ebe9f1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.staff-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}
.staff-card-link:hover {
  text-decoration: none;
}
.staff-card-link:hover .staff-card__photo-img {
  transform: Scale(1.05);
}

.master-list {
  display: grid;
  gap: 8px;
}

.master-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background-color: rgba(235, 233, 241, 0.4);
  border-radius: 6px;
}
.master-list-item__name {
  font-weight: 700;
  color: #5e5873;
}
.master-list-item__actions .btn {
  padding: 4px 10px;
  font-size: 1.2rem;
}

#entry-modal .modal__container {
  max-width: 860px;
}

.staff-form-layout {
  display: flex;
  gap: 40px;
}
.staff-form-layout .compact-form-layout {
  margin: 0;
}
@media (max-width: 768px) {
  .staff-form-layout {
    flex-direction: column;
    gap: 24px;
  }
}
.staff-form-layout__photo-area {
  flex: 0 0 240px;
}
@media (max-width: 768px) {
  .staff-form-layout__photo-area {
    flex-basis: auto;
    width: 240px;
    margin: 0 auto;
  }
}
.staff-form-layout__form-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.staff-form-layout__external-key {
  margin-top: auto;
  margin-left: auto;
  width: calc(45% - 50px);
  margin-bottom: 0;
}
.staff-form-layout__external-key .form-input {
  text-align: right;
  padding-right: 48px;
  padding-left: 15px;
}
.staff-form-layout__external-key .form-input:-moz-placeholder {
  text-align: left;
}
.staff-form-layout__external-key .form-input:placeholder-shown {
  text-align: left;
}

.photo-uploader {
  position: relative;
}
.photo-uploader__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.photo-uploader__label {
  display: block;
  cursor: pointer;
}
.photo-uploader__preview {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #ebe9f1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(115, 103, 240, 0.1);
  margin: 0 auto;
}
.photo-uploader__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(94, 88, 115, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-uploader__label:hover .photo-uploader__overlay {
  opacity: 1;
}
.photo-uploader__overlay--new {
  opacity: 1;
}
.photo-uploader__overlay i {
  font-size: 2.8rem;
}
.photo-uploader__overlay span {
  font-size: 1.4rem;
  font-weight: 700;
}

.program-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.program-choice__input:checked + .program-choice__label {
  background-color: #7367f0;
  border-color: #7367f0;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}
.program-choice__input:focus-visible + .program-choice__label {
  outline: none;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.2);
}

.program-choice__label {
  display: block;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid #ebe9f1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #6e6b7b;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s ease-in-out;
  font-size: 1.3rem;
}
.program-choice__label:hover {
  border-color: rgba(115, 103, 240, 0.5);
  color: #7367f0;
}

.password-input-wrapper {
  position: relative;
}
.password-input-wrapper .form-input {
  padding-right: 48px;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0 12px;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
}
.password-toggle-btn i {
  font-size: 1.6rem;
  color: #6e6b7b;
  opacity: 0.6;
  transition: all 0.2s ease-in-out;
}
.password-toggle-btn:hover i {
  color: #7367f0;
  opacity: 1;
}

#payment-method-modal .modal__container {
  max-width: 900px;
}
#payment-method-modal .payment-method-section:not(:last-child) {
  margin-bottom: 24px;
}
#payment-method-modal .payment-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.payment-choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.payment-choice__input:checked + .payment-choice__label {
  border-color: #7367f0;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.15);
  transform: translateY(-2px);
}
.payment-choice__input:focus + .payment-choice__label {
  outline: none;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.15);
}
.payment-choice__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  padding: 8px;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.payment-choice__label:hover {
  border-color: rgba(115, 103, 240, 0.5);
  transform: translateY(-2px);
}
.payment-choice__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.admin-page.staff .form-group .form-label {
  font-size: 1.4rem;
}
.admin-page.staff .other {
  margin: 20px 0 0 0;
  justify-content: space-between;
}
.admin-page.staff .other .form-label {
  font-size: 1.3rem;
}
.admin-page.staff .other .form-input-group {
  display: inline-block;
  border-radius: 6px;
}
.admin-page.staff .other .form-input-group.retirement {
  width: 100%;
}
.admin-page.staff .other .form-input-group.foreign-key {
  width: 100%;
}
.admin-page.staff .other .form-input-group.foreign-key input {
  text-align: right;
  padding: 10px 40px 10px 10px;
}
.admin-page.staff .other .form-input-group__icon {
  color: #000;
}
.admin-page.staff .form-section-title {
  margin-top: 20px;
}
.admin-page.staff .u-hidden {
  display: none;
}

.staff-card-link.is-retired {
  cursor: default;
  pointer-events: none;
}
.staff-card-link.is-retired .staff-card {
  filter: grayScale(100%);
  opacity: 0.6;
  transition: none;
}
.staff-card-link.is-retired .staff-card:hover .staff-card__photo-img {
  transform: none;
}

.program-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ebe9f1;
  color: #6e6b7b;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: help;
}

.sales-offices-list .form-modal .modal__container {
  max-width: 820px;
}
.sales-offices-list .office-form-layout__top {
  display: flex;
  gap: 24px;
}
.sales-offices-list .office-form-layout__photo {
  flex: 0 0 240px;
}
.sales-offices-list .office-form-layout__photo .photo-uploader__preview {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(110, 107, 123, 0.1);
}
.sales-offices-list .office-form-layout__info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sales-offices-list .office-form-layout__bottom .form-section-title {
  font-size: 1.3rem;
  margin: 24px 0 0;
  padding-bottom: 4px;
}
.sales-offices-list .office-form-layout__bottom .form-label {
  font-size: 1.3rem;
  margin: 24px 0 4px;
  padding-bottom: 4px;
}
.sales-offices-list .compact-form-layout--address .form-label {
  margin: 0 0 4px;
  padding-bottom: 0;
}
.sales-offices-list .compact-form-layout--address.compact-form-layout:not(:last-child) {
  margin: 0;
}
.sales-offices-list .compact-form-layout .form-group--w-auto {
  width: auto;
  flex-shrink: 0;
}
.sales-offices-list .compact-form-layout .form-group--w-auto input[type=tel] {
  width: 160px;
}
.sales-offices-list .compact-form-layout .form-group--w-stretch {
  width: 100%;
}
.sales-offices-list .compact-form-layout .form-group--w100 {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}
.sales-offices-list .compact-form-layout .form-group--w100 label {
  margin-right: 6px;
}
.sales-offices-list .compact-form-layout .form-group--w50 {
  width: calc(50% - 8px);
}
.sales-offices-list .compact-form-layout .form-group--w33 {
  width: calc(33.333% - 10.6666666667px);
}
.sales-offices-list .compact-form-layout.is-space-between {
  justify-content: space-between;
  align-items: flex-end;
}
.sales-offices-list .compact-form-layout:not(:last-child) {
  margin-bottom: 16px;
}
.sales-offices-list .zipcode-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sales-offices-list .zipcode-group__zip1 {
  width: 80px;
}
.sales-offices-list .zipcode-group__hyphen {
  color: #6e6b7b;
}
.sales-offices-list .zipcode-group__zip2 {
  width: 100px;
}
.sales-offices-list #order_by.form-input {
  width: 70px;
  text-align: center;
}
.sales-offices-list #order_by.form-input::-webkit-outer-spin-button, .sales-offices-list #order_by.form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sales-offices-list #order_by.form-input[type=number] {
  -moz-appearance: textfield;
}
.sales-offices-list #entry-modal .opening-hours-editor__header-actions .btn--small {
  padding: 2px 8px;
  font-size: 1.1rem;
}
.sales-offices-list #entry-modal .opening-hours-editor__row {
  gap: 16px;
  margin-bottom: 0;
}
.sales-offices-list #entry-modal .opening-hours-editor__day {
  flex-basis: 75px;
  font-size: 1.3rem;
}
.sales-offices-list #entry-modal .opening-hours-editor__header {
  margin: 0;
}
.sales-offices-list #entry-modal .opening-hours-editor .holiday-toggle-btn {
  padding: 6px 14px;
  font-size: 1.3rem;
}
.sales-offices-list .form-subsection-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #6e6b7b;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid #7367f0;
}
.sales-offices-list .form-subsection-title:not(:first-of-type) {
  margin-top: 24px;
}
.sales-offices-list .compact-form-layout--address {
  gap: 16px;
}
.sales-offices-list .compact-form-layout--address .form-group:nth-child(1) {
  flex-basis: 100px;
  flex-grow: 0;
  flex-shrink: 0;
}
.sales-offices-list .compact-form-layout--address .form-group:nth-child(2) {
  flex-grow: 3;
}
.sales-offices-list .compact-form-layout--address .form-group:nth-child(3) {
  flex-basis: 120px;
  flex-grow: 0;
  flex-shrink: 0;
}
.sales-offices-list .compact-form-layout--address .form-group:nth-child(4) {
  flex-grow: 1;
}

.rentaCars-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (max-width: 1400px) {
  .rentaCars-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1100px) {
  .rentaCars-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .rentaCars-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .rentaCars-card-grid {
    grid-template-columns: 1fr;
  }
}

.rentaCars-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.rentaCars-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #ebe9f1;
  border-bottom: 1px solid #ebe9f1;
  overflow: hidden;
}
.rentaCars-card__photo-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.rentaCars-card__body {
  padding: 12px 16px;
  flex-grow: 1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.rentaCars-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.rentaCars-card__tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
  line-height: 1.5;
}
.rentaCars-card__tag--office {
  color: #7367f0;
  background-color: rgba(115, 103, 240, 0.1);
}
.rentaCars-card__tag--department {
  color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
  background-color: rgba(23, 162, 184, 0.1);
}
.rentaCars-card__tag--role {
  color: #5e5873;
  background-color: #ebe9f1;
}
.rentaCars-card__name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5e5873;
  margin-bottom: 2px;
}
.rentaCars-card__name-kana {
  font-size: 1.2rem;
  color: #6e6b7b;
  opacity: 0.8;
  margin-bottom: 12px;
}
.rentaCars-card__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1.3rem;
  color: #6e6b7b;
  margin-bottom: 12px;
  flex-grow: 1;
}
.rentaCars-card__contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rentaCars-card__contact .contact-item i {
  width: 14px;
  text-align: center;
  opacity: 0.7;
}
.rentaCars-card__programs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.rentaCars-card__info {
  font-size: 1.3rem;
  color: #6e6b7b;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #ebe9f1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rentaCars-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}
.rentaCars-card-link:hover {
  text-decoration: none;
}
.rentaCars-card-link:hover .rentaCars-card__photo-img {
  transform: Scale(1.05);
}

.master-list {
  display: grid;
  gap: 8px;
}

.master-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background-color: rgba(235, 233, 241, 0.4);
  border-radius: 6px;
}
.master-list-item__name {
  font-weight: 700;
  color: #5e5873;
}
.master-list-item__actions .btn {
  padding: 4px 10px;
  font-size: 1.2rem;
}

#entry-modal .modal__container {
  max-width: 860px;
}

.rentaCars-form-layout {
  display: flex;
  gap: 40px;
}
.rentaCars-form-layout .compact-form-layout {
  margin: 0;
}
@media (max-width: 768px) {
  .rentaCars-form-layout {
    flex-direction: column;
    gap: 24px;
  }
}
.rentaCars-form-layout__photo-area {
  flex: 0 0 240px;
}
@media (max-width: 768px) {
  .rentaCars-form-layout__photo-area {
    flex-basis: auto;
    width: 240px;
    margin: 0 auto;
  }
}
.rentaCars-form-layout__form-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.rentaCars-form-layout__external-key {
  margin-top: auto;
  margin-left: auto;
  width: calc(45% - 50px);
  margin-bottom: 0;
}
.rentaCars-form-layout__external-key .form-input {
  text-align: right;
  padding-right: 48px;
  padding-left: 15px;
}
.rentaCars-form-layout__external-key .form-input:-moz-placeholder {
  text-align: left;
}
.rentaCars-form-layout__external-key .form-input:placeholder-shown {
  text-align: left;
}

.photo-uploader {
  position: relative;
}
.photo-uploader__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.photo-uploader__label {
  display: block;
  cursor: pointer;
}
.photo-uploader__preview {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #ebe9f1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(115, 103, 240, 0.1);
  margin: 0 auto;
}
.photo-uploader__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(94, 88, 115, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-uploader__label:hover .photo-uploader__overlay {
  opacity: 1;
}
.photo-uploader__overlay--new {
  opacity: 1;
}
.photo-uploader__overlay i {
  font-size: 2.8rem;
}
.photo-uploader__overlay span {
  font-size: 1.4rem;
  font-weight: 700;
}

.program-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.program-choice__input:checked + .program-choice__label {
  background-color: #7367f0;
  border-color: #7367f0;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}
.program-choice__input:focus-visible + .program-choice__label {
  outline: none;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.2);
}

.program-choice__label {
  display: block;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid #ebe9f1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #6e6b7b;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s ease-in-out;
  font-size: 1.3rem;
}
.program-choice__label:hover {
  border-color: rgba(115, 103, 240, 0.5);
  color: #7367f0;
}

.password-input-wrapper {
  position: relative;
}
.password-input-wrapper .form-input {
  padding-right: 48px;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0 12px;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
}
.password-toggle-btn i {
  font-size: 1.6rem;
  color: #6e6b7b;
  opacity: 0.6;
  transition: all 0.2s ease-in-out;
}
.password-toggle-btn:hover i {
  color: #7367f0;
  opacity: 1;
}

#payment-method-modal .modal__container {
  max-width: 900px;
}
#payment-method-modal .payment-method-section:not(:last-child) {
  margin-bottom: 24px;
}
#payment-method-modal .payment-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.payment-choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.payment-choice__input:checked + .payment-choice__label {
  border-color: #7367f0;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.15);
  transform: translateY(-2px);
}
.payment-choice__input:focus + .payment-choice__label {
  outline: none;
  box-shadow: 0 0 0 4px rgba(115, 103, 240, 0.15);
}
.payment-choice__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  padding: 8px;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.payment-choice__label:hover {
  border-color: rgba(115, 103, 240, 0.5);
  transform: translateY(-2px);
}
.payment-choice__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.admin-page.rentaCars .form-group .form-label {
  font-size: 1.4rem;
}
.admin-page.rentaCars .other {
  margin: 20px 0 0 0;
  justify-content: space-between;
}
.admin-page.rentaCars .other .form-label {
  font-size: 1.3rem;
}
.admin-page.rentaCars .other .form-input-group {
  display: inline-block;
  border-radius: 6px;
}
.admin-page.rentaCars .other .form-input-group.retirement {
  width: 100%;
}
.admin-page.rentaCars .other .form-input-group.foreign-key {
  width: 100%;
}
.admin-page.rentaCars .other .form-input-group.foreign-key input {
  text-align: right;
  padding: 10px 40px 10px 10px;
}
.admin-page.rentaCars .other .form-input-group__icon {
  color: #000;
}
.admin-page.rentaCars .form-section-title {
  margin-top: 20px;
}
.admin-page.rentaCars .u-hidden {
  display: none;
}

.rentaCars-card-link.is-retired {
  cursor: default;
  pointer-events: none;
}
.rentaCars-card-link.is-retired .rentaCars-card {
  filter: grayScale(100%);
  opacity: 0.6;
  transition: none;
}
.rentaCars-card-link.is-retired .rentaCars-card:hover .rentaCars-card__photo-img {
  transform: none;
}

.program-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ebe9f1;
  color: #6e6b7b;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: help;
}

.calendar .l-admin-layout__main {
  margin-bottom: 100px;
}
.calendar .form-input#details-customer {
  min-height: 60px;
  height: 60px;
}
.calendar .choice-group__label {
  padding: 4px 8px;
}

.calendar-container {
  background-color: #ffffff;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 rgba(115, 103, 240, 0.06);
  color: #6e6b7b;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
  gap: 24px;
}
.calendar-header__left, .calendar-header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.calendar-header__title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #5e5873;
  margin: 0;
  flex-shrink: 0;
}

.calendar-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  background-color: rgba(235, 233, 241, 0.4);
  border-radius: 8px;
  padding: 4px;
}
.calendar-filter-tabs__link {
  padding: 6px 16px;
  color: #6e6b7b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.4rem;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}
.calendar-filter-tabs__link:hover {
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
  text-decoration: none;
}
.calendar-filter-tabs__link.is-active {
  background-color: #ffffff;
  color: #7367f0;
  box-shadow: 0 2px 8px rgba(110, 107, 123, 0.15);
}

.calendar-month-nav {
  display: flex;
  gap: 8px;
}
.calendar-month-nav .btn--secondary {
  padding: 6px 12px;
  font-size: 1.3rem;
  font-weight: 600;
  background-color: transparent;
}
.calendar-month-nav .btn--secondary:hover {
  background-color: rgba(115, 103, 240, 0.1);
  border-color: transparent;
}

.calendar-actions-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
}
.calendar-actions-bar .btn {
  font-size: 1.3rem;
  padding: 6px 12px;
}
.calendar-actions-bar__right {
  margin-left: auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: stretch;
}
.calendar-grid__day-name {
  text-align: center;
  padding: 8px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #6e6b7b;
  background-color: rgba(235, 233, 241, 0.4);
}
.calendar-grid__day-name:first-child {
  color: #dc3545;
}
.calendar-grid__day-name:last-child {
  color: #007bff;
}
.calendar-grid__day {
  position: relative;
  min-height: 140px;
  padding: 8px;
  border-right: 1px solid #ebe9f1;
  border-top: 1px solid #ebe9f1;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.calendar-grid__day:nth-child(7n) {
  border-right: none;
}
.calendar-grid__day:nth-child(-n+7) {
  border-top: none;
}
.calendar-grid__day:hover {
  background-color: rgba(115, 103, 240, 0.1);
  transform: Scale(1.02);
  z-index: 10;
  overflow: visible;
  box-shadow: 0 8px 24px 0 rgba(115, 103, 240, 0.2);
}
.calendar-grid__day.is-empty {
  background-color: rgba(235, 233, 241, 0.2);
}
.calendar-grid__day.is-empty:hover {
  background-color: rgba(235, 233, 241, 0.2);
  transform: none;
  box-shadow: none;
  z-index: 0;
}
.calendar-grid__day.is-sunday {
  background-color: rgba(220, 53, 69, 0.03);
}
.calendar-grid__day.is-sunday .calendar-grid__date {
  color: #dc3545;
}
.calendar-grid__day.is-sunday.is-closed {
  background-color: rgba(220, 53, 69, 0.05);
}
.calendar-grid__day.is-saturday {
  background-color: rgba(0, 123, 255, 0.03);
}
.calendar-grid__day.is-saturday .calendar-grid__date {
  color: #007bff;
}
.calendar-grid__day.is-today .calendar-grid__date {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background-color: #7367f0;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px 1px rgba(115, 103, 240, 0.1);
}
.calendar-grid__day.is-holiday {
  background-color: rgba(220, 53, 69, 0.05);
}
.calendar-grid__day.is-holiday .calendar-grid__date,
.calendar-grid__day.is-holiday .calendar-grid__holiday-name {
  color: #dc3545;
}
.calendar-grid__day.is-holiday.is-closed {
  background-color: rgba(220, 53, 69, 0.05);
}
.calendar-grid__date-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}
.calendar-grid__date-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.calendar-grid__date {
  font-size: 1.4rem;
  font-weight: 600;
}
.calendar-grid__holiday-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #dc3545;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-grid__closed-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: 4px;
  line-height: 1;
}
.calendar-grid__content {
  flex-grow: 1;
  min-height: 0;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
}

.calendar-schedule-wrapper {
  height: 100%;
  overflow-y: auto;
  background-color: transparent;
  scrollbar-width: thin;
  scrollbar-color: rgba(115, 103, 240, 0.4) transparent;
}

.calendar-schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.calendar-schedule-item {
  border-bottom: dotted 1px;
  margin-bottom: 2px;
}
.calendar-schedule-item:last-child {
  border-bottom: initial;
}

.calendar-schedule-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 2px;
  -moz-column-gap: 6px;
       column-gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  line-height: 1.4;
}
.calendar-schedule-link[href*=customer] {
  background-color: rgba(115, 103, 240, 0.1);
}
.calendar-schedule-link[href*=internal] {
  background-color: rgba(108, 117, 125, 0.1);
}
.calendar-schedule-link:hover {
  background-color: #7367f0;
  color: #ffffff;
  text-decoration: none;
}
.calendar-schedule-link:hover div,
.calendar-schedule-link:hover span {
  color: #ffffff !important;
}
.calendar-schedule-link:hover .calendar-schedule-link__office {
  background-color: rgba(255, 255, 255, 0.2);
}
.calendar-schedule-link__time {
  font-size: 1.1rem;
  font-weight: 600;
  color: #7367f0;
}
.calendar-schedule-link__office {
  display: inline-block;
  padding: 0px 6px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  color: #fff;
  background-color: rgba(108, 117, 125, 0.7);
}
.calendar-schedule-link__office.is-common {
  background-color: rgba(23, 162, 184, 0.7);
}
.calendar-schedule-link__title {
  font-size: 1.2rem;
  color: #5e5873;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.calendar-schedule-link__car-info, .calendar-schedule-link__details {
  font-size: 1.1rem;
  color: #6e6b7b;
}
.calendar-schedule-link .schedule-memo-wrapper {
  margin-left: auto;
}

.schedule-icon-group {
  display: flex;
  gap: 3px;
}
.schedule-icon-group.is-label {
  background-color: #6c757d;
  color: #fff;
  font-size: 1.1rem;
  padding: 0 2px;
  width: auto;
}

.schedule-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.schedule-memo-wrapper {
  position: relative;
  margin-left: auto;
  align-self: flex-end;
}

.schedule-memo-icon {
  color: rgb(211, 158.25, 0);
  font-size: 1.4rem;
  cursor: pointer;
}

.schedule-memo-tooltip {
  position: fixed;
  z-index: 2000;
  width: 250px;
  padding: 16px;
  background-color: #fff8e1;
  border: 1px solid #ffe5b9;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  color: #6d4c41;
  line-height: 1.5;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}
.schedule-memo-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

.detailed-filter-trigger {
  margin: 4px 0;
}
.detailed-filter-trigger .btn {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  padding: 4px 12px;
}
.detailed-filter-trigger .btn .filter-chevron {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.detailed-filter-trigger .btn.is-open .filter-chevron {
  transform: rotate(180deg);
}

.detailed-filter-panel {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 16px;
  padding-right: 16px;
  transition: max-height 0.5s ease-out, padding-top 0.5s ease-out, padding-bottom 0.5s ease-out, margin-bottom 0.5s ease-out;
}
.detailed-filter-panel.is-open {
  max-height: 1500px;
  margin-bottom: 4px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.detailed-filter-panel__form {
  background-color: rgba(115, 103, 240, 0.03);
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  padding: 24px;
}
.detailed-filter-panel__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.detailed-filter-panel__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.detailed-filter-panel__row > .form-group {
  flex-grow: 1;
  flex-shrink: 1;
  margin-bottom: 0;
}
.detailed-filter-panel__group--full-width {
  width: 100%;
}
.detailed-filter-panel__actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  border-top: 1px solid #ebe9f1;
  padding-top: 24px;
}
.detailed-filter-panel__actions button {
  font-size: 1.4rem;
  padding: 4px 8px;
}
.detailed-filter-panel .choice-group__label {
  padding: 4px 8px;
  font-size: 1.4rem;
}

.schedule-datetime-group,
.customer-info-group {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}
.schedule-datetime-group .form-group,
.customer-info-group .form-group {
  margin-bottom: 0;
}

.schedule-datetime-group {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}
.schedule-datetime-group .form-group {
  margin-bottom: 0;
}
.schedule-datetime-group.--customer .form-group:nth-child(1) {
  flex: 1 1 180px;
  max-width: 220px;
}
.schedule-datetime-group.--customer .form-group:nth-child(2) {
  flex: 1 1 120px;
  max-width: 150px;
}
.schedule-datetime-group.--customer .form-group:nth-child(3) {
  flex: 2 1 200px;
}
.schedule-datetime-group.--internal .form-group:nth-child(1) {
  flex: 2 1 180px;
}
.schedule-datetime-group.--internal .form-group:nth-child(2) {
  flex: 1 1 120px;
  max-width: 150px;
}
.schedule-datetime-group.--internal .form-group:nth-child(3) {
  flex: 1 1 120px;
  max-width: 150px;
}
.schedule-datetime-group.--internal .form-group:nth-child(4) {
  flex: 2 1 200px;
}

.customer-info-group__name {
  flex: 5;
}
.customer-info-group__car-model {
  flex: 3;
}
.customer-info-group__car-number {
  flex: 1.5;
}
.customer-info-group__car-color {
  flex: 1.5;
}

.choice-group--small .choice-group__label {
  padding: 8px 12px;
  font-size: 1.3rem;
}

.form-label--small {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6e6b7b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input--small {
  height: auto;
  padding: 8px 12px;
  font-size: 1.4rem;
}

.form-separator {
  border: 0;
  border-top: 1px dashed #ebe9f1;
  margin: 0.5em 0;
}

.form-select-wrapper {
  position: relative;
}
.form-select-wrapper::after {
  content: "▼";
  font-size: 1rem;
  color: #6e6b7b;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.form-select-wrapper select.form-input {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  padding-right: 30px;
}

.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #7367f0;
  color: #fff;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
}
.fab i {
  font-size: 2rem;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.is-locked {
  opacity: 0.6;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.is-locked .choice-group__label {
  cursor: not-allowed;
}

.holiday-setting-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #ebe9f1;
  border-left: 1px solid #ebe9f1;
  margin-top: 10px;
}
.holiday-setting-grid__day {
  padding: 16px;
  border-right: 1px solid #ebe9f1;
  border-bottom: 1px solid #ebe9f1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
}
.holiday-setting-grid__day.is-empty {
  background-color: rgba(235, 233, 241, 0.2);
}
.holiday-setting-grid__day.is-sunday {
  background-color: rgba(220, 53, 69, 0.03);
}
.holiday-setting-grid__day.is-saturday {
  background-color: rgba(0, 123, 255, 0.03);
}
.holiday-setting-grid__day.is-holiday {
  background-color: rgba(220, 53, 69, 0.05);
}
.holiday-setting-grid__date-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.holiday-setting-grid__date {
  font-size: 2rem;
  font-weight: 600;
  color: #5e5873;
}
.holiday-setting-grid__status {
  font-size: 1.4rem;
  font-weight: 600;
}
.holiday-setting-grid__actions {
  margin-top: auto;
}

.holiday-setting-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-top: 1px solid #ebe9f1;
}

.holiday-setting-grid__day.js-holiday-toggle-cell {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}
.holiday-setting-grid__day.js-holiday-toggle-cell:hover {
  box-shadow: 0 8px 24px rgba(115, 103, 240, 0.15);
  z-index: 10;
}
.holiday-setting-grid__day.is-sunday:not(.is-holiday), .holiday-setting-grid__day.is-saturday:not(.is-holiday) {
  background-color: transparent;
}
.holiday-setting-grid__day.is-holiday {
  background-color: rgba(220, 53, 69, 0.05);
}
.holiday-setting-grid__day.is-holiday .holiday-setting-grid__date,
.holiday-setting-grid__day.is-holiday .holiday-setting-grid__status {
  color: #dc3545;
}
.holiday-setting-grid__status {
  font-size: 1.6rem;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}
.holiday-setting-grid__hidden-inputs {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@keyframes schedule-highlight {
  0% {
    transform: Scale(0.9);
  }
  50% {
    transform: Scale(1);
  }
  100% {
    transform: Scale(0.9);
  }
}
.calendar-schedule-link.is-related-highlight {
  animation-name: schedule-highlight;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 5;
  position: relative;
  z-index: 20;
  transition: none;
}

.filter-count {
  font-size: 0.9em;
  opacity: 0.7;
  font-weight: 400;
  margin-left: 2px;
}

.staff-holiday-grid {
  margin-top: 32px;
  padding: 24px;
  border-top: 1px solid #ebe9f1;
}
.staff-holiday-grid__header {
  display: grid;
  grid-template-columns: 120px repeat(var(--days-in-month), 1fr);
  gap: 2px;
  padding-bottom: 8px;
}
.staff-holiday-grid__staff-name-header {
  font-weight: 600;
  color: #6e6b7b;
  padding-right: 16px;
  text-align: right;
}
.staff-holiday-grid__day-header {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #6e6b7b;
}
.staff-holiday-grid__day-header.is-sunday {
  color: #dc3545;
}
.staff-holiday-grid__day-header.is-saturday {
  color: #007bff;
}
.staff-holiday-grid__row {
  display: grid;
  grid-template-columns: 120px repeat(var(--days-in-month), 1fr);
  gap: 2px;
  align-items: center;
}
.staff-holiday-grid__row:not(:last-child) {
  margin-bottom: 2px;
}
.staff-holiday-grid__staff-name {
  font-weight: 600;
  color: #5e5873;
  padding-right: 16px;
  text-align: right;
  white-space: nowrap;
}
.staff-holiday-grid__cell {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  background-color: rgba(235, 233, 241, 0.3);
  border-radius: 4px;
}
.staff-holiday-grid__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.staff-holiday-grid__checkbox:checked + .staff-holiday-grid__label {
  background-color: #dc3545;
  border-color: transparent;
}
.staff-holiday-grid__checkbox:checked + .staff-holiday-grid__label::after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.staff-holiday-grid__label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #ebe9f1;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.staff-holiday-grid__label:hover {
  background-color: rgba(115, 103, 240, 0.1);
  border-color: #7367f0;
}

.staff-holiday-grid-wrapper {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #ebe9f1;
}

.staff-holiday-grid {
  grid-template-columns: 120px repeat(7, 1fr);
  align-items: center;
  row-gap: 8px;
}
.staff-holiday-grid__staff-name-header, .staff-holiday-grid__staff-name {
  grid-column: 1/2;
  font-weight: 600;
  color: #5e5873;
  padding-right: 16px;
  text-align: right;
  white-space: nowrap;
}
.staff-holiday-grid .calendar-grid__day-name {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-holiday-grid__cell {
  height: 40px;
  border-radius: 4px;
}
.staff-holiday-grid__cell.is-empty {
  background-color: transparent;
}
.staff-holiday-grid__cell.is-sunday-bg {
  background-color: rgba(220, 53, 69, 0.03);
}
.staff-holiday-grid__cell.is-saturday-bg {
  background-color: rgba(0, 123, 255, 0.03);
}
.staff-holiday-grid__label {
  height: 100%;
}

.holiday-setting-grid__staff-holidays {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.staff-holiday-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.staff-holiday-toggle__input:checked + .staff-holiday-toggle__label {
  background-color: #dc3545;
  color: #fff;
  border-color: transparent;
}
.staff-holiday-toggle__label {
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  padding: 3px 8px;
  font-size: 1.2rem;
  border-radius: 4px;
  background-color: rgba(235, 233, 241, 0.5);
  color: #6e6b7b;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.staff-holiday-toggle__label:hover {
  background-color: rgba(115, 103, 240, 0.1);
  color: #7367f0;
}

.calendar-staff-holiday {
  font-size: 1.1rem;
  color: #dc3545;
  padding: 2px 4px;
  margin-bottom: 4px;
  border-bottom: 1px dotted rgba(220, 53, 69, 0.3);
}
.calendar-staff-holiday__label {
  font-weight: 600;
  margin-right: 4px;
}
.lego .lego-block-form .form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.lego .lego-block-form .form-actions__group {
  display: flex;
  gap: 16px;
}
.lego .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.lego .flex1 {
  flex: 1;
}
.lego .w13 {
  width: 13%;
}
.lego .w16 {
  width: 16%;
}
.lego .w25 {
  width: 25%;
}
.lego .w30 {
  width: 30%;
}
.lego .w33 {
  width: 33%;
}
.lego .w34 {
  width: 34%;
}
.lego .w35 {
  width: 35%;
}
.lego .w40 {
  width: 40%;
}
.lego .w47 {
  width: 47%;
}
.lego .w49 {
  width: 49%;
}
.lego .w50 {
  width: 50%;
}
.lego .w65 {
  width: 65%;
}
.lego .w69 {
  width: 69%;
}
.lego .w70 {
  width: 70%;
}
.lego .w100 {
  width: 100%;
}
.lego .grid1 {
  grid-template-columns: repeat(1, 1fr);
}
.lego .grid2 {
  grid-template-columns: repeat(2, 1fr);
}
.lego .grid3 {
  grid-template-columns: repeat(3, 1fr);
}
.lego .grid4 {
  grid-template-columns: repeat(4, 1fr);
}
.lego .grid5 {
  grid-template-columns: repeat(5, 1fr);
}
.lego .grid6 {
  grid-template-columns: repeat(6, 1fr);
}
.lego .mgn-b20 {
  margin-bottom: 20px;
}
.lego .u-mt-large {
  margin-top: 24px;
}

.block-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(375px, 1fr));
  gap: 8px;
  align-items: start;
}
.block-list__item-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  border: 1px solid #ebe9f1;
}
.block-list__item-wrapper:hover {
  box-shadow: 0 6px 16px rgba(115, 103, 240, 0.15);
}
.block-list__item-wrapper:hover .image-text-block,
.block-list__item-wrapper:hover .design01-component-wrapper,
.block-list__item-wrapper:hover .viewer-mode {
  filter: blur(2px) brightness(0.9);
}
.block-list__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(94, 88, 115, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.block-list__item-wrapper:hover .block-list__overlay {
  opacity: 1;
  visibility: visible;
}
.block-list__overlay .btn--secondary {
  color: white;
}
.block-list__overlay .btn--secondary:hover {
  background-color: #f1f3f5;
  color: #212529;
}
.block-list__overlay .btn--secondary.js-lego-modal-close {
  color: initial;
}
.block-list__overlay .btn--secondary.js-lego-modal-close:hover {
  background-color: rgba(115, 103, 240, 0.1);
  color: #212529;
}
.block-list__actions {
  display: flex;
  gap: 16px;
  transform: translateY(10px);
  transition: transform 0.3s ease 0.1s;
}
.block-list__item-wrapper:hover .block-list__actions {
  transform: translateY(0);
}
.block-list .image-text-block {
  border-radius: 6px;
  overflow: hidden;
  padding: 10px;
}

.lego .btn--small {
  padding: 6px 12px;
  font-size: 1.2rem;
}

.preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
.preview-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.preview-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}
.preview-modal__container {
  width: 90%;
  max-width: 1200px;
  max-height: 95vh;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: Scale(0.95);
  transition: all 0.3s ease-in-out;
  overflow-y: scroll;
}
.preview-modal.is-open .preview-modal__container {
  transform: Scale(1);
}
.preview-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #ebe9f1;
  flex-shrink: 0;
}
.preview-modal__content {
  flex-grow: 1;
  overflow-y: auto;
  background-color: #f4f7f9;
  padding: 24px;
}
.preview-modal__title {
  font-size: 1.8rem;
  font-weight: 700;
}
.preview-modal__close {
  font-size: 2.8rem;
  cursor: pointer;
  border: none;
  background: none;
}
.preview-modal__loader {
  border: 4px solid #ebe9f1;
  border-top: 4px solid #7367f0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.preview-modal__view-toggle {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.view-toggle__btn {
  background-color: #fff;
  border: none;
  padding: 4px 16px;
  cursor: pointer;
  color: #333;
  font-size: 1.2rem;
  transition: background-color 0.2s;
}
.view-toggle__btn:not(:last-child) {
  border-right: 1px solid #ccc;
}
.view-toggle__btn.is-active {
  background-color: #007bff;
  color: #fff;
}

.preview-modal .image-text-block__item {
  z-index: 1;
}
.preview-modal.is-pc-mode .block-wall {
  aspect-ratio: initial;
}
.preview-modal.is-pc-mode .grid2 {
  grid-template-columns: repeat(2, 1fr) !important;
}
.preview-modal.is-pc-mode .grid3 {
  grid-template-columns: repeat(3, 1fr) !important;
}
.preview-modal.is-pc-mode .grid4 {
  grid-template-columns: repeat(4, 1fr) !important;
}
.preview-modal.is-pc-mode .grid5 {
  grid-template-columns: repeat(5, 1fr) !important;
}
.preview-modal.is-pc-mode .grid6 {
  grid-template-columns: repeat(6, 1fr) !important;
}
.preview-modal.is-sp-mode .block-wall {
  aspect-ratio: initial;
}
.preview-modal.is-sp-mode .preview-modal__container {
  width: 395px;
  height: 90vh;
  max-height: 812px;
  border-radius: 40px;
  border: 8px solid #333;
}
.preview-modal.is-sp-mode .preview-modal__content {
  box-sizing: border-box;
  padding: 0;
}
.preview-modal.is-sp-mode .preview-modal__content .grid2, .preview-modal.is-sp-mode .preview-modal__content .grid3, .preview-modal.is-sp-mode .preview-modal__content .grid4, .preview-modal.is-sp-mode .preview-modal__content .grid5, .preview-modal.is-sp-mode .preview-modal__content .grid6 {
  grid-template-columns: repeat(1, 1fr);
}

.form-preview-header {
  padding: 8px 24px;
  margin-bottom: 16px;
  border-left: 4px solid #7367f0;
  background-color: rgba(115, 103, 240, 0.04);
}
.form-preview-header__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5e5873;
  margin: 0;
}
.form-preview-header__description {
  font-size: 1.4rem;
  color: #6e6b7b;
  margin: 0;
}
.form-preview-header__attention {
  font-size: 1.2rem;
  color: #d64b66;
  margin: 0;
}

.image-text-block {
  align-content: flex-start;
}
.image-text-block__figure {
  margin: 0;
}
.image-text-block__image {
  display: block;
  width: 100%;
  border-radius: 6px;
}
.image-text-block__heading {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.2;
}
.image-text-block__heading span {
  display: block;
}
.image-text-block__subtitle, .image-text-block__body {
  font-size: 1.5rem;
  text-align: justify;
}
.image-text-block__subheading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 1%;
}

.image-text-block {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.image-text-block--image-right {
  flex-direction: row-reverse;
}
.image-text-block--image-top {
  display: block;
}
.image-text-block--image-bottom {
  flex-direction: column-reverse;
}
.image-text-block--image-left, .image-text-block--image-right {
  align-items: center;
}
.image-text-block--image-left .image-text-block__content {
  padding-left: 3%;
}
.image-text-block--image-right .image-text-block__content {
  padding-right: 3%;
}
.image-text-block--image-top .image-text-block__content {
  padding: 2% 1%;
}
.image-text-block--image-bottom .image-text-block__content {
  padding: 0 0% 2%;
}

.layout-settings-panel {
  margin-top: 8px;
}

.choice-group--colored {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.choice-group--colored .choice-group__label {
  background-color: #e8e8e8;
  color: #333333;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 2px 0;
  text-align: center;
  background-color: var(--btn-bg, #e8e8e8);
  color: var(--btn-text, #333333);
}
.choice-group--colored .choice-group__input:checked + .choice-group__label {
  background-color: #7367f0;
  color: #ffffff;
  border-color: #7367f0;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}

.form-input-group--compact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ebe9f1;
}
.form-input-group--compact .form-input {
  flex-grow: 1;
  border: none;
  background: none;
  text-align: right;
  min-width: 0;
  -moz-appearance: textfield;
}
.form-input-group--compact .form-input::-webkit-outer-spin-button, .form-input-group--compact .form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form-input-group--compact .form-input:focus {
  box-shadow: none;
}
.form-input-group--compact:focus-within {
  border-color: #7367f0;
  box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.15);
}

.lego-tabs {
  display: flex;
  position: relative;
  border-bottom: 1px solid #ebe9f1;
}
.lego-tabs__btn {
  background: none;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #6e6b7b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lego-tabs__btn i {
  font-size: 1.2em;
  opacity: 0.8;
  transition: color 0.2s ease;
}
.lego-tabs__btn:hover {
  background-color: rgba(115, 103, 240, 0.04);
  color: #7367f0;
}
.lego-tabs__btn.is-active {
  color: #7367f0;
}
.lego-tabs__slider {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background-color: #7367f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width, transform;
}

.tab-panel,
.inner-tab-panel {
  display: none;
}
.tab-panel.is-active,
.inner-tab-panel.is-active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.inner-tab-content {
  margin-top: 8px;
  margin-bottom: 300px;
}

.modal-tab-container {
  border-bottom: 1px solid #ebe9f1;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid #ebe9f1;
  margin-bottom: 24px;
}

.modal-tabs__btn {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 8px 16px;
  position: relative;
  bottom: -1px;
  color: #6e6b7b;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}
.modal-tabs__btn:hover, .modal-tabs__btn:focus {
  background-color: rgba(115, 103, 240, 0.04);
  color: #7367f0;
  outline: none;
}
.modal-tabs__btn.is-active {
  background-color: #ffffff;
  color: #7367f0;
  border-color: #ebe9f1;
}

.modal-tab-panel {
  display: none;
}
.modal-tab-panel.is-active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.point-editor-v2 {
  display: flex;
  flex-direction: column;
}
.point-editor-v2 .form-input--point-title {
  font-size: 1.8rem;
  font-weight: 600;
}
.point-editor-v2--recruit, .point-editor-v2--company {
  color: #7367f0;
  margin-top: 10px;
}
.point-editor-v2--recruit .form-label, .point-editor-v2--company .form-label {
  font-weight: bold;
}

.stripe-wall {
  width: 100%;
  background-image: repeating-linear-gradient(#ddd, #ddd 0px, transparent 1px, transparent 4px);
}

.lego .setting-layout {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lego .setting-layout__input {
  display: inline-block;
}
.lego .setting-layout__input label {
  font-size: 1.1rem;
  color: #6e6b7b;
}
.lego .setting-layout__horizontal {
  width: 100%;
  display: flex;
  align-items: center;
  align-content: flex-start;
  justify-content: space-between;
  padding: 4px 8px;
}
.lego .setting-layout__horizontal--adjust {
  background-color: #e2e2e2;
  padding: 2px 30px;
  margin-top: 4px;
  border-radius: 20px;
}
.lego .setting-layout__horizontal--adjust .form-input {
  background-color: #fff;
  padding: 0 8px;
}
.lego .setting-layout__horizontal--adjust .form-input.wide {
  display: inline-block;
  width: 80px;
}
.lego .setting-layout__horizontal--adjust .setting-layput__input .form-label {
  font-size: 1.1rem;
  color: #6e6b7b;
}
.lego .setting-layout__horizontal--adjust .setting-layput__input .form-color-picker {
  height: 21px;
}
.lego .setting-layout__horizontal--adjust.mgn {
  margin: 2px 0 4px;
}
.lego .setting-layout__horizontal--adjust.sub-color {
  background-color: #fff2ca;
}
.lego .setting-layout__horizontal--texts {
  padding: 0;
}
.lego .setting-layout__horizontal--basic-setting {
  flex-wrap: wrap;
}
.lego .setting-layout__horizontal--basic-setting .midashi {
  display: block;
  width: 100%;
  margin-bottom: 2px;
}
.lego .setting-layout__horizontal-visually {
  padding: 0;
  gap: 0 10px;
}
.lego .setting-layout__wall-setting {
  flex: 1;
}
.lego .setting-layout .form-input {
  display: inline-block;
}
.lego .setting-layout .form-input--integer {
  width: 45px;
  padding: 0 8px;
  text-align: right;
}
.lego .setting-layout .form-input--integer.wide {
  width: 80px;
}
.lego .setting-layout .select-color-picker {
  width: 40px;
  height: 21px;
  background-color: transparent;
  border: 1px solid #ebe9f1;
  border-radius: 4px;
  cursor: pointer;
}
.lego .setting-layout .photo-uploader {
  flex: 0 0 300px;
}
.lego .setting-layout .photo-uploader__preview {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
}
.lego .setting-layout__texts {
  margin-top: 10px;
  background-color: rgba(115, 103, 240, 0.09);
  padding: 10px;
  border-radius: 8px;
  gap: 6px;
}
.lego .setting-layout__texts .form-input {
  background-color: #fff;
}
.lego .setting-layout__panel-1 {
  display: flex;
  align-items: center;
  padding: 0;
  gap: 0 10px;
}
.lego .setting-layout__panel-1 .setting-layout__input label {
  display: inline-block;
}
.lego .setting-layout__panel-1 .setting-layout__input--date input {
  width: 175px;
}
.lego .setting-layout__panel-1 .setting-layout__input--slug {
  display: flex;
  align-items: center;
}
.lego .setting-layout__panel-1 .setting-layout__input--slug label {
  padding-right: 4px;
}
.lego .setting-layout__panel-1 .setting-layout__input--slug input[name=url_slug] {
  width: 250px;
}
.lego .setting-layout__panel-1 .setting-layout__input--slug input[name=article_author] {
  width: 390px;
}
.lego .setting-layout__panel-1 .setting-layout__horizontal {
  padding: 4px 0 0;
}
.lego .setting-layout__panel-1 .setting-layout__structured {
  flex: 1;
}
.lego .setting-layout__media-setting {
  flex: 0 0 265px;
}
.lego .setting-layout__media-setting .photo-uploader__preview {
  aspect-ratio: 4/3;
}
.lego .setting-layout__photo1-setting {
  gap: 0 10px;
}
.lego .setting-layout__icon {
  flex: 0 0 105px;
}
.lego .setting-layout__icon .photo-uploader__preview {
  aspect-ratio: 1/1;
}
.lego .setting-layout__icon-title {
  flex: 1;
}
.lego .setting-layout__icon-title .setting-layout__horizontal {
  padding: 1px 0;
  gap: 0 10px;
}
.lego .setting-layout__price-setting {
  margin-top: 10px;
  border: solid 1px #ebe9f1;
  border-radius: 6px;
  padding: 8px;
}
.lego .setting-layout__price-setting .setting-layout__horizontal {
  justify-content: flex-end;
  padding: 2px 0;
}
.lego .setting-layout__link-setting {
  width: 100%;
  flex-wrap: wrap;
  background-color: #e2e2e2;
  border-radius: 10px;
  margin-top: 4px;
  padding: 2px 30px;
}
.lego .setting-layout__link-setting .setting-layout__horizontal--adjust {
  background-color: initial;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 2px 0 0 0;
}
.lego .setting-layout__link-setting .setting-layout__horizontal--adjust:first-child {
  padding: 0;
}
.lego .setting-layout__link-setting .setting-layout__horizontal--adjust:first-child .form-input--integer {
  width: 62px;
}
.lego .setting-layout__link-setting .form-input--integer {
  padding: 0 8px;
}
.lego .setting-layout__horizontal.w100 {
  gap: 10px;
}
.lego .setting-layout--setting {
  margin-bottom: 10px;
}
.lego .setting-layout__logo {
  flex: 0 0 185px;
}
.lego .setting-layout__logo .photo-uploader__preview {
  aspect-ratio: 16/9;
}
.lego .setting-layout__tag-set {
  flex: 1;
}
.lego .setting-layout__tag-set .form-input {
  margin-bottom: 4px;
}
.lego .setting-layout__tag-set .form-input:last-child {
  margin: 0;
}
.lego .setting-layout--menu {
  gap: 0 10px;
}
.lego .setting-layout--menu .setting-layout__horizontal {
  gap: 4px;
  padding: 0 0 4px;
}
.lego .setting-layout--menu .form-input--name {
  width: 150px;
}
.lego .setting-layout--menu .form-input--page {
  width: 65px;
}
.lego .setting-layout__border-block {
  position: relative;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  padding: 2rem 1.6rem 1rem;
  background-color: hsl(228, 100%, 100.0392156863%);
  gap: 0;
  margin: 24px auto 16px;
}
.lego .setting-layout__border-block--title {
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 1.35rem;
  color: #6e6b7b;
  background-color: white;
  padding: 0 10px;
}
.lego .setting-layout__border-block .setting-layout__horizontal {
  padding: 0;
}
.lego .setting-layout__border-block .setting-layout__horizontal .setting-layout__input {
  background-color: #f2f2f2;
  border-radius: 16px;
  padding: 2px 14px;
}
.lego .setting-layout__border-block .setting-layout__horizontal .setting-layout__input label {
  font-weight: bold;
}
.lego .setting-layout__border-block .setting-layout__horizontal .setting-layout__input input {
  background-color: white;
}
.lego .setting-layout__border-block .setting-layout__horizontal .form-toggle {
  background-color: #ecf0fd;
  border-radius: 16px;
  padding: 2px 14px;
}
.lego .setting-layout__border-block .mgn {
  margin-bottom: 8px;
}
.lego .setting-layout__toggle3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 10px;
}
.lego .setting-layout__toggle3 .toggle3-wapper {
  position: relative;
  border: 1px solid #ebe9f1;
  border-radius: 6px;
  padding: 18px 18px 8px;
  margin: 0 auto;
}
.lego .setting-layout__toggle3 .toggle3-wapper__label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  color: #7367f0;
  background-color: white;
  border: 1px solid #ebe9f1;
  border-radius: 30px;
  padding: 0px 10px;
}

.article-composer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(410px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.block-list--source .block-list__item-wrapper {
  transform: Scale(0.95);
  transition: transform 0.2s, box-shadow 0.2s;
}
.block-list--source .block-list__item-wrapper:hover {
  transform: Scale(1);
  box-shadow: 0 8px 24px 0 rgba(115, 103, 240, 0.1);
}

.block-list__overlay--source {
  position: absolute;
  inset: 0;
  background-color: rgba(115, 103, 240, 0.7);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}
.block-list__overlay--source .btn {
  pointer-events: auto;
}
.block-list__item-wrapper:hover .block-list__overlay--source {
  opacity: 1;
}

.card__body--droppable {
  background-color: rgba(235, 233, 241, 0.2);
  border: 2px dashed rgba(115, 103, 240, 0.3);
  border-radius: 8px;
  min-height: 300px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-list__overlay--target {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2px 4px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #6e6b7b;
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s;
}
.btn-icon:hover {
  color: #7367f0;
  transform: Scale(1.1);
}

.btn-icon--delete:hover {
  color: #dc3545;
}

.drag-handle {
  cursor: grab;
  color: #6c757d;
  padding: 4px;
}
.drag-handle:hover {
  color: #7367f0;
}

.block-list__item-wrapper.is-removing {
  opacity: 0;
  transform: Scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
}

.article-composer {
  margin-bottom: 80px;
}
.article-composer .card__body {
  padding: 10px;
}

.article-composer__source-list .block-list__item-wrapper {
  aspect-ratio: 16/3;
  margin-bottom: 10px;
}
.article-composer__source-list .card {
  position: sticky;
  top: 70px;
}
.article-composer__source-list .card__body {
  height: 80vh;
  overflow-y: scroll;
}

.article-composer__target-list .block-list__item-wrapper {
  aspect-ratio: 16/3;
  margin-bottom: 10px;
}
.article-composer__target-list .sp-overlay-menu {
  display: none;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px 10px;
}
.article-list__item {
  position: relative;
  border: solid 1px #ebe9f1;
  border-radius: 6px;
  overflow: hidden;
}
.article-list__item .eyecatch {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-list__item .eyecatch img {
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.article-list__item .btn::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: auto;
  content: "";
  background-color: transparent;
}
.article-list__item:hover {
  box-shadow: 0 8px 24px 0 rgba(115, 103, 240, 0.2);
}
.article-list__item:hover img {
  transform: Scale(1.05);
}
.article-list__info {
  padding: 12px 16px;
}
.article-list__info p {
  font-size: 12px;
  color: #6e6b7b;
  padding: 8px 2px;
  margin: 0;
}
.article-list__info .url-slug {
  display: inline-block;
  font-weight: bold;
  padding: 0;
}
.article-list__info .url-slug.top-page {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.article-list__info .title {
  font-size: 14px;
  font-weight: bold;
  color: #7367f0;
  border-top: solid 1px #ebe9f1;
  border-bottom: solid 1px #ebe9f1;
  line-height: 1.3;
}
.article-list__info .description {
  text-align: justify;
  line-height: 1.3;
}
.article-list__info .publish-date {
  padding: 2px 8px;
  background-color: rgba(235, 233, 241, 0.4);
  border-radius: 6px;
  text-align: center;
  margin: 4px 0;
}
.article-list__info .publish-date .update {
  display: block;
}
.article-list__info .badge--success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.article-list__info .badge--secondary {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
  color: #6e6b7b;
}
.table th,
.table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid #ebe9f1;
}
.table thead th {
  font-weight: 700;
  color: #5e5873;
  background-color: rgba(235, 233, 241, 0.4);
}
.table tbody tr {
  transition: background-color 0.2s;
}
.table tbody tr:hover {
  background-color: rgba(115, 103, 240, 0.04);
}
.table tbody a {
  color: #7367f0;
  font-weight: 700;
  text-decoration: none;
}
.table tbody a:hover {
  text-decoration: underline;
}
.table .top-page {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}
.badge--success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.badge--secondary {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.lego-form-layout {
  display: flex;
  gap: 32px;
}
.lego-form-layout__media .photo-uploader__preview {
  width: 100%;
  height: auto;
  border-radius: 8px;
  min-height: 150px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lego-form-layout__content {
  flex: 1 1 0;
  min-width: 0;
}
.lego-form-layout__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.lego-tabs-header {
  margin-bottom: 0;
}

.lego .card__header {
  padding: 16px;
}
.lego .card__header h2 {
  font-size: 2rem;
}
.lego .card__header h2,
.lego .card__header p {
  margin: 0;
}
.lego .card__subtitle {
  font-size: 1.5rem;
}
.lego .card__preview {
  margin: 0;
}

#panel-1 .card.u-mt-large {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1000;
}
#panel-1 .card.u-mt-large .card__footer {
  padding: 0;
  border: initial;
}

.lego .form-group {
  margin-bottom: 2px;
}
.lego .form-group--w10 {
  flex-basis: calc(10% - 24px * 0.9);
}
.lego .form-group--inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0;
}
@media (max-width: 480px) {
  .lego .form-group--inline-grid {
    grid-template-columns: 1fr;
  }
}
.lego .form-input {
  font-size: 1.4rem;
  padding: 4px 12px;
}
.lego .form-input--xlarge {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 8px 10px;
}
.lego .form-input--large {
  font-size: 1.4rem;
  font-weight: 700;
  padding: 4px 12px;
}
.lego .form-input--text {
  line-height: 1.4;
}
.lego .form-input--visually {
  margin-top: 4px;
  background-color: #fff9d5;
}
.lego .form-input-group__label {
  font-size: 1.2rem;
  padding: 0 8px;
  color: #6e6b7b;
  white-space: nowrap;
}
.lego .form-input-group__horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.lego .form-input-group__suffix {
  font-size: 1.2rem;
  padding: 0 8px;
  color: #6e6b7b;
}
.lego .form-label {
  font-size: 1.4rem;
}
.lego .card .form-label {
  display: block;
  font-size: 1.2rem;
}
.lego input[type=number] {
  font-size: 1.4rem;
}
.lego .form-toggle {
  gap: 8px;
}
.lego .form-toggle__label {
  font-size: 1.1rem;
}
.lego .form-radio__label {
  font-size: 1.1rem;
  padding-right: 2px 16px !important;
}
.lego .modal__container .choice-group {
  gap: 4px;
  margin-top: 6px;
}
.lego .modal__container .choice-group__label {
  padding: 2px 16px;
}
.lego .modal__container .choice-group--colored .choice-group__label {
  padding: 2px 0;
}
.lego .modal__container .choice-group--recruit {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

/* ===================================================================
//  ユーティリティ: アンカー＆ハイライト (Legoブロック専用の強化版)
// =================================================================== */
@keyframes flash-and-fade-overlay {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.block-list__item-wrapper {
  position: relative;
}

.block-list__item-wrapper.is-highlighted::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-color: rgba(115, 103, 240, 0.2);
  pointer-events: none;
  animation: flash-and-fade-overlay 2.5s ease-out forwards;
}

.modal#lego-design01-modal {
  position: fixed;
  display: flex !important;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0s 0.3s, opacity 0.3s ease-out;
}
.modal#lego-design01-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.modal#lego-design01-modal .modal__container {
  transform: Scale(0.95);
  transition: transform 0.3s ease-out;
}
.modal#lego-design01-modal.is-open .modal__container {
  transform: Scale(1);
}

.lego .photo-uploader__button-group {
  width: 100%;
  flex-direction: initial;
  justify-content: center;
}
.lego .photo-uploader__button-group i {
  font-size: 2.4rem;
  padding: 0;
}
.lego .photo-uploader__button {
  display: block;
  border-radius: 26px;
}

.photo-uploader--icon .photo-uploader__preview {
  width: 100px;
  height: 100px;
  aspect-ratio: 1/1;
  background-size: cover;
  border-radius: 8px;
}

.lego .compact-form-layout {
  margin: 0;
}

#panel_for_design01 .block-list.design01 {
  grid-template-columns: repeat(1, 1fr);
}
#panel_for_design01 .design01-component-wrapper.pt01 .header.design01.pt01 {
  position: initial;
  padding: 0;
  height: 100%;
}
#panel_for_design01 .design01-component-wrapper.pt01 .header.design01.pt01 .header-main {
  padding: 0 1%;
}
#panel_for_design01 .design01-component-wrapper.pt01 .header.design01.pt01 .header-main .header-main__inner .header-logo {
  margin: 0;
  height: initial;
  position: initial;
  transform: initial;
}
#panel_for_design01 .design01-component-wrapper.pt01 .header.design01.pt01 .header-main .pc-nav {
  flex: initial;
}
#panel_for_design01 .design01-component-wrapper.pt02 {
  height: auto;
  padding: 0 1%;
}
#panel_for_design01 .design01-component-wrapper.pt02 .header.design01.pt02 {
  position: initial;
}
#panel_for_design01 .design01-component-wrapper.pt02 .header.design01.pt02 .header-main__inner .header-logo {
  margin: 0;
  height: initial;
  position: initial;
  transform: initial;
}
#panel_for_design01 .design01-component-wrapper.pt02 .sp-overlay-menu {
  display: none;
}
#panel_for_design01 .block-list__item-wrapper--pt03 {
  height: 80px;
}
#panel_for_design01 .block-list__item-wrapper--pt03 .header {
  position: initial;
}
#panel_for_design01 .block-list__item-wrapper--pt03 .sp-overlay-menu {
  display: none;
}

.preview-modal__content .header.design01 {
  position: initial;
}
.preview-modal__content .header.design01.pt01 {
  padding: 0;
  height: 100%;
}
.preview-modal__content .header.design01.pt01 .header-main h1 {
  margin: 0;
}
.preview-modal__content .header.design01.pt01 .header-main .pc-nav {
  flex: initial;
}

.article-composer a {
  pointer-events: none;
}
.article-composer .design01-component-wrapper.pt01 .header.design01.pt01 {
  position: relative;
  top: initial;
  z-index: 0;
  padding: 0;
}
.article-composer .design01-component-wrapper.pt01 .sp-menu {
  position: initial;
}
.article-composer .design01-component-wrapper.pt02 .header.design01.pt02 {
  z-index: 0;
}
.article-composer .design01-component-wrapper.pt02 .sp-overlay-menu {
  position: initial;
}

.design01 .modal__container {
  max-width: 888px;
}
@media (max-width: 900px) {
  .design01 .lego-form-layout {
    flex-direction: column;
  }
}
.design01 .lego-form-layout__media {
  flex: 0 0 320px;
}
@media (max-width: 900px) {
  .design01 .lego-form-layout__media {
    flex-basis: auto;
    max-width: 400px;
  }
}

.card__preview .design02 .block-list__item-wrapper {
  aspect-ratio: 16/4;
}
.card__preview .design02 .block-list__item-wrapper .design02 {
  margin: 0 !important;
  padding: 0 !important;
}
.card__preview .design02 .image-text-block__item {
  z-index: 1;
}
.card__preview .design02 p {
  margin-bottom: initial;
}
.card__preview .design02 .recruit-block__appeals,
.card__preview .design02 .company-block__appeals {
  grid-template-columns: repeat(3, 1fr);
}
.card__preview .design02 .recruit-block__details,
.card__preview .design02 .company-block__details {
  display: block;
}
.card__preview .design02 .recruit-block__details-main, .card__preview .design02 .recruit-block__details-sub,
.card__preview .design02 .company-block__details-main,
.card__preview .design02 .company-block__details-sub {
  width: 100%;
}

.is-pc-mode .preview-modal__content .design02 .recruit-block__appeals {
  grid-template-columns: repeat(6, 1fr);
}
.is-pc-mode .preview-modal__content .design02 .recruit-block__details {
  display: flex;
}
.is-pc-mode .preview-modal__content .design02 .recruit-block__details-main, .is-pc-mode .preview-modal__content .design02 .recruit-block__details-sub {
  width: 49.5%;
}

.article-composer__target-list .design02 .recruit-block__details-main,
.article-composer__target-list .design02 .company-block__details-main {
  width: 100% !important;
}

.force-mobile-view .recruit-block__details,
.force-mobile-view .company-block__details {
  display: block;
}
.force-mobile-view .recruit-block__details-main, .force-mobile-view .recruit-block__details-sub,
.force-mobile-view .company-block__details-main,
.force-mobile-view .company-block__details-sub {
  width: 100%;
}
.force-mobile-view .is-sp-mode .recruit-block__details,
.force-mobile-view .is-sp-mode .company-block__details {
  display: block;
}
.force-mobile-view .is-pc-mode .recruit-block__appeals,
.force-mobile-view .is-pc-mode .company-block__appeals {
  grid-template-columns: repeat(6, 1fr);
}
.force-mobile-view .is-pc-mode .recruit-block__details-main, .force-mobile-view .is-pc-mode .recruit-block__details-sub,
.force-mobile-view .is-pc-mode .company-block__details-main,
.force-mobile-view .is-pc-mode .company-block__details-sub {
  width: 49.5%;
}

.design02 .modal__container {
  max-width: 888px;
}
.design02 textarea {
  min-height: 60px;
}
.design02 .compact-form-layout {
  align-items: flex-start;
}
.design02 .compact-form-layout .form-group--icon {
  flex: 0 0 100px;
}
.design02 .compact-form-layout .form-group--heading {
  flex: 1;
}
@media (max-width: 900px) {
  .design02 .lego-form-layout {
    flex-direction: column;
  }
}
.design02 .lego-form-layout__media {
  flex: 0 0 320px;
}
@media (max-width: 900px) {
  .design02 .lego-form-layout__media {
    flex-basis: auto;
    max-width: 400px;
  }
}

.card__preview .design03 .block-list__item-wrapper {
  aspect-ratio: 16/4;
}
.card__preview .design03 .image-text-block__item {
  z-index: 1;
}
.card__preview .design03 p {
  margin-bottom: initial;
}

.preview-modal__content p {
  margin-bottom: initial;
}

.article-composer .design03.block-wall {
  overflow: hidden;
}
.article-composer .design03 .image-text-block__item {
  z-index: 1;
}

.article-composer__target-list .design03.block-wall {
  height: 100%;
  aspect-ratio: initial;
}

.force-mobile-view .grid2, .force-mobile-view .grid3, .force-mobile-view .grid4, .force-mobile-view .grid5, .force-mobile-view .grid6 {
  grid-template-columns: repeat(1, 1fr);
}

.design03 .modal__container {
  min-width: 900px;
  max-width: 900px;
}
.design03 textarea {
  min-height: 60px;
}
.design03 input[type=text].has-value,
.design03 input[type=number].has-value,
.design03 textarea.has-value {
  background-color: #e6f7ff; /* 値があるときの背景色 */
  border-color: #1890ff; /* 枠線の色も変える例 */
}
.design03 .choice-group--colored.w47 {
  grid-template-columns: repeat(6, 1fr);
}
.design03 .link-btn {
  margin-top: 20px;
  text-align: center;
}
.design03 .link-btn .btn {
  font-size: 12px;
  font-weight: bold;
  color: white;
  background-color: #000;
  border-radius: 6px;
  padding: 1px 16px;
  transition: 0.3s;
}
.design03.block-wall {
  position: relative;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: 0.5s;
  display: flex;
  flex: 1;
  align-items: stretch;
}
.design03.block-wall::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: var(--bg-filter, none);
  background-color: var(--bg-color, none);
  background-blend-mode: overlay;
  transform: Scale(1.1);
}
.design03 .split-width {
  display: none;
}
.design03 .midashi {
  font-size: 1.1rem;
  color: #6e6b7b;
}

.card__preview .design04 .block-list__item-wrapper {
  aspect-ratio: 16/4;
}
.card__preview .design04 .block-list__item-wrapper .design04 {
  padding: 0 !important;
}
.card__preview .design04 .block-list__item-wrapper .design04 .company-info {
  border: initial !important;
}

.is-pc-mode .preview-modal__content .design04 {
  padding: 0 !important;
}
.is-pc-mode .preview-modal__content .design04 .calendar-container {
  background-color: initial;
  box-shadow: initial;
  border: initial;
  border-radius: initial;
}

.is-sp-mode .design04 {
  padding: 20px 10px !important;
}
.is-sp-mode .design04 .calendar-container {
  background-color: initial;
  box-shadow: initial;
  border: initial;
  border-radius: initial;
}
.is-sp-mode .design04 .company-info {
  gap: 16px;
}
.is-sp-mode .design04 .company-info__logo {
  flex: 0 0 100%;
}
.is-sp-mode .design04 .company-info__details {
  text-align: center;
}
.is-sp-mode .design04 .calendar-container {
  width: 100%;
  padding: 20px 20px 40px;
  gap: 30px;
}
.is-sp-mode .design04 .simple-calendar {
  width: 100%;
}

.design04 .modal__container {
  max-width: 888px;
}
.design04 .display-calendar {
  padding: 0 1.6rem;
}

.card__preview .design05 .block-list__item-wrapper {
  aspect-ratio: 16/4;
}
.card__preview .design05 .block-list__item-wrapper .design05 {
  padding: 20px 10px !important;
}
.card__preview .design05 .block-list__item-wrapper .design05 .form-item {
  width: 100%;
  padding: 20px 16px;
  border-radius: 6px;
}
.card__preview .design05 .block-list__item-wrapper .design05 .form-item--stretch {
  width: 100% !important;
}

.is-sp-mode .design05,
.article-composer .design05 {
  padding: 20px 10px !important;
}
.is-sp-mode .design05 .form-item,
.article-composer .design05 .form-item {
  width: 100%;
  padding: 20px 16px;
  border-radius: 6px;
}
.is-sp-mode .design05 .form-item--stretch,
.article-composer .design05 .form-item--stretch {
  width: 100% !important;
}

.design05 .modal__container {
  min-width: 800px;
  max-width: 800px;
}
.design05 .modal__container .modal-tab-container {
  padding: 0;
}
.design05 .modal__container .setting-layout__texts {
  margin-top: 4px;
  padding: 4px 10px;
}
.design05 .modal__container .form-input--text {
  min-height: 80px;
}
.design05 .modal__container .setting-layout__inquiry {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 8px;
  margin-bottom: 6px;
}
.design05 .modal__container .setting-layout__inquiry input[name^=inquiry_text] {
  width: 80%;
}
.design05 .modal__container .setting-layout__inquiry input[name^=inquiry_label] {
  width: 19%;
}
.design05 .modal__container .setting-layout__inquiry:last-child {
  margin-bottom: 20px;
}
.design05 .modal__container .attention {
  font-size: 1.2rem;
  color: #dc143c;
  text-align: center;
}

.design01-component-wrapper.pt01 .header.design01.pt01 {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-top {
  background-color: var(--bar-color1, #000);
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-top-nav {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px 0;
  gap: 3px;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-top-nav li {
  display: inline-block;
  background-color: var(--bar-color2, #f2f2f2);
  padding: 2px 16px;
  border-radius: 4px 4px 0 0;
  transition: 0.5s;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-top-nav li:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-top-nav li .sub {
  display: none;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main {
  background-color: var(--bar-color2, #f2f2f2);
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px 0 0;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main__inner img {
  border-radius: initial;
}
@media (max-width: 768px) {
  .design01-component-wrapper.pt01 .header.design01.pt01 .header-main .pc-nav,
  .design01-component-wrapper.pt01 .header.design01.pt01 .header-main .header-top {
    display: none;
  }
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main h1 {
  padding-bottom: 0.5%;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main .pc-nav ul {
  display: flex;
  justify-content: space-between;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main .pc-nav ul li a {
  position: relative;
  display: inline-block;
  padding: 2px 16px;
  border-radius: 3px 3px 0 0;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main .pc-nav ul li span {
  display: inline-block;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main .pc-nav ul li .sub {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  text-align: center;
  background-color: var(--bar-color1, #000);
  border-radius: 16px;
  padding: 2px 0;
  opacity: 0;
  transition: 0.5s;
}
.design01-component-wrapper.pt01 .header.design01.pt01 .header-main .pc-nav ul li:hover .sub {
  opacity: 1;
}
.design01-component-wrapper.pt01 .hamburger-button {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 1002;
  display: none;
}
.design01-component-wrapper.pt01 .hamburger-button span {
  display: block;
  position: absolute;
  left: 5px;
  width: 30px;
  height: 2px;
  transition: transform 0.4s ease, top 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
}
.design01-component-wrapper.pt01 .hamburger-button span:nth-child(1) {
  top: 10px;
}
.design01-component-wrapper.pt01 .hamburger-button span:nth-child(2) {
  top: 19px;
}
.design01-component-wrapper.pt01 .hamburger-button span:nth-child(3) {
  top: 28px;
}
.design01-component-wrapper.pt01 .hamburger-button span {
  background-color: #333;
}
.design01-component-wrapper.pt01 .sp-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 80%;
  height: 100%;
  background-color: var(--hamburger-wall, #fff);
  z-index: 1001;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}
.design01-component-wrapper.pt01 .sp-menu .sp-menu-content {
  padding: 24px;
}
.design01-component-wrapper.pt01 .sp-menu .sp-menu-content .logo {
  margin-bottom: 24px;
}
.design01-component-wrapper.pt01 .sp-menu .sp-menu-content .logo img {
  max-width: 180px;
}
.design01-component-wrapper.pt01 .sp-menu .sp-menu-content .top-page-button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 24px;
  background-color: #e50012;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  transition: opacity 0.3s;
}
.design01-component-wrapper.pt01 .sp-menu .sp-menu-content .top-page-button:hover {
  opacity: 0.8;
}
.design01-component-wrapper.pt01 .sp-menu .sp-nav ul {
  list-style: none;
}
.design01-component-wrapper.pt01 .sp-menu .sp-nav li {
  border-bottom: 1px solid #eee;
}
.design01-component-wrapper.pt01 .sp-menu .sp-nav a {
  display: block;
  padding: 16px 0;
  color: #333;
  transition: background-color 0.3s;
}
.design01-component-wrapper.pt01 .sp-menu .sp-nav a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.design01-component-wrapper.pt01 .sp-menu .sp-nav a .en {
  display: block;
  font-weight: bold;
  font-size: 16px;
}
.design01-component-wrapper.pt01 .sp-menu .sp-nav a .ja {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

@media screen and (max-width: 480px) {
  .design01-component-wrapper.pt01 .header.design01.pt01 .header-main__inner {
    padding: 4px 10px;
  }
  .design01-component-wrapper.pt01 .header.design01.pt01 .header-logo {
    width: 20% !important;
  }
  .design01-component-wrapper.pt01 .pc-nav {
    display: none;
  }
  .design01-component-wrapper.pt01 .hamburger-button {
    display: block;
    top: 35px;
  }
}
/* ===============================================
   ヘッダーデザイン pt02
   =============================================== */
.design01-component-wrapper.pt02 .header.design01.pt02 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bar-color2, #f2f2f2);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  padding: 6px 0 4px;
}
.design01-component-wrapper.pt02 .header.design01.pt02 .header-main__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.design01-component-wrapper.pt02 .header.design01.pt02 .header-logo__image {
  width: 100%;
  border-radius: 0;
}
.design01-component-wrapper.pt02 .header.design01.pt02 .pc-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
}
.design01-component-wrapper.pt02 .header.design01.pt02 .pc-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--font-color, #fff);
  transition: color 0.4s ease;
  padding-bottom: 5px;
}
.design01-component-wrapper.pt02 .header.design01.pt02 .pc-nav a .sub {
  font-size: 0.8em;
  opacity: 0.8;
}
.design01-component-wrapper.pt02 .header.design01.pt02 .pc-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--font-hover-color, #a7a7a7);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.design01-component-wrapper.pt02 .header.design01.pt02 .pc-nav a:hover {
  color: var(--font-hover-color, #a7a7a7);
}
.design01-component-wrapper.pt02 .header.design01.pt02 .pc-nav a:hover::after {
  transform: scaleX(1);
}
.design01-component-wrapper.pt02 .header.design01.pt02.is-scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.design01-component-wrapper.pt02 .header.design01.pt02.is-scrolled .pc-nav {
  --font-color: #333;
  --font-hover-color: #007bff;
}
.design01-component-wrapper.pt02 .hamburger-button {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 1002;
  display: none;
}
.design01-component-wrapper.pt02 .hamburger-button span {
  display: block;
  position: absolute;
  left: 5px;
  width: 30px;
  height: 2px;
  transition: transform 0.4s ease, top 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
}
.design01-component-wrapper.pt02 .hamburger-button span:nth-child(1) {
  top: 10px;
}
.design01-component-wrapper.pt02 .hamburger-button span:nth-child(2) {
  top: 19px;
}
.design01-component-wrapper.pt02 .hamburger-button span:nth-child(3) {
  top: 28px;
}
.design01-component-wrapper.pt02 .hamburger-button span {
  background-color: #333;
}
.is-scrolled ~ .design01-component-wrapper.pt02 .hamburger-button span {
  background-color: #333;
}
.design01-component-wrapper.pt02 .sp-overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(26, 26, 26, 0.95);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
.design01-component-wrapper.pt02 .sp-overlay-menu ul {
  text-align: center;
  list-style: none;
  padding: 0;
}
.design01-component-wrapper.pt02 .sp-overlay-menu li {
  margin-bottom: 24px;
}
.design01-component-wrapper.pt02 .sp-overlay-menu a {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
}
.design01-component-wrapper.pt02 .sp-overlay-menu a .sub {
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
  color: #aaa;
  margin-top: 4px;
}

@media screen and (max-width: 480px) {
  .design01-component-wrapper.pt02 .header.design01.pt02 .header-logo {
    width: 20% !important;
  }
  .design01-component-wrapper.pt02 .pc-nav {
    display: none;
  }
  .design01-component-wrapper.pt02 .hamburger-button {
    display: block;
  }
}
body.is-sp-menu-open {
  overflow: hidden;
}
body.is-sp-menu-open .design01-component-wrapper.pt01 .hamburger-button span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
body.is-sp-menu-open .design01-component-wrapper.pt01 .hamburger-button span:nth-child(2) {
  opacity: 0;
}
body.is-sp-menu-open .design01-component-wrapper.pt01 .hamburger-button span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}
body.is-sp-menu-open .design01-component-wrapper.pt01 .hamburger-button span:nth-child(2) {
  opacity: 0;
  transform: translateX(-100%);
}
body.is-sp-menu-open .design01-component-wrapper.pt01 .sp-menu {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
body.is-sp-menu-open .design01-component-wrapper.pt01::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.4s ease;
}
body.is-sp-menu-open .design01-component-wrapper.pt02 .hamburger-button span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
body.is-sp-menu-open .design01-component-wrapper.pt02 .hamburger-button span:nth-child(2) {
  opacity: 0;
}
body.is-sp-menu-open .design01-component-wrapper.pt02 .hamburger-button span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}
body.is-sp-menu-open .design01-component-wrapper.pt02 .sp-overlay-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ===============================================
   ヘッダーデザイン pt03 (新・いけてるやつ)
   =============================================== */
.design01-component-wrapper.pt03 .header.design01.pt03 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bar-color2, #fff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .header-logo__image {
  width: 100%;
  border-radius: 0;
}
@media (max-width: 768px) {
  .design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav {
    display: none;
  }
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav a {
  display: block;
  position: relative;
  color: var(--font-color, #333);
  text-decoration: none;
  overflow: hidden;
  padding: 5px 0;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav a .main-text,
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav a .sub-text {
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav a .sub-text {
  position: absolute;
  top: 100%;
  left: 0;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav a:hover {
  color: var(--font-hover-color, #007bff);
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav a:hover .main-text {
  transform: translateY(-100%);
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav a:hover .sub-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav .is-cta a {
  background-color: var(--font-hover-color, #007bff);
  color: var(--bar-color2, #fff);
  padding: 10px 20px;
  border-radius: 50px;
  transition: transform 0.2s ease-out;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav .is-cta a .sub-text {
  display: none;
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav .is-cta a:hover {
  color: var(--bar-color2, #fff);
  transform: scale(1.05);
}
.design01-component-wrapper.pt03 .header.design01.pt03 .pc-nav .is-cta a:hover .main-text {
  transform: translateY(0);
}
.design01-component-wrapper.pt03 .hamburger-button {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 1002;
  display: none;
}
.design01-component-wrapper.pt03 .hamburger-button span {
  display: block;
  position: absolute;
  left: 5px;
  width: 30px;
  height: 2px;
  transition: transform 0.4s ease, top 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
}
.design01-component-wrapper.pt03 .hamburger-button span:nth-child(1) {
  top: 10px;
}
.design01-component-wrapper.pt03 .hamburger-button span:nth-child(2) {
  top: 19px;
}
.design01-component-wrapper.pt03 .hamburger-button span:nth-child(3) {
  top: 28px;
}
@media (max-width: 768px) {
  .design01-component-wrapper.pt03 .hamburger-button {
    display: block;
  }
}
.design01-component-wrapper.pt03 .hamburger-button span {
  background-color: #333;
  transform-origin: center;
}
.design01-component-wrapper.pt03 .sp-overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1a1a1a;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.design01-component-wrapper.pt03 .sp-overlay-menu ul {
  text-align: center;
  list-style: none;
  padding: 0;
}
.design01-component-wrapper.pt03 .sp-overlay-menu li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--animation-order) * 0.05s + 0.2s);
}
.design01-component-wrapper.pt03 .sp-overlay-menu a {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
}
.design01-component-wrapper.pt03 .sp-overlay-menu a .sub {
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
  color: #aaa;
  margin-top: 4px;
}

body.is-sp-menu-open .design01-component-wrapper.pt03 .hamburger-button span {
  background-color: #fff;
}
body.is-sp-menu-open .design01-component-wrapper.pt03 .hamburger-button span:nth-child(1) {
  animation: pt03-hamburger-top 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
body.is-sp-menu-open .design01-component-wrapper.pt03 .hamburger-button span:nth-child(2) {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scaleX(0);
}
body.is-sp-menu-open .design01-component-wrapper.pt03 .hamburger-button span:nth-child(3) {
  animation: pt03-hamburger-bottom 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
body.is-sp-menu-open .design01-component-wrapper.pt03 .sp-overlay-menu {
  opacity: 1;
  visibility: visible;
}
body.is-sp-menu-open .design01-component-wrapper.pt03 .sp-overlay-menu li {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pt03-hamburger-top {
  0% {
    top: 10px;
    transform: rotate(0);
  }
  50% {
    top: 19px;
    transform: rotate(0);
  } /* ステップ1: ギュッと収縮 */
  100% {
    top: 19px;
    transform: rotate(45deg);
  } /* ステップ2: ×に変形 */
}
@keyframes pt03-hamburger-bottom {
  0% {
    top: 28px;
    transform: rotate(0);
  }
  50% {
    top: 19px;
    transform: rotate(0);
  } /* ステップ1: ギュッと収縮 */
  100% {
    top: 19px;
    transform: rotate(-45deg);
  } /* ステップ2: ×に変形 */
}
/* ----------------------------------------
  Component: Recruit Block (design02)
---------------------------------------- */
.design02 .heading-with-icon {
  position: relative;
  display: flex;
  width: 100%;
  margin-bottom: 1%;
}
.design02 .heading-with-icon figure {
  padding-right: 0.5%;
}
.design02 .heading-with-icon figure img {
  width: auto;
  height: 50px;
}
.design02 .heading-with-icon__content {
  flex: 1;
}
.design02 .heading-with-icon__title {
  font-weight: 500;
}
.design02 .heading-with-icon__decoration {
  display: block;
  font-weight: bold;
  padding-left: 0.2%;
  margin-top: -5px;
}

.recruit-block,
.company-block,
.freeform-block {
  width: 100%;
  padding: 1%;
}
.recruit-block__appeals,
.company-block__appeals,
.freeform-block__appeals {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  text-align: center;
  margin-bottom: 20px;
}
@media screen and (max-width: 820px) {
  .recruit-block__appeals,
  .company-block__appeals,
  .freeform-block__appeals {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .recruit-block__appeals,
  .company-block__appeals,
  .freeform-block__appeals {
    grid-template-columns: repeat(3, 1fr);
  }
}
.recruit-block__appeal-tag,
.company-block__appeal-tag,
.freeform-block__appeal-tag {
  display: inline-block;
  background-color: #fdcd0c;
  padding: 4px 0;
  border-radius: 6px;
}
.recruit-block__details,
.company-block__details,
.freeform-block__details {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
@media screen and (max-width: 480px) {
  .recruit-block__details,
  .company-block__details,
  .freeform-block__details {
    display: block;
  }
}
@media screen and (max-width: 480px) {
  .recruit-block__details-main, .recruit-block__details-sub,
  .company-block__details-main,
  .company-block__details-sub,
  .freeform-block__details-main,
  .freeform-block__details-sub {
    width: 100% !important;
  }
}
.recruit-block__details-sub,
.company-block__details-sub,
.freeform-block__details-sub {
  flex: 1;
}

/* ----------------------------------------
  Component: Recruit Info List
---------------------------------------- */
.recruit-info-list,
.company-info-list,
.freeform-info-list {
  display: flex;
  flex-direction: column;
}
.recruit-info-list__item,
.company-info-list__item,
.freeform-info-list__item {
  display: flex;
  border: 1px solid #e0e0e0;
  border-bottom: initial;
}
.recruit-info-list__item:last-child,
.company-info-list__item:last-child,
.freeform-info-list__item:last-child {
  border-bottom: 1px solid #e0e0e0;
}
.recruit-info-list__item dt,
.company-info-list__item dt,
.freeform-info-list__item dt {
  flex: 0 0 120px;
  padding: 16px;
  background-color: #f9f9f9;
  border-right: 1px solid #e0e0e0;
}
.recruit-info-list__item dd,
.company-info-list__item dd,
.freeform-info-list__item dd {
  flex: 1 1 auto;
  padding: 16px;
  line-height: 1.5;
}

.freeform-info-list__item dt {
  flex: 0 0 130px;
}

.design03 .wall-text-area {
  position: relative;
  width: 100%;
}
.design03 .wall-text-area__inner-item {
  display: inline-block;
}
.design03 .heading-with-icon {
  position: relative;
  display: flex;
  width: 100%;
  margin-bottom: 1%;
}
.design03 .heading-with-icon figure {
  padding-right: 0.5%;
}
.design03 .heading-with-icon figure img {
  width: auto;
  height: 50px;
}
.design03 .heading-with-icon__content {
  flex: 1;
}
.design03 .heading-with-icon__title {
  font-weight: 500;
}
.design03 .heading-with-icon__decoration {
  display: block;
  font-weight: bold;
  padding-left: 0.2%;
  margin-top: -5px;
}
.design03 .image-text-block__body-layout {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.design03 .image-text-block__content {
  width: 100%;
  display: grid;
}
.design03 .image-text-block__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  overflow: hidden;
  position: relative;
}
.design03 .image-text-block__item.content-wall::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 背景画像を設定 */
  background-image: var(--content-wall-image);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}
.design03 .image-text-block__item-header {
  width: 100%;
}
.design03 .image-text-block__item-big-title {
  display: block;
  font-weight: 500;
  margin-bottom: 2.5%;
}
.design03 .image-text-block__item-big-title .line02 {
  display: block;
}
.design03 .image-text-block__item-big-title .throwing {
  display: block;
  font-weight: 500;
}
.design03 .image-text-block__item-subtitle {
  display: inline-block;
  font-weight: bold;
}
.design03 .image-text-block__item-subtitle span {
  display: inline-block;
  padding: 0 8px 0 4px;
}
.design03 .image-text-block__item-title {
  display: inline-block;
  font-weight: bold;
}
.design03 .image-text-block__item-figure {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  align-self: stretch;
}
.design03 .image-text-block__image-figure-real {
  align-self: center;
}
.design03 .image-text-block__item-body {
  font-weight: normal;
  text-align: justify;
  line-height: 1.5;
}
.design03 .image-text-block__image {
  border-radius: 8px;
}
.design03 .image-text-block__video-wrapper iframe {
  aspect-ratio: 16/9;
}
.design03 .image-text-block__map-wrpper iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
}
.design03 .image-text-block--image-top .image-text-block__item-figure, .design03 .image-text-block--image-bottom .image-text-block__item-figure {
  height: initial;
  aspect-ratio: 16/9;
}
.design03 .price-list__explanation {
  margin-top: 16px;
  margin-bottom: -3px;
}
.design03 .price-list__items--batch {
  font-weight: bold;
  color: white;
  background-color: red;
  padding: 0 6px;
}
.design03 .price-list__items--price {
  font-weight: bold;
  margin: 0 6px;
}
.design03 .link-btn .btn {
  background-color: var(--l-wall-color);
  color: var(--l-font-color);
  display: inline-block;
  cursor: pointer;
}
.design03 .link-btn .btn:hover {
  background-color: var(--l-wall-hover-color, var(--l-wall-color));
  color: var(--l-font-hover-color, var(--l-font-color));
}
.design03 .link-btn__span {
  color: var(--l-font-color);
  font-weight: bold;
}

@media screen and (max-width: 480px) {
  .design03 {
    /* WebKit系ブラウザ用のスクロールバー非表示（任意） */
  }
  .design03 .container {
    padding: 20px 10px !important;
  }
  .design03 .container.slide-on {
    padding: 40px 10px !important;
  }
  .design03.sp-top {
    height: 90vh;
  }
  .design03.sp-top .image-text-block {
    align-content: flex-end;
    padding-bottom: 30px;
  }
  .design03 .link-btn {
    text-align: center !important;
  }
  .design03 .image-text-block__content {
    padding: 0 !important;
  }
  .design03 .heading-with-icon figure {
    padding-right: 1%;
  }
  .design03 .heading-with-icon figure img {
    height: 40px;
  }
  .design03 .content-scrool {
    position: relative;
    grid-auto-flow: column;
    overflow-x: auto;
    -ms-overflow-style: none; /* IE, Edge */
    scrollbar-width: none; /* Firefox */
  }
  .design03 .content-scrool .image-text-block__item {
    width: 95vw;
  }
  .design03 .content-scrool::-webkit-scrollbar {
    display: none;
  }
  .design03 .wall-text-area {
    text-align: center !important;
  }
  .design03 .grid1 .image-text-block__item-figure {
    width: 100% !important;
    height: initial;
    aspect-ratio: 4/3;
  }
  .design03 .grid1 .image-text-block__item-content {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  .design03 .grid1 .image-text-block__item-big-title {
    padding-bottom: 10px;
  }
  .design03 .grid1 .image-text-block__video-wrapper {
    width: 100% !important;
  }
  .design03 .grid1 .image-text-block__item:not(.content-wall) .image-text-block__item-content {
    width: 100% !important;
  }
  .design03 .grid1 .image-text-block__item:not(.content-wall) .image-text-block__image-figure {
    width: 100% !important;
  }
  .design03 .grid1 .image-text-block__item:not(.content-wall) .image-text-block__image-figure-real {
    width: 100% !important;
  }
}
.design04 .company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  overflow: hidden;
}
.design04 .company-info__logo {
  flex: 0 0 20%;
}
.design04 .company-info__logo-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: initial;
}
.design04 .company-info__details {
  flex: 1;
  padding: 16px;
  min-width: 280px;
}
.design04 .company-info__details-name {
  margin-bottom: 10px;
}
.design04 .company-info__details-name span {
  font-weight: normal;
}
.design04 .company-info__details-name .company-info__office-name {
  margin-top: 4px;
}
.design04 .company-info__meta-zip {
  display: inline-block;
}
.design04 .company-info__meta-tel, .design04 .company-info__meta-fax {
  display: inline-block;
  margin-right: 12px;
}
.design04 .company-info__meta-tel span, .design04 .company-info__meta-fax span {
  font-size: clamp(13px, 12.6341px + 0.0976vw, 14px);
  font-weight: bold;
}
.design04 .company-info__meta-hours {
  display: inline-block;
  padding: 4px 16px;
  margin-top: 10px;
  border-radius: 6px;
}
.design04 .calendar-container {
  display: flex;
  gap: 20px;
  padding: 16px;
  flex-wrap: wrap;
}
.design04 .simple-calendar {
  width: 260px;
}
.design04 .simple-calendar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}
.design04 .simple-calendar__title {
  margin: 0 auto;
}
.design04 .simple-calendar__nav {
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px 6px;
}
.design04 .simple-calendar__nav:hover {
  background-color: #f0f0f0;
}
.design04 .simple-calendar__weekdays, .design04 .simple-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 4px;
}
.design04 .simple-calendar__weekdays {
  padding-bottom: 4px;
}
.design04 .simple-calendar__days > div {
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.design04 .simple-calendar__day-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  line-height: 1;
}
.design04 .company-info__map {
  flex: 1;
  min-width: 300px;
  min-height: 250px;
  margin-left: auto;
}
.design04 .payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.design04 .payment-methods__category {
  border: 1px solid;
  border-radius: 6px;
  padding: 1rem;
  background-color: #fff;
}
.design04 .payment-methods__title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #00537e;
}
.design04 .payment-methods__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.design04 .payment-methods__icons img {
  width: 60px;
  height: 50px;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: initial;
}

@media screen and (max-width: 480px) {
  .design04 {
    padding: 20px 10px !important;
  }
  .design04 .company-info {
    gap: 16px;
  }
  .design04 .company-info__logo {
    flex: 0 0 100%;
  }
  .design04 .company-info__details {
    text-align: center;
  }
  .design04 .calendar-container {
    width: 100%;
    padding: 20px 20px 40px;
    gap: 30px;
  }
  .design04 .simple-calendar {
    width: 100%;
  }
}
.design05.viewer-mode .btn::after {
  position: initial;
}
.design05.viewer-mode .contact-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.design05.viewer-mode .form-item {
  position: relative;
  width: 32%;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
.design05.viewer-mode .form-item.form-item--stretch {
  display: flex;
  flex-direction: column;
}
.design05.viewer-mode .form-item input,
.design05.viewer-mode .form-item textarea {
  background-color: white;
}
.design05.viewer-mode .form-header h2 {
  margin: 0 0 10px;
  text-align: center;
  color: #2c3e50;
}
.design05.viewer-mode .form-header p {
  margin: 0 0 16px;
  text-align: center;
  color: #7f8c8d;
}
.design05.viewer-mode .compact-form-layout .form-group {
  margin: 0 0 4px 0;
}
.design05.viewer-mode .zipcode-group {
  display: flex;
  align-items: center;
}
.design05.viewer-mode .zipcode-group input {
  text-align: center;
  padding: 6px 8px;
}
.design05.viewer-mode .zipcode-group input[name$=zip1] {
  width: 70px;
}
.design05.viewer-mode .zipcode-group__hyphen::after {
  content: "-";
  font-size: 20px;
  padding: 0 8px;
}
.design05.viewer-mode .zipcode-group input[name$=zip2] {
  width: 80px;
}
.design05.viewer-mode .zipcode-group .btn {
  margin-left: 8px;
}
.design05.viewer-mode .compact-form-layout--address {
  display: flex;
  justify-content: space-between;
}
.design05.viewer-mode .compact-form-layout--address .pref {
  width: 29%;
}
.design05.viewer-mode .compact-form-layout--address .city {
  width: 70%;
}
.design05.viewer-mode .form-group {
  margin-bottom: 18px;
}
.design05.viewer-mode .form-group.form-group--fill {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.design05.viewer-mode .form-label {
  display: block;
  margin-bottom: 4px;
  color: #34495e;
}
.design05.viewer-mode .is-required::after {
  content: "必須";
  font-size: 11px;
  font-weight: bold;
  color: white;
  background-color: red;
  border-radius: 20px;
  padding: 2px 12px;
  margin-left: 8px;
}
.design05.viewer-mode input.required-color {
  background-color: #fffbd7;
}
.design05.viewer-mode .form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.design05.viewer-mode .form-input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}
.design05.viewer-mode .form-textarea {
  flex-grow: 1;
  resize: vertical;
  min-height: 150px;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
}
.design05.viewer-mode .multi-uploader__input {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.design05.viewer-mode .multi-uploader__label {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  cursor: pointer;
  border: 2px dashed #bdc3c7;
  border-radius: 8px;
  background-color: #f8f9fa;
  color: #34495e;
  transition: all 0.2s ease-out;
}
.design05.viewer-mode .multi-uploader__label:hover {
  background-color: #ecf0f1;
  border-color: #3498db;
}
.design05.viewer-mode .multi-uploader__preview-container {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.design05.viewer-mode .multi-uploader__preview-item {
  position: relative;
  border: 1px solid #ecf0f1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  z-index: 10;
}
.design05.viewer-mode .multi-uploader__preview-item:hover .multi-uploader__delete-btn {
  opacity: 1;
}
.design05.viewer-mode .multi-uploader__preview-image {
  display: block;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: initial;
}
.design05.viewer-mode .multi-uploader__preview-name {
  display: block;
  padding: 8px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #fff;
}
.design05.viewer-mode .multi-uploader__delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 33px;
  height: 33px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 21px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.design05.viewer-mode .multi-uploader__delete-btn span {
  display: inline-block;
}
.design05.viewer-mode .multi-uploader__delete-btn:hover {
  background-color: rgba(231, 76, 60, 0.9);
}
.design05.viewer-mode .file-uploader__input {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.design05.viewer-mode .file-uploader__label {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  cursor: pointer;
  border: 2px dashed #bdc3c7;
  border-radius: 8px;
  background-color: #f8f9fa;
  color: #34495e;
  transition: all 0.2s ease-out;
}
.design05.viewer-mode .file-uploader__label:hover {
  background-color: #ecf0f1;
  border-color: #3498db;
}
.design05.viewer-mode .file-uploader__delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease-out;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}
.design05.viewer-mode .file-uploader__delete-btn:hover {
  background-color: #e74c3c;
  transform: scale(1.1) rotate(90deg);
}
.design05.viewer-mode .file-uploader__preview-container {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.design05.viewer-mode .file-uploader__preview-item {
  position: relative;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 12px;
  background-color: #f8f9fa;
  transition: background-color 0.2s ease-out;
}
.design05.viewer-mode .file-uploader__preview-item:hover {
  background-color: #eff4f8;
}
.design05.viewer-mode .file-uploader__preview-item:hover .file-uploader__delete-btn {
  opacity: 1;
  transform: scale(1);
}
.design05.viewer-mode .file-uploader__preview-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.design05.viewer-mode .file-uploader__preview-icon .file-icon {
  font-size: 28px;
  line-height: 1;
}
.design05.viewer-mode .file-uploader__preview-name {
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #34495e;
  background-color: transparent;
  height: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}
.design05.viewer-mode .checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.design05.viewer-mode .checkbox-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.design05.viewer-mode .checkbox-label {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 16px;
  color: #34495e;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.design05.viewer-mode .checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #bdc3c7;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease-out;
}
.design05.viewer-mode .checkbox-label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg) scale(0);
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transition: all 0.2s ease-out;
}
.design05.viewer-mode .checkbox-label.required-color::before {
  background-color: #fffbd7;
}
.design05.viewer-mode .checkbox-input:checked + .checkbox-label::before {
  background-color: #3498db;
  border-color: #3498db;
}
.design05.viewer-mode .checkbox-input:checked + .checkbox-label::after {
  transform: translateY(-50%) rotate(45deg) scale(1);
}
.design05.viewer-mode .checkbox-input:focus + .checkbox-label::before {
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}
.design05.viewer-mode .submit-btn {
  width: 100%;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.design05.viewer-mode .submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}
.design05.viewer-mode .submit-btn:active {
  transform: translateY(-1px);
}
.design05.viewer-mode .submit-btn .is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff8f8;
}

@media screen and (max-width: 1024px) {
  .design05 .form-item {
    width: 49.2%;
  }
  .design05 .form-item--stretch {
    width: 49.2% !important;
  }
}
@media screen and (max-width: 480px) {
  .design05 {
    padding: 20px 10px !important;
  }
  .design05 .container {
    padding: 0 !important;
  }
  .design05 .form-item {
    width: 100% !important;
    padding: 20px 16px !important;
    border-radius: 6px;
  }
  .design05 .form-item--stretch {
    width: 100% !important;
  }
}
.inquiry-mail-section .filter-bar {
  display: flex;
  width: 100%;
  flex-grow: 1;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
}
.inquiry-mail-section .filter-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.inquiry-mail-section .filter-bar a {
  padding: 6px 12px;
}
.inquiry-mail-section .search-bar {
  flex-grow: 1;
  padding: 8px 16px;
}
.inquiry-mail-section .search-bar__form {
  display: flex;
  gap: 8px;
}
.inquiry-mail-section .search-bar__form .form-input {
  flex-grow: 1;
}
.inquiry-mail-section .search-bar__form .btn {
  flex-shrink: 0;
}
.inquiry-mail-section .btn.btn--secondary-outline.is-active {
  background-color: #7367f0;
  color: #ffffff;
  border-color: #7367f0;
}
.inquiry-mail-section .pagination {
  display: flex;
  justify-content: center;
  margin: 10px auto;
}
.inquiry-mail-section .pagination__list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.inquiry-mail-section .pagination__link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #ebe9f1;
  border-radius: 6px;
  color: #6e6b7b;
  background-color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.inquiry-mail-section .pagination__link:hover {
  border-color: #7367f0;
  color: #7367f0;
}
.inquiry-mail-section .pagination .pagination__item.is-active .pagination__link {
  background-color: #7367f0;
  color: #ffffff;
  border-color: #7367f0;
  font-weight: 700;
  pointer-events: none;
}
.inquiry-mail-section .pagination .pagination__item.is-disabled .pagination__link {
  color: #6c757d;
  background-color: #f1f3f5;
  pointer-events: none;
  opacity: 0.7;
}
.inquiry-mail-section .mail-grid-container {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 10px;
}
.inquiry-mail-section .mail-grid-container .notification {
  padding: 16px;
}
.inquiry-mail-section .mail-grid-container .notification__widget {
  font-size: 13px;
  height: 500px;
  overflow-y: auto;
}
.inquiry-mail-section .mail-grid-container .notification-item {
  display: block;
  padding-bottom: 6px;
  border-bottom: dotted 1px;
  margin-bottom: 6px;
}
.inquiry-mail-section .mail-grid-container .notification-item__timestamp {
  display: block;
}
.inquiry-mail-section .inquiry-mail__container .inquiry-mail__item + .inquiry-mail__item {
  border-top: 1px solid #ebe9f1;
}
.inquiry-mail-section .inquiry-mail__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  padding: 16px 24px;
}
.inquiry-mail-section .inquiry-mail__header, .inquiry-mail-section .inquiry-mail__subject-line, .inquiry-mail-section .inquiry-mail__contact-info {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.inquiry-mail-section .inquiry-mail__header {
  justify-content: space-between;
}
.inquiry-mail-section .inquiry-mail__sender-info {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: #6e6b7b;
}
.inquiry-mail-section .inquiry-mail__sender-info .fa-paperclip {
  color: #6c757d;
}
.inquiry-mail-section .inquiry-mail__company, .inquiry-mail-section .inquiry-mail__department, .inquiry-mail-section .inquiry-mail__job-title {
  font-weight: 700;
}
.inquiry-mail-section .inquiry-mail__person-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5e5873;
}
.inquiry-mail-section .inquiry-mail__datetime {
  font-size: 1.2rem;
  color: #6c757d;
}
.inquiry-mail-section .inquiry-mail__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.inquiry-mail-section .inquiry-mail__actions .btn {
  font-size: 1.2rem;
  padding: 2px 10px;
}
.inquiry-mail-section .inquiry-mail__receipt-no {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  padding: 0 10px;
  border-radius: 16px;
  flex-shrink: 0;
}
.inquiry-mail-section .inquiry-mail__receipt-no.unread {
  background-color: #7367f0;
  box-shadow: 0 0 8px rgba(115, 103, 240, 0.5);
}
.inquiry-mail-section .inquiry-mail__receipt-no.pending {
  background-color: #ffc107;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
}
.inquiry-mail-section .inquiry-mail__receipt-no.resolved {
  background-color: #6c757d;
  opacity: 0.6;
}
.inquiry-mail-section .inquiry-mail__url-slug {
  font-size: 1.2rem;
  font-weight: 700;
  color: #6e6b7b;
  background-color: #f0f2f5;
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.inquiry-mail-section .inquiry-mail__url-slug:hover {
  text-decoration: underline;
  background-color: #e6e9ed;
}
.inquiry-mail-section .inquiry-mail__subject, .inquiry-mail-section .inquiry-mail__subject-link {
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
}
.inquiry-mail-section .inquiry-mail__subject.unread, .inquiry-mail-section .inquiry-mail__subject-link.unread {
  color: #7367f0;
}
.inquiry-mail-section .inquiry-mail__subject.pending, .inquiry-mail-section .inquiry-mail__subject-link.pending {
  color: #ffc107;
}
.inquiry-mail-section .inquiry-mail__subject.resolved, .inquiry-mail-section .inquiry-mail__subject-link.resolved {
  color: #6e6b7b;
}
.inquiry-mail-section .inquiry-mail__subject-link:hover {
  text-decoration: underline;
}
.inquiry-mail-section .inquiry-mail__contact-info {
  font-size: 1.3rem;
  color: #6c757d;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}
.inquiry-mail-section .inquiry-mail__contact-info i {
  margin-right: 0.4rem;
}
.inquiry-mail-section .inquiry-mail__empty {
  width: 100%;
  padding: 64px 32px;
  text-align: center;
  color: #6c757d;
}
.inquiry-mail-section .inquiry-mail__empty .fa-regular {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0.5;
}
.inquiry-mail-section .inquiry-mail__response-time {
  font-size: 12px;
}

@media screen and (max-width: 480px) {
  .inquiry-mail-section .mail-grid-container {
    display: block;
  }
  .inquiry-mail-section .mail-grid-container .notification {
    height: 200px;
  }
  .inquiry-mail-section .monitor {
    width: 100%;
  }
  .inquiry-mail-section .inquiry-mail__item {
    padding: 16px;
  }
  .inquiry-mail-section .inquiry-mail__header, .inquiry-mail-section .inquiry-mail__subject-line, .inquiry-mail-section .inquiry-mail__contact-info {
    gap: 0;
    flex-wrap: wrap;
  }
  .inquiry-mail-section .inquiry-mail__sender-info {
    gap: 0 6px;
  }
  .inquiry-mail-section .inquiry-mail__company, .inquiry-mail-section .inquiry-mail__department, .inquiry-mail-section .inquiry-mail__job-title {
    font-size: 14px;
  }
  .inquiry-mail-section .inquiry-mail__person-name {
    font-size: 16px;
  }
  .inquiry-mail-section .inquiry-mail__assignees {
    width: 100%;
    font-size: 12px;
  }
  .inquiry-mail-section .inquiry-mail__datetime {
    width: 32%;
  }
  .inquiry-mail-section .inquiry-mail__response-time {
    flex: 1;
  }
  .inquiry-mail-section .inquiry-mail__actions {
    width: 100%;
    justify-content: center;
    margin: 10px auto;
  }
  .inquiry-mail-section .inquiry-mail__actions .btn {
    font-size: 14px;
    padding: 4px 16px;
  }
  .inquiry-mail-section .inquiry-mail__receipt-no {
    font-size: 12px;
  }
  .inquiry-mail-section .inquiry-mail__subject-line {
    gap: 6px;
  }
  .inquiry-mail-section .inquiry-mail__subject {
    font-size: 12px;
  }
  .inquiry-mail-section .inquiry-mail__contact-group {
    width: 100%;
  }
  .inquiry-mail-section .inquiry-mail__contact-group.tel {
    font-size: 16px;
    font-weight: bold;
  }
}
/* =================================================================== */
/*  管理者用 詳細画面 SCSS                                           */
/*  (program/inquiryMail/scss/_inquiry-detail.scss)                    */
/*  【最終完成版】                                                   */
/* =================================================================== */
.mail-detail .page-header {
  margin-bottom: 16px;
}
.mail-detail .page-header__title {
  font-size: 24px;
}
.mail-detail .page-header__subtitle {
  margin: 0;
}

.inquiry-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.inquiry-chat-area {
  grid-column: 1/2;
}

.inquiry-action-area {
  grid-column: 2/3;
  position: sticky;
  top: 80px;
}
.inquiry-action-area .card__header {
  padding: 24px 24px 12px;
}
.inquiry-action-area .card__title {
  font-size: 16px;
}

.inquiry-same-address-area {
  margin-top: 10px;
}
.inquiry-same-address-area .card__header {
  padding: 24px 24px 12px;
}
.inquiry-same-address-area h2 {
  font-size: 16px;
}
.inquiry-same-address-area .non-list {
  font-size: 12px;
  color: #6c757d;
}

.chat-interface {
  background-color: #ffffff;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 rgba(115, 103, 240, 0.06);
  transition: all 0.3s ease-in-out;
}
.chat-interface:hover {
  box-shadow: 0 8px 24px 0 rgba(115, 103, 240, 0.2);
}
.chat-interface__timeline {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.related-threads-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-thread-item {
  display: block;
  padding: 8px 16px;
  border: 1px solid #ebe9f1;
  border-radius: 8px;
  text-decoration: none;
  color: #6e6b7b;
  transition: background-color 0.2s;
}
.related-thread-item:hover {
  background-color: #f9f9f9;
}
.related-thread-item__subject {
  font-size: 14px;
}
.related-thread-item__receipt {
  font-weight: 700;
}
.related-thread-item__timestamp {
  font-size: 1.2rem;
  color: #6c757d;
}

.tab-ui {
  display: flex;
  margin-bottom: 16px;
}
.tab-ui__radio {
  display: none;
}
.tab-ui__label {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border: 1px solid #ebe9f1;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #6c757d;
}
.tab-ui__label:first-of-type {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border-right: none;
}
.tab-ui__label:last-of-type {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.tab-ui__radio:checked + .tab-ui__label {
  background-color: #7367f0;
  color: white;
  border-color: #7367f0;
}

.form-textarea {
  width: 100%;
  border-radius: 6px;
  padding: 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.card__footer--separated {
  border-top: 1px solid #eee;
}

.inquiry-status-badge {
  font-weight: bold;
  padding: 16px;
  border-radius: 6px;
}
.inquiry-status-badge.is-completed {
  color: #28a745;
  background-color: #e9f5ec;
}

.card__subtitle {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}
.card__subtitle span {
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-top: 2px;
}

.assignee-list {
  margin-bottom: 12px;
}

.assignee-item {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
}
.assignee-item:not(:last-child) {
  margin-bottom: 4px;
}
.assignee-item__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 8px;
}
.assignee-item__name {
  flex-grow: 1;
  font-size: 14px;
}
.assignee-item__remove-form {
  margin: 0;
}

.btn-remove {
  border: none;
  background: #eee;
  color: #888;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 22px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-remove:hover {
  background: #e57373;
  color: white;
}

.assignee-add-form {
  display: flex;
  gap: 8px;
}
.assignee-add-form .form-select {
  flex-grow: 1;
  border-radius: 6px;
  padding: 8px;
}

@media screen and (max-width: 480px) {
  .mail-detail .l-admin-layout__main {
    width: 100%;
    padding: 16px 10px;
    box-sizing: border-box;
  }
  .mail-detail .inquiry-detail-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .mail-detail .inquiry-chat-area .chat-interface__timeline {
    padding: 12px;
  }
  .mail-detail .inquiry-action-area {
    position: initial;
    width: 100%;
  }
  .mail-detail .inquiry-action-area .btn--primary {
    font-size: 16px;
  }
  .mail-detail .card__header {
    padding: 16px 16px 8px;
  }
  .mail-detail .card__title {
    font-size: 16px;
  }
  .mail-detail .card__body {
    padding: 16px;
  }
  .mail-grid-container {
    display: block;
  }
  .mail-grid-container .notification {
    margin-bottom: 10px;
  }
  .mail-grid-container .notification__widget {
    height: 250px;
  }
}
.chat-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chat-item {
  display: flex;
  gap: 16px;
  max-width: 90%;
}
.chat-item__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ebe9f1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chat-item__avatar i {
  font-size: 2.4rem;
  color: #6c757d;
  padding: 0;
}
.chat-item__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.chat-item__content {
  flex-grow: 1;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #ebe9f1;
  padding: 8px 16px;
}
.chat-item__content.is-highlighted {
  animation: highlight-fade 3s ease-out;
  border-radius: 8px;
}
.chat-item__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.chat-item__author {
  font-weight: 700;
  color: #5e5873;
}
.chat-item__timestamp {
  font-size: 1.2rem;
  color: #6c757d;
}
.chat-item__body {
  font-size: 1.4rem;
  word-break: break-word;
}
.chat-item__body p {
  margin: 0;
}
.chat-item__body p + p {
  margin-top: 1em;
}

.chat-item--customer {
  align-self: flex-start;
}
.chat-item--customer .chat-item__content {
  background-color: #f0f2f5;
}

.chat-item--staff {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.chat-item--staff.is-private .chat-item__content {
  background-color: #f0fff0;
  border-color: #b2e0b2;
}

.admin-status-indicator,
.customer-status-indicator {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: white;
  border-radius: 20px;
  padding: 2px 16px;
  margin-bottom: 4px;
}
.admin-status-indicator.is-online,
.customer-status-indicator.is-online {
  background-color: blue;
}
.admin-status-indicator.is-typing,
.customer-status-indicator.is-typing {
  background-color: green;
}
.admin-status-indicator.is-offline,
.customer-status-indicator.is-offline {
  background-color: gray;
}

.attachment-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.attachment-list__title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
}
.attachment-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.attachment-list li {
  width: 100%;
}

.attachment-item {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  background-color: #f7f7f7;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease-in-out;
}
.attachment-item:hover {
  background-color: #efefef;
}
.attachment-item__thumbnail {
  width: 40px;
  height: 40px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
  margin-right: 12px;
  border: 1px solid #ddd;
}
.attachment-item__icon {
  font-size: 20px;
  width: 40px;
  text-align: center;
  margin-right: 12px;
  color: #888;
}
.attachment-item__name {
  flex-grow: 1;
  font-size: 14px;
}
.attachment-item__size {
  font-size: 12px;
  color: #777;
  margin-left: 8px;
  white-space: nowrap;
}

.inquiry-full-details {
  margin-top: 16px;
}
.inquiry-full-details summary {
  cursor: pointer;
  font-weight: bold;
  color: var(--c-primary);
}
.inquiry-full-details summary:hover {
  text-decoration: underline;
}
.inquiry-full-details dl {
  margin-top: 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.inquiry-full-details dt,
.inquiry-full-details dd {
  padding: 8px 12px;
  font-size: 14px;
}
.inquiry-full-details dt {
  background-color: #f7f7f7;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding: 2px 12px;
}
.inquiry-full-details dd {
  margin: 0;
  border-bottom: 1px solid #eee;
  word-break: break-all;
  padding: 2px 12px 6px;
}
.inquiry-full-details dt:last-of-type,
.inquiry-full-details dd:last-of-type {
  border-bottom: none;
}

.chat-item__header {
  position: relative;
  padding-right: 120px;
}

.chat-item__edited-badge {
  font-size: 1rem;
  color: #dc143c;
  margin-left: 8px;
}

.chat-item__actions {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.2s;
}

.chat-item:hover .chat-item__actions {
  opacity: 1;
}

.btn-action {
  font-size: 12px !important;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 1rem;
  cursor: pointer;
}
.btn-action:hover {
  background-color: #e9ecef;
}
.btn-action.btn-action--delete {
  color: #dc3545;
}

.d-inline {
  display: inline;
}

.chat-item__edit-form {
  margin-top: 16px;
}
.chat-item__edit-form .form-textarea {
  width: 100%;
  font-size: 1.4rem;
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 8px;
}
.chat-item__edit-form .edit-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.edit-attachment-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dee2e6;
}
.edit-attachment-list__title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #495057;
  margin-bottom: 8px;
}
.edit-attachment-list__item {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 4px;
}
.edit-attachment-list__item:hover {
  background-color: #f5f5f5;
}
.edit-attachment-list__thumbnail {
  width: 10%;
  border-radius: 6px;
}
.edit-attachment-list input[type=checkbox]:checked ~ .attachment-name {
  text-decoration: line-through;
  color: #999;
}
.edit-attachment-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.edit-attachment-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}
.edit-attachment-list .attachment-name {
  font-size: 1.4rem;
}
.edit-attachment-list .attachment-instruction {
  font-size: 1rem;
  color: #dc3545;
}

@media screen and (max-width: 480px) {
  .chat-item {
    gap: 4px;
    max-width: 95%;
  }
  .chat-item__actions button {
    font-size: 16px !important;
  }
  .chat-item__avatar {
    width: 30px;
    height: 30px;
  }
  .chat-item__avatar i {
    font-size: 1.8rem;
  }
  .chat-item__header {
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
  }
  .chat-item__author {
    font-size: 1.4rem;
  }
  .chat-item__timestamp {
    display: inline-block;
  }
  .chat-item__edited-badge {
    display: inline-block;
    font-size: 1.2rem;
    align-self: flex-end;
    margin: 0;
  }
  .chat-item__actions {
    position: initial;
    width: 100%;
    margin-top: 10px;
    gap: 4px;
  }
  .chat-item__body {
    font-size: 1.6rem;
  }
}
.attachment-upload-area {
  position: relative;
}
.attachment-upload-area label {
  font-size: 1.2rem;
  cursor: pointer;
}

.btn::after {
  pointer-events: none; /* <-- こちらを追加 */
}

.attachment-preview-container {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  animation: fadeIn 0.3s ease-in-out;
}
.preview-item__thumbnail {
  width: 40px;
  height: 40px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 3px;
  border: 1px solid #ddd;
}
.preview-item__icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #555;
}
.preview-item__name {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-item__remove {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #999;
  padding: 0 4px;
  transition: color 0.2s;
}
.preview-item__remove:hover {
  color: #e53935;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.btn::after {
  pointer-events: none; /* <-- こちらを追加 */
}

.l-admin-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "header header" "sidebar main";
  min-height: 100vh;
}
.l-admin-layout__header {
  grid-area: header;
  position: sticky;
  top: 0;
  z-index: 100;
}
.l-admin-layout__sidebar {
  grid-area: sidebar;
  position: sticky;
  top: var(--header-height, 64px);
  height: calc(100vh - var(--header-height, 64px));
  overflow-y: auto;
}
.l-admin-layout__main {
  grid-area: main;
  padding: 24px;
  background-color: #f4f7f9;
}

@media (max-width: 1024px) {
  .l-admin-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "main";
  }
  .l-admin-layout__sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    z-index: 200;
    transition: left 0.3s ease-in-out;
  }
  .l-admin-layout__sidebar.is-open {
    left: 0;
  }
}