:root {
  --color-brown: #40200f;
  --color-orange: #f9791d;
  --color-text: #313131;
  --color-cream: #fdf9ee;
  --font-sans: "Noto Sans JP", sans-serif;
}

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

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.l-contact-container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.p-contact-intro {
  padding-block: 92px 80px;
  background: #fff;
}

.p-contact-intro__title {
  position: relative;
  margin: 0;
  padding-bottom: 28px;
  color: var(--color-brown);
  font-size: clamp(32px, 9vw, 36px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.055em;
  text-align: center;
}

.p-contact-intro__title::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 54px;
  height: 3px;
  background: var(--color-orange);
  content: "";
  transform: translateX(-50%);
}

.p-contact-intro__text {
  display: grid;
  gap: 8px;
  max-width: 925px;
  margin: 44px auto 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 350;
  line-height: 1.92;
  text-align: center;
}

.p-contact-intro__text p {
  margin: 0;
}

.p-contact-phone {
  position: relative;
  display: grid;
  justify-items: center;
  max-width: 571px;
  margin: 76px auto 0;
  padding: 58px 20px 32px;
  border-radius: 16px;
  background: var(--color-cream);
}

.p-contact-phone__label {
  position: absolute;
  top: -28px;
  left: 50%;
  display: grid;
  place-items: center;
  min-width: 182px;
  min-height: 61px;
  margin: 0;
  padding: 12px 28px;
  border: 1px solid #ec6d7b;
  border-radius: 999px;
  background: #fff;
  color: #2b2b2b;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transform: translateX(-50%);
}

.p-contact-phone__main,
.p-contact-phone__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.p-contact-phone__icon {
  flex: 0 0 auto;
  width: clamp(34px, 8vw, 48px);
}

.p-contact-phone__icon--sub {
  width: 36px;
}

.p-contact-phone__number {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-contact-phone__number:hover,
.p-contact-phone__number:focus-visible {
  opacity: 0.78;
  transform: translateY(-1px);
}

.p-contact-phone__number:focus-visible {
  outline: 3px solid rgba(249, 121, 29, 0.35);
  outline-offset: 5px;
}

.p-contact-phone__number--main {
  color: var(--color-orange);
  font-size: clamp(34px, 9vw, 48px);
}

.p-contact-phone__time {
  margin: 22px 0 0;
  color: #2b2b2b;
  font-size: 13px;
  font-weight: 350;
  line-height: 1.8;
  text-align: center;
}

.p-contact-phone__person {
  margin: 30px 0 0;
  color: #2b2b2b;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
}

.p-contact-phone__sub {
  margin-top: 8px;
  gap: 10px;
}

.p-contact-phone__number--sub {
  color: #626262;
  font-size: clamp(27px, 7vw, 32px);
}

@media (min-width: 768px) {
  .p-contact-intro {
    padding-block: 182px 80px;
  }

  .p-contact-intro__text {
    margin-top: 44px;
    font-size: 16px;
  }

  .p-contact-intro__text p:nth-child(3) {
    margin-top: 22px;
  }

  .p-contact-phone {
    margin-top: 76px;
    padding-block: 56px 32px;
  }
}
.essential {
    color: #ffffff;
    padding: 6px 6px 8px;
    background-color: #FA3A3A;
    font-size: 12px;
    border-radius: 6px;
    float: right;
}

.contact .sec1 {
	margin: 0rem auto 10rem;
  width: min(100% - 40px, 1000px);
}
.contact .sec1 .block {
	margin-bottom: 3rem;
	text-align: center;
}
.contact .sec1 .block p{
	line-height: 2rem;
}
.contact .sec1 table.tb2 {
	border-top: 1px solid #838383;
	width: 100%;
	margin-bottom: 4px;
    border-collapse: collapse;
    border-spacing: 0;
  }
.contact .sec1 table.tb2 th{
	width: 28%;
	padding: 1.5rem 0.5rem;
	box-sizing: border-box;
	vertical-align: middle;
	text-align: left;
	font-weight: 400;
	border-bottom: 1px solid #838383;
}
.contact .sec1 table.tb2 th p,
.contact .sec1 table.tb2 td p{
	margin: 0;
}
.contact .sec1 table.tb2 td{
	width: 72%;
	padding: 0.5rem 0rem 0.5rem 0.5rem;
	box-sizing: border-box;
	vertical-align: middle;
	line-height: 1.8;
	border-bottom: 1px solid #838383;
	text-wrap: auto;
}
.contact .sec1 table.tb2 td .wpcf7-list-item{
	display: block;
	color: #333333;
}
.contact .sec1 table td input[type="checkbox"],
.contact .sec1 table td input[type="radio"]{
	margin-right: 0.5rem;
	vertical-align: baseline;
}
.contact .sec1 table td input[type="text"],
.contact .sec1 table td input[type="email"],
.contact .sec1 table td input[type="url"],
.contact .sec1 table td #zip,
.contact .sec1 table td .email,
.contact .sec1 table td select,
.contact .sec1 table td textarea{
	border-radius: 5px;
	background: #F4F4F4;
	padding: 1rem;
	border: none;
	font-size: 18px;
	box-sizing: border-box;
	color:#333333;
}
.contact input::placeholder {
  color: #B7B7B7;
}
.contact .sec1 table td textarea{
	height: 250px;
	margin-bottom: -0.7rem;
}
.contact .sec1 table td select{
	width: 100%;
}
.contact .sec1 table td p{
	margin: 0;
	color: #9A572A;
}
.contact .sec1 table td .wd100{
	width: 100%;
}
.form_btn_sec{
	margin: 2rem 0;
	text-align: center;
	width: 100%;
}
.form_btn_sec .cta_btn{
	display: block;
	width: 500px;
	margin: 2rem auto;
	color: #fff;
	background: #FA7B1E;
	text-align: center;
	letter-spacing: 0.135rem;
	font-weight: 600;
	transition-duration:0.3s;
	padding: 1.8rem 1rem;
	box-sizing: border-box;
	border: none;
	border-radius: 8px;
  font-size: clamp(18px, 5vw, 24px);
}
.form_btn_sec .cta_btn:hover{
	text-decoration: none;
	background: #e2c102;
	transition-duration:0.3s;
}
@media screen and (max-width: 640px) {
  	.contact .page_ttl h2 img{
		max-width: 50%;
	}
	.contact .sec1 .block1 .box {
		width: 100%;
	}
	.contact .sec1 .block1 .box .step1 {
		font-size: 4vw;
		padding: 35px 0;
		min-width: 28%;
	}
	.contact .sec1 .block1 .box .step2 {
		font-size: 4vw;
		padding: 35px 0;
		min-width: 28%;
	}
	.contact .sec1 .block1 .box .step3 {
		font-size: 4vw;
		padding: 35px 0;
		min-width: 28%;
	}
	.contact_form .mw_wp_form input,
	.contact_form .mw_wp_form select,
	.contact_form .mw_wp_form textarea{
		font-size: 16px;
		padding: 8px;
	}
	.contact .sec1 table.tb2 th{
		width: 100%;
		display: block;
		box-sizing: border-box;
		padding: 1.5rem 0.5rem 1.5rem;
		border-bottom: 0px solid #838383;
	}
	.contact .sec1 table.tb2 td{
		width: 100%;
		display: block;
		box-sizing: border-box;
		padding: 0rem 0rem 0.5rem 0.5rem;
	}
	.form_btn_sec .cta_btn{
		width: 100%;
	}
  .p-contact-phone__main, 
  .p-contact-phone__sub {
    align-items: flex-start;
  }
}