/* CSS Document */


/* ===== FOOTER ===== */
footer {
  background: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-direction: row;
  padding: 0 30px;
}

.footer-info{
  width: 350px;
  min-width: 350px;
}

.ft-info-box-wrap{
  display: flex;
  flex-direction: column;
  gap:15px;
  margin-top: 10px;
}

.footer-info p{
  font-size: 0.95rem;
  color: #000;
  line-height: 1.5;
}

.footer-info p i{
  color: #7cc6ee;
  width: 16px;
}

.footer-info p strong{
  margin-bottom: 5px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #fff;
  background: #7cc6ee;
  display: inline-block;
  padding: 0px 8px;
  border-radius: 10px;
  width: fit-content;
  letter-spacing: 0.1rem;
}


.footer-info span{
  display: block;
  border-bottom: 1px dashed #898989;
  
}

.footer-map {
  width: 100%;  
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(168,216,234,0.5);
  padding-top: 20px;
  padding-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto ;
}

.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--text);
  padding: 3px 10px;
  text-decoration: none;
}

.info-no{
  letter-spacing: 0.1rem;
}


.footer-nav a:hover {
  background: var(--sky-pale);
  color: var(--sky);
  border-radius: 20px;
}

.copyright { 
  font-size: 0.75rem; 
  color: #aaa; 
}


.footer-lace{
  margin-bottom: 0px;
}

.footer-lace img{ 
  width: 100%; 
  display: block;
  transform: scaleY(-1);
}

.footer-link {
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
}

.ft-group-company{
  width: 100%;
  margin: auto;
  position: relative;
}



.group-company {
  padding: 60px 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fdfaf6;
  margin-bottom: 60px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.g-c-dec{
  background: url(../img/subpage/sub-top.png) no-repeat center bottom;
  background-size: cover;
  width: 100%;
  aspect-ratio: 1920 / 210;
  bottom: 1px;
}

.group-company-title{
  width: 100%;
  max-width: 700px;
  text-align: center;
  display: block;
  margin: 10px auto;
  position: relative;
}

.group-company-title h5{
  font-size: 1rem;
  color: #555;
  text-decoration: none;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto 10px;
}

.group-company-title h5 {
  display: block;
  max-width: 800px;
  margin: auto;
  
}

.ft-group-company h5 span{
  font-weight: 500;
  display: block;
}

.group-company-title::after{
  content: '';
  position: absolute;
  top: -10px;
  left: -30px;
  width: 60px;
  aspect-ratio: 20 / 12;
  background: url(../img/subpage/top-bird.png) no-repeat center;
  background-size: cover;
  animation: birdFloat-contrary 5s ease-in-out infinite alternate;
}

.group-company-title::before{
  content: '';
  position: absolute;
  top: -10px;
  right: -30px;
  width: 60px;
  aspect-ratio: 20 / 12;
  background: url(../img/subpage/top-bird.png) no-repeat center;
  background-size: cover;
  animation: birdFloat 5s ease-in-out infinite alternate;
}

.group-company ul{
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 20px auto;
}

.group-company ul li{
  width: fit-content;  
}

.group-company ul a{
  background: #fff;
  border-radius: 12px;
  display: block;
  padding: 20px;
  width: fit-content;
  aspect-ratio:5/2;
  box-shadow: 3px 3px 10px #e1d4c3;
  transition: 0.3s ease-in;
}


.group-company ul a:hover{
  transform: translateY(-5px);
  box-shadow: 3px 3px 5px #b3c9d1;
}

.group-company ul img{
  max-width: 300px;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1460px) {
  
  .group-company-title h5 {
    font-size: 0.95rem;
  }
  
  .footer-info p {
    font-size: 0.9rem;
  }
  
  .footer-nav a {
    font-size: 0.75rem;
  }
}

@media (max-width: 1200px) {
  
  .ft-group-company {
    margin: 0 auto;
  }
  
  .group-company {
    padding: 50px 30px 0;
  }
  
  .footer-inner { 
    padding: 0 20px;
    grid-template-columns: 1fr; 
  }
}



@media (max-width: 768px) {
  
  .footer-info {
    width: 100%;
    min-width: 100%;
  }
  
  .group-company-title h5 {
    font-size: 0.9rem;
  }
  
   .footer-info .logo-wrap img {
      width: 75%;
  }
  
  .footer-info .logo-wrap {
    justify-content: center;
  }
  
  .ft-info-box-wrap {
    background: #eef7fc;
    padding: 20px;
    border-radius: 20px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  .group-company-title {
    text-align: left;
  }
  
  .ft-group-company h5 span {
    display: inline;
  }

  .footer-map iframe {
    height: 450px;
    border-radius: 20px;
  }
  
  .group-company ul {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }
  
  .group-company ul li {
    width: 100%;
  }
  
  .group-company-title h5 {
    padding: 0 20px;
}
  
  .group-company ul a {
    display: flex;
    aspect-ratio: inherit;
    width: 100%;
    height: fit-content;
    justify-content: center;
  }
  
  .g-c-dec {
    aspect-ratio: inherit;
    height: 80px;
    background-size: contain;
  }
  
  .group-company {
    overflow: visible;
    margin-bottom: 30px;
    padding: 50px 0 0;
  }
  
  .group-company-title::after{
    top: -60px;
    left: 10px;
  }
  
  .group-company-title::before {
    top: -60px;
    right: 10px;
  }
  
  .footer-bottom {
    margin: 0 auto;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 30px;
  }
  
  .footer-nav a {
    background: var(--sky-pale);
    color:#51a0cb;
    border-radius: 20px;
  }
  

  
}


@media (max-width: 480px) {
  
  
  .footer-lace {
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
  }

  .footer-lace img{
    height: 18px;
    aspect-ratio: 200/6;
    width: auto;
  }
  
  .footer-bottom { 
    flex-direction: column; 
    align-items: flex-start; 
  }
  
}

