@charset "UTF-8";

/**
 * module モーダル
 * NOTE: mbase由来ですが、pbaseに合わせたセレクタに変更しているので注意してください。
**/
.modal_drawer,
[id="modal_drawer"] {
  width: 180px;
  margin: 0 auto;
}

/* NOTE: body直下に .modal_drawerを配置した場合は、z-indexを body>#wrapperよりも上に */
body>.modal_drawer,
body>[id="modal_drawer"] {
  position: relative;
  z-index: 20;
}

@media (max-width: 959.98px) {

  .modal_drawer,
  [id="modal_drawer"] {
    font-size: 12px;
    width: 110px;
  }
}

.modal_unshown {
  display: none;
}

.modal__btn {
  max-width: 180px;
  margin-top: 0;
  margin-left: auto;
}

.modal__btn>span {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.08);
  border-radius: var(--site-btn-radius);
  border: solid 1px var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
  text-align: center;
  width: 100%;
  height: var(--site-btn-height);
  padding-inline: 1.5em;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal__btn>span:hover {
  border: solid 1px var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
  opacity: 0.9;
}

.modal_open,
[id="modal_open"] {
  display: block;
}

.modal_close,
[id="modal_close"] {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.modal_switch:checked~.modal_close,
[id="modal_input"]:checked~[id="modal_close"] {
  display: block;
  opacity: .5;
  pointer-events: auto;
}

.modal_content,
[id="modal_content"] {
  max-width: 700px;
  box-shadow: var(--site-input-shadow);
  border-radius: var(--site-input-radius);
  border: none;
  background: #fff;
  width: calc(100% - var(--site-container-padding) * 8);
  height: calc(100% - var(--site-container-padding) * 4 - var(--header-height));
  padding: 40px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1001;
  transform: translate(-50%, -50%);
  overflow: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal_switch:checked~.modal_content,
[id="modal_input"]:checked~[id="modal_content"] {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 959.98px) {

  .modal_content,
  [id="modal_content"] {
    padding: 16px;
  }
}

@media (max-width: 767.98px) {

  .modal_content,
  [id="modal_content"] {
    width: calc(100% - var(--site-container-padding) * 2);
    height: calc(100% - var(--site-container-padding) * 2 - var(--header-height) * 2);
    padding: 12px 0;
  }
}

@media (max-height: 959px) {

  .modal_content,
  [id="modal_content"] {
    width: calc(100% - var(--site-container-padding) * 2);
    height: calc(100% - var(--site-container-padding) * 2 - var(--header-height) * 2);
    top: calc(50% + var(--header-height) * 0.25);
  }
}

.modal_content .search_item_head {
  background: var(--site-c-lightgray);
  color: var(--font-c);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  padding: 8px 16px;
  position: relative;
  overflow: hidden;
  text-align: left
}

.modal_content .search_item_head::before {
  content: '';
  display: block;
  border-left: solid 4px var(--site-c-main);
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.modal_content ul {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.modal_content ul li {
  width: unset;
}

.modal_content::-webkit-scrollbar,
[id="modal_content"]::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.modal_content::-webkit-scrollbar-thumb,
[id="modal_content"]::-webkit-scrollbar-thumb {
  background: var(--site-c-main);
  border-radius: 6px;
  box-shadow: none;
}

.modal_content::-webkit-scrollbar-track,
[id="modal_content"]::-webkit-scrollbar-track {
  background: var(--site-c-lightgray);
  border-radius: 6px;
  box-shadow: none;
}

.modal_content::-webkit-scrollbar-corner,
[id="modal_content"]::-webkit-scrollbar-corner {
  display: none;
}

.modal_content .btn,
[id="modal_content"] .btn {
  display: flex;
  margin: 20px auto;
  height: 50px;
  font-weight: 700;
  font-size: 16px;
}

.modal_content .formset {
  margin-bottom: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.modal_content .formset__item {
  margin: 4px auto;
}

.modal_content .formset__ttl {
  padding-bottom: 12px;
}

.modal_content .formset__input {
  padding-bottom: 12px;
}

.modal_content-tuuti .formset__ttl {
  min-width: 320px;
}

.modal_content .formset__img {
  margin-block: 32px -32px;
}



/**
 * module ヘッダーのモーダル
**/
.header_search_modal_drawer {
  --hs-modal-gap: 20px;
  --hs-modal-ttl-height: 72px;
}

@media (max-width: 959.98px) {
  .header_search_modal_drawer {
    --hs-modal-gap: 16px;
    --hs-modal-ttl-height: 72px;
  }
}

@media (max-width: 767.98px) {
  .header_search_modal_drawer {
    --hs-modal-gap: 12px;
    --hs-modal-ttl-height: 72px;
  }
}

.header_search_modal_drawer .modal_content {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  box-shadow: var(--site-input-shadow);
  border-radius: var(--site-input-radius);
  border: none;
  background: #fff;
  max-width: 700px;
  width: calc(100% - var(--site-container-padding) * 8);
  max-height: calc(100% - var(--site-container-padding) * 2 - var(--header-height));
  height: 100%;
  padding: var(--hs-modal-gap);
  gap: var(--hs-modal-gap);
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1001;
  transform: translate(-50%, -50%);
  overflow: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.header_search_modal_drawer .modal_switch:checked~.modal_content {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 959.98px) {
  .header_search_modal_drawer .modal_content {
    width: calc(100% - var(--site-container-padding) * 2);
    height: calc(100% - var(--site-container-padding) * 2 - var(--header-height) * 2);
    top: calc(50% + var(--header-height) * 0.25);
  }
}

@media (max-width: 767.98px) {
  .header_search_modal_drawer .modal_content {
    width: calc(100% - var(--site-container-padding) * 2);
    height: calc(100% - var(--site-container-padding) * 2 - var(--header-height) * 2);
  }
}

.header_search_modal__title {
  height: var(--hs-modal-ttl-height);
  margin: 0;
}

.header_search_modal__body {
  height: calc(100% - var(--hs-modal-gap) - var(--hs-modal-ttl-height));
  margin: 0;
}

/**
 * module ヘッダーのモーダル内部の検索メニュー
**/

/* エリア・駅（兼用） */
.header_search_area {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  height: 100%;
  gap: 20px;
}

.header_search_area__selection {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 144px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

@media (max-width: 767.98px) {
  .header_search_area__selection {
    min-width: 80px;
  }
}

.header_search_area__selection::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.header_search_area__selection::-webkit-scrollbar-thumb {
  background: var(--site-c-main);
  border-radius: 6px;
  box-shadow: none;
}

.header_search_area__selection::-webkit-scrollbar-track {
  background: var(--site-c-lightgray);
  border-radius: 6px;
  box-shadow: none;
}

.header_search_area__selection::-webkit-scrollbar-corner {
  display: none;
}

.header_search_area__selection>label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  position: relative;
}

.header_search_area__selection>label>input {
  position: absolute;
  opacity: 0;
}

.header_search_area__selection>label>span {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  padding: 4px 8px;
}

.header_search_area__selection>label>*:checked+span {
  background: var(--site-c-main-light);
  color: var(--site-c-main);
}

.header_search_area__result {
  max-width: calc(100% - 20px - 144px);
  width: 100%;
}

@media (max-width: 767.98px) {
  .header_search_area__result {
    max-width: calc(100% - 20px - 80px);
  }
}

.header_search_area__result_ttl {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  gap: 1em;
  position: relative;
}

.header_search_area__result_ttl button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  gap: 1em;
}

.header_search_area__result_ttl i {
  color: var(--site-c-main-hue);
}

.header_search_area__result_ttl span {}

/* 種別 */
.header_search_type {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 20px;
}

.header_search_type__selection {
  width: 144px;
}

.header_search_type__result {
  width: 100%;
}

.header_search_type__result_ttl {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  gap: 1em;
  position: relative;
}

.header_search_type__result_ttl button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  gap: 1em;
}

.header_search_type__result_ttl i {
  color: var(--site-c-main-hue);
}

.header_search_type__result_ttl span {}


/* checkbox_list_area */
.header_search_modal_drawer .checkbox_list_area {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
@media (max-width: 767.98px) {
  .header_search_modal_drawer .checkbox_list_area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
}

.header_search_modal_drawer .checkbox_list_area li {
  width: auto;
}
.header_search_modal_drawer .checkbox_list_area .checkbox_list__ttl {
  grid-column: 1 / -1;
  width: 100%;
  padding: 2px 8px;
}

.header_search_modal_drawer .checkbox_list_area li a {
  padding: 0;
}
.header_search_modal_drawer .checkbox_list_area label {
  font-size: 13px;
  font-weight: 400;
  padding: 4px 0;
}
.header_search_modal_drawer .checkbox_list_area label:has(:checked) {
  background: var(--site-c-main-light);
  color: var(--site-c-main);
}
@media (max-width: 767.98px) {
  .header_search_modal_drawer .checkbox_list_area label {
    font-size: 13px;
    padding: 4px 0;
  }
}



/* checkbox_list */
.header_search_modal_drawer .checkbox_list>ul,
.header_search_modal_drawer .checkbox_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 20px;
  gap: 4px;
}
.header_search_modal_drawer .checkbox_list>ul {
  padding: 0;
  grid-column: 1 / -1;
  width: 100%;
}

.is--pref .header_search_area__result_list.checkbox_list>ul,
.is--pref .header_search_area__result_list.checkbox_list {
  grid-template-columns: 1fr 1fr 1fr;
}
.is--rosen .header_search_area__result_list.checkbox_list>ul,
.is--rosen .header_search_area__result_list.checkbox_list {
  grid-template-columns: 1fr 1fr 1fr;
}
.is--station .header_search_area__result_list.checkbox_list>ul,
.is--station .header_search_area__result_list.checkbox_list {
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
}
@media (max-width: 767.98px) {

/* flex */
/*
  .is--pref .header_search_area__result_list.checkbox_list>ul,
  .is--pref .header_search_area__result_list.checkbox_list,
  .is--rosen .header_search_area__result_list.checkbox_list>ul,
  .is--rosen .header_search_area__result_list.checkbox_list,
  .is--station .header_search_area__result_list.checkbox_list>ul,
  .is--station .header_search_area__result_list.checkbox_list,
  .header_search_modal_drawer .checkbox_list>ul,
  .header_search_modal_drawer .checkbox_list {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    gap: 4px;
  }
*/

/* grid */
  .is--pref .header_search_area__result_list.checkbox_list>ul,
  .is--pref .header_search_area__result_list.checkbox_list,
  .is--rosen .header_search_area__result_list.checkbox_list>ul,
  .is--rosen .header_search_area__result_list.checkbox_list,
  .is--station .header_search_area__result_list.checkbox_list>ul,
  .is--station .header_search_area__result_list.checkbox_list,
  .header_search_modal_drawer .checkbox_list>ul,
  .header_search_modal_drawer .checkbox_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 12px;
    gap: 4px;
  }
  .is--pref .header_search_area__result_list.checkbox_list>ul,
  .is--rosen .header_search_area__result_list.checkbox_list>ul,
  .is--station .header_search_area__result_list.checkbox_list>ul,
  .header_search_modal_drawer .checkbox_list>ul {
    padding: 0;
  }

  .is--pref .header_search_area__result_list.checkbox_list li {
    white-space: nowrap;
    min-width: calc( (100% - 4px) / 2 );
  }
  .is--rosen .header_search_area__result_list.checkbox_list li {
    white-space: nowrap;
    min-width: calc( (100% - 4px) / 2 );
  }
  .is--station .header_search_area__result_list.checkbox_list li {}
}

.header_search_modal_drawer .checkbox_list li {
  width: auto;
}
.header_search_modal_drawer .checkbox_list .checkbox_list__ttl {
  grid-column: 1 / -1;
  width: 100%;
  padding: 2px 8px;
}


/* checkbox list label */
.header_search_modal_drawer .checkbox_list label {
  font-size: 13px;
  font-weight: 400;
  padding: 4px 0;
}
.header_search_modal_drawer .checkbox_list label:has(:checked) {
  background: var(--site-c-main-light);
  color: var(--site-c-main);
  background: transparent;
  color: var(--font-c);
}

.header_search_modal_drawer .checkbox_list label [type="radio"],
.header_search_modal_drawer .checkbox_list label [type="checkbox"] {
  border-radius: 2px;
  border: solid 1px var(--site-c-main);
  color: var(--site-c-main);
  border: solid 1px var(--font-c);
  color: var(--font-c);
  width: 1em;
  height: 1em;
  margin: 0 1ex 0 0;
  transform: translate(0, 6.666%);
  order: -1;
}
@media (max-width: 767.98px) {
  .header_search_modal_drawer .checkbox_list label {
    font-size: 13px;
    padding: 4px 0;
  }
}



/* module ヘッダーのモーダル内部のリスト */
.header_search_modal_drawer__func {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 1) 100%);
  padding: 20px 0;
  gap: 8px;
  position: sticky;
  left: 0;
  right: 0;
  bottom: -20px;
  z-index: 10;
}

.header_search_modal_drawer__func.box_btn .btn {
  font-size: 13px;
  max-width: none;
  height: 40px;
  margin: 0;
}

@media (max-width: 767.98px) {
  .header_search_modal_drawer__func.box_btn .btn {
    padding-inline: 12px;
  }
}


/* エリアのボタン デフォルト（トップ、下層で共有） */
[data-header-select-area] [data-confirm-area] {
  display: none;
}

[data-header-select-area] [data-submit-area] {
  display: none;
}

/* 路線のボタン デフォルト（トップ、下層で共有） */
[data-header-select-railway] [data-next-line-railway] {
  display: none;
}

[data-header-select-railway] [data-next-station-railway] {
  display: none;
}

[data-header-select-railway] [data-confirm-railway] {
  display: none;
}

[data-header-select-railway] [data-submit-railway] {
  display: none;
}


/* トップページ */
/* 路線のボタン クラス名はjs付与 */
[data-header-select-railway].is--no-pref {}

[data-header-select-railway].is--pref {}

[data-header-select-railway].is--rosen {}

[data-header-select-railway].is--station {}

/* 路線のボタン 1. 都道府県選択前 */
[data-header-select-railway].is--no-pref [data-next-line-railway] {
  display: none;
}

[data-header-select-railway].is--no-pref [data-next-station-railway] {
  display: none;
}

[data-header-select-railway].is--no-pref [data-confirm-railway] {
  display: none;
}

/* 路線のボタン 2. 都道府県選択後（「次は路線の選択」ボタンが表示される） */
[data-header-select-railway].is--pref [data-next-line-railway] {
  display: flex;
}

[data-header-select-railway].is--pref [data-next-station-railway] {
  display: none;
}

[data-header-select-railway].is--pref [data-confirm-railway] {
  display: none;
}

/* 路線のボタン 3. 路線一覧表示中（「次は駅の選択」ボタンが表示される） */
[data-header-select-railway].is--rosen [data-next-line-railway] {
  display: none;
}

[data-header-select-railway].is--rosen [data-next-station-railway] {
  display: flex;
}

[data-header-select-railway].is--rosen [data-confirm-railway] {
  display: none;
}

/* 路線のボタン 4. 駅選択中（「決定」ボタンが表示される） */
[data-header-select-railway].is--station [data-next-line-railway] {
  display: none;
}

[data-header-select-railway].is--station [data-next-station-railway] {
  display: none;
}

[data-header-select-railway].is--station [data-confirm-railway] {
  /*display: flex;*/
  display: none;
}
[id="home"] [data-header-select-railway].is--station [data-confirm-railway] {
  display: flex;
  /*display: none;*/
}

[data-header-select-railway].is--station [data-submit-railway] {
  display: flex;
}


/* 下層ページ */
/* エリアのボタン クラス名はjs付与 */
[data-header-select-area].on--pref {}

[data-header-select-area].on--city {}

/* エリアのボタン 1. 都道府県選択中 */
[data-header-select-area].on--pref [data-confirm-area] {
  display: none;
}

[data-header-select-area].on--pref [data-submit-area] {
  display: none;
}

/* エリアのボタン 2. 市区町村選択中 */
[data-header-select-area].on--city [data-confirm-area] {
  display: flex;
}

[data-header-select-area].on--city [data-submit-area] {
  display: flex;
}


/* 路線のボタン クラス名はjs付与 */
[data-header-select-railway].on--pref {}

[data-header-select-railway].on--rosen {}

[data-header-select-railway].on--station {}

/* 路線のボタン 1. 都道府県選択中 */
[data-header-select-railway].on--pref [data-next-line-railway] {
  display: flex;
}

[data-header-select-railway].on--rosen [data-next-line-railway] {
  display: none;
}

[data-header-select-railway].on--station [data-next-line-railway] {
  display: none;
}

[data-header-select-railway].on--station [data-submit-railway] {
  display: none;
}

/* 路線のボタン 2. 路線選択中 */
[data-header-select-railway].on--pref [data-next-station-railway] {
  display: none;
}

[data-header-select-railway].on--rosen [data-next-station-railway] {
  display: flex;
}

[data-header-select-railway].on--station [data-next-station-railway] {
  display: none;
}

[data-header-select-railway].on--station [data-submit-railway] {
  display: none;
}

/* 路線のボタン 3. 駅選択中 */
[data-header-select-railway].on--pref [data-confirm-railway] {
  display: none;
}

[data-header-select-railway].on--rosen [data-confirm-railway] {
  display: none;
}

[data-header-select-railway].on--station [data-confirm-railway] {
  display: flex;
}

[data-header-select-railway].on--station [data-submit-railway] {
  display: flex;
}


/* さらに条件を追加する */
@media (max-width: 767.98px) {
  .header_search_more__result {
    padding: 0 12px;
  }
}

/* さらに条件を追加する　ボタンラッパー */
.header_search_modal_drawer .search_item_submit {
  display: flex;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  width: 100%;
  padding: 0 12px 16px;
  gap: 8px;
}

.header_search_modal_drawer .search_item_submit .btn+.btn,
.header_search_modal_drawer .search_item_submit .btn {
  font-size: 13px;
  max-width: none;
  width: 100%;
  height: 40px;
  margin-block: 0;
}



/**
 * module 地図検索
**/
.module_map {
  --module-map-side: 360px;
  --module-map-side-header-height: 44px;
  height: calc(100svh - var(--header-height) - var(--footer-height));
  position: relative;
}

/* switch 開閉用 */
.module_map__switch {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* button 開閉用 */
.module_map__nav {
  border-radius: 50%;
  background: var(--site-c-main-hue);
  color: #fff;
  width: 48px;
  height: 48px;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 900;
  will-change: bottom;
  transition: bottom 0.4s ease;
  opacity: 1;
}

.module_map__nav:focus,
.module_map__nav:hover {
  opacity: 1;
}

@media (max-width: 959.98px) {
  .module_map__nav {
    right: 16px;
  }
}

@media (max-width: 767.98px) {
  .module_map__nav {
    bottom: 36px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .module_map__switch:checked~.module_map__nav {
    bottom: calc(var(--module-map-side) + var(--module-map-side-header-height) + 8px - 20px);
  }
}

.module_map__nav .on,
.module_map__nav .off {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  will-change: opacity;
  transition: opacity 0.4s ease;
}

.module_map__nav .on {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.module_map__nav .off {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  opacity: 1;
}

.module_map__switch:checked~.module_map__nav .on {
  opacity: 1;
}

.module_map__switch:checked~.module_map__nav .off {
  opacity: 0;
}


/* main 地図 */
.module_map__main {
  width: calc(100% - var(--module-map-side));
  height: 100%;
  position: relative;
  z-index: 1;
  will-change: width;
  transition: width 0.4s ease;
}

/* side 検索結果 */
.module_map__side {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  background: #fff;
  width: var(--module-map-side);
  height: 100%;
  padding: var(--module-map-side-header-height) 0 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
  will-change: transform, opacity;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (min-width: 768px) {
  .module_map__main {
    width: 100%;
  }

  .module_map__side {
    transform: translate(100%, 0);
    opacity: 0;
  }

  .module_map__switch:checked~.module_map__main {
    width: calc(100% - var(--module-map-side));
  }

  .module_map__switch:checked~.module_map__side {
    transform: translate(0, 0);
    opacity: 1;
  }
}

@media (max-width: 767.98px) {
  .module_map {
    --module-map-side: 176px;
    --module-map-side-header-height: 32px;
  }

  /* TODO: レスポンシブのデザイン調整（物件データの表示方法をどうするか決める） */
  .module_map__main {
    width: 100%;
  }

  .module_map__side {
    border-radius: var(--site-btn-radius);
    width: auto;
    height: calc(var(--module-map-side) + var(--module-map-side-header-height));
    position: absolute;
    top: auto;
    right: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 100;
    transform: translate(0, 100%);
    opacity: 0;
  }

  .module_map__switch:checked~.module_map__side {
    transform: translate(0, 0);
    opacity: 1;
  }
}

/* sideの部品 */
.module_map__side_header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  /*background: var(--font-c);*/
  background: var(--site-c-main-hue);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  width: 100%;
  height: var(--module-map-side-header-height);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .module_map__side_header {
    border-radius: var(--site-btn-radius) var(--site-btn-radius) 0 0;
  }
}

.module_map__side_header>p {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.module_map__side_close {
  position: absolute;
  right: 1em;
  top: 50%;
  z-index: 1;
  transform: translate(0, -50%);
}

.module_map__side_body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

@media (max-width: 767.98px) {
  .module_map__side_body {
    border-radius: 0 0 var(--site-btn-radius) var(--site-btn-radius);
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

.module_map__side_body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.module_map__side_body::-webkit-scrollbar-thumb {
  background: var(--site-c-gray);
  border-radius: 6px;
  box-shadow: none;
}

.module_map__side_body::-webkit-scrollbar-track {
  background: var(--site-c-lightgray);
  border-radius: 6px;
  box-shadow: none;
}

.module_map__side_body::-webkit-scrollbar-corner {
  display: none;
}


.module_map__loading {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  background: #fff;
  gap: 12px;
  position: absolute;
  inset: 0;
  z-index: 1000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.module_map__loading.is--loaded {
  opacity: 0;
  pointer-events: none;
}

.module_map__loading-msg {
  font-size: 14px;
  font-weight: 400;
  color: var(--site-c-gray);
  text-align: center;
}

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

.module_map__loading-spinner::before {
  content: '';
  display: block;
  background-image: url("/common/images/logo_l.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.module_map__loading-spinner>div {
  display: inline-block;
  border-radius: 100%;
  background-color: var(--site-c-main);
  width: 12px;
  height: 12px;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.module_map__loading-spinner .bounce1 {
  animation-delay: -0.32s;
}

.module_map__loading-spinner .bounce2 {
  animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1.0);
  }
}

/**
 * module サイト紹介
**/
.module_introduction_wrap {
  background-image: url("../images/bg_footer.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 0;
  margin: 0;
}

@media (max-width: 767.98px) {
  .module_introduction_wrap {
    margin: 0 -16px;
  }
}

.box_introduction {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
  padding: 32px 0;
}

@media (max-width: 767.98px) {
  .box_introduction {
    padding: 0 32px;
  }
}

.box_introduction_head {
  order: 1;
  width: 112px;
}

@media (max-width: 767.98px) {
  .box_introduction_head {
    order: 0;
    width: 100%;
  }
}

.box_introduction_head>i {
  display: block;
  text-align: center;
}

.box_introduction_head>i img {
  max-width: 88px;
  width: 100%;
  height: auto;
  vertical-align: top;
}

@media (max-width: 767.98px) {
  .box_introduction_head>i img {
    max-width: 48px;
  }
}

.box_introduction_head>span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  .box_introduction_head>span {
    font-size: 16px;
  }
}

.box_introduction_body {
  order: 0;
  max-width: 1000px;
  width: calc(100% - 136px);
}

@media (max-width: 767.98px) {
  .box_introduction_body {
    order: 0;
    max-width: 1000px;
    width: 100%;
    margin: 16px 0 0;
  }
}

.box_introduction_subhead {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
}

.box_introduction_body p {
  line-height: 32px;
}

/**
 * module ご利用の流れ
**/
.module_flow {
  background: #fff;
  padding: 56px 0;
}

@media (max-width: 767.98px) {
  .module_flow {
    padding: 32px 16px;
  }
}

.module_flow_step {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-start;
}

.module_flow_step>dl {
  width: calc((100% - 120px) / 4);
  margin-left: 40px;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl {
    width: calc((100% - 16px) / 2);
    margin-left: 16px;
    margin-bottom: 16px;
  }
}

.module_flow_step>dl:nth-child(4n+1) {
  margin-left: 0;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl:nth-child(odd) {
    margin-left: 0;
  }
}

.module_flow_step>dl>dt {
  text-align: center;
  margin: 0 0 16px;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl>dt {
    margin: 0 0 16px;
  }
}

.module_flow_step>dl>dt>span {
  display: block;
  color: var(--site-c-main);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  text-align: left;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl>dt>span {
    font-size: 14px;
    line-height: 22px;
  }
}

.module_flow_step>dl>dt>figure {
  max-width: 120px;
  margin: 0 auto 24px;
}

.module_flow_step>dl>dt>figure img {
  width: 100%;
  height: auto;
}

.module_flow_step>dl>dt>i {
  font-size: 36px;
  font-weight: 700;
  line-height: 36px;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl>dt>i {
    font-size: 24px;
    line-height: 24px;
  }
}

.module_flow_step>dl>dt>em {
  margin-top: 16px;
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl>dt>em {
    margin-top: 16px;
    font-size: 24px;
    line-height: 28px;
  }
}

.module_flow_step>dl>dd {
  color: var(--font-c);
  line-height: 30px;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl>dd {
    font-size: 12px;
    line-height: 24px;
  }
}

.module_flow_step>dl>dd>figure {
  max-width: 120px;
  margin: 0 auto 30px;
}

@media (max-width: 767.98px) {
  .module_flow_step>dl>dd>figure {
    max-width: 96px;
    margin: 0 auto 24px;
  }
}

.module_flow_step>dl>dd>figure img {
  width: 100%;
  height: auto;
}

.module_flow_step>dl>dd>p {
  text-align: left;
  line-height: 1.625;
}

.module_flow .box_btn {
  font-size: 30px;
  line-height: 1;
  max-width: 670px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .module_flow .box_btn {
    font-size: 24px;
  }
}

.module_flow .box_btn .btn>* {
  height: 80px;
  line-height: 80px;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .module_flow .box_btn .btn {
    margin: 16px 0 0;
  }
}

@media (max-width: 767.98px) {
  .module_flow .box_btn .btn a {
    font-size: inherit;
    height: 48px;
    line-height: 48px;
    border-radius: 4px;
  }
}



/**
 * faq
**/
.module_faq__area {
  margin-bottom: 28px;
}
.module_faq__area+.box_btn {
  margin-top: -20px;
}
@media (max-width: 767.98px) {
  .module_faq__area {
    margin-bottom: 20px;
  }
  .module_faq__area+.box_btn {
    margin-top: -12px;
  }
}

.module_faq__anchor {
  margin-bottom: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.module_faq__link {
  margin-right: 30px;
}
.module_faq__link a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid;
  color: #a5a5a5;
  font-size: 18px;
  width: 100%;
  height: 45px;
  padding: 0 5px;
}
.module_faq__link a:hover, .module_faq__link a.is-current {
  color: var(--site-c-main);
}
@media (max-width: 767.98px) {
  .module_faq__link {
    width: 32.333333%;
    margin-right: 1.5%;
  }
  .module_faq__link:nth-child(3n) {
    margin-right: 0
  }
  .module_faq__link a {
    font-size: 12px;
  }
}


.list_accordion {
  margin: 0 auto;
}
.list_accordion__q {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: var(--site-radius-btn);
  border: 1px solid var(--site-border-c);
  background: #fff;
  font-weight: 700;
  min-height: 56px;
  margin: 20px 0 0;
  padding: 8px 5px 8px 56px;
  position: relative;
  cursor: pointer;
}
.list_accordion__q:first-child {
  margin-top: 0;
}
.list_accordion__q:hover {
  background: var(--site-c-lightgray);
}
.list_accordion__q.is--active {
  background: var(--site-c-lightgray);
}

.list_accordion__switch {
  opacity: 0 !important;
  position: absolute;
}

.list_accordion__a {
  display: none;
  background: #fff;
  color: var(--font-c);
  border-radius: var(--site-radius-btn);
  border: 1px solid var(--site-border-c);
  margin: 10px 0 0;
  padding: 24px 15px 24px 105px;
  position: relative;
}
.list_accordion__a.js-acc-faq-body {
  display: block;
}
.list_accordion__switch:checked+.list_accordion__a {
  display: block;
}
@media (max-width: 767.98px) {
  .list_accordion__q,
  .list_accordion__a {
    padding-inline: 50px;
  }
  .list_accordion__q {
    min-height: 96px;
  }
}


.list_accordion__q .iconq,
.list_accordion__a .icona {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: solid 3px;
  background: #fff;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  width: 24px;
  height: 24px;
  padding: 0 0 0.125em;
  position: absolute;
  left: 20px;
  top: 15px;
  z-index: 1;
}
.list_accordion__q .iconq {
  background: #fff;
  color: var(--site-c-silvergray);
}
.list_accordion__a .icona {
  background: #fff;
  color: var(--site-c-main-hue);
}
@media (max-width: 767.98px) {
  .list_accordion__q .iconq,
  .list_accordion__a .icona {
    border: solid 2px;
    font-size: 16px;
    width: 32px;
    height: 32px;
    top: 20px;
    left: 8px;
  }
}


/*開閉アイコン */
.list_accordion__q::before {
  content: '';
  width: 20px;
  height: 2px;
  background: #999;
  position: absolute;
  right: 30px;
  top: 50%;
  margin-top: -1px;
  transition: 0.3s;
}
.list_accordion__q::after {
  content: '';
  width: 20px;
  height: 2px;
  background: #999;
  position: absolute;
  right: 30px;
  top: 50%;
  margin-top: -1px;
  transition: 0.3s;
  transform-origin: center center;
  transform: rotate(90deg);
}
.list_accordion__q.is--active::after {
  transform: rotate(0deg);
}
.list_accordion__q.is--active::before {
  opacity: 0;
}
@media (max-width: 767.98px) {
  .list_accordion__q::before {
    right: 15px;
  }
  .list_accordion__q::after {
    right: 15px;
  }
}






/**
 * module おすすめ記事
 * NOTE: mbase knowledgeのスタイル（サイト内共通スタイル）
**/
/* section selector */
.knowledge {}

/* knowledge__list default style */
/* list */
.knowledge__list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: stretch;
  margin: 0;
  gap: 4px;
}

/* list item */
.knowledge__item {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  border-radius: 4px;
  background: var(--site-c-main-light);
  width: calc((100% - 4px * 4) / 5);
  padding: 12px 12px 56px;
  gap: 12px;
  position: relative;
}

.knowledge__item:has(a) {
  display: block;
}

.knowledge__item>a {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  gap: inherit;
}

@media (max-width: 767.98px) {
  .knowledge__item {
    flex-flow: row nowrap;
    width: 100%;
    padding: 12px;
  }

  .knowledge__item>a {
    flex-flow: row nowrap;
  }
}

/* item image */
.knowledge__img {
  display: block;
}

.knowledge__img img {
  border-radius: 4px;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .knowledge__img {
    width: 120px;
  }

  .knowledge__img img {
    aspect-ratio: 1 / 1;
  }
}

/* item text group */
.knowledge__desc {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
}

@media (max-width: 767.98px) {
  .knowledge__desc {
    width: calc(100% - 8px - 120px);
  }
}

/* item title text */
.knowledge__ttl {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-content: center;
  align-items: center;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  font-feature-settings: 'palt';
  line-height: 1.4;
  min-height: 2lh;
  margin: 0;
}

/* item paragraph text */
.knowledge__txt {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .knowledge__txt {
    font-feature-settings: 'palt';
  }
}

/* item more button of paragraph text */
/* NOTE: .knowledge__txt--moreは、旧バージョン互換 */
.knowledge__txt--more,
.knowledge__more {
  display: block;
  border-top: solid 1px #fff;
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  font-weight: 400;
  text-align: right;
  padding: 12px;
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

@media (max-width: 767.98px) {

  .knowledge__txt--more,
  .knowledge__more {
    display: none;
  }
}

.knowledge__txt--more::before,
.knowledge__more::before {
  content: "\f105";
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 1;
  text-rendering: auto;
  margin-right: 6px;
}

/* item ranking order flag */
.knowledge__rank {
  display: block;
  background: var(--site-c-silvergray);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  width: 72px;
  height: auto;
  padding: 8px;
  aspect-ratio: 1 / 1;
}

.knowledge__rank>b {
  display: inline-block;
  font-size: 24px;
  line-height: 24px;
  transform: translate(0, -2%);
}

.knowledge__rank>i {
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  transform: translate(0, -5%);
}

.knowledge__item:nth-child(1) .knowledge__rank {
  background: linear-gradient(135deg, #36a71f 0%, #36a71f 49%, rgba(54, 167, 31, 0) 50%, rgba(54, 167, 31, 0) 100%);
}

.knowledge__item:nth-child(2) .knowledge__rank {
  background: linear-gradient(135deg, #0077ab 0%, #0077ab 49%, rgba(0, 119, 171, 0) 50%, rgba(0, 119, 171, 0) 100%);
}

.knowledge__item:nth-child(3) .knowledge__rank {
  background: linear-gradient(135deg, #78bc27 0%, #78bc27 49%, rgba(120, 188, 39, 0) 50%, rgba(120, 188, 39, 0) 100%);
}

.knowledge__item:nth-child(4) .knowledge__rank {
  background: linear-gradient(135deg, #f39800 0%, #f39800 49%, rgba(243, 152, 0, 0) 50%, rgba(243, 152, 0, 0) 100%);
}

.knowledge__item:nth-child(5) .knowledge__rank {
  background: linear-gradient(135deg, #e61754 0%, #e61754 49%, rgba(230, 23, 84, 0) 50%, rgba(230, 23, 84, 0) 100%);
}

/* item date */
.knowledge__date {
  display: block;
  color: var(--site-c-gray);
  font-size: 12px;
  font-weight: 500;
}

/* item category */
.knowledge__cate {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3em;
  background: var(--site-bg-c-underlayer);
  color: var(--font-c);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  width: fit-content;
  height: 2.25em;
  padding: 0 1em;
}

/**
 * module おすすめ記事 特集スタイル
 * NOTE: トップページで使用
**/
/* knowledge__list topics style */
.knowledge__list.knowledge__list--topics {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  margin: 0;
  gap: 0;
}

.knowledge__list--topics .knowledge__item {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  border-radius: 0;
  background: transparent;
  width: auto;
  margin: 0;
  padding: 0;
  gap: 16px;
}

.knowledge__list--topics *+.knowledge__item {
  border-top: solid 1px var(--site-border-c);
  margin-top: 16px;
  padding-top: 16px;
}

.knowledge__list--topics .knowledge__item:has(a) {
  display: block;
}

.knowledge__list--topics .knowledge__item>a {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
}

@media (max-width: 767.98px) {
  .knowledge__list--topics .knowledge__item {
    gap: 12px;
  }
}

.knowledge__list--topics .knowledge__img {
  width: 160px;
}

.knowledge__list--topics .knowledge__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .knowledge__list--topics .knowledge__img {
    width: 120px;
  }
}

.knowledge__list--topics .knowledge__desc {
  width: calc(100% - 16px - 160px);
  gap: 0;
}

@media (max-width: 767.98px) {
  .knowledge__list--topics .knowledge__desc {
    width: calc(100% - 8px - 120px);
  }
}

.knowledge__list--topics .knowledge__ttl {
  color: var(--site-c-main);
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .knowledge__list--topics .knowledge__ttl {
    font-size: 16px;
  }
}

.knowledge__list--topics .knowledge__txt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-size: 14px;
  overflow: hidden;
}

.knowledge__list--topics .knowledge__ttl+.knowledge__txt {
  border-top: solid 1px var(--font-c);
  margin-top: 8px;
  padding-top: 8px;
}

/**
 * module おすすめ記事 ランキングスタイル
 * NOTE: 1位とそれ以外ではスタイルを分けているので記述箇所の違いに注意してください。（トップページで使用）
**/
/* knowledge__list ranking style */
.knowledge__list.knowledge__list--ranking {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: stretch;
  margin: 0;
  gap: 16px;
}

.knowledge__list--ranking .knowledge__item {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  border-radius: 4px;
  border: solid 2px var(--site-c-main-light);
  background: #fff;
  width: calc((100% - 16px * 3) / 4);
  margin: 0;
  padding: 16px;
  gap: 16px;
}

.knowledge__list--ranking .knowledge__item:has(a) {
  display: block;
}

.knowledge__list--ranking .knowledge__item>a {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
}

/* rank1 .knowledge__item */
.knowledge__list--ranking .knowledge__item:nth-child(1) {
  flex-flow: row nowrap;
  width: 100%;
}

.knowledge__list--ranking .knowledge__item:has(a):nth-child(1) {
  display: block;
}

.knowledge__list--ranking .knowledge__item:nth-child(1)>a {
  flex-flow: row nowrap;
}

@media (max-width: 767.98px) {

  /* rank1,2,3,4,5 .knowledge__item */
  .knowledge__list--ranking .knowledge__item:nth-child(n) {
    flex-flow: row nowrap;
    width: 100%;
  }

  .knowledge__list--ranking .knowledge__item:nth-child(n)>a {
    flex-flow: row nowrap;
  }
}

/* rank1,2,3,4,5 .knowledge__img */
.knowledge__list--ranking .knowledge__img {
  width: auto;
  position: relative;
}

/* rank1 .knowledge__img */
.knowledge__list--ranking .knowledge__item:nth-child(1) .knowledge__img {
  width: calc((100% - 16px * 2) / 3);
}

/* rank1,2,3,4,5 .knowledge__img img */
.knowledge__list--ranking .knowledge__img img {
  border-radius: 4px;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* rank1,2,3,4,5 .knowledge__rank */
.knowledge__list--ranking .knowledge__img .knowledge__rank {
  border-radius: 4px;
  font-size: 24px;
  width: 72px;
  padding: 8px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.knowledge__list--ranking .knowledge__img .knowledge__rank>b {
  font-size: 24px;
  line-height: 24px;
}

.knowledge__list--ranking .knowledge__img .knowledge__rank>i {
  font-size: 14px;
  line-height: 24px;
}

@media (max-width: 767.98px) {

  /* rank1,2,3,4,5 .knowledge__img */
  .knowledge__list--ranking .knowledge__item:nth-child(n) .knowledge__img {
    width: 120px;
  }

  /* rank1,2,3,4,5 .knowledge__img */
  .knowledge__list--ranking .knowledge__item:nth-child(n) .knowledge__img img {
    aspect-ratio: 1 / 1;
  }

  /* rank1,2,3,4,5 .knowledge__rank */
  .knowledge__list--ranking .knowledge__img .knowledge__rank {
    font-size: 18px;
    width: 52px;
    padding: 6px;
  }

  .knowledge__list--ranking .knowledge__img .knowledge__rank>b {
    font-size: 18px;
    line-height: 20px;
  }

  .knowledge__list--ranking .knowledge__img .knowledge__rank>i {
    font-size: 8px;
    line-height: 20px;
  }
}

/* rank1,2,3,4,5 .knowledge__desc */
.knowledge__list--ranking .knowledge__desc {
  width: auto;
  gap: 0;
}

/* rank1,2,3,4,5 .knowledge__desc */
.knowledge__list--ranking .knowledge__item:nth-child(1) .knowledge__desc {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  width: auto;
  flex: auto;
}

@media (max-width: 767.98px) {

  /* rank1,2,3,4,5 .knowledge__desc */
  .knowledge__list--ranking .knowledge__item:nth-child(n) .knowledge__desc {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    width: calc(100% - 8px - 120px);
    flex: auto;
  }
}

/* rank1,2,3,4,5 .knowledge__date */
.knowledge__list--ranking .knowledge__item .knowledge__date {
  margin: 4px 0 0;
}

/* rank1 .knowledge__date */
.knowledge__list--ranking .knowledge__item:nth-child(1) .knowledge__date {
  margin: 0;
}

@media (max-width: 767.98px) {

  /* rank1,2,3,4,5 .knowledge__date */
  .knowledge__list--ranking .knowledge__item:nth-child(n) .knowledge__date {
    margin: 0;
  }
}

/* rank1,2,3,4,5 .knowledge__date */
.knowledge__list--ranking .knowledge__item .knowledge__cate {
  margin: 4px 0 0;
}

/* rank1.knowledge__date */
.knowledge__list--ranking .knowledge__item:nth-child(1) .knowledge__cate {
  margin: 0 0 0 auto;
}

@media (max-width: 767.98px) {

  /* rank1,2,3,4,5 .knowledge__date */
  .knowledge__list--ranking .knowledge__item:nth-child(n) .knowledge__cate {
    margin: 0 0 0 auto;
  }
}

/* rank1,2,3,4,5 .knowledge__ttl */
.knowledge__list--ranking .knowledge__ttl {
  color: var(--site-c-main);
  font-size: 18px;
  line-height: 1.4;
  width: 100%;
}

@media (max-width: 767.98px) {
  .knowledge__list--ranking .knowledge__ttl {
    font-size: 16px;
  }
}

/* rank1,2,3,4,5 .knowledge__txt */
.knowledge__list--ranking .knowledge__txt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-size: 14px;
  width: 100%;
  overflow: hidden;
}

.knowledge__list--ranking .knowledge__ttl+.knowledge__txt {
  border-top: solid 1px var(--site-border-c);
  margin-top: 8px;
  padding-top: 8px;
}
