#main_visual {
  width: 100%;
  position: relative;
  height: 100vh;
  min-height: 800px;
  background-image: url("/wp-content/uploads/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#main_visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 1.44%,
    rgba(32, 110, 193, 0) 51.44%,
    var(--primary-color) 100%
  );
  z-index: 1;
}

#main_visual img.logo_white {
  width: 60%;
  max-width: 800px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@media screen and (max-width: 750px) {
  #main_visual {
    height: auto; 
    min-height: 100svh; 
  }
}

/*----------------------------------
introduction
----------------------------------*/
#introduction {
  width: 100%;
  background-color: var(--primary-color);
  padding: var(--space-xxl) 0;
}

#introduction .title_jp {
  color: var(--white-color);
  text-align: left;
  margin-bottom: 30px;
}

#introduction h3 {
  color: var(--white-color);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-m);
}
#introduction p {
  width: 100%;
  color: var(--white-color);
  font-size: var(--font-size-l);
  line-height: var(--line-height-default);
}

#introduction p span {
  color: var(--white-color);
  font-size: var(--font-size-l);
  font-weight: 700;
}

#introduction ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#introduction ul li {
  position: relative;
  padding-left: 1.2em;
  color: var(--white-color);
  font-size: var(--font-size-l);
  margin-bottom: var(--space-m);
  line-height: var(--line-height-default);
}

#introduction ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  line-height: var(--line-height-default);
  color: var(--white-color);
  font-weight: bold;
}

#introduction .decoration {
  position: relative;
  background-image: url("/wp-content/uploads/ipo-decoration.svg");
  background-size: 100% auto;
  background-position: bottom right;
  background-repeat: no-repeat;
}

#introduction .title_jp {
  width: 100%;
  display: block;
  font-size: var(--font-size-xxl);
  line-height: var(--space-xxl);
  font-weight: 700;
  color: var(--white-color);
  text-align: left;
}

@media screen and (min-width: 751px) {
  .moca_sp {
    display: none !important;
  }
  .moca_pc {
    display: initial;
  }

  h2.title_jp {
    width: 100%;
    display: block;
    font-size: var(--font-size-xxl);
    line-height: var(--space-xxl);
    font-weight: 700;
    margin-bottom: var(--space-xxl);
  }

  h2.title_en {
    width: 100%;
    display: block;
    font-size: var(--font-size-xxl);
    line-height: var(--space-xxl);
    font-weight: 700;
    margin-bottom: var(--space-xxl);
    text-align: center;
  }

  #ipo h2.title_en a {
    font-size: var(--font-m);
    transition: opacity 0.5s;
  }
  a:hover {
    opacity: 0.6;
  }
  p {
    font-size: var(--font-m);
    line-height: 180%;
    margin-bottom: 1.2rem;
    letter-spacing: 0.1rem;
  }
  p:last-child {
    margin-bottom: 0;
  }
  .btn_wrap {
    width: 100%;
    text-align: center;
  }
  a.more_btn {
    display: inline-block;
    background: linear-gradient(90deg, #0056ff 0%, #00bfff 100%);
    color: var(--white-color);
    font-size: var(--font-size-m);
    font-weight: 700;
    border-radius: 24px;
    padding: 0.8em 2.5em;
    margin-top: 1em;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, box-shadow 0.3s, transform 0.2s;
    border: none;
    width: auto;
    min-width: 160px;
    max-width: 200px;
  }
  img.carrot_btn {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 10px;
    top: -50px;
    z-index: -1;
  }
  .sub_header {
    width: 100%;
    margin: auto;
    max-width: var(--page-max-width);
    min-width: var(--page-min-width);
    position: relative;
    overflow: hidden;
  }
  .sub_header img.visual {
    width: 100%;
  }

  .sub_header img.contact {
    width: 10%;
    position: absolute;
    bottom: 0;
    left: 50%;
    top: 50%;
    transform: translate(-400%, 340%);
  }
  .sidebar {
    width: 280px;
    float: left;
  }
  .main_content {
    width: calc(100% - 280px);
    padding-right: 60px;
    box-sizing: border-box;
    float: left;
  }
  .sidebar h2 {
    font-size: var(--font-x);
    font-family: var(--font-en);
    font-weight: bold;
    color: var(--white-color);
    padding: 20px 2%;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--white-color);
    border-top: 1px solid var(--white-color);
    text-align: center;
    position: relative;
  }

  .sidebar h2::before,
  .sidebar h2::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .sidebar h2::before {
    background-image: url("http://torasta.ne.jp/wp-content/uploads/icon_heart.svg");
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .sidebar h2::after {
    background-image: url("http://torasta.ne.jp/wp-content/uploads/icon_spad.svg");
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .sidebar ul.menu_list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: var(--section-margin6);
  }
  .sidebar ul.menu_list li {
    width: 100%;
    padding-inline: 4%;
  }
  .sidebar ul.menu_list li a {
    width: 100%;
    display: block;
    color: var(--white-color);
    text-align: left;
    font-size: var(--font-l);
    font-weight: bold;
  }
  .sidebar ul.banner_list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
}

@media screen and (max-width: 750px) {
  #introduction .title_jp {
    width: 100%;
    display: block;
    line-height: var(--line-height-default);
    font-weight: 700;
    color: var(--white-color);
    text-align: left;
  }
}

/*----------------------------------
ipo
----------------------------------*/
.decoration {
  position: absolute;
  top: 0;
  right: -108px;
  width: 50%;
  aspect-ratio: 1440 / 634;
  background-image: url("/wp-content/uploads/ipo-decoration.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
}

.decoration-2 {
  position: absolute;
  top: 12%;
  left: 40%;
  width: 76%;
  aspect-ratio: 1440 / 634;
  background-image: url(/wp-content/uploads/ipo-decoration-2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  pointer-events: none;
  opacity: 0.8;
}

.decoration-3 {
  position: absolute;
  bottom: 51%;
  right: -50px;
  right: 6%;
  width: 80%;
  aspect-ratio: 1440 / 634;
  background-image: url(/wp-content/uploads/ipo-decoration-3.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  pointer-events: none;
  opacity: 0.6;
}

.decoration-frame {
  position: absolute;
  inset: -120px 0 0 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: default;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  flex-shrink: 0;
  height: auto;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  cursor: default;
}

.ipo-swiper,
.exit-swiper,
.invest-swiper {
  overflow: visible;
}

.swiper-pagination {
  display: none;
}

#ipo .title_en {
  width: 100%;
  display: block;
  font-size: var(--font-size-xxl);
  font-weight: 700;
  margin-bottom: var(--space-xxl);
  color: var(--primary-color);
}

#ipo {
  position: relative;
  padding: var(--space-xxxl) 0px;
}

#ipo .wrapper .text-box {
  position: relative;
}

#ipo .wrapper .text-box .swiper-slide {
  height: auto;
}

/* IPOカード：リンク全体をテーブルレイアウトで表示 */
#ipo .wrapper .text-box .text-item {
  display: block;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: var(--white-color);
  padding: 40px;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

/* IPOカード内テーブル */
#ipo .wrapper .text-box .text-item .text-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* IPOカード行スタイル */
#ipo .wrapper .text-box .text-item .text-table__row th,
#ipo .wrapper .text-box .text-item .text-table__row td {
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  text-align: left;
  line-height: 1.5;
}

#ipo .wrapper .text-box .text-item .text-table__row th {
  width: 30%;
  font-weight: 700;
  color: var(--primary-color);
}

#ipo .wrapper .text-box .text-item .text-table__row td {
  width: 70%;
}

#ipo .wrapper .text-box .text-item .text-table__row:last-child th,
#ipo .wrapper .text-box .text-item .text-table__row:last-child td {
  border-bottom: none;
}

@media screen and (max-width: 1350px) {
  /* スマホでテーブル行を縦並びに */
  #ipo .wrapper .text-box .text-item .text-table__row {
    width: 100%;
    display: block;
  }

  #ipo .wrapper .text-box {
    margin-bottom: 0px;
  }
  

  #ipo .wrapper .text-box .text-item .text-table__row th,
  #ipo .wrapper .text-box .text-item .text-table__row td {
    display: block;
    width: 100%;
    padding: 0px 0px 8px 0px;
    box-sizing: border-box;
  }

  #ipo .wrapper .text-box .text-item .text-table__row th {
    border-bottom: none;
    padding: 10px 0px 4px 0px;
  }

  #ipo .wrapper .text-box .text-item .text-table__row td {
    width: 100%;
    box-sizing: border-box;
  }

  /* SPスライダーで高さを揃える */
  #ipo .wrapper .text-box .swiper-wrapper {
    align-items: stretch;
    padding-bottom: 0px;
  }

  #ipo .wrapper .text-box .swiper-slide {
    height: 100%;
    align-items: stretch;
  }

  #ipo .wrapper .text-box .text-item {
    height: 100%;
    padding: 40px 16px;
  }

  .decoration {
    position: absolute;
    top: 0;
    right: -108px;
    width: 600px;
    aspect-ratio: 1440 / 634;
    background-image: url("/wp-content/uploads/ipo-decoration.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    pointer-events: none;
  }

  .decoration-2 {
    position: absolute;
    top: 10%;
    left: -40%;
    width: 800px;
    aspect-ratio: 1440 / 634;
    background-image: url(/wp-content/uploads/ipo-decoration-2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    pointer-events: none;
    opacity: 0.8;
  }

  .decoration-3 {
    position: absolute;
    bottom: 34%;
    right: -50px;
    right: 6%;
    width: 1200px;
    aspect-ratio: 1440 / 634;
    background-image: url(/wp-content/uploads/ipo-decoration-3.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    opacity: 0.6;
  }
}

/*----------------------------------
exit
----------------------------------*/
#exit {
  position: relative;
  padding: var(--space-xxxl) 0px;
  background-color: var(--primary-color);
}

#exit h2.title_en {
  color: var(--white-color);
}

#exit .wrapper .text-box {
  position: relative;
}

#exit .wrapper .text-box .swiper-slide {
  height: auto;
}

#exit .wrapper .text-box .text-item {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: var(--white-color);
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

#exit .wrapper .text-box .text-item .text-name {
  margin-bottom: 16px;
  font-weight: 700;
}

#exit .wrapper .text-box .text-item .logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  width: 200px;
  margin-bottom: 40px;
}

#exit .wrapper .text-box .text-item .logo-text p {
  margin-top: var(--space-m);
  text-align: center;
}

#exit .wrapper .text-box .text-item .text-wrap {
  display: flex;
  gap: 30px;
}

#exit .wrapper .text-box .text-item .text-item-right {
  display: flex;
  flex-direction: column;
  width: calc(70% - 21px);
}

#exit .wrapper .text-box .text-item .text-item-left {
  display: flex;
  flex-direction: column;
  width: calc(30% - 9px);
}

/* IPOカード内テーブル */
#exit .wrapper .text-box .text-item .text-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* IPOカード行スタイル */
#exit .wrapper .text-box .text-item .text-table__row th,
#exit .wrapper .text-box .text-item .text-table__row td {
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  text-align: left;
  line-height: 1.5;
}

#exit .wrapper .text-box .text-item .text-table__row th {
  width: 30%;
  font-weight: 700;
  color: var(--primary-color);
}

#exit .wrapper .text-box .text-item .text-table__row:last-child th,
#exit .wrapper .text-box .text-item .text-table__row:last-child td {
  border-bottom: none;
}

@media screen and (max-width: 1350px) {
  #exit .wrapper .text-box .text-item {
    padding: 40px 16px;
  }

  #exit .wrapper .text-box {
    margin-bottom: 0px;
}

  /* スマホでテーブル行を縦並びに */
  #exit .wrapper .text-box .text-item .text-table__row {
    width: 100%;
    display: block;
  }

  #exit .wrapper .text-box .text-item .text-table__row th,
  #exit .wrapper .text-box .text-item .text-table__row td {
    display: block;
    width: 100%;
    padding: 0px 0px 8px 0px;
    box-sizing: border-box;
  }

  #exit .wrapper .text-box .text-item .text-table__row th {
    border-bottom: none;
    padding: 10px 0px 4px 0px;
  }

  #exit .wrapper .text-box .text-item .text-table__row td {
    width: 100%;
    box-sizing: border-box;
  }

  /* SPスライダーで高さを揃える */
  #exit .wrapper .text-box .swiper-wrapper {
    align-items: stretch;
  }

  #exit .wrapper .text-box .swiper-slide {
    height: 100%;
    align-items: stretch;
  }

  #exit .wrapper .text-box .text-item {
    height: 100%;
  }
}

@media screen and (min-width: 1100px) {
  .ipo-swiper.is-static .swiper-wrapper,
  .exit-swiper.is-static .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px;
    transform: none !important;
  }

  .ipo-swiper.is-static .swiper-slide,
  .exit-swiper.is-static .swiper-slide {
    width: auto !important;
    margin: 0 !important;
    height: 100%;
  }

  .ipo-swiper.is-static .swiper-pagination,
  .exit-swiper.is-static .swiper-pagination {
    display: none;
  }

  .invest-swiper.is-static .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 24px;
    transform: none !important;
  }

  .invest-swiper.is-static .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    margin: 0 !important;
    min-height: 200px;
  }

  .invest-swiper.is-static .swiper-pagination {
    display: none;
  }

  .invest-swiper.is-static .logo img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .invest-swiper.is-static .swiper-slide {
    cursor: default;
  }
}
/*----------------------------------
投資先
----------------------------------*/

#invest {
  padding: var(--space-xxxl) 0;
}

#invest .wrapper .logo-wrapper {
  position: relative;
}

#invest .wrapper .logo-wrapper .swiper-wrapper {
  align-items: stretch;
}

#invest .wrapper .logo-wrapper .swiper-slide {
  height: auto;
}

#invest .wrapper .logo-wrapper .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

#invest .wrapper .logo-wrapper .logo img {
  display: block;
  max-width: 100%;
}

@media screen and (max-width: 750px) {
  #invest .wrapper {
    max-width: 90%;
    margin: 0 auto;
  }

  #invest .wrapper .logo-wrapper .logo {
    border: 1px solid #cdcdcd;
    padding: 6px;
  }
}

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

/*----------------------------------
MEMBER
----------------------------------*/
#member {
  position: relative;
  padding: var(--space-xxxl) 0px;
  background-color: var(--primary-color);
}

#member .title_en {
  color: var(--white-color);
}

#member h3 {
  margin-bottom: 28px;
}

#member .wrapper .box {
  padding: 0px 100px;
}

#member .wrapper .box .item {
  background-color: var(--white-color);
  padding: 60px 40px;
  border-radius: 8px;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

#member .wrapper .box .item:last-child {
  margin-bottom: 0;
}

#member .name-bold {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-l);
}

#member .position-title {
  margin-top: 10px;
  display: block;
}

#member .member-decoration-frame {
  position: absolute;
  inset: 0 0px 0 0;
  overflow: hidden;
  pointer-events: none;
}

#member .member-decoration {
  position: absolute;
  top: 0;
  right: -108px;
  width: 90%;
  aspect-ratio: 1440 / 1440;
  background-image: url(/wp-content/uploads/member-decoration.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
}

@media screen and (max-width: 750px) {
  #member {
    padding: var(--space-xxxl) 0px 0px 0px;
  }

  #member .wrapper .box {
    padding: 0px;
  }

  #member .member-decoration {
    width: 500px;
  }

  #member .wrapper .box .item {
    padding: 40px 16px;
    margin-bottom: 40px;
  }
}

/*----------------------------------
about
----------------------------------*/
#about {
  padding: 0 100px var(--space-xxxl) 100px;
  background-color: var(--primary-color);
}

#about .wrapper {
  padding: 0px 100px;
}

#about .title_en {
  color: var(--white-color);
  margin-bottom: var(--space-xxl);
}

#about .about-card {
  background-color: var(--white-color);
  border-radius: 8px;
  padding: 60px 40px;
  margin: 0 auto;
}

#about .about-row {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

#about .about-row:last-child {
  border-bottom: none;
}

#about .about-label {
  width: 200px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}

#about .about-value {
  flex: 1;
  color: #000;
  line-height: 1.6;
}

#about .btn_wrap {
  text-align: center;
  margin-top: var(--space-xl);
}

#about .more_btn {
  border-radius: 30px;
  background: var(--white-color);
  padding: 16px 102px;
  color: #000;
  max-width: none;
}

@media screen and (max-width: 750px) {
  #about {
    padding: 0px;
    padding-top: var(--space-xxxl);
  }

  #about .wrapper {
    padding: 0px;
  }

  #about .about-row {
    flex-direction: column;
    padding: 10px 0px 8px 0px;
  }

  #about .about-label {
    margin-bottom: 10px;
  }

  #about .about-card {
    padding: 40px 16px;
  }
  
}

/*----------------------------------
map
----------------------------------*/
#map {
  padding: 0 0 var(--space-xxxl) 0;
  background-color: var(--primary-color);
}

#map .map-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  padding: 0 100px;
}

#map .map-container iframe {
  width: 100%;
  height: 1000px;
  display: block;
  border: 0;
}

@media screen and (max-width: 768px) {
  #map .map-container iframe {
    height: 350px;
  }

  #map .address-info {
    padding: 30px 20px;
  }
}

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

  #map {
    padding: var(--space-xxxl) 0;
    background-color: var(--primary-color);
  }

  #map .map-container {
    padding: 0px;
  }
}

/*----------------------------------
copyright
----------------------------------*/
#copyright {
  padding: var(--space-xl) 0;
  background-color: var(--primary-color);
}

#copyright .copyright-text {
  text-align: center;
  color: var(--white-color);
  font-size: var(--font-s);
  margin: 0;
}

