.p-top_mv {
  position: relative;
  background-color: rgba(0, 0, 0, 0.8);
}
.slider {
  position: absolute;
  filter: brightness(.8);
}
.p-mv_box01 {
  background: url(../img/top_mv01.webp) no-repeat center;
  aspect-ratio: 1920/910;
  background-size: cover;
}
.p-mv_box02 {
  background: url(../img/top_mv02.webp) no-repeat center;
  aspect-ratio: 1920/910;
  background-size: cover;
}
.p-mv_box03 {
  background: url(../img/top_mv03.webp) no-repeat center;
  aspect-ratio: 1920/910;
  background-size: cover;
}

.p-top_ttl {
  position: absolute;
  top: calc(441 / 1920 * 100vw);
  left: calc(248 / 1920 * 100vw);
}
.p-top_ttl h1 {
  font-size: min(calc(60 / 1920 * 100vw), 6rem);
  color: #fff;
  line-height: 1.6;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}
.p-top_ttl p {
  font-size: min(calc(30 / 1920 * 100vw), 6rem);
  color: #fff;
}
.p-top__about {
  position: relative;
  background: url(../img/bg_y.webp) no-repeat;
  background-size: cover;
  padding: calc(72 / 1920 * 100vw) 0 calc(161 / 1920 * 100vw);
  display: flex;
  justify-content: space-between;
}
.t-about_img {
  width: calc(1088 / 1920 * 100vw);
  position: relative;
}

.t-about_lead {
  background-color: rgba(255, 255, 255, 0.9);
  padding: calc(58 / 1920 * 100vw) calc(48 / 1920 * 100vw);
  position: absolute;
  top: calc(400 / 1920 * 100vw);
  left: calc(763 / 1920 * 100vw);
}
.t-about_lead p {
  width: calc(689 / 1920 * 100vw);
  line-height: 1.9;
}
.t-about_ttl {
  width: calc(158 / 1920 * 100vw);
  margin-right: calc(180 / 1920 * 100vw);
}

.p-top__point {
  background: url(../img/bg_w.webp);
  background-size: cover;
  padding: calc(110 / 1920 * 100vw) 0 calc(185 / 1920 * 100vw);
}
.t-point_bg {
  background-color: #65431e;
  width: calc(1755 / 1920 * 100vw);
  aspect-ratio: 1755/668;
  position: absolute;
}

.t-point_ttl {
  width: calc(351 / 1920 * 100vw);
  margin: 0 auto;
}
.t-point_txt-ttl {
  display: flex;
  align-items: center;
}
.t-point_flex {
  display: flex;
  background-color: #fff;
  width: calc(1645 / 1920 * 100vw);
  margin: calc(78 / 1920 * 100vw) calc(30 / 1920 * 100vw)
    calc(172 / 1920 * 100vw) auto;
  justify-content: space-between;
  position: relative;
  top: calc(78 / 1920 * 100vw);
  padding: calc(15 / 1920 * 100vw) calc(57 / 1920 * 100vw)
    calc(76 / 1920 * 100vw) calc(93 / 1920 * 100vw);
  box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.4);
}
.t-point_txt-ttl img {
  width: calc(189 / 1920 * 100vw);
}
.t-point_txt-ttl h3 {
  font-size: min(calc(40 / 1920 * 100vw), 4rem);
  margin-left: calc(44 / 1920 * 100vw);
}
.t-point_lead {
  margin-top: calc(80 / 1920 * 100vw);
  margin-left: calc(90 / 1920 * 100vw);
}
.t-point_lead p {
  width: calc(717 / 1920 * 100vw);
  line-height: 1.9;
}
.t-point_img {
  width: calc(700 / 1920 * 100vw);
  margin: calc(110 / 1920 * 100vw) 0 0;
}
.t-point_box02 .t-point_bg {
  right: 0;
}
.t-point_box02 .t-point_flex {
  flex-direction: row-reverse;
  margin: calc(78 / 1920 * 100vw) auto calc(172 / 1920 * 100vw)
    calc(30 / 1920 * 100vw);
}

.t-point_flex:nth-of-type(3) {
  margin-bottom: 0;
}

.p-top__business {
  background: url(../img/bg_y.webp) no-repeat;
  background-size: cover;
  padding: calc(72 / 1920 * 100vw) 0 calc(161 / 1920 * 100vw);
}
.t-business_inner {
  max-width: calc(1280 / 1920 * 100vw);
  margin: 0 auto;
}
.t-business_flex {
  display: flex;
  align-items: center;
  gap: calc(120 / 1920 * 100vw);
}
.t-business_ttl {
  width: calc(157 / 1920 * 100vw);
}
.t-business_list ul {
  margin: calc(52 / 1920 * 100vw) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(30 / 1920 * 100vw);
}
.p-top__work {
  background: url(../img/bg_w.webp) no-repeat;
  padding: calc(156 / 1920 * 100vw) 0 calc(100 / 1920 * 100vw);
}
.t-work_ttl {
  width: calc(351 / 1920 * 100vw);
  margin: 0 auto;
}

.gallery-slider {
  width: 100%;
  margin: 0 auto;
}
.gallery-slider {
  margin: 60px 0 0;
}
.gallery-slider li {
  margin-right: 20px; /* 右側の余白を20pxに設定 */
}
.gallery-slider img {
  width: 100%; /* 画像を親要素に合わせる */
  display: block;
}
.p-top__company {
  background: url(../img/bg_w.webp) no-repeat;
  background-size: cover;
  padding: calc(100/1920*100vw) 0  0;
}

.t-company__ttl {
  width: calc(351 / 1920 * 100vw);
  margin: 0 auto;
}
.t-company__inner {
  max-width: calc(1280 / 1920 * 100vw);
  margin: 0 auto;
}
.t-company__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: calc(192 / 1920 * 100vw);
  margin-top: calc(100/1920*100vw);
}
.t-company__flex img {
  width: calc(616 / 1920 * 100vw);
}
.t-company__box dl {
  display: flex;
  font-size: min(calc(18 / 1920 * 100vw), 1.8rem);
  border-bottom: solid 1px #cccccc;
  padding: calc(20 / 1920 * 100vw);
  font-weight: 700;
}
.t-company__box dt {
  width: calc(180 / 1920 * 100vw);
}
.map {
  aspect-ratio: 1920/467;
}
@media screen and (max-width: 768px) {
  .p-mv_box01 {
    background: url(../img/top_mv01_sp.webp) no-repeat center;
    aspect-ratio: 430/720;
    background-size: cover;
  }
  .p-mv_box02 {
    background: url(../img/top_mv02_sp.webp) no-repeat center;
    aspect-ratio: 430/720;
    background-size: cover;
  }
  .p-mv_box03 {
    background: url(../img/top_mv03_sp.webp) no-repeat center;
    aspect-ratio: 430/720;
    background-size: cover;
  }
  .p-top_ttl h1 {
    font-size: 3.5rem;
  }
  .p-top_ttl p {
    font-size: 2rem;
  }
  .p-top_ttl {
    left: calc(15 / 440 * 100vw);
    top: calc(300 / 440 * 100vw);
  }
  .p-top__about {
    padding: 45px 4% 80px;
    display: block;
  }
  .t-about_ttl {
    width: auto;
    margin-right: unset;
    margin-bottom: 30px;
  }
  .t-about_lead {
    position: static;
    padding: 35px 15px;
  }
  .t-about_img {
    width: auto;
  }
  .t-about_lead p {
    width: auto;
  }
  .t-point_bg {
    width: 100%;
    aspect-ratio: 440/821;
  }
  .p-top__point {
    padding: 95px 0 45px;
    background-size: contain;
  }
  .t-point_ttl {
    width: 306px;
  }
  .t-point_flex {
    display: block;
    padding: 20px 15px 70px;
    margin: 110px 0 90px 4%;
    width: auto;
    top: calc(40 / 440 * 100vw);
  }
  .t-point_img {
    width: auto;
  }
  .t-point_txt-ttl img {
    width: 120px;
    margin: 0 auto;
  }
  .t-point_lead {
    margin: 50px 0 0px;
  }
  .t-point_lead h3 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
  }
  .t-point_lead p {
    width: auto;
  }
  .t-point_box02 .t-point_flex {
    margin: 110px 4% 90px 0%;
  }
  .t-point_box02 .t-point_lead h3 {
    text-align: left;
  }
  .p-top__business {
    padding: 90px 4% 110px;
  }
  .t-business_inner {
    max-width: unset;
  }
  .t-business_flex {
    display: block;
  }
  .t-business_ttl {
    width: 310px;
    margin: 0 auto 70px;
  }
  .t-business_list ul {
    display: block;
    margin: 60px 0 0;
  }
  .t-business_list ul li {
    margin-bottom: 30px;
  }
  .t-work_ttl {
    width: 310px;
    margin: 0 auto;
  }
  .p-top__company {
    padding: 100px 0 0;
  }
  .t-company__inner {
    max-width: unset;
  }
  .t-company__ttl {
    width: 310px;
    margin: 0 auto;
  }
  .t-company__flex {
    display: block;
    padding: 0 4% 110px;
  }
  .t-company__box dl {
    display: block;
    font-size: 1.8rem;
    padding: 0;
  }
  .t-company__box dt {
    width: auto;
    border-bottom: solid #ccc 1px;
    padding: 20px 0;
  }
  .t-company__box dd {
    margin: unset;
    padding: 20px 0;
  }
  .t-company__flex img {
    width: auto;
  }

  .map {
    aspect-ratio: 440/323;
  }
}

/* ----------------
business
-------------------*/
.mv {
  background: url(../img/mv.webp) no-repeat;
  background-size: cover;
  aspect-ratio: 1920/477;
  position: relative;
}
.p-business__ttl {
  background-color: #c39143;
  width: calc(527 / 1920 * 100vw);
  padding: calc(13 / 1920 * 100vw) 0;
  position: absolute;
  bottom: calc(-60 / 1920 * 100vw);
  left: 50%;
  transform: translate(-50%, 0);
  color: #fff;
  border-radius: 100px;
  box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.8);
}

.p-business__ttl h3 {
  font-size: min(calc(50 / 1920 * 100vw), 5rem);
  text-align: center;
}
.p-business__ttl p {
  font-size: min(calc(30 / 1920 * 100vw), 3rem);
  text-align: center;
}

.p-business {
  background: url(../img/bg_y.webp);
  background-size: cover;
}
.p-business__inner {
  max-width: 1410px;
  margin: 0 auto;
  width: 90%;
  padding: calc(145 / 1920 * 100vw) 0 0;
}
.point_ttl {
  width: calc(351 / 1920 * 100vw);
  margin: 0 auto;
}
.point_txt-ttl {
  display: flex;
  align-items: center;
}
.point_box {
  margin-bottom: calc(100 / 1920 * 100vw);
}
.point_flex {
  display: flex;
  background-color: #fff;
  justify-content: space-between;
  padding: calc(15 / 1920 * 100vw) calc(70 / 1920 * 100vw)
    calc(76 / 1920 * 100vw);
  box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.4);
  gap: calc(30 / 1920 * 100vw);
}
.point_txt-ttl img {
  width: calc(189 / 1920 * 100vw);
}
.point_txt-ttl h3 {
  font-size: min(calc(40 / 1920 * 100vw), 4rem);
  margin-left: calc(44 / 1920 * 100vw);
}
.point_lead {
  margin-top: calc(80 / 1920 * 100vw);
}
.point_lead p {
  width: calc(640 / 1920 * 100vw);
  line-height: 1.9;
}
.point_img {
  width: calc(700 / 1920 * 100vw);
  margin: calc(110 / 1920 * 100vw) 0 0;
}
.point_box02 .t-point_bg {
  right: 0;
}
.point_box02 .point_flex {
  flex-direction: row-reverse;
  margin: calc(78 / 1920 * 100vw) auto calc(172 / 1920 * 100vw)
    calc(30 / 1920 * 100vw);
}

.t-point_flex:nth-of-type(3) {
  margin-bottom: 0;
}

.point_box01 .point_lead p {
  width: auto;
}
.p-business__area {
  padding: calc(330 / 1920 * 100vw) 0;
}
.p-business__area--ttl {
  width: calc(350 / 1920 * 100vw);
  margin: 0 auto;
}
.p-business__area--box {
  margin: calc(106 / 1920 * 100vw) 0 0;
}
.p-business__area--box p {
  line-height: 2;
  width: calc(1200 / 1920 * 100vw);
  margin: 0 auto;
}
.p-business__area--box img {
  width: calc(912 / 1920 * 100vw);
  margin: calc(60 / 1920 * 100vw) auto 0;
}
@media screen and (max-width: 768px) {
  .mv {
    aspect-ratio: 440/560;
    background: url(../img/mv_sp.webp) no-repeat center;
    background-size: cover;

  }
  .p-business {
    background-size: contain;
  }
  .p-business__ttl {
    width: 250px;
    padding: 5px 0;
    bottom: -32px;
  }
  .p-business__ttl h3 {
    font-size: 2rem;
  }
  .p-business__ttl p {
    font-size: 1.8rem;
  }
  .point_txt-ttl img {
    width: 120px;
    margin: 0 auto;
  }
  .point_img {
    width: auto;
  }
  .point_flex {
    padding: 20px 15px 70px;
    margin: 110px 0 0px;
  }

  .point_lead p {
    width: auto;
  }
  .point_lead h3 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  .p-business__area--ttl {
    width: 350px;
  }
  .p-business__area--box {
    margin: 60px 0 0;
  }
  .p-business__area--box p {
    width: auto;
  }
  .p-business__area--box img {
    width: auto;
    margin: 40px auto 0;
  }
}
/* -----------------
works
---------------------*/
.p-works__bg {
  background: url(../img/bg_y.webp) no-repeat;
  background-size: cover;
  padding: calc(145 / 1920 * 100vw) 0 0;
}
.p-works__inner {
  background: url(../img/bg_w.webp);
  background-size: cover;
  padding: 0 0 calc(352 / 1920 * 100vw);
}
.p-works__post {
  background-color: #fff;
  padding: calc(100 / 1920 * 100vw) calc(42 / 1920 * 100vw);
  max-width: calc(1280 / 1920 * 100vw);
  margin: 0 auto;
}
.p-works__post ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(30 / 1920 * 100vw);
}
.post_date {
  font-size: min(calc(14 / 1920 * 100vw), 1.4rem);
}
.post_ttl {
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .p-works__post ul {
    display: block;
  }
  .p-works__bg {
    padding: 60px 0 0;
  }
  .p-works__inner {
    padding: 0 4% 100px;
  }
  .p-works__post {
    padding: 60px 4%;
    max-width: unset;
  }
  .post_date {
    font-size: 1.2rem;
  }
  .post_ttl {
    line-height: 1.6;
  }
  .post_lead {
    font-size: 1.6rem;
  }
}
/* -----------
works_detail
---------------*/
.contents {
  background: url(../img/bg_w.webp);
  background-size: cover;
}
.works-detail {
  padding: calc(145 / 1920 * 100vw) 0 calc(80 / 1920 * 100vw);
  max-width: calc(1280 / 1920 * 100vw);
  margin: 0 auto;
}
.works-detail .ttl-block {
  position: relative;
  padding: calc(50 / 1920 * 100vw) 0 calc(22 / 1920 * 100vw);
  line-height: 1.4;
}
.works-detail .txt-block {
  padding: calc(24 / 1920 * 100vw) 0 calc(42 / 1920 * 100vw);
}
.works-detail .ttl-block .date {
  padding: 0 0 4px;
  font-weight: 500;
  letter-spacing: 0;
}
.works-detail .ttl-block .works-title {
  font-weight: 700;
  font-size: min(calc(28 / 1920 * 100vw), 2.8rem);
}
@media screen and (max-width: 768px) {
  .works-detail {
    padding: 60px 4% 40px;
    max-width: unset;
  }
  .works-detail .ttl-block .date {
    font-size: 1.4rem;
  }
  .works-detail .ttl-block .works-title {
    font-size: 2rem;
  }
  .works-detail .txt-block {
    padding: 24px 0 42px;
  }
}
/* ----------------
company
---------------------*/
.p-company__bg {
  background: url(../img/bg_y.webp) no-repeat;
  background-size: cover;
  padding: calc(145 / 1920 * 100vw) 0 0;
}
.p-company__bg--inner {
  background: url(../img/bg_w.webp);
  background-size: cover;
  padding: calc(135 / 1920 * 100vw) 0 calc(550 / 1920 * 100vw);
}

.p-greet__ttl,
.p-company__ttl,
.p-access__ttl {
  width: calc(350 / 1920 * 100vw);
  margin: 0 auto;
}
.p-greet {
}
.greet-txt {
  margin: calc(100 / 1920 * 100vw) auto;
}
.greet-txt,
.p-company__box {
  max-width: 1000px;
  width: 90%;
}
.greet-txt h3 {
  text-align: right;
  font-size: min(calc(30 / 1920 * 100vw), 3rem);
}
.p-company {
  margin-top: calc(150 / 1920 * 100vw);
}
.p-company__box {
  margin: calc(100 / 1920 * 100vw) auto calc(150 / 1920 * 100vw);
}
.p-company__box dl {
  display: flex;
  font-size: min(calc(18 / 1920 * 100vw), 1.8rem);
  padding: calc(20 / 1920 * 100vw) 0;
  border-bottom: solid 1px #ccc;
}
.p-company__box dt {
  width: calc(452 / 1920 * 100vw);
}
.p-access__address {
  display: flex;
  align-items: center;
  margin: calc(100 / 1920 * 100vw) auto calc(40 / 1920 * 100vw);
  gap: calc(10 / 1920 * 100vw);
  width: calc(467 / 1920 * 100vw);
}
.p-access__address img {
  width: calc(30 / 1920 * 100vw);
}
.p-access__bus {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: calc(10 / 1920 * 100vw);
}
.p-access__bus img {
  width: calc(34 / 1920 * 100vw);
}
.p-access .map {
  width: calc(970 / 1920 * 100vw);
  aspect-ratio: 970/467;
  margin: calc(80 / 1920 * 100vw) auto 0;
}
@media screen and (max-width: 768px) {
  .p-company__bg {
    padding: 60px 0 0;
  }
  .p-company__bg--inner {
    padding: 60px 0 100px;
  }
  .greet-txt {
    margin: 40px auto;
  }
  .p-greet__ttl,
  .p-company__ttl,
  .p-access__ttl {
    width: 350px;
  }
  .greet-txt h3 {
    font-size: 3rem;
  }
  .p-company {
    margin-top: 60px;
  }
  .p-company__box {
    margin: 32px auto 60px;
  }
  .p-company__box dl {
    display: block;
    font-size: 1.8rem;
    padding: 0;
  }
  .p-company__box dt {
    width: auto;
    border-bottom: solid #ccc 1px;
    padding: 20px 0;
  }
  .p-company__box dd {
    margin: unset;
    padding: 20px 0;
  }
  .p-access__box {
    padding: 0 4%;
  }
  .p-access__address {
    width: auto;
    margin: 60px auto 40px;
  }
  .p-access__address img {
    width: 20px;
  }
  .p-access__bus img {
    width: 24px;
  }
  .p-access .map {
    width: auto;
    aspect-ratio: 440/300;
  }
}
/* ---------------
contact
-----------------*/
.p-contact {
  background: url(../img/bg_y.webp);
  background-size: cover;
  padding: calc(150 / 1920 * 100vw) 0 calc(150 / 1920 * 100vw);
}
.p-contact__ttl {
  width: calc(350 / 1920 * 100vw);
  margin: 0 auto;
}
.contact_lead {
  margin: calc(80 / 1920 * 100vw) auto calc(60 / 1920 * 100vw);
  text-align: center;
}
.contact_lead p {
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
  font-weight: 500;
  margin: calc(48 / 1920 * 100vw) auto 0;
  width: calc(1196 / 1920 * 100vw);
}
.contact_form {
  margin: 60px auto 0;
  max-width: calc(773 / 1920 * 100vw);
  position: relative;
}
.contact_form::after {
  content: "";
  border-right: solid 1px #000;
  height: calc(610 / 1920 * 100vw);
  position: absolute;
  top: 0;
  left: calc(293 / 1920 * 100vw);
}
.form-group {
  display: flex;
  margin-bottom: calc(10 / 1920 * 100vw);
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px #000;
  padding-bottom: calc(10 / 1920 * 100vw);
}
.no-border {
  border-bottom: unset;
  align-items: flex-start;
}
.form-label {
  width: 43%;
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
  display: flex;
  position: relative;
  margin-right: calc(30 / 1920 * 100vw);
}

.form-label p {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.required {
  width: 67px;
  padding: 3px 0px;
  color: #ff0000;
  display: block;
  text-align: center;
  margin: 0 0 0 auto;
  font-size: 1.6rem;
}
.form-input {
  width: calc(527 / 1920 * 100vw);
}
.radio .form-input {
  display: flex;
  gap: calc(60 / 1920 * 100vw);
}
.radio label,
.check label {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}
.form-input input[type="radio"],
.form-input input[type="checkbox"] {
  margin-right: 6px;
  width: 18px;
}

.form-input input,
.form-input textarea {
  width: 95%;
  border: solid #999 1px;
  height: 27px;
  padding: 10px;
  border-radius: 5px;
  background-color: #f5f5f5;
}
.form-input textarea {
  height: 249px;
}
.contact-txt {
  margin: 27px 0 0;
}
.btn_submit {
  text-align: center;
  margin: calc(80 / 1920 * 100vw) auto;
  border-radius: 50px;
}
.btn_submit input {
  border: unset;
  background-color: unset;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
}
.wpcf7-spinner {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .p-contact {
    background-size: contain;
    padding: 100px 0;
  }
  .p-contact__ttl{
    width: 350px;
  }
 
  .contact_lead {
    margin: 80px 4% 60px;
  }
  .contact_lead h3 {
    font-size: 2rem;
    line-height: 1.6;
  }
  .contact_lead p {
    font-size: 1.6rem;
    width: auto;
    margin-top: 40px;
    line-height: 1.6;
  }
  .p-contact h1 {
    font-size: 2.4rem;
  }
  .form-group {
    display: block;
    margin-bottom: 20px;
    border-bottom: unset;
  }
  .form-input {
    width: auto;
  }
  .form-label {
    font-size: 1.6rem;
    width: auto;
    margin: 0 0 10px;
  }
  .contact_form {
    margin: 60px 4%;
    max-width: unset;
  }
  .btn_submit input {
    font-size: 2rem;
  }
  .required {
    margin-left: 10px;
  }
  .form-label p {
    align-items: center;
    width: auto;
  }
  .form-input input,
  .form-input textarea {
    width: 94%;
  }
  .contact_form::after {
    border: unset;
  }
}
