:root{
  --brand:#4d3b08;  /* こげ茶 */
  --main: #fff0b6;  /* 濃い黄色 */
  --sub:#f2eae4;    /* くすみベージュ */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Noto Serif JP", serif;
  color:var(--brand);
  background-color: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

section, div {
  max-width: 100%;
}

.bold {
    font-weight: 900;
}

h1 {
  position: relative;
  display: inline-block;
  text-align: center;
}

.page-title {
  text-align: center;
  border-top: 2px solid #c1b396;
  border-bottom: 2px solid #c1b396;
  padding: 0.5rem 0;
  margin: 3rem auto 3rem;
  max-width: 900px;
}

.page-title h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4d3b08;
}

.page-content {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 6rem;
  line-height: 1.9;
  font-size: 1.0rem;
  text-align: justify;
  text-justify: inter-ideograph;
  margin-bottom: 1rem;
}

table {
  margin: 20px auto;
}

.tbl-r02 th {
  background: var(--sub);
  padding: 10px;
}

.tbl-r02 td {
  padding: 10px;
}

.tbl-r02 td ul li {
  margin-left: 25px;
}

/*  フッター */
footer {
  background: #fff0b6;
  text-align: center;
  padding: 40px 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
  background: #fff0b6;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.policy a {
  color: #4d3b08;
  text-decoration: none;
  font-size: 0.8rem;
}

.policy a:hover {
  opacity: 0.7;
}

.copy {
  font-size: 0.8rem;
  margin-top: 5px;
}

.btn {
  display: inline-block;
  padding: 8px 40px;
  border: 1px solid #4d3b08;
  color: #4d3b08;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
  font-family: "Noto Sans JP", sans-serif;
}

.btn:hover {
  background-color: #4d3b08;
  color: #fff;
}

/* --- TOPに戻るボタン --- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 10px;
  transition: .3s;

  z-index: 999;

  background-color: var(--sub);
  color: var(--brand);
  font-size: 12px;
  box-shadow:1px 1px 4px 0px rgba(0,0,0,0.19);

  width: 55px;
  height: 55px;
  border-radius: 50%;

  cursor: pointer;

  /* 上向きの三角と、TOPの文字の位置を揃える */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  /*デフォルトで非表示にする*/
  opacity: 0;
  border: none;
}

.back-to-top::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  transform: rotate(-45deg);
  transition: .3s;
}

.back-to-top:hover {
  opacity: 0.7 !important;
  transform: translateY(-4px);
  border: none;
  box-shadow: 3px 3px 4px 1px rgba(0, 0, 0, 0.19);
} 

/* 表示時 */
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  border: none;
}


/* レスポンシブ */
@media (max-width: 768px) {

  .page-title {
    margin-top: 4.4rem;
  }

  .page-title h1 {
    font-size: 1.5rem;
  }

  .page-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  .tbl-r02 th,
  .tbl-r02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-content .btn {
    width: 80%;
    margin-top: -30px;
  }

}
