/* ------------------------------------------------------------------
[Master Stylesheet]

Project:    Cyber Manage
Version:    1.0
Last change:  2024/05/27
Primary use:  Front
------------------------------------------------------------------ */

/* いいね・お気に入りボタンのローディングスタイル */
.js-likes.is-loading,
.js-favorites.is-loading {
  pointer-events: none; /* クリックを無効化 */
  opacity: 0.5;         /* 少し薄くして処理中であることを示す */
}

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

/* header */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 16px;
}

.nav-list li {
  font-weight: 500;
  font-size: 14px;
}

.nav-list li a {
  color: #999;
}

.nav-list .active a {
  color: #01a6c4;
}

.profile-icon img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* footer */

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  line-height: 1;
}

.footer-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 100;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5等分 */
  align-items: end;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border-top: 1px solid #eee;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
}

.footer-item {
  text-align: center;
  font-size: 12px;
}

.footer-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #999;
}

.footer-item .material-symbols-outlined {
  font-size: 32px;
}

.footer-item.active a,
.footer-item.active .material-symbols-outlined {
  color: #01a6c4;
}

/* 投稿ボタンの見た目を中央で浮かせる */
.post-btn {
  position: relative;
  margin-top: -30px;
  z-index: 2;
}

.circle-button {
  background: #01a6c4;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.circle-button .material-symbols-outlined {
  color: #fff;
  font-size: 40px;
}

/* 共通 */

main {
  padding-bottom: 100px;
  background-color: #fafafa;
  min-height: 100vh; /* ビューポート全体の高さを最低限に */
}

/* いいね・お気に入りのメッセージ表示 */

.toast-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に補正 */
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  width: 70%;
  text-align: center;
  max-width: 400px; /* PCで広がりすぎないように上限を設ける */
}

.toast-message.show {
  opacity: 1;
  visibility: visible;
}

/* メッセージ全文表示 */

.expanded {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 3行まで表示 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.expanded.is-expanded {
  -webkit-line-clamp: unset;
  display: block;
}

/* login.php */

.login-section {
  padding: 40px 20px;
  text-align: center;
}

.login-title {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  color: #01a6c4;
  margin-top: 50px;
  margin-bottom: 8px;
}

.login-version {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 80px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 300px;
  margin: 0 auto;
}

.input-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.label-text {
  font-size: 14px;
  color: #01a6c4;
  margin-bottom: 4px;
  padding-left: 4px;
}

.login-input {
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #01a6c4;
  outline: none;
  padding: 4px 0;
  color: #999;
}

.login-button {
  background: #01a6c4;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 14px 0;
  margin-top: 20px;
  cursor: pointer;
}

.login-help {
  margin-top: 40px;
  font-size: 14px;
}

/* index.php */

/* 業務連絡 */

.top-main {
  background-color: #fafafa;
}

.top-notice-box {
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.top-notice-box .notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.top-notice-box .notice-header h2 {
  font-size: 15px;
  color: #000;
  padding-left: 10px;
  font-weight: 500;
}

.top-notice-box .notice-link {
  background: #01a6c4;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 11px;
}

.top-notice-box .notice-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
}

.top-notice-box .notice-label {
  background-color: #01a6c4;
  color: #fff;
  font-size: 13px;
  padding: 6px;
  border-radius: 4px;
  margin-right: 12px;
  white-space: nowrap;
}

.top-notice-box .notice-text {
  font-size: 14px;
  flex-grow: 1;
  overflow: hidden;
  display: block;
}

.top-notice-box .notice-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-notice-box .notice-label {
  font-weight: bold;
  flex-shrink: 0;
}

.top-notice-box .notice-swiper .swiper-wrapper {
  display: flex;
}

.top-notice-box .notice-swiper {
  max-width: 100%;
  overflow: hidden;
}

.top-notice-box .notice-swiper .swiper-slide {
  width: auto; /* または明示的に制御可能にする */
  white-space: nowrap;
  font-weight: bold;
}

/* TODAY'S VOICE */

.top-voice-section {
  padding: 0 10px 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.top-voice-section .voice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.top-voice-section .voice-header h2 {
  font-size: 18px;
  font-weight: bold;
}

.top-voice-section .voice-link {
  background: #01a6c4;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 11px;
}

.top-voice-section .voice-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
}

.top-voice-section .voice-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 10px 16px;
}

.top-voice-section .user-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.top-voice-section .user-info {
  flex-grow: 1;
}

.top-voice-section .user-name {
  font-size: 14px;
}

.top-voice-section .user-location {
  font-size: 12px;
  color: #a6a6a6;
}

.top-voice-section .voice-menu {
  display: flex;
  gap: 8px;
}

.top-voice-section .menu-icon {
  background-color: #ccc;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-voice-section .menu-icon.square {
  border-radius: 8px;
}

.top-voice-section .menu-icon .material-symbols-outlined {
  font-size: 20px;
  color: #fff;
}

/* アクティブ状態の色切り替え */
.top-voice-section .menu-icon.active {
  background-color: #01a6c4;
}

.top-voice-section .voice-content {
  margin-top: 10px;
  padding: 0 16px;
}

.top-voice-section .voice-title-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.top-voice-section .voice-title {
  color: #01a6c4;
}

.top-voice-section .voice-read {
  color: #01a6c4;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.top-voice-section .voice-text {
  font-size: 14px;
}

.top-voice-section .voice-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #888;
  margin-top: 20px;
  padding: 10px 16px 20px 16px;
}

.top-voice-section .voice-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #888;
  font-size: 13px;
}

/* Materialアイコンの色指定 */
.top-voice-section .voice-icon .material-symbols-outlined {
  font-size: 18px;
  color: inherit;
}

/* アクティブ時 */
.top-voice-section .voice-icon.active {
  color: #01a6c4;
}

.top-voice-section .sns-icon.instagram,
.top-voice-section .sns-icon.x,
.top-voice-section .sns-icon.tiktok,
.top-voice-section .sns-icon.line,
.top-voice-section .sns-icon.youtube {
  font-size: 18px;
}

.top-voice-section .sns-icon.instagram img,
.top-voice-section .sns-icon.x img,
.top-voice-section .sns-icon.tiktok img,
.top-voice-section .sns-icon.line img,
.top-voice-section .sns-icon.youtube img {
  width: 18px;
  height: 18px;
  display: block;
}

.top-voice-section .voice-date {
  margin-left: auto;
  font-size: 14px;
  color: #a6a6a6;
}

/* TODAY'S VOICE POPUP */

.top-voice-section .voice-body-wrapper {
  position: relative;
}

/* ポップアップ共通 */
.top-voice-section .voice-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* ← voice-content-areaと同じにする */
  display: none;
  z-index: 10;
  background: rgba(1, 166, 196, 0.4);
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.top-voice-section .voice-popup.visible {
  display: flex;
}

.top-voice-section .voice-popup .popup-img {
  width: 48px;
  height: 48px;
}

.top-voice-section .gacha-on .popup-text {
  background: #fa770b;
}
.top-voice-section .gacha-on .popup-text::after {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  width: 100px;
  height: 100px;
  background-image: url("../images/gacha.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.top-voice-section .gacha-off .popup-text {
  background: #a6a6a6;
}

.top-voice-section .popup-text {
  border-radius: 12px;
  text-align: left;
  padding: 20px;
}

/* voice-content-area にもサイズ確定が必要 */
.top-voice-section .voice-content-area {
  position: relative;
}

/* 今日のシフト */

.top-shift-section {
  padding: 0 10px 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.top-shift-section .shift-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.top-shift-section .shift-header h2 {
  font-size: 18px;
  font-weight: bold;
}

.top-shift-section .shift-button {
  background: #01a6c4;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
}

.top-shift-section .shift-card {
  display: flex;
  align-items: flex-start; /* 高さの引き伸ばしを防ぐ */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 16px;
  gap: 15px;
}

.top-shift-section .shift-date {
  width: 100px;
  aspect-ratio: 1 / 1;
  background: #01a6c4;
  color: #fff;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.top-shift-section .shift-day {
  font-size: 24px;
  margin: 0;
  font-weight: 500;
}

.top-shift-section .shift-day span {
  font-size: 14px;
  padding-left: 3px;
  font-weight: normal;
}

.top-shift-section .shift-weekday {
  font-size: 13px;
  margin: 4px 0 0;
}

.top-shift-section .shift-info {
  flex: 1;
}

.top-shift-section .shift-row {
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  padding-bottom: 5px;
  font-weight: bold;
}

.top-shift-section .shift-label {
  margin-top: 5px;
  background: #f9a14d;
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  padding: 7.5px 5px;
  display: inline-block;
}

/* 今日が誕生日のスタッフさん */

.top-birthday-section {
  padding: 0 10px 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.top-birthday-section .birthday-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

.top-birthday-section .birthday-card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 1列4人固定 */
  gap: 25px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  justify-items: center;
}

.top-birthday-section .birthday-no-card-container {
  gap: 25px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  justify-items: center;
}

.top-birthday-section .birthday-card {
  text-align: center;
  width: 100%;
  max-width: 120px;
}

.top-birthday-section .staff-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}

.top-birthday-section .staff-name {
  font-size: 14px;
  margin: 0;
}

.top-birthday-section .staff-store {
  font-size: 14px;
  margin: 0;
}

.top-birthday-section .birthday-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.top-birthday-section .birthday-content {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  width: 80%;
  max-width: 340px;
  text-align: left;
  position: relative;
}

.top-birthday-section .close-btn {
  /* position: absolute;
  top: 15px;
  right: 15px;
  background: #fa770b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer; */

  padding: 12px 20px;
  background: #ccc;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  width: 80%;
  margin: 20px auto 0 auto;
  display: block;
  position: relative;
  top: 0;
  right: 0;
  text-align: center;
}

.top-birthday-section .birthday-title-img {
  width: 85%;
  margin: 20px auto 0 auto;
}

.top-birthday-section .birthday-flag-img {
  width: 75%;
  margin: 0 auto;
}

.top-birthday-section .birthday-name {
  font-size: 18px;
  margin: 10px 0;
  width: 80%;
  margin: 30px auto 0 auto;
}

.top-birthday-section .birthday-message {
  font-size: 18px;
  margin: 10px 0;
  line-height: 1.6;
  width: 80%;
  margin: 10px auto;
}

.top-birthday-section .gacha-link {
  display: inline-block;
  padding: 12px 20px;
  background: #fa770b;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  width: 80%;
  margin: 20px auto 0 auto;
}

.top-birthday-section .gacha-button {
  padding: 12px 20px;
  background: #fa770b;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  width: 80%;
  margin: 20px auto 0 auto;
  display: block;
}

/* 今日の格言 */

.top-quote-section {
  padding: 0 10px 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.top-quote-section .quote-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.top-quote-section .quote-box {
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.top-quote-section .quote-text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.top-quote-section .quote-author {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  margin: 0;
}

/* Youtubeチャンネル */

.top-youtube-section {
  padding: 0 10px 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.top-youtube-section .youtube-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.top-youtube-section .youtube-icon {
  width: 28px;
  height: 28px;
}

.top-youtube-section .youtube-title {
  font-size: 18px;
  font-weight: bold;
}

.top-youtube-section .youtube-thumbnails {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  align-items: flex-start;
}

.top-youtube-section .youtube-thumb {
  position: relative;
  width: 95px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}

.top-youtube-section .youtube-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.top-youtube-section .youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: url("assets/images/youtube-play.png") no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
}

/* profile.php */

/* マイページ */

.mypage-section {
  font-family: "Noto Sans JP", sans-serif;
}

.mypage-section .mypage-header {
  background-color: #f6f6f6;
  padding-top: 20px;
}

.mypage-section .mypage-header-icon {
  margin-bottom: 16px;
  padding-top: 24px;
  padding-left: 20px;
}

.mypage-section .back-icon {
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

.mypage-section .mypage-title {
  font-size: 18px;
  font-weight: bold;
  padding: 0 20px;
}

.mypage-section .mypage-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 24px 20px;
}

.mypage-section .profile-container {
  border-top: 1px solid #808080;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 24px 20px;
}

.mypage-section .profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.mypage-section .profile-info {
  flex: 1;
}

.mypage-section .profile-name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.mypage-section .profile-name span {
  color: #666;
  font-size: 14px;
  font-weight: normal;
}

.mypage-section .profile-kana,
.mypage-section .profile-shop,
.mypage-section .profile-msg,
.mypage-section .profile-birthday,
.mypage-section .profile-hobby {
  margin: 4px 0;
  font-size: 14px;
  color: #333;
}

.mypage-section .sns-icons {
  margin: 8px 0;
  display: flex;
  gap: 12px;
}

.mypage-section .sns-icons img {
  width: 28px;
  height: 28px;
}

.mypage-section .edit-button {
  background: #01a6c4;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.mypage-section .mypage-summary {
  padding: 20px 0 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  width: 100%;
}

.mypage-section .summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mypage-section .summary-label {
  font-weight: normal;
}

.mypage-section .summary-value {
  font-weight: bold;
}

.mypage-section .summary-note {
  margin-top: 4px;
}

.mypage-section .mypage-menu {
  padding: 24px 0;
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
}

.mypage-section .menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.mypage-section .menu-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.mypage-section .menu-item p {
  font-size: 14px;
  line-height: 1.4;
  color: #222;
  margin: 0;
}

.mypage-section .mypage-menu .material-symbols-outlined {
  font-size: 36px;
  color: #01a6c4;
  margin-bottom: 8px;
}

/* クレド */

.credo-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.credo-modal {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

  /* ↓ スクロール対応を追加 */
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  background: #01a6c4;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close .material-symbols-outlined {
  font-size: 20px;
  color: #fff;
}

.credo-modal-content {
  padding-top: 40px;
  font-size: 20px;
  color: #222;
  line-height: 1.5;
}

.credo-modal-content .title {
  line-height: 1.5;
  padding-bottom: 40px;
}

.credo-modal-content p {
  padding-bottom: 20px;
}

/* profile_edit.php */

/* あなたのプロフィール編集 */

.profile-edit-section {
  font-family: "Noto Sans JP", sans-serif;
}

.profile-edit-section .profile-edit-header {
  background-color: #f6f6f6;
}

.profile-edit-section .profile-edit-header-icon {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 24px;
  padding-left: 20px;
  gap: 4px; /* アイコンとテキストの間隔 */
}

.mypage-section .back-icon {
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

.profile-edit-section .back-icon {
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

.profile-edit-section .section-title {
  font-size: 16px;
  font-weight: bold;
  padding: 0 20px;
}

.profile-edit-section .profile-edit-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: #f6f6f6;
  padding: 24px 20px;
}

.profile-edit-section .profile-edit-photo-wrapper {
  position: relative;
  margin-right: 20px;
}

.profile-edit-section .profile-edit-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-edit-section .photo-edit-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #01a6c4;
  color: #fff;
  border-radius: 50%;
  padding: 4px;
  font-size: 20px;
  cursor: pointer;
}

.profile-edit-section .profile-edit-info {
  flex: 1;
}

.profile-edit-section .profile-name {
  font-size: 16px;
  font-weight: bold;
}

.profile-edit-section .profile-kana,
.profile-edit-section .profile-shop,
.profile-edit-section .profile-msg {
  font-size: 14px;
  margin-top: 4px;
}

.profile-edit-section .profile-msg {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-edit-section .edit-icon {
  color: #01a6c4;
  margin-left: 8px;
  cursor: pointer;
}

.profile-edit-section .profile-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

.profile-edit-section .item-placeholder {
  color: #aaa;
}

.profile-edit-section .arrow-icon {
  color: #999;
}

.profile-edit-section .profile-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-top: 1px solid #eee;
}

.profile-edit-section .profile-social-row img {
  width: 24px;
  height: 24px;
}

.profile-edit-section .social-label {
  color: #888;
  font-size: 14px;
}

/* user_profile.php */

/* 他の人のプロフィール編集 */

.user-profile-section {
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
}

.user-profile-section .user-profile-header {
  background-color: #f6f6f6;
}

.user-profile-section .user-profile-header-icon {
  margin-bottom: 16px;
  padding-top: 24px;
  padding-left: 20px;
}

.user-profile-section .back-icon {
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

.user-profile-section .section-title {
  font-size: 16px;
  font-weight: bold;
  padding: 0 20px;
}

.user-profile-section .user-profile-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 24px 20px;
}

.user-profile-section .profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.user-profile-section .profile-info .profile-name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.user-profile-section .profile-info .role {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.user-profile-section .profile-info .profile-kana,
.user-profile-section .profile-info .profile-shop {
  font-size: 14px;
  margin: 2px 0;
}

.user-profile-section .badge-row {
  display: flex;
  align-items: center;
  margin-top: 4px;
  gap: 6px;
}

.user-profile-section .badge-icon {
  width: 28px;
  height: 28px;
}

.user-profile-section .badge-text {
  font-size: 13px;
  color: #888;
}

.user-profile-section .profile-message {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.user-profile-section .user-profile-table {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.user-profile-section .profile-row {
  display: flex;
  justify-content: space-between;
  padding: 24px 20px;
  font-size: 14px;
  border-top: 1px solid #eee;
}

.user-profile-section .badge-shield {
  width: 32px;
  height: 36px;
  background: #fa5b5b;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 28px;
  clip-path: polygon(50% 0%, 100% 15%, 100% 70%, 50% 100%, 0% 70%, 0% 15%);
  border: 2px solid #fff;
  box-sizing: border-box;
}

.user-profile-section .profile-row:first-child {
  border-top: none;
}

.user-profile-section .sns-list {
  margin-top: 16px;
}

.user-profile-section .sns-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px solid #eee;
}

.user-profile-section .sns-item img {
  width: 24px;
  height: 24px;
}

.user-profile-section .sns-item span {
  font-size: 14px;
  color: #222;
}

.user-profile-section .sns-item .unregistered {
  color: #aaa;
}

/* recent_salary.php */

/* 最近の給与 */

.mypage-salary-section {
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.mypage-salary-section h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.mypage-salary-section .chart-container {
  width: 80%; /* グラフの幅 */
  margin: 0 auto;
  position: relative;
  max-width: 300px;
}

.mypage-salary-section .average-box {
  display: inline-block;
  background: #e5f7fd;
  border-radius: 8px;
  margin: 15px auto 30px;
  transform: translateX(37%); /* ✅ 右寄せの調整 */
  width: 67%;
}

.mypage-salary-section .average-box-inner {
  display: flex;
  justify-content: space-between;
  padding: 5px 15px;
  font-size: 14px;
}

.mypage-salary-section .salary-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mypage-salary-section .salary-month {
  background: #01a6c4;
  color: #fff;
  border-radius: 8px;
  padding: 5px 15px;
  font-size: 14px;
  white-space: nowrap;
}

.mypage-salary-section .salary-amount {
  font-size: 16px;
  color: #333;
}

/* tenure.php */

/* 在籍期間 */

.tenure-section {
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.tenure-section .section-title {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}

.tenure-section .clock-icon {
  font-size: 220px;
  color: #01a6c4;
  margin: 20px 0 0 0;
}

.tenure-section .clock-icon {
  animation: slideDownFade 1s ease-out forwards;
  opacity: 0; /* 初期は透明 */
  transform: translateY(-200px); /* 初期位置を上に */
}

@keyframes slideDownFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tenure-section .material-symbols-outlined {
  font-size: inherit;
}

.tenure-section .tenure-badge {
  display: flex;
  align-items: end;
  justify-content: start;
  gap: 8px;
  margin-bottom: 30px;
  margin-top: -60px;
  margin-left: 20px;
}

.shield-badge {
  position: relative;
  display: inline-block;
  width: 40px; /* 必要に応じてサイズ調整 */
  height: auto;
}

.shield-badge img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  color: white;
  font-size: 18px;
  font-weight: bold;
  pointer-events: none;
}

.tenure-section .badge-label {
  color: #999;
  font-size: 14px;
}

.tenure-section .tenure-box {
  margin: 0 auto;
  border: 1px solid #01a6c4;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 360px;
  padding: 10px 16px;
}

.tenure-section .tenure-label {
  background: #01a6c4;
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
}

.tenure-section .tenure-value {
  font-weight: bold;
  font-size: 16px;
  color: #01a6c4;
  margin: 0 auto;
}

/* lifetime_income.php */

/* 生涯賃金 */

.mypage-lifetime-salary-section {
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.mypage-lifetime-salary-section .section-title {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}

.mypage-lifetime-salary-section .salary-icon {
  font-size: 220px;
  color: #01a6c4;
  margin: 20px 0;
}

.salary-icon {
  animation: slideDownFade 1s ease-out forwards;
  opacity: 0; /* 初期は透明 */
  transform: translateY(-200px); /* 初期位置を上に */
}

@keyframes slideDownFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mypage-lifetime-salary-section .material-symbols-outlined {
  font-size: inherit;
}

.mypage-lifetime-salary-section .lifetime-box {
  margin: 0 auto;
  border: 1px solid #01a6c4;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 360px;
  padding: 10px 16px;
}

.mypage-lifetime-salary-section .lifetime-label {
  background: #01a6c4;
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  white-space: nowrap;
}

.mypage-lifetime-salary-section .lifetime-value {
  font-weight: bold;
  font-size: 16px;
  color: #01a6c4;
}

/* 
  patrol_report.php
  daily_report.php
*/

/* 
  巡回レポート 
  日報 
*/

.mypage-report-section {
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.mypage-report-section .section-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.mypage-report-section .report-header {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 50px;
}

.mypage-report-section .award-button {
  font-size: 14px;
  background-color: #01a6c4;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.mypage-report-section .award-button .arrow {
  margin-left: 4px;
  font-weight: bold;
}

.mypage-report-section .section-title-box {
  padding: 0 7.5px;
}

.mypage-report-section .report-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: nowrap;
}

.mypage-report-section .filter-select {
  position: relative;
  width: 45%;
}

.mypage-report-section .filter-dropdown {
  width: 100%;
  padding: 5px 20px;
  border-radius: 8px;
  border: none;
  background: #00aacc;
  color: white;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.mypage-report-section .search-box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 24px;
  padding: 6px 12px;
  width: 45%; /* ⭐ 50%幅 */
  box-sizing: border-box;
}

.mypage-report-section .search-box input {
  border: none;
  outline: none;
  font-size: 14px;
  margin-left: 6px;
  width: 100%;
  background: transparent;
}

.mypage-report-section .search-box input::placeholder {
  font-size: 12px;
  text-align: left;
}

.report-count-box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 8px 14px;
  gap: 10px;
  background-color: #fff;
}

.count-label {
  background: #00aacc;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.count-number {
  font-size: 16px;
}

.mypage-report-section .report-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px 10px;
  margin-bottom: 10px;
  background: #fff;
}

.mypage-report-section .report-user {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.mypage-report-section .user-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.mypage-report-section .user-info {
  flex-grow: 1;
}

.mypage-report-section .user-name {
  font-size: 13px;
}

.mypage-report-section .user-location {
  font-size: 13px;
  color: #b5b5b5;
}

.mypage-report-section .menu-icons {
  display: flex;
  gap: 8px;
}

.mypage-report-section .menu-icons .material-symbols-outlined {
  font-size: 20px;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: calc(32 / 20);
}

.mypage-report-section .menu-icon {
  background-color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アクティブ状態の色切り替え */
.mypage-report-section .menu-icon.active {
  background-color: #01a6c4;
}

.mypage-report-section .report-content {
  margin-top: 15px;
}

.mypage-report-section .title-line {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 14px;
  color: #01a6c4;
}

.mypage-report-section .report-title {
}

.mypage-report-section .report-read {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.mypage-report-section .report-text {
  margin-top: 5px;
  font-size: 14px;
}

.mypage-report-section .report-image-list {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  align-items: flex-start;
  margin-top: 25px;
}

.mypage-report-section .image-thumb {
  position: relative;
  width: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}

.mypage-report-section .report-image-list img,
.mypage-report-section .report-image-list .more-box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.mypage-report-section .image-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: url(assets/images/youtube-play.png) no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
}

.mypage-report-section .report-images .more-box {
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: 100%; /* 親と揃える */
  width: 100px;
  aspect-ratio: 4/3; /* 正方形にする（imgと同じ） */
}

.mypage-report-section .more-text {
  font-size: 14px;
  text-align: center;
}

.mypage-report-section .report-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  margin-top: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mypage-report-section .report-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #888;
}

.mypage-report-section .report-icon.active {
  color: #01a6c4;
}

.mypage-report-section .sns-icon.instagram,
.mypage-report-section .sns-icon.x,
.mypage-report-section .sns-icon.tiktok,
.mypage-report-section .sns-icon.line,
.mypage-report-section .sns-icon.youtube {
  font-size: 18px;
}

.mypage-report-section .sns-icon.instagram img,
.mypage-report-section .sns-icon.x img,
.mypage-report-section .sns-icon.tiktok img,
.mypage-report-section .sns-icon.line img,
.mypage-report-section .sns-icon.youtube img {
  width: 18px;
  height: 18px;
  display: block;
}

.mypage-report-section .report-date {
  margin-left: auto;
  font-size: 14px;
  color: #a6a6a6;
}

.mypage-report-section .report-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mypage-report-section .category-tag {
  background-color: #f0f0f0;
  color: #333;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.mypage-report-section .gacha-button-box {
  text-align: center;
  margin: 20px auto 5px auto;
}

.mypage-report-section .gacha-link {
  display: inline-block;
  background-color: #00aacc;
  color: #fff;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* 画像ポップアップ */

/* モーダル全体（黒バック） */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: #000; /* ← 黒背景 */
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* モーダル内部 */
.image-modal-content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  z-index: 10;
}

/* メイン画像スライダー（縦横100%） */
.main-swiper {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* サムネイルスライダー（白バック） */
.thumb-swiper {
  background-color: #fff;
  padding: 10px 10px 20px 10px;
  box-sizing: border-box;
  width: 100%;
}

.thumb-swiper .swiper-slide {
  flex-shrink: 0;
}

.thumb-swiper .swiper-slide img {
  height: 80px !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* 
  patrol_report_comment.php 
  daily_report_comment.php
*/

/* 
  巡回レポートコメント 
  日報コメント
*/

.mypage-comment-title-section .section-title {
  font-weight: 400;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0 0 0;
  padding-left: 10px;
  border-bottom: 1px solid #bcbcbc;
  width: 100%;
}

.mypage-comment-title-section .section-title .material-symbols-outlined {
  font-size: 60px;
  color: #545454;
  cursor: pointer;
  font-weight: 300;
}

.mypage-comment-section {
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.mypage-comment-section .comment-post-card {
  background: #fff;
  border-radius: 12px;
}

.mypage-comment-section .post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mypage-comment-section .post-header .post-header-left {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.mypage-comment-section .post-header .post-header-right {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.mypage-comment-section .user-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 20px;
}

.mypage-comment-section .user-info {
  flex-grow: 1;
}

.mypage-comment-section .user-name {
  font-size: 14px;
}

.mypage-comment-section .user-location {
  color: #a6a6a6;
  font-size: 14px;
}

.mypage-comment-section .report-read {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.mypage-comment-section .menu-icons {
  display: flex;
  gap: 15px;
}

.mypage-comment-section .menu-icons .material-symbols-outlined {
  font-size: 20px;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: calc(32 / 20);
}

.mypage-comment-section .menu-icon {
  background-color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アクティブ状態の色切り替え */
.mypage-comment-section .menu-icon.active {
  background-color: #01a6c4;
}

.mypage-comment-section .post-content {
  margin-top: 20px;
}

.mypage-comment-section .title-line {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 14px;
  color: #01a6c4;
}

.mypage-comment-section .title-line .report-title {
  font-size: 14px;
}

.mypage-comment-section .report-text {
  margin-top: 15px;
  font-size: 14px;
}

.mypage-comment-section .post-footer {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #888;
  margin-top: 20px;
  gap: 12px;
}

.mypage-comment-section .report-icon {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mypage-comment-section .report-icon.active {
  color: #01a6c4;
}

.mypage-comment-section .sns-icon.instagram,
.mypage-comment-section .sns-icon.x,
.mypage-comment-section .sns-icon.tiktok,
.mypage-comment-section .sns-icon.line,
.mypage-comment-section .sns-icon.youtube {
  font-size: 18px;
}

.mypage-comment-section .sns-icon.instagram img,
.mypage-comment-section .sns-icon.x img,
.mypage-comment-section .sns-icon.tiktok img,
.mypage-comment-section .sns-icon.line img,
.mypage-comment-section .sns-icon.youtube img {
  width: 18px;
  height: 18px;
  display: block;
}

.mypage-comment-section .report-date {
  margin-left: auto;
  font-size: 14px;
  color: #a6a6a6;
}

.mypage-comment-section .report-images-scrollable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 25px;
}

.mypage-comment-section .report-image-list {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  align-items: flex-start;
  margin-top: 25px;
}

.mypage-comment-section .image-thumb {
  position: relative;
  width: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}

.mypage-comment-section .report-image-list img,
.mypage-comment-section .report-image-list .more-box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.mypage-comment-section .image-thumb {
  position: relative;
  width: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}

.mypage-comment-section .report-image-list img,
.mypage-comment-section .report-image-list .more-box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.mypage-comment-section .image-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: url(/assets/front/images/youtube-play.png) no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
}

.mypage-comment-section .report-image-list .more-box {
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: 100%;
  width: 100px;
  aspect-ratio: 4 / 3;
}

.mypage-comment-area-section {
  width: 100%;
  background-color: #f6f6f6;
}

.mypage-comment-area-section .comment-box {
  margin-bottom: 70px;
}

.mypage-comment-area-section .comment-count {
  margin: 10px 0 30px 0;
}

.mypage-comment-area-section .comment-count span {
  margin-right: 15px;
}

.mypage-comment-area-section .comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mypage-comment-area-section .comment-header-left {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.mypage-comment-area-section .comment-card {
  border: 1px solid #a2dde7;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.mypage-comment-area-section .comment-user {
  display: flex;
  align-items: end;
  margin-bottom: 6px;
}

.mypage-comment-area-section .comment-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 20px;
}

.mypage-comment-area-section .comment-info {
  flex-grow: 1;
}

.mypage-comment-area-section .comment-info p {
  margin: 0;
}

.mypage-comment-area-section .comment-name {
  font-size: 14px;
}

.mypage-comment-area-section .comment-location {
  color: #a6a6a6;
  font-size: 14px;
}

.mypage-comment-area-section .comment-text {
  font-size: 14px;
  margin: 20px 0 50px 0;
  color: #333;
}

.mypage-comment-area-section .comment-date {
  font-size: 14px;
  color: #a6a6a6;
  text-align: right;
}

.mypage-comment-area-section .no-comment-box {
  text-align: center;
  padding-bottom: 100px;
}

.mypage-comment-area-section .no-comment-box-img {
  padding: 50px 0 20px 0;
}

.mypage-comment-area-section .no-comment-box span {
  font-size: 50px;
}

.mypage-comment-area-section .no-comment-box p {
  font-size: 16px;
}

.mypage-comment-submit-section {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #01a6c4;
  padding: 12px 16px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.comment-input-box {
  display: flex;
  gap: 8px;
}

.comment-textarea {
  flex: 1;
  resize: none;
  overflow: hidden;
  min-height: 36px;
  max-height: 200px;
  padding: 8px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.4;
}

.mypage-comment-submit-section .comment-input-box .send-button {
  background: #ddf4f8;
  color: #01a6c4;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.mypage-comment-section .report-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mypage-comment-section .category-tag {
  background-color: #f0f0f0;
  color: #333;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.mypage-comment-section .gacha-button-box {
  text-align: center;
  margin: 20px auto 5px auto;
}

.mypage-comment-section .gacha-link {
  display: inline-block;
  background-color: #00aacc;
  color: #fff;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* post.php */

/* 投稿 */

.mypage-post-title-section .section-title {
  font-weight: 400;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0 0 0;
  padding-left: 10px;
  width: 100%;
}

.mypage-post-title-section .section-title .material-symbols-outlined {
  font-size: 60px;
  color: #545454;
  cursor: pointer;
  font-weight: 300;
}

.mypage-post-section {
  padding: 0 0 20px 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
}

.mypage-post-section .post-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mypage-post-section .form-label {
  background: #01a6c4;
  color: #fff;
  padding: 8px 12px;
  font-size: 14px;
  margin-top: 0;
  display: inline-block;
  width: 100%;
}

.mypage-post-section .form-label-draft {
  background: #fa770b;
  color: #fff;
  padding: 8px 12px;
  font-size: 14px;
  margin-top: 0;
  display: inline-block;
  width: 100%;
}

.mypage-post-section .form-select,
.mypage-post-section .form-input,
.mypage-post-section .form-textarea {
  width: 100%;
  background: #f4f4f4;
  border: none;
  padding: 10px;
  margin: 0;
  font-size: 14px;
}

.mypage-post-section .form-select.disabled {
  color: #999;
  background: #f4f4f4;
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2列 */
  gap: 10px 20px;
  margin: 10px 0;
}

.form-checkbox-group label {
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mypage-post-section .editor-placeholder {
  background: #eee;
  padding: 14px;
  color: #666;
  margin-top: 8px;
}

.mypage-post-section .image-upload-area {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px;
  align-items: center;
}

.mypage-post-section .image-preview-box {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.mypage-post-section .image-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mypage-post-section .add-image-button {
  width: 50px;
  height: 50px;
  font-size: 28px;
  background: #01a6c4;
  color: white;
  border: none;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mypage-post-section .add-image-button::before {
  content: "＋";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* inputのテキスト部分非表示 */
.mypage-post-section .add-image-button::-webkit-file-upload-button {
  visibility: hidden;
}

.mypage-post-section .add-image-button:hover {
  background: #008da3;
}

.mypage-post-section .submit-button {
  width: 60%;
  background: #01a6c4;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  margin: 0 auto; /* ←フォームがflex-columnのとき有効 */
}

.mypage-post-section .contact-button {
  width: 60%;
  background: #01a6c4;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  margin: 0 auto; /* ←フォームがflex-columnのとき有効 */
}

.mypage-post-section .button-group {
  display: flex; 
  gap: 1rem; 
  margin-top: 1rem;
}

.mypage-post-section .image-preview-box {
  position: relative;
  display: inline-block;
  margin: 5px;
}
.mypage-post-section .preview-image {
  width: 100px;
  height: auto;
  border: 1px solid #ccc;
}
.mypage-post-section .remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: red;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
}



/* shift.php */

/* シフト */

.shift-section {
  font-family: "Noto Sans JP", sans-serif;
}

.shift-section .section-title {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid #a6a6a6;
}

.shift-section .js-back {
  cursor: pointer;
}

.shift-section .shift-toolbar {
  margin-bottom: 16px;
  padding: 20px 10px 0px 10px;
}

.shift-section .toolbar-left {
  text-align: left;
  margin-bottom: 35px;
}
.shift-section .toolbar-right {
  text-align: right;
  margin-bottom: 54px;
}

.shift-section .toolbar-right a {
  font-size: 14px;
  background-color: #01a6c4;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.shift-section .toolbar-right a span {
  margin-left: 4px;
  font-weight: bold;
}

.shift-section .bulk-input-btn {
  background: #01a6c4;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  border: none;
}

.shift-section .month-selector {
  width: 45%;
  padding: 5px 20px;
  border-radius: 8px;
  border: none;
  background: #00aacc;
  color: white;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.shift-section .shift-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shift-section .shift-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  background-color: #fff;
}

.shift-section .shift-item:first-child {
  border-top: 1px solid #eee;
}

.shift-section .shift-date {
  background: #fff;
  color: #000;
  padding: 5px;
  text-align: left;
  font-weight: 400;
  min-width: 100px;
}

.shift-section .shift-times span {
  display: block;
  font-size: 14px;
  margin: 2px 0;
}

.shift-section .shift-actions {
  display: flex;
  gap: 8px;
}

.shift-section .add-btn,
.shift-section .edit-btn,
.shift-section .delete-btn,
.shift-section .save-btn,
.shift-section .cancel-btn
{
  background: #01a6c4;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.shift-section .save-btn span,
.shift-section .cancel-btn span {
  display: block;
  font-size: 14px;
  margin: 2px 0;
}

.shift-section .shift-item {
  display: flex;
  justify-content: space-between;
  align-items: center; /* ← 重要。縦揃えを上に */
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  gap: 6px;
}

.shift-section .shift-date {
  min-width: 100px; /* 日付幅を確保（調整可能） */
  font-weight: bold;
}

.shift-section .shift-times {
  display: flex;
  flex-direction: column; /* ← 縦並びに */
  gap: 6px;
  flex: 1;
}

.shift-section .shift-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shift-section .shift-add {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.shift-section .shift-actions {
  display: flex;
  gap: 5px;
  margin-left: 10px;
}

.shift-section .shift-time-edit {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 8px;
}

.shop-row,
.time-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shift-section .shift-time-edit input[type="time"] {
  width: 120px;  /* 必要に応じて調整 */
}




/* photo.php */

/* フォト */

.photo-title {
  font-size: 16px;
  font-weight: 500;
}

.photo-section {
  padding: 20px 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.photo-section .report-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: nowrap;
}

.photo-section .filter-select {
  position: relative;
  width: 45%;
}

.photo-section .filter-dropdown {
  width: 100%;
  padding: 5px 20px;
  border-radius: 8px;
  border: none;
  background: #00aacc;
  color: white;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.photo-section .search-box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 24px;
  padding: 6px 12px;
  width: 45%; /* ⭐ 50%幅 */
  box-sizing: border-box;
}

.photo-section .search-box input {
  border: none;
  outline: none;
  font-size: 14px;
  margin-left: 6px;
  width: 100%;
  background: transparent;
}

.photo-section .search-box input::placeholder {
  font-size: 12px;
  text-align: left;
}


.photo-section .shop-select {
  background: #00aacc;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  padding-right: 36px;
}

.photo-section .shop-select-btn {
  background: #00aacc;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
}

.photo-section .photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.photo-section .photo-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.photo-section .photo-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.photo-section .photo-user {
  display: flex;
  align-items: center;
  margin: 10px 0 0 8px;
}

.photo-section .user-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
}

.photo-section .user-info {
  font-size: 10px;
  color: #666;
}

.photo-section .photo-comment {
  font-size: 14px;
  padding: 4px 8px 10px;
  color: #333;
}

.photo-section .user-register-form {
  display: flex;
  flex-direction: column;
}

/* gacha.php */

/* ルーレット */

.gacha-section {
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle at center, #222bff 0%, #040065 100%);
  font-family: "Noto Sans JP", sans-serif;
  overflow: hidden;
}
.gacha-section.birthday {
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle at center, #ff7e00 0%, #b84a00 100%);
  font-family: "Noto Sans JP", sans-serif;
  overflow: hidden;
}

.gacha-section .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  position: relative;
  height: 100vh;
  transition: transform 2s ease;
  transform-origin: center 15%;
}

.gacha-section .title {
  color: #7cf0ff;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 2vh;
  text-shadow: 0 0 8px #00f0ff;
}
.gacha-section .title.birthday {
  color: #ffe066;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 2vh;
  text-shadow: 0 0 8px #ffc107;
}

.gacha-section canvas {
  display: block;
  width: 70vmin; /* 幅・高さともにビューポート依存 */
  height: 70vmin;
  max-width: 500px;
  max-height: 500px;
  z-index: 1;
}

.gacha-section .pointer {
  width: 12vmin;
  max-width: 80px;
  transform: rotate(180deg);
  z-index: 10;
}

.gacha-section .start-button {
  margin-top: 4vh;
  padding: 3vh 6vh;
  font-size: 1.2rem;
  background: #7c00ff;
  border: 2px solid #fff;
  border-radius: 12px;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 10px #00f, 0 0 20px #0ff;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  z-index: 10;
}

.gacha-section .rule-button {
  margin-top: 4vh;
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  z-index: 10;
  background-color: transparent;
}

.gacha-section .rule-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

.gacha-section .rule-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  font-family: "sans-serif";
  position: relative;
  text-align: left;
}

.gacha-section .rule-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.gacha-section .rule-close {
  background-color: #00B4CC; /* 好きな背景色（例: 水色） */
  color: white;              /* × の色 */
  font-size: 20px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;        /* 丸くする */
  text-align: center;
  line-height: 32px;         /* ボタンの高さに合わせて中央揃え */
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: absolute;        /* ポップアップ右上に配置する場合 */
  top: 10px;
  right: 10px;
}

.gacha-section .rule-modal-content h2 {
  text-align: center;
}

.gacha-section .rule-modal-content h2,
.gacha-section .rule-modal-content p {
  padding-top: 20px;
}

.gacha-section .rule-icons {
  display: flex;
  justify-content: end;
  margin-top: 1rem;
}

.gacha-section .rule-icons img {
  height: 100px;
  margin: 0 5px;
}

.gacha-section .start-button.birthday {
  margin-top: 4vh;
  padding: 3vh 6vh;
  font-size: 1.2rem;
  background: #ff9500;
  border: 2px solid #fff;
  border-radius: 12px;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 10px #ffcc00, 0 0 20px #ffc107;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  z-index: 10;
}

.gacha-section .start-button:hover {
  box-shadow: 0 0 20px #fff;
}
.gacha-section .birthday:hover {
  box-shadow: 0 0 20px #fff176;
}

/* gacha_result.php */

/* ルーレット結果 */

.gacha-result-section {
  padding: 16px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.gacha-result-section .rule-button {
  margin-top: 4vh;
  margin-bottom: 4vh;
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  z-index: 10;
  background-color: transparent;
}

.gacha-result-section .rule-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

.gacha-result-section .rule-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  font-family: "sans-serif";
  position: relative;
  text-align: left;
}

.gacha-result-section .rule-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.gacha-result-section .rule-close {
  background-color: #00B4CC; /* 好きな背景色（例: 水色） */
  color: white;              /* × の色 */
  font-size: 20px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;        /* 丸くする */
  text-align: center;
  line-height: 32px;         /* ボタンの高さに合わせて中央揃え */
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: absolute;        /* ポップアップ右上に配置する場合 */
  top: 10px;
  right: 10px;
}

.gacha-result-section .rule-modal-content h2 {
  text-align: center;
}

.gacha-result-section .rule-modal-content h2,
.gacha-result-section .rule-modal-content p {
  padding-top: 20px;
}

.gacha-result-section .rule-icons {
  display: flex;
  justify-content: end;
  margin-top: 1rem;
}

.gacha-result-section .rule-icons img {
  height: 100px;
  margin: 0 5px;
}

.gacha-result-section .top-curve {
  width: 100%;
  height: 200px;
  background: radial-gradient(circle at center, #3b00ff, #8f00ff);
  border-bottom-left-radius: 100% 40%;
  border-bottom-right-radius: 100% 40%;
  position: relative;
}
.gacha-result-section .top-curve.birthday {
  width: 100%;
  height: 200px;
  background: radial-gradient(circle at center, #ffba00, #ff7300);
  border-bottom-left-radius: 100% 40%;
  border-bottom-right-radius: 100% 40%;
  position: relative;
}

.gacha-result-section .lights {
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.gacha-result-section .light {
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff;
}

.gacha-result-section .result-icon svg {
  width: 60px;
  height: 60px;
  fill: #a6a6ff;
}
.gacha-result-section .result-icon.birthday svg {
  width: 60px;
  height: 60px;
  fill: #ffcc33;
}

.gacha-result-section .main-message {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 20px;
}

.gacha-result-section .sub-message {
  color: #555;
  font-size: 0.95rem;
  margin-top: 5px;
  margin-bottom: 20px;
}

.gacha-result-section .coupon-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  max-width: 90%;
  width: 360px;
  text-align: left;
  margin: 0 auto 30px auto;
  text-align: center;
  margin-top: 1rem;
}

.gacha-result-section .coupon-title {
  color: #ff9900;
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.gacha-result-section .coupon-brand {
  color: #cc0000;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 5px 0;
}

.gacha-result-section .miss-box {
  border-radius: 12px;
  padding: 16px;
  max-width: 90%;
  width: 360px;
  text-align: left;
  margin: 0 auto 30px auto;
  text-align: center;
  margin-top: 1rem;
}

.gacha-result-section .miss-title {
  color: #000;
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.gacha-result-section .miss-brand {
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 5px 0;
}

.gacha-result-section .coupon-detail {
  font-size: 1rem;
  font-weight: bold;
}

.gacha-result-section .close-button {
  background: white;
  border: 2px solid black;
  border-radius: 12px;
  padding: 10px 30px;
  font-size: 1rem;
  cursor: pointer;
}

.gacha-result-section .close-button:hover {
  background: #f4f4f4;
}



/* shift.php */

/* シフト */

.list-section {
  font-family: "Noto Sans JP", sans-serif;
  padding: 20px 10px;
}

.list-section .alert {
  font-size: 14px;
  background-color: #01a6c4;
  color: #fff;
  width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
}

.list-section .section-title {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid #a6a6a6;
}

.list-section .js-back {
  cursor: pointer;
}

.list-section .list-toolbar {
  margin-bottom: 16px;
  padding: 20px 10px 0px 10px;
}

.list-section .toolbar-left {
  text-align: left;
  margin-bottom: 35px;
}
.list-section .toolbar-right {
  text-align: right;
  margin-bottom: 54px;
}

.list-section .toolbar-right a {
  font-size: 14px;
  background-color: #01a6c4;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.list-section .toolbar-right a span {
  margin-left: 4px;
  font-weight: bold;
}

.list-section .bulk-input-btn {
  background: #01a6c4;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  border: none;
}

.list-section .month-selector {
  width: 45%;
  padding: 5px 20px;
  border-radius: 8px;
  border: none;
  background: #00aacc;
  color: white;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.list-section .list-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-section .list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  background-color: #fff;
}

.list-section .list-item:first-child {
  border-top: 1px solid #eee;
}

.list-section .list-date {
  background: #fff;
  color: #000;
  padding: 5px;
  text-align: left;
  font-weight: 400;
  min-width: 100px;
}

.list-section .list-times span {
  display: block;
  font-size: 14px;
  margin: 2px 0;
}

.list-section .list-actions {
  display: flex;
  gap: 8px;
}

.list-section .add-btn,
.list-section .edit-btn,
.list-section .delete-btn,
.list-section .save-btn,
.list-section .cancel-btn
{
  background: #01a6c4;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.list-section .save-btn span,
.list-section .cancel-btn span {
  display: block;
  font-size: 14px;
  margin: 2px 0;
}

.list-section .list-item {
  display: flex;
  justify-content: space-between;
  align-items: center; /* ← 重要。縦揃えを上に */
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  gap: 6px;
}

.list-section .list-date {
  min-width: 100px; /* 日付幅を確保（調整可能） */
  font-weight: bold;
}

.list-section .list-times {
  display: flex;
  flex-direction: column; /* ← 縦並びに */
  gap: 6px;
  flex: 1;
}

.list-section .list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-section .list-add {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.list-section .list-actions {
  display: flex;
  gap: 5px;
  margin-left: 10px;
}

.list-section .list-time-edit {
  display: flex;
  align-items: center;
  gap: 8px; /* 入力欄と「～」の間隔 */
}

.list-section .list-time-edit input[type="time"] {
  width: 120px;  /* 必要に応じて調整 */
}







.view-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}
.view-area.pr {
  width: 100%;
}
.item-value {
  color: #888;
  font-size: 14px;
}

.edit-area {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  width: 90%;
}

.edit-input {
  width: 100%;
  background: #f4f4f4;
  border: 1px solid #f4f4f4;
  padding: 10px;
  margin: 0;
  font-size: 14px;

}
.edit-input:focus-visible {
  border: 1px solid #f4f4f4;
}

.save-icon {
  cursor: pointer;
  bottom: 0;
  right: 0;
  color: #01a6c4;
  border-radius: 50%;
  border: 1px solid #01a6c4;
  padding: 4px;
  font-size: 20px;
}

.side-menu,
.right-profile {
  display: none;
}

.profile-wrapper {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: #fff;
  border: 1px solid #01a6c4;
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 120px;
}

.dropdown-link {
  display: block;
  color: #01a6c4;
  text-decoration: none;
  padding: 4px 0;
}

.dropdown-link:hover {
  text-decoration: underline;
}

.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  width: 32px;
  height: 32px;
  border: 4px solid #ccc;
  border-top: 4px solid #01a6c4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


@media (min-width: 768px) {
  .disp {
    display: block !important;
  }

  .none {
    display: none !important;
  }

  .side-menu,
  .right-profile {
    display: block;
  }

  .main-layout {
    display: flex;
    justify-content: center; /* ✅ 横中央寄せ */
    max-width: 1024px;
    margin: 0 auto;
    gap: 10px;
    position: relative;
  }

  .left-menu {
    width: calc(1024px - 450px - 400px); /* =174px */
    background: #f8f8f8;
    padding: 10px;
  }

  .side-menu {
    width: 174px;
    padding: 20px 10px;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 900;
    position: sticky;
  }

  .side-menu .logo {
    font-size: 20px;
    font-weight: bold;
    color: #01a6c4;
    margin-bottom: 20px;
    text-align: left;
  }

  .side-menu .menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .side-menu .menu-nav li {
    margin-bottom: 10px;
  }

  .side-menu .menu-nav a {
    text-decoration: none;
    color: #01a6c4;
    font-size: 15px;
  }

  .side-menu .menu-nav a:hover {
    text-decoration: underline;
  }

  .center-content {
    width: 450px;
    background: #fff;
  }

  .right-profile {
    width: 400px;
    background: #f4f4f4;
  }

  .prof-footer-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5等分 */
    align-items: end;
    padding: 24px 20px;
    margin: 0;
    list-style: none;
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 100;
  }

  /* 投稿ボタンの見た目を中央で浮かせる */
  .prof-footer-menu .post-btn {
    position: relative;
    margin-top: -30px;
    z-index: 2;
  }

  .top-nav {
    display: none;
  }

  .footer-nav, .footer-menu {
    display: none;
  }
}