/*
* {
    outline: 1px solid red!important;
}
*/
@import url("common.css");
/*トップページ画像*/
.home-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.new-article {
  width: 50%;
  margin: auto 1rem 1rem auto;
  padding: 0.5em 1em;
  border: 2px solid hsla(0, 0%, 100%, 1);
  border-radius: 12px;
  background: hsla(0, 0%, 0%, 0.8);
  h2 {
    margin-bottom: .3rem;
    font-size: 1.2rem;
    color: white;
  }
	p.text {
		line-height: 1.2;
	}
  p.a-date {
    font-size: .8rem;
    text-align: right;
  }
	a {
		display: block;
		color: white;
		text-decoration: none;
		&:hover {
			color: var(--hover-color);
		}
	}
}
/*カテゴリータイトル*/
.category-title {
  width: 90%;
  margin-inline: auto;
  h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-inline: 4rem;
    background: hsla(340, 100%, 80%, 1);
    border-radius: 0 27px 27px 0;
    font-size: 1.8rem;
    line-height: 54px;
    font-weight: bold;
    color: hsla(340, 100%, 10%, 1);
    box-sizing: border-box;
    &::before {
      content: "";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      content: '\f518';
      display: inline-block;
      position: absolute;
      padding: 0em;
      color: white;
      background: hsla(340, 100%, 70%, 1);
      font-size: 1.8rem;
      font-weight: 900;
      width: 60px;
      text-align: center;
      height: 60px;
      line-height: 54px;
      left: -20px;
      top: 50%;
      -webkit-transform: translateY(-50%);
      transform: translateY(-50%);
      border: solid 3px white;
      border-radius: 50%;
    }
  }
}
.contents {
  height: 50vh;
  display: grid;
  place-content: center;
}
@media (width <=770px) {
  .home-image {
    width: 100%;
    aspect-ratio: 1 / 1;
  }
.new-article {
  width: 90%;
  margin: auto auto 1rem auto;
  padding: 0.5em 1em;
  border: 2px solid hsla(0, 0%, 100%, 1);
  border-radius: 12px;
  background: hsla(0, 0%, 0%, 0.8);
  h2 {
    margin-bottom: .5rem;
    font-size: 1.4rem;
    color: white;
  }
  p.a-date {
    font-size: .8rem;
    text-align: right;
  }
}
  .category-title {
    width: 80%;
    margin-inline: auto;
    h2 {
      padding-inline: 3rem;
      font-size: 1.6rem;
    }
  }
}