@charset "UTF-8";

/* 見出し */

h1 {
  font-family: var(--f-heading);
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--f-heading);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  border-bottom: 2px solid #333;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: var(--f-heading);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.333;
  letter-spacing: 0.1em;
  color: #333;
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  position: relative;
}
h3:before {
  content: "";
  width: 2px;
  height: 112%;
  background: #333;
  position: absolute;
  top: -2px;
  left: 0;
}

h4 {
  font-size: 1.25rem;
  font-family: var(--f-heading);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;

  > i {
    margin-right: 5px;
  }
}

/* layout */
.l-container {
  overflow: clip;
}

/* キービジュアル */
.key-visual {
  max-width: 1280px;
  padding-inline: 20px;
  margin-inline: auto;
  min-height: 500px;
  display: grid;
  place-content: center;
  text-align: center;
}
.key-visual.-top {
  min-height: 250px;
}

@media only screen and (max-width: 768px) {
  .key-visual {
    min-height: 250px;
  }
}

/* ボタン */
.button01 {
  position: relative;
  border: 1px solid #333;
  border-radius: 999px;
  min-height: 50px;
  min-width: 200px;
  padding-inline: 30px;
  transition: 0.3s;

  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  text-align: center;

  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.button01:before {
  font: var(--fa-font-solid);
  content: "\f0da";
  font-size: 10px;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 15px;
  color: inherit;
}
.button01.-back:before {
  content: "\f0d9";
  right: unset;
  left: 15px;
}
.button01:hover {
  background: #333;
  color: #fff;
}

.button02 {
  border: 1px solid #dbdbdb;
  background: #f8f8f8;
  border-radius: 999px;
  min-height: 50px;
  min-width: 200px;
  padding-inline: 30px;
  transition: 0.3s;

  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  text-align: center;

  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.button02:hover {
  border-color: #333;
}

/* リスト */
ul.dot-list > li {
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  padding-left: 15px;
}
ul.dot-list > li:before {
  content: "";
  position: absolute;
  top: 8.5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

ul.asterfisk-list > li {
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  padding-left: 15px;
}
ul.asterfisk-list > li:before {
  font: var(--fa-font-solid);
  font-size: 10px;
  content: "\2a";
  position: absolute;
  color: inherit;
  top: 8.5px;
  left: 0;
}

ul.num-list {
  counter-reset: number;
}
ul.num-list > li {
  position: relative;
  padding-left: 25px;
}
ul.num-list > li:before {
  font-family: var(--f-en);
  color: var(--primary);
  font-weight: 500;
  counter-increment: number;
  content: counter(number) ".";
  position: absolute;
  left: 0;
  top: 2px;
}

/* テーブル */
.table01 {
  width: 100%;
}

.table01 tr {
  border-top: 1px solid #ddd;
}

.table01 tr:last-of-type {
  border-bottom: 1px solid #ddd;
}

.table01 th {
  font-weight: bold;
}
.table01 th,
.table01 td {
  padding: 15px 20px;
  line-height: 2;
  letter-spacing: 0;
  vertical-align: middle;
}

@media only screen and (max-width: 768px) {
  .table01 th,
  .table01 td {
    display: block;
    width: 100% !important;
    line-height: 1.8em;
    padding: 10px 15px;
  }

  .table01 th {
    padding-bottom: 0;
  }

  .table01 td {
    padding-top: 0;
  }
}

/* ボックス */
.box01,
.box02,
.box03 {
  border: 1px solid #333;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
}
.box02 {
  border-color: #d9d6bc;
  background: #f8f8f0;
}
.box03 {
  border-color: #fff;
  background: var(--gray);
}

/* タグ */
.tag {
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  padding-inline: 10px;
  font-size: 14px;
  line-height: 25px;
  min-width: 85px;
  text-align: center;
}

/* カードリスト */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  column-gap: 20px;
  row-gap: 50px;
}

.card-item {
  width: 100%;
}
.card-item:hover .card-img > img {
  transform: scale(1.15);
}
.card-item:hover .txt-box > p {
  text-decoration: underline;
}
.card-img {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid #333;
  overflow: hidden;
  margin-bottom: 10px;
}
.card-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.card-content .data-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
