@charset "UTF-8";
/*
theme: 株式会社BPJ（ブライトパートナーズジャパン）
*/
/* CSS Document */
/* all content
* --------------------------------------- */
/* 共通
* --------------------------------------- */


/*PCSP共通---------------------------------------*/
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

body, p, a, li, dt, dd {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    line-height: 1.5;
}

.mt10{
  margin-top:10px;
}
.mt32{
  margin-top:32px;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .main_vw .bg_inner {
        height: 60vh;
    }
    .main_vw_text {
        font-size: clamp(24px, 6vw, 32px); /* 画面に合わせて24〜32pxで可変 */
    }
  }
/*inner*/
.big_inner {
  width: 100%; 
  margin: 0 auto;
}
.inner {
    width: 92%; 
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media screen and (max-width: 769px) {
.big_inner{
  width:100%;
  margin:0 auto;
}

.inner{
  width:96%;
  margin:0 auto;
}

}/*inner end*/

/*下層ページのタイトル---------------------------------------*/
.bottom_page_h3_title{
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.4;
    text-align:center;
}
.bottom_page_h3_title_left h3{
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.4;
    text-align:left !important;
}
.bottom_page_h3_title_left span{
  color:#8C0B0D;
}


/*PCもしくはSPのみの指定---------------------------------------*/
@media screen and (max-width: 768px) {
    .pcOnly { display: none; }
}
@media screen and (min-width: 769px) {
    .spOnly { display: none; }
    .flex_box{
      display: flex;
      flex:1;
      gap:24px;
    }
}

/*section---------------------------------------*/
.section120{
    margin-top:120px;
}

/*btn　ボタン共通---------------------------------------*/
.btn_type1 {
    text-align: right;
}

.btn_type1 a {
    display: inline-flex;
    align-items: center;
    color: #8C0B0D;
    font-size: 28px;
    font-weight: bold;
    gap: 15px;
    transition: opacity 0.3s ease;
}

.btn_type1 a::after {
    content: "";
    display: block;
    width: 50px; 
    height: 50px; 
    background-image: url('../img/arrow_red.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.btn_type1 a:hover { opacity: 0.7; }

/*ヘッダーメニュー---------------------------------------*/
.header .nav-section {
  padding: 15px 0 0 0;
}
.global-nav__pc .dropmenu {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
  margin-left: 20px;
  gap: 0 40px;
}
.global-nav__pc .dropmenu li {
  position: relative;
  line-height: 1;
}
.global-nav__pc .dropmenu li.parentmenu {
  cursor: pointer;
  padding: 39px 0;
  font-size: 16px;
  align-items: center;
  display: flex;
}
.global-nav__pc .dropmenu li a {
  display: block;
  text-align: center;
  font-size: 16px;
  padding: 17px 0;
}
.global-nav__pc .dropmenu li ul {
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 95px;
  right: 50%;
  margin: 0;
  background-color: #fff;
  width: 280px;
  box-sizing: border-box;
  transform: translateX(50%);
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
}
.global-nav__pc .dropmenu li.parentmenu:hover ul {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.global-nav__pc {
  position: fixed;
  top: 35px;
  z-index: 100;
  max-width: 1800px;
  left: 50%;
  margin: 0 auto;
  width: calc(100% - 40px);
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
#dropmenu li ul li {
  overflow: hidden;
  height: 0;
  transition: .4s;
}
#dropmenu li:hover ul li {
  overflow: visible !important;
  height: auto !important;
  opacity: 1 !important;
}
.dropmenu li .icon {
  display: block;
  margin: 0 auto;
}
.nav-outer-block {
  display: flex;
  padding-left: 10px;
}
.header-logo__wrap a img {
  width: 300px;
  vertical-align: top;
  max-height:60px;
}
.global-nav__sp {
  display: none;
}
.global-contect__wrap {
  display: flex !important;
  align-items: stretch !important;
  background-color: #ffffff;
  box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
  width: 100%;
  padding: 0 0 0 30px !important;
  height: 100px;
  box-sizing: border-box;
  border-radius: 5px;
  margin-top: 24px;
}

.global-nav__pc .dropmenu li.parentmenu img {
  margin-left: 10px;
  width: 14px;
}

.header-logo__wrap {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.global-nav__pc .dropmenu {
  display: flex !important;
  align-items: stretch !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.global-nav__pc .dropmenu > li {
  position: relative !important;
  display: block !important;
  height: 100% !important;
  margin: 0 20px !important;
}

.global-nav__pc .dropmenu > li > a,
.global-nav__pc .dropmenu > li.parentmenu {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
}

.nav_btn_flex {
  display: flex !important;
  align-items: stretch !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.nav_btn_flex li {
  display: flex !important;
  height: 100% !important;
}

.nav_btn_flex li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  padding: 0 30px !important;
  box-sizing: border-box !important;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.nav_btn_flex ._registration a {
  background-color: #4B090C;
  color:#FFF;
}

.nav_btn_flex ._contact a {
  background-color: #8C0B0D;
}

.nav_btn_flex li:last-child a {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.global-nav__pc .dropmenu li ul {
  position: absolute !important;
  top: 100px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-color: #fff;

  width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: .3s;
}
.global-nav__pc .dropmenu li {
  position: relative !important;
  
}

.global-nav__pc .dropmenu li ul {
 top: 100px !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transition: .4s;
  pointer-events: none; /* 非表示の時はマウスに反応させない */
}

.global-nav__pc .dropmenu li:hover ul {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.global-nav__pc .dropmenu li ul li {
  overflow: visible !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.global-nav__pc .dropmenu li ul li a {
  display: block !important;
  padding: 15px 24px !important;
  height: auto !important;
  background-color: #fff !important;
  color: #333 !important;
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #000000 !important;
  transition: background-color 0.3s !important;
}



@media screen and (max-width: 1110px) {
  .global-nav__pc .dropmenu {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
    gap: 0 40px;
  }

  .global-nav__pc .dropmenu li._contact a {
    width: 130px;
    padding: 0;
    height: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 400;
  }
}
@media screen and (max-width: 941px) {
  .global-nav__pc {
    display: none;
  }
  .global-nav__sp {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    display: block;
    right: 50%;
    transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
  }
  .gnav-items__wrap {
    max-width: 941px;
    margin-left: auto;
  }
  .global-nav__list {
    padding: 30px 20px 200px;
    display: flex;
    flex-direction: column;
    gap: 15px 0;
  }
  .gnav-items__wrap {
    display: none;
    height: 100vh;
    background: #4B090C;
    overflow-y: scroll;
  }
  .gnav-items__wrap .trigger {
    z-index: 0;
    background-color: #fff;
    line-height: 1;
    font-weight: 400;
    font-size: 16px;
    box-sizing: border-box;
    position: relative;
  }
  .gnav-items__wrap .trigger ul{
    padding-top:16px;
  }
  .gnav-items__wrap .trigger a {
    position: relative;
    display: block;
    font-weight: normal;
    text-decoration: none;
    -webkit-transition: .35s all ease;
    transition: .35s all ease;
    font-size: 16px;
  }
  .gnav-items__wrap .target {
    z-index: 1;
    display: none;
    margin: 0 auto;
    padding: 0;
    color: #fff;
  }
  .gnav-items__wrap .target .target a {
    background-color: #2c363a;
  }
  .gnav-items__wrap .target .target a:hover {
    background-color: #374449;
  }
  .gnav-items__wrap .target .trigger a {
    background-color: #161b1d;
  }
  .gnav-items__wrap .target .trigger a:before, .gnav-items__wrap .target .trigger a:after {
    background-color: #fff;
  }
  .gnav-items__wrap .target .trigger a:before {
    top: .5em;
    right: 16px;
  }
  .gnav-items__wrap .target .trigger a:after {
    top: .85em;
    right: 16px;
  }
  .gnav-items__wrap .target .active a {
    padding-left: 1.5em;
    padding-right: 1.5em;
    color: #fff;
  }
  .gnav-items__wrap .target .active a:hover {
    background-color: #2c363a;
  }
  .gnav-items__wrap .target .active a:before, .gnav-items__wrap .target .active a:after {
    -ms-transform: rotate(0);
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  .gnav-items__wrap .target .active a:before {
    top: .65em;
    left: 1em;
    width: 3px;
    height: 12px;
  }
  .gnav-items__wrap .target .active a:after {
    display: none;
  }
  .gnav-items__wrap .target a {
    display: block;
    -webkit-transition: .35s all ease;
    transition: .35s all ease;
    font-size: 15px;
    display: flex;
    align-items: flex-end;
  }
  .gnav-items__wrap > ul > li {
    animation: fadeInDown 0.5s cubic-bezier(.17, .67, .57, .99) forwards;
    pointer-events: auto;
    position: relative;
    padding: 0;
    background: #fff;
  }
.gnav-items__wrap > ul > li a,
.gnav-items__wrap .trigger {
    display: block;
    padding: 20px 10px;
    transition: 0.3s;
    line-height: 1;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
  }
  
.global-nav__list li._contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-color: #8C0B0D;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 5px;
    height: 60px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 15px;
  }

  .gnav-items__wrap > ul > li a::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-size: contain;
    vertical-align: middle;
    background-image: url(../img/icon-arrow.svg);
    background-repeat: no-repeat;
  }
  .gnav-items__wrap > ul > li.trigger {
    display: block;
    padding: 20px 14px;
    transition: 0.3s;
  }
  .btn_hamburger {
    padding: 24px 0;
    background: #ffffff;
    cursor: pointer;
    border-bottom: solid 2px #4B090C;
  }
  .btn_hamburger a {
    position: relative;
    display: block;
    height: 30px;
    width: 30px;
    margin-left: auto;
    margin-right: 15px;
    -webkit-transition: all .4s;
    transition: all .4s;
    box-sizing: border-box;
  }
  .btn_hamburger .active {
    box-shadow: none;
  }
  .js-sub-btn {
    width: 100%;
    height: 58px;
    position: absolute;
    right: 0;
    top: 0;
  }
  .js-sub-btn img {
    width: 17px;
    position: absolute;
    top: 16px;
    right: 30px;
  }
  .gnav-items__wrap .active span img {
    transform: rotate(90deg);
  }
  .target ul li {
    position: relative;
  }
  .target ul li a {
    border-bottom: none;
    padding-bottom: 15px;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    border-bottom: solid 1px #9A9A9A;
    margin:15px;
  }
  .target ul li:nth-last-child(1) a {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 18px;
  }

  .global-nav__pc .dropmenu li._contact a {
  color: #fff;
  background: #8C0B0D;
  width: 180px;
  height: 100%;

}
/*ヘッダー*/
  .header-logo__wrap {
    top: 15px;
    left:2%;
    position: absolute;
  }
    
  .header-logo__wrap a img {
    width: 200px;
    vertical-align: top;
    max-height:60px;
  }

  .header-logo__wrap ._logo img {
    width: 180px;
  }
  .js-sub-btn::before, .js-sub-btn::after {
    content: '';
    width: 15px;
    height: 2px;
    background: #000;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }
  .js-sub-btn::after {
    transform: translateY(-50%) rotate(90deg);
    transition: .5s;
  }
  .trigger.active .js-sub-btn::after {
    transform: translateY(-50%) rotate(0);
  }
  .target._last ul li:nth-last-child(1) {
    border-bottom: solid 1px #1A0E04;
  }
  .global-btn__wrap a {
    color: #fff;
  }
  .gnav-items__wrap::-webkit-scrollbar {
    display: none;
  }

  .global-nav__list li._registration a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #6a080a !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 5px !important;
    height: 60px !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    padding: 0 15px !important;
    margin-bottom: 10px !important;
  }

  .global-nav__list li._registration a::after {
    display: none !important;
  }

  .global-nav__list li._contact a {
    margin-bottom: 0 !important;
  }

  .global-nav__list li._registration,
  .global-nav__list li._contact {
    background: transparent !important;
    padding: 0 !important;
    animation: none !important;
  }


}/*end ヘッダーメニュー---------------------------------------*/





/*下層ヘッダー---------------------------------------*/


/*下層フッター---------------------------------------*/
/* --- お問い合わせセクション全体 --- */
.common_contact_contents {
    background-color: #4B090C;
    color: #fff;
    text-align: center;
    font-size: clamp(18px, 4vw, 28px);
    padding: clamp(64px, 10vw, 120px) 20px;
    box-sizing: border-box;
}

/* --- ボタン上のテキストエリア --- */
.common_contact_contents .common_contact_btn {
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    text-align: center;
    font-size: clamp(16px, 3.5vw, 24px);
    /* padding-top: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(64px, 10vw, 120px);*/
    margin-top: clamp(20px, 4vw, 40px);
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

/* --- お問い合わせボタン --- */
.common_contact_contents .common_contact_btn a {
    font-family: "Yu Mincho", serif;
    background-color: #8C0B0D;
    border: 1px solid #fff;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.1em;
    font-size: clamp(16px, 4vw, 24px);
    padding: clamp(16px, 2.5vw, 24px) clamp(32px, 5vw, 40px);
    box-sizing: border-box;
    transition: 0.3s;
}

.common_contact_contents .common_contact_btn a:active,
.common_contact_contents .common_contact_btn a:hover {
    background-color: #fff;
    color: #8C0B0D;
}
.common_contact_title,
.common_contact_btn a {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
}
.common_contact_title{
  font-weight: normal;
}
/* --- スマホ表示の調整 --- */
@media screen and (max-width: 768px) {
.common_contact_contents .common_contact_btn a {
    background-color: #8C0B0D;
    border: 1px solid #fff;
    color: #fff;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 40px;
    font-size: clamp(14px, 4vw, 18px);
    box-sizing: border-box;
    width: 100%;
}
}

/*コピーライト*/
.copyright {
    background-color: #8C0B0D; 
    color: #ffffff;
    padding: 16px 0;
    width: 100%;
}
.copyright p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;           
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0;
}

/* --- スマホ表示の調整 --- */
@media screen and (max-width: 768px) {
    .copyright {
        padding: 20px 0; 
    }
    .copyright p {
        font-size: 11px;
    }
}

/*コピーライト*/
.copyright {
    background-color: #8C0B0D; 
    color: #ffffff;
    padding: 16px 0;
    width: 100%;
}
.copyright p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;           
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0;
}

/* --- スマホ表示の調整 --- */
@media screen and (max-width: 768px) {
    .copyright {
        padding: 20px 0; 
    }
    .copyright p {
        font-size: 11px;
    }
}/*end 下層フッター---------------------------------------*/








/*下層ページ：共通ヘッダー---------------------------------------*/
.sub_page_header {
    width: 100%;
    height: clamp(200px, 25vw, 400px); 
    background-image: url('../img/sub_header_bk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    align-items: center; 


}

.sub_page_header::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(75, 9, 12, 0.8);
    z-index: -1;
}

.sub_page_title {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    margin: 0;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    max-width: 1200px;
    padding: 0 40px;
    text-align: left;
}

.bottom_page h3 {
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.4;
    margin-bottom: 0.8em;
    text-align: center;
}

.bottom_page h4 {
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.5;
    color: #4B090C;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3em; 
}

@media screen and (max-width: 768px) {
  .sub_page_header {
    margin-top:79px;
    height: 200px;
    position: relative;
  }

  .sub_page_header::before {
    top: 0;
  }
.sub_page_header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    margin-top: 74px;
    background-image: url('../img/sub_header_bk.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  .sub_page_header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(75, 9, 12, 0.8);
    z-index: -1;
  }

  .sub_page_title {
    width: 100%;
    padding: 0 2%;
    box-sizing: border-box;
    color: #ffffff;
    font-size: clamp(24px, 6vw, 28px);
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    text-align: left;
    line-height: 1.4;
    position: static;
    transform: none;
  }

  .bottom_page h4 {
    min-height: auto;
    padding-bottom: 16px;
  }



}/*end 下層ページ：共通ヘッダー---------------------------------------*/

/*sub_page_title.php内---------------------------------------*/

/*end sub_page_title.php内---------------------------------------*/







/* ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
TOPページ
 ------------------------------------------------------------------------------
* ------------------------------------------------------------------------------ */

.main_vw {
    width: 100%;
    margin: 0;
    padding: 0;
}

.main_vw .bg_inner {
    width: 100%;
    height: 912px;
    background-image: url('../img/main_vw.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: table; 
}

.main_vw_text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 72px;
    color: #4B090C;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    line-height: 1.4; 
    margin: 0;
}



.message_section {
    width: 100%;
    overflow: hidden;
    padding: 100px 0;
    background-color: #fff;
}

.bpj_top_message {
    display: flex;
    align-items: flex-start;
    padding-left: max(20px, (100% - 1500px) / 2);
    /*padding-right: 20px;*/
    width: 100%;
    box-sizing: border-box;
}

.text_contents {
    width: 100%;
    max-width: 750px;
    flex-shrink: 1;
}

.img_contents {
    flex-shrink: 1;
    min-width: 0;
}


.text_contents h3 { font-size: 40px; color: #4B090C; }
.text_contents p { font-size: 24px; margin-top: 56px; }
.text_contents .btn_type1 { margin-top: 40px; }

.img_contents {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    height: 676px; 
}

.img_contents img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* --- セクション全体 --- */
.message_section {
    width: 100%;
    overflow: hidden; /* 横スクロールを防止 */
    padding: 100px 0;
    background-color: #fff;
}



.bpj_top_message {
    display: flex;
    align-items: flex-start; /* ◀上揃えにして、margin-topで80pxの位置を固定する */
    padding-left: calc((100% - 1500px) / 2);
    position: relative;
    width: 100%;
}

/* --- 左側：テキストエリア --- */
.text_contents {
    width: 750px;
    flex-shrink: 0;
    background: #fff;
    padding: 80px; 
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
    margin-top: 190px;
    margin-right:-80px;
    position: relative;
    box-sizing: border-box;
    
}

.text_contents h3{
  font-size: 40px;
  color:#4B090C;
}
.text_contents p{
  font-size: 24px;
  margin-top:56px;
}

/* --- 右側：画像エリア --- */
.img_contents {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    height: 676px; 
}

.img_contents img {
    width: auto;
    max-width: 100%;
    height: 100%;          /* 親(676px)いっぱいに広げる */
    object-fit: contain;   /* 比率を守りつつ全体を表示（見切れ防止） */
    display: block;
}

@media screen and (max-width: 1500px) {
    .main_vw_text {
        font-size: 5vw;
    }
}



/* ------------------------------------------------------------------------------
TOPスマホ
* ------------------------------------------------------------------------------ */

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

.main_vw .bg_inner {
    width: 100%;
    height: 70vh; 
    min-height: 400px;
    background-image: url('../img/main_vw.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_vw_text {
    font-size: clamp(24px, 8vw, 40px);
    white-space: nowrap;
    color: #4B090C;
    padding: 0 20px;
    line-height: 1.4;
    display: block; /* table-cellを解除 */
    width: 100%;
    box-sizing: border-box;
}
/*
.message_section {
    width: 100%;
    overflow: hidden;
    padding: 100px 0;
    background-color: #fff;
}*/
.sp_inner{
  width:96%;
  margin:auto 0;
}
.bpj_top_message {
    display: flex;
    align-items: flex-start;
    padding-left: calc((100% - 1500px) / 2);
    position: relative;
    width: 100%;
}


.text_contents h3 { font-size: 40px; color: #4B090C; }
.text_contents p { font-size: 24px; margin-top: 56px; }
.text_contents .btn_type1 { margin-top: 40px; }

.img_contents {
    display: block;
}

.img_contents img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media screen and (max-width: 768px) {
    .message_section {
        width: 100%;
        padding: 32px 0;
        background-color: #fff;
    }
    .bpj_top_message {
        display: block;
        width: 100%;
    }
    .text_contents {
        width: 100%;
        background: #fff;
        padding: 32px 20px;
        box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
        box-sizing: border-box;
        margin-top:32px;
    }
    .text_contents h3 {
        font-size: clamp(24px, 6vw, 28px);
        color: #4B090C;
        line-height: 1.4;
        margin: 0;
    }
    .text_contents p {
        font-size: clamp(15px, 4vw, 16px);
        margin-top: 32px;
        line-height: 1.7;
    }
    .img_contents {
        width: 100%;
        height: auto;
        margin-top: 32px;
    }
    .img_contents img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}


}/*end TOPページ---------------------------------------*/


/*business.php内---------------------------------------*/
section .service_contents {
  margin-top:120px;
  color:#4B090C;
  text-align:center;
  background-image: url('../img/service_bk.jpg');
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  align-items:center;
  justify-content:center;
  padding:120px 0;
}
section .service_contents .flex_box{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  align-items: stretch !important;         
  gap: 40px 24px;                      
  max-width: 1500px;
  margin: 80px auto;
  width: 100%;
}
section .service_contents .service {
    box-sizing: border-box !important;
    width: calc((100% - 24px) / 2) !important;
    flex: 1 0 calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2);
    margin-top: 0 !important; 
    background-color: rgba(255, 255, 255, 0.8);
    padding: 64px 48px;
    color: #4B090C;
}

section .service_contents h2 {
    text-align: center;
    color: #4B090C;
    font-size: clamp(24px, 5vw, 48px);
    line-height: 1.3;
}

section .service_contents h3 {
    color: #4B090C;
    font-size: clamp(24px, 4vw, 40px);
    margin-bottom: 0.5em;
    line-height: 1.4;
}

section .service_contents p {
    text-align: left;
    font-size: clamp(15px, 2vw, 21px);
    margin: clamp(20px, 3vw, 32px) 0;
    line-height: 1.7; 
}


/*スマホ用*/
@media screen and (max-width: 768px) {
section .service_contents {
        margin-top: 32px;
        padding: 32px 0;
    }

    section .service_contents .inner,
    section .service_contents .flex_box {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        width: 92% !important;
        margin: 0 auto !important;
    }

    section .service_contents .service {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-top: 0;
        padding: 32px 20px;
        box-sizing: border-box;
    }

    section .service_contents h2 {
        margin-bottom: 32px;
        text-align: center;
    }

    section .service_contents h3 {
        text-align: center;
        margin-bottom: 16px;
    }

    section .service_contents p {
        margin: 16px 0 0 0;
        padding: 0;
        text-align: left;
        color: #333;
    }

    .btn_type1 {
        margin-top: 32px;
        text-align: right;
    }

    .btn_type1 a {
        font-size: clamp(18px, 5vw, 20px);
        gap: 10px;
    }

    .btn_type1 a::after {
        width: 35px;
        height: 35px;
    }

}/*end business.php内---------------------------------------*/


/* ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
M＆A事業
 ------------------------------------------------------------------------------
* ------------------------------------------------------------------------------ */

.flex_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 24px);
}

.business_text {
    flex: 1;
    font-size: clamp(16px, 1.8vw, 24px);
    line-height: 1.8;
    text-align: left;
}

.business_img {
    width: clamp(300px, 40vw, 600px);
    flex-shrink: 0;
}

.business_img img {
    width: 100%;
    height: auto;
    display: block;
}


.business_text {
    margin: clamp(64px, 10vw, 120px) auto;
    font-size: clamp(18px, 2.2vw, 21px);
}
.business_service{
  background-color:#8C0B0D;
  padding:80px 0;
}
.business_service .flex_box{
  margin-top:48px;
}
.business_service .business_info{
  background-color:#FFF;
  padding:32px 24px;
}

.business_service h3{
  color:#FFF;
  text-align:center;
}
.business_service h4,
.business_we h4{
  color:#4B090C;
  text-align:center;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.business_service p{
  margin-top:24px;
  text-align:left;
  font-size:18px;

}
/* --- スマホ表示の調整 --- */
@media screen and (max-width: 768px) {
  .flex_box {
      flex-direction: column;
      gap: 32px;
  }
  
  .business_text {
      text-align: left;
      margin-bottom:24px;
  }
  
  .business_img {
      width: 100%;
      margin-bottom:64px;
  }
  .business_service{
    background-color:#8C0B0D;
    padding:40px 0;
    width:100%;
  }
  .business_service .flex_box{
    display: block;
    margin-top:24px;
  }
  .business_service .business_info{
    background-color:#FFF;
    padding:32px 4%;
    margin-bottom:24px;
  }
  .business_service h4{
    color:#4B090C;
    text-align:center;
    min-height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}/*end M＆A事業---------------------------------------*/







/* ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
ウェルスマネジメント事業
 ------------------------------------------------------------------------------
* ------------------------------------------------------------------------------ */
.business_wealth_info {
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch; 
    gap: 24px;
    margin-top: 48px;
}

.business_wealth_info .business_we {
    background-color: #FFF;
    padding: 32px 24px;
    width: calc(25% - 18px); 
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
@media screen and (max-width: 768px) {
    .business_wealth_info {
        display: block;
        margin-top: 32px;
    }

    .business_wealth_info .business_we {
        width: 100%;
        margin-bottom: 24px;
        padding:24px;
    }

    .business_wealth_info .business_we:last-child {
        margin-bottom: 0;
    }

    .business_wealth_info h4 {
        font-size: clamp(20px, 6vw, 24px); 
        color: #4B090C;
        text-align: center;
        display: block;
        min-height: auto;
    }

    .business_wealth_info p {
        font-size: 15px;
        line-height: 1.7;
        margin-top: 0;
    }
}

/*end ウェルスマネジメント事業---------------------------------------*/
/* ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
会社概要
 ------------------------------------------------------------------------------
* ------------------------------------------------------------------------------ */
.company_text{
    margin: 120px auto;
    width: 100%;
}

.company_table {
    margin-top:48px;
    width: 100%;
    border-collapse: collapse;
}

.company_table tr {
    padding: 32px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.company_table tr:nth-child(odd) {
    background-color: #F9F0F0;
}

.company_table th {
    text-align: left;
    width: 240px;
    font-weight: bold;
    color: #8C0B0D;
}

.company_table td {
    text-align: left;
    flex: 1;
    line-height: 1.6;
}

/*スマホ用*/
@media screen and (max-width: 768px) {

.company_text {
    margin: 32px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.company_table tr {
    padding: 24px 15px;
    flex-direction: column;
    align-items: flex-start;
}

.company_table th {
    width: 100%;
    font-size: 16px;
    margin-bottom: 8px;
}

.company_table td {
    width: 100%;
    font-size: 15px;
}
}

/*end 会社概要---------------------------------------*/

/* ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
お問い合わせ＋メンバー登録
 ------------------------------------------------------------------------------
* ------------------------------------------------------------------------------ */
.contact_contents{
  margin-top:120px;
}

.form-items__area {
  max-width: 940px;
  margin: 0 auto;
}
.form-items__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 23px 0;
  justify-content: space-between;
  margin-bottom: 32px;
  align-items: center;
}
.form-items__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}
.form-items__editor {
  width: 75%;
}
.required {
  font-size: 16px;
  color: #fff;
  display: inline-block;
  padding: 0;
  background-color: #D70C18;
  padding: 4px 10px;
  text-align: center;
  border-radius: 5px 5px 0px 0px;
}
.any {
  font-size: 16px;
  color: #fff;
  display: inline-block;
  background-color: #707070;
  text-align: center;
  padding: 4px 10px;
  border-radius: 5px 5px 0px 0px;
}
.btn-success {
  background: #0C1828;
  border-radius: 100px;
  color: #fff;
  max-width: 320px;
  font-size: 16px;
  text-align: center;
  position: relative;
  padding: 24px;
  border: none;
  width: 100%;
  margin: 32px auto 0;
  display: block;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background: #B1000A;
  color: #fff;
  border: none;
  opacity: .7;
}
.form-items__editor input {
  box-shadow: none;
  border: 1px solid #E3E3E3;
  font-size: 16px;
  font-weight: 300;
  border-radius: 0;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}
.form-items__editor textarea {
  box-shadow: none;
  border: 1px solid #E3E3E3;
  height: 200px;
  font-size: 16px;
  font-weight: 300;
  border-radius: 0;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}
.form-items__editor input:active, .form-items__editor input:focus {
  outline: none;
  box-shadow: none;
  border-color: #D70C18;
}
.form-items__editor textarea:active, .form-items__editor textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: #D70C18;
}
.acceptance-send__wrap {
  text-align: center;
  text-align: center;
}
.acceptance-send__wrap p {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
}
.acceptance-send__wrap input[type=checkbox] {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  opacity: 0;
}
.acceptance-send__wrap .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #8c0b0d;
  background-color: #fff;
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  box-sizing: border-box;
}

.acceptance-send__wrap .wpcf7-list-item:has(:checked) .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 6px; 
  width: 5px;
  height: 10px;
  border: solid #8c0b0d;
  border-width: 0 2px 2px 0;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.2s;
}

.acceptance-send__wrap input[type="checkbox"] {
  display: none !important;
}

.acceptance-send__wrap .wpcf7-list-item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}
input[type=checkbox]:checked + .wpcf7-list-item-label::before {
  background: #FFF;
}
.acceptance-send__wrap a {
  text-decoration: underline;
}
.form-send__wrap {
  position: relative;
  text-align: center;
  max-width: 313px;
  margin: 32px auto 0;
}
.form-send__wrap input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 18px;
  padding: 24px 35px;
  border-radius: 0;
  background-color: #8C0B0D;
  border: none;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  font-weight: 400;
  margin-bottom:120px;
  font-weight:bold;
}
.form-send__wrap span.wpcf7-spinner {
  display: none;
}

.form-items__editor .wpcf7-list-item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 15px 0;
  cursor: pointer;
}

.form-items__editor .wpcf7-list-item-label {
  font-size: clamp(20px, 6vw, 24px);
  color: #333;
  cursor: pointer;
  line-height: 1;
}

.form-items__editor input[type="checkbox"],
.form-items__editor input[type="radio"] {
  width: clamp(20px, 6vw, 24px);
  height: clamp(20px, 6vw, 24px);
  margin: 0 0 0 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #8C0B0D;
  background: #fff;
  border-radius: 3px;
  position: relative;
}

.form-items__editor input[type="checkbox"]:checked:before {
  content: "";
  position: absolute;
  top: 15%;
  left: 35%;
  width: 25%;
  height: 50%;
  border: solid #8C0B0D;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.required-label {
  display: inline-block;
  background: #8C0B0D;
  color: #fff;
  font-size: 12px;
  margin-left:8px;
  padding: 2px 8px;
  border-radius: 0;
  line-height: 1.4;
  font-weight: normal;
}

.form-items__editor .wpcf7-list-item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  margin: 10px 0;
  cursor: pointer;
}

.form-items__editor .wpcf7-list-item-label {
  font-size: clamp(20px, 6vw, 24px);
  color: #333;
  cursor: pointer;
}

.form-items__editor input[type="checkbox"] {
  width: clamp(20px, 6vw, 24px);
  height: clamp(20px, 6vw, 24px);
  margin: 0 0 0 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #8C0B0D;
  background: #fff;
  border-radius: 0;
  position: relative;
}

.form-items__editor input[type="checkbox"]:checked:before {
  content: "";
  position: absolute;
  top: 15%;
  left: 35%;
  width: 25%;
  height: 50%;
  border: solid #8C0B0D;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}


/* 1. ラジオボタンの指定 */
.info_type .wpcf7-form-control {
    display: flex !important;
    flex-wrap: wrap;
    gap: .5em 2em;
    border: none;
}

.info_type br {
    display: none !important;
}

.info_type .wpcf7-list-item {
    display: flex !important;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    cursor: pointer;
    margin: 0 !important;
}

.info_type .wpcf7-list-item-label::before {
    display: inline-block;
    content: '';
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #8c0b0d;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 8px;
}

.info_type .wpcf7-list-item:has(:checked) .wpcf7-list-item-label::after {
    position: absolute;
    top: 50%;
    left: 11px;
    transform: translate(-50%, -50%);
    content: '';
    width: 10px;
    height: 10px;
    background-color: #8c0b0d;
    border-radius: 50%;
}

.info_type input[type="radio"] {
    display: none !important;
}

.info_type .wpcf7-list-item-label {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 16px;
    white-space: nowrap;
}

.registration_info {
  padding-top: 120px;
  padding-bottom: 60px;
}

/*メンバー登録項目*/
.bank-section {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 30px;
}

.main-label {
  width: 200px;
  flex-shrink: 0;
  padding-top: 12px;
  font-weight: bold;
}

.bank-fields-box {
  flex: 1;
  background-color: #fdf2f2;
  padding: 20px;
  border-radius: 5px;
  box-sizing: border-box;
  width:100%;
}

.bank-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  min-height: 45px;
  width: 100%;
}

.bank-row:last-child {
  margin-bottom: 0;
}

.bank-sub-label {
  width: 140px;
  font-size: 14px;
  font-weight: bold;
  color: #4B090C;
  flex-shrink: 0;
}

.bank-input-field {
  flex: 1;
}

.bank-input-field input[type="text"],
.bank-input-field input[type="tel"],
.bank-input-field input[type="date"],
.bank-input-field select {
  width: 100% !important;
  height: 45px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 0 10px;
  background-color: #fff;
  display: block;
}

.bank-input-field .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

@media screen and (max-width: 769px) {
  .form-items__title {
    font-size: 16px;
  }
  .form-items__wrap {
    gap: 5px 0;
  }
  .form-items__editor {
    width: 100%;
    position: relative;
  }
  .any, .required {
    font-size: 13px;
    padding: 2px 10px;
    position: absolute;
    top: -26px;
    right: 0;
  }
  .form-items__editor input {
    height: 60px;
    font-size: 15px;
    padding: 10px;
  }
  .form-send__wrap input[type="submit"] {
    font-size: 16px;
    padding: 24px 30px;
  }


  .registration_info {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  
  /* メンバー登録スマホ用の調整 */
.bank-section {
    flex-direction: column;
  }
  
  .main-label {
    width: 100%;
    padding-top: 0;
    margin-bottom: 10px;
  }

  .bank-row {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }

  .bank-sub-label {
    width: 100%;
    margin-bottom: 5px;
  }


}/*end お問い合わせ---------------------------------------*/
/* ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
お問い合わせ完了
 ------------------------------------------------------------------------------
* ------------------------------------------------------------------------------ */
  .contact_complete{
    margin:120px auto;
  }

  .contact_complete h3 {
    font-size: 24px;
    margin-top: 1em;
    padding: 6px 16px;
    position: relative;
    background-color: #ffedee;
    border-left: solid 4px #8c0b0d;
  }

.contact_complete p {
  margin-top:48px;
  line-height: 2;
  font-size: 18px;
}
@media screen and (max-width: 769px) {
.contact_complete {
    margin: 60px auto;
    text-align: left;
  }

  .contact_complete h3 {
    font-size: clamp(18px, 5vw, 22px);
    margin-top: 0;
    padding: 12px 15px;
    background-color: #ffedee;
    border-left: solid 4px #8c0b0d;
    line-height: 1.4;
  }

  .contact_complete p {
    margin-top: 24px;
    line-height: 1.8;
    font-size: 16px;
  }


}/*end お問い合わせ完了---------------------------------------*/



html, body {
    overflow-x: hidden;
    width: 100%;
}