html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
}

body {
  font-family: Futura, "Yu Gothic", "YuGothic", Avenir, sans-serif;
  background-color: #00172C;
  color: white;
}

.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* z-index: 0; */
  pointer-events: none;
}

#onecolumn-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

h1 {
  margin-top: 5rem;
  font-size: 4rem;
}

.page-wrapper .service-title{
    margin-top: 5rem;
    font-size: 8rem;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* z-index: 2; */
}

.service-content-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  z-index: 5;
}

.service-content {
  width: 90%;
  background: #fff;
  color: black;
  padding: 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 5;
  min-height: 60vh;
}

.service-content h1 {
  position: absolute;
  /* top: -80px;  */
  top: -10rem;
  left: 50%;
  transform: translateX(-50%); 
  margin:0;
  padding: 10px 20px;
  color: white;
  font-size: 5rem;
}

.service-content a {
    color: white;
    text-decoration: none;
}

.service-content h2 {
  margin: 1.5rem 0;
}

.service-content h2 a {
    color: black;
    font-size: 1.3rem;
}

p {
    margin: 0;
}

#post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category {
    border-radius: 1rem;
    color: white;
    font-weight: bold;
}

.category ul {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 0.5rem;
}

.category li {
  min-width: 5rem;
  text-align: center;
  /* background-color: #bd3a03; */
  background-color:#42CCEB;
  border-radius: 1rem;
  padding: 0.2rem 0.6rem;
  color: white;
  font-weight: bold;
}

.new {
    /* color: #bd3a03; */
    color: #42CCEB;
    /* color: #FC0343; */
}

.pagenate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    list-style-type: none;
    padding: 0;
    padding-top: 2rem
}

.pagenate .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagenate .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5em;
    height: 1.5em;
    border: 1px solid black;
    border-radius: 1px;
    color: black;
    text-decoration: none;
}

.pagenate .page-numbers.current {
    background-color: black;
    color: white;
}

.back {
    text-align: center; 
    margin: 20px 0;   
}

.back a {
    color: #000000;
    text-decoration: underline #42CCEB;
}

.dli-caret-left {
  display: inline-block;
  vertical-align: middle;
  color: #42CCEB;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.375em 0.64952em;
  border-right-color: currentColor;
  border-left: 0;
}


/* ========================　レスポンシブ　========================= */

/* ========================　スマホ　========================= */

@media (max-width: 768px) {
  /* .news-content-wrapper {
    width: 85%;
  } */
  .service-content-wrapper {
    padding: 3rem 0;
  }
  .service-content {
    width: 95%;
    padding: 2rem 1rem;
  }
  .news-content {
    padding: 2rem 1.5rem;
  }
  #container {
    padding: 2rem !important;
  }
  #post-meta {
    gap: 0.9rem;
  }
  .category ul {
    flex-direction: column; /* ← 縦並びに */
    gap: 0.3rem;
  }

  .category li {
    width: fit-content; /* 任意：枠を自然に縮める */
  }
}