@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/

/* swiper */
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');


body {
  @apply flex flex-col min-h-screen bg-white;
}

@layer components {
  .data-table {
    @apply w-full text-sm rounded-xl overflow-hidden shadow-md;
  }

  .data-table tr:has(th) {
    @apply bg-gray-100;
  }

  .data-table tr:has(td) {
    @apply bg-white;
  }

  .data-table tr:has(td) {
    @apply hover:bg-gray-100;
  }

  .data-table th {
    @apply text-left py-4 px-4;
  }

  .data-table td {
    @apply py-3 px-4 border-t-[1px] border-dotted border-gray-200;
  }

  .data-table td.post-data .post-edit {
    @apply mt-2 opacity-0 flex gap-2 text-sm text-gray-400;
  }

  .data-table td.post-data:hover .post-edit {
    @apply opacity-100;
  }

  .data-table tr:first-child td {
    @apply border-t-0;
  }

  .data-table.scrollable {
    @apply flex-none w-auto
  }

  .data-table.scrollable th,
  .data-table.scrollable td {
    @apply px-3
  }

  .fa-circle-check {
    @apply text-gray-300;
  }

  .fa-circle-check.active {
    @apply text-[#a1d32a];
  }

  .form input[type="text"],
  .form input[type="email"],
  .form input[type="date"],
  .form input[type="password"],
  .form input[type="number"],
  .form input[type="search"],
  .form input[type="datetime-local"] {
    @apply bg-white border-gray-300 border-[1px] rounded;
  }

  .form input[type="checkbox"] {
    @apply border-gray-300 border-[1px] rounded;
  }

  .form input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
  }

  .form input[type="text"]:read-only {
    @apply text-gray-400;
  }

  .form textarea:read-only {
    @apply text-gray-400;
  }

  .form input[type="date"]:read-only {
    @apply text-gray-400;
  }

  .form input[type="text"]:disabled,
  .form input[type="email"]:disabled,
  .form input[type="date"]:disabled,
  .form input[type="password"]:disabled,
  .form input[type="number"]:disabled,
  .form input[type="search"]:disabled,
  .form textarea:disabled,
  .form select:disabled {
    @apply text-gray-400;
  }

  .form select {
    @apply bg-white border-gray-300 border-[1px] text-sm rounded block p-2.5;
  }

  .form textarea {
    @apply bg-white border-gray-300 border-[1px] rounded p-2.5;
  }

  .form .field_with_errors input[type="text"],
  .form .field_with_errors input[type="email"],
  .form .field_with_errors input[type="date"],
  .form .field_with_errors input[type="password"],
  .form .field_with_errors select,
  .form .field_with_errors input[type="number"],
  .form .field_with_errors input[type="search"],
  .form .field_with_errors input[type="file"],
  .form .field_with_errors input[type="datetime-local"],
  .form .field_with_errors textarea {
    @apply bg-gray-100;
  }

  a.button,
  button.button,
  input.button,
  span.button {
    @apply inline-block text-white py-2 px-5 rounded text-sm font-bold bg-gray-800;
  }

  .calendar {
    @apply text-sm w-1/3 mb-10
  }

  .calendar .body {
    @apply grid grid-cols-7 text-center border-gray-200 border-l-[1px] border-t-[1px];
  }

  .calendar .wd {
    @apply col-span-1 bg-gray-200 py-2 border-gray-300 border-r-[1px] border-b-[1px];
  }

  .calendar .d {
    @apply col-span-1 bg-white py-2 border-gray-200 border-r-[1px] border-b-[1px];
  }

  .calendar .d,
  .calendar .d div,
  .calendar .d a {
    @apply flex items-center justify-center w-full;
  }

  .calendar .d .noscheme {
    @apply h-8;
  }

  .calendar .d .start_date {
    @apply h-8 bg-gray-300 rounded-l-full;
  }

  .calendar .d .expiration_date {
    @apply h-8 bg-gray-300 rounded-r-full;
  }

  .calendar .d .between_date {
    @apply h-8 bg-gray-300;
  }

  .calendar .today,
  .calendar div.d a:hover .noscheme {
    @apply h-8 w-8 bg-gray-500 text-white rounded-full flex justify-center items-center;
  }

  .calendar div.d.we {
    @apply bg-gray-100
  }

  .calendar div.wd.we {
    @apply bg-gray-300
  }

  .calendar div.d a:hover .noscheme {
    @apply bg-gray-300;
  }

  /* 検索コントロール */
  .form input.checkbox {
    @apply w-5 h-5 inline-block border-2 border-theme-green cursor-pointer shadow-[1px_1px_0_#0002] -translate-y-0.5;
  }

  .form select.dropdown-select {
    @apply pr-10;
  }

  /* 検討リストボタン */

  .cons_true i {
    @apply text-pink-600;
    animation: grow 0.25s forwards;
  }
  .cons_false i {
    @apply text-gray-300;
  }

  @keyframes grow {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.5);
    }

    100% {
      transform: scale(1);
    }
  }

  /* 共通ラッパー要素 */
  .main-container {
    @apply bg-theme-background py-28 md:py-36 flex-1;
  }
  .main-container-wrapper {
    @apply max-w-screen-xl mx-auto px-4;
  }

  /* リンクの矢印 */
  .link-chevron-gray::after {
    @apply font-fontawesome ml-1 content-["\f105"] text-black/50;
  }
  .link-chevron-white::after {
    @apply font-fontawesome ml-1 content-["\f105"] text-white;
  }
  .link-chevron-theme-green::after {
    @apply font-fontawesome ml-1 content-["\f105"] text-theme-green;
  }
  .link-chevron::after {
    @apply font-fontawesome ml-1 content-["\f105"] text-black;
  }


  /* Font Awesome アイコン */
  .fontawesome-icon {
    @apply font-fontawesome after:block;
  }
  /* メニューアイコン */
  .icon-menu {
    @apply fontawesome-icon after:content-["\f0c9"];
  }
  /* 閉じるアイコン */
  .icon-close {
    @apply fontawesome-icon after:content-["\f00d"];
  }

  /* 見出しスタイル */
  .middle-bar {
    @apply relative inline-block px-16;
  }
  .middle-bar::before,
  .middle-bar::after {
    @apply content-[""] absolute top-1/2 inline-block w-[50px] h-[1px] bg-theme-green;
  }
  .middle-bar::before {
    @apply left-0;
  }
  .middle-bar::after {
    @apply right-0;
  }

  /* カード表示 */
  .cards {
    /* TODO: リネーム？ */
    @apply grid grid-cols-[repeat(auto-fill,minmax(230px,1fr))] gap-6 max-w-[1400px] w-full;
  }

  /* .card {
    @apply bg-white grid grid-rows-[max-content_100px_1fr] rounded-lg
  }
  .card img {
    @apply object-cover w-full h-[200px] bg-neutral-100 rounded-t-xl;
  } */

  /* .card .content {
    @apply max-h-[100px];
  } */

  /* .card_voice,
  .card_senior {
    @apply grid rounded-xl bg-white;
  } */

  /* .card_voice img,
  .card_senior img {
    @apply w-full h-full min-h-[200px] bg-neutral-100 rounded-t-xl object-cover;
  } */

  /* .card-content {
    @apply relative;
  } */

  /* .bottom-right {
    @apply absolute bottom-0 right-0;
  } */

  /* 画像ダミー */
  .card-dummy-image {
    @apply w-full h-[200px] rounded-t-xl bg-neutral-200;
  }

  /* SNSアイコン */
  .sns-icon {
    @apply w-[80px] h-[80px] grid place-items-center bg-white rounded-full shadow-[0.25rem_0.25rem_0_#0001];
  }

  /* 埋め込みYouTube */
  .embed-youtube {
    @apply relative pb-9/16 overflow-hidden;
  }
  .embed-youtube iframe {
    @apply absolute top-0 left-0 w-full h-full border-none;
  }

  /* Swiper */

  /* .company_swiper {
    @apply max-w-[600px] w-full h-auto;
  } */

  /* .company_swiper img {
    @apply rounded-[2rem];
  } */

  .swiper.cci-swiper .swiper-slide {
    @apply transition-transform duration-300 ease-in-out;
  }
  .swiper.cci-swiper .swiper-slide:not(.swiper-slide-active) {
    @apply scale-90;
  }
  .swiper-pagination.cci-swiper-pagination {
    /* TODO */
    @apply static mt-6 md:mt-8;
  }
  .swiper-pagination.cci-swiper-pagination .swiper-pagination-bullet {
    /* TODO */
    @apply w-[40px] md:w-[60px] h-[8px] md:h-[10px] rounded-full;
  }

  .swiper-pagination.cci-swiper-pagination .swiper-pagination-bullet-active {
    /* TODO */
    @apply bg-theme-green;
  }
  .swiper-slide-thumb{
    @apply opacity-70 cursor-pointer
  }
  .swiper-slide-thumb.swiper-slide-thumb-active{
    @apply opacity-100
  }
  /* CCI ページネーション */
  .cci-pagination nav.pagination {
    @apply flex justify-center;
  }

  .cci-pagination nav.pagination span {
    /* TODO */
    @apply min-w-[30px] min-h-[30px] m-1.5 p-1 rounded border border-neutral-500;
  }

  .cci-pagination nav.pagination span.nav-disable {
    @apply border-gray-400 text-gray-400;
  }

  .cci-pagination nav.pagination span.current-page {
    @apply border-none;
  }

  .cci-pagination nav.pagination span.current {
    /* TODO */
    @apply border border-theme-green bg-theme-green text-white;
  }

  /* リストページネーション */
  .list-pagination nav.pagination {
    @apply flex justify-center;
  }

  .list-pagination nav.pagination span {
    @apply min-w-[30px] m-1.5 p-1 rounded border border-neutral-500 transition-colors duration-75;
  }
  
  .list-pagination nav.pagination span a {
    @apply hover:bg-white;
  }

  .list-pagination nav.pagination span.nav-disable {
    @apply border-gray-400 text-gray-400;
  }

  .list-pagination nav.pagination span.current-page {
    @apply border-none;
  }

  .list-pagination nav.pagination span.current {
    @apply border border-theme-green bg-theme-green text-white;
  }

  /* Manager ページネーション */
  .manager-pagination nav.pagination {
    @apply flex justify-end;
  }

  .manager-pagination nav.pagination span {
    /* TODO */
    @apply min-w-[30px] min-h-[30px] m-1.5 p-1 rounded border border-neutral-500;
  }

  .manager-pagination nav.pagination span.current {
    /* TODO */
    @apply border border-neutral-500 bg-neutral-500 text-white;
  }

  /* ヘッダーをよける */
  .main_wrapper {
    /* TODO */
    @apply mt-[100px] md:mt-[120px];
  }

  /* tom-select */
  .tom-select .item {
    /* TODO: .tom-select .item に一致するものが無い？ */
    @apply border-theme-green bg-none bg-white text-theme-green shadow-none !important;
  }

  /* Editor.js */
  .editorjs-container {
    /* @apply ; */
  }

  /* 長いURLの折り返し・埋め込み(iframe等)のはみ出し防止 */
  #editorjs-html {
    overflow-wrap: anywhere;
  }
  #editorjs-html iframe,
  #editorjs-html img,
  #editorjs-html video,
  #editorjs-html a {
    max-width: 100%;
  }
  #editorjs-html img {
    height: auto;
  }

  /* Masonry Grid */
  .msnry_grid {
    @apply bg-[#f8f7fa];
  }

  .grid-sizer {
    @apply w-1/3;
  }

  .grid-item {
    @apply w-1/3 float-left;
  }
  .grid-item img {
    @apply block w-full;
  }
}

@layer utilities {
  /* 省略フェードアウト */
  .fade-out {
    /* マスクを適用して下に行くにつれてフェードアウト */
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
    mask-image: linear-gradient(to bottom, black, transparent);

    /* マスクを適用すると背景が消えるので、白背景を維持 */
    background-color: white;
  }

  /* スクロールバー非表示 */
  .scrollbar-hidden {
    -ms-overflow-style: none; /* IE, Edge 対応 */
    scrollbar-width: none; /* Firefox 対応 */
  }
  .scrollbar-hidden::-webkit-scrollbar { /* Chrome, Safari 対応 */
    display: none;
  }

  /* ボタンカラー */
  .btn-primary {
    @apply bg-theme-green text-white;
  }
  .btn-secondary {
    @apply border border-neutral-500 bg-white text-neutral-500;
  }

  /* ボタンサイズ */
  .btn-small {
    @apply min-w-16 min-h-10 py-1.5 px-2 rounded text-sm font-bold cursor-pointer;
  }

  /* マーカー */
  .text-marker {
    background-image: linear-gradient(to bottom, transparent 75%, #e3c174 75%);
  }

  /* <details> マーカー削除 */
  .no-details-marker {
    @apply list-none;
  }
  .no-details-marker > summary::-webkit-details-marker {
    @apply hidden;
  }


}

.node-data .node-edit,
.parent-node-data .node-edit {
  @apply mt-2 ml-2 opacity-0 flex gap-2 text-xs text-gray-400;
}

.node-data:hover .node-edit,
.parent-node-data:hover .node-edit {
  @apply opacity-100;
}

.table-style01{
  @apply w-full border-[1px] border-gray-300
}
.table-style01 th, .table-style01 td{
  @apply py-3 px-5 border-t-[1px] border-gray-300
}
.table-style01 th{
  @apply w-1/5 bg-[#CABA9E] text-white text-left
}

.article-style01{
  @apply !p-5 border-[1px] border-dotted mb-5 border-gray-600
}
.article-style01 h2{
  @apply font-bold text-lg mb-2
}
.article-style01 p{
}

.theme-header {
  @apply text-theme-green border-theme-green border-l-4 p-2 mb-2 !important;
}
/* styles.css */
.article-table-block {
  display: block;
  width: 100%;
  padding: 10px;
  margin: .6em 0;
  border: 2px dotted #ccc;
  background-color: #fafafa;
}

.article-table-block.stretched {
  width: 100%;
}

.article-table-title {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: .25rem;
  padding: 8px 12px;
  background-color: white;
  margin-bottom: 10px;
}

.tc-table{
  background-color: white
}

.cdx-block{
  padding: .4em 1em;
}
.article-block {
  display: block;
  width: 100%;
  padding: 10px;
  margin: .6em 0;
  border: 2px dotted #ccc;
  background-color: #fafafa;
}
.article-block .article-title,
.article-block .article-body {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: .25rem;
  padding: 8px 12px;
  background-color: white;
}
.article-block .article-title{
  margin-bottom: 10px;
}
.ce-popover {
  max-height: 500px !important;
}

.ce-popover--opened {
  max-height: 500px !important;
}
.cdx-block-class-tune-wrapper {
  padding: 0.25rem 0.125rem;
}

.cdx-block-class-tune-label {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.75;
}

.cdx-block-class-tune-input {
  display: block;
  width: 100%;
  padding: 0.25rem 0.25rem;
  border-radius: 0.25rem;
  border: solid 1px #ddd;
  background-color: rgba(232,232,235,.32);
}
.cdx-block-class-tune-input::placeholder {
  color: #0006;
}
.cdx-quote-p {
  position: relative;
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 2em;
  font-style: italic;
}

.cdx-quote__caption-p {
  text-align: right;
}

blockquote.cdx-quote-p::before {
  position: absolute;
  top: 0.2em;
  left: 0.2em;
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  color: #cfcfcf;
  font-size: 1.5em;
  line-height: 1;
  font-weight: 900;
}
/* エディター側 */
.ce-block__content,
.ce-toolbar__content {
  max-width: 800px !important;
}
.cdx-block {
  max-width: 100% !important;
}

/* 表示側 */
/* .editorjs-container {
  margin: 0 auto;
  min-width: 600px;
  max-width: 800px !important;
} */

.cdx-block-p {
  max-width: 100%;
  padding: .4em 0;
}

.cdx-block-p>iframe {
  margin: 0 auto;
}

.cdx-block-p>textarea {
  width: 100% !important;
  border-radius: 4px;
}

/* Containers */
.ce-tune-group {
  padding: 0.35rem 0.2rem;
}

.ce-toolbox-group {
  padding: 0.35rem 0.5rem;
}
.ce-toolbox-group:not(.ce-toolbox-active) {
  display: none;
}

/* Form Label */
.ce-toolbox-label {
  display: block;
  margin-bottom: 0.35rem;
  padding-inline: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.5;
}

/* Form Layout */
.ce-toolbox-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

/* Buttons */
.ce-toolbox-button {
  display: block;
  padding-inline: 0.25rem;
  border-radius: 0.25rem;
  border: none;
  box-shadow: 0 0 0 1px rgba(201, 201, 204, .48);
  background: white;
}
.ce-toolbox-button:active {
  background: #0001;
}

/* Text Input */
.ce-toolbox-input {
  display: block;
  width: 100%;
  padding: 0.25rem 0.25rem;
  border-radius: 0.25rem;
  border: none;
  background-color: rgba(232, 232, 235, 0.24);
  box-shadow: 0 0 0 1px rgba(201, 201, 204, .48);
}
.ce-toolbox-input::placeholder {
  color: #0006;
}

/* Checkbox */
.ce-toolbox-checkbox-wrapper {
  padding: 0.5rem 0;
  font-size: 0.75rem;
  -webkit-user-select: none;
  user-select: none;
}
.ce-toolbox-checkbox-wrapper input[type="checkbox"] {
  margin: 0 0.125rem;
}
.ce-toolbox-checkbox-wrapper label {
  margin: 0 0.125rem;
}

/* Textarea */
.ce-toolbox-textarea {
  display: block;
  width: 100%;
  padding: 0.3rem 0.35rem;
  border-radius: 0.25rem;
  border: none;
  background-color: rgba(232, 232, 235, 0.24);
  box-shadow: 0 0 0 1px rgba(201, 201, 204, .48);
}
.ce-toolbox-textarea::placeholder {
  color: #0006;
}
.ce-delimiter::before {
  display: inline-block;
  content: "***";
  font-size: 30px;
  line-height: 65px;
  height: 30px;
  letter-spacing: .2em;
}

.cdx-divider-wrapper {
  padding-block: 2rem;
}

.cdx-divider-hr {
  min-height: 1px;
  box-sizing: border-box;
  border: none;
  background-color: currentColor;
}
h1.ce-header {
  font-size: 2em;
  font-weight: bold;
}

h2.ce-header {
  font-size: 1.5em;
  font-weight: bold;
}

h3.ce-header {
  font-size: 1.17em;
  font-weight: bold;
}

h4.ce-header {
  font-size: 1em;
  font-weight: bold;
}

h5.ce-header {
  font-size: 0.83em;
  font-weight: bold;
}

h6.ce-header {
  font-size: 0.67em;
  font-weight: bold;
}

.cd-header {
  display: block;
  unicode-bidi: isolate;
  padding: .6em 0 3px;
  margin: 0;
  line-height: 1.25em;
  outline: none;
}
/* 全体のラッパ */
.image-size-tune-wrapper {
  display: flex;
  flex-direction: row; /* 縦に並べる場合 */
  gap: 2px;
}

/* ボタン部分 */
.image-size-tune-button {
  display: flex;
  align-items: start;
  align-items: center;
  border-radius: 5px;
  padding: 3px;
  cursor: pointer;
  background-color: #fff;
  color: #000;
}

/* アクティブ時 */
.image-size-tune-button--active {
  background-color: #ecf4fd; /* 淡い青背景 */
  border-color: #dbe8f5;     /* 周囲の境界色も薄い青系に */
  color: #1a73e8;           /* テキストを青っぽく */
}

/* アイコン部分 */
.image-size-tune-button__icon{
  border-radius: 5px;
  width: 26px;
  height: 26px;
  -webkit-box-shadow: 0 0 0 1px var(--color-border-icon);
  box-shadow: 0 0 0 1px var(--color-border-icon);
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: 10px;
  padding: 7px;
}
.image-size-tune-button:hover{
  background-color: #F4F4F5;
}

/* ラベル部分 */
.image-size-tune-button__label {
  font-size: 14px;
}
/* 全体のラッパ */
.layout-tune-wrapper {
  display: flex;
  gap: 2px;
}

/* ボタン部分 */
.layout-tune-button {
  display: flex;
  align-items: start;
  align-items: center;
  border-radius: 5px;
  padding: 3px;
  cursor: pointer;
  background-color: #fff;
  color: #000;
}

/* アクティブ時 */
.layout-tune-button--active .layout-tune-button__icon{
  -webkit-box-shadow: 0 0 0 1px #aaa;
  box-shadow: 0 0 0 1px #aaa;
}

/* アイコン部分 */
.layout-tune-button__icon{
  border-radius: 5px;
  width: 26px;
  height: 26px;
  -webkit-box-shadow: 0 0 0 1px var(--color-border-icon);
  box-shadow: 0 0 0 1px var(--color-border-icon);
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 3px;
}
/* 実際のアライメント用クラス */
.text-left   { text-align: left; }
.text-center { text-align: center; }


.image-text-block {
  display: flex;
  width: 100%;
  padding: 10px;
  margin: .6em 0;
  border: 2px dotted #ccc;
  background-color: #fafafa;
  gap: 10px;
  align-items: top; /* 垂直方向の中央揃え */
}

/* レイアウト: 上（column） */
.image-text-block.column {
  flex-direction: column;
}

/* レイアウト: 右（row-reverse） */
.image-text-block.row-reverse {
  flex-direction: row-reverse;
}

/* レイアウト: 下（column-reverse） */
.image-text-block.column-reverse {
  flex-direction: column-reverse;
}

/* レイアウト: 左（row） */
.image-text-block.row {
  flex-direction: row;
}

/* 本文用コンテナ */
.image-text-body {
  flex: 1;
  width: 100%;
  min-height: 80px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  position: relative;
}

.image-text-block .image-tool{
  display: block;
  width: 50%;
}
.image-text-block.column .image-tool,
.image-text-block.column-reverse .image-tool{
  margin: 0 auto;
}
.image-text-block.column .image-tool.image-tool--stretched,
.image-text-block.column-reverse .image-tool.image-tool--stretched{
  width: 100%;
}

.image-text-block .image-text-body {
  display: block;
  width: 50%;
  border: 1px solid #ccc;
  border-radius: .25rem;
  padding: 8px 12px;
  background-color: white;
}
.image-text-block.column .image-text-body,
.image-text-block.column-reverse .image-text-body{
  width: 100%;
}

.image-tool__caption {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
}

.image-text-block .image-tool__caption{
  display: none !important;
}

.image-text--filled {
  border: none;
  background-color: transparent;
}
.image-tool__link[contentEditable="true"][data-placeholder]::before {
  position: absolute !important;
  content: attr(data-placeholder);
  color: #707684;
  font-weight: normal;
  display: none;
}

.image-tool__link[contentEditable="true"][data-placeholder]:empty::before {
  display: block;
}

.image-tool__link[contentEditable="true"][data-placeholder]:empty:focus::before {
  display: none;
}

.image-tool__link {
  display: block;
  visibility: visible;
}

.image-tool--empty .image-tool__link,
.image-tool--uploading .image-tool__link {
  visibility: hidden !important;
}
.ce-inline-link {
  color: -webkit-link;
  cursor: pointer;
  text-decoration: underline;
}
.cdx-nested-list__unordered>.cdx-nested-list__item:before {
  content: "•";
}

.cdx-nested-list__ordered>.cdx-nested-list__item:before {
  content: counters(item, ".") ". ";;
}
/* 全体のラッパ */
.alignment-tune-wrapper {
  display: flex;
  flex-direction: column; /* 縦に並べる場合 */
  gap: 2px;
}

/* ボタン部分 */
.alignment-tune-button {
  display: flex;
  align-items: start;
  align-items: center;
  border-radius: 5px;
  padding: 3px;
  cursor: pointer;
  background-color: #fff;
  color: #000;
}

/* アクティブ時 */
.alignment-tune-button--active {
  background-color: #ecf4fd; /* 淡い青背景 */
  border-color: #dbe8f5;     /* 周囲の境界色も薄い青系に */
  color: #1a73e8;           /* テキストを青っぽく */
}

/* アイコン部分 */
.alignment-tune-button__icon{
  border-radius: 5px;
  width: 26px;
  height: 26px;
  -webkit-box-shadow: 0 0 0 1px var(--color-border-icon);
  box-shadow: 0 0 0 1px var(--color-border-icon);
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: 10px;
  padding: 7px;
}
.alignment-tune-button:hover{
  background-color: #F4F4F5;
}

/* ラベル部分 */
.alignment-tune-button__label {
  font-size: 14px;
}

/* 実際のアライメント用クラス */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.cdx-spacer-block-wrapper {
  position: relative;
  box-sizing: content-box;

  opacity: 0.2;
  transition: opacity 150ms linear;
}
.cdx-spacer-block-wrapper.spacer-resizing,
.cdx-spacer-block-wrapper:hover {
  opacity: 1;
}

.cdx-spacer-block-body {
  position: relative;
  height: calc(100% - 5px);
  border-radius: 0.25rem;
  border: solid #0005 1px;
  background-color: #eee;
}

.cdx-spacer-block-thumb {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15px;
  width: 100%;
  cursor: row-resize;
}
.cdx-spacer-block-thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: solid 1px #000a;
  background: white;

  opacity: 0;
}
.cdx-spacer-block-wrapper.spacer-resizing .cdx-spacer-block-thumb::after,
.cdx-spacer-block-wrapper:hover .cdx-spacer-block-thumb::after {
  opacity: 1;
}

.cdx-spacer-block-sizeinfo {
  position: absolute;
  top: 0.15rem;
  right: 0.5rem;
  font-size: 0.8rem;
  opacity: 0;
  user-select: none;
}
.cdx-spacer-block-wrapper.spacer-resizing .cdx-spacer-block-sizeinfo,
.cdx-spacer-block-wrapper:hover .cdx-spacer-block-sizeinfo {
  opacity: 1;
}

/* Settings */
.cdx-spacer-block-settings-wrapper {
  padding: 0.25rem 0.125rem;
}

.cdx-spacer-block-settings-label {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.75;
}

.cdx-spacer-block-settings-input-wrapper {
  display: flex;
  gap: 0.5rem;
}
.cdx-spacer-block-settings-input {
  display: block;
  width: 100%;
  padding: 0.25rem 0.25rem;
  border-radius: 0.25rem;
  border: solid 1px #ddd;
  background-color: rgba(232,232,235,.32);
}
.cdx-spacer-block-settings-input::placeholder {
  color: #0006;
}
.cdx-spacer-block-settings-apply {
  display: block;
  padding-inline: 0.25rem;
  border-radius: 0.25rem;
  border: solid 1px #ddd;
  background: white;
}
.cdx-spacer-block-settings-apply:active {
  background: #0001;
}
.cdx-table-p {
  border: 1px solid #ccc;
  width: 100%;
}

.cdx-table-p th {
  background-color: #c79852;
  border: 1px solid #ccc;
  padding: 10px;
  color: white;
} 

.cdx-table-p td {
  border: 1px solid #ccc;
  padding: 10px;
}
.cdx-warning-wrapper {
  background-color: rgba(255, 255, 0, 0.3);
  border-radius: 4px;
  padding: 2em;
  display: flex;
  align-items: center;
}

.cdx-warning-content {
  padding-left: 2em;
}

.cdx-warning-title {
  font-weight: bold;
  margin-bottom: 0.2em;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* .form_detail{
  border: 1px solid #eee;
  border-radius: 15px;
  background-color:#fafafa;
  padding: 20px 30px;
  margin: 20px 0;
}
.form_detail.logs{
  max-height: 300px;
  overflow-y: scroll;
} */
/* .field{
  display: flex;
  justify-content: space-between;
} */
/* .field_label{
  width: 200px;
  padding-right: 30px;
  box-sizing: border-box;
  padding-bottom: 30px;
  font-weight: bold;
} */
/* .field_body{
  border-left: 1px solid #ddd;
  width: calc(100% - 200px);
  padding-left: 30px;
  box-sizing: border-box;
  padding-bottom: 30px;
} */

/* .swiper {
  width: 600px;
  height: 300px;
} */


/* .msnry_grid {
  background: #f8f7fa;
} */

/* .grid-sizer,
.grid-item {
  width: 33.333%;
} */

/* .grid-item {
  float: left;
} */

/* .grid-item img {
  display: block;
  width: 100%;
} */

/* #contact_message {
  display: none;
} */

/* .user-menu li {
  background-color: white;
} */

/* .user-menu li i {
  color: #557A44;
} */

/* .connect-color {
  color: #557A44;
} */

/* .connect-bg-color {
  background-color: #557A44 !important;
} */

/* .connect-border {
  border: 1px solid #557A44;
}

.connect-border-b {
  border-bottom: 1px solid #557A44;
}

.connect-border-b-2 {
  border-bottom: 2px solid #557A44;
} */

/* .connect-border-l-6 {
  border-left: 6px solid #557A44;
} */

/* .connect-border-r {
  border-right: 1px solid #557A44;
} */

/* li.user {
  position: relative;
} */

/* ul.user_nav {
  width: 125px;
  position: absolute;
  display: none;
  border: 1px solid #eee;
  border-radius: 10px;
  background-color: #fff;
  padding: 15px 12px;
  top: 30px;
  left: 10px;
} */

/* ul.user_nav li {
  color: black ;
} */

/* ul.user_nav.active {
  display: block;
} */

/* body { */
  /* display: flex; */
  /* flex-direction: column; */
  /* min-height: 100vh; 画面の高さを最低限確保 */
  /* margin: 0; デフォルトの余白を消す */
/* } */

/* .site_header .site_id {
  margin-left: 10px;
  width: 220px;
} */

/* .site_header .site_id .connect22_logo {
  display: inline-block;
  max-width: 50px;
} */

/* .site_header .site_id .connect22_logo_text_1 {
  display: inline-block;
  max-width: 100px;
} */

/* .site_header .globalnav {
  width: 100%;
  display: flex;
  margin: 0 4px;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
} */

/* .site_header .globalnav li:not(:first-child):not(:last-child) {
  margin-left: 1rem;
} */

/* .site_header .globalnav li:last-child {
  margin-left: auto;
} */

/* .site_header .globalnav li a::after {
  font-family: "FontAwesome";
  content: "\f105";
  margin-left: .3em;
} */

/* .site_footer .site_id .connect22_logo {
  display: inline-block;
  width: 80px;
}

.site_footer .site_id .connect22_logo_text_1 {
  display: inline-block;
  width: 160px;
} */

/* .site_footer .site_id img {
  filter: brightness(0) invert(1);
}

.user_header .site_id img {
  filter: brightness(0) invert(1);
} */

/* .site_footer {
  border-top-right-radius: 5rem;
  border-top-left-radius: 5rem;
} */

/* .header_wrapper {
  right: 0;
  left: 0;
  position: fixed;
  z-index: 100;
} */

/* #mainvisual {
  background-size: cover;
  background-position: center;
  background-color: #eee;
  height: 100vh;
  position: relative;
  z-index: 0;
  border-bottom-right-radius: 5rem;
  border-bottom-left-radius: 5rem;
}

#mainvisual::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url(/assets/mainvisual-f93d3a0f10b94943f7aa56e0fbd2a6466b63d4adb2ea9c6e04979cc95fdc23cc.png) no-repeat center;
  background-size: cover;
  position: relative;
  border-bottom-right-radius: 5rem;
  border-bottom-left-radius: 5rem;
} */

/* #mainvisual-cci {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  z-index: 0;
} */

/* #mainvisual-cci::before {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: url(/assets/mainvisual-f93d3a0f10b94943f7aa56e0fbd2a6466b63d4adb2ea9c6e04979cc95fdc23cc.png) no-repeat center;
  background-size: cover;
  position: relative;
} */

/* #company_count {
  background-color: white;
  width: 160px;
  height: 160px;
  padding: 25px;
  border-radius: 100%;
  position: absolute;
  right: 10%;
  bottom: 150px;
} */

/* #company_count div p {
  position: relative;
} */

/* #company_count div p:nth-child(2):after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  display: block;
  border-bottom: 5px solid rgba(255, 200, 0, 0.5);
  box-sizing: border-box;
} */

/* #company_count div p:nth-child(3) {
  font-size: 10px;
} */

/* .copy-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 要素を中央に配置
  width: 100%;
} */

/* .cci-swiper-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 要素を中央に配置
  width: 100%;
} */

/* .copy-image {
  margin: auto;
  width: 80%;
  max-width: 700px;
} */

/* .copy-text {
  font-size: 30px;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  color: white;
} */

/* #search {
  position: relative;
  top: -100px;
  z-index: 10;
} */

/* .search {
  background-color: #f6f0d2;
  border-radius: 5rem;
} */

/* .search_news {
  background-color: #f6f0d2;
} */

/* .search_condition p {
  border-color: #557A44;
}

.search_condition > div {
  border-color: #557A44;
} */

/* .freeword-input {
  border-radius: 9999px !important;
} */

/* .search-button {
  border-radius: 9999px !important;
  padding: 14px 40px !important;
  background-color: #557A44 !important;
  font-size: 20px !important;
} */

/* .search-button i {
  margin-right: 4px;
} */

/* .news_search-button {
  height: 40px;
  width: 60px;
  background-color: #557A44 !important;
  font-size: 14px !important;
  padding: 6px 8px !important;
  color: white;
  font-weight: bold;
  border-radius: 4px;
} */

/* .news_search-clear-button {
  height: 40px;
  width: 60px;
  font-size: 14px !important;
  padding: 6px 8px !important;
  color: gray;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid gray;
} */

/* .cards-containar {
  display: flex;
  justify-content: center;
} */

/* .cards { */
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-gap: 24px; */

  /* カードの最大幅を制限 */
  /* max-width: 1400px; */
  /* 幅を100%にして中央に寄せる */
  /* width: 100%; */
/* } */

/* .card {
  background-color: white;
  display: grid;
  grid-template-rows: max-content 100px 1fr;
  border-radius: 10px;
} */

/* .card img {
  object-fit: cover;
  width: 100%;
  height: 200px;
  background-color: #f0f0f0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
} */

/* .card .dummy-image,
.card_voice .dummy-image,
.card_senior .dummy-image {
  width: 100%;
  height: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
} */

/* .card .content {
  max-height: 100px;
}

.card_voice, .card_senior {
  background-color: white;
  display: grid;
  border-radius: 10px;
}

.card_voice img, .card_senior img {
  object-fit: cover;
  width: 100%;
  height: auto;
  background-color: #f0f0f0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  min-height: 200px;
} */

/* .middle-bar {
  position: relative;
  display: inline-block;
  padding: 0 64px;
}

.middle-bar::before,
.middle-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: #557A44;
}

.middle-bar::before {
  left: 0;
}

.middle-bar::after {
  right: 0;
} */

/* .sns-banner {
  display: flex;
} */

/* .sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: 70px;
  height: 70px;
  padding: 15px;
  border-radius: 50%;
  margin: 15px;
} */


/* .cci-swiper {
  width: 80%;
  height: auto;
}

.company_swiper {
  max-width: 600px;
  width: 100%;
  height: auto;
}

.company_swiper img {
  border-radius: 2rem;
}

.cci-swiper img {
  border-radius: 1rem;
}

.cci-swiper-pagination .swiper-pagination-bullet {
  width: 60px;
  height: 10px;
  border-radius: 9999px;
}

.cci-swiper-pagination .swiper-pagination-bullet-active {
  background-color: #557A44;
} */

/* .side-nav {
  padding: 10px;
  width: 100px;
  position: fixed;
  top: 60%;
  right: 0;
  z-index: 5;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
}

.side-nav i {
  width: 30px;
  height: 30px;
  padding:5px;
  background-color: #557A44;
  border-radius: 50%;
  color: white;
} */

/* .main_wrapper {
  margin-top: 120px;
} */

/* .fade_out { */
  /* マスクを適用して下に行くにつれてフェードアウト */
  /* -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent); */

  /* マスクを適用すると背景が消えるので、白背景を維持 */
  /* background-color: white;
} */

/* .cci-pagination nav.pagination {
  display: flex;
  justify-content: center;
} */

/* .cci-pagination nav.pagination span {
  border: 1px solid gray;
  padding: 4px;
  margin: 6px;
  border-radius: 4px;
  min-width: 30px;
  min-height: 30px;
} */

/* .cci-pagination nav.pagination span.current {
  color: white;
  background-color: #557A44;
  border: 1px solid #557A44;
} */

/* .list-pagination nav.pagination {
  display: flex;
  justify-content: right;
} */

/* .list-pagination nav.pagination span {
  border: 1px solid gray;
  padding: 4px;
  margin: 6px;
  border-radius: 4px;
  min-width: 30px;
  min-height: 30px;
} */

/* .list-pagination nav.pagination span.current {
  color: white;
  background-color: #557A44;
  border: 1px solid #557A44;
} */

/* .manager-pagination nav.pagination {
  display: flex;
  justify-content: right;
} */

/* .manager-pagination nav.pagination span {
  border: 1px solid gray;
  padding: 4px;
  margin: 6px;
  border-radius: 4px;
  min-width: 30px;
  min-height: 30px;
} */

/* .manager-pagination nav.pagination span.current {
  color: white;
  background-color: gray;
  border: 1px solid gray;
} */

/* .card-content {
  position: relative;
} */

/* .bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
} */

/* .angle-right::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  content: "\f105";
  margin-left: 4px;
} */

/* .embed_youtube{ */
  /* position: relative; */
  /* overflow: hidden; */
  /*padding-bottom: 56.25%; */ /* 16:9 (9÷16=0.5625) */
/* } */
/* .embed_youtube iframe {
  padding: 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
} */

/* .sns-banner-container {
  padding-top: 400px;
  background: url(/assets/background-footer-d62a4d956b3a21ec84fdf70b45067b56ad7d560e6134d836aaadb1f5f257b171.png) no-repeat center;
  background-size: cover;
  width: 100%;
  position: relative;
  z-index: 1;
} */

/* .section-contact {
  background-color: rgba(246, 240, 210, 0.5); 70%の不透明度
  margin-bottom: -200px;
  z-index: 2;
  position: relative;
} */

/* div#subvisual {
  margin-top: 140px;
} */

/* img.workers {
  border-top-left-radius: 5rem;
  border-bottom-left-radius: 5rem;
  margin-top: -100px;
  margin-bottom: 100px;
} */

/* img.city {
  border-top-right-radius: 5rem;
  border-bottom-right-radius: 5rem;
} */

/* .hr-connect {
  background-color: #557A44;
  height: 1px;
} */

/* .tom-select .item {
  background-image: none !important;
  background-color: white !important;
  border-color: #557A44 !important;
  color: #557A44 !important;
  box-shadow: none !important;
  text-shadow: none !important;
} */

/* @media screen and (max-width : 800px) { */
	/* .site_header .site_id {
		width: 200px;
	} */

	/* .site_header .globalnav_btn {
		width: calc(100% - 200px);
		display: flex;
		justify-content: flex-end;
		align-items: center;
	} */

	/* .site_header .globalnav_btn span::after{
		display: block;
		font-family: "FontAwesome";
		content: "\f0c9";
		text-align: center;
		width: 25px;
		height: 25px;
		font-size: 1.8rem;
		line-height: 25px;
		color: #2c3335;
		cursor: pointer;
	} */
	/* .site_header .globalnav_btn.close span::after {
		content: "\f00d";
	} */

	/* .site_header .globalnav {
		width: 180px;
		position: absolute;
		display: none;
		border: 1px solid #eee;
		padding: 15px 12px;
		border-radius: 10px;
		background-color: #fff;
		top: 70px;
		right: 15px;
		transition: top .8s;
	} */

	/* .site_header .globalnav.close {
		display: block;
	} */

	/* .site_header .globalnav li {
		display: block;
		width: 100%;
    margin-left: 0 !important;
		margin-bottom: 12px;
		border-bottom: 1px solid #eee;
		padding: 0 3px 0 3px;
		padding-bottom: 12px;
	} */

	/* .site_header .globalnav li:last-child {
		margin-bottom: 0;
		border-bottom: 0;
		padding-bottom: 0;
	}

	.site_header .globalnav li a::after {
		content: none;
	} */
/* } */
