@charset "UTF-8";

/* ベース初期化 */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.6;
  /* 必要ならフォントを指定（Noto Sans JP を既に読み込み済み） */
  /* font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; */
}

/* 媒体要素の基本 */
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* フォームのフォント継承 */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ユーティリティ */
.pc-none {
  display: none;
}
.sp-none {
  display: block;
}
.sp-center {
  text-align: left;
}

/* スクリーンリーダーのみ表示 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -----------------------------
   header
--------------------------------*/
.site-header {
  background-color: transparent !important;
  box-shadow: none !important; /* 影がついている場合は削除 */
}

/* ヘッダー全体 */
.site-header {
  background: #fff;
  border-top: 4px solid #0f746f;
  border-bottom: 1px solid #e6eeee;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
  z-index: 1000;
}

/* ヘッダー内側 */
.site-header .container,
.site-header-container {
  max-width: 1280px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ナビ全体 */
.global-nav {
  margin-left: auto;
}

/* ナビリスト */
.global-nav-list {
  display: flex;
  align-items: center;
}

/* 各メニュー */
.global-nav-list > li {
  position: relative;
  margin: 0;
}

/* Lightning標準の下線を一度リセット */
.global-nav-list > li::before {
  content: none !important;
}

/* メニューリンク */
.global-nav-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 0;
  color: #222;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

/* メニュー下線 */
.global-nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 0;
  height: 3px;
  background: #f08a24;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

/* ホバー */
.global-nav-list > li > a:hover {
  color: #0f746f;
}

.global-nav-list > li > a:hover::after {
  width: 44px;
}

/* 現在地 */
.global-nav-list > li.current-menu-item > a,
.global-nav-list > li.current_page_item > a,
.global-nav-list > li.current-menu-ancestor > a,
.global-nav-list > li.current_page_ancestor > a {
  color: #0f746f;
}

.global-nav-list > li.current-menu-item > a::after,
.global-nav-list > li.current_page_item > a::after,
.global-nav-list > li.current-menu-ancestor > a::after,
.global-nav-list > li.current_page_ancestor > a::after {
  width: 56px;
}

/* エントリーだけボタン風にする場合 */
.global-nav-list > li:last-child > a {
  min-height: auto;
  padding: 12px 22px;
  border: 1px solid #0f746f;
  border-radius: 999px;
  color: #0f746f;
}

.global-nav-list > li:last-child > a::after {
  display: none;
}

.global-nav-list > li:last-child > a:hover {
  background: #0f746f;
  color: #fff;
}

/* -----------------------------
   footer
--------------------------------*/
.custom-site-footer {
  background: #fff;
  border-top: 4px solid #0f746f;
  color: #333;
}

.custom-footer-main {
  padding: 64px 0 48px;
  background:
    linear-gradient(135deg, rgba(15, 116, 111, 0.06) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(315deg, rgba(244, 144, 45, 0.06) 0%, rgba(255, 255, 255, 0) 32%);
}

.custom-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.custom-footer-brand,
.custom-footer-nav {
  position: relative;
}

.custom-footer-brand::after,
.custom-footer-nav::after {
  content: "";
  position: absolute;
  top: 0;
  right: -24px;
  width: 1px;
  height: 100%;
  background: #d8e8e6;
}

.custom-footer-logo {
  margin: 0 0 28px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
}

.custom-footer-address {
  line-height: 1.9;
}

.custom-footer-address p {
  margin: 0 0 6px;
  font-size: 1rem;
}

.custom-footer-heading,
.custom-footer-info-title {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f746f;
}

.custom-footer-heading::after,
.custom-footer-info-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #f4902d 0 70%, #0f746f 70% 100%);
  border-radius: 999px;
}

.custom-footer-nav-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-footer-nav-list a {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
  font-size: 1rem;
}

.custom-footer-nav-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-top: 2px solid #0f746f;
  border-right: 2px solid #0f746f;
  transform: rotate(45deg);
}

.custom-footer-nav-list a:hover {
  color: #0f746f;
}

.custom-footer-info-list {
  margin: 0;
}

.custom-footer-info-list div {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5eeee;
  font-size: 1rem;
}

.custom-footer-info-list div:last-child {
  border-bottom: none;
}

.custom-footer-info-list dt {
  flex: 0 0 86px;
  font-weight: 700;
  color: #0f746f;
}

.custom-footer-info-list dd {
  flex: 1;
  margin: 0;
  line-height: 1.7;
}

.custom-footer-bottom {
  padding: 22px 16px;
  border-top: 1px solid #d8e8e6;
  background: #f7fbfa;
  text-align: center;
}

.custom-footer-bottom p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Lightning標準のPowered表記などが残る場合 */
.site-footer-copyright,
.site-footer-content,
.footer-nav {
  display: none;
}

/* -----------------------------
   TOP
--------------------------------*/
.home .sub-section {
  display: none;
}

/* =========================
   Main Visual Copy 調整
========================= */

/* メインコピー */
.home .ltg-slide-text-title {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 22px !important;
  margin-bottom: 28px !important;
  color: #222 !important;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(36px, 4vw, 64px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  letter-spacing: 0.08em;
  text-align: left !important;
  text-shadow: none !important;
}

/* メインコピー下の線 */
.home .ltg-slide-text-title::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: 220px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #0f746f 0%, #0f746f 42%, #f28a24 42%, #f28a24 100%) !important;
  border-radius: 999px !important;
}

/* リード文 */
.home .ltg-slide-text-caption {
  color: #222 !important;
  font-size: clamp(17px, 1.4vw, 22px) !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  letter-spacing: 0.05em;
  text-align: left !important;
  text-shadow: none !important;
}

/* テキストエリアの位置だけ調整 */
.home .ltg-slide-text-set {
  text-align: left !important;
}

/* スマホ */
@media (max-width: 767px) {
  .home .ltg-slide-text-title {
    font-size: 30px !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
  }

  .home .ltg-slide-text-caption {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }
}

/* 施設概要テーブル */
.facility-table {
  max-width: 900px;
  margin: 0 auto;
}

.facility-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e5e5;
  font-size: 1rem;
}

.facility-table td {
  padding: 18px 22px;
  border: 1px solid #e5e5e5;
  line-height: 1.8;
  vertical-align: middle;
  color: #333;
  background: #fff;
}

/* 1列目 */
.facility-table table tr td:first-child {
  width: 28%;
  background: #f7fbfa;
  font-weight: 700;
}

/* 2列目 */
.facility-table table tr td:nth-child(2) {
  width: 72%;
}

/* -----------------------------
   下層ページ
--------------------------------*/
.site-header .container,
.site-header-container {
  background-color: #fff;
}

.page-header {
  background-color: #136764;
}

/* =========================
   応募から入職までの流れ
========================= */

/* 親カラム */
.recruit-flow {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

/* 各カラム */
.recruit-flow > .wp-block-column {
  display: flex;
}

/* 各カード */
.recruit-flow > .wp-block-column > .wp-block-group {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 24px 36px;
  border: 2px solid #0f746f;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

/* 数字 */
.recruit-flow .flow-number {
  margin-bottom: 36px;
}

/* アイコン */
.recruit-flow .flow-icon {
  margin-bottom: 36px;
}

.recruit-flow .flow-icon img {
  width: 120px;
  height: auto;
}

/* 見出し */
.recruit-flow .flow-title {
  margin-bottom: 28px;
  font-weight: 700;
  text-align: center;
  color: #333;
}

/* 本文 */
.recruit-flow .flow-text {
  margin-top: auto;
  text-align: center;
  line-height: 1.9;
  color: #333;
}

/* =========================
   求人詳細：募集概要テーブル
========================= */
.job-info-table {
  margin: 0;
}

.job-info-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d9e8e6;
  background: #fff;
}

.job-info-table td {
  padding: 18px 22px;
  border: 1px solid #d9e8e6;
  vertical-align: middle;
  line-height: 1.8;
  color: #333;
}

.job-info-table tr td:first-child {
  width: 180px;
  background: #f3faf9;
  color: #0f746f;
  font-weight: 700;
  white-space: nowrap;
}

.job-info-table strong {
  color: #e87522;
  font-size: 1.5em;
  font-weight: 700;
}

.job-info-table small {
  display: inline-block;
  margin-top: 4px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .job-info-table table,
  .job-info-table tbody,
  .job-info-table tr,
  .job-info-table td {
    display: block;
    width: 100%;
  }

  .job-info-table tr {
    border-bottom: 1px solid #d9e8e6;
  }

  .job-info-table tr:last-child {
    border-bottom: none;
  }

  .job-info-table td {
    border: none;
    padding: 14px 16px;
  }

  .job-info-table tr td:first-child {
    width: 100%;
    padding-bottom: 8px;
    background: #f3faf9;
  }

  .job-info-table tr td:nth-child(2) {
    padding-top: 12px;
  }

  .job-info-table strong {
    font-size: 1.35em;
  }
}

/* =========================
   採用エントリーフォーム
========================= */

.entry-form {
  max-width: 960px;
  margin: 0 auto;
}

.entry-form__lead {
  margin-bottom: 32px;
  line-height: 2;
}

.entry-form__notice {
  margin-bottom: 40px;
  padding: 28px 32px;
  background: #f3faf9;
  border: 1px solid #d9e8e6;
  border-radius: 10px;
}

.entry-form__notice h3,
.privacy-box h3 {
  margin: 0 0 12px;
  color: #0f746f;
  font-weight: 700;
}

.entry-form__notice p,
.privacy-box p {
  margin: 0;
  line-height: 1.9;
}

/* テーブル */
.entry-form-table {
  width: 100%;
  margin: 0 0 40px;
  border-collapse: collapse;
  border: 1px solid #d9e8e6;
  background: #fff;
}

.entry-form-table th,
.entry-form-table td {
  padding: 22px 24px;
  border: 1px solid #d9e8e6;
  vertical-align: top;
  line-height: 1.8;
}

.entry-form-table th {
  width: 230px;
  background: #f3faf9;
  color: #333;
  font-weight: 700;
  text-align: left;
}

.required,
.optional {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.4;
  vertical-align: middle;
}

.required {
  background: #e87522;
}

.optional {
  background: #999;
}

/* 入力欄 */
.entry-form input[type="text"],
.entry-form input[type="email"],
.entry-form input[type="tel"],
.entry-form select,
.entry-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ccd8d6;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

.entry-form textarea {
  min-height: 140px;
  resize: vertical;
}

.entry-form input:focus,
.entry-form select:focus,
.entry-form textarea:focus {
  outline: none;
  border-color: #0f746f;
  box-shadow: 0 0 0 3px rgba(15, 116, 111, 0.12);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.form-note {
  margin: 8px 0 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 応募職種チェックボックス：1行に1つ */
.entry-form .checkbox-list .wpcf7-form-control {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* 応募職種チェックボックス：縦並びに固定 */
.entry-form .checkbox-list .wpcf7-form-control.wpcf7-checkbox {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.entry-form .checkbox-list .wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}

.entry-form .checkbox-list .wpcf7-list-item label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
  cursor: pointer;
}

.entry-form .checkbox-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0f746f;
}

.entry-form .checkbox-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
  cursor: pointer;
}

.entry-form .checkbox-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0f746f;
}

/* 個人情報 */
.privacy-box {
  margin-bottom: 36px;
  padding: 28px 32px;
  background: #f7fbfa;
  border: 1px solid #d9e8e6;
  border-radius: 10px;
}

.privacy-box a {
  color: #0f746f;
  font-weight: 700;
  text-decoration: underline;
}

.privacy-box .wpcf7-list-item {
  margin: 18px 0 0;
}

/* 送信ボタン */
.entry-form-submit {
  text-align: center;
}

.entry-form-submit input[type="submit"] {
  min-width: 320px;
  padding: 16px 36px;
  border: none;
  border-radius: 999px;
  background: #e87522;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.entry-form-submit input[type="submit"]:hover {
  opacity: 0.85;
}

/* エラー・送信メッセージ */
.entry-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d93025;
  font-size: 0.9rem;
}

.entry-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-radius: 6px;
}

/* スマホ */
@media (max-width: 767px) {
  .entry-form__notice,
  .privacy-box {
    padding: 22px 18px;
  }

  .entry-form-table,
  .entry-form-table tbody,
  .entry-form-table tr,
  .entry-form-table th,
  .entry-form-table td {
    display: block;
    width: 100%;
  }

  .entry-form-table tr {
    border-bottom: 1px solid #d9e8e6;
  }

  .entry-form-table tr:last-child {
    border-bottom: none;
  }

  .entry-form-table th,
  .entry-form-table td {
    border: none;
    padding: 16px;
  }

  .entry-form-table th {
    padding-bottom: 10px;
  }

  .entry-form-table td {
    padding-top: 12px;
  }

  .form-grid--2 {
    grid-template-columns: 1fr;
  }

  .entry-form-submit input[type="submit"] {
    width: 100%;
    min-width: auto;
  }
}

.contact-type-cards {
  align-items: stretch;
}

.contact-type-cards > .wp-block-column > .wp-block-group {
  height: 100%;
}

/* ==========================
   Contact Form
========================== */

.contact-form-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d9ecec;
}

.contact-form-table th,
.contact-form-table td {
  border: 1px solid #d9ecec;
  padding: 28px;
  vertical-align: top;
}

.contact-form-table th {
  width: 260px;
  background: #f5fbfb;
  font-weight: 700;
  text-align: left;
}

.contact-form-table td {
  background: #fff;
}

/* 必須・任意 */
.required,
.optional {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
}

.required {
  background: #ef7d24;
}

.optional {
  background: #8c8c8c;
}

/* 入力欄 */
.contact-form-table input[type="text"],
.contact-form-table input[type="email"],
.contact-form-table input[type="tel"],
.contact-form-table select,
.contact-form-table textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ccdede;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

.contact-form-table textarea {
  min-height: 220px;
  resize: vertical;
}

/* セレクト */
.contact-form-table select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* 説明文 */
.form-note {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* プライバシーポリシー */
.contact-form-table .wpcf7-list-item {
  margin: 0;
}

.contact-form-table .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.8;
}

.contact-form-table input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #0f746f;
}

/* 送信ボタン */
.submit-area {
  text-align: center;
}

.contact-form-table .wpcf7-submit {
  display: inline-block;
  min-width: 320px;
  padding: 18px 30px;
  background: #0f746f;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-table .wpcf7-submit:hover {
  background: #0c615d;
}

/* エラー */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
}

.wpcf7-response-output {
  margin-top: 24px !important;
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* チェックボックスを1項目1行にする */
.contact-form-table .wpcf7-checkbox {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.contact-form-table .wpcf7-checkbox .wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}

.contact-form-table .wpcf7-checkbox label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  cursor: pointer;
}

/* スマホ */
@media (max-width: 767px) {
  .contact-form-table,
  .contact-form-table tbody,
  .contact-form-table tr,
  .contact-form-table th,
  .contact-form-table td {
    display: block;
    width: 100%;
  }

  .contact-form-table th {
    padding: 18px;
    border-bottom: none;
  }

  .contact-form-table td {
    padding: 18px;
  }

  .contact-form-table .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }
}

/* -----------------------------
   レスポンシブ
--------------------------------*/
@media screen and (max-width: 991px) {
  /* 991pxまでの幅の場合に適用される */
}

@media screen and (max-width: 768px) {
  /* 768pxまでの幅の場合に適用される */
  body {
    font-size: 16px;
  }
  .pc-none {
    display: block;
  }
  .sp-none {
    display: none;
  }
  .sp-left {
    text-align: left !important;
  }
  .sp-center {
    text-align: center !important;
  }
  .facility-table table,
  .facility-table tbody,
  .facility-table tr,
  .facility-table td {
    display: block;
    width: 100%;
  }
  .site-header .container,
  .site-header-container {
    min-height: auto;
    display: block;
  }
  .ltg-slide-text-set {
    top: 26%;
  }
  .facility-table td {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .facility-table table tr td:first-child {
    width: 100%;
    border-bottom: none;
  }

  .facility-table table tr td:nth-child(2) {
    width: 100%;
  }
  .custom-footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .custom-footer-brand::after,
  .custom-footer-nav::after {
    display: none;
  }
  .custom-footer-main {
    padding: 48px 0 36px;
  }
  .custom-footer-nav-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .custom-footer-main {
    padding: 40px 0 32px;
  }
  .custom-footer-info-list div {
    display: block;
  }
  .custom-footer-info-list dt {
    margin-bottom: 4px;
  }
  .flow-num {
    text-align: center;
    text-align: center;
    margin: auto !important;
    display: flex;
    justify-content: center;
  }
  .flow-num p {
    width: 80px;
  }
}

/* アニメーションを抑制（ユーザー設定尊重） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
