@charset "UTF-8";

body {
    font-family:'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

.error-message {
    font-size: 0.875em;
    color: #aa1a21;
}

.sb-sidenav-menu-nested a.nav-link {
    white-space: nowrap;      /* 折り返さない */
    overflow: hidden;         /* はみ出した部分を隠す */
    text-overflow: ellipsis;  /* 末尾を「…」にする */
}

.signup-card {
    max-width: 420px;
    margin: 60px auto;
    padding: 15px 30px 30px;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.btn-google {
    background: #fefaff;
    border: 1px solid #ddd;
}
.btn-google:hover {
    border-color: #4285f4; /* Googleっぽい青 */
}
.btn-line {
    background: #06C755;
    color: #fff;
}
.btn-line:hover {
    border-color: #06C755; /* LINEカラーで罫線 */
}

th > a.asc:after {
    color: #1a21ff;
    content: "▲";
}
th > a.desc:after {
    color: #1a21ff;
    content: "▼";
}
.large-checkbox {
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
}

.card .img-fited {
  max-width: 100%;
  overflow-x: auto;
}

.card .img-fited img {
    max-width: 100%;
    height: auto !important;
    display: block;
    border-radius: 0.25rem;
    width: auto;  
    object-fit: contain;
}
.card .img-fited iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: block; 
}
.card .img-fited iframe[src*="instagram.com"] {
    aspect-ratio: auto !important;
    min-height: 500px;
}
.card .img-fited iframe[src*="tiktok.com"] {
    aspect-ratio: auto !important;
    min-height: 500px;
}
.card .img-fited iframe[src*="twitter.com"] {
    aspect-ratio: auto !important;
    min-height: 500px;
}
.card .img-fited iframe[src*="x.com"] {
    aspect-ratio: auto !important;
    min-height: 500px;
}
.insta-wrapper iframe {
  max-width: 100% !important;
  width: 100% !important;
}

.instagram-media {
  max-width: 100% !important;
  min-width: auto !important;
}

.top-profile-img {
  width: 15vw;          /* 画面幅の15% */
  max-width: 70px;     /* 最大サイズ */
  min-width: 50px;      /* 最小サイズ */
  aspect-ratio: 1 / 1;  /* 正方形を保証 */
  border-radius: 50%;   /* 丸にする */
  object-fit: cover;    /* 枠いっぱいに画像を表示 */
}
.top-profile-name {
  font-size: 9px;
  font-weight: bold;
  display: block;
  max-width: 15vw;      /* 画像幅に揃える */
  max-width: 70px;     /* 上限 */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.top-profile-img-sm {
  width: 15vw;          /* 画面幅の15% */
  max-width: 32px;     /* 最大サイズ */
  min-width: 32px;      /* 最小サイズ */
  aspect-ratio: 1 / 1;  /* 正方形を保証 */
  border-radius: 50%;   /* 丸にする */
  object-fit: cover;    /* 枠いっぱいに画像を表示 */
}
.top-profile-name-sm {
  font-size: 8px;
  font-weight: bold;
  display: block;
  max-width: 90px;     /* 上限 */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.profile-img {
  width: 15vw;          /* 画面幅の15% */
  max-width: 170px;     /* 最大サイズ */
  min-width: 130px;      /* 最小サイズ */
  aspect-ratio: 1 / 1;  /* 正方形を保証 */
  border-radius: 50%;   /* 丸にする */
  object-fit: cover;    /* 枠いっぱいに画像を表示 */
}
.profile-name {
  font-weight: bold;
  font-size: 12px;
  display: block;
  max-width: 15vw;      /* 画像幅に揃える */
  max-width: 170px;     /* 上限 */
  white-space: nowrap;  /* 1行にする */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.profile-date {
  font-weight: bold;
  font-size: 9px;
  display: block;
  max-width: 15vw;      /* 画像幅に揃える */
  max-width: 170px;     /* 上限 */
  white-space: nowrap;  /* 1行にする */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.tiktok-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.tiktok-wrapper .tiktok-embed {
  max-width: 100% !important;
  min-width: auto !important;
  width: 100% !important;
}

.map-hover-list > div {
  transition: background-color 0.2s; /* なめらかに変化 */
  cursor: pointer;                 /* マウス感 */
  font-size:11px;
}

.map-hover-list > div:hover {
  background-color: #ccffdd;      /* ホバー色 */
}

.select2-container .select2-selection--single {
    background-color: #e8fbe7; /* 好きな色に */
    border-color: #ced4da;    /* 必要なら */
    height: 50px;
}
.select2-container .select2-results__option {
    background-color: #e8fbe7;  /* 通常 */
}
.select2-container .select2-search--dropdown{
    background-color: #e8fbe7;  /* 通常 */
}
.select2-container .select2-results__option--highlighted {
    background-color: #c8fbc7; /* ホバー中 */
}
.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 38px;      /* height と同じにすると中央に来ます */
  font-weight: bold;
}
.select2-container .select2-selection--single .select2-selection__arrow {
  height: 38px;           /* 右側の矢印も忘れずに */
}
ul.ui-autocomplete.ui-front {
    z-index: 99999999 !important;
}
.no-focus {
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}
.sortable-highlight {
    background: #e6ffee;
    height: 2.2em;
    border: 2px dashed #99eeaa;
    margin-bottom: 10px;
    height: 120px;
    border-radius: 8px;
}
.sort-handle {
  cursor: grab;
  padding: 4px 8px;
}
.sort-handle:active {
  cursor: grabbing;
}
#fileDropzone {
    border: 2px dashed #6c757d;   /* 点線の色 */
    border-radius: 12px;          /* ★ 角丸ここ */
    background: #f8f9fa;          /* ほんのり薄い背景 */
    padding: 10px;
    text-align: left !important;
}
#fileDropzone:hover {
    border-color: #0d6efd;   /* ブルーに変わるよ */
    background: #e9f2ff;
    transition: 0.2s;
}
.dropzone .dz-preview {
    margin: 6px;
    background: #f8f9fa;   /* 好きな色でOK */
    border-radius: 15px;
    overflow: visible;
}
.dropzone .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ★ contain → cover に変更 */
    object-position: center;
}
.dropzone .dz-preview .dz-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 9999;
    background: rgba(255,0,0,0.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none !important;
}	
.thumb-box {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    background-color: #fff;
}

.thumb-img {
    max-width: 100%;
    height: auto !important;
    display: block;
    border-radius: 0.25rem;
    width: auto;  
    object-fit: contain;
}

.dropzone.dz-drag-hover {
    background-color: #f0fff8;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13,253,110,.25);
}
.dropzone.dz-drag-hover.dz-accepted {
    background-color: #e6fffa;   /* OK */
    border-color: #20c997;
}

.dropzone.dz-drag-hover.dz-rejected {
    background-color: #fff5f5;   /* NG */
    border-color: #dc3545;
}

.thumb {
  width: 100%;
  max-width: 100%;
  height: 150px;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-s-small {
    font-size:11px;
}

.text-v-small {
    font-size:9px;
}

.form-action-fixed {
  position: fixed;
  bottom: 0;
  left: var(--sb-sidenav-width, 225px);
  width: calc(100% - var(--sb-sidenav-width, 225px));
  background: #fff;
  border-top: 1px solid #dee2e6;
  padding: 1rem;
  z-index: 1030;
  transition: left .2s ease, width .2s ease;
}
@media (max-width: 991.98px) {
  .form-action-fixed {
    left: 0;
    width: 100%;
  }
}
body.sb-sidenav-toggled .form-action-fixed {
  left: 0;
  width: 100%;
}	

/* 全体フォント＆背景 */
.fullcalender .fc {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* ヘッダ */
.fullcalender .fc-toolbar-title {
  font-size: 1.3rem;
  font-weight: 600;
}
.fullcalender .fc-button {
  background: #f5f7fa;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 8px;
}
.fullcalender .fc-button:hover {
  background: #e9ecf1;
}
/* 日付セル */
.fullcalender .fc-daygrid-day {
  padding: 4px;
}
.fullcalender .fc-daygrid-day-number {
  font-size: 0.85rem;
  color: #666;
}
/* 今日 */
.fullcalender .fc-day-today {
  background: #fff7e6 !important;
}
/* イベント */
.fullcalender .fc-event {
  border: none;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.fullcalender .fc-event-title {
  font-weight: 500;
}
/* 曜日（ヘッダ）の下線を消す */
.fullcalender .fc-col-header-cell-cushion {
  text-decoration: none !important;
}
/* 日付リンクの下線を消す */
.fullcalender .fc-daygrid-day-number {
  text-decoration: none !important;
}
.fullcalender .fc-list-day-text,
.fullcalender .fc-list-day-side-text {
  text-decoration: none !important;
}
.object-fit-cover {
  object-fit: cover;
}
