@charset "UTF-8";

:root {
  --frame-width: 500px;
  --frame-max-height: 844px;
  --bg-outer: #e5e1d8;
  --bg-inner: #ffffff;
  --cream: #f3ebe0;
  --wine: #7a1c1c;
  --text: #1c1c1c;
  --text-sub: #6b6b6b;
  --border: #cfc6b4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Shippori Mincho", serif;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  letter-spacing: -2%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #1a1a1a;
}

@media (min-width: 820px) {
  body {
    overflow: hidden;
  }
}

/* ============ page ============ */
.page {
  position: relative;
  width: 100%;
  height: 100dvh;
}

.page_bg {
  position: fixed;
  inset: 0;
  background: var(--bg-outer);
  z-index: 0;
  background-image: url(../img/sp_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 820px) {
  .page_bg {
    position: fixed;
    inset: 0;
    background: var(--bg-outer);
    z-index: 0;
    background-image: url(../img/pc_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.page_stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============ frame（スマホ枠。ここだけがスクロールする） ============ */
.frame {
  position: relative;
  width: 100%;
  max-width: var(--frame-width);
  height: 100dvh;
  background: var(--bg-inner);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.frame_body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Edge, IE */
}

.frame_body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

@media (min-width: 640px) {
  .frame {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  }
}


/* ============================================================
     footer（フッター section）
     ============================================================ */

.footer {
  background: #fff;
  padding: 24px 20px 0;
  margin-top: 120px;
}

.footer_box {
  border-radius: 2px;
  overflow: hidden;
}

.footer_box_label {
  background: #a4863f;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 10px 8px;
  letter-spacing: 0.02em;
}

.footer_box_body {
  padding: 20px 16px 22px;
  text-align: center;
}

.footer_box_lead {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  margin: 0;
  font-size: 21px;
}

.footer_box_sub {
  margin: 4px 0 0;
  font-size: 18px;
}

.footer_box_name {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  margin: 0;
}

.footer_box_name_small {
  font-size: 23px;
}

.footer_box_name_large {
  font-size: 28px;
  margin-left: 6px;
}

.footer_box_divider {
  border: none;
  border-top: 1px solid #333;
  margin: 18px 0;
}

.footer_box_address {
  margin: 0 0 6px;
  font-size: 17px;
}

.footer_box_tel {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer_box_tel_label {
  font-size: 15px;
  font-weight: 500;
  margin-right: 6px;
}

.footer_copyright {
  font-family: "Noto Sans JP", sans-serif;
  margin: 24px -20px 0;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 14px 20px;
}

/* ============================================================
     lang（言語切り替えナビ）
     ============================================================ */

.lang {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 50;
}

.lang--outside {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
}

.lang--inside {
  position: absolute;
  top: 16px;
  left: 16px;
}

@media (min-width: 820px) {
  .lang--outside {
    display: flex;
  }

  .lang--inside {
    display: none;
  }
}

.lang_icon {
  width: 20px;
  height: 20px;
}

.lang_list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-top: none;
}

.lang_item {
  border-right: 1px solid rgba(255, 255, 255, 0.85);
}

.lang_item:last-child {
  border-right: none;
}

.lang_link {
  display: block;
  padding: 2px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.lang_link.is-active {
  background: #fff;
  color: #000;
}

/* ============================================================
     anime_typeN（スクロールで出現するアニメーション）
     ============================================================ */

[class*="anime_type"] {
  transition: opacity 2.8s cubic-bezier(.2, .7, .3, 1),
    transform 2.8s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--anime-delay, 0s);
  will-change: opacity, transform;
}

/* type1: 下からフェードイン（もっとも標準的な出現） */
.anime_type1 {
  opacity: 0;
  transform: translateY(28px);
}

/* type2: 左からフェードイン */
.anime_type2 {
  opacity: 0;
  transform: translateX(-28px);
}

/* type3: 右からフェードイン */
.anime_type3 {
  opacity: 0;
  transform: translateX(28px);
}

/* type4: ふわっと拡大しながらフェードイン（バナーやアイコン向け） */
.anime_type4 {
  opacity: 0;
  transform: scale(0.94);
}

/* type5: 単純なフェードのみ（画像の帯など、動きを付けたくない箇所向け） */
.anime_type5 {
  opacity: 0;
}

[class*="anime_type"].is-inview {
  opacity: 1;
  transform: none;
}

.about_panel .about_panel_access {
  margin-left: 33px;
}

/* アクセシビリティ：モーション低減設定のユーザーには即表示 */
@media (prefers-reduced-motion: reduce) {
  [class*="anime_type"] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}