@charset "UTF-8";
:root {
  overflow-wrap: anywhere;
  line-break: strict;
}

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

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover,
a:focus {
  opacity: 0.7;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* リキッドレイアウト対応 */
.u-desktop {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-desktop {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .u-mobile {
    display: none;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

html {
  font-size: 16px;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.3559322034vw;
  }
}
@media (min-width: 1180px) {
  html {
    font-size: 16px;
  }
}

/* ハンバーガーメニュー開閉時のスクロール制御 */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.comment__wrapper {
  margin-top: 5.625rem;
  padding-bottom: 3.125rem;
}
@media screen and (min-width: 768px) {
  .comment__wrapper {
    padding-bottom: 6.25rem;
  }
}

.comment__title-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.comment__title-wrapper span {
  content: "";
  background-color: #707070;
  height: 1px;
  width: 100%;
  transform: translateY(-50%);
  margin-left: 0.75rem;
}

.comment__title {
  color: #000;
  font-size: 1.25rem;
  position: relative;
  flex-shrink: 0;
  margin-left: 0.625rem;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .comment__title {
    font-size: 1.875rem;
  }
}

.comment__title__icon {
  flex-shrink: 0;
  width: 3.125rem;
  height: 3.125rem;
}

.comment-form {
  overflow: hidden;
}
.comment-form__header {
  margin-top: 1rem;
}
.comment-form__header h5 {
  margin: 0;
  color: #495057;
  font-size: 1rem;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .comment-form__header h5 {
    font-size: 1.125rem;
  }
}
.comment-form__textarea {
  margin-top: 0.5rem;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 18.75rem;
  font-family: inherit;
  padding: 0.625rem 0.625rem;
}
@media screen and (min-width: 768px) {
  .comment-form__textarea {
    padding: 1.25rem 1.25rem;
    font-size: 1rem;
  }
}
.comment-form__textarea::-moz-placeholder {
  color: #999;
}
.comment-form__textarea::placeholder {
  color: #999;
}
.comment-form__actions {
  display: flex;
  justify-content: flex-end;
}
.comment-form__submit-btn {
  margin-top: 1.25rem;
  background: #005158;
  color: white;
  border: none;
  padding: 0.625rem 2.25rem;
  cursor: pointer;
  font-size: 1.125rem;
  transition: background-color 0.2s ease;
}
.comment-form__submit-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}

.comment-list {
  margin-top: 6.25rem;
}
.comment-list__loading, .comment-list__empty {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}
.comment-list__empty {
  background: #f8f9fa;
  border-radius: 6px;
  border: 2px dashed #ddd;
}
.comment-list__empty i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ccc;
  display: block;
}
.comment-list__empty p {
  margin: 0;
}
.comment-list__loading i {
  color: #3498db;
  margin-right: 0.5rem;
}

.comment-item {
  background: #f7f7f7;
  border: 1px solid #707070;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease;
}
.comment-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.comment-item:last-child {
  margin-bottom: 0;
}
.comment-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6c757d;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #707070;
}
.comment-item__user {
  display: flex;
  align-items: center;
  font-weight: 500;
}
.comment-item__user i {
  margin-right: 0.5rem;
  color: #495057;
}
.comment-item__username {
  color: #495057;
}
.comment-item__date {
  display: flex;
  align-items: center;
}
.comment-item__date i {
  margin-right: 0.5rem;
}
.comment-item__edited {
  color: #e67e22;
  font-style: italic;
  margin-left: 0.5rem;
}
.comment-item__content {
  color: #2c3e50;
  line-height: 1.6;
  margin-top: 1rem;
}
.comment-item__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: right;
}

.comment-action-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6c757d;
}
.comment-action-btn:hover {
  background: #f8f9fa;
}
.comment-action-btn i {
  margin-right: 0.25rem;
}

.comment-edit-btn {
  border-color: #575757;
  color: #575757;
}

.comment-delete-btn {
  color: #B20000;
  border-color: #B20000;
}

.comment-edit-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comment-edit-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.comment-edit-modal__content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  position: relative;
  z-index: 1;
  max-height: 80vh;
  overflow: auto;
}
.comment-edit-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
}
.comment-edit-modal__header h5 {
  margin: 0;
  color: #495057;
  font-size: 1.1rem;
}
.comment-edit-modal__close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #6c757d;
  padding: 0.25rem;
}
.comment-edit-modal__close:hover {
  color: #495057;
}
.comment-edit-modal__body {
  padding: 1.25rem;
}
.comment-edit-modal__textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.comment-edit-modal__textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.comment-edit-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #e0e0e0;
  background: #f8f9fa;
}
.comment-edit-modal__save, .comment-edit-modal__cancel {
  border: none;
  border-radius: 4px;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}
.comment-edit-modal__save i, .comment-edit-modal__cancel i {
  margin-right: 0.5rem;
}
.comment-edit-modal__save {
  background: #27ae60;
  color: white;
}
.comment-edit-modal__save:hover:not(:disabled) {
  background: #229954;
}
.comment-edit-modal__save:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}
.comment-edit-modal__cancel {
  background: #6c757d;
  color: white;
}
.comment-edit-modal__cancel:hover {
  background: #5a6268;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
  z-index: 1100;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 300px;
  border-left: 4px solid #17a2b8;
}
.notification--show {
  transform: translateX(0);
  opacity: 1;
}
.notification--success {
  border-left-color: #28a745;
}
.notification--error {
  border-left-color: #dc3545;
}
.notification--warning {
  border-left-color: #ffc107;
}

@media screen and (min-width: 768px) {
  .comment-edit-modal__content {
    width: 95%;
    margin: 1rem;
  }
  .comment-edit-modal__actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .comment-edit-modal__actions button {
    width: 100%;
  }
  .notification {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}
.file-item__thumbnail {
  position: relative;
}
.file-item__thumbnail:hover .file-thumbnail-actions {
  opacity: 1;
}

.file-thumbnail-actions {
  position: absolute;
  top: 5px;
  right: 5px;
  gap: 5px;
  display: flex;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.file-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.file-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.file-action-btn:active {
  transform: translateY(0);
}
.file-action-btn i {
  font-size: 12px;
}

.file-download-btn {
  background: #28a745;
}
.file-download-btn:hover {
  background: #218838;
  color: white;
}

.file-view-btn {
  display: none;
  background: #007bff;
}
.file-view-btn:hover {
  background: #0056b3;
  color: white;
}

.file-action-btn i.fa-external-link-alt {
  font-size: 11px;
}

.file-view-link, .file-view-btn {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: inherit;
  color: inherit;
  font: inherit;
}
.file-view-link:hover, .file-view-btn:hover {
  text-decoration: underline;
}

button.file-item__title {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
  margin-bottom: inherit;
  line-height: inherit;
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
  text-align: left;
}

button.file-thumbnail-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
button.file-thumbnail-link:hover {
  transform: scale(1.02);
}

.file-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}
.file-icon-container .file-icon {
  font-size: 24px;
  margin-bottom: 4px;
}
.file-icon-container .file-extension {
  font-size: 10px;
  color: white;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: bold;
  line-height: 1;
}

.file-type-pdf .file-icon-container {
  background: #fff5f5;
  border-color: #fed7e2;
}

.file-type-doc .file-icon-container {
  background: #f7faff;
  border-color: #bee3f8;
}

.file-type-xls .file-icon-container {
  background: #f0fff4;
  border-color: #c6f6d5;
}

.file-type-ppt .file-icon-container {
  background: #fffaf0;
  border-color: #fbd38d;
}

.file-type-image .file-icon-container {
  background: #faf5ff;
  border-color: #e9d8fd;
}

.file-type-video .file-icon-container {
  background: #fff5f7;
  border-color: #fed7e2;
}

.file-type-audio .file-icon-container {
  background: #fffbf0;
  border-color: #fbd38d;
}

.file-type-archive .file-icon-container {
  background: #faf5ff;
  border-color: #e9d8fd;
}

.file-type-text .file-icon-container {
  background: #f7fafc;
  border-color: #e2e8f0;
}

.file-type-csv .file-icon-container {
  background: #f0fff4;
  border-color: #c6f6d5;
}

.file-type-html .file-icon-container {
  background: #fffbf0;
  border-color: #fbd38d;
}

.file-type-js .file-icon-container {
  background: #ffffcc;
  border-color: #ffeb3b;
}

.file-type-css .file-icon-container {
  background: #f0f4ff;
  border-color: #b3d4fc;
}

.file-type-php .file-icon-container {
  background: #f5f3ff;
  border-color: #d1c7ff;
}

.file-type-xml .file-icon-container {
  background: #fff5f0;
  border-color: #ffb89a;
}

@media (max-width: 768px) {
  .file-thumbnail-actions {
    opacity: 1;
  }
  .file-action-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .file-action-btn i {
    font-size: 10px;
  }
  .file-icon-container {
    width: 60px;
    height: 60px;
  }
  .file-icon-container .file-icon {
    font-size: 18px;
  }
  .file-icon-container .file-extension {
    font-size: 8px;
  }
}
.upload-progress {
  width: 100%;
  height: 4px;
  background-color: #e9ecef;
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.upload-progress.active {
  opacity: 1;
}
.upload-progress .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.upload-btn {
  transition: all 0.3s ease;
}
.upload-btn.uploading {
  background-color: #ffc107;
  color: #212529;
  cursor: wait;
}
.upload-btn.uploading:hover {
  background-color: #e0a800;
}
.upload-btn.success {
  background-color: #28a745;
  color: white;
}
.upload-btn.success:hover {
  background-color: #218838;
}

.file-viewer-page .file-item__thumbnail:hover .file-thumbnail-actions {
  opacity: 1;
}

/* ハンバーガーメニューボタン */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 48px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger__line {
  /* 絶対配置にして正確に中央へ集められるようにする */
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: 6px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: top 0.28s ease, transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
  /* 初期の3本の位置 */
}
.hamburger__line:nth-child(1) {
  top: 0px; /* 上寄せ */
}
.hamburger__line:nth-child(2) {
  top: calc(50% - 3px); /* 中央 */
}
.hamburger__line:nth-child(3) {
  bottom: 0px; /* 下寄せ */
}

/* ハンバーガーメニューアクティブ時 */
.hamburger.is-active {
  /* 1本目と3本目を中央へ寄せて回転させ、2本目は消す */
}
.hamburger.is-active .hamburger__line:nth-child(1) {
  top: calc(50% - 1.5px);
  transform: rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  /* bottom から top に切り替えて中央へ揃える（bottom を上書きして top 指定） */
  bottom: auto;
  top: calc(50% - 1.5px);
  transform: rotate(-45deg);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background-color: #005158;
}
@media screen and (min-width: 768px) {
  .header {
    padding: 0 3.125rem;
  }
}

.header__logo {
  aspect-ratio: 200/100;
  width: 12.5rem;
  height: 7.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.header__nav {
  display: none;
}
@media screen and (min-width: 768px) {
  .header__nav {
    display: block;
  }
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav li {
  background: #f1e767;
  background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
  border-radius: 0.5rem;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.header__nav li:hover {
  opacity: 0.8;
}

.header__nav a {
  padding: 0.75rem 1.25rem;
  display: block;
  font-weight: 700;
}

.header__user-name {
  font-size: 0.875rem;
  color: #707070;
  margin-top: 0.5rem;
  display: block;
  text-align: right;
  padding: 0 1.5rem;
}

.header__user-name--sp-nav {
  color: #fff;
  padding: 0;
}

.inner {
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  .inner {
    max-width: 1230px;
    padding-right: 25px;
    padding-left: 25px;
  }
}

/* スマートフォン用ナビゲーション */
.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
@media screen and (min-width: 768px) {
  .sp-nav {
    width: 43.4027777778%;
    max-width: 625px;
    max-height: 1000px;
    right: 0;
    left: auto;
  }
}

.sp-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.sp-nav__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.sp-nav__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #005158;
  padding: 6.25rem 1.25rem 1.25rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sp-nav.is-open .sp-nav__content {
  transform: translateY(0);
}

.sp-nav__inner {
  max-width: 675px;
  margin: 0 auto;
  margin-top: 1.40625rem;
}

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

.sp-nav__item {
  border-bottom: 1px solid #e5e5e5;
}

.sp-nav__item:last-child {
  border-bottom: none;
}

.sp-nav__link {
  display: block;
  padding: 1rem 0;
  color: #333333;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.sp-nav__link:hover {
  color: #f1e767;
}

.user-registration#user-registration {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.user-registration-register {
  display: none;
}

.user-registration-form__label.user-registration-form__label-for-checkbox.inline {
  color: #2f5eaa;
}

.mv {
  position: relative;
  display: none;
}
@media screen and (min-width: 768px) {
  .mv {
    display: block;
  }
}

.mv--single {
  background-color: rgba(0, 0, 0, 0.5);
}

.mv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}

.mv__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mv__title {
  padding: 2.8125rem 0 2.8125rem;
  text-align: center;
  color: #fff;
  font-size: 6.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mv__title--top {
  font-family: "Syne", sans-serif;
}

.mv__title__wrapper {
  display: flex;
  align-items: center;
}

.mv__title__icon {
  width: 5rem;
  height: 15rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  flex-shrink: 0;
}

.mv__title__wrapper .mv__title {
  font-size: 2.25rem;
  margin-left: 1.75rem;
  padding: 0;
}

.mv__title__text-wrapper {
  margin-left: 1.75rem;
}

.mv__title__text-wrapper .mv__title {
  margin-left: 0;
}

.mv__title__number {
  color: #fff;
  font-size: 1.25rem;
}

.mv__date {
  color: #fff;
  font-size: 1.25rem;
}

.mv-title--single {
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
}

.sp-title__wrapper {
  margin-top: 1.875rem;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .sp-title__wrapper {
    display: none;
  }
}

.sp-title__img {
  aspect-ratio: 1/1;
  width: 16.8%;
  max-width: 80px;
  display: flex;
}

.sp-title__text-wrapper {
  display: flex;
  flex-direction: column;
  margin-left: 4.48%;
}

.sp-title__text-wrapper .sp-title__title {
  font-size: clamp(1rem, 0.625rem + 1.6vw, 1.25rem);
  margin-left: 0;
}

.sp-title__title {
  font-weight: 700;
  font-size: clamp(1.25rem, -0.25rem + 6.4vw, 2.25rem);
  margin-left: 4.48%;
}

.sp-title__number {
  color: #575757;
  font-size: clamp(1rem, 0.625rem + 1.6vw, 1.25rem);
}

.status-toggle {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 6.25rem;
  aspect-ratio: 150/50;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid #005158;
  background: #ffffff;
  box-shadow: none;
}

.status-toggle .toggle-label {
  position: relative;
  z-index: 2;
  color: #005158;
  font-weight: 400;
  font-size: 1rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.status-toggle .toggle-thumb {
  position: absolute;
  z-index: 1;
  top: calc(50% - 1.833125rem / 2);
  left: 2px;
  width: 1.833125rem;
  height: 1.833125rem;
  border-radius: 50%;
  background: #ffffff;
  transition: left 0.22s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.18s, box-shadow 0.18s;
  border: 1px solid #707070;
}

.status-toggle.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* 完了状態: トラック濃い、文字白、ノブ白 */
.status-toggle.state-done {
  background: linear-gradient(180deg, #005158, #005158);
}

.status-toggle.state-done .toggle-label {
  color: #fff;
  margin-left: auto;
  padding-right: 1rem;
}

.status-toggle.state-done .toggle-thumb {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* 稼働中状態: トラック白（枠あり）、文字ティール、ノブ濃いティール */
.status-toggle.state-progress {
  background: #F0F0F0;
  border-color: #005158;
}

.status-toggle.state-progress .toggle-label {
  color: #005158;
  margin-right: auto;
  padding-left: 0.625rem;
}

.status-toggle.state-progress .toggle-thumb {
  background: #005158;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 6px 12px rgba(4, 75, 71, 0.22);
}

.status-toggle:not(.state-done) .toggle-thumb {
  left: calc(100% - 1.833125rem - 2px);
}

.thumbnail-change {
  cursor: pointer;
  flex-shrink: 0;
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 1.5625rem;
  padding: 0.5rem 0.75rem;
}
@media screen and (min-width: 768px) {
  .thumbnail-change {
    padding: 0.9375rem 1.25rem;
  }
}

.genba-add__title {
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .genba-add__title {
    margin-top: 1.875rem;
    font-size: 2rem;
  }
}

.wpuf-submit-button {
  cursor: pointer;
}

.wpuf-form-add.wpuf-form-layout1.wpuf-style {
  margin-top: 1.875rem;
  padding-top: 2.5rem;
  border-top: 1px solid #707070;
}
@media screen and (min-width: 768px) {
  .wpuf-form-add.wpuf-form-layout1.wpuf-style {
    border: none;
    padding-top: 0;
  }
}

.wpuf-el.post_title {
  padding: 0rem 0.625rem;
}

body ul.wpuf-form.form-label-above li .wpuf-label {
  font-weight: normal;
  margin-bottom: 0.125rem;
  font-size: 1.25rem;
}

.textfield.wpuf_post_title_15 {
  height: 3.75rem;
  border: 1px solid #707070 !important;
  width: 100% !important;
  font-size: 1.25rem;
}
@media screen and (min-width: 768px) {
  .textfield.wpuf_post_title_15 {
    max-width: 540px;
  }
}

.wpuf-submit-button.wpuf_submit_15 {
  background-color: #005158 !important;
  color: #fff !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 240px;
  font-size: 1.25rem !important;
}
@media screen and (min-width: 768px) {
  .wpuf-submit-button.wpuf_submit_15 {
    margin-left: 0;
  }
}

.genba-delete {
  padding-top: 1.25rem;
  border-top: 1px solid #707070;
  margin-top: 1.875rem;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .genba-delete {
    border: none;
    padding-top: 0;
  }
}
.genba-delete__status-buttons {
  display: flex;
  gap: 1rem;
}
.genba-delete__status-buttons .status-btn {
  padding: 0.625rem 1.25rem;
  border: 1px solid #005158;
  background-color: #fff;
  color: #005158;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 17.1875rem;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  .genba-delete__status-buttons .status-btn {
    font-size: 1.125rem;
  }
}
.genba-delete__status-buttons .status-btn.active {
  background-color: #005158;
  color: #fff;
}
.genba-delete__status-buttons .status-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.genba-delete__list {
  margin-top: 0.9375rem;
  min-height: 200px;
}
.genba-delete__list .loading {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 1.1rem;
}
.genba-delete__items {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media screen and (min-width: 768px) {
  .genba-delete__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.875rem;
    gap: 1.25rem;
  }
}
.genba-delete__item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.1875rem 0.625rem 1.25rem 1.25rem;
  border: 1px solid #ddd;
  background-color: rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease;
}
@media screen and (min-width: 768px) {
  .genba-delete__item {
    padding: 5rem 1.875rem 5.3125rem 1.25rem;
  }
}
.genba-delete__item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.genba-delete__item-info {
  flex: 1;
}
.genba-delete__item-title {
  font-size: clamp(1rem, 0.25rem + 3.2vw, 1.5rem);
  font-weight: bold;
  color: #fff;
  /* 多行省略（2行まで） */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.genba-delete__item-update {
  margin: 0;
  color: #fff;
  font-size: clamp(0.625rem, 0.063rem + 2.4vw, 1rem);
}
.genba-delete__item-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: 0.5rem;
}
.genba-delete__view-btn {
  padding: 0.25rem 0.75rem;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, 0.25rem + 3.2vw, 1.5rem);
  transition: all 0.3s ease;
}
.genba-delete__delete-btn {
  padding: 0.25rem 0.75rem;
  border: 1px solid #E20000;
  background-color: #E20000;
  color: #fff;
  cursor: pointer;
  font-size: clamp(1rem, 0.25rem + 3.2vw, 1.5rem);
  transition: all 0.3s ease;
}
.genba-delete__delete-btn:hover {
  opacity: 0.8;
}
.genba-delete__empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #666;
  font-size: 1.1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background-color: #f9f9f9;
}
.genba-delete__error {
  text-align: center;
  padding: 2rem;
  color: #d32f2f;
  font-size: 1rem;
  border: 1px solid #d32f2f;
  border-radius: 0.5rem;
  background-color: #ffebee;
}

.genba-delete__item:nth-child(1):before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
  background-color: #707070;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .genba-delete__item:nth-child(1):before {
    height: 0;
  }
}

.genba-delete__item::after {
  content: "";
  position: absolute;
  bottom: -2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(50%);
  background-color: #707070;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .genba-delete__item::after {
    height: 0;
  }
}

.genba-delete__item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}

.portal {
  margin-top: 1.40625rem;
  padding-bottom: 1.5625rem;
}
@media screen and (min-width: 768px) {
  .portal {
    padding-bottom: 3.125rem;
  }
}

.portal__inner {
  max-width: 675px;
}
@media screen and (min-width: 768px) {
  .portal__inner {
    max-width: 1230px;
  }
}

.portal__title {
  margin-top: 1.875rem;
  text-align: center;
  font-size: 1.5rem;
}
@media screen and (min-width: 768px) {
  .portal__title {
    font-size: 2rem;
  }
}

.portal__list {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media screen and (min-width: 768px) {
  .portal__list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.portal-list--sp-nav {
  gap: 0;
  margin-top: 0.5rem;
}
@media screen and (min-width: 768px) {
  .portal-list--sp-nav {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.portal__item {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0.625rem 1.875rem 0.625rem 0.5rem;
  padding-right: 4.8%;
}
@media screen and (min-width: 768px) {
  .portal__item {
    padding-left: 1.875rem;
    padding-right: 1.875rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.portal__item:nth-child(1):before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
  background-color: #707070;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .portal__item:nth-child(1):before {
    height: 0;
  }
}

.portal-list--sp-nav .portal__item:nth-child(1):before {
  display: none;
}

.portal__item::after {
  content: "";
  position: absolute;
  bottom: -2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(50%);
  background-color: #707070;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .portal__item::after {
    height: 0;
  }
}

.portal__list.portal-list--sp-nav .portal__item {
  background-image: none;
  box-shadow: none;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  grid-area: auto;
  padding: 0.625rem 1.875rem 0.625rem 0.5rem;
}

.portal__item:nth-child(1) {
  background-image: url("../images/common/front_1.webp");
}
@media screen and (min-width: 768px) {
  .portal__item:nth-child(1) {
    grid-area: 1/1/2/3;
  }
}

.portal__item:nth-child(2) {
  background-image: url("../images/common/front_2.webp");
}
@media screen and (min-width: 768px) {
  .portal__item:nth-child(2) {
    grid-area: 2/1/3/2;
  }
}

.portal__item:nth-child(3) {
  background-image: url("../images/common/front_3.webp");
}
@media screen and (min-width: 768px) {
  .portal__item:nth-child(3) {
    grid-area: 2/2/3/3;
  }
}

.portal__item:nth-child(4) {
  background-image: url("../images/common/front_4.webp");
}
@media screen and (min-width: 768px) {
  .portal__item:nth-child(4) {
    grid-area: 3/1/4/2;
  }
}

.portal__item:nth-child(5) {
  background-image: url("../images/common/front_5.webp");
}
@media screen and (min-width: 768px) {
  .portal__item:nth-child(5) {
    grid-area: 3/2/4/3;
  }
}

.portal__item__icon {
  aspect-ratio: 1/1;
  width: 12.8%;
  max-width: 80px;
}

.portal__item__text-wrapper {
  margin-left: 4.48%;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.portal__item__en-text {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.75rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
}

.portal__item__text {
  font-size: clamp(1rem, 0.25rem + 3.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3333333333;
}

.portal__item__number {
  font-size: clamp(0.625rem, 0.063rem + 2.4vw, 1rem);
  font-weight: 500;
  line-height: 1.25;
  margin-top: 0.1875rem;
}

.portal__item a {
  margin-left: auto;
  width: 24%;
  max-width: 150px;
  aspect-ratio: 150/100;
}

.portal__item__arrow-icon {
  display: flex;
  align-items: center;
}

.password-change-section {
  margin-top: 1.875rem;
  margin-bottom: 3.125rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  max-width: 50rem;
}
.password-change-section h3 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
}

.password-form {
  max-width: 500px;
}
.password-form .form-group {
  margin-bottom: 1.5rem;
}
.password-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}
.password-form .form-group input[type=password] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.password-form .form-group input[type=password]:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}
.password-form .form-group small {
  display: block;
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.875rem;
}
.password-form .btn-change-password {
  background-color: #005158;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
@media screen and (min-width: 768px) {
  .password-form .btn-change-password {
    margin-left: 0;
  }
}
.password-form .btn-change-password:hover:not(:disabled) {
  background-color: #005a87;
}
.password-form .btn-change-password:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
}
.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
  .password-change-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  .password-form {
    max-width: 100%;
  }
}
.progress__title {
  text-align: center;
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .progress__title {
    margin-top: 1.875rem;
    font-size: 2rem;
  }
}

.progress__list {
  margin-top: 1.5625rem;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media screen and (min-width: 768px) {
  .progress__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.875rem;
    gap: 1.25rem;
  }
}

.progress__item {
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  padding: 0.625rem 1.875rem 0.625rem 1.25rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .progress__item {
    padding: 4.375rem 1.875rem 4.375rem 1.25rem;
  }
}

.progress__item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}

.progress__item:nth-child(1):before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
  background-color: #707070;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .progress__item:nth-child(1):before {
    height: 0;
  }
}

.progress__item::after {
  content: "";
  position: absolute;
  bottom: -2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(50%);
  background-color: #707070;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .progress__item::after {
    height: 0;
  }
}

.progress__text-wrapper {
  max-width: 70%;
}

.progress__item a {
  margin-left: auto;
  width: 24%;
  max-width: 150px;
  aspect-ratio: 150/100;
}

.progress__item h3 {
  /* 多行省略（2行まで） */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.3;
}

.progress__last-update {
  display: block;
  font-size: 0.75rem;
  color: #fff;
}
@media screen and (min-width: 768px) {
  .progress__last-update {
    font-size: 1rem;
  }
}

.single__title {
  margin-top: 1.875rem;
  font-size: 1.75rem;
}
@media screen and (min-width: 768px) {
  .single__title {
    margin-top: 1.875rem;
    font-size: 2rem;
  }
}

.single__category__wrapper {
  margin-top: 1.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .single__category__wrapper {
    flex-direction: row-reverse;
    justify-content: left;
    gap: 1.25rem;
    margin-top: -1.125rem;
  }
}

.single__category-change {
  cursor: pointer;
}

.single__file-wrapper {
  margin-top: 3.125rem;
  display: grid;
  gap: 3.125rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media screen and (min-width: 768px) {
  .single__file-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.single__file-section {
  background: #f0f0f0;
  border: 1px solid #707070;
  position: relative;
}
@media screen and (min-width: 768px) {
  .single__file-section {
    margin-top: 3.125rem;
  }
}
.single__file-section h4 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 400;
  padding: 0.625rem 1.125rem;
  display: block;
  background-color: #005158;
}

.single__file-body {
  padding: 1.25rem;
  background-color: #F0F0F0;
}

.single__upload {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: white;
  border: 2px dashed #ddd;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.single__upload:hover {
  border-color: #0073aa;
  background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.1);
}
.single__upload.drag-over {
  border-color: #28a745;
  background: #f8fff9;
}

.single__file-upload-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.single__upload-btn {
  background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
  color: white;
  border: none;
  padding: 0.9375rem 1.5625rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 8.75rem;
}
.single__upload-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.single__upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
  background: linear-gradient(135deg, #005177 0%, #004155 100%);
}
.single__upload-btn:hover:before {
  left: 100%;
}
.single__upload-btn:active {
  transform: translateY(-1px);
}
.single__upload-btn.uploading {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  cursor: not-allowed;
  animation: pulse 1.5s infinite;
}
.single__upload-btn.uploading:hover {
  transform: none;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}
.single__upload-btn.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}
.single__upload-btn.success:hover {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}
.single__upload-btn:not(.uploading):not(.success)::before {
  content: "📁 ";
  margin-right: 0.3125rem;
}
.single__upload-btn.uploading::before {
  content: "⏳ ";
  margin-right: 0.3125rem;
}
.single__upload-btn.success::before {
  content: "✅ ";
  margin-right: 0.3125rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
  }
  100% {
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  }
}
.upload-help {
  margin-top: 0.625rem;
  color: #666;
  font-size: 0.75rem;
  line-height: 1.4;
}

.upload-progress {
  margin-top: 0.9375rem;
  height: 0.25rem;
  background: #e9ecef;
  border-radius: 0.125rem;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.upload-progress.active {
  opacity: 1;
}
.upload-progress .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0073aa, #28a745);
  border-radius: 0.125rem;
  transition: width 0.3s ease;
  width: 0%;
}

.single__file-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: calc((120px + 0.75rem + 5rem + 1.875rem) * 2 + 1.25rem);
  overflow-y: auto;
  padding-right: 0.3125rem;
  scrollbar-width: thin;
  scrollbar-color: #888888 #b8b8b8;
}
.single__file-list::-webkit-scrollbar {
  width: 8px;
}
.single__file-list::-webkit-scrollbar-track {
  background: #b8b8b8;
  border-radius: 4px;
}
.single__file-list::-webkit-scrollbar-thumb {
  background: #888888;
  border-radius: 4px;
  border: 1px solid #a0a0a0;
}
.single__file-list::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

.single__file-item {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 0.9375rem;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.single__file-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: #0073aa;
}

.file-item__thumbnail {
  position: relative;
  width: 100%;
  height: 120px;
  margin: 0 0 0.75rem 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-item__info {
  text-align: left;
}
.file-item__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.file-item__title:hover {
  color: #0073aa;
  text-decoration: underline;
}
.file-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: #666;
}

.file-thumbnail-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.file-thumbnail-link:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.file-thumbnail-link:focus {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
}
.file-thumbnail-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 115, 170, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}
.file-thumbnail-link:hover::before {
  opacity: 1;
}

.file-thumbnail {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
.file-thumbnail[data-type=image] {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.file-thumbnail[data-type=icon] {
  width: 64px;
  height: 64px;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.single__file-item:hover .file-thumbnail[data-type=icon] {
  opacity: 1;
  transform: scale(1.1);
}
.file-thumbnail[data-type=pdf_preview] {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.file-extension {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 0.5625rem;
  padding: 0.1875rem 0.375rem;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.file-icon-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
}
.file-icon-container:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  transform: scale(1.02);
}
.file-icon-container .file-icon {
  font-size: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}
.file-icon-container .file-icon i {
  display: block;
  transition: transform 0.3s ease;
}
.file-thumbnail-link:hover .file-icon-container .file-icon {
  transform: scale(1.1);
}
.file-thumbnail-link:hover .file-icon-container .file-icon i {
  transform: scale(1.05);
}
.file-icon-container .file-extension {
  position: static;
  background: #6c757d;
  color: white;
  font-size: 0.625rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-family: inherit;
}
.file-icon-container.file-type-pdf .file-icon {
  color: #dc3545;
}
.file-icon-container.file-type-doc .file-icon, .file-icon-container.file-type-docx .file-icon {
  color: #2b579a;
}
.file-icon-container.file-type-xls .file-icon, .file-icon-container.file-type-xlsx .file-icon {
  color: #1d6f42;
}
.file-icon-container.file-type-ppt .file-icon, .file-icon-container.file-type-pptx .file-icon {
  color: #d04423;
}
.file-icon-container.file-type-image .file-icon {
  color: #6f42c1;
}
.file-icon-container.file-type-video .file-icon {
  color: #e83e8c;
}
.file-icon-container.file-type-audio .file-icon {
  color: #fd7e14;
}
.file-icon-container.file-type-archive .file-icon {
  color: #6610f2;
}
.file-icon-container.file-type-text .file-icon {
  color: #6c757d;
}
.file-icon-container.file-type-csv .file-icon {
  color: #1d6f42;
}
.file-icon-container.file-type-html .file-icon {
  color: #fd7e14;
}
.file-icon-container.file-type-js .file-icon {
  color: #f7df1e;
}
.file-icon-container.file-type-css .file-icon {
  color: #264de4;
}
.file-icon-container.file-type-php .file-icon {
  color: #777bb4;
}
.file-icon-container.file-type-xml .file-icon {
  color: #ff6b35;
}

.file-size {
  font-size: 0.6875rem;
  color: #888;
  font-weight: 500;
}
.file-size::before {
  content: "📄 ";
  margin-right: 0.125rem;
}

.single__delete-file {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  border: none;
  padding: 0.375rem 0.75rem;
  border-radius: 15px;
  font-size: 0.625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}
.single__delete-file:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(220, 53, 69, 0.4);
  background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}
.single__delete-file:active {
  transform: translateY(0);
}
.single__delete-file::before {
  content: "🗑 ";
}

.single__category-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.875rem;
  margin: 0 0.625rem;
  background: white;
}

.single__update-category-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.single__update-category-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.3);
}

.file-list:empty::after {
  content: "まだファイルがアップロードされていません";
  display: block;
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: #999;
  font-style: italic;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 8px;
}

.single-sp-title {
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  margin-top: 0.625rem;
}
@media screen and (min-width: 768px) {
  .single-sp-title {
    display: none;
  }
}

.single-sp-title__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}

.single-sp-title__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-sp-title__text-wrapper {
  padding-top: 1.875rem;
  padding-bottom: 1.25rem;
}

.single-sp-title__title {
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.3;
}

.single-sp-title__date {
  display: block;
  font-size: 0.75rem;
  color: #fff;
}

.user-registration#user-registration {
  margin: 0 auto;
  margin-top: 1.875rem;
  padding-top: 2.5rem;
  padding-bottom: 6.25rem;
  border-top: 1px solid #707070;
  border-bottom: 1px solid #707070;
  background-color: transparent;
  max-width: 1180px;
}
@media screen and (min-width: 768px) {
  .user-registration#user-registration {
    border-top: none;
  }
}

.ur-frontend-form.login#ur-frontend-form {
  padding: 0 1rem;
  background-color: transparent;
  max-width: 540px;
  margin: 0 auto;
}

.user-registration .ur-frontend-form .ur-form-row .ur-form-grid {
  padding: 0;
}

.user-registration#user-registration .ur-frontend-form .ur-form-row .ur-form-grid legend, .ur-frontend-form .ur-form-row .ur-form-grid label {
  margin-top: 0;
  margin-bottom: 0.375rem;
}

.user-registration .ur-frontend-form .ur-form-row .ur-form-grid .user-registration-form-row input.input-text {
  border: 1px solid #707070;
}

.user-registration-Button.button.ur-submit-button {
  background-color: #005158;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  cursor: pointer;
  margin-top: 3.125rem;
}

.my-registration__button {
  margin-top: 6.25rem;
  margin-bottom: 6.25rem;
  border: 1px solid #005158;
  font-size: 1.25rem;
  color: #005158;
  text-align: center;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.my-registration__button a {
  width: 100%;
  display: inline-block;
  padding: 0.9375rem;
}

.ur-frontend-form .ur-button-container .ur-submit-button {
  background-color: #005158;
}

.registration__inner {
  margin-top: 3.125rem;
  max-width: 50rem;
}

.lost-password__inner {
  max-width: 50rem;
}

.lost-password__inner .ur-frontend-form.login .ur-reset-password-btn {
  background-color: #005158;
  margin-top: 1.25rem;
}

.lost-password__inner .ur-form-grid label {
  margin-top: 1.875rem !important;
}

.lost-password__inner .ur-lost-password-title {
  display: none;
}

.lost-password__inner .ur-lost-password-message {
  font-size: 1rem !important;
}/*# sourceMappingURL=style.css.map */