@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/

/* ==================================================
   共通
================================================== */

.content {
  margin-top: 0;
}

.article h1 {
  margin-top: 0;
  padding-top: 0;
}
/* MVのサイトタイトル */
.site-name-text {
display: none !important;
}

/* PC時メインビジュアルの表示位置を調整したい場合は以下を変更する */
.skin-grayish.front-top-page .container .header-container .header {
	background-position: top center;
}	

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){

/* トップページ：モバイル時に表示したい画像のURLを設定する */
 .skin-grayish.front-top-page .container .header-container .header {
 	background-image: url(http://tsuda-co.jp/wp-content/uploads/2026/09/tsuda-main-visual-sp.webp);
	background-position: center center;
 }	

}

/* ==================================================
   トップページ
================================================== */

.home.page .entry-content h2,
.home.page .entry-content h3,
.home.page .entry-content h4,
.home.page .entry-content h5,
.home.page .entry-content h6 {
  margin: 0;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
}

.home.page .entry-content h2::before,
.home.page .entry-content h2::after,
.home.page .entry-content h3::before,
.home.page .entry-content h3::after,
.home.page .entry-content h4::before,
.home.page .entry-content h4::after {
  content: none;
  display: none;
}

.home.page .entry-content p {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.home.page .post-date,
.home.page .post-update {
  display: none !important;
}

/* ==================================================
   検索結果ページ：Grayish装飾をリセット
================================================== */

.page-id-3310 .entry-content h2,
.page-id-3310 .entry-content h3,
.page-id-3310 .entry-content h4,
.page-id-3310 .entry-content h5,
.page-id-3310 .entry-content h6 {
  margin: 0;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
}

.page-id-3310 .entry-content h2::before,
.page-id-3310 .entry-content h2::after,
.page-id-3310 .entry-content h3::before,
.page-id-3310 .entry-content h3::after,
.page-id-3310 .entry-content h4::before,
.page-id-3310 .entry-content h4::after {
  content: none;
  display: none;
}

.page-id-3310 .entry-content p {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.page-id-3310 .post-date,
.page-id-3310 .post-update {
  display: none !important;
}
.page-id-3310 .top-search-section {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

/* ==================================================
   検索結果：一覧
================================================== */

.post-name-search-results .wp-block-post-template {
  display: grid;
  gap: 28px;
}

.post-name-search-results .wp-block-post-template>li {
  margin: 0;
  padding: 0;
}

/* ==================================================
   検索結果：件数表示
================================================== */

.search-result-count {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 8px auto 24px !important;
  padding: 0 !important;
  text-align: center !important;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  box-sizing: border-box;
}

.search-result-count > * {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
/* ==================================================
   検索結果：画像
================================================== */

.search-result-navi {
  margin: 0 auto !important;
  text-align: center;
}

.search-result-navi img {
  display: block;
  width: 220px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* ---------- PC ---------- */
@media screen and (min-width: 768px) {

  .search-result-navi {
    width: 220px;
    margin: 8px auto 4px !important;
  }

}

/* ---------- スマホ ---------- */
@media screen and (max-width: 767px) {

  .search-result-navi {
    width: 150px;
    margin: 8px auto 20px !important;
  }

  .search-result-navi img {
    width: 150px !important;
  }

}
/* ==================================================
   検索結果：結果案内エリア
================================================== */

/* PC */
@media screen and (min-width: 768px) {

  .search-result-hero {
    width: 100%;
    max-width: 820px;
    margin: 0px auto 20px !important;
    align-items: center !important;
    gap: 50px;
  }

  /* 左：件数・説明 */
  .search-result-hero > .wp-block-column:first-child {
    flex: 1 1 auto;
    text-align: center;
  }

  /* 右：ナビにゃん */
  .search-result-hero > .wp-block-column:last-child {
    flex: 0 0 220px;
  }

  .search-result-hero .search-result-count {
    margin: 0 0 18px !important;
  }

  .search-result-hero .search-result-navi {
    width: 200px;
    margin: 0 auto !important;
  }

  .search-result-hero .search-result-navi img {
    width: 200px !important;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {

  .search-result-hero {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px !important;
  }

  .search-result-hero > .wp-block-column {
    width: 100%;
  }

  .search-result-hero .search-result-navi {
    width: 150px;
    margin: 0 auto !important;
  }

  .search-result-hero .search-result-navi img {
    width: 150px !important;
  }
}

/* ==================================================
   検索結果：再検索フォーム
================================================== */

.search-result-reform {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 22px 30px 24px !important;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  box-sizing: border-box;
}

/* ---------- PC ---------- */
@media screen and (min-width: 768px) {

  .search-result-reform .vk-filter-search {
    margin-bottom: 0 !important;
  }

  /* 4つの検索条件 */
  .search-result-reform .vkfs__labels {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
  }

  /* VK Filter Search側のカラム幅を解除 */
  .search-result-reform .vkfs__outer-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .search-result-reform .vkfs__label-name {
    margin-bottom: 7px !important;
  }

  .search-result-reform .vkfs__input-form {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* 検索ボタン */
  .search-result-reform .vkfs_submit {
    display: block !important;
    width: 220px !important;
    margin: 24px auto 0 !important;
  }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 767px) {

  .search-result-reform {
    padding: 22px 18px !important;
  }

  .search-result-reform .vkfs__labels {
    display: block !important;
  }

  .search-result-reform .vkfs__outer-wrap {
    width: 100% !important;
  }

  .search-result-reform .vkfs_submit {
    width: 100% !important;
    margin-top: 20px !important;
  }
}

/* ==================================================
   検索結果：業者カード
================================================== */

.company-search-card {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(55, 65, 81, 0.08);
  box-sizing: border-box;
}

.company-search-card>* {
  max-width: none !important;
}


/* ==================================================
   検索結果：業者名
================================================== */

.company-search-card-title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #222;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.company-search-card-title,
.company-search-card-title * {
  color: #222 !important;
}

.company-search-card-title a {
  color: #222 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.company-search-card-title a:hover {
  color: #f59e0b !important;
  text-decoration: none !important;
}


/* ==================================================
   星評価
================================================== */

.company-result-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  line-height: 1;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  color: #f59e0b;
  white-space: nowrap;
}

.rating-stars i,
.rating-stars .svg-inline--fa {
  color: #f59e0b !important;
  font-size: 20px;
  line-height: 1;
}

.rating-stars .fa-regular {
  color: #d1d5db !important;
}

.company-result-rating-value {
  color: #374151;
  font-size: 17px;
  font-weight: 700;
}

.company-result-rating-none {
  color: #9ca3af;
  font-size: 14px;
}


/* ==================================================
   検索結果：画像＋情報
================================================== */

.company-card-columns {
  display: flex !important;
  align-items: flex-start !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.company-card-columns>.wp-block-column {
  min-width: 0;
}

.company-card-image {
  flex: 0 0 32% !important;
  width: 32% !important;
  max-width: 32% !important;
  margin: 0 !important;
}

.company-card-image figure,
.company-card-image .wp-block-post-featured-image {
  width: 100%;
  margin: 0 !important;
}

.company-card-image a {
  display: block;
  width: 100%;
}

.company-card-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.company-card-content {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column;
  flex-grow: 1 !important;
  flex-basis: 0 !important;
  width: 0 !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}


/* ==================================================
   検索結果：基本サービス
================================================== */

.company-search-card-services {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.company-result-service-box {
  width: 100%;
  margin: 0;
}

.company-result-service-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.company-result-service-label i,
.company-result-service-label .svg-inline--fa {
  width: 18px;
  color: #f59e0b !important;
  text-align: center;
  flex-shrink: 0;
}

.company-result-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}

.company-result-service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 7px 6px;
  color: #9ca3af;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.company-result-service-item.is-active {
  color: #fff;
  background: #f59e0b;
  border-color: #f59e0b;
}

.company-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.company-service-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #8a5b00;
  background: #fff6e7;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}


/* ==================================================
   検索結果：対応エリア
================================================== */

.company-search-card-area {
  width: 100%;
  margin: 18px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid #e5e7eb;
  color: #374151;
  font-size: 14px;
  line-height: 1.8;
}

.company-search-card-area a {
  display: inline-block;
  margin: 0 5px 6px 0;
  padding: 5px 10px;
  color: #7c4a00 !important;
  background: #fff8e8;
  border: 1px solid #f59e0b;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
}

.company-search-card-area .wp-block-post-terms__separator {
  display: none;
}

.company-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-area-item {
  padding: 6px 12px;
  color: #7c4a00;
  background: #fff8e8;
  border: 1px solid #f59e0b;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.company-area-more {
  display: flex;
  align-items: center;
  padding-left: 6px;
  color: #666;
  font-size: 13px;
  font-weight: 700;
}


/* ==================================================
   検索結果：詳細を見る
================================================== */

.company-search-card-button {
  display: flex;
  justify-content: flex-end;
  width: 100% !important;
  margin: 18px 0 0 !important;
}

.company-search-card-button .wp-block-button {
  width: auto;
  margin: 0;
}

.company-search-card-button a,
.company-search-card-button .wp-block-button__link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 180px;
  min-height: 48px;
  margin: 0 !important;
  padding: 11px 24px !important;
  color: #fff !important;
  background: #f59e0b !important;
  border: none !important;
  border-radius: 9px !important;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: none !important;
}

.company-search-card-button a:hover,
.company-search-card-button .wp-block-button__link:hover {
  color: #fff !important;
  background: #d97706 !important;
  opacity: 1;
}

.wp-block-read-more.company-search-card-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 180px;
  min-height: 48px;
  margin: 18px 0 0 auto !important;
  padding: 11px 24px !important;
  color: #fff !important;
  background: #f59e0b !important;
  border: none !important;
  border-radius: 9px !important;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: none !important;
}

.wp-block-read-more.company-search-card-button:hover {
  color: #fff !important;
  background: #d97706 !important;
  opacity: 1;
}


/* ==================================================
   検索結果：右側ランキング
================================================== */

.search-ranking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search-ranking-sidebar .wp-block-shortcode,
.search-ranking-sidebar .wp-block-shortcode>div {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.search-ranking-sidebar .top-company-card {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 14px;
  border-radius: 12px;
}

.search-ranking-sidebar .top-company-image-link {
  margin-bottom: 12px;
}

.search-ranking-sidebar .top-company-card-image {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.search-ranking-sidebar .top-company-rank {
  top: 8px;
  left: 8px;
  padding: 6px 10px;
  font-size: 12px;
}

.search-ranking-sidebar .top-company-name {
  margin-bottom: 8px !important;
  font-size: 16px;
  line-height: 1.45;
}

.search-ranking-sidebar .top-company-rating {
  gap: 5px;
  margin-bottom: 12px;
}

.search-ranking-sidebar .top-company-rating .rating-stars i,
.search-ranking-sidebar .top-company-rating .rating-stars .svg-inline--fa {
  font-size: 14px;
}

.search-ranking-sidebar .top-company-rating-value {
  font-size: 13px;
}

.search-ranking-sidebar .top-company-section {
  margin-top: 12px;
}

.search-ranking-sidebar .top-company-area-section {
  padding-top: 12px;
}

.search-ranking-sidebar .top-company-label {
  margin-bottom: 7px;
  font-size: 12px;
}

.search-ranking-sidebar .top-company-tag,
.search-ranking-sidebar .top-company-area {
  padding: 5px 7px;
  font-size: 10px;
}

.search-ranking-sidebar .top-company-area-more {
  font-size: 10px;
}

.search-ranking-sidebar .top-company-button {
  margin-top: 14px;
  padding-top: 0;
}

.search-ranking-sidebar .top-company-button a {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 12px;
}
/* ==================================================
   検索結果ページ：スマホ
================================================== */

@media screen and (max-width: 767px) {

  /* 検索結果ページ全体 */
  .page-id-3310 .entry-content {
    width: 100%;
    max-width: none;
  }

  /* 検索結果カード */
  .company-search-card {
    padding: 16px;
    border-radius: 12px;
  }

  /* 画像＋情報を縦並び */
  .company-card-columns {
    display: block !important;
    width: 100% !important;
  }

  .company-card-image {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 16px !important;
  }

  .company-card-image img {
    width: 100% !important;
    height: 190px !important;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  .company-card-content {
    width: 100% !important;
    max-width: none !important;
  }

  /* 業者名 */
  .company-search-card-title,
  .company-search-card-title a {
    font-size: 19px !important;
    line-height: 1.5 !important;
  }

  .company-search-card-title {
    margin-bottom: 8px !important;
  }

  /* 評価 */
  .company-result-rating {
    margin-bottom: 14px;
  }

  .rating-stars i,
  .rating-stars .svg-inline--fa {
    font-size: 17px;
  }

  .company-result-rating-value {
    font-size: 14px;
  }

  /* サービス */
  .company-result-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .company-result-service-item {
    min-height: 42px;
    padding: 7px 5px;
    font-size: 11px;
  }

  /* 対応エリア */
  .company-search-card-area {
    margin-top: 16px !important;
    padding-top: 14px !important;
  }

  .company-area-list {
    gap: 6px;
  }

  .company-area-item {
    padding: 5px 9px;
    font-size: 12px;
  }

  .company-area-more {
    font-size: 12px;
  }

  /* 詳細ボタン */
  .company-search-card-button,
  .wp-block-read-more.company-search-card-button {
    width: 100% !important;
  }

  .company-search-card-button .wp-block-button,
  .company-search-card-button a,
  .company-search-card-button .wp-block-button__link,
  .wp-block-read-more.company-search-card-button {
    width: 100% !important;
    min-width: 0 !important;
  }

  .company-search-card-button a,
  .company-search-card-button .wp-block-button__link,
  .wp-block-read-more.company-search-card-button {
    min-height: 48px;
    margin-top: 16px !important;
  }

  /* 検索結果一覧とランキングの間隔 */
  .search-ranking-sidebar {
    margin-top: 24px;
  }
}
@media screen and (max-width: 767px) {

  .page-id-3310 .wp-block-post-template {
    padding-right: 26px !important;
    box-sizing: border-box;
  }

}
/* ==================================================
   検索結果：スマホランキングアコーディオン
================================================== */

@media screen and (max-width: 767px) {

  .search-ranking-sidebar {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .search-ranking-accordion {
    width: 100%;
    margin-top: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f59e0b;
    border-radius: 10px;
  }

  .search-ranking-accordion>summary {
    position: relative;
    padding: 16px 48px 16px 18px;
    color: #222;
    background: #fff8e8;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
  }

  .search-ranking-accordion>summary::-webkit-details-marker {
    display: none;
  }

  .search-ranking-accordion>summary::after {
    content: "＋";
    position: absolute;
    top: 50%;
    right: 18px;
    color: #f59e0b;
    font-size: 24px;
    font-weight: 700;
    transform: translateY(-50%);
  }

  .search-ranking-accordion[open]>summary::after {
    content: "−";
  }

  .search-ranking-accordion>*:not(summary) {
    margin-right: 14px;
    margin-left: 14px;
  }

  .search-ranking-accordion>*:last-child {
    margin-bottom: 14px;
  }
}


/* ==================================================
   Cocoonランキング：サービス・対応エリア
================================================== */

.ranking-company-description {
  margin-bottom: 20px;
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
}

.ranking-company-info {
  margin-top: 18px;
}

.ranking-company-area {
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.ranking-company-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.ranking-company-label i,
.ranking-company-label .svg-inline--fa {
  width: 18px;
  color: #f59e0b !important;
  text-align: center;
  flex-shrink: 0;
}

.ranking-company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ranking-company-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  color: #8a5b00;
  background: #fff6e7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.ranking-company-area .ranking-company-tags span {
  color: #7c4a00;
  background: #fff8e8;
  border: 1px solid #f59e0b;
  border-radius: 7px;
}


/* ==================================================
   トップページ：おすすめ業者3社
================================================== */

.top-company-columns {
  align-items: stretch !important;
  gap: 22px !important;
}

.top-company-columns>.wp-block-column {
  display: flex;
  min-width: 0;
}

.top-company-columns .wp-block-shortcode,
.top-company-columns .wp-block-shortcode>div,
.top-company-columns>.wp-block-column>* {
  display: flex;
  width: 100%;
  height: 100%;
}

.top-company-columns .wp-block-shortcode {
  margin: 0;
}

.top-company-columns .top-company-card {
  flex: 1;
  height: 100%;
}

.home .wp-block-columns:has(.top-company-card) {
  align-items: stretch !important;
}

.home .wp-block-columns:has(.top-company-card) > .wp-block-column {
  display: flex;
}

.home .wp-block-columns:has(.top-company-card) .wp-block-shortcode,
.home .wp-block-columns:has(.top-company-card) .wp-block-shortcode > div {
  display: flex;
  width: 100%;
  height: 100%;
}

.home .wp-block-columns:has(.top-company-card) .top-company-card {
  width: 100%;
  height: 100%;
}

.top-company-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(55, 65, 81, 0.08);
  box-sizing: border-box;
}

.top-company-rank {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 7px 13px;
  color: #fff;
  background: #f59e0b;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.top-company-image-link {
  display: block;
  width: 100%;
  margin-bottom: 16px;
}

.top-company-card-image {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}

.top-company-name {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #222;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 20px;
  line-height: 1.4;
}

.top-company-name a {
  color: #222 !important;
  text-decoration: none !important;
}

.top-company-name a:hover {
  color: #f59e0b !important;
}

.top-company-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.top-company-rating .rating-stars {
  display: inline-flex;
  gap: 2px;
}

.top-company-rating .rating-stars i,
.top-company-rating .rating-stars .svg-inline--fa {
  font-size: 17px;
}

.top-company-rating-value {
  color: #374151;
  font-size: 15px;
  font-weight: 700;
}

.top-company-section {
  margin-top: 16px;
}

.top-company-area-section {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.top-company-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.top-company-label i,
.top-company-label .svg-inline--fa {
  width: 17px;
  color: #f59e0b !important;
  text-align: center;
  flex-shrink: 0;
}

.top-company-tags,
.top-company-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.top-company-tag {
  padding: 7px 11px;
  color: #8a5b00;
  background: #fff6e7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.top-company-area {
  padding: 6px 10px;
  color: #7c4a00;
  background: #fff8e8;
  border: 1px solid #f59e0b;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.top-company-area-more {
  display: inline-flex;
  align-items: center;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.top-company-button {
  margin-top: auto;
  padding-top: 22px;
}

.top-company-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  color: #fff !important;
  background: #f59e0b;
  border-radius: 9px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.top-company-button a:hover {
  background: #d97706;
}
.home .wp-block-columns:has(.top-company-card) > .wp-block-column {
  display: flex;
  align-self: stretch !important;
}

.home .wp-block-columns:has(.top-company-card) .wp-block-shortcode,
.home .wp-block-columns:has(.top-company-card) .wp-block-shortcode > div {
  display: flex;
  width: 100%;
  height: 100%;
}

.home .wp-block-columns:has(.top-company-card) .top-company-card {
  flex: 1;
  width: 100%;
  height: 100%;
}
/* ここまで */


/* ==================================================
   トップページ：地域から探す
================================================== */

.home .top-area-search {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home .top-area-group {
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.home .entry-content .top-area-group-title {
  margin: 0 0 16px !important;
  padding: 0 0 0 12px !important;
  color: #333;
  background: none !important;
  border: none !important;
  border-left: 5px solid #f39800 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.home .entry-content .top-area-group-title::before,
.home .entry-content .top-area-group-title::after {
  content: none !important;
  display: none !important;
}

.home .top-area-prefectures {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home .top-area-prefectures a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 16px;
  color: #333 !important;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  transition: .2s;
}

.home .top-area-prefectures a:hover {
  color: #fff !important;
  background: #f39800;
  border-color: #f39800;
}

@media screen and (max-width: 767px) {

  .home .top-area-search {
    gap: 16px;
  }

  .home .top-area-group {
    padding: 16px;
    border-radius: 10px;
  }

  .home .entry-content .top-area-group-title {
    margin-bottom: 14px !important;
    padding-left: 10px !important;
    font-size: 18px;
  }

  .home .top-area-prefectures {
    gap: 8px;
  }

  .home .top-area-prefectures a {
    min-width: 0;
    padding: 8px 13px;
    font-size: 13px;
  }
}
/* ここまで　トップページ：地域から探す */
/* ==================================================
   業者詳細ページ
================================================== */

.single-company .content {
  width: 100%;
  max-width: 1432px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  box-sizing: border-box;
}

.company-detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.company-detail-layout .company-detail-main {
  flex: 1 1 0;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0;
}

.single-company .company-detail-page {
  margin: 0;
}

.single-company .company-detail-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #f59e0b;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}


/* ==================================================
   業者詳細：タイトル・評価
================================================== */

.single-company .company-title-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.single-company .company-title {
  margin: 0 !important;
  padding: 0 !important;
  color: #222;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 30px;
  line-height: 1.4;
}

.single-company .company-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.single-company .company-rating-number {
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.single-company .rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

.single-company .rating-stars i,
.single-company .rating-stars .svg-inline--fa {
  color: #f59e0b !important;
}


/* ==================================================
   業者詳細：画像＋会社情報
================================================== */

.company-profile-image .company-main-image {
  margin: 0;
}

.company-profile-image .worker-thumbnail {
  width: 100%;
}

.company-profile-image .worker-thumbnail img {
  display: block;
  width: 440px;
  max-width: 100%;
  height: 300px !important;
  margin: 0 auto;
  object-fit: contain;
}

.single-company .company-image-caption {
  margin-top: 8px;
  color: #666;
  font-size: 12px;
}


/* ==================================================
   業者詳細：会社情報
================================================== */

.company-profile-info .company-info-wrap {
  margin: 0;
  overflow-x: auto;
}

.single-company .company-info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.single-company .company-info-table th,
.single-company .company-info-table td {
  padding: 14px 16px;
  border: 1px solid #f2c879;
  vertical-align: top;
  text-align: left;
}

.single-company .company-info-table th {
  width: 160px;
  color: #222;
  background: #fff4cc;
  font-weight: 700;
  white-space: nowrap;
}


/* ==================================================
   業者詳細：見出し・サービス
================================================== */

.single-company .company-section-title {
  margin: 28px 0 14px !important;
  padding: 10px 14px !important;
  color: #222;
  background: #fff4cc !important;
  border: 0 !important;
  border-left: 5px solid #f59e0b !important;
  box-shadow: none !important;
  font-size: 22px;
  line-height: 1.4;
}

.single-company .company-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.single-company .company-service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.single-company .company-service-item.is-active {
  color: #fff;
  background: #f59e0b;
}

.single-company .company-service-item.is-inactive {
  color: #a3a3a3;
  background: #f1f1f1;
}


/* ==================================================
   業者詳細：口コミ
================================================== */

.single-company .company-review-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.single-company .company-review-card {
  padding: 18px;
  background: #fffaf0;
  border: 1px solid #f2c879;
  border-radius: 12px;
}

.single-company .company-review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.single-company .company-review-card__source {
  padding: 4px 10px;
  color: #9a6400;
  background: #fff0c7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.single-company .company-review-card__rating {
  display: flex;
  align-items: center;
  gap: 7px;
}

.single-company .company-review-score {
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.single-company .company-review-card__body {
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

.single-company .company-review-card__note {
  margin: 14px 0 0;
  color: #999;
  font-size: 11px;
  text-align: right;
}


/* ==================================================
   業者詳細：ボタン
================================================== */

.single-company .company-action-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.single-company .company-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.single-company .company-action-button--official {
  color: #f59e0b !important;
  background: #fff !important;
  border: 2px solid #f59e0b;
}

.single-company .company-action-button--contact {
  color: #fff !important;
  background: #f59e0b !important;
  border: 2px solid #f59e0b;
}

.single-company .company-action-button:hover {
  opacity: .85;
}


/* ==================================================
   業者詳細：右側人気ランキング
================================================== */

.company-detail-sidebar {
  flex: 0 0 300px;
  width: 300px;
}

.company-detail-ranking-title {
  margin: 0 0 16px !important;
  padding: 14px 16px !important;
  color: #222;
  background: #fff8e8;
  border-radius: 10px;
  font-size: 18px !important;
  font-weight: 700;
  text-align: center;
}

.company-detail-ranking-title i,
.company-detail-ranking-title .svg-inline--fa {
  margin-right: 7px;
  color: #ff6900 !important;
}

.company-detail-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-detail-sidebar .top-company-card {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px !important;
  box-sizing: border-box;
}

.company-detail-sidebar .top-company-card-image {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.company-detail-sidebar .top-company-name {
  margin: 10px 0 6px !important;
  font-size: 15px !important;
  line-height: 1.4;
}

.company-detail-sidebar .top-company-rating {
  margin-bottom: 10px;
}

.company-detail-sidebar .top-company-section {
  display: none !important;
}

.company-detail-sidebar .top-company-button {
  margin-top: 10px !important;
  padding-top: 0 !important;
}

.company-detail-sidebar .top-company-button a {
  min-height: 38px;
  padding: 8px 12px !important;
  font-size: 12px;
}

/* 業者検索の検索ボタン */
.vkfs_submit-text {
  font-weight: bold;
}

/* ==================================================
   スマートフォン
================================================== */

@media screen and (max-width: 767px) {

  .single-company .content {
    padding: 12px 8px 32px;
  }

  .company-detail-layout {
    display: block;
    width: 100%;
    max-width: none;
  }

  .company-detail-layout .company-detail-main {
    width: 100% !important;
  }

  .single-company .company-detail-card {
    padding: 14px;
    border-radius: 8px;
  }

  .single-company .company-title-rating {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .single-company .company-title {
    font-size: 22px;
  }

  .company-profile-image .worker-thumbnail img {
    width: 100%;
    height: auto !important;
  }

  .single-company .company-info-table th {
    width: 34%;
    padding: 10px;
    font-size: 13px;
    white-space: normal;
  }

  .single-company .company-info-table td {
    padding: 10px;
    font-size: 13px;
  }

  .single-company .company-section-title {
    margin-top: 22px !important;
    padding: 8px 10px !important;
    font-size: 18px;
  }

  .single-company .company-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .single-company .company-service-item {
    min-height: 44px;
    padding: 7px 5px;
    font-size: 11px;
  }

  .single-company .company-review-card {
    padding: 14px;
  }

  .single-company .company-review-card__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .single-company .company-review-card__body {
    font-size: 13px;
  }

  .single-company .company-action-buttons {
    grid-template-columns: 1fr;
  }

  .company-detail-sidebar {
    width: 100%;
    margin-top: 28px;
  }
}

/* ここからCF7 */
/* ==================================================
   Contact Form 7
================================================== */

.wpcf7 {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
}

.wpcf7 form>p,
.wpcf7 form>label {
  display: block;
  margin: 0 0 24px;
  font-weight: 700;
  color: #333;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font-size: 16px;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #f59e0b;
}

.wpcf7 .wpcf7-radio,
.wpcf7 .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 10px;
}

.wpcf7 .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-list-item label {
  font-weight: 400;
  cursor: pointer;
}

.wpcf7 .privacy-check {
  display: block;
  margin-top: 8px;
  font-weight: 400;
}

.wpcf7 .privacy-check a {
  color: #f59e0b;
  text-decoration: underline;
}

.wpcf7 .contact-note {
  margin: 20px 0;
  padding: 14px 16px;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 28px auto 0;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  background: #f59e0b;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
  opacity: 0.85;
}

.wpcf7 input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media screen and (max-width: 767px) {
  .wpcf7 {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .wpcf7 .wpcf7-radio,
  .wpcf7 .wpcf7-checkbox {
    display: block;
  }

  .wpcf7 .wpcf7-list-item {
    display: block;
    margin-bottom: 8px;
  }
}

/* ここまでCF7 */
/* メニューバー */
#navi .navi-in a {
  font-weight: bold;
}

.header-container {
  padding-top: 10px;
}

#header-container-in {
  padding-top: 10px;
  padding-bottom: 10px;
}


/* =========================================================
   業者一覧ページ /company/
========================================================= */

.company-archive {
  background: #fff;
}

/* ページ上部 */
.company-archive-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 55px 30px 70px;
}

/* タイトル */
.company-archive-header > h1 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 34px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  color: #333;
}

/* 説明文 */
.company-archive-lead {
  margin: 0 auto 38px;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  color: #555;
}

/* 検索エリア */
.company-archive-search {
  max-width: 850px;
  margin: 0 auto;
  padding: 32px 40px 38px;
  background: #fff8f0;
  border-radius: 16px;
}

/* 検索エリア見出し */
.company-archive-search-heading p {
  margin: 0 0 25px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  color: #333;
}

/* スマホ */
@media screen and (max-width: 767px) {

  .company-archive-header {
    padding: 35px 16px 50px;
  }

  .company-archive-header > h1 {
    font-size: 27px;
  }

  .company-archive-lead {
    margin-bottom: 28px;
    font-size: 14px;
    text-align: left;
  }

  .company-archive-lead br {
    display: none;
  }

  .company-archive-search {
    padding: 25px 18px 30px;
    border-radius: 12px;
  }

  .company-archive-search-heading p {
    margin-bottom: 20px;
    font-size: 19px;
  }
}

/* =========================================================
   業者一覧：掲載業者カード
========================================================= */

.company-archive-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px 80px;
}

/* 「掲載業者一覧」 */
.company-archive-list > h2 {
  margin: 0 0 30px !important;
  padding: 0 0 14px !important;
  border: none !important;
  border-bottom: 3px solid #f39800 !important;
  background: none !important;
  font-size: 27px;
  font-weight: 700;
  color: #333;
}

/* カード一覧 */
.company-archive-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 1業者 */
.company-archive-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  column-gap: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid #eee3d8;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

/* アイキャッチ */
.company-archive-item-image {
  grid-row: 1 / 6;
}

.company-archive-item-image a {
  display: block;
}

body.post-type-archive-company .top-search-section {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.company-archive-item-image img {
  display: block;
  width: 100%;
  height: 190px;
  margin: 0;
  object-fit: cover;
  border-radius: 10px;
}

/* 業者名 */
.company-archive-item h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 22px;
  line-height: 1.5;
}

.company-archive-item h3 a {
  color: #333;
  text-decoration: none;
}

.company-archive-item h3 a:hover {
  color: #e88700;
}

/* 評価 */
.company-archive-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}

.company-archive-rating-number {
  font-size: 15px;
  font-weight: 700;
  color: #555;
}

/* 対応サービス */
.company-archive-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.company-archive-service-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #fff3e2;
  border: 1px solid #f4c98d;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

/* 対応エリア */
.company-archive-areas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.company-archive-area-tag {
  display: inline-block;
  padding: 3px 9px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.company-archive-area-more {
  font-size: 13px;
  font-weight: 700;
  color: #e88700;
}

/* 詳細ボタン */
.company-archive-item-button {
  text-align: right;
}

.company-archive-item-button a {
  display: inline-block;
  min-width: 150px;
  padding: 10px 24px;
  background: #f39800;
  border-radius: 6px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}

.company-archive-item-button a:hover {
  opacity: 0.85;
}


/* =========================================================
   スマホ
========================================================= */

@media screen and (max-width: 767px) {

  .company-archive-list {
    padding: 0 16px 55px;
  }

  .company-archive-list > h2 {
    margin-bottom: 20px !important;
    font-size: 23px;
  }

  .company-archive-items {
    gap: 18px;
  }

  .company-archive-item {
    display: block;
    padding: 16px;
    border-radius: 12px;
  }

  .company-archive-item-image {
    margin-bottom: 16px;
  }

  .company-archive-item-image img {
    height: 190px;
  }

  .company-archive-item h3 {
    margin-bottom: 7px !important;
    font-size: 19px;
  }

  .company-archive-rating {
    margin-bottom: 12px;
  }

  .company-archive-services {
    margin-bottom: 10px;
  }

  .company-archive-areas {
    margin-bottom: 16px;
  }

  .company-archive-item-button {
    text-align: center;
  }

  .company-archive-item-button a {
    display: block;
    width: 100%;
    padding: 12px 15px;
  }
}

/* =========================================================
   /company/ スマホ用検索MV
========================================================= */

/* PCでは非表示 */
.company-sp-search {
  display: none;
}

@media screen and (max-width: 767px) {

  /* PC用MVを非表示 */
  
body.post-type-archive-company .top-search-section {
    display: none !important;
  }

  /* スマホ用を表示 */
  .company-sp-search {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #fff8f0;
    padding: 32px 16px 40px;
  }

  .company-sp-search-inner {
    max-width: 520px;
    margin: 0 auto;
  }

  /* タイトル */
  .company-sp-search-title {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.45;
    font-weight: 700;
    text-align: center;
    color: #333;
  }

  .company-sp-search-title span {
    color: #ff6900;
  }

  /* 説明 */
  .company-sp-search-description {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 700;
    text-align: center;
    color: #444;
  }

  /* 検索カード */
  .company-sp-search-form {
    padding: 22px 16px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  }

  .company-sp-search-form-title {
    margin: 0 0 18px;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
  }

  /* ナビにゃん */
  .company-sp-search-navi {
    margin-top: 18px;
    text-align: center;
  }

  .company-sp-search-navi img {
    width: 150px;
    height: auto;
    margin: 0 auto;
  }
}
/* ==================================================
   業者比較ナビについて
================================================== */

.about-box {
  max-width: 960px;
  margin: 0 auto;
  padding: 38px 48px;
  background: #FCF3EA;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  box-sizing: border-box;
}

.about-box .wp-block-media-text__content {
  padding: 0 36px 0 0;
}

.about-box .wp-block-media-text__media {
  margin: 0;
  text-align: center;
}

.about-box .wp-block-media-text__media img {
  display: block;
  width: 100%;
  max-width: 270px;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {

  .about-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
    padding: 28px 22px 24px;
  }

  .about-box .wp-block-media-text__content {
    order: 1;
    width: 100%;
    padding: 0;
  }

  .about-box .wp-block-media-text__media {
    order: 2;
    width: 100%;
    margin: 0;
  }

  .about-box .wp-block-media-text__media img {
    width: 160px !important;
    max-width: 160px !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}
.home .entry-content p.about-catch {
  position: relative;
  display: table;
  width: auto;
  margin: 0 0 28px !important;
  padding: 0 0 16px !important;
  background: none !important;
  border: none !important;
}

.home .entry-content p.about-catch::after {
  content: "●  ●  ●";
  position: absolute;
  left: 50%;
  bottom: 0;
  color: #f39800;
  font-size: 7px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
  transform: translateX(-50%);
}
/* ==================================================
   業者一覧：検索
================================================== */

.company-search-hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 52px 24px 60px;
  background: #fff8f0;
  box-sizing: border-box;
}

.company-search-hero-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.company-search-hero-heading {
  margin-bottom: 28px;
  text-align: center;
}

.company-search-hero-label {
  margin: 0 0 6px;
  color: #f39800;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
}

.company-search-hero-heading h1 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #222;
  background: none !important;
  border: none !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.company-search-hero-lead {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

.company-search-hero-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: end;
  gap: 32px;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.company-search-hero-form {
  padding: 28px 32px 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  box-sizing: border-box;
}

.company-search-hero-form-title {
  margin: 0 0 22px;
  color: #333;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.company-search-hero-navi {
  position: relative;
  text-align: center;
}

.company-search-hero-navi-message {
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 14px;
  color: #333;
  background: #fff;
  border: 1px solid #f39800;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.company-search-hero-navi img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {

  .company-search-hero {
    padding: 36px 16px 42px;
  }

  .company-search-hero-heading {
    margin-bottom: 24px;
  }

  .company-search-hero-heading h1 {
    font-size: 26px;
  }

  .company-search-hero-lead {
    font-size: 14px;
  }

  .company-search-pc-br {
    display: none;
  }

  .company-search-hero-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 520px;
  }

  .company-search-hero-form {
    width: 100%;
    padding: 24px 18px 28px;
    border-radius: 12px;
  }

  .company-search-hero-form-title {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .company-search-hero-navi {
    width: 100%;
  }

  .company-search-hero-navi-message {
    margin-bottom: 6px;
  }

  .company-search-hero-navi img {
    width: 145px;
  }
}
/* ==================================================
   TOPページ：Grayishの本文幅・左右余白を解除
================================================== */
/* 
@media screen and (min-width: 835px) {

  body.home .content-in {
    width: 100% !important;
    max-width: none !important;
  }

  body.home main.main {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

} */
 

  body.home .content-in {
    width: 100% !important;
    max-width: none !important;
  }

  body.home main.main {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
.post-type-archive-company #main {
  padding: 0 !important;
}

#post-212 {
  margin-bottom: 0 !important;
}
.home .wp-block-cover.alignfull.is-light {
  margin-bottom: 0 !important;
}
/* ==================================================
   業者詳細：対応エリア
================================================== */

.company-detail-area-preview,
.company-detail-area-region-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.company-detail-area-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: #7c4a00;
  background: #fff8e8;
  border: 1px solid #f39800;
  border-radius: 7px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.company-detail-area-more {
  display: inline-flex;
  align-items: center;
  padding-left: 4px;
  color: #666;
  font-size: 13px;
  font-weight: 700;
}

/* すべて見る */
.company-detail-area-details {
  margin-top: 12px;
}

.company-detail-area-details > summary {
  display: inline-block;
  color: #e88700;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.company-detail-area-all {
  margin-top: 18px;
}

.company-detail-area-region + .company-detail-area-region {
  margin-top: 16px;
}

.company-detail-area-region-name {
  margin: 0 0 8px !important;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.post-id-212 article.article {
  margin-bottom: 0 !important;
}