/*----会社案内　---------------------*/
/*mv*/
.mv {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100% !important;
  /* height: 100vh; */
  /* max-height: 100vw; */
  margin-bottom: 0;
  padding: 0;
}
.mv-l {
  width: 100%;
  height: 70vw;
  background-size: cover;
}

.mv-r {
  text-align:center;
  width: 100%;
  height: 70vw;
  padding-top: 2em;
  position: relative;
}
@media screen and (min-width: 767px) {
  .mv-content {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateX(50%) translateY(-40%);
    width: auto;
  }

  .mv-l,
  .mv-r {
    width: 45vw;
    height: 425px;
  }
}

.mv-r .mv-content h1 {
  color: #0eb0e0;
  font-size: 3rem;
  margin-bottom: 0;
  line-height: 1;
  font-family: "Fjalla One", sans-serif;
  letter-spacing: 2px;
}
@media screen and (min-width: 767px) {
  .mv-r .mv-content h1 {
    font-size: 4rem;
  }
}
.mv-r .mv-content h1 + p {
  color: #717071;
  font-size: 30px;
  margin: 0;
  margin-top: 1em;
  display: inline-block;
  width: auto;
  position: relative;
}
.mv-r .mv-content h1 + p:after {
  content: "";
  height: 50%;
  width: 100%;
  background: #0eb0e0;
  position: absolute;
  left: 0;
  bottom: -50%;
  opacity: 0.15;
}
.mv-content p:nth-child(2) {
  font-size: 14px;
  margin-top: 0;
  line-height: 0.5;
}

/*about us*/
#about-us {
  background: #0eb0e0;
}
#about-us h2 {
  color: #fff;
  margin-bottom: 1em;
  font-size: 50px;
  font-family: "Fjalla One", sans-serif;
  letter-spacing: 2px;
}
#about-us h2 + h3 {
  font-size: 35px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
@media screen and (min-width: 991px) {
  #about-us h2 {
    font-size: 70px;
    margin-bottom: 70px;
  }
  #about-us h2 + h3 {
    font-size: 50px;
    margin-bottom: 35px;
  }
}
#about-us p {
  line-height: 2;
  color: #000;
  font-size: 18px;
  font-weight: bold;
}
#about-us ol {
  margin-top: 2em;
  color: #000;
  font-weight: bold;
}
#about-us ol li {
  margin-bottom: 0.5em;
  list-style: decimal;
  font-size: 18px;
}

/* overview history -------- */
body {
  background: #f5f5f5;
}

section {
  padding: 3em 0 2em;
}

.content {
  max-width: 80%;
  margin: 0 auto;
}

h2 {
  font-family: "Montserrat", "Oswald", sans-serif;
  color: #ff5757;
  font-size: 2.5em;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 0.1em;
}

.content > p {
  color: #757575;
  font-size: 2em;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 2em;
}

.table-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1.5px 12px #0001;
  padding: 0;
  margin: 0 auto;
  width: 90%;
  min-width: 320px;
  max-width: 1000px;
  overflow: hidden;
}

.table-card dl {
  margin: 0;
  padding: 0;
}

.table-card dl > div {
  display: flex;
  border-bottom: 1px solid #ddd;
}

.table-card dl > div:last-child {
  border-bottom: none;
}

.table-card dt,
.table-card dd {
  padding: 1.5em 1.2em;
  font-size: 1.15em;
  background: #fff;
  text-align: left;
  vertical-align: middle;
  font-family: "Noto Sans JP", sans-serif;
}

.table-card dt {
  width: 30%;
  min-width: 110px;
  color: #444;
  font-weight: 600;
  background: #fafbfc;
  border-right: 1px solid #eee;
}

.table-card dd {
  width: 70%;
  color: #222;
  font-weight: 400;
  background: #fff;
}

@media (max-width: 700px) {
  .content {
    max-width: 98%;
    padding: 0 0.5em;
  }
  .table-card {
    width: 100%;
    min-width: unset;
  }
  .table-card dl > div {
    display: block;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0.2em;
  }
  .table-card dt {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    background: #f5f7fa;
    font-size: 1em;
    padding-bottom: 0.4em;
    border-radius: 0;
  }
  .table-card dd {
    width: 100%;
    padding-top: 0.5em;
    font-size: 1em;
    border-radius: 0;
  }
}

/* --- HISTORYのデザインも同様に --- */

#history .table-card dl > div {
  border-radius: 0;
}

#history .table-card dl > div {
  display: flex;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

#history .table-card dt {
  width: 25%;
  color: #444;
  background: #fafbfc;
  border-right: 1px solid #eee;
}

#history .table-card dd {
  width: 75%;
  background: #fff;
}

@media (max-width: 700px) {
  #history .table-card dl > div {
    display: block;
  }
  #history .table-card dt,
  #history .table-card dd {
    width: 100%;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
  }
}

/* sita */
/* 全体ベース */
.mission-section {
  background: #17b6e4;
  padding: 5vw 0 6vw 0;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
}

.mission-section .content h2 {
  font-size: 5vw;
  font-weight: bold;
  margin-left: 3vw;
  letter-spacing: 0.07em;
}

/* 各段 */
.mission-band-row {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 10vw;
  margin: 5vw 0;
}

.mission-band-row-top {
  margin-top: 4vw;
  justify-content: flex-start;
}
.mission-band-row-bottom {
  margin-bottom: 4vw;
  justify-content: flex-end;
}

/* 白帯（スペース用padding調整） */
.band-bg {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background: #fff;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
  border-radius: 3px;
}
.band-bg-top {
  left: 0;
  margin-left: 13vw; /* ←上段：左に余白 */
  padding-right: 0;
  transform: translateX(100%);
}
.band-bg-bottom {
  right: 0;
  margin-right: 13vw; /* ←下段：右に余白 */
  padding-left: 0;
  transform: translateX(-100%);
}
.mission-band-row-top.show .band-bg-top {
  transform: translateX(0);
}
.mission-band-row-bottom.show .band-bg-bottom {
  transform: translateX(0);
}

/* メインテキスト（大きく・太く・色も明るく可読性） */
.band-text-top,
.band-text-bottom {
  position: relative;
  z-index: 2;
  font-size: 5rem; /* ここを大きく */
  color: #17b6e4;
  font-weight: 600; /* ←太字！ */
  background: transparent;
  margin-left: 2vw;
  margin-right: 1vw;
  display: inline-block;
  white-space: nowrap;
}
.band-text-top {
  margin-left: 15vw;
}
.band-text-bottom {
  margin-right: 15vw;
}
/* サブテキスト */
.band-sub {
  position: relative;
  z-index: 2;
  color: #888;
  font-size: 1rem;
  font-weight: 400;
  padding-top: 4em;
  padding-left: 1vw;
  padding-right: 2vw;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.6, 0, 0.25, 1),
    transform 0.6s cubic-bezier(0.6, 0, 0.25, 1);
  transition-delay: 0s, 0s;
  white-space: nowrap;
}
.band-sub-right {
  transform: translateX(60px);
}
.band-sub-left {
  transform: translateX(-60px);
}
.mission-band-row-top.show .band-sub-right {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.7s, 0.7s;
}
.mission-band-row-bottom.show .band-sub-left {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.7s, 0.7s;
}

/* Happyhappy を上側にピッタリ */
.band-text-top,.band-text-bottom {
  margin-top: 0;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .mission-section .content h2 {
    font-size: 6vw;
  }
  .band-text {
    font-size: 8vw;
  }
  .band-sub {
    font-size: 2vw;
    white-space: normal;
  }
  .mission-band-row {
    min-height: 15vw;
  }
  .band-bg-top {
    padding-left: 3vw;
  }
  .band-bg-bottom {
    padding-right: 3vw;
  }
}
@media (max-width: 600px) {
  .mission-section {
    padding: 8vw 0 10vw 0;
  }
  .mission-section .content h2 {
    font-size: 9vw;
    margin-left: 2vw;
  }
  .band-text {
    font-size: 11vw;
  }
  .band-sub {
    font-size: 3vw;
    padding: 0 1vw;
  }
  .mission-band-row {
    min-height: 24vw;
    margin: 6vw 0;
    flex-wrap: wrap;
  }
  .band-bg-top {
    padding-left: 1.5vw;
  }
  .band-bg-bottom {
    padding-right: 1.5vw;
  }
}

/* スマホ時の COMPANY PROFILE MV 調整 */
@media (max-width: 767px) {
  /* 左右ブロックは高さ自動にして縦に伸ばす */
  .mv-l,
  .mv-r {
    height: auto;
  }
.mv {
    padding-top: 80px;  /* ヘッダーの高さに合わせて調整（60〜100pxで微調整） */
  }
  /* 上の英語コピーの位置とサイズを調整 */
  .mv-l h1 {
    font-size: 1.5em;
    line-height: 1;
    transform: none !important;   /* ← inline の translateY をキャンセル */
    padding: 40px 16px 24px;
  }

  /* COMPANY PROFILE 側の余白も少しだけ */
  .mv-r {
    padding-top: 1.5em;
  }
}

/* MISSION バンド：スマホ調整 */
@media (max-width: 600px) {

  /* メインの英語テキストを小さくして幅に収める */
  .band-text-top,
  .band-text-bottom {
    font-size: 9vw;       /* 5rem → 9vw くらいに縮小（お好みで調整） */
    /*margin-left: 6vw;     
    margin-right: 6vw;*/
    white-space: nowrap;  /* 1行に収めたい場合はそのまま */
  }

  /* 日本語サブテキストは折り返しOKにして、窮屈さを緩和 */
  .band-sub {
    font-size: 3.2vw;
    white-space: normal;  /* ← ここ重要：折り返し許可 */
    padding-top: 1.5em;
  }

  .mission-band-row {
    min-height: 26vw;     /* バンドの高さも少し余裕を持たせる */
  }
}