@charset "utf-8";
/*********************************
HOBBY ROUND 34 2026.05.02 STYLE-DEALER
last update - 2026.03.12
*********************************/
/* =========================================
   Head Catch
========================================= */
.head-catch {
  position: relative;
  padding: 20px 0;
  background:
    radial-gradient(circle at 12% 20%, rgb(239 68 68 / 8%), transparent 50%), radial-gradient(circle at 88% 18%, rgb(250 204 21 / 7%), transparent 50%), radial-gradient(circle at 80% 86%, rgb(34 197 94 / 6%), transparent 55%), radial-gradient(circle at 18% 88%, rgb(6 182 212 / 6%), transparent 55%), #fff;
}
.head-catch__inner {
  width: min(calc(100% - (var(--sp-md) * 2)), var(--container));
  margin-inline: auto;
}
/* =========================================
   Header / Module
========================================= */
.dealer-nav__head {
  margin-bottom: var(--sp-xs);
}
.dealer-nav__title {
  margin: 0.2rem 0 0;
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  font-style: italic;
}
.head-catch__module {
  padding-top: var(--sp-md);
  border-top: 1px solid rgb(0 0 0 / 8%);
}
.head-catch__module-head {
  margin-bottom: var(--sp-sm);
}
.head-catch__module-title {
  padding-bottom: var(--sp-xs);
  font-family: var(--font-en);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
}
.head-catch__module-body {
  /* display: grid; */
  /* gap: var(--sp-md); */
}
/* =========================================
   Dealer Index
========================================= */
.dealer-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.dealer-index a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 999px;
  background: var(--c-wht);
  font-family: var(
  --font-en);
  font-weight: 800;
  font-style: italic;
  text-decoration: none;
  transition: 0.25s;
}
.dealer-index a:hover {
  transform: translateY(-2px);
  color: var(--c-main);
}
/* =========================================
   Search
========================================= */
.dealer-search {
  display: flex;
  gap: 0.6rem;
}
#search-box {
  min-height: 3rem;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 0.6rem;
  width: 100%;
}
.dealer-search__actions {
  display: flex;
  gap: 0.6rem;
}
.dealer-search__actions button {
  width: 10em;
}
#search-button, #reset-button {
  border: none;
  border-radius: 0.6rem;
  text-align: center;
  min-height: 3rem;
}
#search-button {
  padding: 0 1rem;
  background: var(--c-main);
  color: var(--c-wht);
}
#reset-button {
  padding: 0.7rem 1rem;
  background: #eee;
}
#search-button:hover, #reset-button:hover {
  background: #1e293b;
  color: var(--c-wht);
}
@media (max-width: 767px) {
.dealer-search {
  flex-wrap: wrap;
  gap: 0.6rem;
}
  .dealer-search__actions {
    width: 100%;
  }
  .dealer-search__actions button {
    width: 100%;
  }
}
/* =========================================
   Dealer Result / Section
========================================= */
.search-subject {
  display: grid;
  gap: clamp(56px, 8vw, 104px);
}
.search-subject + .search-subject {
  margin-top: var(--sp-lg);
}
.dealer-section {
  display: grid;
  gap: var(--sp-md);
}
.dealer-list-section, .result-title {
  margin: 0;
  padding-top: var(--sp-xs);
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3.8vw, 2.3rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--c-txt);
}
.dealer-list-section em, .result-title em {
  position: relative;
  top: 0.05em;
  font-size: 140%;
  font-style: inherit;
  color: var(--c-main);
}
.dealer-list-section::before, .result-title::before {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: var(--c-main);
  box-shadow: 0 0 0 6px rgb(230 0 18 / 10%);
  transform: translateY(-0.2em);
}
/* =========================================
   Dealer List Grid
========================================= */
.dealer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1cqi;
  width: 100%;
  margin-inline: auto;
  align-items: start;
  container-type: inline-size;
}
@media screen and (min-width: 767px) {
  .dealer-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  }
}
/* =========================================
   Dealer Card
========================================= */
.dealer-card {
  /*
  display: grid;
  grid-template-rows: auto auto 1fr;
  */
  min-width: 0;
  overflow: clip;
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 82%), rgb(255 255 255 / 72%));
  box-shadow: 0 10px 24px rgb(50 50 50 / 5%);
  transition:
    transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.dealer-card:hover {
  transform: translateY(-2px);
  border-color: rgb(230 0 18 / 14%);
  box-shadow: 0 16px 34px rgb(50 50 50 / 7%);
}
.dealer-card::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--c-main) 0%, var(--c-yellow) 35%, var(--c-blue) 68%, var(--c-green) 100%);
  opacity: 0.8;
}
@media screen and (min-width: 767px) {
  .dealer-card {
    display: flex;
    flex-direction: column;
  }
}
/* =========================================
   Dealer Number
========================================= */
.dealer-list-no {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.95rem 1rem 0.8rem;
  font-family: var(--font-en);
  line-height: 1;
}
.dealer-list-no span:first-of-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 6%);
  font-size: 0.74rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(34 34 34 / 62%);
}
.dealer-list-no span:nth-of-type(2) {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c-txt);
}
/* =========================================
   Visual
========================================= */
.dealer-card__visual {
  margin: 0 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgb(239 68 68 / 5%), transparent 50%), radial-gradient(circle at 88% 18%, rgb(250 204 21 / 4%), transparent 50%), radial-gradient(circle at 80% 86%, rgb(34 197 94 / 4%), transparent 55%), radial-gradient(circle at 18% 88%, rgb(6 182 212 / 4%), transparent 55%), rgb(0 0 0 / 3%);
}
.dealer-card__visual picture, .dealer-card__visual img {
  display: block;
  width: 100%;
}
.dealer-card__visual img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
/* =========================================
   Card Body
========================================= */
.dealer-card__body {
  display: block;
  padding-bottom: 0.2rem;
}
@media screen and (min-width: 767px) {
  .dealer-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }
}
/* =========================================
   Dealer Name
========================================= */
.dealer-list-name {
  display: block;
  margin: 0;
  padding: 1rem;
  /* border-bottom: 1px solid rgb(0 0 0 / 6%); */
  font-family: var(--font-en);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--c-txt);
  word-break: break-word;
}
.dealer-list-name span {
  display: none;
}
.page-frame a {
  color: inherit;
  text-decoration: none;
}
.page-frame a > i {
  color: var(--c-link-hover);
  padding-left: 0.3rem
}
.page-frame a:hover {
  color: var(--c-link-hover);
}
/* =========================================
   Copyright
========================================= */
.dealer-list-copyright {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: var(--fs-xs);
}
.dealer-list-copyright summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgb(0 0 0 / 7%);
  border-radius: 0.85rem;
  background: rgb(255 255 255 / 62%);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgb(34 34 34 / 72%);
  cursor: pointer;
  list-style: none;
}
.dealer-list-copyright summary::-webkit-details-marker {
  display: none;
}
.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 7%);
  color: var(--c-txt);
  font-size: 1rem;
  line-height: 1;
  transition:
    background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.dealer-list-copyright[open] .ac-btn {
  background: var(--c-main);
  color: var(--c-wht);
  transform: rotate(45deg);
}
.dealer-list-copyright ul {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0.5rem 0 0 0.95rem;
}
.dealer-list-copyright li {
  color: rgb(34 34 34 / 76%);
  line-height: 1.6;
}
.dealer-list-copyright li::marker {
  color: var(--c-main);
}
@media screen and (min-width: 767px) {
  .dealer-list-copyright summary {
    cursor: default;
    pointer-events: none;
  }
  .dealer-list-copyright .ac-btn {
    display: none;
  }
}
/* =========================================
   Mobile
========================================= */
@media screen and (max-width: 766px) {
  .dealer-section, .search-subject, .page-sections, .section-shell {
    overflow-x: clip;
  }
  .dealer-card {
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgb(50 50 50 / 4%);
  }
  .dealer-list-no {
    gap: 0.4rem;
    padding: 0.72rem 0.78rem 0.5rem;
  }
  .dealer-list-no span:first-of-type {
    min-height: 1.4rem;
    padding: 0.16rem 0.42rem;
    font-size: 0.62rem;
  }
  .dealer-list-no span:nth-of-type(2) {
    font-size: 0.98rem;
    letter-spacing: 0.01em;
  }
  .dealer-card__visual {
    margin: 0 0.78rem;
  }
  .dealer-card__visual img {
    aspect-ratio: 1 / 1;
  }
  .dealer-card__body {
    padding-bottom: 0.15rem;
  }
  .dealer-list-name {
    display: -webkit-box;
    min-height: 3.2em;
    padding: 0.72rem 0.78rem 0.82rem;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: 0;
    word-break: break-word;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .dealer-list-name a {
    display: inline;
  }
  .dealer-list-name i {
    margin-left: 0.15em;
    font-size: 0.78em;
    vertical-align: 0.02em;
    opacity: 0.7;
  }
  .dealer-list-copyright {
    padding: 0.72rem 0.78rem 0.85rem;
  }
  .dealer-list-copyright summary {
    /*
    gap: 0.5rem;
    min-height: auto;
    padding: 0.72rem;
    border-radius: 0.8rem;
    font-size: 0.76rem;
    line-height: 1.3;
    */
        gap: 0.5rem;
        min-height: auto;
        padding: 0;
        border-radius: 0;
        font-size: 0.76rem;
        line-height: 1.3;
        border: none;
  }
  .dealer-list-copyright summary span:first-child {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.75rem;
    color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dealer-list-copyright summary span:first-child::after {
    content: "作品タイトル";
    position: absolute;
    left: 0;
    color: var(--c-txt);
  }
  .ac-btn {
    width: 1.42rem;
    height: 1.42rem;
    font-size: 0.86rem;
  }
  .dealer-list-copyright:not([open]) ul {
    padding-top: 0;
  }
  .dealer-list-copyright ul {
    gap: 0.34rem;
    padding: 0.62rem 0 0 0;
  }
  .dealer-list-copyright li {
    font-size: 0.76rem;
    line-height: 1.5;
  }
}
/* =========================================
   Result / No result
========================================= */
.no-result {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(28px, 4vw, 44px) 1rem;
  border-top: 1px solid rgb(0 0 0 / 6%);
  text-align: center;
  font-family: var(--font-en);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 800;
  color: rgb(34 34 34 / 54%);
}
/* =========================================
   Animation
========================================= */
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}
.dealer-list.slide-in {
  animation: slide-in 0.45s ease;
}
.dealer-list.slide-out {
  animation: slide-out 0.35s ease;
}
.dealer-list-slide-in .dealer-card {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease, transform 0.35s ease;
}
.dealer-list-slide-in .dealer-card.slide-in {
  opacity: 1;
  transform: none;
}
/* =========================================
   Notice
========================================= */
.dealer-notice {
  padding: clamp(40px, 6vw, 80px) var(--sp-md) 0;
  text-align: center;
}
.dealer-notice h6 {
  margin: 0 0 0.6rem;
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-main);
}
.dealer-notice p {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.8;
  color: rgb(34 34 34 / 74%);
}