/*
Theme Name: Kawanishi Theme
Theme URL: http://www.robo.co.jp
Description: This is  Fujiwara-Sangyo Theme.
Author: Terasrin
Version: 1.0
*/

body{ padding: 0px!important;}

.wp-block-image{margin: 0px!important}

/* editor */

/* editor */

/* 文字色 */
.has-base-color {
	color: #000000;
}
.has-contrast-color {
	color: #FD66A1;
}
.has-primary-color {
	color: #DC9797;
}
.has-secondary-color {
	color: #FF9900;
}
.has-tertiary-color {
	color: #2689f2;
}
.has-gray-color {
	color: #CCCCCC;
}
.has-darkgray-color {
	color: #817D79;
}
.has-truered-color {
	color: #CC0000;
}
.has-trueblue-color {
	color: #0000FF;
}
.has-justrightgray-color {
	color: #666666;
}
.has-palegray-color {
	color: #ededed;
}
.has-paleyellow-color {
	color: #ffffcc;
}
.has-palelightblue-color {
	color: #ccffff;
}
.has-paleyellowgreen-color {
	color: #e0ffe0;
}
.has-palepalepink-color {
	color: #fee6e6;
}


/* 背景色 */
.has-base-background-color {
	background-color: #000000;
}
.has-contrast-background-color {
	background-color: #FD66A1;
}
.has-primary-background-color {
	background-color: #DC9797;
}
.has-secondary-background-color {
	background-color: #FF9900;
}
.has-tertiary-background-color {
	background-color: #2689f2;
}
.has-gray-background-color {
	background-color: #CCCCCC;
}
.has-darkgray-background-color {
	background-color: #817D79;
}
.has-truered-background-color {
	background-color: #CC0000;
}
.has-trueblue-background-color {
	background-color: #0000FF;
}
.has-justrightgray-background-color {
	background-color: #666666;
}
.has-palegray-background-color {
	background-color: #ededed;
}
.has-paleyellow-background-color {
	background-color: #ffffcc;
}
.has-palelightblue-background-color {
	background-color: #ccffff;
}
.has-paleyellowgreen-background-color {
	background-color: #e0ffe0;
}
.has-palepalepink-background-color {
	background-color: #fee6e6;
}


/* ===== ページネーション全体 ===== */
.search-pagenation {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

/* 前へ／次へボタン */
.search-pagenation .page-prev a,
.search-pagenation .page-next a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  line-height: 1;
  border: 1px solid var(--border-color_gray, #d3d3d3);
  background-color: #fff;
  border-radius: 5px;
  text-decoration: none;
  color: var(--base_font-color, #333);
  white-space: nowrap;
}

/* アイコン風（Font Awesomeを読み込んでいる前提）*/
.search-pagenation .page-prev a::before {
  content: "<";
  font-family: "fontawesome-s";
  color: var(--key-color, #3BA1C8);
}
.search-pagenation .page-next a::after {
  content: ">";
  font-family: "fontawesome-s";
  color: var(--key-color, #3BA1C8);
  margin-left: 6px;
}

/* 中央のページ番号群 */
.search-pagenation .page-sections {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex: 1;
  gap: 5px;
  min-width: 0; /* 折返し防止のための余白調整 */
}

.search-pagenation .page-sections a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 2.5em;
  padding: 5px;
  line-height: 1;
  border: 1px solid var(--key-color, #3BA1C8);
  background-color: #fff;
  border-radius: 5px;
  color: #000;
  text-decoration: none;
}

.search-pagenation .page-sections a:hover {
  background-color: rgba(59, 161, 200, 0.1);
}

/* 現在ページ */
.search-pagenation .page-sections a.active {
  color: #000;
  background-color: var(--hover-color, #3BA1C8);
  border-color: var(--hover-color, #3BA1C8);
  cursor: default;
}

/* 省略記号（…） */
.search-pagenation .page-sections .page-ellipsis {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 2.5em;
  padding: 5px;
  line-height: 1;
  color: var(--base_font-color, #333);
}

/* キーボードフォーカス */
.search-pagenation a:focus-visible {
  outline: 2px solid var(--hover-color, #3BA1C8);
  outline-offset: 2px;
}

/* ===== 余白・配置の微調整（任意） ===== */
/* 行が長い時に右側の「次」「最後」が潰れないよう最低幅を確保 */
.search-pagenation .page-prev,
.search-pagenation .page-next {
  display: flex;
  align-items: stretch;
}
.search-pagenation .page-prev a,
.search-pagenation .page-next a { min-width: 7.5em; }

/*お問い合わせの確認画面用CSS*/

#wpcf7cpcnf table, .wpcf7cp-btns{
  margin: 0px auto;
}

#wpcf7cpcnf td, #wpcf7cpcnf th{
  border-bottom: 1px solid #CCC;
}

.wpcf7cp-btns{
  text-align: center;
}

.wpcf7cp-btns button{
    border-radius: 6px;
    width: 45%;
    display: block;
    letter-spacing: 0.05em;
    background: #F8A807;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    float: left;
}

/* PC版（画面幅が1025px以上） */
@media screen and (min-width: 1025px) {
  #wpcf7cpcnf table, .wpcf7cp-btns{
    width: 50%;
  }

  .wpcf7cp-btns button{
      margin-top: 32px;
      margin-left: 10px;
      margin-right: 10px;
      padding-top: 20px;
      padding-bottom: 20px;
    font-size: 20px;
  }

}

/* モバイル・タブレット版（画面幅が1024px以下） */
@media screen and (max-width: 1024px) {
  #wpcf7cpcnf table, .wpcf7cp-btns{
    width: 94%;
  }
  .wpcf7cp-btns button{
      margin-top: 16px;
      margin-left: 5px;
      margin-right: 5px;
      padding-top: 10px;
      padding-bottom: 10px;
    font-size: 14px;
  }
}