: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: #061B3D;
  --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;
  }
}

/* ========================================
   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: #061b3d;
  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: #061b3d;

  @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: #061b3d;
  }
}

.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--navy.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(../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(../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(../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: #061B3D;
  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('https://darumagold-kitakyushu.com/wp-content/themes/ace-axis05/image/content/icon-tel--navy.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('https://darumagold-kitakyushu.com/wp-content/themes/ace-axis05/image/content/icon-tel--navy.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: #061B3D;
  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;
}

/*ブロック*/
.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 20px;
  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;
}

@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);
  }
}