@charset "UTF-8";

/*
Theme Name: HIGHER
Author: 国分茉由子
Description: 株式会社HIGHERのコーポレートサイト
Version: 1.00
*/

:root {
  /* 色管理用の変数 */
  --black-color: #000000;
  --white-color: #fff;
  --gray-color: #aaa;
  --gray-color02: #eeeef0;
  --primary-color: #002f69;
  --accent-color: #0087ff;
  --accent-color02:#3533cd;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* ---------- base ---------- */

body {
  color: var(--black-color);
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* クリックした際の青い枠線を削除 */
*:focus {
  outline: none;
}

/* タップした際の青い四角を削除 */
button,
span {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

/* ---------- utility ---------- */

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

/* ---------- layout ---------- */

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

.l_contents {
  padding: 80px 0;
}

.l_header {
  height: 60px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position:fixed;
  /* position: absolute; */
  top: 0;
  left: 0;
  background-color:var(--white-color);
  z-index: var(--z-index-header);
}

@media screen and (min-width: 1080px) {
  .l_header {
    padding: 0 48px;
  }
}

.l_header-logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--black-color);
}

.l_header-logo_link {
  height: 100%;
  display: flex;
  align-items: center;
}

.l_header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white-color);
  z-index: var(--z-index-header);
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    position: static;
    background: transparent;
    width: auto;
    height: auto;
    opacity: 1;
    pointer-events: inherit;
  }
}

.l_header-nav_list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 1080px) {
  .l_header-nav_list {
    display: flex;
    gap: 0 48px;
    position: static;
    transform: none;
  }
}

.l_header-nav_item {
  text-align: center;
  color: var(--black-color);
  font-size: 16px;
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_item {
    font-weight: normal;
    height: 100%;
    display: flex;
    align-items: center;
  }
}

.l_header-nav_item:not(:first-child) {
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_item:not(:first-child) {
    margin-top: 0;
  }
}

.l_header-nav_link:hover {
  color: var(--primary-color); 
  font-weight: bold;
}

.l_footer {
  padding: 64px 0 24px;
  color: var(--white-color);
  text-align: center;
  background: linear-gradient(to right, #000000, #3533cd);
}

.l_footer_logo {
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
}

.l_footer_logo_link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l_footer_list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .l_footer_list {
    flex-direction: row;
    gap: 40px;
  }
}

.l_footer_item {
  font-size: 14px;
}

.l_footer_item:not(:first-child) {
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .l_footer_item:not(:first-child) {
    margin-top: 0;
  }
}

.l_footer_link {
  height: 100%;
  display: flex;
  align-items: center;
}

.l_footer-copyright {
  margin-top: 48px;
}

.l_footer-copyright_txt {
  font-size: 12px;
  color: var(--white-color);
}

/* ---------- module ---------- */

.m_opening {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: #111;
  display: flex;
}

.m_opening_txt {
  text-align: center;
  margin: auto;
}

.m_opening_heading {
  color: var(--white-color);
  font-size: 40px;
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
  .m_opening_heading {
    font-size: 56px;
  }
}

.m_opening_desc {
  color: var(--white-color);
  font-weight: bold;
  font-size: 16px;
  margin-top: 16px;
}

.m_btn {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.16);
  color: var(--white-color);
  overflow: hidden;
}

.m_btn:hover {
  opacity: 0.9;
}

.m_btn_input {
  width: 100%;
  height: 100%;
  text-align: center;
  cursor: pointer;
}

.m_btn__mail {
  background-color: rgba(170, 170, 170, 0.85);
}

.m_btn__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 8px;
  vertical-align: middle;
}


.m_btn__right-arrow {
  background: rgba(170, 170, 170, 0.85);
  position: relative;
}

.m_btn__right-arrow::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--white-color);
}

.m_section_title_main {
  position: relative;
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  margin-top: 16px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .m_section_title_main {
    font-size: 44px;
  }
}

.m_section_title_main::after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  background:var(--accent-color);
  margin-top: 8px;
}

.m_section_title_main_philosophy{
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-top: 16px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .m_section_title_main_philosophy {
    font-size: 44px;
  }
}

.m_section_title_main_white{
  position: relative;
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  margin-top: 16px;
  color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .m_section_title_main_white {
    font-size: 44px;
  }
}

.m_section_title_main_white::after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  background:var(--accent-color);
  margin-top: 8px;
}

.m_cta {
  padding: 96px 16px;
}

@media screen and (min-width: 1080px) {
  .m_cta {
    padding: 96px 0;
  }
}

.m_cta_box {
  text-align: center;
}

.m_cta_txt {
  font-size: 18px;
  font-weight: bold;
  color: var(--white-color);
  letter-spacing: 0;
}

@media screen and (min-width: 1080px) {
  .m_cta_txt {
    font-size: 32px;
  }
}

.m_cta_btn-wrapper {
  width: 264px;
  height: 68px;
  margin: 32px auto 0;
}

.m_hamburger {
  width: 32px;
  height: 24px;
  position: relative;
  z-index: var(--z-index-menu);
}

@media screen and (min-width: 1080px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  width: 100%;
  height: 2px;
  position: absolute;
  background: var(--black-color);
  left: 50%;
  transition: 0.3s;
}

.m_hamburger-bar:first-child {
  top: 0;
  transform: translate(-50%, 0);
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}

.m_hamburger-bar:last-child {
  top: 100%;
  transform: translate(-50%, -100%);
}

.m_kv {
  height: 320px;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .m_kv-inner {
    position: relative;
    height: 100%;
  }
}

.m_kv-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

@media screen and (min-width: 1080px) {
  .m_kv-box {
    left: 16px;
    transform: translate(0, -50%);
    text-align: left;
  }
}

.m_kv-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--white-color);
  text-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16);
}

@media screen and (min-width: 1080px) {
  .m_kv-title {
    font-size: 32px;
  }
}

.m_kv-desc {
  font-weight: bold;
  color: var(--white-color);
  margin-top: 16px;
}

/* ---------- .top_kv ---------- */

.top_kv {
  height: 100vh;
  position: relative;
}

.top_kv-inner {
  position: relative;
  height: 100%;
}

.top_kv_box {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_kv_box {
    text-align: left;
    left: 0;
    transform: translate(0, -50%);
  }
}

.top_kv_copy {
  font-size: 24px;
  font-weight: bold;
  color: var(--white-color);
  text-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16);
}

@media screen and (min-width: 1080px) {
  .top_kv_copy {
    font-size: 42px;
  }
}

@media screen and (min-width: 1080px) {
  .top_kv_copy {
    font-size: 48px;
  }
}

.top_kv_sub-copy {
  margin-top: 16px;
  font-weight: bold;
  color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .top_kv_sub-copy {
    font-size: 18px;
    margin-top: 24px;
  }
}

.top_kv_btn-wrapper {
  width: 300px;
  height: 80px;
  margin: 40px auto 0;
}

@media screen and (min-width: 1080px) {
  .top_kv_btn-wrapper {
    margin: 64px 0 0;
  }
}

.top_kv-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-index-back);
}

.top_kv-slideshow_slide_img {
  object-fit: cover;
  height: 100%;
}

/* ---------- .top_philosophy ---------- */

.top_philosophy_list-wrapper {
  position: relative;
  max-width: calc(var(--content-width-lg) + 32px);
}

@media screen and (min-width: 1080px) {
  .top_philosophy_list-wrapper {
    margin-left: auto;
    margin-right: auto;
    height: auto;
  }
}

.top_philosophy_list {
  margin-top: 48px;
}

@media screen and (min-width: 1080px) {
  .top_philosophy_list {
    flex-wrap: wrap;
    max-width: var(--content-width-lg);
    margin: 48px auto 0;
    display: flex;
    justify-content: center;
    gap: 24px;
  }
}

.top_philosophy_item {
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  background: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .top_philosophy_item {
    width: 532px;
  }
}

.top_philosophy_item + .top_philosophy_item {
    margin-top: 24px;
}

@media screen and (min-width: 1080px) {
  .top_philosophy_item + .top_philosophy_item {
    margin-top: 0;
  }
}

.top_philosophy-inner {
  margin: 0 auto;
  max-width: var(--content-width-sm);
}

.top_philosophy_title {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: bold;
  text-align: center;
  position: relative;
  line-height: 1;
}

.top_philosophy_title_value {
  margin-top: 44px;
}

.top_philosophy_copy{
  font-weight: bold;
  margin-top: 44px;
  text-align: center;
}

.top_philosophy_desc {
  align-items: center;
  margin-top: 44px;
  padding-left: 20px;
}

.top_philosophy_img-wrapper{
  margin-top: 44px;
}

/* ---------- .top_company ---------- */
.top_company-wrapper{
  background-color:var(--gray-color02);
  padding: 44px 16px;
}

.top_company_title{
  font-size: 24px;
  font-weight: bold;
  margin-top: 56px;
}

.top_company_contents{
  margin-top: 16px;
}

.top_company_img-wrapper{
  display: none;
}

@media screen and (min-width: 1080px) {
  .top_company_list {
    display: flex;
    align-items: stretch;    /* 左右を同じ高さに */
    min-height: 100vh;       /* セクション全体を画面いっぱいの高さに */
    background-color: var(--gray-color02);
    margin: 0;
  }

  .top_company-wrapper {
    flex: 1;                 /* 左50% */
    padding: 80px 175px;
    box-sizing: border-box;
    background-color: var(--gray-color02);
  }

  .top_company_img-wrapper {
    flex: 1;                 /* 右50% */
    display: block;
    min-height: 100%;        /* 親と同じ高さ */
    overflow: hidden;
  }

  .top_company_img-wrapper img {
    width: 100%;
    height: 100%;            /* ラッパーいっぱいに */
    object-fit: cover;
  }
}


/* ---------- .top_message ----------  */

.top_message_copy{
  font-size: 24px;
  font-weight: bold;
  color: #004aad;
  margin: 24px 0;
}

.top_message_list{
  display: flex;
  flex-direction: column;
  gap: 24px;               
  align-items: center;
}

/* 画像とテキストを100%幅に */
.top_message_img-wrapper,
.top_message-wrapper {
  width: 100%;
}

/* 画像下のスペース */
.top_message_img-wrapper {
  margin-bottom: 16px;
}

/* テキストは左寄せ */
.top_message_contents {
  text-align: left;
}

/* タブレット以上で横並びに戻す */
@media screen and (min-width: 1080px) {
  .top_message_list {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
  }
  .top_message_img-wrapper {
    width: 33%;
    margin-bottom: 0;
  }
  .top_message-wrapper {
    width: 65%;
  }
}

.top_message_img-wrapper img {
  width: 100%;
}

.top_message_name {
  font-weight: bold;
  text-align: right;
  margin-top: 16px;
}


/* ---------- .top_service ----------  */

.top_service {
  background: linear-gradient(to right, #000000, #3533cd);
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 44px;
}

.service-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  background-color: var(--white-color);
  color: var(--black-color);
  padding: 30px;
  border-radius: 5px;
}

.service-icon {
  margin-bottom: 20px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.service-item h4 {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

.top_service_btn-wrapper {
  margin: 60px auto 0;
  padding-right: 16px;
  padding-left: 16px;
  max-width: calc(343px + 32px);
  height: 56px;
}

@media screen and (min-width: 1080px) {
  .top_service_btn-wrapper {
    margin-top: 80px;
  }
}

/* ===== PC表示：1080px以上で横並びに変更 ===== */
@media (min-width: 1080px) {
  .service-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-row-3 {
    justify-content: space-between;
  }

  .service-row-2 {
    justify-content: center;
  }

  .service-item {
    flex: 0 0 30%;
    max-width: 30%;
  }

  .service-row-2 .service-item {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* 数字で見るHIGHER */
.numbers-section {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 30px 20px;
    margin: 50px 0;
}
.numbers-title {
  color: var(--gray-color);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}
.numbers-item {
    text-align: center;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.numbers-item:last-child {
    margin-bottom: 0;
}
.numbers-item-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
.numbers-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3533cd, #000000);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.numbers-item-label {
    color: #0b3d82;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
}
.numbers-item-body {
    margin-bottom: 15px;
}
.numbers-item-body .large-text {
    font-size: 40px;
    font-weight: bold;
    color: #00aaff;
    margin-right: 5px;
}
.numbers-item-body .unit {
    font-size: 18px;
    color: #00aaff;
    font-weight: bold;
}
.numbers-item-footer {
    font-size: 14px;
    color: #555;
}

@media screen and (min-width: 1080px) {
    .numbers-section {
        padding: 40px;
    }
    .numbers-grid {
        display: flex;
        gap: 30px;
        align-items: stretch;
    }
    .numbers-item {
        flex: 1;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }
    .numbers-item-footer {
        margin-top: auto;
    }
    .numbers-item-body .large-text {
        font-size: 50px;
    }
}

/* ---------- FAQ ----------  */
/* .top_faq{
  background-color: var(--gray-color02);
} */

.faq-list {
  max-width: 800px;
  margin: 44px auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  padding: 20px 0;
  cursor: pointer;
  position: relative;
  font-size: 16px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 10px;
  font-size: 24px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-left: 20px;
}

.faq-answer p {
  padding: 0 0 20px;
}

/* ---------- Alliance ----------  */

.top_alliance{
  background-color: var(--gray-color02);
}

.alliance-header {
  margin-top: 44px;
}

.alliance-header_copy {
  margin-top: 16px;
}

.alliance-grid {
  margin-top: 44px;
}

.alliance-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 25px;
  overflow: hidden;
}

.alliance-card-header {
    background-color: #3533cd;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alliance-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A59D6;
    font-size: 24px;
}

.alliance-card-header h5 {
    font-size: 18px;
    font-weight: bold;
}

.alliance-card-body {
    padding: 25px;
}

.alliance-card-body h6 {
    font-size: 16px;
    color: #3A59D6;
    font-weight: bold;
    margin-bottom: 15px;
}

.alliance-card-body p {
    margin-bottom: 20px;
}

.alliance-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alliance-tags span {
    background-color: #E9EDFB;
    color: #3A59D6;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

/* ===== PC表示：1080px以上で横並びに変更 ===== */
@media (min-width: 1080px){
  .alliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .alliance-card {
    margin-bottom: 0;
  }
}

/* ---------- Recruit ----------  */

.recruit-box {
    background-color: #eaf2f5;
    border-radius: 16px;
    padding: 40px 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.recruit_text {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-top: 44px;
}


/* リクルートページ */
.recruit_kv {
  height: 100vh;
  position: relative;
}

/* Job Listings */
.job-grid {
  margin-top: 44px;
}

.job-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 20px;
    text-align: center;
}
.job-card h5 {
    color:var(--accent-color02);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Ideal Candidate */
.top_ideal{
  background-color:var(--gray-color02);
}

.ideal_check_list{
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.check-list {
    list-style: none;
    padding: 0;
    text-align: left;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}
.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* Work Style */
.work-style-box {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.work-style {
    background-color: #f8f9fa;
}
.work-style-box {
    background-color: #eaf2f5;
    border-radius: 12px;
    padding: 30px;
}
.check-list-blue {
    list-style: none;
    padding: 0;
    text-align: left;
}
.check-list-blue li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}
.check-list-blue li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #3A59D6;
    font-weight: bold;
}

@media screen and (min-width: 1080px){
  .job-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .job-card {
        margin-bottom: 0;
    }

    .check-list {
        max-width: 800px;
        margin: 0 auto;
    }
    .benefits-table {
        max-width: 900px;
        margin: 0 auto;
    }

    .table-cell:first-child {
        background-color: #fff;
    }
    .table-header .table-cell:first-child {
        background-color: #3A59D6;
    }
}

/* Benefits Section */
.top_Benefits{
  background-color: var(--gray-color02);
}

.section-subtitle {
    text-align: center;
    margin-top: 44px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #555;
}

.benefits-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.table-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.table-row:not(.table-header) .table-cell {
    background-color: var(--white-color);
}

.table-row:last-child {
    border-bottom: none;
}
.table-header {
    background-color: #3A59D6;
    color: #fff;
    font-weight: bold;
}
.table-cell {
    padding: 15px;
}
.table-cell:first-child {
    width: 40%;
    border-right: 1px solid #ddd;
    background-color: #f8f9fa;
    font-weight: bold;
}
.table-header .table-cell:first-child {
    background-color: #3A59D6;
}
.table-cell:last-child {
    width: 60%;
}


/* Recruit Form Section */
.contact-form {
    max-width: 700px;
    margin: 44px auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.form-submit {
    text-align: center;
    margin-top: 30px;
}
.btn-submit {
    background-color: #0b3d82;
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-submit:hover {
    background-color: #082b5c;
} 

/* ---------- 事例紹介ページ ---------- */
.case_kv {
  height: 100vh;
  position: relative;
}

.top_case {
    background-color: var(--gray-color02);
}

.case-card-visual {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  overflow: hidden;
  display: block; /* 縦並び */
}

.case-card-img {
  display: none; /* モバイルでは非表示 */
}

.case-card-content {
  padding: 30px;
}

/* PC表示：1080px以上で画像表示＆横並び＆縦いっぱい */
@media screen and (min-width: 1080px) {
  .case-card-visual {
    display: flex;
    flex-direction: row;
    height: 100%; /* 必須 */
  }

  .case-card-img {
    display: block;
    width: 50%;
    height: auto;
  }

  .case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .case-card-content {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .case-card-visual:nth-child(even) {
    flex-direction: row-reverse;
  }

}

.case-category {
    color: var(--accent-color02);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}
.case-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}
.case-body {
    margin-bottom: 25px;
}
.case-results {
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result-item:not(:last-child){
    margin-bottom: 15px;
}
.result-label {
    font-weight: bold;
    color: #333;
}
.result-value {
    font-size: 20px;
    font-weight: bold;
    color: #0b3d82;
}

/* ---------- contact ---------- */
.contact_form_heading {
  font-weight: bold;
  position: relative;
}

.contact_form_heading:not(:first-child) {
  margin-top: 40px;
}

.contact_form_example {
  color: var(--gray-color);
  font-size: 12px;
  font-weight: normal;
  margin-left: 16px;
}

.contact_form_detail {
  margin-top: 16px;
}

.contact_form_input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--gray-color);
  border-radius: 4px;
  padding: 0 8px;
}

.contact_form_required {
  font-size: 12px;
  font-weight: bold;
  padding: 0 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--accent-color);
  color: var(--white-color);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
} 

.contact_form_label {
  font-size: 14px;
  font-weight: bold;
  padding-left: 16px;
}

.contact_form_textarea {
  width: 100%;
  height: 250px;
  border: 1px solid var(--gray-color);
  border-radius: 4px;
  padding: 8px 16px;
  resize: none;
}

.contact_form_btn-wrapper {
  max-width: 343px;
  height: 64px;
  margin: 80px auto 0;
} 

.thanks-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

.thanks-container h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.thanks-container p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-back-home {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-back-home:hover {
  background-color: #005fa3;
}

/* 404 */
.error-404 {
  text-align: center;
  padding: 100px 20px;
  background-color: #f8f8f8;
}

.error-404 .error-title {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.error-404 .error-message {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 10px;
}

.error-404 .error-sub-message {
  font-size: 1rem;
  color: #777;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ---------- js ---------- */
.js_body.is-active {
  overflow: hidden;
}

.js_opening.is-active {
  visibility: hidden;
}

.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

@media screen and (min-width: 1080px) {
  .js_navigation {
    pointer-events: auto;
    opacity: 1;
  }
}

.js_navigation.is-active {
  opacity: 1;
  pointer-events: inherit;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:last-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(-45deg);
}

.js_success-swiper {
  position: relative;
}

.js_faq_mark.is-open::before {
  opacity: 0;
}

.js_faq-a {
  height: 0;
  opacity: 0;
}

.js_h-slide_trigger {
  overflow: hidden;
} 

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}