@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;
  right: 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 {
    right: 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;
}

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

header {
  /* カンプ基準：1000 × 146px のダイヤモンドテクスチャ帯。
     aspect-ratio で高さを横幅に追従させ、SP でも比率が崩れないようにする。
     背景画像は 1000×282 で、下部は帯の外にはみ出す想定のため overflow で切る。 */
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1000/146;
  overflow: visible;
  background: url("../img/bg_header.png") center top no-repeat;
  background-size: 100% auto;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 999;
}
header::after {
  /* ▼ ヘッダー下端に重なる光沢ゴールドライン（カンプ y142–153） */
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 0;
  padding-bottom: 2.3%;
  transform: translateY(-43%);
  background: url("../img/gold_line_top.png") center top no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}
header .header__inner {
  position: relative; /* ロゴ・hamburger の absolute 基準 */
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
header .header__inner h1 {
  /* カンプ：x83 / w286 / 天地中央 */
  position: absolute;
  left: 8.3%;
  top: 50%;
  transform: translateY(-50%);
  width: 28.6%;
  margin: 0;
}
header .header__inner h1 a img {
  display: block;
  width: 100%;
  height: auto;
}

/*---------------------------
ハンバーガーボタン
---------------------------*/
header .hamburger {
  /* カンプ：右端 x897 / w53 / h21 */
  position: absolute;
  top: 50%;
  right: 10.3%;
  transform: translateY(-50%);
  width: 5.3%;
  aspect-ratio: 53/21;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
}
header .hamburger span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 23.8%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: 0.3s ease;
  transform-origin: center;
}
header .hamburger span:nth-child(1) {
  transform: translateY(-210%);
}
header .hamburger span:nth-child(2) {
  transform: translateY(-50%);
}
header .hamburger span:nth-child(3) {
  transform: translateY(110%);
}
header .hamburger.active span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}
header .hamburger.active span:nth-child(2) {
  opacity: 0;
}
header .hamburger.active span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

/*---------------------------
ドロップナビ
---------------------------*/
header .drop-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(140, 0, 0, 0.96);
  border-top: 2px solid #e8c45a;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
  text-align: center;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  z-index: 5;
}
header .drop-nav.active {
  max-height: 600px;
  opacity: 1;
}
header .drop-nav ul {
  padding: 28px 0;
  margin: 0;
}
header .drop-nav ul li {
  list-style: none;
  margin: 16px 0;
}
header .drop-nav ul li a {
  display: inline-block;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s ease;
}
header .drop-nav ul li a:hover {
  color: #ffe39a;
  opacity: 1;
}
@media (max-width: 768px) {
  header .drop-nav ul {
    padding: 18px 0;
  }
  header .drop-nav ul li {
    margin: 12px 0;
  }
  header .drop-nav ul li a {
    font-size: 18px;
  }
}

/*---------------------------
共通 footer
---------------------------*/
footer.site-footer {
  max-width: 1000px;
  margin: 0 auto;
  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;
}
