/* タイトル共通 */
.sub_title {
  padding-bottom: 1em;
  font-size: var(--font-32);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
  position: relative;
  &::after {
    content: "";
    width: 40px;
    height: 3px;
    display: block;
    background: linear-gradient(to right, var(--main-color) 0%, var(--main-color) 50%, var(--sub-color) 50%, var(--sub-color) 100%);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
  }
}
.line_w {
  line-height: 1;
}
/* アンカーリンク */
.anchor_links--item a {
    min-height: 4.5em;
}
/* 代表挨拶 */
.txt_sub_color {
  color: var(--sub-color);
}
.greeting {
  background: url(../img/img_01.webp) no-repeat center;
  background-size: cover;
  padding: var(--sp-64) 0;
  position: relative;
  @media screen and (max-width: 767px) {
    padding: 0;
  }
}
.greeting_inner {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: end;
}
.greeting_txt {
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
  background: #fff url(../img/img_loge.webp) no-repeat center;
  background-size: 45% auto;
  padding: var(--sp-64) 50px;
  margin-left: -15px;
  @media screen and (max-width: 767px) {
    padding: var(--sp-64) 5% 0;
    margin-left: 0;
  }
}
.txt_box {
  p{
    margin-bottom: 20px;
  }
  & p:last-child {
    margin-bottom: 40px;
  }
}
.greeting_txt_inner{
  display: flex;
  flex-direction: column;
  @media screen and (max-width: 1280px) {
    max-width: 865px;
    width: 100%;
  }
  @media screen and (max-width: 767px) {
    max-width: none;
  }
}
.president{
  position: absolute;
  bottom: 0;
  right: calc(50% + 330px);
  img {
    max-width: none;
    width: 100%;
    height: auto;
    display: block;
      @media screen and (max-width: 767px) {
        height: 75vw;
        width: auto;
      }
  }
  @media screen and (max-width: 767px) {
    position: static;
  }
}
.preconnect_all {
  @media screen and (max-width: 767px) {
    display: flex;
    justify-content: center;
  }
}
.txt_right_all{
  display: flex;
  align-items: flex-end;
}
.txt_right {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: auto;
  @media screen and (max-width: 767px) {
    padding-left: 16px;
    margin: auto;
  }
}
.neme {
  white-space: nowrap;
}
.president_name {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 企業理念 */
.c_philosophy {
  background: #F5F5F5;
  padding: var(--sp-64);
  margin: 0 auto;
  background: url(../img/c_philosophy_back.webp) center center / cover no-repeat;
  width: 100%;
  height: auto;
  @media screen and (max-width: 767px) {
    padding: var(--sp-64) 5%;
  }
}
.philosophy_small {
  font-size: 1.6rem;
}
.c_philosophy_inner {
  max-width: 950px;
  background: rgba(255, 255, 255, 0.60);
  border: var(--main-color) solid 3px;
  padding: var(--sp-64) 5%;
  margin: auto;
  & > h3 {
    line-height: 1;
  }
  @media screen and (max-width: 767px) {
    padding: var(--sp-64) 5%;
  }
}
.c_philosophy_txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 55px;
}
.c_philosophy_flx {
  display: flex;
  flex-direction: column;
  gap: 45px;
  text-align: left;
}
.c_philosophy_box_txt {
  margin-top: 19px;
  @media screen and (max-width: 767px) {
    margin-top: 12px;
  }
}

/* 経営理念 */
.m_philosophy {
  padding: 64px 0 500px;
  background: url(../img/m_philosophy_back.webp) center bottom / cover no-repeat;
  @media screen and (max-width: 767px) {
    background: url(../img/m_philosophy_back_sp.webp) center center / cover no-repeat;
    padding: 40px 0 350px;
  }
}
.m_philosophy_inner {
  max-width: 1200px;
  width: 100%;
  margin: auto;
}
.m_philosophy_circle {
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 236px;
  height: 236px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  &.back_color01 {
    background: rgba(26, 31, 114, 0.80);
    text-align: center;
  }

  &.back_color02 {
    background: rgba(235, 92, 68, 0.80);
  }

  &.back_color03 {
    background: rgba(246, 171, 0, 0.80);
  }
  @media screen and (max-width: 767px) {
    font-size: 2.0rem;
  }
}
.m_philosophy_box {
  display: inline-block;
  align-items: center;
}
.m_philosophy_box_top {
  display: flex;
  justify-content: center;
  align-items: center;
  @media screen and (max-width: 767px) {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.8);
    transform-origin: center;
  }
}
.m_philosophy_circle {
  margin-right: -60px;
  z-index: 2;
}
.txt_center {
  text-align: center;
  margin-top: 16px;
  @media screen and (max-width: 767px) {
    margin-top: -16px;
  }
}
.m_philosophy_box_all {
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
  margin-top: var(--sp-32);
  @media screen and (max-width: 767px) {
    padding: 0 5%;
    box-sizing: border-box;
  }
}
.box_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-32);
  @media screen and (max-width: 767px) {
    flex-direction: column;
  }
}
/* 会社概要 */
.overview_inner {
  background: #F5F5F5;
  padding: var(--sp-64) 0;
}
.overview_table {
  width: 950px;
  margin: auto;
  @media screen and (max-width: 767px) {
    width: 90%;
  }
}
.overview_table tr {
  width: 100%;
  display: flex;
  border-top: 1px solid var(--main-color);
  background: #fff;
  &:last-child {
    border-bottom: 1px solid var(--main-color);
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
  }
}
.overview_th {
  width: 120px;
  padding: 1px 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--table-color), 0.4);
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.05em;
  white-space: nowrap;
  @media screen and (max-width: 767px) {
    width: 100%;
    padding: 0.5em 1em;
  }
}
.overview_td {
  max-width: calc(100% - 220px);
  width: 100%;
  padding: 1em 50px;
  @media screen and (max-width: 767px) {
    max-width: calc(100% - 50px);
    padding: 1em 1.5em;
  }
}

/* 沿革 */
.history {
  margin: var(--sp-64) auto;
}
.history_box  {
  @media screen and (max-width: 767px) {
    margin-bottom: 20px;
  }
}
.history_inner {
  max-width: 950px;
  width: 100%;
  position: relative;
  margin: auto;

  @media screen and (max-width: 767px) {
    padding: 0 5%;
  }
}
.center_line {
  position: absolute;
  height: 82%;
  left: 50%;
  transform: translateX(-50%);
  top: 25px;
  border-left: 2px dashed var(--main-color);
  @media screen and (max-width: 767px) {
    left: calc(5% + 10px);
    height: 86%;
  }
  @media screen and (max-width: 400px) {
    height: 85%;
  }
}
.dt_width {
  font-size: 2.0rem;
  width: 200px;
}
.history_dt {
  width: 50%;
  box-sizing: border-box;
  font-size: 2rem;
  letter-spacing: 4.8px;
  white-space: nowrap;
  color: var(--sub-color);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 75px;
  position: relative;
  &:nth-child(odd) {
    justify-content: flex-end;
  }
  .history_box:nth-child(even) & {
    margin-left: 50%;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .history_box:nth-child(even) &::before {
    left: 0;
    right: auto;
    transform: translateX(-50%);
  }
  @media screen and (max-width: 767px) {
    width: 100%;
    margin-left: 0 !important;
    padding-left: 0;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;
    font-size: 2rem;
    .history_box:nth-child(even) &::before {
      right: auto;
      transform: none;
    }
  }
  &::before {
    content: "";
    background: var(--main-color);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    right: 0;
    transform: translateX(50%);
    z-index: 2;
    @media screen and (max-width: 767px) {
      right: auto;
      transform: none;
      width: 20px;
      height: 20px;
    }
  }
  &::after {
    content: "";
    height: 3px;
    background: var(--main-color);
    flex: 1;

    @media screen and (max-width: 767px) {
      width: 40px;
      flex: 0 0 40px;
    }
  }
}
.history_dd {
  width: 310px;
  box-sizing: border-box;
  margin-left: 0;
  @media screen and (max-width: 767px) {
    width: auto;
    margin-left: 0 !important;
    padding-left: 10%;
}
}
.history_box:nth-child(even) .history_dd {
  margin-left: calc(50% + 275px);
  @media screen and (max-width: 767px) {
    padding-left: 10%;
  }
}

/* ロゴコンセプト */
.concept {
  padding: 64px 0;
  background: #FFFCEA;
}
.concept_loge img{
  margin: 0 auto;
  @media screen and (max-width: 767px) {
    padding: 0 5%;
  }
}
/* アクセス */
.access {
  margin: var(--sp-64) auto;
}
.access_inner {
  max-width: 950px;
  margin: auto;
  @media screen and (max-width: 767px) {
    max-width: 90%;
  }
}
.map {
  width: 100%;
}