:root {
  --nc-home-orange: #eb6120;
  --nc-home-orange-dark: #cf4d12;
  --nc-home-brown: #382712;
  --nc-home-gold: #b98d4a;
  --nc-home-cream: #fff9eb;
  --nc-home-line: #fbefba;
}

body.home #main.nc-home {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  color: var(--nc-home-brown);
}

@media (min-width: 1020px) {
  body.home #main.nc-home {
    margin-top: calc(var(--nc-admin-bar-height, 0px) + var(--nc-topbar-height, 76px));
  }
}

.nc-home *,
.nc-home *::before,
.nc-home *::after {
  box-sizing: border-box;
}

.nc-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.nc-home a {
  color: inherit;
  text-decoration: none;
}

.nc-home p,
.nc-home h1,
.nc-home h2,
.nc-home h3,
.nc-home figure {
  margin-top: 0;
}

.nc-home-section {
  position: relative;
  padding: 88px 28px;
}

.nc-home-container {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.nc-home-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
  text-align: center;
}

.nc-home-heading h2 {
  margin-bottom: 7px;
  color: var(--nc-home-brown);
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.35;
}

.nc-home-heading span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--nc-home-orange);
  font-family: "Arial Narrow", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
}

.nc-home-heading span::before,
.nc-home-heading span::after {
  width: 46px;
  height: 2px;
  background: repeating-linear-gradient(135deg, transparent 0 2px, currentColor 2px 4px);
  content: "";
}

.nc-home-heading--light h2,
.nc-home-heading--light span {
  color: #fff;
}

.nc-home-heading--light h2 {
  text-shadow: 0 2px 0 rgb(0 0 0 / 8%);
}

.nc-home-button-wrap {
  margin-top: 44px;
  text-align: center;
}

.nc-home-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 310px;
  min-height: 58px;
  padding: 14px 58px 14px 36px;
  border-radius: 8px 8px 0 0;
  background: var(--nc-home-orange);
  box-shadow: 0 6px 0 var(--nc-home-orange-dark);
  color: #fff !important;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.nc-home-button::after {
  position: absolute;
  right: 24px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.nc-home-button:hover {
  box-shadow: 0 3px 0 var(--nc-home-orange-dark);
  transform: translateY(3px);
}

.nc-home-button--white {
  background: #fff;
  box-shadow: 0 6px 0 rgb(121 53 20 / 35%);
  color: var(--nc-home-orange) !important;
}

.nc-home-hero {
  --nc-home-hero-ratio: 1162 / 450;

  position: relative;
  overflow: hidden;
  aspect-ratio: var(--nc-home-hero-ratio);
  background: #eee;
}

.nc-home-hero__slides,
.nc-home-hero__slide {
  position: absolute;
  inset: 0;
}

.nc-home-hero__slide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s ease, visibility 1s ease;
}

.nc-home-hero__slide.is-active {
  visibility: visible;
  opacity: 1;
}

.nc-home-hero__slide > a,
.nc-home-hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.nc-home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nc-home-hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.nc-home-hero__dot {
  width: 28px;
  height: 4px;
  background: rgb(255 255 255 / 60%);
  transition: background .3s ease, width .3s ease;
}

.nc-home-hero__dot.is-active {
  width: 48px;
  background: var(--nc-home-orange);
}

.nc-home-purpose {
  position: relative;
  z-index: 4;
  padding: 34px 28px 40px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(56 39 18 / 8%);
}

.nc-home-purpose__eyebrow {
  margin-bottom: 3px;
  color: var(--nc-home-orange);
  font-family: "Arial Narrow", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
}

.nc-home-purpose h2 {
  margin-bottom: 24px;
  color: var(--nc-home-brown);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  text-align: center;
}

.nc-home-purpose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.nc-home-purpose__grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
  padding: 16px 44px 16px 18px;
  border: 1px solid #eadfd4;
  border-radius: 10px;
  background: #fffaf5;
  transition: border-color .2s ease, transform .2s ease;
}

.nc-home-purpose__grid a::after {
  position: absolute;
  right: 20px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--nc-home-orange);
  border-right: 2px solid var(--nc-home-orange);
  content: "";
  transform: rotate(45deg);
}

.nc-home-purpose__grid a:hover {
  border-color: var(--nc-home-orange);
  transform: translateY(-2px);
}

.nc-home-purpose__grid strong {
  color: var(--nc-home-brown);
  font-size: 16px;
  font-weight: 900;
}

.nc-home-purpose__grid span {
  margin-top: 3px;
  color: #756655;
  font-size: 12px;
}

.nc-home-estimate {
  padding: 56px 20px;
  scroll-margin-top: 92px;
  background: var(--nc-home-cream, #fff9eb);
}

.nc-home-estimate__inner {
  width: min(960px, 100%);
}

.nc-home-estimate__card {
  position: relative;
  overflow: hidden;
  padding: 44px clamp(24px, 5vw, 64px);
  border: 3px solid var(--nc-home-orange);
  border-radius: 24px;
  background: #fff;
  color: var(--nc-home-brown);
}

.nc-home-estimate__heading {
  text-align: center;
}

.nc-home-estimate__sub {
  position: relative;
  display: inline-block;
  margin-bottom: 6px;
  padding: 0 26px;
  color: var(--nc-home-brown);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .12em;
}

.nc-home-estimate__sub::before,
.nc-home-estimate__sub::after {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 20px;
  background: var(--nc-home-brown);
  content: "";
}

.nc-home-estimate__sub::before {
  left: 4px;
  transform: translateY(-50%) rotate(-25deg);
}

.nc-home-estimate__sub::after {
  right: 4px;
  transform: translateY(-50%) rotate(25deg);
}

.nc-home-estimate__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 4px;
}

.nc-home-estimate__title img {
  width: 56px;
  height: 56px;
}

.nc-home-estimate__title strong {
  color: var(--nc-home-orange);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.2;
}

.nc-home-estimate__lead {
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 2px dashed var(--nc-home-orange);
  color: #5a4a3a;
}

.nc-home-estimate__body {
  position: relative;
}

.nc-home-estimate__form {
  max-width: 720px;
  margin: 0 auto;
}

.nc-home-estimate__chara {
  position: absolute;
  right: -12px;
  bottom: -44px;
  width: clamp(110px, 14vw, 168px);
  height: auto;
  pointer-events: none;
}

/* CF7インラインフォーム */
.nc-home-estimate__form .nc-form-row {
  display: grid;
  grid-template-columns: 152px 1fr;
  align-items: start;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.nc-home-estimate__form .nc-form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  font-weight: 700;
}

.nc-home-estimate__form .nc-form-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-left: 10px;
  padding: 0 16px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.nc-home-estimate__form .nc-form-badge--req {
  background: var(--nc-home-orange);
}

.nc-home-estimate__form .nc-form-badge--any {
  background: #9b9b9b;
}

.nc-home-estimate__form .wpcf7-form-control-wrap {
  display: block;
}

.nc-home-estimate__form input[type="text"],
.nc-home-estimate__form input[type="tel"],
.nc-home-estimate__form input[type="email"],
.nc-home-estimate__form textarea {
  width: min(420px, 100%);
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
}

.nc-home-estimate__form .wpcf7-checkbox .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 18px 6px 0;
}

.nc-home-estimate__form .wpcf7-checkbox .wpcf7-list-item-label {
  margin-left: 6px;
}

.nc-home-estimate__form .nc-form-submit {
  margin-top: 26px;
  text-align: center;
}

.nc-home-estimate__form .wpcf7-submit {
  min-width: min(420px, 90%);
  padding: 16px 40px;
  border: 0;
  border-radius: 8px;
  background: var(--nc-home-orange);
  box-shadow: 0 5px 0 var(--nc-home-orange-dark);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.nc-home-estimate__form .wpcf7-submit:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--nc-home-orange-dark);
}

.nc-home-estimate__form .wpcf7-spinner {
  margin: 12px auto 0;
}

@media (max-width: 767px) {
  .nc-home-estimate__form .nc-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 16px;
  }

  .nc-home-estimate__form .nc-form-label {
    justify-content: flex-start;
    gap: 10px;
    padding-top: 0;
  }

  .nc-home-estimate__chara {
    position: static;
    display: block;
    width: 120px;
    margin: 18px auto 0;
  }
}

.nc-home-reasons {
  padding-top: 94px;
  background:
    radial-gradient(circle at 8% 15%, rgb(255 255 255 / 7%) 0 120px, transparent 121px),
    var(--nc-home-orange);
}

.nc-home-reasons__grid {
  display: grid;
  gap: 22px;
}

.nc-home-reason {
  display: grid;
  grid-template-columns: minmax(230px, 38%) 1fr;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 10px 28px rgb(94 38 12 / 24%);
  transition: transform .25s ease;
}

.nc-home-reason:hover {
  transform: translateY(-4px);
}

.nc-home-reason:nth-child(even) {
  margin-left: 7%;
}

.nc-home-reason:nth-child(odd) {
  margin-right: 7%;
}

.nc-home-reason__image {
  position: relative;
  min-height: 210px;
}

.nc-home-reason__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nc-home-reason__image span {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  min-width: 58px;
  padding: 8px 12px;
  background: var(--nc-home-gold);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.nc-home-reason__body {
  position: relative;
  padding: 30px 70px 26px 34px;
}

.nc-home-reason__body::after {
  position: absolute;
  top: 50%;
  right: 28px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--nc-home-orange);
  color: #fff;
  content: "›";
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  transform: translateY(-50%);
}

.nc-home-reason h3 {
  margin-bottom: 12px;
  color: var(--nc-home-gold);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
}

.nc-home-reason p {
  margin-bottom: 10px;
  line-height: 1.85;
}

.nc-home-reason b {
  color: var(--nc-home-orange);
  font-size: 13px;
}

.nc-home-president {
  background:
    linear-gradient(rgb(235 97 32 / 92%), rgb(207 77 18 / 96%)),
    url("../images/home/president-background.png") center bottom / cover;
  color: #fff;
}

.nc-home-president__inner {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}

.nc-home-president figure {
  margin-bottom: 0;
}

.nc-home-president figure img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border: 8px solid #fff;
  border-radius: 180px 180px 14px 14px;
  object-fit: cover;
}

.nc-home-president figcaption {
  margin-top: 15px;
  text-align: center;
}

.nc-home-president__message > span,
.nc-home-about__card > div > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.nc-home-president__message h2 {
  margin-bottom: 26px;
  color: var(--nc-home-line);
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.45;
}

.nc-home-president__message p {
  font-size: 16px;
  line-height: 2;
}

.nc-home-staff {
  background:
    linear-gradient(rgb(255 249 235 / 88%), rgb(255 249 235 / 95%)),
    url("../images/home/bg-yellow.png") center / cover;
}

.nc-home-staff__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.nc-home-staff-card {
  display: block;
  min-width: 0;
}

.nc-home-staff-card img {
  width: 100%;
  aspect-ratio: .88 / 1;
  border-radius: 100px 100px 8px 8px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 8px 18px rgb(56 39 18 / 12%);
}

.nc-home-staff-card span {
  display: block;
  margin-top: 15px;
  color: var(--nc-home-orange);
  font-size: 11px;
  font-weight: 700;
}

.nc-home-staff-card strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
}

.nc-home-banners {
  padding-top: 62px;
  padding-bottom: 62px;
  background: #fff;
}

.nc-home-banners .nc-home-container {
  display: grid;
  gap: 22px;
}

.nc-home-banners a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgb(56 39 18 / 12%);
}

.nc-home-banners img {
  width: 100%;
}

/* お客様の声（Google評価） */
.nc-home-reviews {
  background: var(--nc-home-cream);
}

.nc-home-reviews__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -20px auto 34px;
  color: var(--nc-home-brown);
  font-weight: 800;
}

.nc-home-reviews__summary span {
  color: var(--nc-home-orange);
  font-size: 24px;
}

.nc-home-reviews__summary i {
  color: #f5a623;
  font-style: normal;
  letter-spacing: 0;
}

.nc-home-reviews__viewport {
  position: relative;
  overflow: hidden;
  padding: 4px 0 12px;
}

.nc-home-reviews__viewport::before,
.nc-home-reviews__viewport::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(12vw, 88px);
  pointer-events: none;
  content: "";
}

.nc-home-reviews__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--nc-home-cream), rgb(255 247 235 / 0%));
}

.nc-home-reviews__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--nc-home-cream), rgb(255 247 235 / 0%));
}

.nc-home-reviews__track {
  display: flex;
  width: max-content;
  animation: nc-review-marquee 38s linear infinite;
  will-change: transform;
}

.nc-home-reviews__viewport:hover .nc-home-reviews__track,
.nc-home-reviews__viewport:focus-within .nc-home-reviews__track {
  animation-play-state: paused;
}

.nc-home-reviews__group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

.nc-home-review {
  display: flex;
  flex: 0 0 clamp(280px, 29vw, 360px);
  flex-direction: column;
  gap: 12px;
  min-height: 248px;
  padding: 28px 26px;
  border: 1px solid #eadbc2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(65 45 20 / 8%);
}

.nc-home-review__stars span {
  --nc-rating: 5;

  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.nc-home-review__stars span::before {
  color: #e0d5c2;
  content: "★★★★★";
}

.nc-home-review__stars span::after {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--nc-rating) / 5 * 100%);
  overflow: hidden;
  color: #f5a623;
  content: "★★★★★";
}

.nc-home-reviews__embed {
  overflow: hidden;
  padding: 4px;
}

.nc-home-reviews__embed .wp-gr.wpac .grw-slider:not(.wp-dark) .grw-slider-review-inner.grw-slider-review-border,
.nc-home-reviews__embed .wp-gr.wpac .grw-slider-review-inner {
  border-color: #eadbc2;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgb(65 45 20 / 8%);
}

.nc-home-reviews__embed .wp-gr.wpac .wp-google-name span,
.nc-home-reviews__embed .wp-gr.wpac a.wp-google-name {
  color: var(--nc-home-brown);
  font-weight: 800;
}

.nc-home-reviews__embed .wp-gr.wpac .wp-google-time {
  color: #8a765d;
}

.nc-home-review__text {
  flex: 1;
  margin: 0;
  color: #4a3d2f;
  font-size: 15px;
  line-height: 1.8;
}

.nc-home-review__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nc-home-review__author,
.nc-home-review__meta time {
  margin: 0;
  font-size: 13px;
}

.nc-home-review__author {
  color: var(--nc-home-brown);
  font-weight: 700;
}

.nc-home-review__meta time {
  color: #8a765d;
  white-space: nowrap;
}

@keyframes nc-review-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 599px) {
  .nc-home-reviews__summary {
    flex-wrap: wrap;
    margin-bottom: 26px;
  }

  .nc-home-reviews__group {
    gap: 16px;
    padding-right: 16px;
  }

  .nc-home-review {
    flex-basis: min(82vw, 320px);
    min-height: 260px;
    padding: 24px 22px;
  }
}

/*
 * スマホでは横長の自動アニメーションレイヤーを作らず、確実に表示できる
 * ネイティブの横スワイプに切り替える。PCの自動スライドは維持する。
 */
@media (max-width: 767px) {
  .nc-home-reviews__viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nc-home-reviews__viewport::-webkit-scrollbar,
  .nc-home-reviews__viewport::before,
  .nc-home-reviews__viewport::after,
  .nc-home-reviews__group[aria-hidden="true"] {
    display: none;
  }

  .nc-home-reviews__track {
    width: max-content;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .nc-home-reviews__group {
    padding-right: 0;
  }

  .nc-home-review {
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-home-reviews__viewport {
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .nc-home-reviews__viewport::before,
  .nc-home-reviews__viewport::after,
  .nc-home-reviews__group[aria-hidden="true"] {
    display: none;
  }

  .nc-home-reviews__track {
    animation: none;
  }
}

/* お問い合わせから施工までの流れ */
.nc-home-contact-flow {
  background: #fff;
}

.nc-home-contact-flow__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nc-home-contact-flow__step {
  position: relative;
  min-width: 0;
}

.nc-home-contact-flow__step:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 31px;
  left: calc(50% + 31px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--nc-home-line);
  content: "";
}

.nc-home-contact-flow__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto -31px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--nc-home-orange);
  color: #fff;
  place-items: center;
  box-shadow: 0 6px 15px rgb(235 97 32 / 22%);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .08em;
}

.nc-home-contact-flow__body {
  height: calc(100% - 31px);
  padding: 52px 20px 26px;
  border: 1px solid #eadbc2;
  border-radius: 14px;
  background: var(--nc-home-cream);
  text-align: center;
}

.nc-home-contact-flow__body h3 {
  margin-bottom: 12px;
  color: var(--nc-home-brown);
  font-size: 18px;
  line-height: 1.5;
}

.nc-home-contact-flow__body p {
  margin-bottom: 0;
  color: #6b5b49;
  font-size: 14px;
  line-height: 1.8;
}

.nc-home-contact-flow .nc-home-button-wrap {
  margin-top: 46px;
}

.nc-home-plans {
  background:
    radial-gradient(circle at 90% 10%, rgb(255 255 255 / 10%) 0 160px, transparent 161px),
    var(--nc-home-gold);
}

.nc-home-plans__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.nc-home-plan {
  position: relative;
  padding: 32px 28px 24px;
  border-radius: 18px 18px 0 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 2px, var(--nc-home-orange) 2px 4px) bottom / 100% 5px no-repeat,
    #fff;
  box-shadow: 0 10px 22px rgb(69 46 16 / 18%);
}

.nc-home-plan > span {
  position: absolute;
  top: -13px;
  right: 18px;
  padding: 6px 15px;
  border-radius: 7px;
  background: var(--nc-home-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.nc-home-plan h3 {
  margin-bottom: 10px;
  color: var(--nc-home-gold);
  font-size: 25px;
}

.nc-home-plan p {
  min-height: 52px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.nc-home-plan div {
  padding: 12px 18px;
  background: var(--nc-home-cream);
  font-weight: 800;
  text-align: right;
}

.nc-home-plan div strong {
  color: var(--nc-home-orange);
  font-size: 44px;
  line-height: 1;
}

.nc-home-about {
  background: url("../images/home/about-background.jpg") center / cover;
}

.nc-home-about__card {
  display: grid;
  grid-template-columns: 230px 1fr 280px;
  align-items: center;
  gap: 38px;
  padding: 48px;
  border-radius: 28px 28px 0 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 2px, var(--nc-home-orange) 2px 4px) bottom / 100% 5px no-repeat,
    #fff;
  box-shadow: 0 12px 30px rgb(56 39 18 / 24%);
}

.nc-home-about__photo {
  width: 100%;
}

.nc-home-about__card h2 {
  margin-bottom: 15px;
  color: var(--nc-home-gold);
  font-size: 28px;
}

.nc-home-about__card p {
  margin-bottom: 0;
  line-height: 1.85;
}

.nc-home-about__brand img {
  width: 230px;
  margin: 0 auto 26px;
}

.nc-home-about__brand .nc-home-button-wrap {
  margin-top: 0;
}

.nc-home-about__brand .nc-home-button {
  min-width: 0;
  width: 100%;
  padding-right: 45px;
  padding-left: 20px;
}

.nc-home-blog {
  background:
    linear-gradient(#fdf8ef 1px, transparent 1px),
    linear-gradient(90deg, #fdf8ef 1px, #fff 1px);
  background-size: 18px 18px;
}

.nc-home-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.nc-home-blog-card {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 8px 22px rgb(56 39 18 / 10%);
  transition: transform .2s ease;
}

.nc-home-blog-card:hover {
  transform: translateY(-4px);
}

.nc-home-blog-card__image {
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
}

.nc-home-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nc-home-blog-card time {
  display: block;
  padding: 18px 20px 0;
  color: #999;
  font-size: 12px;
}

.nc-home-blog-card h3 {
  margin-bottom: 0;
  padding: 8px 20px 24px;
  font-size: 17px;
  line-height: 1.65;
}

.nc-home-free {
  background: #fff;
}

@media (max-width: 767px) {
  .nc-home-section {
    padding: 64px 18px;
  }

  .nc-home-heading {
    margin-bottom: 34px;
  }

  .nc-home-heading h2 {
    font-size: 27px;
  }

  .nc-home-button {
    width: min(100%, 330px);
    min-width: 0;
  }

  .nc-home-hero {
    --nc-home-hero-ratio: 750 / 992;
  }

  .nc-home-hero__slide img {
    object-position: center;
  }

  .nc-home-purpose {
    padding: 28px 16px 32px;
  }

  .nc-home-purpose h2 {
    margin-bottom: 18px;
  }

  .nc-home-purpose__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .nc-home-purpose__grid a {
    min-height: 88px;
    padding: 13px 31px 13px 13px;
  }

  .nc-home-purpose__grid a::after {
    right: 13px;
  }

  .nc-home-purpose__grid strong {
    font-size: 14px;
    line-height: 1.45;
  }

  .nc-home-purpose__grid span {
    font-size: 11px;
    line-height: 1.45;
  }

  .nc-home-estimate {
    padding: 42px 16px;
    scroll-margin-top: 76px;
  }

  .nc-home-reason,
  .nc-home-reason:nth-child(even),
  .nc-home-reason:nth-child(odd) {
    grid-template-columns: 1fr;
    margin-right: 0;
    margin-left: 0;
  }

  .nc-home-reason__image {
    min-height: 180px;
  }

  .nc-home-reason__body {
    padding: 24px 58px 25px 22px;
  }

  .nc-home-reason__body::after {
    right: 16px;
  }

  .nc-home-president__inner {
    grid-template-columns: 1fr;
  }

  .nc-home-president figure {
    width: min(300px, 85%);
    margin-right: auto;
    margin-left: auto;
  }

  .nc-home-president__message h2 {
    font-size: 27px;
  }

  .nc-home-staff__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .nc-home-staff-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    margin: 0 auto;
  }

  .nc-home-contact-flow__steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nc-home-contact-flow__step {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: stretch;
  }

  .nc-home-contact-flow__step:not(:last-child)::after {
    top: 55px;
    bottom: -17px;
    left: 28px;
    width: 2px;
    height: auto;
  }

  .nc-home-contact-flow__number {
    align-self: start;
    width: 56px;
    height: 56px;
    margin: 18px 0 0;
    border-width: 4px;
    font-size: 15px;
  }

  .nc-home-contact-flow__body {
    height: auto;
    padding: 22px 20px;
    text-align: left;
  }

  .nc-home-contact-flow__body h3 {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .nc-home-contact-flow .nc-home-button-wrap {
    margin-top: 34px;
  }

  .nc-home-plans__grid {
    grid-template-columns: 1fr;
  }

  .nc-home-about__card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 24px;
  }

  .nc-home-about__photo {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .nc-home-blog__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-home *,
  .nc-home *::before,
  .nc-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
