@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================
   google font
   ========================================== */
body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.c-gnav{
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.c-pageTitle{
        font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.eng {
  font-family: "Montserrat", sans-serif!important;
  font-weight: 700!important;
  font-style: normal!important;
  font-size:2rem;
  color:#fff;
}
.sub{
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700!important;
  font-style: normal;
  font-size:1em!important;
}
.post_content p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.post_content h4{
        font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.post_content h3 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* 固定ページ */
.page .post_content h2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* 投稿ページ */
.single .post_content h2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}
/*ブログ一覧ページ */
.p-termNavigation{
	margin:1em;!important
}


/*===============
 全ページ共通
===============*/
/*SWELLのフルワイドブロック（.swell-block-fullWide）が連続したときに自動発生マージン削除*/
.switching{
	top:-3px;
}
/*SWELLのステップブロックの縦線*/
.swell-block-step__item:before{	
}

/* 下層ページタイトル 画像*/
.c-pageTitle-img{
	position:relative;
}
.c-pageTitle-img img{
	position:absolute;
	bottom:0;
	right:0;
}
/* 角丸*/
.corner{
	border-radius:24px;
	padding:2rem;
}
.border{
	box-shadow: 4px 4px #333333;
    border: solid 2px #333333;
    border-radius: 16px;
	padding:2rem;
}

/*=====
 footer
=====*/
/*footer直前contact*/
.footer-contact{
	padding:3rem 5rem!important;
}
.footer-contact img{
	width:40vw;
}

/*footer直前contact 文字ループ*/
/* 基準になる枠 */
.footer-city .swell-block-fullWide__inner {
  position: relative;
}

/* 画像：左端・幅60%・手前に出す */
.footer-city .wp-block-image {
  position: relative;
  z-index: 1;
  width: 60%;
  margin: 0;
}
.footer-city .wp-block-image img {
  display: block;
  width: 60%;
  height: auto;
}

/* スマホ：Footerの街並み画像 */
@media screen and (max-width: 599px) {
  .footer-city .wp-block-image img {
    width: 80%;
    height: auto;
  }
}

/* 文字の帯：画像の後ろ・上下中央・全幅 */
.footer-city__marquee {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  transform: translateY(-50%);
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.footer-city__track {
  display: flex;
  width: max-content;
  animation: footer-city-marquee 40s linear infinite;
}
.footer-city__track span {
  flex: none;
  padding: 0 2rem;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #e6e6e6;
}

@keyframes footer-city-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/*footer中央に配置*/
.w-footer{
	display:block!important;
}
/*footer下線*/
.w-footer .footer-title{
border-bottom: solid 1px #2b2b2b;
}



/*=====
アニメーション
=====*/
/* ===== 共通：出現前は非表示 ===== */
.anim-pop,
.anim-up,
.anim-cloud-l,
.anim-cloud-r {
  opacity: 0;
}

/* ===== 1. ポンと出現（pic1 / pic2 時間差） ===== */
.anim-pop.is-active {
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.pic2.anim-pop.is-active {
  animation-delay: 0.2s; /* pic2を遅らせる */
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}

/* ===== 2. ふわふわループ（.fly） ===== */
/* アニメーションはページの.flyのところで指定してる！ */
@keyframes fuwafuwa-loop {
  0% {
    /* スタート位置：元の位置（中央配置） */
    transform: translate(-50%, -50%);
  }
  100% {
    /* 終了位置：横は中央のまま、上に60px浮き上がる */
    transform: translate(-50%, calc(-50% - 40px));
  }
}

/* ===== 3. 雲：左右からゆっくりイン ===== */
.anim-cloud-l.is-active {
  animation: cloudInL 2.0s ease-out forwards;
}
.anim-cloud-r.is-active {
  animation: cloudInR 2.0s ease-out forwards;
}
@keyframes cloudInL {
  0%   { opacity: 0; transform: translateX(-30vw); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes cloudInR {
  0%   { opacity: 0; transform: translateX(30vw); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ===== 3'. 雲：イン後にふわふわ（.cloud1 .cloud2 の img だけ） ===== */
.cloud1 img,
.cloud2 img {
  animation: cloudPuff 3s ease-in-out infinite;
  animation-delay: 2.5s;
}
.cloud2 img { animation-delay: 3.5s; }
@keyframes cloudPuff {
  0%, 100% { scale: 0.8; }
  50%      { scale: 1; }
}

/* ===== 4. 元気にバウンドしながら上がる ===== */
.anim-bound img,
img.anim-bound {
  opacity: 0;
}
.anim-bound img.is-active,
img.anim-bound.is-active {
  animation: popUp 0.6s ease-out forwards;
}
@keyframes popUp {
  0%   { opacity: 0; translate: 0 70px;  scale: 0.8; }
  55%  { opacity: 1; translate: 0 -18px; scale: 1.06; }
  75%  { opacity: 1; translate: 0 6px;   scale: 0.98; }
  100% { opacity: 1; translate: 0 0;     scale: 1; }
}

/* 横スクロール防止（雲が画面外から入るため） */
body {
  overflow-x: hidden;
}


/*=====
 aboutページ
=====*/
/* Pharmilyとは */
.about-pharmily .pic2{
	position: absolute;
    bottom: -2rem;
    right: -4rem;
    width: 28%;
	border:3px solid #fff;
}
.about-pharmily .pic1{
	border:3px solid #fff;
}
/*仕切り*/
.about-choice{
	position:relative;
}
/* 1. 位置やサイズ、アニメーションの設定 */
.about-choice .fly {
  position: absolute;
  top: 88%;
  left: 50%;
  max-width: 25rem;
  height: auto;
  /* アニメーションをここで指定 */
  animation: fuwafuwa-loop 1s ease-in-out infinite alternate;
}

/* キャリアアドバイザー紹介 */
.js-modal-img {
  transition: transform 0.3s ease;
}
.js-modal-img:hover {
  transform: translateY(-8px);
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.is-active {
  display: flex;
}
.modal-box {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9); 
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
}
body.modal-open {
  overflow: hidden;
}

/* 選ばれる理由 */
.reason{
	position:relative;
}
.cloud1 {
	position:absolute;
	max-width: 40%;/*幅に合わせて縮小*/
	height: auto;/*幅に合わせて縮小*/
	left:-10rem;
	top:-3em;
	z-index:-2;
}
.cloud2{
	position:absolute;
	max-width: 40%;/*幅に合わせて縮小*/
	height: auto;/*幅に合わせて縮小*/
	right:-10rem;
	bottom:-8em;
	z-index:-2;
	transform: scaleX(-1);
}
.reason .swell-block-columns{
	background-color:#ffffff;
}
/*FLOW- SWELLのステップブロックのタイトル削除*/
.about-flow .swell-block-step__title{
	display:none;
}
.about-flow .flow-title{
	position:relative;
}
.about-flow .flow-title img{
	position:absolute;
	right:0;
	bottom:-80px;
}
/*FLOW stepごとの余白*/
	.about-flow .swell-block-step__body .wp-block-group{
		padding:3em;
	}
	.about-flow .swell-block-step__body .clm2 .wp-block-group{
	padding:0;/*ボタンには余白反応させない*/
	}
/*ステップブロック 左線青色に*/
.swell-block-step__item:before{
	border-left: 2px solid #3677BC; 
}
/*FLOW step4コメント画像*/
.comment img{
position:absolute;	
}
.step4 .title{
	margin-top:4em;
}
/*FLOW step4 特集タイトル中央寄せ*/
	.step4 .p-postList__title{
		text-align:center;
	}
/*FLOW- 一番下の画像*/
.about-flow .city img {
    position: absolute;
    bottom: 0;
    right: 4rem;
	z-index: 2;
	width:26rem;
}



/*=====
 検索
 =====*/
.vkfs button{
	padding:0.6rem 5rem!important;
display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important; 
}
.vkfs__input-form{
	padding:1rem 0.75rem!important;
}
.add-conditions{
	background-color: #ffffffb3;
    padding: 1rem;
}

/*====== 
求人詳細 
======*/
:root {
    --pharmily-main: #FFCC6E;
    --pharmily-main-dark: #ffb22d;
    --pharmily-main-light: #FFF4E0;
    --pharmily-gray-bg: #F3F3F3;
    --pharmily-gray-text: #555;
}

.job-detail-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.job-detail-number {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.job-detail-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 6px solid var(--pharmily-main);
    padding-left: 12px;
}

/* タイトル下のタグ（色は統一、1種類のスタイルに） */
.job-detail-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
}
/*タグ*/
.job-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: bold;
    background: #3677BC;
    color: #ffffff;
    border: none;
}

/* 案件直前のお知らせ部分 */
.job-detail-notice {
    background: var(--pharmily-gray-bg);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--pharmily-gray-text);
}

/* アクションボタン共通 */
.job-detail-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.job-detail-actions--bottom {
    margin-top: 32px;
    justify-content: center;
}

/* お気に入りボタン・応募ボタン：高さと余白を統一 */
.job-favorite-btn,
.job-apply-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 40px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.job-favorite-btn {
    gap: 6px;
    border: 2px solid var(--pharmily-main-dark);
    color: var(--pharmily-main-dark);
    background: #fff;
}

.job-favorite-btn:hover {
    background: var(--pharmily-main-dark);
    color: #fff;
}

.job-favorite-btn button {
    box-sizing: border-box;
    border: none;
    background: transparent;
    color: inherit;
    height: 100%;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
}

.job-favorite-btn--guest {
    opacity: 0.85;
}

.job-apply-btn {
    border: 2px solid var(--pharmily-main);
    background: var(--pharmily-main);
    color: #333;
}

.job-apply-btn:hover {
    opacity: 0.85;
}

/* テーブル */
.job-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.job-detail-table th,
.job-detail-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}

.job-detail-table th {
    width: 180px;
    background: var(--pharmily-main-light);
    font-weight: bold;
    color: var(--pharmily-gray-text);
}

.job-detail-table td {
    color: #333;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .job-detail-table th,
    .job-detail-table td {
        display: block;
        width: 100%;
    }
    .job-detail-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
    .job-detail-table td {
        padding-top: 0;
        padding-bottom: 20px;
    }
}

/*=====
 求人一覧
=====*/
.job-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
	padding-left:0!important;/*.post_content ol, .post_content ul {
    padding-left: var(--swl-list-padding--left);消すため*/
}
.job-card__link {
	display: block;
	padding: 2rem;
	border: 2px solid #333;
	border-radius: 16px;
	background: #fff;
	color: #333;
	text-decoration: none;
}
.job-detail-tags {
	padding-left:0!important;/*.post_content ol, .post_content ul {
    padding-left: var(--swl-list-padding--left);消すため*/
}
.job-card__title {
	font-size: 1.1em;
	font-weight: bold!important;
	margin: 0 0 .5em;
	line-height: 1.6;
}
.job-card__appeal {
	margin: 0 0 1.5em;
	font-size: .9em;
	color: #555;
	line-height: 1.7;
}
.job-card__info {
	margin: 0 0 2em;
	font-size: .9em;
}
.job-card__info dt {
	float: left;
	clear: left;
	width: 6em;
	font-weight: bold;
}
.job-card__info dd {
	margin: 0 0 .3em 6.5em;
}
.job-card__more {
	text-align: center;
	padding: .6em;
	border-radius: 999px;
	background: #FFCC6E;
	font-weight: bold;
	display: block; /*ボタンの中心寄せ*/
    max-width: 300px; /*ボタンの中心寄せ*/
    margin-left: auto; /*ボタンの中心寄せ*/
    margin-right: auto; /*ボタンの中心寄せ*/
}

/* 求人カード：勤務地などの情報欄（PCは横並び・ラベル幅は自動、スマホは縦1列） */
.job-card-list .job-card__info{
  display:grid;
  grid-template-columns:max-content 1fr;
  gap:.4em 1em;
  margin:0 0 2em;
}
.job-card-list .job-card__info dt{
  float:none;
  clear:none;
  width:auto;
  margin:0;
  padding:0;
  white-space:nowrap;
}
.job-card-list .job-card__info dd{
  margin:0;
  padding:0;
}

/*スマホで求人項目table縦並びにする*/
@media (max-width:600px){
  .job-card-list .job-card__info{
    grid-template-columns:1fr;
    gap:0;
  }
  .job-card-list .job-card__info dt{
    margin-top:.6em;
  }
  .job-card-list .job-card__info dd{
    margin-bottom:.2em;
  }
}


/* =======
 CF7
 ======*/
/*中央寄せる*/
.wpcf7 .wpcf7-form p {
    padding-bottom: 1em;
    display: flex;
    flex-direction: column;  /* 縦並びにして幅を広げやすくする */
    align-items: center;     /* 中身を中央に寄せる */
}


.wpcf7 button, .wpcf7 input, .wpcf7 select, .wpcf7 textarea{
	background-color:#fff;
	min-height: 44px ;
    padding: 10px 14px ;
    border: 1px solid #ccc ;
    border-radius: 4px ;
}


.wpcf7-submit{
	border-radius:100px!important;
	padding: 0.5em 3em!important;
	width: 10em !important; /*幅調整*/
}
/* 1. スピナーを非表示にする */
.wpcf7-spinner {
    display: none !important;
}

/* 2. 送信中（通信中）はボタンを半透明＆クリック禁止にする */
.wpcf7.submitting .wpcf7-submit {
    opacity: 0.6;
    pointer-events: none; /* 連打（再クリック）を完全に防ぐ */
    cursor: not-allowed;  /* カーソルを禁止マークにする */
}

/*幅*/
.wpcf7-form label, .wpcf7-form input:not(.wpcf7-submit), .wpcf7-form select, .wpcf7-form textarea{
	width:100%!important;
}

/*=====
 この求人に応募する＋CF7
=====*/
.apply-section{
	border-top: solid 2px #333333;
}
.apply-section h2{
	text-align:center!important;
}
.apply-section__text {
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.8;
}
/*余白*/
@media (min-width: 960px) {
    .apply-section {
padding-bottom: 0em !important;
    }
}
@media not all and (min-width: 960px) {
    .apply-section {
padding-bottom: 0em !important;
    }
}

/* 画面幅いっぱいの画像 */
.apply-section__img--full {
	width: 100%;
	margin-top: 1em;
}

.apply-section__img--full img {
	width: 100%;
	height: auto;
	display: block;
}

/* 10remくらいの画像 */
.apply-section__img--small {
	max-width: 10rem;
	margin: 1em auto 0;
}

.apply-section__img--small img {
	width: 100%;
	height: auto;
	display: block;
}

.apply-section__heading {
	font-weight: bold!important;
	text-align: center;
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
}

.apply-job-box {
	background-color: #FFFBE2;
	border: solid 2px #333333;
	border-radius: 16px;
	padding: 2rem;
	width: 100%;
	margin: 0 auto 2rem;
}

.apply-job-box p {
	margin: 0;
	line-height: 1.8;
}

.apply-job-box p + p {
	margin-top: 0.5em;
}


/* ==========================================
   スマホ
   ========================================== */
@media screen and (max-width: 599px) {
/* 下層ページタイトル 画像*/
.c-pageTitle-img img{
	max-width:8em;
}

/*footer*/
/*footer直前contact*/
.footer-contact{
	padding:1.5rem 2rem!important;
}
.footer-contact img{
	width:60vw;
}
/*footer直前contact ループ文字調整*/
	.footer-city__marquee .eng span{
		font-size:3rem;
	}
	
/* about */
/* Pharmilyとは */
 .about-pharmily .pic1{
    width: 70%;
	margin:0 auto;
}
.about-pharmily .pic2{
    width: 40%;
	right:2rem;
	bottom:-2rem;
}
/*選ばれる理由*/
.reason .clm2 .swell-block-columns__inner{
	flex-direction: column-reverse;		
	}
/* 選ばれる理由 */
.cloud1 {
	top:-5rem;
	left:-5rem;
}
.cloud2{
	right:-2rem;
}
/*FLOW stepごとの余白*/
	.about-flow .swell-block-step__body .wp-block-group{
		padding:3em 2em;
	}
	.about-flow .swell-block-step__body .clm2 .wp-block-group{
	padding:0;/*ボタンには余白反応させない*/
	}
/*FLOW image*/
	.about-flow .flow-title img {
		width:6rem!important;
		bottom: -60px;
	}
/*FLOW step4コメント画像*/
.comment img{
 width:80px!important;		
	}
	/*step4特集は１列に*/
	.step4 .-type-card .p-postList__item {
		    width: 100%;
	}

/*FLOW- 一番下の画像*/
.about-flow .city img{
width:20rem;
right:0;
}
	


}

/* ==========================================
   PC
   ========================================== */
@media screen and (min-width: 960px) {
  /* ここにPC用のCSSを書く */
  /*STEP-footer直前- ボタン配置*/
  
  /* ボタンの外枠を中央揃え（flexで中央に寄せる） */
  .clm1 .swell-block-button {
    display: flex;
    justify-content: center;
  }
  
  /* 中身ぴったり幅にしたグループ自体を中央に寄せる */
  .clm2 .wp-block-group {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* グループ内のテキストも中央揃えにする場合 */
  }
}

/* ==========================================
   タブレット
   ========================================== */
@media screen and (min-width: 600px) and (max-width: 959px) {
  /* ここにタブレット用のCSSを書く */
/* about */
/* Pharmilyとは */
 .about-pharmily .pic2{
	right:0;
}
/*FLOW- 一番下の画像*/
.about-flow .city img{
width:20rem;		
}

}


