@charset "UTF-8";

/* --------------------------------------------------
  メインビジュアル
-------------------------------------------------- */

#mv {
  display: flex;
  align-items: center;
  position: relative;
}
#mv img {
  width: 100%;
}
#mv #message {
  width: 50%;
  color: #fff;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  position: absolute;
}
#mv #message strong {
  font-family: Arial;
  font-size: 3.6vw;
  font-weight: bold;
  display: inline-block;
}
#mv #message p {
  font-size: 1.8vw;
}

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

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

/* --------------------------------------------------
  メイン
-------------------------------------------------- */

main section {
  padding: 100px 0;
}
main section .inner {
  margin: 0 auto;
  width: 1200px;
}
main h2 {
  margin-bottom: 60px;
  font-size: 2.8rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
main h2::after {
  content: '';
  margin: 0 auto;
  width: 80px;
  height: 5px;
  background: var(--main-color);
}

@media screen and (max-width: 1024px) {
  main section {
    padding: 80px 0;
  }
  main section .inner {
    padding: 0 30px;
    width: 100%;
  }
  main h2 {
    margin-bottom: 50px;
    font-size: 2.4rem;
  }
  main h2::after {
    width: 70px;
    height: 4px;
  }
}

@media screen and (max-width: 768px) {
  main section {
    padding: 60px 0;
  }
  main section .inner {
    padding: 0 20px;
  }
  main h2 {
    margin-bottom: 40px;
    font-size: 2.2rem;
  }
  main h2::after {
    width: 60px;
    height: 3px;
  }
}

/* --------------------------------------------------
  信頼と実績で選ばれる企業へ
-------------------------------------------------- */

#message {
}
#message p {
  text-align: center;
}

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

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

/* --------------------------------------------------
  事業内容
-------------------------------------------------- */

#service {
  background: #f4f4f4;
}
#service ul {
  margin-bottom: 40px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
#service li {
  width: 25%;
}
#service li img {
  margin-bottom: 10px;
  width: 100%;
  max-width: 480px;
}
#service li strong {
  margin-bottom: 5px;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  display: block;
}
#service li p {
  margin: 0;
}
#service .button {
  display: flex;
  justify-content: center;
}
#service .button a {
  padding: 10px; 
  min-width: 200px;
  background: var(--main-color);
  border: solid 2px var(--main-color);
  border-radius: 4px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
#service .button a:hover {
  background: #fff;
  color: #25a4de;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  #service ul {
    gap: 20px;
  }
  #service strong {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  #service ul {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
  }
  #service li {
    width: 100%;
  }
  #service li img {
    max-width: 100%;
  }
  #service strong {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }
}

/* --------------------------------------------------
  お知らせ
-------------------------------------------------- */

#news {
  
}
#news ul {
  margin: 0 auto 50px;
  width: 900px;
  border-top: solid 1px #ccc;
  list-style: none;
}
#news li {
  padding: 20px;
  border-bottom: solid 1px #ccc;
  display: flex;
  gap: 20px;
}
#news li time {
  white-space: nowrap;
}
#news .button {
  display: flex;
  justify-content: center;
}
#news .button a {
  padding: 10px; 
  min-width: 200px;
  background: var(--main-color);
  border: solid 2px var(--main-color);
  border-radius: 4px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
#news .button a:hover {
  background: #fff;
  color: #25a4de;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  #news ul {
    margin-bottom: 50px;
    width: 100%;
  }
  #news li {
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 768px) {
  #news ul {
    margin-bottom: 40px;
  }
  #news li {
    gap: 5px;
  }
}

/* --------------------------------------------------
  アクセス
-------------------------------------------------- */

#access {
  background: #f4f4f4;
}
#access iframe {
  width: 100%;
  height: 640px;
}

@media screen and (max-width: 1024px) {
  #access iframe {
    height: 480px;
  }
}

@media screen and (max-width: 768px) {
  #access iframe {
    height: 360px;
  }
}
