/*
 Theme Name: LIVSTA INC.
 Theme URI: https://livsta.co.jp/
 Description: Theme for LIVSTA INC.
 Author: LOOLY
 Author URI: https://looly.jp
 Template: solaris_tcd088
 Version: 1.0.0
*/

/* variables */
:root {
  --color-primary: #00426D;
  --color-font: #000F1A;
  --color-grey50: #f9f9f9;
  --color-grey100: #edeeee;
  --color-grey200: #e0e1e2;
  --color-grey300: #d1d3d4;
  --color-grey400: #c2c4c6;
  --color-grey500: #b0b3b5;
  --color-grey600: #9da0a3;
  --color-grey700: #858a8d;
  --color-grey800: #676d71;
  --color-grey900: #394045;
  --color-white: #ffffff;
}

/* display */
.d_none {
  display: none;
}

.d_block {
  display: block;
}

.d_flex {
  display: flex;
}

.d_only_sp {
  display: none;
}

.d_only_pc {
  display: block;
}

@media screen and (max-width: 575.98px) {
  .d_only_sp {
    display: block;
  }

  .d_only_pc {
    display: none;
  }
}


/* color */
.bg_grey {
  background-color: var(--color-grey50);
}

/* layout */

.inner,
.inner_wide {
  max-width: 1150px;
  margin: 0 auto;
  box-sizing: border-box;
}

.inner {
  padding: 80px 0;
}

.inner_wide {
  padding: 80px 130px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.sec_2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sec_2col .design_button.quick_tag_ver {
  text-align: left;
  margin: 40px 0 0;
}

.sec_2col .design_button.quick_tag_ver a {
  text-align: center;
}

@media screen and (max-width: 575.98px) {
  .inner_wide {
    padding: 40px 16px;
  }

  .sec_2col {
    grid-template-columns: 1fr;
  }

  .recruit .sec_2col .sec_2col_left {
    order: 2;
  }

  .recruit .sec_2col .sec_2col_right {
    order: 1;
  }
}

/* font */
@font-face {
  font-family: phenomena-bold;
  src: url("./assets/fonts/Phenomena-Bold.woff2") format("woff2"),
       url("./assets/fonts/Phenomena-Bold.woff") format("woff"),
       url("./assets/fonts/Phenomena-Bold.otf") format("opentype");
}

.en {
  font-family: phenomena-bold;
  color: var(--col-brand-color, #00426D);
}

.cb_headline .headline {
  font-family: phenomena-bold;
  font-size: 48px !important;
  letter-spacing: 4.8px;
}

/* align */
.tx_c {
  text-align: center;
}

.tx_l {
  text-align: left;
}

.tx_r {
  text-align: right;
}


/* component */
.sec_title span {
  font-family: phenomena-bold;
  font-size: 48px;
  letter-spacing: 4.8px;
}

.post_content .sec_title h2 {
  font-size: 16px;
  margin-top: 16px !important;
}

.sec_title span.en+p {
  display: none;
}

.sec_txt {
  margin-top: 40px;
  line-height: 2;
}

.post_content .sec_images ul {
  list-style: none;
}

.sec_images ul {
  margin: 56px 0 0;
  display: grid;
  gap: 40px;
  justify-content: center;
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

.sec_images ul li a {
  display: flex;
  width: 100%;
  height: 160px;
  background-image: url("./assets/images/service_image_selling.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 32px;
  letter-spacing: 3.2px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all ease 0.3s;
}

.sec_images ul li a:hover {
  opacity: 0.8;
  color: var(--color-white);
}

.sec_images ul li a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.sec_images ul li.sec_images_purchasing a {
  background-image: url("./assets/images/service_image_purchasing.jpg");
}

.sec_images ul li a span {
  z-index: 3;
}

@media screen and (max-width: 575.98px) {
  .post_content .sec_images ul,
  .sec_images ul {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-left: 0;
  }

  .sec_images ul li a {
    height: 120px;
    font-size: 24px;
  }
}

.agent {
  padding: 80px 0;
}

/* footer */
#footer_banner .title {
  font-family: phenomena-bold;
  font-size: 32px !important;
  letter-spacing: 3.2px;
}

@media screen and (max-width: 575.98px) {
  #footer_banner .title {
    font-size: 24px !important;
  }
}

#copyright {
  font-family: phenomena-bold;
  font-size: 16px;
}

/* top */
.post_content h2.top_about {
  text-align: center;
  font-size: 32px;
}

@media screen and (max-width: 575.98px) {
  .post_content h2.top_about {
    font-size: 24px;
  }

  .post_content h2.top_about+p {
    margin-top: 16px;
    display: block;
  }

  #index_news_ticker {
    height: 96px;
  }
}

/* page */
#company_archive_top {
  height: 100px;
}

#archive_square_headline .headline {
  font-family: phenomena-bold;
  font-size: 32px;
  letter-spacing: 3.2px;
}

@media screen and (max-width: 575.98px) {
  #archive_square_headline .headline {
    font-size: 24px;
    letter-spacing: 2.4px;
  }
}

.page .inner {
  padding: 80px 130px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

@media screen and (max-width: 575.98px) {
  .page .inner {
    padding: 40px 16px;
  }
}

.page .sec_title span {
  color: var(--color-primary);
}

.page .sec_title h2 {
  font-size: 16px;
  margin-top: 16px !important;
}

.page .sec_title h3 {
  font-size: 32px;
  margin-top: 40px;
  line-height: 2;
}



.page .sec_txt_block {
  margin-top: 40px;
}

.page .sec_txt_block h4 {
  font-size: 24px;
  color: var(--color-primary);
}

@media screen and (max-width: 575.98px) {
  .page .sec_title h3 {
    font-size: 24px;
  }

  .page .sec_txt_block h4 {
    font-size: 20px;
  }
}

.page .sec_img img {
  width: 100%;
}

.page .mvv .sec_title {
  margin-top: 80px;
}

.page .mvv .sec_title p {
  line-height: 2;
  margin-top: 40px;
}

.page .mvv .sec_title h3 {
  font-size: 20px;
  margin-top: 40px;
  line-height: 2;
}

.page .mvv .sec_title h3+p {
  margin-top: 16px;
}

.page .sec_table {
  margin-top: 40px;
}

.page .sec_table tr {
  border-bottom: 1px solid var(--color-grey400);
}

.page .sec_table th,
.page .sec_table td {
  padding: 24px;
  text-align: left;
}

@media screen and (max-width: 575.98px) {
  .page .sec_table tr {
    display: grid;
    grid-template-columns: 27.5% 1fr;
  }

  .page .sec_table th,
  .page .sec_table td {
    padding: 16px;
  }
}

.page .service_lead p {
  line-height: 2;
  margin-top: 24px;
}

.page .strength .inner_wide {
  padding: 80px 0;
  border-left: none;
  border-right: none;
}

.page .strength .sec_cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.page .strength .sec_cards .sec_card {
  background-color: var(--color-white);
  padding: 40px;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1);
}

.page .strength .sec_cards .sec_card .sec_card_img {
  width: 100%;
  background-color: var(--color-grey100);
  padding: 56px;
  box-sizing: border-box;
}

.page .strength .sec_cards .sec_card .sec_card_img img {
  width: 100%;
}

.page .strength .sec_cards .sec_card .sec_card_txt {
  margin-top: 24px;
}

.page .strength .sec_cards .sec_card .sec_card_txt h3 {
  font-size: 18px;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.5;
}

.page .strength .sec_cards .sec_card .sec_card_txt p {
  text-align: justify;
  margin-top: 16px;
  line-height: 1.5;
}

@media screen and (max-width: 575.98px){
  .page .strength .sec_cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page .strength .inner_wide {
    padding: 40px 24px;
  }
  .page .strength .sec_cards .sec_card {
    padding: 24px;
  }
}

.page .flow .sec_flow {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page .flow .sec_flow .sec_flow_item {
  background-color: var(--color-grey50);
  padding: 40px;
}

.page .flow .sec_flow .sec_flow_item h3 {
  font-size: 18px;
  color: var(--color-primary);
  text-align: left;
  line-height: 1.5;
}

.page .flow .sec_flow .sec_flow_item p {
  text-align: justify;
  margin-top: 16px;
  line-height: 1.5;
}

@media screen and (max-width: 575.98px){
  .page .flow .sec_flow {
    gap: 24px;
  }
  .page .flow .sec_flow .sec_flow_item {
    padding: 24px;
  }
}

.page .faq .sec_faq_list {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 130px 80px;
  box-sizing: border-box;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.page .faq .sec_faq_list .faq_list {
  margin: 0;
}

@media screen and (max-width: 575.98px){
  .page .faq .sec_faq_list {
    padding: 0 16px 40px;
  }
}

/* contact */
.page .contact .sec_form {
  margin-top: 56px;
}

.page .contact .sec_form .wpcf7-form {
  padding: 40px;
}

.page .contact .sec_form .wpcf7-form p {
  margin-bottom: 32px;
}

.page .contact .sec_form .wpcf7-form input:not([type="radio"]),
.page .contact .sec_form .wpcf7-form textarea {
  border: 1px solid var(--color-grey300);
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
}

.page .contact .sec_form .wpcf7-form input:not([type="radio"]):focus,
.page .contact .sec_form .wpcf7-form textarea:focus {
  border: 1px solid var(--color-primary);
}

.page .contact .sec_form .wpcf7-form label {
  font-weight: bold;
}

.page .contact .sec_form .wpcf7-form .required {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4px 8px;
  font-size: 12px;
  margin-left: 8px;
  display: inline-block;
}

.page .contact .sec_form .wpcf7-form .wpcf7-radio {
  margin-top: 16px;
  display: flex;
  gap: 24px;
}

.page .contact .sec_form .wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
  font-weight: normal;
}

.page .contact .sec_form .wpcf7-form .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.page .contact .sec_form .wpcf7-form .contactform_privacy a {
  text-decoration: underline;
  color: var(--color-primary);
}

.page .contact .sec_form .wpcf7-form .contactform_privacy a:hover {
  text-decoration: none;
}

.page .contact .sec_form .wpcf7-form .wpcf7-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
  padding: 16px 32px;
}

.page .contact .sec_form .wpcf7-form .wpcf7-submit:hover {
  background-color: #006bb3;
}

@media screen and (max-width: 575.98px){
  .page .contact .sec_form .wpcf7-form {
    padding: 8px;
  }
  .page .contact .sec_form .wpcf7-form .wpcf7-radio {
    flex-wrap: wrap;
    gap: 16px;
  }

  .page .contact .sec_form .wpcf7 textarea {
    height: 160px;
  }
}

/* エージェント一覧グリッド */
.agent_list_grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-content: center;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
  max-width: 1200px;
  background: none;
  border: none;
}

/* 各カード */
.agent_card {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding-bottom: 0;
  border: none;
}

/* 画像 */
.agent_img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
  margin: 0 auto;
}

/* 情報部分 */
.agent_info {
  width: 100%;
  background: var(--color-white);
  padding: 24px;
  text-align: left;
  box-sizing: border-box;
}

/* 名前 */
.agent_name {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1.2;
}

/* ローマ字 */
.agent_name_en {
  font-size: 16px;
  color: var(--color-grey700);
  margin-top: 4px;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

/* 肩書 */
.agent_title {
  font-size: 16px;
  color: var(--color-font);
  margin-top: 8px;
  line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .agent_list_grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .agent_img img {
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 600px) {
  .agent_name {
    font-size: 18px;
  }
  .agent_name_en {
    font-size: 12px;
  }
  .agent_title {
    font-size: 10px;
  }
  .agent_list_grid {
    grid-template-columns: 1fr 1fr;
    max-width: 350px;
    gap: 20px;
  }

  .agent_img img {
    width: 100%;
    height: 180px;
  }

  .agent_info {
    padding: 16px 0 16px 0;
  }
}

/* モーダル全体 */
.agent_modal {
  display: none;
  /* 初期は非表示 */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
}

/* モーダルの中身 */
.agent_modal_content {
  background: var(--color-white);
  max-width: 80vw;
  width: 95vw;
  margin: 40px auto;
  position: relative;
  text-align: left;
  animation: modalIn .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 閉じるボタン */
.agent_modal_close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  z-index: 10;
}

.agent_modal_inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  padding: 80px;
  box-sizing: border-box;
}

/* モーダル画像 */
.agent_modal_img img {
  width: 320px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
  margin: 0 auto;
}

/* モーダル情報部分 */
.agent_modal_content .agent_info {
  width: 100%;
  background: #fff;
  padding: 32px 0 24px 0;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0;
}

/* 名前 */
.agent_modal_content .agent_modal_name {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.2;
}

/* ローマ字 */
.agent_modal_content .agent_modal_name_en {
  font-size: 16px;
  color: var(--color-grey700);
  letter-spacing: 0.1em;
  line-height: 1.2;
}

/* 肩書 */
.agent_modal_content .agent_modal_title {
  font-size: 16px;
  color: var(--color-font);
  margin-top: 16px;
  line-height: 1.6;
  font-weight: bold;
}

/* プロフィール文 */
.agent_modal_profile {
  font-size: 16px;
  color: var(--color-font);
  text-align: justify;
  margin: 24px auto 0 auto;
  line-height: 1.7;
  white-space: pre-line;

}

/* レスポンシブ */
@media (max-width: 600px) {
  .agent_modal {
    align-items: flex-start;
  }
  .agent_modal_inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px;
  }
  .agent_modal_content {
    max-width: 98vw;
    padding: 0 0 16px 0;
  }

  .agent_modal_content .agent_img img {
    width: 100%;
    height: 180px;
  }
  .agent_modal_img img {
    width: 160px;
  }

  .agent_modal_content .agent_info {
    padding: 20px 0 16px 0;
  }
  .agent_modal_profile {
    font-size: 13px;
  }
}

/* recruit */
.rec_features .sec_lists {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.rec_features .sec_lists .sec_list {
  background-color: var(--color-white);
  padding: 40px;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
}

.rec_features .sec_lists .sec_list .sec_list_img {
  width: 100%;
  background-color: var(--color-grey100);
  padding: 16px;
  box-sizing: border-box;
}

.rec_features .sec_lists .sec_list .sec_list_img img {
  width: 100%;
}

.rec_features .sec_lists .sec_list .sec_list_txt h3 {
  font-size: 18px;
  color: var(--color-primary);
  text-align: left;
  line-height: 1.5;
}

.rec_features .sec_lists .sec_list .sec_list_txt p {
  text-align: justify;
  margin-top: 16px;
  line-height: 1.5;
}

@media screen and (max-width: 575.98px){
  .rec_features .sec_lists .sec_list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rec_features .sec_lists .sec_list .sec_list_txt {
    text-align: center;
  }
  .rec_features .sec_lists .sec_list .sec_list_txt p {
    text-align: left;
  }
}

/* 募集要項 */
.application_list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.application_item {
  background: var(--color-white);
  border: 1px solid var(--color-grey200);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.application_item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.application_content {
  padding: 32px;
  line-height: 1.7;
}

.application_content h1,
.application_content h2,
.application_content h3,
.application_content h4,
.application_content h5,
.application_content h6 {
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: bold;
}

.application_content h1 {
  font-size: 1.8rem;
}

.application_content h2 {
  font-size: 1.6rem;
}

.application_content h3 {
  font-size: 1.4rem;
}

.application_content h4 {
  font-size: 1.2rem;
}

.application_content h5 {
  font-size: 1.1rem;
}

.application_content h6 {
  font-size: 1rem;
}

.application_content p {
  margin-bottom: 16px;
  color: var(--color-font);
}

.application_content ul,
.application_content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.application_content li {
  margin-bottom: 8px;
  color: var(--color-font);
}

.application_content strong {
  color: var(--color-primary);
  font-weight: bold;
}

.application_content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.application_content a:hover {
  text-decoration: none;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .application_content {
    padding: 24px 20px;
  }

  .application_content h1 {
    font-size: 1.6rem;
  }

  .application_content h2 {
    font-size: 1.4rem;
  }

  .application_content h3 {
    font-size: 1.2rem;
  }
}