@charset "UTF-8";

/* ============================================
   Base / Reset
============================================ */
:root {
  --color-primary: #632b31;
  --color-bg: #a46d40;
  --color-orange: #f39800;
  --color-yellow: #fdd000;
  --content-width: 425px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.7;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  animation: fadeIn 1s ease 0s 1 normal;
  -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

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

a {
  color: inherit;
  text-decoration: none;
}

a, button {
  transition: opacity 0.2s ease;
  cursor: pointer;
}
@media (hover: hover) {
  a:hover, button:hover {
    opacity: 0.7;
  }
}

/* 425px超の余白を装飾画像で埋める */
.l-bg-deco {
  position: fixed;
  top: 0;
  height: 100vh;
  width: calc((100vw - var(--content-width)) / 2);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}
.l-bg-deco--left {
  left: calc(50% - 212.5px);
  background-image: url("../images/top_bg_left.webp");
  background-position: right center;
  transform: translateX(-100%);
}
.l-bg-deco--right {
  left: calc(50% + 212.5px);
  background-image: url("../images/top_bg_right.webp");
  background-position: left center;
}
.l-bg-deco__server {
  display: none;
}
.l-bg-deco__img {
  display: none;
}
@media (min-width: 1120px) {
  .l-bg-deco__img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
  }
  .l-bg-deco--left .l-bg-deco__img {
    width: 19.5vw;
    min-width: 250px;
  }
  .l-bg-deco--right .l-bg-deco__img {
    width: 23.6vw;
    min-width: 302px;
  }
  .l-bg-deco__server {
    display: block;
    position: fixed;
    left: 10%;
    bottom: 10px;
    color: #231815;
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 700;
  }
}

/* ============================================
   Layout
============================================ */
.l-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding: 0 10px;
}
.is-subpage .l-wrap {
  padding: 0;
}
.l-section {
  position: relative;
}
.l-section img {
  width: 100%;
  height: auto;
}

/* ============================================
   ヘッダー / メニュー
============================================ */
.l-header {
  position: fixed;
  top: -23px;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  width: 86px;
  overflow-x: hidden;
}
.l-header__menu-btn {
  pointer-events: auto;
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #be7f18;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header__menu-btn.is-open {
  background: #f39800;
}
.l-header__menu-icon {
  position: relative;
  display: block;
  width: 25px;
  height: 17px;
}
.l-header__menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.l-header__menu-icon span:nth-child(1) { top: 0; }
.l-header__menu-icon span:nth-child(2) { top: 14px; }
.l-header__menu-btn.is-open .l-header__menu-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(30deg);
}
.l-header__menu-btn.is-open .l-header__menu-icon span:nth-child(2) {
  top: 7px;
  transform: rotate(-30deg);
}
@media (min-width: 426px) {
  .l-header {
    right: auto;
    left: calc(50% + 127px);
  }  
}
@media (min-width: 1120px) {
  .l-header {
    top: 2.5%;
    left: auto;
    right: 2.5%;
    width: 96px;
    height: 96px;
  }
}

.l-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  max-width: 405px;
  top: 0;
  left: 50%;
  background-image: url(../images/bg_nav_sp.webp);
  background-size: 100% auto;
  background-repeat: no-repeat;
  padding: 180px 32px 32px;
  transform: translate(-50%, -50px);
  transition: transform 0.3s ease;
  overflow-y: auto;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.is-subpage .l-drawer {
  max-width: 425px;
}
.l-drawer.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
.l-drawer__heading {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-primary);
  font-weight: 700;
  font-size: clamp(16px, 5vw, 20px);
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 8px 32px;
  margin-bottom: 28px;
}
.l-drawer__list {
  width: 285px;
  margin: 0 auto;
}
.l-drawer__list li {
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.l-drawer__list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5.3% 15px;
  border-bottom: 1px solid var(--color-primary);
  font-size: clamp(14px, 4.24vw, 17px);
  font-weight: 700;
}
.l-drawer__list a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url(../images/icon_arrow.svg);
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.l-drawer__list a img {
  height: 22px;
}
.l-drawer__list a img.line {
  height: 54px;
}
.l-drawer__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-size: clamp(18px, 5.5vw, 22px);
  font-weight: 700;
}
@media (min-width: 1120px) {
  .l-drawer {
    width: 100vw;
    max-width: 100%;
    padding: 16.4% 32px 32px;
    background-image: url(../images/bg_nav_pc.webp);
  }
  .is-subpage .l-drawer {
    max-width: 100%;
  }
  .l-drawer__list {
    position: relative;
    left: -65px;
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0 35px;
    width: 47.4vw;
    min-width: 607px;
  }
  .l-drawer__list a {
    height: 6.25vw;
    min-height: 80px;
  }
  .l-drawer__list a img {
    height: 1.7vw;
    min-height: 22px;
  }
  .l-drawer__list a img.line {
    height: 4.2vw;
  }
}

.p-join__step1,
.p-join__step2 {
  position: relative;
}
.p-kv__text {
  padding-bottom: 30px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: clamp(15px, 4.75vw, 19px);
  line-height: 1.68;
  text-align: center;
  background: #fff;
}
.p-kv__inner {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  bottom: 11%;
  width: 70%;
  margin: 0 auto;
}
.p-join__col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.p-join__note {
  margin-top: 13px;
  font-size: clamp(8px, 2.5vw, 10px);
  line-height: 1.4;
}
.p-join__flow {
  position: absolute;
  top: 22%;
  left: 0;
  margin: 0 4%;
  overflow-x: scroll;
}
.p-join__overflow {
  padding: 0 15px;
  width: 150%;
  height: auto;
}
.p-join__btn {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 228px;
  margin: 0 auto;
  padding: 14px 32px;
  background: var(--color-yellow);
  border: 5px solid var(--color-primary);
  border-radius: 99rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: clamp(12px, 3.75vw, 15px);
  line-height: 1;
}


.p-precautions {
  position: relative;
}
.p-precautions__inner {
  position: absolute;
  top: 40%;
  left: 52%;
  transform: translateX(-50%);
  width: 81%;
  height: 150px;
  overflow-y: scroll;
  font-size: clamp(10px, 3vw, 12px);
  line-height: 1.58;
}
.p-precautions__inner h3 {
  font-size: clamp(10px, 3vw, 12px);
  font-weight: 400;
}
.p-precautions__inner ul {
  margin-bottom: 45px;
}
.p-precautions__inner ul li {
  font-size: clamp(10px, 3vw, 12px);
  text-indent: -1em;
  padding-left: 1em
}
.p-precautions__inner ul li::before {
  content: "●";
}

.p-stamp__lists {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 14%;
  background-image: url(../images/top_area_bg.webp);
  background-repeat: repeat-y;
  background-size: 100% auto;
  list-style: none;
}
.p-stamp__list {
  cursor: pointer;
  transition: .3s;
}
.p-stamp__list:last-child {
  border-top: 2px solid var(--color-primary);
  padding-top: 15px;
}
.p-stamp__body {
  display: none;
}
.p-stamp__head.is-hidden {
  display: none;
}
.p-stamp__body.is-show {
  display: block;
}


.p-line__btn {
  position: relative;
}
.p-line__btn a {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 222px;
  margin-bottom: 14px;
  padding: 8px 15px;
  background: #fff;
  border: 5px solid var(--color-primary);
  border-radius: 99rem;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
}

.p-character {
  background: var(--color-yellow);
  padding-bottom: 65px;
}

.p-link-btn {
  display: block;
  text-align: center;
  font-weight: 700;
  padding: 14px;
  margin: 10px 0;
  border-radius: 999px;
  background: var(--color-yellow);
  color: var(--color-primary);
}

.p-area-list {
  margin-top: -6px;
}

.p-line-detail a:hover {
  opacity: 1;
}

/* ============================================
   フッター
============================================ */
.p-footer {
  color: #231815;
  background: #fff;
  padding: 40px 20px 30px;
  font-size: clamp(11px, 3.4vw, 14px);
  font-weight: 500;
  line-height: 1.57;
  text-align: center;
}
.p-footer__contact-btn {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  border: 5px solid var(--color-primary);
  border-radius: 99rem;
  padding: 8px 15px;
  margin-bottom: 14px;
}
.p-footer__note {
  margin-bottom: 65px;
  color: var(--color-primary);
  font-weight: 600;
}
.p-footer__council {
  width: 78%;
  margin: 0 auto 35px;
}
.p-footer__address {
  margin-bottom: 16px;
}

.p-footer__pagetop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 3vw, 12px);
  font-weight: 700;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.p-footer__pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   簡易ヘッダー（子ページ）
============================================ */
.p-line-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px 0;
  font-weight: 700;
  font-size: clamp(11px, 3.5vw, 14px);
  background: var(--color-primary);
  color: #fff;
}
.p-line-back:hover {
  opacity: 1;
}