@charset "UTF-8";

html,
body {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #e0d9d4;
  scroll-behavior: smooth;
}

.san_serif {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
}

.san_serif_bold {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
}

*,
*: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;
}

#container {
  width: 100%;
  max-width: 640px;
  margin: auto;
  position: relative;
}

header {
  position: fixed;
  top: 0px;
  /*下に続く要素の上マージン消す*/
  width: 100%;
  max-width: 640px;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  font-size: 14px;
}

header h1#site_logo {
  width: 150px;
  height: 200px;
  line-height: 1;
  background: #d4d4d7;
  margin-left: 2.5%;
}

header h1#site_logo img {
  width: 100px;
  height: auto;
  display: block;
  margin: 40px auto 0;
}

/*スクロール後のナビ色・高さ ここから*/

header.headerCommon {
  /* background-color: rgba(238, 236, 231, 1); */
  height: 80px;
  transition: all 1s 0s cubic-bezier(0.23, 1, 0.32, 1);
  top: 0;
}

.headerCommon h1#site_logo {
  width: 120px;
  height: 120px;
  transition: all 1s 0s cubic-bezier(0.23, 1, 0.32, 1);
}

.headerCommon h1#site_logo img {
  width: 60px;
  margin: 24px auto 0;
  transition: all 1s 0s cubic-bezier(0.23, 1, 0.32, 1);
}

.headerCommon #menu_wrapper {
  height: 80px;
  width: 90%;
  transition: all 1s 0s cubic-bezier(0.23, 1, 0.32, 1);
}

.headerCommon #gnav li a {
  color: #333;
  transition: all 0.2s ease-out;
}

.headerCommon #gnav li a:after {
  background: #333;
}

.headerCommon .sns {
  color: #333;
}

.copy_area {
  position: fixed;
  top: 30%;
  transform: translateX(-100%);
  z-index: 8888;
}

.copy_right {
  padding: 1rem;
  background-color: var(--accent-color);
  color: #333;
  border-radius: 0.25rem;
  transform: rotate(-90deg) translateY(-15px);
  transform-origin: right top;
}

footer {
  padding: 100px 0 50px 0;
}

#footer_menu {
  margin: 30px auto 0;
  padding: 8% 10% 40px;
  display: flex;
  column-gap: 20px;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  border-top: 1px solid #ccccce;
}

#footer_menu .footer_link {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  width: 60%;
}

#footer_menu .logo {
  width: 40%;
  text-align: right;
}

#footer_menu .logo .footer_logo {
  max-width: 100px;
  /* margin: 0 0 0 auto; */
}

.br_pc {
  display: inline;
}

.br_sp {
  display: none;
}

.page-top-outer {
  position: sticky;
  position: fixed;
  bottom: 20px;
  font-size: 14px;
  line-height: 1;
  z-index: 99999;

  width: 100%;
  max-width: 640px;
}

.page-top {
  width: 60px;
  height: 60px;
  background-color: #f6efda;
  /* ボタンの背景色 */
  border: 1px solid #000;
  /* ボーダー */
  border-radius: 50%;
  /* 丸い形状 */
  margin: 0 10px 0 auto;
  cursor: pointer;
}

.page-top:hover {
  text-decoration: none;
  opacity: 0.5;
}

.page-top .page-top-inner {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}

.page-top .arrow-up {
  position: relative;
  display: block;
  width: 1px;
  height: 28px;
  margin: 0 auto;
  border-radius: 9999px;
  background-color: #000000;
}

.page-top .arrow-up::before,
.page-top .arrow-up::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  height: 12px;
  border-radius: 9999px;
  background-color: #000000;
  transform-origin: 50% 0.5px;
}

.page-top .arrow-up::before {
  transform: rotate(40deg);
}

.page-top .arrow-up::after {
  transform: rotate(-40deg);
}

.page-top .text {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #000;
  display: block;
  text-align: center;
  margin-top: 5px;
}

/* ================================
   Page Loading Overlay
   ================================ */

#page-loading {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  background: rgba(224, 217, 212, 1);
  z-index: 9999;

  /* 初期は必ず非表示 */
  display: none;

  align-items: center;
  justify-content: center;
}

/* 表示状態 */
#page-loading.is-active {
  display: flex;
}

/* ================================
Spinner
================================ */

#page-loading .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: loading-spin 1s linear infinite;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}
