@import "parts/footer.css";

#message {
  margin-top: max(-12vw, -160px);
  padding-bottom:calc(2*var(--size80));
  color:white;
}
.message_container {
  padding-right: min(3%, 40px);
}
.message_contents {
  /*gap:calc(1.5*var(--size50));*/
  align-items: flex-end;
}
.message_contents .page_section_tit {
  padding-right: 80px;
}
.message_contents .detail_box {
  flex: 1;
}
.message_contents p {
  line-height: 1.8;
}
.message_contents .name {
  margin-top: 1em;
  text-align: right;
}
.message_contents .img_ceo {
  width: 280px;
}

#aboutix {
  padding-top:calc(2*var(--size80));
  padding-bottom:calc(2*var(--size80));
}
.about_contents {
  gap:calc(1.25*var(--size100));
}
.about_contents .img_box {
  width:min(45%,540px);
  flex-shrink: 0;
}
.scroll_box {
  overflow-x: auto;
  padding-bottom:var(--size10);
}
.scroll_box figure img {
  max-width: 100%;
  min-width: 800px;
  vertical-align: top;
}
.about_contents .txt_box {
  padding-top:var(--size20);
}
#overview {
  padding-top:calc(2*var(--size80));
  padding-bottom:calc(2*var(--size80));
  color:white;
}
.overview_contents {
  justify-content: space-between;
}
.overview_contents .txt_cont {
 width:53.75%;
 padding-top:var(--size30);
}
.overview_contents .txt_cont table {
  width:100%;
}
.overview_contents .txt_cont table * {
  letter-spacing: 0.1em;
  line-height: 1.8;
}
.overview_contents .txt_cont table th {
  width:22.5%;
  vertical-align: top;
  text-align: left;
  padding-bottom:var(--size30);
}
.overview_contents .txt_cont table td {
  width:77.5%;
  vertical-align: top;
  padding-bottom:var(--size30);
}
.overview_contents .txt_cont table td dl {
  display:flex;
  flex-wrap: wrap;
}
.overview_contents .txt_cont table td dl dt {
  width:6.5em;
  text-align: right;
  padding-right:1em;
}
.overview_contents .txt_cont table td dl dd {
  width:calc(100% - 6.5em);
  text-align: left;
  padding-left:1em;
}
.overview_contents .txt_cont table td .privacy-mark {
	margin-top: 20px;
	width: 80px;
}
.overview_contents .txt_cont table td .privacy-mark img {
	width: 100%;
}
.overview_contents .txt_cont a {
  text-decoration: underline;
  color: inherit;
}
.overview_contents .txt_cont .small {
  margin-top: 0.3em;
  font-weight: 500;
  font-size: 80%;
}

#directors {
  padding-top:calc(2*var(--size80));
  padding-bottom:calc(2*var(--size80));
}
.members_list_wrap {
  margin-top:calc(1.2*var(--size100));
}
.members_list {
  gap:var(--size100);
}
.members_list + .members_list {
  margin-top:calc(1.3*var(--size100));
}
.members_list .prof_box {
  width:min(54.1%,640px);
  flex-shrink: 0;
}
.members_list .img_box {
  padding-left:var(--size100);
}
.prof_box .name_box {
  margin-bottom:var(--size20);
}
.prof_box .name_box .info {
  display: block;
}
.prof_box .name_box .name {
  gap :var(--size10);
}
.prof_box .prof table {
  margin-top:var(--size20);
}
.prof_box .prof table th {
  text-align: left;
  width:6em;
}

@media (max-width:1320px) {
  .message_contents .detail_box {
    display: block;
    padding-right: 50px;
  }
  .message_contents .txt_cont {
    margin-top: var(--size50);
  }
  .message_contents p br {
    display: none;
  }
  .message_contents .img_ceo {
    flex-basis: 280px;
  }
}
@media (max-width:1024px) {

}
@media (max-width:799px)  {
  #message {
    margin-top: 0;
    padding-top:var(--size80);
    padding-bottom:var(--size100);
  }
  .message_container {
    padding: 0 calc(var(--innergap)/1.5);
  }
  .message_contents,.overview_contents {
    flex-direction: column;
    gap:var(--size60);
  }
  .message_contents > * ,.overview_contents > *, .overview_contents .txt_cont{
    width:100%;
  }
  .message_contents .detail_box {
    padding: 0;
  }
  .message_contents .page_section_tit {
    padding: 0;
  }
  .message_contents .img_ceo {
    display: none;
  }
  #aboutix,#overview,#directors {
    padding-top:var(--size100);
    padding-bottom:var(--size100);
  }
  .about_contents {
    flex-direction: column;
    align-items: center;
    gap:var(--size60);
  }
  .about_contents .img_box, .about_contents .txt_box {
    width:100%;
    padding-top:0;
  }
  .about_contents .img_box figure{
    width:min(100%,540px);
    margin:auto;
  }
  .about_contents .txt_box .mb80 {
    margin-bottom:var(--size60);
  }
  .positioning_contents.mt100{
    margin-top:calc(1.5*var(--size100));
  }
  .members_list {
    gap: var(--size60);
  }
  .members_list .img_box {
    padding-left: 0;
  }
	.overview_contents .txt_cont table td .privacy-mark {
		margin-top: 10px;
		width: 56px;
	}
}
@media (max-width:499px) {
  .members_list {
    flex-direction: column;
  }
  .members_list > *, .members_list .prof_box {
    width:100%;
  }
  
}
