@charset "utf-8";

/* break point */
/* ---------------------
  (max-width) 991, 781, 575
  (min-width) 992, 782, 576
--------------------- */

/*======================================
  下層テンプレート
======================================*/
.pagetitle {
	text-align: center;
	background: linear-gradient(90deg, #124c8a, #2776b7, #124c8a);
	border-bottom: 1px solid #e9e9e9;
	font-size: 34px;
    padding: .5em 0;
	font-weight: bold;
	color: #fff;
	letter-spacing: 5px;
}
.breadcrumbs {
	font-size: 13px;
    padding-top: 2px;
	margin-bottom: 30px;
	color: #4e4e4e;
}
.breadcrumbs a {
	text-decoration: none;
}
.breadcrumbs>span>span:not(:first-child) {
    margin-left: 5px;
}
.breadcrumbs>span>span:not(:last-child) {
    margin-right: 5px;
}
@media (hover: hover) and (min-width: 992px) {
    .breadcrumbs a:hover {
        text-decoration: underline;
    }
}
@media screen and (max-width: 991px) {
    .pagetitle {
        font-size: 24px;
    }
    .breadcrumbs {
        padding: 2px 0 0;
        margin-bottom: 20px;
        font-size: 11px;
    }
}
@media screen and (max-width: 575px) {
	.pagetitle {
		font-size: 20px;
	}
}

/*======================================
  本文
======================================*/
.editor {
	font-size: 15px;
	line-height: 1.7;
}
.editor p {
    margin-bottom: 1.5em;
}
.editor a {
    color: #084b90;
}
.editor h2.wp-block-heading {
    font-size: 21px;
    font-weight: 600;
	padding: 0 5px 3px 45px;
	border-bottom: 2px solid #ccc;
	position: relative;
    margin: 0 -10px 25px;
}
.editor *:not(.wp-block-heading) + h2.wp-block-heading {
    margin-top: 50px;
}
.editor h2.wp-block-heading::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 18px;
    height: 100%;
    background: linear-gradient(0deg, #00458e, #398eb7);
    transform: skewX(-25deg);
}
.editor h3.wp-block-heading {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
	position: relative;
	padding-left: 30px;
}
.editor h3.wp-block-heading::before, .editor h3.wp-block-heading::after {
	content: "";
	position: absolute;
	display: block;
	border-radius: 50%;
	width: 14px;
	height: 14px;
	top: 11px;
	left: 9px;
	background: #708fb1;
}
.editor h3.wp-block-heading::after {
	top: 4px;
	left: 0;
	width: 18px;
	height: 18px;
	background: rgba(17,64,115,0.4);
}
.editor h4.wp-block-heading {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}
.editor ul, .editor ol {
	padding-left: 25px;
    margin-bottom: 1.5em;
}
.editor ul {
	list-style-type: disc;
}
.editor ol {
	list-style-type: decimal;
}
.editor .wp-block-flexible-table-block-table {
    margin-bottom: 1.5em;
}
.editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th, .editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
    border-color: #b7b7b7;
}
.editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th {
    background-color: #f7f7f7;
}
.editor .empty {
    margin: 8em 1em 10em;
    text-align: center;
}
@media screen and (max-width: 575px) {
    .editor .empty {
        margin: 5em 1em;
    }
}

/*======================================
  事務所案内
======================================*/
.editor .map {
    aspect-ratio: 1 / .4;
}
.editor .map>.wp-block-group__inner-container, .editor .map iframe {
    width: 100% !important;
    height: 100% !important;
}
@media screen and (max-width: 781px) {
    .editor .map {
        aspect-ratio: 1 / 1;
    }
}

/*======================================
  関連企業
======================================*/
.editor .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
}
.editor .link {
    width: calc((100% - 30px) / 2);
}
.editor .link a {
    display: block;
    height: 100%;
    border: 2px solid #ccc;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}
.editor .link a::after {
    content: "";
    display: block;
    clear: both;
}
.editor .link_title {
    float: left;
    margin-top: 5px;
}
.editor .link_thumb {
    float: right;
    width: 150px;
}
.editor .link_content {
    float: left;
    width: calc(100% - 170px);
    font-size: 14px;
    margin: 10px 0 0 5px;
}
@media (hover: hover) and (min-width: 992px) {
    .editor .link a:hover {
        border-color: #6a7d91;
    }
}
@media screen and (max-width: 991px) {
    .editor .link_title {
        float: none;
        margin-bottom: 10px;
    }
    .editor .link_thumb {
        width: 80px;
    }
    .editor .link_content {
        width: calc(100% - 100px);
        margin-top: 0;
    }
}
@media screen and (max-width: 781px) {
    .editor .links {
        row-gap: 10px;
    }
    .editor .link {
        width: 100%;
    }
}

/*======================================
  新着情報
======================================*/
.newslist_title {
    font-weight: bold;
}
.newslist_excerpt {
	font-size: 14px;
	margin: 5px 0 0 3px;
}
.pagination {
	margin-top: 20px;
}
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.pagination .nav-links .page-numbers {
    padding: 5px 10px;
    border: 1px solid #bbb;
    text-decoration: none;
}
.pagination .nav-links .page-numbers.current {
    background-color: #bbb;
}
.single_head {
	margin-bottom: 15px;
}
.single_head h1 {
	border-bottom: 6px double #84a5bb;
	padding: 12px 10px 12px 65px;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.6;
	margin-bottom: 7px;
    position: relative;
}
.single_head h1::before {
    content: "";
    background: url(images/common/icon_single.jpg) no-repeat center center / contain;;
    width: 40px;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 10px;
    left: 10px;
}
.single_head .date {
	display: block;
	text-align: right;
	font-size: 13px;
}
.single_body {
    margin: 0 10px;
}
.single_foot {
	text-align: center;
	border-top: 3px double #dcdcdc;
	padding-top: 15px;
	margin-top: 50px;
}
.single_foot a {
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	background: #4a7192;
	border-radius: 5px;
	color: #fff;
	font-size: 14px;
	transition: 0.2s;
}
@media (hover: hover) and (min-width: 992px) {
    .pagination .nav-links a:hover {
        text-decoration: underline;
    }
    .single_foot a:hover {
        background: #425b76;
    }
}
@media screen and (max-width: 991px) {
	.newslist_title {
		margin: 8px 0 0 3px;
	}
	.newslist_excerpt {
		font-size: 13px;
	}
    .single_head h1 {
        font-size: 21px;
        padding-left: 55px;
    }
    .single_head h1::before {
        width: 35px;
    }
}
@media screen and (max-width: 575px) {
	.single_head h1 {
		font-size: 18px;
		line-height: 1.4;
		border-bottom-width: 4px;
		padding: 0 0 11px 40px;
	}
    .single_head h1::before {
        width: 25px;
    }
}

/*======================================
  お問い合わせ
======================================*/
#mailform th {
	width: 230px;
}
#mailform .required {
    background: #e20000;
    color: #fff;
    font-size: 13px;
    padding: 2px 7px 3px;
    margin-right: 10px;
}
#mailform input, #mailform textarea, #mailform select {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 15px;
}
#mailform textarea {
    width: 100%;
}
#mailform .btn {
	text-align: center;
	margin-top: 20px;
}
#mailform .btn input {
	border: none;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	background: #ddd;
	margin: 0 10px 10px;
	transition: 0.1s;
}
#mailform .btn input:hover {
	color: #fff;
	background: #4a7192;
}
.wpcf7c-conf {
	background-color: #e8f0fe !important;
}
@media screen and (max-width: 768px) {
	#mailform table, #mailform tbody, #mailform tr, #mailform th, #mailform td {
		display: block;
		width: 100%;
	}
	#mailform th, #mailform td {
		border: none;
	}
	#mailform th {
		padding: 6px 10px 7px;
	}
	#mailform td {
		padding: 10px 10px 20px;
	}
	#mailform input, #mailform textarea, #mailform select {
		font-size: 14px;
	}
	#mailform td input {
		width: 100%;
	}
	#mailform .required {
		font-size: 11px;
	}
	#mailform .btn {
		margin-top: 0;
	}
}