@charset "UTF-8";
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #231815;
  background: url("../img/bg.jpg") top center repeat;
  background-size: 100%; }

.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; }

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);
  /* ▼ 矢印は画像で表示 */ }
  @media (max-width: 768px) {
    #backToTop {
      left: 3vw;
      bottom: 3vw;
      width: 10vw;
      height: 10vw; } }
  #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 {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: clamp(200px, 15%, 250px);
  z-index: 100; }
  @media (max-width: 768px) {
    #cta {
      right: 0;
      bottom: 2vw;
      width: 20vw; } }
  #cta a img {
    width: 100%;
    height: auto; }

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

header {
  /* ☆ header は fixed のままなので絶対に relative を上書きしない */ }
  @media (max-width: 768px) {
    header .header__inner {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 1.5vw 0; }
      header .header__inner .logo {
        width: 70%;
        height: auto; } }

/*---------------------------
共通 footer
---------------------------*/
footer {
  margin-top: 80px;
  text-align: center;
  padding-bottom: 15px;
  color: #666; }

/*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; }
