@charset "utf-8";

/* ===========メインビジュアル========== */
.main_visual {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 0;
}

@media (max-width: 768px) {
  .main_visual {
  /* height: 70vh; */
  height: 50vh;
}
}

/*フェードイン */
@keyframes zoomUp {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

.swiper_main {
  overflow: hidden;
  height: 100vh;
}
@media (max-width: 768px) {
  .swiper_main {
  /* height: 70vh; */
    height: 50vh;
}
}
.swiper-slide-active .swiper-img.main,
.swiper-slide-duplicate-active .swiper-img.main,
.swiper-slide-prev .swiper-img.main {
  animation: zoomUp 7s linear 0s normal both;
  overflow: hidden;
}

.swiper-slide.main img {
  min-height: 100vh;
  width: 100%;
}
@media (max-width: 768px) {
  .swiper-slide.main img {
  min-height:50vh;
}
}

.main_visual_text {
  position: absolute;
  left: 40px;
  bottom: 60px;
  color: var(--color-white);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  z-index: 2;
}

@media (max-width: 768px) {
  .main_visual_text {
    left: 20px;
    bottom: 75px;
    font-size: 24px;
  }
}


.gradation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 21vh;
  z-index: 1;
  background-image: linear-gradient(transparent 0%, #282828 100%);
}

.scroll-container {
  position: absolute;
  bottom: 28px;
  right: 0;
  left: 0;
  margin: auto 0;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .scroll-container {
    bottom: 33px;
    left: 20px;
    right: auto;
    margin: 0;
  }
}

.scroll {
  color: #fff;
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 768px) {
.scroll {
  font-size: 12px;
}
}

.scroll_inner {
display: inline-block;
  transform: translate(0, 120%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;

}
/* scroll 文字 アニメーショn */
.scroll.-visible .scroll_inner {
    transform: translate(0, 0);
}

.scroll .scroll_inner:nth-child(2) {
  transition-delay: 0.06s;
}
.scroll .scroll_inner:nth-child(3) {
  transition-delay: 0.12s;
}
.scroll .scroll_inner:nth-child(4) {
  transition-delay: 0.18s;
}
.scroll .scroll_inner:nth-child(5) {
  transition-delay: 0.24s;
}
.scroll.scroll_inner:nth-child(6) {
  transition-delay: 0.3s;
}


/* ===========NEWS お知らせ========== */

.news_main_container {
  display: flex;
  /* justify-content: space-between; */
  align-items: first baseline;
  gap: 168px;
}

@media (max-width: 1020px) {
  .news_main_container {
    flex-direction: column;
    gap: 40px;
  }
}

.news_left_container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 160px;
}

@media (max-width: 1020px) {
  .news_left_container {
    display: contents;
  }
}

.section_title_container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 1020px) {
  .section_title_container {
    text-align: center;
    order: 1;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section_title_container {
    gap: 4px;
  }
}

.section_title {
  font-family: var(--font-lato);
  font-weight: 700;
  /* font-size: 48px; */
  font-size: clamp(28px, 3.428571428571429vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .section_title {
    font-size: 40px;
  }
}

.section_title_jp {
  color: var(--color-black);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  /* text-align: center; */

}

@media (max-width: 768px) {
  .section_title_jp {
    font-size: 16px;
  }
}

.to_archive_btn {
  color: var(--color-black);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  vertical-align: middle;
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid var(--color-black);
  max-width: 160px;
  transition: background-color .4s ease, color .4s ease;
}

@media (max-width: 1020px) {
  .to_archive_btn {
    order: 3;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .to_archive_btn {
    font-size: 15px;
    padding: 8px 24px;
    margin: 0 auto;
    font-size: 14px;
  }
}

.to_archive_btn:hover {
  color: var(--color-white);
  background-color: var(--color-black);
}

.home_news {
  width: calc(100% - 160px - 168px);
  padding-top: 9px;
}


@media (max-width: 1020px) {
  .home_news {
    max-width: none;
    width: 100%;
    padding-top: 0;
    order: 2;
  }
}

.news_content {
  border-top: 1px solid hsla(0, 0%, 86%, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.news_content::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-lite-gray);
  transition: transform 0.6s ease;
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
}

.news_content:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.news_content:last-child {
  border-bottom: 1px solid hsla(0, 0%, 86%, 1);
}

.news_link {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding: 20px 24px 20px 20px;
  width: 100%;
}

@media (max-width: 768px) {

  .news_link {
    font-size: 14px;
    padding: 12px 16px 12px 16px;
  }
}

.news_date {
  font-size: 12px;
  letter-spacing: 0;
}

.news_title {
  max-width: 500px;
    margin-top: 4px;
}

@media (max-width: 1150px) {
  .news_title {
    max-width: 400px;
  }
}

@media (max-width: 1040px) {
  .news_title {
    max-width: 350px;
  }
}

@media (max-width: 1020px) {
  .news_title {
    max-width: 600px;
  }
}

@media (max-width: 900px) {
  .news_title {
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .news_title {
    max-width: 400px;
  }
}

@media (max-width: 550px) {
  .news_title {
    max-width: 300px;
  }
}

@media (max-width: 445px) {
  .news_title {
    max-width: 254px;
  }
}


/* NEWS 矢印アイコン */
.icon-arrow {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 24px;
  bottom: 0;
  width: 24px;
  margin: auto 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .icon-arrow {
    right: 4px;
  }
}

.icon-arrow:before,
.icon-arrow:after {
  content: url(../img/top/news_arrow.svg);
  position: absolute;
  top: 40%;
  right: 0;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
}

@media (max-width: 768px) {

  .icon-arrow:before,
  .icon-arrow:after {
    top: 36%;
  }
}

.icon-arrow:after {
  transform: translateX(-100%);
}

.news_content:hover .icon-arrow:before {
  animation-name: transformRightLeft;
  /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0s;
}

.news_content:hover .icon-arrow:after {
  animation-name: transformLeftRight;
  /* 修正: hover時のアニメーションを指定 */
  animation-delay: 0.2s;
}

@keyframes transformLeftRight {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes transformRightLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}


/* ===========WORKS 施工事例========== */
.works {
  padding-bottom: 160px;
}

@media (max-width: 768px) {
  .works {
    padding-bottom: 80px;
  }
}

.section_title_container.works_title_container {
  align-items: center;
}

.works_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1118px;
  margin-top: 40px;
}

.works_type {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-black);
}

@media (max-width: 768px) {
  .works_type {
    margin: 0 auto;
    padding-bottom: 8px;
  }
}

.works_type_title {
  font: var(--font-lato);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .works_type_title {
    font-size: 22px;
  }
}

.works_type_title_jp {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5%;
  text-align: right;
}

@media (max-width: 768px) {
  .works_type_title_jp {
    font-size: 14px;
  }
}

.works_content_container {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 19px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .works_content_container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px 12px;
  }
}

.works_content_wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.works_content_wrapper:nth-child(n+4) {
  display: none;
}

@media (max-width: 768px) {
  .works_content_wrapper:nth-child(n+4) {
    display: block;
  }
}

.works_img {
  overflow: hidden;
  width: 100%;
  display: block;
  aspect-ratio: 360 / 240;
}

.works_img img {
  height: auto;
  transition: transform .6s ease;
  /* ゆっくり変化させる */
  width: 100%;

}

.works_content_link:hover .works_img img {
  transform: scale(1.1);
  /* 拡大 */
}


.works_name {
  color: var(--color-black);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .works_name {
    margin-top: 8px;
    font-size: 14px;
  }
}

.works_address {
  color: var(--color-black);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .works_address {

    margin-top: 2px;
  }
}


.works_more {
  color: var(--color-black);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  /* vertical-align: middle; */
  background-color: var(--color-lite-gray);
  padding: 8px 24px;
  border-radius: 999px;
  display: block;
  max-width: 93px;
  margin: 0 auto;
  transition: background-color .4s ease, color.4s ease;
}

@media (max-width: 768px) {
  .works_more {
    font-size: 14px;
  }
}

.works_more:hover {
  background: var(--color-black);
  color: var(--color-lite-gray);
}

.to_archive_btn.works_archive {
  display: block;
  margin: 68px auto 0;
  max-width: 160px;
  text-align: center;
}

@media (max-width: 768px) {
  .to_archive_btn.works_archive {
    margin: 40px auto 0;

  }
}

/* ===========CONCEPT 設計理念========== */
.concept {
  padding: 200px 0 120px;
  background-image: url(../img/top/concept_back.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .concept {
    padding: 80px 0;
  }
}
@media (max-width: 1020px) {
.section_title_container.concept_title_container {
text-align: left;
}
}

@media (max-width: 768px) {
.section_title_container.concept_title_container {
text-align: center;
}
}
.concept_title {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .concept_title {
    text-align: center;
  }
}

.concept_main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /* align-items: first baseline; */
  align-items: flex-start;
  margin-top: 76px;
}

@media (max-width: 1020px) {
  .concept_main {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .concept_main {
max-width: 400px;
margin: 40px auto 0;
  }
}

.concept_main_text {
  color: var(--color-white);
  font-weight: 400;
  /* font-size: 48px; */
  font-size: clamp(20px, 3.428571428571429vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .concept_main_text {
    font-size: 28px;
  }
}



.concept_text_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* max-width: 465px; */
  /* max-width: 580px; */
  max-width: 555px;
  padding-top: 10px;
  /* padding-right: 81px; */
  padding-right: min(5.785714285714286vw, 81px);
  /* padding-right: min(4.357142857142858vw, 61px); */
}

@media (max-width: 1270px) {
  .concept_text_wrapper {
    max-width: 465px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .concept_text_wrapper {
    padding: 0;
    max-width: none;
  }
}



.concept_text {
  color: var(--color-white);
  font-weight: 400;
  /* font-size: 15px; */
  font-size: clamp(13px, 1.0714285714285714vw, 15px);
  line-height: 2;
  /* letter-spacing: 0.04em; */
  letter-spacing: 0.02em;
  text-align: justify;
}

@media (max-width: 768px) {
  .concept_text {
    font-size: 14px;
  }
}

/* ===========FLOW ご相談からお引き渡しまでの流れ========== */
.flow {
  background: var(--color-lite-gray);
  overflow: hidden;
  padding: 120px 0;
}

@media (max-width: 768px) {
  .flow {
    padding: 90px 0 80px;
  }
}

.flow_process_slider {
  display: flex;
  gap: 20px;
}

.flow_box {
  background: var(--color-white);
  max-width: 360px;
  padding: 24px;
  /* min-height: 288px; */
}

.flow_process_title {
  color: var(--color-black);
  font-weight: 500;
  font-size: 20px;
  font-size: clamp(14px, 1.4285714285714286vw, 20px);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .flow_process_title {
    font-size: 18px;
  }
}

@media (max-width: 680px) {
  .flow_process_title {
    font-size: 16px;
  }
}

/* @media (max-width: 625px) {
  .flow_process_title {
    font-size: 14px;
  }
} */

.flow_process_text {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
  margin-top: 12px;
}

@media (max-width: 1300px) {
  .flow_process_text {
    font-size: 14px;
  }
}

@media (max-width: 1210px) {
  .flow_process_text {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .flow_process_text {
    font-size: 14px;
  }
}

.flow_grayBox_container {
  display: flex;
  gap: 32px;
  margin: 146px auto 0;
  max-width: 1124px;
}

@media (max-width: 768px) {
  .flow_grayBox_container {
    flex-direction: column;
    align-items: center;
    margin: 100px auto 0;
    gap: 12px;
  }
}

.flow_grayBox {
  flex: 1;
  background: hsla(0, 0%, 90%, 1);
  max-width: 546px;
  padding: 30px 24px 40px;
}
@media (max-width: 768px) {
  .flow_grayBox {
  padding: 28px 24px;
}
}
.flow_grayBox_title {
  color: var(--color-black);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  position: relative;
}

@media (max-width: 768px) {
  .flow_grayBox_title {
    font-size: 16px;
  }
}

.flow_grayBox_title::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 19px;
  height: 1px;
  background-color: var(--color-black);
}

.flow_grayBox_text {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
  margin-top: 32px;
}

@media (max-width: 920px) {
  .flow_grayBox_text {
    font-size: 13px;

  }
}

@media (max-width: 768px) {
  .flow_grayBox_text {
    font-size: 14px;

  }
}

.swiper_move {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* position: absolute;
  bottom: -53px; */
}

.swiper_container {
  position: relative;
  max-width: 1117px;
  margin: 0 auto;
}

.swiper {
  overflow: visible;
  margin-top: 40px;
}

.swiper .swiper-slide {
  height: auto;
}
@media (max-width: 390px) {
.swiper .swiper-slide {
min-height: 321px;
}
}
.swiper .flow_box {
  height: 100%;
}

.swiper-button {
  position: absolute;
  bottom: -60px;
  /* bottom: -4.28571429%; */
  right: 0;
  display: flex;
  gap: 8px;
}

@media (max-width: 1000px) {
  .swiper-button {
    bottom: -54px;
  }
}

@media (max-width: 768px) {
  .swiper-button {
    bottom: -53px;
    gap: 2px;
  }
}

.swiper-button-prev,
.swiper-button-next {
  position: static !important;
  width: clamp(20px, 3.428571428571429vw, 48px);
  height: clamp(20px, 3.428571428571429vw, 48px);
  transition: opacity .4s ease;
}

@media (max-width: 768px) {

  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
  }
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.6;
}


.swiper-scrollbar {
  background: hsla(0, 0%, 86%, 1);
  /* スクロールバーの背景色 */
  height: 4px;
  /* スクロールバーの高さ */
  /* position: absolute;
  bottom: -40px !important; */
  /* スライダーの下から10pxに配置 */
  /* left: 0 !important; */
  /* 左から10pxに配置 */
  /* right: 0 !important; */
  /* width: calc(100% - 20px); */
  /* 左右の余白を考慮した幅 */
  /* width: 980px !important; */
  width: min(70vw, 980px) !important;
}

@media (max-width: 1210px) {
  .swiper-scrollbar {
    width: 57.85123966942148vw !important;
  }
}

@media (max-width: 768px) {
  .swiper-scrollbar {
    width: 53.84615384615385vw !important;
  }
}

.swiper-scrollbar-horizontal {
  bottom: -40px !important;
}

.swiper-scrollbar .swiper-scrollbar-drag {
  background: var(--color-black);
  /* スクロールドラッグの色 */
  border-radius: 2px;
  /* 角を丸くする */
}



/* ===========ABOUT 会社概要========== */

.about_main {
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
}

@media (max-width: 1020px) {
  .about_main {
    flex-direction: row-reverse;
  }
}

@media (max-width: 768px) {
  .about_main {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
  }
}

@media (max-width: 1020px) {
  .about_title_container {
    margin: 0;
  }
}

.about_list_container {
  display: flex;
  flex-direction: column;
  padding-top: 5px;
  max-width: 791px;
}

.about_list {
  padding: 24px 0;
  border-top: 1px solid hsla(0, 0%, 86%, 1);
  display: flex;
  /* align-items: center; */
  gap: 80px;
}

@media (max-width: 975px) {
  .about_list {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .about_list {
    display: block;
    padding: 16px 0;
  }
}

.about_list:last-child {
  border-bottom: 1px solid hsla(0, 0%, 86%, 1);
}

.about_list_title {
  color: var(--color-black);
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  width: 120px;
}

@media (max-width: 768px) {
  .about_list_title {
    font-size: 12px;
  }
}

.about_list_text {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  max-width: 591px;
}

@media (max-width: 1270px) {
  .about_list_text {
    max-width: 400px;
  }
}

@media (max-width: 975px) {
  .about_list_text {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .about_list_text {
    max-width: none;
    font-size: 14px;
  }
}


.about_link {
  color: var(--color-black);
  background-image: linear-gradient(var(--color-black), var(--color-black));
  background-repeat: no-repeat;
  background-position: bottom left;
  /* 下線の初期位置 */
  background-size: 100% 1px;
  /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}

.about_link:hover {
  background-position: bottom right;
  /* 下線のホバー時位置 */
  background-size: 0 1px;
  /* 下線の横幅を100%にする */
}

.noLink {
  pointer-events: none;
}



/* ===========CONTACT お問い合わせ========== */
.contact {
  background: var(--color-lite-gray);
  padding: 120px 0;
}

@media (max-width: 768px) {
  .contact {
    padding: 80px 0 77px;
  }
}

.contact_explain {
  max-width: 246px;
}

@media (max-width: 768px) {
  .contact_explain {
    max-width: 310px;
  }
}

/* @media (max-width: 920px) {
  .contact_explain {
    display: flex;
    max-width: none;
    padding-top: 24px;
  }
} */

@media (max-width: 640px) {
  .contact_explain {
    flex-direction: column;
  }
}

.contact_explain_text {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
  padding-bottom: 16px;
  border-bottom: 1px solid hsla(0, 0%, 86%, 1);
  min-width: 246px;
}

@media (max-width: 920px) {
  .contact_explain_text {
    max-width: 310px;
  }
}


@media (max-width: 768px) {
  .contact_explain_text {
    padding-right: 0;
    border-right: none;
    padding-bottom: 12px;
    border-bottom: 1px solid hsla(0, 0%, 86%, 1);
    max-width: none;
  }
}


@media (max-width: 768px) {
  .contact_explain_bottom {
    text-align: center;
    padding-left: 0;
    padding-top: 12px;
  }
}

.contact_tel {
  color: var(--color-black);
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .contact_tel {
    font-size: 20px;
    display: block;

  }
}

@media (max-width: 768px) {
  .contact_explain_bottom p {
    text-align: center;
  }
}

.contact_tel_num {
  font-size: 28px;
  margin-top: 16px;
  min-width: 246px;
}

@media (max-width: 920px) {
  .contact_tel_num {
    min-width: none;
  }
}


.contact_time {
  color: var(--color-black);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.75;
  text-align: justify;
  min-width: 246px;
}

@media (max-width: 920px) {
  .contact_time {
    min-width: none;
    text-align: center;
  }
}

.privacy_explain_text {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 175%;
  text-align: center;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .privacy_explain_text {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .br_sp_none {
    display: none;
  }
}

.privacy {
  background: var(--color-white);
  padding: 60px 80px;
  margin: 40px auto 60px;
  max-width: 791px;
  max-height: 300px;
  overflow-y: scroll;
}


@media (max-width: 768px) {
  .privacy {
    padding: 24px 20px;
    margin: 24px auto 40px;
    max-height: 240px;
  }
}

.privacy_title {
  color: var(--color-black);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .privacy_title {
    font-size: 16px;
  }
}

.contact_main_container {
  display: flex;
  flex-direction: column;
  gap: 117px;
}

@media (max-width: 920px) {
  .contact_main_container {
    gap: 24px;
  }
}

.contact_main_top {
  display: flex;
  gap: 80px;
  margin-top: 60px;
}

@media (max-width: 920px) {
  .contact_main_top {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
    /* gap: 80px; */
  }
}

.contact_table {
  width: calc(100% - 246px - 80px);
}

@media (max-width: 920px) {
  .contact_table {
    width: 100%;
  }
}

tbody {
  display: flex;
  flex-direction: column;
  gap: 40px;

}

@media (max-width: 920px) {
  tbody {
    gap: 24px;
  }
}

tr {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (max-width: 920px) {
  tr {
    gap: 12px;
  }
}

td {
  width: 100%;
}

th {
  color: var(--color-black);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  vertical-align: middle;

}

@media (max-width: 920px) {
  th {
    font-size: 15px;
  }
}

/* お問い合わせ 白箱 */
.wpcf7-form-control {
  width: 100%;
  padding: 28px 24px;
  max-height: 200px;
  border: 1px solid hsla(0, 0%, 86%, 1);
}


@media (max-width: 920px) {
  .wpcf7-form-control {
    padding: 20px 16px;
    max-height: 120px;
  }
}

::placeholder {
  color: hsla(0, 0%, 80%, 1);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;

}

/* お問い合わせ セレクトボタン矢印*/
.dropdwown-menu_wrapper {
  position: relative;
}

.dropdwown-menu_wrapper::before, 
.dropdwown-menu_wrapper::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 2px;
  height: 20px;
  transform-origin: 50% calc(100% - 1px);
  top: 35%;
  right: 40px;
  background-color: var(--color-black);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 768px) {
.dropdwown-menu_wrapper::before, 
.dropdwown-menu_wrapper::after {
  width: 2px;
  height: 12px;
  top: 38%;
  right: 26px;
}

}
.dropdwown-menu_wrapper::before {
  transform: rotate(-50deg);
}

.dropdwown-menu_wrapper::after {
  transform: rotate(50deg);
}

@media (max-width: 768px) {
.dropdwown-menu_wrapper::before {
  transform: rotate(-45deg);
}

.dropdwown-menu_wrapper::after {
  transform: rotate(45deg);
}
}

/* デフォルト状態の矢印を消すための設定 */
.wpcf7-select {
  appearance: none;

}

.required {
  background-color: var(--color-lite-red);
  color: var(--color-white);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-box-trim: trim-both;
  padding: 4px 8px;
  border-radius: 4px;
  max-height: 26px;
  display: inline-block;
  margin-left: 16px;
}

@media (max-width: 920px) {
  .required {
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 14px;
  }
}

.free {
  background-color: hsla(0, 0%, 90%, 1);
  color: var(--color-black);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-box-trim: trim-both;
  padding: 4px 8px;
  border-radius: 4px;
  max-height: 26px;
  display: inline-block;
  margin-left: 16px;
}

@media (max-width: 920px) {
  .free {
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 14px;
  }
}

.privacy_content_container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .privacy_content_container {
    margin-top: 16px;
    gap: 16px;
  }
}

.privacy_text {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
}

@media (max-width: 768px) {
  .privacy_text {
    font-size: 14px;
    line-height: 1.6;
  }

    .privacy_text.inner {
      line-height: 1.5;
    }
}

.privacy_content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy_text_bold {
  color: var(--color-black);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
}

@media (max-width: 768px) {
  .privacy_text_bold {
    font-size: 14px;
  }
}

.privacy_content_list_container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy_list_item.privacy_text {
  padding-left: 12px;
  list-style: none;
}

.privacy_listStyle {
  position: relative;
}

.privacy_listStyle::before {
  content: "";
  width: 4px;
  height: 4px;
  background-color: var(--color-black);
  border-radius: 999px;
  position: absolute;
  top: 40%;
  left: -8px;
}

.privacy_agree_btn {
  display: block;
  margin: 0 auto;
  /* min-width: 380px; */
  max-width: 392px;
  max-height: 87px;
  background-color: var(--color-black);
  padding: 28px 48px;
  border-radius: 8px;
  border: 1px solid var(--color-black);
  cursor: pointer;
  transition: background-color .4s ease;
}

.privacy_agree_btn:hover {
  background-color: var(--color-white);
}

@media (max-width: 768px) {
  .privacy_agree_btn {
    max-width: none;
    max-height: 72px;
    padding: 24px 28px;
  }
}




.checkBox {
  display: none;
}

.wpcf7-spinner {
  display: none !important;
}

.privacy_agree_btn_inner {
  background-color: var(--color-black);
  border: none;
  width: auto;
  padding: 0;
  color: var(--color-white);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  transition: background-color .4s ease, color .4s ease;
}

@media (max-width: 768px) {
  .privacy_agree_btn_inner {
    font-size: 16px;
  }
}

@media (max-width: 388px) {
  .privacy_agree_btn_inner {
    font-size: 14px;
  }
}


.privacy_agree_btn:hover .privacy_agree_btn_inner {
  background: var(--color-white);
  color: var(--color-black);
}

.wpcf7-response-output {
  border-color: #dc3232 !important;
  color: #dc3232;
  text-align: center;
}