/* ==========================================
   Header
========================================== */

.c-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 110;
  width: 100%;
  max-width: 430px;
  background-color: var(--color-bg);
  transform: translateX(-50%);
}

.c-header__inner {
  display: flex;
  align-items: center;
  height: 60px;
  padding-inline: 15px;
}

.c-header__logo {
  display: block;
  flex-shrink: 0;
  width: 88px;
}

.c-header__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.c-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.c-header__instagram {
  display: block;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
}

.c-header__instagram-image {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================
   Menu Button
========================================== */

.c-menu-button {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 22px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.c-menu-button span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-brown);
  border-radius: 999px;
  transition:
    top 0.3s ease,
    bottom 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.c-menu-button span:first-child {
  top: 0;
}

.c-menu-button span:nth-of-type(2) {
  top: 50%;

  transform: translateY(-50%);
}

.c-menu-button span:last-child {
  bottom: 0;
}

/* メニューを開いた状態 */

.c-menu-button.is-open span:first-child {
  top: 50%;
  transform:
    translateY(-50%)
    rotate(45deg);
}

.c-menu-button.is-open span:nth-of-type(2) {
  opacity: 0;
}

.c-menu-button.is-open span:last-child {
  top: 50%;
  bottom: auto;

  transform:
    translateY(-50%)
    rotate(-45deg);
}

/* ==========================================
   Header：Menu Open
========================================== */

body.is-menu-open .c-header {
  background-color: var(--color-purple-light);
}

body.is-menu-open .c-menu-button span {
  background-color: var(--color-white);
}

/* ==========================================
   Global Navigation
========================================== */

.c-global-nav {
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  max-width: 430px;
  padding: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background-color: var(--color-purple-light);
  transform: translateX(-50%);
  transition:
    visibility 0.3s ease,
    opacity 0.3s ease;
}

.c-global-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.c-global-nav__list {
  text-align: center;
}

.c-global-nav__list li {
  position: relative;
  padding: 15px 0 10px;
  border-bottom: 1px solid var(--color-white);
}

.c-global-nav__list li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 10px;
  aspect-ratio: 1;
  background: url("../images/arrow_wh.svg") center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.c-global-nav__list a {
  display: block;
  padding-inline: 24px;
  color: var(--color-white);
}

.c-global-nav__list b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.c-global-nav__list small {
  display: block;
  margin-top: 5px;
}

/* メニュー表示中は背面をスクロールさせない */

body.is-menu-open {
  overflow: hidden;
}

/* ==========================================
   section
========================================== */

main > section {
    padding-top: 90px;
}

main > section .c-heading {
    text-align: center;
    margin-bottom: 40px;
}

.c-heading h2 {
    font-size: 0.75rem;
    padding-top: 12px;
}

.c-heading p {
    font-size: 0.75rem;
}

.c-sub-heading h3 {
    text-align: center;
    font-size: 1rem;
    padding-top: 60px;
}

.c-sub-heading h3::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin: 20px auto 30px;
    background: url(../images/title_sub.svg) no-repeat center center;
}

/* ==========================================
   Access
========================================== */

.p-price__menu dl>div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-beige);
}

.p-price__menu h4,
.p-price__menu h5 {
    font-weight: normal;
    text-align: center;
    padding: 15px 0;
    border-radius: 4px;
    font-size: 0.9375rem;
    background-color: var(--color-beige-light);
    margin-top: 30px;
}

.p-price__menu h5 {
    width: 40%;
    font-size: 0.875rem;
    margin: 30px auto 0;
    padding: 10px 0
}

.p-price__menu dl>div dt {
    padding-left: 20px;
    position: relative;
}

.p-price__menu dl>div dt::before {
    content: "●";
    color: var(--color-beige);
    position: absolute;
    left: 0;
}

.p-price__menu dl>div dd::before {
    content: "……";
    display: inline-block;
    padding-right: 5px;
}

.p-price__menu .caution {
    margin-top: 20px;
}

.p-price__cancel {
    font-size: 0.75rem;
    margin-top: 40px;
    line-height: 1.8;
}

.p-price__cancel h6 {
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--color-white);
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    background-color: var(--color-brown);
}

.p-price__cancel dl {
    margin-top: 20px;
    font-weight: 600;
}

.p-price__cancel ul {
    margin-top: 20px;
}

.caution li {
    font-size: 0.75rem;
    position: relative;
    padding-left: 1.4em;
}

.caution li::before {
    content: "※";
    position: absolute;
    left: 0;
}

/* ==========================================
   Flow
========================================== */

.p-flow__list {
    display: grid;
    gap: 20px
}

.p-flow__list li {
    display: grid;
    grid-template-columns: 28px 1fr 90px;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    position: relative; 
}

.p-flow__list li::after {
    content: "";
    width: 1px;
    height: 60%;
    position: absolute;
    left: 17px;
    top: 50px;
    background-color: var(--color-beige);
}

.p-flow__list li:last-child::after {
    display: none;
}

.p-flow__list li>b {
    width: 36px;
    height: 36px;
    color: var(--color-brown);
    text-align: center;
    line-height: 36px;
    border-radius:100px;
    font-weight: normal; 
    background-color: var(--color-beige);
}

.p-flow__list h3 {
    font-size: 0.875rem;
}

.p-flow__list p {
    font-size: 0.75rem;
    line-height: 1.6;
}

.p-flow__list img {
    width: 100px;
    height: 100px;
    object-fit: cover
}

/* ==========================================
   FAQ
========================================== */

.p-faq details {
    border-top: 1px solid var(--color-beige);
}

.p-faq details:last-child {
    border-bottom: 1px solid var(--color-beige);
}

.p-faq summary {
    position: relative;
    padding: 16px 36px 16px 20px;
}

.p-faq summary::before {
    content: "Q.";
    position: absolute;
    left: 0;
}

.p-faq summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.p-faq details[open] summary::after {
    content: "−"
}

.p-faq details p {
    padding: 0 8px 20px 20px;
    position: relative;
}

.p-faq details p::before {
    content: "A.";
    position: absolute;
    left: 0;
}

/* FAQ：開閉アニメーション */

.p-faq {
  interpolate-size: allow-keywords;
}

.p-faq details::details-content {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 0.4s ease,
    opacity 0.25s ease,
    content-visibility 0.4s allow-discrete;
}

.p-faq details[open]::details-content {
  height: auto;
  opacity: 1;
}

/* ==========================================
   Access
========================================== */

.p-access {
    padding-top: 550px;
    margin-top: 50px;
    background: url(../images/access_bg.webp) no-repeat center top / 100%;
}

.p-access__text {
    text-align: center;
}

.p-access h3 span {
    display: block;
}

.access-map {
    margin-top: 30px;
}

.access-map iframe {
    width: 100%;
    height: 250px;
}

/* ==========================================
   footer
========================================== */

footer {
    padding-top: 60px;
}

footer .c-logo {
    width: 100px;
    display: block;
}

.c-footer-nav__list {
    margin-top: 15px;
}

.c-footer-nav__list a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-beige);
    position: relative;
}

.c-footer-nav__list li:first-child a {
    border-top: 1px solid var(--color-beige);
}

.c-footer-nav__list a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(../images/arrow_br.svg) no-repeat center center;
}

.c-footer__sns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.c-footer__sns a {
    flex: 1;
}

.c-footer__privacy {
    text-align: center;
    text-decoration: underline;
    margin-top: 30px;
}

.c-footer__copy {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
}

/* ==========================================
   Menu Button
========================================== */

.c-modal {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: .28s
}

.c-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}

.c-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(61,52,78,.9)
}

.c-modal__panel {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px),362px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    background: var(--surface)
}

.c-modal__content {
    padding: 34px 26px 24px;
    background-color: var(--color-white);
}

.c-modal__header {
    text-align: center
}

.c-modal__header>p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1
}

.c-modal__header h2 {
    margin-top: 8px;
    font-size: 1.25rem;
    font-weight: 600
}

.c-modal__body {
    margin-top: 28px
}

.c-modal__body section {
    margin-top: 34px
}

.c-modal__body section h3 {
    border-bottom: 1px solid var(--color-beige);
    font-size: 0.875rem; 
    font-weight: 600
}

.c-modal__body ul {
    margin-top: 16px
}

.c-modal__body ul li {
    list-style-type: disc;
    margin: 5px 0 0 20px;
    line-height: 1.5 
}

.c-modal__body ul li:first-child {
    margin-top: 0;
}

.c-modal__notice-title {
    font-size: 0.9375rem;
    font-weight: 700
}

.c-modal__notice-list {
    font-weight: 600
}

.c-career>div {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 8px;
    padding: 12px 0
}

.c-career dt {
    font-weight: 600
}

.c-modal__close {
    display: block;
    min-width: 94px;
    margin: 28px auto 0;
    padding: 8px 22px;
    border-radius: 99px;
    color: var(--color-white);
    background-color: var(--color-purple);
}

/* ==========================================
   parts
========================================== */

.c-lead {
    padding-top: 20px;
}

.c-button {
    position: relative;
    width: 100%;
    padding: 20px 10px;
    margin-top: 30px;
    display: block;
    color: var(--color-white);
    text-align: center;
    background-color: var(--color-purple);
}

.c-button::after {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: url(../images/arrow_wh.svg) no-repeat center center;
}

.c-button--light {
    border-radius: 100px;
    width: 60%;
    padding: 15px;
    margin: 30px auto 0;
}

.c-button--light::after {
    content: "+";
    background: none;
    height: auto;
}