@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.recruit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recruit-card {
    display: flex;
    align-items: stretch; /* 高さを揃える */
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s;
    padding: 15px;
    gap: 15px;
    min-height: 120px; /* 必要に応じて最小高さを設定 */
}

.recruit-card:hover {
    transform: translateY(-3px);
}

/* サムネイル */
.recruit-card .thumb {
    flex-shrink: 0;width: 320px;min-height: 180px; 
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;  /* 画像がない場合の背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #999;
}

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

/* テキスト部分 */
.recruit-card .infobox {
    flex: 1;             /* 残り幅をテキストに割り当て */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 上下にスペースを分配して高さを均一化 */
}

.recruit-card .title {
    font-size: 24px;
    margin-bottom: 5px;
}

.recruit-card p {
    margin: 3px 0;
}

.recruit-card .excerpt {
    margin: 5px 0;
}

.detail-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}

.detail-link:hover {
    background: #003752;
	color:#fff!important;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin: 60px 0 40px; /* 上下余白 */
    position: relative;
}

.page-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #00a2d3; /* アクセントカラー */
    margin: 12px auto 0;
    border-radius: 2px;
}

/* マーカー風の装飾追加 */
.infobox strong {
    /* 背景色を適用 */
    background-color: #ffc107; /* 例: 黄色 */
    /* 背景と文字の間に少しパディングを入れる */
    padding: 2px 5px;
    /* 角を少し丸くする */
    border-radius: 3px;
    /* 文字の色を濃くして読みやすく */
    color: #333;
    /* フォントの太さを調整（太くしすぎない） */
    font-weight: 600;
    /* ラベルとコロンの後の内容に少し隙間を作る */
    margin-right: 5px;
}

/* ===== レスポンシブ対応 ===== */
@media screen and (max-width: 768px) {
    .recruit-card {
        flex-direction: column; /* 画像上、テキスト下の縦並び */
        min-height: auto;       /* 高さは自動 */
    }

    .recruit-card .thumb {
        width: 100%;            /* 横幅いっぱいに広げる */
        height: 200px;          /* 高さは固定 */
        margin-bottom: 10px;    /* テキストとの間隔 */
    }
}

/* ページネーション */
.pagination {
    margin-top: 30px;
    text-align: center;
}
.pagination a, .pagination span {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
.slicknav_menu ,.slicknav_btn{background: #66ccff!important;}

/* ======================================= */
/* 1. 吹き出しとアバターのレイアウト (横並び/幅いっぱいの設定) */
/* ======================================= */

/* 吹き出しとアバターの横並びコンテナ */
.chat-container {
  display: flex; /* これが横並びの鍵 */
  align-items: flex-end; 
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

/* アバターコンテナのサイズとマージン */
.avatar-container {
  width: 150px; 
  flex-shrink: 0;
  margin-right: 15px; /* 吹き出しとの間にスペースを作る */
}

.avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 吹き出し本体の設定 */
.speech-bubble {
    /* pタグのマージンリセット */
    margin: 0;
}

.speech-bubble.left {
    position: relative;
    flex-grow: 1; /* 残りのスペースを全て占める (幅いっぱい) */
    padding: 15px;

    /* ★ 薄い水色のストライプ背景 */
    background: 
        repeating-linear-gradient(
            -45deg,          
            #f0f8ff,         /* 薄い水色 (AliceBlue) */
            #f0f8ff 10px,    
            #e6f0ff 10px,    /* さらに薄い水色 */
            #e6f0ff 20px     
        );

    border: 3px solid #6cf; /* ★ 縁取りの色 */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #333;
    
    /* アバターとの間のマージン */
    margin-left: 15px; 
    /* 吹き出しがアバターの領域を侵さないように最大幅を設定 */
    max-width: calc(100% - 65px); 
}

/* 吹き出しの中のタイトル調整 */
.speech-bubble .bubble-title {
    font-weight: bold;
    font-size: 1.2em;
    margin: 0;
}

/* ======================================= */
/* 2. 吹き出しの「しっぽ」（左向き/縁#6cf） */
/* ======================================= */

/* しっぽ（縁取り部分）- 左向き */
.speech-bubble.left::after {
    content: '';
    position: absolute;
    top: 50%; 
    left: -18px; 
    transform: translateY(-50%);

    border-width: 10px 10px 10px 0; 
    border-style: solid;
    border-color: transparent #6cf transparent transparent; 
}

/* しっぽの内側（背景色部分）- 左向き */
.speech-bubble.left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);

    border-width: 8px 8px 8px 0;
    border-style: solid;
    border-color: transparent #f0f8ff transparent transparent; /* 背景の薄水色と合わせる */
}

/* =======================================
 * 採用情報アーカイブ 検索フォームスタイル
 * ======================================= */

.recruit-search-box {
    /* フォーム全体を囲むコンテナのスタイル */
    background-color: #f7f7f7; /* 薄いグレーの背景 */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 軽い影 */
    margin-bottom: 40px;
}
.recruit-search-box div{
    border: none;
}
.recruit-search-box .search-form {
    display: flex;
    flex-direction: column; /* 要素を縦に積み重ねる */
    gap: 20px; /* 縦方向の間隔 */
}

/* フォームフィールド（ドロップダウン）のラッパー */
.recruit-search-box .search-fields-wrapper {
    display: flex;
    gap: 20px; /* フィールド間の間隔 */
    /* クリニックがないため、横幅を均等に分ける */
}

/* 各ドロップダウンフィールドのスタイル */
.recruit-search-box .search-field {
    flex: 1; /* 均等な幅を確保 */
    min-width: 120px; /* 最低幅を確保 */
}

/* セレクトボックスの基本スタイル */
.recruit-search-box select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none; /* デフォルトのドロップダウン矢印を非表示 */
    background-color: #fff;
    font-size: 16px;
    cursor: pointer;
    line-height: 1.2;
    height: 48px; /* 高さを統一 */
}

/* フォーカス時の強調 */
.recruit-search-box select:focus {
    border-color: #555;
    outline: none;
    box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.1);
}

/* ---------------------------------------
 * ボタンエリア
 * --------------------------------------- */
.recruit-search-box .search-buttons {
    display: flex;
    justify-content: center; /* ボタンを中央に配置 */
    gap: 20px; /* ボタン間の間隔 */
    margin-top: 10px;
}

/* 検索ボタン */
.recruit-search-box .search-submit-button {
    background-color: #ef6c40; 
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-basis: 150px; /* 検索ボタンの幅を固定 */
    height: 50px;
}

.recruit-search-box .search-submit-button:hover {
    background-color: #b03e1e; /* ホバーで少し濃く */
}

/* リセットボタン */
.recruit-search-box .search-reset-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* リンクの下線を消す */
    background-color: #fff; /* 白い背景 */
    color: #333; /* 濃いグレーの文字 */
    border: 1px solid #ccc;
    padding: 12px 5px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    flex-basis: 150px; /* リセットボタンの幅を固定 */
    height: 50px;
}

.recruit-search-box .search-reset-button:hover {
    background-color: #eee;
    border-color: #aaa;
}


/* ---------------------------------------
 * レスポンシブ対応 (モバイル向け)
 * --------------------------------------- */
@media (max-width: 768px) {
    .recruit-search-box {
        padding: 20px;
    }

    .recruit-search-box .search-fields-wrapper {
        flex-direction: column; /* フィールドを縦並びにする */
        gap: 15px;
    }
    
    .recruit-search-box .search-buttons {
        flex-direction: column; /* ボタンも縦並びにする */
        gap: 10px;
    }

    /* ボタンの幅をモバイルでいっぱいに広げる */
    .recruit-search-box .search-reset-button,
    .recruit-search-box .search-submit-button {
        flex-basis: auto; 
        width: 100%;
        padding: 15px;
    }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/

}

