/*
Theme Name: resilience
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/* global menu */
.global-nav--layout--penetration {
    margin-bottom: 10px;
	background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
}

@media (min-width: 992px) {
    .header_scrolled .site-header-container--scrolled--logo-and-nav-container .global-nav-list, .header_scrolled .site-header-container--scrolled--logo-and-nav-full .global-nav-list {
        background-color: white !important;
    }
}

/* Lightning Submenu */
/* Lightning Global Navigation Submenu */
ul.sub-menu {
  width: 320px !important;
  padding: 6px 0 !important;
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid #eeeeee !important;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;
}

/* Submenu link */
ul.sub-menu li a {
  display: block !important;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #e3e3e3 100%
  ) !important;
  padding: 13px 22px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: #1e1e1e !important;
  line-height: 1.6;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

/* Hover */
ul.sub-menu li a:hover {
  background: linear-gradient(
    to right,
    #ce5298 0%,
    #b94b88 100%
  ) !important;
  color: #ffffff !important;
}


/* sub-page-image-text */
.page-header-title, h1.page-header-title {
	margin-left: 25px;
    font-weight: 900 !important;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", serif !important;
}

.site-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.single .entry-body{
padding-top:10px;
}

.pr-title {
    min-height: 60px; /* 高さを統一 */
    display: flex;
    align-items: center;      /* 縦中央 */
    justify-content: center;  /* 横中央 */
    text-align: center;
}

/* スマホ・タブレット：Lightning標準のハンバーガーメニューを使用 */
@media (max-width: 991px) {

    /* 親・通常メニュー */
    .vk-menu-acc li > a {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    /* アコーディオンアイコンを縦中央に配置 */
    .vk-menu-acc .acc-btn {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* 子メニュー */
    .vk-menu-acc ul.sub-menu {
        width: auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* 子メニューリンク */
    .vk-menu-acc ul.sub-menu li a {
        display: block !important;
        background: transparent !important;
        padding: 20px 15px 20px 30px !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        color: inherit !important;
        line-height: inherit !important;
        letter-spacing: normal !important;
        transition: none !important;
    }

    /* 子メニュー：ホバー */
    .vk-menu-acc ul.sub-menu li a:hover {
        background: transparent !important;
        color: inherit !important;
    }
}

/* 教室員ブログ */
.single .entry-header {
    margin-top: 30px;
}

/* 明朝体アクセント */
.mincho-title {
    font-size: 32px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .mincho-title {
        font-size: 26px;
    }
}

/* Footer */
.instagram-link {
  display: block;
  width: fit-content;
  margin-top: 10px !important;
  margin-bottom: -10px !important;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
    border-top: 0 !important;
}

.site-footer {
  background: linear-gradient(to bottom, #ffffff 0%, #ededed 100%);
}

/* 4PRタイトル */
h4.pr4-box {
    position: relative;
    margin: 0;
    padding: 0 0 12px 15px !important;
}

h4.pr4-box::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 0;
    width: calc(100% - 30px);
    height: 1px;
    background-color: #ddd;
}

/* 目次 */
.ofnet-toc {
    width: 90%;
    margin: 0 auto;
    border: 1px solid #bfbfbf;
    background: #f7f7f7;
    border-radius: 6px;
    padding: 20px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .ofnet-toc {
        width: 100%;
    }
}

/* staff page */
.table-30 {
    width: 100%;
    table-layout: fixed;
}

.table-30 td:first-child,
.table-30 th:first-child {
    width: 30%;
}

.table-30 td:last-child,
.table-30 th:last-child {
    width: 70%;
}

.h2-staff-role {
  /* 文字設定 */
  font-size: 26px;
  font-weight: 800;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", serif !important;
  letter-spacing: 0.1em;
  color: #fff;

  line-height:32px;
  text-shadow:
  0 -1px 0 rgba(0, 0, 0, 0.2),
  0 1px 1px rgba(255, 255, 255, 0.15),
  0 2px 4px rgba(0, 0, 0, 0.45);
	
  /* ★グラデーションの分岐点を調整 */
  /* #343a40(濃いグレー)が5%まで続き、そこから緩やかに白へ向かう */
  background: linear-gradient(to right, #8390a0 5%, #ffffff 80%);

  /* 余白と配置の調整 */
  padding: 12px 20px;
  margin: 60px 0 30px 0;
  border-left: 10px solid #e279b4;
  border-radius: 4px 0 0 4px !important;

  position: relative;
  left: -20px;
  width: calc(100% + 20px);
	
  /* 書式: 水平方向 垂直方向 ぼかし距離 広がり距離 色 */
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

.position-label {
    display: inline-block;
    padding: 2px 8px;
    background: #ffc9e7;
    color: #232323;
    font-weight: 500;
    border-radius: 4px;
}

/* medical-care page */
.h2-gradient {
  background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
  padding: 0.5em 0.8em;
  border-radius: 0 0 4px 4px !important;
}

.h2-gradient2 {
  background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
  padding: 0.5em 0.8em;
  border-radius: 0 0 4px 4px !important;
  border-left: 6px solid #b12474;
  padding-left: 0.95rem;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.26);
}

.custom-table thead th {
  background-color: #afafaf;
}

.vk_faq {
    width: 90%;
}

/* medical-care > gynecology page */
.surg-table-wrap {
  --ink: #222222;
  --sub: #666666;
  --bg-alt: #f0f0f0;
  --border: #3c3c3c;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  font-size: 1rem;
  width: 90%;
  margin: 0 auto;
}

.surg-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  font-size: 1rem;
}

.surg-table-wrap thead th {
  background: #afafaf;
  color: #000;
  font-weight: 600;
  padding: 12px 10px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.surg-table-wrap thead th:first-child {
  text-align: left;
  padding-left: 16px;
}

.surg-table-wrap tbody th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--border);
  white-space: nowrap;
  font-size: 1rem;
}

.surg-table-wrap tbody td {
  text-align: center;
  padding: 12px 10px;
  border: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.surg-table-wrap tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

/* ---- スマホ幅：カード型に変換 ---- */
@media (max-width: 640px) {
  .surg-table-wrap table {
    border: none;
  }

  .surg-table-wrap table,
  .surg-table-wrap thead,
  .surg-table-wrap tbody,
  .surg-table-wrap tr,
  .surg-table-wrap th,
  .surg-table-wrap td {
    display: block;
  }

  .surg-table-wrap thead {
    display: none;
  }

  .surg-table-wrap tbody tr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
  }

  .surg-table-wrap tbody tr:nth-child(even) {
    background: #fff;
  }

  .surg-table-wrap tbody th {
    border: none;
    border-bottom: 1px solid var(--border);
    background: #afafaf;
    color: #000;
    padding: 10px 14px;
    font-size: 1rem;
  }

  .surg-table-wrap tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 8px 14px;
    border: none;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .surg-table-wrap tbody td:last-child {
    border-bottom: none;
  }

  .surg-table-wrap tbody td::before {
    content: attr(data-label);
    font-size: 1rem;
    font-weight: 700;
    color: var(--sub);
    text-align: left;
  }
}

/* medical-care > reproductive-medicine */
.wp-block-media-text>.wp-block-media-text__content {
    padding: 0 25px !important;
}

/* medical-care > of-net-shiga */
/* medical-care > 妊孕性温存 比較表（胚/卵子/卵巣組織） */

#fp-wrap {
  max-width: 95%;
  margin: 0 auto;
}

/* ===== PC/タブレット用テーブル ===== */
#fp-wrap table.fp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
#fp-wrap table.fp-table th,
#fp-wrap table.fp-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
}
#fp-wrap table.fp-table thead th {
  background: #eef5f3;
  color: #1a5c4f;
  font-weight: 600;
  text-align: center;
  font-size: 16px;
}
#fp-wrap table.fp-table tbody th {
  background: #f8f8f6;
  font-weight: 600;
  white-space: nowrap;
  width: 110px;
}
#fp-wrap table.fp-table ul {
  margin: 0;
  padding-left: 1.1em;
}
#fp-wrap table.fp-table li {
  margin-bottom: 4px;
}
#fp-wrap table.fp-table li:last-child {
  margin-bottom: 0;
}

/* ===== スマホ用カード（共通デザイン） ===== */
#fp-wrap .fp-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
#fp-wrap .fp-card-title {
  background: #1a5c4f;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
}
#fp-wrap .fp-card-row {
  border-top: 1px solid #eee;
  padding: 10px 14px;
}
#fp-wrap .fp-card-row:first-of-type {
  border-top: none;
}
#fp-wrap .fp-card-label {
  font-size: 12px;
  color: #1a5c4f;
  font-weight: 600;
  margin-bottom: 4px;
}
#fp-wrap .fp-card-value {
  font-size: 14px;
}
#fp-wrap .fp-card-value ul {
  margin: 0;
  padding-left: 1.1em;
}
#fp-wrap .fp-card-value li {
  margin-bottom: 4px;
}

/* 表示切り替え：PC/タブレットは表、スマホはカード */
/* 基本（PC/タブレット）：表を表示、カードを隠す */
#fp-wrap .fp-table {
  display: table !important;
}
#fp-wrap .fp-cards {
  display: none !important;
}

/* 600px以下（スマホ）：表を隠し、カードを表示 */
@media screen and (max-width: 600px) {
  #fp-wrap .fp-table {
    display: none !important;
  }
  #fp-wrap .fp-cards {
    display: block !important;
  }
}

/* medical-care > of-net-shiga */
/* medical-care > がん・生殖医療 連携拠点病院一覧 */

#cc-wrap {
  max-width: 95%;
  margin: 0 auto;
}

/* ===== PC/タブレット用テーブル ===== */
#cc-wrap table.cc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
#cc-wrap table.cc-table th,
#cc-wrap table.cc-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  vertical-align: middle;
  text-align: left;
  font-size: 16px;
}
#cc-wrap table.cc-table thead th,
#cc-wrap table.cc-table tr:first-child th {
  background: #f2f2f2;
  font-weight: 600;
  text-align: center;
  font-size: 16px;
}
#cc-wrap table.cc-table td[style*="text-align: center"],
#cc-wrap table.cc-table td.cc-center {
  text-align: center;
}

/* ===== スマホ用カード ===== */
#cc-wrap .cc-region-block {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
#cc-wrap .cc-region-title {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  color: #333;
}
#cc-wrap .cc-card {
  border-top: 1px solid #ddd;
  padding: 12px 14px;
  background: #fff;
}
#cc-wrap .cc-card-city {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}
#cc-wrap .cc-card-hospital {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
#cc-wrap .cc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #c0392b;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}
#cc-wrap .cc-card-depts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
#cc-wrap .cc-dept {
  font-size: 12px;
  background: #eef2f5;
  color: #34495e;
  border-radius: 4px;
  padding: 3px 8px;
}

/* 地域カラー（元テーブルの背景色に合わせる） */
#cc-wrap .cc-region-koseikai   { background: #e5eedd; }
#cc-wrap .cc-region-kohoku     { background: #fcf2cf; }
#cc-wrap .cc-region-koto       { background: #f7e5d9; }
#cc-wrap .cc-region-konan      { background: #e1ebf7; }

/* 表示切り替え：PC/タブレットは表、スマホはカード */
#cc-wrap .cc-table {
  display: table !important;
}
#cc-wrap .cc-cards {
  display: none !important;
}

@media screen and (max-width: 600px) {
  #cc-wrap .cc-table {
    display: none !important;
  }
  #cc-wrap .cc-cards {
    display: block !important;
  }
}

/* medical-care > of-net-shiga */
/* medical-care > 妊孕性温存施設　可能な凍結技術 */
#ft-wrap {
  max-width: 95%;
  margin: 0 auto;
}

/* ===== PC/タブレット用テーブル ===== */
#ft-wrap table.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
#ft-wrap table.ft-table th,
#ft-wrap table.ft-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  vertical-align: middle;
  text-align: left;
  font-size: 16px;
}
#ft-wrap table.ft-table tr:first-child th,
#ft-wrap table.ft-table tr:nth-child(2) td {
  background: #f2f2f2;
  font-weight: 600;
  text-align: center;
}
#ft-wrap table.ft-table td[style*="text-align: center"] {
  text-align: center;
}

/* ===== スマホ用カード ===== */
#ft-wrap .ft-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
#ft-wrap .ft-card-city {
  font-size: 12px;
  color: #666;
  padding: 12px 14px 0;
}
#ft-wrap .ft-card-hospital {
  font-size: 15px;
  font-weight: 600;
  padding: 4px 14px 4px;
}
#ft-wrap .ft-card-dept {
  font-size: 12px;
  color: #34495e;
  background: #eef2f5;
  border-radius: 4px;
  padding: 3px 8px;
  display: inline-block;
  margin: 0 14px 10px;
}
#ft-wrap .ft-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #eee;
}
#ft-wrap .ft-tech-item {
  text-align: center;
  padding: 10px 4px;
  border-right: 1px solid #eee;
}
#ft-wrap .ft-tech-item:last-child {
  border-right: none;
}
#ft-wrap .ft-tech-label {
  font-size: 11px;
  color: #666;
  margin-bottom: 6px;
}
#ft-wrap .ft-tech-mark {
  font-size: 16px;
  font-weight: 700;
}
#ft-wrap .ft-tech-mark.is-ok {
  color: #1a5c4f;
}
#ft-wrap .ft-tech-mark.is-no {
  color: #ccc;
}

/* 表示切り替え：PC/タブレットは表、スマホはカード */
#ft-wrap .ft-table {
  display: table !important;
}
#ft-wrap .ft-cards {
  display: none !important;
}

@media screen and (max-width: 600px) {
  #ft-wrap .ft-table {
    display: none !important;
  }
  #ft-wrap .ft-cards {
    display: block !important;
  }
}

/* お問合せ サブ下線 */
.ofnet-title {
    border-bottom: 1px solid #f0f0f0;
}
.ofnet-title::after {
    background: #f0f0f0;
}

/* medical-care > caesarean_section */
/* medical-care > 帝王切開子宮瘢痕症(CSDi)外来 */
.csdi-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.csdi-image2 {
    width: 75%;
    margin: 0 auto;
}

.csdi-image2 img {
    width: 100%;
    height: auto;
    display: block;
}

.csdi-image2 figcaption {
    text-align: center;
    margin-top: 10px;
}

/* medical_person > fertility-preservation-referral */
/* medical_person > 患者さんにおける性腺毒性リスク分類 */
.rx-wrap {
  max-width: 95%;
  margin: 0 auto;
}
/* ===== PC/タブレット用テーブル ===== */
.rx-wrap table.rx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.6;
}
.rx-wrap table.rx-table th,
.rx-wrap table.rx-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  vertical-align: top;
  text-align: left;
}
.rx-wrap table.rx-table th.hyou_midashi01 {
  background: #f2f2f2;
  font-weight: 600;
  text-align: center;
}
.rx-wrap table.rx-table th.hyou_midashi02 {
  font-weight: 600;
  vertical-align: middle;
  text-align: center;
  width: 180px;
}
/* ===== スマホ用カード ===== */
.rx-wrap .rx-risk-block {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.rx-wrap .rx-risk-title {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}
.rx-wrap .rx-card {
  border-top: 1px solid #ddd;
  padding: 12px 14px;
  background: #fff;
}
.rx-wrap .rx-card-protocol {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.rx-wrap .rx-card-row {
  font-size: 13px;
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}
.rx-wrap .rx-card-row:last-child {
  margin-bottom: 0;
}
.rx-wrap .rx-card-label {
  flex: 0 0 auto;
  color: #666;
  white-space: nowrap;
}
.rx-wrap .rx-card-value {
  color: #333;
}
/* リスク別カラー（スマホ見出しバー） */
.rx-wrap .rx-risk-high   { background: #f7d9d9; }
.rx-wrap .rx-risk-mid    { background: #f7e5d9; }
.rx-wrap .rx-risk-low    { background: #fcf2cf; }
.rx-wrap .rx-risk-vlow   { background: #e5eedd; }
.rx-wrap .rx-risk-unknown{ background: #e6e6e6; }
/* 表示切り替え：PC/タブレットは表、スマホはカード */
.rx-wrap .rx-table {
  display: table !important;
}
.rx-wrap .rx-cards {
  display: none !important;
}
@media screen and (max-width: 600px) {
  .rx-wrap .rx-table {
    display: none !important;
  }
  .rx-wrap .rx-cards {
    display: block !important;
  }
}

/* medical_person > fertility-preservation-referral */
/* medical_person > 役員名簿一覧 */
.mb-wrap {
  max-width: 95%;
  margin: 0 auto;
}

/* ===== PC/タブレット用テーブル ===== */
.mb-wrap table.tsuika_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.mb-wrap table.tsuika_table th,
.mb-wrap table.tsuika_table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  vertical-align: middle;
  text-align: left;
  font-size: 16px;
}
.mb-wrap table.tsuika_table th {
  background: #f2f2f2;
  font-weight: 600;
  text-align: center;
  width: 160px;
}
.mb-wrap table.tsuika_table td.tsuika_table_bold {
  font-weight: 600;
  white-space: nowrap;
  width: 200px;
}

/* ===== スマホ用カード ===== */
.mb-wrap .mb-role-block {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.mb-wrap .mb-role-title {
  background: #f2f2f2;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}
.mb-wrap .mb-card {
  border-top: 1px solid #ddd;
  padding: 10px 14px;
  background: #fff;
}
.mb-wrap .mb-card:first-of-type {
  border-top: none;
}
.mb-wrap .mb-card-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.mb-wrap .mb-card-affil {
  font-size: 13px;
  color: #555;
}

/* 表示切り替え：PC/タブレットは表、スマホはカード */
.mb-wrap .mb-table {
  display: table !important;
}
.mb-wrap .mb-cards {
  display: none !important;
}

@media screen and (max-width: 600px) {
  .mb-wrap .mb-table {
    display: none !important;
  }
  .mb-wrap .mb-cards {
    display: block !important;
  }
}

/* medical_person > fertility-preservation-referral > of-net-shiga-regulations */
/* medical_person > OF-Net Shiga会則 */

.rl-wrap {
  max-width: 90%;
  margin: 0 auto;
}

/* ===== PC/タブレット用テーブル ===== */
.rl-wrap table.rl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}
.rl-wrap table.rl-table th,
.rl-wrap table.rl-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
}
.rl-wrap table.rl-table thead th {
  background: #f2f2f2;
  font-weight: 600;
  text-align: center;
}
.rl-wrap table.rl-table td.rl-role {
  font-weight: 600;
  white-space: nowrap;
  width: 150px;
}
.rl-wrap table.rl-table td.rl-count {
  white-space: nowrap;
  width: 150px;
  text-align: center;
}

/* ===== スマホ用カード ===== */
.rl-wrap .rl-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.rl-wrap .rl-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f2f2;
  padding: 10px 14px;
}
.rl-wrap .rl-card-role {
  font-weight: 600;
  font-size: 15px;
}
.rl-wrap .rl-card-count {
  font-size: 12px;
  color: #555;
  background: #fff;
  border-radius: 4px;
  padding: 2px 10px;
}
.rl-wrap .rl-card-body {
  padding: 12px 14px;
  font-size: 13.5px;
  color: #333;
  line-height: 1.7;
}

/* 表示切り替え：PC/タブレットは表、スマホはカード */
.rl-wrap .rl-table {
  display: table !important;
}
.rl-wrap .rl-cards {
  display: none !important;
}

@media screen and (max-width: 600px) {
  .rl-wrap .rl-table {
    display: none !important;
  }
  .rl-wrap .rl-cards {
    display: block !important;
  }
}

/* Blog */
.vk_posts-layout-postListText {
    padding-top: 40px;
}
.archive-header {
    padding-top: 40px;
	padding-left: 20px;
	margin-bottom:-40px;
    color: #646464;
}
.archive-header-title::first-letter {
    font-size: 1.5em;
    color: #32a4bf;
    font-weight: bold;
}

/* Contact Form 7 */
.contact-form{
    max-width:900px;
    margin:0 auto;
}

.contact-form .form-group{
    margin-bottom:28px;
}

.contact-form label{
    display:block;
    font-size:16px;
    font-weight:700;
    color:#333;
    margin-bottom:8px;
    line-height:1.6;
}

.contact-form .required{
    display:inline-block;
    margin-left:8px;
    padding:2px 8px;
    background:#d9534f;
    color:#fff;
    font-size:12px;
    font-weight:700;
    border-radius:3px;
    vertical-align:middle;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid #d6d6d6;
    border-radius:6px;
    background:#fff;
    font-size:16px;
    line-height:1.7;
    transition:.25s;
    box-sizing:border-box;
}

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

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#0d6efd;
    outline:none;
    box-shadow:0 0 0 3px rgba(13,110,253,.15);
}

.contact-form ::placeholder{
    color:#999;
}

/* プライバシーポリシー・送信案内 */
.contact-form .privacy-area{
    width:850px;
    max-width:100%;
    margin:10px auto 20px;
}

.contact-form .privacy-agreement{
    margin:0 0 12px;
}

.contact-form .privacy-agreement label{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    font-size:15px;
    font-weight:400;
    color:#333;
}

.contact-form .privacy-agreement input[type="checkbox"]{
    width:20px;
    height:20px;
    margin:0;
    flex-shrink:0;
    cursor:pointer;
}

.contact-form .submit-note{
    margin:0;
    font-size:15px;
    color:#666;
    line-height:1.8;
	padding-left: 45px;
}

/* 送信ボタン */
.contact-form .form-submit{
    text-align:center;
    margin-top:40px;
}

.contact-form input[type="submit"]{
    width:50%;
    max-width:100%;
    padding:16px 40px;
    border:none;
    border-radius:50px;
    background:#005bac;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.contact-form input[type="submit"]:hover{
    background:#00458a;
}

/* CF7 */
.contact-form .wpcf7-spinner{
    display:block;
    margin:15px auto 0;
}

.contact-form .wpcf7-not-valid-tip{
    margin-top:6px;
    font-size:13px;
}

.contact-form .wpcf7-response-output{
    margin:30px 0 0;
    padding:15px;
    border-radius:6px;
}

/* CF7自動改行を非表示 */

.contact-form br{
    display:none;
}

/* スマホ */
@media (max-width:768px){

    .contact-form label{
        font-size:15px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea{
        font-size:16px;
        padding:13px 14px;
    }

    .contact-form .privacy-agreement label{
        font-size:14px;
    }

    .contact-form .submit-note{
        font-size:14px;
    }

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

}

