/* =========================
 Privacy Page
========================= */

.privacy-page {
  padding: 60px 0 120px;
  background-color: var(--white);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  font-size: var(--fz25);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  color: #444444;
}

.breadcrumb-item:not(:last-child)::after {
  content: "＞";
  margin-left: 0.4em;
}

.breadcrumb-link,
.breadcrumb-current {
  color: inherit;
}

.privacy-page__header {
  margin-top: 50px;
  text-align: center;
}

.privacy-page__title-en {
  position: relative;
  display: inline-block;
  font-size: var(--fz65);
  color: var(--blue);
  font-weight: 700;
  line-height: 1.3;
  z-index: 1;
}

.privacy-page__title-en::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 110%;
  height: 24px;
  background-color: var(--yellow);
  z-index: -1;
}

.privacy-page__title-ja {
  font-size: var(--fz30);
  color: var(--blue);
  font-weight: 400;
  line-height: 1.6;
  margin-top: 4px;
}

.privacy-page__lead {
  margin-top: 75px;
}

.privacy-page__text {
  font-size: var(--fz30);
  font-weight: 400;
  line-height: 1.67;
  text-align: justify;
  color: #444444;
}

.privacy-page__section {
  margin-top: 50px;
}

.privacy-page__section-title {
  font-size: var(--fz40);
  font-weight: 700;
  line-height: 2;
  text-align: left;
  color: #031c3b;
  border-bottom: 2px solid #031c3b;
}

.privacy-page__section-body {
  margin-top: 40px;
}

.privacy-page__list {
  margin-top: 12px;
}

.privacy-page__list-item {
  position: relative;
  padding-left: 1em;
  font-size: var(--fz30);
  font-weight: 400;
  line-height: 1.67;
  text-align: justify;
  color: #444444;
  margin-bottom: 4px;
}
.privacy-page__list-item:last-child {
  margin-bottom: 0;
}

.privacy-page__list-item::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}
@media only screen and (max-width: 767px) {
  .privacy-page {
    padding: 40px 0 40px;
  }
  .breadcrumb-list {
    gap: 0.6em 0.2em;
    font-size: 13px;
  }
  .privacy-page__header {
    margin-top: 30px;
  }
  .privacy-page__title-en::after {
    height: 12px;
  }
  .privacy-page__title-ja {
    font-size: 14px;
    margin-top: 2px;
  }
  .privacy-page__lead {
    margin-top: 30px;
  }
  .privacy-page__text {
    font-size: 16px;
  }
  .privacy-page__section {
    margin-top: 30px;
  }
  .privacy-page__section-body {
    margin-top: 15px;
  }
  .privacy-page__list-item {
    font-size: 16px;
    margin-bottom: 2px;
  }
}
@media only screen and (max-width: 499px) {
  .privacy-page__inner {
    max-width: 90%;
  }
}
@media only screen and (max-width: 399px) {
  .privacy-page__text span {
    font-size: 14px;
    line-height: 3;
  }
}
@media only screen and (max-width: 349px) {
  .privacy-page__text span {
    font-size: 12px;
  }
}

/* =========================
 Law Page
========================= */
.law-page {
  padding: 60px 0 120px;
  background-color: var(--white);
}

.law-page__header {
  margin-top: 50px;
  text-align: center;
}

.law-page__title {
  position: relative;
  display: inline-block;
  font-size: var(--fz65);
  color: var(--blue);
  font-weight: 700;
  line-height: 1.3;
  z-index: 1;
}

.law-page__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 110%;
  height: 24px;
  background-color: var(--yellow);
  z-index: -1;
}

.law-page__table {
  margin-top: 125px;
}

.law-page__row + .law-page__row {
  margin-top: 100px;
}

.law-page__term {
  font-size: var(--fz30);
  line-height: 1.67;
  text-align: left;
  color: #444444;
}

.law-page__desc {
  font-size: var(--fz30);
  line-height: 1.67;
  text-align: left;
  color: #444444;
}

.law-page__list-item {
  position: relative;
  padding-left: 1em;
  font-size: var(--fz30);
  line-height: 1.67;
  text-align: left;
  color: #444444;
}

.law-page__list-item::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

.law-page__tel {
  color: inherit;
  text-decoration: none;
}

@media only screen and (max-width: 899px) {
  .law-page__table {
    margin-top: 90px;
  }

  .law-page__row + .law-page__row {
    margin-top: 70px;
  }
  .law-page__title::after {
    height: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .law-page {
    padding: 40px 0 40px;
  }
  .law-page__header {
    margin-top: 30px;
  }
  .law-page__title {
    font-size: 22px;
  }
  .law-page__title::after {
    height: 12px;
  }
  .law-page__table {
    margin-top: 50px;
  }
  .law-page__row + .law-page__row {
    margin-top: 40px;
  }
  .law-page__term,
  .law-page__desc,
  .law-page__list-item {
    font-size: 16px;
  }
}

/* =========================
 News
========================= */
.news {
  padding: 60px 0 120px;
  background-color: var(--white);
}

.news__header {
  margin-top: 50px;
  text-align: center;
}

.news__title-en {
  position: relative;
  display: inline-block;
  font-size: var(--fz65);
  color: var(--blue);
  font-weight: 700;
  line-height: 1.3;
  z-index: 1;
}

.news__title-en::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 110%;
  height: 24px;
  background-color: var(--yellow);
  z-index: -1;
}

.news__title-ja {
  font-size: var(--fz30);
  color: var(--blue);
  font-weight: 400;
  line-height: 1.6;
  margin-top: 4px;
}

.news__content {
  margin-top: 64px;
}

.news__main {
  max-width: 960px;
  margin: 0 auto;
}

.news__list {
  border-top: none;
}

.news__item + .news__item {
  margin-top: 60px;
}

.news__item {
  border-bottom: 3px solid var(--blue);
}

.news__item-link {
  display: block;
  padding: 0 0 30px;
  color: inherit;
  transition: opacity 0.3s;
}

.news__item-link:hover {
  opacity: 0.7;
}

.news__date {
  font-size: var(--fz30);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: #444444;
}

.news__item-title {
  font-size: var(--fz50);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--blue);
  margin-top: 20px;
}

.news__button-wrap {
  margin-top: 90px;
  text-align: center;
}

.news__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50%;
  padding: 24px 36px;
  border-radius: 50px;
  background-color: var(--blue);
  font-size: var(--fz50);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  text-align: center;
  transition: opacity 0.3s;
}

.news__button:hover {
  opacity: 0.85;
}

.news__sidebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin-top: 240px;
}

.news__sidebar-block {
  min-width: 0;
}

.news__sidebar-title {
  font-size: var(--fz30);
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  padding-bottom: 12px;
  text-align: left;
}

.news__sidebar-list {
  margin-top: 8px;
}

.news__sidebar-item + .news__sidebar-item {
  margin-top: 0;
}

.news__sidebar-link,
.news__sidebar-list li {
  font-size: var(--fz30);
  line-height: 2;
  text-align: left;
  color: #444444;
  transition: opacity 0.3s;
}

.news__sidebar-link:hover,
.news__sidebar-list li:hover {
  opacity: 0.7;
}

@media only screen and (max-width: 1024px) {
  .news__sidebar {
    margin-top: 180px;
  }
}
@media only screen and (max-width: 899px) {
  .news__inner {
    max-width: 85%;
  }

  .news__sidebar {
    gap: 36px;
    margin-top: 140px;
  }
}

@media only screen and (max-width: 767px) {
  .news {
    padding: 40px 0 40px;
  }

  .news__header {
    margin-top: 30px;
  }

  .news__title-en::after {
    width: 250%;
    height: 12px;
  }

  .news__title-ja {
    font-size: 14px;
    margin-top: 2px;
  }

  .news__item + .news__item {
    margin-top: 34px;
  }
}

@media only screen and (max-width: 499px) {
  .news__inner {
    max-width: 90%;
  }

  .news__content {
    margin-top: 24px;
  }

  .news__date {
    font-size: 14px;
  }

  .news__item-title {
    font-size: 16px;
    margin-top: 4px;
  }

  .news__item {
    border-bottom: 1.5px solid var(--blue);
  }

  .news__item-link,
  .news__sidebar-list li {
    padding: 0 0 12px;
    color: inherit;
  }

  .news__item + .news__item {
    margin-top: 30px;
  }

  .news__button-wrap {
    margin-top: 50px;
  }

  .news__button {
    font-size: 18px;
    padding: 16px 32px;
  }

  .news__sidebar {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 90px;
  }

  .news__sidebar-title {
    font-size: 16px;
    border-bottom: 1.5px solid var(--blue);
    padding-bottom: 10px;
  }

  .news__sidebar-link,
  .news__sidebar-list li {
    font-size: 16px;
    line-height: 1.6;
  }

  .news__sidebar-item + .news__sidebar-item {
    margin-top: 4px;
  }
}

@media only screen and (max-width: 399px) {
  .news__button-wrap {
    margin-top: 40px;
  }

  .news__button {
    font-size: 17px;
    padding: 12px 32px;
  }
}

/* =========================
 News Single
========================= */

.news--single .news__main-text {
  font-size: var(--fz50);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--blue);
  margin-top: 20px;
}

.news__entry {
  font-size: var(--fz30);
  line-height: 1.67;
  text-align: left;
  color: #444444;
  margin-top: 15px;
}

@media only screen and (max-width: 499px) {
  .news__main-text {
    font-size: 18px;
    margin-top: 6px;
  }
  .news__entry {
    font-size: 16px;
    margin-top: 10px;
  }
}

/* =========================
 Pagination
========================= */

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
}

/* 共通 */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fz30);
  line-height: 1;
  min-width: clamp(20px, 6vw, 60px);
  height: clamp(30px, 6vw, 60px);
  padding: 0 clamp(12px, 2vw, 20px);
  color: #6da1c0;
  border: 1px solid #6da1c0;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* hover */
.page-numbers:hover {
  background-color: #6da1c0;
  color: #fff;
}

/* current */
.page-numbers.current {
  background-color: #6da1c0;
  color: #fff;
  pointer-events: none;
}

/* 前へ・次へ */
.page-numbers.prev,
.page-numbers.next {
  font-size: clamp(0.875rem, 0.5rem + 1vw, 1.2rem);
}
@media only screen and (max-width: 499px) {
  .nav-links {
    gap: 4px;
    margin-top: 40px;
  }
  .page-numbers {
    font-size: 13px;
  }
}
