:root {
  --bond-blue: #00102a;
  --bond-gray: #F3F4F6;
  --bond-light-gray: #F9FAFB;
  --bond-dark-gray: #E5E7EB;
  --header-height: 6rem;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000000;
  background: linear-gradient(-45deg, #7e7e7e, #6f6868, #b8b8b8, #3a3a3a) fixed;
  background-size: 800% 800%;
  animation: GradietionAnimation 9s ease infinite;
}

@keyframes GradietionAnimation { 
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

.page-container {
  width: 100%;
  max-width: 430px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-right: 3px solid #000000;
  border-left: 3px solid #000000;
  position: relative;
}

.content-container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

header {
  background-color: #e5e5e5;
  position: fixed;
  width: 100%;
  max-width: 430px;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: solid 2px #000000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
  position: relative;
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 4rem;
  width: auto;
  margin-bottom: 0.5rem;
}

.logo-text {
  font-size: 0.75rem;
  color: #000;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.menu-placeholder {
  width: 60px;
  height: 60px;
}

.menu-toggle {
  width: 60px;
  height: 60px;
  border: 2px solid #000;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.3s ease;
  z-index: 10;
}

.menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-icon {
  width: 24px;
  height: 18px;
  position: relative;
  transition: transform 0.3s ease;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: 0px;
}

.menu-icon span:nth-child(2) {
  top: 8px;
}

.menu-icon span:nth-child(3) {
  top: 16px;
}

.menu-toggle.active .menu-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.menu-toggle.active .menu-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}


/* メニューが閉じている状態 */
.nav-links {
  display: none; /* または visibility: hidden; */
}

/* メニューが開いている状態 */
.menu-open .nav-links {
  display: block; /* または visibility: visible; */
}


/* 既存のCSSに以下を追加 */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 71%);
  z-index: 999;
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* ナビゲーションリンクがオーバーレイの上に表示されるようにする */
.nav-links {
  z-index: 1000;
}

/* 必要に応じて既存のスタイルを調整 */
body.menu-open {
  overflow: hidden;
}



.nav-links {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-links a:hover {
    background: #e54227;
    color: white;
}

.nav-links a:hover span.menu-arrow {
    border: 1px solid #ffffff;
}

.nav-links li:last-child {
    border-bottom: 0;
}

.nav-links.active {
    display: block;
    box-shadow: 0 0 0 2px #000000, 8px 8px 0 0 #dadada, 8px 8px 0 2px #000000;
    /* width: 90%; */
    margin: auto;
    display: block;
    left: 50%;
    transform: translate(-50%, 0px);
    z-index: 6;
    background: #dadada;
    padding-bottom: 3rem;
    transition: all 0.5s 1s ease-in-out;
}

.nav-links li {
  margin: 0;
  padding: 0.5rem 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  display: block;
  font-weight: bold;
  display: flex;
}


.nav-links {
  display: none;
  /* position: fixed; */
  top: var(--header-height);
  left: 0;
  width: 90%;
  /* height: 100vh; */
  background-color: #f5f5f5;
  /* padding: 2rem; */
  z-index: 1000;
  transition: all 0.5s 1s ease-in-out;
}

.nav-links.active {
  /* display: block; */
}

.menu-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.menu-decoration {
  /* width: 60px; */
  /* height: 4px; */
  /* background-color: #ff5733; */
  /* margin: 2rem auto; */
}

.nav-links ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  width: 84%;
}

.nav-links li {
  margin: 0;
  padding: 0 0rem;
  border-bottom: 1px solid #000000;
}

.nav-links li:hover {
    border-bottom: 1px solid #e54227;
}

.nav-links li:first-child {
  /* border-top: 1px solid #ddd; */
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.menu-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.menu-item:hover {
  color: #000;
}

.menu-item:hover .menu-arrow {
  transform: translateX(5px);
}

@keyframes slideFromLeft {
  from {
    transform: translateX(-100%) skew(-8deg) rotate(-8deg);
    opacity: 0;
  }
  to {
    transform: translateX(0) skew(-8deg) rotate(-8deg);
    opacity: 1;
  }
}

@keyframes slideFromRight {
  from {
    transform: translateX(100%) skew(-8deg) rotate(-8deg);
    opacity: 0;
  }
  to {
    transform: translateX(0) skew(-8deg) rotate(-8deg);
    opacity: 1;
  }
}

.sentence01 .marker,
.sentence01 .text01,
.sentence02 .text03 {
  animation: slideFromLeft 0.8s ease-out forwards;
  opacity: 0;
}

.sentence01 .text02,
.sentence02 .marker,
.sentence02 .text04 {
  animation: slideFromRight 0.8s ease-out forwards;
  opacity: 0;
}

/*.sentence01,
.sentence02 {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
    position: relative;
}

.sentence01.visible,
.sentence02.visible {
  opacity: 1;
}
*/
.marker {
  width: 50px;
  height: 2px;
  background-color: #000;
  margin-right: 10px;
}

.sentence01 .text01,
.sentence01 .text02,
.sentence02 .text03,
.sentence02 .text04 {
  position: relative;
  z-index: 1;
  transform: skew(-6deg) rotate(-4deg) translate(0%, -50%) !important;!i;!;
}



.sentence01 .marker, .sentence02 .marker {
    width: 25rem;
    height: 8.3rem;
    background-color: #92c133;
    transform: skew(-8deg) rotate(-8deg) translate(0%, -50%);
    position: absolute;
    top: -0.3rem;
    z-index: 0;
    content: "";
    z-index: 0;
    right: 50%;
    left: -1.2rem;
}

.sentence01 {
    margin-top: 3.5rem;
}

.sentence01, .sentence02 {
    position: relative;
}

img.text01 {top: 0rem;width: 20rem;}

.sentence02 .marker {
    top: 3.1rem;
}

.sentence02 {
    position: relative;
    /* right: -5.9rem; */
    top: -4rem;
    margin-bottom: 0rem;
    margin-top: 1rem;
}

.sentence02 .marker {
    left: 0.9rem;
}

.sentence02 img.text03 {top: 3rem;position: relative;left: 1rem;width: 19.6rem;}

img.text02 {
    left: 9.1rem;
    top: -1.4rem;
}

img.text04 {
    left: 7.3rem;
    width: 16rem;
    top: 1.8rem;
}
.sentence01 img, .sentence02 img {
    z-index: 9;
    position: relative;
}

#hero {
  /* background-color: var(--bond-blue); */
  color: white;
  padding: 8rem 0 2rem;
  overflow: hidden;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  width: 100%; /* 必要に応じて調整可能 */
  height: 100%; /* 必要に応じて調整可能 */
  position: relative;
}

section#philosophy {
    background: #666666;
    padding-bottom: 10rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #c3c3c3;
}

section#philosophy .inbox {
    margin-bottom: 50px;
}

section#philosophy p {
    text-align: center;
    color: black;
    margin: 0;
    font-size: 18px;
}

section#philosophy p a {
    color: #858585 !important
}


.bx-wrapper .bx-pager.bx-default-pager a {
    background: #92c233 !important
}

.bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus, .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #4e6e0e !important;
}



/**/
section#philosophy {
    background: #666666;
    padding-bottom: 10rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #c3c3c3;
}

section#philosophy .inbox {
    margin-bottom: 50px;
}





section#acievements {
    background: #dadada;
    padding-bottom: 10rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #c3c3c3;
}

section#acievements p a {
    color: #858585 !important;
}


section#acievements p {
    text-align: center;
}

section#acievements .inbox {
    margin-bottom: 52px;
}



.bg_object01 {
    width: 25rem;
    height: 8.3rem;
    transform: skew(-8deg) rotate(-8deg) translate(0%, -50%);
    /* position: fixed; */
    top: -40rem !important;!i;!;
    top: 1.4rem;
    z-index: 0;
    content: "";
    z-index: 0;
    border: 1px solid #93c134;
    /* transition: all 5s 1s ease-in-out; */
    position: absolute;
}

.bg_object02 {
    width: 25rem;
    height: 8.3rem;
    transform: skew(-8deg) rotate(-8deg) translate(0%, -50%) !important;!i;!;
    position: absolute;
    top: -28rem;
    z-index: 0;
    right: -7rem;
    content: "";
    z-index: 0;
    border: 1px solid #93c134;
    /* transition: all 5s 1s ease-in-out; */
}

.bg_object03 {
    width: 25rem;
    height: 8.3rem;
    transform: skew(-8deg) rotate(-8deg) translate(0%, -50%);
    position: absolute;
    top: 25%;
    z-index: 0;
    content: "";
    z-index: 0;
    right: 14rem;
    border: 1px solid #93c134;
    /* transition: all 5s 1s ease-in-out; */
}


.bg_object04 {
    width: 25rem;
    height: 8.3rem;
    transform: skew(-8deg) rotate(-8deg) translate(0%, -50%);
    position: absolute;
    top: 35%;
    z-index: 0;
    content: "";
    z-index: 0;
    right: -10%;
    border: 1px solid #93c134;
    transition: all 5s 1s ease-in-out;
}

.bg_grid {
    /* background-color: #d9d9d9; */
    /* background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px); */
    /* background-size: 70px 34px; */
    /* background-attachment: fixed; */
}

#hero .copy {
  font-size: 3.4rem;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  padding: 0px 0;
  font-family: "futura-pt", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  width: 305%;
  letter-spacing: -0.05em;
}

.copy-slide-diagonal {
  animation: slideDiagonal 15s linear infinite;
  transform: skew(-8deg) rotate(-8deg);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  top: 1rem;
}

.copy-slide-diagonal.reverse {
  animation: slideDiagonalReverse 15s linear infinite;
  transform: skew(-8deg) rotate(-8deg);
  width: 305% !important;!i;!;
  text-align: right !important;!i;!;
  padding-right: 3rem !important;!i;!;
  top: -0.1rem;
}

@keyframes slideDiagonal {
  0% {
    transform: translate(0, -100%) skew(-8deg) rotate(-8deg);
  }
  100% {
    transform: translate(-100%, 100%) skew(-8deg) rotate(-8deg);
  }
}

@keyframes slideDiagonalReverse {
  0% {
    transform: translate(-100%, 100%) skew(-8deg) rotate(-8deg);
  }
  100% {
    transform: translate(0, -100%) skew(-8deg) rotate(-8deg);
  }
}



section {
  padding: 6rem 0;
  width: 100%;
}
h2:after {
    content: "";
    display: block;
    width: 10%;
    height: 1vw;
    background: #e54227;
    margin: auto;
    border-radius: 100px;
    bottom: -0.7vw;
    position: relative;
}
h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--bond-blue);
  line-height: 1.1em;
  margin-bottom: 5rem;
}

h2 span {
  display: block;
  font-size: 0.8rem;
  color: #01102a;
  margin-top: 0.5rem;
}

h2.White {
    color: white;
}

h2.White span {
    color: white;
}

.philosophy-content {
  background-color: var(--bond-light-gray);
  position: relative;
  border-radius: 0;
  padding: 2rem;
  /* border: 5px solid #000000ee; */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1; /* 重なり順を調整 */
}

.philosophy-content p {
    font-weight: bold;
    line-height: 1.9em;
    font-size: 1rem;
}

section#consultant {
    background: #dadada;
}
.consultant-intro,
.consultant-outro {
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  text-align: left;
  width: 83%;
  margin-bottom: 3rem;
  text-align: justify;
}

.consultant-outro {
  font-weight: bold;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  margin: auto;
}

.service-card p {
    padding: 0 1.4rem 4rem 1.4rem;
    font-size: 0.9rem;
    text-align: justify;
}

.service-num {
    position: absolute;
    right: 1rem;
    bottom: 0;
    font-size: 3rem;
    font-weight: bold;
}

.service-card {
  margin: auto;
   /* 背景色 */
   /* 内側の枠線 */
   /* 外側の枠線 */
  width: 80%;
  background-color: #ffffff;
   /* 影の位置を調整 */
  padding-top: 0 !important;!i;!;
  padding: 0 !important;!i;!;
}

.service-card h3 {
  color: var(--bond-blue);
  margin-top: 0;
  text-align: center;
  margin: 0;
  background: #92c133;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.4rem;
  border-bottom: 3px solid #000000;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 1.3em;
}

.member-grid {
  display: flex;
  /* gap: 7%; */
  flex-wrap: wrap;
  justify-content: space-between;
}

.member-card.president {width: auto;max-height: none;}

.member-card {
  background-color: white;
  border-radius: 8px;
  padding: 3%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 37%;
  margin-bottom: 3rem;
}

.member-card.president img.member-image {
    width: 50%;
    margin: auto;
    display: block;
}

.member-card.president .member-profile {
    max-height: inherit;
    overflow: inherit;
}

.member-image {
  width: auto;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #000000;
  max-width: 100%;
  width: 80%;
  height: auto;
  margin-top: 1rem;
}

.member-role {
  color: #666;
  font-size: 0.6rem;
  line-height: 1.3em;
  text-align: center;
}
.orange_object {
    width: 9rem;
    height: 2.2rem;
    background-color: #e89f59;
    transform: skew(-8deg) rotate(-8deg) translate(50%, -50%);
    position: absolute;
    top: 74.7%;
    z-index: 0;
    content: "";
    z-index: -2;
    right: 50%;
}
.members_column01 .member-card.normal h3 .orange_object {
    background: #ff9e50;
}
.member-card.double_line h3 .orange_object {
    background-color: #92c133;
    width: 10rem;
    height: 2.7rem;
    text-align: center;
}

.member-card.normal.double_line.expanded {
    transition: all 0.2s cubic-bezier(0.4, 0, 1, 1);
    max-height: 36rem;
}

.member-profile {
  /* max-height: 15rem; */ /* 折りたたんだ時の高さ */
  overflow: hidden;
  transition: max-height 0.5s ease; /* アニメーションの設定 */
  text-align: left;
  font-size: 0.9rem;
  word-break: break-all;
  text-align: justify;
  letter-spacing: -0.03rem;
  display: inline;
  /* display: inline-block; */
あ
  l: あl;
  padding-bottom: 3rem;
}

.member-card.double_line h3 {
    font-size: 1.5rem;
    margin-top: 0;
    position: relative;
    z-index: 0;
    text-align: center;
}

.member-card.double_line p.member-role {}

.member-card.expanded .member-profile {
   /* プロフィールの内容に応じた十分な高さを設定 */
}

.bg_object02.target.show {
    /* left: 0; */
    /* transition: all 5s 1s ease-in-out; */
}

.bg_object03.target.show {
    /* right: -26rem; */
}

section#hero.bg_grid:before {
    content: "";
    background-color: #d9d9d9;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 70px 34px;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
}


section#members:before {
    content: "";
    background-color: #d9d9d9;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 70px 34px;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
}

section#members {
    position: relative;
}


/*その他と主な共通部分は省略*/

.btn-copy {
  font-size: 1.5rem;
  font-weight: bold;

  position: relative;

  margin-bottom: .2em;

  text-align: center;
}

.btn-copy:before {
  /* margin-right: 1rem; */
  /* content: '＼'; */
}

.btn-copy:after {
  /* margin-left: 1rem; */
  /* content: '／'; */
}


.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 50%;
  border-radius: 50%;
  color: #000000;
  border: none;
  cursor: pointer;
  bottom: -100px; /* 初期位置を画面外に設定 */
  transform: translate(114px, 10px);
  transition: bottom 0.5s ease-out, opacity 0.5s ease-out, visibility 0.5s ease-out;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  width: 5rem;
  background: #ffffff;
  border: 3px solid #000000;
  box-shadow: 0 0 0 -1px #000000, 0px 0px 0 0 #fff, 4px 4px 0 0px #000000;
}

.back-to-top.visible {
  visibility: visible;
}

.back-to-top.show {
  bottom: 20px;
  opacity: 1;
  transition: bottom 0.5s ease-out, opacity 0.5s ease-out;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

.back-to-top:hover {
  background-color: #d9d9d9;
  /* color: white; */
  font-weight: bold;
}




    /* CSS (一部変更) */
    .timeline {
      display: flex;
      flex-direction: column;
      margin: 30px auto;
      position: relative; /* 棒線のため */
      /* height: 100vh;  高さを一旦コメントアウト */ 
      /* overflow-y: auto; スクロールも一旦コメントアウト */ 
    }

    .timeline-line {
      position: absolute;
      top: 50%;
      left: 2.1rem;
      width: 4px;
      background-color: #000;
      height: 88.5%; /* 初期状態の高さを100%にしてみる */
      z-index: 0;
      transform: translate(0px, -50%);
    }
    .timeline-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 20px;
      align-items: center;
    }

    .timeline .year {
      width: 3rem;
      font-size: 0.9em;
      font-weight: bold;
      margin-right: 3px;
      background-color: #000;
      color: #fff;
      padding: 0px 10px;
      border-radius: 100px;
      z-index: 2;
      text-align: center;
      display: inline-block;
    }

    .timeline .content {
      flex: 1;
      padding-left: 1.4rem;
      text-align: left;
      font-size: 0.9rem;
      line-height: 1.5em;
      letter-spacing: -0.01rem;
      text-align: justify;
    }

g_marker:before {
    content: "";
    display: block;
    width: 100%;
    background: aqua;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

span.g_marker {
    position: relative;
    display: block;
}

span.g_marker:before {
    content: "";
    display: block;
    max-width: 0;
    height: 100%;
    background: #93c034;
    position: absolute;
    z-index: -1;
    transition: all 0.5s 1s ease-in-out;
}

span.g_marker.target.show:before {
    span.g_marker: before;
    span.g_marker: before;
    transition: all 0.5s 1s ease-in-out;
    max-width: 100rem;
    width: auto;
    width: 5rem;
}


.profile-toggle {
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: auto;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  position: absolute;
  bottom: 0.6rem;
  right: 50%;
  transform: translate(50%, 0%);
  width: auto;
  background: white;
  align-items: center;
}

.toggle-icon {
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--bond-blue);
  border-radius: 50%;
  position: relative;
}

.toggle-icon::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--bond-blue);
  border-bottom: 3px solid var(--bond-blue);
  position: absolute;
  border-radius: 3px;
  top: 0px;
  left: 50%;
  transform: translate(-50%, 50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.member-card.expanded .toggle-icon::after {
  transform: translateX(-50%) rotate(-135deg);
  top: 0.7rem;
}

.profile-toggle:hover .toggle-icon {
  background-color: rgb(221 221 221);
}

/* 省略表示のためのグラデーション */
.member-profile::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4.6em;
  background: linear-gradient(to bottom, #ffffffbf, white);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.members_column01 .member-card.normal:last-child::after {
    display: none;
}

.double_line {
  position: relative;
  font-size: 0.8em;
  display: inline-block;
  border-radius: 0px;
  padding: 18px;
  box-shadow: 0 0 0 4px #000000, 12px 12px 0 0 #fff, 12px 12px 0 4px #000000;
  text-align: justify;
}

.members_column01 .member-card.normal {
    /* display: flex; */
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 3.9rem;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 1, 1); /* 高さの変化に0.3秒のトランジションを設定 */
    max-height: 19rem;
}

.members_column01 .member-card.normal .photo_box {
    width: 45%;
    height: 19rem;
    float: left;
    text-align: center;
    padding-right: 1.3rem;
}

.members_column01 .member-card.normal p.member-role {
    /* margin-bottom: 0; */
    z-index: 1;
    position: relative;
    margin-top: 0;
}

.members_column01 .member-card.normal h3 {
    margin-top: 0;
    position: relative;
    z-index: 0;
}


.members_column01 .member-card.normal h3:after {
    width: 9rem;
    height: 2.2rem;
    background-color: #e89f59;
    transform: skew(-8deg) rotate(-8deg) translate(50%, -50%);
    position: absolute;
    top: 74.7%;
    z-index: 0;
    /* content: ""; */
    z-index: -2;
    right: 50%;
}

.members_column01 .member-card.normal .member-profile-container {
    /* width: 50%; */
}

.member-card.normal:last-child .member-profile:after {
    display: none;
}

.member-card.double_line {
    box-shadow: 0 0 0 3px #000000, 8px 8px 0 0 #fff, 8px 8px 0 3px #000000;
}

.service-card.double_line {
    box-shadow: 0 0 0 3px #000000, 8px 8px 0 0 #fff, 8px 8px 0 3px #000000;
}
 
.double_line::before {
  c: "";
  position: absolute;
  top: 6px;
  bottom: -14px;
  right: -14px;
  left: 6px;
  /* border: solid 4px #ffc0cb; */
  z-index: 0;
}

.member-card.expanded .member-profile::after {
  opacity: 0;
}

footer {
  background-color: #000000;
  color: #ffffff;
  padding: 0.1rem 0;
  text-align: center;
  width: 100%;
  z-index: -1;
}

@media (min-width: 751px) {
  body::before,
  body::after {
    content: "";
    display: block;
    flex-grow: 1;
  }


}

main section:first-child {
  padding-top: calc(var(--header-height) + 4rem);
}






/*ボックススライダー*/
.bx-wrapper {
    border: none !important;
    background: inherit !important;
    box-shadow: inherit !important;
}







/* スマートフォン用のCSS */
@media (max-width: 768px) { /* 画面サイズが768px以下の場合 */
  .back-to-top {
    transform: translate(0, 0px);
    right: 1rem;
    left: inherit;
  }

  .member-card.normal.double_line.expanded {
    max-height: 40rem;
}


}


/*その他と主な共通部分は省略*/

.btn-copy {
  font-size: 0.8rem;
  font-weight: bold;
  position: relative;
  margin-bottom: .2em;
  text-align: center;
  text-align: center;
  margin: auto;
  color: white;
  margin-bottom: 1rem;
}

.btn-copy:before {
  /* margin-right: 1rem; */
  /* content: '＼'; */
}

.btn-copy:after {
  /* margin-left: 1rem; */
  /* content: '／'; */
}
section#contact {
    background: black;
    overflow: hidden;
}
section#contact .bg_object01 {
    top: 1.1rem !important;
    right: 10rem;
    opacity: 0.5;
}

section#contact .bg_object02 {
    top: -12.9rem !important;
    right: -11rem;
        opacity: 0.5;
}

section#contact .bg_object03 {
    top: 2.1rem !important;
    right: -1rem;
        opacity: 0.5;
}

section#contact .bg_object04 {
    top: -14.9rem !important;
    right: 0rem;
        opacity: 0.5;
}


.btn,
a.btn,
button.btn {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  /* border-radius: 0.5rem; */
}

a.btn-custom01 {
  margin-bottom: 0.5rem;
  padding: 0;
  border-radius: 0.75rem;
  width: 100%;
}

a.btn-custom01:before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate3d(0, 0.75rem, -1rem);
  transform: translate3d(0, 0.75rem, -1rem);
  /* border: 2px solid #000; */
  border-radius: inherit;
  background: #028600;
  -webkit-box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
  border-radius: 0.6rem;
}

a.btn-custom01:after {
  font-family: "Font Awesome 5 Free";
  font-size: 2rem;
  font-weight: normal;
  line-height: 1;
  position: absolute;
  top: calc(50% - 1rem);
  left: 3.5rem;
  margin: 0;
  padding: 0;
  content: "\f0e0";
  color: #000000;
}

.btn-custom01-front {
  position: relative;
  display: block;
  padding: 1.5rem 3rem 1.5rem 7rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 2px solid #000;
  border-radius: inherit;
  background: #06ff00;
  margin: auto;
  color: #000000;
  border-radius: 0.6rem;
}

.fa-position-left {
  position: absolute;
  top: calc(50% - 0.5em);
  left: 1rem;
}

.fa-position-right {
  position: absolute;
  top: calc(50% - 0.5em);
  right: 1rem;
}

a.btn-custom01:hover {
  -webkit-transform: translate(0, 0.25rem);
  transform: translate(0, 0.25rem);
  background: #fff100;
}

a.btn-custom01:hover:before {
  -webkit-transform: translate3d(0, 0.5rem, -1rem);
  transform: translate3d(0, 0.5rem, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}

a.btn-custom01:hover:after {
  content: "\f2b6";
}

a.btn-custom01:active {
  -webkit-transform: translate(0rem, 0.75rem);
  transform: translate(0rem, 0.75rem);
}

a.btn-custom01:active:before {
  -webkit-transform: translate3d(0, 0, -1rem);
  transform: translate3d(0, 0, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}

a.btn-custom01:active:after {
  content: "\f2b6";
}



