@charset "UTF-8";
/* Arkhe標準パンくずの表示補助。親テーマ全体のCSSを停止する既存ページ向け。
   標準の折り返しと矢印を継承し、文字サイズは案件下限の14pxにする。 */
/* stylelint-disable selector-class-pattern -- Arkhe標準クラスと既存ラッパーに限定。 */
.ct-c-breadcrumb {
  margin-bottom: 2rem;
}
.ct-c-breadcrumb .p-breadcrumb {
  width: 100%;
}
.ct-c-breadcrumb .p-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ct-c-breadcrumb .p-breadcrumb__item {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding-right: 0.75rem;
  margin-right: 0.625rem;
}
.ct-c-breadcrumb .p-breadcrumb__item:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 4px;
  height: 4px;
  content: "";
  border-top: 1px solid currentcolor;
  border-right: 1px solid currentcolor;
  transform: translateY(-50%) rotate(45deg);
}
.ct-c-breadcrumb .p-breadcrumb__text {
  color: inherit;
  overflow-wrap: anywhere;
}
.ct-c-breadcrumb a.p-breadcrumb__text {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  min-height: 2.75rem;
  text-underline-offset: 0.2em;
}
.ct-c-breadcrumb .arkhe-svg-home {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  fill: currentcolor;
}

.section-breadcrumb .ct-c-breadcrumb {
  margin-bottom: 0;
}

/* stylelint-enable selector-class-pattern */
/* 2026-09-07: 既存CSSの後に読み込む追加箇所。元のパレット・構成を保持する。 */
.ct-c-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
}

.ct-c-news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-block: 1.5rem;
}

.ct-c-news-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.ct-c-news-filter [aria-current] {
  text-decoration-thickness: 0.15em;
}

.ct-c-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.ct-c-pagination > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.ct-c-action {
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font: inherit;
  color: var(--c-ink);
  cursor: pointer;
  background: var(--c-theme-kotonone);
  border: 1px solid var(--c-ink);
}

.ct-c-action:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.ct-c-skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10002;
  padding: 0.75rem;
  background: var(--c-paper);
  transform: translateY(-200%);
}

.ct-c-skip-link:focus {
  transform: none;
}

.ct-p-document {
  background: var(--c-paper);
}

.ct-p-document-main {
  padding-block: 1.5rem 0;
}

.ct-p-document-main h1 {
  overflow-wrap: anywhere;
}

.ct-p-document-main > .ct-p-document-container {
  max-width: 62rem;
  padding-block: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ct-c-skip-link {
    transition: none;
  }
}
/* 出典: クライアント下層の罫線付き情報行。既存パレットで入力項目を構成。 */
.ct-p-contact {
  max-width: 48rem;
  margin-block-start: 2rem;
  margin-inline: auto;
}

.ct-p-contact [hidden] {
  display: none;
}

.ct-p-contact-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin-block: 2rem;
  list-style: none;
}

.ct-p-contact-steps li {
  flex: 1;
  min-width: 0;
  padding-block: 0.75rem;
  text-align: center;
  border-bottom: 1px solid var(--c-line);
}

.ct-p-contact-steps [aria-current] {
  background: var(--c-white);
  border-bottom-color: var(--c-ink);
  border-bottom-width: 3px;
  border-radius: 15px 15px 0 0;
}

/* 出典: 提供デザインの白いFAQ枠・採用枠の15px角丸と内側余白。 */
.ct-p-contact section[data-ct-panel] {
  padding: 2rem;
  background: var(--c-white);
  border-radius: 15px;
}

.ct-p-contact section[data-ct-panel] > h2 {
  margin: 0 0 1rem;
}

.ct-p-contact section[data-ct-panel] > p {
  margin: 0 0 2rem;
}

.ct-p-contact-field {
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--c-line);
}

.ct-p-contact-field[data-ct-topic] {
  padding-top: 0;
  border-top: 0;
}

.ct-p-contact-field label {
  display: block;
}

.ct-p-contact-field label > span {
  display: inline-block;
  padding: 0.125rem 0.75rem;
  margin-left: 0.5rem;
  background: var(--c-orange);
  border-radius: 100px;
}

.ct-p-contact-field input:not([type=hidden]),
.ct-p-contact-field select,
.ct-p-contact-field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font: inherit;
  color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid var(--c-ink-strong);
  border-radius: 15px;
}

.ct-p-contact-field textarea {
  resize: vertical;
}

/* CF7のラッパーや標準メッセージで既存の画面構成を変えない。 */
/* stylelint-disable selector-class-pattern -- Contact Form 7が出力するクラス。 */
.ct-p-contact .wpcf7-form-control-wrap {
  display: contents;
}

.ct-p-contact .wpcf7-form .wpcf7-response-output,
.ct-p-contact .wpcf7-not-valid-tip {
  display: none;
}

/* stylelint-enable selector-class-pattern */
.ct-p-contact-error {
  margin-block: 0.5rem 0;
  font-weight: 700;
  color: #b42318;
}

.ct-p-contact-field [aria-invalid=true] {
  border-width: 2px;
}

.ct-p-contact-summary dt {
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}

.ct-p-contact-summary dd {
  margin: 0.5rem 0 1.5rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ct-p-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  margin-top: 2rem;
}

/* 出典: 提供TOPの採用CTA。白背景・濃い罫線・丸い輪郭を踏襲。 */
.ct-p-contact .ct-c-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 20rem);
  min-height: 3.5rem;
  padding: 0.875rem 1.5rem;
  margin-inline: auto;
  background: var(--c-white);
  border: 1px solid var(--c-ink);
  border-radius: 50px;
}

.ct-p-contact .ct-c-action:hover:not(:disabled) {
  background: var(--c-green);
}

.ct-p-contact a.ct-c-action {
  text-decoration: none;
}

@media (width <= 767px) {
  .ct-p-contact section[data-ct-panel] {
    padding: 1.5rem 1.25rem;
  }
  .ct-p-contact-steps {
    gap: 0.5rem;
  }
}
.ct-p-not-found {
  min-height: 100vh;
  color: var(--c-ink);
  background: var(--c-paper);
}

.ct-p-not-found__main {
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding: clamp(6.5rem, 12vw, 9rem) clamp(1.25rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem);
}

.ct-p-not-found__content {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  text-align: center;
}
.ct-p-not-found__content h1 {
  font-size: clamp(1.375rem, 4vw, 2.25rem);
}

.ct-p-not-found__link {
  justify-self: center;
  padding: 0.625rem 1rem;
  text-decoration: none;
  border: 1px solid currentcolor;
}
.ct-p-not-found__link:hover, .ct-p-not-found__link:focus-visible {
  text-decoration: underline;
}

/* stylelint-disable selector-class-pattern -- 既存クライアントクラスの局所補正。改名・再設計はしない。 */
/* フォーカスを確実に見せる。色は既存の本文色を使用。 */
:focus-visible {
  outline: 3px solid var(--c-ink);
  outline-offset: 4px;
}

.section-header :focus-visible {
  outline-color: var(--c-white);
}

.ct-p-contact h2 {
  scroll-margin-top: 2rem;
}

.section-head .heading-jp-sub {
  min-width: 0;
}

.floating-menu-wrap {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-menu-wrap:has(.btn-main-menu[aria-expanded=true]) {
  visibility: hidden;
  opacity: 0;
  transform: none;
}

.overlay-menu {
  height: 100dvh;
}

/* 旧PCルールのoverflow:hidden!importantを局所上書きし、低い画面でも最後のリンクに到達できるようにする。 */
.overlay-menu.is-open {
  overflow-y: auto !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ct-c-menu-controls {
  position: sticky;
  top: 20px;
  z-index: 1;
  height: 0;
}

.ct-c-menu-close {
  position: absolute;
  top: 0;
  right: 0;
}

.overlay-menu .menu-links-grid {
  margin-block: 20px 32px;
}

.overlay-menu .link-group {
  padding: 20px 24px;
}

.overlay-menu .link-group ul {
  padding-left: 24px;
  margin-block: 8px;
}

.overlay-menu .link-group li + li {
  margin-top: 8px;
}

@media (width >= 768px) {
  .ct-c-menu-controls {
    top: 40px;
  }
}
@media (width <= 767px) {
  .overlay-menu .menu-right {
    padding: 120px 4px 32px;
  }
  .overlay-menu .link-group {
    padding-inline: 12px;
  }
}
.ct-is-menu-open {
  overflow: hidden;
}

/* 横向きなど高さが低い画面では、ボタンの下だけをスクロールする。 */
@media (height <= 500px) {
  .overlay-menu {
    --ct-menu-controls-height: 104px;
  }
  .overlay-menu .menu-container {
    height: calc(100dvh - var(--ct-menu-controls-height));
    min-height: 0 !important;
    margin-top: var(--ct-menu-controls-height);
    overflow-y: auto;
  }
  .overlay-menu .menu-right {
    padding-top: 16px;
  }
}
@media (height <= 500px) and (width >= 768px) {
  .overlay-menu {
    --ct-menu-controls-height: 170px;
  }
  .overlay-menu .menu-right {
    padding-top: 20px;
  }
}
.sr-only:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10002;
  width: auto;
  height: auto;
  padding: 0.75rem;
  margin: 0;
  overflow: visible;
  background: var(--c-paper);
  /* stylelint-disable-next-line property-no-deprecated -- 既存sr-onlyのclipをフォーカス時に解除。 */
  clip: auto;
}

@media (width <= 767px) {
  /* 32pxのコピーと拡大文字を画像内に収め、初期表示の追従ボタンとの重なりを避ける。 */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }
  .hero-photo,
  .hero-overlay {
    grid-area: 1/1;
  }
  .hero-photo {
    height: 100%;
  }
  .hero-overlay {
    position: relative;
    inset: auto;
    align-self: end;
    min-width: 0;
    margin: 16rem 20px 28px;
  }
  .section-header .nav-list {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: flex-start;
  }
  .section-header .nav-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
  }
  .section-header {
    position: relative;
  }
  .section-news .section-head {
    flex-wrap: wrap;
  }
  .section-news .section-head .svc-cta-wrap {
    position: static;
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .floating-menu-wrap,
  .overlay-menu,
  .overlay-menu.is-open {
    transition: none;
  }
}
/* stylelint-enable selector-class-pattern */
/* stylelint-disable selector-class-pattern -- 支給HTMLのクラスを維持する。 */
/* 採用FAQとContactは同じ背景のため、境界の余白をContact側で確保する。 */
.sub-faq-section > .ct-p-recruit-container {
  padding-bottom: 0;
}

/* 最後の子の余白とセクション下余白の二重計上を避ける。 */
.ct-p-recruit-status:last-child {
  margin-bottom: 0;
}

@media (width >= 768px) {
  .ct-p-top-recruit .section-head {
    margin-top: 40px;
  }
}
@media (width <= 767px) {
  /* 採用でも他の下層ページと同じ入力幅・読み幅を確保する。 */
  .sub-faq-section .faq-item {
    padding: 20px;
  }
}
/* stylelint-disable selector-class-pattern -- 既存の画像・見出しクラスを共用する。 */
.sub-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* 元の -1 から 1 に修正（背景に隠れて見えなくなるのを防ぐ） */
  background-color: var(--c-paper);
}

.sub-hero-photo {
  width: 100%;
  max-width: none;
  height: 350px;
  /* PC時の高さ */
  margin: 0 auto;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.35) 80%, rgba(0, 0, 0, 0.65) 100%), var(--ct-sub-hero-image);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  border-radius: 0;
}

.ct-c-sub-hero .sub-hero-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}

/* 明るいイラスト上でも白い見出しを読めるようにする。 */
.ct-c-sub-hero .sub-hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.25));
}

.ct-c-sub-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 350px;
  padding: 160px 48px 56px;
  color: var(--c-white);
}

@media (width >= 1024px) {
  .ct-c-sub-hero-content {
    padding-inline: 72px;
  }
}
@media (width <= 767px) {
  .ct-c-sub-hero-content {
    min-height: 320px;
    padding: 180px 20px 28px;
  }
}
/* お知らせ専用。既存の紙色・角丸・色付きカテゴリを継承する。 */
.ct-p-document-main > .ct-p-news-container {
  max-width: 1200px;
}

.ct-p-news-layout {
  display: grid;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

.ct-p-news-body {
  min-width: 0;
}

.ct-p-news .ct-c-news-filter {
  gap: 8px 24px;
  padding-bottom: 16px;
  margin-block: 0 40px;
  border-bottom: 1px solid var(--c-line);
}

.ct-p-news .ct-c-news-filter a {
  padding: 8px 4px;
  color: var(--c-ink-body);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.ct-p-news .ct-c-news-filter a:hover,
.ct-p-news .ct-c-news-filter [aria-current] {
  border-bottom-color: currentcolor;
}

.ct-p-news-description {
  margin-bottom: 24px;
}

.ct-c-pagination {
  justify-content: center;
  margin-top: 40px;
}

.ct-c-pagination > * {
  padding: 8px 16px;
  color: var(--c-ink-body);
  text-decoration: none;
  border: 1px solid var(--c-ink-body);
  border-radius: 100px;
}

/* stylelint-disable-next-line selector-class-pattern -- WordPress標準ページ送り。 */
.ct-c-pagination .current,
.ct-c-pagination a:hover {
  background: var(--c-green);
}

.ct-p-article {
  padding: 40px;
  margin: 0;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 15px;
}

.ct-p-article-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-line);
}

.ct-p-article-header .ct-c-news-meta {
  align-items: center;
}

.ct-p-article-cover {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 32px;
  border-radius: 15px;
}

.ct-p-article-content {
  margin-top: 40px;
  overflow-wrap: anywhere;
}

.ct-p-article-content > * {
  max-width: 100%;
  margin-block: 0 24px;
}

.ct-p-article-content > :last-child {
  margin-bottom: 0;
}

.ct-p-article-content h2 {
  padding-bottom: 12px;
  margin-top: 40px;
  border-bottom: 2px solid var(--c-theme-support);
}

.ct-p-article-content h3,
.ct-p-article-content h4 {
  margin-top: 32px;
}

.ct-p-article-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ct-p-article-content figure {
  margin-inline: 0;
}

.ct-p-article-content img,
.ct-p-article-content video {
  max-width: 100%;
  height: auto;
}

.ct-p-article-content iframe {
  width: 100%;
  max-width: 100%;
}

.ct-p-article-content ul,
.ct-p-article-content ol {
  padding-left: 1.5em;
}

.ct-p-article-content li + li {
  margin-top: 8px;
}

.ct-p-article-content blockquote {
  padding: 20px 24px;
  margin-inline: 0;
  background: var(--c-paper);
  border-left: 3px solid var(--c-theme-support);
}

.ct-p-article-content blockquote > :last-child {
  margin-bottom: 0;
}

/* WordPress標準の表を、狭い画面でもページ外へはみ出させない。 */
/* stylelint-disable-next-line selector-class-pattern -- WordPress標準ブロック。 */
.ct-p-article-content :where(.wp-block-table) {
  overflow-x: auto;
}

.ct-p-article-content table {
  width: 100%;
  border-collapse: collapse;
}

.ct-p-article-content th,
.ct-p-article-content td {
  padding: 12px 16px;
  border: 1px solid var(--c-line);
}

.ct-p-article-content th {
  background: var(--c-paper);
}

.ct-p-article-navigation {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.ct-p-article-navigation a {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  color: var(--c-ink-body);
  text-decoration: none;
  background: var(--c-green);
  border-radius: 100px;
}

.ct-p-article-navigation a:hover {
  box-shadow: inset 0 0 0 1px currentcolor;
}

@media (width <= 767px) {
  .ct-p-article {
    padding: 24px 20px;
  }
  .ct-p-article-header {
    padding-bottom: 24px;
  }
  .ct-p-article-cover,
  .ct-p-article-content {
    margin-top: 24px;
  }
}
/* stylelint-disable selector-class-pattern -- Arkheの標準サイドバー・ウィジェット。 */
.ct-p-news-layout .l-sidebar {
  min-width: 0;
  margin: 0;
}

.ct-p-news-layout .c-widget + .c-widget {
  margin-top: 40px;
}

.ct-p-news-layout .c-widget__title {
  padding-bottom: 12px;
  margin: 0 0 16px;
  font-size: var(--ct-text-lead);
  border-bottom: 1px solid var(--c-line);
}

.ct-p-news-layout .c-widget ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ct-p-news-layout .c-widget ul ul {
  padding-left: 16px;
}

.ct-p-news-layout .c-widget li + li {
  margin-top: 12px;
}

.ct-p-news-layout .c-widget a {
  display: inline-block;
  padding-block: 4px;
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.ct-p-news-layout .c-widget a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ct-p-news-layout .recent_entries_date {
  display: block;
  font-size: var(--ct-text-small);
}

@media (width >= 1000px) {
  .ct-p-news-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
.ct-p-article-title {
  margin: 16px 0 0;
  overflow-wrap: anywhere;
}

@container news-list (width >= 832px) {
  .ct-c-news-row--title-only {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .ct-c-news-row--title-only .news-title {
    grid-column: 2;
    padding-inline-start: 0;
  }
}

/* stylelint-disable selector-class-pattern -- Arkhe標準タイトルを共通ヘッダー内で使用。 */
.ct-c-page-header .c-pageTitle,
.ct-c-page-header .c-pageTitle__main {
  padding: 0;
  margin: 0;
}

.ct-c-page-header .c-pageTitle__main {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

body:not(.wp-admin) .ct-c-sub-hero .c-pageTitle__main {
  font-size: var(--ct-text-display);
}

@media (width <= 767px) {
  body:not(.wp-admin) .ct-c-sub-hero .c-pageTitle__main {
    font-size: var(--ct-text-large);
  }
}
/* stylelint-disable selector-class-pattern -- 既存ドロワーの共通パーツを利用。 */
.ct-c-toc-trigger.btn-main-menu {
  width: 76px;
  height: 76px;
  border: 0;
}

.ct-c-toc-trigger {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 100;
  display: none;
  min-width: max-content;
  padding-inline: 8px;
  white-space: nowrap;
}

.ct-c-toc-trigger.btn-main-menu .menu-text {
  font-size: var(--ct-text-body);
  border: 0;
}

.ct-c-toc {
  inset: 0;
  width: 100%;
  max-width: none;
  max-height: none;
  padding-block: 0;
  margin: 0;
  color: var(--c-ink);
  border: 0;
  border-radius: 0;
}

.ct-c-toc[open] {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: none;
  animation: ct-toc-enter 0.3s ease;
}

.ct-c-toc::backdrop {
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.ct-c-toc .link-group {
  border: 0;
}

.ct-c-toc .link-group a {
  display: block;
  min-height: 44px;
  padding-block: 8px;
}

.ct-c-toc-caption {
  margin-top: 8px;
}

.ct-is-toc-open {
  overflow: hidden;
}

@keyframes ct-toc-enter {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (width <= 767px) {
  .overlay-menu {
    left: auto;
    width: 92%;
  }
}
@media (width < 1024px) {
  .ct-has-mobile-toc .section-header {
    display: none;
  }
  .ct-c-toc-trigger:not([hidden]) {
    display: flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-c-toc[open] {
    animation: none;
  }
}
/* stylelint-disable selector-class-pattern -- 既存ページのスマホ表示と文字拡大時の収まりを補正。 */
.contact-column-item,
.contact-mini-card-content {
  min-width: 0;
}

.card-tel,
.card-branch-name,
.ct-p-top-recruit-lead,
.card-num {
  overflow-wrap: anywhere;
}

.ct-p-recruit-note {
  flex-basis: 100%;
  font-size: var(--ct-text-body);
  overflow-wrap: anywhere;
}

@media (width <= 991px) {
  .ct-p-top-service-photo img[src$="kotonone_img_002.png"] {
    object-fit: contain;
  }
}
@media (width <= 767px) {
  .ct-c-menu-close {
    min-width: max-content;
    padding-inline: 4px;
  }
  .ct-c-balanced-line > span {
    display: inline-block;
    max-width: 100%;
  }
  .ct-c-balanced-line {
    display: block;
    text-wrap: balance;
  }
  .sub-faq-section .faq-answer {
    padding-inline: 0;
  }
  .hero-heading,
  .about-catch,
  .about-poem {
    text-wrap: balance;
  }
  .section-head {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .section-head > * {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .contact-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-p-top-service-card {
    padding-inline: 20px;
  }
}
/* stylelint-disable selector-class-pattern -- 支給HTMLの構成に沿う打ち合わせ修正。 */
.ct-c-contact-cta .card-branch-name {
  margin-bottom: 24px;
}

.ct-c-contact-cta .contact-column-item {
  min-width: 0;
}

.ct-c-contact-cta__phone-link {
  display: none;
}

@media (width < 768px) {
  .ct-c-contact-cta__phone-text {
    display: none;
  }
  .ct-c-contact-cta__phone-link {
    display: inline-block;
    padding-block: 0.25rem;
    color: inherit;
    text-decoration: none;
  }
}
@media (width >= 768px) {
  .ct-c-contact-cta__lead-break {
    display: none;
  }
}
/* 主メニューだけを下揃えにし、目次ダイアログは既存の構成を保つ。 */
.overlay-menu[data-ct-menu-target] .menu-container {
  min-height: 100dvh !important;
}

.overlay-menu[data-ct-menu-target] .menu-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100dvh;
  padding: 0 0 28px;
}

.overlay-menu[data-ct-menu-target] .heading-en {
  margin: 0;
}

.overlay-menu[data-ct-menu-target] .menu-links-grid {
  margin-block: 16px 0;
}

.overlay-menu[data-ct-menu-target] .link-group {
  padding: 12px 20px;
}

.overlay-menu[data-ct-menu-target] .link-group ul {
  margin-block: 4px 0;
}

/* カテゴリーの間だけ余白を取り、見出しと配下リンクは近づける。 */
.overlay-menu[data-ct-menu-target] .link-group ul + h3 {
  margin-top: 28px;
}

.overlay-menu[data-ct-menu-target] .link-group li + li {
  margin-top: 0;
}

.overlay-menu[data-ct-menu-target] .link-group a {
  display: inline-block;
  min-height: 32px;
  padding-block: 2px;
}

@media (768px <= width < 1024px) {
  .overlay-menu[data-ct-menu-target] {
    --ct-drawer-width: 60%;
  }
}
/* 出典: client-html-20260902/common.css の news-link。既存CSSを利用。 */
.ct-c-news-row .p-postList__category {
  position: static;
  max-width: 100%;
  margin: 0;
}

.ct-c-news-row .news-cat {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ct-c-news-row .news-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (width <= 767px) {
  .hero-heading .ct-c-copy-word {
    display: inline-block;
    max-width: 100%;
  }
}
@media (width <= 767px) {
  .overlay-menu[data-ct-menu-target] .menu-right {
    padding: 0 4px 24px;
  }
  .overlay-menu[data-ct-menu-target] .link-group {
    padding-inline: 12px;
  }
  .ct-c-contact-cta .card-branch-name {
    margin-bottom: 20px;
  }
}
/* 低い画面では上部ボタンを避けた領域をスクロールし、全リンクへの到達を保つ。 */
@media (height <= 500px) {
  .overlay-menu[data-ct-menu-target] .menu-container {
    min-height: 0 !important;
  }
  .overlay-menu[data-ct-menu-target] .menu-right {
    justify-content: flex-start;
    min-height: 100%;
    padding-top: 0;
  }
}
/* 日本語の自動折り返しで小書き仮名と長音符を行頭に置かない。 */
html:lang(ja) {
  line-break: strict;
}

.sub-faq-section .faq-answer p + p,
.ct-p-support-about-body {
  margin-block-start: 1em;
}

.ct-p-kotonone-disclosure {
  margin-block-end: 0;
}

.ct-p-kotonone-disclosure + p,
.ct-p-kotonone-disclosure + p + ul,
.ct-p-kotonone-disclosure + p + ul > li {
  margin-block: 0;
}

.ct-p-kotonone-disclosure + p + ul {
  padding-inline-start: 1.5em;
  list-style: disc;
}

/* stylelint-disable selector-class-pattern -- 既存のFV・追従ボタンのクラスを共通化。 */
:root {
  --ct-first-view-height: 320px;
  --ct-masthead-gutter: 20px;
  --ct-floating-menu-size: 72px;
  --ct-floating-menu-gutter: 12px;
  /* stylelint-disable-next-line custom-property-pattern -- WordPress core admin-bar token. */
  --ct-admin-bar-height: var(--wp-admin--admin-bar--height, 0px);
  --ct-floating-menu-top: calc(
    var(--ct-floating-menu-gutter) + var(--ct-admin-bar-height) + env(safe-area-inset-top, 0px)
  );
  --ct-floating-menu-right: calc(var(--ct-floating-menu-gutter) + env(safe-area-inset-right, 0px));
}

@media (width >= 768px) {
  :root {
    --ct-first-view-height: 360px;
    --ct-masthead-gutter: 40px;
    --ct-floating-menu-size: 92px;
    --ct-floating-menu-gutter: 20px;
  }
}
@media (width >= 1024px) {
  :root {
    --ct-first-view-height: 400px;
    --ct-floating-menu-size: 108px;
  }
}
.ct-c-site-masthead > .l-header {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-bottom: 1px solid #e2e5de;
}

.ct-c-site-masthead .l-header__body {
  display: flex;
  justify-content: flex-start;
  padding: 8px calc(var(--ct-floating-menu-gutter) + var(--ct-floating-menu-size) + 12px) 8px var(--ct-masthead-gutter);
}

.ct-c-site-masthead > .l-headerUnder {
  display: none;
}

.ct-c-unified-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-block-size: var(--ct-first-view-height);
  margin-top: 0;
}

.ct-c-unified-hero .ct-c-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background-position: center, center;
  background-size: cover;
}

.ct-c-unified-hero:not(.ct-c-unified-hero--photograph) .ct-c-hero-photo {
  background-position: center, right bottom;
  background-size: cover, max(155%, var(--ct-first-view-height) * 4.04) auto;
}

.ct-c-unified-hero .ct-c-hero-content {
  position: relative;
  inset: auto;
  width: auto;
  max-width: none;
  min-height: 0;
  padding: 100px 20px 28px;
  margin: 0;
}

.ct-c-unified-hero--photograph .sub-hero-photo::after {
  content: none;
}

.ct-c-unified-hero .hero-overlay {
  z-index: 2;
}

.floating-menu-wrap[data-ct-floating-menu],
.overlay-menu[data-ct-menu-target] .ct-c-menu-close {
  position: fixed;
  top: var(--ct-floating-menu-top);
  right: var(--ct-floating-menu-right);
}

.overlay-menu[data-ct-menu-target],
.overlay-menu[data-ct-menu-target].is-open {
  transform: none;
}

.overlay-menu[data-ct-menu-target] .ct-c-menu-controls {
  position: static;
}

.floating-menu-wrap [data-ct-menu-trigger],
.overlay-menu[data-ct-menu-target] .ct-c-menu-close {
  width: var(--ct-floating-menu-size);
  min-width: 0;
  height: var(--ct-floating-menu-size);
  padding: 0;
  border: 2px solid var(--ct-branch-accent);
}

.floating-menu-wrap [data-ct-menu-trigger] .menu-text,
.overlay-menu[data-ct-menu-target] .ct-c-menu-close .menu-text {
  border-color: var(--ct-branch-accent);
}

.floating-menu-wrap [data-ct-menu-trigger]:hover,
.overlay-menu[data-ct-menu-target] .ct-c-menu-close:hover {
  border-color: var(--ct-branch-accent);
  transform: none;
}

@media (width >= 768px) {
  .ct-c-unified-hero .ct-c-hero-content {
    padding: 132px 176px 56px 48px;
  }
}
@media (width >= 1024px) {
  .ct-c-unified-hero:not(.ct-c-unified-hero--photograph) .ct-c-hero-photo {
    --ct-scene-width: max(100vw, clamp(2070px, 162vw, 3400px));
    --ct-scene-top: max(
      calc(var(--ct-scene-width) * -161 / 2064),
      calc(var(--ct-first-view-height) - var(--ct-scene-width) * 512 / 2064)
    );
    background-position: center, right 0 top var(--ct-scene-top);
    background-size: cover, var(--ct-scene-width) auto;
  }
  .ct-c-unified-hero .ct-c-hero-content {
    padding-inline: 72px 192px;
  }
}
@media (width < 768px) {
  .ct-c-unified-hero:not(.ct-c-unified-hero--photograph) .ct-c-hero-photo {
    background-position: center, right -28px bottom;
    background-size: cover, clamp(1000px, 293vw, var(--ct-first-view-height) * 4.04) 100%;
  }
  .ct-c-site-masthead .ct-c-site-brand__group {
    word-break: keep-all;
    text-wrap: wrap;
    overflow-wrap: normal;
  }
  .ct-c-unified-hero--front .ct-c-hero-content {
    padding-block-end: 14px;
  }
  .ct-c-unified-hero--front .hero-heading {
    font-size: clamp(21px, 6.25vw, 28px);
    line-height: 1.38;
    text-wrap: wrap;
  }
  .floating-menu-wrap[data-ct-floating-menu] {
    gap: 8px;
  }
  .floating-menu-wrap .btn-sub-mail {
    width: 48px;
    height: 48px;
  }
}
:root {
  --ct-sub-hero-image: url('../media/main_img_001-DILMzh2p.png');
}