/*
Theme Name: High-SAI
Description: High-SAIのWordPressテーマ
Version: 1.0
Author: High-SAI
Text Domain: highsai
*/

/* ========================
全ページ共通
======================== */
body {
    font-family: Avenir Next, hiragino-kaku-gothic-pron, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
}
.body-space {
    display: block;
    width: calc(100% - 48px);
    height: calc(100vh - 48px);
    background: #F4F4F4;
    position: absolute;
    top: 24px;
    left: 24px;
    overflow: hidden;
}
@media (max-width: 900px) {
    .body-space {
        width: 100%;
        height: auto;
        position: relative;
        top: 56px;
        left: 0;
        background: #fff;
    }
}
a {
    color: inherit;
    text-decoration: none;
}
main {
    height: 100%;
}
@media (max-width: 900px) {
    main {
        height: auto;
        min-height: 70vh;
    }
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
br.tablet {
    display: none;
}
@media (max-width: 900px) {
    br.tablet {
        display: block;
    }
}

/* ---------
ヘッダー
--------- */
.header-tablet {
    display: none;
}
@media (max-width: 900px) {
    .header-tablet {
        display: flex;
        justify-content: space-between;
        width: calc(100% - 56px);
        height: 56px;
        background: #000;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 400;
    }
    .header-logo-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 140px;
        height: 100%;
        text-decoration: none;
    }
    .header-hibiscus {
        display: block;
        width: auto;
        height: 80%;
        margin: 0;
    }
    .header-logo-texts {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        margin-left: 4px;
    }
    .header-logo-with {
        font-size: 8px;
        font-weight: 700;
        color: #fff;
    }
    .header-logo-title {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
    }
    .header-recruit-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 88px;
        height: 100%;
        background: #1BB5FA;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        transition: background .3s;
    }
    .header-recruit-btn:hover {
        background: #FA1B39;
    }
}

/* ---------
ハンバーガー
--------- */
.hamburger {
    width: 56px;
    height: 56px;
    position: fixed;
    top: 32px;
    right: 32px;
    cursor: pointer;
    z-index: 500;
}
@media (max-width: 900px) {
    .hamburger {
        top: 0;
        right: 0;
    }
}
/* 黒丸背景 */
.hamburger .circle {
    width: 56px;
    height: 56px;
    background: #000;
    border-radius: 100px;
    transition: border 0.1s;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 510;
}
@media (max-width: 900px) {
    .hamburger .circle {
        border-radius: 0;
    }
}
.hamburger.active .circle {
    border: solid 1px #fff;
}
@media (max-width: 900px) {
    .hamburger.active .circle {
        border: none;
    }
}
/* 2本線 */
.hamburger::before,
.hamburger::after {
    content: '';
    width: 18px;
    height: 1.5px;
    background: #fff;
    border-radius: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: left center;
    transition: all 0.3s;
    transition-delay: 0.1s;
    z-index: 520;
}
.hamburger::before {
    top: 40%;
}
.hamburger::after {
    top: 55%;
}
.hamburger:hover::before,
.hamburger:hover::after {
    width: 25px;
}
/* バツのとき */
.hamburger.active::before {
    width: 25px;
    transform: translateX(-11px) translateY(-1px) rotate(25deg);
}
.hamburger.active::after {
    width: 25px;
    transform: translateX(-11px) translateY(1px) rotate(-25deg);
}

/* ---------
メニュー
--------- */
.nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 320px;
    height: calc(100vh - 128px);
    background: #000;
    font-weight: 700;
    letter-spacing: 1px;
    position: fixed;
    top: 24px;
    right: -400px;
    transition: all 0.3s;
    transition-delay: 0.1s;
    opacity: .2;
    z-index: 300;
}
@media (max-width: 900px) {
    .nav-menu {
        width: 100%;
        height: auto;
        padding: 56px 0;
        top: -100vh;
        right: 0;
        box-sizing: border-box;
    }
}
.nav-menu.active {
    right: 24px;
    opacity: 1;
}
@media (max-width: 900px) {
    .nav-menu.active {
        top: 56px;
        right: 0;
    }
}
.nav-menu .nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}
.nav-menu .nav-list li a {
    color: #fff;
    transition: opacity 0.3s;
    transition-delay: 0.1s;
}
.nav-menu .nav-list li a:hover {
    opacity: .8;
}

/* ---------
フッター
--------- */
.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 48px);
    height: 80px;
    margin: 0 auto;
    padding: 0;
    position: fixed;
    left: 24px;
    bottom: 24px;
    background: #000;
    color: #fff;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        width: 100%;
        height: auto;
        margin: 40px 0 0 0;
        padding: 40px 0;
        position: relative;
        left: 0;
        bottom: 0;
    }
}
/* フッターロゴエリア */
.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}
/* フッターロゴ */
.footer-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 100%;
}
.footer-hibiscus {
    display: block;
    width: auto;
    height: 80%;
    max-height: 56px;
    margin: 0 4px 0 0;
}
.footer-logo-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.footer-logo-with {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.footer-logo-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}
/* ISMSロゴ */
.footer-isms-logo {
    display: block;
    width: auto;
    height: 56px;
}
@media (max-width: 900px) {
    .footer-isms-logo {
        display: none;
    }
}
/* フッターボタン */
.footer-buttons {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 40px;
}
@media (max-width: 900px) {
    .footer-buttons {
        display: none;
    }
}
.footer-btn {
    color: #fff;
}
/* NEXTボタン */
.next-btn {
    visibility: hidden;
    height: 40px;
    padding-right: 56px;
    background: none;
    border: none;
    font-weight: 700;
    position: relative;
    cursor: pointer;
}
.next-btn::before,
.next-btn::after {
    content: "";
    position: absolute;
    bottom: 12px;
    transition: all 0.3s;
    transition-delay: 0.1s;
}
/* 矢印の線の部分 */
.next-btn::before {
    width: 40px;
    height: 1px;
    background-color: #fff;
    right: 8px;
}
.next-btn:hover::before {
    width: 100%;
    right: 4px;
}
/* 矢印の三角の部分 */
.next-btn::after {
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-left: 0 solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 10px solid #fff;
    right: 4px;
    transition: all 0.3s;
    transition-delay: 0.1s;
}
.next-btn:hover::after {
    right: 0;
}
/* PREVボタン */
.prev-btn {
    visibility: hidden;
    height: 40px;
    padding-left: 56px;
    background: none;
    border: none;
    font-weight: 700;
    position: relative;
    cursor: pointer;
}
.prev-btn::before,
.prev-btn::after {
    content: "";
    position: absolute;
    bottom: 12px;
    transition: all 0.3s;
    transition-delay: 0.1s;
}
/* 矢印の線の部分 */
.prev-btn::before {
    width: 40px;
    height: 1px;
    background-color: #fff;
    left: 8px;
}
.prev-btn:hover::before {
    width: 100%;
    left: 4px;
}
/* 矢印の三角の部分 */
.prev-btn::after {
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 10px solid #fff;
    left: 4px;
    transition: all 0.3s;
    transition-delay: 0.1s;
}
.prev-btn:hover::after {
    left: 0;
}
/* RECRUITボタン */
.recruit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100%;
    background: #1BB5FA;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    transition: background .5s;
    transition-delay: 0.1s;
}
.recruit-btn:hover {
    background: #FA1B39;
}
.footer-menu {
    display: none;
}
.footer-copyright {
    display: block;
    width: 100%;
    position: fixed;
    bottom: 2px;
    color: #000;
    font-size: 12px;
    text-align: center;
}
@media (max-width: 900px) {
    .footer-menu {
        display: flex;
        color: #fff;
    }
    .footer-menu-list {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 16px;
        margin: 0;
        padding: 80px 24px 40px 24px;
        list-style: none;
        font-weight: bold;
    }
    .footer-copyright {
        display: block;
        position: relative;
        bottom: 0;
        color: #fff;
    }
}

/* ========================
トップページ
======================== */

.main-visual {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
@media (max-width: 900px) {
    .main-visual {
        height: calc(80vh - 56px);
        margin-top: 56px;
    }
}
.main-img-link {
    display: block;
    max-width: 1200px;
    max-height: 928px;
    height: 50%;
    margin: 0 auto;
}
.main-img {
    display: block;
    height: 100%;
    transition: all 0.3s;
    transition-delay: 0.1s;
}
.main-img-link:hover .main-img {
    opacity: .8;
    filter: drop-shadow(16px 16px 2px rgba(0, 0, 0, 0.15))
}
.main-title {
    font-size: 56px;
    font-weight: bold;
    text-align: center;
    margin: 16px 0 8px 0;
}
@media (max-width: 900px) {
    .main-title {
        margin: 8px 16px;
        font-size: 32px;
    }
}
.main-subtitle {
    font-size: 24px;
    font-family: a-otf-gothic-mb101-pr6n, sans-serif;
    text-align: center;
    margin: 0 0 80px 0;
}
@media (max-width: 900px) {
    .main-subtitle {
        margin: 0 16px 40px 16px;
        font-size: 16px;
        font-weight: bold;
    }
}

/* ========================
SOLUTION, HUMAN
======================== */
.solution-layout,
.human-layout,
.roadmap-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(100% - 80px);
}
@media (max-width: 900px) {
  .solution-layout,
  .human-layout,
  .roadmap-layout {
    display: none;
  }
}
.solution-layout-tablet,
.human-layout-tablet,
.roadmap-layout-tablet {
    display: none;
}
@media (max-width: 900px) {
    .solution-layout-tablet,
    .human-layout-tablet,
    .roadmap-layout-tablet {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }
}
.solution-left,
.human-left,
.roadmap-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 320px;
    height: 100%;
    padding: 0 40px 0 0;
    box-sizing: border-box;
}
.solution-title,
.human-title,
.roadmap-title {
    margin: 0;
    font-size: 64px;
    font-weight: bold;
    letter-spacing: 6px;
}
@media (max-width: 900px) {
    .solution-layout-tablet .solution-title,
    .human-layout-tablet .human-title,
    .roadmap-layout-tablet .roadmap-title {
        font-size: 40px;
        margin: 24px;
    }
}
.solution-lead,
.human-lead,
.roadmap-lead {
    max-height: 50%;
    line-height: 40px;
    letter-spacing: 1px;
    font-size: 20px;
    font-weight: 600;
    overflow:scroll;
    scrollbar-width: none;
}
@media (max-width: 900px) {
  .solution-layout-tablet .solution-lead,
  .human-layout-tablet .human-lead,
  .roadmap-layout-tablet .roadmap-lead {
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    margin: 24px 0;
  }
}
.solution-more-btn,
.human-more-btn,
.roadmap-more-btn {
    position: relative;
    padding: 16px 80px;
    border-radius: 100px;
    border: solid 1px #000;
    background: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
}
@media (max-width: 900px) {
  .solution-layout-tablet .solution-more-btn,
  .human-layout-tablet .human-more-btn,
  .roadmap-layout-tablet .roadmap-more-btn {
    max-width: 80%;
  }
}
.solution-more-btn::before,
.human-more-btn::before,
.roadmap-more-btn::before,
.solution-more-btn::after,
.human-more-btn::after,
.roadmap-more-btn::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.6s cubic-bezier(.9, 0, .07, 1);
}
.solution-more-btn::before,
.human-more-btn::before,
.roadmap-more-btn::before {
    display: inline-block;
    width: 40px;
    height: 40px;
    left: 8px;
    background: #000;
    border-radius: 100px;
    z-index: 200;
}
.solution-more-btn::after,
.human-more-btn::after,
.roadmap-more-btn::after {
    width: 0;
    height: 0;
    left: 24px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 8px solid #fff;
    z-index: 210;
}
.solution-more-btn:hover::before,
.human-more-btn:hover::before,
.roadmap-more-btn:hover::before {
    left: 178px;
}
.solution-more-btn:hover::after,
.human-more-btn:hover::after,
.roadmap-more-btn:hover::after {
    left: 194px;
}
.solution-right,
.human-right,
.roadmap-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 0;
    width: 100%;
    min-width: 320px;
    height: 100%;
}
.solution-catch-img,
.human-catch-img {
    display: block;
    max-width: 100%;
    max-height: 536px;
    width: auto;
    height: 80%;
}
@media (max-width: 900px) {
    .solution-catch-img,
    .human-catch-img {
        height: auto;
    }
}

/* ========================
SECURITY, CAMPANY
======================== */
.security-main,
.campany-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: calc(100vh - 208px);
    overflow: hidden;
}
@media (max-width: 900px) {
    .security-main,
    .campany-main {
        height: auto;
    }
}
.security-layout,
.campany-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 90%;
    height: 100%;
}
@media (max-width: 900px) {
    .security-layout,
    .campany-layout {
        height: auto;
    }
}
.security-header,
.campany-header {
    display: flex;
    align-items: end;
    gap: 24px;
    margin-top: 56px;
    margin-bottom: 16px;
}
.security-title,
.campany-title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 4px;
    margin: 0;
}
@media (max-width: 900px) {
    .security-title,
    .campany-title {
        font-size: 40px;
    }
}
.security-icon,
.campany-icon {
    display: block;
    height: 80px;
    width: auto;
    object-fit: contain;
}
.security-content-wrapper,
.campany-content-wrapper {
    display: block;
    width: 100%;
    height: calc(100vh - 320px);
    min-height: 0;
    position: relative;
    overflow: hidden;
}
@media (max-width: 900px) {
    .security-content-wrapper,
    .campany-content-wrapper {
        height: auto;
        max-height: none;
        margin-bottom: 40px;
    }
}
.security-content,
.campany-content {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    padding: 56px;
    background: #fff;
    position: relative;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 100;
}
@media (max-width: 900px) {
    .security-content,
    .campany-content {
        height: auto;
        max-height: none;
        padding: 0;
    }
}
.security-subtitle,
.campany-subtitle {
    margin: 0;
    font-size: 24px;
    font-family: hiragino-kaku-gothic-pron;
    font-weight: 600;
}
.security-text,
.campany-text {
    letter-spacing: 2px;
}
.security-center-text,
.campany-center-text {
    display: block;
    text-align: center;
}
.security-signature,
.campany-signature {
    display: block;
    text-align: right;
    white-space: pre-line;
}
/* スクロールバー */
.custom-scrollbar {
    display: block;
    width: 8px;
    height: 100%;
    border: solid 1px #cfcfcf;
    border-radius: 100px;
    position: absolute;
    top: 0;
    right: 2px;
    box-sizing: border-box;
    z-index: 110;
}
@media (max-width: 900px) {
    .custom-scrollbar {
        display: none;
    }
}
.custom-scrollbar-thumb {
    width: 8px;
    min-height: 32px;
    background: #9e9e9e;
    border-radius: 100px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    cursor: pointer;
    z-index: 120;
}
/* ネイティブスクロールバー非表示（Chrome/Safari/Edge） */
.security-content::-webkit-scrollbar,
.campany-content::-webkit-scrollbar {
    display: none;
}
/* Firefox用 */
.security-content,
.campany-content {
    scrollbar-width: none;
}
/* securityページisms */
.security-isms-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    margin-top: 24px;
}
.security-isms-right img {
    width: 80px;
    max-width: 100%;
    height: auto;
}
/* companyページテーブル */
.campany-profile-table {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
}
.campany-profile-table th,
.campany-profile-table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .campany-profile-table th,
    .campany-profile-table td {
        display: block;
        width: 100%;
    }
}
.campany-profile-table th {
    background: #f4f4f4;
    font-weight: 600;
    width: 140px;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .campany-profile-table th {
        width: 100%;
    }
}
.campany-business-list {
    margin: 0;
    padding-left: 20px;
}
.campany-business-list li {
    margin-bottom: 4px;
}
/* companyページマップ */
.campany-map {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}
.campany-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}
/* 経営理念ボックス */
.campany-philosophy-box {
    margin: 24px 0;
    padding: 24px;
    border: 2px solid #b2b2b2;
    background: #fafbfc;
    box-sizing: border-box;
}
.campany-philosophy-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 24px 0;
    text-align: center;
    position: relative;
}
.campany-philosophy-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: #FA1B39;
    margin: 8px auto;
}
.campany-philosophy-en {
    font-size: 24px;
    font-weight: 600;
}
.campany-philosophy-text {
    margin: 0;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 1px;
}
.campany-philosophy-signature {
    display: block;
    text-align: right;
}

/* ========================
ROADMAP
======================== */
/* ROADMAPリード強調 */
.roadmap-lead-main {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.roadmap-lead-sub {
    display: block;
    line-height: 40px;
    letter-spacing: 1px;
    font-size: 20px;
    font-weight: 600;
}
.roadmap-image-wrapper {
    position: relative;
    display: inline-block;
}
.roadmap-catch-img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
}
.roadmap-hatena-link {
    position: absolute;
    top: 8%;
    right: 12%;
    width: 15%;
    height: 20%;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50%;
}
.roadmap-hatena-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ========================
BEYOND
======================== */
.beyond-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
@media (max-width: 900px) {
    .beyond-layout {
        display: none;
    }
}
.beyond-layout-tablet {
    display: none;
}
@media (max-width: 900px) {
    .beyond-layout-tablet {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }
}
.beyond-left {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 40px;
    min-width: 320px;
}
.beyond-title {
    margin: 0;
    font-size: 64px;
    font-weight: bold;
    letter-spacing: 6px;
}
@media (max-width: 900px) {
    .beyond-layout-tablet .beyond-title {
        font-size: 40px;
        margin: 24px;
    }
}
.beyond-kakusei {
    margin: 40px 0;
    max-width: 160px;
    width: 100%;
    height: auto;
}
@media (max-width: 900px) {
    .beyond-layout-tablet .beyond-kakusei {
        margin: 0;
    }
}
.beyond-tagline {
    width: 100%;
    line-height: 40px;
    letter-spacing: 1px;
    font-size: 24px;
    font-weight: 600;
}
@media (max-width: 900px) {
    .beyond-layout-tablet .beyond-tagline {
        font-size: 16px;
        text-align: center;
        margin: 24px 0;
    }
}
.beyond-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0;
    min-width: 320px;
}
.beyond-phoenix {
    display: block;
    width: 100%;
    max-width: 504px;
    height: auto;
}