@charset "UTF-8";
/*
 Theme Name: ic-clinic
 Theme URI: https://tcd-theme.com/tcd096/
 Author: TCD
 Author URI: https://tcd-theme.com/
 Template: serum_tcd096
 Version: 3.0
*/

/* 親テーマのスタイルをインポート */
@import url("../serum_tcd096/style.css");

/* ========================================
   モバイルでロゴ左・ハンバーガー右に固定
   （TCD SERUM用）
   ======================================== */
@media screen and (max-width: 1000px) {
  #header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    padding: 10px 15px !important;
  }

  #header_logo2 {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    order: 1 !important;
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  #header_logo2 .logo_text,
  #header_logo2 .rich_font_type2 {
    font-size: 13px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
  }

  #drawer_menu_button {
    position: static !important;
    transform: none !important;
    margin-left: auto !important;
    order: 2 !important;
    flex-shrink: 0 !important;
  }

  #global_menu {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  #header_logo2,
  #drawer_menu_button {
    position: static !important;
    transform: none !important;
  }
}

/* 親テーマの tel 無効化を上書き（全デバイス） */
a[href^="tel:"] {
  pointer-events: auto !important;
}

/* コラムアーカイブのヘッダー画像 */
body.post-type-archive-column #page_header,
body.post-type-archive-column .page_header,
body.post-type-archive-column .page-header,
body.post-type-archive-column .archive_header,
body.post-type-archive-column .p-page-header,
body.post-type-archive-column .c-page-header {
  background-image: url("assets/images/column/%E5%9B%B35.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.post-type-archive-column #page_header .bg_image,
body.post-type-archive-column .page_header .bg_image,
body.post-type-archive-column .page_header_bg {
  background-image: url("assets/images/column/%E5%9B%B35.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.post-type-archive-column #page_header img,
body.post-type-archive-column .page_header img,
body.post-type-archive-column .page-header img,
body.post-type-archive-column .archive_header img {
  opacity: 0;
}

/* ========================================
   グローバルナビゲーションバー（PC専用）
   ======================================== */
.ic-gnav {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  font-size: 12px;
  line-height: 1;
  position: relative;
  z-index: 200;
}
.ic-gnav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ic-gnav__txt {
  margin: 0;
  color: #333;
}
.ic-gnav__title {
  font-weight: bold;
  margin-right: 12px;
}
.ic-gnav__tag {
  color: #666;
}
.ic-gnav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ic-gnav__item {
  position: relative;
}
.ic-gnav__link {
  color: #333;
  text-decoration: none;
  padding: 4px 12px;
  transition: color 0.3s;
  cursor: pointer;
}
a.ic-gnav__link::before {
  content: ">";
  margin-right: 4px;
  color: #999;
}
a.ic-gnav__link:hover {
  color: #ff6366;
}
.ic-gnav__item--recruit > .ic-gnav__link::before {
  content: ">";
  margin-right: 4px;
  color: #999;
}
.ic-gnav__item--recruit > .ic-gnav__link::after {
  content: "▼";
  font-size: 8px;
  margin-left: 2px;
  color: #999;
}
.ic-gnav__recruit {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  list-style: none;
  padding: 4px 0;
  margin: 4px 0 0;
  min-width: 140px;
  z-index: 1000;
}
.ic-gnav__item--recruit:hover .ic-gnav__recruit,
.ic-gnav__item--recruit:focus-within .ic-gnav__recruit {
  display: block;
}
.ic-gnav__recruit li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.ic-gnav__recruit li a:hover {
  background: #f5f5f5;
  color: #ff6366;
}
@media screen and (max-width: 1000px) {
  .ic-gnav {
    display: none;
  }
}
