/*
Theme Name:  honbe Child Theme
Template:    honbe
Version:     0.1
*/

/* 画像ホバーエフェクト */
.tp-rs-img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* orusoke テーブルスタイル */
table.orusoke {
	width:100%;
	border-collapse: collapse;
}
table.orusoke thead th {
	background:#fff;
	color:#000;
	padding:10px 15px;
	border-right:#000 solid 1px;
	border-bottom:#000 solid 1px;
	border-left:#000 solid 1px;
	border-top:#000 solid 1px;
}
table.orusoke thead th:last-child {
	border-right:#000 solid 1px;
}
table.orusoke tbody th {
	background:#fff;
	color:#000;
	padding:10px 15px;
	border-right:#000 solid 1px;
	border-bottom:#000 solid 1px;
	border-left:#000 solid 1px;
	border-top:#000 solid 1px;
	vertical-align:top;
}
table.orusoke tbody tr:last-child th {
	border-right:#000 solid 1px;
	border-bottom:#000 solid 1px;
	border-left:#000 solid 1px;
	border-top:#000 solid 1px;
}
table.orusoke tbody td {
	background:#FFF;
	padding:10px 15px;
	border-right:#000 solid 1px;
	border-bottom:#000 solid 1px;
	border-left:#000 solid 1px;
	border-top:#000 solid 1px;
	vertical-align:top;
}

/* orusoke テーブル レスポンシブスタイル (640px以下) */
@media screen and (max-width: 640px) {
    table.orusoke thead {
        display:none;
    }
    table.orusoke tbody th,
    table.orusoke tbody td {
        display:block;
        width: 100% !important;
        box-sizing: border-box;
    }
    table.orusoke tbody th {
        text-align: left;
        border-bottom: none;
    }
    table.orusoke tbody td::before {
        content: attr(label);
        float: left;
        clear:both;
        font-weight:bold;
    }
    table.orusoke tbody td p {
        padding-left:6em;
        display: block;
        overflow: hidden;
    }

    /* body スタイル (640px以下) */
    body {
        background-color: #EEE;
        text-align: left;
    }
}


/* 新しいhonbeコンテナ レイアウト (2カラム) */
.newhonbe-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* 新しいhonbeコンテナ お知らせセクション */
.newhonbe-notice-container {
    flex: 1;
    padding: 30px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 新しいhonbeコンテナ アコーディオンセクション */
.newhonbe-accordion-container {
    flex: 1;
}

/* 新しいhonbeコンテナ お知らせヘッダー */
.newhonbe-notice-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #2c5282;
}

/* 新しいhonbeコンテナ お知らせタイトル */
.newhonbe-notice-title {
    color: #2c5282;
    font-size: 22px!important;
    font-weight: bold;
    margin: 0 0 20px 0;
}

/* 新しいhonbeコンテナ お知らせコンテンツ */
.newhonbe-notice-content {
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 新しいhonbeコンテナ スケジュールボックス */
.newhonbe-schedule-box {
    background: #ebf8ff;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

/* 新しいhonbeコンテナ スケジュールアイテム */
.newhonbe-schedule-item {
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border-left: 4px solid #2c5282;
}

/* 新しいhonbeコンテナ 住所 */
.newhonbe-address {
    background: #f7fafc;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

/* 新しいhonbeコンテナ お知らせフッター */
.newhonbe-notice-footer {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* 新しいhonbeコンテナ レスポンシブスタイル (768px以下) */
@media screen and (max-width: 768px) {
    .newhonbe-container {
        flex-direction: column;
    }
}

/* ==========================================================================
   グローバルスタイル / ユーティリティクラス
   ========================================================================== */

/* テキストのトランスフォーム解除 (ページビルダーボタンなど) */
.ts-vc_general.ts-vc_btn3 {
    text-transform: none !important;
}

/* 取り消し線 */
.strikethrough {
  text-decoration: line-through;
}

/* 蛍光ペン風の背景 (黄色) */
.keiko_yellow {
    background: linear-gradient(transparent 50%, rgba(255, 252, 107, .69) 50%);
    font-weight: bold;
    line-height: 1.7;
    color: #333;
}

/* ==========================================================================
   ページビルダー (Visual Composer等) 関連のスタイル調整
   ========================================================================== */

/* 特定の背景色の価格リストアイテムの文字色とボーダー色調整 */
.ts-row-bgtype-skincolor ul.ts-pricelist-block li,
.ts-bgcolor-skincolor ul.ts-pricelist-block li,
.ts-col-bgcolor-skincolor ul.ts-pricelist-block li,
.ts-row-bgtype-darkgrey ul.ts-pricelist-block li,
.ts-col-bgcolor-darkgrey ul.ts-pricelist-block li {
    color: #fff !important;
    border-bottom-color: #fff !important;
}

/* 特定のCTA (Call to Action) 要素の見出しフォントスタイル */
.ts-element-heading-wrapper .ts-vc_general .ts-vc_cta3_content-container .ts-vc_cta3-content .ts-vc_cta3-content-header h4,
.ts-vc_general.ts-vc_cta3.ts-vc_cta3-color-transparent.ts-cta3-only .ts-vc_cta3-content .ts-vc_cta3-headers h4 {
    font-family: "Noto Sans JP", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1px;
    color: #0173CC;
}

/* 特定のボタンスタイル (警告色、モダンスタイル) のフォントを太字に */
.vc_btn3.vc_btn3-color-warning.vc_btn3-style-modern {
    font-weight: bold !important;
}

/* ==========================================================================
   フッター関連のスタイル
   ========================================================================== */

/* フッターロゴの最大高さ */
.footerlogo img {
    max-height: 80px !important;
}

/* ==========================================================================
   2カラムレイアウト (クリニック移転案内などで使用)
   ========================================================================== */
.newhonbe-container {
}

.newhonbe-two-column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.newhonbe-left-column {
    flex: 1;
    min-width: 300px;
}

.newhonbe-right-column {
    flex: 1;
    min-width: 300px;
}

/* -------------------------------------------------------------------------- */
/* 左カラム: お知らせセクションのスタイル
/* -------------------------------------------------------------------------- */
.newhonbe-notice-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    height: 100%;
    box-sizing: border-box;
}

.newhonbe-notice-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.newhonbe-notice-title {
    font-size: 1.5em;
    color: #333;
    margin-top: 0;
    margin-bottom: 5px;
}

.newhonbe-notice-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}
.newhonbe-notice-content p:last-child {
    margin-bottom: 0;
}

.newhonbe-address {
    margin: 15px 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    line-height: 1.7;
}

.newhonbe-address strong {
    color: #00509e;
}

.newhonbe-schedule-box {
    margin: 15px 0;
    padding: 15px;
    background-color: #e6f3ff;
    border-radius: 4px;
}

.newhonbe-schedule-item strong {
    font-size: 1.1em;
    color: #00509e;
    display: block;
    margin-bottom: 5px;
}

.newhonbe-notice-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
    font-size: 0.9em;
    color: #555;
}

/* ==========================================================================
   アコーディオン (右カラムのお知らせなどで使用)
   ========================================================================== */

.newhonbe-accordion-container {
}

.newhonbe-right-column .honbe-arusoke-accordion {
  max-width: 100%;
  margin: 0 0 15px 0;
  color: #333;
  border-radius: 5px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.newhonbe-right-column .honbe-arusoke-accordion:last-child {
    margin-bottom: 0;
}

.newhonbe-right-column .honbe-arusoke-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px;
    background-color: #f8f9fa;
    color: #00509e;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: none;
}

.newhonbe-right-column .honbe-arusoke-accordion-btn:hover {
    background-color: #e9ecef;
    color: #00376b;
}

.newhonbe-right-column .honbe-arusoke-accordion-btn.active {
    background-color: #00509e;
    color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #00509e;
}

/* --- ボタン内のアイコン色指定 --- */
/* デフォルトのアイコンマージン */
.newhonbe-right-column .honbe-arusoke-accordion-btn .fas {
    margin-right: 8px;
}

/* カレンダーアイコン (GWのお知らせ) */
.newhonbe-right-column .honbe-arusoke-accordion-btn .fa-calendar-alt {
    color: #00509e;
}
.newhonbe-right-column .honbe-arusoke-accordion-btn.active .fa-calendar-alt {
    color: #00509e !important;
}

/* ビックリマークアイコン */
.newhonbe-right-column .honbe-arusoke-accordion-btn .fa-exclamation-circle {
    color: #ff6347;
}
.newhonbe-right-column .honbe-arusoke-accordion-btn.active .fa-exclamation-circle {
    color: #ff6347 !important;
}

/* リストアイコン (点滴メニュー) と 開閉アイコン */
/* これらはアクティブ時に白くなる */
.newhonbe-right-column .honbe-arusoke-accordion-btn .fa-list-ul {
    color: #00509e;
}
.newhonbe-right-column .honbe-arusoke-accordion-btn .accordion-icon {
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.3s ease;
    color: #00509e;
}

/* 開閉時のアイコン回転 */
.newhonbe-right-column .honbe-arusoke-accordion-btn.active .accordion-icon {
    transform: rotate(180deg);
}

/* アコーディオンコンテンツエリア */
.newhonbe-right-column .honbe-arusoke-accordion-content {
    padding: 15px 20px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
    font-size: 0.95em;
    line-height: 1.6;
    box-shadow: none;
}

.newhonbe-right-column .honbe-arusoke-accordion-content p,
.newhonbe-right-column .honbe-arusoke-accordion-content ul {
    margin-top: 0;
    margin-bottom: 10px;
}
.newhonbe-right-column .honbe-arusoke-accordion-content p:last-child,
.newhonbe-right-column .honbe-arusoke-accordion-content ul:last-child {
    margin-bottom: 0;
}

.newhonbe-right-column .honbe-arusoke-accordion-content ul {
  padding-left: 20px;
  list-style-type: disc;
}
.newhonbe-right-column .honbe-arusoke-accordion-content ul li {
  margin: 5px 0;
}

.newhonbe-right-column .honbe-arusoke-accordion-content a {
    text-decoration: underline;
}
.newhonbe-right-column .honbe-arusoke-accordion-content a:hover {
    color: #00509e;
    text-decoration: none;
}

.red-notice {
    color: #dc3545 !important;
    font-weight: bold;
}

/* -------------------------------------------------------------------------- */
/* アコーディオン内: GW診療カレンダーのスタイル
/* -------------------------------------------------------------------------- */
.gw-calendar {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #eee;
}

.gw-calendar h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
    text-align: center;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.calendar-table th,
.calendar-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

.calendar-table th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
}

.calendar-table td {
    height: auto;
    min-height: 40px;
}

.closed {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.9em;
    display: block;
}

.calendar-table th:nth-child(3),
.calendar-table td:nth-child(3) {
    background-color: #f0f8ff;
}
.calendar-table th:nth-child(6),
.calendar-table td:nth-child(6) {
    background-color: #e6f3ff;
}
.calendar-table th:nth-child(7),
.calendar-table td:nth-child(7) {
    background-color: #ffebee;
}

.calendar-table td:has(.closed) {
    background-color: #ffebee;
}

/* -------------------------------------------------------------------------- */
/* アコーディオン内: 点滴メニュー (PDFリンクと画像)
/* -------------------------------------------------------------------------- */
.newhonbe-pdf-menu-content {
    text-align: center;
}

.newhonbe-menu-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
}

.newhonbe-pdf-menu-footer {
    margin-top: 10px;
}

.newhonbe-pdf-download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.newhonbe-pdf-download-btn:hover {
    background-color: #004494;
}

.newhonbe-pdf-download-btn .fas {
    margin-right: 8px;
}

/* ==========================================================================
   既存のアコーディオン関連スタイル
   ========================================================================== */

.honbe-arusoke-accordion {
  max-width: 600px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
  color: #333;
  border-radius: 8px;
  background-color: #ffffff;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-btn {
  background-color: #ffffff;
  color: #00509e;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: 1px solid #ddd;
  outline: none;
  text-align: left;
  font-size: 1.1em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-btn .fa-exclamation-circle {
  margin-right: 10px;
  color: #ff6347;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-btn .accordion-icon {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-btn.active .accordion-icon {
  transform: rotate(180deg);
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-btn:hover {
  background-color: #f9f9f9;
  color: #00376b;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-content {
  padding: 15px;
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  font-size: 0.95em;
  line-height: 1.6;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-content p {
  margin: 10px 0;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-content strong {
  color: #00509e;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-content ul {
  padding-left: 20px;
  list-style-type: disc;
}

.honbe-arusoke-accordion > .honbe-arusoke-accordion-content ul li {
  margin: 5px 0;
}

.honbe-info-box .honbe-title {
    margin-top: 15px;
}

/* ==========================================================================
 ? 診療のご案内
 ? ========================================================================== */

.honbe-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch; /* 追加: 各ボックスの高さを揃える */
    margin-bottom: 20px;
}

.honbe-info-box {
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-left: 4px solid #5b9bd5;
    padding: 20px;
    position: relative;
    margin-bottom: 20px;
}

.honbe-step {
    flex-basis: calc(33.333% - 20px);
    margin-right: 10px;
    display: flex; /* 追加: Flexboxを有効にする */
    flex-direction: column; /* 追加: 子要素を縦方向に並べる */
    justify-content: center; /* 追加: 子要素を中央に配置 */
}

.honbe-arrow-down {
    display: none; /* デフォルトでは非表示 */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #5b9bd5; /* 矢印の色 */
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    z-index: 10;
}

.honbe-wide {
    flex-basis: calc(50% - 20px);
    margin-right: 10px;
}

.honbe-bottom-box {
    margin-right: 0;
}

.honbe-title {
    font-size: 1.5em;
    color: #333;
}

.honbe-text {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
}

.honbe-arrow {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid #5b9bd5;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: block; /* 変更: デフォルトで表示 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .honbe-step,
    .honbe-wide {
        flex-basis: 100%;
        margin-right: 0;
    }

    .honbe-arrow-down {
        display: block;
    }

    .honbe-arrow {
        display: none; /* スマートフォン表示では矢印を非表示 */
    }

    .honbe-row {
        align-items: flex-start; /* モバイル表示では高さを揃えない */
    }
}

/* PC表示での矢印の表示 */
@media (min-width: 769px) {
    .honbe-step .honbe-arrow {
        display: block; /* PC表示では矢印を表示 */
    }
    
    .honbe-step:last-child .honbe-arrow {
        display: none; /* 最後のボックスでは矢印を非表示 */
    }
}


/* ==========================================================================
 ? 本
 ? ========================================================================== */

.honbe-book-container {
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

.honbe-book-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2em;
}

.honbe-book-showcase {
    display: grid;
    /* PC: 最小180px幅のカードを可能な限り配置、最大は均等分割 */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px; /* カード間の余白 */
}

.honbe-book-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 画像とボタンの間にスペースを確保 */
}

.honbe-book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.honbe-book-image-link {
    display: block; /* 画像が中央に来るように */
    margin-bottom: 15px; /* 画像とボタンの間の余白 */
    flex-grow: 1; /* 画像部分がカードの高さいっぱいに広がるように */
    display: flex;
    align-items: center;
    justify-content: center;
}

.honbe-book-cover-image {
    display: block;
    max-height: 160px; /* Amazon画像の高さを基準に */
    max-width: 100%;   /* 親要素からはみ出ないように */
    height: auto;      /* アスペクト比を維持 */
    width: auto;       /* アスペクト比を維持 */
    object-fit: contain; /* アスペクト比を維持しつつ、指定した高さ/幅に収める */
    border-radius: 4px; /* 少し角を丸める */
    transition: opacity 0.3s ease;
}

.honbe-book-card:hover .honbe-book-cover-image {
    opacity: 0.85; /* ホバー時に少し透過 */
}

.honbe-book-amazon-btn {
    display: inline-block;
    background-color: #FF9900; /* Amazonオレンジ */
    color: #fff;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    align-self: center; /* ボタン自体を中央揃え */
}

.honbe-book-amazon-btn:hover {
    background-color: #E68A00; /* 少し濃いオレンジ */
    transform: scale(1.05);
}

/* スマホ対応 (レスポンシブデザイン) */
@media (max-width: 768px) {
    .honbe-book-container h2 {
        font-size: 1.8em;
    }
    .honbe-book-showcase {
        /* タブレット: 最小160px幅のカードを配置 */
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }
    .honbe-book-card {
        padding: 15px;
    }
    .honbe-book-amazon-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .honbe-book-container h2 {
        font-size: 1.5em;
    }
    .honbe-book-showcase {
        /* スマホ: 2列表示 */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
     .honbe-book-card {
        padding: 12px;
    }
    .honbe-book-amazon-btn {
        padding: 8px 12px;
        font-size: 0.8em;
        width: 100%; /* スマホではボタン幅をカードいっぱいに */
        box-sizing: border-box;
    }
}
/* ==========================================================================
   特定のテーブルスタイル (スケジュール表、募集要項表など)
   ========================================================================== */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  font-size: 1.5em;
}

.schedule-table th {
  background-color: #f2f2f2;
}

.schedule-table .holiday {
  font-weight: bold;
  font-size: 1.5em;
}

.schedule-table .circle {
  font-size: 2em;
}

.note {
  font-size: 0.9em;
  color: #333;
  margin-bottom: 20px;
}

.highlight {
  color: red;
  font-weight: bold;
}

table.table-boshu {
    width:100%;
    border-collapse: collapse;
}
table.table-boshu thead th {
    background:#7FC53F;
    color:#FFF;
    padding:10px 15px;
    border-right:#FFF solid 1px;
    border-bottom:#FFF solid 1px;
}
table.table-boshu thead th:last-child {
    border-right:#FFF solid 1px;
}
table.table-boshu tbody th {
    background:#73b933;
    color:#FFF;
    padding:10px 15px;
    border-right:#FFF solid 1px;
    border-bottom:#FFF solid 1px;
    vertical-align:top;
}
table.table-boshu tbody tr:last-child th {
    border-bottom:#FFF solid 1px;
}
table.table-boshu tbody td {
    background:#ebf6df;
    padding:10px 15px;
    vertical-align:top;
}

/* ==========================================================================
   特定のメニューアイテムの非表示
   ========================================================================== */
#menu-item-7452 {
    display: none;
}

/* ==========================================================================
   レスポンシブデザイン調整 (メディアクエリ)
   ========================================================================== */

@media (max-width: 1200px) {
    .headerlogo img {
        max-height: 70px !important;
    }
    .site-header-main.ts-table {
        margin: 0 15px 0px 0px !important;
        width: auto;
        display: block;
    }
    .vc_column_container > .vc_column-inner {
        box-sizing: border-box;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .newhonbe-two-column-layout {
        flex-direction: column;
    }

    .newhonbe-left-column,
    .newhonbe-right-column {
        min-width: 100%;
        margin-bottom: 20px;
    }
    .newhonbe-right-column {
        margin-bottom: 0;
    }

    .gw-calendar h4 {
        font-size: 1em;
    }
    .calendar-table {
        font-size: 0.8em;
    }
    .calendar-table th,
    .calendar-table td {
        padding: 5px;
    }
}

@media screen and (max-width: 640px) {
    /* table.table-boshu のレスポンシブスタイル */
    table.table-boshu thead {
        display:none;
    }
    table.table-boshu tbody th,
    table.table-boshu tbody td {
        display:block;
        width: 100% !important;
        box-sizing: border-box;
    }
    table.table-boshu tbody th {
        text-align: left;
        border-bottom: none;
    }
    table.table-boshu tbody td {
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    table.table-boshu tbody tr:last-child td:last-child {
        border-bottom: none;
    }

    table.table-boshu tbody td::before {
        content: attr(label);
        float: left;
        clear:both;
        font-weight:bold;
        margin-right: 10px;
        min-width: 80px;
    }
    table.table-boshu tbody td p {
        padding-left: 0;
        display: block;
        overflow: hidden;
    }
}

/*ainprose 20250612*/
.ainprose-box .honbe-wide {
    flex-basis: calc(33.3% - 20px);
    position: relative;
}
.ainprose-box.border-none .honbe-info-box {
    border: 0;
}
.ainprose-deco {
    display: flex;
    padding-bottom: 16px;
}
.ainprose-deco p {
    margin: -20px 10px 0 -20px;
    height: 100px;
    width: 100px;
    padding: 5px;
    text-align: center;
    background: #0073cc;
    color: #fff;
}
.ainprose-deco p span {
    display: block;
    font-size: 16px;
}
.ainprose-deco p b {
    font-size: 36px;
    padding-top: 18px;
    display: block;
}
.ainprose-deco .honbe-title {
    font-size: 24px;
}

.ainprose-box-02 {
    background: #e0f4ff;
}
.ainprose-box-02 .honbe-title {
    font-size: 24px;
    width: 100%;
    text-align: center;
    color: #1E73BE;
}
.ainprose-box-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    padding: 30px 60px;
    border-bottom: 1px dashed;
}
.ainprose-box-inner:last-child {
    border-bottom: 0;
}
.ainprose-box-inner .honbe-text {
    width: 33.3%;
}

.ainprose-box-03 .ainprose-title {
    font-size: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #dcdcdc;
    position: relative;
}
.ainprose-box-03 .ainprose-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    display: block;
    width: 40%;
    height: 1px;
    border-bottom: 2px solid #1E73BE;
}
.ainprose-box-03 .ainprose-title-sub {
    font-size: 24px;
    padding-bottom: 20px;
    color: #1E73BE;
}
.ainprose-box-03 table th {
    font-size: 20px;
    border: 2px solid #fff;
    background: #1E73BE;
    color: #FFF;
    text-align: center;
    padding: 20px 0;
}
.ainprose-box-03 table td {
    font-size: 20px;
    border: 2px solid #fff;
    background: #E0F4FF;
    padding: 20px 0 20px 40px;
}
.ainprose-box-03 p {
    font-size: 16px;
    line-height: 1.4em;
    margin: 0;
}
.ainprose-box-04 {
    position: relative;
}
.ainprose-box-04::before {
    content: "";
    display: block;
    height: 90%;
    width: 1px;
    border-left: 2px solid #0073cc;
    position: absolute;
    left: 50px;
    top: 0;
    z-index: 0;
}
.ainprose-box-04-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 80px;
}
.ainprose-box-text-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}
.ainprose-box-text-box .title-deco {
    height: 100px;
    width: 100px;
    padding: 5px;
    text-align: center;
    background: #0073cc;
    color: #fff;
    position: relative;
}
.ainprose-box-text-box .title-deco span {
    display: block;
    font-size: 16px;
}
.ainprose-box-text-box .title-deco b {
    font-size: 36px;
    padding-top: 18px;
    display: block;
}
.ainprose-box-text-box .text {
    width: calc(100% - 140px);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.ainprose-box-text-box .text div {
    width: 58%;
}
.ainprose-box-04-inner .text img {
    width: 40%;
}
.ainprose-box-text-box div .title {
    font-size: 24px;
}
.ainprose-box-text-box div p {
    font-size: 16px;
}
@media (max-width: 1200px) {
    .ainprose-box .honbe-wide {
        flex-basis: calc(50% - 20px);
    }
}
@media (max-width: 760px) {
    .ainprose-box .honbe-wide {
        flex-basis: 100%;
    }
    .ainprose-box-inner .honbe-text {
        width: 100%;
    }
    .ainprose-box,
    .ainprose-box-03 {
        padding-bottom: 60px;
    }
    .ainprose-box-02 {
        margin-bottom: 110px;
    }
    .ainprose-box-03 table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .ainprose-box-03 table th,
    .ainprose-box-03 table td {
        width: 100%;
        padding: 20px;
    }
    .ainprose-box-text-box .text {
        width: calc(100% - 120px);
    }
    .ainprose-box-text-box .text div {
        width: 100%;
    }
    .ainprose-box-04-inner .text img {
        width: 100%;
        order: -1;
    }
}
