@charset "utf-8";

@media (max-width: 1399px) {
}

@media (max-width: 1199px) {

h2 {
	margin-bottom: 1.8em;
	font-size: 1.4em;
}
h3{
	margin-bottom: 1.4em;
	font-size: 1.2em;
}
h4{
	margin-bottom: 0.5em;
	font-size: 1em;
}

.wrap {
	width: 98%;
}
.wrap_flex {
	width: 98%;
}


.burger {
  display: flex;
}
nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
	padding: 10px 0 30px;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
}
nav.open {
  display: block;
}
nav ul {
  flex-direction: column;
}
nav ul li a {
  line-height: 1.4;
  padding: 1.2em 20px;
  border-bottom: 1px solid #f0f0f0;
}
/* スマホ: サブメニューはインライン表示 */
.submenu {
  position: static;
  box-shadow: none;
  border: none;
  background: #f9f9f9;
  padding-left: 16px;
}
.submenu a {
  padding: 1.2em 20px;
  border-bottom: 1px solid #eee;
}
.has-accordion > a::after {
  margin-left: auto;
}

.fv {
	width: 100%;
	height: calc(100vh - 70px);
	position: relative;
	margin-top: 70px;
	background: url(../images/fv.webp) top right / cover no-repeat;
}
.fv .hero {
	width: 80%;
	position: absolute;
	top: 50%;
	left: 50px;
	transform: translateY(-50%);
}
.fv .hero h2 {
	font-size: 1.8em;
  line-height: 2em;
}
.fv .hero p {
	font-size: 1.1em;
}

.service_flex li {
	width: calc((100% - 100px) / 2);
}

.service_3col ul {
	font-size: 0.9em;
}
.service_3col ul h3 {
	font-size: 1.1em;
}

.service_link_sp {
	display: block;
	margin: 1.5em auto 0.5em;
	padding: 0.1em 2.5em;
	font-size: 0.8em;
	text-align: center;
	border: 1px solid #4d5156;
	border-radius: 100vh;
}
.banner {
	margin: 30px 0 50px;
	gap: 40px;
}
.banner li {
	width: calc(50% - 80px);
}

.price dl {
	padding: 1.5em;
}
.price h3 {
	font-size: 1.1em;
}
.price dt {
	padding: 0 0 0 .3em;
	font-size: 0.9em;
}
.price dd {
	font-size: 0.9em;
	padding: 0 .3em 0 0;
}
.price .note {
	font-size: .8em;
}

.wrap_intro {
	display: flex;
	justify-content: center;
	gap: 50px;
}
.textbox_intro {
	flex: 0 0 65%;
}
.imgbox_intro {
	flex: 0 0 30%;
}
.textbox_office {
	flex: 0 0 500px;
}
.office {
	display: grid;
	grid-template-columns: 8em 1fr;
}
.office dt,
.office dd {
	padding: 1.5em 0.5em;
	margin: 0;
	line-height: 1.5em;
	border-bottom: solid 1px #ccc;
}
.imgbox_office {
	flex: 0 0 1;
}
.imgbox_office img {
	width: 80%;
	margin: 2em 10% 0.5em;
}

footer {
	padding-bottom: 50px;
}
.logo_footer {
	flex: 0 0 150px;
}
.pagelist {
	flex: 0 0 600px;
}

.w50 {
	width: 80%;
}
.w60 {
	width: 80%;
}
.w80 {
	width: 90%;
}

.text_2col li p {
	padding: 0 1em 2em;
}
.text_2col h3 {
	font-size: 1em;
}

.text_3col {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.text_3col li {
	flex: 0 0 calc((100% - 60px) / 2);
}
.text_3col h3 {
	font-size: 1.1em;
	font-weight: 500;
	background: var(--main_color);
	color: #fff;
	border-radius: 100vh;
}
.text_3col li p {
	padding: 0 1em 2em;
}

}