/*
 * Amato Musica agent-managed CSS
 *
 * Source of truth for UI work created after 2026-07-19. This file is loaded
 * after the existing theme and WordPress custom CSS by Total-child/functions.php.
 *
 * Scope every rule to its page body class and an agent-owned root class. Do not
 * use global element selectors, and do not edit existing theme CSS from here.
 *
 * Legacy agent CSS note:
 * - Agent-created CSS from 2026-07-18 and earlier predates this file and
 *   remains in WordPress custom CSS sources.
 * - The /before-after normal HTML trial (page_id 18237) is one known example
 *   stored in both wpex_custom_css and theme_mods_Total-child['custom_css'].
 * - Keep every legacy agent-managed block intact until a separately
 *   inventoried, backed-up migration is approved.
 */

/* Teacher index and standard-profile prototypes, 2026-07-19. */
.page-id-18247 .image-container-sp-bottom-1,
.page-id-18248 .image-container-sp-bottom-1 {
  display: none !important;
}

/* Musicaway prototype: remove the redundant section divider above the training block. */
body.page-id-18233 .amato-ui-musicaway.amato-ui-training {
  border-top: 0 !important;
}

/* Musicaway renewal migrated from the approved prototype (source page 18233). */
body.page-id-670 .page-header.has-aside.default-page-header {
  background: #fffaf3 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #ead9bf !important;
  margin-bottom: 44px !important;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

body.page-id-670 .page-header-title {
  color: #5d1f1f !important;
  font-size: 25px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
}

body.page-id-670 .site-breadcrumbs {
  color: #8c7b6a !important;
}

body.page-id-670 .image-container-sp-bottom-1 {
  display: none !important;
}

body.page-id-670 .amato-ui-musicaway {
  color: #333;
  font-size: 16px;
  line-height: 1.95;
}

body.page-id-670 .amato-ui-section {
  margin-bottom: 30px;
}

body.page-id-670 .amato-ui-section .wpb_text_column {
  margin-bottom: 18px;
}

body.page-id-670 .amato-ui-section > .vc_column_container > .vc_column-inner {
  padding-top: 4px;
  padding-bottom: 4px;
}

body.page-id-670 .amato-ui-lead > .vc_column_container > .vc_column-inner {
  background: #fffaf3;
  border-radius: 8px;
  padding: 24px 26px 16px !important;
}

body.page-id-670 #primary .amato-ui-musicaway h2 {
  display: block !important;
  margin: 8px 0 24px !important;
  padding: 0 0 10px !important;
  border: 0 !important;
  border-bottom: 2px solid #d9b46a !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #5d1f1f !important;
  text-shadow: none !important;
  font-size: 27px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

body.page-id-670 #primary .amato-ui-musicaway h3 {
  display: block !important;
  margin: 20px 0 14px !important;
  padding: 0 0 0 14px !important;
  border: 0 !important;
  border-left: 4px solid #d9b46a !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #6d2525 !important;
  text-shadow: none !important;
  font-size: 21px !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

body.page-id-670 #primary .amato-ui-lead h3 {
  display: inline-block !important;
  margin: 0 0 10px !important;
  padding: 5px 12px !important;
  border: 1px solid rgba(185, 125, 56, 0.42) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #8f2f2b !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

body.page-id-670 .amato-ui-musicaway p {
  margin-bottom: 16px;
}

body.page-id-670 .amato-ui-musicaway a:not(.vcex-button) {
  color: #8f2f2b !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(143, 47, 43, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.page-id-670 .amato-ui-musicaway a:not(.vcex-button):hover,
body.page-id-670 .amato-ui-musicaway a:not(.vcex-button):focus {
  color: #5d1f1f !important;
  text-decoration-color: rgba(93, 31, 31, 0.65);
}

body.page-id-670 .amato-ui-musicaway img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 20px auto 22px;
}

body.page-id-670 .amato-ui-musicaway img.shadow,
body.page-id-670 .amato-ui-musicaway .shadow img {
  box-shadow: 0 12px 30px rgba(72, 47, 31, 0.16) !important;
}

body.page-id-670 .amato-ui-musicaway ul li {
  position: relative;
  list-style: none !important;
  background-image: none !important;
  padding-left: 25px !important;
}

body.page-id-670 .amato-ui-musicaway ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b97d38;
  box-shadow: 0 0 0 3px rgba(217, 180, 106, 0.18);
}

body.page-id-670 .amato-ui-training,
body.page-id-670 .amato-ui-foundation {
  border-top: 1px solid rgba(217, 180, 106, 0.45);
  padding-top: 28px;
}

body.page-id-670 .amato-ui-musicaway.amato-ui-training {
  border-top: 0 !important;
}

body.page-id-670 .amato-ui-trainer {
  margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
  body.page-id-670 .amato-ui-musicaway {
    font-size: 15px;
    line-height: 1.9;
  }

  body.page-id-670 .page-header.has-aside.default-page-header {
    margin-bottom: 28px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  body.page-id-670 .page-header-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  body.page-id-670 .amato-ui-section {
    margin-bottom: 24px;
  }

  body.page-id-670 .amato-ui-lead > .vc_column_container > .vc_column-inner {
    padding: 18px 16px 10px !important;
  }

  body.page-id-670 #primary .amato-ui-musicaway h2 {
    font-size: 22px !important;
    line-height: 1.45 !important;
    margin-top: 4px !important;
    margin-bottom: 18px !important;
  }

  body.page-id-670 #primary .amato-ui-musicaway h3 {
    font-size: 17px !important;
    line-height: 1.55 !important;
    margin-top: 18px !important;
    padding-left: 11px !important;
  }

  body.page-id-670 #primary .amato-ui-lead h3 {
    font-size: 14px !important;
    margin-top: 0 !important;
    padding: 5px 10px !important;
  }

  body.page-id-670 .amato-ui-musicaway img {
    margin-top: 16px;
    margin-bottom: 18px;
  }

  body.page-id-670 .amato-ui-training,
  body.page-id-670 .amato-ui-foundation {
    padding-top: 22px;
  }
}

/* About-page renewal migrated from the approved prototype (source page 18198). */
body.page-id-639 .page-header.has-aside.default-page-header {
  background: #fffaf3 !important;
  border-bottom: 1px solid #ead9bf !important;
  border-top: 0 !important;
  margin-bottom: 44px !important;
  padding-bottom: 22px !important;
  padding-top: 22px !important;
}

body.page-id-639 .page-header-title {
  color: #5d1f1f !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
}

body.page-id-639 .site-breadcrumbs {
  color: #8c7b6a !important;
}

body.page-id-639 .image-container-sp-bottom-1 {
  display: none !important;
}

body.page-id-639 .amato-ui-about {
  color: #333;
  font-size: 16px;
  line-height: 1.95;
}

body.page-id-639 .amato-ui-section {
  margin-bottom: 16px;
}

body.page-id-639 .amato-ui-section .wpb_text_column {
  margin-bottom: 12px;
}

body.page-id-639 .amato-ui-about a:not(.vcex-button) {
  color: #8f2f2b !important;
  font-weight: 700;
  text-decoration-color: rgba(143, 47, 43, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.page-id-639 .amato-ui-about a:not(.vcex-button):hover,
body.page-id-639 .amato-ui-about a:not(.vcex-button):focus {
  color: #5d1f1f !important;
  text-decoration-color: rgba(93, 31, 31, 0.65);
}

body.page-id-639 .amato-ui-about ul li {
  background-image: none !important;
  list-style: none !important;
  padding-left: 25px !important;
  position: relative;
}

body.page-id-639 .amato-ui-about ul li::before {
  background: #b97d38;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(217, 180, 106, 0.18);
  content: "";
  height: 9px;
  left: 2px;
  position: absolute;
  top: 0.72em;
  width: 9px;
}

body.page-id-639 #primary .amato-ui-about h2,
body.page-id-639 #primary .amato-ui-about h3,
body.page-id-639 #primary .amato-ui-about h4 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  letter-spacing: 0 !important;
}

body.page-id-639 #primary .amato-ui-about h2 {
  border-bottom: 2px solid #d9b46a !important;
  color: #5d1f1f !important;
  font-size: 27px !important;
  line-height: 1.45 !important;
  margin: 10px 0 22px !important;
  padding: 0 0 10px !important;
  text-shadow: none !important;
}

body.page-id-639 #primary .amato-ui-about h3 {
  border-left: 4px solid #d9b46a !important;
  color: #6d2525 !important;
  font-size: 22px !important;
  line-height: 1.55 !important;
  margin: 18px 0 14px !important;
  padding: 0 0 0 14px !important;
  text-shadow: none !important;
}

body.page-id-639 #primary .amato-ui-about h4 {
  border-bottom: 1px solid #d9b46a !important;
  color: #6d2525 !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  margin: 0 0 14px !important;
  padding: 0 0 8px !important;
}

body.page-id-639 .amato-ui-intro > .vc_column_container > .vc_column-inner,
body.page-id-639 .amato-ui-method > .vc_column_container > .vc_column-inner,
body.page-id-639 .amato-ui-origin > .vc_column_container > .vc_column-inner,
body.page-id-639 .amato-ui-courses > .vc_column_container > .vc_column-inner {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding-bottom: 6px;
  padding-top: 6px;
}

body.page-id-639 .amato-ui-card-grid {
  margin: 22px -8px 24px;
}

body.page-id-639 .amato-ui-card {
  margin-bottom: 10px;
  padding-left: 8px;
  padding-right: 8px;
}

body.page-id-639 .amato-ui-card > .vc_column-inner {
  background: #fffaf3;
  border: 0;
  border-radius: 8px;
  height: 100%;
  padding: 22px 22px 18px !important;
}

body.page-id-639 .amato-ui-card ol,
body.page-id-639 .amato-ui-card ul {
  margin-bottom: 0;
}

body.page-id-639 .amato-ui-about img {
  border-radius: 8px;
  display: block;
  margin-bottom: 18px;
}

body.page-id-639 .amato-ui-about .youtube-container {
  border-radius: 8px;
  margin: 24px 0 22px;
  overflow: hidden;
}

body.page-id-639 .amato-ui-intro .amato-ui-button[href*="/lesson/1day-sing"] {
  margin-top: 22px !important;
}

body.page-id-639 .amato-ui-method .amato-ui-button,
body.page-id-639 .amato-ui-origin .amato-ui-button {
  margin-bottom: 24px !important;
  margin-top: 20px !important;
}

body.page-id-639 .amato-ui-button {
  align-items: center !important;
  background: #fff !important;
  border: 2px solid #b54a46 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #8f2f2b !important;
  display: inline-flex !important;
  font-weight: 700 !important;
  justify-content: center !important;
  line-height: 1.45 !important;
  min-height: 56px !important;
  padding: 13px 28px !important;
  text-align: center !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

body.page-id-639 #primary .amato-ui-about .amato-ui-button,
body.page-id-639 #primary .amato-ui-about .amato-ui-button .vcex-button-inner,
body.page-id-639 #primary .amato-ui-about .amato-ui-button p {
  color: #8f2f2b !important;
}

body.page-id-639 .amato-ui-button .vcex-button-inner {
  gap: 0 !important;
}

body.page-id-639 .amato-ui-button .vcex-button-icon {
  display: none !important;
  margin: 0 !important;
}

body.page-id-639 #primary .amato-ui-about .amato-ui-button:hover,
body.page-id-639 #primary .amato-ui-about .amato-ui-button:focus {
  background: #fff7ed !important;
  border-color: #8f2f2b !important;
  color: #5d1f1f !important;
  text-decoration: none !important;
}

body.page-id-639 #primary .amato-ui-about .amato-ui-button:hover .vcex-button-inner,
body.page-id-639 #primary .amato-ui-about .amato-ui-button:focus .vcex-button-inner,
body.page-id-639 #primary .amato-ui-about .amato-ui-button:hover p,
body.page-id-639 #primary .amato-ui-about .amato-ui-button:focus p {
  color: #5d1f1f !important;
}

body.page-id-639 .amato-ui-button-main {
  vertical-align: top !important;
}

body.page-id-639 .amato-ui-intro .amato-ui-button-main {
  font-size: 15px !important;
  margin: 22px 4px 28px !important;
  max-width: none !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  width: calc(50% - 8px) !important;
}

body.page-id-639 .amato-ui-intro .amato-ui-button-main .vcex-button-inner {
  flex-wrap: nowrap !important;
}

body.page-id-639 .amato-ui-card .amato-ui-button-main {
  margin: 18px auto 6px !important;
  max-width: 100% !important;
  min-width: 220px !important;
  width: auto !important;
}

body.page-id-639 .amato-ui-about .wpb_wrapper > ul,
body.page-id-639 .amato-ui-about .wpb_wrapper > ol {
  margin-top: 10px;
}

@media only screen and (max-width: 767px) {
  body.page-id-639 .amato-ui-about {
    font-size: 15px;
    line-height: 1.9;
  }

  body.page-id-639 .page-header.has-aside.default-page-header {
    margin-bottom: 28px !important;
    padding-bottom: 16px !important;
    padding-top: 16px !important;
  }

  body.page-id-639 .page-header-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  body.page-id-639 .amato-ui-section {
    margin-bottom: 18px;
  }

  body.page-id-639 .amato-ui-card-grid {
    margin: 22px 0 20px;
  }

  body.page-id-639 .amato-ui-card {
    padding-left: 0;
    padding-right: 0;
  }

  body.page-id-639 .amato-ui-intro > .vc_column_container > .vc_column-inner,
  body.page-id-639 .amato-ui-method > .vc_column_container > .vc_column-inner,
  body.page-id-639 .amato-ui-origin > .vc_column_container > .vc_column-inner,
  body.page-id-639 .amato-ui-courses > .vc_column_container > .vc_column-inner {
    padding-bottom: 0;
    padding-top: 0;
  }

  body.page-id-639 #primary .amato-ui-about h2 {
    font-size: 22px !important;
    line-height: 1.45 !important;
    margin-top: 4px !important;
  }

  body.page-id-639 #primary .amato-ui-about h3 {
    font-size: 17px !important;
    line-height: 1.55 !important;
    margin-top: 18px !important;
    padding-left: 11px !important;
  }

  body.page-id-639 #primary .amato-ui-about h4 {
    font-size: 16px !important;
  }

  body.page-id-639 .amato-ui-card > .vc_column-inner {
    padding: 18px 16px !important;
  }

  body.page-id-639 .amato-ui-about img {
    margin-bottom: 14px;
  }

  body.page-id-639 .amato-ui-about .youtube-container {
    margin: 20px 0 18px;
  }

  body.page-id-639 .amato-ui-intro .amato-ui-button[href*="/lesson/1day-sing"] {
    margin-top: 18px !important;
  }

  body.page-id-639 .amato-ui-button {
    display: flex !important;
    max-width: none !important;
    min-height: 52px !important;
    padding: 12px 18px !important;
    width: 100% !important;
  }

  body.page-id-639 .amato-ui-button-main {
    margin: 12px 0 14px !important;
    max-width: none !important;
    width: 100% !important;
  }

  body.page-id-639 .amato-ui-intro .amato-ui-button-main {
    display: inline-flex !important;
    font-size: 0 !important;
    margin: 12px 0 16px !important;
    min-height: 52px !important;
    padding: 10px 8px !important;
    vertical-align: top !important;
    width: calc(50% - 5px) !important;
  }

  body.page-id-639 .amato-ui-intro .amato-ui-button-main[href*="/lesson/1day-sing"] {
    float: left !important;
  }

  body.page-id-639 .amato-ui-intro .amato-ui-button-main[href*="/lesson/1day-voice"] {
    float: right !important;
  }

  body.page-id-639 .amato-ui-courses {
    clear: both !important;
  }

  body.page-id-639 .amato-ui-intro .amato-ui-button-main .vcex-button-inner {
    font-size: 0 !important;
  }

  body.page-id-639 .amato-ui-intro .amato-ui-button-main[href*="/lesson/1day-sing"] .vcex-button-inner::after {
    content: "歌コース →";
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  body.page-id-639 .amato-ui-intro .amato-ui-button-main[href*="/lesson/1day-voice"] .vcex-button-inner::after {
    content: "話す声コース →";
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  body.page-id-639 .amato-ui-card .amato-ui-button-main {
    min-width: 0 !important;
  }

  body.page-id-639 .amato-ui-method .amato-ui-button,
  body.page-id-639 .amato-ui-origin .amato-ui-button {
    margin-bottom: 20px !important;
    margin-top: 16px !important;
  }
}

/* Top-page content mirror renewal (page 18277): visual layer only. */
body.page-id-18277 #amato-top-content-mirror {
  --amato-top-ink: #292724;
  --amato-top-muted: #706c65;
  --amato-top-wine: #9d3d4a;
  --amato-top-wine-dark: #752b36;
  --amato-top-sage: #eef3ee;
  --amato-top-paper: #fbfaf7;
  color: var(--amato-top-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.9;
}

body.page-id-18277 #amato-top-content-mirror .vc_row {
  margin-bottom: 0 !important;
}

body.page-id-18277 #amato-top-content-mirror .vc_row > .container,
body.page-id-18277 #amato-top-content-mirror .vc_row > .vc_row-inner {
  max-width: 1120px;
}

body.page-id-18277 #amato-top-content-mirror p,
body.page-id-18277 #amato-top-content-mirror li {
  line-height: 1.9;
}

body.page-id-18277 #amato-top-content-mirror h1,
body.page-id-18277 #amato-top-content-mirror h2,
body.page-id-18277 #amato-top-content-mirror h3 {
  color: var(--amato-top-ink);
  letter-spacing: 0;
}

body.page-id-18277 #amato-top-content-mirror a {
  text-underline-offset: 0.18em;
}

body.page-id-18277 #amato-top-content-mirror img {
  height: auto;
}

/* The opening remains edge-to-edge so the existing desktop/mobile FV assets retain their role. */
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-1,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-2 {
  background: #fff;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-1 .container,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-2 .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Audio proof and learner stories are one calm, readable editorial section. */
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 {
  background: var(--amato-top-paper) !important;
  border-top: 1px solid #ece7e0;
  padding: 64px 0 72px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 .wpb_text_column,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 .wpb_content_element {
  margin-bottom: 20px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 h2 {
  color: var(--amato-top-wine-dark);
  font-size: 25px;
  line-height: 1.5;
  margin: 34px 0 12px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 audio {
  display: block;
  max-width: 100%;
  width: 100%;
}

/* FAQ retains the existing two responsive versions, with a clearer independent surface. */
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5 {
  background: #fff;
  padding: 56px 0 64px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5 .vcex-toggle {
  border-bottom: 1px solid #ded9d2;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle {
  background: #fff;
  border: 1px solid #ded9d2;
  border-radius: 4px;
  margin-bottom: 14px;
  padding: 0 20px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle__heading,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5 .vcex-toggle__heading {
  color: var(--amato-top-ink);
  font-weight: 700;
  padding: 18px 4px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle__content,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5 .vcex-toggle__content {
  color: #4b4742;
  padding: 0 4px 18px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle__content {
  display: block !important;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle__heading-icon {
  display: none;
}

/* Method, testimonials, and founder introduction receive breathing room without altering their copy. */
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-6,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-8 {
  background: #fff;
  padding: 72px 0;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-7 {
  background: var(--amato-top-sage) !important;
  padding: 72px 0;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-6 h2,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-7 h2,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-8 h2 {
  font-size: 29px;
  line-height: 1.55;
  margin-bottom: 22px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-6 p,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-7 p,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-8 p {
  max-width: 760px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-9,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-10 {
  background: var(--amato-top-paper);
  padding: 50px 0 64px;
}

/* A dense search-oriented link section needs a scan-friendly, generous target area. */
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-11 {
  background: #fff;
  border-top: 1px solid #ece7e0;
  padding: 70px 0;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-11 a {
  border-bottom: 1px solid #ddd4cf;
  color: var(--amato-top-wine-dark);
  display: inline-block;
  font-weight: 700;
  margin: 0 14px 12px 0;
  padding: 7px 2px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-12 {
  background: var(--amato-top-sage);
  padding: 52px 0;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-13 {
  background: #fff;
  padding: 70px 0;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-13 a {
  color: var(--amato-top-wine-dark);
  font-weight: 700;
}

/* Kept hidden exactly as on the source page; this only preserves the source's display rule. */
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-14,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-15,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 {
  background: var(--amato-top-paper);
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 {
  border-top: 1px solid #e6dfd6;
  padding: 64px 0 78px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 h2,
body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 h3 {
  font-size: 24px;
  line-height: 1.55;
  margin: 36px 0 16px;
}

body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 p {
  max-width: 850px;
}

@media (max-width: 767px) {
  body.page-id-18277 #amato-top-content-mirror {
    font-size: 15px;
    line-height: 1.85;
  }

  /* The source's desktop-width WPBakery wrappers must not survive on mobile. */
  body.page-id-18277 #amato-top-content-mirror .vc_row .center-row,
  body.page-id-18277 #amato-top-content-mirror .vc_row .center-row-inner,
  body.page-id-18277 #amato-top-content-mirror .vc_row .wpb_column,
  body.page-id-18277 #amato-top-content-mirror .vc_row .vc_column-inner,
  body.page-id-18277 #amato-top-content-mirror .vc_row .wpb_wrapper,
  body.page-id-18277 #amato-top-content-mirror .vc_row .wpb_text_column,
  body.page-id-18277 #amato-top-content-mirror .vc_row h1,
  body.page-id-18277 #amato-top-content-mirror .vc_row h2,
  body.page-id-18277 #amato-top-content-mirror .vc_row h3 {
    box-sizing: border-box;
    max-width: 100% !important;
  }

  body.page-id-18277 #amato-top-content-mirror .vc_row .center-row,
  body.page-id-18277 #amato-top-content-mirror .vc_row .center-row-inner,
  body.page-id-18277 #amato-top-content-mirror .vc_row .wpb_column,
  body.page-id-18277 #amato-top-content-mirror .vc_row .vc_column-inner,
  body.page-id-18277 #amato-top-content-mirror .vc_row .wpb_wrapper,
  body.page-id-18277 #amato-top-content-mirror .vc_row .wpb_text_column {
    width: 100% !important;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-2 h1 img {
    display: block;
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* The desktop FAQ contains the answer bodies; use it for mobile as well. */
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 {
    display: block !important;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5 {
    display: none !important;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle {
    background: #fff !important;
    border: 1px solid #ded9d2;
    border-radius: 4px;
    margin-bottom: 12px !important;
    padding: 0 14px;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle__content {
    display: block !important;
    padding-bottom: 18px;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle__heading-icon {
    display: none;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-6,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-7,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-8,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-9,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-10,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-11,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-12,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-13,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 {
    padding-bottom: 42px;
    padding-top: 42px;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-6 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-7 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-8 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-9 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-10 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-11 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-12 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-13 .container,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 .container {
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 18px;
    width: 100% !important;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 img.aligncenter {
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-3 h2 {
    font-size: 21px;
    margin-top: 28px;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-6 h2,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-7 h2,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-8 h2,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 h2,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-16 h3 {
    font-size: 21px;
    margin-bottom: 16px;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-4 .vcex-toggle__heading,
  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-5 .vcex-toggle__heading {
    line-height: 1.55;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  body.page-id-18277 #amato-top-content-mirror .amato-top-mirror-row-11 a {
    margin-bottom: 8px;
    margin-right: 8px;
    min-height: 42px;
    padding: 8px 2px;
  }
}

/* --------------------------------------------------------------------------
   Top page scratch prototype (page 18277)
   -------------------------------------------------------------------------- */
body.page-id-18277 .amato-top-renewal {
  background: #ffffff;
  color: #1d2926;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  overflow: clip;
}

body.page-id-18277 .amato-top-renewal * {
  box-sizing: border-box;
}

body.page-id-18277 .amato-top-renewal a {
  color: inherit;
  text-decoration: none;
}

body.page-id-18277 .amato-top-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 38px;
  padding-right: 38px;
}

body.page-id-18277 .amato-top-kicker,
body.page-id-18277 .amato-top-section-heading > p {
  color: #9d3548;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  margin: 0 0 15px;
  text-transform: uppercase;
}

body.page-id-18277 .amato-top-hero {
  background: #edf2f0;
  padding: 44px 0 38px;
}

body.page-id-18277 .amato-top-hero-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
}

body.page-id-18277 .amato-top-hero-copy {
  padding: 34px 0;
}

body.page-id-18277 .amato-top-hero h1,
body.page-id-18277 .amato-top-start h2,
body.page-id-18277 .amato-top-proof h2,
body.page-id-18277 .amato-top-guide h2,
body.page-id-18277 .amato-top-people h2,
body.page-id-18277 .amato-top-final h2 {
  color: #1d2926;
  font-size: 43px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.42;
  margin: 0;
}

body.page-id-18277 .amato-top-renewal h2 {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #1d2926 !important;
  font-family: inherit !important;
  font-size: 43px !important;
  font-weight: 600 !important;
  line-height: 1.42 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: none !important;
}

body.page-id-18277 .amato-top-renewal h3 {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: none !important;
}

body.page-id-18277 .amato-top-renewal .amato-top-proof h2,
body.page-id-18277 .amato-top-renewal .amato-top-final h2 {
  color: #ffffff !important;
}

body.page-id-18277 .amato-top-hero h1 {
  font-size: 48px;
}

body.page-id-18277 .amato-top-lead {
  color: #43514d;
  font-size: 17px;
  line-height: 2;
  margin: 26px 0 30px;
}

body.page-id-18277 .amato-top-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  margin: 0;
}

body.page-id-18277 .amato-top-hero-facts div {
  border-left: 2px solid #9d3548;
  padding-left: 13px;
}

body.page-id-18277 .amato-top-hero-facts dt {
  color: #9d3548;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

body.page-id-18277 .amato-top-hero-facts dd {
  color: #53615d;
  font-size: 12px;
  margin: 3px 0 0;
}

body.page-id-18277 .amato-top-hero-photo {
  background: #15201d;
  margin: 0;
  min-height: 468px;
  overflow: hidden;
  position: relative;
}

body.page-id-18277 .amato-top-hero-photo::after {
  background: linear-gradient(135deg, rgba(157, 53, 72, .28), transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body.page-id-18277 .amato-top-hero-photo img {
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  width: 100%;
}

body.page-id-18277 .amato-top-start {
  padding: 102px 0 108px;
}

body.page-id-18277 .amato-top-section-heading {
  margin-bottom: 40px;
  text-align: center;
}

body.page-id-18277 .amato-top-section-heading h2 {
  color: #1d2926;
  font-size: 33px !important;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

body.page-id-18277 .amato-top-course-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-id-18277 .amato-top-course {
  border: 1px solid #d9dfdc;
  display: flex;
  flex-direction: column;
  min-height: 324px;
  padding: 31px 34px 29px;
  position: relative;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.page-id-18277 .amato-top-course:hover {
  border-color: #9d3548;
  transform: translateY(-3px);
}

body.page-id-18277 .amato-top-course-song {
  background: #f7f2f3;
}

body.page-id-18277 .amato-top-course-talk {
  background: #eff5f3;
}

body.page-id-18277 .amato-top-course-number {
  color: #9d3548;
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1;
}

body.page-id-18277 .amato-top-course-label {
  color: #5d6d68;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-top: 32px;
  text-transform: uppercase;
}

body.page-id-18277 .amato-top-course strong {
  color: #1d2926;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 6px;
}

body.page-id-18277 .amato-top-course > span:not(.amato-top-course-number):not(.amato-top-course-label) {
  color: #53615d;
  font-size: 14px;
  line-height: 1.85;
  margin-top: 16px;
}

body.page-id-18277 .amato-top-course b {
  align-items: center;
  color: #7d2738;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
}

body.page-id-18277 .amato-top-course b i,
body.page-id-18277 .amato-top-final-actions i {
  font-size: 20px;
  font-style: normal;
  line-height: 1;
}

body.page-id-18277 .amato-top-secondary-link {
  margin: 27px 0 0;
  text-align: center;
}

body.page-id-18277 .amato-top-secondary-link a,
body.page-id-18277 .amato-top-text-link,
body.page-id-18277 .amato-top-final-sub {
  border-bottom: 1px solid currentColor;
  color: #7d2738;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  padding-bottom: 2px;
}

body.page-id-18277 .amato-top-secondary-link span,
body.page-id-18277 .amato-top-text-link span,
body.page-id-18277 .amato-top-final-sub span {
  margin-left: 7px;
}

body.page-id-18277 .amato-top-proof {
  background: #20332d;
  color: #ffffff;
  padding: 102px 0;
}

body.page-id-18277 .amato-top-proof-grid {
  align-items: start;
  display: grid;
  gap: 78px;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
}

body.page-id-18277 .amato-top-proof .amato-top-kicker {
  color: #f0b6a5;
}

body.page-id-18277 .amato-top-proof h2 {
  color: #ffffff;
  font-size: 39px !important;
}

body.page-id-18277 .amato-top-proof-copy > p:not(.amato-top-kicker) {
  color: #d5dfda;
  font-size: 15px;
  line-height: 2;
  margin: 25px 0 26px;
}

body.page-id-18277 .amato-top-proof .amato-top-text-link {
  color: #ffffff;
}

body.page-id-18277 .amato-top-proof-list {
  border-top: 1px solid rgba(255, 255, 255, .3);
}

body.page-id-18277 .amato-top-proof-list article {
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  gap: 7px 20px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 25px 0;
}

body.page-id-18277 .amato-top-proof-list span {
  color: #f0b6a5;
  font-family: Georgia, serif;
  font-size: 17px;
  grid-row: span 2;
}

body.page-id-18277 .amato-top-proof-list h3 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.5;
  margin: 0;
}

body.page-id-18277 .amato-top-proof-list p {
  color: #d5dfda;
  font-size: 13px;
  grid-column: 2;
  grid-row: 2;
  line-height: 1.75;
  margin: 0;
}

body.page-id-18277 .amato-top-voices {
  padding: 103px 0 106px;
}

body.page-id-18277 .amato-top-section-heading-left {
  margin-bottom: 36px;
  text-align: left;
}

body.page-id-18277 .amato-top-section-heading-left > span {
  color: #5d6d68;
  display: block;
  font-size: 14px;
  margin-top: 12px;
}

body.page-id-18277 .amato-top-voice-links {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-id-18277 .amato-top-voice-links a {
  background: #f3f5f4;
  border: 1px solid #dbe1de;
  display: grid;
  gap: 4px 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 28px 31px;
  transition: background-color .2s ease;
}

body.page-id-18277 .amato-top-voice-links a + a {
  border-left: 0;
}

body.page-id-18277 .amato-top-voice-links a:hover {
  background: #e4ebe8;
}

body.page-id-18277 .amato-top-voice-links span {
  color: #9d3548;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.page-id-18277 .amato-top-voice-links strong {
  color: #1d2926;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

body.page-id-18277 .amato-top-voice-links i {
  align-self: center;
  color: #7d2738;
  font-size: 24px;
  font-style: normal;
  grid-column: 2;
  grid-row: 1 / span 2;
}

body.page-id-18277 .amato-top-guide {
  background: #f5f0ef;
  padding: 90px 0;
}

body.page-id-18277 .amato-top-guide-grid {
  align-items: center;
  display: grid;
  gap: 68px;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
}

body.page-id-18277 .amato-top-guide h2 {
  font-size: 36px !important;
}

body.page-id-18277 .amato-top-guide ul {
  display: grid;
  gap: 0 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-id-18277 .amato-top-guide li {
  background: none !important;
  border-top: 1px solid #cdd5d1;
  padding-left: 0 !important;
}

body.page-id-18277 .amato-top-guide li::before {
  content: none !important;
  display: none !important;
}

body.page-id-18277 .amato-top-guide li:nth-last-child(-n + 2) {
  border-bottom: 1px solid #cdd5d1;
}

body.page-id-18277 .amato-top-guide li a {
  align-items: center;
  color: #34413d;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: space-between;
  min-height: 58px;
}

body.page-id-18277 .amato-top-guide li a::after {
  color: #9d3548;
  content: "→";
  font-size: 17px;
}

body.page-id-18277 .amato-top-people {
  padding: 104px 0;
}

body.page-id-18277 .amato-top-people-grid {
  align-items: center;
  display: grid;
  gap: 74px;
  grid-template-columns: minmax(300px, .95fr) minmax(0, 1fr);
}

body.page-id-18277 .amato-top-people-photo {
  background: #edf2f0;
  margin: 0;
  overflow: hidden;
}

body.page-id-18277 .amato-top-people-photo img {
  display: block;
  height: 100%;
  min-height: 352px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

body.page-id-18277 .amato-top-people h2 {
  font-size: 38px !important;
}

body.page-id-18277 .amato-top-people-copy > p:not(.amato-top-kicker) {
  color: #53615d;
  font-size: 15px;
  line-height: 2;
  margin: 25px 0 27px;
}

body.page-id-18277 .amato-top-final {
  background: #9d3548;
  color: #ffffff;
  padding: 96px 0 100px;
  text-align: center;
}

body.page-id-18277 .amato-top-final > .amato-top-shell > p {
  color: #f5d8d1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

body.page-id-18277 .amato-top-final h2 {
  color: #ffffff;
  font-size: 43px;
}

body.page-id-18277 .amato-top-final > .amato-top-shell > span {
  color: #fbecef;
  display: block;
  font-size: 15px;
  margin-top: 17px;
}

body.page-id-18277 .amato-top-final-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 33px auto 24px;
  max-width: 740px;
}

body.page-id-18277 .amato-top-final-actions a {
  align-items: center;
  background: #ffffff;
  color: #7d2738;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: space-between;
  min-height: 61px;
  padding: 15px 22px;
  text-align: left;
}

body.page-id-18277 .amato-top-final-actions a:hover {
  background: #f5f0ef;
}

body.page-id-18277 .amato-top-final-sub {
  color: #ffffff;
}

@media (max-width: 959px) {
  body.page-id-18277 .amato-top-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  body.page-id-18277 .amato-top-hero {
    padding: 26px 0 0;
  }

  body.page-id-18277 .amato-top-hero-grid,
  body.page-id-18277 .amato-top-proof-grid,
  body.page-id-18277 .amato-top-guide-grid,
  body.page-id-18277 .amato-top-people-grid {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  body.page-id-18277 .amato-top-hero-copy {
    padding: 21px 0 0;
  }

  body.page-id-18277 .amato-top-hero h1 {
    font-size: 36px;
  }

  body.page-id-18277 .amato-top-lead {
    font-size: 15px;
    line-height: 1.9;
    margin: 20px 0 24px;
  }

  body.page-id-18277 .amato-top-hero-facts {
    gap: 12px 22px;
  }

  body.page-id-18277 .amato-top-hero-photo {
    min-height: 396px;
  }

  body.page-id-18277 .amato-top-start,
  body.page-id-18277 .amato-top-proof,
  body.page-id-18277 .amato-top-voices,
  body.page-id-18277 .amato-top-people {
    padding-bottom: 70px;
    padding-top: 70px;
  }

  body.page-id-18277 .amato-top-guide {
    padding: 68px 0;
  }

  body.page-id-18277 .amato-top-section-heading {
    margin-bottom: 29px;
  }

  body.page-id-18277 .amato-top-section-heading h2,
  body.page-id-18277 .amato-top-proof h2,
  body.page-id-18277 .amato-top-guide h2,
  body.page-id-18277 .amato-top-people h2,
  body.page-id-18277 .amato-top-final h2 {
    font-size: 29px !important;
  }

  body.page-id-18277 .amato-top-course-grid,
  body.page-id-18277 .amato-top-voice-links,
  body.page-id-18277 .amato-top-final-actions {
    grid-template-columns: 1fr;
  }

  body.page-id-18277 .amato-top-course {
    min-height: 264px;
    padding: 25px 23px 22px;
  }

  body.page-id-18277 .amato-top-course-label {
    margin-top: 22px;
  }

  body.page-id-18277 .amato-top-course strong {
    font-size: 23px;
  }

  body.page-id-18277 .amato-top-course > span:not(.amato-top-course-number):not(.amato-top-course-label) {
    font-size: 13px;
    margin-top: 11px;
  }

  body.page-id-18277 .amato-top-proof-grid {
    gap: 34px;
  }

  body.page-id-18277 .amato-top-proof-copy > p:not(.amato-top-kicker) {
    font-size: 14px;
    margin: 18px 0 22px;
  }

  body.page-id-18277 .amato-top-section-heading-left > span {
    font-size: 13px;
    line-height: 1.75;
  }

  body.page-id-18277 .amato-top-voice-links a + a {
    border-left: 1px solid #dbe1de;
    border-top: 0;
  }

  body.page-id-18277 .amato-top-guide-grid {
    gap: 28px;
  }

  body.page-id-18277 .amato-top-guide ul {
    grid-template-columns: 1fr;
  }

  body.page-id-18277 .amato-top-guide li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body.page-id-18277 .amato-top-guide li:last-child {
    border-bottom: 1px solid #cdd5d1;
  }

  body.page-id-18277 .amato-top-people-grid {
    gap: 35px;
  }

  body.page-id-18277 .amato-top-people-photo img {
    min-height: 278px;
  }

  body.page-id-18277 .amato-top-people-copy > p:not(.amato-top-kicker) {
    font-size: 14px;
    margin: 18px 0 22px;
  }

  body.page-id-18277 .amato-top-final {
    padding: 70px 0 75px;
  }

  body.page-id-18277 .amato-top-final > .amato-top-shell > span {
    font-size: 13px;
    line-height: 1.8;
  }

  body.page-id-18277 .amato-top-final-actions {
    margin-top: 27px;
  }

  body.page-id-18277 .amato-top-final-actions a {
    font-size: 14px;
    min-height: 56px;
  }
}

@media (max-width: 479px) {
  body.page-id-18277 .amato-top-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.page-id-18277 .amato-top-hero h1 {
    font-size: 31px;
  }

  body.page-id-18277 .amato-top-hero-photo {
    min-height: 355px;
  }

  body.page-id-18277 .amato-top-hero-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.page-id-18277 .amato-top-section-heading h2,
  body.page-id-18277 .amato-top-proof h2,
  body.page-id-18277 .amato-top-guide h2,
  body.page-id-18277 .amato-top-people h2,
  body.page-id-18277 .amato-top-final h2 {
    font-size: 26px !important;
  }

  body.page-id-18277 .amato-top-proof-list article {
    gap: 5px 14px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  body.page-id-18277 .amato-top-voice-links a {
    padding: 22px 19px;
  }
}

.page-id-18247 .page-header.has-aside.default-page-header,
.page-id-18248 .page-header.has-aside.default-page-header {
  background: #fffaf4 !important;
  border-bottom: 1px solid #eadbc5 !important;
  border-top: 0 !important;
  margin-bottom: 38px !important;
  padding-bottom: 20px !important;
  padding-top: 20px !important;
}

.page-id-18247 .page-header-title,
.page-id-18248 .page-header-title {
  color: #5c2427 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
}

.page-id-18247 .site-breadcrumbs,
.page-id-18248 .site-breadcrumbs {
  color: #80756a !important;
}

.page-id-18247 .amato-teacher-index,
.page-id-18248 .amato-teacher-detail {
  color: #313233;
  font-size: 16px;
  line-height: 1.88;
}

.page-id-18247 .amato-teacher-index-heading {
  margin-bottom: 16px;
  padding-top: 10px;
}

.page-id-18247 .amato-teacher-index-heading > .vc_column_container > .vc_column-inner,
.page-id-18248 .amato-teacher-detail-others-heading > .vc_column_container > .vc_column-inner {
  border-bottom: 2px solid #d7b06c;
  padding-bottom: 10px !important;
}

.page-id-18247 #primary .amato-teacher-index-heading h2,
.page-id-18248 #primary .amato-teacher-detail h2 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #63282d !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: none !important;
}

.page-id-18247 .amato-teacher-index-grid,
.page-id-18248 .amato-teacher-detail-others-grid {
  margin-bottom: 22px;
}

.page-id-18247 .amato-teacher-card,
.page-id-18248 .amato-teacher-card {
  margin-bottom: 18px;
}

.page-id-18247 .amato-teacher-card > .vc_column-inner,
.page-id-18248 .amato-teacher-card > .vc_column-inner {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(75, 51, 37, 0.05);
  height: 100%;
  padding: 20px 18px 18px !important;
}

.page-id-18247 .amato-teacher-card .wpb_text_column,
.page-id-18248 .amato-teacher-card .wpb_text_column {
  margin-bottom: 0 !important;
}

.page-id-18247 .amato-teacher-card img,
.page-id-18248 .amato-teacher-card img {
  aspect-ratio: 1;
  border: 0 !important;
  display: block;
  height: auto;
  margin: 0 auto 14px !important;
  max-width: 142px;
  object-fit: cover;
  width: 100%;
}

.page-id-18247 #primary .amato-teacher-card .teacher-name,
.page-id-18248 #primary .amato-teacher-card .teacher-name {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4c292b !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  text-align: center;
  text-shadow: none !important;
}

.page-id-18247 .amato-teacher-card .p-ignore,
.page-id-18248 .amato-teacher-card .mini-position {
  color: #6c6b68;
  line-height: 1.55;
  margin-bottom: 4px;
  text-align: center;
}

.page-id-18247 .amato-teacher-card .en-name,
.page-id-18248 .amato-teacher-card .en-name {
  color: #9a6154;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: center;
}

.page-id-18247 .amato-teacher-card .teacher-button,
.page-id-18248 .amato-teacher-card .teacher-button {
  background: #8b343a !important;
  border: 1px solid #8b343a !important;
  border-radius: 4px;
  color: #fff !important;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 auto !important;
  max-width: 182px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none !important;
}

.page-id-18247 .amato-teacher-card .teacher-button:hover,
.page-id-18247 .amato-teacher-card .teacher-button:focus,
.page-id-18248 .amato-teacher-card .teacher-button:hover,
.page-id-18248 .amato-teacher-card .teacher-button:focus {
  background: #642529 !important;
  border-color: #642529 !important;
  color: #fff !important;
}

.page-id-18248 .amato-teacher-detail-profile {
  margin-bottom: 34px;
}

.page-id-18248 .amato-teacher-detail-profile > .vc_column_container > .vc_column-inner {
  background: #fffaf4;
  border: 1px solid #eadfce;
  border-radius: 8px;
  padding: 28px 30px 24px !important;
}

.page-id-18248 .amato-teacher-detail-profile .wpb_text_column {
  margin-bottom: 18px !important;
}

.page-id-18248 .amato-teacher-detail-profile .wpb_text_column:first-child img {
  border-radius: 7px;
  display: block;
  height: auto;
  margin: 0 auto !important;
  max-width: 390px;
  width: 100%;
}

.page-id-18248 .amato-teacher-detail-profile h2 {
  border-bottom: 2px solid #d7b06c !important;
  margin: 28px 0 16px !important;
  padding-bottom: 9px !important;
}

.page-id-18248 .amato-teacher-detail-profile p {
  margin-bottom: 15px;
}

.page-id-18248 .amato-teacher-detail-profile a.opacity {
  display: block;
  margin: 22px auto 0;
  max-width: 440px;
}

.page-id-18248 .amato-teacher-detail-profile a.opacity img {
  border-radius: 6px;
  display: block;
  height: auto;
  margin: 0;
  width: 100%;
}

.page-id-18248 .amato-teacher-detail-others-heading {
  margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
  .page-id-18247 .page-header.has-aside.default-page-header,
  .page-id-18248 .page-header.has-aside.default-page-header {
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    padding-top: 15px !important;
  }

  .page-id-18247 .page-header-title,
  .page-id-18248 .page-header-title {
    font-size: 18px !important;
  }

  .page-id-18247 .amato-teacher-index,
  .page-id-18248 .amato-teacher-detail {
    font-size: 15px;
    line-height: 1.82;
  }

  .page-id-18247 .amato-teacher-index-heading {
    margin-bottom: 12px;
    padding-top: 6px;
  }

  .page-id-18247 #primary .amato-teacher-index-heading h2,
  .page-id-18248 #primary .amato-teacher-detail h2 {
    font-size: 20px !important;
  }

  .page-id-18247 .amato-teacher-index-grid,
  .page-id-18248 .amato-teacher-detail-others-grid {
    margin-bottom: 8px;
  }

  .page-id-18247 .amato-teacher-card,
  .page-id-18248 .amato-teacher-card {
    margin-bottom: 12px;
  }

  .page-id-18247 .amato-teacher-card > .vc_column-inner,
  .page-id-18248 .amato-teacher-card > .vc_column-inner {
    padding: 13px !important;
  }

  .page-id-18247 .amato-teacher-card > .vc_column-inner > .wpb_wrapper,
  .page-id-18248 .amato-teacher-card > .vc_column-inner > .wpb_wrapper {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .page-id-18247 .amato-teacher-card .wpb_text_column:first-child,
  .page-id-18248 .amato-teacher-card .wpb_text_column:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .page-id-18247 .amato-teacher-card .wpb_text_column:nth-child(2),
  .page-id-18248 .amato-teacher-card .wpb_text_column:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .page-id-18247 .amato-teacher-card img,
  .page-id-18248 .amato-teacher-card img {
    margin: 0 !important;
    max-width: 86px;
  }

  .page-id-18247 #primary .amato-teacher-card .teacher-name,
  .page-id-18248 #primary .amato-teacher-card .teacher-name,
  .page-id-18247 .amato-teacher-card .p-ignore,
  .page-id-18248 .amato-teacher-card .mini-position,
  .page-id-18247 .amato-teacher-card .en-name {
    text-align: left;
  }

  .page-id-18248 .amato-teacher-card .en-name {
    text-align: left;
  }

  .page-id-18247 .amato-teacher-card .p-ignore {
    font-size: 12px !important;
  }

  .page-id-18247 .amato-teacher-card .en-name,
  .page-id-18248 .amato-teacher-card .en-name {
    margin-bottom: 7px;
  }

  .page-id-18247 .amato-teacher-card .teacher-button,
  .page-id-18248 .amato-teacher-card .teacher-button {
    font-size: 13px;
    margin: 0 !important;
    max-width: none;
    padding: 8px 10px;
  }

  .page-id-18248 .amato-teacher-detail-profile {
    margin-bottom: 26px;
  }

  .page-id-18248 .amato-teacher-detail-profile > .vc_column_container > .vc_column-inner {
    padding: 18px 15px 15px !important;
  }

  .page-id-18248 .amato-teacher-detail-profile .wpb_text_column {
    margin-bottom: 15px !important;
  }

  .page-id-18248 .amato-teacher-detail-profile h2 {
    margin: 23px 0 13px !important;
  }
}

/* Shared standard-profile detail pages, 2026-07-19. */
body:is(.page-id-18250, .page-id-18251, .page-id-18252, .page-id-18253, .page-id-18254, .page-id-18255, .page-id-18256, .page-id-18257) .image-container-sp-bottom-1 {
  display: none !important;
}

body:is(.page-id-18250, .page-id-18251, .page-id-18252, .page-id-18253, .page-id-18254, .page-id-18255, .page-id-18256, .page-id-18257) .page-header.has-aside.default-page-header {
  background: #fffaf4 !important;
  border-bottom: 1px solid #eadbc5 !important;
  border-top: 0 !important;
  margin-bottom: 38px !important;
  padding-bottom: 20px !important;
  padding-top: 20px !important;
}

body:is(.page-id-18250, .page-id-18251, .page-id-18252, .page-id-18253, .page-id-18254, .page-id-18255, .page-id-18256, .page-id-18257) .page-header-title {
  color: #5c2427 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
}

.amato-teacher-detail {
  color: #313233;
  font-size: 16px;
  line-height: 1.88;
}

.amato-teacher-detail-section {
  margin-bottom: 28px;
}

.amato-teacher-detail-section > .vc_column_container > .vc_column-inner {
  border-top: 1px solid rgba(215, 176, 108, 0.48);
  padding-top: 24px !important;
}

#primary .amato-teacher-detail h2 {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid #d7b06c !important;
  box-shadow: none !important;
  color: #63282d !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 28px 0 16px !important;
  padding: 0 0 9px !important;
  text-shadow: none !important;
}

.amato-teacher-detail-profile {
  margin-bottom: 34px;
}

.amato-teacher-detail-profile > .vc_column_container > .vc_column-inner {
  background: #fffaf4;
  border: 1px solid #eadfce;
  border-radius: 8px;
  padding: 28px 30px 24px !important;
}

.amato-teacher-detail-profile .wpb_text_column {
  margin-bottom: 18px !important;
}

.amato-teacher-detail-profile .wpb_text_column:first-child img {
  border-radius: 7px;
  display: block;
  height: auto;
  margin: 0 auto !important;
  max-width: 390px;
  width: 100%;
}

.amato-teacher-detail-profile p,
.amato-teacher-detail-section p {
  margin-bottom: 15px;
}

.amato-teacher-detail-profile a.opacity {
  display: block;
  margin: 22px auto 0;
  max-width: 440px;
}

.amato-teacher-detail-profile a.opacity img {
  border-radius: 6px;
  display: block;
  height: auto;
  margin: 0;
  width: 100%;
}

.amato-teacher-detail-others-heading {
  margin-bottom: 20px;
}

.amato-teacher-detail-others-heading > .vc_column_container > .vc_column-inner {
  border-bottom: 2px solid #d7b06c;
  padding-bottom: 10px !important;
}

.amato-teacher-detail-others-heading h2 {
  border-bottom: 0 !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

.amato-teacher-detail-others-grid {
  margin-bottom: 22px;
}

.amato-teacher-detail .amato-teacher-card {
  margin-bottom: 18px;
}

.amato-teacher-detail .amato-teacher-card > .vc_column-inner {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(75, 51, 37, 0.05);
  height: 100%;
  padding: 20px 18px 18px !important;
}

.amato-teacher-detail .amato-teacher-card .wpb_text_column {
  margin-bottom: 0 !important;
}

.amato-teacher-detail .amato-teacher-card img {
  aspect-ratio: 1;
  border: 0 !important;
  display: block;
  height: auto;
  margin: 0 auto 14px !important;
  max-width: 142px;
  object-fit: cover;
  width: 100%;
}

#primary .amato-teacher-detail .amato-teacher-card .teacher-name {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4c292b !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  text-align: center;
  text-shadow: none !important;
}

.amato-teacher-detail .amato-teacher-card .mini-position {
  color: #6c6b68;
  line-height: 1.55;
  margin-bottom: 4px;
  text-align: center;
}

.amato-teacher-detail .amato-teacher-card .en-name {
  color: #9a6154;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: center;
}

.amato-teacher-detail .amato-teacher-card .teacher-button {
  background: #8b343a !important;
  border: 1px solid #8b343a !important;
  border-radius: 4px;
  color: #fff !important;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 auto !important;
  max-width: 182px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none !important;
}

.amato-teacher-detail .amato-teacher-card .teacher-button:hover,
.amato-teacher-detail .amato-teacher-card .teacher-button:focus {
  background: #642529 !important;
  border-color: #642529 !important;
  color: #fff !important;
}

@media only screen and (max-width: 767px) {
  body:is(.page-id-18250, .page-id-18251, .page-id-18252, .page-id-18253, .page-id-18254, .page-id-18255, .page-id-18256, .page-id-18257) .page-header.has-aside.default-page-header {
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    padding-top: 15px !important;
  }

  body:is(.page-id-18250, .page-id-18251, .page-id-18252, .page-id-18253, .page-id-18254, .page-id-18255, .page-id-18256, .page-id-18257) .page-header-title {
    font-size: 18px !important;
  }

  .amato-teacher-detail {
    font-size: 15px;
    line-height: 1.82;
  }

  #primary .amato-teacher-detail h2 {
    font-size: 20px !important;
  }

  .amato-teacher-detail-profile {
    margin-bottom: 26px;
  }

  .amato-teacher-detail-profile > .vc_column_container > .vc_column-inner {
    padding: 18px 15px 15px !important;
  }

  .amato-teacher-detail-profile .wpb_text_column {
    margin-bottom: 15px !important;
  }

  .amato-teacher-detail-section > .vc_column_container > .vc_column-inner {
    padding-top: 20px !important;
  }

  .amato-teacher-detail-others-grid {
    margin-bottom: 8px;
  }

  .amato-teacher-detail .amato-teacher-card {
    margin-bottom: 12px;
  }

  .amato-teacher-detail .amato-teacher-card > .vc_column-inner {
    padding: 13px !important;
  }

  .amato-teacher-detail .amato-teacher-card > .vc_column-inner > .wpb_wrapper {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .amato-teacher-detail .amato-teacher-card .wpb_text_column:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .amato-teacher-detail .amato-teacher-card .wpb_text_column:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .amato-teacher-detail .amato-teacher-card img {
    margin: 0 !important;
    max-width: 86px;
  }

  #primary .amato-teacher-detail .amato-teacher-card .teacher-name,
  .amato-teacher-detail .amato-teacher-card .mini-position,
  .amato-teacher-detail .amato-teacher-card .en-name {
    text-align: left;
  }

  .amato-teacher-detail .amato-teacher-card .en-name {
    margin-bottom: 7px;
  }

  .amato-teacher-detail .amato-teacher-card .teacher-button {
    font-size: 13px;
    margin: 0 !important;
    max-width: none;
    padding: 8px 10px;
  }
}

/* Long-profile teacher prototypes: Maiko Horisawa and Takuya Tsukasa, 2026-07-19. */
body:is(.page-id-18258, .page-id-18259) .image-container-sp-bottom-1 {
  display: none !important;
}

body:is(.page-id-18258, .page-id-18259) .page-header.has-aside.default-page-header {
  background: #fffaf4 !important;
  border-bottom: 1px solid #eadbc5 !important;
  border-top: 0 !important;
  margin-bottom: 38px !important;
  padding-bottom: 20px !important;
  padding-top: 20px !important;
}

body:is(.page-id-18258, .page-id-18259) .page-header-title {
  color: #5c2427 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-renewal {
  color: #313233;
  font-size: 16px;
  line-height: 1.9;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero {
  background: #fffaf4;
  border-bottom: 1px solid #eadfce;
  margin-bottom: 44px;
  padding: 0 0 34px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero > .vc_column_container > .vc_column-inner {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 30px !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero .amato-teacher-hero-media {
  margin: 0 -30px 30px !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero .amato-teacher-hero-media img {
  display: block;
  height: auto;
  margin: 0 !important;
  max-height: 510px;
  object-fit: cover;
  width: 100%;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero .amato-teacher-hero-summary {
  margin-bottom: 24px !important;
}

body.page-id-18258 .amato-teacher-hero-summary strong,
body.page-id-18259 .amato-teacher-hero-summary strong {
  color: #5c2427;
  display: block;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 14px;
}

body.page-id-18258 .amato-teacher-hero-summary h4,
body.page-id-18259 .amato-teacher-hero-summary h4 {
  border-left: 3px solid #b88a45;
  color: #5c2427;
  font-size: 17px;
  line-height: 1.5;
  margin: 24px 0 10px;
  padding-left: 10px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero p,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero li,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section p,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section li {
  margin-bottom: 14px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero ul,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero li,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section li {
  padding-left: 21px;
  position: relative;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero li::before,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section li::before {
  background: #b88a45;
  border: 0 !important;
  border-radius: 50%;
  box-shadow: none !important;
  content: "";
  height: 8px;
  left: 1px;
  position: absolute;
  top: 0.67em;
  width: 8px;
}

body.page-id-18259 .amato-teacher-no-break {
  white-space: nowrap;
}

body.page-id-18258 .amato-teacher-hero-updates {
  border-top: 1px solid #e3cfac;
  margin-top: 28px !important;
  padding-top: 24px;
}

body.page-id-18258 .amato-teacher-hero-updates h3,
body.page-id-18258 .amato-teacher-lesson-heading h3 {
  color: #63282d;
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 14px;
}

body.page-id-18258 .amato-teacher-hero-updates ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-id-18258 .amato-teacher-hero-updates li {
  padding-left: 21px;
  position: relative;
}

body.page-id-18258 .amato-teacher-hero-updates li::before {
  background: #b88a45;
  border: 0 !important;
  border-radius: 50%;
  box-shadow: none !important;
  content: "";
  height: 8px;
  left: 1px;
  position: absolute;
  top: 0.67em;
  width: 8px;
}

body.page-id-18258 .amato-teacher-lesson-heading {
  border-top: 1px solid #e3cfac;
  margin-top: 28px !important;
  padding-top: 24px;
}

body.page-id-18258 .amato-teacher-lesson-copy {
  margin-bottom: 18px !important;
}

body.page-id-18258 .amato-teacher-lesson-button {
  margin: 0 !important;
}

body.page-id-18258 .amato-teacher-lesson-button a {
  border-radius: 4px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  padding: 12px 20px !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section {
  margin: 0 auto 46px;
  max-width: 840px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section > .vc_column_container > .vc_column-inner {
  padding: 0 30px !important;
}

body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-long-section h2 {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid #d7b06c !important;
  box-shadow: none !important;
  color: #63282d !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 25px !important;
  padding: 0 0 10px !important;
  text-shadow: none !important;
}

body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-long-section h3 {
  color: #5c2427 !important;
  font-size: 19px !important;
  line-height: 1.5 !important;
  margin: 30px 0 13px !important;
}

body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-long-section h4 {
  color: #624144 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  margin: 22px 0 10px !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section img {
  border-radius: 6px;
  display: block;
  height: auto;
  margin: 18px auto !important;
  max-width: 100%;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section ul {
  margin: 0 0 18px;
  padding: 0;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section a {
  color: #7e3035;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(126, 48, 53, 0.38);
  text-underline-offset: 3px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-books-section,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-media-section {
  border-top: 1px solid #eadfce;
  padding-top: 40px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-heading {
  margin: 0 auto 20px;
  max-width: 840px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-heading > .vc_column_container > .vc_column-inner {
  border-bottom: 2px solid #d7b06c;
  padding: 0 30px 10px !important;
}

body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-others-heading h2 {
  color: #63282d !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid {
  margin: 0 auto 22px;
  max-width: 840px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card {
  margin-bottom: 18px;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card > .vc_column-inner {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(75, 51, 37, 0.05);
  height: 100%;
  padding: 20px 18px 18px !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card .wpb_text_column {
  margin-bottom: 0 !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card img {
  aspect-ratio: 1;
  border: 0 !important;
  display: block;
  margin: 0 auto 14px !important;
  max-width: 142px;
  object-fit: cover;
  width: 100%;
}

body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-others-grid .teacher-name {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4c292b !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  text-align: center;
  text-shadow: none !important;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .mini-position,
body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .en-name {
  color: #6c6b68;
  line-height: 1.55;
  margin-bottom: 8px;
  text-align: center;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .en-name {
  color: #9a6154;
  font-size: 12px;
  line-height: 1.4;
}

body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .teacher-button {
  background: #8b343a !important;
  border: 1px solid #8b343a !important;
  border-radius: 4px;
  color: #fff !important;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 auto !important;
  max-width: 182px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none !important;
}

@media only screen and (max-width: 767px) {
  body:is(.page-id-18247, .page-id-18248, .page-id-18250, .page-id-18251, .page-id-18252, .page-id-18253, .page-id-18254, .page-id-18255, .page-id-18256, .page-id-18257, .page-id-18258, .page-id-18259) .amato-teacher-card {
    clear: both !important;
    float: none !important;
    width: 100% !important;
  }

  body:is(.page-id-18258, .page-id-18259) .page-header.has-aside.default-page-header {
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    padding-top: 15px !important;
  }

  body:is(.page-id-18258, .page-id-18259) .page-header-title {
    font-size: 18px !important;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-renewal {
    font-size: 15px;
    line-height: 1.82;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero > .vc_column_container > .vc_column-inner,
  body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section > .vc_column_container > .vc_column-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-hero .amato-teacher-hero-media {
    margin: 0 -16px 22px !important;
  }

  body.page-id-18258 .amato-teacher-hero-summary strong,
  body.page-id-18259 .amato-teacher-hero-summary strong {
    font-size: 20px;
    margin-bottom: 11px;
  }

  body.page-id-18258 .amato-teacher-hero-updates h3,
  body.page-id-18258 .amato-teacher-lesson-heading h3 {
    font-size: 19px;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-long-section {
    margin-bottom: 34px;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-books-section,
  body:is(.page-id-18258, .page-id-18259) .amato-teacher-media-section {
    padding-top: 30px;
  }

  body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-long-section h2 {
    font-size: 21px !important;
    margin-bottom: 18px !important;
  }

  body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-long-section h3 {
    font-size: 18px !important;
    margin-top: 24px !important;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-heading > .vc_column_container > .vc_column-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-others-heading h2 {
    font-size: 20px !important;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card {
    margin-bottom: 12px;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card > .vc_column-inner {
    padding: 13px !important;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card > .vc_column-inner > .wpb_wrapper {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 86px minmax(0, 1fr);
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card .wpb_text_column:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card .wpb_text_column:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .amato-teacher-card img {
    margin: 0 !important;
    max-width: 86px;
  }

  body:is(.page-id-18258, .page-id-18259) #primary .amato-teacher-others-grid .teacher-name,
  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .mini-position,
  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .en-name {
    text-align: left;
  }

  body:is(.page-id-18258, .page-id-18259) .amato-teacher-others-grid .teacher-button {
    font-size: 13px;
    margin: 0 !important;
    max-width: none;
    padding: 8px 10px;
  }
}

/* LP: 「お申し込みの流れ」は本文を削除せず、ページ単位で非表示にする。 */
body.page-id-11235 .wpb_single_image:has(img[title="1day-voice_flow-1"]),
body.page-id-11235 .wpb_raw_code:has(img[src*="/hanashi_cta3.png"]),
body.page-id-11235 .wpb_raw_code:has(img[data-lazy-src*="/hanashi_cta3.png"]),
body.page-id-11235 .wpb_single_image:has(img[title="1day-voice_flow-2"]),
body.page-id-11399 .wpb_single_image:has(img[title="1day-sing_flow-1"]),
body.page-id-11399 .wpb_raw_code:has(img[src*="/uta_cta3.png"]),
body.page-id-11399 .wpb_raw_code:has(img[data-lazy-src*="/uta_cta3.png"]),
body.page-id-11399 .wpb_single_image:has(img[title="1day-sing_flow-2"]) {
  display: none !important;
}
