/*
Theme Name: reform_abekensetu
 */

/* ============================
	common
============================ */

#wrapper {
  overflow: hidden;
}

.flex-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ofi {
  font-family: "object-fit: cover;";
  -o-object-fit: cover;
  object-fit: cover;
}

.bold {
  font-weight: 700;
}
@media (min-width: 768px) {
	a[href^="tel:"] {
		pointer-events: none;
		cursor: default;
	}
}
@media screen and (max-width: 767px) {
  #wrapper {
    min-width: 0;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(30, 30, 30, 0.3);
  }
}

/* ============================
	sp-menu
============================ */

#sp-menu {
  box-sizing: border-box;
  position: absolute;
  transition: all 0.35s ease;
  top: 60px;
  left: 0;
  background-color: #f0edea;
  width: 100%;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
}

#sp-menu.opening {
  position: fixed;
  transition: all 0.35s ease;
  opacity: 1;
  pointer-events: auto;
  height: calc(100vh - 60px);
  z-index: 30;
}

#sp-menu .menu-item a {
  text-align: center;
  line-height: 1;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-weight: 700;
}

#sp-menu .sub-menu {
  display: none;
  opacity: 0;
  transition: 0.35s all ease;
}

#sp-menu .sub-menu.opening {
  display: block;
  opacity: 1;
  transition: 0.35s all ease;
}

#sp-menu .sp-contact-box {
  margin: 30px 0 0;
}

#sp-menu .sp-contact-box a {
  box-sizing: border-box;
  display: block;
  background-color: #EF7A00;
  text-align: center;
  color: #fff;
  padding: 8px 0;
  border-radius: 99px;
}

/* btn-hamburger */
#btn-hamburger {
  position: relative;
  top: 0;
  right: 10px;
  background-color: #EF7A00;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
  border-radius: 99px;
}

#btn-hamburger .border {
  position: absolute;
  left: 15px;
  transition: opacity, transform 0.2s ease;
  background: #fff no-repeat left top;
  width: 30px;
  height: 2px;
  z-index: 1;
}

#btn-hamburger .border:first-child {
  top: 33%;
}

#btn-hamburger .border:nth-child(2) {
  transform: rotate(0);
  opacity: 1;
  top: 50%;
}

#btn-hamburger .border:nth-child(3) {
  top: 67%;
}

#btn-hamburger.opening .border:first-child {
  transform: rotate(45deg);
  top: 50%;
}

#btn-hamburger.opening .border:nth-child(2) {
  opacity: 0;
}

#btn-hamburger.opening .border:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}
@media screen and (min-width: 768px) {
	#sp-menu {
		top: 105px;
	}
}
@media screen and (max-width: 767px) {
	#btn-hamburger .border {
		left: 10px;
	}
}
/* ============================
	header
============================ */
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

#header.h-fixed {
  position: fixed;
}

#header .h-inner {
  align-items: center;
  width: 100%;
  padding: 10px 15px 10px 10px;
  background: #fff;
}

#h-gnav-box.flex-start {
  align-items: center;
}

#h-gnav-box .menu-item + .menu-item {
  margin: 0 0 0 30px;
}

#h-gnav-box .menu-item a {
  font-size: 1.6rem;
  font-weight: 700;
}

#h-gnav-contact {
  margin-left: 30px;
}

#h-gnav-contact a {
  display: block;
  box-sizing: border-box;
  background-color: #EF7A00;
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  width: 260px;
  height: 80px;
  padding: 30px 0 28px;
  border-radius: 90px;
}

.h-right {
	align-items: center;
}

.h-links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

#h-site-logo {
	width: 226px;
}
.h-tel {
	margin-left: 30px;
}
.h-tel-num {
	font-size: 2.6rem;
	font-weight: 600;
	padding-left: 21px;
	position: relative;
	line-height: 0.7;
	font-family: "Work Sans", sans-serif;
}
.h-tel-num::before {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	background-image: url(./images/common/h_tel.png);
	background-repeat: no-repeat;
	background-size: cover;
	left: 0;
	bottom: 0;
	transform: translateY(-50%);
}
.h-tel-note {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.7;
	margin-top: -5px;
}

@media screen and (max-width: 767px) {
  #header {
    margin: 0 auto;
    right: 0;
  }

  #header .h-inner {
    padding: 5px 0;
  }
	#h-site-logo {
		width: 150px;
	}
	#btn-hamburger {
		width: 50px;
		height: 50px;
	}
}


#cta {
	padding: 40px 20px 0;
}

#cta .cta-inner {
	max-width: 1420px;
	margin: 0 auto;
	padding: 20px 20px 20px 90px;
	display: flex;
	border-radius: 10px;
	overflow: hidden;
	background: #EF7A00;
	justify-content: space-between;
}

#cta .cta-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#cta .cta-sub {
	font-size: 2.2rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #fff;
	line-height: 2.18;
	font-family: "Work Sans", sans-serif;
}

#cta .cta-ttl {
	margin-top: 5px;
	font-size: 4.2rem;
	font-weight: 700;
	line-height: 1.14;
	color: #fff;
}

#cta .cta-right {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52%;
}

#cta .cta-right-inner {
	width: 100%;
	background: #fff;
	border-radius: 10px;
	padding: 45px 20px 20px;
	text-align: center;
}

#cta .cta-tel-num {
	position: relative;
	font-size: 5.2rem;
	font-weight: 600;
	color: #312C27;
	text-decoration: none;
	font-family: "Work Sans", sans-serif;
	line-height: 0.92;
	padding-left: 60px;
}
#cta .cta-tel-num::before {
	content: "";
	position: absolute;
	background-image: url(./images/common/cta_tel.png);
	background-repeat: no-repeat;
	background-size: cover;
	width: 40px;
	height: 38px;
	left: 0px;
	top: 50%;
	transform: translateY(-50%);
}

#cta .cta-tel-note {
	font-size: 1.8rem;
	font-weight: 500;
	color: #312C27;
	line-height: 2.6;
	letter-spacing: 0.05em;
}

#cta .cta-btn {
	margin-top: 40px;
	display: block;
	width: 100%;
	background: #EF7A00;
	border-radius: 10px;
	padding: 45px 0;
	font-size: 2.8rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	line-height: 1.45;
}

@media screen and (max-width: 1023px) {
	#cta .cta-inner {
		padding: 10px;
		justify-content: center;
		flex-direction: column;
		gap: 30px;
	}
	#cta .cta-left,
	#cta .cta-right {
		width: 100%;
	}
	#cta .cta-sub {
		font-size: 2rem;
		line-height: 1.75;
		text-align: center;
	}
	#cta .cta-ttl {
		font-size: 2.4rem;
		text-align: center;
	}
	#cta .cta-right-inner {
		padding: 30px 10px 20px;
	}
	#cta .cta-tel-num {
		font-size: 2.6rem;
		padding-left: 40px;
	}
	#cta .cta-tel-num::before {
		width: 30px;
		height: 28px;
	}
	#cta .cta-tel-note {
		font-size: 1.4rem;
		line-height: 1.75;
	}
	#cta .cta-btn {
		padding: 25px 0 ;
		font-size: 2rem;
		margin-top: 20px;
	}
}

/* ============================
	footer
============================ */
#footer {
	padding: 70px 0 40px;
}

#footer .content-width {
	max-width: 1240px;
}

#footer .f-main {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 60px;
}

#footer .f-logo {
	max-width: 260px;
	display: block;
}

#footer .f-logo img {
	display: block;
	max-width: 100%;
	height: auto;
}

#footer .f-info {
	margin-top: 23px;
	display: flex;
	gap: 40px;
	align-items: flex-end;
}

#footer .f-info .f-info01 {
	font-size: 1.4rem;
	line-height: 2;
	color: #4D4948;
}

#footer .f-banner {
	width: 220px;
	margin-top: 80px;
	float: right;
}

#footer .f-map {
	display: inline-block;
	margin: 12px 0 20px;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.05em;
	font-family: "Work Sans", sans-serif;
}

#footer .f-menu {
	align-content: center;
}

#footer .f-addr {
	font-family: "Work Sans", sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.1em;
	margin-bottom: 20px;
}
#footer .f-addr span {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
#footer .f-tel {
	margin-top: 20px;
}
#footer .f-tel,
#footer .f-fax {
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 1.7rem;
	line-height: 1.5;
}

#footer .f-tel span,
#footer .f-fax span {
	font-size: 1.4rem;
	line-height: 2;
}

#footer .f-nav {
	display: flex;
	gap: 60px;
}

#footer .f-nav-col {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer .f-nav-col li + li {
	margin-top: 14px;
}

#footer .f-nav-col a {
	color: #312C27;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.7rem;
}

#footer .f-bottom {
	margin-top: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

#footer .f-privacy {
	color: #312C27;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: 1.7rem;
}

#footer .f-copy {
	font-size: 1.3rem;
	color: rgba(49, 44, 39, 0.35);
}

#contact-fixed {
	position: fixed;
	z-index: 10;
	right: 0;
	left: auto;
	bottom: 5%;
	width: 7rem;
}
#contact-fixed .fixed-btns {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 1rem;
}
#contact-fixed .fixed-btns .fix-btn {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
}
#contact-fixed .fixed-btns .fix-btn a {
		width: 100%;
		color: #fff;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		line-height: 1.25;
		text-align: center;
		height: 9.25rem;
		border-radius: 0.625rem 0 0 0.625rem;
		-webkit-writing-mode: vertical-rl;
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		text-orientation: upright;
		border-top: none;
		border-radius: 10px 0 0 10px;
}
#contact-fixed .fixed-btns .fix-btn.fix-tel a {
	background-color: #4D4948;
	height: 70px;
}
#contact-fixed .fixed-btns .fix-btn.fix-contact a {
	background-color: #EF7A00;
	font-size: 1.8rem;
	height: 283px;
	position: relative;
}
#contact-fixed .fixed-btns .fix-btn.fix-contact a img {
	margin-bottom: 15px;
}

@media screen and (max-width: 767px) {
	#footer .f-main {
		flex-direction: column;
	}
	#footer .f-info {
		flex-direction: column;
		align-items: baseline;
	}
	#footer .f-banner {
		max-width: 175px;
		width: 100%;
		float: left;
	}
	#footer .f-nav {
		flex-direction: column;
		gap: 14px;
	}
	#footer .f-inner {
		padding-bottom: 60px;
	}
	#footer .f-logo {
		width: 190px;
	}
	#footer .f-bottom {
		margin-top: 40px;
		flex-direction: column;
	}
	#contact-fixed {
		width: 100%;
		bottom: 0dvh;
		transform: translateY(0%);
		top: auto;
	}
	#footer .f-addr span {
		font-size: 1.5rem;
	}
	#contact-fixed .fixed-btns {
		display: flex;
		justify-content: center;
	}
	#contact-fixed .fixed-btns .fix-btn.fix-contact a,
	#contact-fixed .fixed-btns .fix-btn a {
		height: 70px;
		-webkit-writing-mode: unset;
		-ms-writing-mode: unset;
		writing-mode: unset;
		border-radius: 10px 10px 0 0 ;
		font-size: 1.6rem;
	}
	#contact-fixed .fixed-btns .fix-btn {
		width: 44%;
	}
	#contact-fixed .fixed-btns .fix-btn.fix-contact a img {
		margin-bottom: 0;
		margin-right: 10px;
	}
	#contact-fixed .fixed-btns .fix-btn.fix-tel a {
		height: 50px;
	}
	#contact-fixed .fixed-btns .fix-btn.fix-tel a img {
		width: 20px;
	}
	#contact-fixed .fixed-btns .fix-btn.fix-contact a,
	#contact-fixed .fixed-btns .fix-btn a {
			height: 50px;
	}
	#footer .f-privacy {
		margin-left: auto;
		font-size: 1.4rem;
	}
	#footer .f-nav-col a {
		font-size: 1.4rem;
	}
}
/* ============================
	mainvisual
============================ */
.mainvisual {
  width: 100%;
  margin: 100px 0 0;
}

#top-mv .mv-inner {
  height: 650px;
}

#top-mv .mv-inner.flex-start {
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
	#top-mv .mv-inner {
		height: auto;
	}
}

#page-mv.mainvisual--inner {
	background: #fff;
	position: relative;
}
#page-mv.mainvisual--inner .mv-inner {
	box-sizing: border-box;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 40px;
}
#page-mv.mainvisual--inner .mv-inner-row {
	min-height: 350px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
}
#page-mv.mainvisual--inner .mv-left {
	flex: 1 1 auto;
	min-width: 0;
	margin: 80px 0 0;
}
#page-mv.mainvisual--inner .page-ttl {
	font-size: clamp(3.2rem, 3.7vw, 5.2rem);
	font-weight: 700;
	line-height: 1.34;
	margin: 0;
	color: #EF7A00;
}
#page-mv.mainvisual--inner .mv-right {
	flex: 0 0 auto;
	margin-right: calc(50% - 50vw + 40px);
	z-index: 1;
}
#page-mv.mainvisual--inner .mv-thumb {
	width: 600px;
	height: 350px;
	border-radius: 20px;
	overflow: hidden;
}
#page-mv.mainvisual--inner .mv-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
@media (max-width: 1200px) {
	#page-mv.mainvisual--inner .mv-thumb {
		height: 350px;
		width: 51vw;
	}
}
@media (max-width: 767px) {
	#page-mv.mainvisual--inner .mv-inner {
		padding: 0 20px;
	}

	#page-mv.mainvisual--inner .mv-inner-row {
		min-height: auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	#page-mv.mainvisual--inner .mv-left {
		margin: 0;
	}

	#page-mv.mainvisual--inner .page-ttl {
		font-size: 3rem;
	}

	#page-mv.mainvisual--inner .mv-right {
		width: 100%;
		margin-right: 0;
	}

	#page-mv.mainvisual--inner .mv-thumb {
		width: 100%;
		height: auto;
		aspect-ratio: 600 / 350;
	}
}
#page-mv {
	position: relative;
}
#page-mv .mv-inner {
	position: relative;
}
#page-mv .mv-inner::after {
	content: "";
	position: absolute;
	bottom: -20px;
	left: 0;
	background-image: url(./images/page/ph_mv.png);
	background-repeat: no-repeat;
	transform: translateX(40px);
	width: 737px;
	height: auto;
	aspect-ratio: 737 / 211;
	background-size: cover;
	z-index: 2;
	width: 40%;
}
@media (max-width: 767px) {
	#page-mv .mv-inner::after {
		display: none;
	}
}

/* ============================
	section
============================ */
.bg-brown {
	background-color: #FDF6ED;
}

.sec-inner {
  padding: 80px 0;
}

.sec-ttl-box {
  text-align: left;
  margin: 0 auto 0 0;
}

.sec-sub-ttl {
	font-size: 2.8rem;
	font-weight: 500;
	font-family: "Work Sans", sans-serif;
	line-height: 2.14;
	letter-spacing: 0.05em;
	color: #EF7A00;
	margin-bottom: 10px;
}

.sec-ttl {
	font-size: 5.2rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.08em;
	color: #4D4948;
}

.content-width {
  box-sizing: border-box;
  max-width: 1080px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .content-width {
    width: 100%;
	padding: 0 10px;
  }
  .sec-inner {
	padding: 40px 0;
  }
  .sec-sub-ttl {
	font-size: 2rem;
	line-height: 1.75;
  }
  .sec-ttl {
	font-size: 2.4rem;
  }
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
  padding: 8px 0;
  background: #000;
  font-size: 1.2rem;
}

.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {
  color: #fff;
}

/* ============================
	pagenavi
============================ */
.wp-pagenavi {
  clear: both;
  margin: 30px 0 0;
  font-size: 1.6rem;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  width: 3em;
  height: 3em;
  margin: 0 0.5em;
  font-weight: bold;
  color: #EF7A00;
  border: 2px solid #EF7A00;
  text-align: center;
  vertical-align: middle;
  transition: all 0.5s ease;
  border-radius: 50%;
  line-height: 1;
    align-content: center;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
  background: #EF7A00;
  color: #fff;
  border-color: #EF7A00;
  border-radius: 50%;
  opacity: 1;
  text-decoration: none;
}

.wp-pagenavi a:hover {
  transition: all 0.5s ease;
}

.wp-pagenavi .extend {
  width: 1em;
  color: #000;
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
}

.wp-pagenavi .extend::after {
  content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  position: relative;
  width: 3em;
  height: 3em;
  text-indent: -999999px;
  vertical-align: middle;
  color: #EF7A00;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #EF7A00;
  border-right: 2px solid #EF7A00;
}

.wp-pagenavi .previouspostslink::after {
  transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
  transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
  border-color: #fff;
}

.result_count {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.4rem;
  color: #EF7A00;
}

/* ============================
	post parts
============================ */
.post-date {
  font-size: 1.5rem;
  min-width: 70px;
}

.post-cats {
  line-height: 1;
  margin: 0 0 0 20px;
}

.post-cats.flex-start {
  justify-content: flex-start;
  align-items: center;
}

.post-cat {
  display: block;
  background-color: #EF7A00;
  color: #fff;
  font-size: 1.4rem;
	padding: 5px 10px;
  text-align: center;
	border-radius: 6px;
}

.post-cat + .post-cat {
  margin: 0 0 0 10px;
}

.post-cat:link {
  color: #fff;
}

.post-cat:visited {
  color: #fff;
}

/* ============================
	news list
============================ */
.news-item {
  padding: 20px 0;
}

.news-item + .news-item {
  border-top: 1px solid #E5E8ED;
}

.news-item:last-child {
	border-bottom: 1px solid #e5e8ed;
}

.news-item .post-ttl {
  font-size: 1.5rem;
  margin: 0 0 0 20px;
}

@media screen and (max-width: 767px) {
  .news-item .post-meta {
    width: 100%;
  }
  .news-item .post-ttl {
    margin-left: 0;
  }
}

/* ============================
	card list
============================ */
.card-list {
  margin-top: -30px;
  margin-left: -80px;
}

.card-item {
  width: 280px;
  margin-top: 30px;
  margin-left: 80px;
}

.card-item .post-thumb img {
  width: 100%;
}

.card-item .post-info {
  margin-top: 20px;
}

.card-item .post-ttl {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

@media screen and (max-width: 767px) {
  .card-item {
    width: 100%;
  }
}

.archive-section {
	background-color: #FDF6ED;
}
.news-tabs {
	display: flex;
	gap: 15px;
	margin-bottom: 50px;
	justify-content: start;
}
.news-tab {
	border-radius: 6px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	color: #EF7A00 !important;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
	border: none;
	text-align: left;
	padding: 15px 20px;
	border: 1px solid #EF7A00;
}
.news-tab.is-active {
	background: #EF7A00;
	border: none;
	color: #fff !important;
}
.news-list .news-item:first-child {
	padding-top: 0;
}

.news-meta {
	margin-bottom: 15px;
}

.news-cat {
	color: #EF7A00 !important;
	border: 1px solid #EF7A00;
	border-radius: 6px;
	padding: 8px 0;
	min-width: 120px;
	text-align: center;
	font-weight: 700;
	margin-right: 14px;
	display: inline-block;
	line-height: 1.4;
}

.archive-section .news-cat {
	color: #fff !important;
	background-color: #EF7A00;
}

.news-date {
	font-weight: 500;
	font-size: 1.6rem;
	font-family: "Work Sans", sans-serif;
	letter-spacing: 0.1em;
}

.news-ttl {
	color: #312C27;
	font-weight: 500;
	font-size: 1.8rem;
	line-height: 1.77;
	letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
	.news-cat {
		padding: 5px 10px;
		min-width: auto;
		margin-right: 10px;
	}
	.news-ttl {
		font-size: 1.5rem;
	}
	.news-tab {
		padding: 5px 10px;
	}
}

body.single .post-ttl {
	font-size: 2.6rem;
	color: #EF7A00;
	margin-bottom: 20px;
}
#entry-container {
	background-color: #FDF6ED;
}

.single-news #entry-article,
.single-case #entry-article {
	box-sizing: border-box;
	border: none;
	width: 100%;
	padding: 0 ;
}
.single-news .entry-thumb img {
	aspect-ratio: 1 / 1;
	max-width: 500px;
	width: 100%;
	height: auto;
	object-fit: contain;
	background: #fff;
}
.archive-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.archive-card-item + .archive-card-item {
	margin-top: 30px;
}

.archive-card-link {
	display: block;
}

.archive-card-thumb {
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
}

.archive-card-img {
	width: 100%;
	height: 100%;
	display: block;
}

.archive-card-body {
	margin-top: 12px;
}

.archive-card-date {
	display: block;
	font-size: 1.4rem;
	line-height: 1.2;
	color: #777;
}

.archive-card-ttl {
	margin: 8px 0 0;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.4;
	color: #312C27;
}
.sidebar-news-item {
	align-items: center;
}
.entry-back {
	text-align: center;
	margin-top: 80px;
}
.entry-back a {
	min-width: 280px;
	color: #EF7A00;
	border: 2px solid #EF7A00;
	border-radius: 90px;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.05em;
	padding: 23px 30px;
	text-align: left;
	position: relative;
	background-color: #fff;
}


.single-case .case-galleries {
	margin-top: 50px;
}

.single-case .case-pair-slider {
	max-width: 100%;
	min-width: 0;
}
.single-case .case-pair-slide {
	display: flex !important;
	justify-content: center;
	gap: 0;
}
.single-case .case-pair-col {
	flex: 0 0 50%;
	min-width: 0;
}

.single-case .case-slide-media {
	position: relative;
}

.single-case .case-slide-label {
	position: absolute;
	top: 20px;
	left: 10px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.05em;
	padding: 10px 15px;
	border-radius: 6px;
	pointer-events: none;
	z-index: 1;
}
.case-pair-col--after .case-slide-label {
	background: #EF7A00;
}

.single-case .case-slide-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	display: block;
	background-color: #fff;
}

.single-case .case-slide-empty {
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: #D6D6D6;
}

.single-case .case-pair-slider .slick-track {
	display: flex;
}
.single-case .case-pair-slider .slick-slide {
	height: 100%;
}

.single-case .case-pair-slider .slick-prev:before,
.single-case .case-pair-slider .slick-next:before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	margin: 0 auto;
	opacity: 1;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.single-case .slick-prev {
	left: -17px;
}
.single-case .slick-next {
	right: 0;
}

.single-case .case-pair-slider .slick-prev:before {
	background-image: url(./images/top/arrow_prev.png);
}
.single-case .case-pair-slider .slick-next:before {
	background-image: url(./images/top/arrow_next.png);
}

.single-case .case-pair-slider .slick-prev,
.single-case .case-pair-slider .slick-next {
	z-index: 2;
}

.single-case .case-pair-slide.is-single {
	position: relative;
	justify-content: center;
	background-color: #fff;
	aspect-ratio: 2 / 1;
}

.single-case .case-pair-slide.is-single .case-pair-col {
	flex: 0 0 50%;
	min-width: 0;
}

.single-case .case-pair-slide.is-single .case-pair-col.is-empty {
	background-color: #fff;
}

.single-case .case-pair-slide.is-single .case-pair-col:not(.is-empty) {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.single-case .case-pair-slide.is-single .case-pair-col:not(.is-empty) .case-slide-media {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.single-case .case-pair-slide.is-single .case-pair-col:not(.is-empty) .case-slide-img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: auto;
}
.single-case .case-meta {
	max-width: 900px;
	margin: 60px auto 0;
	display: grid;
}
.single-case .case-meta-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	border-bottom: 1px solid #EF7A00;
	flex-direction: column;
}
.case-meta-row .case-meta-ttl {
	padding: 10px;
	color: #EF7A00;
	font-size: 1.6rem;
	line-height: 2;
	max-width: 100%;
	font-weight: 700;
	width: 100%;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: left;
	-ms-flex-align: left;
	align-items: left;
	-webkit-box-pack: left;
	-ms-flex-pack: left;
	justify-content: left;
	padding-bottom: 0;
	padding-left: 0;
}
.case-meta-row .case-meta-body {
	padding: 10px;
	font-size: 1.6rem;
	line-height: 2;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: left;
	-ms-flex-align: left;
	align-items: left;
	-webkit-box-pack: left;
	-ms-flex-pack: left;
	justify-content: left;
	padding-top: 0;
	padding-left: 0;
}
.single-case .topic-row {
	display: flex;
	align-items: stretch;
	width: 100%;
}
.single-case .topic {
	padding-bottom: 20px;
	border-bottom: 1px solid #EF7A00;
}
.single-case .topic-row + .topic-row {
	margin-top: 20px;
}
.single-case .topic-row .case-meta-ttl {
	background-color: #EF7A00;
	color: #fff;
	border-radius: 5px 0 0 5px;
	width: 170px;
	align-content: center;
	text-align: center;
	padding: 15px;
}
.single-case .topic-row .case-meta-body {
	padding: 15px;
	text-align: left;
	background-color: #fff;
	max-width: 100%;
	width: calc(100% - 170px);
	border-radius: 0 5px 5px 0;
}
@media screen and (max-width: 767px) {
	.single-case .case-pair-slide.is-single .case-pair-col.is-empty {
		display: none;
	}
	.single-case .case-pair-slide.is-single .case-pair-col:not(.is-empty) .case-slide-media {
		height: 100%;
	}
	.single-case .case-slide-label {
		top: 5px;
		left: 5px;
		font-size: 1.4rem;
		padding: 5px 15px;
	}
	body.single .post-ttl {
		font-size: 2.2rem;
	}
	.single-case .topic-row .case-meta-ttl {
		width: 120px;
		padding: 10px;
	}
	.single-case .topic-row .case-meta-body {
		width: calc(100% - 120px);
	}
	.case-meta-row .case-meta-ttl,
	.case-meta-row .case-meta-body {
		font-size: 1.4rem;
	}
}

	.archive-card-list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}

	.archive-card-item + .archive-card-item {
		margin-top: 0;
	}
	@media screen and (max-width: 767px) {
		.archive-card-list {
			grid-template-columns: repeat(2, 1fr);
		}
		.archive-card-ttl {
			font-size: 1.6rem;
		}
	}

/* ============================
	contact form
============================ */
#contact #page-mv .mv-inner::after {
	background-image: url(./images/page/contact.png);
	bottom: 0;
	left: 0;
	aspect-ratio: 779 / 665;
	width: 240px;
	height: auto;
}

#contact.section{
	background-color: #FDF6ED;
}
.contact-box {
	padding: 40px 0;
}
.contact-box .required {
	display: inline-block;
	background-color: #e21414;
	color: #fafafa;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1;
	margin-left: 20px;
	padding: 4px 8px;
}
.contact-box .contact-table {
	width: 100%;
	border-collapse: collapse;
}
.contact-box .contact-table th,
.contact-box .contact-table td {
	box-sizing: border-box;
	padding: 22px 0;
	vertical-align: top;
	border-left: none;
	border-right: none;
	border-top: 1px solid #E7E5E3;
}
.contact-box .contact-table tr:last-child th,
.contact-box .contact-table tr:last-child td {
	border-bottom: 1px solid #E7E5E3;
}
.contact-box .contact-table th {
	align-content: center;
}

@media screen and (min-width: 768px) {
	.contact-box .contact-table th {
		width: 28%;
		text-align: left;
		color: #4D4948;
		font-weight: 700;
		padding-right: 30px;
	}
	.contact-box .contact-table td {
		width: 72%;
	}
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box input[type="url"],
.contact-box input[type="number"],
.contact-box textarea {
	width: 100%;
	border: 1px solid #E7E5E3;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 1.6rem;
	line-height: 1.6;
	color: #312C27;
	box-sizing: border-box;
	outline: none;
}

.contact-box input[type="text"]:focus,
.contact-box input[type="email"]:focus,
.contact-box input[type="tel"]:focus,
.contact-box textarea:focus {
	border-color: #EF7A00;
	box-shadow: 0 0 0 3px rgba(239, 122, 0, 0.15);
}

.contact-box .zip {
	width: 150px;
	max-width: 100%;
}

.contact-box .your-address,
.contact-box .your-content,
.contact-box .your-email {
	width: 100%;
}

.contact-box .contact-table .wpcf7-checkbox,
.contact-box .contact-table .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}

.contact-box .contact-table  .wpcf7-list-item {
	margin: 0;
}

.contact-box .contact-table  .wpcf7-list-item label {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
}

.contact-box .contact-table  .wpcf7-list-item label input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.contact-box .contact-table .wpcf7-list-item label .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	border: 1px solid #E7E5E3;
	border-radius: 999px;
	padding: 10px 15px;

	font-weight: 700;
	line-height: 1;
	color: #4D4948;

	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.contact-box .contact-table .wpcf7-list-item label .wpcf7-list-item-label::before {
	display: none;
}

.contact-box .contact-table .wpcf7-list-item label:has(input:checked) .wpcf7-list-item-label {
	border-color: #EF7A00;
	background-color: #EF7A00;
	color: #fff;
}

.contact-box .contact-table .wpcf7-list-item label:hover .wpcf7-list-item-label {
	border-color: #EF7A00;
}

.contact-box .contact-table .wpcf7-list-item label:has(input:focus-visible) .wpcf7-list-item-label {
	box-shadow: 0 0 0 3px rgba(239, 122, 0, 0.15);
}

@media screen and (max-width: 767px) {
	.contact-box .contact-table .wpcf7-list-item label .wpcf7-list-item-label {
		padding: 12px 14px;
	}
}
#consent-box .wpcf7-list-item {
	margin: 0;
}

#consent-box .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
}
#consent-box .wpcf7-list-item input[type="checkbox"] {
	width: 20px;
	height: 20px;
	accent-color: #EF7A00;
	cursor: pointer;
}
#consent-box .wpcf7-list-item-label {
	line-height: 1.6;
}
/* consent checkbox only: custom thin check */
#consent-box .wpcf7-list-item {
	margin: 0;
}

#consent-box .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
	position: relative;
}

/* 本体checkboxは見せず、クリックは残す */
#consent-box .wpcf7-list-item input[type="checkbox"]{
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

/* 代わりの四角 */
#consent-box .wpcf7-list-item label::before{
	content: "";
	width: 20px;
	height: 20px;
	border: 2px solid #EF7A00;
	border-radius: 4px;
	box-sizing: border-box;
	display: inline-block;
	background: transparent;
}
#consent-box .wpcf7-list-item label::after{
	content: "";
	position: absolute;
	left: 7px;
	top: 50%;
	width: 6px;
	height: 12px;
	border-right: 2px solid #EF7A00;
	border-bottom: 2px solid #EF7A00;
	transform: translateY(-55%) rotate(45deg);
	opacity: 0;
}
#consent-box .wpcf7-list-item label:has(input[type="checkbox"]:checked)::after{
	opacity: 1;
}
#consent-box .wpcf7-list-item label:has(input[type="checkbox"]:focus-visible)::before{
	box-shadow: 0 0 0 3px rgba(239, 122, 0, 0.15);
}


/* 注釈 */
.contact-box .form-note {
	margin: 10px 0 0;
	font-size: 1.4rem;
	line-height: 1.7;
	color: rgba(77, 73, 72, 0.75);
}

#consent-box {
	margin-top: 24px;
	text-align: center;
	font-size: 1.4rem;
	color: #4D4948;
}

#consent-box a {
	color: #EF7A00;
	text-underline-offset: 3px;
}

#submit-box .wpcf7-response-output {
	text-align: center;
	margin: 16px 0 0;
}

#btn-submit {
	width: 300px;
	position: relative;
	margin: 30px auto 0;
}

#btn-submit .wpcf7-submit {
	width: 100%;
	background-color: #EF7A00; /* 黒をやめる */
	color: #fff;
	line-height: 1;
	padding: 16px 0;
	border: none;
	border-radius: 10px;
	font-size: 1.8rem;
	font-weight: 700;
	cursor: pointer;
}

#btn-submit .wpcf7-spinner {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin-left: 10px;
}

@media screen and (max-width: 767px) {
	.contact-box {
		padding: 20px 0;
	}

	/* SP：th/td を縦積みに */
	.contact-box .contact-table th,
	.contact-box .contact-table td {
		display: block;
		width: 100%;
		padding: 14px 0;
		text-align: left;
	}
	.contact-box .contact-table td {
		border-top: none;
	}

	#btn-submit {
		width: 100%;
	}
}

/* ============================
	404
============================ */
body.error404 main {
	margin: 100px 0 0;
}
body.error404 #page-mv {
	display: none;
}
#error-404 {
	text-align: center;
	background-color: #FDF6ED;
}
#error-404 h2 {
	text-align: center;
}
#error-404 .content-box p {
  text-align: center;
  margin-top: 30px;
}
@media (max-width: 767px) {
	body.error404 main {
		margin-top: 66px;
	}
}
@media screen and (min-width: 1171px) {
  #sp-menu {
    display: none;
  }

  #btn-hamburger {
    display: none;
  }
}

@media screen and (max-width: 1170px) {
  #h-gnav-box,
  #h-gnav-contact {
    display: none;
  }
  .h-right {
		display: none;
	}
	.mainvisual {
		margin-top: 105px;
	}
}
@media (max-width: 767px) {
	.mainvisual {
		margin-top: 66px;
	}
}
#thanks section.section {
	background-color: #FDF6ED;
}
#thanks section.section .content-box {
	text-align: center;
}
#privacy-policy .privacy {
	background-color: #FDF6ED;
}
#privacy-policy #page-mv .mv-inner::after {
	content: none;
}
#privacy-policy .privacy .content-box + .content-box {
	margin-top: 50px;
}

#privacy-policy .privacy h2 {
	font-size: 2.4rem;
	color: #EF7A00;
	margin-bottom: 20px;
	display: inline-block;
	border-bottom: 2px solid #EF7A00;
	position: relative;
	width: 100%;
	padding-bottom: 10px;
}
#privacy-policy .privacy h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 4px;
	width: 100%;
	height: 4px;
	background: #EF7A00;
}
#privacy-policy .privacy dl {
	margin-top: 20px;
}
#privacy-policy .privacy .privacy-item {
	display: flex;
	gap: 10px;
}
#privacy-policy .privacy .privacy-item + .privacy-item {
	margin-top: 10px;
}
#privacy-policy .privacy .privacy-item dt {
	white-space:nowrap;
	color: #EF7A00;
	font-weight: 700;
}


.post-type-archive-case #page-mv .mv-inner::after ,
.single-case #page-mv .mv-inner::after {
	bottom: -10px;
	background-image: url(./images/top/case_illust.png);
	width: 40%;
	height: auto;
	aspect-ratio: 460 / 67;
}
@media screen and (max-width: 767px) {
	.post-type-archive-case #page-mv .mv-inner::after ,
	.single-case #page-mv .mv-inner::after {
		content: none;
	}
}


.post-type-archive-blog #page-mv .mv-inner::after ,
.single-blog #page-mv .mv-inner::after {
	bottom: 0;
	background-image: url(./images/common/pc.png);
	width: 240px;
	left: 9%;
	height: auto;
	aspect-ratio: 1482 / 1150;
}
@media screen and (max-width: 767px) {
	.post-type-archive-blog #page-mv .mv-inner::after ,
	.single-blog #page-mv .mv-inner::after {
		content: none;
	}
}

@media (max-width: 767px) {
	#page-mv.mainvisual--inner .mv-right {
		display: none !important;
	}
	#page-mv.mainvisual--inner {
		padding: 40px 0;
	}
}


