/*
Theme Name:SOLARIS child
Theme URI:
Description:WordPressテーマ「SOLARIS」の自作子テーマです。
Template:solaris_tcd088
Author:Takashi Yamada
Author URI:http://tcd-theme.com/
Version:2.14.1
*/

/*==============ヘッダーエリアボタン=================*/
#header {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px 0px;
}
.cb_free_space.num8 .post_content {
  opacity: 1
}
.pc body.use_header_fix #header:after, .use_mobile_header_fix #header:after {
  top: 0 !important;
}
body.home #global_menu_button.animate {
  opacity: 1;
}
#global_menu > ul > li > a {
  color: #3c3c3c;
}
#global_menu_button {
  background: #2aabb8;
}
#global_menu_button span {
  background: #fff !important;
}
#header.active #global_menu_button span {
  background: #fff !important;
}
#global_menu > ul {
  text-align: right;
  margin-right: 300px;
}
.header-cta{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;             /* ヘッダー高さに合わせる */
  display: flex;
  z-index: 20;
}
body.home .header-cta{
  opacity: 0;
  -webkit-animation: opacityAnimation 1.0s ease forwards 1.2s;
  animation: opacityAnimation 1.0s ease forwards 1.2s;
}
/* ボタン */
.header-cta__btn{
  width: 120px;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition: .3s;
}

.header-cta__btn span{
  color:#fff;
  letter-spacing:.18rem;
  font-size:14px;
  font-weight:800;
}
.header-cta__btn.is-req{ background:#38607a; }
.header-cta__btn.is-entry{ background:#2aabb8; }

.header-cta__btn.is-req:hover{ background:#203e52; }
.header-cta__btn.is-entry:hover{ background:#3ac3d1; }

/* メニューがボタンに被らないように右側に余白を確保 */
#global_menu > ul{ margin-right: 260px; } /* 120*2 + 余白くらい */

/* スマホは非表示にしたい場合 */
@media (max-width: 767px){
  .header-cta{ display:none; }
  #global_menu > ul{ margin-right: 0; }
}
/*==============トップぺージインタビュー=================*/
.cb_blog_list .blog_list.swiper { 
  position: relative;
  width: 100%;
  margin: 40px auto 0;
}

.cb_blog_list .swiper-button-prev,
.cb_blog_list .swiper-button-next { top: 45%; }
.cb_blog_list {
  width: 100%;
  max-width: 1150px;
  padding: 0;
  border: none;
}
.cb_blog_list .item {
  height: auto;
  padding: 0 30px;
  border-bottom: none;
}
/* Swiper全体（コンテナ） */
.cb_blog_list .blog_list.swiper.interview_swiper{
  position: relative;
  width: 100%;
  max-width: 1150px;
  margin: 40px auto 0;
  box-sizing: border-box;
}

/* Swiperのはみ出し防止 */
.cb_blog_list .blog_list.swiper.interview_swiper{
  overflow: hidden;
}

/* item（スライド） */
.cb_blog_list .blog_list.swiper.interview_swiper .swiper-slide{
  box-sizing: border-box;
}

/* 既存テーマの item を上書き（余計な線など消す） */
.cb_blog_list .item{
  height: auto;
  padding: 0 30px;
  border-bottom: none;
}

/* インタビューSwiper：矢印・ページネーション不要 */
.cb_blog_list .interview_swiper .swiper-button-prev,
.cb_blog_list .interview_swiper .swiper-button-next,
.cb_blog_list .interview_swiper .swiper-pagination{
  display: none !important;
}
/* ===== Interview card (ogawa-style like screenshot) ===== */
.cb_blog_list .interview_card__link{
  display:block;
  text-decoration:none;
  width: 100%;
}
.cb_blog_list .interview_card__link:hover{ text-decoration:none; }

/* 画像エリア */
.cb_blog_list .interview_card__media{
  position:relative;
  overflow:visible;
}
.cb_blog_list .interview_card__photo{
  width:100%;
  height:0;
  padding-top: 115%;          /* ←人物写真っぽい縦長（好みで調整） */
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  border-radius:0;            /* 角丸不要なら0 */
}
.interview_card__photo::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.cb_blog_list .interview_card__quote_text {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: #3c3c3c;
  display:-webkit-box;
  -webkit-line-clamp: 3;      /*3行で省略*/
  -webkit-box-orient: vertical;
  overflow:hidden;
}

/* 下の情報（職種・入職年） */
.cb_blog_list .interview_card__info_group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cb_blog_list .interview_card__info{
  padding: 0;
}
.cb_blog_list .interview_card__job{
  margin: 0 0 6px;
  font-weight: 700;
  color:#2aabb8;
}
.cb_blog_list .interview_card__join{
  margin: 0;
  font-size: 13px;
  color:#444;
  opacity:.9;
}

/* Hoverで写真だけアップスケール */
.cb_blog_list .interview_card__media{
  overflow: hidden;              /* 拡大してもはみ出さない */
}

.cb_blog_list .interview_card__photo{
  transform: scale(1);
  transition: transform .45s ease;
  will-change: transform;
}
.cb_blog_list .interview_card__photo{
  filter: none;
  transition: transform .45s ease, filter .45s ease;
}

.cb_blog_list .interview_card__link:hover .interview_card__photo{
  transform: scale(1.06);
  filter: brightness(.95);
}

 /* =========================
   Footer-like CTA (simple links + big entry)
   対象HTML：.recruit_next__inner / __links / __link / __cta / __entry
========================= */
  .full-wide {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 5em;
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding-top: 80px;
  }
  .i-bg {
    background: url(http://recruit.kyujyufukusikai.jp/recruitakama/wp-content/uploads/2026/02/top_about01-1.jpg) no-repeat top / cover;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0;
    z-index: 0;
    overflow: hidden;
    height: 350px;
  }
  .i-bg:before {
    content: '';
    background: inherit;
    position: absolute;
    filter: blur(5px);
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
  }
  .i-bg:after {
    content: '';
    background: rgb(20 117 123 / 16%);
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: 1;
  }

.recruit_next__inner{
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin: 0 auto;
  width: 90%;
}

/* ---------- 上段：リンク（各リンクに上下ボーダー／1行） ---------- */
.recruit_next__links{
  display: flex;
  flex-wrap: wrap;      /* 1行固定 */
  gap: 30px;
  overflow-x: auto;       /* 画面が狭いときは横スクロールに逃がす */
  -webkit-overflow-scrolling: touch;
}

/* スクロールバーを目立たせない（不要なら削除OK） */
.recruit_next__links::-webkit-scrollbar{ height: 6px; }
.recruit_next__links::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.25); border-radius: 999px; }

.recruit_next__link{
    position: relative;
    flex: 0 0 auto;
    padding: 30px 0;
    text-decoration: none;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .65);
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    white-space: wrap;
    width: calc((100% - 90px) / 4);
}

/* ラベル */
.recruit_next__label{
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  opacity: .95;
  margin-left: 16px;
}

/* 矢印本体（2本線） */
.recruit_next__link::before,
.recruit_next__link::after{
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: rgba(255,255,255,.9);
  transform-origin: right center;
  transition: transform .2s ease, opacity .2s ease;
}

/* 上側の線 */
.recruit_next__link::before{
  transform: rotate(45deg);
}

/* 下側の線 */
.recruit_next__link::after{
  transform: rotate(-45deg);
}

.recruit_next__link:hover{ text-decoration:none; }
.recruit_next__link:hover .recruit_next__label{ opacity:1; }

/* ---------- 下段：ENTRY（フルワイド） ---------- */

.recruit_next__cta{
  margin-top: 75px;
  width: 100%;
}

/* ENTRYボタン自体を横いっぱいのブロックに */
.recruit_next__entry{
  position: relative;
  display: block;
  padding: 40px 70px 40px;
  background: #2aabb8;
  text-decoration: none;
  border: none;
  transition: filter .2s ease;
}

.recruit_next__entry:hover{
  filter: brightness(.98);
  text-decoration: none;
}

/* 中の文字を中央寄せにしたい場合は text-align:center; を追加 */
.recruit_next__entry_sub{
  display:block;
  font-size: 16px;
  letter-spacing: .18em;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  margin-bottom: 8px;
}

.recruit_next__entry_main{
  display:block;
  font-size: 30px;
  margin-bottom: 30px;
  letter-spacing: .10em;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.recruit_next__entry_desc{
  display:block;
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  line-height: 2.2;
}

/* ENTRY側も before/after 2本線で矢印 */
.recruit_next__entry::before,
.recruit_next__entry::after{
  content: "";
  position: absolute;
  right: 55px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.95);
  transform-origin: right center;
  transition: transform .2s ease, opacity .2s ease;
}

.recruit_next__entry::before{
  transform: rotate(45deg);
}

.recruit_next__entry::after{
  transform: rotate(-45deg);
}
/* ---------- SP調整 ---------- */
@media (max-width: 767px){
  .recruit_next__inner{

  }
  .recruit_next__links {
    row-gap: 0;
  }
  .recruit_next__link{
    width: calc((100% - 30px) / 2);
  }

  .recruit_next__entry{
    padding: 22px 18px 20px;
  }
  .recruit_next__cta {
    margin-top: 55px;
  }
  .column-bottom {
    border-top: 0;
  }
  .recruit_next__entry_main {
    font-size: 18px;
  }
  .recruit_next__entry_sub {
    font-size: 14px;
  }
  .recruit_next__entry::before, .recruit_next__entry::after {
    right: 30px;
    top: 50%;
    width: 10px;
  }
}
@media (max-width: 500px) {
  .recruit_next__links {
    gap: 10px;
  }
  .recruit_next__link {
    width: calc((100% - 10px) / 2);
  }
  .recruit_next__label {
    width: 70%;
  }
  .recruit_next__entry_desc {
    font-size: 14px;
    width: 90%;
  }
}
/* ==============================
   TAB：flex横並び + カードだけずらす（シンプル版）
   ============================== */

/* セクション背景：下→上で白へ */
.tab_content_top {
  height: 450px;
}
.cb_tab_content{
  position: relative;
}
.cb_tab_content::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
}
.cb_tab_content > *{
  position: relative;
  z-index: 1;
}
.tab_content_bottom {
  padding: 0;
  border-left: none;
  border-right: none;
}
.tab_content_bottom .item.active {
  overflow: visible;
  width: 100vw;
  background: #ffffff;
  margin: 0 calc(50% - 50vw);
}
.cb_tab_content.num2 .tab_content_bottom .catch {
    letter-spacing: .07em;
    font-weight: 800;
    font-size: 36px !important;
    color: #fff;
    margin: 0;
    line-height: 2.2rem;
    position: absolute;
    top: -45px;
}
.tab_content_bottom .design_button {
    margin-top: 30px;
    text-align: left;
}
.tab_content_bottom .design_button.type1 a {
    color: #0a3346 !important;
    background: #ffffff !important;
    text-align: center;
}
.tab_content_bottom .design_button.type1 a:hover {
    background: #0a3346 !important;
}
.cb_tab_content.num2 .tab_content_bottom .title {
    font-size: 16px;
    color: #fff;
  }
  .tab_content_bottom .desc {
    line-height: 1.9;
    color: #fff;
}
.cb_tab_content .tab_card hgroup { 
    display: block;
    position: relative;
    margin-top: 50px;
}
.tab_content_top h2.catch {
  font-size: 22px !important;
}
.tab_content_top .tab .item {
    color: #fff;
    background: #38607a;
    border-radius: 0;
}
.cb_tab_content.num2 .tab_content_bottom .title {
    font-size: 18px !important;
    margin-top: 10px;
    display: inline-block;
    line-height: 1.2em;
    letter-spacing: .1em;
    font-weight: 700;
}
/* 横並びレイアウト */
.cb_tab_content .tab_content_bottom .tab_media_layout{
  display: flex;
  align-items: flex-start;          /* 縦中央 */
  gap: 0;                       /* 重ねたいのでgapは0 */
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 110px;
}

/* 左：画像 */
.cb_tab_content .tab_content_bottom .tab_media{
  flex: 0 0 50%;
}

/* 画像の高さを確定（これが無いと消えがち） */
.cb_tab_content .tab_content_bottom .tab_media_image{
  width: 100%;
  aspect-ratio: 4 / 3;         /* 好みで 4/3 とかに変更OK */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 右：カード（flexで並べて、カードだけずらす） */
.cb_tab_content .tab_content_bottom .tab_card{
  flex: 0 0 60%;
  /* ↓これだけで「横に重ねる」＋「縦にもずらす」 */
  transform: translate(-80px, 60px);  /* 左へ80px、下へ60px */
  z-index: 2;
}

/* カードの見た目 */
.cb_tab_content .tab_content_bottom .tab_card_inner{
    background: #38607a;
    padding: 48px;
}

/* スマホは縦並び（重ね解除） */
@media (max-width: 767px){
  .cb_tab_content .tab_content_bottom .tab_media_layout{
    display: block;
    padding: 50px 20px 100px;
  }
  .cb_tab_content .tab_content_bottom .tab_media{
    width: 100%;
  }
  .cb_tab_content .tab_content_bottom .tab_media_image{
    aspect-ratio: 4 / 3;
  }
  .cb_tab_content .tab_content_bottom .tab_card{
    transform: translate(0, -18px); /* 少しだけ重ねたいなら -18px */
    width: 100%;
  }
  .cb_tab_content .tab_content_bottom .tab_card_inner{
    padding: 26px 20px;
  }
}

/*==============インタビューカテゴリ：カード見た目（トップと同じ）=================*/


/* 画像エリア */
.interview_archive_list .interview_card__link{
  display:block;
  text-decoration:none;
  width:100%;
}
.interview_archive_list .interview_card__link:hover{ text-decoration:none; }

.interview_archive_list .interview_card__media{
  position:relative;
  overflow:hidden; /* 拡大してもはみ出さない */
}

.interview_archive_list .interview_card__photo{
  width:100%;
  height:0;
  padding-top:115%;
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  border-radius:0;
  transform: scale(1);
  filter:none;
  transition: transform .45s ease, filter .45s ease;
  will-change: transform;
}

.interview_archive_list .interview_card__link:hover .interview_card__photo{
  transform: scale(1.06);
  filter: brightness(.95);
}

/* キーフレーズ */
.interview_archive_list .interview_card__quote_text{
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: #3c3c3c;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

/* 下の情報（職種・入職年） */
.interview_archive_list .interview_card__info_group{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.interview_archive_list .interview_card__info{
  padding: 0;
}

.interview_archive_list .interview_card__job{
  margin: 0 0 6px;
  font-weight: 700;
  color:#2aabb8;
}

.interview_archive_list .interview_card__join{
  margin: 0;
  font-size: 13px;
  color:#444;
  opacity:.9;
}

/*==============インタビューカテゴリ：Flex一覧（grid不使用）=================*/

/* 一覧ラッパー */
.interview_archive_list{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;                 /* カード間の隙間 */
  margin-top: 24px;
}

/* 各カード（article） */
.interview_archive_list .interview_item{
  margin: 0;                 /* テーマ側の余計なmargin対策 */
  flex: 0 0 calc((100% - 40px*2) / 3);  /* 3カラム */
  max-width: calc((100% - 40px*2) / 3);
}

/* 2カラム */
@media (max-width: 1099px){
  .interview_archive_list{
    width: 90%;
    margin: 0 auto;
    gap: 22px;
  }
  .interview_archive_list .interview_item{
    flex-basis: calc((100% - 22px) / 2);
    max-width: calc((100% - 22px) / 2);
  }
}

/* 1カラム */
@media (max-width: 767px){
  .interview_archive_list{
    gap: 18px;
  }
  .interview_archive_list .interview_item{
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* ==============================
   共通：single company/project/service hero
============================== */

/* レイアウト余白調整（必要な投稿タイプだけ適用） */
.single-company #main_contents.single_col #main_col,
.single-project #main_contents.single_col #main_col,
.single-service #main_contents.single_col #main_col {
  padding: 0;
}

.single-company #bread_crumb,
.single-project #bread_crumb,
.single-service #bread_crumb {
  border: none;
}

.single-company #bread_crumb ul,
.single-project #bread_crumb ul,
.single-service #bread_crumb ul {
  max-width: 980px;
}

.single_entry_hero {
  position: relative;
  margin: 0 0 8em;
}

.single_entry_hero__bg {
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 100vw;
  height: 90%;
  transform: translate(-50%, 0);
  background: #eef6f6;
  z-index: 0;
  pointer-events: none;
}

.single_entry_hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.single_entry_hero__text {
  flex: 0 1 42%;
  min-width: 0;
  margin-bottom: 40px;
}

.single_entry_hero__en {
    margin: 0 0 2px !important;
    color: #2aabb8;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: .14em;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

/* 既存 post_title2 をこのレイアウト内で整える */
.single_entry_hero #post_title2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  height: auto !important;
}

.single_entry_hero #post_title2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: #2aabb8;
    left: 0;
    bottom: -25px;
}

.single_entry_hero #post_title2 .title {
  margin: 0 !important;
  line-height: 1.35;
  height: auto !important;
  border: none !important;
  font-size: 26px
}

.single_entry_hero #post_title2 .title span {
  display: inline-block;
  color: #3c3c3c;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: .06em;
  word-break: keep-all;
}

.single_entry_hero__catch {
  margin: 16px 0 0 !important;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .06em;
  color: #3c3c3c;
}

.single_entry_hero__media {
  flex: 0 1 54%;
  min-width: 0;
}

.single_entry_hero #post_image2_wrap {
  margin: 0 !important;
  padding: 0 !important;
}

.single_entry_hero #post_image2 {
  width: 100%;
  aspect-ratio: 2 / 1;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  display: block;
  height: auto !important;
  min-height: 280px; /* 画像が消える対策 */
  margin: 0;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .single_entry_hero__inner {
    gap: 24px;
  }

  .single_entry_hero__en {
    font-size: 13px;
  }

  .single_entry_hero__catch {
    font-size: 13px;
    line-height: 1.8;
  }
}

@media screen and (max-width: 767px) {
  .single_entry_hero {
    margin-bottom: 28px;
  }

  .single_entry_hero__bg {
    height: 83%;
    left: 0;
    transform: translate(-10%, 0);
    width: 100vw;
  }

  .single_entry_hero__inner {
    display: block;
  }

  .single_entry_hero__text {
    margin-bottom: 16px;
  }

  .single_entry_hero__en {
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 6px !important;
  }

  .single_entry_hero #post_title2 .title span {
    font-size: 24px;
    line-height: 1.4;
  }

  .single_entry_hero__catch {
    margin-top: 10px !important;
    font-size: 13px;
    line-height: 1.75;
  }

  .single_entry_hero #post_image2 {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }
}