@charset "UTF-8";
/* ==========================================================================
   variables
========================================================================== */
:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray1: #F2F2F2;
  --color-gray2: #CCCCCC;
  --color-gray3: #A8A8A8;
  --color-main1: #AC9376;
  --color-main2: #F7F3EF;
  --color-main3: #D37272;
  --color-main4: #24262B;

  --font-family-main: YakuHanJP, "Hiragino Sans", "Hiragino Kaku Gothic ProN", YuGothic, "Yu Gothic medium", Meiryo, sans-serif;
  --font-family-serif: "Cormorant", serif;
  --font-family-serif2: YakuHanJP, "Noto Serif JP", serif;

  --z-index-toggle: 100;
  --z-index-sitemap: 90;
  --z-index-header: 80;
}

/* ==========================================================================
   reset
========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
@media screen and (min-width: 1920px) {
  html { font-size: 0.5211047421vw; }
}
@media screen and (min-width: 800px) and (max-width: 1199px) {
  html { font-size: 0.834028357vw; }
}
@media screen and (max-width: 374px) {
  html { font-size: 2.6737967914vw; }
}
body, h1, h2, h3, p, ul, li, form, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; padding: 0; cursor: pointer; }
input { font: inherit; }
img { max-width: 100%; height: auto; }

body {
  background: var(--color-main2);
  color: var(--color-main4);
  font-family: var(--font-family-main);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.8;
  font-size: 1.5rem;
}

.c-spBlock { display: none; }

@media screen and (max-width: 799px) {
  .c-spBlock { display: inline; }
}

/* ==========================================================================
   header / footer
========================================================================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3rem 8rem 3rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 3rem;
  transition-property: padding, background;
  transition-duration: .5s;
  transition-timing-function: ease;
  z-index: var(--z-index-header);
}
@media screen and (max-width: 799px) {
  .l-header { padding: 3rem 3rem; }
}

.l-header .header__logo {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.l-header .header__logo svg {
  width: 8rem;
  height: 3.6rem;
  fill: var(--color-black);
  display: block;
  transition: fill .5s ease;
}
@media screen and (max-width: 799px) {
  .l-header .header__logo svg { width: 7.5rem; height: 3.4rem; }
}

.l-header .header__pagelabel {
  font-size: 1.2rem;
  letter-spacing: .1em;
  color: var(--color-main1);
  border-left: 1px solid var(--color-gray2);
  padding-left: 1.4rem;
  white-space: nowrap;
  transition: color .5s ease, border-color .5s ease;
}

.l-header .header__nav {
  display: flex;
  column-gap: 3rem;
}
@media screen and (max-width: 799px) {
  .l-header .header__nav { display: none; }
}

.l-header .header__nav li {
  color: var(--color-main1);
  font-family: var(--font-family-serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.l-header.js-change {
  padding: 2rem 4rem 2rem 3rem;
  background: var(--color-main4);
}
@media screen and (max-width: 799px) {
  .l-header.js-change { padding: 1.2rem 2rem; }
}
.l-header.js-change .header__logo svg { fill: var(--color-white); }
.l-header.js-change .header__pagelabel { color: var(--color-white); border-color: rgba(255,255,255,.3); }

/* ==========================================================================
   toggle (SP hamburger)
========================================================================== */
.l-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 6.4rem;
  height: 3.7rem;
  background: var(--color-main1);
  border-radius: 2rem;
  z-index: var(--z-index-toggle);
}
@media screen and (min-width: 800px) {
  .l-toggle { display: none; }
}
.l-toggle .toggle__wrap {
  position: absolute;
  top: 1.5rem;
  left: 1.8rem;
  width: 2.8rem;
  height: .9rem;
}
.l-toggle .toggle__wrap span {
  background: var(--color-white);
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  transition-property: transform, top, bottom;
  transition-duration: .25s;
  transition-timing-function: ease;
}
.l-toggle .toggle__wrap span:nth-child(1) { top: 0; }
.l-toggle .toggle__wrap span:nth-child(3) { bottom: 0; }
.l-toggle.js-active .toggle__wrap span:nth-child(1) {
  top: .4rem;
  transform: rotate(20deg);
}
.l-toggle.js-active .toggle__wrap span:nth-child(2) {
  bottom: .4rem;
  transform: rotate(-20deg);
}

/* ==========================================================================
   sitemap (SP navigation overlay)
========================================================================== */
.l-sitemap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-main2);
  padding: 10rem 3rem 10rem 6rem;
  z-index: var(--z-index-sitemap);
  opacity: 0;
  visibility: hidden;
  transition-property: transform, opacity;
  transition-duration: .25s;
  transition-timing-function: ease;
}
@media screen and (min-width: 800px) {
  .l-sitemap { display: none; }
}
.l-sitemap .sitemap__wrap {
  height: 100%;
  overflow-y: auto;
}
.l-sitemap .sitemap__item {
  font-family: var(--font-family-serif2);
  font-size: 1.1rem;
  transform: translate(0, 20px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.l-sitemap .sitemap__item + .sitemap__item { margin-top: 2rem; }
.l-sitemap .sitemap__item span {
  color: var(--color-main1);
  font-family: var(--font-family-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
  display: block;
}
.l-sitemap .sitemap__copy {
  position: absolute;
  right: 3rem;
  bottom: 2.5rem;
  font-family: var(--font-family-serif);
  font-size: 1.2rem;
  font-weight: 500;
}
.l-sitemap.js-active {
  opacity: 1;
  visibility: visible;
}
.l-sitemap.js-active .sitemap__item {
  transform: translate(0, 0);
  opacity: 1;
}
.l-sitemap .sitemap__item:nth-child(2) { transition-delay: .2s; }
.l-sitemap .sitemap__item:nth-child(3) { transition-delay: .4s; }
.l-sitemap .sitemap__item:nth-child(4) { transition-delay: .6s; }
.l-sitemap .sitemap__item:nth-child(5) { transition-delay: .8s; }
.l-sitemap .sitemap__item:nth-child(6) { transition-delay: 1s; }
.l-sitemap .sitemap__item:nth-child(7) { transition-delay: 1.2s; }
.l-sitemap .sitemap__item:nth-child(8) { transition-delay: 1.4s; }
.l-sitemap .sitemap__item:nth-child(9) { transition-delay: 1.6s; }

.l-footer {
  text-align: center;
  padding: 4rem 2.4rem 6rem;
}

.l-footer__back {
  display: inline-block;
  font-size: 1.3rem;
  border-bottom: 1px solid var(--color-main4);
  padding-bottom: .2rem;
  transition: opacity .25s ease;
}
.l-footer__back:hover { opacity: .6; }

.l-footer__copy {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: var(--color-gray3);
}

/* ==========================================================================
   layout
========================================================================== */
.l-main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

/* ==========================================================================
   hero
========================================================================== */
.p-hero {
  text-align: center;
  padding: 17rem 0 5rem;
}
@media screen and (max-width: 799px) {
  .p-hero { padding: 13rem 0 4rem; }
}

.p-hero__label {
  font-family: var(--font-family-serif);
  color: var(--color-main1);
  font-size: 1.8rem;
  letter-spacing: .15em;
}

.p-hero__heading {
  font-family: var(--font-family-serif2);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.6;
  margin-top: .8rem;
}

.p-hero__lead {
  font-size: 1.4rem;
  line-height: 1.9;
  margin-top: 2rem;
  color: var(--color-main4);
}

/* ==========================================================================
   form
========================================================================== */
.p-form {
  background: var(--color-white);
  border-radius: 1.6rem;
  padding: 3.2rem 2.4rem;
  box-shadow: 0 .8rem 3rem rgba(36, 38, 43, .06);
}

.p-form__item + .p-form__item {
  margin-top: 2.4rem;
}

.p-form__label {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.4rem;
  font-weight: 500;
}

.p-form__required,
.p-form__optional {
  font-size: 1.1rem;
  letter-spacing: .05em;
  padding: .2rem .8rem;
  border-radius: 2rem;
  line-height: 1.6;
}

.p-form__required {
  color: var(--color-white);
  background: var(--color-main3);
}

.p-form__optional {
  color: var(--color-gray3);
  background: var(--color-gray1);
}

.p-form__control {
  position: relative;
  margin-top: .8rem;
}

.p-form__control input {
  width: 100%;
  height: 5.2rem;
  border: 1px solid var(--color-gray2);
  border-radius: .8rem;
  background: var(--color-white);
  padding: 0 4rem 0 1.6rem;
  font-size: 1.6rem;
  color: var(--color-main4);
  transition: border-color .25s ease;
}

.p-form__control input::placeholder {
  color: var(--color-gray3);
}

.p-form__control input:focus {
  outline: none;
  border-color: var(--color-main1);
}

.p-form__control input.is-error {
  border-color: var(--color-main3);
}

.p-form__unit {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--color-gray3);
  pointer-events: none;
}

.p-form__error {
  display: none;
  font-size: 1.2rem;
  color: var(--color-main3);
  margin-top: .8rem;
}

.p-form__error.is-active { display: block; }

.p-form__submit {
  width: 100%;
  height: 5.8rem;
  margin-top: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--color-main4);
  color: var(--color-white);
  border-radius: 3.2rem;
  font-size: 1.5rem;
  letter-spacing: .1em;
  transition: background .25s ease, transform .15s ease;
}

.p-form__submit svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--color-white);
}

.p-form__submit:hover { background: var(--color-main1); }
.p-form__submit:active { transform: scale(.98); }

/* ==========================================================================
   result
========================================================================== */
.p-result {
  margin-top: 8rem;
}
@media screen and (min-width: 800px) {
  .p-result {
    margin-top: 18rem;
  }
}

.c-cap { text-align: center; }

.c-cap__heading {
  font-family: var(--font-family-serif2);
  font-weight: 500;
  font-size: 2.2rem;
}

.c-cap__label {
  font-family: var(--font-family-serif);
  color: var(--color-main1);
  font-size: 1.5rem;
  margin-top: .6rem;
}

.p-result__list {
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (min-width: 800px) {
  .p-result__list {
    width: 100vw;
    max-width: 100rem;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 4rem;
  }
}

.p-plan-card {
  position: relative;
  background: var(--color-white);
  border-radius: 1.6rem;
  padding: 2.8rem 2.4rem;
  box-shadow: 0 .8rem 3rem rgba(36, 38, 43, .06);
}

.p-plan-card__heading {
  font-size: 1.8rem;
  font-weight: 500;
}

.p-plan-card__fee {
  font-size: 1.2rem;
  color: var(--color-gray3);
  margin-top: .6rem;
}

.p-plan-card__result {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray1);
}

.p-plan-card__result-label {
  display: block;
  font-size: 1.3rem;
}

.p-plan-card__result-num {
  display: block;
  margin-top: .8rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--color-main3);
  text-align: right;
}

.p-plan-card__result-num span {
  font-size: 1.4rem;
  margin-left: .3rem;
}

.p-plan-card__breakdown {
  margin-top: 1.6rem;
}

.p-plan-card__breakdown-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.3rem;
  color: var(--color-gray3);
  border-bottom: 1px dotted var(--color-gray2);
  padding: .7rem 0;
}

.p-plan-card__breakdown-row dt {
  white-space: nowrap;
}

.p-plan-card__breakdown-row dd {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.6rem;
  color: var(--color-main4);
}

.p-plan-card__diff {
  margin-top: 1.2rem;
  text-align: right;
  font-size: 1.3rem;
  font-weight: 500;
}

.p-plan-card__diff.is-up { color: #4C8C6B; }
.p-plan-card__diff.is-down { color: var(--color-main3); }

.p-plan-card__sub {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: var(--color-gray3);
}

.p-result__note {
  margin-top: 4rem;
  font-size: 1.2rem;
  color: var(--color-main4);
  background: rgba(172, 147, 118, .1);
  border-radius: .8rem;
  padding: 1.6rem 2rem;
  display: none;
  line-height: 1.9;
}
@media screen and (min-width: 800px) {
  .p-result__note.is-active {
    width: 100vw;
    max-width: 92rem;
    margin-left: 50%;
    margin-top: 6rem;
    transform: translateX(-50%);
    box-sizing: border-box;
  }
}

.p-result__note.is-active { display: block; }

.p-result__disclaimer {
  margin-top: 1.6rem;
  font-size: 1.1rem;
  color: var(--color-gray3);
  line-height: 1.9;
}
@media screen and (min-width: 800px) {
  .p-result__disclaimer {
    width: 100vw;
    max-width: 100rem;
    margin-left: 50%;
    margin-top: 1.6rem;
    transform: translateX(-50%);
    padding: 0 4rem;
  }
}

/* ==========================================================================
   cta
========================================================================== */
.p-cta {
  margin-top: 8rem;
  text-align: center;
  padding: 4rem 2.4rem;
  background: var(--color-white);
  border-radius: 1.6rem;
}
@media screen and (min-width: 800px) {
  .p-cta {
    width: 100vw;
    max-width: 92rem;
    margin-left: 50%;
    margin-top: 12rem;
    transform: translateX(-50%);
    box-sizing: border-box;
  }
}

.p-cta__lead {
  font-size: 1.5rem;
  line-height: 1.9;
  font-weight: 500;
}

.p-cta__buttons {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.c-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 5.8rem;
  border-radius: 3.2rem;
  font-size: 1.4rem;
  letter-spacing: .05em;
  transition: opacity .25s ease, background .25s ease;
}

.c-btn svg {
  width: 2rem;
  height: 2rem;
}

.c-btn--primary {
  background: var(--color-main1);
  color: var(--color-white);
}
.c-btn--primary svg { fill: var(--color-white); }
.c-btn--primary:hover { opacity: .85; }

.c-btn--secondary {
  background: #06C755;
  color: var(--color-white);
}
.c-btn--secondary svg { fill: var(--color-white); }
.c-btn--secondary:hover { opacity: .85; }

/* ==========================================================================
   pc
========================================================================== */
@media screen and (min-width: 800px) {
  .p-hero__heading { font-size: 3.2rem; }

  .p-result__list {
    flex-direction: row;
  }

  .p-plan-card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .p-plan-card__result-num {
    font-size: 4rem;
  }

  .p-plan-card__breakdown-row {
    font-size: 1.2rem;
    gap: .4rem;
  }

  .p-plan-card__breakdown-row dd {
    font-size: 1.5rem;
  }

  .p-cta__buttons {
    flex-direction: row;
    justify-content: center;
  }

  .c-btn { width: 27rem; }
}
