/* 共通 */
a {
  text-decoration: none;

  color: black;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

/* header */
header img {
  width: 180px;
}

header h2 {
  font-size: 48px;
}

header .header-left {
  display: flex;
  align-items: center;
}

header ul {
  display: flex;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border: solid red; */
  padding-right: 40px;
  padding-top: 10px;
  

}

header li + li {
  margin-left: 16px;
}

header li:hover {
  text-decoration: underline;
}


/* ホームコンテンツ */
.home-content {
  text-align: center;
  margin-top: 10%;
}

.home-content p {
  font-size: 1.125rem;
  margin: 10px 0 42px;
}

.page-title {
  font-size: 5rem;
  font-family: 'Philosopher', serif;
  text-transform: uppercase;
  font-weight: normal;
}

/* ボタン */
.button {
  font-size: 1.375rem;
  background: #fa8072;
  color: #fff;
  border-radius: 10px;
  padding: 18px 32px;
}

.button:hover {
  background: #cd5c5c;
}

/* 大きい背景画像 */
#home {
  background-color: #c0c0c0;
  background-image: url("../img/top-page.webp");
  background-blend-mode: soft-light;
  min-height: 100vh;
  background-size: cover;
  background-position: center top;
}

#home .page-title {
  text-transform: none;
}

/* ニュースコンテンツ */
#news {
  background-color: #c0c0c0;
  background-image: url("../img/news-img.webp");
  background-blend-mode: soft-light;
  background-position: center center;
  height: 270px;
  margin-bottom: 40px;
}

#news .page-title {
  text-align: center;
}

.news-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  padding: 80px 120px 30px;
  
}

/* 記事部分 */
article {
  width: 74%;
}

.post-info {
  position: relative;
  padding-top: 4px;
  margin-bottom: 40px;
}

.post-date {
  background: #fa8072;
  border-radius: 50%;
  color: #fff;
  width: 100px;
  height: 100px;
  font-size: 1.625rem;
  text-align: center;
  position: absolute;
  top: 0;
  padding-top: 15px;
}

.post-date span {
  font-size: 1rem;
  border-top: 1px rgba(255,255,255,.5) solid;
  padding-top: 6px;
  display: block;
  width: 60%;
  margin: 0 auto;
}

.post-title {
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 2rem;
  font-weight: normal;
}

.post-title,
.post-cat {
  margin-left: 120px;
}

article img {
  margin-bottom: 20px;
}

article p {
  margin-bottom: 1rem;
}

/* サイドバー */
aside {
  width: 22%;
}

.sub-title {
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #fa8072 solid;
  font-weight: normal;
}

aside p {
  padding: 12px 10px;
}

.sub-menu {
  margin-bottom: 60px;
  list-style: none;
}

.sub-menu li {
  border-bottom: 1px #ddd solid;
}

.sub-menu a {
  color: #432;
  padding: 10px;
  display: block;
}

.sub-menu a:hover {
  color: #fa8072;
}

/* コンタクト */
#contact {
  background-size: cover;
  background-position: center top;
  background-image: url("../img/contact-img.webp");
  background-color: #c0c0c0;
  background-blend-mode: soft-light;
  min-height: 100vh;
  padding: 20px 100px;
}

/* コンタクトフォーム */
form div {
  margin-bottom: 14px;
}

label {
  font-size: 1.125rem;
  margin-bottom: 10px;
  display: block;
}

input[type="text"],
input[type="email"],
textarea {
  background: rgba(255,255,255,.5);
  border: 1px #fff solid;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  max-width: 240px;
}

textarea {
  width: 100%;
  max-width: 480px;
  height: 6rem;
}

input[type="submit"] {
  border: none;
  cursor: pointer;
  line-height: 1;
}


/* フッター */
footer {
  background: #432;
  text-align: center;
  padding: 26px 0;

}

footer p {
  color: #fff;
  font-size: 0.875rem;
}