/*
Theme Name: Katawara Child
Template: katawara
Version: 1.27.1
*/

/* ここにカスタムCSS */

/**/

/* font */
body{
	font-size: 16px;
}
sub {
  font-size: 0.7em;
}

/* ロゴサイズ */
@media screen and (min-width: 1200px) {
    .l-site-header_inner {
        padding: 0;
        width: 60%;
        margin: 0 auto;
    }
	.p-site-header-brand {
        padding: 0;
    }
}
/*  グローバルナビ：サブメニュー常に表示（PC）  
@media screen and (min-width: 1024px) {
  .p-global-menu .sub-menu {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .p-global-menu .acc-child-close {
    display: block !important;
  }
  .p-global-menu .acc-btn {
    display: none !important;
  }
}*/

/*  ハンバーガーメニューの表示タイミング  */
/* ハンバーガーメニュー表示 */
@media (max-width:1199.98px){
.vk-mobile-nav-menu-btn {
display: block !important;
}
}
/* グローバルナビ非表示 */
@media (max-width:1199.98px){
.l-site-header_global-menu {
display: none;
}
}
/* モバイルナビの表示非表示*/
@media (min-width: 992px){
body.device-pc .vk-mobile-nav {
    display: block;
}
}
@media (min-width: 1200px){
body.device-pc .vk-mobile-nav {
    display: none;
}
}

/* ナビゲーション装飾
.vk-menu-acc li.menu-item-has-children>a {
    padding-right: 3em;
    border-left: 15px solid #006dcc;
    color: #333;
    font-size: 1.2em;
} */

/*  現ページハイライト  */
.p-global-menu .current-menu-item > a {
  background-color: #00a9f0 !important;
	border-left: 5px solid #006dcc;
	color: white;
}
.p-global-menu .current-menu-item > a:hover {
	color: white;
}

/* ナビゲーションレイアウト・表示 */
@media screen and (min-width: 1200px) {
    .l-site-header {
        box-shadow: 0 0 8px #333;
    }
}
.p-global-menu > li.menu_1st a{
	border: 1px solid #006dcc;
    border-left: 10px solid #006dcc;
    padding: 20px;
	font-size: 1.1em;
    font-weight: 700;
}
.p-global-menu > li.menu_2nd a{
	display: block;
    overflow: hidden;
    border-bottom: 1px solid silver;
	padding: 10px;
    padding-left: 40px;
    background-color: #f5f9fd;
}
.p-global-menu>li ul.sub-menu li.menu_3rd a{
	background: white;
    padding-left: 3em;
}
.p-global-menu>li {
        border-top: none;
 }
.vk-menu-acc ul.sub-menu li a {
    display: block;
    overflow: hidden;
    border: none;
}

/* TOPスライド */
@media (max-width: 992px){
h3.slide-text-title {
    font-size: 20px;
}
}

/* 左サイドバー */
.l-site-header{
	background: #eaf8ff;
}
.l-site-header_global-menu{
	background: white;
	padding-bottom: 0;
}
@media screen and (min-width: 1200px) {
    .l-site-header_inner {
        font-size: 12px;
    }
}

/* コンテンツレイアウト */
@media (min-width: 992px) {
    .l-container_inner {
        padding-top: 0;
    }
}

/* コンテンツ　フォント・レイアウトなど */
/* 固定ページ */

/* 投稿 */
.vk_post .vk_post_title {
    font-size: 18px;
}
.vk_post .vk_post_excerpt {
    font-size: 14px;
}
.p-entry_header .p-entry_meta {
    font-size: .9em;
    display: flex;
    justify-content: flex-end;
}
.p-entry_header .p-entry_title {
    color: #003260;
    border-bottom: 1px solid;
    padding: 30px 0;
}
article.type-post{
    border-radius: 50px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 8px silver;
}

/* FAQ */
.faq-question {
  font-weight: bold;
  padding: 10px;
  background: #f5f5f5;
  margin-bottom: 5px;
}

.faq-answer {
  padding: 10px;
  border: 1px solid #ddd;
}

/* faq archive top */
/* 全体グリッド */
.faq-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

/* カード */
.faq-category.faq-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* カテゴリタイトル */
.faq-category h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* FAQ一覧 */
.faq-item {
  margin-bottom: 10px;
}

/* 質問 */
.faq-question {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
  position: relative;
  padding-left: 12px;
}
/* 回答 */
.faq-answer {
  line-height: 1.6;
}

/* もっと見る */
.faq-more {
    margin: 10px 0;
    font-size: 16px;
    display: block;
    padding: 5px;
    text-align: right;
	border: 1px solid #006dcc;
    border-radius: 30px;
}
.faq-more a:hover{
    background:#00a9f0;
	color: white;
}

/* FAQその他のカテゴリ */
.faq-category-links{
	margin: 50px 0;
}
.faq-category-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.faq-category-link-list li {
  margin: 0;
}

.faq-category-link-list a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f5f5f5;
  border: 1px solid #e2e2e2;
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

/* ホバー */
.faq-category-link-list a:hover {
  background: #003260;
  color: #fff;
  border-color: #003260;
}

/* table 共通 */
.wp-block-table.is-style-vk-table-border-stripes table:where(:not(.has-border-color)) th, .wp-block-table.is-style-vk-table-border-stripes table:where(:not(.has-border-color)) td {
    border: 1px solid #ddd;
    border-color: #ddd;
}

/* table 報酬 */
/* スクロール領域 */
.price-table-wrap{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    margin:20px 0;
}
/* スマホだけ案内表示 */
@media (max-width:768px){

    .price-table-wrap::before{
        content:"◀ 横にスクロールできます ▶";
        display:block;
        text-align:center;
        font-size:12px;
        margin-bottom:8px;
        padding:6px;
        border-radius:20px;
        background:#f5f5f5;
        color:#666;
    }

}
/* テーブル本体 */
.price-table-wrap .orders{
    min-width:650px;
    width:100%;
    border-collapse:collapse;
}

/* 偶数行に背景色 */
.price-table-wrap .orders tbody tr:nth-child(even){
    background:#f0f0f0;
}

/* セル */
.price-table-wrap .orders td,
.price-table-wrap .orders th{
    padding:10px;
    white-space:nowrap;
    border: 1px solid #ddd;
}

.price-number{
    width:150px;
    text-align:right !important;
}
.price-range{
    width:40px;
    text-align:center !important;
}

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

    .price-table-wrap .orders{
        font-size:14px;
    }

    .price-table-wrap .orders td,
    .price-table-wrap .orders th{
        padding:8px;
    }

}

/* contactform7 */
.cf7-table {
  width: 100%;
  border-collapse: collapse;
}

.cf7-table th,
.cf7-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.cf7-table th {
  width: 200px;
  background: #f7f7f7;
  font-weight: bold;
  vertical-align: middle;
}

.cf7-table input {
  padding: 8px;
  box-sizing: border-box;
}

.required {
  color: #fff;
  background: #e60023;
  font-size: 12px;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 3px;
}

.cf7-submit {
  text-align: center;
  margin-top: 20px;
}

.cf7-submit input {
  padding: 10px 30px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .cf7-table th,
  .cf7-table td {
    display: block;
    width: 100%;
  }

  .cf7-table th {
    border-bottom: none;
    padding-bottom: 0;
  }

  .cf7-table td {
    padding-top: 5px;
    margin-bottom: 10px;
  }
}