/* --------------------------
    variables
-------------------------- */
:root {
    --content-width: 1200px;
    --narrow-width: 800px;
    --wide-width: 1300px;
    --color: #333;
    --line-height: 1.75;
    --font-size: 18px;
    --letter-spacing: 0.1em;
    --font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
    --display-font: 'Roboto Slab', 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
    --main-color: #3ca5dd;
    --main-color-light: #c6ebff;
    --main-color-dark: #3c6f8a;
    --sub-color: #fff026;
    --assort-color: #46b450;
    --assort-color-dark: #47864d;
    --red-color: #fb7c7c;
}

/* --------------------------
    reset
-------------------------- */
* {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.page-id-furin-isharyo body {
    font-size: var(--font-size);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
	color: var(--color);
    font-family: var(--font-family);
    font-weight: 500;
    min-height: 100vh;
}

main {
    display: block;
}

/* img,
iframe {
    display: block;
    max-width: 100%;
} */

a {
    color: var(--color);
    text-decoration: none;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

h6 {
    font-size: 0.75rem;
    font-weight: 500;
}

table {
    border-spacing: 0;
}

@media (max-width: 768px) {
	body {
		font-size: 14px;
	}
}
.page-id-6706 {
background: #fff;
}

/* --------------------------
    common
-------------------------- */
p {
    line-height: 1.6;
}

.content-width {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.narrow-width {
    width: 100%;
    max-width: var(--narrow-width);
    margin: 0 auto;
}

.wide-width {
    width: 100%;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.clearfix {
    clear: both;
}

.section-padding {
	padding: 8rem 1rem;
}

.section-padding-low {
	padding: 4rem 1rem;
}

.heading1 {
	font-size: 3vw;
	text-align: center;
	color: #fff;
    font-weight: bold;
    font-family: initial;
    line-height: 8vw;
}

.heading1 > span {
	display: inline-block;
	margin: 0 0.25em;
	font-size: 1.5em;
	text-decoration: underline;
	text-decoration-line: underline;
	text-decoration-style: wavy;
	text-decoration-color: #fff5;
	color: var(--sub-color);
}

.heading2 {
	display: inline-block;
	color: #fff;
	font-size: 3vw;
	white-space: nowrap;
	line-height: 2;
	border-radius: 1em;
	padding: 0 1em;
	background-color: var(--main-color);
	margin-bottom: 2em;
	box-shadow: 0 0.5vw var(--main-color-light);
	position: relative;
    font-family: initial;
}

.heading2:before {
	content: '';
	display: block;
	border-top: 1rem solid var(--main-color);
	border-left: 1rem solid transparent;
	border-right: 1rem solid transparent;
	border-bottom: 1rem solid transparent;
	position: absolute;
	left: calc(50% - 1rem);
	bottom: -2rem;
}

.heading3 {
	border-left: 2px solid var(--main-color);
	padding-left: 1em;
	margin-bottom: 2em;
    margin-bottom: 0.5em;
    text-align: left;
    font-size: 2vw;
    font-family: initial;

}

.page-id-6706 .table {
	width: 100%;
	border-top: 1px solid var(--main-color-dark);
	border-left: 1px solid var(--main-color-dark);
	margin-bottom: 2rem;
}

.page-id-6706 .table th {
	border-right: 1px solid var(--main-color-dark);
	border-bottom: 1px solid var(--main-color-dark);
	padding: 1em 2em;
	background-color: var(--main-color-light);
	color: #3c6f8a;
}

.page-id-6706 .table td {
	border-right: 1px solid var(--main-color-dark);
	border-bottom: 1px solid var(--main-color-dark);
	padding: 1em 2em;
}

@media (max-width: 768px) {
	.section-padding {
		padding: 4rem 1rem;
	}

	.section-padding-low {
		padding: 2rem 1rem;
	}
	
	.heading2 {
		font-size: 1rem;
	}
	
	.heading2:before {
		border-top: 0.5rem solid var(--main-color);
		border-left: 0.5rem solid transparent;
		border-right: 0.5rem solid transparent;
		border-bottom: 0.5rem solid transparent;
		left: calc(50% - 0.5rem);
		bottom: -1rem;
	}
	
	.page-id-6706 .table th,
	.page-id-6706 .table td {
		display: block;
		padding: 1em;
	}
    .heading3 {
        font-size: 4vw;
    }
    
}


/* drawer */
#drawer {
	display: none;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 255;
}

.drawer-unshown {
	display: none;
}

#drawer-open {
    display: inline-flex;
    flex-flow: column;
    width: 1.5rem;
    height: 1.5rem;
    justify-content: space-around;
    padding: 1rem 0;
}

#drawer-open > span {
	display: block;
	width: 100%;
	height: 1px;
	background-color: #fff;
}

#drawer-open:before {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: #fff;
	margin-top: -0.75rem;
}

#drawer-open:after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: #fff;
	margin-bottom: -0.75rem;
}

#drawer-open > span,
#drawer-open:before,
#drawer-open:after {
	background-color: var(--main-color);
}

#drawer-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: .3s ease-in-out;
}

#drawer-content {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 90%;
  max-width: 330px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.3s ease-in-out;
  -webkit-transform: translateX(105%);
  transform: translateX(105%);
}

#drawer-input:checked ~ #drawer-close {
  display: block;
  opacity: .5;
}

#drawer-input:checked ~ #drawer-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

#drawer-content {
	color: #333;
}

#menu-mobile {
	list-style-type: none;
}

#drawer-input ~ #drawer-content #drawer-close2,
#drawer-input ~ #drawer-content #menu-mobile > li > a {
	padding: 1em;
	text-align: center;
	display: block;
	position: relative;
	color: #333;
	border-bottom: 1px solid #aaa;
	opacity: 0;
	text-decoration: none;
}

#drawer-input:checked ~ #drawer-content #drawer-close2,
#drawer-input:checked ~ #drawer-content #menu-mobile > li > a {
	opacity: 1;
}

#mobile-menu {
	list-style-type: none;
}

#mobile-menu > li {
	border-bottom: 1px solid #aaa;
}

#mobile-menu > li > a {
	display: block;
	padding: 1em 2em;
	color: #333;
}

#mobile-menu > li > ul {
	border-top: 1px solid #aaa;
}

#mobile-menu > li > ul > li {
	border-bottom: 1px solid #aaa;
}

#mobile-menu > li > ul > li > a {
	display: block;
	padding: 1em 2em;
	color: #333;
	font-size: 0.75rem;
}

#mobile-menu > li > ul > li > a:before {
    content: '\f138';
    margin-right: 1em;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

@media (max-width: 1024px) {
	#drawer {
		display: flex;
		width: 50px;
		height: 50px;
	}
}


/* --------------------------
    footer
-------------------------- */
footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-flow: column;
	padding: 3rem;
}

#footer-logo {
	display: block;
	margin-bottom: 1rem;
}

#footer-logo > img {
	width: 300px;
	margin: 0 auto;
}

#footer-grace-logo {
	display: block;
	margin-bottom: 1rem;
}

#footer-grace-logo > img {
	width: 200px;
	margin: 0 auto;
}

#footer-banner-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

#footer-banner-wrap > a {
	max-width: 300px;
	width: 100%;
	opacity: 1;
	transition: all 0.3s ease;
}

#footer-banner-wrap > a:hover {
	opacity: 0.7;
	transition: all 0.3s ease;
}

#footer-banner-wrap > a:first-of-type {
	margin: 0 1rem 0 0;
}

#fixed-contact {
	display: none;
}

#fixed-contact > a {
	margin: 0 0.25rem;
}

#fixed-contact-pc {
	display: flex;
	width: 350px;
	position: fixed;
	right: 3rem;
	top: 50%;
	transform: translate(350px, -50%);
	z-index: 252;
	transition: all 0.3s ease;
}

#fixed-contact-pc:hover {
	transform: translate(50px, -50%);
	transition: all 0.3s ease;
}

#fixed-contact-pc > div {
	width: 350px;
	color: #333;
	border: 3px solid var(--assort-color);
	padding: 1rem;
	background-color: #fff;
}

#fixed-contact-pc > div > h2 {
	font-size: 1rem;
	font-family: var(--display-font);
	text-align: center;
	color: var(--assort-color);
	margin-bottom: 1em;
}

#fixed-contact-pc > div > .tel {
	display: flex;
	flex-flow: column;
	align-items: center;
	font-weight: 700;
	font-size: 1.5rem;
	text-align: center;
	color: var(--assort-color);
}

#fixed-contact-pc > div > div > .button {
	display: block;
	text-align: center;
	font-family: var(--display-font);
	background-color: var(--main-color);
	border-radius: 0.5rem;
	box-shadow: 0 3px 0 var(--main-color-dark);
	padding: 1em;
	color: #fff;
	font-size: 0.75rem;
	transition: all 0.3s ease;
}

#fixed-contact-pc > div > div > .button:hover {
	opacity: 0.7;
	transform: translateY(3px);
	box-shadow: none;
	transition: all 0.3s ease;
}

#fixed-contact-pc > div > div > .line {
	display: block;
	text-align: center;
	font-family: var(--display-font);
	color: #fff;
	background-color: var(--assort-color);
	border-radius: 0.5rem;
	box-shadow: 0 3px 0 var(--assort-color-dark);
	padding: 1em;
	font-size: 0.75rem;
	transition: all 0.3s ease;
}

#fixed-contact-pc > div > div > .line:hover {
	opacity: 0.7;
	transform: translateY(3px);
	box-shadow: none;
	transition: all 0.3s ease;
}

#fixed-contact-pc > div > .tel:after {
	content: attr(data-text);
	font-size: 10px;
	font-weight: 700;
}

#fixed-contact-pc:before {
	display: flex;
	justify-content: center;
	align-items: center;
	content: 'お問い合わせ';
	width: 50px;
	padding: 1em;
	background-color: var(--assort-color);
	color: #fff;
	writing-mode: vertical-rl;
	font-weight: 700;
	line-height: 0;
	font-size: 1.25rem;
	white-space: nowrap;
	border-radius: 5px 0 0 5px;
}

/* #fixed-contact-pc:after {
	content: '\f053';
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3rem;
	height: 3rem;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #fff;
	position: absolute;
	left: 0;
	bottom: 0;
}

#fixed-contact-pc:hover:after {
	content: '\f054';
} */

#copyright {
	font-size: 10px;
}

#page-up {
	display: flex;
	align-items: center;
	position: fixed;
	bottom: 1rem;
	right: calc(-200px - 5rem);
	z-index: 254;
	transition: right 0.3s ease;
}

#page-up > img {
	width: 200px;
	margin-right: 1rem;
}

#page-up.show {
	right: 1rem;
	transition: right 0.3s ease;
}

#page-up > a {
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
	letter-spacing: 0;
	width: 3rem;
	height: 3rem;
	background-color: var(--main-color);
	border-radius: 3px;
	color: #fff;
}

#page-up > a:hover {
	opacity: 0.7;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	#page-up {
		bottom: calc(60px + 1rem);
	}
	
	footer {
		flex-flow: column;
		padding: 3rem 1rem 100px 1rem;
	}
	
	#footer-logo > img {
		width: 200px;
	}
	
	#footer-banner-wrap {
		flex-flow: column;
	}
	
	#footer-banner-wrap > a:first-of-type {
		margin: 0 0 1rem 0;
	}
	
	#fixed-contact {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 60px;
		background-color: rgba(255, 255, 255, 0.9);
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 253;
		padding: 0.5rem 1rem;
	}
	
	.footer-tel {
		color: var(--main-color);
		font-size: 1.5rem;
		font-family: var(--display-font);
		position: relative;
		white-space: nowrap;
		line-height: 1.25;
	}
	
	.footer-tel:after {
		content: attr(data-time)'';
		display: block;
		width: 100%;
		border-radius: 3px;
		font-size: 10px;
		font-weight: 700;
	}
	
	#fixed-contact > a:nth-of-type(2) {
		color: var(--assort-color);
		font-size: 2.75rem;
	}
	
	#fixed-contact > a:nth-of-type(3) {
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 1.25rem;
		line-height: 1;
		font-weight: 700;
		background-color: var(--main-color);
		color: #fff;
		padding: 0.5rem;
		border-radius: 5px;
		box-shadow: 0 3px 0 var(--main-color-dark);
		letter-spacing: 0;
	}
	
	#page-up {
		bottom: calc(60px + 0.5rem);
		right: calc(-100px - 3.5rem);
	}

	#page-up > img {
		width: 100px;
		margin-right: 0.5rem;
	}

	#page-up > a {
		width: 1.5rem;
		height: 1.5rem;
	}
	
	#fixed-contact-pc {
		display: none;
	}
}

/* part contact */
#part-contact {
	background-color: var(--main-color);
}

#part-contact > div > h2 {
	color: #fff;
	font-size: 3vw;
	text-align: center;
	margin-bottom: 1em;
}

#part-contact > div > h2 > span {
	display: inline-block;
	padding: 0.25em 0.5em;
	background-color: #fff;
	border-radius: 0.2em;
	color: var(--main-color);
}

#part-contact > div > div {
	display: flex;
	padding: 2rem;
	background-color: #fff;
}

#part-contact > div > div > div:nth-of-type(1) {
	width: 20%;
}

#part-contact > div > div > div:nth-of-type(2) {
	width: 40%;
}

#part-contact > div > div > div:nth-of-type(3) {
	width: 20%;
}

#part-contact > div > div > div:nth-of-type(4) {
	width: 20%;
}

#part-contact > div > div > div {
	display: flex;
	justify-content: center;
	align-items: center;
}

#part-contact > div > div > div + div {
	border-left: 2px solid #ccc;
}

#part-contact-logomark {
	width: 96px;
}

#part-contact-tel {
	font-size: 2rem;
	font-family: var(--display-font);
	color: var(--main-color);
}

#part-contact > div > div > div > a {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 160px;
	height: 80px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
	background-color: var(--main-color);
	border-bottom: 3px solid var(--main-color-dark);
	color: #fff;
}

#part-contact > div > div > div > a:before {
	content: '\f1d8';
	font-family: 'Font Awesome 5 Free';
	font-size: 1rem;
	font-weight: 900;
}

#part-contact > div > div > div > #part-contact-line:before {
	content: attr(data-text);
	font-family: var(--display-font);
	font-weight: 700;
}
#part-contact > div > div > div > #part-contact-line {
	background-color: var(--assort-color);
	border-bottom: 3px solid var(--assort-color-dark);
}

#part-contact > div > div > div > a:hover,
#part-contact > div > div > div > #part-contact-line:hover {
	border-bottom: none;
	height: 77px;
	transform: translateY(3px);
}

@media (max-width: 768px) {
	#part-contact > div > div {
		flex-flow: column;
	}
	
	#part-contact > div > div > div:nth-of-type(1),
	#part-contact > div > div > div:nth-of-type(2),
	#part-contact > div > div > div:nth-of-type(3),
	#part-contact > div > div > div:nth-of-type(4) {
		width: 100%;
	}
	
	#part-contact > div > div > div + div {
		border-left: none;
		margin-top: 1rem;
	}
}


/* --------------------------
    page
-------------------------- */
#breadcrumb {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#breadcrumb > li > * {
	color: var(--main-color-dark);
	font-size: 10px;
}

#breadcrumb > li {
	display: flex;
	align-items: center;
}

#breadcrumb > li + li:before {
	content: '';
	display: block;
	border-top: 0.3em solid transparent;
	border-left: 0.3em solid var(--main-color-dark);
	border-right: 0.3em solid transparent;
	border-bottom: 0.3em solid transparent;
	margin: 0 0.5em 0 1em;
}

#page-wrap.sidebar {
	display: flex;
	justify-content: space-between;
	margin: 4rem auto;
}

#page-wrap.sidebar #page-content {
	width: calc(100% - 300px - 1rem);
	padding: 0 1rem;
}

@media (max-width: 768px) {
	#page-header {
		height: 150px;
	}
	
	#page-header > div > h2 {
		font-size: 1.25rem;
	}
	
	#page-header > div > h2:before {
		font-size: 1.25rem;
	}
	
	#page-wrap.sidebar {
		flex-flow: column;
		margin: 2rem auto;
	}
	
	#page-wrap.sidebar #page-content {
		width: 100%;
		margin-bottom: 1rem;
	}
}


/* --------------------------
    sidebar
-------------------------- */
#sidebar {
	width: 300px;
	padding: 0 1rem;
	color: #333;
}

#sidebar > div + div {
	margin-top: 1rem;
}

#sidebar > div h3 {
	font-size: 1rem;
	border-left: 1px solid var(--main-color);
	padding-left: 1rem;
	margin-bottom: 1rem;
}

#sidebar > div ul {
	list-style-type: none;
}

#sidebar > div ul > li + li {
	border-top: 1px solid #ddd;
}

#sidebar > div ul > li > a {
	display: block;
	color: #333;
	padding: 1rem 2rem 1rem 0;
	position: relative;
}

#sidebar > div ul > li > a:before {
	content: '';
	display: block;
	width: 2rem;
	height: 1rem;
	background-image: var(--arrow1);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 768px) {
	#sidebar {
		width: 100%;
	}
}


/* --------------------------
    archive
-------------------------- */
/* archive */

/* archive pagination */

/* --------------------------
    single
-------------------------- */
/* single pagination */
#single-pagination {
	list-style-type: none;
	display: flex;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 1rem 0;
	margin-top: 2rem;
}

#single-pagination > li {
	width: 50%;
}

#single-pagination > li + li {
	border-left: 1px solid #ddd;
}

#single-pagination > li > a {
	display: block;
	color: #333;
	padding: 1rem 3rem;
	position: relative;
}

#single-pagination > li:first-of-type > a:before {
	content: '';
	display: block;
	width: 2rem;
	height: 1rem;
	background-image: var(--arrow3);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

#single-pagination > li:last-of-type > a:before {
	content: '';
	display: block;
	width: 2rem;
	height: 1rem;
	background-image: var(--arrow1);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

/* single */
#single-date {
	display: block;
	margin-bottom: 1rem;
	font-family: var(--display-font);
	color: #333;
}

.single-content section:not(.plain) + section:not(.plain) {
	margin-top: 4rem;
}

.single-content h1:not(.plain),
.single-content h2:not(.plain) {
	color: #fff;
	background-color: var(--main-color);
	font-size: 1.25rem;
	padding: 0.5em 1em;
	margin-bottom: 2rem;
}

.single-content h3:not(.plain) {
	color: #333;
	border-bottom: 1px solid var(--main-color);
	margin-bottom: 1rem;
}

.single-content h4:not(.plain) {
	color: #333;
	border-left: 2px solid var(--main-color);
	padding-left: 1em;
	margin-bottom: 1rem;
}

.single-content h5:not(.plain) {
	color: #333;
	border-left: 1px solid var(--main-color);
	padding-left: 1em;
	margin-bottom: 1rem;
}

.single-content h6:not(.plain) {
	color: var(--main-color);
	margin-bottom: 1rem;
}

.single-content ul:not(.plain),
.single-content ol:not(.plain) {
	color: #333;
	background-color: var(--main-color-pale);
	padding: 2rem 2rem 2rem 3rem;
	margin-bottom: 2rem;
}

.single-content blockquote:not(.plain) {
	color: #333;
	background-color: var(--main-color-pale);
	padding: 2rem;
	margin-bottom: 2rem;
}

.single-content p:not(.plain) {
	margin-bottom: 1rem;
}

.single-content a:not(.plain) {
	color: var(--main-color);
	text-decoration: underline;
}

.single-content strong:not(.plain) {
	color: var(--color-red);
	font-weight: 700;
}

.single-content i:not(.plain) {
	color: #333;
}

.single-content img:not(.plain) {
	margin-bottom: 2rem;
}

.single-content img.alignleft:not(.plain) {
	float: left;
	margin: 0 2rem 2rem 0;
}

.single-content img.aligncenter:not(.plain) {
	margin: 0 auto 2rem auto;
}

.single-content img.alignright:not(.plain) {
	float: right;
	margin: 0 0 2rem 2rem;
}

@media (max-width: 768px) {
	#single-pagination {
		flex-flow: column;
		padding: 0;
	}
	
	#single-pagination > li {
		width: 100%;
	}
	
	#single-pagination > li + li {
		border-left: none;
		border-top: 1px solid var(--sub-color-light);
	}
	

	.single-content h1:not(.plain),
	.single-content h2:not(.plain),
	.single-content h3:not(.plain) {
		font-size: 1rem;
	}
	
	.single-content img.alignleft:not(.plain),
	.single-content img.aligncenter:not(.plain),
	.single-content img.alignright:not(.plain) {
		float: none;
		margin: 0 auto 2rem auto;
	}
}


/* --------------------------
    top
-------------------------- */
#top-main-banner {
	width: 100%;
	height: calc(3 / 8 * 100vw);
	background-color: #eee;
}

#slider {
	border-bottom: 1px solid #fff;
}

.slide-img {
	display: flex;
	flex-flow: column;
	justify-content: center;
	height: calc(100vw / 8 * 3);
	background-color: #eee;
	position: relative;
}

.slide-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
}

.slide-img img.sp {
	display: none;
}

/* .slide-img {
	display: flex;
	flex-flow: column;
	justify-content: center;
	height: calc(100vw / 8 * 3);
	background-color: #eee;
	position: relative;
}

.slide-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
}

.slide-img img.sp {
	display: none;
} */

@media (max-width: 768px) {
	#top-main-banner,
	.slide-img,
	.slide-img img {
		height: 100vw;
	}
	
	.slide-img img.pc {
		display: none;
	}
	
	.slide-img img.sp {
		display: block;
	}
}

#top-trouble {
	background-image: url(/wp-content/themes/grace-rikon/img/furin-isharyo-bg2.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#top-trouble > div:first-of-type {
	background-color: var(--main-color);
	position: relative;
}

#top-trouble > div:first-of-type:before {
	content: '';
	display: block;
	border-top: 6vw solid var(--main-color);
	border-left: 10vw solid transparent;
	border-right: 10vw solid transparent;
	border-bottom: 5vw solid transparent;
	position: absolute;
	bottom: -10vw;
	left: calc(50% - 10vw);
}

#top-trouble > div:nth-of-type(2) {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 8rem 10vw 4rem 10vw;
}


#top-trouble-list {
	display: inline-block;
	list-style-type: none;
	padding: 4rem;
	font-size: 1.75rem;
	font-weight: 700;
	background-color: #fff;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

#top-trouble-list > li {
	padding-left: 2em;
	position: relative;
}

#top-trouble-list > li + li {
	margin-top: 0.5em;
}

#top-trouble-list > li:before {
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	background-color: #eee;
	position: absolute;
	top: calc(0.75em / 2);
	left: 0;
}

#top-trouble-list > li:after {
	content: '';
	display: block;
	width: 1em;
	height: 0.5em;
	border-left: 3px solid var(--assort-color);
	border-bottom: 3px solid var(--assort-color);
	position: absolute;
	top: calc(0.75em / 2);
	left: 0.25em;
	transform: rotate(-45deg);
}

#top-trouble > div:nth-of-type(3) {
	background-color: var(--assort-color);
	position: relative;
}

#top-trouble > div:nth-of-type(3):before {
	content: '';
	display: block;
	border-top: 5vw solid #fff;
	border-left: 10vw solid transparent;
	border-right: 10vw solid transparent;
	border-bottom: 5vw solid transparent;
	position: absolute;
	top: 0;
	left: calc(50% - 10vw);
}

#top-trouble > div:nth-of-type(3) > h2{
	margin-top: 1em;
}

@media (max-width: 768px) {
	#top-trouble > div:nth-of-type(2) {
		padding: 4rem 10vw 2rem 10vw;
	}

	#top-trouble-list {
		font-size: 1rem;
		padding: 1rem;
	}
}

#top-point > div {
	display: flex;
	flex-flow: column;
	align-items: center;
}

#top-point-list {
	list-style-type: none;
	counter-reset: count;
    font-family: initial;
}

#top-point-list > li {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#top-point-list > li + li {
	margin-top: 4rem;
}

#top-point-list > li > figure {
	width: 30%;
	padding-top: 20%;
	background-color: #eee;
	position: relative;
}

#top-point-list > li > figure:before {
	counter-increment: count;
	content: counter(count);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3rem;
	height: 3rem;
	background-color: var(--sub-color);
	position: absolute;
	top: -1rem;
	left: -1rem;
	z-index: 1;
	color: var(--main-color);
	font-weight: 700;
	font-size: 1.5rem;
	font-family: var(--display-font);
	box-shadow: 6px 6px 0 var(--main-color);
}


#top-point-list > li > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
}

#top-point-list > li > div {
	width: calc(70% - 3rem);	
}

#top-point-list > li > div > h3 {
	color: var(--main-color);
	font-size: 1.5rem;
	border-top: 1px solid var(--main-color);
	border-bottom: 1px solid var(--main-color);
	padding: 0.5em 0;
	margin-bottom: 1em;
    font-family: initial;
    text-align: left;
}

@media (max-width: 768px) {
	#top-point-list > li {
		flex-flow: column;
	}
	
	#top-point-list > li > figure {
		width: 100%;
		padding-top: calc(100% / 3 * 2);
		margin-bottom: 1rem;
	}
	
	#top-point-list > li > div {
		width: 100%;
	}
	
	#top-point-list > li > div > h3 {
		font-size: 1rem;
	}
}

#top-copy1 {
	background-color: var(--assort-color);
}

.top-case-list {
	margin-top: 4rem;
}

.top-case-list > li {
	border: 3px solid var(--main-color-dark);
	margin-bottom: 2rem;
	background-color: #fff;
	overflow: hidden;
}

.top-case-list > li > h3 {
	display: flex;
	align-items: center;
	font-size: 1.25rem;
	background-color: var(--main-color);
	color: #fff;
	padding: 1rem 4rem 1rem 2rem;
	position: relative;
	transition: all 0.3s ease;
}

.top-case-list > li > h3:after {
    content: '\f13a';
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0;
    line-height: 1;
    width: 1rem;
    height: 1rem;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.top-case-list > li > h3:hover {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.top-case-list > li > h3 > div:before {
    content: 'CASE 'attr(data-count);
    display: block;
    font-size: 1rem;
    margin-right: 2rem;
    white-space: nowrap;
}

.top-case-list > li > div {
	padding: 1rem 2rem;
	display: none;
}

.top-case-list > li > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.top-case-list > li > div > div > div {
	display: flex;
	flex-flow: column;
	position: relative;
}

.top-case-list > li > div > div > div:not(:last-of-type) {
	margin-bottom: 2rem;
}

.top-case-list > li > div > div > div:before {
    content: attr(data-text);
    display: inline-block;
    align-self: flex-start;
    min-width: 11em;
    text-align: center;
    font-weight: 700;
    background-color: var(--main-color);
    color: #fff;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
	.top-case-list > li > h3 {
		font-size: 1rem;
	}
}

#top-reason > div {
	display: flex;
	flex-flow: column;
	align-items: center;
}

#top-reason-list {
	list-style-type: none;
}

#top-reason-list > li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

#top-reason-list > li + li {
	margin-top: 4rem;
}

#top-reason-list > li > figure {
	width: 30%;
	padding-top: 20%;
	background-color: #eee;
	position: relative;
}

#top-reason-list > li > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
}

#top-reason-list > li > div {
	width: calc(70% - 3rem);	
}

#top-reason-list > li > div > h3 {
	color: var(--main-color);
	font-size: 1.5rem;
	border-top: 1px solid var(--main-color);
	border-bottom: 1px solid var(--main-color);
	padding: 0.5em 0;
	margin-bottom: 1em;
    font-family: initial;
    text-align: left;

}

@media (max-width: 768px) {
	#top-reason-list > li {
		flex-flow: column;
	}
	
	#top-reason-list > li > figure {
		width: 100%;
		padding-top: calc(100% / 3 * 2);
		margin-bottom: 1rem;
	}
	
	#top-reason-list > li > div {
		width: 100%;
	}
	
	#top-reason-list > li > div > h3 {
		font-size: 1rem;
	}
}

#top-copy2 {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
}

#top-copy2 {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
}

#top-copy2 > div > p {
	display: block;
	width: 50%;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 4rem;
	line-height: 2.5;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
	font-weight: 700;
}

@media (max-width: 768px) {
	#top-copy2 > div > p {
		width: 100%;
		padding: 1rem 2rem;
	}
}

#top-message {
    background: linear-gradient( 
-45deg
, var(--main-color-light) 25%, #def4ff 25%, #def4ff 50%, var(--main-color-light) 50%, var(--main-color-light) 75%, #def4ff 75%, #def4ff);
    background-size: 12px 12px;
}

#top-message > div > .minasamahe {
	padding: 4rem;
	background-color: #fff;
	box-shadow: 0 0 1rem rgb(0 0 0 / 10%);
	font-size: 1rem;
    text-align: center;
}
#top-message > div > .minasamahe a{
    border-bottom: 5px solid #4d9bc1;
}

#top-message > div > .minasamahe > p + p {
	margin-bottom: 1em;
}

@media (max-width: 768px) {
	#top-message > div > .minasamahe {
		padding: 2rem;
        text-align: left;
	}
}

.top-lawyer-list {
	list-style-type: none;
	display: flex;
}

.top-lawyer-list > li {
	width: calc(20% - 2rem);
}

.top-lawyer-list > li + li {
	margin-left: calc(10rem / 4);
}

.top-lawyer-list > li > figure {
	width: 100%;
	padding-top: 125%;
	margin-bottom: 2rem;
	background-color: #eee;
	position: relative;
}

.top-lawyer-list > li > figure > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom center;
	position: absolute;
	top: 0;
	left: 0;
}

.top-lawyer-list > li > .belonging,
.top-lawyer-list > li > .association {
	font-size: 0.75rem;
	font-weight: 700;
}

.top-lawyer-list > li > .name {
	font-size: 1.5rem;
	font-weight: 700;
}

@media (max-width: 768px) {
	.top-lawyer-list {
		flex-flow: column;
		align-items: center;
	}
	
	.top-lawyer-list > li {
		width: 240px;
	}
	
	.top-lawyer-list > li + li {
		margin-left: 0;
		margin-top: 2rem;
	}
	
	.top-lawyer-list > li > .name {
		font-size: 1.25rem;
	}
}

.top-office-greeting {
	border: 3px solid var(--main-color-dark);
	margin-bottom: 4rem;
}

.top-office-greeting > h3 {
	color: #fff;
	background-color: var(--main-color);
	padding: 1rem 2rem;
}

.top-office-greeting > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	padding: 2rem;
}

.top-office-greeting > div > * {
	width: calc(50% - 1rem);
}

.top-office-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

.top-office-list > li {
	display: flex;
	justify-content: space-between;
	width: calc(50% - 1rem);
	margin-bottom: 2rem;
	border: 3px solid var(--main-color-dark);
	padding: 1rem 2rem;
	background-color: #fff;
}

.top-office-list > li:nth-of-type(odd) {
	margin-right: 2rem;
}

.top-office-list > li > div {
	width: calc(50% - 1rem);
}

.top-office-list > li > .info > h3 {
	color: var(--main-color-dark);
	border-bottom: 3px solid var(--main-color-dark);
	margin-bottom: 1rem;
    font-size: 2rem;
}

.top-office-list > li > .info > div {
	font-size: 1rem;
}

.top-office-list > li > .info a {
	text-decoration: underline;
	color: var(--main-color);
}

.top-office-list > li > .info a:hover {
	opacity: 0.7;
}

.lum-lightbox-inner img {
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
}

@media (max-width: 768px) {
	#top-office > div {
		padding: 2rem 1rem;
	}
	
	.top-office-greeting > div {
		flex-flow: column;
	}
	
	.top-office-greeting > div > * {
		width: 100%;
	}
	
	.top-office-greeting > div > div {
		margin-bottom: 2rem;
	}
	
	.top-office-list {
		flex-flow: column;
	}
	
	.top-office-list > li {
		flex-flow: column;
		width: 100%;
		margin-bottom: 1rem;
	}
	
	.top-office-list > li:nth-of-type(odd) {
		margin-right: 0;
	}
	
	.top-office-list > li > div {
		width: 100%;
	}
	
	.top-office-list > li > div:first-of-type {
		margin-bottom: 1rem;
	}
	
	.top-office-list > li > div > iframe {
		height: 200px;
	}
}

#top-fee-price {
	box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
}

#top-fee-price > dt {
	background-color: var(--assort-color);
	color: var(--sub-color);
	text-align: center;
	font-weight: 700;
	font-size: 1.5rem;
	padding: 1em 2em;
	position: relative;
}

#top-fee-price > dt:before {
	content: '';
	display: block;
	border-top: 1rem solid var(--assort-color);
	border-left: 1rem solid transparent;
	border-right: 1rem solid transparent;
	border-bottom: 1rem solid transparent;
	position: absolute;
	left: calc(50% - 0.5rem);
	bottom: -2rem;
}

#top-fee-price > dd {
	text-align: center;
	font-weight: 700;
	font-family: var(--display-font);
	color: var(--assort-color);
	padding: 2rem;
}

#top-fee-price > dd > span {
	font-size: 2em;
}

.top-qa-list > li {
	border: 3px solid var(--assort-color-dark);
	margin-bottom: 2rem;
	background-color: #fff;
	overflow: hidden;
}

.top-qa-list > li > h3 {
	display: flex;
	align-items: center;
	font-size: 1.25rem;
	background-color: var(--assort-color);
	color: #fff;
	padding: 1rem 4rem 1rem 2rem;
	position: relative;
	transition: all 0.3s ease;
}

.top-qa-list > li > h3:after {
    content: '\f13a';
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0;
    line-height: 1;
    width: 1rem;
    height: 1rem;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.top-qa-list > li > h3:hover {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.top-qa-list > li > h3 > div:before {
    content: 'Q'attr(data-count);
    display: block;
    font-size: 1rem;
    margin-right: 2rem;
    white-space: nowrap;
    font-family: var(--display-font);
}

.top-qa-list > li > div {
	padding: 1rem 2rem;
	display: none;
}

.top-qa-list > li > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.top-qa-list > li > div > h3 {
	font-weight: 700;
	color: var(--assort-color);
	margin-bottom: 1em;
}

.top-qa-list > li > div > div > div:before {
    content: attr(data-text);
    display: inline-block;
    align-self: flex-start;
    min-width: 11em;
    text-align: center;
    font-weight: 700;
    background-color: var(--main-color);
    color: #fff;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
	.top-qa-list > li > h3 {
		font-size: 1rem;
	}
}


.contact-wrap table {
	width: 100%;
	border-top: 1px solid var(--main-color-dark);
	border-left: 1px solid var(--main-color-dark);
	margin-bottom: 2rem;
}

.contact-wrap table th {
	text-align: left;
	border-right: 1px solid var(--main-color-dark);
	border-bottom: 1px solid var(--main-color-dark);
	padding: 1rem 4rem 1rem 2rem;
	background-color: var(--main-color-light);
	color: var(--main-color-dark);
	min-width: 15em;
	font-weight: 500;
	position: relative;
}

.contact-wrap table th.required:after {
	content: '必  須';
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.5em;
	font-size: 0.75rem;
	color: #fff;
	background-color: var(--assort-color);
	border-radius: 3px;
}

.contact-wrap table td {
	border-right: 1px solid var(--main-color-dark);
	border-bottom: 1px solid var(--main-color-dark);
	padding: 1rem 2rem;
	background-color: #fff;
}

.contact-wrap table td input[type=number] {
	padding: 1rem;
	border: none;
	background-color: #eee;
	border-radius: 3px;
}

.contact-wrap table td input[type=text],
.contact-wrap table td input[type=email],
.contact-wrap table td textarea {
	display: block;
	width: 100%;
	padding: 1rem;
	border: none;
	background-color: #eee;
	border-radius: 3px;
}

.contact-wrap > .privacy-policy {
	height: 200px;
	overflow-y: scroll;
	border: 1px solid var(--main-color);
	padding: 2rem;
	background-color: #fff;
	margin-bottom: 1rem;
}

.contact-wrap > .agreement {
	font-size: 0.75rem;
	margin-bottom: 1rem;
	text-align: center;
}

.submit-wrap {
	text-align: center;
	padding-bottom: 5rem;
}

.submit-wrap input[type=submit] {
	appearance: none;
	font-weight: 700;
	background-color: var(--assort-color);
	color: #fff;
	padding: 0.5em 1em;
	border-radius: 5px;
	font-size: 0.75rem;
	box-shadow: 0 3px 0 var(--assort-color-dark);
	border: none;
	font-size: 1.25rem;
	min-width: 300px;
	text-align: center;
	position: absolute;
	transform: translateX(-50%);
}

.submit-wrap input[type=submit]:hover {
	box-shadow: none;
	transform: translateY(5px) translateX(-50%);
}

.accident-type-other {
	display: hidden;
}

.privacy-policy {
	font-size: 0.75rem;
}

.privacy-policy h2 {
	font-size: 1rem;
}

.privacy-policy h3 {
	font-size: 1rem;
}

.privacy-policy h4 {
	font-size: 0.75rem;
}

.privacy-policy p {
	margin-bottom: 1em;
}

.privacy-policy ul {
	background-color: #eee;
	padding: 2rem 2rem 2rem 3rem;
	margin-bottom: 2em;
}

.privacy-policy ul > li {
	font-size: 1em;
}

.privacy-policy section {
	margin-bottom: 2rem;
}

@media (max-width: 768px) {
	.contact-wrap table th,
	.contact-wrap table td {
		display: block;
      padding: 1rem;
	}
}

.page-id-6706 .lower h1 {
    color: #46b450;
    font-family: initial;
    font-weight: 400;
    margin: 30px;
    width: 80%;
    margin: 0 auto 30px;
}
.page-id-6706 .lower h1 span{
    color: #3ca5dd;
    font-family: initial;
}

.page-id-6706 .reserve {
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-id-6706 .lower h1 {
        display: block;
        }

    .page-id-6706 .reserve {
        width: 100%;
    }
    .page-id-6706 .contact {
        margin: auto !important;
    }
}

/* ヘッダーの調整 */
.page-id-6706 .header {
	height: 110px;
}