@charset "utf-8";
/*********************************
HOBBY ROUND 33 2025.11.09 STYLE-DEALER
last update - 2025.08.26
*********************************/ 
/*-------------------------------
 DEALER
---------------------------------*/
#ctg-dealer {
  background-image: url(/event/afterrepo/assets/image/240511_hr30/ar11_00.jpg);
}
.head-catch {
  text-align: center;
  background-color: rgba(212, 7, 40, 1);
  background-image: repeating-linear-gradient(-80deg, transparent, transparent 10px, rgba(195, 13, 35, 1) 10px, rgba(195, 13, 35, 1) 20px );
  padding: 3rem calc(var(--rs) * 2) 4rem;
}
.dealer-list--wrap {
  margin: 0 auto;
}
.list-btn-wrap {
  background: #fff;
}
.dealer-nav-wrap {
  background: #fff;
  padding: 3rem calc(var(--rs) * 2);
  margin-top: 4rem;
}
.dealer-list--nav {
  font-size: calc(var(--fs) * 2.8);
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 0 0.1rem 0.1rem rgb(0 0 0 / 50%);
  padding-bottom: 1rem;
  text-wrap: pretty;
}
.list-btn {
  display: grid;
  grid-template-columns: repeat(2 , 1fr);
  gap: calc(var(--rs) * 1);
  padding: calc(var(--rs) * 2);
}
.list-btn-li {
  text-align: left;
  a {
    font-weight: bold;
    color: #fff;
    background: var(--c-link);
    border-radius: 0.5rem;
    padding: 1rem 0.5em 1rem 0.5em;
    display: block;
    position: relative;
    &:after {
      content: "\f107";
      font-family: "Font Awesome 5 Free";
      position: absolute;
      right: 0.5em;
    }
    &:hover {
      background: var(--c-link-hover);
      text-decoration: none;
    }
  }
}
/* 検索システム */
.search-container {
  display: flex;
  justify-content: center;
  font-size: calc(var(--fs) * 1.5);
  background: hsl(46.05deg 100% 91.57%);
  padding: calc(var(--rs) * 2);
  flex-wrap: wrap;
  gap: calc(var(--rs) * 1);
  @media screen and (min-width: 767px) {
    justify-content: space-between;
  }
}
#search-box {
  width: 100%;
  max-width: 100%;
  height: 4rem;
  @media screen and (min-width: 767px) {
    width: calc(100% - 12em - calc(var(--rs) * 2));
  }
}
#search-button, #reset-button {
  color: hsl(0deg 0% 100%);
  width: 6em;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 1rem 1rem 1rem 1rem;
  line-height: 1;
}
#search-button {
  background-color: var(--c-link);
  &:hover {
    background-color: var(--c-link-hover);
  }
}
#reset-button {
  background-color: #6c757d;
  &:hover {
    background-color: #373a3c
  }
}
.search-subject {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.search-subject + .search-subject {
  margin-top: calc(var(--rs) * 6);
}
.result-title {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: calc(var(--fs) * 4);
  font-weight: bold;
  text-align: center;
  margin-bottom: calc(var(--rs) * 2);
  position: relative;
  grid-column: 1 / -1;
  em {
    font-size: 150%;
    font-style: inherit;
    color: var(--c-dark);
  }
  &:before {
    content: "●";
    color: var(--c-dark);
    margin-right: 0.2em;
  }
}
.no-result {
  font-size: calc(var(--fs) * 2);
  text-align: center;
  grid-column: 1 / 6;
  grid-row: 2 / 2;
}
/* スライドインアニメーションの定義 */
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* スライドアウトアニメーションの定義 */
@keyframes slide-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}
/* 検索結果のアニメーション */
.dealer-list.slide-in {
  animation: slide-in 0.8s ease;
}
.dealer-list.slide-out {
  animation: slide-out 0.8s ease;
}
.dealer-list-slide-in dd {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.dealer-list-slide-in dd.slide-in {
  opacity: 1;
  transform: none;
}
/********************** 
 DEALER - LIST
************************/
.dealer-list {
  display: grid;
  grid-template-columns: repeat(2 , 1fr);
  gap: calc(var(--rs) * 1);
  padding: 0 calc(var(--rs) * 1) 0;
}
.dealer-list + .dealer-list {
  margin-top: calc(var(--rs) * 8);
}
.dealer-list-section {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: calc(var(--fs) * 3);
  font-weight: bold;
  text-align: center;
  position: relative;
  grid-column: 1 / -1;
  em {
    font-size: 150%;
    font-style: inherit;
    color: var(--c-dark);
  }
  &:before {
    content: "●";
    color: var(--c-dark);
    margin-right: 0.2em;
  }
}
@media screen and (min-width: 767px) {
  .dealer-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100% , 22rem) , 1fr));
  }
.dealer-list-group {
  display: flex;
  flex-direction: column;
  }
}
.dealer-list-no {
  display: grid;
  grid-template-columns: 4em 1fr;
  align-items: center;
  background: #333;
  border: 0.2rem solid #333;
  border-bottom: 0.1rem solid #333;
  line-height: 1;
}
.dealer-list-no span:first-of-type {
  color: #fff;
  padding: 0 0.5rem;
  text-align: center;
}
.dealer-list-no span:nth-of-type(2) {
  padding: 1.3rem 1.5rem 1rem 0.5rem;
  text-align: center;
  background: #fff;
  font-size: calc(var(--fs) * 1.8);
}
.dealer-list-group > div {
  background: #fff;
  border: 0.2rem solid #333;
  border-top: none;
  border-bottom: none;
}
.dealer-list-name {
  font-size: calc(var(--fs) * 1.8);
  line-height: 1.3;
  word-break: break-all;
  padding: 0.7cap calc(var(--rs) * 1) 0.4cap;
  border-bottom: 0.1rem solid #ccc;
  display: flex;
  align-items: center;
}
.dealer-list-name span {
  display: none;
}
.dealer-list-copyright {
  font-size: calc(var(--fs) * 1.2);
  padding: 1rem calc(var(--rs) * 1);
  background: #fff;
  flex-grow: 1;
  border-radius: 0 0 2rem 0;
  border: 0.2rem solid #333;
  border-top: none;
}
.dealer-list-copyright > input {
  display: none;
}
.dealer-list-copyright dt {
  position: relative;
}
.dealer-list-copyright ul {
  position: absolute;
  visibility: hidden;
  transform: translateY(-100%);
}
@media screen and (min-width: 767px) {
  .dealer-list-copyright ul {
    position: inherit;
    visibility: inherit;
    transform: translateY(0);
  }
}
.dealer-list-copyright > input:checked+label+ul {
  position: relative;
  visibility: visible;
  transform: translateY(0);
}
.ac-btn {
  text-align: center;
  background: #333;
  color: #fff;
}
@media screen and (min-width: 767px) {
  .ac-btn {
    display: none;
  }
}
.dealer-list-copyright dt:first-of-type {
  width: 100%;
  font-weight: bold;
  padding-bottom: 0.2rem;
  display: grid;
  grid-template-columns: 1fr 1.5em;
}
.dealer-list-copyright li > span {
  display: none;
}
.dealer-notice {
  text-align: center;
  padding: calc(var(--rs) * 8) calc(var(--rs) * 1) 0;
}
.dealer-notice h6 {
  font-size: calc(var(--fs) * 4);
  color: var(--c-dark);
}
.dealer-notice p {
  font-size: calc(var(--fs) * 1.8);
  font-weight: bold;
  line-height: 1.8;
}