@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap");
@import url("https://fonts.googleapis.com/earlyaccess/notosansjp.css");

/*
 * 画面の切り替え（2026-12）
 * パソコン向けの画面は、文字や余白を画面の高さ（vh）で決めている。縦長の画面（タブレットの縦向き）では
 * 横幅が足りず、メニューが右上の contact と重なったり、右側の項目が切れたりする。
 * そのため、幅 480px 以下に加えて、縦横比（幅 ÷ 高さ）が 1.1 以下の画面もスマートフォン向けの画面にする。
 * スマートフォン向けの画面も文字の大きさなどを vh で決めているため、横向きのスマートフォン（高さが低い）には使えない。
 * 横向きのスマートフォンは、今までどおりパソコン向けの画面で表示する。
 * 条件を変えるときは、下の 2 つの @media の書き方を全部そろえて直す。
 *   スマートフォン向け: @media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10)
 *   パソコン向け:       @media screen and (min-width: 481px) and (min-aspect-ratio: 1101/1000)
 */


html {
  /* height: -webkit-fill-available; */
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: rgba(238, 76, 34, 0.25);
  border-radius: 5px;
}

body {
  background-image: url("../images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #3b374c;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  min-height: 100vh;
  /* min-height: -webkit-fill-available; */
  min-width: 100vw;
  margin: 0px;
  text-align: justify;
  font-size: 1.6vh;
}
@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  body {
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    height: 100%;
  }
}

#inner-bg {
  position: fixed;
  top: 2.5vh;
  left: 2.5vh;
  height: calc(100vh - (25 * 0.2vh));
  width: calc(100vw - (25 * 0.2vh));
  background-color: white;
  z-index: -999;
  border-radius: 12vh;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  #inner-bg {
    display: none;
  }
}

#wrapper {
  padding: 5vh calc((100vw - 80vh) / 2);
  height: 100vh;
  width: 100vw;
  background-image: url("../images/company_illust.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 10vh;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  #wrapper {
    height: auto;
    padding: 10px 5px;
    /* background-color: white; */
  }
}
@media screen and (min-width: 481px) and (min-aspect-ratio: 1101/1000) {
  #wrapper {
    overflow: hidden;
  }
}

.contact {
  height: 10vh;
  width: 10vh;
  position: fixed;
  right: 0px;
  top: 0px;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .contact {
    display: none;
  }
}

.contact:hover {
  opacity: 0.75;
}

/* Navigation Menu */
#nav {
  height: 7.5vh;
  padding: 2.25vh 0;
}
#nav .logo {
  height: 3vh;
}

#nav ul {
  float: right;
}

#nav ul li {
  float: left;
  padding: 0 2vh;
  font-size: 1.6vh;
  line-height: 3vh;
  font-weight: bold;
}

#nav ul li:hover {
  border-bottom: 2px solid #3b374c;
}

#nav ul li.selected {
  color: #ee4c22;
  cursor: default;
  border-bottom: none;
}
#mobile-header {
  display: none;
}

.nav-contact {
  display: none;
}
@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  #mobile-header {
    position: fixed;
    display: block;
    top: 10px;
    left: 0;
    width: 100%;
    height: 60px;
    text-align: right;
    padding-right: 15px;
    z-index: 999;
  }
  #mobile-header a {
    text-align: center;
  }
  #mobile-header a .logo {
    position: absolute;
    height: auto;
    width: 120px;
    top: 20px;
    left: calc((100% - 120px) / 2);
    vertical-align: middle;
  }

  #humberger {
    position: relative;
    height: 20px;
    width: 28px;
    display: inline-block;
    box-sizing: border-box;
    margin: 20px 10px 0 0;
  }
  #humberger div {
    position: absolute;
    right: 0;
    height: 3px;
    width: 24px;
    background-color: #444;
    border-radius: 3px;
    display: inline-block;
    box-sizing: border-box;
  }
  #humberger div:nth-of-type(1) {
    bottom: 16px;
  }
  #humberger div:nth-of-type(2) {
    bottom: 8px;
  }
  #humberger div:nth-of-type(3) {
    bottom: 0;
  }
  #nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    height: 100%;
    width: 100vw;
    z-index: 998;
    text-align: center;
    padding-top: 20px;
  }
  #nav .logo {
    display: none;
  }
  #nav ul {
    display: block;
    margin-top: calc((100% - 100px) / 2);
  }
  #nav ul li {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 24px;
    line-height: 64px;
  }
  #nav ul li:hover {
    border-bottom: none;
  }
}

/* footer */

.footer {
  width: 100vw;
  position: absolute;
  bottom: 4.5vh;
  text-align: center;
}

.footer img {
  width: 12vh;
}

.footer .privacy {
  position: absolute;
  right: 100px;
  bottom: 0px;
  font-size: 12px;
  color: gray;
}

.footer .privacy a:hover {
  color: #ee4c21;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .footer {
    display: none;
  }
}

.clear {
  clear: both;
}

/* Content area */

.content {
  padding: 0 3vh;
  max-width: 80vh;
  background-color: white;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .content {
    padding-top: 80px;
    padding-bottom: 40px;
    margin: 0 5px;
    width: calc(100vw - 20px);
    min-height: calc(100vh - 20px);
    background-image: url("../images/footer.png");
    background-repeat: no-repeat;
    background-position: bottom 15px center;
    background-size: auto 10px;
  }
}
.title-bar {
  margin: 2vh 0 12vh 0;
}

.title-bar.index-news {
  margin: 2vh 0 2vh 0;
}

.title-bar .title {
  color: #e7e217;
  font-size: 4.8vh;
  font-weight: bold;
  letter-spacing: 1.2vh;
  float: left;
}

.title-bar .view-all {
  font-size: 1.6vh;
  margin: 1vh 0;
  padding: 0 1vh;
  border-radius: 1.8vh;
  border: 1px solid #3b374c;
  width: 10vh;
  height: 3.6vh;
  line-height: 3.6vh;
  text-align: center;
  float: right;
}

.title-bar .view-all:hover {
  background-color: #3b374c;
  cursor: pointer;
  color: #ffffff;
}

/* top page */

.top-message {
  padding: 3vh 0;
}
.thanks-message {
  padding: 10vh 0;
  text-align: center;
}
.top-message img {
  height: auto;
  width: 100%;
  max-width: 690px;
}
.thanks-message img {
  height: 250px;
  width: auto;
}

.top-description,
.service-description,
.news-description,
.aboutus-description,
.company-description .recruit-description,
.thanks-description {
  width: 100%;
}

.news-description {
  min-height: 75vh;
}

.service-description,
.aboutus-description,
.company-description,
.recruit-description {
  margin-top: 1.5vh;
}

.top-description {
  background-image: url("../images/home-illust.png");
  background-position: right;
  background-size: contain;
  background-repeat: no-repeat;
}

.aboutus-description {
  background-image: url("../images/aboutus_illust.png");
  background-position: center right;
  background-size: 40%;
  background-repeat: no-repeat;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .top-description,
  .aboutus-description {
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
  }
}

.company-description {
  background-image: url("../images/company_illust.png");
  background-position: right bottom;
  background-size: 10%;
  background-repeat: no-repeat;
}

.news-description .description.article {
  line-height: 1.5em;
  height: 55vh;
  overflow-y: scroll;
  padding-right: 17.5px;
}
@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .news-description .description.article {
    height: auto;
    overflow-y: none;
    padding-right: 0;
  }
}
.news-description .description h2 {
  font-size: 1.8vh;
  line-height: 3.6vh;
  font-weight: bold;
}

.news-description .description h3 {
  font-weight: bold;
  line-height: 3.2vh;
}

.aboutus-description .sub-header,
.company-description .sub-header,
.recruit-description .sub-header {
  color: #e7e217;
  font-size: 2.4vh;
  font-weight: bold;
  line-height: 3.6vh;
  margin-top: 1.8vh;
}

.top-description .message,
.service-description .message,
.aboutus-description .message,
.recruit-description .message,
.thanks-description .message {
  font-size: 3.2vh;
  font-weight: bold;
  line-height: 4.8vh;
}
@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .top-description .message,
  .service-description .message,
  .aboutus-description .message,
  .thanks-description .message {
    font-size: 5.5vw;
  }
  .recruit-description .message {
    font-size: 5.4vw;
  }
}

.top-description .description,
.service-description .description,
.recruit-description .description {
  margin: 2.5vh 0;
  line-height: 2.8vh;
}
.recruit-description .signature {
  text-align: right;
}
.aboutus-description .description {
  margin: 2vh 0;
  line-height: 2.4vh;
  text-align: justify;
}

.aboutus-description .description.derive {
  background-image: url("../images/aboutus_illust_2.png");
  background-position: center left;
  background-repeat: no-repeat;
  background-size: 17.5vh;
  padding-left: 20vh;
  margin: 8vh 0;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .aboutus-description .description.derive {
    padding-top: 80px;
    padding-left: 0;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: auto 60px;
  }
}

.service-description img {
  width: 100%;
}

.company-description table tr {
  line-height: 4.2vh;
}

.recruit-description table tr {
  font-size: 1.4vh;
  line-height: 3.4vh;
}

.company-description table tr td:first-child,
.recruit-description table tr td:first-child {
  font-weight: bold;
  white-space: nowrap;
}

.company-description table tr td:nth-child(2),
.recruit-description table tr td:nth-child(2) {
  padding-left: 3.6vh;
}

.company-description table tr td .map,
.recruit-description table tr td .map {
  line-height: 2.4vh;
  border: 1px solid #3b374c;
  border-radius: 1.2vh;
  padding: 0 1vh;
  margin-left: 1.6vh;
}

.top-news .entry,
.recruit-description .entry {
  margin-top: 1.6vh;
  line-height: 4.2vh;
  background-color: #e7e217;
  text-align: center;
  border-radius: 2.1vh;
  cursor: pointer;
}

.company-description img.member {
  height: 6vh;
  margin-top: 2.4vh;
  margin-right: 3.6vh;
}
.top-news .entry:hover,
.recruit-description .entry:hover {
  background-color: #3b374c;
  color: #e7e217;
}

.recruit-description .selector ul {
  margin: 1.6vh 0;
  display: flex;
}

.recruit-description .selector ul li {
  width: 33.33333vh;
  text-align: center;
  line-height: 3.6vh;
  border: 2px solid #3b374c;
  position: relative;
  cursor: pointer;
}

.recruit-description .selector ul li.selected-recruit,
.recruit-description .selector ul li:hover {
  color: #ffffff;
  background-color: #3b374c;
}

.recruit-description .selector ul li.selected-recruit:after,
.recruit-description .selector ul li:hover:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1vh;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #3b374c transparent transparent transparent;
  border-width: 1vh 1vh 0 1vh;
}

.top-news {
  padding: 2.5vh 0;
}

.panel-area {
  display: flex;
  padding: 0.75vh 0;
}

.panel-area a .panel {
  border-radius: 1.5vh;
  border: 1px #e8e8e8 solid;
  height: 12vh;
  width: 100%;
  max-width: 40vh;
  display: flex;
  overflow: hidden;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .panel-area {
    display: block;
  }
  .panel-area a .panel {
    min-width: 100%;
  }
}

.panel-area a .panel:hover {
  opacity: 0.75;
  cursor: pointer !important;
}

.panel-area a:last-child {
  margin-left: 1.5vh;
}

.panel-area .panel .image {
  height: 12vh;
  min-width: 12vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.panel-area .panel .description {
  height: 12vh;
  width: auto;
  max-width: 24vh;
  padding: 1.6vh;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.6vh;
}

.panel-area .panel .description .type {
  margin-left: 0;
}

.info {
  color: #ee4c22;
}

.pr {
  color: #71c4e7;
}

.panel-area .panel .description .date {
  margin-left: auto;
}

.panel-area .panel .description .title {
  font-size: 1.6vh;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .panel-area .panel .description {
    width: 100%;
    max-width: 100%;
  }
  .panel-area .panel .description,
  .panel-area .panel .description .title {
    font-size: 1.8vh;
  }
  .panel-area .panel .description .type {
    width: 20%;
  }
  .panel-area .panel .description .date {
    width: 80%;
    text-align: right;
  }
  .panel-area .panel .description .title {
    width: 100%;
  }
}

.contact-description .form-set .title {
  font-weight: bold;
  margin: 2.4vh 0 0.8vh 0;
}
.contact-description .form-set .title .warn {
  line-height: 1.6vh;
  font-size: 1.2vh;
  color: #ee4c22;
  margin-left: 1.2vh;
  font-weight: normal;
}

.contact-description .form-set .form {
  height: 2.4em;
  width: 100%;
  padding: 0 1.6vh;
  border-radius: 0.4vh;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-description .form-set .form:focus {
  outline: 0;
  box-shadow: 0 0 0 2px #e7e217 inset;
  background-color: rgba(231, 226, 23, 0.1);
}

.contact-description .form-set textarea {
  height: 20vh;
  display: block;
  width: 100%;
  padding: 1.6vh 1.6vh;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  resize: vertical;
}

.contact-description .form-set textarea:focus {
  outline: 0;
  box-shadow: 0 0 0 2px #e7e217 inset;
  background-color: rgba(231, 226, 23, 0.1);
}

.contact-description .form-set .button {
  margin-top: 2vh;
  line-height: 4.8vh;
  color: #3b374c;
  background-color: #e7e217;
  text-align: center;
  width: 100%;
  border-radius: 2.4vh;
  font-weight: bold;
}

.contact-description .form-set .button:hover {
  color: #e7e217;
  background-color: #3b374c;
}

.mask {
  background-image: url("../images/aboutus_illust.png");
  background-size: 30%;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.75);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100vh;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.news-title {
  padding: 3vh 0 3vh 17.5vh;
  font-weight: bold;
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 2vh;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .news-title {
    padding: 85vw 0 0 0;
    font-weight: bold;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    margin-bottom: 5vh;
  }
  .news-title ul,
  .news-title .title {
    background-color: white;
  }
}

.news-title ul {
  display: flex;
}

.news-title ul li {
  margin-right: 5vh;
}

.news-title .title {
  margin-top: 1.5vh;
  font-size: 2.4vh;
  height: 2em;
}

.news-footer ul {
  display: flex;
  position: fixed;
  bottom: 8vh;
  width: 100%;
}

.news-footer ul li.view-all {
  width: 14vh;
  text-align: center;
  margin: 1.5vh 0;
  padding: 1vh 2vh;
  border-radius: 2vh;
  border: solid #3b374c 1px;
}

.news-footer ul li.view-all:hover {
  background-color: #3b374c;
  color: white;
}

.news-footer ul li.prev-link,
.news-footer ul li.next-link,
.news-footer ul li.empty {
  width: 30vh;
  text-align: left;
  padding: 1.5vh 0 1.5vh 3vh;
  line-height: 2vh;
}

.news-footer ul li.prev-link::before {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.3vh;
  width: 1.3vh;
  height: 1.3vh;
  border-top: 0.3vh solid #3b374c;
  border-right: 0.3vh solid #3b374c;
  transform: rotate(-135deg);
}

.news-footer ul li.next-link::before {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 70vh;
  width: 1.3vh;
  height: 1.3vh;
  border-top: 0.3vh solid #3b374c;
  border-right: 0.3vh solid #3b374c;
  transform: rotate(45deg);
}

.news-footer ul li.prev-link:hover,
.news-footer ul li.next-link:hover {
  opacity: 0.6;
}

.news-footer ul li.prev-link .date,
.news-footer ul li.next-link .date {
  margin-left: 1vh;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .news-footer ul {
    margin-top: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    width: calc(100vw - 60px);
    bottom: 0;
  }
  .news-footer ul li.view-all {
    padding: 5px 20px;
    margin: 0 0 0 0;
    border-radius: 20px;
    border: solid #3b374c 1px;
  }
  .news-footer ul li.prev-link,
  .news-footer ul li.next-link,
  .news-footer ul li.empty {
    display: none;
  }
}

.recruit-menu {
  position: absolute;
  top: 18vh;
  right: calc(((100vw - 80vh) / 2) + 50px);
  line-height: 30px;
  font-weight: bold;
}

.recruit-menu .selected {
  opacity: 0.25;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .recruit-menu {
    right: 45px;
    line-height: 20px;
  }
}

.service-description .illust-1 {
  height: 7vh;
  margin-bottom: -6vh;
  position: relative;
  z-index: 500;
  background-image: url("../images/service_illust_1.png");
  background-repeat: no-repeat;
  background-size: auto 7vh;
  background-position: left 1vh top;
}
.service-description .illust-2 {
  height: 7vh;
  margin-top: -6vh;
  position: relative;
  z-index: 500;
  background-image: url("../images/service_illust_2.png");
  background-repeat: no-repeat;
  background-size: auto 7vh;
  background-position: right 1vh top;
}

.service-description ul.illustrated {
  height: auto;
  display: flex;
}

.service-description ul.illustrated li.bubble {
  background-color: white;
  width: calc(100% - 40px);
  border-radius: 15px;
  border: 1px #e8e8e8 solid;
  overflow: hidden;
}

.service-description ul.illustrated li.owner {
  margin-top: 4vh;
}
.service-description ul.illustrated li.trainer {
  margin: 2vh 0;
}
.service-description ul.illustrated li.user {
  margin-bottom: 4vh;
}
.service-description ul.illustrated li.trainer,
.service-description ul.illustrated li.user {
  margin-left: 20px;
}

.service-description ul.illustrated li .header {
  text-align: center;
  background-color: #3b374c;
  color: white;
  height: 5vh;
  font-size: 2vh;
  line-height: 5vh;
}

.service-description ul.illustrated li.owner .header,
.service-description ul.illustrated li.owner .service-content .title {
  color: #71c4e7;
  font-weight: bold;
}

.service-description ul.illustrated li.trainer .header,
.service-description ul.illustrated li.trainer .service-content .title {
  color: #e7e217;
  font-weight: bold;
}

.service-description ul.illustrated li.user .header,
.service-description ul.illustrated li.user .service-content .title {
  color: #ee4c22;
  font-weight: bold;
}

.service-description ul.illustrated li .service-content {
  padding: 2vh;
}
.service-description ul.illustrated li .service-content .title {
  font-size: 1.4vh;
  text-align: center;
  font-weight: bold;
}
.service-description ul.illustrated li .service-content .detail {
  margin-top: 1vh;
  font-size: 1.2vh;
}

.service-description ul.illustrated li .service-content .detail li {
  line-height: 2.4vh;
  list-style: disc;
  margin-left: 2vh;
}

@media screen and (max-width: 480px), screen and (max-aspect-ratio: 11/10) {
  .service-description ul.illustrated {
    display: block;
  }
  .service-description ul.illustrated li .header {
    font-size: 16px;
  }

  .service-description ul.illustrated li.bubble {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
  }
  .service-description ul.illustrated li .service-content .title {
    font-size: 1.8vh;
  }

  .service-description ul.illustrated li .service-content .detail li {
    text-align: center;
    list-style: none;
    margin-left: 0;
  }
}
