/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */



/*---------------------------------
 230815追加箇所
---------------------------------*/
/* header */
.header-logo {
	padding: 10px 20px;
}
.header-logo #logo {
	width: 160px;
}
.header-logo #logo a {
	width: 100%;
}

.header-logo #logo a img{
	width: 100%;
	height: auto;
}
.header_btn_box {
	display: flex;
	align-items: center;
}
.header_btn_box .header_tel_btn{
	margin-right: 16px;
}
.header_btn_box .header_line_btn {
	margin-right: 0;
}
.header_btn_box a{
	display: block;
}
.header-wrap {
  box-shadow: none;
}
.header_btn_box {
	display: block;
	display: flex;
}
/* .sp_contact_btn 追従ボタン */
@media screen and (max-width: 959px) {
	.header-logo {
		padding: 10px 0px 10px 60px;
	}
	.header_btn_box {
		display: block;
		display: flex;
		align-items: center;
		width: 400px;
	}
}
@media screen and (max-width: 834px) {
	.header_btn_box {
		padding:8px;
		width: 100%;
		position: -webkit-fixed;
		position: fixed;
		left: 0;
		bottom: 0;
		display: -webkit-flex;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index:100;
		background: #fff;
		box-shadow: 0px -3px 7px 0px rgba(0, 0, 0, 0.1);
		-webkit-transform: none;
    	transform: none;
	}
	.header-logo #logo {
		width: 60%;
		padding-left: 10px;
		padding-right: 10px;
	}
}
@media screen and (max-width: 430px) {
	.header-logo {
		padding: 10px 0px 10px 40px;
	}
	.header-logo #logo {
		width: 85%;
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* nav */
nav#onlynav {
	padding: 10px 8px;
	background: linear-gradient(52deg, rgba(23,70,121,1) 0%, rgba(52,118,179,1) 100%);
}
#header #onlynav >ul {
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: center;
}
#header nav#onlynav li  {
	margin-right: 4px;
}
#header nav#onlynav li:first-child{
	margin-right: 0;
}
.header-logo #nav ul li a, #onlynav ul li a, #nav_fixed #nav ul li a {
	font-size: 16px;
}
nav#onlynav #onlynavul li a {
    color: #fff;
	padding: 1em;
}
#header nav#onlynav ul li a:hover {
	background: #5497C8;
	opacity: 0.7;
}
#header .sub-menu .menu-item a{
	color: #fff;
}
@media screen and (max-width: 1200px) {
	.header-logo #nav ul li a, #onlynav ul li a, #nav_fixed #nav ul li a {
		font-size: 14px;
	}
	nav#onlynav #onlynavul li a {
		padding: 0.8em;
	}
}
#header #scrollnav ul li a{
	padding: 8px;
	background: rgb(231 242 255);
	color: #222222;
	border-radius: 3px;
	margin-right: 4px;
}


/* first-vew */
.diver_firstview_image {
	background-size: cover;
}
.firstview_content {
	padding-bottom: 0;
}
.firstview_content p{
	margin-bottom: 0;
}
.firstview_content .fv_sp{
	display: none;
}
@media screen and (max-width: 958px) {
	.firstview_content {
		padding-top: 10px;
		padding-bottom: 0;
		width: 95%;
	}
	.firstview_content p{
		margin-bottom: 0;
	}
	.sub-menu {
		display: none;
	}
	#scrollnav {
		display: none;
	}
}
@media screen and (max-width: 430px) {
	.firstview_content {
		padding-top: 30px;
		width: 100%;
	}
	.firstview_content p .fv_pc{
		display: none;
	}
	.firstview_content p .fv_sp{
		display: block;
	}
}
/* categories nav内*/
.drawer-nav {
	padding-top: 20px;
}
.widget_categories ul{
	max-height: 200px;
	overflow-y: scroll;
    border-radius: 0 0 5px 5px;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
    padding: 6px 10px;
}
.widget_categories ul::-webkit-scrollbar {
		width: 5px;
}
.widget_categories ul::-webkit-scrollbar-track {
	background-color: #e4e4e4;
	border-radius: 100px;
}
.widget_categories ul::-webkit-scrollbar-thumb {
	background-color: #3274b0;
	border-radius: 100px;
}
.widget_categories ul li {
	border-bottom: 1px solid #cdcdcd;
}
.widget_categories ul li a{
	position: relative;
	padding: 6px 16px 6px 0;
	display: block;
	font-size: 14px;
}
.widget_categories ul li a::before{
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translate(0, -50%);
	display:block; 
	content: "" ;
	background: url(http://henkin.jp/wp-content/uploads/2023/08/list-arrow.png);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 11px;
	height: 14px;
}

.widget_categories .drawer_content_title {
	padding: 16px;
    border-radius: 5px 5px 0 0;
	color: #ffffff;
    font-size: 16px;
    line-height: 1;
	background: #001e3d;
}
/* sidebar */
#sidebar .sidebar_content ul{
	padding: 18px;
}
#sidebar .sidebar_content ul li{
	border-bottom: 1px solid #cdcdcd;
}
#sidebar .sidebar_content ul li a{
	padding: 10px 16px 10px 0;
	font-size: 16px;
	display: block; 
	font-weight: bold;
	position: relative;
}
#sidebar .sidebar_content ul li:first-child {
	padding-top: 0px;
}
#sidebar .sidebar_content ul li:last-child {
	border-bottom: none;
}
#sidebar .sidebar_content ul li a::before{
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0, -50%);
	display:block; 
	content: "" ;
	background: url(http://henkin.jp/wp-content/uploads/2023/08/list-arrow.png);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 11px;
	height: 14px;
}
.sidebar_content > div {
	border-radius: 5px;
}
#sidebar .widget.widget_block .wp-block-group h2 ,#sidebar .widgettitle{
    padding: 16px;
    border-radius: 5px 5px 0 0;
	font-size: 16px;
	line-height: 1;
}
@media screen and (max-width: 430px) {
	#sidebar .widget.widget_block .wp-block-group h2 ,#sidebar .widgettitle{
		padding: 1em;
		border-radius: 5px 5px 0 0;
		font-size: 18px;
		line-height: 1;
	}
	#sidebar .sidebar_content ul {
		padding: 10px;
	}
	#sidebar .sidebar_content ul li {
		border-bottom: 1px solid #cdcdcd;
	}
	#sidebar .sidebar_content ul li a{
		padding: 6px 16px 6px 0;
		font-size: 14px;
	}
	.sidebar_content #block-6 ul{
		max-height: 400px;
		overflow-y: scroll;
	}
	.sidebar_content #block-6 ul::-webkit-scrollbar {
			width: 5px;
	}
	.sidebar_content #block-6 ul::-webkit-scrollbar-track {
		background-color: #e4e4e4;
		border-radius: 100px;
	}
	.sidebar_content #block-6 ul::-webkit-scrollbar-thumb {
		background-color: #3274b0;
		border-radius: 100px;
	}
}
.wp-block-search__label {
    background: #268e9e;
    color: #fff;
    width: 100%;
    display: block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 5px;
    text-align: center;
}
/* title style */
h2.top_title {
	background: linear-gradient(52deg, rgba(23,70,121,1) 0%, rgba(52,118,179,1) 100%);
	color: #fff;
	font-size:24px;
	border-radius: 5px;
	margin-top: 0;
}
.post-cat a {
	font-size: 14px;
}
.post-title a {
	font-size: 18px;
}
@media screen and (max-width: 430px) {
	h2.top_title {
		font-size:18px;
	}
	.post-cat a {
	font-size: 10px;
	}
	.post-title a {
		font-size: 14px;
	}
}
#container .mt-20 {
	margin-top: 20px;
}
#container .mt-40 {
	margin-top: 40px;
}
/* buttom style */
.mail-button {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
#sidebar .sidebar_content .mail-button a{
	border: 2px solid #176bc9;
	width:100%;
	border-radius: 5px;
	display: block;
	color: #ffffff !important;
	background: #0060cc;
	font-size: 20px;
	font-weight: bold;
	padding: 20px;
	text-align: center;
}
#sidebar .sidebar_content .mail-button a::before{
	display: inline-block;
	content: "" ;
	background: url(http://henkin.jp/wp-content/uploads/2023/08/mail_icon.png);
	background-size: contain;
	background-position: center center
	background-repeat: no-repeat;
	width: 30px;
	height: 22px;
	vertical-align: middle;
	margin-right: 8px;
}

.img_center {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
#footer {
	background: linear-gradient(52deg, rgba(23,70,121,1) 0%, rgba(52,118,179,1) 100%) !important;
}
#footer ul li a {
	color: #ffffff;
	padding: 8px;
}
#footer #copyright {
	color: #ffffff;
	text-align: center;
	padding: 0;
}
#footer .footer_content {
	display: flex;
	flex-direction: column;
}
body #bigfooter {
	background: #e9ebec;
	padding: 50px 0;
}
.bigfooter_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 96% !important;
	max-width: 1200px;
}
.bigfooter_wrap .widget_text {
	padding: 0;
}
.bigfooter_wrap .bigfooter_colomn {
	max-width: 320px;
}
.bigfooter_wrap div:nth-child(1) p{
    font-size: 13px;
    line-height: 160%;
    color: rgba(62,48,40,.65);
    display: block;
    padding: 16px 0 0;
    text-align: center;
	margin-bottom: 0;
}
.bigfooter_wrap div:nth-child(2) {
    padding: 15px 0;
}
.bigfooter_wrap div:nth-child(2) div ul li{
	border: none;
	text-align: left;
}
.bigfooter_wrap div:nth-child(2) div ul li{
    text-decoration: none;
    position: relative;
    font-size: 14px;
	padding: 0 !important;
	margin-bottom: 4px;
}
.bigfooter_wrap div:nth-child(2) div ul li a {
	color: #ddd;
	padding: 8px 18px;
	display: inline-block;
}
.bigfooter_wrap div:nth-child(2) div ul li a::before{
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	display:block; 
	content: "" ;
	background: url(http://henkin.jp/wp-content/uploads/2023/08/list-arrow.png);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 11px;
	height: 11px;
}
.bigfooter_wrap div:nth-child(3) {
	background: #ffffff;
}
.bigfooter_wrap div:nth-child(3) dl dt {
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.bigfooter_wrap div:nth-child(3) dl dd {
	border-bottom: none;
	text-align: left;
}
.bigfooter_wrap div:nth-child(3) dl dd p:nth-child(1) {
	padding-top: 0;
    font-size: 14px;
    padding-bottom: 0;
    margin-bottom: 0;
    color: #3e3028;
	text-align: left;
}
.bigfooter_wrap div:nth-child(3) dl dd p:nth-child(2) {
	padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
	text-align: left;
}
#bigfooter .bigfooter_wrap  .bigfooter_colomn {
	padding: 20px  !important;
}
@media screen and (max-width: 958px) {
	#page-top {
		bottom: 80px !important;
	}
}

@media screen and (max-width: 768px) {
	#bigfooter .bigfooter_wrap .bigfooter_colomn {
		padding: 20px !important;
	}
}
@media screen and (max-width: 430px) {
	body #bigfooter {
		padding: 40px 0;
	}
	#bigfooter .bigfooter_wrap .bigfooter_colomn {
		padding: 16px !important;
	}
	#bigfooter .bigfooter_wrap .bigfooter_colomn {
		max-width: none;
		width: 100%;
	}
	.bigfooter_wrap div:nth-child(2) div ul li a {
		padding: 5px 18px;
	}
}



/*---------------------------------
 231110追加箇所
---------------------------------*/
/* 詐欺被害急増 */
.top__pick_box__wrap {
  max-width: 880px;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 769px) {
  .top__pick_box__wrap {
    flex-direction: column;
  }
}
@media screen and (max-width: 430px) {
  .top__pick_box__wrap {
    gap: 16px;
  }
}

h2.top__pick_box__title {
  max-width: 880px;
  background: url(http://henkin.jp/wp-content/uploads/2023/11/title_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 3px solid #003c81;
  border-bottom: 3px solid #003c81;
}
h2.top__pick_box__title img {
  display: block;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}

.top__pick_box {
  width: calc((100% - 24px) / 3);
  padding: 16px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 769px) {
  .top__pick_box {
    width: 100%;
    display: flex;
    flex-direction: row;
  }
}
@media screen and (max-width: 430px) {
  .top__pick_box {
    flex-direction: column;
    padding: 15px;
    border-radius: 10px;
  }
}
@media screen and (max-width: 769px) {
  .top__pick_box__img {
    width: 30%;
  }
}
@media screen and (max-width: 430px) {
  .top__pick_box__img {
    width: 100%;
  }
}
.top__pick_box__img img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
}
@media screen and (max-width: 769px) {
  .top__pick_box__img img {
    aspect-ratio: 1/1;
  }
}
@media screen and (max-width: 430px) {
  .top__pick_box__img img {
    aspect-ratio: 2/1;
  }
}
.top__pick_box__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  position: relative;
  padding-bottom: 60px;
  flex: 1;
  margin-top: 20px;
}
@media screen and (max-width: 769px) {
  .top__pick_box__text {
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 20px;
  }
}
@media screen and (max-width: 430px) {
  .top__pick_box__text {
    aspect-ratio: 2/1;
    margin-left: 0;
    margin-top: 20px;
    padding-bottom: 30px;
  }
}
.top__pick_box__text h3 {
  font-size: 20px;
  font-family: serif;
  margin: 0;
  border-bottom: none;
  line-height: 1.2;
  padding: 0;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  color: #004f9d;
}
.top__pick_box__text h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 60, 129, 0.568627451);
}
.top__pick_box__text p {
  margin: 0;
  margin-top: 8px;
  font-size: 14px;
}
.top__pick_box__btn {
  width: 80%;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-top: auto;
  transform: translate(-50%, 0);
}
@media screen and (max-width: 769px) {
  .top__pick_box__btn {
    left: auto;
    right: 0;
    transform: translate(0, 0);
    width: -moz-fit-content;
    width: fit-content;
    min-width: 140px;
  }
}
@media screen and (max-width: 430px) {
  .top__pick_box__btn {
    width: 100%;
    bottom: 0;
    left: 50%;
    margin-top: auto;
    transform: translate(-50%, 0);
  }
}
.top__pick_box__btn a {
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0060cc;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  padding: 10px;
}
@media screen and (max-width: 769px) {
  .top__pick_box__btn a {
    font-size: 14px;
  }
}
.top__pick_box__btn a::after {
  display: block;
  content: "";
  background: url(http://henkin.jp/wp-content/uploads/2023/11/saerch_icon.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
}

/* pick UP　記事 */
.diver_widget_post_grid .widget_post_list {
  width: 33.3%;
}
@media screen and (max-width: 430px) {
  .diver_widget_post_grid .widget_post_list {
    width: 100% !important;
    flex-direction: column;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    gap: 16px;
  }
}
#page-main .widget, #main .widget, .maintop-widget, .main-bottom {
  margin-bottom: 40px;
}