@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

:root {
  --font-sans-serif: "Noto Sans JP", sans-serif;
  --font-serif: serif;
  --color-body: #232323;
  --color-link: #0154a0;
  --color-red: #b4161c;
  --color-blue: #0154a0;
  --color-light: #f7f8fc;
  --max-width: 1480px;
  --padding-container: 20px;
}

body {
  font-family: var(--font-sans-serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body);
}

section {
  position: relative;
}

a:where(:any-link, :hover) {
  color: var(--color-link);
}

a:hover {
  text-decoration: none;
}

a[href^="tel:"]:where(:any-link, :hover) {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

dl,
dt,
dd {
  font-weight: inherit;
  padding: 0;
  margin: 0;
}

.-is-loading [data-int] {
  opacity: 0;
}

.anime01 {
  position: relative;
  overflow: hidden;
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    left: 0;
    background: #000;
  }
  &.-is-int::after {
    animation: anime01a 1.5s forwards;
  }
  & > * {
    opacity: 0;
  }
  &.-is-int > * {
    animation: anime01b 1.5s forwards;
  }
}

@keyframes anime01a {
  0% {
    right: 100%;
  }
  50% {
    right: 0;
    left: 0;
  }
  100% {
    right: 0;
    left: 100%;
  }
}

@keyframes anime01b {
  0% {
    opacity: 0;
  }
  49.9% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.my-ajax-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.my-container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-container);
}

.my-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.my-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  z-index: 2;
  .my-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5em;
    max-width: 1660px;
    padding-top: 20px;
  }
}

.my-header-nav {
  display: flex;
  align-items: center;
  gap: 0.5em 1.5em;
  font-size: 22.62px;
  white-space: nowrap;
  > a {
    color: inherit;
    text-underline-offset: 3px;
  }
}

#nav,
.my-header-nav-btn {
  display: none;
}

.my-header-contact {
  display: flex;
  align-items: center;
  border: 1px solid #fff;
  padding: 6px 0;
  dt {
    font-size: 16px;
    padding: 10px 15px;
    border-right: 1px solid #fff;
  }
  dd {
    font-size: 32px;
    padding: 0 15px;
  }
}

.my-hero {
  position: relative;
  background: center center / cover no-repeat;
  aspect-ratio: 1920 / 650;
  color: #fff;
  text-align: center;
}

.my-hero-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 20px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: max(1.2vw, 22px);
  > h2 {
    font-size: 2em;
    font-weight: inherit;
    letter-spacing: 0.4em;
    margin-bottom: 0.5em;
  }
  > div {
    letter-spacing: 0.2em;
  }
}

.my-main {
  position: relative;
}

.my-section {
  padding: 150px 0;
}

.my-title {
  font-size: 32px;
  margin-bottom: 1em;
  > div {
    display: inline-block;
    word-break: break-all;
    font-size: 2em;
    line-height: 1.17;
    letter-spacing: 0.2em;
    color: var(--color-blue);
    margin-bottom: 0.5em;
    padding-left: 0.4em;
    border-left: 10px solid var(--color-blue);
  }
  &.-w > div {
    color: #fff;
    border-left-color: #fff;
  }
  > h3 {
    font-size: 1em;
    font-weight: inherit;
    line-height: 1.5;
    letter-spacing: 0.3em;
    margin-bottom: 0.8em;
  }
  &.-w > h3 {
    color: #fff;
  }
}

.my-subtitle {
  color: var(--color-blue);
  font-size: 2em;
  letter-spacing: 0.3em;
  padding: 0.5em 0 0.5em 0.8em;
  border-left: 10px solid var(--color-blue);
  margin-bottom: 1em;
}

.my-intro {
  position: relative;
  background: var(--color-red);
  color: #fff;
  line-height: 2.6;
  padding-bottom: 180px;
  overflow: hidden;
  .my-line01 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 123px;
  }
}

.my-bc {
  list-style: none;
  padding: 0;
  margin: 30px 0 120px;
  display: flex;
  a {
    text-decoration: none;
    color: inherit;
  }
  a:hover {
    text-decoration: underline;
    color: inherit;
  }
  li + li::before {
    content: "\03e";
    margin: 0 50px;
  }
}

.my-cols {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.my-table01 {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 2em;
  :where(th, td) {
    vertical-align: top;
    padding: 1.5em 0 0.5em;
    border-bottom: 1px solid var(--color-body);
  }
  &.-borderless :where(th, td) {
    border-bottom: 0;
  }
  th {
    color: var(--color-blue);
    font-weight: 500;
    width: 8em;
  }
}

.my-badge01 {
  display: inline-block;
  font-size: 1.3em;
  line-height: 2.3;
  padding: 0 1.5em;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  color: #fff;
  background: var(--color-red);
  vertical-align: middle;
  white-space: nowrap;
}

.my-list01 {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  > li {
    display: flex;
    &::before {
      content: "";
      display: inline-block;
      width: 1.125em;
      height: 2px;
      flex-shrink: 0;
      background: var(--color-body);
      margin: 1.2em 0.4em 0 1em;
    }
  }
}

.my-line01 {
  width: 0px;
  height: 55px;
  border: 1px solid #fff;
  margin: 0 auto;
}

.my-btn01 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  min-height: 60px;
  border-radius: 30px;
  background: var(--color-blue);
  color: #fff;
  text-decoration: none;
  padding: 10px 30px;
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    width: 7.42px;
    height: 12.99px;
    font-size: 16px;
    margin: auto 0;
    background: url(../img/icon-arrow-w.svg) center / contain no-repeat;
    transition: margin-right ease-out 0.4s;
  }
  &:hover {
    color: #fff;
    &::after {
      margin-right: -8px;
    }
  }
}

#home {
  .my-hero {
    background-image: url(../img/home-hero.jpg);
    aspect-ratio: 1920 / 1064;
  }
  .my-hero-wrap {
    font-size: max(2.35vw, 26px);
    > h2 {
      font-size: 2.8em;
      line-height: 1.6;
      letter-spacing: 0.2em;
      margin-bottom: 0.5em;
      text-decoration: underline;
      text-underline-offset: 0.1em;
    }
  }
}

#home01 {
  background: var(--color-red);
  padding: 150px 0 270px;
  font-size: 21.33px;
  line-height: 2.9;
  color: #fff;
  text-align: center;
  margin-bottom: min(25vw, 480px);
  .my-title {
    margin-top: 3em;
    > h3 {
      font-size: 22.62px;
      letter-spacing: 0;
    }
  }
  ol {
    position: absolute;
    top: 90%;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 1560px;
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    > li {
      position: relative;
      flex: 1;
      > div > div {
        position: relative;
        background: center / cover no-repeat;
        &::before {
          content: "";
          display: block;
          width: 100%;
          aspect-ratio: 520 / 410;
          background: rgba(0, 0, 0, 0.6);
        }
        > p {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 16px;
          line-height: 3;
          padding: 1em;
          margin: 0;
        }
      }
      &:nth-child(1) > div > div {
        background-image: url(../img/home-bg01.jpg);
      }
      &:nth-child(2) > div > div {
        background-image: url(../img/home-bg02.jpg);
      }
      &:nth-child(3) > div > div {
        background-image: url(../img/home-bg03.jpg);
      }
      > strong {
        position: absolute;
        top: -32px;
        right: 0;
        left: 0;
        font-size: 64px;
        font-weight: 500;
        line-height: 1;
        z-index: 1;
      }
    }
  }
}

#home02 {
  display: flex;
  margin-bottom: 280px;
  color: #fff;
  > div {
    &:nth-child(1) {
      width: 48vw;
      img {
        width: 100%;
      }
    }
    &:nth-child(2) {
      flex: 1;
      padding-top: 6.5vw;
      > div {
        background: url(../img/home-bg04.jpg) center / cover no-repeat;
        padding: 6.2vw var(--padding-container) 6.2vw 80px;
      }
    }
  }
  .my-title {
    margin-bottom: 1.5em;
    > h3 {
      font-size: 22.62px;
      letter-spacing: 0;
    }
  }
  .my-btn01 {
    margin-top: 1.5em;
  }
}

#home03 {
  color: #fff;
  text-align: center;
  ul {
    list-style: none;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    > li {
      flex: 1;
      &:nth-child(1) > div {
        background-image: url(../img/home-bg05.jpg);
      }
      &:nth-child(2) > div {
        background-image: url(../img/home-bg06.jpg);
      }
      > div {
        aspect-ratio: 960 / 800;
        background: center / cover no-repeat;
        &::before {
          content: "";
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          background: rgba(0, 0, 0, 0.6);
        }
        > div {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          padding: var(--padding-container);
        }
      }
    }
  }
  .my-title > h3 {
    font-size: 22.62px;
    letter-spacing: 0;
  }
  .my-btn01 {
    margin-top: 1.5em;
  }
}

#info {
  .my-hero {
    background-image: url(../img/info-hero.jpg);
  }
  .my-intro p {
    text-align: center;
  }
}

#business_areas {
  .my-title {
    margin-bottom: 3em;
  }
  ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px 50px;
    margin-top: 100px;
    padding: 0;
    li {
      width: 320px;
      height: 280px;
      padding: 30px 24px 20px;
      background: #fff;
      box-shadow: 0px 5px 36px rgba(0, 0, 0, 0.16);
    }
  }
  dt {
    display: flex;
    flex-direction: column;
    align-content: center;
    font-size: 21.33px;
    letter-spacing: 0.2em;
    text-align: center;
    color: var(--color-blue);
    img {
      width: auto;
      height: 80px;
      margin-bottom: 18px;
    }
  }
  dd {
    margin-top: 20px;
  }
}

#qualification {
  background: var(--color-light);
  .my-title {
    margin-bottom: 2em;
  }
  .my-cols {
    row-gap: 3em;
    > div {
      width: 45%;
    }
  }
  ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 1em;
    margin: 1.5em 0 0;
    padding: 0;
    li {
      display: flex;
      justify-content: space-between;
      width: 46%;
      border-bottom: 1px solid var(--color-body);
      line-height: 2.5;
      > span:nth-child(1) {
        color: var(--color-blue);
      }
    }
  }
}

#flow {
  padding-bottom: 0;
  .my-title {
    margin-bottom: 3em;
  }
  .my-cols {
    max-width: 1090px;
    margin: 0 auto;
  }
  ol {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 450px;
    li {
      position: relative;
      height: 140px;
      padding: 26px 0 0 120px;
      > span {
        position: absolute;
        top: 0;
        left: 0;
        width: 90px;
        height: 90px;
        font-size: 36px;
        line-height: 90px;
        color: #fff;
        text-align: center;
        border-radius: 50%;
        &::after {
          content: "";
          position: absolute;
          top: 100%;
          right: 0;
          left: 0;
          width: 10px;
          height: 50px;
          margin: 0 auto;
        }
      }
      dt {
        font-size: 1.3em;
        margin-bottom: 0.5em;
      }
    }
    &:nth-child(1) li {
      &:nth-child(1) {
        > span {
          background: #f0cfd0;
          &::after {
            background: linear-gradient(#f0cfd0 0%, #eecacb 100%);
          }
        }
        dt {
          color: #f0cfd0;
        }
      }
      &:nth-child(2) {
        > span {
          background: #eecacb;
          &::after {
            background: linear-gradient(#eecacb 0%, #e8b6b8 100%);
          }
        }
        dt {
          color: #eecacb;
        }
      }
      &:nth-child(3) {
        > span {
          background: #e8b6b8;
          &::after {
            background: linear-gradient(#e8b6b8 0%, #df9a9d 100%);
          }
        }
        dt {
          color: #e8b6b8;
        }
      }
      &:nth-child(4) {
        > span {
          background: #df9a9d;
          &::after {
            background: linear-gradient(#df9a9d 0%, #d9888b 100%);
            display: none;
          }
        }
        dt {
          color: #df9a9d;
        }
      }
    }
    &:nth-child(2) li {
      &:nth-child(1) {
        > span {
          background: #d9888b;
          &::after {
            background: linear-gradient(#d9888b 0%, #ca5b5f 100%);
          }
        }
        dt {
          color: #d9888b;
        }
      }
      &:nth-child(2) {
        > span {
          background: #ca5b5f;
          &::after {
            background: linear-gradient(#ca5b5f 0%, #c03b40 100%);
          }
        }
        dt {
          color: #ca5b5f;
        }
      }
      &:nth-child(3) {
        > span {
          background: #c03b40;
          &::after {
            background: linear-gradient(#c03b40 0%, #b4161c 100%);
          }
        }
        dt {
          color: #c03b40;
        }
      }
      &:nth-child(4) {
        > span {
          background: #b4161c;
        }
        dt {
          color: #b4161c;
        }
      }
    }
  }
}

#company {
  .my-hero {
    background-image: url(../img/company-hero.jpg);
  }
}

#message {
  overflow: hidden;
  .my-container > img {
    position: absolute;
    left: 930px;
    bottom: 0;
    width: 775px;
  }
  .my-title {
    margin-bottom: 3em;
  }
  p {
    width: 880px;
    &:nth-of-type(1) {
      font-size: 1.3em;
    }
    &:nth-of-type(3) {
      font-size: 1.3em;
      text-align: right;
    }
  }
}

#company_profile {
  .my-title {
    margin-bottom: 2em;
  }
  .my-table01 {
    width: 52%;
    margin-top: -4em;
    :where(th, td) {
      padding-top: 4em;
      vertical-align: middle;
    }
    th {
      width: 6em;
    }
    + div {
      width: 45%;
      figure {
        margin-bottom: 2em;
        img {
          width: 100%;
        }
        figcaption {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          gap: .5em;
          margin-top: .5em;
          dl {
            display: flex;
            dt {
              color: var(--color-blue);
              margin-right: 1em;
              white-space: nowrap;
            }
          }
        }
      }
    }
  }
}

#history {
  background: var(--color-light);
  .my-inner {
    display: flex;
    justify-content: center;
  }
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    li {
      display: flex;
      align-items: center;
      > span {
        &:nth-child(1) {
          position: relative;
          font-size: 4em;
          letter-spacing: 0.2em;
          line-height: 2;
          color: rgba(35, 35, 35, 0.65);
          flex-shrink: 0;
          &::before,
          &::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -1em;
            bottom: -1em;
            width: 4px;
            background: var(--color-red);
          }
          &::after {
            bottom: auto;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin: -8px -8px 0 0;
          }
        }
        &:nth-child(2) {
          font-size: 2em;
          letter-spacing: 0.2em;
          text-align: right;
          width: 4em;
          padding-right: 1em;
          flex-shrink: 0;
        }
      }
    }
  }
}

#access {
  padding-bottom: 100px;
  .my-title {
    margin-bottom: 1.5em;
  }
  .my-table01 {
    width: 40%;
  }
  iframe {
    position: absolute;
    top: 0;
    right: var(--padding-container);
    width: 57%;
    height: 380px;
    &:nth-of-type(2) {
      top: 420px;
    }
  }
}

#recruit {
  .my-hero {
    background-image: url(../img/recruit-hero.jpg);
  }
  .my-intro p {
    font-size: 1.7em;
    line-height: 2;
    text-align: center;
    &:nth-of-type(1) {
      font-size: 3em;
      letter-spacing: 0.5em;
      margin-bottom: 1em;
    }
  }
}

#recruitment_message {
  background: url(../img/recruit-bg01.jpg) center bottom / cover no-repeat;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #4ff6fc;
    opacity: 0.5;
  }
  .my-title {
    margin-bottom: 3em;
  }
  p {
    line-height: 2.5;
    text-align: center;
    margin-bottom: 3em;
  }
}

#recruitment_info {
  background: var(--color-light);
  .my-title {
    margin-bottom: 3em;
  }
  .my-table01 {
    margin-bottom: 6em;
  }
  h4 {
    font-size: 2em;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-align: center;
    color: var(--color-red);
    text-decoration: underline;
    text-underline-offset: 0.3em;
    margin-bottom: 1em;
  }
  p {
    color: var(--color-blue);
    text-align: center;
  }

}

#entry_form {
  padding-bottom: 0;
  .my-title {
    margin-bottom: 3em;
  }
  p {
    line-height: 2.5;
    text-align: center;
  }
  a {
    display: block;
    background: #29409a;
    color: #fff;
    line-height: 3em;
    width: 17em;
    margin: 3em auto;
    text-align: center;
    text-decoration: none;
    transition: all ease-out 0.3s;
    &:hover {
      opacity: 0.8;
    }
  }
}

#privacy {
  .my-hero {
    background-image: url(../img/privacy-hero.jpg);
  }
  .my-main {
    line-height: 2.6;
    margin-bottom: 100px;
  }
  .my-intro {
    background: #fff;
    color: inherit;
    padding-bottom: 80px;
  }
  section + section {
    margin-top: 4em;
  }
}

.my-footer {
  margin-top: 150px;
  small {
    display: block;
    text-align: center;
    margin-top: 80px;
  }
}

.my-footer-top {
  background: var(--color-light);
  padding: 100px var(--padding-container);
  text-align: center;
}

.footer-tel {
  font-size: 45px;
  letter-spacing: 0.3em;
  color: var(--color-blue);
  .bi {
    font-size: 0.8em;
  }
}

.my-footer-bottom {
  position: relative;
  background: var(--color-red);
  color: #fff;
  .my-container {
    padding-top: 140px;
    padding-bottom: 30px;
  }
}

.my-footer-cols {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
}

.my-footer-logo {
  font-size: 1.5em;
  p {
    margin-top: 2.5em;
  }
}

.my-footer-nav {
  table {
    border-collapse: separate;
    border-spacing: 0 2.5em;
    td {
      vertical-align: top;
      &:nth-child(1) {
        padding-right: 1em;
      }
      &:nth-child(3) a {
        margin-left: 1em;
      }
      a {
        display: inline-block;
        color: inherit;
        text-decoration: none;
        &:hover {
          text-decoration: underline;
        }
        &:nth-child(n + 2) {
          color: #e9bbbd;
        }
      }
    }
  }
}

.my-pagetop {
  position: absolute;
  top: 20px;
  right: 0;
  display: block;
  width: 55px;
  height: 55px;
  background: url(../img/pagetop.svg) 0 0 / contain no-repeat;
  transition: 0.3s;
  &:hover {
    opacity: 0.8;
  }
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .my-header {
    .my-container {
      padding-top: 10px;
    }
    h1 {
      width: 26%;
      min-width: 180px;
    }
  }

  .my-header-nav {
    display: none;
  }

  :checked ~ .my-header-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10;
  }

  .my-header-nav-btn {
    display: block;
    font-size: 35px;
    padding: 5px;
    cursor: pointer;
  }

  .my-header-nav .my-header-nav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .my-header-contact dd {
    font-size: 24px;
  }

  #home02 {
    flex-direction: column;
    margin-bottom: 150px;
    > div {
      &:nth-child(1) {
        width: 100%;
      }
      &:nth-child(2) {
        padding-top: 0;
        text-align: center;
        > div {
          padding: 4vw var(--padding-container);
        }
      }
    }
  }

  #qualification {
    .my-cols > div {
      width: 100%;
    }
  }

  #access {
    padding-bottom: 0;
    .my-table01,
    iframe {
      position: static;
      width: 100%;
    }
  }

  .my-footer-cols {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 15px;
  }
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  #home01 {
    padding-bottom: 0;
    ol {
      position: relative;
      flex-direction: column;
      gap: 40px;
      margin-top: 100px;
    }
  }

  #home03 {
    ul {
      flex-direction: column;
    }
  }

  #flow {
    ol {
      width: 100%;
      &:nth-child(1) li:nth-child(4) > span::after {
        display: block;
      }
    }
  }

  #message {
    .my-container > img {
      display: block;
      position: static;
      margin: 0 auto;
      width: 80%;
    }
    p {
      width: auto;
    }
  }

  #company_profile {
    .my-table01 {
      width: 100%;
      + div {
        width: 100%;
      }
    }
    .my-cols {
      figure {
        width: 100%;
      }
    }
  }
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .my-header {
    .my-container {
      padding-top: 0;
    }
  }

  .my-hero {
    aspect-ratio: 1920 / 800;
  }

  .my-hero-wrap {
    padding-top: 40px;
    font-size: 3vw;
  }

  .my-title {
    font-size: 18px;
  }

  #home {
    .my-hero {
      aspect-ratio: 1920 / 1200;
    }
    .my-hero-wrap {
      font-size: 3.35vw;
    }
  }

  #home01 {
    .my-container > p:first-child {
      text-align: left;
    }
  }

  #info {
    .my-intro p {
      text-align: left;
    }
  }

  #business_areas {
    ul {
      li {
        width: 100%;
        height: auto;
      }
    }
  }

  #history {
    ul {
      li > span {
        &:nth-child(1) {
          font-size: 2em;
          letter-spacing: 0.1em;
        }
        &:nth-child(2) {
          font-size: 1.5em;
          width: 2.5em;
        }
      }
    }
  }

  #recruit {
    .my-intro {
      .my-inner {
        font-size: 12px;
      }
      p:nth-of-type(2) {
        text-align: left;
      }
    }
  }

  #recruitment_message {
    p {
      text-align: left;
    }
  }

  #recruitment_info {
    p {
      text-align: left;
    }
  }

  #privacy {
    .my-main {
      h3 {
        font-size: 1.5em;
      }
    }
  }

  #entry_form {
    p {
      text-align: left;
    }
  }

  .footer-tel {
    font-size: 30px;
    letter-spacing: 0.2em;
  }

  .my-footer-bottom {
    font-size: 14px;
  }
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  #qualification {
    ul {
      li {
        width: 100%;
      }
    }
  }
}
