/*----------------------------------------------------------------------------------------------------

  top
  
----------------------------------------------------------------------------------------------------*/
/* mainvisual */
#mainvisual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 580px;
  background-image: url("../image/content/top/mainvisual.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
#mainvisual .mv-catch {
  max-width: 734px;
  padding: 0 20px;
  box-sizing: border-box;
}
#mainvisual .mv-catch img {
  aspect-ratio: 694 / 144;
  object-fit: cover;
}
@media (max-width:640px) {
  #mainvisual .mv-catch {
    padding: 0 10px;
  }
}

#top-news {
  background-color: var(--primary-color);
  padding: 1rem 0;
}
#top-news .news-err { color: #fff; }
#top-news .ticker {
  width: 100%;  
  height: 40px;
  padding: 0 6px;
  overflow: hidden;
  line-height: 1.2;
}
#top-news ul {
  position: relative;
  list-style: none;
  height: 100%;
  padding: 0;
  margin: 0;
}
#top-news .ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-right: 0;
  opacity: 0;
}
#top-news .ticker-item a {
  display: flex;
  align-items: center;
  width: auto;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 5s linear;
}
#top-news .ticker-item .ticker-date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 40px;
  color: var(--primary-color);
  background-color: #fff;
  border-radius: 6px;
  margin-right: 1em;
}
#top-news .ticker-item .ticker-title {
  margin-left: 10px;
}
#top-news .fadeInDown {
  opacity: 0;
}
#top-news .fadeInDown.run {
  animation: fadeInDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}
#top-news .fadeOutDown {
  opacity: 1;
}
#top-news .fadeOutDown.run {
  animation: fadeOutDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOutDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* selling */
#selling {
  padding-top: 80px;
}
#selling .selling-contents-wrap {
  width: 100%;
  padding: 0 20px 85px;
  box-sizing: border-box;
  background-image: url("../image/content/top/selling-bg.jpg");
  background-repeat: no-repeat;
  background-position: left bottom;
}
#selling .selling-contents {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 50px 30px 50px 50px;
  background-color: rgba(255,255,255,0.6);
  box-sizing: border-box;
  border-radius: 12px;
}
#selling .selling-contents-inner {
  display: flex;
  column-gap: 30px;
  margin-bottom: 20px;
}
#selling .selling-text {
  width: calc(100% - 253px);
  font-size: 20px;
}
#selling .selling-text .fc-red {
  font-size: 28px;
  margin: 1rem 0;
}
#selling .selling-img {
  width: 223px;
}
#selling .selling-contents .p-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 385px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  height: 85px;
  margin: 0 auto;
  font-size: 24px;  
}
#selling .selling-contents .p-btn img {
  display: inline-block;
  margin-right: 0.5em;
}
@media (max-width:900px) {
  #selling .selling-contents {
    padding: 30px;
  }
}
@media (max-width:750px) {
  #selling .selling-contents-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  #selling .selling-text {
    order: 2;
    width: 100%;
  }
  #selling .selling-img {
    order: 1;
  }
}
@media (max-width:640px) {
  #selling .selling-contents {
    padding: 40px 20px 20px;
  }
  #selling .selling-text {
    font-size: 16px;
  }
  #selling .selling-text .fc-red {
    font-size: 22px;
  }
}

/* about */
#about {
  padding-top: 50px;
}
#about .about-contents-wrap {
  padding: 80px 0;
  background-color: #fff;
  background-image: url("../image/content/top/about-bg.jpg");
  background-position: center top;
  background-repeat: no-repeat;
}
#about .about-contents-inner {
  text-align: center;
}
#about .about-catch {
  font-size: 18px;
  margin-bottom: 1em;
}
#about .about-com-name {
  margin: 0 0 60px;
  color: #484848;
  font-size: 42px;
  line-height: 1.2;
}
#about .about-text {
  width: 100%;
  padding: 0 20px;

  box-sizing: border-box;
}
#about .about-ceo-licence {
  margin-top: 50px;
}
#about .about-ceo-name {
  margin-bottom: 50px;
  font-size: 26px;
}
#about .about-btn {
  width: 100%;
  height: 424px;
  padding: 0 20px;
  box-sizing: border-box;
  background-image: url("../image/content/top/about-img.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
}
#about .about-btn .p-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 385px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  height: 85px;
  margin: 0 auto;
  font-size: 24px;  
}
#about .about-btn .p-btn img {
  display: inline-block;
  margin-right: 0.5em;
}
@media (max-width:640px) {
  #about .about-catch {
    font-size: 12px;
  }
  #about .about-com-name {
    font-size: 32px;
  }
  #about .about-text {
    text-align: left;
  }
  #about .about-btn {
    height: 280px;
    background-size: 800px;
  }
}

/* pist-pickup */
#pist-pickup {
  padding-top: 50px;
  padding-bottom: 70px;
}
#pist-pickup .pist-pickup-err {
  text-align: center;
}
@media (max-width:500px) {
  #pist-pickup .pist-pickup-err {
    text-align: left;
  }
}
#pist-pickup .pist-pickup-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
#pist-pickup .pist-pickup-list li {
  width: calc(33.33% - 20px);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}
#pist-pickup .pist-pickup-img {
  aspect-ratio: 380 / 272;
  object-fit: cover;
  overflow: hidden;
}
#pist-pickup .pist-pickup-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 272;
  object-fit: cover;
}
#pist-pickup .pist-pickup-description {
  padding: 0 30px 30px;
  box-sizing: border-box;  
}
#pist-pickup .pist-pickup-description .type {
  position: relative;
  top: -20px;
  width: 132px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}
#pist-pickup .pist-pickup-description .type1 { background-color: var(--primary-color); }
#pist-pickup .pist-pickup-description .type2 { background-color: var(--secondary-color); }
#pist-pickup .pist-pickup-description .ad-price-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
}
#pist-pickup .pist-pickup-description .address {
  font-size: 18px;
  font-weight: bold;
}
#pist-pickup .pist-pickup-description .price {
  color: var(--thirdry-color);
  font-size: 36px;
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
}
#pist-pickup .pist-pickup-description .price span {
  font-size: 24px;
}
#pist-pickup .pist-pickup-description .size {
  margin-top: 0.5em;
}
#pist-pickup .pist-pickup-description .comment {
  margin-top: 0.75em;
  padding-top: 0.75em;
  border-top: 1px dashed #aaa;
}
#pist-pickup .pist-pickup-description .link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1em;
  padding: 0.5em;
  background-color: var(--thirdry-color);
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}
#pist-pickup .pist-pickup-description .link-btn:hover {
  background-color: var(--thirdry-color-hover);
}
#pist-pickup .pist-pickup-description .link-btn img {
  display: inline-block;
  margin-right: 0.5em;
}

#pist-pickup .pist-pickup-btn {
  display: flex;
  justify-content: center;
  column-gap: 50px;
  margin-top: 50px;
}
#pist-pickup .pist-pickup-btn .p-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  max-width: 400px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  height: 95px;
  font-size: 24px;  
}
#pist-pickup .pist-pickup-btn .p-btn img {
  display: inline-block;
  margin-right: 0.5em;
}
#pist-pickup .pist-pickup-btn .build-btn {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}
#pist-pickup .pist-pickup-btn .build-btn:hover {
  background-color: var(--secondary-color-light);
}
@media (max-width:1000px) {
  #pist-pickup .pist-pickup-list li {
    width: calc(50% - 15px);
  }
  #pist-pickup .pist-pickup-description {
    padding: 0 20px 20px;
  }
  #pist-pickup .pist-pickup-btn {
    column-gap: 30px;
  }
}
@media screen and (max-width:640px) {
  #pist-pickup .pist-pickup-list li {
    width: 100%;
  }
  #pist-pickup .pist-pickup-btn {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  #pist-pickup .pist-pickup-btn .p-btn {
    width: 100%;
  }
}
