/*!
Theme Name: hs-partner_theme
Author: icreencia
Description: 保険ショップパートナー WPテーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hs_partner_theme
*/

:root {
  --header-height: 60px;
}
@media screen and (min-width: 641px) {
	:root {
		--header-height: 88px;
	}
}

[id] {
  scroll-margin-top: var(--header-height);
}

@media screen and (max-width: 640px) {  .archive {
    --pagination-mbe: 40px;
  }
}

.cases,
.accidents,
.case,
.accident,
.case_trade,
.accident_trade {
  --pagination-mbe: 50px;
}

@media screen and (min-width: 641px) {

  .cases,
  .accidents,
  .case,
  .accident,
  .case_trade,
  .accident_trade {
    --pagination-mbe: 40px;
  }
}

/* リスト全般 */
ol.wp-block-list,
ul.wp-block-list {
	margin: 0;
	padding: 0 0 0 1.5em;
}
/*.single-column .main .block h2,
.single-case .main .block h2,
.single-accident .main .block h2,
.single-post .main .block h2
.single-post .main .block h2{*/
body:not(.home) .main .block h2 {
	margin-block-start: 50px;
}

/* h3にh4のスタイルを当てる用*/
.main .block .wp-block-heading.el_h4 {
	margin-block-start: 27px !important;
	padding: 0;
	font-size: 1.8rem;
	font-weight: 700;
}
.main .block .wp-block-heading.el_h4::after {
	display: none;
	width: 0;
	height: 0;
}
/* block直下の間隔を1emに */
.main .block > * + * {
	margin-block-start: 27px;
}
/* 赤字 */
.hp_colorRed {
	color: #e03e2d;
}

/* フォームの横幅指定 */
.hp_w80p {
	width: 80% !important;
}
.hp_w60p {
	width: 60% !important;
}
.hp_w40p {
	width: 40% !important;
}
.hp_w15p {
	width: 15% !important;
}
.hp_w10p {
	width: 10% !important;
}

/* 資料請求フォームの商品資料の選択 */
.catalog_cnt .panel .list li :is(#catalog01, #catalog02, #catalog03, #catalog04, #catalog05, #catalog06, #catalog07, #catalog08, #catalog09, #catalog10, #catalog11, #catalog12, #catalog13) label {
  background-repeat: no-repeat;
  background-position: 20px center;
}
.catalog_cnt .panel .list li :is(#catalog01, #catalog02, #catalog03, #catalog04, #catalog05, #catalog06, #catalog07,
#catalog08, #catalog09, #catalog10, #catalog11, #catalog12, #catalog13) label:has(:checked) {
  color: #fff;
  border-color: #00A5B4;
  background-color: #00A5B4;
}
.catalog_cnt .panel .list li #catalog01 label {
background-image: url(img/ico_catalog01.png);
}

.catalog_cnt .panel .list li #catalog02 label {
background-image: url(img/ico_catalog02.png);
}

.catalog_cnt .panel .list li #catalog03 label {
background-image: url(img/ico_catalog03.png);
}

.catalog_cnt .panel .list li #catalog04 label {
background-image: url(img/ico_catalog04.png);
}

.catalog_cnt .panel .list li #catalog05 label {
background-image: url(img/ico_catalog05.png);
}

.catalog_cnt .panel .list li #catalog06 label {
background-image: url(img/ico_catalog06.png);
}

.catalog_cnt .panel .list li #catalog07 label {
background-image: url(img/ico_catalog07.png);
}

.catalog_cnt .panel .list li #catalog08 label {
background-image: url(img/ico_catalog08.png);
}

.catalog_cnt .panel .list li #catalog09 label {
background-image: url(img/ico_catalog09.png);
}

.catalog_cnt .panel .list li #catalog10  label {
background-image: url(img/ico_catalog10.png);
}

.catalog_cnt .panel .list li #catalog11 label {
background-image: url(img/ico_catalog11.png);
}

.catalog_cnt .panel .list li #catalog12  label {
background-image: url(img/ico_catalog12.png);
}

.catalog_cnt .panel .list li #catalog13 label {
background-image: url(img/ico_catalog13.png);
}

@media screen and (max-width: 640px) {
  .catalog_cnt .panel .list li :is(#catalog01, #catalog02, #catalog03, #catalog04, #catalog05, #catalog06, #catalog07,
  #catalog08, #catalog09, #catalog10, #catalog11, #catalog12, #catalog13) label {
      background-position: 10px center;
      background-size: 35px auto;
  }
}

/* ネット加入保険商品 */
.order_btn a {
	color: #fff;
	cursor: pointer;
}
/* FD */
.un_fd_cont > p{
	margin: 0;
	padding-inline-start: 1em;
	text-indent: -1em;
}
.un_fd_cont > .un_fd_indent0 {
	padding-inline-start: 0;
	text-indent: 0;
}

/* シアン背景のポイントブロック */
.bl_point {
	padding: 10px;
    margin-block-end: 10px;
    border: 5px double #333;
    background-color: #019ba1;
    color: #ffffff;
	font-weight: bold;
}
.bl_point ul,
.bl_point ol {
	margin-block-start: 0;
}
.hp_noListStyle {
	list-style-type: none !important;
	padding-inline-start: 0;
}
/* お役立ちコラムのh3(冒頭にラインあり) */
.single-column .main .block h3 {
	margin-block-start:  27px;
}
/* サイトマップ */
.bl_sitemap {
	list-style-type: none;
	padding: 0 !important;
	font-size: 1.4rem;
	font-weight: 700;
}
.bl_sitemap li {
	padding-block: 10px;
	border-block-end: 1px dotted #ccc;
}
.bl_sitemap li:first-of-type {
	padding-block-start: 0;
}
.bl_sitemap ul {
	list-style-type: none;
	margin: 3px 0 0 10px;
	padding: 0 0 0 10px;
	font-weight: 400 !important;
}

.bl_sitemap li:has(ul) {
	border-block-end: none;
}
.bl_sitemap li:has(ul)  + li:not(:has(ul)) {
	border-block-start: 1px dotted #ccc;
}
.bl_sitemap ul li {
	margin: 0;
	/*padding: 2px 0 2px 17px;*/
	padding: 0 0 2px 17px;
	border-block-end: none;
    background: url(img/sitemap_arrow.gif) no-repeat 0 5px;
}

/* pagination */
.bl_pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	font-size: 13px;
}
.el_page {
	flex-basis: 28px;
	text-align: center;
	padding: 2px 2px 3px;
	border: 1px #ccc solid;
	text-decoration: none;
	box-sizing: border-box;
}
.el_page:any-link {
	text-decoration: none;
}
@media (any-hover: hover) {
	.el_page:not(.dots):not(.current):hover {
		border: 1px #00a5b4 solid;
		background-color: #00a5b4;
		color: #fff;
	}
}
.el_page.current {
	border: 1px #00a5b4 solid;
	background-color: #00a5b4;
	color: #fff;
	font-weight: 700;
}
.el_page.dots {
	border-color: transparent;
}
/* アーカイブのサムネイルサイズ調整 */
/*body:is(.post-type-archive-column, .post-type-archive-manga, .blog:not(.post-type-archive)) .post_list .overimg {*/
body:not(.voice) .post-thumbnail_img {
	display: block;
	aspect-ratio: 3 / 2;
}
.post-thumbnail_img > img{
	display: block;
	object-fit: contain;
	inline-size: 100%;
	block-size: 100% !important;
	aspect-ratio: revert;
	
}
/* フォーム確認画面のメール用 */
.is-confirm .hp_confirm-hidden:not(.mb20) {
	display: none;
}
.is-confirm .hp_confirm-hidden.mb20 {
	margin-block-end: 0 !important;
}
.is-confirm span[data-name=email2] + .cf7-confirm-value {
	display: none;
}

/* パンくずリスト */
.bl_breadcrumb {
  position: static;
  display: block;
  inline-size: min(100%, 980px);
  margin-block-start: var(--breadcrumb-mbs, 50px);
  margin-block-end: 20px;
  margin-inline: auto;
  padding-inline: 1em;
}

.bl_breadcrumb_list {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.1rem;
}

.bl_breadcrumb_item a {
  color: #999;
}

.bl_breadcrumb_item {
  display: inline;
  color: #999;
}

.bl_breadcrumb_item + .bl_breadcrumb_item::before {
  content: ">";
  display: inline;
  padding: 0 0.1em;
}

@media screen and (min-width: 641px) {
  .bl_breadcrumb {
    padding-inline: 0;
  }

  .bl_breadcrumb_list {
    font-size: 1.3rem;
  }
}