@charset "UTF-8";
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #231815;
}

.text_serif {
  font-family: "Noto Serif JP", serif;
}

/*---------------------------
basic setting
---------------------------*/
@media screen and (min-width: 769px) {
  .sp {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
}
/*ボックスサイジング ボーダーボックス*/
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.text {
  color: #231815;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.justify_text {
  text-align: justify;
  text-justify: inter-ideograph;
}
@media all and (-ms-high-contrast: none) {
  .justify_text {
    font-feature-settings: normal;
  }
}

body {
  color: #231815;
  background: #fff;
}

a,
a:link,
a:visited {
  color: #231815;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
  transition: all 0.8s;
}

#backToTop {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #111;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
}
@media (max-width: 768px) {
  #backToTop {
    left: 3vw;
    bottom: 3vw;
    width: 10vw;
    height: 10vw;
  }
}
#backToTop {
  /* ▼ 矢印は画像で表示 */
}
#backToTop .arrow {
  width: 30px;
  height: 30px;
  background-image: url("../img/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 768px) {
  #backToTop .arrow {
    width: 7vw;
    height: 7vw;
  }
}
#backToTop:hover {
  background: #222;
}

/* ▼ スクロール後に表示 */
#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* ===== CTA固定ボタン（右下） ===== */
.fixed-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
}
@media (max-width: 768px) {
  .fixed-cta {
    right: 3vw;
    bottom: 3vw;
  }
}
.fixed-cta img {
  width: 260px;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .fixed-cta img {
    width: 28vw;
  }
}

/*---------------------------
sec
---------------------------*/
.sec {
  width: 95%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .sec {
    width: 95%;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1000px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  box-shadow: none;
  z-index: 999;
}
header .header__inner {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1em 0;
}
@media (max-width: 768px) {
  header .header__inner {
    width: 90%;
    padding: 3vw 0;
  }
}
header .header__inner h1 a img {
  width: clamp(300px, 30%, 450px);
}
@media (max-width: 768px) {
  header .header__inner h1 a img {
    width: clamp(200px, 60%, 350px);
  }
}
header {
  /* ▼ 黒背景ナビバー */
}
header .header-nav {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #1a1a1a 0%, #0d0d0d 45%, #0d0d0d 50%, #3a3a3a 52%, #555 100%);
}
header .header-nav .header-nav__inner {
  max-width: 1000px;
  margin: 0 auto;
}
header .header-nav ul {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  container-type: inline-size;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
}
@media (max-width: 768px) {
  header .header-nav ul {
    width: 95%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 10px 0;
  }
}
header .header-nav ul li {
  list-style: none;
  flex: 1;
}
header .header-nav ul li a {
  display: block;
  padding: 12px 0;
  font-size: clamp(10px, 1.5cqi, 14px);
}
@media (max-width: 768px) {
  header .header-nav ul li a {
    font-size: 2.2vw;
    padding: 12px 0;
  }
}
header .header-nav ul li a {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px #e8d89c;
  background: linear-gradient(to bottom, #3a3a3a 0%, #1a1a1a 50%, #0a0a0a 100%);
  transition: opacity 0.3s ease;
}
header .header-nav ul li a:hover {
  opacity: 0.7;
}

/*---------------------------
共通 footer
---------------------------*/
footer.site-footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 18px 10px;
}
footer.site-footer .copyright {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  footer.site-footer .copyright {
    font-size: 2.6vw;
  }
}

/*404ページ*/
.error404 h2 {
  margin-top: 100px;
  font-size: 2rem;
  text-align: center;
}
.error404 .text {
  margin-top: 100px;
  text-align: center;
}
.error404 .btn {
  margin-bottom: 150px;
}
