@charset "utf-8";

body{
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  font-weight: bold;
}

h4,
h5,
h6 {
  font-size: 18px;
  padding: 9px 10px;
}

h1{
  font-size: 24px;
  margin-bottom: 0.8em;
  text-align: center;
}

h2 {
  font-size: 24px;
  padding: 25px;
  background-color: #c1b9a9;
  color: #fff;
  margin-bottom: 1.62em;
}

p{
  margin-bottom: 1.8em;
}

li{
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
}

ul li,
ol li {
  margin: 0.2em;
}

h3 {
  border-left: 7px solid #888;
  border-right: 1px solid #ddd;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-size: 22px;
  padding: 12px 20px;
  margin-bottom: 1.62em;
}
h4 {
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  margin-bottom: 1.62em;
}

h3,
h4,
h5,
h6,
.cat-link
.tag-link{
  border-color: #c1b9a9;
}

/* class指定 */

.br-sp{
  display: block;
}

.mainBody{
  width: 100%;
  padding: 32px 16px;
}

.fvImg{
  margin: 0 auto;
}

.fvImg img{
  width: 100%;
}

.toptitle{
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  margin: 8px 0 18px;
}
/* 目次 */
.toc-checkbox {
  display: none
}

.toc-content {
  visibility: hidden;
  height: 0;
  opacity: .2;
  transition: all 0.5s ease-out
}

.toc-checkbox:checked~.toc-content {
  visibility: visible;
  padding-top: .6em;
  height: 100%;
  opacity: 1
}

.toc-title::after {
  content: '[開く]';
  margin-left: .5em;
  cursor: pointer;
  font-size: .8em
}

.toc-title:hover::after {
  text-decoration: underline
}

.toc-checkbox:checked+.toc-title::after {
  content: '[閉じる]'
}

.toc {
  border: 1px solid #ccc;
  font-size: 0.9em;
  padding: 1em 1.6em;
  display: table;
}

.toc a {
  color: #333;
  text-decoration: none;
}

.toc-list{
  list-style-type: decimal; /* 通常の1, 2, 3 */
  margin-left: 1em;         /* 必要に応じて調整 */
}

.toc-list li {
  list-style-type: decimal;
}

.toc .toc-list ul,
.toc .toc-list ol {
  padding-left: 1em;
  margin: 0;
  line-height: 1.8;
}

.toc-center {
  margin: 1em auto;
}

.toc-title {
  font-size: 1.1em;
  text-align: center;
  display: block;
  padding: 2px 16px;
}

.is-style-warning-box,
.warning-box,
.sp-warning,
.warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* footer */
footer ul{
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

footer ul li a{
  color: #333;
}
.copyCnt{
  background-color: #C1B9A9;
  color: #fff;
  font-size: 12px;
  padding: 16px 0;
  text-align: center;
}

/* btn */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #c1b9a9;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
  stroke: white; /* アイコン色を白に */
}



@media screen and (min-width:700px){
  .br-sp{
    display: none;
  }

  h1{
    text-align: left;
  }

  .mainBody{
    max-width: 1280px;
    margin: 0 auto;
  }

  .toptitle{
    font-size: 32px;
  }

  h4{
    font-size: 20px;
  }

  .copyCnt{
    font-size: 16px;
  }
}