:root {
  --contents-max-width: 460;
  --padding: 16px;
  --color-text: #333;
  --color-main-gold: #CFA727;
  --color-sub-gold: #B17C3C;
  --color-bg-white: #fff;
  --primary-color: #CFA727;
  --secondary-color: #B17C3C;
  --font-inter: "Inter", sans-serif;
  --font-noto: "Noto Sans JP", sans-serif;
}

html {
  font-size: 16px;
}
@media screen and (max-width: 390px) {
  html {
    font-size: clamp(0.875rem, 0.3035714286rem + 2.8571428571vw, 1rem);
  }
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  min-height: 100vh;
  font-family: var(--font-noto);
  font-weight: 400;
}

picture {
  display: block;
}

a {
  text-decoration: none;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  scroll-behavior: smooth;
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

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

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.l-body {
  flex-direction: column;
  background: #fff url(../img/background.jpg) no-repeat center top/cover;
  background-attachment: fixed;
}
.l-body > * {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .l-main {
    display: flex;
    gap: 5rem;
    justify-content: center;
  }
}

.l-contents {
  max-width: 100%;
  animation: bodyFadeIn 0.7s ease-in-out forwards;
  opacity: 0;
  filter: blur(20px);
  overflow: hidden;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 1024px) {
  .l-contents {
    width: fit-content;
  }
}

@keyframes bodyFadeIn {
  from {
    opacity: 0;
    filter: blur(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.l-inner {
  max-width: calc(var(--contents-max-width) * 1px);
  margin-inline: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.l-block {
  max-width: 100%;
  margin-top: -1px;
  background: var(--color-bg-white);
  overflow: hidden;
}
.l-block img {
  width: 100%;
}
.l-block--voice {
  background: url(../img/section-voice/bg_voice.png) no-repeat center top/cover;
  padding-bottom: 2rem;
}
.l-block--introduction {
  position: relative;
}

.l-block--cta {
  position: relative;
}

.l-footer__inner {
  background: #5784b9;
  padding: 1.5rem 1rem;
}

.l-sidebar {
  display: none;
}
@media screen and (min-width: 1024px) {
  .l-sidebar {
    display: block;
    padding: 16px;
  }
}

.l-sidebar__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.l-sidebar__inner img {
  width: 100%;
  height: auto;
  max-width: 25rem;
}

.c-button__wrap {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: min(var(--button-bottom-vw), var(--button-bottom-space));
}

.c-button {
  overflow: hidden;
  display: block;
  width: 84%;
  margin-inline: auto;
}
.c-button * {
  pointer-events: none;
}

.c-button--bounce {
  animation: bounce-btn 3.5s ease-in-out infinite;
}

@keyframes bounce-btn {
  0% {
    transform: scale(1);
  }
  9% {
    transform: scale(0.93);
  }
  18% {
    transform: scale(1.06);
  }
  26% {
    transform: scale(0.96);
  }
  34% {
    transform: scale(1.03);
  }
  41% {
    transform: scale(0.98);
  }
  48% {
    transform: scale(1.015);
  }
  54% {
    transform: scale(0.99);
  }
  59% {
    transform: scale(1.005);
  }
  64%, 100% {
    transform: scale(1);
  }
}
.c-button--balloon {
  animation: balloon 2.5s ease-in-out infinite;
}

@keyframes balloon {
  0% {
    transform: scale(0.95);
  }
  10% {
    transform: scale(1);
  }
  20% {
    transform: scale(0.95);
  }
  30% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.95);
  }
}
.c-fixedBtn {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  bottom: 0;
  z-index: 10;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.25rem;
  transition: opacity 0.3s ease-in-out;
  visibility: hidden;
}
@media screen and (min-width: 1024px) {
  .c-fixedBtn {
    display: none;
  }
}
.c-fixedBtn.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.c-fixedBtn a {
  display: block;
  width: 90%;
  max-width: 22.5rem;
  margin-top: 0.25rem;
}
.c-fixedBtn a img {
  width: 100%;
  height: auto;
}

.p-faq {
  --faq-accent: #ff6b00;
  --faq-open-bg: #ffd39f;
  --faq-text: #4d6d92;
  --faq-radius: 8px;
  padding: 3rem 1.875rem 3.5rem;
  background: #fff8ec;
  border-top: 20px solid var(--faq-text);
  border-bottom: 20px solid var(--faq-text);
}

.p-faq__title {
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.4;
  color: var(--faq-accent);
  text-align: center;
}

.p-faq__list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
}

.p-faq__item {
  overflow: hidden;
  background: #fff;
  border-radius: var(--faq-radius);
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.12);
  transition: background-color 0.35s ease;
}
.p-faq__item[data-open=true] {
  background: var(--faq-open-bg);
}

.p-faq__question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  color: var(--faq-text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.p-faq__question-text {
  flex: 1;
}

.p-faq__icon {
  flex-shrink: 0;
  font-family: "futura-pt", sans-serif;
  font-size: 1.875rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  color: var(--faq-accent);
}

.p-faq__icon--a {
  color: var(--faq-text);
}

.p-faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
}
.p-faq__toggle::before, .p-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--faq-accent);
  transform: translateY(-50%);
  transition: transform 0.35s ease, background-color 0.35s ease;
}
.p-faq__toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.p-faq__item[data-open=true] .p-faq__toggle::before, .p-faq__item[data-open=true] .p-faq__toggle::after {
  background: var(--faq-text);
}
.p-faq__item[data-open=true] .p-faq__toggle::after {
  transform: translateY(-50%) rotate(0deg);
}

.p-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.p-faq__item[data-open=true] .p-faq__answer {
  grid-template-rows: 1fr;
}

.p-faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.p-faq__answer-body {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 1rem;
  padding: 1rem 0 1.25rem;
  border-top: 2px dashed #fff;
}

.p-faq__answer-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--faq-text);
}
.p-faq__answer-text p + p {
  margin-top: 1rem;
}

.p-faq__answer-btn {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background: var(--faq-accent);
  border-radius: 62.4375rem;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.12);
}

.p-footer__menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.p-footer__menu-item a {
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
}

.p-footer__copyright {
  text-align: center;
  font-size: 12px;
  margin-block-start: 0.5rem;
  color: #fff;
}

.p-sidebar__contents {
  border-radius: 0 2.25rem 0 2.25rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 0 11.98px 0 rgba(0, 0, 0, 0.25);
  border: 1px solid #fbe3cc;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
}

.p-sidebar__menu {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  position: relative;
  z-index: 1;
}

.p-sidebar__menu-item a {
  color: #e8760c;
  font-size: 1rem;
  font-weight: 500;
  line-height: 150%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.p-sidebar__menu-item a img {
  width: 1.5rem;
  height: auto;
}

.p-sidebar__menu-title {
  color: #fdf3e7;
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 900;
  position: absolute;
  top: -0.6875rem;
  left: -0.3125rem;
}

.p-sidebar__text {
  font-size: 0.6875rem;
  text-align: center;
  line-height: 1.3;
  font-weight: bold;
}
