@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
}

a {
  display: block;
  color: currentcolor;
  cursor: pointer;
}

ul, li{
  margin-left: 0 !important;
  list-style: none !important;
}

.p-sub_pc_on {
  display: block;
}

.p-sub_sp_on {
  display: none !important;
}

table .p-sub_sp_on {
  display: none;
}

#page_no_side {
  width: 100%;
  margin: 0;
}

/* コンテンツ */

.lp_content {
  margin: 0;
}

.p-top_head{
  font-size: 60px !important;
  color: #E6001F;
  font-weight: bold;
  position: relative !important;
}

.p-sub_head{
  font-size: 36px !important;
  color: #E6001F;
  font-weight: normal;
  position: relative !important;
  margin-bottom: 4rem !important;
  padding-left: 1.6rem !important;
}

.p-sub_head::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 6px;
  height: 1.2em;
  background-color: #E6001F;
}

.c-btn{
  width: 280px;
  padding: 1.8rem;
  background-color: #E6001F;
  color: #fff;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  border-radius: 50px;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background .5s cubic-bezier(0,0,0,1),
              color .5s cubic-bezier(0,0,0,1),
              border-color .5s cubic-bezier(0,0,0,1);
}
.c-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn:hover {
  background: #fff;
  color: #E6001F;
  border-color: #E6001F;
}

.c-btn:hover::after {
  border-left-color: currentColor;
}

.c-btn:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return{
  width: 230px;
  color: #fff;
  background: #E6001F;
  border-color: transparent;
  padding-left: 3.2rem;
  padding-right: 1.8rem;
  position: relative;
}

.c-btn.c-btn_return::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-right: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn.c-btn_return::after{ content: none; }

.c-btn.c-btn_return:hover{
  background: #fff;
  color: #E6001F;
  border-color: #E6001F;
}

.c-btn.c-btn_return:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return:active{
  filter: brightness(0.96);
}

.c-btn-header{
  margin-left: auto;              /* 右寄せ */
  display: inline-block;
  background: #E60020;
  color: #fff;
  padding: 1.8rem 1.4rem;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s;
}

.c-btn-header:hover{
  background: #fff;
  color: #E60020;
  border-color: currentColor;
}

.c-btn-header:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn-header:active{
  filter: brightness(0.96);
}

.c-btn_return::after {
  top: calc(50% - 6px);
  left: 45px;
  border-top: 7px solid transparent;
  border-right: 7px solid #fff;
  border-bottom: 7px solid transparent;
  border-left: none;
}

.c-btn_associate{
  background-color: #fff;
  color: #E6001F !important;
  border: none;
}

.c-btn_associate::after{
  border-left: 7px solid #E6001F;
}

.c-btn_associate{
  background-color: #fff;
  color: #E6001F;
  border-color: #E6001F;
}

.c-btn_associate:hover{
  background-color: #E6001F;
  color: #fff !important;
  border-color: #E6001F;
}

.c-btn_associate:hover::after{
  border-left-color: currentColor !important;
}

.p-top_text{
  font-size: 16px;
  color: #42444C;
  font-weight: normal;
  line-height: 2.2 !important;
  margin-bottom: 1rem;
}

.p-sub_text{
  font-size: 16px;
  color: #42444C;
  font-weight: normal;
  line-height: 2.2 !important;
  margin-bottom: 1rem !important;
}

.l-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.u-under_line {
  text-decoration: underline !important;
}

.u-inline{
  display: inline;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ヘッダー */

#header_logo{
  width: 240px;
}

.l-header_wrapper {
  position: relative;
  z-index: 300 !important;
}

.l-header {
  width: 98%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 350;
  position: fixed;
  width: 100%;
  transition: background-color 0.3s, backdrop-filter 0.3s;
}

body:not(.home) .l-header {
  background-color: rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(5px);
}

body:not(.home) .l-header.scrolled {
  background-color: rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(5px);
}

.l-header-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.l-header.scrolled {
  background: rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(5px);
}

.l-header_menu_wrapper{
  height: 60px;
  margin-right: 40px !important;
}

.l-header_menu_list{
  display: flex;
  height: 100%;
  gap: 1.7rem;
  align-items: center;
}

.l-header_menu_list_item{
  position: relative;
  height: 100%;
  font-size: 14px;
}

.l-header_menu_link{
  display: flex;
  height: 100%;
  align-items: center;
  color: #fff;
}

.l-header_sub_menu{
  position: absolute;
  width: 160px;
  top: 117%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.5rem 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.l-header_sub_menu_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-header_sub_menu_list_item + .l-header_sub_menu_list_item {
  margin-top: 0.5rem;
}

.l-header_menu_list_item:hover > .l-header_sub_menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.l-header_sub_menu_list_item a {
  color: #42444C;
  text-decoration: none;
  font-weight: 500;
}


.l-header_sub_menu_list_item a:hover {
  text-decoration: underline;
}


.l-header_sub_menu_list_item {
  position: relative;
}

#menu {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 299;
  will-change: transform;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

#menu.active {
  display: block;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

.menu-bg {
  background: linear-gradient(140.61deg, #E60020 0%, #7B0011 99.62%, #730010 100%);;
  width: 100%;
  height: 100%;
  overflow: scroll;
}

.menu_inner {
  width: 90%;
  margin: 0 auto;
  padding: 160px 0;
}

.menu_list_wrapper {
  margin-bottom: 1.5rem;
}

.menu_list_item {
  border-bottom: 1px solid #ffffff63;
}

.menu_list_item_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 1rem 1rem;

}

.menu_list_item_head_text {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.menu_list_item_body_text {
  position: relative;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

.menu_list_item_inner:hover {
  background: #a0cfdf63;
}

/* トップページ---header */

.mv_wrapper {
  width: 100%;
  height: 100vh;
}

/* トップページ---MV */
.header_contents_inner {
  padding: 0;
}

.header-contents_side_slider_wrapper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.header-contents_side_slider {
  height: 100%;
}

.slick-slider {
  position: relative;
  margin: 0;
  height: 100%;
}

.slick-list {
  height: 100%;
}

.slick-track {
  height: 100%;
}

.slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header_contents_list {
  position: absolute;
  top: 25%;
  left: 39%;
  transform: translateX(-50%);
  display: flex;
}

.header_contents_item_phrase {
  width: 85%;
}

.header_contents_phrase_text {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: 0.1rem;
  color: #fff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  margin-bottom: 3rem;
}

.header_contents_phrase_text_space {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.header_contents_sub_text{
  color: #fff;
  width: 70%;
}

.header_contents_phrase_text-red {
  font-size: 64px;
  color: #E6001F;
}

.header_contents_phrase_text:last-child {
  margin-bottom: 3rem;
}

.header_contents_img{
  width: 50vw;
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
}

.header_contents_char-2_1 {
  position: absolute;
  bottom: -3vh;
  left: 9%;
  width: 140px;
}

.header_contents_btn_list {
  display: flex;
  justify-content: end;
  gap: 2.5rem;
  position: absolute;
  bottom: 10%;
  right: calc((100% - 1080px) / 2);
}

/* フッター---contact */

#footer-contact {
  position: relative;
}

#footer-contact::before {
  position: absolute;
  top: -130px;
  content: "";
  width: 100%;
  height: 130px;
  background: #2C68BA;
  border-radius: 120px 120px 0 0;
}

.footer-contact_bg {
  background: #2C68BA;
}

.footer-contact_inner {
  padding: 108px 0;
}

.footer-contact_title_wrapper {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.footer-contact_text_wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-contact_text {
  font-size: 16px;
  line-height: 1.5;
}

.footer-contact_list {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-contact_list_item {
  width: 50%;
  background: #fff;
  border-radius: 30px;
  padding: 2rem 3rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.footer-contact_list_head_text {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.footer-contact_list_item hr {
  width: 50px;
  border: none;
  border-top: 1px solid #707070;
  margin: 1rem auto 1.5rem;
}

.footer-contact_tel_contents {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact_tel_contents_text {
  font-size: 35px;
  font-weight: bold;
}

.footer-contact_under_text {
  font-size: 14px;
  text-align: center;
}

.footer-contact_mail_contents {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background: #2C68BA;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.footer-contact_mail_contents a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  transition: transform .3s;
  -webkit-transition: transform .3s;
}

.footer-contact_mail_contents a:hover {
  opacity: 0.6;
}

.footer-contact_mail_contents_text {
  font-size: 18px;
  font-weight: bold;
}


/* フッター---content */

#return_top_pc {
  display: block !important;
}

#return_top_pc a {
  background: #2C68BA;
  border: none;
  border-top: 1px solid #fff;
  transition: transform .3s;
  -webkit-transition: transform .3s;
}

#return_top_pc a:hover {
  background: #2C68BA;
  border-top: 1px solid #fff;
  opacity: 0.6;
}

#return_top_pc a:before {
  color: #fff !important;
}

#return_top_pc a:hover:before {
  color: #fff !important;
}

.l-footer_bg {
  position: relative;
  background: #F5F5F5;
  z-index: 1;
}

.l-footer_inner {
  width: 100%;
  padding: 0;
}

.l-footer_list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid #fff;
}

.l-footer_list_item {
  border-left: 1px solid #fff;
  padding: 3rem 4rem;
}

.l-footer_list_item:nth-child(1) {
  grid-area: 1 / 2 / 2 / 3;
}

.l-footer_list_item:nth-child(2) {
  grid-area: 1 / 3 / 2 / 4;
}

.l-footer_list_item:nth-child(3) {
  grid-area: 1 / 4 / 2 / 5;
}

.l-footer_list_item:last-child {
  border-right: 1px solid #fff;
}

.l-footer_list_head_text {
  font-size: 24px;
  font-weight: bold;
}

.l-footer_list_head_text a:hover {
  color: #56C4DE !important;
}

.l-footer_list_head_ruby {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 2rem;
}

.l-footer_list_body_text_wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}

.l-footer_list_body_text {
  font-size: 14px;
}

.l-footer_list_body_text a {
  display: block;
}

.l-footer_list_body_text a:hover {
  color: #56C4DE !important;
}

.l-footer_info {
  padding: 3rem 0 1rem;
  text-align: center;
}

.l-footer_logo_wrapper {
  width: 255px;
  height: 60px;
  margin: 0 auto 2rem;
}

.l-footer_logo_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-footer_info_body_text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.l-footer_info_body_text a {
  color: #707171 !important;
}

.l-footer_info_privacy_policy {
  font-size: 12px;
}

.l-footer_info_privacy_policy a:hover {
  color: #56C4DE !important;
}

.l-footer__info-nav-item a:hover{

}

#footer_menu_bottom {
  background: #fff;
  padding: 2rem 0;
}

#footer_menu_bottom .simplebar-content {
  justify-content: center;
}

#footer_menu_bottom li {
  margin: 0 1rem;
}

#footer_menu_bottom li a {
  color: #1F4C81;
}

#footer_menu_bottom li a:hover {
  color: #56C4DE;
}

.l-footer_copy-right_wrapper {
  background: #008ACA;
  padding: 2rem 0;
  text-align: center;
}

.copyright {
  font-size: 12px;
  color: #fff;
}

/* 新しいやつ */
.l-footer__inner {
  padding: 160px;
  background-color: #363636;
}

.l-footer__info {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 12rem;
  -moz-column-gap: 12rem;
  column-gap: 6rem;
}

.l-footer__info-logo{
  grid-row: 1;
  grid-column: 1 / 2;
  padding: 0;
}

.l-footer__info-logo-link{
  width: 16rem;
  margin: 0 auto;
}

.l-footer__info-logo-link img{
  width: 100%;
}

.l-footer__info-nav {
  grid-column: 2 / 3;
}

.l-footer__info-nav-list {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  grid-template-columns: auto;
  row-gap: 2rem;
}

.l-footer__info-nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.3rem;
}

.l-footer__info-nav-item-home{
  grid-row: 1 / span 1;
  grid-column: 1 / span 1;
  margin-right: 1rem;
  margin-bottom: 0;
}

.l-footer__info-nav-item[data-col="1"] {
  grid-row: 1 / -1;
  grid-column: 2 / span 1;
}

.l-footer__info-nav-item[data-col="2"] {
  grid-row: 1 / -1;
  grid-column: 3 / span 1;
}


.l-footer__info-nav-item-partner{
  grid-row: 1 / span 1;
  grid-column: 4 / span 1;
}

.l-footer__info-nav-item-faq{
  grid-row: 2 / span 1;
  grid-column: 4 / span 1;
}

.l-footer__info-nav-item-news{
  grid-row: 3 / span 1;
  grid-column: 4 / span 1;
}

.l-footer__info-nav-item-contact{
  grid-row: 4 / span 1;
  grid-column: 4 / span 1;
}

.l-footer__info-nav-item-works{
  grid-row: 5 / span 1;
  grid-column: 4 / span 1;
}

.l-footer__info-nav-item-link {
  position: relative;
  display: inline-block;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.l-footer__info-nav-item-link:hover {
  color: #E6001F;
  transition: all .5s cubic-bezier(0, 0, 0, 1);
}

.l-footer__info-nav-item-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.4;
  color: #fff;
  font-weight: bold;
}

.l-footer__info-nav-item-text:hover{
  color: #E6001F;
  transition: all .5s cubic-bezier(0, 0, 0, 1);
}

.l-footer__info-nav-item-sublist {
  position: relative;
  display: grid;
  padding-left: 1rem;
  margin-top: 1rem;
}

.l-footer__info-nav-item-sublist::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  content: "";
  background-color: #535353;
}

.l-footer__address {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 1 / 2;
  margin-top: 77px;
}

.l-footer__address_text {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: bold;
  line-height: 1.8;
  color: #aaa;
}

.l-footer__info-bottom {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  grid-row: 2;
  grid-column: 1 / 3;
  align-items: center;
  justify-content: left;
  padding-top: 2rem;
  margin-top: 8rem;
}

.l-footer__info-bottom::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background-color: #535353;
}

.l-footer__info-bottom-copyright{
  font-size: 10px;
  color: #fff;
  text-align: left;
}

.l-footer__top{
  flex-direction: row;
  right: 195px;
  bottom: 80px;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.l_footer_pagetop_txt::after {
  position: absolute;
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  bottom: -13px;
  right: -60px;
  border-radius: 50%;
  background-color: #E6001F;
  background: #E6001F url(../img/common/top_toggle.svg) no-repeat center center / 12px auto;
}

.l_footer_pagetop_txt{
  position: relative;
  font-weight: bold;
  color: #fff;
}

.l-footer__privacypolicy{
  font-size: clamp(12px, 1vw, 14px);
  font-weight: bold;
  line-height: 1.8;
  color: #aaa;
}

/* include-footer-contact */
.include-footer-contact{
  align-items: center;
  background: url(../img/common/top_contact.jpg) 0 0 / cover no-repeat;
  padding: 8rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8rem;
}

.include-footer-contact-head{
  font-size: 60px;
  color: #fff;
  width: 50%;
  position: relative;
}

.include-footer-contact-head::after {
  position: absolute;
  content: "お問い合わせ";
  display: block;
  width: 389px;
  height: 48px;
  bottom: -70px;
  left: 0;
  font-size: 20px;
  color: #fff;
}

/* トップページ */
.p-top_about-inner{
  padding: 120px 0;
}

.p-top_about-list{
  display: flex;
  column-gap: 14%;
}

.p-top_about-list-textwrap{
  position: relative;
  width: 70%;
  padding: 4rem 0;
}

.p-top_about-title{
  margin-bottom: 8rem;
}

.p-top_about-text{
  margin-bottom: 4rem;
}

.p-top_about-title::after {
  position: absolute;
  content: "私たちについて";
  display: block;
  width: 100%;
  top: 80px;
  left: 0;
  font-size: 20px;
  color: #42444C;
  font-weight: normal;
}

.p-top_about-caption{
  font-size: 28px;
  color: #42444C;
  position: relative;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.p-top_about-list-imgwrap {
  position: relative;
  width: 50%;
  height: 490px;
  margin-right: calc(50.7% - 50vw);
  padding: 8rem 0 4rem;
  z-index: 100;
}

.c-loop_wrapper{
  display: flex;
  align-items: center;
  overflow: hidden;
}

.c-loop_area {
  display: flex;
  animation: loop-slide 55s infinite linear 1s both;
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
}

.c-loop_text {
  width: 2210px;
}

@keyframes loop-slide {
  0% {
    transform: translateX(0%);
  }

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

.p-top_business-bg{
  align-items: center;
  background: url(../img/common/top_business_bg.jpg) 0 0 / cover no-repeat;
  padding: 8rem 0;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}

.p-top_business-title{
  color: #fff;
  text-align: center;
  margin-bottom: 6rem;
}

.p-top_business-title::after{
  position: absolute;
  content: "事業内容";
  display: block;
  width: 100%;
  height: 48px;
  bottom: -70px;
  font-size: 20px;
  color: #fff;
}

.p-top_business-list{
  display: flex;
  justify-content: space-between;
}

.p-top_business-list-item{
  width: 47%;
}

.p-top_business-list-item a:hover{
  opacity: 0.7;
  transition: 0.3s;
}

.p-top_business-list-img{
  width: 100%;
  margin-bottom: 2rem;
}

.p-top_business-list-title{
  color: #fff;
  font-size: 22px;
  margin-bottom: 2rem;
  position: relative;
}

.p-top_business-list-title::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 170px;
  width: 22px;
  height: 22px;
  margin: auto;
  border-radius: 20px;
  background-color: #E6001F;
}

.p-top_business-list-title::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 178px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 3px solid transparent;
  border-right: 0 solid transparent;
  border-left: 6px solid #fff;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}

.u-icon_mokukouji::before{
  left: 100px;
}

.u-icon_reform::before{
  left: 170px;
}

.u-icon_mokukouji::after{
  left: 109px;
}

.u-icon_reform::after{
  left: 178px;
}

.p-top_business-list-text{
  color: #fff;
}

.p-top_works-inner{
  padding: 160px 0 80px;
}

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

.p-top_works-text-textwrap{
  width: 30%;
}

.p-top_works-list{
  width: 60%;
}

.p-top_works-list-item{
  width: 100%;
  position: relative;
  padding-top: 1.5rem;
  border-bottom: solid 1px #E4E4E8;
}

.p-top_works-list-item:first-child{
  border-top: solid 1px #E4E4E8;
}

.p-top_works-list-item a:hover{
  opacity: 0.7;
  transition: 0.3s;
}

.p-top_works-list-item::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 15px;
  right: 0px;
  width: 22px;
  height: 22px;
  margin: auto;
  border-radius: 20px;
  background-color: #E6001F;
}

.p-top_works-list-item::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 15px;
  right: 7px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 3px solid transparent;
  border-right: 0 solid transparent;
  border-left: 6px solid #fff;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}

.p-top_works-list-item-date{
  font-size: 14px;
  font-weight: bold;
  margin-top: 1.8rem;
}

.p-top_works-list-item-title{
  font-size: 19px;
}

.p-top_works-title{
  margin-bottom: 8rem;
}

.p-top_works-title::after {
  position: absolute;
  content: "施工実績";
  display: block;
  width: 100%;
  top: 80px;
  left: 0;
  font-size: 20px;
  color: #42444C;
  font-weight: normal;
}

.p-top_works-list-item-category{
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  background: #F5F7F9;
  border-radius: 16px;
  padding: 0.5vw 1.5vw;
  color: #E6001F;
}

:root {
  --associate-left: clamp(280px, 34vw, 520px);
  --associate-gap: 12px;
  --associate-row-h: 490px;
}


#associate {
  overflow-x: clip;
}

.p-top_associate-bg {
  width: 100%;
  background: linear-gradient(140.61deg, #E60020 0%, #7B0011 99.62%, #730010 100%);
  /* 実績非表示の時のは0消してコメントアウト外す */
  margin-top: 0;
  /* margin-top: 46px; */
  padding-top: 71px;
  position: relative;
}

.p-top_associate-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 53%;
  height: 304px;
  background: url(../img/common/mv_img.svg) 0 0 / cover no-repeat;
}

.p-top_associate-inner {
  position: relative;
  height: 550px;
  margin-bottom: 16rem;
  overflow: visible; 
}

.p-top_associate-title {
  color: #fff;
  margin-bottom: 4rem;
  position: relative;
}

.p-top_associate-title::after {
  content: "協力会社について";
  position: absolute;
  bottom: -70px;
  left: 0;
  font-size: 20px;
  color: #fff;
}

.p-top_associate-img-list {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding-left: var(--associate-left);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--associate-gap);
  height: var(--associate-row-h);
  margin: 0;
  list-style: none;
  top: 10px;
  z-index: 50;
  overflow: hidden;
}

.p-top_associate-img-list-item {
  margin: 0;
  overflow: hidden;
}

.p-top_associate-img-list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.p-top_associate-img-list-item:hover img {
  transform: scale(1.05);
}

.p-top_associate-messagewrap {
  position: absolute;
  left: 0;
  bottom: 85px;
  width: var(--associate-left);
  padding-right: 24px;
  z-index: 100;
}

.p-top_associate-message-text {
  font-size: 44px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  color: #fff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  padding-bottom: 4rem;
}

/* サブページ */
/* サブページ共通 */

.kv-title {
  font-size: 62px;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #E6001F;
}

.kv-sub_title {
  font-size: 16px;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #42444C;
}

/* ヘッダー */

#page_header {
  background: #fff;
  height: 100vh;
}

#page_header .bg_image {
  width: 75%;
  height: 50%;
  top: 321px;
  right: 0px;
  left: auto;
}

#page_header_inner{
  text-align: left;
  top: 32%;
}

.breadcrumbsWrap{
  width: 1030px;
  margin: 0 auto;
  z-index: 3;
  position: absolute;
  left: 50%;
  top: 20%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #E6001F;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.breadcrumbs{
  display: flex;
}

.breadcrumbsWrap a {
  color: #42444C;
  text-decoration: none;
  transition: color 0.3s;
  line-height: 1.2;
}

.breadcrumbsWrap a:hover {
  color: #E6001F;
  text-decoration: underline;
}

.header_contents_img-sub{
  width: 40%;
  max-width: calc(100% - 32px);
  position: absolute;
  top: 172px;
  right: 0;
  display: flex;
  z-index: 200;
}

.header_contents_img-sub img{
  width: 100%;
  object-fit: cover;
}

/* サブページ---company */

.l-inner.p-company_inner {

}

.p-company_greeting{
  margin-bottom: 4rem;
}

.p-company_greeting-name{
  font-size: 28px;
  font-weight: bold;
  color: #42444C;
  text-align: right;
  line-height: 1.5;
}

.p-company_greeting-name-title{
  font-size: 20px;
  font-weight: bold;
  color: #42444C;
  padding-right: 1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.p-company_profile{
  margin-bottom: 4rem;
}

.p-company_profile-table-th{
  background-color: #F4F7F9;
  border-top: 1px solid #ddd !important;
  border-right: none !important;
  border-left: none !important;
  font-weight: bold !important;
  color: #42444C;
  vertical-align: middle;
}

.p-company_profile-table-td{
  color: #42444C;
  border-top: 1px solid #ddd !important;
  border-right: none !important;
  border-left: none !important;
  vertical-align: middle;
}

/* サブページ---works */

.p-works_inner {
  padding: 140px 0 150px;
}

.p-works_text_wrapper .c-sec_title {
  text-align: center;
}

.p-works_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  grid-auto-rows: auto;
}

.p-works_list_item {
  background: #fff;
  box-shadow: 0px 3px 6px gray;
}

.p-works_list_item a {
  display: block;
}

.p-works_list_item_inner {
  padding: 2vw 2vw 4vw;
}

.p-works_list_item:hover {
  opacity: 0.6;
  transition: all 0.4s ease-in-out;
}

.p-works_image_wrapper {
  height: 160px;
}

.p-works_image_wrapper a {
  display: block;
  width: 100%;
  height: 100%;
}

.p-works_image_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.p-works_category {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  background: #F5F7F9;
  border-radius: 16px;
  margin: 1vw 0 1.5vw;
  padding: 0.5vw 1.5vw;
  color: #E6001F;
}

.p-works_category a {
  display: block;
  padding: 0.5vw 1.5vw;
}

.p-works_title {
  font-size: 20px;
  font-weight: bold;
  color: #E6001F;
  margin: 0 0 1vw 0;
  padding: 0 0 1vw 0;
  border-bottom: 1px solid #707070;
}

.p-works_text {
  font-size: 18px;
  font-weight: bold;
}

.p-works_view-more_wrapper {
  position: relative;
}

.p-works_view-more_wrapper .c-btn_view-more_wrapper {
  bottom: -120px;
  right: 50%;
  transform: translateX(50%);
}

.p-works_empty{
  text-align: center;
  font-size: 16px;
}

.p-entry__thumbnail{
  width: 100%;
  height: 556px;
  margin-bottom: 0 !important;
}

.p-entry__thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-nation {
  margin-top: 4vw;
}

.page-nation ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 1vw;
}

a.page-numbers,
span.page-numbers {
  display: block;
  font-size: 14px;
  text-align: center;
  line-height: 40px;
  color: #333333;
  background-color: #F4F7F9;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

a.page-numbers.current,
span.page-numbers.current {
  color: #fff;
  background-color: #E6001F;
  font-weight: bold;
}

a:has(.page_nation_pre_text),
a:has(.page_nation_next_text) {
  font-size: 16px;
  color: #E6001F;
  background: none;
  font-weight: bold;
}

/* サブページ---works-single */

.p-works-single_inner {
  position: relative;
  padding: 140px 0 150px;
}

.p-works-single_post_header {
  margin-bottom: 2rem;
}

.p-works-single_post_category {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  background: #F5F7F9;
  border-radius: 16px;
  margin: 0 0 1.5vw;
  padding: 0.5vw 1.5vw;
  color: #E6001F;
}

.p-works-single_post_header_inner {
  display: flex;
  align-items: center;
}

.p-works-single_post_title {
  font-size: 30px;
  margin: 0;
}

.p-works-single_post_header_inner p {
  font-size: 18px;
  padding-left: 2vw;
}

.p-works-single_inner .c-btn_view-more_wrapper {
  bottom: 60px;
  right: 50%;
  transform: translateX(50%);
  height: 66px;
  margin-top: 4rem;
}

.p-works_btn-wrap{
  text-align: center;
  margin-top: 4rem;
}

/* サブページ---faq */
.p-faq_accordion {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #fff;
  overflow: hidden;
}

/* summary部分 */
.p-faq_accordion summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 16px;
  list-style: none;
  font-weight: bold;
  font-size: 16px;
  position: relative;
}

.p-faq_accordion summary::-webkit-details-marker {
  display: none;
}

.p-faq_accordion-q-head {
  display: inline-block;
  background: #E6001F;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 26px;
  margin: 20px;
  flex-shrink: 0;
}

.p-faq_accordion summary::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.p-faq_accordion summary::before,
.p-faq_accordion summary::after {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.p-faq_accordion summary::before {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 2px;
  height: 20px;
  background: #E6001F;
  transform: translateY(-50%);
}

.p-faq_accordion summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #E6001F;
  transform: translateY(-50%);
}

.p-faq_accordion[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
  opacity: 0;
}

.p-faq_accordion .p-faq_accordion-a {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.p-faq_accordion[open] .p-faq_accordion-a {
  display: flex;
  align-items: center;
  max-height: 500px;
  opacity: 1;
  padding: 12px 16px;
}

.p-faq_accordion-a-head {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #E6001F;
  border: 1px solid #E6001F;
  background: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-weight: bold;
  font-size: 26px;
  flex-shrink: 0;
  margin: 20px;
}

.p-faq_accordion-a-text {
  flex: 1;
  display: block;
  line-height: 27px;
  margin-right: 20px;
}

.p-faq_accordion-divider {
  display: block;
  margin: 0 65px 0 100px;
  height: 4px;
  background-image: radial-gradient(circle, #E6001F 2px, transparent 2px);
  background-size: 12px 4px;
  background-repeat: repeat-x;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease;
}

.faq-h2-businesspartner {
  margin-top: 90px !important;
}

/* サブページ---service-mokukouji */
.p-service-mokukouji_inner {}

.p-service-mokukouji_opening {
    display: flex;
    justify-content: space-between;
}

.p-service-mokukouji_opening-img-wrap {
    width: 40%;
}

.p-service-mokukouji_opening-text-wrap {
    width: 48%;
    margin-top: 4rem;
}

.p-service-mokukouji_opening-text {
    margin-top: 2rem;
}

.p-service-mokukouji_opening-img {
    width: 100%;
}

.p-service-mokukouji_opening-img img {
    width: 100%;
}

.features {
    position: relative;
    left: 50%;
    width: 100vw;
    /* ← 画面幅いっぱい */
    transform: translateX(-50%);
    /* ← 中央に戻す */
    background-color: #F4F7F9;
    padding: 8rem 0;
    margin-top: 70px
}

.features__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.features__title {
    font-size: 24px;
    font-weight: bold;
    color: #E6001F;
    margin-bottom: 16px;
}

.features__text {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 50px;
}

.features__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    width: 300px;
    text-align: center;
}

.feature-item__icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.feature-item__icon img {
    width: 90px;
    height: auto;
}

.feature-item__title {
    font-size: 16px;
    font-weight: bold;
    color: #E6001F;
    margin-top: 8px;
    line-height: 1.4;
}

/* サブページ---service-reform */
.p-service-reform_inner{
padding: 0;
}

.p-service-reform_opening{
  display: flex;
  justify-content: space-between;
}

.p-service-reform_opening-img-wrap{
  width: 40%;
}

.p-service-reform_opening-text-wrap{
  width: 48%;
  margin-top: 4rem;
}

.p-service-reform_opening-sub-head{
  font-size: 24px;
  color: #42444C;
}

.p-service-reform_opening-text{
  margin-top: 2rem;
}

.p-service-reform_opening-img{
  width: 100%;
}

.p-service-reform_opening-img img{
  width: 100%;
}

.p-service-reform_menu{
  margin-top: 8rem;
}

.p-service-reform_menu-list{
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  justify-content: space-between;
}

.p-service-reform_menu-list-item{
  width: 30%;
  list-style:none;
  margin-bottom: 1rem;
}

.p-service-reform_menu-list-item-head{
  font-size: 16px;
  color: #E6001F;
  background: none;
  font-weight: bold;
  margin-bottom: 1rem !important;
}

.p-service-reform_menu-list-item-img{
  margin-bottom: 1rem;
}

.p-service-reform_menu-list-item-img img{
  width: 100%;
}

/* .p-service-reform_menu-head{
  position: relative !important;
  width: 32%;
  margin: 0 auto 4rem !important;
} */

.p-service-reform_flow{
  margin-top: 8rem;
}

/* .p-service-reform_flow-head{
  position: relative !important;
  width: 20%;
  margin: 0 auto 4rem !important;
} */

.p-service-reform_flow-item-head{
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.p-service-reform_flow-item-head-step{
    font-size: 24px;
    color: #fff;
    background-color: #E6001F;
    font-weight: bold;
    width: 17%;
    text-align: center;
}

.p-service-reform_flow-item-head-title{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 20px;
  font-weight: bold;
  color: #42444C;
}

.p-service-reform_flow-item-content{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #707070;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
}

.p-service-reform_flow-item-content-img{
  width: 20%;
}

.p-service-reform_flow-item-content-text{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 16px;
}

/* サブページ---partner */
.p-partner_inner{

}

.p-partner_profile{
  margin-top: 8rem;
}


.p-partner-message {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0;
  background: url(../img/common/partner-bg.jpg) center top / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
@supports (width: 100svw) {
  .p-partner-message {
    width: 100svw;
    margin-left: calc(50% - 50svw);
    margin-right: calc(50% - 50svw);
  }
}
@supports (width: 100dvw) {
  .p-partner-message {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}
@media (max-width: 767px) {
  .p-partner-message { background-attachment: scroll; }
}

html, body { overflow-x: clip; } 

.p-partner-banner {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.p-partner-banner_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-partner-banner_content {
  background: #fff;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 80px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.p-partner-banner_title {
  color: #E6001F;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

.p-partner-banner_text {
  color: #333;
  font-size: 16px;
  max-width: 525px;
  text-align: justify;
}

/* サブページ---news */
.p-sub_news_bg {
  background: #fff;
}

.p-sub_news_inner {
  display: flex;
  justify-content: space-between;
  padding: 80px 0 160px;
}

.p-sub_news_main_contents {
  width: 65%;
}

.p-sub_news_list {
  position: relative;
  margin: 0 0 2vw 0;
  background: #fff;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.35);
}

.p-sub_news_list a {
  display: block;
  padding: 2vw;
}

.p-sub_news_date {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 1vw;
}

.p-sub_news_title {
  font-size: 20px;
  font-weight: bold;
  line-height: 2;
  color: #E6001F;
}

.p-sub_news_side_contents {
  width: 30%;
}

.p-sub_news_side_contents_item {
  position: relative;
  margin: 0 0 3vw 0;
  background: #fff;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.35);
}

.p-sub_news_side_contents_item_inner {
  padding: 2rem;
}

.p-sub_news_side_title {
  font-size: 20px;
  color: #E6001F;
  font-weight: bold;
  margin-bottom: 2vw
}

.p-sub_news_side_contents_list {
  list-style: none;
  margin: 0 0 1.8rem 0;
}

.p-sub_news_side_contents_list a {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 1vh;
}

.p-sub_news_side_date {
  display: block;
  font-size: 13px;
  font-weight: bold;
}

.p-sub_news_side_post_title {
  font-size: 15px;
  font-weight: bold;
  line-height: 2;
}

.p-sub_news_list:hover {
  background: #E6001F;
  transition: all .5s cubic-bezier(0, 0, 0, 1);
}

.p-sub_news_list:hover .p-sub_news_date,
.p-sub_news_list:hover .p-sub_news_title {
  color: #fff !important;
}

.p-sub_news_side_contents_list:hover .p-sub_news_side_date,
.p-sub_news_side_contents_list:hover .p-sub_news_side_post_title {
  color: #E6001F !important;
}

.p-sub_news_side_contents_list:hover a {
  color: #E6001F;
}

/* サブページ---news-single */
.p-single-news_post_wrapper {
  position: relative;
  background: #fff;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.35);
  padding: 4rem;
}

.p-single-news_date {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 1vw;
}

.p-news_btn-wrap {
  text-align: center;
  margin-top: 4rem;
}

.p-single-news_post_title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #707070;
  margin: 0;
  padding-bottom: 1vw;
  line-height: 2;
  margin-bottom: 2rem;
  color: #E6001F;
}

.p-single-news_post p {
  font-size: 16px;
  padding: 2vw 0;
  line-height: 2;
}

.p-sub_news_main_contents .c-btn_view-more_wrapper {
  position: static;
  margin: 4vw 0;
  text-align: center;
}

.p-sub_news_main_contents .c-btn_view-more_wrapper a {
  display: inline-block;
}

.c-btn_view-more:hover .c-btn_view-more_arrow.news circle {
  fill: #E5EEFA;
}

body.news.admin-bar {
  padding-top: 0 !important;
}

body.news.admin-bar {
  padding-top: 0 !important;
}

/* サブページ---privacy-policy */

.l-inner.p-privacy_inner {

}

.p-privacy-policy_head_text_wrapper {
  margin-bottom: 80px;
  font-weight: bold;
}

.p-privacy-policy_head_text {
  font-size: 18px;
}

.p-privacy-policy_body_text_wrapper {
  background: #fff;
}

.p-privacy-policy_text_wrapper {
  margin-bottom: 3rem;
}

.p-privacy-policy_text_wrapper:last-child {
  margin-bottom: 0;
}

.post_content h3 {
  margin: 0;
  line-height: 1.5;
}

.p-privacy-policy_title {
  font-size: 20px !important;
  color: #E6001F;
  padding-bottom: 0.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}

.p-privacy-policy_text {
  font-size: 16px;
}

/* サブページ---contact */

.p-contact_bg {
  background: #EBF6FB;
}

#page_content .wpcf7 {
  width: 100%;
  margin: 0 !important;
  padding: 0;
  background: none;
}

.wpcf7 form {
  margin: 0;
}

.p-contact_head_text_wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.p-contact_head_text {
  font-size: 18px;
  font-weight: bold;
  line-height: 2 !important;
}

.p-contact_content {
  background: #fff;
  border-radius: 30px;
  padding: 3rem 5rem;
  box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 16%);
}

.p-contact_content_list_item {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8rem;
  margin-bottom: 2rem;
}

.p-contact_content_list_item:last-child {
  align-items: flex-start;
}

.p-contact_text {
  width: 35%;
  display: flex;
  justify-content: space-between;
  font-size: 18px !important;
  font-weight: bold;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.p-contact_sub_text {
  display: inline-block;
  font-size: 13px;
  border-radius: 2px;
  margin-left: 2rem;
  padding: 0.3rem 0.9rem;
  border-radius: 5px;
}

.p-contact_sub_text.required {
  background: #E6001F;
  color: #fff;
  border-radius: 5px;
}

.p-contact_sub_text.any {
  background: #B4B7BC;
}

.p-contact_input {
  width: 70%;
}

.p-contact_input textarea {
  resize: none;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  font-size: 16px;
  color: #707171 !important;
  background: #F5F5F5 !important;
  padding: 0.5rem 1rem;
}

.wpcf7 select {
  color: #707171;
}

::placeholder {
  font-size: 16px;
  color: #B8B9BA !important;
  border: none;
}

input:-internal-autofill-selected {
  background: #F5F5F5 !important;
}

.p-contact_text_sub {
  font-size: 15px;
  margin-bottom: 1rem;
}

.p-contact_text_sub a{
  color: #E6001F;
}

.p-contact_content_footer {
  text-align: center;
}

.p-contact_content_footer .p-contact_text_sub:not(:last-of-type) {
  margin-bottom: 1rem;
}

.p-contact_content_footer .p-contact_text_sub:last-of-type {
  margin-bottom: 3rem;
}

.wpcf7 .contact_submit {
  font-size: 18px;
  font-weight: bold;
  color: #E6001F!important;
  background: #fff !important;
  border: 1px solid #E6001F !important;
  border-radius: 30px;
  margin: 0 auto;
  padding: 0.8rem 6rem;
  width: auto;
  height: auto;
}

.p-contact_submit {
  position: relative;
}

.p-contact_submit::before {
  content: '';
  display: block;
  position: absolute;
  width: 6px;
  height: 10px;
  background-image: url(../img/common/buttom_arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 27%;
  right: 37%;
  z-index: 2;
}

.p-contact_submit:hover .contact_submit {
  color: #fff !important;
  background: #E6001F !important;
}

.p-contact_submit:hover::before {
  background-image: url(../img/common/buttom_white_arrow.svg);
}

/* サブページ---contact-complete */

.p-contact-complete_text_wrapper {
  text-align: center;
}

.p-contact-complete_head_text {
  font-size: 30px;
  margin-bottom: 3rem !important;
  font-weight: bold;
}

.p-contact-complete_body_text {
  font-size: 16px;
  margin-bottom: 2rem !important;
}

.p-contact-complete_body_text:last-of-type {
  margin-bottom: 3rem;
}

.p-contact-complete_btn-box{
  margin: 0 auto;
}

/* サブページ---404 */
.p-404_inner{
  padding: 8rem 0;
}

.p-404_text_wrapper {
  text-align: center;
}

.p-404_head_text {
  font-size: 30px;
  margin-bottom: 3rem !important;
  font-weight: bold;
  line-height: 1.6;
}

.p-404_body_text {
  font-size: 16px;
  margin-bottom: 2rem !important;
  line-height: 2;
}

.p-404_body_text:last-of-type {
  margin-bottom: 3rem;
}

.p-404_btn-box{
  margin: 0 auto;
}

@media not all and (max-width: 1200px) {
  body.search_404_contents {
      height: auto !important;
      overflow: clip;
  }
}


/* レスポンシブ */
@media screen and (max-width: 1200px) {
  .lp_page {
      max-width: 100%;
  }
}


@media screen and (max-width: 1151px) {

  .p-sub_pc_on {
      display: none !important;
  }

  table .p-sub_pc_on {
      display: none !important;
  }

  .p-sub_sp_on {
      display: block !important;
      z-index: 1 !important;
  }

  table .p-sub_sp_on {
      display: table-cell !important;
  }



}


@media screen and (max-width: 950px) {
  .l-inner {
    width: 90%;
    padding: 6rem 0;
  }

  #page_header{
    height: 50vh;
  }

  #page_content{
    padding: 0 !important;
    margin: 0 !important;
  }

  .kv-title {
    font-size: 40px;
  }

  .p-top_head{
    font-size: 40px !important;
  }

  /* ヘッダー */
  /* ヘッダー帯（全幅固定・上部固定） */
  .l-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100vw !important;
    height: 60px !important; 
    margin: 0;
  }

  #header_logo{
    width: 200px;
    margin-left: 10px;
  }

  .l-header_hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    border: 0;
    background: #E6001F;
  }

  .l-header_hamburger_bar_wrapper {
      position: absolute;
      top: 50%;
      width: 20px;
      height: 1.5px;
  }

  .hamburger_bar {
      -webkit-transform-origin: center center;
      position: absolute;
      left: 0;
      width: 100%;
      height: 1.5px;
      transform-origin: center center;
      transition-duration: 1s;
      transition-property: -webkit-transform;
      transition-property: transform;
      transition-property: transform, -webkit-transform;
      transition-timing-function: cubic-bezier(.19, 1, .22, 1);
  }

  .hamburger_bar.active:nth-child(2) {
      display: none;
  }

  .hamburger_bar:first-child {
      -webkit-transform: translateY(-6px);
      transform: translateY(-6px);
  }

  .hamburger_bar.active:first-child {
      transform: rotate(45deg);
  }

  .hamburger_bar:last-child {
      -webkit-transform: translateY(6px);
      transform: translateY(6px);
  }

  .hamburger_bar.active:last-child {
      transform: rotate(-45deg);
  }

  .hamburger_bar:before {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      content: "";
  }

  #header_slider_wrap {
      width: 95%;
      height: 650px !important;
      height: 550px !important;
      height: 580px !important;
      border-radius: 0 0 80px 0;
  }

  #header_slider {
      height: 100% !important;
  }

  #page_header_inner {
      top: 45%;
  }

  #header_slider .slick-track {
      margin: 0;
  }

  #header_slider .slide-media {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover;
  }

  .menu_sub_list_wrapper {
    display: none;
  }

  .menu_sub_list_text {
    background: #fff;
  }

  .menu_sub_list_text:not(:last-child) {
    border-bottom: 1px solid #56c4de60;
  }

  .menu_sub_list_text a {
    display: block;
    font-size: 14px;
    font-weight: bold;
    padding: 1rem 2rem 1rem 2rem;
  }

  .menu_contact_wrapper {
    display: inline-block;
    margin-bottom: 1rem;
  }

  .menu_contact_contents {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu_contact_contents:hover {
    opacity: 0.6;
  }

  .menu_contact_contents_text {
    font-size: 14px;
    font-weight: bold;
    background-color: #fff;
    color: #E6001F;
  }

  .menu_tel_wrapper {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .menu_tel_text {
    font-size: 26px;
    color: #fff;
  }

  .menu_tel_text a {
    font-weight: bold;
  }

  .menu_sub_list_wrapper {
    display: none;
  }

  .menu_sub_list_text {
    background: #fff;
  }

  .menu_sub_list_text:not(:last-child) {
    border-bottom: 1px solid #56c4de60;
  }

  .menu_sub_list_text a {
    display: block;
    font-size: 14px;
    font-weight: bold;
    padding: 1rem 2rem 1rem 2rem;
  }

  .menu_under_text{
    color: #fff;
  }

  #page_header .bg_image{
    width: 94%;
    height: 32%;
    top: 64%;
  }

  .header_contents_img-sub{
    width: 50%;
    top: 56% !important;
    right: 0;
  }

  .l-header_logo_wrapper {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    padding-left: 16px;
    z-index: 302;
  }

  .l-header_logo_wrapper img {
    width: 100%;
    object-fit: contain;
    display: block;
  }

   .l-footer__inner {
    padding: 4rem 25px 2rem;
  }
  
  .l-footer__info {
    display: block;
  }
  
  .l-footer__info-logo-sp{
    border-bottom: 1px solid #535353;
    padding-bottom: 4rem;
  }
  
  .l-footer__info-logo-link{
    width: 16rem;
    margin: 0 auto;
  }
  
  .l-footer__info-logo-link img{
    width: 100%;
  }

  .l-footer__info-nav{
    margin-top: 2rem;
  }

  .l-footer__info-nav-sp{
    margin-top: 4rem;
  }
  
  .l-footer__info-nav-sp-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1.8rem;
    column-gap: 2rem;
  }
  
  .l-footer__info-nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
  }
  
  .l-footer__info-sp-item-home{
    grid-column: span 2;
  }
  
  .l-footer__info-sp-item-works{
    grid-column: span 2;
    padding-bottom: 1rem;
  }

  .l-footer__info-sp-item-partner{
    grid-column: span 2;
  }

  .l-footer__info-sp-item-faq{
    grid-column: span 2;
  }

  .l-footer__info-sp-item-news{
    grid-column: span 2;
  }

  .l-footer__info-sp-item-contact{
    grid-column: span 2;
  }
  
  .l-footer__info-nav-item-text {
    font-size: clamp(16px, 1vw, 18px);
  }
  
  .l-footer__address {
    margin-top: 2rem;
  }
  
  .l-footer__address_text {
    font-size: clamp(16px, 1vw, 18px);
  }
  
  .l-footer__info-bottom-copyright{
    font-size: 13px;
  }
  
  .l-footer__top{
    right: 20%;
    bottom: 120px;
  }
  
  .l_footer_pagetop_txt{
    position: relative;
    font-weight: bold;
    color: #fff;
  }
  
  .l-footer__privacypolicy{
    font-size: clamp(16px, 1vw, 18px);
  }

  /* include-footer-contact */

  .include-footer-contact{
    padding: 1.5rem;
    display: block;
    text-align: center;
    margin: 4rem auto;
  }
  
  .include-footer-contact-head{
    font-size: 40px;
    width: 100%;
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .include-footer-contact-head::after {
    width: 100%;
  }

  /* トップページ */

  .header_contents_list {
    top: 25%;
    left: 7%;
    transform: none;
  }

  .header_contents_phrase_text-red {
    font-size: 48px;
  }

  .header_contents_phrase_text{
    font-size: 25px;
    line-height: 1;
  }

  .header_contents_phrase_text_space{
    margin-bottom: 1rem;
  }

  .header_contents_sub_text{
    width: 90%;
  }
  
  .header_contents_img{
    /* 幅を可変にしつつ上限を付ける */
    width: clamp(160px, 60vw, 320px);
    max-width: calc(100% - 32px); /* 端末の左右16pxずつの余白を確保して溢れ回避 */
    height: auto;
    display: block;
  }
  
  .p-top_about-inner{
    padding: 6rem 0;
  }

  .p-top_about-list{
    display: block;
  }

  .p-top_about-title::after{
    top: 64px;
  }

  .p-top_about-title{
    margin-bottom: 6rem;
  }

  .p-top_about-list-textwrap{
    width: 100%;
    padding: 0;
  }
  
  .p-top_about-list-imgwrap{
    width: 100%;
    padding: 4rem 0 0;
    height: auto;
  }

  .p-top_about-list-imgwrap img{
    width: 100%;
  }
  
  .p-top_business-bg{
    padding: 0;
  }

  .p-top_business-list{
    display: block;
  }

  .p-top_business-list-item{
    width: 100%;
  }

  .p-top_business-list-item:first-child{
    margin-bottom: 4rem;
  }

  .p-top_works-wrap{
    display: block;
  }

  .p-top_works-text-textwrap{
    width: 100%;
    margin-bottom: 4rem;
  }

  .p-top_works-title{
    margin-bottom: 6rem;
  }

  .p-top_works-inner{
    padding: 6rem 0;
  }

  .p-top_works-list{
    width: 100%;
  }

  .p-top_works-title::after{
    top: 64px;
  }

  .p-top_associate-bg{
    margin-top: 0;
    padding: 0;
  }

  :root{
    --associate-left: 0px;
    --associate-row-h: 400px;
  }

  .p-top_associate-inner{
    height: auto;
    margin-bottom: 0;
  }

  .p-top_associate-img-list{
    left: 8%;
    transform: none;
    width: 100%;
    padding-left: 0;
    grid-template-columns: 40% 30% 1fr;
    gap: 10px;
    height: auto;
  }

  .p-top_associate-img-list-item{
    height: var(--associate-row-h);
  }

  .p-top_associate-messagewrap{
    position: relative;
    width: 100%;
    padding: 24px 0 0;
    margin-top: 8rem;
  }

  .p-top_associate-message-text{
    font-size: 32px;
  }

  .p-top_associate-bg::after{
    width: 100%;
    height: 150px;
  }

  .p-top_associate-title{
    margin-bottom: 6rem;
  }

  .p-top_associate-title::after{
    bottom: -40px;
  }

  .breadcrumbsWrap{
    transform: none;
    left: 5%;
    top: 20%;
    width: 90%;
    overflow-x: auto;
    word-break: keep-all;
    white-space: nowrap;
  }

  /* サブページ---company */
  .p-compan_greeting{
    margin-bottom: 4rem;
  }  

  /* サブページ---works */
  .p-works_list_wrapper {
    margin-bottom: 10vw;
  }

  .p-works_inner {
      padding: 8rem 0;
  }

  .p-works_list{
    grid-template-columns: auto;
    gap: 12vw;
  }

  .p-works_list_item_inner {
      padding: 4vw 8vw 16vw;
  }

  .p-works_category {
      margin: 4vw 0 4.5vw;
      padding: 2vw 4vw;
  }

  .c-btn_view-more_wrapper .c-btn_view-more {
      justify-content: right;
  }

  /* サブページ---work */
  

  /* サブページ---work-single */

  .p-works-single_inner {
      padding: 80px 0;
  }

  .p-works-single_post_category {
      margin: 0 0 5vw;
  }

  .p-works-single_post_header_inner {
      display: block;
  }

  .p-works-single_post_title {
      margin-bottom: 5vw;
  }

  .p-works-single_post_header_inner p {
      padding: 0;
  }

  .p-works-single_inner .c-btn_view-more_wrapper {
      transform: none;
  }

  .p-entry__thumbnail{
      width: 100%;
      height: 230px;
      margin: 0 auto;
  }

  /* サブページ---faq */
  .p-faq_accordion {
      margin-bottom: 14px;
      border-radius: 6px;
  }

  .p-faq_accordion summary {
      display: flex;
      align-items: flex-start;
      position: relative;
      padding: 16px 50px 16px 65px;
      font-size: 15px;
      line-height: 1.6;
      cursor: pointer;
  }

  .p-faq_accordion-q-head {
      position: absolute;
      left: 5%;
      top: 0;
      bottom: 0;
      margin: auto 0;
      width: 34px;
      height: 34px;
      line-height: 34px;
      font-size: 18px;
      background: #E6001F;
      color: #fff;
      border-radius: 50%;
      text-align: center;
  }

  .p-faq_accordion summary::before {
      right: 22px;
      width: 2px;
      height: 14px;
      background: #E6001F;
  }

  .p-faq_accordion summary::after {
      right: 16px;
      width: 14px;
      height: 2px;
      background: #E6001F;
  }

  .p-faq_accordion[open] .p-faq_accordion-a {
      display: flex;
      align-items: flex-start;
      flex-direction: row;
  }

  .p-faq_accordion-a-head {
      width: 34px;
      height: 34px;
      line-height: 34px;
      font-size: 18px;
      margin-right: 10px;
      margin-left: 0;
      flex-shrink: 0;
      margin: auto 0;
  }

  .p-faq_accordion-a-text {
      font-size: 15px;
      font-weight: bold;
      line-height: 1.7;
      flex: 1;
      margin-right: 0;
      margin-left: 20px;
  }

  .p-faq_accordion-divider {
      margin: 16px 50px 16px 65px;
      height: 3px;
      background-size: 8px 3px;
  }

  .faq-h2-businesspartner {
      margin-top: 60px !important;
      margin-bottom: 20px;
  }

  .p-sub_head {
      font-size: 20px !important;
      margin-bottom: 25px !important;
  }

  /* サブページ---service-mokukouji */
  .features {
    position: relative;
    left: 50%;
    width: 100%;
    /* ← 画面幅いっぱい */
    transform: translateX(-50%);
    /* ← 中央に戻す */
    background-color: #F4F7F9;
    padding: 0;
    margin-top: 70px
  }

  .features__title {
    font-size: 20px;
  }

  .features__text {
      text-align: left;
  }

  .feature-item {
      width: 100%;
      max-width: 280px;
      margin-bottom: 2rem;
  }


  .p-service-mokukouji_opening {
      display: block;
  }

  .p-service-mokukouji_opening-img-wrap {
      width: 100%;
  }

  .p-service-mokukouji_opening-text-wrap {
      width: 100%;
  }

  .feature-item__title {
      margin: 20px;
  }

  /* サブページ---service-reform */
  .p-service-reform_opening{
    display: block;
  }
  
  .p-service-reform_opening-img-wrap{
    width: 100%;
  }
  
  .p-service-reform_opening-text-wrap{
    width: 100%;
  }

  .p-service-reform_menu{
    margin-top: 4rem;
  }

  .p-service-reform_menu-list{
    display: block;
  }

  .p-service-reform_menu-list-item{
    width: 100%;
  }

  .p-service-reform_flow{
    margin-top: 4rem;
  }

  .p-service-reform_flow-item-head-title{
    width: 100%;
  }

  .p-service-reform_flow-item-head{
    display: block;
    margin-bottom: 1.2rem;
  }

  .p-service-reform_flow-item-head-step{
    font-size: 20px;
    width: 40%;
    margin-right: 1rem;
  }

  .p-service-reform_flow-item-content{
    display: block;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .p-service-reform_flow-item-content-img{
    width: 100%;
    margin-bottom: 2rem;
  }

  .p-service-reform_flow-item-content-img img{
    width: 100%;
  }

  .p-service-reform_flow-item-content-text{
    width: 100%;
    margin-top: 2rem;
  }


  /* サブページ---partner */
  .p-partner-banner {
    height: auto;
    padding: 40px 0;
  }

  .p-partner-banner_content{
    position: relative;
    max-width: 90%;
    padding: 30px 20px;
  }

  .p-partner-banner_title {
      font-size: 20px;
  }

  .p-partner-banner_text {
      font-size: 14px;
  }

  .p-partner-banner_content {
      max-width: 80%;
  }

  .p-partner-banner_title {
      font-size: 20px;
      line-height: 30px;
  }
  
  .p-partner_profile{
    margin-top: 0;
  }

  .post_content p {
      line-height: 2;
      padding-left: 0 !important;
  }

  /* サブページ---news */
  .p-sub_news_inner {
    display: block;
    padding: 0;
  }

  .p-sub_news_main_contents {
      width: 100%;
      margin-bottom: 4rem;
  }

  .p-sub_news_side_contents {
      width: 100%;
  }

  .p-sub_news_list {
      margin-bottom: 4vw;
  }

  .p-sub_news_list a {
      padding: 4vw;
  }

  .p-sub_news_date {
      font-size: 14px;
      margin-bottom: 8px;
  }

  .p-sub_news_title {
      font-size: 18px;
      line-height: 1.6;
  }

  .p-sub_news_side_contents_item_inner {
      padding: 1.5rem;
  }

  .p-sub_news_side_title {
      font-size: 18px;
      margin-bottom: 1.5rem;
  }

  .p-sub_news_side_contents_list a {
      font-size: 14px;
  }

  .p-sub_news_side_date {
      font-size: 12px;
  }

  .p-sub_news_side_post_title {
      font-size: 14px;
      line-height: 1.6;
  }

  .p-sub_news_side_contents_item {
      margin-bottom: 45px;
  }

  .page-nation {
      margin-top: 8vw;
  }

  /* サブページ---news-single */

  .p-single-news_post_wrapper{
    padding: 2rem;
  }

  /* サブページ---privacy-policy */

  /* サブページ---contact */

  .l-inner.p-contact_inner {
    padding: 80px 0 180px;
  }

  .p-faq_title_wrapper {
      margin-bottom: 4rem;
  }

  .p-contact_content {
      padding: 2rem 2rem;
  }

  .p-contact_head_text {
      font-size: 16px;
  }

  .p-contact_text {
      width: 100%;
      grid-template-columns: repeat(2, 1fr);
      grid-column-gap: 1vw;
      justify-content: unset;
  }

  .p-contact_main_text {
      order: 2;
  }

  .p-contact_sub_text {
      width: 26px;
      order: 1;
      margin: 0 0.5rem 0 0;
  }

  .p-contact_content_list_item {
      display: grid;
      gap: 0.5rem;
  }

  .p-contact_text {
      font-size: 16px !important;
  }

  .p-contact_input {
      width: 100%;
  }

  .p-contact_text_sub {
      font-size: 14px !important;
  }

  .wpcf7 .contact_submit {
      font-size: 16px;
  }

  .p-contact_submit::before {
      top: 27%;
      right: 12%;
  }

  /* サブページ---contact-complete */

  .l-inner.p-contact-complete_inner {
      padding: 80px 0 200px;
  }

  .p-contact-complete_head_text {
      font-size: 22px;
  }

  .p-contact-complete_body_text.c-font-c-F07575 {
      font-size: 14px;
  }

  .c-btn-circle_text {
      font-size: 16px;
  }

  .c-btn-circle a {
      gap: 1rem;
      padding: 1rem 2rem;
  }

  .p-contact-complete_body_text {
      text-align: left;
  }

}