@charset "UTF-8";
/* ----------------------------------------------------
  基本設定 / 変数 / リセット
---------------------------------------------------- */
:root {
  --c: #0a5;
  /* メインカラー */
  --c-weak: #16c485;
  /* hover / フォーカス枠 */
  --g: #f6f8fb;
  /* 薄い背景色 */
  --t: #231815;
  /* 基本文字色 */
  --bd: #e6e9ee;
  /* 境界線色 */
  --muted: #6b7280;
  /* 補助文字色 */
  /* tab */
  --tab-t: #85765D;
  /* タブ文字色 */
  --tab-t-active: #B3343F;
  /* アクティブ文字色 */
  --tab-bg: #EBDBC0;
  /* タブ背景 */
  --tab-bg-active: #FBF0DD;
  /* アクティブ背景 */
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--t);
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* ----------------------------------------------------
  共通レイアウト
---------------------------------------------------- */
main {
  overflow: hidden;
  padding-bottom: 100px;
}

@media screen and (max-width: 768px) {
  main {
    padding-bottom: 60px;
  }
}

.section-inner {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto;
}

.site-footer {
  margin-top: 32px;
}

/* ----------------------------------------------------
  ヘッダー / パンくず / 共通リンク
---------------------------------------------------- */
.hugme-header {
  background: var(--t);
}

.hugme-header-inner {
  max-width: 1000px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media screen and (max-width: 768px) {
  .hugme-header-inner {
    padding: 6px 10px;
  }
}

.hugme-header-logo-ichijo {
  width: 70px;
}

@media screen and (max-width: 768px) {
  .hugme-header-logo-ichijo {
    width: 46px;
  }
}

.hugme-header-logo-plan {
  width: 214px;
}

@media screen and (max-width: 768px) {
  .hugme-header-logo-plan {
    width: 176px;
  }
}

.hugme-header-button {
  position: relative;
  background: #fff;
  border-radius: 5px;
  padding-left: 25px;
  width: 120px;
  height: 40px;
  color: #231815;
  font-size: 14px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .hugme-header-button {
    width: 50px;
    height: 50px;
    padding: 20px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .hugme-header-button span {
    display: none;
  }
}

.hugme-header-button::before {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/header_icon_search.svg) no-repeat center center/cover;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 9px;
  left: 10px;
}

@media screen and (max-width: 768px) {
  .hugme-header-button::before {
    width: 20px;
    height: 20px;
    top: 5px;
    left: 14px;
  }
}

.hugme-breadcrumbs {
  background: #F7F7F7;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 2px 0;
  font-size: 13px;
}

.hugme-breadcrumbs-inner {
  max-width: 1000px;
  padding: 0 20px;
  margin: auto;
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.hugme-breadcrumbs a,
.hugme-breadcrumbs span {
  font-size: 12px;
}

.hugme-breadcrumbs a {
  display: block;
  color: #999999;
  margin-right: 10px;
}

.hugme-breadcrumbs a + a {
  margin-left: 10px;
}

.hugme-breadcrumbs a + span {
  margin-right: 10px;
  margin-left: 10px;
}

.hugme-breadcrumbs span + a {
  margin-right: 10px;
  margin-left: 10px;
}

/* ----------------------------------------------------
  ボタン共通
---------------------------------------------------- */
.btn,
.btn-secondary {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn {
  background: var(--c);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    filter: brightness(1.02);
  }
}

.btn-secondary {
  background: #e9edf3;
  color: #223;
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: #dfe6ef;
  }
}

/* ----------------------------------------------------
  モーダル
  影響範囲: 検索モーダルのみ
---------------------------------------------------- */
.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.modal__dialog {
  position: relative;
  width: calc(100% - 2rem);
  max-width: 650px;
  margin: 3rem auto;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal__header {
  position: relative;
  padding: 15px 20px 0;
}

.modal-heading {
  text-align: center;
}

.modal-heading-01 {
  display: block;
  color: #1CA972;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .modal-heading-01 {
    font-size: 12px;
  }
}

.modal-heading-02 {
  display: block;
  font-size: 20px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .modal-heading-02 {
    font-size: 18px;
  }
}

.modal-text {
  margin-bottom: 8px;
  font-size: 12px;
  text-align: center;
}

.modal__close {
  position: absolute;
  top: -30px;
  right: 0;
  color: #fff;
  background: none;
  border: none;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

/* ----------------------------------------------------
  拡大図モーダル
  影響範囲: 拡大図モーダルのみ
---------------------------------------------------- */
.zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.zoom-modal.hidden {
  display: none;
}

.zoom-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.zoom-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-width: 760px;
  background: #fff;
  padding: 30px 30px 15px;
}

.zoom-modal__content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #fff;
  display: block;
  margin: auto;
}

.zoom-modal__dim {
  color: #fff;
  font-size: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.zoom-modal__dim .plan-dim__depth {
  top: 15px;
}

.zoom-modal__dim .plan-dim__frontage {
  left: 15px;
}

.zoom-modal__close {
  position: absolute;
  top: -30px;
  right: 0;
  color: #fff;
  background: none;
  border: none;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.zoom-modal__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.zoom-modal__tab {
  padding: 8px 0;
  flex: 1;
  background: #EAEAEA;
  border-radius: 8px;
  color: #848484;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.zoom-modal__tab > span {
  position: relative;
}

.zoom-modal__tab.is-active {
  background: #FBF0DD;
  color: #6F2E03;
}

/* モーダル表示時に寸法データ（plan-dim）がhiddenになっていたら解除する */
.zoom-modal__dim .plan-dim[hidden] {
  display: flex !important;
}

/* ----------------------------------------------------
  検索フォーム / facet
  影響範囲: トップ / 一覧 / モーダル内フォーム
---------------------------------------------------- */
.search-form {
  position: relative;
  background: #fff;
  border-radius: 12px;
}

.search-form-inner {
  max-height: 55vh;
  overflow: auto;
}

.search-form fieldset {
  padding: 8px;
  margin: 0 0 8px;
  background: #fff;
  border: none;
  text-align: center;
}

.search-form legend {
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.search-form fieldset.facet-group {
  display: block;
  margin: 0;
  background: #fff;
}

.facet {
  display: grid;
  gap: 8px 16px;
}

.facet[style*="display:block"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.facet label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border-radius: 999px;
  background: #EFECEC;
  border: 1px solid #EFECEC;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--t);
  white-space: nowrap;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .facet label:hover {
    color: var(--c);
    background: #fff;
    border-color: var(--c);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
}

.facet label:has( > input[type="checkbox"]:checked) {
  color: var(--c);
  background: #fff;
  border-color: var(--c);
}

.facet label:has( > input[type="checkbox"]:focus-visible) {
  outline: 3px solid rgba(22, 196, 133, 0.35);
  outline-offset: 2px;
}

.facet label:has( > input[disabled]) {
  opacity: .5;
  cursor: not-allowed;
}

.facet label > input[type="checkbox"],
.facet-group .facet input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* こだわり系 facet は横並びのチップ表示 */
.facet-group .facet {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  margin: 0 8px 8px 0;
  border: 0;
  background: transparent;
  width: auto !important;
  max-width: none !important;
}

.facet-group .facet label {
  justify-content: center;
  padding: 8px 14px;
  color: #333;
  transition: all .15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .facet-group .facet label:hover {
    border-color: var(--c-weak);
    background: #f5fffa;
  }
}

.search-form .actions {
  margin-top: 10px;
  background: #1CA972;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  padding: 8px 0;
}

@media screen and (max-width: 768px) {
  .search-form .actions {
    font-size: 18px;
  }
}

.search-form .actions span {
  position: relative;
  padding-right: 20px;
}

.search-form .actions span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  width: 10px;
  height: 10px;
  rotate: 45deg;
}

.search-form select {
  padding: 8px 10px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

#liveCount {
  position: relative;
  display: block;
  margin: 0 auto;
  background: #EBF6F3;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  width: 142px;
  text-align: center;
}

#liveCount::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 45px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #EBF6F3;
}

#liveCount span {
  color: var(--c);
  font-size: 28px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #liveCount span {
    font-size: 24px;
  }
}

#submitBtn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

/* ----------------------------------------------------
  タブ共通
  影響範囲: トップタブ / よく見られているプランのタブ
---------------------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 960px;
}

@media screen and (max-width: 768px) {
  .tabs {
    padding: 0 20px;
  }
}

.tab-btn {
  width: calc(100% / 3);
  appearance: none;
  background: var(--tab-bg);
  border: none;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--tab-t);
  font-size: 18px;
  transition: all .12s ease;
}

@media screen and (max-width: 768px) {
  .tab-btn {
    padding: 9px 0;
    font-size: 16px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .tab-btn:hover {
    border-color: var(--c-weak);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
}

.tab-btn:not(.is-active) + .tab-btn:not(.is-active) {
  border-left: 1px solid #CDBFA7;
}

.tab-btn span {
  position: relative;
  padding-right: 15px;
}

.tab-btn span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  border-right: 3px solid var(--tab-t);
  border-bottom: 3px solid var(--tab-t);
  width: 9px;
  height: 9px;
  rotate: 45deg;
}

.tab-btn.is-active {
  background: var(--tab-bg-active);
  color: var(--tab-t-active);
}

.tab-btn.is-active span::after {
  border-color: var(--tab-t-active);
  rotate: -135deg;
  top: 5px;
  display: none;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.card-grid-madori:not(.swiper-initialized) .swiper-slide {
  flex-shrink: 0;
  width: calc(83.33% - 10px);
  margin-right: 10px;
  opacity: 0;
}

@media (min-width: 768px) {
  .card-grid-madori:not(.swiper-initialized) .swiper-slide {
    width: calc(53.76% - 30px);
    margin-right: 30px;
  }
}

/* ----------------------------------------------------
  セクション見出し共通
  影響範囲: トップ / 一覧の共通見出し
---------------------------------------------------- */
.plan {
  margin-top: 25px;
}

.card-grid-madori {
  background: #FBF0DD;
  padding: 70px 0 40px;
}

@media screen and (max-width: 768px) {
  .card-grid-madori {
    padding: 30px 0;
  }
}

.card-grid-madori .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 1200px) {
  .card-grid-madori .card-top {
    display: block;
  }
}

.card-grid-madori .card-label {
  width: 60%;
}

@media screen and (max-width: 1200px) {
  .card-grid-madori .card-label {
    width: 100%;
  }
}

.card-grid-madori .card-category {
  margin-top: 0;
  width: 40%;
}

@media screen and (max-width: 1200px) {
  .card-grid-madori .card-category {
    margin-top: 10px;
    width: 100%;
  }
}

.card-grid-madori .card-category span {
  border-left: 1px solid #A3A3A3;
}

@media screen and (max-width: 768px) {
  .card-grid-madori .card-category span:first-child {
    border-left: none;
  }
}

.card-grid-madori .card-label-dir {
  padding-right: 15px;
  font-size: 20px;
  font-weight: 400;
}

@media screen and (max-width: 1200px) {
  .card-grid-madori .card-label-dir {
    border: none;
    padding-right: 0;
    margin-right: 0;
    font-size: 16px;
    font-weight: bold;
  }
}

.card-grid-madori .card .thumb-media {
  width: calc(50% - 10px);
}

@media screen and (max-width: 768px) {
  .card-grid-madori .card .thumb-media {
    width: 100%;
  }
}

.card-grid-madori .swiper-slide-active {
  transform: translateY(-50px);
}

@media screen and (max-width: 768px) {
  .card-grid-madori .swiper-slide-active {
    transform: translateY(-15px);
  }
}

.card-grid-madori .card .thumb-nav {
  display: none;
}

.card-grid-madori .card-btn {
  width: calc(100% + 40px);
  margin: 20px 0 -20px -20px;
  border-radius: 0;
  background: #FFFAF2;
  color: #B3343F;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.card-grid-madori .card-btn span {
  position: relative;
  padding-right: 20px;
}

.card-grid-madori .card-btn span::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 0;
  right: 0;
  margin: auto;
  border-top: 3px solid var(--tab-t-active);
  border-right: 3px solid var(--tab-t-active);
  width: 10px;
  height: 10px;
  rotate: 45deg;
}

.plan-button {
  position: relative;
  display: block;
  max-width: 250px;
  padding: 12px 0;
  margin: 20px auto 0;
  width: 100%;
  border: 1px solid #B3343F;
  border-radius: 5px;
  color: #B3343F;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.plan-button span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.plan-button span::before {
  content: "";
  display: block;
  background: url(/lineup/hugme/assets/images/icon_menu_search.svg) no-repeat center center/cover;
  width: 15px;
  height: 15px;
}

.plan-button span::after {
  content: "";
  display: block;
  background: url(/lineup/hugme/assets/images/icon_menu_window.svg) no-repeat center center/cover;
  width: 12px;
  height: 13px;
}

.recently,
.popular {
  margin-top: 100px;
}

.recently .section-inner,
.popular .section-inner {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .recently .section-inner,
  .popular .section-inner {
    padding: 0;
  }
}

.recently-heading {
  background: #EBF6F3;
  padding: 15px 0;
  border-bottom: 3px solid var(--c);
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .recently-heading {
    font-size: 25px;
  }
}

.card-grid--recently {
  margin-top: 20px;
  padding: 0 15px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .card-grid--recently {
    padding: 0;
  }
}

.card-grid--recently:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.card-grid--recently:not(.swiper-initialized) .swiper-wrapper > .swiper-slide {
  width: calc((100% - 30px) / 3);
}

.card-grid--recently:not(.swiper-initialized) .card-grid-recently-pagination,
.card-grid--recently:not(.swiper-initialized) .card-grid-recently-button-prev,
.card-grid--recently:not(.swiper-initialized) .card-grid-recently-button-next {
  display: none;
}

@media screen and (max-width: 768px) {
  .card-grid--recently:not(.swiper-initialized) .swiper-wrapper {
    gap: 10px;
  }
  .card-grid--recently:not(.swiper-initialized) .swiper-wrapper > .swiper-slide {
    width: 100%;
  }
}

.card-grid--recently .card {
  background: #FFFAF2;
}

.card-grid--recently .card .thumb-media {
  padding: 20px 0 0 20px;
  margin-bottom: 30px;
}

.card-grid--recently .card .thumb-media::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: url(/lineup/hugme/madori/tmp/img/common_icon_zoom.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  bottom: -32px;
  right: 0;
}

.popular-heading {
  background: #FFFAF2;
  padding: 15px 0;
  border-bottom: 3px solid #EFB34D;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .popular-heading {
    font-size: 25px;
  }
}

.popular-tabs {
  margin-top: 20px;
  padding: 0 30px;
}

@media screen and (max-width: 768px) {
  .popular-tabs {
    padding: 0 20px;
  }
}

.popular-tabs .tab-btn {
  width: 50%;
}

.card-grid--popular .card .thumb-media {
  padding: 20px 0 0 20px;
  margin-bottom: 30px;
}

.card-grid--popular {
  background: #FBF0DD;
  padding: 40px 15px 30px;
}

@media screen and (max-width: 768px) {
  .card-grid--popular {
    padding: 30px 0;
  }
}

.card-popular-01::before {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/popular_icon_01.svg) no-repeat center center/cover;
  width: 38px;
  height: 25px;
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  margin: auto;
}

.card-popular-02::before {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/popular_icon_02.svg) no-repeat center center/cover;
  width: 38px;
  height: 25px;
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  margin: auto;
}

.card-popular-03::before {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/popular_icon_03.svg) no-repeat center center/cover;
  width: 38px;
  height: 25px;
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  margin: auto;
}

/* ----------------------------------------------------
  並び替えバー
  影響範囲: 一覧画面のみ
---------------------------------------------------- */
.sortbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

@media screen and (max-width: 768px) {
  .sortbar {
    display: block;
  }
}

.sortbar__dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media screen and (max-width: 768px) {
  .sortbar__dropdown {
    margin: 10px 0;
    justify-content: flex-end;
  }
}

.sortbar__button {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #333;
  font-size: 16px;
}

.sortbar__button::before {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/result_icon_sort.svg) no-repeat center center/cover;
  width: 15px;
  height: 14px;
  display: block;
  margin-top: 1px;
  margin-right: 5px;
}

.sortbar__button::after {
  content: "";
  border-right: 2px solid #C1C1C1;
  border-bottom: 2px solid #C1C1C1;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
  margin-left: 5px;
}

.sortbar__button.active::after {
  position: relative;
  top: 2px;
  transform: rotate(225deg);
}

.sortbar__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  padding: 0;
  list-style: none;
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 100;
  text-align: left;
  width: max-content;
}

.sortbar__menu li {
  padding: 8px 12px;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .sortbar__menu li:hover {
    background-color: #eee;
  }
}

.sortbar__selected {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #e0e0e0;
  padding: 4px 8px;
  border-radius: 4px;
}

#sortClear {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  line-height: 1;
}

/* ----------------------------------------------------
  カード共通
  影響範囲: トップ / 一覧 / 最近チェックしたプラン / よく見られているプラン
---------------------------------------------------- */
.card-grid {
  position: relative;
}

.card-grid.card-grid-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media screen and (max-width: 768px) {
  .card-grid.card-grid-result {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  padding: 10px 20px 20px;
}

.card img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.card-label {
  display: flex;
  justify-content: space-between;
}

.card-label-id {
  font-size: 18px;
  font-weight: bold;
}

.card-label-dir {
  font-size: 16px;
  font-weight: bold;
}

.card-category {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .card-category {
    justify-content: flex-start;
  }
}

.card-category span {
  display: block;
  flex: 1;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .card-category span {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .card-category span {
    flex: none;
    font-size: 20px;
  }
}

.card-category-tsubo::first-letter {
  font-size: 14px;
}

.card-category span + span {
  border-left: 1px solid #A3A3A3;
}

@media screen and (max-width: 768px) {
  .card-category span + span {
    padding-left: 15px;
    margin-left: 15px;
  }
}

.card-points {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.card-point {
  padding: 3px 4px;
  background: #FBF0DD;
  color: #6F2E03;
  font-size: 14px;
}

.card-btn {
  display: block;
  margin: auto auto 0;
  width: 140px;
  padding: 5px 0;
  border-radius: 8px;
  background: var(--c);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.card-btn:focus-visible {
  outline: 3px solid rgba(22, 196, 133, 0.35);
  outline-offset: 2px;
}

/* サムネイル共通: 画像（上） + 切替（下） */
.card .thumb {
  display: flex;
  flex-direction: column;
}

.card .thumb-media {
  cursor: pointer;
  position: relative;
  background: #fff;
  width: 100%;
  padding: 20px 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  transition: opacity 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .card .thumb-media:hover {
    opacity: 0.7;
  }
  .card .thumb-media:hover img {
    transform: scale(1.05);
  }
}

.card .thumb-media::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: url(/lineup/hugme/madori/tmp/img/common_icon_zoom.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  bottom: -32px;
  right: 0;
}

.card .thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-in;
}

.card .thumb-nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.card .thumb-tab {
  position: relative;
  padding: 8px 0;
  flex: 1;
  background: #EAEAEA;
  border-radius: 8px;
  color: #848484;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.card .thumb-tab > span {
  position: relative;
}

.card .thumb-tab.is-active {
  background: #FBF0DD;
  color: #6F2E03;
}

.card .thumb-tab:focus-visible {
  outline: 2px solid var(--c-weak);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ----------------------------------------------------
  カード差分: 1F/2F 横並びサムネイル
  影響範囲: トップの玄関向きカードのみ
---------------------------------------------------- */
.card .thumb.thumb--dual {
  aspect-ratio: auto;
  display: block;
  background: #fff;
}

.card .thumb-dual {
  display: flex;
  width: 100%;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  .card .thumb-dual {
    flex-direction: column;
  }
}

.card .thumb-dual__item {
  width: calc(50% - 10px);
  margin: 0;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .card .thumb-dual__item {
    width: 100%;
  }
}

.card .thumb-dual__item:last-child {
  border-right: 0;
}

.card .thumb-dual__media {
  cursor: pointer;
  position: relative;
  padding: 20px 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .card .thumb-dual__media:hover {
    opacity: 0.7;
  }
  .card .thumb-dual__media:hover img {
    transform: scale(1.05);
  }
}

.card .thumb-dual__media::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: url(/lineup/hugme/madori/tmp/img/common_icon_zoom.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  bottom: -32px;
  right: 0;
}

.card .thumb-dual__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-in;
}

.card .thumb-dual__cap {
  width: 100px;
  margin: 4px auto 0;
  padding: 4px 0;
  text-align: center;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .card .thumb-dual__cap {
    font-size: 14px;
  }
}

.card-grid-madori-pagination {
  margin-top: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .card-grid-madori-pagination {
    margin-top: 0;
  }
}

.card-grid-recently-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-align: center;
}

.card-grid-popular-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-align: center;
}

.of-separator {
  color: #999999;
  margin: 0 20px;
}

@media screen and (max-width: 768px) {
  .of-separator {
    margin: 0 10px;
  }
}

.card-grid-button-prev,
.card-grid-button-next {
  cursor: pointer;
  position: absolute;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.card-grid-button-prev {
  left: 0;
}

@media screen and (max-width: 768px) {
  .card-grid-button-prev {
    left: 4%;
  }
}

.card-grid-button-next {
  right: 0;
}

@media screen and (max-width: 768px) {
  .card-grid-button-next {
    right: 4%;
  }
}

.card-grid-button-prev::after,
.card-grid-button-next::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  border-top: 3px solid var(--tab-t-active);
  border-right: 3px solid var(--tab-t-active);
  width: 12px;
  height: 12px;
}

.card-grid-button-prev::after {
  rotate: -135deg;
  right: -4px;
}

.card-grid-button-next::after {
  rotate: 45deg;
  left: -4px;
}

.card-grid-madori-button-wrap {
  width: 57%;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 42%;
}

@media screen and (max-width: 768px) {
  .card-grid-madori-button-wrap {
    width: 97%;
  }
}

.card-grid-madori-button-prev,
.card-grid-madori-button-next {
  width: 45px;
  height: 45px;
}

@media screen and (max-width: 768px) {
  .card-grid-madori-button-prev {
    left: 0;
  }
}

@media screen and (max-width: 768px) {
  .card-grid-madori-button-next {
    right: 0;
  }
}

.card-grid-recently-button-prev,
.card-grid-recently-button-next,
.card-grid-popular-button-prev,
.card-grid-popular-button-next {
  top: 43%;
  width: 34px;
  height: 34px;
}

/* ----------------------------------------------------
  画像オーバーレイ: 方角アイコン / 寸法表示
  影響範囲: 一覧カード / トップ玄関向きカード / 詳細1階画像
---------------------------------------------------- */
.detail-floor1 .detail-figure__media {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.plan-dim--detail .plan-dim__frontage {
  left: -10px;
}

@media screen and (max-width: 768px) {
  .plan-dim--detail .plan-dim__frontage {
    left: 0;
  }
}

.plan-dim--detail .plan-dim__depth {
  top: -20px;
}

.plan-dir-icon {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  line-height: 0;
}

.plan-dir-icon img {
  display: block;
  width: 44px;
  height: auto;
}

.detail-figures .plan-dir-icon {
  top: auto;
  left: auto;
  bottom: 80px;
  right: -42px;
  z-index: 4;
}

@media screen and (max-width: 768px) {
  .detail-figures .plan-dir-icon {
    bottom: auto;
    top: -40px;
    right: -10px;
  }
}

.detail-figures .plan-dir-icon img {
  width: 60px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .detail-figures .plan-dir-icon img {
    width: 40px;
  }
}

.plan-dim {
  position: absolute;
  inset: 0;
  /* pointer-events: none; */
  z-index: 5;
}

.plan-dim__frontage,
.plan-dim__depth {
  position: absolute;
  color: #111;
  font-size: 14px;
  line-height: 1;
  z-index: 5;
}

/* カード側（一覧 / トップ）用の寸法表示 */
.plan-dim__frontage {
  top: 50%;
  left: 15px;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.plan-dim__frontage::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 8px solid #555555;
  border-left: 0;
  display: block;
}

.plan-dim__frontage::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #555555;
  border-right: 0;
}

.plan-dim__depth {
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.plan-dim__depth::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 8px solid #555555;
  border-left: 0;
  display: block;
}

.plan-dim__depth::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #555555;
  border-right: 0;
}

/* ----------------------------------------------------
  検索結果画面
  影響範囲: 検索結果画面のみ
---------------------------------------------------- */
.result-head {
  padding-top: 20px;
}

.result-heading-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .result-heading-area {
    display: block;
  }
}

.result-heading-area::before {
  content: "";
  display: block;
  width: 185px;
}

@media screen and (max-width: 768px) {
  .result-heading-area::before {
    display: none;
  }
}

.result-heading {
  text-align: center;
}

.result-heading-01 {
  display: block;
  color: #B3343F;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .result-heading-01 {
    font-size: 12px;
  }
}

.result-heading-02 {
  display: block;
  font-size: 30px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .result-heading-02 {
    font-size: 26px;
  }
}

.result-button {
  position: relative;
  display: block;
  width: 205px;
  background: #E2F1ED;
  border-radius: 4px;
  padding: 10px 0 10px 20px;
  color: #231815;
  font-size: 16px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .result-button {
    margin: 10px 0 0 auto;
  }
}

.result-button::before {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/header_icon_search.svg) no-repeat center center/cover;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 10px;
}

.selected-filters {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

@media screen and (max-width: 768px) {
  .selected-filters {
    margin-top: 20px;
  }
}

.selected-filters__item {
  background: #FBF0DD;
  padding: 7px;
  color: #6F2E03;
  font-size: 14px;
  text-align: center;
  line-height: 1;
}

.result-text {
  font-size: 20px;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .result-text {
    font-size: 16px;
    font-weight: bold;
  }
}

.result-text-number {
  color: #B3343F;
  font-size: 30px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .result-text-number {
    font-size: 28px;
  }
}

.card-grid-result .card {
  background: #FFFAF2;
  padding: 20px;
}

@media screen and (max-width: 768px) {
  .card-grid-result .card {
    padding: 20px 10px;
  }
}

.card-grid-result .card .thumb-media {
  padding: 20px 0 0 20px;
  margin-bottom: 30px;
}

.card-grid-result .card .thumb-media::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: url(/lineup/hugme/madori/tmp/img/common_icon_zoom.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  bottom: -32px;
  right: 0;
}

.result-more {
  display: block;
  width: 350px;
  max-width: 100%;
  border: 1px solid #1CA972;
  border-radius: 8px;
  margin: 30px auto 0;
  padding: 15px 0;
  color: #1CA972;
  font-size: 20px;
  font-weight: bold;
}

.result-more span {
  position: relative;
  padding-right: 20px;
}

.result-more span::after {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/result_icon_more.svg) no-repeat center center/cover;
  width: 13px;
  height: 13px;
  position: absolute;
  top: 1px;
  bottom: 0;
  margin: auto;
  right: 0;
}

.result-notes {
  display: block;
  margin-top: 50px;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .result-notes {
    margin-top: 60px;
  }
}

.result-banner {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .result-banner {
    margin-top: 60px;
  }
}

/* ----------------------------------------------------
  詳細画面
  影響範囲: 詳細画面のみ
---------------------------------------------------- */
.detail {
  padding: 15px 0 0;
}

.detail .section-inner {
  max-width: 1060px;
}

.detail-head-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .detail-head-inner {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 15px;
  }
}

.detail-planid {
  font-size: 20px;
}

.detail-button-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.detail-button {
  position: relative;
  display: block;
  width: 185px;
  background: #E2F1ED;
  border-radius: 4px;
  padding: 10px 20px 10px 0;
  color: #231815;
  font-size: 16px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .detail-button {
    margin: 0;
  }
}

.detail-button::after {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/result_icon_search.svg) no-repeat center center/cover;
  width: 13px;
  height: 13px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 10px;
}

.detail-head-row {
  margin-top: 23px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.detail-head-left {
  min-width: 0;
}

.detail-head-actions {
  flex: 0 0 auto;
}

.detail-head-actions .btn {
  position: relative;
  display: block;
  padding-right: 30px;
  white-space: nowrap;
}

.detail-head-actions .btn::after {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/detail_icon_back.svg) no-repeat center center/cover;
  width: 13px;
  height: 13px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 10px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.detail-meta-item {
  display: flex;
  gap: 6px;
  font-size: 25px;
  font-weight: normal;
}

.detail-points {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.detail-points li {
  padding: 4px 7px;
  background: #FBF0DD;
  color: #6F2E03;
  font-size: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "ext spec" "f1 f1";
  gap: 40px 20px;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .detail-grid {
    gap: 20px;
  }
}

.detail-grid.is-no-2f {
  grid-template-areas: "ext spec" "f1 f1";
}

.detail-grid.is-no-2f .detail-floor1 {
  justify-self: center;
}

.detail-ext {
  grid-area: ext;
}

.detail-spec {
  grid-area: spec;
}

.detail-figures {
  grid-area: f1;
}

.detail-floor1 {
  grid-area: f1;
}

.detail-floor2 {
  grid-area: f2;
}

.detail-ext img {
  margin: 0 auto;
  display: block;
}

.detail-figures {
  position: relative;
  display: flex;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .detail-figures {
    flex-direction: column;
  }
}

.is-no-2f .detail-figures {
  max-width: 500px;
  margin: auto;
}

.detail-floor1,
.detail-floor2 {
  flex: 1;
  max-width: 100%;
  margin: 0 auto;
}

.detail-floor1 img,
.detail-floor2 img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
}

.detail-figure {
  margin: 0;
}

.detail-figure img {
  width: 500px;
  max-width: 100%;
  height: auto;
}

.detail-figure.detail-ext img {
  width: 300px;
  margin: auto;
}

.detail-figure figcaption {
  width: 100px;
  margin: 4px auto 0;
  padding: 4px 0;
  text-align: center;
  font-size: 16px;
}

.detail-figure .noimg {
  width: 100%;
  background: #f3f3f3;
  border: 1px solid #eee;
  border-radius: 12px;
}

@media screen and (max-width: 768px) {
  .detail-floor1 {
    margin-top: 50px;
  }
}

.detail-floor1,
.detail-floor2 {
  position: relative;
}

.detail-floor1::after,
.detail-floor2::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: url(/lineup/hugme/madori/tmp/img/common_icon_zoom.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  bottom: 0;
  right: 60px;
}

.detail-spec {
  padding-top: 0;
}

.detail-spec li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.detail-spec li:nth-child(odd) {
  background: #FFFAF2;
}

.detail-spec li:nth-child(3) {
  margin-top: 20px;
}

.detail-spec li span {
  width: calc(100% / 3);
  display: block;
  color: var(--t);
  font-size: 18px;
  text-align: center;
}

.detail-spec-label {
  color: #556;
  font-weight: 700;
}

.detail-spec-value {
  color: #111;
  text-align: left;
}

.detail-notes {
  display: block;
  margin-top: 100px;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .detail-notes {
    margin-top: 60px;
  }
}

.detail-notes span {
  display: block;
  margin-bottom: 20px;
}

.detail-banner {
  margin-top: 100px;
}

@media screen and (max-width: 768px) {
  .detail-banner {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .detail-head-row {
    margin-top: 6px;
  }
  .detail-meta-item {
    font-size: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "ext" "f1" "f2" "spec";
    gap: 20px;
  }
  .detail-grid.is-no-2f {
    grid-template-areas: "ext" "f1" "spec";
    gap: 20px;
  }
  .detail-spec {
    margin-top: 20px;
  }
  .detail-spec li {
    padding: 13px 0;
  }
  .detail-spec li span {
    font-size: 15px;
  }
}

/* ----------------------------------------------------
  レスポンシブ
---------------------------------------------------- */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facet[style*="display:block"] {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }
  .plan-dir-icon {
    top: 6px;
    left: 6px;
  }
  .plan-dir-icon img {
    width: 36px;
  }
  .plan-dim__frontage,
  .plan-dim__depth {
    font-size: 12px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .result-list .card .thumb-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.mv {
  background: url(/lineup/hugme/madori/tmp/img/pc/mv_bg.png);
  margin: auto;
}

@media screen and (max-width: 768px) {
  .mv {
    background: transparent;
  }
}

.mv img {
  width: 100%;
}

.mv.mv-pc {
  display: block;
}

@media screen and (max-width: 768px) {
  .mv.mv-pc {
    display: none;
  }
}

.mv.mv-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .mv.mv-sp {
    display: block;
  }
}

.mv-inner {
  padding: 8px 0;
}

.mv-text {
  width: 690px;
  margin: auto;
}

.mv-text-02 {
  background: #FEEDCC;
  padding: 10px 0;
  text-align: center;
}

.mv-text-02 img {
  width: 310px;
  margin: auto;
}

.slider {
  margin-top: 50px;
  padding: 53px 20px;
  background: #FBF0DD;
}

.slider-inner + .slider-inner {
  margin-top: 40px;
}

.slider-item {
  padding: 20px;
  background: #fff;
}

.slider-item + .slider-item {
  margin-top: 20px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
}

.slider-label span {
  font-size: 16px;
  font-weight: bold;
}

.slider-category {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.slider-category-01 {
  display: flex;
  gap: 5px;
}

.slider-category-01 span {
  display: block;
  background: #FFFAF2;
  padding: 6px 7px;
  font-size: 23px;
  line-height: 1;
}

.slider-category-02 span {
  display: block;
  background: #FFFAF2;
  padding: 6px 7px;
  font-size: 23px;
  line-height: 1;
}

.slider-img,
.slider-img-02,
.slider-img-03,
.slider-img-04,
.slider-img-05 {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.slider-img img {
  display: block;
  max-width: 100%;
  width: 250px;
}

.slider-img-02 img {
  display: block;
  max-width: 100%;
  width: 350px;
}

.slider-img-03 img {
  display: block;
  max-width: 100%;
  width: 400px;
}

.slider-img-04 img {
  display: block;
  max-width: 100%;
  width: 300px;
}

.slider-img-05 img {
  display: block;
  max-width: 100%;
  width: 375px;
}

/* ----------------------------------------------------
  トップページ：バナーエリア
---------------------------------------------------- */
.banner {
  margin-top: 100px;
}

@media screen and (max-width: 768px) {
  .banner {
    margin-top: 60px;
  }
}

/* ----------------------------------------------------
  トップページ：各種リンク
---------------------------------------------------- */
.links {
  margin-top: 100px;
}

@media screen and (max-width: 768px) {
  .links {
    margin-top: 60px;
  }
}

.links .section-inner {
  display: flex;
  gap: 30px;
}

@media screen and (max-width: 768px) {
  .links .section-inner {
    flex-direction: column;
    gap: 60px;
    padding: 0;
  }
}

.link-card {
  width: calc(50% - 15px);
}

@media screen and (max-width: 768px) {
  .link-card {
    width: 100%;
  }
}

.link-card.link-card--contact {
  background: #FFF9F9;
}

.link-card.link-card--catalog {
  background: #F9FBFF;
}

.link-card-inner {
  padding: 30px;
}

@media screen and (max-width: 768px) {
  .link-card-inner {
    padding: 20px;
  }
}

.link-card-heading {
  padding: 22px 0;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .link-card-heading {
    padding: 15px 0;
    font-size: 25px;
  }
}

.link-card.link-card--contact .link-card-heading {
  background: #FFEFEB;
  border-bottom: 3px solid #FF8D72;
}

.link-card.link-card--catalog .link-card-heading {
  background: #EFF5FF;
  border-bottom: 3px solid #80A5EA;
}

.link-card-text {
  font-size: 18px;
  line-height: 2;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .link-card-text {
    font-size: 14px;
  }
}

.link-card-list {
  max-width: 325px;
  margin: 35px auto 0;
}

@media screen and (max-width: 768px) {
  .link-card-list {
    margin-top: 11px;
    max-width: 282px;
  }
}

.link-card-list li {
  position: relative;
  padding-left: 30px;
  color: #FF8D72;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .link-card-list li {
    font-size: 18px;
  }
}

.link-card-list li + li {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .link-card-list li + li {
    margin-top: 10px;
  }
}

.link-card-list li::before {
  content: "";
  background: url(/lineup/hugme/madori/tmp/img/link_icon.svg) no-repeat center center/cover;
  width: 20px;
  height: 16px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
}

.link-card-image {
  margin-top: 3px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .link-card-image {
    width: 85%;
    margin: 10px auto 0;
  }
}

.link-card-button {
  display: block;
  border-radius: 8px;
  width: 100%;
  padding: 12px 0;
  margin: 43px auto 0;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .link-card-button {
    margin-top: 20px;
    max-width: 350px;
  }
}

.link-card-button span {
  position: relative;
  padding-right: 20px;
}

.link-card-button span::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 0;
  right: 0;
  margin: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  width: 10px;
  height: 10px;
  rotate: 45deg;
}

.link-card.link-card--contact .link-card-button {
  background: #FF8D72;
}

.link-card.link-card--catalog .link-card-button {
  background: #80A5EA;
}

/* ----------------------------------------------------
  トップページ：展示場導線
---------------------------------------------------- */
.guide {
  margin-top: 100px;
}

@media screen and (max-width: 768px) {
  .guide {
    margin-top: 77px;
  }
}

.guide-heading {
  padding-bottom: 5px;
  text-align: center;
  border-bottom: 3px solid var(--tab-t-active);
}

@media screen and (max-width: 768px) {
  .guide-heading {
    padding-bottom: 9px;
  }
}

.guide-heading-01 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tab-t-active);
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .guide-heading-01 {
    font-size: 14px;
  }
}

.guide-heading-01::before,
.guide-heading-01::after {
  content: "";
  background: var(--tab-t-active);
  width: 1px;
  height: 22px;
}

@media screen and (max-width: 768px) {
  .guide-heading-01::before,
  .guide-heading-01::after {
    height: 17px;
  }
}

.guide-heading-01::before {
  rotate: -30deg;
  margin-right: 1em;
}

@media screen and (max-width: 768px) {
  .guide-heading-01::before {
    margin-right: 0.5em;
  }
}

.guide-heading-01::after {
  rotate: 30deg;
  margin-left: 1em;
}

@media screen and (max-width: 768px) {
  .guide-heading-01::after {
    margin-left: 0.5em;
  }
}

.guide-heading-02 {
  display: block;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .guide-heading-02 {
    font-size: 28px;
  }
}

.guide-row {
  max-width: 720px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .guide-row {
    margin-top: 10px;
    flex-direction: column;
    gap: 10px;
  }
}

.guide-row-inner {
  width: calc(50% - 10px);
}

@media screen and (max-width: 768px) {
  .guide-row-inner {
    display: contents;
  }
}

.guide-row-image {
  width: calc(50% - 10px);
}

@media screen and (max-width: 768px) {
  .guide-row-image {
    width: 100%;
    order: 2;
  }
}

.guide-row-text {
  font-size: 18px;
  line-height: 2;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .guide-row-text {
    font-size: 14px;
    order: 1;
  }
}

.guide-row-button {
  position: relative;
  display: block;
  background: #323232;
  width: 100%;
  max-width: 350px;
  border-radius: 50px;
  margin-top: 20px;
  padding: 18px 0;
  color: #fff;
  font-size: 20px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .guide-row-button {
    margin-top: 0;
    order: 3;
  }
}

.guide-row-button span {
  position: relative;
  padding-right: 20px;
}

.guide-row-button span::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 0;
  right: 0;
  margin: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  width: 10px;
  height: 10px;
  rotate: 45deg;
}

.guide-row-notes {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .guide-row-notes {
    margin-top: 0;
    order: 4;
  }
}

.guide-area {
  margin-top: 100px;
}

@media screen and (max-width: 768px) {
  .guide-area {
    margin-top: 50px;
  }
}

.guide-area-text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .guide-area-text {
    font-size: 16px;
  }
}

.guide-area-list {
  margin-top: 20px;
}

.guide-area-row {
  display: flex;
}

@media screen and (max-width: 768px) {
  .guide-area-row {
    flex-direction: column;
  }
}

.guide-area-title {
  width: 170px;
  padding: 18px;
  background: #EBE6DE;
  border-bottom: 1px solid #fff;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .guide-area-title {
    width: 100%;
    padding: 7px 10px;
    border: none;
  }
}

.guide-area-row:first-child .guide-area-title {
  border-top: 1px solid #EBE6DE;
}

@media screen and (max-width: 768px) {
  .guide-area-row:first-child .guide-area-title {
    border: none;
  }
}

.guide-area-row:last-child .guide-area-title {
  border-bottom: 1px solid #EBE6DE;
}

@media screen and (max-width: 768px) {
  .guide-area-row:last-child .guide-area-title {
    border: none;
  }
}

.guide-area-row:first-child .guide-area-links {
  border-top: 1px solid #D8D8D8;
}

@media screen and (max-width: 768px) {
  .guide-area-row:first-child .guide-area-links {
    border: none;
  }
}

.guide-area-links {
  width: calc(100% - 170px);
  padding: 0 20px;
  border-bottom: 1px solid #D8D8D8;
  border-right: 1px solid #D8D8D8;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 30px;
}

@media screen and (max-width: 768px) {
  .guide-area-links {
    width: 100%;
    padding: 16px 10px;
    border: none;
    gap: 10px 12px;
  }
}

.guide-area-links a {
  position: relative;
  color: var(--t);
  display: flex;
  align-items: center;
  gap: 5px;
}

@media screen and (max-width: 768px) {
  .guide-area-links a {
    font-size: 15px;
  }
}

.guide-area-links a::after {
  content: "＞";
}

.guide-area-notes {
  display: block;
  margin-top: 20px;
  font-size: 12px;
}

.cv {
  position: fixed;
  top: 12%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

.cv.is-visible {
  pointer-events: auto;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .cv {
    flex-direction: row;
    gap: 0;
    width: 100%;
    top: auto;
    bottom: 0;
  }
}

.cv a {
  border-radius: 8px 0px 0px 8px;
  padding: 12px 11px;
  display: block;
  width: 46px;
  background: #B3343F;
  color: #FFFAF2;
  font-size: 15px;
  text-align: center;
  writing-mode: vertical-rl;
  filter: drop-shadow(-1px 3px 7px rgba(0, 0, 0, 0.15));
  letter-spacing: 0.2em;
}

@media screen and (max-width: 768px) {
  .cv a {
    width: auto;
    border-radius: 0;
    padding: 11px 0;
    font-size: 14px;
    letter-spacing: 0;
    font-weight: bold;
    writing-mode: horizontal-tb;
    filter: none;
  }
}

@media screen and (max-width: 768px) {
  .cv a + a {
    border-left: 1px solid #fff;
  }
}

@media screen and (max-width: 768px) {
  .cv a:nth-child(1) {
    width: 37%;
  }
}

@media screen and (max-width: 768px) {
  .cv a:nth-child(2) {
    width: 37%;
  }
}

@media screen and (max-width: 768px) {
  .cv a:nth-child(3) {
    width: 26%;
  }
}

.cv a > .pc {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .cv a > .pc {
    display: none;
  }
}

.cv a > .sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .cv a > .sp {
    display: inline-block;
  }
}

.cv a span {
  position: relative;
}

@media screen and (max-width: 768px) {
  .cv a span {
    padding-right: 15px;
  }
}

@media screen and (max-width: 768px) {
  .cv a span::after {
    content: "";
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    rotate: 45deg;
    width: 8px;
    height: 8px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }
}

.footer {
  width: 100%;
  background: #231815;
  padding: 20px 0;
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: -0.02em;
}

@media screen and (max-width: 768px) {
  .footer {
    padding-bottom: 70px;
  }
}

.footer__inner {
  margin: auto;
  width: 100%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .footer__inner {
    width: 90.625%;
    flex-direction: column;
    text-align: center;
  }
}

.footer__link a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

.footer__link a + a {
  margin-left: 10px;
}

@media screen and (max-width: 768px) {
  .footer__link {
    width: 100%;
  }
  .footer__link a + a {
    margin-left: 25px;
  }
}

.footer__sns {
  display: flex;
}

.footer__sns a {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .footer__sns {
    width: 100%;
    justify-content: center;
    margin-top: 3.448275862068965%;
  }
  .footer__sns a {
    padding: 9px 0;
    line-height: 1;
  }
}

@media screen and (max-width: 768px) {
  .footer__sns > a.youtube {
    padding: 7px 0;
  }
}

.footer__sns > a > img {
  width: 50%;
  margin: auto;
}

@media screen and (min-width: 769px) {
  .footer__sns > a > img {
    width: 20px;
  }
}

.footer__sns > a + a {
  margin-left: 10px;
}

@media screen and (min-width: 769px) {
  .footer__sns > a + a {
    margin-left: 6px;
  }
}

.footer__copyright {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: auto;
  margin-top: 17px;
  padding-top: 17px;
  letter-spacing: 0.02em;
  font-size: 10px;
  text-align: center;
  border-top: 1px solid #fff;
}

@media screen and (max-width: 768px) {
  .footer__copyright {
    width: 90.625%;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 1rem;
  }
}
