/* Source-faithful composition for the clinic rebuild. */

body.wp-theme-akari-care .hero::before {
  background-image: url("../img/hero/hero-bubbles.png") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: 100% auto !important;
  opacity: 0.52;
  mix-blend-mode: screen !important;
}

body.wp-theme-akari-care .hero_bg {
  position: relative;
  background: #8a674c;
}

body.wp-theme-akari-care .hero_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 14, 12, 0.06), rgba(194, 122, 56, 0.08) 55%, rgba(18, 14, 12, 0.18));
}

body.wp-theme-akari-care .hero_bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.wp-theme-akari-care .hero_slide .slick-list {
  overflow: hidden !important;
}

body.wp-theme-akari-care .hero_slide .child {
  isolation: isolate;
}

body.wp-theme-akari-care .hero_slide .child img {
  display: block;
  object-fit: cover;
  object-position: center;
  background: #9c7558;
  box-shadow: 0 18px 42px rgba(18, 14, 12, 0.24);
}

body.wp-theme-akari-care .hero_slide .child .img_lft {
  animation-duration: 0.8s !important;
  animation-delay: 0.1s !important;
}

body.wp-theme-akari-care .hero_slide .child .img_ctr {
  animation-duration: 0.8s !important;
  animation-delay: 0.2s !important;
}

body.wp-theme-akari-care .hero_slide .child .img_rgt {
  animation-duration: 0.8s !important;
  animation-delay: 0.3s !important;
}

body.wp-theme-akari-care .home_concept {
  background-image: none !important;
  background-color: #f7f4ef !important;
}

body.wp-theme-akari-care .home_post {
  background-image:
    linear-gradient(rgba(247, 244, 239, 0.84), rgba(247, 244, 239, 0.84)),
    url("../site/wp/wp-content/themes/standard_sass/images/home/post-bg.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}

body.wp-theme-akari-care .home_recruit {
  background-image:
    linear-gradient(90deg, rgba(247, 244, 239, 0.72), rgba(247, 244, 239, 0.9)),
    url("../site/wp/wp-content/themes/standard_sass/images/home/recruit-bg.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}

body.wp-theme-akari-care .footer_reserve > .inner > .ttl-01,
body.wp-theme-akari-care .footer_reserve > .inner > .txt {
  color: #120e0c !important;
  text-shadow: 0 1px 12px rgba(247, 244, 239, 0.72);
}

body.wp-theme-akari-care .ttl-01 {
  font-size: 72px;
  line-height: 1.15;
}

body.wp-theme-akari-care .footer_reserve .hokuto-reserve-button {
  position: relative;
  width: 280px !important;
  height: 64px !important;
  padding: 0 56px 0 28px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

body.wp-theme-akari-care .footer_reserve .hokuto-reserve-button::before {
  content: none !important;
}

body.wp-theme-akari-care .hokuto-reserve-button__arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

body.wp-theme-akari-care .hokuto-reserve-button:hover .hokuto-reserve-button__arrow {
  transform: translate(4px, -50%);
}

@media (max-width: 767px) {
	body.wp-theme-akari-care .ttl-01 {
    font-size: 38px;
		line-height: 1.25;
	}

  body.wp-theme-akari-care .footer_reserve .hokuto-reserve-button {
    width: 100% !important;
  }
}

	body.wp-theme-akari-care .hero_catch {
  z-index: 150;
  max-width: 390px;
  padding: 14px 18px;
  color: #fff !important;
  background: rgba(18, 14, 12, 0.7);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

body.wp-theme-akari-care .hero .copyright {
  z-index: 150;
  color: #fff;
  text-shadow: 0 1px 8px rgba(18, 14, 12, 0.65);
}

body.wp-theme-akari-care .hero_cta {
  color: #120e0c;
  background: rgba(247, 244, 239, 0.98);
  box-shadow: 0 18px 42px rgba(18, 14, 12, 0.2);
}

body.wp-theme-akari-care .hero_cta::before {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

body.wp-theme-akari-care .hero_cta .hero--contact {
  width: auto !important;
  height: auto !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
}

body.wp-theme-akari-care .hero_cta .hero--contact a {
  width: 195px !important;
  height: 195px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #c27a38 !important;
  box-shadow: none !important;
}

body.wp-theme-akari-care .hero_cta .hero--contact a::before {
  margin-bottom: 9px;
}

body.wp-theme-akari-care .hero_cta .hero--contact .fz-12 {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

body.wp-theme-akari-care .hero_cta .hero--contact .font-en {
  display: block;
  margin: 8px 0 0;
  font-size: 21px;
  line-height: 1;
}

body.wp-theme-akari-care .hero_cta .hero--tel {
  margin: 0 0 12px;
}

body.wp-theme-akari-care .hero_cta .hero--tel .tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.wp-theme-akari-care .hero_cta .hero--tel .num {
  display: inline-block;
  white-space: nowrap;
  font-size: 20px;
  line-height: 1.2;
}

body.wp-theme-akari-care .hero_cta > p:not(.hero--tel) {
  margin: 0;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.75;
}

body.wp-theme-akari-care .hero_cta p,
body.wp-theme-akari-care .hero_cta a,
body.wp-theme-akari-care .hero_cta .num {
  color: #120e0c;
}

body.wp-theme-akari-care .hero_cta .hero--contact a,
body.wp-theme-akari-care .hero_cta .hero--contact a * {
  color: #fff !important;
}

@media (max-width: 767px) {
  body.wp-theme-akari-care .hero::before {
    background-position: 42% top !important;
    background-size: auto 72% !important;
    opacity: 0.42;
  }

  body.wp-theme-akari-care .hero_slides,
  body.wp-theme-akari-care .hero_slide,
  body.wp-theme-akari-care .hero_slide .slick-list,
  body.wp-theme-akari-care .hero_slide .slick-track,
  body.wp-theme-akari-care .hero_slide .slick-slide {
    max-width: none !important;
  }

  body.wp-theme-akari-care .hero_catch {
    right: 12px;
    bottom: -24%;
    max-width: calc(100% - 142px);
    padding: 10px 12px;
		font-size: 12px;
		line-height: 1.75;
	}
}

/* Lower pages retain the shared source hierarchy with clinic content. */
body.hokuto-page {
  margin: 0;
  background: #fff;
  color: #120e0c;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "palt";
}

body.hokuto-page *,
body.hokuto-page *::before,
body.hokuto-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

body.hokuto-page a {
  color: inherit;
  text-decoration: none;
}

body.hokuto-page .header {
  position: relative !important;
  top: auto !important;
}

body.hokuto-page .header > .inner {
  width: min(1320px, calc(100% - 32px)) !important;
}

body.hokuto-page .page-header-logo {
  margin: 0;
}

body.hokuto-page .page-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hokuto-sub-page-strip {
  height: 18px;
  background-color: #bb8b65;
  background-position: center 46%;
  background-size: cover;
  filter: saturate(0.72) contrast(0.92);
}

.hokuto-sub-page-title {
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 56px 24px;
  text-align: center;
  background: #f5f4f0;
}

.hokuto-sub-page-title h1 {
  margin: 0;
  color: #171820;
  font-weight: 400;
}

.hokuto-sub-page-title .en {
  display: block;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 6.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.hokuto-sub-page-title .ja {
  display: block;
  margin-top: 28px;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
}

.hokuto-sub-breadcrumb {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 82px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hokuto-sub-breadcrumb a {
  padding-bottom: 3px;
  border-bottom: 1px solid #120e0c;
}

.hokuto-sub-page-main {
  overflow: hidden;
}

.hokuto-sub-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 120px;
}

.hokuto-sub-section--wide {
  width: 100%;
  padding: 112px max(24px, calc((100% - 1120px) / 2));
  background: #f7f4ef;
}

.hokuto-sub-section-heading {
  margin-bottom: 58px;
  text-align: center;
}

.hokuto-sub-section-heading .en {
  display: block;
  color: #242424;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 5.4rem;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.hokuto-sub-section-heading .ja {
  display: block;
  margin-top: 16px;
  color: #c27a38;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
}

.hokuto-sub-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 72px;
}

.hokuto-sub-intro__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e3db;
}

.hokuto-sub-intro__image img,
.hokuto-sub-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hokuto-sub-intro__copy h2,
.hokuto-sub-feature__copy h2 {
  margin: 0 0 28px;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.6;
}

.hokuto-sub-intro__copy p,
.hokuto-sub-feature__copy p,
.hokuto-sub-list-item p,
.hokuto-sub-access p {
  margin: 0;
  color: rgba(18, 14, 12, 0.76);
  font-size: 1.55rem;
  line-height: 2.05;
}

.hokuto-sub-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(18, 14, 12, 0.2);
  list-style: none;
}

.hokuto-sub-list-item {
  display: grid;
  grid-template-columns: 92px minmax(230px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 24px;
  padding: 32px 8px;
  border-bottom: 1px solid rgba(18, 14, 12, 0.2);
}

.hokuto-sub-list-item .num {
  color: #c27a38;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.3;
}

.hokuto-sub-list-item h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.55;
}

.hokuto-sub-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 480px;
  background: #120e0c;
}

.hokuto-sub-feature__image {
  min-height: 480px;
}

.hokuto-sub-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 7vw;
  color: #f7f4ef;
}

.hokuto-sub-feature__copy .mini {
  margin-bottom: 18px;
  color: #cdaa39;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.hokuto-sub-feature__copy h2,
.hokuto-sub-feature__copy p {
  color: #f7f4ef;
}

.hokuto-sub-button {
  min-width: 210px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 32px;
  padding: 0 26px;
  border: 1px solid #c27a38;
  color: #120e0c;
  background: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.hokuto-sub-button:hover,
.hokuto-sub-button:focus-visible {
  color: #fff;
  background: #c27a38;
}

.hokuto-sub-feature .hokuto-sub-button {
  color: #fff;
  background: transparent;
  border-color: #cdaa39;
}

.hokuto-sub-feature .hokuto-sub-button:hover,
.hokuto-sub-feature .hokuto-sub-button:focus-visible {
  color: #120e0c;
  background: #cdaa39;
}

.hokuto-sub-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(18, 14, 12, 0.2);
  border-left: 1px solid rgba(18, 14, 12, 0.2);
  list-style: none;
}

.hokuto-sub-flow li {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(18, 14, 12, 0.2);
  border-bottom: 1px solid rgba(18, 14, 12, 0.2);
}

.hokuto-sub-flow .num {
  color: #c27a38;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 2rem;
}

.hokuto-sub-flow p {
  margin: 22px 0 0;
  font-size: 1.55rem;
  line-height: 1.7;
}

.hokuto-sub-faq {
  margin: 0;
  border-top: 1px solid rgba(18, 14, 12, 0.2);
}

.hokuto-sub-faq details {
  border-bottom: 1px solid rgba(18, 14, 12, 0.2);
}

.hokuto-sub-faq summary {
  position: relative;
  padding: 28px 58px 28px 52px;
  cursor: pointer;
  list-style: none;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.6;
}

.hokuto-sub-faq summary::-webkit-details-marker {
  display: none;
}

.hokuto-sub-faq summary::before {
  content: "Q";
  position: absolute;
  left: 8px;
  top: 29px;
  color: #c27a38;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.hokuto-sub-faq summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 24px;
  color: #c27a38;
  font-size: 2.4rem;
  font-weight: 300;
}

.hokuto-sub-faq details[open] summary::after {
  content: "−";
}

.hokuto-sub-faq__answer {
  position: relative;
  padding: 0 58px 30px 52px;
  color: rgba(18, 14, 12, 0.76);
  font-size: 1.5rem;
  line-height: 2;
}

.hokuto-sub-faq__answer::before {
  content: "A";
  position: absolute;
  left: 8px;
  top: 0;
  color: #120e0c;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.hokuto-sub-map {
  width: 100%;
  aspect-ratio: 16 / 7;
  margin-top: 42px;
  border: 1px solid rgba(18, 14, 12, 0.18);
  background: #f5f4f0;
}

.hokuto-sub-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hokuto-sub-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid rgba(18, 14, 12, 0.2);
  border-left: 1px solid rgba(18, 14, 12, 0.2);
}

.hokuto-sub-access-grid > div {
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid rgba(18, 14, 12, 0.2);
  border-bottom: 1px solid rgba(18, 14, 12, 0.2);
}

.hokuto-sub-access-grid dt {
  margin-bottom: 14px;
  color: #c27a38;
  font-size: 1.25rem;
  font-weight: 600;
}

.hokuto-sub-access-grid dd {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
}

.hokuto-sub-page-cta {
  padding: 88px 24px;
  text-align: center;
  color: #fff;
  background: #c27a38;
}

.hokuto-sub-page-cta .en {
  display: block;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1;
}

.hokuto-sub-page-cta p {
  margin: 20px 0 0;
  font-size: 1.5rem;
  line-height: 1.8;
}

.hokuto-sub-page-cta .hokuto-sub-button {
  align-self: auto;
  margin-top: 30px;
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.hokuto-sub-page-cta .hokuto-sub-button:hover,
.hokuto-sub-page-cta .hokuto-sub-button:focus-visible {
  color: #c27a38;
  background: #fff;
}

.hokuto-sub-footer {
  padding: 54px 24px;
  text-align: center;
  color: #f7f4ef;
  background: #120e0c;
}

.hokuto-sub-footer img {
  display: block;
  width: min(300px, 72vw);
  height: auto;
  margin: 0 auto;
}

.hokuto-sub-footer p {
  margin: 20px 0 0;
  color: #f7f4ef;
  font-size: 1.25rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .hokuto-sub-intro,
  .hokuto-sub-feature {
    grid-template-columns: 1fr;
  }

  .hokuto-sub-intro {
    gap: 38px;
  }

  .hokuto-sub-feature__image {
    min-height: 420px;
  }

  .hokuto-sub-list-item {
    grid-template-columns: 64px minmax(180px, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 767px) {
  body.hokuto-page .header > .inner {
    width: calc(100% - 24px) !important;
  }

  .hokuto-sub-page-strip {
    height: 10px;
  }

  .hokuto-sub-page-title {
    min-height: 260px;
    padding: 42px 16px;
  }

  .hokuto-sub-page-title .en {
    font-size: 4rem;
  }

  .hokuto-sub-page-title .ja {
    margin-top: 18px;
    font-size: 1.25rem;
  }

  .hokuto-sub-breadcrumb,
  .hokuto-sub-section {
    width: calc(100% - 32px);
  }

  .hokuto-sub-breadcrumb {
    padding: 22px 0 58px;
  }

  .hokuto-sub-section {
    padding-bottom: 80px;
  }

  .hokuto-sub-section--wide {
    padding: 76px 16px;
  }

  .hokuto-sub-section-heading {
    margin-bottom: 38px;
  }

  .hokuto-sub-section-heading .en {
    font-size: 3.5rem;
  }

  .hokuto-sub-intro__copy h2,
  .hokuto-sub-feature__copy h2 {
    font-size: 2.35rem;
  }

  .hokuto-sub-intro__copy p,
  .hokuto-sub-feature__copy p,
  .hokuto-sub-list-item p,
  .hokuto-sub-access p {
    font-size: 1.45rem;
  }

  .hokuto-sub-list-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 24px 0;
  }

  .hokuto-sub-list-item p {
    grid-column: 2;
  }

  .hokuto-sub-list-item h3 {
    font-size: 1.8rem;
  }

  .hokuto-sub-feature {
    min-height: 0;
  }

  .hokuto-sub-feature__image {
    min-height: 320px;
  }

  .hokuto-sub-feature__copy {
    padding: 48px 24px;
  }

  .hokuto-sub-flow,
  .hokuto-sub-access-grid {
    grid-template-columns: 1fr;
  }

  .hokuto-sub-flow li,
  .hokuto-sub-access-grid > div {
    min-height: auto;
  }

  .hokuto-sub-faq summary {
    padding: 22px 42px 22px 38px;
    font-size: 1.55rem;
  }

  .hokuto-sub-faq summary::before {
    left: 2px;
    top: 23px;
  }

  .hokuto-sub-faq summary::after {
    right: 4px;
    top: 18px;
  }

  .hokuto-sub-faq__answer {
    padding: 0 10px 24px 38px;
    font-size: 1.4rem;
  }

  .hokuto-sub-faq__answer::before {
    left: 2px;
  }

  .hokuto-sub-map {
    aspect-ratio: 4 / 3;
  }

  .hokuto-sub-page-cta {
    padding: 66px 16px;
  }

  .hokuto-sub-page-cta .en {
    font-size: 3.2rem;
  }
}
