@charset "UTF-8";

#pp-nav {
  display: none;
}

.back-shadow::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* back image */
.top-frame {
  background-size: cover;
  background-image: url("../img/publicdomainq-0015242vsnkqi.jpeg");
}
.top2-frame {
  background-size: cover;
  background-image: url("../img/22130992_l.jpg");
}
.ses-frame {
  background-size: cover;
  background-image: url("../img/ilya-pavlov-OqtafYT5kTw-unsplash.jpg");
}
.trustee-frame {
  background-size: cover;
  background-image: url("../img/james-harrison-vpOeXr5wmR4-unsplash.jpg");
}
.consulting-frame {
  background-size: cover;
  background-image: url("../img/taking-notes-at-team-meeting.jpg");
}
.recruit-frame {
  background-size: cover;
  background-image: url("../img/ruthson-zimmerman-Ws4wd-vJ9M0-unsplash.jpg");
}

@media (min-width: 1019px) {
  @media (min-width: 1200px) {
    .inner-frame {
      margin: 30px 100px !important;
    }
  }
  .frame {
    height: calc(100vh - 65px);
    margin-top: 65px;
  }

  .inner-frame {
    margin: 30px 40px;
  }

  .main-message-sp {
    display: none;
  }

  .main-message-eng {
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 48px;
  }

  .main-message-frame {
    color: white;
    font-size: 50px;
    text-align: center;
    font-weight: bold;
    line-height: 16px;
  }

  /* philosphy */
  .philosophy-frame {
    border-radius: 10px;
    padding: 10px 30px;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .philosophy-table {
    margin-left: auto;
    margin-right: auto;
    font-size: 50px;
    font-weight: bold;
    margin: 30px 0px;
  }
  .philosophy-table tr td:nth-child(1) {
    text-align: right;
  }
  .philosophy-table tr td:nth-child(2) {
    text-align: center;
    padding:0 10px;
  }
  .philosophy-table tr td:nth-child(3) {
    text-align: left;
  }
  .philosophy-main {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: stretch;
    align-items: stretch;
  }
  .philosophy-detail {
    margin: 30px 0px;
    font-size: 20px;
    line-height: 30px;
    font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  }

  /* introduction */
  .detail-frame {
    background-color: var(--color-white);
    background-color: #f8f8ff;
    /* width: 100%; */
    height: 100%;
    margin-left: 40vw;
  }
  .detail-inner {
    padding: 60px 30px;
    width: calc(60vw - 60px);
  }
  .detail-inner .sub-title {
    font-size: 2.1vw;
    font-weight: bold;
    color: var(--color-main-font-sim);
  }
  .detail-inner .main-title {
    font-size: 4vw;
    color: var(--color-base-sim);
  }
  .detail-inner .main-title .eng-title {
    font-size: 1.2vw;
    margin-left:10px;
    color: var(--color-main-font);
  }
  .detail-inner .detail-text {
    font-size: 1.3vw;
    padding: 0px 20px;
    margin-top: 70px;
  }
  .detail-inner a{
    text-decoration: none;
  }
  .detail-inner .detail-button {
    margin-top: 30px;
    position: relative;
    z-index: 2;
    background-color: #fff;
    border: 2px solid var(--color-base-sim2);
    color: var(--color-base-sim2);
    line-height: 50px;
    overflow: hidden;
    display: inline-block;
    width: 200px;
    height: 54px;
    text-align: center;
    text-decoration: none;
    line-height: 54px;
    outline: none;
    font-size: 16px;
    font-weight: bold;
  }
  .detail-inner .detail-button::before,
  .detail-inner .detail-button::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
  }
  .detail-inner .detail-button,
  .detail-inner .detail-button::before,
  .detail-inner .detail-button::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  .detail-inner .detail-button:hover {
    color: #fff;
  }
  .detail-inner .detail-button::after {
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
  }
  .detail-inner .detail-button:hover::after {
    top: 0;
    left: 0;
    background-color: var(--color-base-sim2);
  }
}

@media (max-width:1020px) {
  .frame {
    height: calc(100% - 65px);
    margin-top: 65px;
  }

  .main-message{
    display:none;
  }
  .main-message-frame {
    color: white;
    font-size: 2.4rem;
    text-align: center;
    font-weight: bold;
    line-height: 4rem;
  }
  .main-message-emphasis {
    font-size: 3.4rem;
  }
  .main-message-eng {
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
  }

  .philosophy-frame {
    border-radius: 10px;
    padding: 30px 0px;
    background-color: rgba(255, 255, 255, 0.75);
  }
  .philosophy-table {
    margin-left: auto;
    margin-right: auto;
    font-size: 5vw;
    font-weight: bold;
  }
  .philosophy-table tr td:nth-child(1) {
    text-align: right;
  }
  .philosophy-table tr td:nth-child(2) {
    text-align: center;
    padding:0 10px;
  }
  .philosophy-table tr td:nth-child(3) {
    text-align: left;
  }
  .philosophy-main {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: stretch;
    align-items: stretch;
  }
  .philosophy-detail {
    margin: 30px;
    font-size: 0.8rem;
  }
  @media (max-width: 320px){
    .philosophy-detail{
      font-size: 0.5rem;
    }
  }
  .detail-frame {
    background-color: #f8f8ff;
    width: 100%;
    display: inline-block;
    margin-top: 22vh;
    height: calc(100% - 22vh);
  }
  .detail-inner {
    padding: 20px;
  }
  .detail-inner .sub-title {
    font-size: 4vw;
    font-weight: bold;
    color: var(--color-main-font-sim);
  }
  .detail-inner .main-title {
    font-size: 7vw;
    color: var(--color-base-sim);
    margin: 5px 0px;
  }
  .detail-inner .main-title .eng-title {
    font-size: 4vw;
    margin-left:10px;
    color: var(--color-main-font);
  }
  .detail-inner .detail-text {
    font-size: 1.1rem;
    padding: 0px 10px;
    margin-top: 20px;
  }
  .detail-inner a{
    text-decoration: none;
  }
  .detail-inner .detail-button {
    margin-top: 5px;
    position: relative;
    z-index: 2;
    background-color: #fff;
    border: 2px solid var(--color-base-sim2);
    color: var(--color-base-sim2);
    line-height: 50px;
    overflow: hidden;
    display: inline-block;
    width: 200px;
    height: 54px;
    text-align: center;
    text-decoration: none;
    line-height: 54px;
    outline: none;
    font-size: 16px;
    font-weight: bold;
  }
  .detail-inner .detail-button::before,
  .detail-inner .detail-button::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
  }
  .detail-inner .detail-button,
  .detail-inner .detail-button::before,
  .detail-inner .detail-button::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  .detail-inner .detail-button:hover {
    color: #fff;
  }
  .detail-inner .detail-button::after {
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
  }
  .detail-inner .detail-button:hover::after {
    top: 0;
    left: 0;
    background-color: var(--color-base-sim2);
  }
  
  @media(max-height: 667px) {
    .detail-inner .detail-text {
      font-size: 0.9rem;
    }
  }
  
  @media(max-height: 568px) {
    .detail-inner .detail-text {
      font-size: 0.5rem;
    }
  }

  @media(max-height: 500px) {
    .philosophy-table {
      font-size: 3vw;
    }
    .philosophy-detail {
      font-size: 1vw;
      margin-top: 0;
      margin-bottom: 0;
    }

    .detail-frame {
      margin-top: 0;
      height: 100%;
    }

    .detail-inner .main-title{
      font-size: 4vw;
    }

    .detail-inner .main-title .eng-title{
      font-size: 2vw;
    }
    
    .detail-inner .sub-title {
      font-size: 2vw;
    }

    .detail-inner .detail-text {
      font-size: 1vw;
    }
  }
}