@charset "utf-8";

#visual {
  position: relative;
  display: flex;
  justify-content: space-between;
}

#visual::before {
  content: '';
  position: absolute;
  left: 0rem;
  top: 5.4rem;
  width: 1.9rem;
  height: 27.7rem;
}

#democratic #visual::before {
  background: url(../images/main/democratic-visual-slogan.png) no-repeat center / 100%;
}

#liberty #visual::before {
  background: url(../images/main/liberty-visual-slogan.png) no-repeat center / 100%;
}

#nogroup #visual::before {
  background: url(../images/main/nogroup-visual-slogan.png) no-repeat center / 100%;
}

#visual::after {
  content: '';
  position: absolute;
  left: 6rem;
  top: 0;
  width: 160rem;
  height: 48rem;
  border-radius: 2rem 0 0 20rem;
  z-index: -2;
}

#democratic #visual::after {
  background:url(../images/main/democratic-visual-bg01.png), linear-gradient(125deg, rgba(121, 215, 255, 0.20) 10%, rgba(31, 49, 217, 0.20) 80%);
  background-size: 100%;
}

#liberty #visual::after {
  background:url(../images/main/liberty-visual-bg01.png), linear-gradient(125deg, rgba(255, 137, 172, 0.20) 10%, rgba(244, 176, 155, 0.20) 70%);
  background-size: 100%;
}

#nogroup #visual::after {
  background:url(../images/main/nogroup-visual-bg01.png), linear-gradient(125deg, rgba(100, 100, 100, 0.20) 10%, rgba(249, 249, 249, 0.20) 70%);
  background-size: 100%;
}

#visual .visual-con {
  margin-top: 6.5rem;
  margin-left: 26.6rem;
}

#visual .visual-con .title {
  position: relative;
  font-size: 2.4rem;
  font-weight: 500;
}

#visual .visual-con .title::before { 
  display:block;
  content:'';
  position:absolute;
  left:-7.5rem;
  top:-4rem;
  width:15.2rem;
  height:15rem;
  background: url(../images/main/district-council-slogan.png) no-repeat center / 100%;
  z-index: -1;
  animation: rotate_image 20s linear infinite;
}

@keyframes rotate_image{
  100% {
      transform: rotate(360deg);
  }
}

#visual .visual-con .title span.name {
  font-size: 4.8rem;
  font-weight: 700;
}

#democratic #visual .visual-con .title span.name {
  background: var(--graB);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#liberty #visual .visual-con .title span.name {
  background: var(--graR);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#nogroup #visual .visual-con .title span.name {
  background: #767676;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#visual .visual-con .title span.txt-end {
  font-size: 4.2rem;
  font-weight: 700;
}

#visual .visual-con .txt {
  margin-top: 2.5rem;
}

#visual .visual-con .txt dl {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

#visual .visual-con .txt dl dt {
  position: relative;
  padding: 0.5rem 2.1rem 0.5rem 4.4rem;
  font-size: 1.7rem;
  font-weight: 500;
  background: #fff;
  border-radius: 5rem;
  text-align:justify;
  text-align-last:justify;
  width: 11.4rem;
}

#visual .visual-con .txt dl dt::before {
  display:block;
  content:'';
  position:absolute;
  left:1.5rem;
  top:0.7rem;
  width:2.4rem;
  height:2.4rem;
}

#democratic #visual .visual-con .txt dl dt::before {
  background: url(../images/main/democratic-visual-ic.svg) no-repeat;
  background-size: 12rem;
}

#liberty #visual .visual-con .txt dl dt::before {
  background: url(../images/main/liberty-visual-ic.svg) no-repeat;
  background-size: 12rem;
}

#nogroup #visual .visual-con .txt dl dt::before {
  background: url(../images/main/nogroup-visual-ic.svg) no-repeat;
  background-size: 12rem;
}

#democratic #visual .visual-con .txt dl:nth-of-type(2) dt::before,
#liberty #visual .visual-con .txt dl:nth-of-type(2) dt::before,
#nogroup #visual .visual-con .txt dl:nth-of-type(2) dt::before {
  background-position: -2.4rem 0;
}

#democratic #visual .visual-con .txt dl:nth-of-type(3) dt::before,
#liberty #visual .visual-con .txt dl:nth-of-type(3) dt::before,
#nogroup #visual .visual-con .txt dl:nth-of-type(3) dt::before {
  background-position: -4.8rem 0;
}

#democratic #visual .visual-con .txt dl:nth-of-type(4) dt::before,
#liberty #visual .visual-con .txt dl:nth-of-type(4) dt::before,
#nogroup #visual .visual-con .txt dl:nth-of-type(4) dt::before {
  background-position: -7.2rem 0;
}

#democratic #visual .visual-con .txt dl:nth-of-type(5) dt::before,
#liberty #visual .visual-con .txt dl:nth-of-type(5) dt::before,
#nogroup #visual .visual-con .txt dl:nth-of-type(5) dt::before {
  background-position: -9.6rem 0;
}

#visual .visual-con .txt dl dd {
  margin-left: 2rem;
  font-weight: 500;
}

#visual .visual-photo {
  display: flex;
  align-items: flex-end;
  position: relative;
  margin-top: 7rem;
  width: 48rem;
  height: 47rem;
  border-radius: 15rem 1.5rem 1.5rem 1.5rem;
  background: #fff;
  box-shadow: 0 0 5rem 0 rgba(0, 0, 0, 0.20);
}


#visual .visual-photo .imgbox {
  text-align: center;
  width: 100% ;
}

#visual .visual-photo img {
  position: relative;
  height: auto;
  z-index: 1;
  vertical-align: bottom;
}

#visual .visual-photo::before, #visual .visual-photo::after {
  display:block;
  content:'';
  position:absolute;
  border-radius: 50%;
}

#visual .visual-photo::before {
  left:-5.4rem;
  top:3.8rem;
  width:12.6rem;
  height:12.6rem;
  /* box-shadow: 0 0 3rem 0 rgba(0, 0, 0, 0.15); */
}

#democratic #visual .visual-photo::before  {
  background: rgba(0, 161, 255, 0.15);
}

#liberty #visual .visual-photo::before  {
  background: rgba(255, 74, 107, 0.15);
}

#nogroup #visual .visual-photo::before  {
  background: rgba(139, 139, 139, 0.15);
}

#visual .visual-photo::after {
  right:-7rem;
  bottom:-7rem;
  width:27.8rem;
  height:27.8rem;
  /* box-shadow: 4rem 0 3rem 0 rgba(0, 0, 0, 0.20); */
}

#democratic #visual .visual-photo::after  {
  background: linear-gradient(125deg, rgba(0, 161, 255, 0.15) 10%, rgba(255, 255, 255, 0) 70%);
}

#liberty #visual .visual-photo::after  {
  background: linear-gradient(125deg, rgba(255, 0, 46, 0.15) 10%, rgba(255, 255, 255, 0) 70%);
}

#nogroup #visual .visual-photo::after  {
  background: linear-gradient(125deg, rgba(139, 139, 139, 0.15) 10%, rgba(255, 255, 255, 0) 70%);
}

.board {
  position: relative;
  margin-top: 7rem;
}

.board::before {
  display:block;
  content:'';
  position:absolute;
  left: -30%;
  top: -82%;
  width:52.1rem;
  height:52.1rem;
  background: url(../images/main/district-council-ci.png) no-repeat left / 100%;
  z-index: -1;
}

#quick h3 {
  position: relative;
  padding-bottom: 5rem;
  font-size: 3rem;
  font-weight: 600;
}

#democratic #quick h3 {
  color: var(--point);
}

#liberty #quick h3 {
  color: var(--point02);
}

#quick h3::after {
  content:'';
  position:absolute;
  right:0em;
  top:25%;
  width:85%;
  height: 1px;
  background-color: #d9d9d9;
  z-index: -1;
}

#quick ul {
  display: flex;
}

#quick ul li {
  position: relative;
  display: flex;
  justify-content: center;
  width: 20%;
}

#quick ul li::before {
  content:'';
  position:absolute;
  right: -0rem;
  top: calc(50% - 2.2rem);
  width: 0.4rem;
  height: 2.2rem;
  background: url(../images/main/quick-line.svg) no-repeat center / 100%;
}

#quick ul li:last-child:before {
  display: none;
}

#quick ul li a {
  position: relative;
  display: block;
  text-align: center;
  padding-top: 16rem;
  width: 14rem;
  font-size: 1.8rem;
  font-weight: 500;

}

#quick ul li a::before {
  display:block;
  content:'';
  position:absolute;
  left:0;
  top:0;
  width:13rem;
  height:13rem;
  margin: auto;
  border: 2px solid #ececec;
  border-radius: 5rem;
  background:  #fff url(../images/main/quick-ic.png) no-repeat 0 0 / 65rem;
  transition: all ease .3s;
}

#quick ul li:nth-child(2) a::before {
  background-position: -13rem 0;
} 

#quick ul li:nth-child(3) a::before {
  background-position: -26rem 0;
} 

#quick ul li:nth-child(4) a::before {
  background-position: -39rem 0;
} 

#quick ul li:nth-child(5) a::before {
  background-position: -52rem 0;
} 

#quick ul li a:hover::before {
  border: 0.2rem solid #B4C5E5;
  box-shadow: 0 2px 3rem 0 rgba(0, 0, 0, 0.15);
}

#quick ul li a::after {
  display:block;
  content:'';
  position:absolute;
  right: -0.4rem;
  top:0;
  width: 5rem;
  height: 5rem;
  border-radius: 2rem;
  background: url(../images/main/quick-arr.svg) no-repeat center, var(--color02);
}

#quick ul li:nth-child(odd) a::after {
  background: url(../images/main/quick-arr.svg) no-repeat center, var(--color);
}

#photo {
  margin-top: 7rem;
  padding: 8rem 0;
  background: url(../images/main/photo-bg.png) no-repeat left -4rem top, #F4F4F4;
}

#photo div.wrap {
  display: flex;
  gap: 7rem;
}

#photo .photo-slogan {
  margin-top: 2rem;
  width: calc(19.6% - 3.5rem);
}

#photo .photo-slogan h3 {
  position: relative;
  padding-bottom: 3rem;
  font-size: 3rem;
  font-weight: 600;
}

#democratic #photo .photo-slogan h3 {
  color: var(--point);
}

#liberty #photo .photo-slogan h3 {
  color: var(--point02);
}


#nogroup #photo .photo-slogan h3 {
  color: #333333;
}

#photo .photo-slogan h3::after {
  display:block;
  content:'';
  position:absolute;
  left: 0;
  bottom:0;
  width: 3rem;
  height: 0.3rem;
}

#democratic #photo .photo-slogan h3::after {
  background: var(--point);
}

#liberty #photo .photo-slogan h3::after {
  background: var(--point02);
}

#nogroup #photo .photo-slogan h3::after {
  background: #333;
}

#photo .photo-slogan {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  align-items: center;
}

#photo .photo-slogan p.txt {
  margin-top: 3rem;
  font-weight: 500;
}

#photo .photo-slogan p.more {
  display: inline-block;
  padding: 1rem 4.4rem 1rem 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.4rem 2rem 0.4rem 0.4rem;
}

#photo .photo-slogan p.more a {
  position: relative;
  color: #fff;
  font-weight: 500;
}

#photo .photo-slogan p.more a::after {
  display:block;
  content:'';
  position:absolute;
  right: -2.4rem;
  top: 0.4rem;
  width: 1.4rem;
  height: 1.4rem;
  background: url(../images/main/photo-btn.svg) no-repeat center / 100%;
}

#photo ul {
  display:flex;
  justify-content: space-between;
  width: calc(80.4% - 3.5rem);
}

#photo ul>li {
  flex: 0 0 31%;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.10);
}

#photo ul>li .img {
  height: clamp(16rem, 20vw, 20rem);
  overflow: hidden;
}

#photo ul>li .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#photo ul>li .txt {
  background: #fff;
  padding: 2.2rem 3rem;
  font-size: 1.6rem;
  overflow-wrap: break-word;
  font-weight: 500;
}

#photo ul>li .txt span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#photo ul>li .txt .date {
  position: relative;
  margin-top: 0.6rem;
  padding-left: 2.7rem;
  color: #ACACAC;
  font-size: 1.4rem;
  font-weight: normal;
}

#photo ul>li .txt .date::before {
  display:block;
  content:'';
  position:absolute;
  left: 0;
  top: 0.1rem;
  width: 1.7rem;
  height: 1.7rem;
  background: url(../images/main/photo-date-ic.svg) no-repeat center / 100%;
}



/*******************************************************/

@media all and (max-width:1024px){
  
  #visual::before {
    display: none;
  }

  #visual::after {
    left: -7rem;
    border-radius: 0;
  }

  #visual .visual-con {
    margin-left: 0rem;
  }

  #visual .visual-photo {
    width: 50%;
  }

  #quick {
    position: relative;
  }

  #quick h3::after {
    width: 80%;
  }

  #photo div.wrap {
    gap: 4rem;
  }

  #photo .photo-slogan {
    width: calc(25% - 2rem);
  }
  

}

@media screen and (max-width:800px){

  #visual {
    flex-direction: column-reverse;
    align-items: center;
  }

  #visual::after {
    background: url(../images/main/democratic-visual-bg01.png), linear-gradient(125deg, rgba(121, 215, 255, 0.20) 10%, rgba(31, 49, 217, 0.20) 80%);
    height: 45%;
  }

  #democratic #visual::after {
    background:linear-gradient(125deg, rgba(121, 215, 255, 0.20) 10%, rgba(31, 49, 217, 0.20) 80%);
  }

  #liberty #visual::after {
    background:linear-gradient(125deg, rgba(255, 137, 172, 0.20) 10%, rgba(244, 176, 155, 0.20) 70%);
  }

  #visual .visual-photo .imgbox {
    width: 58%;
  }

  #visual .visual-con {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
  }

  #visual .visual-photo {
    margin-top: 5rem;
    width: 90%;
    height: auto;
    justify-content: center;
  }

  #visual .visual-con .title {
    text-align: center;
    font-size: 2rem;
    line-height: 200%;
  }

  #visual .visual-con .title span.name {
    font-size: 3.4rem;
  }

  #visual .visual-con .title span.txt-end {
    font-size: 3rem;
  }

  #democratic #visual .visual-con .txt dl dt {
    background: #e4f7ff;
  }

  #liberty #visual .visual-con .txt dl dt {
    background: #fff4f4;
  }

  .board {
    flex-direction: column;
  }

  .board::before {
    top: -32%;
  }

  #quick {
    width: 100%;
  }

  #quick ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #quick ul li {
    margin-bottom: 2rem;
    width: 33.3%;
  }

  #quick ul li:nth-child(3):before {
    display: none;
  }

  #quick ul li a {
    padding-top: 14.5rem;
  }
  

  #photo {
    padding: 4rem 0;
  }

  #photo div.wrap {
    flex-direction: column;
  }

  #photo .photo-slogan h3 {
    padding-bottom: 0;
  }

  #photo .photo-slogan h3::after, #photo .photo-slogan p.txt {
    display: none;
  }

  #photo .photo-slogan {
    width: 100%;
    margin-top: 0;
    justify-content: space-between;
  }

  #photo ul {
    width: 100%;
  }

  #photo ul>li {
    flex-basis: 80%;
    max-width: 220px;
  }

  #photo ul {
    overflow-x: auto;
    gap: 1rem;
  }
  
}


@media screen and (max-width:460px){

  #visual::after {
    height: 35%;
  }

  #visual .visual-photo::after {
    width: 20rem;
    height: 20rem;
  }

  #quick ul li::before {
    display: none;
  }

  #quick ul li a::after, #quick ul li:nth-child(odd) a::after  {
    right: 0.6rem;
    width: 4.5rem;
    height: 4.5rem;
    background-size: 30%;
  }

  
}
