@charset "UTF-8";
/*
Template: arkhe
Theme Name: Arkhe Child
*/

/* ヘッダー */
.l-header__bar .l-header__barInner {
justify-content: flex-start;
}

.l-header__bar {
	position: relative;
    color: #fff;
	background-color: #009e96;
}
.l-header__bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ark-color--main);
}

@media not all and (min-width: 1000px) {
.l-header__bar {
	display: block;
	}
}

.clinic-header-info {
	font-size: 12px;
    padding: 6px 0;
}

.header-top-image-container, .after-header-nav-wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(var(--ark-width--container) + var(--ark-padding--container) * 2);
	width: 100%;
	padding-left: var(--ark-padding--container);
    padding-right: var(--ark-padding--container);
	padding-bottom: 1.6em;
}

img.header-image-responsive {
	width:100%;
}

.p-drawer {
background: var(--ark-color--main);
}

.clinic-phone {
	font-size: 2em;
}

.clinic-phone .fa-square-phone {
	color: #dd2e44;
}

.clinic-phone a {
    text-decoration: none;
    color: #555;
}

.clinic-address {
	font-size: 1.2em;
}

.l-content__body {
	margin: 0 auto;
}

/* ナビ */
/* ==========================================================
   PC/タブレット用：ヘッダー下ナビ（添付画像風）
   ========================================================== */

/* ナビ全体の帯（コンテナ） */
.after-header-nav-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--ark-width--container) + var(--ark-padding--container) * 2);
  width: 100%;
  padding-left: var(--ark-padding--container);
  padding-right: var(--ark-padding--container);
  padding-bottom: 0; /* ナビ帯は余白ゼロに */
}

/* ナビ帯本体（上端の青緑ライン＋緑ベタ） */
.after-header-nav {
  position: relative;
  background: #6BBB6E;          /* ベースの薄めの緑 */
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.04) inset;
  overflow: hidden;
}

/* 上端の青緑スリムライン（添付の細い帯） */
.after-header-nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;                   /* ラインの高さ（画像に合わせて 4〜8px で微調整可） */
  background: #00A29B;          /* 青緑 */
}

/* 横並び。区切り線を「アイテム側」でつけるため gapは0 */
.after-header-nav-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  list-style: none;
  margin: 6px 0 0;              /* 上の6pxは上端ライン分のスペース */
  padding: 0;
  gap: 0;
}

/* 各項目：背景は緑、区切りは白の縦線 */
.after-header-nav-menu > li {
  flex: 1 1 0;
  margin: 0;
  background: #6BBB6E;          /* ベース色（帯と同色で繋げる） */
  position: relative;
  min-height: 48px;             /* 高さ感（52〜56pxで好みに調整可） */
}

/* 区切り線（白） */
.after-header-nav-menu > li + li::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 1px;
  background: #FFFFFF;
  opacity: .85;
}

/* リンク：2行レイアウト（タイトル＋説明）を中央寄せ */
.after-header-link {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  text-decoration: none;
  text-align: center;
  padding: 8px 10px 10px;
  height: 100%;
  color: #ffffff;
}

/* タイトル（日本語） */
.after-header-nav-menu .nav-main-text {
  font-weight: 700;
  line-height: 1.15;
  font-size: 0.98rem;           /* 1.0〜1.05remも可 */
  color: #ffffff;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* 説明（英語等の小見出し） */
.after-header-nav-menu .nav-description {
  margin-top: 2px;
  font-size: 0.76rem;           /* 小さめ */
  line-height: 1.15;
  color: rgba(255,255,255,.95);
  opacity: .95;
  white-space: nowrap;
}

/* ホバー/フォーカス：少し濃い緑に */
.after-header-nav-menu > li:hover,
.after-header-nav-menu > li:focus-within {
  background: #5DAA60;          /* 濃い緑 */
}

/* current表示（任意） */
.after-header-nav-menu > li.current-menu-item,
.after-header-nav-menu > li.current_page_item {
  background: #58A65B;
}

/* 余白が詰まる場合の微修正（Arkhe側CSSと干渉回避） */
.after-header-nav { margin-top: 0; }

/* レスポンシブ（モバイルはPHPでナビ非出力のため念のため保険） */
@media (max-width: 768px) {
  .after-header-nav-wrap { padding-left: 0; padding-right: 0; }
  .after-header-nav, .after-header-nav-menu { display: none; }
}


/* 診察時間 */
#sinsatu-hyou table {
	margin-bottom: 1em;
}

#sinsatu-hyou th {
background: #7bbb6e;
color: #fff;
font-weight: 700;
}
#sinsatu-hyou tr + tr {
border-top: 1px solid #e5e5e5;
}

  /* 曜日セルを横・縦センター */
  #sinsatu-hyou tr,
  #sinsatu-hyou th:nth-child(n+2),
  #sinsatu-hyou td:not(.jikan) {
    text-align: center;         /* 横中央 */
    vertical-align: middle;     /* 縦中央：table-cell 標準の中央寄せ */
    line-height: 1;             /* 行間を詰めて中央位置を安定化 */
    padding-top: 10px;          /* 上下の余白を均等に確保 */
    padding-bottom: 10px;
  }

  /* セル内に <p> が入っているケース（▲など）をズラさない */
  #sinsatu-hyou td:not(.jikan) p {
    margin: 0;                  /* 余白リセット */
    line-height: 1;             /* 行間を詰めて中央化 */
    display: inline-block;      /* ベースラインのズレを防ぐ */
    vertical-align: middle;
  }

@media (max-width: 768px) {

  #sinsatu-hyou table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }

  #sinsatu-hyou th,
  #sinsatu-hyou td {
    padding: 6px 4px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.35;
  }

  /* 診察時間列 44%、曜日列 11% × 7 */
  #sinsatu-hyou th:first-child,
  #sinsatu-hyou td.jikan {
    width: 44%;
    text-align: left;
  }

  #sinsatu-hyou th:nth-child(n+2),
  #sinsatu-hyou td:not(.jikan) {
    width: 11%;
    font-size: 15px;
    white-space: nowrap;
    word-break: keep-all;
  }

  #sinsatu-hyou th:first-child {
    white-space: nowrap;
    word-break: keep-all;
  }

  #sinsatu-hyou td.jikan span {
    display: block;
    font-size: 0.9em;
  }

  #sinsatu-hyou td p { margin: 0; }
}


/* お知らせ */
.info-list {
    padding-bottom: 2em;
}
.info-list h3 {
    font-size: 1.2em;
    color: #009999;
    margin-bottom: 1em;
    border-bottom: 1px solid #515151;
}

/* サイドバー */
@media only screen and (min-width: 1000px){
.l-content__body.l-container {
flex-direction: row-reverse;
}}

.c-widget__title, .l-sidebar h2, .page__heading {
background: var(--ark-color--main);
color: #fff;
padding: .3em;
font-size: 1.3em;
font-weight: 500;
}


/* 固定ページ */

.p-page__title.c-pageTitle.u-flex--aic {
display: none;
}

.page__heading {
position: relative;
padding-left: 48px; /* アイコン＋余白分 */
line-height: 1.4;
}

.page__heading::before {
content: "";
position: absolute;
left: 6px;
top: 50%;
width: 32px;
height: 32px;
transform: translateY(-50%);
background: url("https://komazawahirota-clinic.com/test/wp-content/uploads/2025/10/headingBg.png")
no-repeat center / contain;
}

.c-widget__title, .l-sidebar h2 {
text-align: center;
}

.p-breadcrumb__list {
justify-content: center;
}

.p-breadcrumb__item:first-child .arkhe-svg-home {
color: var(--ark-color--main);
}

/* フッター */
.l-footer {
background: var(--ark-color--main);
color: #fff;
margin-top: 4rem;
}

.c-copyright {
padding: 2em 0;
}

.l-footer li:not(:first-child) {
  padding: 5px 16px;
  border-left: 1px dotted #d5d5d5;
}

.post-box {
margin: 0 0 20px 0;
padding: 0px 10px 20px 20px;
border: 1px solid #d5d5d5;
background: #fff;
}

.column-container.post-box{
margin-top: 0;
}

/* ==============================================
   求人情報表示用スタイル
============================================== */
.recruit-list-wrapper {
    margin: 2em 0;
}

.recruit-item {
    margin-bottom: 3em;
    padding-bottom: 2em;
    border-bottom: 1px solid #e0e0e0;
}

.recruit-item:last-child {
    border-bottom: none;
}

.recruit-item h4 {
    color: #333;
    margin-bottom: 1em;
    font-size: 1.25em;
}

.recruit-item h4 i {
    color: #0073aa;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    background-color: #fff;
}

.recruit-table th {
    background-color: #f5f5f5;
    padding: 12px 15px;
    text-align: left;
    width: 30%;
    border: 1px solid #ddd;
    font-weight: bold;
    color: #333;
}

.recruit-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    line-height: 1.6;
}

/* ページネーション */
.recruit-pagination {
    margin-top: 2em;
    text-align: center;
}

.recruit-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5em;
    padding: 0;
    flex-wrap: wrap;
}

.recruit-pagination li {
    display: inline-block;
}

.recruit-pagination a,
.recruit-pagination span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.recruit-pagination a:hover {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

.recruit-pagination .current {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

.recruit-no-posts {
    color: #d63638;
    font-weight: bold;
    padding: 2em;
    text-align: center;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }
    
    .recruit-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }
    
    .recruit-table td {
        padding-top: 8px;
        border-top: none;
    }
    
    .recruit-table tr {
        border: 1px solid #ddd;
        margin-bottom: 1em;
        display: block;
    }
}