@charset "utf-8";
/* Generic Child-higashiue : front-page ONLY
    フロントページのみに適用されるスタイル
　　　-body
　　　-コンテナ div id="container" #container
　　　-共通要素 （ .btn.more-link ） 
    　-メインビジュアルスライダーdiv id="main-vis" #main-vis （bxslider）
    　-各コンテンツ section
　　　-メディアクエリ（ブレイクポイントごと）
*/
/*フォント指定
    font-family: "Noto Sans JP", sans-serif;
    font-family: "Noto Serif JP", serif;
    font-family: "Poppins", sans-serif;
*/
/*カラーコード
    deep-green: #00683f; rgba(0,104,63,1.00);
    mid-green: #5eac3c; rgba(94,172,60,1.00);
    fade-green: #dfeed8; rgba(223,238,216,1.00);
    text-gray: #4d4d4d;
    light-brown: #ba9e74; rgba(186,158,116,1.00);
    caution-red: #c82665; rgba(200,38,101,1.00);
    beige: #f8f4e6; rgba(248,244,230,1.00);
*/
/*----------------------------------------------------------------*/


html,
body {
    overflow-x: hidden;
}
/*TOP確認用 ハイパーリンク無効化*/
/*
a {
    pointer-events: none;
}
*/

/* コンテナ div id="container" #container
---------------------------------------------------- */
#container {
    background-color: transparent;
    margin: 0 auto;
    width: 100%;
}

/*メインコンテンツ - メインカラム*/
main.content {
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* 共通要素
---------------------------------------------------- */
/* front-wrap --- */
.front-wrap {
    margin: 0;
    overflow-x: hidden;
    padding: 0;
}

/* common 共通 --- */
#container .content section {
    background-color: rgba(255, 255, 255, 0.00);
    margin: 0 0 80px;
}

section .section-wrap {
    background-color: rgba(255, 255, 255, 0.00);
    margin: 0 auto;
    width: 1240px;
}

/* common 共通 - header h2見出し --- */
section header {
    margin: 0 0 2rem;
}

section header h2 {
    color: var(--deep-green);
    font-family: "Noto Serif JP", serif;
    font-size: 1.75rem;
    font-weight: normal;
    margin-bottom: 30px;
}

/* section .section-wrap header h2 span {
    color: rgba(139, 131, 120, 1.00);
    font-size: .875rem;
} */

section .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* 
    font-size: 28px;
    font-weight: bold; */
}

/* 中央のライン */
section .title-line {
    display: block;
    width: 1px;
    height: 30px;
    background-color: var(--light-brown);
    margin: 0 auto;
}

/* 英語テキスト */
section .en-text {
    color: var(--light-brown);
    font-size: 16px;
    font-weight: normal;
    font-family: "Raleway", sans-serif;
}

/* .btn.more-link */
p.btn.more-link {}

p.btn.more-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 320px;
    max-width: 100%;
    background-color: #fff;
    color: var(--mid-green);
    ;
    border: 1px solid var(--mid-green);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* p.btn.more-link a::before {
    background-color: var(--mid-green)
    content: "";
    display: block;
    height: 2px;
    width: 2rem;
} */

p.btn.more-link a::after {
    content: '\f138';
    display: inline-block;
    font-family: "FontAwesome";
    font-size: 1.5rem;
    /* アイコンのサイズ */
    margin-left: auto;
    /* 確実に右側に押し出す */
    padding-left: 0;
    /* 既存のpaddingを調整 */
}

p.btn.more-link a:hover {
    color: rgba(255, 255, 255, 1.0);
    background-color: var(--mid-green);
    ;
}

p.btn.more-link a:hover::after {
    color: #fff;
}

p.btn.more-link a span {
    flex: 1;
    padding: 0;
    text-align: center;
}

/* メインビジュアルスライダーdiv id="main-vis" #main-vis （bxslider）
---------------------------------------------------- */
#main-vis {
    /* background: url("../images/common/bg_brash_g.png") no-repeat right center;
    background-size: 50%; */
    margin: 0;
    padding: 0;
}
#main-vis .bx-wrapper {
    -moz-box-shadow: none!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    border: 0!important;
}
#main-vis .slide01 {
    position: relative;
}

#main-vis .slide01 img {
    height: auto;
    /* width: 80%; */
    width: 100vw;
}

/*キャッチコピー*/
#main-vis .catch {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
}

#main-vis .catch h2 {
    font-family: "Noto Serif JP", serif;
    color: var(--deep-green);
    font-weight: bold;
    line-height: 1.8;
    font-size: 2rem;
}


/*プロフィールリンク*/
#main-vis .slide01 .main-vis-link {
    background-color: rgba(46, 46, 46, 1.00);
    position: absolute;
    bottom: -50px;
    right: 0;
    z-index: 10;
}

#main-vis .slide01 .main-vis-link p {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 3rem 2rem 3rem 10rem;
    position: relative;
}

#main-vis .slide01 .main-vis-link p::after {
    background: url("../images/front/main-vis/ico_circle_arrow.png") no-repeat center;
    background-size: contain;
    content: "";
    display: block;
    height: 50px;
    margin: 0 0 0 1rem;
    width: 50px;
}

#main-vis .slide01 .main-vis-link p a {
    color: rgba(255, 255, 255, 1.00);
    font-family: "Poppins", sans-serif;
    font-size: 2.4rem;
    text-align: right;
    text-decoration: none;
}

#main-vis .slide01 .main-vis-link p a::after {
    background-color: rgba(0, 0, 0, 0);
    content: "";
    pointer-events: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: .3s;
    z-index: 1;
}

#main-vis .slide01 .main-vis-link p a:hover::after {
    background-color: rgba(0, 0, 0, .20);
}

#main-vis .slide01 .main-vis-link p a span {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
    padding: 1rem 0 0;
}


/* 各コンテンツ about
---------------------------------------------------- */
section#about .section-wrap {
    padding: 3rem 0;
}

/* タイトル部分*/
#about .section-wrap .section-title {
    justify-content: left;
    flex-direction: row;
}

#about .about-container {
    position: relative;
    background-color: #f8f4e6;
    border-radius: 20px;
    /* overflow: hidden; */
    padding: 60px 40px 80px;
    z-index: 1;
}

/* 疑似要素で草花のイラストを入れる */
#about .about-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1261px;
    height: 450px;
    background-image: url('../images/front/about/bg-flowers.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    z-index: -1;
}

/* 中央のライン */
#about .about-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--light-brown);
    max-width: 80px;
}


/* テキストエリア */
#about .about-text p {
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: #333;
}

#about p.btn.more-link {
    position: absolute;
    bottom: -25px;
    right: 40px;
    margin: 0;
    z-index: 10;
}

/* 各コンテンツ service
---------------------------------------------------- */
/* セクション全体の調整 */
#service {
    background-image: url('../images/front/service/bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    /* background-size: cover; */
}

#service .service-flex-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* カード1つ分の枠 */
#service .link-box {
    flex: 1;
    background: #fafaf4;
    border-radius: 20px;
    padding: 0 0 30px 0;
    overflow: hidden;
}
#service .link-box a {
    text-decoration: none;
}

/* 画像エリア（ラベルの基準点） */
#service .img-wrap {
    position: relative;
    margin: 0;
}

#service .img-wrap img {
    width: 100%;
    display: block;
}

/* ラベルの配置 */
#service .tags {
    position: absolute;
    bottom: -15px;
    left: 15px;
    display: flex;
    gap: 5px;
}

#service .tags span {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.tag-kaigo {
    background-color: var(--deep-green);
}

.tag-shien {
    background-color: var(--light-brown);
}



/* 見出しとテキスト */
#service h3 {
    margin: 30px 20px 10px;
    color: var(--mid-green);
    font-size: 22px;
    display: flex;
    flex-direction: column;
}

#service h3 .en-sub {
    font-size: 14px;
    color: var(--light-brown);
    font-weight: normal;
    margin-top: 5px;
}

#service .service-desc {
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}




/* 各コンテンツ initiative
---------------------------------------------------- */
#initiative {}

#initiative::before {
    background: url("../images/front/initiative/bg01.png") no-repeat center;
    background-position: left top;
}

#initiative::before {
    background: url("../images/front/initiative/bg02.png") no-repeat center;
    background-position: right top;
}

#initiative .initiative-full-bg {
    width: 100%;
    background-color: var(--fade-green);
    background-image:
        url("../images/front/initiative/bg01.png"),
        url("../images/front/initiative/bg02.png");
    background-repeat: no-repeat;
    background-position: left bottom, right bottom;
    background-size: contain;
    padding: 80px 0;
    /* 上下の余白 */
}

#initiative .initiative-flex-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

#initiative .link-box {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 10px;
    transition: transform 0.3s ease;
}

#initiative .link-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

#initiative .link-box a,
#initiative .link-box a:hover,
#initiative .card-link h3,
#initiative .card-link:hover h3 {
    text-decoration: none;
}

#initiative .link-box a figure {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#initiative .link-box a figure p.img-wrap{
    width: 60%;
}

#initiative .link-box img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

#initiative .link-box h3 {
    color: var(--light-brown);
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    width: 100%;
}

/* 各コンテンツ 入所のご案内 #user-guide
---------------------------------------------------- */

#user-guide {
    background-image: url(../images/front/user-guide/bg.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}

#user-guide>div {
    border: 4px solid var(--deep-green);
    border-radius: 20px;
    width: auto;
    padding: 3rem;
    max-width: 1240px;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* グリッドコンテナの設定 */
#user-guide #nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 均等な2カラム */
    gap: 20px;
    /* マス目同士の間隔 */
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 共通のカードスタイル */
#user-guide .grid-item {
    background-color: var(--fade-green);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#user-guide .grid-item a {
    display: flex;
    text-decoration: none;
    height: 100%;
    color: var(--deep-green);
    /* CSS変数に差し替え */
    font-weight: bold;
    box-sizing: border-box;
}

/* --- 上段：空室情報カードの固有スタイル --- */
#user-guide .vacancy-card {
    grid-column: span 2;
    /* 2マス分の幅をぶち抜き */
    max-width: 1000px;
    margin: 0 auto;
}

#user-guide .vacancy-card a {
    align-items: stretch;
}

#user-guide .vacancy-card .card-img {
    width: 40%;
    min-height: 140px;
}

#user-guide .vacancy-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#user-guide .vacancy-card .card-body {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#user-guide .vacancy-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

#user-guide .vacancy-card h3 {
    font-size: 22px;
    margin: 0;
}

#user-guide .vacancy-card .update-date {
    font-size: 14px;
    color: var(--light-brown);
    /* CSS変数に差し替え */
    font-weight: normal;
}

#user-guide .vacancy-card p {
    margin: 0;
    font-size: 15px;
    font-weight: normal;
    color: var(--text-gray);
    /* CSS変数に差し替え */
}

/* --- 下段：ナビボタンの固有スタイル --- */
#user-guide .nav-btn a {
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    font-size: 18px;
}

/* 矢印アイコン */
#user-guide .nav-btn a::after {
    content: '\f138';
    font-family: "FontAwesome";
    font-size: 24px;
    color: var(--deep-green);
    /* CSS変数に差し替え */
    transition: transform 0.3s ease;
}

/* ホバーアクション */
#user-guide .grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#user-guide .nav-btn a:hover::after {
    transform: translateX(3px);
}

/* お知らせ　#news --- */
#container .content section#news {
    margin-bottom: 0;
}

#news {
    padding: 60px 0;
}

#news header {
    margin-top: -60px;
    margin-bottom: 40px !important;
    /* 3カラムとの間のアキ */
    text-align: center;
}

/* ★ベージュの全幅背景エリア */
#news .news-bg-beige {
    width: 100%;
    background-color: var(--beige);
    padding-bottom: 80px;
    /* 上側に太い「白いフチ（内側の余白）」を作って、ベージュの開始位置を押し下げる */
    border-top: 100px solid #fff;
    position: relative;
}

/* 各タイトルのパーツが崩れないようにリセット */
/* #news .section-title,
#news .en-text {
    margin: 0 !important;
    padding: 0 !important;
} */

/* 3カラムのグリッドを設定 */
#news .news-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 均等に3分割 */
    gap: 40px;
    /* 列同士の間隔 */
    margin-top: 4em;
}

/* 各カラムのタイトル */
#news .column-title {
    color: var(--mid-green);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* 各記事（article）の配置 */
#news .post {
    padding: 15px 0;
    border-bottom: 1px dashed var(--light-brown);
    /* 茶色の点線 */
    margin-bottom: 0;
}

/* 最初の記事の上の線を引く場合はお好みで */
#news .post:first-child {
    border-top: 1px dashed var(--light-brown);
}

/* 日付 */
#news .entry-time {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

/* 記事タイトル */
#news .entry-title {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
}

#news .entry-title a {
    color: #000;
    text-decoration: none;
}

#news .entry-title a:hover {
    text-decoration: underline;
}

/* お知らせ一覧ボタンの配置調整 */
#news .news-btn-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* 各セクション　instagram */
#instagram-section {
    padding: 80px 0;
    overflow: hidden;
}

/* ★全体のコンテナをFlexからGridへ変更 */
#instagram-section .insta-container {
    display: grid;
    /* 左側に350px、右側に残りの全幅（1fr）の2カラムを作る */
    grid-template-columns: 350px 1fr;
    /* 縦方向の隙間（20px）、横方向の隙間（40px） */
    gap: 20px 40px;
    align-items: start;
}
/* 1番目：タイトル（左側カラムの1行目） */
#instagram-section .insta-title-block {
    grid-column: 1;
    /* 左側 */
    grid-row: 1;
    /* 1行目 */
    width: 350px;
}
/* 2番目：ボタン（左側カラムの2行目） */
#instagram-section .insta-btn-wrap {
    grid-column: 1;
    /* 左側 */
    grid-row: 2;
    /* 2行目（タイトルの真下） */
    width: 350px;
    margin: 0;
    /* 余計なマージンはすべてリセット */
}
/* 3番目：写真コンテナ（右側カラムの1〜2行目をぶち抜き） */
#instagram-section .insta-right-block {
    grid-column: 2;
    /* 右側 */
    grid-row: 1 / span 2;
    /* 1行目から2行分を丸ごと縦にぶち抜く */

    /* 画面右端を突き抜けさせるための幅計算 */
    width: calc(100vw - 350px - 40px - (100vw - 100%)/2);
    overflow: hidden;
    margin: 0;
    /* ネガティブマージン等もすべて完全リセット */
}
/* タイトル全体の共通スタイル（Flexは解除して通常の縦並びに） */
#instagram-section .section-title {
    color: var(--deep-green);
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 30px;
    display: block;
    /* 通常のブロック表示に戻す */
}
/* 日本語と横線を横並びにするコンテナ */
#instagram-section .title-main-wrap {
    display: inline-flex;
    /* 中身の長さに合わせるFlex */
    align-items: center;
    /* 文字と横線の上下中央をピタッと揃える */
    vertical-align: middle;
}
/* 茶色い横線（不要な!importantなどを外してシンプルに） */
#instagram-section .title-line {
    display: block;
    width: 60px;
    /* 線の長さ */
    height: 1px;
    /* 線の太さ */
    background-color: var(--light-brown);
    margin-left: 20px;
    /* 文字との間のスキマ */
}
/* 英語テキスト（Instagram） */
#instagram-section .en-text {
    display: block;
    /* 自動的に日本語の塊の下に落ちる */
    color: var(--light-brown);
    font-size: 14px;
    font-weight: normal;
    margin-top: 8px;
    /* 日本語との間の程よい隙間 */
}
/* --- ボタンとシェブロン（>）アイコンの設定 --- */
#instagram-section .insta-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    border: 2px solid var(--caution-red);
    border-radius: 30px;
    color: var(--caution-red);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
/* ★CSSだけで描くシェブロン（右矢印） */
#instagram-section .chevron-icon {
    display: block;
    position: relative;
    width: 22px;
    height: 22px;
    background-color: var(--caution-red);
    /* 丸い背景 */
    border-radius: 50%;
    transition: transform 0.3s ease;
}
/* 丸の中の「>」の線を引く */
#instagram-section .chevron-icon::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    /* 上の線 */
    border-right: 2px solid #fff;
    /* 右の線 */
    transform: rotate(45deg);
    /* 45度傾けて「>」にする */
}
/* --- ホバー時の演出（お好みで） --- */
#instagram-section .insta-link a:hover {
    background-color: var(--caution-red);
    color: #fff;
}
/* ホバーした時に、丸いアイコンの背景を白、矢印をピンクに反転させる */
#instagram-section .insta-link a:hover .chevron-icon {
    background-color: #fff;
    transform: translateX(3px);
    /* 少し右にピコッと動く可愛い演出 */
}
#instagram-section .insta-link a:hover .chevron-icon::after {
    border-top-color: var(--caution-red);
    border-right-color: var(--caution-red);
}
#instagram-section .insta-left-block .section-title {
    color: var(--deep-green);
    /* CSS変数 */
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 30px;
    position: relative;
}
/* タイトルの横の茶色い線 */
#instagram-section .insta-left-block .title-line {
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    height: 1px;
    background-color: var(--light-brown);
    /* CSS変数 */
    margin-left: 15px;
}
/* Instagramボタンのピンク（caution-red） */
#instagram-section .insta-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    border: 2px solid var(--caution-red);
    /* CSS変数：ピンク赤 */
    border-radius: 30px;
    color: var(--caution-red);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
#instagram-section .insta-link a:hover {
    background-color: var(--caution-red);
    color: #fff;
}

/* --- 右側ブロック --- */
#instagram-section .insta-right-block {
    flex-content: 1;
    width: calc(100vw - 350px);
    overflow: hidden;
}

#instagram-section .insta-loop-wrap {
    display: flex;
    width: max-content;
    /* 中身の画像2倍分の幅を自動確保 */
}

/* ---アニメーションの指定 --- */
#instagram-section .insta-photo-list {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    /* 塊と塊の間のスキマ */
    /* アニメーション名、時間（20秒で1周）、一定速度、無限ループ */
    animation: insta-infinity-scroll 20s linear infinite;
}
/* ★ホバーした時に動きを一時停止させる（ユーザーが写真を見やすくする優しさ設定） */
#instagram-section .insta-loop-wrap:hover .insta-photo-list {
    animation-play-state: paused;
}
/* 写真1枚ずつの正方形設定 */
#instagram-section .insta-photo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
#instagram-section .insta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes insta-infinity-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
        /* 自分の塊1つ分を左に完全に押し出す */
    }
}
/* 写真を横一列に並べるコンテナ */
#instagram-section .insta-photo-list {
    display: flex;
    gap: 20px;
    padding-right: 50px;
    /* 最後の画像が端にピタッとくっつかないように余白 */
}
/* 写真1枚ずつの正方形設定 */
#instagram-section .insta-photo {
    flex-shrink: 0;
    width: 200px;
    /* 写真の横幅（デザインに合わせて180px〜220pxで調整） */
    height: 200px;
    /* 縦幅を揃えて正方形に */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
#instagram-section .insta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 写真が歪まないように自動トリミング */
    transition: transform 0.3s ease;
}

#instagram-section .insta-photo:hover img {
    transform: scale(1.05);
    /* ホバーした時に少しズームイン */
}

/*Instagram Widget by WPZOOM 装飾*/
#instagram-section .insta-loop-wrap{
    overflow:hidden;
    width:100%;
}
#instagram-section .zoom-instagram-widget__items{
    display:flex !important;
    flex-wrap:nowrap !important;
    width:max-content;
    animation: instaLoop 30s linear infinite;
}
#instagram-section .zoom-instagram-widget__item{
    flex:0 0 240px;
    margin-right:20px;
}
#instagram-section .zoom-instagram-widget__item img{
    width:100%;
    display:block;
}
@keyframes instaLoop{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(var(--insta-width));
    }
}
#instagram-section .zoom-instagram-widget__items.loop-ready:hover{
    animation-play-state: paused;
}

/* 各セクション　recruit-section */
#recruit {
    width: 100%;
}

#container .content section#recruit {
    margin: 0;
}

/* --- 1. 上部：写真3枚の横並び --- */
#recruit .recruit-photo-flex {
    display: flex;
    width: 100%;
    height: 350px;
    /* パソコン時の写真の高さ（カンプに合わせて調整してください） */
}

#recruit .recruit-photo-item {
    flex: 1;
    /* 3枚の写真を均等な横幅にする */
    height: 100%;
    overflow: hidden;
}

#recruit .recruit-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 2. 下部：ベージュの背景エリア --- */
#recruit .recruit-bg-beige {
    width: 100%;
    background-color: var(--beige);
    padding-bottom: 50px;
}

#recruit .recruit-white-card {
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 50px 40px;
    text-align: center;
    width: 100%;
    max-width: 960px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
    margin-top: -80px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

/* 採用情報のタイトル（お知らせセクションと同じ縦線構造） */
#recruit .section-title {
    color: var(--deep-green);
    font-size: 26px;
    margin-bottom: 25px;
}

/* リード文 */
#recruit .recruit-lead {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* --- 3. 下部：3連リンクボタン（Gridレイアウト） --- */
#recruit .recruit-btn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* ボタン単体のデザイン */
#recruit .recruit-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5eedf;
    color: var(--light-brown);
    padding: 25px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

#recruit .recruit-btn span:first-of-type {
    text-align: left;
}

#recruit .recruit-btn:hover {
    background-color: var(--light-brown);
    color: #fff;
}

/* ボタンの中の丸い茶色い矢印（先ほどのインスタの応用） */
#recruit .recruit-btn .chevron-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    background-color: var(--light-brown);
    border-radius: 50%;
    transition: all 0.3s ease;
}

#recruit .recruit-btn .chevron-icon::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

/* ホバー時に矢印の丸を白、線を茶色に反転 */
#recruit .recruit-btn:hover .chevron-icon {
    background-color: #fff;
}

#recruit .recruit-btn:hover .chevron-icon::after {
    border-top-color: var(--light-brown);
    border-right-color: var(--light-brown);
}

/* --- 採用サイト特大バナー --- */
#recruit .recruit-banner-wrap {
    margin-top: 50px;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* リンクエリア全体をGridにして左右2分割 */
#recruit .recruit-banner-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

/* 左側：写真ボックス */
#recruit .banner-img-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

#recruit .banner-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* ホバー時の滑らかなズーム用 */
}

/* 右側：グリーン背景のコンテンツボックス */
#recruit .banner-content-box {
    background-color: var(--mid-green);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 300px;
}

/* テキスト周り */
#recruit .banner-sub-ttl {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

#recruit .banner-main-ttl {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

/* 右端の白丸矢印の土台 */
#recruit .banner-arrow-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* 白丸の中の「＞」マーク */
#recruit .banner-chevron {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 3px solid var(--mid-green);
    /* 緑色の線 */
    border-right: 3px solid var(--mid-green);
    /* 緑色の線 */
    transform: rotate(45deg);
    margin-left: -4px;
    /* 中央に位置付ける微調整 */
}

/* --- ホバー時のリッチな演出 --- */
#recruit .recruit-banner-link:hover .banner-img-box img {
    transform: scale(1.05);
}

#recruit .recruit-banner-link:hover .banner-arrow-box {
    transform: scale(1.1);
}



/* メディアクエリ（ブレイクポイントごと）
---------------------------------------------------- */
@media(max-width:1366px) {}

@media(max-width:1260px) {

    /* 共通要素
---------------------------------------------------- */
    /* common 共通 --- */
    #container .content section {}

    section .section-wrap {
        width: 90%;
    }

    /* common 共通 - header h2見出し --- */
    section .section-wrap header h2 {
        font-size: 1.5rem;
    }

    /* 各コンテンツ section
---------------------------------------------------- */
    /* #interviews --- */
    #interviews .section-wrap .header-wrap {
        width: 30%;
    }

    #interviews .section-wrap .contents {
        width: 70%;
    }
}

@media(max-width:1024px) {

    /* 共通要素
---------------------------------------------------- */
    /* common 共通 --- */
    #container .content section {
        margin: 0 0 70px;
    }

    /* common 共通 - .entry-list（お知らせ・ブログ新着表示 共通） --- */
    .entry-list .section-wrap .article-list article {
        border-bottom: #ccc dotted 1px;
        flex-wrap: wrap;
        padding: 1rem 0;
        position: relative;
    }

    .entry-list .section-wrap .article-list article::after {
        position: absolute;
        right: 0;
        top: calc(50% - .5rem);
    }

    .entry-list .section-wrap .article-list article .entry-meta,
    .entry-list .section-wrap .article-list article .entry-title {
        padding: .25rem .5rem;
        width: 100%;
    }

    .entry-list .section-wrap .article-list article .entry-meta .entry-time {
        padding: 0;
    }

    /* メインビジュアルスライダーdiv id="main-vis" #main-vis （bxslider）
---------------------------------------------------- */
    /* #main-vis {
        padding: 70px 70px 105px;
    }

    #main-vis .slide01 img {
        width: 85%;
    } */



    /* 各コンテンツ section
---------------------------------------------------- */
    /* #message --- */
    #message .section-wrap {
        width: 90%;
    }

    /* #chairmans-day --- */
    #chairmans-day .section-wrap .header-wrap {
        padding: 1rem;
        width: 50%;
    }

    #chairmans-day .section-wrap .contents img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    /* #contents-links --- */
    #container .content section#contents-links {
        padding: 70px 0;
    }

    /* #interviews --- */
    #interviews .section-wrap {
        flex-direction: column;
        padding: 0 0 100px;
        position: relative;
    }

    #interviews .section-wrap .header-wrap {
        width: 100%;
    }

    #interviews .section-wrap .header-wrap .btn.more-link {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    #interviews .section-wrap .header-wrap .btn.more-link a {
        margin: 0 auto;
    }

    #interviews .section-wrap .contents {
        padding: 0 1rem;
        width: 100%;
    }

    #interviews .slick.interviews-lists .slick-list li.slick-slide .interview-summary h3 {
        margin: 1rem;
    }

    /* #news --- */
    #container .content section#news {
        margin: 0;
    }

    #news .section-wrap {
        width: 90%;
    }

    #container .content section#recruit {
        margin: 0;
    }
}

@media(max-width:1240px) {
    #user-guide>div {
        margin-left: 5% !important;
        margin-right: 5% !important;
    }
}

@media (max-width: 960px) {
    .title-line {
        display: none !important;
        /* スマホでは線を消す */
    }
    /* #news */
    #news{
              padding-top: 0;
    }
    #news header {
        margin-top: -100px;
        text-align: center;
    }
    #news .news-grid-container {
        grid-template-columns: 1fr;
        /* スマホでは縦1列に */
        gap: 40px;
    }

    /* #instagram-section */
    /* 1. 親コンテナ：PCのGridを強制解除して、1列の縦並びFlexに変える */
    #instagram-section .insta-container {
        display: flex !important;
        flex-direction: column;
        /* 上から下へ1列 */
        align-items: center;
        justify-content: center;
        gap: 30px;
        /* 要素ごとの上下のスキマ */
    }
    /* 2. 1番目：タイトルブロック */
    #instagram-section .insta-title-block {
        order: 1 !important;
        grid-column: auto !important;
        /* PCのGrid位置指定をリセット */
        grid-row: auto !important;
        width: 100%;
        text-align: center;
    }
    /* 3. 2番目：写真サムネイル */
    #instagram-section .insta-right-block {
        order: 2 !important;
        grid-column: auto !important;
        /* PCのGrid位置指定をリセット */
        grid-row: auto !important;
        /* スマホ用の全幅設定 */
        width: 100vw !important;
        margin-left: 0 !important;
    }
    
    /*Instagram Widget by WPZOOM 装飾*/
    #instagram-section .zoom-instagram-widget__items{ /*ul*/
        animation:none !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-around;
        padding: 0 .5rem;
        transform:none !important;
        width: 100%;
    }
    #instagram-section .zoom-instagram-widget__item{ /*li*/
        flex:0 0 240px;
        margin-right:0;
        max-width: calc( 50% - .5rem ) !important;
        width: calc( 50% - .5rem ) !important;
    }
    #instagram-section .zoom-instagram-widget__item img{
        width:100%;
        display:block;
    }
    
    /* 4. 3番目：ボタン（一番最後！） */
    #instagram-section .insta-btn-wrap {
        order: 3 !important;
        grid-column: auto !important;
        /* PCのGrid位置指定をリセット */
        grid-row: auto !important;
        width: 100%;
        max-width: 400px;
        /* 横に広がりすぎないようにストッパー */
        margin: 10px auto 0 !important;
        /* 余計なマージンをリセットして中央寄せ */
    }
    
    /* タイトル周りのスマホ微調整 */
    #instagram-section .title-main-wrap {
        display: block;
    }
    #instagram-section .en-text {
        text-align: center;
    }

    /* #recruit */
    #recruit .recruit-photo-flex {
        height: 200px;
    }

    #recruit .recruit-white-card {
        margin-top: -40px;
        /* スマホでは重なりを少し浅く */
        padding: 40px 20px;
    }

    #recruit .recruit-lead br {
        display: none;
        /* スマホでは改行を無視して流す */
    }

    /* ボタンを1列の縦並びにする */
    #recruit .recruit-btn-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #recruit .recruit-btn span br {
        display: none;
    }
    
}

@media(min-width:769px) {}

@media(max-width:768px) {

    /* 共通要素
---------------------------------------------------- */
    /* .btn.more-link */
    p.btn.more-link a {
        min-width: 100%;
        box-sizing: border-box;
    }

    /* 
    p.btn.more-link a::before {
        width: 1.5rem;
    } */

    p.btn.more-link a span {
        font-size: .875rem;
    }

    /* メインビジュアルスライダーdiv id="main-vis" #main-vis （bxslider）
---------------------------------------------------- */
#main-vis{
        width:100% !important;
        height:35svh !important;
        min-height:420px !important;
        overflow:hidden !important;
        position:relative !important;
    }

    #main-vis .bx-wrapper{
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
        border:none !important;
        box-shadow:none !important;
        height:35svh !important;
        min-height:420px !important;
    }
    #main-vis .bx-viewport{
        width:100% !important;
        overflow:hidden !important;
        height:35svh !important;
        min-height:420px !important;
    }
    #main-vis #slider{
        width:100% !important;
        position:relative !important;
        height:35svh !important;
        min-height:420px !important;
    }
    #main-vis #slider > div{
        width:100% !important;
        position:absolute !important;
        left:0 !important;
        top:0 !important;
        height:35svh !important;
        min-height:420px !important;
    }
    #main-vis #slider img{
        width:100% !important;
        display:block !important;
        height:35svh !important;
        min-height:420px !important;
        object-fit:cover !important;
    }
    #main-vis .catch{
        align-items: center;
        display: flex;
        height: 100%;
            top: 0;
            left: 0;
        padding: 1rem;
        transform: none;
        width: 100%;
    }
    #main-vis .catch h2 {
        background-color: rgba(255,255,255,.75);
        line-height: 1.2;
        font-size: 1.25rem;
        padding: 1rem;
    }
    #main-vis .slide02 img{
        object-position: 75% center !important;
    }
    
    /* 各コンテンツ section
---------------------------------------------------- */
    /* #message --- */
    #message .section-wrap .contents {
        align-items: center;
        flex-direction: column-reverse;
    }

    #message .section-wrap .contents p {
        font-size: 1rem;
        line-height: 160%;
    }


    /* #contents-links --- */
    #container .content section#contents-links {
        padding: 70px 0;
    }

    #contents-links .section-wrap .contents ul {
        flex-direction: column;
    }

    #contents-links .section-wrap .contents ul li {
        flex-direction: row;
        margin: 0 0 5%;
        width: 100%;
    }

    #contents-links .section-wrap .contents ul li:last-child {
        margin: 0;
    }

    #contents-links .section-wrap .contents ul li p {
        padding: 1.5rem;
    }

    #contents-links .section-wrap .contents ul li p::after {
        border-width: 10px 0 0 10px;
        top: .5rem;
        right: .5rem;
    }

    #contents-links .section-wrap .contents ul li p img {
        height: 50px;
        width: auto;
    }

    #contents-links .section-wrap .contents ul li a {
        align-items: center;
        background-color: transparent;
        color: rgba(46, 46, 46, 1.00);
        display: flex;
        padding: 0;
        text-align: left;
    }

    #contents-links .section-wrap .contents ul li a span::before {
        background-color: var(--mid-green);
        display: block;
        height: 2px;
        position: absolute;
        bottom: calc(50% - 1px);
        left: auto;
        right: 0;
        width: 40px;
    }

    #contents-links .section-wrap .contents ul li a span::after {
        background-color: var(--mid-green);
        content: "";
        display: block;
        height: 2px;
        position: absolute;
        bottom: calc(50% - 1px);
        left: auto;
        right: 30px;
        width: 10px;
    }

    /* about */
    section#about .section-wrap {
        padding-top: 0;
        width: 100%;
    }
    #about .about-container {
        margin: 0 ;
        border-radius: 0;
        padding: 60px 40px;
    }

    #about .about-container::before {
        width: 120%;
        height: 400px;
        background-size: 200% auto;
    }

    #about .section-wrap .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    #about .about-line {
        display: none;
    }
    

    #about p.btn.more-link {
        position: static;
        margin-top: 2em;
    }

    /* service */
    #service .service-flex-container {
        flex-direction: column;
    }

    #service .link-box {
        margin-bottom: 30px;
    }

    /* initiative */
    #initiative .initiative-full-bg {
        padding: 40px 0;
        background-size: 150px auto;
    }

    #initiative .initiative-flex-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    #initiative .link-box {
        flex: none;
        width: 100%;
        padding: 1rem;
    }
    
    #initiative .link-box a figure {
        flex-wrap: nowrap;
    }
    
    #initiative .link-box a figure p.img-wrap {
        margin: 0 1rem 0 0;
        width: 100px;
    }
    
    #initiative .link-box img {
        max-width: 100px;
        margin: 0;
        height: auto;
    }

    #initiative .link-box a figure h3 {
        flex: 1;
        text-align: center;
    }
    
    #initiative .section-title {
        font-size: 22px;
    }

    /* 入所のご案内 */
    #user-guide #nav-grid {
        grid-template-columns: 1fr;
        /* スマホは1列 */
        gap: 15px;
    }

    #user-guide .vacancy-card {
        grid-column: span 1;
    }

    #user-guide .vacancy-card a {
        flex-direction: column;
    }

    #user-guide .vacancy-card .card-img {
        width: 100%;
        height: 150px;
    }

    #user-guide .nav-btn a {
        padding: 20px;
        font-size: 16px;
    }

    #recruit .recruit-bg-beige {
        background-color: #FFF;
        padding-bottom: 0;
    }

    /* --- 採用サイト特大バナー --- */
    #recruit .recruit-banner-wrap {
        margin-top: 50px;
        width: 100%;
        overflow: hidden;
    }

    /* リンクエリア全体をGridにして左右2分割 */
    #recruit .recruit-banner-link {
        grid-template-columns: 1fr;
    }

    /* 左側：写真ボックス */
    #recruit .banner-img-box {
        height: 130px;
    }

    #recruit .banner-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    /* 右側：グリーン背景のコンテンツボックス */
    #recruit .banner-content-box {
        height: auto;
        padding: 35px 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 180px;
    }

    /* テキスト周り */
    #recruit .banner-sub-ttl {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 5px;
        letter-spacing: 0.05em;
    }

    #recruit .banner-main-ttl {
        font-size: 32px;
        font-weight: bold;
        letter-spacing: 0.1em;
        line-height: 1.2;
    }

    /* 右端の白丸矢印の土台 */
    #recruit .banner-arrow-box {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        background-color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    /* 白丸の中の「＞」マーク */
    #recruit .banner-chevron {
        display: block;
        width: 8px;
        height: 8px;
        border-top: 3px solid #63b33a;
        /* 緑色の線 */
        border-right: 3px solid #63b33a;
        /* 緑色の線 */
        transform: rotate(45deg);
        margin-left: -4px;
        /* 中央に位置付ける微調整 */
    }

    /* --- ホバー時のリッチな演出 --- */
    #recruit .recruit-banner-link:hover .banner-img-box img {
        transform: scale(1.05);
        /* 写真が少しズームイン */
    }

    #recruit .recruit-banner-link:hover .banner-arrow-box {
        transform: scale(1.1);
        /* 白丸が少しポンと大きくなる */
    }


    #recruit .recruit-banner-wrap {
        margin-top: 35px;
    }

    /* スマホでは2分割だと狭いので、縦並びに切り替える */
    #recruit .recruit-banner-link {
        grid-template-columns: 1fr;
    }

    #recruit .banner-img-box {
        height: 160px;
    }

    #recruit .banner-content-box {
        height: auto;
        padding: 30px 20px;
    }

    #recruit .banner-content-box p {
        margin-top: 0;
    }

    #recruit .banner-main-ttl {
        font-size: 26px;
    }

    #recruit .banner-arrow-box {
        width: 45px;
        height: 45px;
    }
}

@media(max-width:767px) {}

@media(max-width:576px) {

    /* 共通要素
---------------------------------------------------- */
    /* common 共通 --- */
    #container .content section {
        margin: 0 0 50px;
    }

    /* common 共通 - h2見出し --- */
    #container .content section .section-wrap>h2 {
        font-size: 1.75rem;
    }

    /* メインビジュアルスライダーdiv id="main-vis" #main-vis （bxslider）
---------------------------------------------------- */
    #main-vis {
        padding: 0;
    }

    #main-vis .slide01 {
        height: auto;
        width: 100%;
    }

    #main-vis .slide01 img {
        height: 30vh;
        object-fit: cover;
        width: 100%;
    }

    #main-vis .catch{
        align-items: flex-end;
    }
    #main-vis .catch h2{
        text-align: center;
        width: calc( 100% - 2rem );
    }

    /* 各コンテンツ section
---------------------------------------------------- */
    /* #message --- */
    #container .content section#message {
        margin: 0 0 calc(50px + 3rem) 0;
        padding: 50px 0 calc(50px + 1.5rem) 0;
    }

    /* #interviews --- */
    /*slick 左右送り スタイル上書き*/
    #interviews .slick-next {
        right: 0;
    }

    /*slick スライド*/
    #interviews .slick.interviews-lists .slick-list {
        padding-right: 0;
    }

    #interviews .slick.interviews-lists .slick-list li.slick-slide>p img {
        height: 320px;
    }

    #interviews .slick.interviews-lists .slick-list li.slick-slide .interview-summary dl {
        flex-direction: column;
        font-weight: normal;
    }

    #interviews .slick.interviews-lists .slick-list li.slick-slide .interview-summary dl dt {
        font-weight: normal;
    }

    /* #news --- */
    #container .content section#news {
        /* background: rgba(139, 131, 120, .05) url(../images/common/bg_brash_w.png) no-repeat left bottom -10px;
        background-size: contain; */
        padding: 70px 0;
    }
}

@media(max-width:350px) {
    #recruit .recruit-banner-link {
        grid-template-columns: 1fr;
    }

    #recruit .banner-content-box {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    #recruit .banner-arrow-box {
        width: 45px;
        height: 45px;
        margin: 0 auto;
    }
}