@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: black;
  z-index: 9999;
}
.header .header__container {
  width: min(800px, 90%);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .header__container h2 a {
  color: white;
  text-decoration: none;
}
.header .header__container .nav {
  display: flex;
  gap: 20px;
}
.header .header__container .nav li {
  list-style: none;
}
.header .header__container .nav li a {
  text-decoration: none;
  color: white;
}

.hero {
  margin-top: 50px;
  width: 100%;
  background: linear-gradient(135deg, yellow, red);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 50px;
  min-height: calc(100vh - 150px);
}
.hero h2 {
  text-align: center;
}
.hero .hero__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: min(1200px, 90%);
  margin: 0 auto;
  gap: 30px;
  padding: 30px;
}
.hero .hero__main a {
  border: 3px solid white;
  padding: 10px 10px 50px;
  position: relative;
  text-decoration: none;
  color: black;
  display: block;
  border-radius: 20px;
}
.hero .hero__main a::after {
  content: "詳細を見る";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hero .hero__main a:hover::after {
  opacity: 1;
}
.hero .hero__main a .card {
  width: 100%;
  min-height: 350px;
  border: 1px solid black;
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.hero .hero__main a .card h3 {
  text-align: center;
  margin-bottom: 10px;
}
.hero .hero__main a .card p {
  margin-bottom: 10px;
}
.hero .hero__main a .card .card__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin-top: auto;
}
.hero .hero__main a .card .card__image img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.about__container {
  width: 100%;
  background: linear-gradient(135deg, gray, lightgray);
  min-height: calc(100vh - 150px);
}
.about__container .about {
  width: min(800px, 90%);
  padding-top: 50px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.about__container .about h2 {
  text-align: center;
  margin-bottom: 50px;
}
.about__container .about .mycard {
  display: flex;
  gap: 30px;
}
.about__container .about .mycard .myself {
  width: 20%;
}
.about__container .about .mycard .myself img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 1/1;
}
.about__container .about .mycard .myself_1 {
  width: 80%;
}
.about__container .about .mycard .myself_1 h3 {
  text-align: center;
  margin-bottom: 10px;
}
.about__container .about .coment {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}
.about__container .about .coment h3 {
  text-align: center;
  margin-bottom: 10px;
}
.about__container .about .coment .coment__1 {
  flex: 1;
}
.about__container .about .coment .coment__2 {
  flex: 1;
}

.work {
  width: 100%;
  margin-top: 50px;
  background: lightcoral;
  min-height: calc(100vh - 150px);
}
.work .work__container {
  width: min(800px, 90%);
  margin: 0 auto;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
}
.work .work__container h2 {
  text-align: center;
  margin-bottom: 10px;
}
.work .work__container p {
  text-align: center;
  margin-bottom: 50px;
}
.work .work__container .main__card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.work .work__container .main__card a {
  text-decoration: none;
  color: black;
  border: 1px solid black;
  background-color: white;
  border-radius: 20px;
  box-shadow: 4px 4px 10px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.work .work__container .main__card a:hover {
  transform: translateY(-5px);
}
.work .work__container .main__card .card {
  width: 100%;
}
.work .work__container .main__card .card img {
  width: 100%;
  height: auto;
}
.work .work__container .main__card .card h3 {
  text-align: center;
  padding: 10px 0 5px;
}
.work .work__container .main__card .card p {
  text-align: left;
}
.work .work__container .btn {
  display: block;
  text-decoration: none;
  color: black;
  padding: 15px 20px;
  border: 1px solid black;
  border-radius: 10px;
  margin: 50px auto;
}

.contact {
  width: 100%;
  padding-top: 100px;
  background: linear-gradient(135deg, white, black);
  min-height: calc(100vh - 150px);
}
.contact h2 {
  text-align: center;
  margin-bottom: 10px;
}
.contact p {
  text-align: center;
}
.contact .contact__container {
  width: min(800px, 90%);
  margin: 50px auto 0;
  padding-bottom: 50px;
}
.contact .contact__container .labelarea {
  width: 100%;
  border: 1px solid black;
  padding: 20px;
}
.contact .contact__container .labelarea .labelform {
  width: 100%;
  display: flex;
  margin-bottom: 10px;
}
.contact .contact__container .labelarea .labelform label {
  width: 30%;
}
.contact .contact__container .labelarea .labelform input {
  width: 70%;
  padding: 10px;
}
.contact .contact__container .labelarea .labelform input:user-invalid {
  border: 2px solid red;
}
.contact .contact__container .labelarea .labelform input:focus {
  outline: none;
}
.contact .contact__container .labelarea .labelform textarea {
  width: 70%;
  padding: 10px;
  height: 100px;
}
.contact .contact__container .labelarea .labelform textarea:focus {
  outline: none;
}
.contact .contact__container .labelarea .btn {
  display: block;
  margin: 10px auto;
}

.footer {
  width: 100%;
  height: 100px;
  background: black;
}
.footer .footer__container {
  width: min(800px, 90%);
  height: 100%;
  margin: 0 auto;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}/*# sourceMappingURL=style.css.map */