@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 {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  background: url("../img/header_bg.png") top right no-repeat;
  background-size: auto 100%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 999;
}
@media (max-width: 768px) {
  header {
    /* スマホ：背景の金ビームをさらに右へ見切れさせる（縦幅は据え置き） */
    background-position: right -12vw top 0;
  }
}
header::after {
  /* ▼ ヘッダー下端からぶら下がる光沢レッドライン */
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
  background: url("../img/line_header.png") center top no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  header::after {
    height: 2.4vw;
  }
}
header .header__inner {
  position: relative; /* hamburger の absolute 基準 */
  width: 92%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.9em 0;
}
@media (max-width: 768px) {
  header .header__inner {
    width: 92%;
    padding: 2.6vw 0;
  }
}
header .header__inner h1 a img {
  display: block;
  width: clamp(115px, 13vw, 145px);
}
@media (max-width: 768px) {
  header .header__inner h1 a img {
    width: clamp(80px, 23vw, 105px);
  }
}

/*---------------------------
ハンバーガーボタン
---------------------------*/
header .hamburger {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 44px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
@media (max-width: 768px) {
  header .hamburger {
    width: 34px;
    height: 18px;
    right: 4px;
  }
}
header .hamburger span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: 0.3s ease;
  transform-origin: center;
}
@media (max-width: 768px) {
  header .hamburger span {
    height: 3px;
  }
}
header .hamburger span:nth-child(1) {
  transform: translateY(-9px);
}
header .hamburger span:nth-child(2) {
  transform: translateY(0);
}
header .hamburger span:nth-child(3) {
  transform: translateY(9px);
}
@media (max-width: 768px) {
  header .hamburger span:nth-child(1) {
    transform: translateY(-6px);
  }
  header .hamburger span:nth-child(2) {
    transform: translateY(0);
  }
  header .hamburger span:nth-child(3) {
    transform: translateY(6px);
  }
}
header .hamburger.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
header .hamburger.active span:nth-child(2) {
  opacity: 0;
}
header .hamburger.active span:nth-child(3) {
  transform: translateY(0) 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;
}
