@charset "UTF-8";

.wiring-gb{
  background-color: var(--color-beige-1);
  background-image:
    url("../../img/common/wiring-gb-l.webp"),
    url("../../img/common/wiring-gb-r.webp");
  background-position:
    calc(50% - 600px) 90px,
    calc(50% + 600px) top;
  background-size:
    863px auto,
    811px auto;
  background-repeat: no-repeat,no-repeat;
}
.ttl-main{
  position: relative;
  color: var(--color-red-2);
  letter-spacing: 0.1em;
  font-size: 120px;
  line-height: 1;
}
.ttl-pin{
  display: block;
  width: 80px;
  position: absolute;
}
.ttl-sub{
  letter-spacing: 0.3em;
  font-size: var(--fs-21);
  font-weight: var(--fw-bold);
  padding-right: 30px;
}
.ttl-cap{
  font-size: var(--fs-15);
}
@media screen and (min-width: 2000px) {
  .wiring-gb{ background-position:left 90px, right top;
  }
}
@media screen and (max-width: 768px) {
  .wiring-gb{
    background-position: -200px 90px,right -200px top;
    background-size:400px auto,400px auto;
  }
  .ttl-main{
    font-size: 40px;
  }
  .ttl-pin{
    width: 40px;
  }
}

/*--------------------------------
  00 Our Service
 --------------------------------*/
#b-our {
  position: relative;
}
#b-our > div{
  overflow: visible;
}
#b-our .ttl-pin{
  top: 20px;
  right: 10px;
}
#b-our .cards {
  flex-wrap: nowrap;
}
#b-our .cards .card:nth-of-type(1),
#b-our .cards .card:nth-of-type(3){
  width: calc(33.3333% - 1.5%);
}
#b-our .cards .card:nth-of-type(2){
  width: calc(33.3333% + 3%);
}
#b-our .cards .card:nth-of-type(1) .num{
  margin-left: -50px;
}
#b-our .cards .card:nth-of-type(3) .num{
  margin-left: 50px;
}
#b-our .cards .card .circle-txt {
  width: 180px;
  height: 180px;
}
#b-our .cards .card .circle-txt p {
  font-size: var(--fs-24);
  letter-spacing: 0.2em;
}
#b-our .cards .card .num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 40px;
}
#b-our .cards .card .num .num-img {
  position: relative;
  transform: translateY(50%);
  z-index: 0;
}
#b-our .cards .card .txt {
  font-size: var(--fs-15);
  padding: 0 50px;
  border-right: 1.2px solid var(--color-black-1);
  margin-bottom: 32px;
  height: 160px;
}
#b-our .cards .card:nth-of-type(1) .txt {
  padding-left: 0;
}
#b-our .cards .card:nth-of-type(3) .txt {
  padding-right: 0;
}
#b-our .cards .card:last-child .txt {
  border-right: none;
}
#b-our .cards .card .img1,
#b-our .cards .card .img2,
#b-our .cards .card .img3{
  position: relative;
  height: 470px;
}
#b-our .cards .card .img1{
  background: url(../../img/page/business/b-our01.webp) no-repeat top center / cover;
  margin-left: -150px;
  width: calc(100% + 100px)
}
#b-our .cards .card .img2{
  background: url(../../img/page/business/b-our02.webp) no-repeat top center / cover;
  width: calc(100%);
}
#b-our .cards .card .img3{
  background: url(../../img/page/business/b-our03.webp) no-repeat top center / cover;
  margin-left: 50px;
  width: calc(100% + 100px)
}
#b-our .cards .card .btn-more-02 {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}
#b-our .cards .card .btn-more-02 .btn-more-02__link{
  display: block;
  width: 250px;
}
@media screen and (max-width: 1300px) {
  #b-our .cards .card .img1,
  #b-our .cards .card .img2,
  #b-our .cards .card .img3{
    width: 100%;
  }
  #b-our .cards .card .img1{
    margin-left: -50px;
  }
  #b-our .cards .card .img3{
    margin-left: 50px;
  }
}
@media screen and (max-width: 1000px) {
  #b-our .cards .card .txt {
    height: 200px;
  }
  #b-our .cards .card .img1,
  #b-our .cards .card .img2,
  #b-our .cards .card .img3{
     height: 350px;
  }
  #b-our .cards .card .btn-more-02 .btn-more-02__link{
    width: 200px;
  }
}
@media screen and (max-width: 900px) {
  #b-our .cards .card .txt {
    height: 224px;
  }
}
@media screen and (max-width: 840px) {
  #b-our .cards .card .num,
  #b-our .cards .card .bus-img {
    margin-bottom: 24px;
  }
  #b-our .cards .card .txt {
    height: 254px;
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #b-our .cards{
    flex-direction: column;
  }
  #b-our .cards .card{
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 70px;
    margin-bottom: 20px;
    border-bottom: 1.2px solid var(--color-black-1);
  }
  #b-our .cards .card:nth-of-type(1),
  #b-our .cards .card:nth-of-type(2),
  #b-our .cards .card:nth-of-type(3){
    width: 100%;
    max-width: 440px;
  }
  #b-our .cards .card:nth-of-type(1) .num{
    margin-left: 0;
  }
  #b-our .cards .card:nth-of-type(3) .num{
    margin-left: 0;
  }
  #b-our .cards .card .circle-txt {
    width: 130px;
    height: 130px;
  }
  #b-our .cards .card .circle-txt p {
    font-size: var(--fs-20);
  }
  #b-our .cards .card .txt {
    height: 160px;
  }
  #b-our .cards .card:nth-of-type(1) .txt,
  #b-our .cards .card:nth-of-type(2) .txt,
  #b-our .cards .card:nth-of-type(3) .txt {
    padding: 0;
    height: auto;
    border-right: none;
  }
  #b-our .cards .card .img1,
  #b-our .cards .card .img2,
  #b-our .cards .card .img3{
    height: 200px;
    background-position: center center;
    margin-left: 0px;
  }
  #b-our .cards .card .btn-more-02 .btn-more-02__link{
    width: 200px;
  }
}


/*--------------------------------
  01-03 TITLE
 --------------------------------*/
.b-under .ttl-box{
}
.b-under .circle-txt {
  width: 180px;
  height: 180px;
}
.b-under .circle-txt p {
  font-size: var(--fs-28);
  letter-spacing: 0.1em;
}
.b-under .num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: -55px;
}
.b-under .num .num-img {
  position: relative;
  transform: translateY(50%);
  z-index: 0;
}
.b-under .solid-ttl {
  letter-spacing: 0.1em;
  font-size: 50px;
  padding: 3px 8px 5px;
  border: 2px solid var(--color-red-2);
}
.b-under .solid-ttl:nth-of-type(2) {
  margin-left: 75px;
}
.b-under .solid-content {
  width: calc(100% - 180px);
  padding-left: 56px;
}
.b-under .solid-content p{
  margin-top: 15px;
}

@media screen and (max-width: 1100px) {
  .b-under .solid-ttl {
    font-size:  var(--fs-40);
  }
}
@media screen and (max-width: 960px) {
  .b-under .circle-txt {
    width: 120px;
    height: 120px;
  }
.b-under .circle-txt p {
  font-size: var(--fs-20);
}
  .b-under .solid-ttl {
    font-size: var(--fs-30);
  }
  .b-under .solid-content {
    width: calc(100% - 120px);
    padding-left: 30px;
  }
  .b-under .solid-ttl:nth-of-type(2) {
    margin-left: 30px;
  }
}
@media screen and (max-width: 768px) {
  .b-under .flex-nml{
    display: block;
  }
  .b-under .solid-content {
    width: 100%;
    padding-left: 0;
    margin-top: 15px;
  }
  .b-under .solid-ttl {
    font-size: var(--fs-28);
  }
  .b-under .solid-ttl:nth-of-type(2) {
    margin-left: 0;
  }
  .b-under .solid-content p{
    margin-top: 5px;
  }
}
@media screen and (max-width: 600px) {
  .b-under .circle-txt {
    width: 100px;
    height: 100px;
  }
  .b-under .solid-ttl {
    white-space: nowrap;
  }
}
@media screen and (max-width: 480px) {
  .b-under .circle-txt {
    width: 88px;
    height: 88px;
  }
}

/*--------------------------------
  01-03 Service
 --------------------------------*/
#b-ser {
  position: relative;
  background: var(--color-beige-2);
}
#b-ser .ttl-pin{
  top: 0px;
  left: -100px;
}
#b-ser .ttl-main{
  position: relative;
  margin-bottom: 50px;
}
#b-ser .ttl-main span{
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--color-red-2);
  padding: 18px 50px;
  font-size: var(--fs-21);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: var(--color-white);
}
#b-ser .card-list {
  display: grid;
  gap: 15px;
  padding: 0 0 15px;
  grid-template-columns: repeat(6, 1fr);
}
#b-ser .card {
  grid-column: span 3; 
  background: var(--color-white);
  padding: 30px;
}
#b-ser .card-list--3col {
  grid-column: span 2;
}
#b-ser .card .line{
  background: var(--color-red-2);
  width: 25px;
  height: 10px;
  margin-bottom: 10px;
}
#b-ser .card h4{
  font-size: var(--fs-21);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  margin-bottom: 15px;
}
#b-ser .card h4 span{
  font-size: 80%;
}
#b-ser .card h5{
  font-size: var(--fs-12);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  color: var(--color-red-2);
  margin-bottom: 10px;
}
#b-ser > img{
  display: block;
  width: 100%;
  max-width: 1300px;
  margin: 50px auto 0;
}
@media screen and (max-width: 1200px) {
  #b-ser .ttl-pin{
    top: -40px;
    left: -50px;
  }
}
@media screen and (max-width: 1000px) {
  #b-ser .ttl-pin{
    top: -60px;
    left: -10px;
  }
  #b-ser .ttl-main span{
    padding: 15px 20px;
    font-size: var(--fs-21);
  }
  #b-ser .card-list--3col {
    grid-column: span 3;
  }
  #b-ser .card-list:not(.no-align) > .card:last-child:nth-child(odd) {
      /* 1列目から2列すべてを占有する */
      grid-column: 1 / -1; 
  }
  #b-ser .pc-only{
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #b-ser .ttl-pin{
    top: -33px;
  }
  #b-ser .card-list {
    grid-template-columns: 1fr;
  }
  #b-ser .card {
    padding: 20px;
    grid-column: 1 / -1;
  }
  #b-ser .card--3col-item {
    grid-column: 1 / -1;
  }
  #b-ser > img{
    margin: 30px auto 0;
  }
}


/*--------------------------------
  01-03 Strengths
 --------------------------------*/
#b-str {
  position: relative;
  background: var(--color-beige-2);
}
#b-str .ttl-pin{
  bottom: -20px;
  right: -30px;
}
#b-str .ttl-main{
  position: relative;
  margin-bottom: 50px;
}
#b-str .ttl-main span{
  display: block;
  position: absolute;
  bottom: 10px;
  right: 220px;
  font-size: var(--fs-33);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: var(--color-black-3);
}
#b-str .definition-list {
  margin-top: 50px;
  display: grid;
  gap: 25px 0;
}
#b-str .list-item {
  display: flex;
  align-items: center;
}
#b-str .heading-box {
  width: 270px;
  padding: 5px;
  background: var(--color-white);
  border: 2px solid var(--color-red-2);
  color: var(--color-red-2);
  font-size: 26px;
  font-weight: var(--fw-bold);
  text-align: center;
  flex-shrink: 0; /* 幅が縮まらないようにする */
  /* 右側の線 */
  position: relative; 
  margin-right: 40px; /* 線を引くためのスペース */
}
#b-str .heading-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 30px; /* 線を引く幅 */
  height: 2px;
  background-color: var(--color-red-2);
}
#b-str .description {
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  flex-grow: 1;
}
@media screen and (max-width: 1200px) {
  #b-str .ttl-main span{
    right: 0;
  }
  #b-str .ttl-pin{
    bottom: 40px;
  }
}
@media screen and (max-width: 1000px) {
  #b-str .ttl-main{
    letter-spacing: 0.05em;
  }
}
@media screen and (max-width: 768px) {
  #b-str .ttl-pin{
    bottom: 25px;
    right: 0;
  }
  #b-str .ttl-main{
    letter-spacing: 0.1em;
  }
  #b-str .ttl-main span{
    font-size: var(--fs-24);
    bottom: 0;
  }
  #b-str .definition-list {
    margin-top: 40px;
    gap: 15px 0;
  }
  #b-str .heading-box {
    width: 175px;
    font-size: var(--fs-20);
    margin-right: 25px; /* 線を引くためのスペース */
  }
  #b-str .heading-box::after {
    width: 20px; /* 線を引く幅 */
  }
  #b-str .description {
    font-size: var(--fs-17);
  }
}


/*--------------------------------
  01-03 Related Services
 --------------------------------*/
#b-rel {
  position: relative;
  background: var(--color-beige-1);
}
#b-rel .ttl-main{
  position: relative;
  text-align: center;
  font-size: var(--fs-30);
  font-weight: var(--fw-medium);
  letter-spacing: 0.3em;
  margin-bottom: 50px;
}
#b-rel .ttl-main span{
  display: block;
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  letter-spacing: 0.3em;
  color: var(--color-black-2);
  margin-top: 30px;
}
#b-rel .service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
}
#b-rel .service-card {
  background: var(--color-white);
  padding: 27px;
  border-radius: 10px;
  border: 2px solid var(--color-red-2);
  box-shadow: 4px 4px 0 0 var(--color-red-2); 
  transition: transform 0.2s, box-shadow 0.2s ease-out;
}
#b-rel .service-cards a:hover .service-card {
  transform: translate(4px, 4px); 
  box-shadow: none; 
  opacity: 1;
}
#b-rel .service-card .title {
  color: var(--color-red-2);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-align: center;
}
#b-rel .service-card .en-title {
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--color-black-2);
  letter-spacing: 0.2em;
  text-align: center;
}
@media screen and (max-width: 1200px) {
  #b-rel .ttl-main span{
    right: 0;
  }
  #b-rel .ttl-pin{
    bottom: 40px;
  }
}
@media screen and (max-width: 1000px) {
  #b-rel .service-card {
    padding: 20px;
  }
  #b-rel .service-card .title {
    letter-spacing: 0.1em;
  }
  #b-rel .service-card .en-title {
    letter-spacing: 0.1em;
  }
}
@media screen and (max-width: 768px) {
  #b-rel .ttl-main{
    margin-bottom: 30px;
  }
  #b-rel .ttl-main span{
    margin-top: 20px;
  }
  #b-rel .service-cards {
  display: block;
  }
  #b-rel .service-card {
    max-width: 300px;
    margin: 0 auto 15px;
  }
}


/*--------------------------------
  03 Workflow
 --------------------------------*/
#b-wkf {
  position: relative;
  background: var(--color-beige-1);
}
#b-wkf .ttl-pin{
  top: 50px;
  left: -100px;
}
#b-wkf .ttl-main{
  position: relative;
  margin-bottom: 50px;
}
#b-wkf .ttl-main span{
  display: block;
  position: absolute;
  bottom: 10px;
  right: 0px;
  font-size: var(--fs-33);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: var(--color-black-3);
}
#b-wkf .step-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}
#b-wkf .step-item {
  position: relative;
  flex-basis: calc(33.333% - 13.333px); /* 3列時の幅 */
  min-width: 280px; /* 最低幅を確保（300pxの minmax を想定） */
  margin-top: 50px;
}
#b-wkf .step-content {
  background-color: var(--color-white);
  padding: 40px;
}
#b-wkf .step-number {
  position: absolute;
  top: 0; 
  right: 10px;
  transform: translateY(-45%);  
}
#b-wkf .step-number img{
  height: 114px;
  width: auto;
}
#b-wkf .step-content h4 {
  font-size: var(--fs-17);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
#b-wkf .step-content h5 {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  color: var(--color-red-2);
  margin-bottom: 10px;
}
#b-wkf .step-content p {
  font-size: var(--fs-15);
}
@media screen and (max-width: 1200px) {
  #b-wkf .ttl-main span{
    right: 0;
  }
  #b-wkf .ttl-pin{
    top: -40px;
    left: -50px;
  }
}
@media (max-width: 1100px) {
  #b-wkf .step-item {
    flex-basis: calc(50% - 7.5px); /* 2列時の幅 */
  }
}
@media screen and (max-width: 1000px) {
  #b-wkf .ttl-main{
    letter-spacing: 0.05em;
  }
  #b-wkf .ttl-pin{
    top: -60px;
    left: -10px;
  }
  #b-wkf .ttl-main span{
    letter-spacing: 0;
  }
}
@media screen and (max-width: 900px) {
  #b-wkf .ttl-main{
    font-size: 100px;
  }
}
@media screen and (max-width: 768px) {
  #b-wkf .ttl-pin{
    top: -33px;
  }
  #b-wkf .ttl-main{
    font-size: var(--fs-40);
    letter-spacing: 0.1em;
  }
  #b-wkf .ttl-main span{
    font-size: var(--fs-24);
    letter-spacing: 0.1em;
    bottom: 0;
  }
  #b-wkf .step-flow {
    flex-direction: column;
    margin-top: 30px;
  }
  #b-wkf .step-item {
    width: 100%;
    flex-basis: auto;
    margin-top: 10px;
  }
  #b-wkf .step-content {
    padding: 20px;
  }
  #b-wkf .step-number {
    transform: translateY(-30%);  
  }
  #b-wkf .step-number img{
    height: 60px;
  }
}


/*--------------------------------
  個別css
 --------------------------------*/
#business03 #b-rel{
  background: var(--color-beige-2);
}



















