/*=====
# Page Hero Section
============*/
.page__hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../images/mv.png) center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
}

.page__hero-content {
  position: relative;
  z-index: 2;
}

.page__hero-title {
  font-family: "mgen-medium";
  font-size: 3.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page__hero {
    padding: 60px 0;
  }

  .page__hero-title {
    font-size: 2.8rem;
  }
}

/*=====
# Page Content Section
============*/
.page__content {
  background: #fff;
  padding: 60px 0;
}

.page__content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.page__primary {
  width: 100%;
}

/*=====
# Page Entry
============*/
.page__entry {
  background: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
  padding: 40px;
  border-radius: 8px;
}

.page__entry-header {
  margin-bottom: 30px;
  text-align: center;
}

.page__entry-title {
  font-family: "mgen-medium", sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--section-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.page__entry-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #808080;
}

.page__entry-published,
.page__entry-updated {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page__entry-published::before {
  content: "\f073";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
}

.page__entry-updated::before {
  content: "\f021";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
}

.page__entry-image {
  text-align: center;
  margin-bottom: 30px;
}

.page__entry-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/*=====
# Page Entry Body
============*/
.page__entry-body {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--main-color);
}

.page__entry-body h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--section-yellow);
  color: var(--section-color);
}

.page__entry-body h3 {
  font-size: 2rem;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--section-color);
}

.page__entry-body h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 25px 0 10px;
  color: var(--section-color);
}

.page__entry-body p {
  margin-bottom: 20px;
}

.page__entry-body ul,
.page__entry-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

.page__entry-body li {
  margin-bottom: 10px;
}

.page__entry-body blockquote {
  background: #f9f9f9;
  border-left: 4px solid var(--section-yellow);
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
}

.page__entry-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page__entry-body th,
.page__entry-body td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.page__entry-body th {
  background: var(--section-yellow);
  color: #fff;
  font-weight: 600;
}

.page__entry-body img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

/*=====
# Page Entry Links (ページネーション)
============*/
.page__entry-links {
  margin: 40px 0;
  text-align: center;
}

.page__entry-links .post-page-numbers {
  background: #fff;
  border: 1px solid #e6e6e6;
  color: #808080;
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  height: 40px;
  line-height: 38px;
  margin-right: 14px;
  min-width: 40px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.page__entry-links .post-page-numbers.current {
  background: var(--section-yellow);
  border: 1px solid var(--section-yellow);
  color: #fff;
  font-weight: 700;
}

.page__entry-links .post-page-numbers:last-child {
  margin-right: 0;
}

.page__entry-links .post-page-numbers:hover {
  opacity: 0.6;
}

/*=====
# Responsive Design
============*/
@media (max-width: 768px) {
  .page__content-inner {
    padding: 0 20px;
  }

  .page__entry {
    padding: 20px;
  }

  .page__entry-title {
    font-size: 2rem;
  }

  .page__entry-meta {
    flex-direction: column;
    gap: 10px;
    font-size: 1.2rem;
  }

  .page__entry-body {
    font-size: 1.4rem;
  }

  .page__entry-body h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
  }

  .page__entry-body h3 {
    font-size: 1.6rem;
    margin: 25px 0 10px;
  }

  .page__entry-body h4 {
    font-size: 1.4rem;
    margin: 20px 0 8px;
  }

  .page__entry-body ul,
  .page__entry-body ol {
    padding-left: 20px;
  }

  .page__entry-body blockquote {
    padding: 15px;
    margin: 20px 0;
  }

  .page__entry-body th,
  .page__entry-body td {
    padding: 8px 10px;
    font-size: 1.2rem;
  }

  .page__entry-links .post-page-numbers {
    font-size: 16px;
    height: 35px;
    line-height: 33px;
    margin-right: 10px;
    min-width: 35px;
  }
}
