.footer{
  padding-top: 3%;
}

@media (max-width: 600px) {
  .footer {
    padding-top: 6%;
  }
}
.footer__inner{
    /* max-width:1200px; */
    margin:auto;
}
.footer_primary {
  background-image: linear-gradient(to bottom, transparent 100px, var(--colorLightBase) 100px);
  padding-bottom: 3%;
}

@media (max-width: 1024px) {
  .footer_primary {
    background-image: none;
    background-color: var(--colorLightBase);
  }
}
.footer_primary__inner{
  max-width:1200px;
  margin:auto;
}

@media (max-width: 1300px) {
  .footer_primary__inner {
    max-width: inherit;
    padding-left: 3%;
    padding-right: 3%;
  }
}
@media (max-width: 1024px) {
  .footer_primary__inner {
    padding-top: 5%;
    margin-top: 7%;
  }
}

.footer_round-title-box{
    text-align:center;
    margin-bottom: 2%;
}

@media (max-width: 1024px) {
    .footer_round-title-box {
        margin-bottom: 3%;
    }
}
.footer_round-title{
    position: relative;
    font-size: clamp(16px, 3vw, 28px);
    font-weight:bold;
    color:#fff;
    display:inline-block;
    background-color: var(--colorLightBase);
    padding: 1% 1.5em;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .footer_round-title {
        padding: 3% 2em;
    }
}

.footer_round-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--colorLightBase);
}

@media (max-width: 600px) {
    .footer_round-title::after {
        bottom: -10px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid var(--colorLightBase);
    }
}
.footer_primary__conten{
    max-width:1200px;
    margin:0 auto 5%;
}
.footer_primary__info{
  background: #fff;
  border-radius: 20px;
  padding:3%;
  margin-bottom: 3%;
  filter: drop-shadow(0px 6px 1px rgba(0, 0, 0, 0.25));
}

@media (max-width: 768px) {
  .footer_primary__info {
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .footer_primary__info {
    margin-bottom: 8%;
  }
}
.footer_primary__info__title{
  font-size: clamp(16px, 2.5vw, 26px);
  font-weight: bold;
  margin-bottom: 1%;
}

@media (max-width: 768px) {
  .footer_primary__info__title {
    text-align: center;
  }
}
.footer_primary__info__text{
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight:500;
}
.footer_primary__info{
  display: flex;
  justify-content: space-between;
  .first{
    width:78%;
  } 
   .second{
    width:20%;
    display: flex;
    align-items: center;
    justify-content: center;
  } 
  .btn-more{
    background-color: var(--colorLightBase);
    color:#fff;
    text-align: center;
    border-radius: 30px;
    padding:3% 3em;
    display: inline-block;
  }
  @media (max-width: 768px) {
    flex-direction: column;
    .first, .second {
      width: 100%;
    }
    .second {
      margin-top: 20px;
    }
  }
}

.footer_secondary{
  padding:3% 0 2.5%;
}
.footer_secondary__inner{
  max-width: 1200px;
  margin:auto;
}

@media (max-width: 1300px) {
  .footer_secondary__inner {
    max-width: inherit;
    padding-left: 3%;
    padding-right: 3%;
  }
}
.footer_logo-box{
  width: 270px;
  
  @media (max-width: 768px) {
    width: 50%;
    margin: auto;
  }

  .footer_logo__desc{
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 6px;
    padding-left: 2px;
  }
  .footer_logo__img{

  }
}

.footer_nav-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
}

.footer_nav-column {
  flex-basis: 23%;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .footer_nav-box {
    display: block;
  }
  
  .footer_nav-column {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
}

.footer_nav-column__title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.footer_nav-column__title-link {
  color: var(--colorLightBase);
  font-size:20px; 
  margin-bottom: 2%;
  font-weight: bold;
  &:hover{
    text-decoration: underline;
  }
}

.footer_nav-column__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  border-left:1px solid var(--colorLightGray);
  margin-bottom: 2em;
}
@media (max-width: 600px) {
  .footer_nav-column__list {
    border:none;
  }
}
.footer_nav-column__list__item {
  margin-bottom: 3%;
  padding-left: 1.5em;

}

.footer_nav-column__list__link {
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 600px) {
  .footer_nav-column__list__item {
    margin-bottom: 0;
    padding:0;
  }
  
  .footer_nav-column__list__link {
    display: block;
    background: #f5f5f5;
    padding: 3%;
    border-bottom: 1px solid #ddd;
  }
}

.footer_nav-column__list__link:hover {
  text-decoration: underline;
}

/* ログインセクションの特別なスタイル */
.footer_nav-column:nth-child(2) .footer_nav-column__title:last-of-type {
  color: #0066cc;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .footer_nav-column {
      flex-basis: 48%;
  }
}

@media (max-width: 480px) {
  .footer_nav-column {
      flex-basis: 100%;
  }
}

.footer_areanav-box {
    margin-top: 1%;
}

.footer_areanav-title {
    margin-bottom: 1%;
}

.footer_areanav-title__link {
  font-size: 20px;
  font-weight: bold;
  color:var(--colorLightBase);
}

.footer_areanav-title__link:hover {
    text-decoration: underline;
}

.footer_areanav-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.footer_areanav-group {
    width: 30%;
    margin-bottom: 20px;
    padding-left: 1.5em;
    border-left: 1px solid var(--colorLightGray);
}

@media (max-width: 600px) {
  .footer_areanav-row {
    flex-direction: column;
  }
  
  .footer_areanav-group {
    width: 100%;
    padding-left: 0;
    border-left: none;
  }
}

.footer_areanav-group-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.footer_areanav-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer_areanav-list__item{
  position: relative;
  margin-right: 5px;
}

.footer_areanav-list__item:not(:last-child)::after {
  content: "/";
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  color:var(--colorGray);
}

.footer_areanav-list__link {
    font-size: 14px;
    padding-right: 6px;
}

.footer_areanav-list__link:hover {
    text-decoration: underline;
}

.footer_areanav-powered {
    text-align: right;
    margin-top: 20px;
}

.footer_areanav-powered img {
    max-width: 150px;
}

@media (max-width: 768px) {
    .footer_areanav-box {
        padding: 15px;
    }

    .footer_areanav-title {
        font-size: 20px;
    }

    .footer_areanav-group-title {
        font-size: 16px;
    }

    .footer_areanav-list__link {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .footer_areanav-list__link {
        font-size: 14px;
    }
}

.footer-river{
  text-align: center;
  .footer-river__text{
    font-weight: bold; 
    font-size: 12px;
    color: var(--colorDarkBase);
    padding-right: 10px;
  }
  .footer-river__img{
    width: 85px;
  }
}


.footer_primary__info{

  .more{
    position: relative;
    display: block;
  }
  .btn-play{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 60px;
  }
}



.side-fixed{
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 10;
}
.side-fixed__bnr{
  display: block;
  width:180px;
  transition: all 0.3s;
}

/* .side-fixed__bnr{
  display: none;
} */
/* @media screen and (max-width: 640px) {
  .side-fixed__bnr{
    display: none;
  }
} */

@media (hover: hover) {
  .side-fixed__bnr{
    transition: all 0.3s;
  }
}

.side-fixed__bnr:hover {
  opacity: 0.6;
}

.side-fixed__bnr__img{

}
/*  */

.side-fixed-amount {
  position: fixed;
  bottom: 120px;
  right: 30px;
  max-width: 190px;
  background-color: #fff;
  /* background-color: rgba(255, 255, 255, 0.95); */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
  border: 2px solid var(--colorSubAccent2);
  /* display: none; */
  z-index: 100;

  @media screen and (max-width: 500px) {
    bottom: 20px;
    right: inherit;
    left: 20px;
    font-size: 12px;
    width:160px;
  }
}

/* スマホ project 詳細のみ非表示 */
@media screen and (max-width: 650px) {
  body.project_detail .side-fixed__bnr,
  body.project_detail .side-fixed-amount{
    display: none!important;
  }
}



.side-fixed-amount__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.side-fixed-amount__row:last-child {
  margin-bottom: 0;
}

.side-fixed-amount__label {
  white-space: nowrap;
  font-size: 12px;
  font-weight: bold;
}

.side-fixed-amount__value {
  font-weight: bold;
  margin-left: 8px;
  font-size: 13px;
}
@media screen and (max-width: 500px) {
  .side-fixed-amount__label,
  .side-fixed-amount__value{
    font-size: 12px;
  }
}



/*  */
.side-fixed__fortop{
  display: block;
  margin-bottom: 20px;
  /* margin-bottom: 130px; */
  width: 60px;
  height: 60px;
  border: 1px solid var(--colorLightBase);
  border-radius: 10px;
  background: url(../img/common/icon-arrow-top.svg) no-repeat center #fff;
  /* opacity:0; */
}

.side-fixed__fortop.is-show{
  opacity: 1;
}

.is-active-side-fixed-amount .side-fixed__fortop{
  margin-bottom: 130px;
  @media (max-width: 500px) {
    margin-bottom: 20px;
    }
}

@media (hover: hover) {
  .side-fixed__fortop {
    transition: all 0.3s;
  }
  .side-fixed__fortop:hover {
    opacity: 0.5;
  }
}

@media (max-width: 500px) {
  .side-fixed{
    bottom: 20px;
    right: 20px;
  
  }
  .side-fixed__bnr{
    width:120px;
  }
  
  .side-fixed__fortop {
    width: 45px;
    height: 45px;  
    margin-bottom: 10px;
  }
}

.footer-copy{
  text-align: center;
  padding-top: 15px;
}
.footer-copy a{
  font-size: 11px;
  color: #888;
}
.footer-copy a:hover{
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .footer-copy{
    padding-bottom:80px;
  }
}