/*
Theme Name: Ace Axis05
*/

:root {
  --font-family-gothic:
    "Noto Sans JP", 游ゴシック体, "Yu Gothic", YuGothic, sans-serif;
  --font-family-mplus: "M PLUS 1p", sans-serif;

/* カラー変数 */

/* ゴールド系（メインカラー） */
--color-primary: #9a691d;
--color-primary-light: #d6b769;
--color-primary-dark: #714c13;
--color-primary-review: #b3882e;
--color-primary-review-dark: #5e3806;

/* 赤色系（サブ強調色・高価買取訴求） */
--color-secondary: #b3121b;
--color-secondary-dark: #8f0d15;

/* シャンパンゴールド（ハイライト） */
--color-highlight: #f0ca59;

/* アイボリー・ベージュ系（背景） */
--color-bg-gold-light: #f4efe7;
--color-bg-gold-medium: #eadbc2;
--color-bg-gold-very-light: #fcfaf6;

/* アクセント・文字色 */
--color-champagne: #dcccad;
--color-beige-dark: #ab9065;
--color-red: #b3121b;
--color-red-light: #d33b42;
--color-brown: #4f351d;
--color-text-dark: #241d16;
}

:where(html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video) {
  padding: 0;
  margin: 0;
  outline: 0;
  border: 0;
}

:where(*, *::before, *::after) {
  box-sizing: border-box;
}

:where(.visually-hidden) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(.skip-link):focus {
  position: fixed;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 1rem;
  overflow: visible;
  clip: auto;
  background: #fff;
  border: 2px solid #dc2626;
  color: #292524;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

  &:has(img) {
    transition: filter 0.3s ease;

    @media (any-hover: hover) {

      &:hover {
        filter: opacity(0.7);
      }
    }
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  background-color: #fff;
  color: #634f32;
  --color-blue-dark: #1e2d3c;
  --color-red-light: #ff4c5b;
}

.container {
  max-width: 60rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--narrow {
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* PC時非表示 */
.pc--none {
  @media (width >=768px) {
    display: none;
  }
}

/* SP時非表示 */
.sp--none {
  @media (width <=767px) {
    display: none;
  }
}

/*改行*/
.br-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .br-sp {
    display: inline;
  }

  .br-pc {
    display: none;
  }
}

/* 見出し */
.section-title--sm {
  --title-padding-bottom: 56px;
  --title-font-size: 48px;
  --title-before-font-size: 32px;

  display: flex;
  flex-direction: column;
  row-gap: 10px;
  line-height: 1;
  align-items: center;
  font-size: var(--title-font-size);
  font-weight: 700;
  color: #634f32;
  padding-block-end: var(--title-padding-bottom);

  @media (width <=767px) {
    --title-padding-bottom: 24px;
    --title-font-size: 20px;
    --title-before-font-size: 18px;
    row-gap: 5px;
  }

  &::before {
    content: attr(data-title--en);
    font-size: var(--title-before-font-size);
    color: #A2762D;
    text-transform: capitalize;
  }
}

/* ========================================
   Header Styles - BEM記法準拠
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #fff;
  width: 100%;

  @media (width <=767px) {
    display: none;
  }
}

.header-inner {
  --header-inner-gap: 14px;
  --header-inner-padding-block-end: 16px;
  --header-inner-padding-block-start: 0;

  display: flex;
  flex-direction: column;
  gap: var(--header-inner-gap);
  width: min(calc(100% - 30px), 1100px);
  padding-block-start: var(--header-inner-padding-block-start) var(--header-inner-padding-block-end);
  margin-inline: auto;

  @media (width <=1100px) {
    --header-inner-padding-block-start: 10px;
  }

}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Arial, Helvetica, sans-serif;
  padding: 15px 20px;

  @media (width <=1100px) {
    padding: 10px 0;
  }

  @media (width <=767px) {
    padding-block: 10px;
  }
}


.header-logo {
  line-height: 1;
  max-width: min(70%, 300px);

  @media (width >=768px) {
    flex: 0 1 auto;
    max-width: clamp(260px, 40vw, 400px);
    min-width: 200px;
  }

  @media (width <=767px) {
    align-self: center;
  }

  a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 4px;
    transition: opacity 0.3s ease;

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
      }
    }

    @media (width >=768px) {
      row-gap: 7px;
    }
  }
}

.header-logo__tagline {
  font-family: var(--font-family-gothic);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  color: #634f32;
  width: 100%;

  @media (width >=768px) {
    font-size: min(round(1.15svw, 1px), 14px);
    margin-left: 5px;
  }
}

.header-logo__name {
  font-family: var(--font-family-gothic);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #634f32;

  @media (width >=768px) {
    font-size: min(round(2.47svw, 1px), 24px);
  }
}

.header-store-name {
  font-size: 23px;
}

.header-contact {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: flex-end;
}

.header-form {
  flex: 0 1 clamp(140px, 18vw, 230px);
  min-width: 0;

  @media (width <=767px) {
    display: none;
  }

  img {
    @media (width >=768px) {
      width: 100%;
      height: auto;
      display: block;
      transition: opacity 0.3s ease;

      &:hover {
        opacity: 0.7;
      }
    }
  }

  >a {
    display: block;
  }

}

.header-tel {
  display: flex;
  column-gap: 6px;
  white-space: nowrap;
  padding-top: 10px;
  flex: 0 1 auto;
  min-width: 0;

  @media (width <=767px) {
    display: none;
  }

  >a {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-weight: 700;
    color: #634f32;
  }
}

.header-tel__time {
  font-size: min(0.92svw, 12px);
  padding-left: 3px;
}

.header-tel__nember {
  font-size: min(3.2svw, 40px);

  &::before {
    content: "";
    background-size: contain;
    background-image: url('/wp-content/themes/ace-axis05/image/content/icon-tel.svg');
    display: inline-block;
    width: min(2.3svw, 28px);
    aspect-ratio: 1;
    background-repeat: no-repeat;
    margin-right: 8px;
  }
}

.header-contacts__icons {
  display: flex;
  margin: 8px 10px 8px 0;
  gap: 8px;

  @media (width >=768px) {
    display: none;
  }

  li {
    flex: 1;

    img {
      width: 50px;
    }
  }
}

.header-hamburger {
  position: relative;
  display: none;
  width: 24px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;

  @media (width <=1100px) {
    display: block;
  }
}

.header-hamburger__line {
  position: absolute;
  left: 0;
  display: block;
  width: 24px;
  height: 2px;
  background: #1f8cf9;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;

  &:nth-child(1) {
    top: 0;
  }

  &:nth-child(2) {
    top: 9px;
  }

  &:nth-child(3) {
    top: 18px;
  }
}

.header-hamburger--active {
  .header-hamburger__line:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
  }

  .header-hamburger__line:nth-child(2) {
    opacity: 0;
  }

  .header-hamburger__line:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
  }
}

.header-close {
  display: none;
  gap: 8px;
  align-items: center;
  padding: 10px 20px;
  margin-inline: auto;
  cursor: pointer;
  background: transparent;
  border: none;

  @media (width <=1100px) {
    display: flex;
  }
}

.header-close__icon {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 20px;
}

.header-close__line {
  position: absolute;
  left: 0;
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: #323333;
  border-radius: 3px;

  &:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
  }

  &:nth-child(2) {
    top: 9px;
    transform: rotate(-45deg);
  }
}

.header-close__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-gray);
}

.spacer {
  display: none;
}


/* ========================================
   ファーストビュー
   ======================================== */
.hero_image {
  @media (width >=768px) {
    text-align: center;
    background-image: url(assets/images/content/fv-pc-1920.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: auto 100%;
  }

  img {
    width: 100%;
  }
}

.hero_image_inner {
  @media (width >=768px) {
    width: min(83.34svw, 1100px);
    margin-inline: auto;
  }
}


/* Catchcopy */
.catchcopy {
  padding-block: 2rem;
  text-align: center;
  background-color: #fff;
}

.catchcopy>*+* {
  margin-top: 1.5rem;
}

.catchcopy-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.625;
  color: #dc2626;
}

.catchcopy-subtitle {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.625;
  color: #dc2626;
}

.catchcopy-subtitle__note {
  font-size: 1rem;
}

.catchcopy-br--mobile {
  display: inline;
}

.catchcopy-images>*+* {
  margin-top: 1rem;
}

.catchcopy-images img {
  display: block;
  height: auto;
  margin-inline: auto;
}

@media (min-width: 769px) {
  .catchcopy {
    padding-block: 3rem;
  }

  .catchcopy-title {
    font-size: 1.5rem;
  }

  .catchcopy-subtitle {
    font-size: 1.25rem;
  }

  .catchcopy-subtitle__note {
    font-size: 1.125rem;
  }

  .catchcopy-br--mobile {
    display: none;
  }
}

/* Services */
.services {
  padding-block: 2.5rem;
  background-color: #fafaf9;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.services-card {
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 0.5rem;
  transition: box-shadow 0.2s;
}

/* .services-card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
} */

.services-card__image {
  display: block;
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.services-card__body {
  padding: 1rem;
}

.services-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #292524;
  text-align: center;
}

.services-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #57534e;
}

@media (min-width: 769px) {
  .services {
    padding-block: 4rem;
  }

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

/* Main visual */
.main-visual {
  padding-block: 2rem;
  text-align: center;
  background-color: #fff;
}

.main-visual__image {
  display: block;
  height: auto;
  margin-inline: auto;
}

@media (min-width: 769px) {
  .main-visual__image {
    max-width: 750px;
  }
}

/* Prices */
.prices {
  padding-block: 2.5rem;
  background-color: #fff;
}

.prices-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #292524;
  text-align: center;
}

.prices-block {
  margin-bottom: 2rem;
  text-align: center;

  @media (width >=767px) {
    width: 600px;
    margin: 0 auto 2rem;
  }
}

.prices-block img {
  display: block;
  height: auto;
  margin-inline: auto;
}

.prices-block--lead img {
  margin-bottom: 1rem;
}

.prices-lead__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #dc2626;
}

.prices-table__wrap {
  margin-bottom: 2rem;
  overflow-x: auto;
}

.prices-table__wrap--sm {
  margin-bottom: 1rem;
}

.prices-table__wrap--last {
  margin-bottom: 0;
}

.prices-table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.prices-table--compact {
  font-size: 0.75rem;
}

:where(.prices-table) :where(th, td) {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e7e5e4;
}

:where(.prices-table--market) :where(th, td) {
  padding: 0.75rem 1rem;
}

.prices-table thead tr {
  background-color: #f5f5f4;
}

.prices-row--striped {
  background-color: #fffbeb;
}

.prices-row--head {
  background-color: #f5f5f4;
}

:where(.prices-cell__label) {
  font-weight: 700;
  color: #292524;
  text-align: left;
}

:where(.prices-cell__label--medium) {
  font-weight: 500;
  color: #44403c;
  text-align: left;
}

.prices-cell__price {
  font-weight: 700;
  color: #dc2626;
  text-align: right;
}

.prices-note {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #78716c;
  text-align: right;
}

.prices-section__title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #292524;
  text-align: center;
}

.prices-section__title--sm {
  font-size: 1rem;
}

.prices-footnote {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #57534e;
}

@media (min-width: 769px) {
  .prices {
    padding-block: 4rem;
  }

  .prices-title {
    font-size: 1.875rem;
  }

  .prices-lead__title {
    font-size: 1.5rem;
  }

  .prices-table {
    font-size: 1rem;
  }

  .prices-table--compact {
    font-size: 0.875rem;
  }

  .prices-section__title {
    font-size: 1.25rem;
  }

  .prices-section__title--sm {
    font-size: 1.125rem;
  }
}

/* About */
.about {
  padding-block: 2.5rem;
  background-color: #fafaf9;
}

.about-inner>*+* {
  margin-top: 2rem;
}

.about-image {
  display: block;
  height: auto;
  margin-inline: auto;
}

.about-card {
  padding: 1.5rem;
  background-color: #fff;
  border-left: 4px solid #f59e0b;
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.about-card__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #292524;
}

.about-card__text {
  margin: 0 0 1rem;
  line-height: 1.625;
  color: #44403c;
}

.about-card__image {
  display: block;
  height: auto;
  margin-inline: auto;
  border-radius: 0.375rem;
}

.about-notice {
  padding: 1.25rem;
  text-align: center;
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
}

.about-notice__text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.625;
  color: #92400e;
}

.about-info__box {
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 0.5rem;
}

.about-info__head {
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #fff;
  background-color: #f59e0b;
}

.about-info__body {
  padding: 1.25rem;
}

.about-info__body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #44403c;
}

.about-info__body p+p {
  margin-top: 0.75rem;
}

@media (min-width: 769px) {
  .about {
    padding-block: 4rem;
  }

  .about-card__title {
    font-size: 1.5rem;
  }

  .about-notice__text {
    font-size: 1rem;
  }
}

/* Footer */
.footer {
  padding-block: 0;
  color: #222;
  background: #f0f0f0;
  margin-top: 100px;

  @media (width <=767px) {
    margin-top: 50px;
  }
}

.footer_sitemap {
  padding-block: 20px;
  background: #fff;

  ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;

    li {
      &:nth-child(n + 2)::before {
        content: "｜";
      }

      a {
        color: #333;
        margin: 0 1em;
        font-size: 14px;
        transition-property: color;
        transition-duration: 0.3s;
        transition-timing-function: ease;

        &:hover {
          @media (hover: hover) {
            text-decoration: underline;
          }
        }
      }
    }
  }
}

.footer_sitemap_list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;

  li {
    a {
      margin: 0 1em;
      font-size: 14px;
      color: #333;
    }
  }
}

.footer_copyright {
  padding-block: 20px;
  margin: 0;
  font-size: 12px;
  color: #222;
  text-align: center;
  background: #f0f0f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li+li {
  margin-top: 0.5rem;
}

.footer-list a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: #fff;
}

.footer-shop p {
  margin: 0;
  font-size: 0.875rem;
}

.footer-shop p+p {
  margin-top: 0.5rem;
}

.footer-shop__name {
  font-weight: 500;
  color: #fff;
}

.footer-line img {
  width: 8rem;
  margin-top: 1rem;
  border-radius: 0.25rem;
}

.footer-line__note {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.footer-copy {
  max-width: 80rem;
  margin: 0 auto;
  font-size: 0.75rem;
  text-align: center;
}

/* 下層ページ共通 */
.page_container {
  width: min(100%, 1000px);
  margin: 100px auto 0;

  @media (width <=1000px) {
    padding-inline: 20px;
  }

  @media (width <=767px) {
    margin: 40px auto 0;
  }
}

@media (width >=768px) {
  .page_container.company {
    margin: 80px auto 0;
  }
}

.comapny_info {
  width: inherit;
  line-height: 2.5;
  border-collapse: collapse;

  @media (width <=767px) {
    font-size: 14px;
    margin-top: -20px;
  }

  tbody {
    tr {
      border-bottom: 1px solid #ddd;

      &:last-of-type {
        border-bottom: none;
      }

      @media (width <=767px) {
        display: flex;
        flex-direction: column;
        padding: 1em 0;
      }
    }

    th,
    td {
      padding: 20px 5px 20px 50px;

      @media (width <=767px) {
        padding-inline-start: 20px;
      }
    }

    th {
      width: 25%;
      font-weight: bold;
      vertical-align: top;
      text-align: left;

      @media (width <=767px) {
        text-align: left;
        padding: 0;
      }
    }

    td {
      width: 75%;

      @media (width <=767px) {
        width: auto;
        padding: 0 0 0 1em;
        line-height: 1.8;
      }
    }
  }
}

.page-title {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 32px 50px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-blue-dark);
  text-align: center;

  &::after {
    display: block;
    width: 96px;
    height: 6px;
    margin-inline: auto;
    content: "";
    background-color: var(--color-red-light);
    border-radius: 6px;
  }
}

.breadcrumbs {
  width: min(100%, 1000px);
  margin: 0 auto;
  font-size: 14px;

  @media (width <=1000px) {
    padding-inline: 20px;
  }

  a {
    color: #333;
    transition:
      background-color 0.2s ease,
      color 0.2s ease;

    @media (any-hover: hover) {
      &:hover {
        color: #999;
      }
    }
  }
}

.pan1 {
  padding: 0 0.8em;
}

@media (width >=768px) {
  .page_container.privacy {
    margin: 80px auto 0;
  }
}

.privacy_items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-block-start: 40px;
  font-size: 14px;

  >dl {

    >dt,
    >dd {
      font-size: 14px;

      @media (width >=768px) {
        font-size: 16px;
      }
    }

    >dt {
      margin-block-end: 5px;
      font-weight: 700;

      @media (width <=767px) {
        margin-block-end: 3px;
      }
    }
  }
}

.privacy_address {
  padding: 25px;
  margin-block-start: 50px;
  font-size: 14px;
  font-style: normal;
  border: solid 1px #ccc;

  @media (width >=768px) {
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ACF group-item（prices-table 系スタイルを適用） */
.group-item__container {
  margin-bottom: 2rem;
}

.group-item {
  margin-bottom: 2rem;
}

.group-item__title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #292524;
  text-align: center;
}

.group-item__table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.group-item__table :where(td) {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e7e5e4;
}

.group-item__table tr:nth-child(even) {
  background-color: #fffbeb;
}

.group-item__name {
  font-weight: 500;
  color: #44403c;
  text-align: left;
}

.group-item__price {
  font-weight: 700;
  color: #dc2626;
  text-align: right;
}

.group-item__supplement {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #78716c;
  text-align: right;
}

@media (min-width: 769px) {
  .group-item__title {
    font-size: 1.25rem;
  }

  .group-item__table {
    font-size: 1rem;
  }
}


/* -----------------------------------------------------
	CTA（LP cv.html 相当）
----------------------------------------------------- */
.cta-copy {
  /* background-image: url("/images/conversion/cta-copy-img-pc.webp");
  background-size: cover;
  padding-block: 8px 12px;
  font-family: "Noto Sans JP", 游ゴシック体, "Yu Gothic", YuGothic, sans-serif; */

  @media (width >=768px) {
    padding: 0;
  }

  >p {
    font-size: clamp(1rem, 0.7573rem + 1.0356vw, 2rem);
    text-align: center;
    color: #fff;
    line-height: 1;
    font-weight: 700;

    >span {
      font-size: clamp(1.125rem, 0.8519rem + 1.165vw, 2.25rem);
      color: #f5c66e;

      >span {
        font-size: clamp(2rem, 1.5146rem + 2.0712vw, 4rem);
      }
    }
  }
}

.cta-contact {
  padding-block: 30px 40px;
  background-image: url(assets/images/conversion/cta-bg-sp.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto;
  background-size: cover;

  @media (width >=768px) {
    padding-block: 20px 60px;
    /* background-size: 50% auto; */
    background-image: url(assets/images/conversion/cta-bg-pc.webp);
  }

}

.cta-contact__inner {
  margin-inline: auto;
  width: calc(100% - 32px);
  container-type: inline-size;

  @media (width >=768px) {
    width: min(calc(1520/1920*100svw), 1520px);
  }
}

/* .cta-contact__body {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url(images/conversion/cta-img-02-pc.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  aspect-ratio: 1000 / 142;
  padding-bottom: 20px;

  @media (width <=1100px) {
    padding: 0;
    padding-bottom: 7px;
  }

  @media (width <=767px) {
    flex-direction: column;
    row-gap: 12px;
    padding: 25px 15px 20px;
    border-radius: 8px;
  }

  @media (width >=768px) {
    justify-content: center;
    gap: min(1.5svw, 30px);
  }
} */

.cta-contact__body {
  background-color: #fff;
  border-radius: 16px;
  padding: 40px 16px;
  display: flex;
  align-items: center;

  @media (width <=1100px) {
    padding: 30px 16px;
  }

  @media (width <=767px) {
    flex-direction: column;
    row-gap: 12px;
    padding: 25px 15px 20px;
    border-radius: 8px;
  }

  @media (width >=768px) {
    justify-content: center;
    gap: min(1.5svw, 30px);
  }
}


.cta-contact__items {
  display: flex;

  @media (width <=767px) {
    flex-direction: column;
    gap: 3px;
  }
}

.cta-contact__item {
  @media (width >=768px) {
    flex: min(22.34svw, 429px) 0 1;
  }
}

.cta-contact__item img {
  @media (width <=767px) {
    margin-left: 2px;
  }
}

.cta-contact__tel {
  @media (width >=768px) {
    flex: 523px 0 1;
  }
}

.cta-address {
  background-color: #fff;
  display: flex;
  column-gap: 67px;
  font-style: normal;
  justify-content: center;
  white-space: nowrap;

  @media (width >=900px) {
    margin-top: -10px;
  }
}

@media (width <=900px) {
  .cta-address {
    flex-direction: column;
  }
}

@media (width <=767px) {
  .cta-address {
    padding-inline: 0;
  }
}

.cta-address__tel {
  font-family: Arial, sans-serif;
}

.cta-tel__number {
  --font-size: min(3.85svw, 74px);
  font-size: var(--font-size);
  display: block flex;
  align-items: center;
  line-height: 1.2;
  color: #634f32;
  font-weight: 700;

  @media (width <=900px) {
    line-height: 1;
  }

  @media (width <=767px) {
    line-height: 1.2;
    --font-size: min(12.8svw, 44px);
  }
}

.cta-tel__number.cta-tel__number::before {
  content: "";
  background-image: url('/wp-content/themes/ace-axis05/image/content/icon-tel.svg');
  width: min(2.8svw, 50px);
  aspect-ratio: 1;
  margin-right: 10px;
  display: inline-block;
  translate: 0 0;
  background-size: contain;

  @media (width <=767px) {
    display: none;
  }
}

.cta-address__topic {
  display: block;
  /* padding-block-start: 10px; */
  font-size: min(1.15svw, 23px);
  font-weight: 700;

  @media (width <=900px) {
    font-size: 10px;
  }

  @media (width <=800px) {
    font-size: 9px;
  }

  @media (width <=767px) {
    margin-left: 5px;
    font-size: 12px;
    padding-block-start: 2px;
  }
}

.cta-message__tel {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 5px;

  &::before {
    content: "";
    background-image: url('/wp-content/themes/ace-axis05/image/content/icon-tel.svg');
    background-size: contain;
    width: 15px;
    display: inline-block;
    aspect-ratio: 1;
    background-repeat: no-repeat;
    margin-top: 0;
  }

  @media (width >=768px) {
    display: none;
  }
}

.cta-contact__head picture,
.cta-contact__head img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-contact__item picture,
.cta-contact__item img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cta-contact__footer {
  display: flex;
  justify-content: center;
}

.cta-contact__footer-txt {
  font-size: 15px;
  font-weight: bold;
  color: #634f32;
  font-size: 1.5cqw;
  margin-top: 10px;

  @media (width <=767px) {
    font-size: 3.1cqw;
  }
}

/* お問い合わせフォーム（セクション見出し） */
.contact_form {
  padding-block-start: 44px;
}

@media (width >=768px) {
  .contact_form {
    max-width: 1000px;
    margin-inline: auto;
    padding-block-start: 120px;
  }
}

.contact_form_title {
  padding-block-end: 30px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact_form_title::after {
  content: "";
  display: block;
  height: 6px;
  width: 96px;
  background-color: #dc2626;
  border-radius: 6px;
  margin-inline: auto;
}

/* WordPress 管理バー */
.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}


/*見出し*/
body h2.ace500_m1 {
  text-align: center;
  line-height: 1.6;
  margin: -10px 0 40px 0;
  padding-top: 12px;
  font-size: 38px;
  font-family: 'Noto Serif JP', serif;
}

span.ace500_s1 {
  display: block;
  font-size: 50%;
}

@media screen and (max-width: 750px) {
  body h2.ace500_m1 {
    font-size: 22px;
    margin: -10px 0 30px 0;
  }
}

/* ----------------------------------------------------------------------
 テーマ調整
---------------------------------------------------------------------- */
/*基本*/
#header {
  height: 158px;
}

#global_menu,
#index_box_content,
#return_top,
#footer_banner,
#footer_top,
#footer_menu,
#container #menu_button {
  display: none;
}

#container #contents_builder {
  padding-bottom: 0;
}

@media (max-width: 750px) {
  #container #contents_builder {
    padding: 0;
  }
}

.post_content p {
  margin: 0 0 1em 0;
  font-size: 16px;
}

p.date_t1 {
  font-family: 'Noto Serif JP', serif;
  margin-top: 10px;
}

#s500 {
  scroll-margin-top: 5em;
}

@media (max-width: 750px) {
  .post_content p {
    font-size: 14px;
  }
}

h3.sub_headline {
  margin-top: 40px;
  color: #634f32;
}

/*ブロック*/
.cb_contents {
  padding: 30px 0 0;
  width: auto;
  margin: 0 auto;
}

.ace500_blok {
  margin-bottom: 8em;
  text-align: center;
  background: #fff;
}

.ace501_blok {
  padding: 100px 20px 60px;
  width: 1000px;
  margin: 0 auto;
}

.ace500_blok.nem2 {
  margin-block: 50px 0;

  @media (width <=767px) {
    margin-block: 30px 0;
  }
}

.nem2 .ace501_blok {
  padding: 0 0 70px;
  width: auto;
}

@media (max-width: 1151px) {
  #container .cb_contents {
    padding: 60px 0 0;
  }

  .ace501_blok {
    width: auto;
    padding: 35px 30px 30px;
  }

  .nem2 .ace501_blok {
    padding: 0 0 30px;
  }
}

@media (max-width: 850px) {
  #container .cb_contents {
    padding: 40px 0 0;
  }

  .ace501_blok {
    padding: 35px 0 30px;
  }

  .nem2 .ace501_blok {
    padding: 0 0 60px;
  }
}

@media (max-width: 750px) {
  .ace500_blok {
    margin-bottom: 5em;
  }
}

/*見出し*/
#container h2.ace501_m1 {
  text-align: center;
  line-height: 1.6;
  margin: -10px 0 40px 0;
  padding-top: 12px;
  font-size: 38px;
  font-family: 'Noto Serif JP', serif;
}

span.ace500_s1 {
  display: block;
  font-size: 50%;
}

@media screen and (max-width: 750px) {
  #container h2.ace501_m1 {
    font-size: 22px;
    margin: -10px 0 30px 0;
  }
}

/*見出し2*/
#container h2.ace501_m2 {
  text-align: center;
  line-height: 1.6;
  margin: -10px 0 40px 0;
  padding-top: 12px;
  font-size: 38px;
  font-family: 'Noto Serif JP', serif;
}

@media screen and (max-width: 1151px) {
  #container h2.ace501_m2 {
    margin: -10px 0 25px 0;
  }
}

@media screen and (max-width: 750px) {
  #container h2.ace501_m2 {
    font-size: 20px;
    margin: -10px 0 5px 0;
  }
}

/*マップ写真以降にある見出し*/
p.tel.rich_font {
  line-height: 1.1;
  font-family: 'Noto Serif JP', serif;
}

#container .tel.rich_font a {
  transition: all 0.5s ease;
}

#container .tel.rich_font a:hover {
  opacity: 0.7;
}

.post_content a {
  font-size: 38px;
  color: #634f32;
}

@media (max-width: 950px) {
  .post_content a {
    font-size: 30px;
  }
}

/*コンセプト*/
p.concept_t1 {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 3em;
  padding: 0 3em;
}

.ace503_c1 {
  display: flex;
}

.ace503_g1 {
  width: calc(100% / 3);
}

#container .ace503_g1 img {
  vertical-align: bottom;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 100%;
}

@media (max-width: 1151px) {
  p.concept_t1 {
    font-size: 14px;
  }
}

@media (max-width: 750px) {
  p.concept_t1 {
    padding: 0 1em;
    text-align: left;
  }

  .ace503_c1 {
    flex-direction: column;
  }

  .ace503_g1 {
    width: 100%;
  }

  #container .ace503_g1 img {
    aspect-ratio: 3 / 2;
  }
}

/*Googleマップ*/
.map_iframe_wrap_change {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 35%;
  margin-top: 50px;
  margin-bottom: 50px;
}

@media (max-width: 1151px) {
  .map_iframe_wrap_change {
    margin-top: 25px;
    margin-bottom: 30px;
  }
}

.map_iframe_wrap_change iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 850px) {
  .map_iframe_wrap_change {
    padding-top: 45%;
  }
}

@media (max-width: 750px) {
  .map_iframe_wrap_change {
    padding-top: 130%;
  }
}

/*マップの写真*/
#container .g1 img {
  margin-top: 100px;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
  aspect-ratio: 5 / 2;
  width: 800px;
  object-position: 50% 50%;
}

@media (max-width: 1151px) {
  #container .g1 img {
    width: 700px;
  }
}

@media screen and (max-width:750px) {
  #container .g1 img {
    margin-top: 60px;
    aspect-ratio: 3 / 2;
    width: auto;
  }
}

/*ボタン*/
span.material-icons {
  vertical-align: -5px;
}

#footer_button i.fab.fa-line {
  font-size: 27px;
  vertical-align: -3px;
}

#footer_button {
  margin: 25px 0;
}

@media (max-width: 1000px) {
  #footer_button i.fab.fa-line {
    font-size: 24px;
  }

  #footer_button {
    margin: 20px 0;
  }
}

/*snsカラー*/
ul.sns500ul {
  list-style: none;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.icon500_link {
  overflow: hidden;
}


.icon500_link img {
  width: 35px;
  transition: all 0.4s;
}

.icon500_link:hover img {
  opacity: 0.5;
}

/*snsアイコンフォント*/
.icon502_link {
  font-size: 30px;
  overflow: hidden;
}

.icon502_link {
  transition: all 0.4s;
}

i.fa-brands.fa-facebook-f,
i.fa-brands.fa-tiktok,
i.fa-brands.fa-line {
  font-size: 28px;
}

.icon502_link:hover {
  opacity: 0.5;
}

@media (max-width: 750px) {
  .icon502_link {
    font-size: 25px;
  }

  i.fa-brands.fa-facebook-f,
  i.fa-brands.fa-tiktok,
  i.fa-brands.fa-line {
    font-size: 23px;
  }
}

/* ボタン */
#footer_button {
  text-align: center;
  margin-top: 29px;
}

#footer_button a {
  font-size: 16px;
  display: inline-block;
  min-width: 250px;
  height: 60px;
  line-height: 60px;
  border: 1px solid #ccc;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#footer_button a {
  color: #634f32 !important;
  border-color: #634f32;

  &:hover {
    background: #634f32;
    border-color: #634f32;
    color: #fff !important;
  }
}

.access_date_info {
  margin-top: 30px;
}

/* -----------------------------------------------------
	Google口コミ
----------------------------------------------------- */
.google_review {
  padding: 35px 10px;
  text-align: center;

  @media (width >=768px) {
    padding: 80px 30px;
  }

  img {
    width: min(100%, 1000px);
  }
}

/* -----------------------------------------------------
	こんなお悩み、ございませんか？
----------------------------------------------------- */

.worries {
  background: #fffcf6;
  padding-block: 50px 80px;

  @media (width <=850px) {
    padding-block: 10px;
  }
}

.trouble {
  width: min(calc(100% - 30px), 900px);
  margin-inline: auto;
  padding: 36px 24px;
  background-color: transparent;

  @media (width <=850px) {
    padding: 30px 10px 25px;
  }
}

.trouble-content__title {
  --title-padding-bottom: 48px;
  --title-display: block;

  font-size: min(4.7svw, 36px);
  font-weight: 700;
  padding-block-end: var(--title-padding-bottom);
  display: var(--title-display);

  @media (width >=851px) {
    text-align: center;
  }

  @media (width <=850px) {
    --title-padding-bottom: 16px;
    --title-display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  @media (width <=767px) {
    font-size: 24px;
  }

  span {
    font-size: min(6.3svw, 48px);
    color: #634f32;

    @media (width <=767px) {
      font-size: 30px;
    }
  }
}

.trouble-customer__illust {
  flex: 202px 0 1;
  margin-inline-start: auto;

  @media (width <=850px) {
    display: none;
  }
}

.trouble-customer__illust--sp {
  flex: 70px 0 1;

  @media (width >=851px) {
    display: none;
  }
}

.trouble-checklist {
  >li {
    display: flex;
    column-gap: 16px;
    align-items: center;
    font-size: min(3.7svw, 28px);
    font-weight: 700;
    color: #634f32;
    margin-block-end: 16px;
    padding-block-end: 16px;
    border-bottom: dashed 1px #634f32;

    &:last-child {
      margin-block-end: 0;
    }

    &::before {
      content: "";
      background-image: url("image/trouble/checkbox.svg");
      display: inline-block;
      width: min(6.4svw, 49px);
      aspect-ratio: 49 / 45;
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
}

.trouble-check {
  --check-justify-content: initial;

  display: flex;
  align-items: flex-end;
  justify-content: var(--check-justify-content);

  @media (width <=850px) {
    --check-justify-content: center;
  }
}

.cta--bottom {
  background: #EEFFF0;

  img {
    width: 100%;
  }
}

/* -----------------------------------------------------
	背景パターン共通スタイル（選ばれる理由・料金の目安）
----------------------------------------------------- */
:is(.reason, .price) {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 72px 18px 100px;
}

/* -----------------------------------------------------
	選ばれる理由
----------------------------------------------------- */
.reason {
  padding: 50px 0 70px;

  @media (width >=768px) {
    padding: 100px 0 100px;
  }
}

.section-title {
  --section-title-padding-bottom: 100px;
  --section-title-span-padding: 24px 113px;

  text-align: center;
  padding-block-end: var(--section-title-padding-bottom);

  @media (width <=767px) {
    --section-title-padding-bottom: 50px;
    --section-title-span-padding: 24px;
  }

  >span {
    background-image: url(/image/content/bg-section-title.svg);
    background-repeat: no-repeat;
    background-size: contain;
    font-weight: 700;
    color: #fff;
    padding: var(--section-title-span-padding);
    background-position: center;
    font-size: clamp(1rem, calc(0.595rem + 2.589vw), 2.667rem);

    @media (width <=767px) {
      padding: 40px;
      font-size: 24px;
    }
  }
}

/* -----------------------------------------------------
	コンテナ共通スタイル（選ばれる理由・お客様の声・作業までの流れ・よくある質問）
----------------------------------------------------- */
:is(.reason-items, .reviews-items, .flow-items, .faq-items) {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
}

.reason-items {
  --reason-items-gap: 64px;
  gap: var(--reason-items-gap);
  width: min(calc(100% - 30px), 900px);

  @media (width <=850px) {
    width: 550px;
  }

  @media (width <=767px) {
    --reason-items-gap: 32px;
    width: min(calc(100% - 30px), 900px);
  }
}

/* -----------------------------------------------------
	カードアイテム共通スタイル（選ばれる理由・作業までの流れ）
----------------------------------------------------- */
:is(.reason-item, .flow-item) {
  position: relative;
  display: flex;
  background-color: #fff;
  border-radius: 16px;
  align-items: center;
}

.reason-item {
  --reason-item-flex-direction: row;
  --reason-item-gap: 24px;
  flex-direction: var(--reason-item-flex-direction);
  gap: var(--reason-item-gap);
  padding: 48px 32px 32px;
  border: solid #ccc 1px;

  @media (width <=850px) {
    --reason-item-flex-direction: column;
    --reason-item-gap: 12px;
    align-items: center;
  }

  @media (width <=767px) {
    padding: 48px 18px 30px;
  }
}

@media (min-width: 851px) {
  .reason-item__text {
    width: calc(100% - 300px);
  }

  .reason-item__image {
    flex: 0 0 300px;
  }
}

.reason-item__image img {
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

/* -----------------------------------------------------
	ステップバッジ共通スタイル（選ばれる理由・作業の実績・作業までの流れ）
----------------------------------------------------- */
:is(.reason-item__step, .work-item__step, .flow-item__step) {
  --step-width: 116px;
  --step-transform: translate(-60%, -50%);
  --step-after-width: 23px;
  --step-after-height: 16px;
  --step-after-bottom: 10px;

  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--step-width);
  aspect-ratio: 1;
  font-weight: 700;
  color: #fff;
  background-color: #A2762D;
  border-radius: 50%;
  transform: var(--step-transform);
  line-height: 1;

  @media (width <=1024px) {
    --step-transform: translate(-30%, -50%);
  }

  @media (width <=480px) {
    --step-width: 70px;
    --step-transform: translate(-8%, -25%);
    --step-after-width: 11px;
    --step-after-height: 12px;
    --step-after-bottom: 0px;
  }

  /*
  &::after {
    content: "";
    display: inline-block;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIyLjYzMDYgMTUuNjA3M0wxNC44ODg1IDBMMCA4LjAwMzczTDIyLjYzMDYgMTUuNjA3M1oiIGZpbGw9IiMxQ0I3MUMiLz4KPC9zdmc+Cg==");
    background-size: contain;
    background-repeat: no-repeat;
    width: var(--step-after-width);
    height: var(--step-after-height);
    bottom: var(--step-after-bottom);
    right: 5px;
    position: absolute;
  }
  */
}

:is(.reason-item__step-label, .work-item__step-label, .flow-item__step-label) {
  --step-label-font-size: 20px;
  font-size: var(--step-label-font-size);
  text-transform: uppercase;

  @media (width <=767px) {
    --step-label-font-size: 12px;
    letter-spacing: 0.5px;
  }
}

:is(.reason-item__step-number, .work-item__step-number, .flow-item__step-number) {
  --step-number-font-size: 60px;
  font-size: var(--step-number-font-size);

  @media (width <=767px) {
    --step-number-font-size: 36px;
  }
}

/* reason-item専用の上書き（480px以下のみ異なるため） */
.reason-item__step-number {
  @media (width <=480px) {
    --step-number-font-size: 36px;
  }
}

/* -----------------------------------------------------
	タイトル共通スタイル（選ばれる理由・作業までの流れ）
----------------------------------------------------- */
:is(.reason-item__title, .flow-item__title) {
  padding-block-end: 16px;
  color: #634f32;

  @media (width <=850px) {
    text-align: center;
  }
}

.reason-item__title {
  --title-font-size: 28px;
  --title-span-font-size: 36px;
  font-size: var(--title-font-size);

  @media (width <=767px) {
    --title-font-size: 18px;
    --title-span-font-size: 22px;
  }

  >span {
    color: #A2762D;
    font-size: var(--title-span-font-size);
  }
}

/* -----------------------------------------------------
	説明文共通スタイル（選ばれる理由・作業までの流れ）
----------------------------------------------------- */
:is(.reason-item__desc, .flow-item__desc) {
  font-weight: 500;

  @media (width <=767px) {
    font-size: 14px;
  }
}

/* -----------------------------------------------------
	他社サービスとの比較
----------------------------------------------------- */
.compare {
  padding: 64px 16px;
  background: #fff;
  /* background-image: url(/image/compare/bg-radial.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */

  .scroll-hint-shadow-wrap {

    &::before,
    &::after {
      background: none;
    }
  }

}

.compare-title,
.compare-satisfaction {
  margin-inline: auto;
  width: fit-content;
}

.compare-title {
  max-width: 680px;
}

.compare-satisfaction {
  margin-top: 16px;
  max-width: 420px;
}

.compare-title img,
.compare-satisfaction img {
  display: block;
  width: 100%;
  height: auto;
}

.compare-table {
  margin: 28px auto 0;
  width: min(100%, 1070px);
  overflow-x: auto;

}

.compare-table.js-compare-scroll {
  position: relative;
}

.compare-table__table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;

  .on {
    border: 2px solid var(--color-primary-light);
  }
}

.compare-table__table thead tr:first-child> :first-child {
  border-top-left-radius: 6px;

  @media (width <=767px) {
    border-top-left-radius: 3px;
  }
}

.compare-table__table thead tr:first-child> :last-child {
  >div {
    border-top-right-radius: 6px;

    @media (width <=767px) {
      border-top-right-radius: 3px;
    }
  }
}

.compare-table__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.compare-table__head,
.compare-table__row-head,
.compare-table__cell {
  text-align: center;
  font-weight: 700;
}

.compare-table__head {
  font-size: 14px;
  color: #fff;
}

.compare-table__head--label {
  width: 19.6262%;
  background: transparent;
  border-top-color: #eef9f2;
  border-left-color: #eef9f2;
}

.compare-table__head--primary,
.compare-table__head--other {
  color: #fff;
}

.compare-table__head--primary {
  width: 38.785%;
  background: #A2762D;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding-block: 24px;
}

.compare-table__head--other {
  vertical-align: bottom;
  border-top: 0;

  &:not(:last-child) {
    >div {
      border-right: solid 1px #999;
    }
  }

  >div {
    padding-block: 17px;
    background: #898989;
  }
}

.compare-table__row-head {
  padding: 10px 6px;
  font-size: 12px;
  color: #444;
  background: #eaeaea;
  border-bottom-color: #e6fff3;
  line-height: 1.35;
}

.compare-table__cell {
  padding: 10px 4px;
  font-size: 12px;
  color: #333;
  background: #fff;
  line-height: 1.45;
}

.compare-table__cell--primary {
  color: #916b2b;
  font-size: 13px;
  background: #FAF6ED;
  border-left: solid 1px currentColor;
  border-right: solid 1px currentColor;
}

.compare-table__table tbody .compare-table__row-head,
.compare-table__table tbody .compare-table__cell {
  border-bottom: 1px solid #c3c1c1;
}

.compare-table__table tbody tr:first-child th.compare-table__row-head {
  border-top-left-radius: 6px;
  border-top: 1px solid #c3c1c1;

  @media (width <=767px) {
    border-top-left-radius: 3px;
  }
}

.compare-table__table tbody tr:nth-child(n + 1):nth-last-child(n + 2) .compare-table__cell {
  border-bottom-style: dashed;
}

.compare-table__table tbody td:nth-child(2) {
  border-bottom-color: var(--color-primary-light);
}

.compare-table__table tbody tr:last-child> :first-child {
  border-bottom-left-radius: 6px;

  @media (width <=767px) {
    border-bottom-left-radius: 3px;
  }
}

.compare-table__table tbody tr:last-child> :last-child {
  border-bottom-right-radius: 6px;

  @media (width <=767px) {
    border-bottom-right-radius: 3px;
  }
}

.compare-table__table tbody td:nth-child(n + 3) {
  border-right: 1px solid #c3c1c1;
}

th.compare-table__row-head {
  border-left: 1px solid #c3c1c1;
}

@media (width >=768px) {
  .compare {
    padding: 90px 24px;
  }

  .compare-satisfaction {
    margin-top: 20px;
  }

  .compare-table {
    margin-top: 40px;
    overflow-x: visible;
  }

  .compare-table__table {
    min-width: 0;
  }

  .compare-table__head {
    font-size: 24px;
  }

  .compare-table__head.compare-table__head--other {
    font-size: 20px;
  }

  .compare-table__head--label {
    width: 19.6262%;
  }

  .compare-table__head--primary {
    width: 38.785%;
    padding-block: 22px;
  }

  .compare-table__row-head {
    padding: 18px 10px;
    font-size: 20px;
  }

  .compare-table__cell {
    padding: 18px 8px;
    font-size: 18px;
  }

  .compare-table__cell--primary {
    font-size: 20px;
  }
}

.price-free {
  color: var(--color-secondary-dark);
  font-size: 1.5em;
}

.free-period {
  color: var(--color-secondary-dark);
  font-size: 1.2em;
}

.rate-high {
  color: var(--color-secondary-dark);
  font-size: 1.1em;
}

/* -----------------------------------------------------
	導入までの流れ・よくある質問（広告運用・ace引用）
	クラスは ads- プレフィックスで既存の .flow / .faq と衝突回避
----------------------------------------------------- */

/* ---------- 導入までの流れ（ads-flow） ---------- */
.ads-flow {
  padding: 80px 0;

  @media (width <=767px) {
    padding: 20px 0 40px;
  }
}

.ads-flow-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.ads-flow .ads-flow__section-title {
  --ads-flow-title-en: 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 76px;
}

.ads-flow .ads-flow__section-title::before {
  display: block;
  font-size: var(--ads-flow-title-en);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  content: attr(data-title--en);
  color: #a57b30;
  line-height: 1;
}

@media (width <=767px) {
  .ads-flow .ads-flow__section-title {
    text-align: center;
    padding-bottom: 30px;
  }

  .ads-flow .ads-flow__section-title::before {
    font-size: 36px;
    letter-spacing: 5px;
  }
}

.ads-flow .ads-flow__section-title span {
  color: #666;
}

@media (width <=767px) {
  .ads-flow .ads-flow__section-title span {
    font-size: 14px;
  }
}

.ads-flow-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 950px;
  margin: auto;
}

@media (width <=480px) {
  .ads-flow-list {
    gap: 13px;
  }
}

.ads-flow-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px 38px;
  border: solid #ccc 1px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.ads-flow-item__text {
  width: calc(100% - 330px);
  padding-right: 48px;
}

@media (width <=913px) {
  .ads-flow-item__text {
    width: 65%;
    padding-right: 20px;
  }
}

@media (width <=767px) {
  .ads-flow-item__text {
    width: 100%;
    padding-right: 0;
  }
}

.ads-flow-item__head {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.ads-flow-item__title {
  font-size: 20px;
  font-weight: 700;
  color: #6D4A30;
}

@media (width <=480px) {
  .ads-flow-item__title {
    font-size: 16px;
  }
}

.ads-flow-item__content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ads-flow-item__image {
  flex: 0 0 330px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}

.ads-flow-item__image img {
  width: 100%;
  height: auto;
}

@media (width <=913px) {
  .ads-flow-item__image {
    flex: 0 0 35%;
  }
}

@media (width <=767px) {
  .ads-flow-item__image {
    margin-top: 20px;
  }
}

.ads-flow-item__p {
  line-height: 1.9;
  font-size: 15px;
  color: #666;
}

@media (width <=480px) {
  .ads-flow-item__p {
    line-height: 1.6;
    font-size: 13px;
  }
}

.ads-flow-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 20px 5px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #9c7654;
  border-radius: 0 3px 3px 0;
  margin-left: -50px;
  margin-right: 50px;
  white-space: nowrap;
}

.ads-flow-step::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  border-top: 5px solid #553e17;
  border-right: 0px solid transparent;
  border-left: 12px solid transparent;
}

@media (width <=767px) {
  .ads-flow-step {
    margin-right: 20px;
  }
}

@media (width <=480px) {
  .ads-flow-step {
    padding: 2px 10px 3px 9px;
    font-size: 14px;
  }
}

.ads-flow-triangle {
  display: flex;
  justify-content: center;
}

.ads-flow-triangle img {
  width: 48px;
  height: auto;
}

@media (max-width: 767px) {
  .ads-flow-item__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .ads-flow-item__image {
    flex-basis: auto;
    width: 100%;
  }
}

/* -----------------------------------------------------
	よくある質問
----------------------------------------------------- */
.faq {
  --faq-padding-block: 32px;

  padding-block: var(--faq-padding-block);
  background: repeating-linear-gradient(-45deg,
      #fff,
      #fff 15px,
      var(--color-bg-green-very-light) 10px,
      var(--color-bg-green-very-light) 30px);

  @media (width <=767px) {
    padding-block: 50px 70px;
  }

  @media (width >=768px) {
    --faq-padding-block: 80px;
  }
}

.faq-items {
  --faq-items-gap: 24px;
  gap: var(--faq-items-gap);
  width: min(calc(100% - 30px), 900px);
  padding-bottom: var(--faq-items-padding-bottom);

  @media (width <=767px) {
    --faq-items-gap: 16px;
  }
}

.faq-item {
  border-radius: 7.5px;
  overflow: hidden;
  background-color: #fff;
}

.faq-item__title {
  --title-gap: 10px;
  --title-padding: 16px 32px;
  --title-font-size: 20px;
  --title-before-width: 45px;
  --title-before-height: 36px;

  display: flex;
  align-items: center;
  gap: var(--title-gap);
  padding: var(--title-padding);
  background-color: #A2762D;
  border-radius: 7.5px 7.5px 0 0;
  color: #fff;
  font-size: var(--title-font-size);
  font-weight: 700;

  @media (width <=767px) {
    --title-gap: 8px;
    --title-padding: 12px 16px;
    --title-font-size: 16px;
    --title-before-width: 19px;
    --title-before-height: 15px;
  }

  &::before {
    content: "";
    display: inline-block;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDUiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA0NSAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQxLjg3NSAzNS41QzQxLjA1OTIgMzUuNSA0MC4zNDg3IDM1LjIwODYgMzkuNzQzNCAzNC42MjU4QzM5LjE2NDUgMzQuMDQzIDM4Ljg3NSAzMy4zNDExIDM4Ljg3NSAzMi41MTk5QzM4Ljg3NSAzMS42NzIyIDM5LjE2NDUgMzAuOTU3IDM5Ljc0MzQgMzAuMzc0MkM0MC4zNDg3IDI5Ljc5MTQgNDEuMDU5MiAyOS41IDQxLjg3NSAyOS41QzQyLjY5MDggMjkuNSA0My4zODgyIDI5Ljc5MTQgNDMuOTY3MSAzMC4zNzQyQzQ0LjU3MjQgMzAuOTU3IDQ0Ljg3NSAzMS42NzIyIDQ0Ljg3NSAzMi41MTk5QzQ0Ljg3NSAzMy4zNDExIDQ0LjU3MjQgMzQuMDQzIDQzLjk2NzEgMzQuNjI1OEM0My4zODgyIDM1LjIwODYgNDIuNjkwOCAzNS41IDQxLjg3NSAzNS41WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE1LjkyMjMgMzVDMTIuODQ3OSAzNSAxMC4wOTcxIDM0LjI4NDcgNy42Njk5IDMyLjg1NDJDNS4yNzUwOCAzMS40MjM3IDMuMzk4MDYgMjkuNDA1MSAyLjAzODgzIDI2Ljc5ODRDMC42Nzk2MTEgMjQuMTU5OSAwIDIxLjA3NjMgMCAxNy41NDc3QzAgMTMuOTg3MyAwLjY3OTYxMSAxMC45MDM3IDIuMDM4ODMgOC4yOTdDMy4zOTgwNiA1LjY1ODQ5IDUuMjc1MDggMy42MjM5OCA3LjY2OTkgMi4xOTM0NkMxMC4wOTcxIDAuNzMxMTUzIDEyLjg0NzkgMCAxNS45MjIzIDBDMTguOTk2OCAwIDIxLjcxNTIgMC43MzExNTMgMjQuMDc3NyAyLjE5MzQ2QzI2LjQ3MjUgMy42MjM5OCAyOC4zNDk1IDUuNjU4NDkgMjkuNzA4NyA4LjI5N0MzMS4xMDAzIDEwLjkwMzcgMzEuNzk2MSAxMy45ODczIDMxLjc5NjEgMTcuNTQ3N0MzMS43OTYxIDE5LjI2NDMgMzEuNjE4MSAyMC44ODU2IDMxLjI2MjEgMjIuNDExNEMzMC45Mzg1IDIzLjkwNTUgMzAuNDUzMSAyNS4yODg0IDI5LjgwNTggMjYuNTU5OUwzNSAzMC40N0wzMS40MDc4IDM0Ljk1MjNMMjYuNDA3OCAzMS4xMzc2QzI1LjA0ODUgMzIuMzc3NCAyMy40NzkgMzMuMzMxMSAyMS42OTkgMzMuOTk4NkMxOS45NTE1IDM0LjY2NjIgMTguMDI1OSAzNSAxNS45MjIzIDM1Wk0xNS45MjIzIDI5LjY1OTRDMTcuMDU1IDI5LjY1OTQgMTguMTIzIDI5LjQ4NDYgMTkuMTI2MiAyOS4xMzQ5QzIwLjEyOTQgMjguNzUzNCAyMS4wMTk0IDI4LjI0NDggMjEuNzk2MSAyNy42MDlMMTcuMjMzIDI0LjA4MDRMMjAuNjc5NiAxOS43NDExTDI1IDIzLjAzMTNDMjUuMjkxMyAyMi4yMzY2IDI1LjUxNzggMjEuMzc4MyAyNS42Nzk2IDIwLjQ1NjRDMjUuODQxNCAxOS41MzQ1IDI1LjkyMjMgMTguNTY0OSAyNS45MjIzIDE3LjU0NzdDMjUuOTIyMyAxNS4wOTk5IDI1LjUwMTYgMTIuOTcgMjQuNjYwMiAxMS4xNThDMjMuODUxMSA5LjMxNDI2IDIyLjcwMjMgNy44OTk2NCAyMS4yMTM2IDYuOTE0MTdDMTkuNzI0OSA1Ljg5NjkxIDE3Ljk2MTIgNS4zODgyOCAxNS45MjIzIDUuMzg4MjhDMTMuOTE1OSA1LjM4ODI4IDEyLjE1MjEgNS44OTY5MSAxMC42MzExIDYuOTE0MTdDOS4xMTAwMyA3Ljg5OTY0IDcuOTI4OCA5LjMxNDI2IDcuMDg3MzggMTEuMTU4QzYuMjc4MzIgMTIuOTcgNS44NzM3OSAxNS4wOTk5IDUuODczNzkgMTcuNTQ3N0M1Ljg3Mzc5IDE5Ljk2MzcgNi4yNzgzMiAyMi4wOTM2IDcuMDg3MzggMjMuOTM3M0M3LjkyODggMjUuNzQ5MyA5LjExMDAzIDI3LjE2MzkgMTAuNjMxMSAyOC4xODEyQzEyLjE1MjEgMjkuMTY2NyAxMy45MTU5IDI5LjY1OTQgMTUuOTIyMyAyOS42NTk0WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==");
    background-size: contain;
    width: var(--title-before-width);
    height: var(--title-before-height);
    width: 35px;
    height: 28px;
    background-repeat: no-repeat;
    flex-shrink: 0;

    @media (width <=767px) {
      width: 30px;
      height: 24px;
    }
  }
}

.faq-item__desc {
  --desc-font-size: initial;
  --desc-padding: 24px 32px;

  margin: 0;
  padding: var(--desc-padding);
  border: 4px solid #A2762D;
  border-top: none;
  border-radius: 0 0 7.5px 7.5px;
  background-color: #fff;
  font-size: var(--desc-font-size);

  @media (width <=767px) {
    --desc-font-size: 14px;
    --desc-padding: 8px 16px;
  }
}

/* -----------------------------------------------------
	イラストのみコンテンツ
----------------------------------------------------- */
.contents {
  padding: 35px 0;
  text-align: center;

  @media (width >=768px) {
    padding: 80px 30px;
  }

  img {
    width: min(100%, 1000px);
  }
}

/* .contents.purchase-items {
  padding: 20px 30px;

  @media (width <=767px) {
    padding: 0;
  }
} */

.contents.assessment-form,
.contents.purchase-results,
.contents.purchase-items {
  padding: 0;
}

.contents.purchase-results {
  img {
    width: min(100%, 1200px);
  }
}

.contents-content-inner {
    display: flex;
    gap: 24px;
    flex-direction: column;
}