/*
 * 本体が持っていた見た目の再現は css/swell-compat.css 側で行う。
 */


/* ========================================
   共通で入れているもの
======================================== */
/* ===========================
   ▼ここだけ変更する
=========================== */


:root {
  /* ボタンの丸み。トップ（.vgf-btn）と同じ角丸4pxに統一（2026-10-01） */
  --vg-top-radius-pill: 4px;
  --button-main-color: #00377f;
	  --button-main-color_hover: #002a61;
}

/* ===========================
  ▲ ここだけ変更する
=========================== */


.center_micro{
    margin-bottom: 4px;
	font-weight: bold;
    text-align: center;
	color: var(--wp--preset--color--sango-main);
}

body #content .post_content .btn {
	margin-top:0px;
}

/* ===========================
   ▼ お問い合わせフォーム
=========================== */

/* すでにHTMLに含まれている * マークの色を変更 */
span.required-mark {
  color: #c7000b;
  margin-left: 5px;
}

/*--------------------------------------
基本
--------------------------------------*/
div#content {
    font-weight: normal;
}

.header, .drawer__title {
    padding-top: 4px;
    padding-bottom: 0;
}

.header {
    box-shadow: none;
}

p.header-image__headline {
    letter-spacing: 1rem;
}

footer.entry-footer {
    display: none;
}

.sns-btn {
    display: none;
}

.prnx_tb {
    box-shadow: none;
}

label.fab-btn.extended-fab.main-c {
    display: none;
}

/* ============================================================
   記事内テーブル：スペック / 仕様 一覧型
============================================================ */
.post_content table,
.post_content .wp-block-table table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 1.6em 0;
    border: 1px solid #d8dee2;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.post_content thead,
.post_content tbody,
.post_content tr,
.post_content th,
.post_content td {
    box-sizing: border-box;
}

.post_content th,
.post_content .wp-block-table th {
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
    background: #f6f5f2;
    color: #00377f;
    font-weight: 700;
    font-size: 1em;
    line-height: 1.65;
    border-right: 1px solid #e3e7ea;
    border-bottom: 1px solid #e3e7ea;
    letter-spacing: 0.02em;
}

.post_content td,
.post_content .wp-block-table td {
    padding: 16px 20px;
    vertical-align: middle;
    background: #ffffff;
    color: #333333;
    font-size: 1em;
    line-height: 1.85;
    border-bottom: 1px solid #e3e7ea;
}

/* td 内の箇条書き（・付き行）も th と同じサイズで表示 */
.post_content td p,
.post_content td span,
.post_content .wp-block-table td p,
.post_content .wp-block-table td span {
    font-size: inherit;
    line-height: inherit;
}

/* 最終行は下線なし */
.post_content tr:last-child th,
.post_content tr:last-child td {
    border-bottom: none;
}

/* 強調マーカー（◎・○など）のサイズ調整 */
.post_content td:has(*:only-child),
.post_content td:first-of-type {
    /* 単独◎は中央寄せ的に表示しても良い */
}

/* td 内の brつなぎ箇条書き（・○○ ／ ・○○）も読みやすく */
.post_content td br + * {
    margin-top: 0.1em;
}

.post_content blockquote {
    box-sizing: border-box;
    position: relative;
    margin: 1.5em 0;
    padding: 13px 15px 13px 50px;
    border: solid 1px #e0e0e0;
    color: #464646;
}

.post_content table {
	max-width: 100%;
}

h1.c-postTitle__ttl.vg-entry-title,
h1.c-pageTitle {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.6;
}

.post_content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    position: relative;
}

.post_content h2 {
    font-size: 20px !important;
    border-left: 4px solid  var(--wp--preset--color--sango-main);
    padding: .5em .7em;
    background: #f2f2f2;
    color: #323232;
    margin-bottom: 15px;
}

.post_content h3 {
  border-bottom: 2px solid var(--wp--preset--color--sango-main);/*下線*/
  color: #323232;
  padding-bottom: .5em;
  margin-bottom: 15px;
  border-top: none;
	border-left:none;
	font-weight: bold;
}

a.sgb-footer__menu-btn.dfont {
    display: none;
}

td {
    vertical-align: middle;
}

td p:last-child {
    margin-bottom: 0;
}

td a.btn.raised.accent-bc.strong {
    margin: 0.5em 0 !important;
    padding: 1.2em 0.5em !important;
    font-size: 0.5em;
}

td a.btn.btn.grad3 {
    margin: 0.5em 0 !important;
    padding: 1.2em 0.5em !important;
    font-size: 1em;
}

/*--------------------------------------
btn
--------------------------------------*/

.header a, .post_content a{
   transition: opacity 0.1s ease;
}


body #content .post_content .btn {
    text-align: center;
    display: block;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 1rem 1.6rem;
    border-bottom: solid 5px rgba(0, 0, 0, 0.27);
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 0;
}

.btn {
	font-size: 16px;
}

body #content .post_content .accent {
    background-color: var(--button-main-color);
    color: #fff;
}

body #content .post_content .accent-bc  {
    background-color: var(--button-main-color);
	
    color: #fff;
}


body #content .post_content .newmark  {
background-color: var(--wp--preset--color--sango-main);
	
    color: #fff;
}


body #content .post_content .btn {
    transition: opacity 0.1s ease;
}

body #content .post_content .btn:hover {
	    background-color: var( --button-main-color_hover);
	
}

#content .post_content .btn {}

body #content .post_content .flat2 {
    background-color: #fff;
	border: 1px solid var(--button-main-color);
	color:var(--button-main-color);
}

body #content .post_content .grad3 {
    color: #000 !important;
    border: 1px solid #000 !important;
    background: #fff !important;
	margin-top:16px;
}


body #content .post_content .grad3:hover {
    background: #000!important;
    color: #fff !important;
}


body #content .post_content .flat2:hover {
    background: var(--button-main-color);
    color: #fff;
    opacity: 1;
} 


.single h1.c-postTitle__ttl.vg-entry-title {
    margin-top: 0;
}

/*--------------------------------------
マイクロコピーの中央揃えと余白調整
--------------------------------------*/
.center_micro {
	margin-bottom:0px!important;
	text-align: center!important;
	color: var(--button-main-color);
}


/*--------------------------------------
PR sango
--------------------------------------*/
  .pr-text {
    margin: 0 0 0 auto;
    display: block;
    background: #bfbfbf;
    padding: 0px 4px 0px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    width: 32px;
    height: 22px;
    text-align: center;
		line-height: 1.83;
}

.code-block-1{
	margin-bottom: 4px; 
		margin-top: 4px; 
	clear: both;
	}

.page .code-block.code-block-1 {
    display: none;
}

@media only screen and (max-width: 768px) {
	.code-block-1{
		margin-right: 4px; 
	}
	.pr-text {
    margin: 10px 10px 0 auto;
	}
}

*{ box-shadow: none!important; } 
*a:hover {
    opacity: 0.8!important;
}
*a img:hover {
    opacity: 0.8!important;
}


img.attachment-thumb-520.size-thumb-520.wp-post-image:hover {
    opacity: 0.8;
}
.related-posts .splide__slide a:hover img {
    transform: translateY(0px);
	 opacity: 0.8;
}
.related-posts li a:hover img {
    transform: translateY(0px);
	 opacity: 0.8;
}

.l-sidebar .my_popular_posts .c-widget__title:before {
   display: none;
}


.sgb-full-bg .sgb-full-bg__content {
    padding-left:0px;
	}

#fix_sidebar {
    top: 48px;
}

.layout-squared .normal-sidebar .c-widget {
    border-radius: 4px;
	}

@media only screen and (min-width: 769px) {
.layout-squared #entry {
    border-radius: 4px;
}
		}

.author-info__inner .tb {
    border-radius: 4px;
}
.prnx_tb {
     border-radius: 4px;
}

a.dfont {
    font-size: 12px;
}


@media screen and (max-width: 768px) {
  p.header-image__headline{
	  font-size: 16px;
		    letter-spacing: 0.8rem;
   }
}

/* レビュー用の星 */
span.rate-star {
    padding: 0 0.5em;
    width: auto !important;
}

span.dashicons {
    font-size: 20px;
    width: auto;
    height: auto;
    line-height: normal;
    text-decoration: inherit;
    vertical-align: middle;
}

.dashicons-star-filled::before {
    content: "\f155";
    font-family: dashicons;
    font-size: 20px;
    color: #fac225;
}

.dashicons-star-half::before {
    content: "\f459";
    font-family: dashicons;
    font-size: 20px;
    color: #fac225;
}

.dashicons-star-empty::before {
    content: "\f154";
    font-family: dashicons;
    font-size: 20px;
    color: #fac225;
}


/*--------------------------------------
FVランキング
--------------------------------------*/
/* ベーススタイル */
    .fv-rank_container * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

.fv-rank_container p {
    margin: 0;
}

    /* コンテナ */
    .fv-rank_container {
      max-width: 1000px;
      margin: 0 auto;
      font-family: sans-serif;
      line-height: 1.5;
    }

    /* ヘッダー - 高さと文字サイズを小さく調整 */
    .fv-rank_header {
      background-color: #1a1a1a;
      color: white;
      padding: 0.75rem; /* パディングを小さく */
      text-align: center;
      border-top-left-radius: 0.5rem;
      border-top-right-radius: 0.5rem;
      margin-bottom: 0;
      border: 1px solid #d1d5db;
    }

    .fv-rank_main-title {
      font-size: 1.125rem; /* 文字サイズを小さく */
      font-weight: bold;
      display: block;
    }

    /* サービスコンテナ */
    .fv-rank_services-container {
      border-radius: 0 0 0.5rem 0.5rem;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      border: 1px solid #d1d5db;
      border-top: none;
    }

    /* サービス項目 */
    .fv-rank_service-item {
      display: flex;
      flex-direction: column;
      padding: 1.25rem;
      border-bottom: 1px solid #d1d5db;
      background-color: white;
      transition: all 0.1s;
      transform: translateY(0);
    }

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

    /* サービス画像 */
    .fv-rank_service-image-container {
      width: 100%;
      margin-bottom: 1rem;
    }

    .fv-rank_service-image {
      width: 100%;
      height: auto;
      border-radius: 0.5rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.1s;
    }

    /* サービスコンテンツ */
    .fv-rank_service-content {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    /* サービスヘッダー */
    .fv-rank_service-header {
      display: flex;
      align-items: center;
      margin-bottom: 0.75rem;
    }

    /* サービス番号 */
    .fv-rank_service-number {
      width: 2.5rem;
      height: 2.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #000;
      color: white;
      border-radius: 9999px;
      font-weight: bold;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      margin-right: 1rem;
      animation: fv-rank-buttonPulse 2s infinite;
    }

    /* サービスタイトル */
    .fv-rank_service-title-container {
      flex: 1;
    }

    .fv-rank_service-title {
      font-size: 1.125rem;
      font-weight: bold;
      color: #111827;
      display: block;
    }

    /* サービス説明 */
    .fv-rank_service-description {
      color: #4b5563;
    }

    /* サービスアクション */
    .fv-rank_service-actions {
      display: flex;
      flex-direction: column;
      gap: 0rem;
      margin-top: 1rem;
    }

    /* ボタン */
    .fv-rank_btn {
      display: inline-block;
      padding: 0.75rem 1.25rem;
      border-radius: 0.375rem;
      text-align: center;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.1s;
      transform: translateY(0);
    }

    .fv-rank_btn:hover {

			text-decoration: none;
    }

    .fv-rank_btn-primary {
      color: white;

			    background: var(--button-main-color);

border: 1px solid var(--button-main-color);
			
    }


.fv-rank_btn-primary:hover {
opacity: 0.7;

 }


    .fv-rank_btn-secondary {

			
			color:var(--button-main-color);
			
			
    background-color: white;

			border: 1px solid var(--button-main-color);
    }
    
    .fv-rank_btn-secondary:hover {
      color: #fff;

			background:var(--button-main-color);
    border: 1px solid var(--wp--preset--color--sango-main);
    }

.fv-rank_service-image-container {
				display: flex;
        justify-content: center;
        align-items: center;
      }

    /* アニメーション */
/*     @keyframes fv-rank-buttonPulse {
      0% {
        box-shadow: 0 4px 8px rgba(204, 0, 0, 0.3);
      }
      50% {
        box-shadow: 0 6px 12px rgba(204, 0, 0, 0.5);
      }
      100% {
        box-shadow: 0 4px 8px rgba(204, 0, 0, 0.3);
      }
    } */

    /* モバイル表示 (768px未満) */
    @media (max-width: 767px) {
      .fv-rank_service-item {
        flex-direction: column;
      }
      
      .fv-rank_service-image-container {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
      }
      
      .fv-rank_service-content {
        margin-right: 0;
      }
      
      .fv-rank_service-actions {
        width: 100%;
        margin-top: 1rem;
      }
    }

    /* タブレット・小さいデスクトップ表示 (768px〜1240px) */
    @media (min-width: 768px) and (max-width: 1240px) {
      .fv-rank_main-title {
        font-size: 1.25rem; /* 文字サイズを調整 */
      }
      
      .fv-rank_service-item {
        flex-direction: row;
        flex-wrap: wrap;
      }
      
      .fv-rank_service-image-container {
        width: 22%;  /* 画像サイズを相対的に調整 */
        min-width: 120px;
        margin-bottom: 0;
        margin-right: 3%;
        flex-shrink: 0;
      }
      
      .fv-rank_service-content {
        flex: 1;
        min-width: 200px;
        margin-right: 3%;
      }
      
      .fv-rank_service-actions {
        width: 15%;  /* ボタンエリアのサイズを相対的に調整 */
        min-width: 120px;
        margin-top: 0;
        flex-shrink: 0;
      }
      
      .fv-rank_btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
      }
      
      /* 画面幅が狭い場合、ボタンエリアを下に配置 */
      @media (max-width: 900px) {
        .fv-rank_service-content {
          margin-right: 0;
          margin-bottom: 1rem;
        }
        
        .fv-rank_service-actions {
          width: 100%;
          display: flex;
          flex-direction: row;
          gap: 1rem;
        }
        
        .fv-rank_btn {
          flex: 1;
        }
      }
    }

    /* 大きいデスクトップ表示 (1240px以上) */
    @media (min-width: 1241px) {
      .fv-rank_main-title {
        font-size: 1.375rem; /* 文字サイズを調整 */
      }

      .fv-rank_service-item {
        flex-direction: row;
      }

      .fv-rank_service-image-container {
        width: 180px;
        margin-bottom: 0;
        margin-right: 1.25rem;
        flex-shrink: 0;
				display: flex;
        justify-content: center;
        align-items: center;
      }

      .fv-rank_service-content {
        margin-right: 1.25rem;
      }

      .fv-rank_service-actions {
        width: 160px;
        margin-top: 0;
        flex-shrink: 0;
      }
    }


.footer .wp-block-search .wp-block-search__input, .l-sidebar .wp-block-search .wp-block-search__input, .drawer .wp-block-search .wp-block-search__input {
    border: solid 1px #efefef;
}

.post_content p {max-width:100%}


.top-btn-cta a {
    display: flex
;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 60px;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    transition: 0.1s;
    border-radius: 7px;
    margin-right: auto;
    margin-left: auto;
    background-color: var(--button-main-color);
    color: #fff;
    transition: all 0.1s 
ease-in-out;
	font-weight:700;
}

.top-btn-cta a:hover {
    opacity: 0.7;
    transition: all 0.1s 
ease-in-out;
}

.top-btn-cta a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: rotate(45deg) translateY(-50%);
    width: 6px;
    height: 6px;
    border-width: 2px 2px 0 0;
    border-style: solid;
    border-color: #fff;
}

#breadcrumb li:first-child a:before {
    content: "\f015";
}

/* タブレット以下：パンくずリストの背景を白に */
@media (max-width: 768px) {
  .breadcrumb {
    background: #fff;
  }
}
.wp-block-heading {
    color: #ffffff;
    background-color: var(--wp--preset--color--sango-main);
    margin-bottom: 0;
    padding: var(--wp--custom--widget--padding-vertical) var(--wp--custom--widget--padding-horizontal);
    font-size: 1.2em;
    margin-top: 0;
	font-weight:bold;
}

.post_content p {max-width:100%}


