/*共通*/
.bg {
  background-color: #f5f5f5;
}

.padding {
  padding: 8% 5%;
}

.line {
  width: 20%;
  height: 1px;
  background-color: #1a1a1a;
  align-self: center;
}

.page-header {
  background-position: center;
  background-size: cover;
}

.page-title h1 {
  font-size: 40px;
  font-weight: 500;
}

.page-subtitle {
  margin-bottom: 4px;
}

.page-subtitle p {
  font-size: 10px;
}

.page-title-wrap {
  justify-items: left;
  align-content: center;
  min-height: 120px;
  padding: 3%;
  color: #fff;
  background: linear-gradient(to right, rgba(0, 0, 0, 1),rgba(0, 0, 0, 0.3));
}


.main-visual,
.main_details {
  background-color: #f5f5f5 !important;
}

.flex {
  display: flex;
  gap: 40px;
}
@media screen and (min-width: 1281px) {
  .flex {
    gap: 40px;
  }
}
@media screen and (min-width: 1081px) and  (max-width: 1280px){
  .flex {
    gap: 40px;
  }
}
@media screen and (min-width: 769px) and  (max-width: 1080px){
  .flex {
    gap: 40px;
  }
}

.left,
.right {
  width: 50%;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.main-wrap_message,
.main-wrap_video,
.main-wrap_recruitInfo,
.main-wrap_intro,
.main-wrap_feature,
.main-wrap_works,
.main-wrap_recruit,
.main-wrap_president,
.main-wrap_story,
.main-wrap_faq,
.main-wrap_entry {
  padding: 5%;
}

.has-small-font-size,
.has-medium-font-size,
.has-normal-font-size,
.has-large-font-size,
.has-extra-small-font-size,
.has-extra-large-font-size {
  line-height: normal;
  margin: 16px 0 8px 0 !important;
}

/*ヘッダー*/
.header-logo {
  width: 300px;
  align-items: center;
  margin: 0;
}

.header-logo img {
  width: 100%;
  height: unset;
}

.header-item {
  align-content: center;
}

.header-item p {
  font-size: 8px;
  font-weight: normal;
  line-height: normal;
}

.header-item a {
  font-size: 15px;
  font-weight: bold;
  color:  #1a1a1a;
}

.header-item a,
.header-item-last a {
  width: max-content;
  display: block;
}

.header-item-last {
  padding: 40px 40px;
  background-color: #1a1a1a;
  color: #fff;
}

.header-item-last a {
  font-weight: bold;
}

.header-inner {
  padding: 0 24px;
  align-content: center;
  width: auto;
  justify-items: right; 
}

.g-navi {
  gap: 16px;
}

/* アクセシビリティ */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.header{
  display:flex;
  width:100%;
  position:sticky; top:0;
  z-index:1000;
  background:#fff;
  justify-content: space-between;
}

.header-bar{
  width: fit-content;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 16px;
}

.header-logo-link{ display:flex; align-items:center; }
.header-logo-img{ height:44px; width:auto; display:block; }

/* PCナビ（デフォルト） */
.header-nav{
  width: fit-content;
  align-content: center;
}
.g-navi{
  display:flex;
  gap:24px;
  align-items:center;
  justify-content:flex-end;
  padding:0 16px;
  margin:0;
  list-style:none;
}

.header-item a{
  display:block;
  text-decoration:none;
}

/* ハンバーガー（PCは隠す） */
.header-burger{
  display:none;
  width:44px; height:44px;
  border:none; background:transparent;
  position:relative;
  cursor:pointer;
}
.header-burger-line{
  position:absolute;
  left:10px; right:10px;
  height:2px;
  background:#111;
  transition:transform .25s ease, top .25s ease, opacity .25s ease;
}
.header-burger-line:nth-child(1){ top:14px; }
.header-burger-line:nth-child(2){ top:21px; }
.header-burger-line:nth-child(3){ top:28px; }

/* ====== Tablet以下でSPメニュー ====== */
@media (max-width: 1024px){
  .header {
    flex-direction: column;
  }
  .header-bar {
    width: 100%;
  }
  .header-burger{ display:block; }

  /* SP時はナビを折りたたむ */
  .header-nav{
    display:none;
    padding:0 16px 16px;
  }

  .header-nav.is-open{ 
    display:block;
    width: 100%;
   }

  .g-navi{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:0;
  }

  .header-item{
    border-top:1px solid rgba(0,0,0,.08);
  }

  .header-item a{
    padding:14px 8px;
  }

  /* 開いたときのハンバーガー→× */
  .header-burger.is-open .header-burger-line:nth-child(1){
    top:21px; transform:rotate(45deg);
  }
  .header-burger.is-open .header-burger-line:nth-child(2){
    opacity:0;
  }
  .header-burger.is-open .header-burger-line:nth-child(3){
    top:21px; transform:rotate(-45deg);
  }
}


/*ボタン共通*/
.detail-button {
  height: fit-content;
  border-bottom: 1px solid #1a1a1a;
  padding: 4px;
}
.detail-button a {
  display: flex;
  justify-content: space-between;
}
.detail-button p {
  font-size: 12px;
  line-height: normal;
  color: #1a1a1a;
}
.back-button-wrap {
  padding: 40px 0 80px 0;
}
.back-to-archive {
  width: fit-content;
  margin: 0 auto;
  background-color: #1a1a1a;
  color: #fff;
  padding: 12px 40px;
}
@media screen and (max-width: 768px) {
  .detail-button {
    width: 120px;
    margin: 0 0 0 auto;
  }
}

/*タイトル*/
.title-wrap{
  margin-bottom: 12px;
}
.subtitle-wrap {
  gap: 8px !important;
  align-items: center;
}
.top-title-wrap{
  margin-bottom: 16px;
}

/*テキスト*/
* {
  font-family: "Shippori Mincho",serif;
}

p {
  font-size: 14px;
  line-height: 24px;
}
.en {
  font-family: "Helvetica Neue", sans-serif !important;
}
h2 {
  color:#1a1a1a;
  font-size: 32px;
  line-height: normal;
  font-weight: bold;
  width: fit-content;
}
h3 {
  color:#1a1a1a;
  font-size: 24px;
  line-height: 32px;
  font-weight: bold;
}
.page-title h2 {
  color: #fff;
  font-size: 40px;
}
.feature-subtitle,
.works-subtitle,
.recruit-subtitle {
  color: #fff;
  font-size: 48px;
  line-height: 56px;
  font-weight: bold;
}
.top-subtitle p{
  color: #1a1a1a;
}
@media screen and (max-width: 768px) {
  p {
    font-size: 13px;
  }
}

/*メインビジュアル*/
.main-visual-wrap {
  height: 50vw;
  align-content: end;
  padding: 5%;
}
.mv-title-wrap {
  width: fit-content;
  margin: 0 0 auto 0;
  color: #fff;
}
.mv-title-top {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  font-family: serif;
}
.mv-title-middle {
  font-size: 64px;
  font-weight: bold;
}
.mv-title-bottom {
  font-size: 15px;
  line-height: normal;
  margin: 16px 0 0 0;
}

@media screen and (max-width: 768px) {
  .main-visual-wrap {
    height: 80vh;
  }
  .mv-title-top {
    font-size: 12px;
  }
  .mv-title-middle {
    font-size: 40px;
  }
  .mv-title-bottom {
    font-size: 10px;
  }
}

/*ビジョン*/
.vision {
  padding: 5%;
  text-align: center;
}
.vision .detail-button {
  width: 120px;
  margin: 0 0 0 auto;
}
.vision-catch h2{
  margin: 0 auto 32px auto;
}
.vision-title h2 {
  font-size: 32px;
  line-height: normal;
  margin: 0 auto 12px auto;
}
.archive-vision h3 {
  margin-bottom: 16px;
}
.vision-text {
  margin-bottom: 40px;
}
.vision-text p {
  margin-bottom: 4px; 
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .vision-title h3 {
    font-size: 18px;
  }
  .vision-title h2 {
    font-size: 24px;
  }
}
@media screen and (max-width: 480px) {
  .vision-title h2 {
    font-size: 16px;
  }
}

/*INTRO*/
.intro-title {
  color: #fff;
}

.intro-title,
.intro-subtitle {
  text-align: center;
  margin-bottom: 16px;
}

.intro-description {
  text-align: center;
  margin: 24px 0;
}

.intro_content {
  justify-items: center;
}

.intro_content img {
  margin: 5% 0;
}

/*ストーリースタイル*/

ul{
  list-style: none !important;
}

.story-list{
  padding: 5%;
  display: flex;
}

.story-list-left{
  padding: 0 3% 0 0;
  justify-items: center !important;
}

.story-list-left h1,
.story-list-left h3{
  writing-mode: vertical-lr;
  letter-spacing: 0.5rem;
}

.story-list-left h2 {
  font-size: 32px;
  line-height: 40px;
  width: min-content;
}

.story-title{
  border-bottom: 1px solid #ddd;
  padding: 24px 0 12px 0;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  padding-right: 2rem;
}

.story-title::after {
  content: "▼";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  font-size: 10px;
  color: #555;
}

.story-title.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.story-title h2, .story-title h3 {
  pointer-events: none; /* 内側テキストクリックでも反応させる */
}

.story-item-content{
  margin-bottom: 3%;
}

.story-text{
  display: flex;
  gap: 3%;
  overflow: hidden;
  transition: max-height 0.5s ease;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.story-text.active {
  display: flex;
  gap: 3%;
  opacity: 1;
  pointer-events: all;
  min-height: fit-content;
}

.story-left,.story-right{
  width: 50%;
}

.story-right img,
.story-right video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: auto;
}

.story-title h2{
  font-size: 18px !important;
  line-height: normal;
}

@media screen and (min-width: 481px) and (max-width: 768px){
  .story-title {
    padding: 24px 0 12px 0;
    margin-bottom: 12px;
  }
  .story-title::after{
    font-size: 10px;
  }
  .story-list-left{
    width: auto;
    padding: 0 40px 0 0;
    justify-items: center;
  }
  .story-title h3{
    font-size: 12px;
  }
  .story-text{
    display: block;
  }
  .story-left, .story-right{
    width: 100%;
  }
  .story-right{
    margin: 3% 0;
  }
  .story-text,.story-text.active{
    display: block;
    padding: 2%;
  }
  .story-list-left h2 {
    font-size: 24px;
    line-height: 32px;
  }
}

@media screen and (max-width: 480px){
  .story-list-right {
    width: auto;
  }
  .story-item-content {
    margin: 0;
  }
  .story-title {
    padding: 16px 0 12px 0;
    margin-bottom: 12px;
  }
  .story-title::after{
    font-size: 8px;
  }
  .story-list-left{
    width: auto;
    padding: 0 40px 0 0;
    justify-items: center;
  }
  .story-title h3{
    font-size: 12px;
  }
  .story-text{
    display: block;
  }
  .story-left, .story-right{
    width: 100%;
  }
  .story-right{
    margin: 3% 0;
  }
  .story-text,.story-text.active{
    display: block;
    padding: 2%;
  }
  .story-list-left h1{
    font-size: 18px !important;
    line-height: 28px !important;
  }
  .story-title h2{
    font-size: 15px !important;
    line-height: normal;
  }
  .story-list-left h2 {
    font-size: 20px;
    line-height: 28px;
  }
}

/*技術的アプローチ*/
.approach {
  padding: 8% 0;
}
.approach-item {
  width: 50%;
  padding: 24px;
  background-color: rgba(0,0,0,0.03);
  gap: 24px;
}
.approach-item-wrap {
  margin: 40px 0 0 0;
  gap: 24px;
}
.approach-item-name h3 {
  font-size: 16px;
  line-height: normal;
}
.approach-content-intro {
  margin-bottom: 16px;
}
.approach-item-img {
  margin-bottom: 16px;
}
.approach-item-img img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.approach-img {
  margin: auto 0;
}
.approach-img img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.approach-item-eng p{
  font-size: 12px;
}
.approach-item-eng {
  margin-bottom: 8px;
}
.approach-item-text {
  margin-bottom: 16px;
}
.approach-item-text p {
  font-size: 12px;
  line-height: normal;
}
.approach-content {
  margin: auto 0;
  padding: 0 40px 0 0;
}
.approach-contents-wrap {
  padding: 24px 0 64px 0;
}
.approach-contents-wrap2 {
  padding: 0 0 40px 0 !important;
}
.approach-title-wrap {
  margin-bottom: 24px;
}
.approach-title-wrap .flex {
  gap: 8px;
}
.approach-title-wrap .flex .page-title h2 {
  font-size: 40px !important;
  line-height: normal;
}
.approach-title-wrap .flex .page-subtitle {
  margin-bottom: 12px;
  align-content: end;
}
.approach-title-wrap .flex .page-title h2,
.approach-title-wrap .flex .page-subtitle p {
  color:  #1a1a1a;
}
.approach-title-wrap .flex .page-subtitle p {
  line-height: normal;
}
.approach-list {
  border-top: 1px solid #1a1a1a;
  padding: 16px;
}
.single-approach .page-single-img-wrap {
  margin: 40px 0;
}
.single-approach .page-single-img-wrap img {
  width: 100%;
}
@media screen and (min-width: 1281px) {
  .approach-img img {
    aspect-ratio: 5/4;
    object-fit: cover;
  }
}
@media screen and (min-width: 1081px) and  (max-width: 1280px){
  .approach-img img {
    aspect-ratio: 1/1;
    object-fit: cover;
  }
  .approach-item-wrap {
    gap: 24px;
  }
  .approach-item-img img {
    aspect-ratio: 4/3;
  }
}
@media screen and (min-width: 769px) and  (max-width: 1080px){
  .approach-content {
    padding: 0 40px 0 0;
    width: 100%;
  }
  .approach-img {
    width: 100%;
  }
  .approach-item-wrap {
    margin: 16px 0 0 0;
    gap: 16px;
  }
  .approach-img img {
    aspect-ratio: 1/1;
    object-fit: cover;
  }
  .approach-item-img {
    margin: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  .approach-item-img img {
    aspect-ratio: 16/9;
  }
  .approach-item-eng p {
    font-size: 10px;
  }
  .top-title-wrap {
    margin-bottom: 8px;
  }
  .approach-item-text {
    margin-bottom: 8px;
  }
  .approach-item {
    padding: 16px;
  }
  .approach-info-wrap {
    margin: auto 0;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .approach-item-text {
    margin-bottom: 8px;
  }
  .approach-content {
    padding: 0;
    width: 100%;
  }
  .approach-info-wrap {
    margin: auto 0;
  }
  .approach {
    padding: 8% 5%;
  }
  .approach-item {
    width: 100%;
    display: flex;
    gap: 16px;
  }
  .approach-img {
    width: 100%;
  }
  .approach-img img {
    aspect-ratio: 16/9;
  }
  .approach-wrap {
    flex-direction: column-reverse;
  }
  .approach-item-wrap {
    flex-direction: column;
    margin: 16px 0 0 0;
    gap: 16px;
  }
  .approach-item-img {
    margin: 0;
    width: 100%;
  }
  .approach-item-img img {
    aspect-ratio: 16/9;
  }
  .approach-group-title{
    margin-bottom: 40px;
  }
  .approach-group-title > .flex{
    flex-direction: row !important;
  }
  .approach-contents-wrap .flex {
    flex-direction: column;
  }
  .approach-contents-wrap:nth-of-type(3) > .flex{
    flex-direction: column-reverse;
  }
  .approach-contents-wrap .flex .support-box-img img {
    aspect-ratio: 16/9;
  }
  .approach-contents-wrap {
    padding: 8px 0 64px 0;
  }
  .approach-list {
    padding: 16px 0;
    flex-direction: row;
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .approach-item-text {
    margin-bottom: 8px;
  }
  .approach-content {
    padding: 0;
    width: 100%;
  }
  .approach-info-wrap {
    margin: auto 0;
  }
  .approach {
    padding: 8% 5%;
  }
  .approach-item {
    width: 100%;
    display: block;
    gap: 16px;
  }
  .approach-img {
    width: 100%;
  }
  .approach-img img {
    aspect-ratio: 16/9;
  }
  .approach-wrap {
    flex-direction: column-reverse;
  }
  .approach-item-wrap {
    flex-direction: column;
    margin: 16px 0 0 0;
    gap: 16px;
  }
  .approach-item-img {
    margin: 0 0 16px 0;
    width: 100%;
  }
  .approach-item-img img {
    aspect-ratio: 16/9;
  }
  .approach-group-title{
    margin-bottom: 40px;
  }
  .approach-group-title > .flex{
    flex-direction: row !important;
  }
  .approach-contents-wrap .flex {
    flex-direction: column;
  }
  .approach-contents-wrap:nth-of-type(3) > .flex{
    flex-direction: column-reverse;
  }
  .approach-contents-wrap .flex .support-box-img img {
    aspect-ratio: 16/9;
  }
  .approach-contents-wrap {
    padding: 8px 0 64px 0;
  }
  .approach-list {
    padding: 16px 0;
    flex-direction: row;
    width: 100%;
  }
  .archive-approach .left,
  .archive-approach .right {
    width: 100%;
  }
}

/*研究チーム*/
.team-title-wrap {
  cursor: pointer;
  width: 200px;
  margin-bottom: 4px;
  background-color: rgba(109,52,48,0.03);
}
.team-tab-btn.is-active {
  background: #1a1a1a;
  color: #fff;
}
.team-profile-list h4 {
  margin-bottom: 8px;
  color: #1a1a1a;
  font-weight: bold;
}
.team-tab-btn.is-active h4,
.team-tab-btn.is-active h5 {
  color: #fff;
}
.team-tab-btn {
  width: 100%;
  padding: 12px;
  text-align: left;
  background: transparent;
  border: none;
}
.team-contents-tab-wrap {
  border-top: 1px solid #1a1a1a;
  padding: 16px;
}
.team-staff-wrap {
  width: calc(100%/2);
}
.team-profile-img img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.staff_name {
  font-weight: 600;
}
.team-staff-static,
.team-staff-slide-inner {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.team-staff-static .team-staff-wrap,
.team-staff-slide-inner .team-staff-wrap {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
}

.team-staff-carousel {
  position: relative;
  width: 100%;
}

.team-staff-track {
  position: relative;
  width: 100%;
  min-height: 1px;
}

.team-staff-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(24px) scale(0.985);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    visibility 0s linear 0.55s;
  z-index: 1;
}

.team-staff-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    visibility 0s linear 0s;
  z-index: 2;
}

.team-staff-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.team-staff-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: #d2d2d2;
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    width 0.25s ease,
    opacity 0.25s ease;
  opacity: 0.8;
}

.team-staff-dot:hover {
  transform: scale(1.08);
  opacity: 1;
}

.team-staff-dot.is-active {
  width: 28px;
  background: #333;
  opacity: 1;
}

.team-profile-img img {
  width: 100%;
  display: block;
}

.staff_intro {
  font-size: 12px;
  line-height: 18px;
}

.team-staff-text {
  margin-top: 4px;
}
@media screen and (min-width: 1281px) {
  .sub-content {
    width: 1080px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1081px) and  (max-width: 1280px){
  .sub-content {
    width: 960px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 769px) and  (max-width: 1080px){
  .sub-content {
    width: 100%;
    padding: 5%;
  }
}
@media screen and (max-width: 768px) {
  .team-tab-contents {
    flex-direction: column;
  }
  .team-tab-contents .left,
  .team-tab-contents .right {
    width: auto;
  }
  .team-contents-tab-wrap {
    flex-direction: column;
    padding: 16px 0;
  }
  .team-staff-static,
  .team-staff-slide-inner {
    flex-direction: column;
  }
  .team-staff-static .team-staff-wrap,
  .team-staff-slide-inner .team-staff-wrap {
    flex: 0 0 100%;
    width: 100%;
  }
  .team-staff-slide {
    transform: translateY(16px) scale(0.985);
  }
  .team-staff-slide.is-active {
    transform: translateY(0) scale(1);
  }
}

/*代表挨拶*/
.message-img > img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.message-content {
  margin-bottom: 40px;
}
.message-name-wrap {
  margin-bottom: 16px;
  justify-items: right;
}
.message-name-wrap h4 {
  font-size: 12px;
  margin: 0 0 0 auto;
}
.message-name-wrap p {
  margin: 0 0 0 auto;
}
.message-title {
  padding: 16px;
}
.message-title h3 {
  font-family: serif;
  font-size: 20px;
  line-height: 28px;
}
.greeting-text {
  padding: 16px;
}
.message-profile {
  padding: 16px;
}
.message-content .right .button-wrap .detail-button {
  width: 120px;
  margin: 0 0 0 auto;
}
.single-message {
  max-width: 1080px;
  margin: 0 auto;
}
.single-message-1 {
  margin-bottom: 40px;
}
.message-intro-wrap h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.message-profile-wrap .right {
  margin: auto 0;
}
.message-profile-wrap .left img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.message-title-wrap {
  margin-bottom: 8px;
}
.message-content-wrap {
  margin: 40px auto;
}
.message-content.is-first .left {
  display: none;
}

.message-content.is-first .right {
  width: 100%;
  margin: 32px auto;
}
@media screen and (min-width: 1281px) {
  .message-img > img {
    aspect-ratio: 16/9;
  }
}
@media screen and (min-width: 1081px) and  (max-width: 1280px){
  .message-img > img {
    aspect-ratio: 5/4;
  }
}
@media screen and (min-width: 769px) and  (max-width: 1080px){
  .message-img > img {
    aspect-ratio: 1/1;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .message-img > img {
    aspect-ratio: 16/9;
  }
  .message-content {
    gap: 16px;
  }
  .message-title {
    padding: 8px 0;
  }
  .greeting-text {
    padding: 8px 0;
  }
  .message-profile {
    padding: 8px 0;
  }
  .single-message-1 {
    flex-direction: column;
  }
  .single-message-1 .left,
  .single-message-1 .right {
    width: 100%;
  }
  .single-message-1 .right{
    margin-top: 16px;
  }
  .message-content {
    flex-direction: column;
  }
  .message-content .left,
  .message-content .right {
    width: 100%;
  }
  .message-content .right {
    margin-top: 16px;
  }
  .message-content .left {
    margin-top: 16px;
  }
  .message-title {
    padding: 16px 0;
  }
}
@media screen and (max-width: 480px) {
  .message-profile-wrap {
    flex-direction: column;
  }
  .message-profile-wrap .left,
  .message-profile-wrap .right {
    width: 100%;
  }
  .message-img > img {
    aspect-ratio: 16/9;
  }
  .message-content {
    gap: 16px;
  }
  .message-title {
    padding: 8px 0;
  }
  .greeting-text {
    padding: 8px 0;
  }
  .message-profile {
    padding: 8px 0;
  }
  .single-message-1 {
    flex-direction: column;
  }
  .single-message-1 .left,
  .single-message-1 .right {
    width: 100%;
  }
  .single-message-1 .right{
    margin-top: 16px;
  }
  .message-content {
    flex-direction: column;
  }
  .message-content .left,
  .message-content .right {
    width: 100%;
  }
  .message-content .right {
    margin-top: 16px;
  }
  .message-content .left {
    margin-top: 16px;
  }
  .message-title {
    padding: 16px 0;
  }
}

/*Team*/
.team-content {
  padding: 24px 0;
}
.team-content-intro {
  padding: 24px 0 40px 0;
}
.team-content-intro h3 {
  margin-bottom: 16px;
  text-align: center;
}
.team-content-intro p {
  text-align: center;
}
.team-box {
  padding: 16px;
  background-color: rgba(189,156,119,0.2);
}
.team-img-wrap {
  margin-bottom: 8px;
}
.team-img-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.team-title-wrap {
  flex: 1;
  margin-bottom: 8px;
}
.team-title-wrap h4 {
  font-size: 15px;
  font-weight: bold;
  color:  #1a1a1a;
  margin-bottom: 4px;
}
.team-title-wrap h5 {
  font-size: 10px;
  color:  #1a1a1a;
}
.team-text {
  margin-bottom: 24px;
}
.team-text p {
  font-size: 13px;
  line-height: 20px;
}
.team-box {
  width: calc(96%/3);
}
.team-content-carousel {
  width: 100%;
}
.team-content-carousel .swiper-wrapper{
  gap: 2%;
}
.team-grid-wrap {
  display: flex;
  gap: 24px;
}
.team-grid .team-content-slide {
  width: calc((100% - 48px) / 3);
}
.team-content-slide {
  box-sizing: border-box;
}
.team-info-wrap {
  margin-top: 16px;
}
.team-member-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.team-member-name h3 {
  font-size: 16px;
  text-align: center;
}
.team-member-eng {
  text-align: center;
}
.team-member-eng h4{
  font-size: 12px;
}
.team-member-text {
  padding: 16px 0;
}
.team-profile-wrap .left img{
  aspect-ratio: 16/9;
  object-fit: cover;
}
.team-profile-wrap .right {
  margin: auto 0;
}
.team-content-wrap {
  margin: 40px auto;
}
/* Swiper時も高さを崩しにくくする */
.js-team-swiper .swiper-slide {
  height: auto;
}

/* 必要に応じて余白調整 */
.js-team-swiper {
  overflow: hidden;
}
.team-content-slide {
  width: calc(96%/3);
  padding: 24px;
  background-color: rgba(0,0,0,0.03);
}

@media screen and (min-width: 1281px) {
  
}
@media screen and (min-width: 1081px) and  (max-width: 1280px){
  
}
@media screen and (min-width: 769px) and  (max-width: 1080px){
  
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .team-member-name h3 {
    text-align: left;
  }
  .team-member-eng {
    text-align: left;
  }
  .team-grid-wrap {
    flex-direction: column;
    gap: 16px;
  }
  .team-grid .team-content-slide {
    width: 100%;
    display: flex;
    gap: 16px;
  }
  .team-member-img img {
    aspect-ratio: 1/1;
    width: 240px;
  }
  .team-info-wrap {
    margin: 0;
  }
  .archive-team {
    flex-direction: column;
  }
  .team-content-intro h3,
  .team-content-intro p {
    text-align: left;
  }
  .team-content {
    flex-direction: column;
  }
  .team-box {
    width: 100%;
    margin-bottom: 16px;
  }
  .team-title-wrap {
    width: 100%;
  }
  .team-member-text {
    padding: 8px 0;
  }
}
@media screen and (max-width: 480px) {
  .team-grid-wrap {
    flex-direction: column;
    gap: 16px;
  }
  .team-grid .team-content-slide {
    width: 100%;
    display: block;
  }
  .team-member-img img {
    aspect-ratio: 16/9;
    width: 100%;
  }
  .team-member-img {
    margin-bottom: 8px;
  }
  .team-profile-wrap {
    flex-direction: column;
  }
  .team-profile-wrap .left,
  .team-profile-wrap .right {
    width: 100%;
  }
}


/*Inter*/
.inter img {
  width: 100%;
}

/*トピックス*/
.topics {
  background-color: rgba(0,0,0,0.03);
  padding: 5% 0;
}
.archive-topics h2 {
  font-size: 16px;
}
.topics-wrap .flex {
  padding: 2% 5%;
}
.topics-wrap .flex .right {
  align-content: center;
  width: 160px;
}
.topics-wrap .flex .left {
  margin-right: auto;
}
.topics-slide { 
  width: calc(96%/3);
  aspect-ratio: 16/9;
  position: relative; display:block; 
  flex: 0 0 auto; display: block;
  object-fit: cover;
}
.topics-hover-title {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity .2s;
}
.topics-hover-title p {
  color: #fff;
}
.topics-slide:hover img {
  filter: brightness(40%);
  transition: all 0.4s ease; /* ふわっと変化 */
}
.topics-slide:hover .topics-hover-title {
  opacity:1;
}
.topics-content {
  margin-bottom: 16px;
  padding: 0 0 16px 0;
  border-bottom: 1px solid #1a1a1a;
}
.topics-content .topics-date p {
  font-size: 12px;
}
.topics-content .right {
  align-content: center;
}
.topics-content .left {
  width: 240px;
}
.topics-content .left img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.topics-contents-wrap {
  overflow: hidden;
}
.topics-slider {
  will-change: transform;
}
.topics-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .topics-slide {
    width: calc(98%/2) !important;
  }
  .topics-content .left {
    width: 40% !important;
  }
  .topics-content .right {
    width: 60% !important;
  }
  .support-content-intro h3,
  .support-content-intro p {
    text-align: left;
  }
  .support-content {
    flex-direction: column;
  }
  .support-box {
    width: 100%;
    margin-bottom: 16px;
  }
}

/*CTA*/
.cta-title h2,
.cta-text p,
.cta p {
  color: #fff;
}
.cta-title h2,
.cta-text p {
  margin: 0 auto;
}
.cta {
  margin: 0 auto;
  border: 1px solid #fff;
  padding: 12px 32px;
}
.cta:hover {
  background-color: #fff;
  transition: all 0.4s ease; /* ふわっと変化 */
}
.cta:hover p {
  color: #1a1a1a;
  transition: all 0.4s ease; /* ふわっと変化 */
}
.cta,
.cta p,
.cta-text p {
  width: fit-content;
}
.cta-button-wrap {
  margin: 24px 0 0 0;
}
.cta-text {
  margin: 8px 0 0 0;
}

/*FAQ*/
.faq-item {
  border-bottom: 1px solid #151515;
  padding: 16px 0;
}
.faq-title p{
  font-size: 15px;
}
.faq-title {
  font-size: 15px !important;
  font-weight: bold;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-title::after {
  content: "+";
  display: inline-block;
  margin-left: 16px;
}
.faq-item.is-open .faq-title::after {
  content: "−";
}
.faq-answer {
  padding-top: 12px;
  line-height: 1.8;
}
.faq-answer p {
  font-size: 13px;
}


/*最新情報*/
.news {
  background-color: rgba(0,0,0,0.03);
}
.news-wrap-left,
.news-wrap-right {
  width: 100%;
}
.news-wrap-left .flex .left {
  width: calc(100% - 120px);
}
.news-wrap-left .flex .right {
  align-content: center;
  width: 120px;
}
.news-wrap-right {
  align-content: center;
}
.news-title {
  padding: 4px 0 8px 0;
}
.news-title h2 {
  font-size: 16px !important;
  line-height: normal;
}
.news-title h3 {
  font-size: 15px !important;
  font-weight: bold !important;
}
.news-date p {
  font-size: 12px;
}
.news-content {
  display: block;
  border-bottom: 1px solid  #1a1a1a;
  margin-bottom: 16px;
}
/* ===== スライダー ===== */
.inter-slider{
  width:100%;
  overflow:hidden;
  position:relative;
}
.inter-slider-track{
  display:flex;
  transition:transform .7s ease;
}
.inter-slide{
  flex:0 0 100%;
}
.inter-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  aspect-ratio: 3/2;
}
/* ===== ボタン ===== */
.inter-prev,
.inter-next{
  position:absolute;
  top:50%;
  width:40px;
  height:40px;
  border:none;
  color:#fff;
  font-size:26px;
  cursor:pointer;
  z-index:10;
  transition:.2s;
  text-align: center;
}
.inter-next:hover{
  transform:translate(4px, 0px);
}
.inter-prev:hover{
  transform:translate(-4px, 0px);
}
.inter-prev{ left:10px; }
.inter-next{ right:10px; }
@media screen and (max-width: 768px) {
  .news {
    flex-direction: column;
  }
}

/*company*/
.company-contents-wrap {
  padding: 4px 0;
  border-bottom: 1px solid #1c1c1c;
  margin-bottom: 8px;
}
.company-content-left {
  width: 80px;
}
.company-content-left p {
  width: max-content;
}
.company-schedule-wrap {
  margin-top: 24px;
}
.company-wrap img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .company-wrap .flex {
    flex-direction: column-reverse;
  }
  .company-wrap .flex .left,
  .company-wrap .flex .right {
    width: 100%;
  }
  .company-wrap .flex .right {
    margin-bottom: 24px;
  }
  .googlemap-wrap iframe {
    max-height: 240px;
  }
  #footer_schedule .col1 {
    width: 120px;
  }
  #footer_schedule td {
    font-size: 13px;
  }
  .company-contents-wrap {
    flex-direction: column !important;
    gap: 2px;
  }
  .company-contents-wrap {
    margin-bottom: 16px;
  }
}

/* スケジュール */
#footer_schedule {
  width: 100%;
  height:150px;
  border:1px solid #1c1c1c;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
}
#footer_schedule td {
  border:1px solid #1c1c1c;
  width: auto;
  text-align:center;
  vertical-align:middle;
  color:#1c1c1c;
  padding:0 6px;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  font-size: 15px;
}
#footer_schedule .col1 {
  width: 160px;
}

/*Contact*/
.contact {
  min-height: 240px;
  align-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.contact .top-subtitle p {
  color: #fff;
}
.contact .top-title h2 {
  color: #fff;
}
.privacy-acceptance {
    margin-top: 24px;
}

.privacy-acceptance .wpcf7-list-item {
    margin: 0;
}

.privacy-acceptance label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.privacy-acceptance input[type="checkbox"] {
    display: inline-block !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0;
    cursor: pointer;
}

.privacy-acceptance .wpcf7-list-item-label {
    display: inline-block;
}


/*フッター*/
.footer {
  padding: 3%;
}

.footer-menu {
  gap: 2%;
  width: calc(100% - 200px);
}

.footer-item-wrap {
  width: calc(92%/5);
}

.footer-logo-wrap {
  width: 200px;
}

.footer-logo-wrap img {
  width: 100%;
  margin-bottom: 24px;
}

.footer-item-title {
  padding: 8px 0;
  border-bottom: 1px solid  #1a1a1a;
  width: 100%;
}

.footer-item-title h3 {
  font-size: 20px;
}

.footer-item-title span {
  font-weight: bold;
}

.footer-item-menu {
  padding: 8px 0;
}

.footer-item-menu a {
  font-size: 12px;
  line-height: normal;
  display: block;
  margin: 12px 0;
}

.footer-item-menu li {
  line-height: normal;
}

.footer-upper {
  gap: 5%;
  margin-bottom: 40px;
}

.footer-lower {
  justify-content: space-between;
  font-weight: bold;
}

.footer-lower p {
  font-size: 10px;
}

@media screen and (max-width: 768px) {
  .footer-upper,
  .footer-menu {
    flex-direction: column;
  }
  .footer-menu,
  .footer-item-wrap {
    width: 100%;
  }
  .footer-item-title {
    padding: 4px 0;
  }
  .footer-item-wrap {
    margin-bottom: 16px;
  }
}

/*c-list*/
.c-list {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.c-list::before {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 4px;
    height: 100%;
    background-color: #1a1a1a;
    content: "";
    transform: translateX(-50%);
}

@media screen and (max-width: 750px) {
    .c-list::before {
        left: 11px;
        transform: translateX(0);
    }
}

.c-list__item {
    box-sizing: border-box;
    width: 50%;
}

@media screen and (max-width: 750px) {
    .c-list__item {
        width: 100%;
    }
    .c-list__item:nth-of-type(n+2) {
        margin-top: 10px;
    }
}

.c-list__item:nth-of-type(even) {
    margin-left: auto;
}

.c-list__head, .c-list__body {
    padding-top: .5em;
    padding-bottom: .5em;
}

@media screen and (max-width: 750px) {
    .c-list__head, .c-list__body {
        padding-left: 36px;
    }
}

@media screen and (min-width: 751px) {
    .c-list__item:nth-of-type(odd) .c-list__head, .c-list__item:nth-of-type(odd) .c-list__body {
        padding-right: 1.5em;
    }
    .c-list__item:nth-of-type(even) .c-list__head, .c-list__item:nth-of-type(even) .c-list__body {
        padding-left: 1.5em;
    }
}

.c-list__head {
    position: relative;
    border-bottom: 1px solid #1a1a1a;
}

.c-list__head::after {
    position: absolute;
    right: -8px;
    bottom: -8px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1a1a1a;
    content: "";
}

@media screen and (max-width: 750px) {
    .c-list__head::after {
        right: auto;
        left: 0;
    }
}

@media screen and (min-width: 751px) {
    .c-list__item:nth-of-type(even) .c-list__head::after {
        right: auto;
        left: -8px;
    }
}

.c-list__body > *:first-child {
    margin-top: 0 !important;
}

.c-list__ttl {
    color: #1a1a1a;
    font-weight: bold;
    font-size: 24px;
}

@media screen and (min-width: 751px) {
    .c-list__item:nth-of-type(even) .c-list__ttl {
        text-align: left;
    }
}

.c-list__txt {
    margin-top: 1em;
}


/*下層ページ共通*/
.sub-content {
  padding: 5%;
}
.sub-content .title-wrap {
  justify-items: center;
  margin-bottom: 40px;
}
.page-mv-wrap {
  padding: 5%;
}
.page-mv-wrap .title-wrap {
  margin: 8px 0;
}
.page-single-content-wrap p {
  margin-bottom: 8px;
}
.page-single-img-wrap {
  text-align: center;
}
.page-single-img-wrap img {
  aspect-ratio: 16/9;
  object-fit: cover;
  margin: 0 auto;
}
.page-single-title-wrap {
  margin: 40px 0;
}
.page-single-title-wrap .date {
  margin-bottom: 8px;
}
.page-nation-wrap {
  padding: 40px 0 80px 0;
}
.page-nation {
  margin: 0 auto;
  width: fit-content;
}
.page-nation .page-numbers {
  background-color: #1a1a1a;
  padding: 8px;
  color: #fff;
  font-size: 10px;
}
@media screen and (min-width: 1281px) {
  .sub-content {
    width: 1080px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1081px) and  (max-width: 1280px){
  .sub-content {
    width: 960px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 769px) and  (max-width: 1080px){
  .sub-content {
    width: 100%;
    padding: 5%;
  }
}
@media screen and (max-width: 768px) {
  .page-content {
    padding: 8% 5%;
  }
}



/*CONTACT*/
.page-contact-wrap {
  padding: 5% 10%;
}
.contact-item {
  margin: 8px 0;
}
.contact-item .label {
  width: 200px;
  align-content: center;
}
.contact-item .item {
  background-color: #f5f5f5;
  padding: 16px;
  width: calc(100% - 200px);
}
.item-wrap .item {
  width: calc(100% - 100px);
}
.no-haikei {
  background-color: transparent !important;
}
.wpcf7-select {
  width: 100%;
}
.kikan2 .item {
  width: calc((100% - 60px)/3);
}
.item-box p {
  align-self: center;
}
.item-box .item {
  width: inherit;
}
.item-box {
  width: calc(100% - 200px);
}
.wpcf7-number {
  width: 100%;
}
.contact-content-wrap {
  padding: 2% 0;
  margin-bottom: 5%;
  border-bottom: 1px solid #151515;
}
.repeater-field-button-add {
  background-color: transparent !important;
  border-radius: 0 !important;
  width: 100% !important;
  display: block !important;
  text-align: center;
  color: #151515 !important;
  border: 1px dotted #151515;
  padding: 24px !important;
}
.cf7-repeater {
  padding: 4% 0 !important;
}
.privacy-policy-box {
  width: 100%;
  height: 400px;
  border: 1px solid #151515;
  overflow-y: scroll;
  padding: 2%;
  margin: 3% 0;
}
.contact-title-wrap h3 {
  color: #1a1a1a;
}
.wpcf7-form-control {
  width: 100%;
}
.item-wrap {
  width: 100%;
}
.hissu {
  width: 100px;
  height: fit-content;
  background-color: #1a1a1a;
  color: #fff;
  align-content: center;
  text-align: center;
  padding: 8px 0;
  align-self: center;
}
.ninni {
  width: 100px;
  height: fit-content;
  background-color: #C5C8CC;
  color: #fff;
  align-content: center;
  text-align: center;
  padding: 8px 0;
  align-self: center;
}
.wpcf7-submit {
  background-color: #1a1a1a;
  padding: 24px;
  color: #fff;
  width: 50%;
  text-align: center;
  font-size: 18px;
}
.contact-submit-wrap p {
  text-align-last: center;
}

@media screen and (max-width: 768px) {
  .contact-item {
    flex-direction: column;
  }
  .hissu {
    width: 40px;
    padding: 2px 0;
  }
  .item-wrap .item {
    width: calc(100% - 40px);
  }
  .page-contact-wrap {
    padding: 5%;
  }
  .wpcf7-submit {
    width: 100%;
    font-size: 15px;
  }
}