/* =========================================
   薮崎税務会計事務所
   PRICE PAGE
========================================= */

.yabuzaki-price-page {
  --orange: #f47a00;
  --orange-dark: #d95f00;
  --red: #b85f58;
  --navy: #183765;
  --pale: #fff0df;
  --hero-bg: #fbf3ea;
  --text: #242424;
  --sub: #666666;
  --line: #ead8ca;

  width: 100%;
  color: var(--text);
}



/* =========================================
   PAGE INDEX
========================================= */

.yabuzaki-price-index {
position: relative;
  z-index: 3;
  padding: 0 20px;
  background: transparent;
}

.yabuzaki-price-index__inner {
 width: min(1200px, 100%);
  margin: -65px auto 0;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  background: #fff;
  border: 1px solid var(--line);
}

.yabuzaki-price-index a {
  padding: 25px 20px;

  color: var(--navy);
  text-align: center;
  text-decoration: none;

  border-right: 1px solid var(--line);

  font-size: 14px;
  font-weight: 600;

  transition: 0.25s;
}

.yabuzaki-price-index a:last-child {
  border-right: 0;
}

.yabuzaki-price-index a span {
  display: block;
  margin-bottom: 7px;

  color: var(--orange);

  font-family:
    "Times New Roman",
    serif;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.yabuzaki-price-index a:hover {
  color: #fff;
  background: var(--orange);
}

.yabuzaki-price-index a:hover span {
  color: #fff;
}


/* =========================================
   共通見出し
========================================= */

.yabuzaki-price-section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 70px;
  text-align: center;
}

.yabuzaki-price-common-label {
  margin: 0 0 15px;

  color: var(--orange);

  font-family:
    "Times New Roman",
    "Yu Mincho",
    serif;

  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.17em;
}

.yabuzaki-price-common-title {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: var(--text) !important;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;

  font-size: clamp(31px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.07em;
}

.yabuzaki-price-common-title::before,
.yabuzaki-price-common-title::after {
  content: none !important;
  display: none !important;
}

.yabuzaki-price-section-lead {
  margin: 25px 0 0;

  color: var(--sub);

  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.yabuzaki-price-heading-line {
  display: block;
  width: 28px;
  height: 2px;
  margin: 30px auto 0;

  background: var(--orange);
}


/* =========================================
   PRICE PLAN
========================================= */

.yabuzaki-price-plan {
  padding: 110px 40px 130px;
  background: #fff;
}

.yabuzaki-price-plan__inner {
  width: min(1180px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.yabuzaki-price-plan__item {
  overflow: hidden;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.045);
}


/* -----------------------------------------
   カード上部
----------------------------------------- */

.yabuzaki-price-plan__head {
  padding: 28px 30px;
  color: #fff;
}

.yabuzaki-price-plan__item--orange
.yabuzaki-price-plan__head {
  background: var(--orange);
}

.yabuzaki-price-plan__item--navy
.yabuzaki-price-plan__head {
  background: var(--navy);
}

.yabuzaki-price-plan__item--red
.yabuzaki-price-plan__head {
  background: var(--red);
}

.yabuzaki-price-plan__head span {
  display: block;
  margin-bottom: 9px;

  color: #fff;

  font-family:
    "Times New Roman",
    serif;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.yabuzaki-price-plan__head h3 {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;

  color: #fff !important;

  font-size: 20px;
  font-weight: 600;
}

.yabuzaki-price-plan__head h3::before,
.yabuzaki-price-plan__head h3::after {
  content: none !important;
  display: none !important;
}


/* -----------------------------------------
   カード本文
----------------------------------------- */

.yabuzaki-price-plan__body {
  padding: 38px 30px 42px;
}

.yabuzaki-price-plan__name {
  margin: 0 0 25px;

  color: var(--navy);

  font-size: 17px;
  font-weight: 600;
}

.yabuzaki-price-plan__price {
  display: flex;
  align-items: baseline;
  gap: 7px;

  margin-bottom: 30px;
}

.yabuzaki-price-plan__price span {
  font-size: 13px;
  font-weight: 600;
}

.yabuzaki-price-plan__price strong {
  color: var(--navy);

  font-family:
    "Times New Roman",
    serif;

  font-size: 50px;
  font-weight: 500;
  line-height: 1;
}

.yabuzaki-price-plan__price small {
  font-size: 15px;
  font-weight: 600;
}

.yabuzaki-price-plan__body > p:last-child {
  margin: 0;

  color: #555;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}


/* =========================================
   INCLUDED SERVICE
========================================= */

.yabuzaki-price-included {
  padding: 120px 40px 130px;
  background: var(--pale);
}

.yabuzaki-price-included__inner {
  width: min(1050px, 100%);
  margin: 0 auto;
}

.yabuzaki-price-included article {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;

  padding: 34px 0;

  border-bottom: 1px solid #e7c6ac;
}

.yabuzaki-price-included article:first-child {
  border-top: 1px solid #e7c6ac;
}

.yabuzaki-price-included article > span {
  color: var(--orange);

  font-family:
    "Times New Roman",
    serif;

  font-size: 28px;
  font-weight: 400;
}

.yabuzaki-price-included article h3 {
  margin: 0 0 12px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;

  color: var(--navy) !important;

  font-size: 19px;
  font-weight: 600;
}

.yabuzaki-price-included article h3::before,
.yabuzaki-price-included article h3::after {
  content: none !important;
  display: none !important;
}

.yabuzaki-price-included article p {
  margin: 0;

  color: #555;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}


/* =========================================
   OTHER SERVICES
========================================= */

.yabuzaki-price-other {
  padding: 120px 40px 130px;
  background: #fff;
}

.yabuzaki-price-other__inner {
  width: min(1100px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.yabuzaki-price-other article {
  position: relative;

  min-height: 250px;
  padding: 40px;

  background: #fff;

  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);

  border-radius: 10px;
}
.yabuzaki-price-other article > span {
  display: block;
  margin-bottom: 26px;

  color: var(--orange);

  font-family:
    "Times New Roman",
    serif;

  font-size: 30px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1;
}

.yabuzaki-price-other article h3 {
  margin: 0 0 16px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;

  color: var(--navy) !important;

  font-size: 20px;
  font-weight: 600;
}

.yabuzaki-price-other article h3::before,
.yabuzaki-price-other article h3::after {
  content: none !important;
  display: none !important;
}

.yabuzaki-price-other article p {
  margin: 0 0 28px;

  color: #555;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}

.yabuzaki-price-other article strong {
  color: var(--red);

  font-size: 14px;
  font-weight: 600;
}


/* =========================================
   ABOUT PRICE
========================================= */

.yabuzaki-price-about {
  padding: 120px 40px;

  background: var(--red);
  color: #fff;
}

.yabuzaki-price-about__inner {
  width: min(1080px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 38% 62%;
  gap: 90px;
}

.yabuzaki-price-about .yabuzaki-price-common-label {
  color: #fff !important;
}

.yabuzaki-price-about .yabuzaki-price-common-title {
  color: #fff !important;
}

.yabuzaki-price-about__content p {
  margin: 0 0 20px;

  color: #fff;

  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

.yabuzaki-price-about__highlight {
  margin-top: 45px;
  padding: 30px 35px;

  border: 1px solid rgba(255, 255, 255, 0.4);
}

.yabuzaki-price-about__highlight span {
  display: block;
  margin-bottom: 12px;

  color: #fff;

  font-family:
    "Times New Roman",
    serif;

  font-size: 11px;
  letter-spacing: 0.15em;
}

.yabuzaki-price-about__highlight strong {
  color: #fff;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;

  font-size: 21px;
  font-weight: 500;
  line-height: 1.8;
}


/* =========================================
   CONTACT
========================================= */

.yabuzaki-price-contact {
  padding: 100px 40px;

  background: var(--pale);
}

.yabuzaki-price-contact__inner {
  width: min(1080px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.yabuzaki-price-contact__label {
  margin: 0 0 15px;

  color: var(--orange);

  font-family:
    "Times New Roman",
    serif;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.yabuzaki-price-contact__title {
  margin: 0 0 20px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: var(--navy) !important;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Noto Serif JP",
    serif;

  font-size: 32px;
  font-weight: 500;
  line-height: 1.65;
}

.yabuzaki-price-contact__title::before,
.yabuzaki-price-contact__title::after {
  content: none !important;
  display: none !important;
}

.yabuzaki-price-contact__text {
  margin: 0;

  color: #333;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}


/* -----------------------------------------
   CONTACT BUTTONS
----------------------------------------- */

.yabuzaki-price-contact__buttons {
  display: grid;
  gap: 12px;
}

.yabuzaki-price-contact__button {
  min-height: 72px;
  padding: 15px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #fff !important;
  text-decoration: none !important;

  border-radius: 5px;

  transition:
    transform 0.2s,
    opacity 0.2s;
}

.yabuzaki-price-contact__button *,
.yabuzaki-price-contact__button span,
.yabuzaki-price-contact__button small {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.yabuzaki-price-contact__button--reserve {
  background: var(--orange) !important;
}

.yabuzaki-price-contact__button--line {
  background: #06c755 !important;
}

.yabuzaki-price-contact__button small {
  display: block;
  margin-bottom: 3px;

  font-size: 10px;
  font-weight: 500;
}

.yabuzaki-price-contact__button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1000px) {

  .yabuzaki-price-hero__inner {
    width: min(1100px, calc(100% - 60px));
    grid-template-columns: 48% 52%;
    gap: 40px;
  }

  .yabuzaki-price-hero__heading {
    padding-right: 25px;
  }

  .yabuzaki-price-hero__message {
    padding-left: 50px;
  }

  .yabuzaki-price-plan__inner {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .yabuzaki-price-about__inner {
    gap: 50px;
  }

}


/* =========================================
   SMARTPHONE
========================================= */

@media screen and (max-width: 767px) {

  /* HERO */
  .yabuzaki-price-hero::before {
    top: -100px;
    right: -90px;

    width: 250px;
    height: 250px;
  }

  .yabuzaki-price-hero__inner {
    width: 100%;
    min-height: 0;

    display: block;

    padding: 70px 28px 65px;
  }

  .yabuzaki-price-hero__heading {
    padding: 0;
  }

  .yabuzaki-price-hero__label {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .yabuzaki-price-hero__title {
    margin-bottom: 38px;
    font-size: 30px;
  }

  .yabuzaki-price-page .yabuzaki-page-catch {
    font-size: clamp(28px, 8vw, 35px);
    line-height: 1.65;
  }

  .yabuzaki-price-page .yabuzaki-page-catch span {
    white-space: normal;
  }

  .yabuzaki-price-hero__message {
    margin-top: 48px;
    padding: 38px 0 0;
  }

  .yabuzaki-price-hero__message::before {
    top: 0;
    left: 0;

    width: 45px;
    height: 1px;
  }

  .yabuzaki-price-hero__message p {
    font-size: 14px;
    line-height: 2;
  }

  .yabuzaki-price-hero__background {
    right: -20px;
    bottom: -20px;

    font-size: 95px;
  }


  /* PAGE INDEX */
  .yabuzaki-price-index {
    padding: 0 20px 65px;
  }

  .yabuzaki-price-index__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .yabuzaki-price-index a {
    padding: 20px 10px;
    border-bottom: 1px solid var(--line);
  }

  .yabuzaki-price-index a:nth-child(2) {
    border-right: 0;
  }


  /* COMMON */
  .yabuzaki-price-section-heading {
    margin-bottom: 50px;
  }

  .yabuzaki-price-common-title {
    font-size: 29px;
  }

  .yabuzaki-price-section-lead br {
    display: none;
  }


  /* PRICE */
  .yabuzaki-price-plan,
  .yabuzaki-price-included,
  .yabuzaki-price-other {
    padding: 80px 22px;
  }

  .yabuzaki-price-plan__body {
    padding: 32px 25px 36px;
  }

  .yabuzaki-price-plan__price strong {
    font-size: 44px;
  }


  /* INCLUDED */
  .yabuzaki-price-included article {
    grid-template-columns: 50px 1fr;
    gap: 15px;

    padding: 28px 0;
  }

  .yabuzaki-price-included article > span {
    font-size: 22px;
  }


  /* OTHER */
  .yabuzaki-price-other__inner {
    grid-template-columns: 1fr;
  }

  .yabuzaki-price-other article {
    min-height: 0;
    padding: 32px 25px;
  }


  /* ABOUT */
  .yabuzaki-price-about {
    padding: 75px 28px;
  }

  .yabuzaki-price-about__inner {
    display: block;
  }

  .yabuzaki-price-about__heading {
    margin-bottom: 45px;
  }

  .yabuzaki-price-about__highlight {
    padding: 25px 22px;
  }


  /* CONTACT */
  .yabuzaki-price-contact {
    padding: 75px 25px;
  }

  .yabuzaki-price-contact__inner {
    display: block;
  }

  .yabuzaki-price-contact__title {
    font-size: 28px;
  }

  .yabuzaki-price-contact__buttons {
    margin-top: 40px;
  }

}