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

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

.hover_scale:hover {
  transform: scale(1.05);
  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);
  /* ▼ 矢印は画像で表示 */ }
  @media (max-width: 768px) {
    #backToTop {
      right: 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; }

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

/*---------------------------
共通 footer
---------------------------*/
footer {
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  padding-bottom: 20px;
  letter-spacing: 0.1em; }
  @media (max-width: 768px) {
    footer {
      font-size: 2.5vw; } }

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