@charset "UTF-8";
/*
Theme Name: 有限会社若槻養豚
Theme URI: http://wakatsuki-farm.com/
Description: 有限会社若槻養豚
Version: 1.0.0
Author: 有限会社若槻養豚
*/

.w-content {
  padding-left: 20px;
  padding-right: 20px;
}

.w-1440 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1440px;
  width: 100%;
}

.w-1100 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  width: 100%;
}

a:hover {
  opacity: 0.7;
}

@media screen and (min-width:768px) {
  .spver {
    display: none !important;
  }
}

@media screen and (max-width:767px) {
  .pcver {
    display: none !important;
  }
}


/* Scroll Animetion */
.js-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  will-change: opacity, transform;
}

body.is-show .js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}


/* Loading */
.loading {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 999;
  top: 0;
  background-color: #faf9f5;
  background-image: url('images/loading-deco.png'), url('images/loading-bg.jpg');
  background-position: bottom center, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% auto, cover;
}

.loading_inner {
	width: 100%;
	margin: 0 auto;
	position: absolute;
	left: 50%;
	bottom: 50%;
	transform: translate(-50%, 0%);
	overflow: hidden;
}

.loading_box {
  transition: 0.4s;
  text-align: center;
}

body.is-show .loading_box {
  transform: translateY(10px);
}

.loading_logo {
  width: 50%;
  margin: 0 auto 80px;
  max-width: 542px;
}

.loading_visual {
  position: relative;
  width: 100%;
  height: 50px;
}

.loading_bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FFABAB;
}

.loading_move-wrapper {
  display: block;
  width: 90%;
  margin: auto;
  position: relative;
}

.loading_move {
  position: absolute;
  top: -11.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  color: #FFABAB;
}

.loading_circle {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFABAB;
}

@media screen and (max-width: 767px) {
  .loading_move-wrapper {
    width: 80%;
  }
}


/* header */


/* ==========================================
   共通ヘッダーベース設定
   ========================================== */
.common-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none; /* 透明なヘッダー領域をすり抜けて背面をクリック可能にする */
}

/* クリックが必要な内包コンポーネントのみイベント有効化 */
.common-header__pc,
.common-header__sp {
  pointer-events: auto;
}


/* ==========================================
   【手動調整用】ブレイクポイント切り替え制御
   ※768pxで崩れる場合は、ここの「max-width: 767px」と「min-width: 768px」の数値を同時に変更してください。
   ========================================== */

/* ▽ SP版表示切り替え制御 */
@media screen and (max-width: 1349px) {
  .common-header__pc {
    display: none !important;
  }
  .common-header__sp {
    display: block;
  }
}

/* ▽ PC版表示切り替え制御 */
@media screen and (min-width: 1350px) {
  .common-header__pc {
    display: block;
  }
  .common-header__sp {
    display: none !important;
  }
}


/* ==========================================
   PC用内部スタイル
   ========================================== */
@media screen and (min-width: 1350px) {
  .common-header__pc {
    position: relative;
    width: 100%;
    height: 200px;
  }

  /* ロゴボックス */
  .common-header__logo-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: #FFABAB; /* メインピンク */
    border-radius: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .common-header__logo-link {
    display: flex;
    width: 160px;
    height: 145px;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
  }

  .common-header__logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* ナビゲーションバー基盤 */
  .common-header__nav {
    position: absolute;
    right: 25px;
    top: 60px; /* 上下センター配置用 */
    height: 80px;
    background: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 10px 0 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  /* 文字リンクグループ */
  .common-header__nav-list {
    display: flex;
    align-items: center;
    gap: 30px; /* 要素間30px */
  }

  .common-header__nav-link {
    font-weight: 500;
    font-size: 16px;
    color: #111;
    white-space: nowrap;
    transition: color 0.4s, opacity 0.4s;
  }

  /* ボタングループ */
  .common-header__btn-group {
    display: flex;
    align-items: center;
    gap: 10px; /* 要素間10px */
    margin-left: 50px; /* 文字リンクの右から50px開ける */
  }

  /* 共通ボタン設定 */
  .common-header__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    border-radius: 40px;
    padding: 0 20px;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s;
    min-width: 170px;
    box-sizing: border-box;
  }

  .common-header__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .common-header__btn-text {
    flex-grow: 1;
    text-align: center;
    padding: 0 8px;
  }

  .common-header__btn-arrow {
    display: flex;
    align-items: center;
  }

  /* 求人ページ（青） */
  .common-header__btn--recruit {
    background: #8AB9FF; /* メイン青 */
    border: 2px solid #8AB9FF;
    color: #FFF;
  }

  .common-header__btn--recruit:hover {
    background: #FFF;
    color: #8AB9FF;
  }

  /* お問い合わせ（ピンク） */
  .common-header__btn--contact {
    background: #FFABAB; /* メインピンク */
    border: 2px solid #FFABAB;
    color: #FFF;
  }

  .common-header__btn--contact:hover {
    background: #FFF;
    color: #FFABAB;
  }

  @media screen and (max-width: 1440px) {
    .common-header__nav-list {
	gap: 15px;
}
.common-header__btn-group {
	margin-left: 20px;
}
  }

}

/* ==========================================
   SP用内部スタイル
   ========================================== */
@media screen and (max-width: 1349px) {
  /* 固定ヘッダーバー */
  .common-header__sp-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1010;
  }

  .common-header__sp-logo {
    display: flex;
    align-items: center;
  }

  .common-header__sp-logo img {
    width: 165px;
    height: auto;
    display: block;
  }

  .common-header__sp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* 丸アイコンボタン（電話・メール） */
  .common-header__sp-btn-icon {
    width: 40px;
    height: 40px;
    display: block;
    transition: opacity 0.3s;
  }

  .common-header__sp-btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* ハンバーガーアイコン */
  .common-header__hamburger {
    width: 40px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .common-header__hamburger-line {
    display: block;
    width: 100%;
    height: 1px;
    background: #000;
  }

  /* 全画面ドロワーメニュー */
  .common-header__drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFF;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .common-header__drawer.is-open {
    opacity: 1;
    visibility: visible;
  }

  .common-header__drawer-inner {
    position: relative;
    padding: 60px 20px 40px;
  }

  /* 閉じるボタン（右上×） */
  .common-header__drawer-close {
    position: absolute;
    top: 15px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .common-header__drawer-close::before,
  .common-header__drawer-close::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 1px;
    background-color: #000;
  }

  .common-header__drawer-close::before {
    transform: rotate(45deg);
  }

  .common-header__drawer-close::after {
    transform: rotate(-45deg);
  }

  /* 縦並び文字リンク構造 */
  .common-header__drawer-nav {
    margin-bottom: 30px;
  }

  .common-header__drawer-item {
    border-bottom: 1px solid #111;
  }

  .common-header__drawer-item:first-child {
    border-top: 1px solid #111;
  }

  .common-header__drawer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    color: #111;
  }

  .common-header__drawer-text {
    font-size: 16px;
    font-weight: 500;
  }

  /* 右側背景丸矢印 */
  .common-header__drawer-arrow {
    width: 24px;
    height: 24px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 下部3大ボタン構造 */
  .common-header__drawer-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .common-header__drawer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
  }

  .common-header__drawer-btn-icon {
    height: 20px;
    width: auto;
    object-fit: contain;
  }

  /* 各ボタン固有背景色 */
  .common-header__drawer-btn--line {
    background: #49A13E;
  }

  .common-header__drawer-btn--contact {
    background: #8AB9FF;
  }

  .common-header__drawer-btn--recruit {
    background: #FFABAB;
  }
}


/* footer */
/* ==========================================
   フッター全体基盤設定
   ========================================== */
.footer {
  width: 100%;
  /* 【修正】指示に基づき background 白を完全に除去（地続きで綺麗に食い込む仕様へ） */
  position: relative;
  z-index: 10;
}

/* ------------------------------------------
   1. 上部：CTAエリア
   ------------------------------------------ */
.footer__cta {
  width: 100%;
  max-width: 1200px;
  margin: -120px auto 0 auto; /* 前セクションへ綺麗に上半分を被せる */
  padding: 60px 20px;
  background-color: #FF8C9B;
  border-radius: 30px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* 【修正】CONTACTをタイトル背面中央にするための親ラップ基点設定 */
.footer__cta-title-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 35px;
  text-align: center;
}

/* 【修正】「CONTACT」をキャッチコピーの「背面中央」に絶対配置設定 */
.footer__cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 140px;
  font-weight: 900;
  color: #FFF;
  opacity: 0.1;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

/* キャッチコピー本体 */
.footer__cta-title {
  position: relative;
  z-index: 2; /* 背景テキストの前面に表示 */
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.4;
  margin: 0;
  display: inline-block;
}

.footer__cta-title-bracket {
  font-weight: 300;
  margin: 0 10px;
  display: inline-block;
}

/* 角丸電話ボタン */
.footer__cta-tel-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  width: 100%;
  margin: 0 auto 35px auto;
  background-color: #FFF;
  border-radius: 100px;
  padding: 20px 30px;
  box-sizing: border-box;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer__cta-tel-btn:hover {
  opacity: 0.9;
}

/* 【修正】電話アイコンと電話番号を完全に「横並び」にフレックス配置 */
.footer__cta-tel-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* アイコンと番号の間の隙間 */
  width: 100%;
}

.footer__cta-tel-icon {
  color: #FF8C9B;
  display: inline-flex;
  align-items: center;
}

.footer__cta-tel-number {
  font-size: 48px;
  font-weight: 700;
  color: #FF8C9B;
  line-height: 1.0;
  letter-spacing: 0.02em;
}

.footer__cta-tel-time {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-top: 8px;
}

/* 下段：2連リンクボタンラップ */
.footer__cta-btns {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.footer__cta-btn {
  display: flex;
  align-items: center;
  width: 50%;
  height: 72px;
  border-radius: 50px;
  padding: 0 24px 0 30px;
  box-sizing: border-box;
  text-decoration: none;
  color: #FFF;
  font-weight: 700;
  font-size: 18px;
  position: relative;
  filter: drop-shadow(0 6px 0 rgba(140, 140, 140, 0.4));
}

.footer__cta-btn:active {
  transform: translateY(4px);
  filter: drop-shadow(0 2px 0 rgba(140, 140, 140, 0.4));
}

.footer__cta-btn--line { background-color: #49A13E; }
.footer__cta-btn--mail { background-color: #5CA3F6; }

.footer__cta-btn-icon-wrap {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
}
.footer__cta-btn-icon-wrap img {
  width: 28px;
  height: auto;
}

.footer__cta-btn-text {
  flex-grow: 1;
  text-align: center;
}

.footer__cta-btn-arrow {
  width: 32px;
  height: 32px;
  background-color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer__cta-btn--line .footer__cta-btn-arrow { color: #49A13E; }
.footer__cta-btn--mail .footer__cta-btn-arrow { color: #5CA3F6; }

/* ------------------------------------------
   2. 中部：メイン部
   ------------------------------------------ */
.footer__main {
  padding-top: 100px;
  padding-bottom: 60px;
}

.footer__main-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer__info {
  max-width: 400px;
}

.footer__logo {
  margin-bottom: 25px; /* テキスト削除に伴い下の余白を微調整 */
}
.footer__logo img {
  height: 35px;
  width: auto;
  display: block;
}

.footer__address {
  font-style: normal;
}

.footer__tel {
  font-weight: 700;
}

.footer__nav {
  display: flex;
  gap: 80px;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__nav-item a {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav-item a:hover {
  color: #FF8C9B;
}

/* ------------------------------------------
   3. 下部：SNS・ページトップエリア
   ------------------------------------------ */
.footer__bottom {
  padding-bottom: 40px;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* 【修正】指示に基づき border-bottom を完全に削除 */
  border-bottom: none;
  padding-bottom: 30px;
}

.footer__sns-link img {
  width: 40px;
  height: 40px;
  display: block;
  transition: opacity 0.3s ease;
}
.footer__sns-link:hover img {
  opacity: 0.8;
}

.footer__pagetop-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.footer__pagetop-arrow {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
}
.footer__pagetop-arrow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  transform: rotate(45deg);
}

/* ------------------------------------------
   4. 最下部：コピーライト
   ------------------------------------------ */
.footer__copyright {
  text-align: center;
  padding: 30px 20px;
}

.footer__copyright small {
  font-size: 12px;
  color: #000;
  letter-spacing: 0.05em;
}

/* ------------------------------------------
   5. 【画面固定】フローティングCTA
   ------------------------------------------ */
/* 追従CTA */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 閉じるボタン（黒丸に×） */
.floating-cta__close {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  background-color: #000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  padding: 0;
}

/* ホバー時に少し大きくする */
.floating-cta__close:hover {
  transform: scale(1.2);
}

/* ×印の作成 */
.floating-cta__close span {
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: #fff;
}

.floating-cta__close span:nth-child(1) {
  transform: rotate(45deg);
}

.floating-cta__close span:nth-child(2) {
  transform: rotate(-45deg);
}

/* CTA画像 */
.floating-cta__link {
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  line-height: 0;
}

.floating-cta__link img {
  width: 100%;
  height: auto;
}

/* 閉じた時のクラス */
.floating-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* スマホでのサイズ調整（必要に応じて） */
@media screen and (max-width: 767px) {
  .floating-cta {
    width: 180px;
    bottom: 65px;
    right: 15px;
  }

  .floating-cta__close {
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
  }

  .floating-cta__close span {
    width: 10px;
  }
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .floating-cta {
    display: grid;
  }

  .footer__cta {
    margin-top: -60px;
    padding: 40px 16px;
    border-radius: 20px;
  }

  /* SP版背景文字サイズスケールダウン */
  .footer__cta-bg-text {
    font-size: 64px;
  }

  .footer__cta-title {
    font-size: 18px;
  }
	
  .footer__cta-title-bracket {
    display: none;
  }

  /* SP版：横並びのまま縮小維持するための調整 */
  .footer__cta-tel-btn {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 50px;
  }

  .footer__cta-tel-icon svg {
    width: 22px;
    height: 22px;
  }

  .footer__cta-tel-number {
    font-size: 26px;
  }

  .footer__cta-tel-time {
    font-size: 12px;
    margin-top: 4px;
  }

  .footer__cta-btns {
    flex-direction: column;
    gap: 15px;
  }

  .footer__cta-btn {
    width: 100%;
    height: 60px;
    font-size: 15px;
    padding: 0 16px 0 20px;
  }

  .footer__cta-btn-arrow {
    width: 26px;
    height: 26px;
  }

  .footer__main {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .footer__main-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer__logo img {
    margin: 0 auto;
  }

  .footer__nav {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .footer__nav-list {
    align-items: center;
    gap: 14px;
  }

  .footer__bottom {
    padding-bottom: 80px; 
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 25px;
    padding-bottom: 20px;
  }
}


/* TOP */
/* ==========================================
   共通ボタン（ボタンリンク）基本スタイル
   ========================================== */
.common-btn__link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 400px;
  max-width: 100%;
  height: 70px;
  border-radius: 35px; /* 高さ70pxに対して完全なカプセル型にするため35pxを指定 */
  box-shadow: 5px 9px 0 0 rgba(158, 158, 158, 0.70);
  box-sizing: border-box;
  text-decoration: none;
  margin-left: auto;
  margin-right: auto; /* コーディング時に中央配置しやすいようデフォルトで設定 */
}

/* ボタン内テキスト */
.common-btn__text {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  /* フォントはM PLUS Rounded 1cを自動継承 */
}

/* ボタン内右側アイコンエリア */
.common-btn__icon {
  position: absolute;
  right: 15px; /* 右端からの余白 */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.common-btn__icon svg {
  width: 100%;
  height: 100%;
}


/* ==========================================
   カラーバリエーション設定
   ========================================== */

/* 1. ピンク背景 (#FFABAB) */
.common-btn__link--pink {
  background-color: #FFABAB;
  color: #FFF; /* 文字色: 白 */
}
.common-btn__link--pink .common-btn__icon {
  color: #FFABAB; /* SVGの枠線・矢印に流し込む色 */
}

/* 2. 青背景 (#8AB9FF) */
.common-btn__link--blue {
  background-color: #8AB9FF;
  color: #FFF; /* 文字色: 白 */
}
.common-btn__link--blue .common-btn__icon {
  color: #8AB9FF;
}

/* 3. 緑背景 (#49A13E) */
.common-btn__link--green {
  background-color: #49A13E;
  color: #FFF; /* 文字色: 白 */
}
.common-btn__link--green .common-btn__icon {
  color: #49A13E;
}

/* 4. 黒背景 (#000000) */
.common-btn__link--black {
  background-color: #000;
  color: #FFF; /* 文字色: 白 */
}
.common-btn__link--black .common-btn__icon {
  color: #000;
}

/* 5. 白背景 (#FFFFFF) */
.common-btn__link--white {
  background-color: #FFF;
  color: #111; /* 文字色: デフォルトの黒系 */
  border: 1px solid #111; /* 可視性を担保するため、文字と同色の細い枠線を追加 */
}
.common-btn__link--white .common-btn__icon {
  color: #111; /* 白背景時はアイコンの枠線と矢印を黒系に設定 */
}


/* ==========================================
   スマートフォン時の最適化
   ========================================== */
@media screen and (max-width: 767px) {
  .common-btn__link {
    height: 54px; /* スマホ画面に合わせて高さを少しコンパクトに */
    border-radius: 30px;
    max-width: 100%;
  }
  
  .common-btn__text {
    font-size: 14px; /* 文字サイズをスマホ向けに最適化 */
  }

  .common-btn__icon {
    width: 18px;
    height: 18px;
    right: 7px;
  }
}

/* ==========================================
   ファーストビュー（FV）基本構造
   ========================================== */
.top-fv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #FFF;
}

/* 背景動画の全画面配置 */
.top-fv__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.top-fv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* インナーコンテナの設定 */
.top-fv__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

/* メインコンテンツ枠 */
.top-fv__body {
  position: relative;
  width: 50%;
  min-width: 320px;
}

@media screen and (max-width: 767px) {
  .top-fv__body {
    width: 90%;
    margin: 0 auto;
  }
}

.top-fv__main-wrap {
  position: relative;
  width: 100%;
  padding-left: 100px;
}

.top-fv__bg-blur img,
.top-fv__main-img img,
.top-fv__sub-text img,
.top-fv__deco-pink img,
.top-fv__deco-blue img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   各レイヤーの初期状態（非表示設定）
   ========================================== */
.top-fv__bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125%;
  height: auto;
  z-index: 1;
  opacity: 0; /* 初期は透明 */
}

.top-fv__main-img {
  position: relative;
  z-index: 2;
  opacity: 0; /* 初期は透明 */
}

.top-fv__sub-text {
	position: absolute;
	top: -1%;
	right: 17%;
	width: 40%;
	z-index: 3;
	opacity: 0;
}

.top-fv__deco-pink {
	position: absolute;
	top: -8%;
	left: 70px;
	width: 12%;
	z-index: 3;
	transform: scale(0);
}

.top-fv__deco-blue {
	position: absolute;
	top: 24%;
	right: 8%;
	width: 10%;
	z-index: 3;
	transform: scale(0);
}

/* ==========================================
   body.is-show 検知時のアニメーション発火制御
   ========================================== */
body.is-show .top-fv__bg-blur {
  animation: fvFadeInBlur 0.4s ease-out forwards;
}

body.is-show .top-fv__main-img {
  animation: fvSlideInMain 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}

body.is-show .top-fv__sub-text {
  animation: fvRevealLeft 0.4s ease-out 0.4s forwards;
}

body.is-show .top-fv__deco-pink {
  animation: fvPopDeco 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

body.is-show .top-fv__deco-blue {
  animation: fvPopDeco 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.7s forwards;
}

/* ==========================================
   アニメーション キーフレーム
   ========================================== */
@keyframes fvFadeInBlur {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fvSlideInMain {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fvRevealLeft {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fvPopDeco {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================
   スクロール誘導バー
   ========================================== */
.top-fv__scroll {
  position: absolute;
  bottom: 25px;
  left: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
}

.top-fv__scroll-text {
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #8AB9FF;
	display: inline-block;
	white-space: nowrap;
	transform: rotate(90deg);
	transform-origin: center;
	margin-bottom: 25px;
}

.top-fv__scroll-line {
  position: relative;
  width: 1px;
  height: 240px;
  background-color: #8AB9FF;
  margin-top: 7px;
}

.top-fv__scroll-dot {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: #8AB9FF;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollMoveDot 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollMoveDot {
  0% { top: 10%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 85%; opacity: 0; }
}

@media screen and (max-width: 767px) {
  .top-fv__scroll {
    left: 5px;
    bottom: 10px;
  }
  .top-fv__scroll-line {
    height: 160px;
  }
  .top-fv__main-wrap {
	padding-left: 30px;
}
.top-fv__deco-pink {
	left: 17px;
}
}




/* ==========================================
   ABOUTセクション基盤設定
   ========================================== */
.top-about {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('images/bg-pink.jpg'); /* 画像パス形式を指定通りに修正 */
  background-repeat: repeat;
  overflow: hidden;
}

/* ==========================================
   背景装飾用絶対配置スタリング
   ========================================== */
/* 下付け施設写真 */
.top-about__facility-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.top-about__facility-bg img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右上の草（PC） */
.top-about__deco-plant-tr {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 24vw;
  max-width: 430px;
}

/* 下部leftの枝 */
.top-about__deco-branch-bl {
  position: absolute;
  bottom: 200px;
  left: 0;
  z-index: 1;
  width: 20vw;
  max-width: 280px;
}

/* 下部右の枝（SP用） */
.top-about__deco-branch-br {
  display: none;
}

/* 下部右のシャボン玉（PC） */
.top-about__deco-bubbles-pc {
  position: absolute;
  bottom: 200px;
  right: -50px;
  z-index: 1;
  width: 260px;
}

.top-about__deco-plant-tr img,
.top-about__deco-branch-bl img,
.top-about__deco-branch-br img,
.top-about__deco-bubbles-pc img,
.top-about__deco-bubbles-sp img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-about__inner {
  position: relative;
  z-index: 2;
}

.top-about__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* 左側：テキストエリア */
.top-about__content {
  position: relative;
  width: 100%;
  max-width: 607px;
  padding-top: 50px;
}

/* 「Wakatsuki Yoton」テキスト画像制御 */
.top-about__text-en {
  position: absolute;
  top: -75px;
  left: -130px;
  width: 558px;
  z-index: 3;
  pointer-events: none;
}
.top-about__text-en img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1600px) {
  .top-about__text-en {
    left: -60px;
    width: 480px;
  }
}
@media screen and (max-width: 1300px) {
  .top-about__text-en {
    left: -20px;
    width: 420px;
  }
}

/* 見出し（ABOUT） */
.top-about__title-wrap {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.top-about__title-en {
  font-size: 64px;
  font-weight: 700;
  color: #8AB9FF; /* メイン青 */
  line-height: 1.0;
}

.top-about__title-jp {
  font-size: 20px;
  color: #8AB9FF; /* メイン青 */
  padding-bottom: 5px;
}

/* キャッチコピー */
.top-about__catch {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
}
.top-about__catch-pink { color: #FFABAB; } /* 命：ピンク */
.top-about__catch-blue { color: #8AB9FF; } /* 食：青 */

/* 本文 */
.top-about__lead {
  margin-bottom: 60px;
}

.top-about__btn-wrap {
  display: flex;
  justify-content: flex-start;
}


/* ==========================================
   右側：楕円画像エリア（PC版）
   ========================================== */
.top-about__media {
  position: relative;
  width: 46%;
  display: flex;
  align-items: flex-start;
  gap: 4%;
  padding-top: 20px;
}

.top-about__oval {
  width: 50%;
  overflow: hidden;
}
.top-about__oval img {
  width: 100%;
  height: auto;
  display: block;
}

.top-about__oval--large {
  width: 58%;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
}

.top-about__oval--small {
  width: 44%;
  margin-top: 140px;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
}


/* ==========================================
   下部：YouTube動画コンテナ（透過対策・角丸なし）
   ========================================== */
.top-about__video-wrap {
  position: relative;
  z-index: 3;
  margin-top: 80px;
}

.top-about__video-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  /* border-radius（角丸）指定を完全解除 */
}

.top-about__video-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-about {
    padding-top: 50px;    /* スマホの上下隙間を50pxに修正 */
    padding-bottom: 50px; /* スマホの上下隙間を50pxに修正 */
  }

  .top-about__deco-branch-br {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    width: 16vw;
    max-width: 150px;
  }
  .top-about__deco-branch-bl {
    width: 30vw;
    max-width: 150px;
    bottom: 0;
  }

  .top-about__container {
    align-items: flex-start;
    gap: 5%;
  }

  .top-about__content {
    width: 55%;
    padding-top: 30px;
  }

  .top-about__text-en {
    position: relative;
    top: 0;
    left: 0;
    width: 125px;
    margin-bottom: 10px;
  }

  .top-about__title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 10px;
  }

  .top-about__title-en {
    font-size: 36px;
  }

  .top-about__title-jp {
    font-size: 13px;
    padding-bottom: 0;
  }

  .top-about__catch {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .top-about__lead {
    margin-bottom: 25px;
  }

  .top-about__media {
    width: 40%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 40px;
  }

  .top-about__oval--large {
    width: 100%;
  }

  .top-about__oval--small {
    width: 90%;
    margin-top: 0;
  }

  .top-about__deco-bubbles-sp {
    width: 80%;
    margin-top: -10px;
  }

  .top-about__video-wrap {
    margin-top: 50px;
  }
}




/* ==========================================
   FEATUREセクション基盤設定
   ========================================== */
.top-feature {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('images/bg-blue.jpg');
  background-repeat: repeat;
  overflow: hidden;
}

/* ==========================================
   背景装飾用イラスト絶対配置
   ========================================== */
.top-feature__deco-bubbles-tl {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1;
  width: 25vw;
  max-width: 380px;
}

.top-feature__deco-pig-leaf-tr {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 1;
  width: 28vw;
  max-width: 550px;
}

.top-feature__deco-grass-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 22vw;
  max-width: 400px;
}

.top-feature__deco-branch-br {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 20vw;
  max-width: 180px;
}

.top-feature__deco-bubbles-tl img,
.top-feature__deco-pig-leaf-tr img,
.top-feature__deco-grass-bl img,
.top-feature__deco-branch-br img,
.top-feature__deco-leaf-tl-sp img,
.top-feature__deco-pig-tr-sp img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-feature__inner {
  position: relative;
  z-index: 2;
}

.top-feature__header {
  text-align: center;
  margin-bottom: 40px;
}

.top-feature__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E;
  line-height: 1.0;
}

.top-feature__subtitle {
  font-size: 20px;
  color: #49A13E;
}

.top-feature__lead {
  text-align: center;
  font-size: 20px;
  margin-bottom: 90px;
}

.top-feature__slider-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  padding-bottom: 15px; 
}

/* ------------------------------------------
   ① メインスライダー（背景色ボックスごと切り替え修正）
   ------------------------------------------ */
.top-feature__main-slider {
  width: 100%;
  overflow: visible !important; /* ボックスシャドウの切れ防止 */
}

.top-feature__main-slide {
  box-sizing: border-box;
}

/* 背景色が入るボックス本体（最大幅1440px） */
.top-feature__main-container {
  background: #E5FFE2;
  border-radius: 20px;
  box-shadow: 12px 10px 0 0 rgba(21, 22, 53, 0.38);
  padding: 40px 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  
  /* 【修正】背景色の部分（1枚のスライド）ごと上昇フェードインさせる設定 */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Swiperのアクティブ判定と連動して背景色付きボックスごと表示 */
.top-feature__main-slide.swiper-slide-active .top-feature__main-container {
  opacity: 1;
  transform: translateY(0);
}

/* 中身の画像とテキスト最大幅1100px制限インナー */
.top-feature__main-inner {
  display: flex;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
  /* 旧インナー側アニメーションは完全削除 */
}

.top-feature__main-img {
  width: 45%;
}
.top-feature__main-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.top-feature__main-content {
  width: 55%;
  padding-left: 50px;
  padding-top: 20px;
  box-sizing: border-box;
}

.top-feature__main-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-feature__main-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.top-feature__main-tag {
  color: #49A13E;
}

.top-feature__main-num {
  font-size: 48px;
  color: #49A13E;
}

.top-feature__main-title {
  font-size: 24px;
  font-weight: 700;
  color: #49A13E;
}

.top-feature__main-line {
  width: 28px;
  height: 1px;
  background-color: #49A13E;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ------------------------------------------
   ② ミニスライドナビゲーション（1440px内で3列均等並び）
   ------------------------------------------ */
.top-feature__nav-slider {
  margin-top: 30px;
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible !important;
}

.top-feature__nav-slide {
  background: #E5FFE2;
  border-radius: 20px;
  box-shadow: 12px 10px 0 0 rgba(21, 22, 53, 0.38);
  padding: 20px 20px 40px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-sizing: border-box;
}

.top-feature__nav-slide:hover {
  transform: translateY(-6px);
}

.top-feature__nav-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 15px;
}

.top-feature__nav-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-feature__nav-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.top-feature__nav-tag {
  color: #49A13E;
  font-size: 12px;
}

.top-feature__nav-num {
  font-size: 36px;
  color: #49A13E;
  font-weight: 700;
}

.top-feature__nav-title {
  font-size: 18px;
  font-weight: 700;
  color: #49A13E;
  line-height: 1.3;
}

/* ------------------------------------------
   注意書き（カラーバグ修正・下部余白指定）
   ------------------------------------------ */
.top-feature__note {
  text-align: right;
  margin-bottom: 50px;
}

.top-feature .top-feature__note p,
.top-feature__note p {
  color: #919191 !important;
  font-size: 20px;
}

.top-feature__btn-wrap {
  display: flex;
  justify-content: center;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-feature {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .top-feature__deco-bubbles-tl,
  .top-feature__deco-pig-leaf-tr,
  .top-feature__deco-grass-bl,
  .top-feature__deco-branch-br {
    display: none !important;
  }

  .top-feature__deco-leaf-tl-sp {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 25vw;
    max-width: 100px;
  }

  .top-feature__deco-pig-tr-sp {
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 1;
    width: 30vw;
    max-width: 120px;
  }

  .top-feature__header {
    margin-bottom: 10px;
  }

  .top-feature__title {
    font-size: 36px;
  }

  .top-feature__subtitle {
    font-size: 13px;
  }

  .top-feature__lead {
    font-size: 10px;
    margin-bottom: 20px;
  }

  /* SPスライダー枠（左右パディング 10px） */
  .top-feature__slider-wrap {
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .top-feature__main-slide.w-1440 {
    max-width: 100%;
  }

  /* SP時は背景色コンテナの上昇初期化状態をリセット */
  .top-feature__main-container {
    flex-direction: column;
    border-radius: 14.348px;
    box-shadow: 8.609px 7.174px 0 0 rgba(21, 22, 53, 0.38);
    padding: 20px 30px;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .top-feature__main-inner {
    flex-direction: column;
  }

  .top-feature__main-img {
    width: 100%;
    margin-bottom: 15px;
  }

  .top-feature__main-content {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
  }

  .top-feature__main-tag {
    font-size: 11px;
  }

  .top-feature__main-num {
    font-size: 34px;
    font-weight: 700;
  }

  .top-feature__main-title {
    font-size: 16px;
    margin-left: 10px;
  }

  .top-feature__main-line {
    display: none;
  }

  .top-feature__main-text {
    display: none !important;
  }

  /* SP用左右矢印ボタン（左右-5pxで被せる） */
  .top-feature__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 30px;
    height: 30px;
    background-color: #49A13E;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }

  .top-feature__arrow--prev {
    left: -5px;
  }

  .top-feature__arrow--next {
    right: -5px;
  }

  .top-feature__note {
    text-align: left;
  }
  .top-feature .top-feature__note p,
  .top-feature__note p {
    font-size: 10px !important;
    margin-bottom: 20px;
  }
	
  .top-feature__main-header {
    gap: 10px;
  }
}




/* ==========================================
   FARMセクション基盤設定
   ========================================== */
.top-farm {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('images/bg-pink.jpg');
  background-repeat: repeat;
  overflow: hidden;
  color: #FFF; /* テキストカラー一括白指定 */
}

/* ------------------------------------------
   背景・装飾用絶対配置スタリング（PC版）
   ------------------------------------------ */
.top-farm__pigsty-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.top-farm__pigsty-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.top-farm__deco-branch-tl {
position: absolute;
  top: 300px;
  left: 0;
  z-index: 1;
  width: 20vw;
  max-width: 260px;
}

.top-farm__deco-leaf-tr {
  position: absolute;
  top: 250px;
  right: 0;
  z-index: 1;
  width: 22vw;
  max-width: 240px;
}

.top-farm__deco-bubbles-bl {
  position: absolute;
  bottom: 50px;
  left: 0;
  z-index: 1;
  width: 20vw;
  max-width: 210px;
}

.top-farm__deco-branch-tl img,
.top-farm__deco-leaf-tr img,
.top-farm__deco-bubbles-bl img,
.top-farm__deco-pig-tl-sp img,
.top-farm__deco-branch-tr-sp img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-farm__inner {
  position: relative;
  z-index: 2;
}

.top-farm__header {
  text-align: center;
  margin-bottom: 40px;
}

.top-farm__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.0;
  color: #fff;
}

.top-farm__subtitle {
  font-size: 20px;
  color: #fff;
}

.top-farm__lead-wrap {
  margin-bottom: 100px;
}

.top-farm__lead {
  text-align: center;
  font-size: 20px;
  color: #fff;
}

.top-farm__content {
  position: relative;
  width: 100%;
}

.top-farm__map-img {
  width: 100%;
  height: auto;
  display: block;
}

.top-farm__btn-wrap {
	width: 100%;
}

/* PC版ボタンの画像重ね合わせ配置 */
.top-farm__content .common-btn__link.pcver {
  position: absolute;
  right: 40px;
  bottom: -20px;
  z-index: 3;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：バグ修正完了）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-farm {
    padding-top: 50px;
    padding-bottom: 50px; /* 上下50pxの隙間 */
  }

  .top-farm__deco-branch-tl,
  .top-farm__deco-leaf-tr,
  .top-farm__deco-bubbles-bl {
    display: none !important;
  }

  .top-farm__deco-pig-tl-sp {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 1;
    width: 25vw;
    max-width: 90px;
  }

  .top-farm__deco-branch-tr-sp {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 1;
    width: 22vw;
    max-width: 80px;
  }

  .top-farm__header {
    margin-bottom: 10px;
  }

  .top-farm__title {
    font-size: 36px;
  }

  .top-farm__subtitle {
    font-size: 13px;
  }

  .top-farm__lead-wrap {
    margin-bottom: 20px;
  }

  .top-farm__lead {
    font-size: 10px;
  }

  /* メインコンテンツ枠の調整 */
  .top-farm__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  /* picture要素をブロック化してはみ出しを防止 */
  .top-farm__picture {
    display: block;
    width: 100%;
  }

  /* 【修正】SP用ボタンリンクのバグ修正（左右はみ出し・矢印位置ズレ対策） */
  .top-farm__content .common-btn__link.spver {
    position: relative; /* relativeを維持して内部矢印の基準点を固定 */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
}




/* ==========================================
   KEY FEATURESセクション基盤設定
   ========================================== */
.top-key {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('images/bg-blue.jpg');
  background-repeat: repeat;
  overflow: hidden;
}

/* ------------------------------------------
   背景・装飾用絶対配置スタリング
   ========================================== */
/* 右上：風船（共通） */
.top-key__deco-balloon {
position: absolute;
  top: 250px;
  right: 100px;
  z-index: 1;
  width: 20vw;
  max-width: 170px;
}

/* 左下：草（PC） */
.top-key__deco-grass-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 22vw;
  max-width: 400px;
}

/* 右下：枝（PC） */
.top-key__deco-branch-br {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 20vw;
  max-width: 280px;
}

.top-key__deco-balloon img,
.top-key__deco-grass-bl img,
.top-key__deco-branch-br img,
.top-key__deco-grass-tl-sp img {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------
   無限ループマーキー（重なり解消・line-height調整）
   ------------------------------------------ */
.top-key__marquee-wrap {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.top-key__marquee-inner {
  display: flex;
  width: max-content; /* テキスト総幅にフィットさせて隙間と重なりを完全に防ぐ */
  animation: keyMarqueeRight 25s linear infinite;
}

.top-key__marquee-text {
  font-size: 128px;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
  letter-spacing: 0.04em;
  line-height: 1; /* 上下の不要な膨らみをカット */
  padding-right: 1.5em; /* テキスト連続時の適切な間隔を担保 */
  flex-shrink: 0;
}

/* 左から右へ流れるキーフレーム */
@keyframes keyMarqueeRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-key__inner {
  position: relative;
  z-index: 2;
}

.top-key__header {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.top-key__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E;
  line-height: 1.0;
}

.top-key__subtitle {
  font-size: 20px;
  color: #49A13E;
}

.top-key__lead-wrap {
  margin-bottom: 60px;
}

.top-key__lead {
  text-align: center;
  font-size: 20px;
}

/* ------------------------------------------
   Swiperスライダー構造（PC版：シャドウ切れ＆チラ見せ対応）
   ------------------------------------------ */
.top-key__slider-container {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  padding-left: 15px;
  padding-right: 15px; /* 左右にパディングを設けてシャドウのはみ出し領域を確保 */
  box-sizing: border-box;
}

.top-key__slider {
  width: 100%;
  overflow: visible !important; /* Swiperによるボックスシャドウのクリップ（切れ）を完全に防ぐ */
}

.top-key__slide {
  width: 80% !important;
  max-width: 1100px;
  height: auto;
  box-sizing: border-box;
  transition: opacity 0.4s ease;
}

/* アクティブ（中央）ではない左右のカードを少し薄くして引き立てる設定 */
.top-key__slide:not(.swiper-slide-active) {
  opacity: 0.5;
}

/* 白カードデザイン基盤 */
.top-key__card {
  background: #FFF;
  border-radius: 20px;
  filter: drop-shadow(14px 11px 0 rgba(157, 157, 157, 0.44));
  padding: 40px;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
}

.top-key__img-box {
  width: 45%;
}
.top-key__img-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.top-key__content-box {
  width: 55%;
  padding-left: 40px;
  box-sizing: border-box;
}

.top-key__slide-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.top-key__slide-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.top-key__slide-tag {
  color: #49A13E;
  font-size: 14px;
}

.top-key__slide-num {
  font-size: 48px;
  color: #49A13E;
  font-weight: 700;
}

.top-key__slide-title {
  font-size: 24px;
  font-weight: 700;
  color: #49A13E;
}

/* 矢arrowナビゲーション（ベース設定） */
.top-key__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PC版：白背景＋緑境界線の丸枠デザインに合わせた位置調整 */
.top-key__arrow.pcver {
  width: 44px;
  height: 44px;
}
.top-key__arrow--prev.pcver { left: -60px; }
.top-key__arrow--next.pcver { right: -60px; }

.top-key__btn-wrap {
  display: flex;
  justify-content: center;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-key {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* SP用の装飾切り替え */
  .top-key__deco-grass-bl,
  .top-key__deco-branch-br {
    display: none !important;
  }

  .top-key__deco-grass-tl-sp {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 25vw;
    max-width: 100px;
  }

  .top-key__deco-balloon {
    top: 20px;
    max-width: 80px;
  }

  .top-key__header {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .top-key__title {
    font-size: 36px;
  }

  .top-key__subtitle {
    font-size: 13px;
  }

  .top-key__lead-wrap {
    margin-bottom: 20px;
  }

  .top-key__lead {
    font-size: 10px;
  }

  /* ------------------------------------------
     Swiperスライダー構造（SP版変形：画像パディングなし・チラ見せ対応）
     ------------------------------------------ */
  .top-key__slider-container {
    padding: 0; /* 左右のチラ見せカードを画面端まで綺麗に見せるため解除 */
    margin-bottom: 20px;
  }

  .top-key__slide {
    width: 85%; /* スマホ画面内でも左右に前後のカードが少し覗く幅に調整 */
    max-width: 100%;
  }

  .top-key__card {
    flex-direction: column;
    padding: 0; /* カード全体のパディングを解除 */
    filter: drop-shadow(8px 7px 0 rgba(157, 157, 157, 0.44)); /* スマホ用にシャドウを最適化 */
  }

  .top-key__img-box {
    width: 100%;
  }
  .top-key__img-box img {
    border-radius: 20px 20px 0 0;
  }

  /* テキストブロック側のみ余白を設定 */
  .top-key__content-box {
    width: 100%;
    padding: 20px 30px;
  }

  .top-key__slide-tag {
    font-size: 11px;
  }

  .top-key__slide-num {
    font-size: 34px;
  }

  .top-key__slide-title {
    font-size: 16px;
  }

  /* SP版矢印ナビゲーション（緑丸背景・「く」の字内包） */
  .top-key__arrow.spver {
    width: 30px;
    height: 30px;
    background-color: #49A13E;
    border: 1px solid #fff;
    border-radius: 50%;
  }

  /* カード自体の幅が狭まったため、画面内での重ね合わせ位置をパーセント（vw）で安全に調整 */
  .top-key__arrow--prev.spver { left: 4vw; }
  .top-key__arrow--next.spver { right: 4vw; }
}




/* ==========================================
   INTERVIEWセクション基盤設定
   ========================================== */
.top-interview {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('images/bg-pink.jpg');
  background-repeat: repeat;
}

/* ------------------------------------------
   背景・装飾用絶対配置スタリング（PC版）
   ------------------------------------------ */
.top-interview__deco-balloon-pig-tl {
  position: absolute;
  top: 70px;
  left: 80px;
  z-index: 1;
  width: 25vw;
  max-width: 480px;
}

.top-interview__deco-bubbles-tr {
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 1;
  width: 20vw;
  max-width: 300px;
}

.top-interview__deco-branch-bl {
  position: absolute;
  bottom: 150px;
  left: 0;
  z-index: 1;
  width: 18vw;
  max-width: 200px;
}

.top-interview__deco-leaf-br {
  position: absolute;
  bottom: 150px;
  right: 0;
  z-index: 1;
  width: 20vw;
  max-width: 200px;
}

.top-interview__deco-balloon-pig-tl img,
.top-interview__deco-bubbles-tr img,
.top-interview__deco-branch-bl img,
.top-interview__deco-leaf-br img,
.top-interview__deco-grass-tl-sp img,
.top-interview__deco-bubbles-tr-sp img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-interview__inner {
  position: relative;
  z-index: 2;
}

/* セクションタイトル（青色指定） */
.top-interview__header {
  text-align: center;
  margin-bottom: 60px;
}

.top-interview__title {
  font-size: 64px;
  font-weight: 700;
  color: #5CA3F6;
  line-height: 1.0;
}

.top-interview__subtitle {
  font-size: 20px;
  color: #5CA3F6;
}

/* ------------------------------------------
   参考コード準拠：スタッキングカード・ロジック（4枚対応版）
   ------------------------------------------ */
.top-interview__list {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
}

.top-interview__card {
  background: #FFF;
  border-radius: 20px;
  filter: drop-shadow(10px 15px 0 rgba(179, 179, 179, 0.80));
  width: 100%;
  box-sizing: border-box;
}

/* 
   参考コードの設計思想を完全移植
   スクロール時に各カードの上部が30pxずつ綺麗に重なって残るよう段階配置
*/
.top-interview__card--01 {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  margin-bottom: 40px;
}

.top-interview__card--02 {
  position: -webkit-sticky;
  position: sticky;
  top: 130px;
  margin-top: 100px;
  margin-bottom: 40px;
}

.top-interview__card--03 {
  position: -webkit-sticky;
  position: sticky;
  top: 160px;
  margin-top: 100px;
  margin-bottom: 40px;
}

.top-interview__card--04 {
  position: -webkit-sticky;
  position: sticky;
  top: 190px;
  margin-top: 100px;
  margin-bottom: 0;
}

/* カード内部スプリット構造 */
.top-interview__card-container {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.top-interview__card-visual {
  width: 45%;
  overflow: hidden;
}

.top-interview__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px 0 0 20px;
}

.top-interview__card-content {
  width: 55%;
  padding: 50px 80px 50px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.top-interview__card-header-wrap {
  margin-bottom: 25px;
}

.top-interview__card-label-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  line-height: 1.0;
  margin-bottom: 10px;
}

.top-interview__card-label {
  color: #5CA3F6;
  font-size: 16px;
}

.top-interview__card-number {
  color: #5CA3F6;
  font-size: 48px;
  font-weight: 700;
  line-height: 0.9;
}

.top-interview__card-title {
  font-size: 23px;
  font-weight: 700;
  color: #5CA3F6;
  line-height: 1.4;
}

.top-interview__card-text {
  font-size: 15px;
  line-height: 1.8;
}

/* 右端：縦並びドットナビゲーション */
.top-interview__card-dots {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-interview__card-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #D9D9D9; /* 指示通り非アクティブ色を#D9D9D9に修正 */
  transition: background-color 0.3s ease;
}

.top-interview__card-dot--active {
  background-color: #5CA3F6;
}

.top-interview__btn-wrap {
  display: flex;
  justify-content: center;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-interview {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .top-interview__deco-balloon-pig-tl,
  .top-interview__deco-bubbles-tr,
  .top-interview__deco-branch-bl,
  .top-interview__deco-leaf-br {
    display: none !important;
  }

  .top-interview__deco-grass-tl-sp {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 25vw;
    max-width: 100px;
  }

  .top-interview__deco-bubbles-tr-sp {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 1;
    width: 25vw;
    max-width: 110px;
  }

  .top-interview__header {
    margin-bottom: 30px;
  }

  .top-interview__title {
    font-size: 36px;
  }

  .top-interview__subtitle {
    font-size: 13px;
  }

  /* SP時はスタッキングを解除し、適度な間隔でスクロール配置 */
  .top-interview__list {
    padding-bottom: 30px;
    gap: 30px;
  }

  .top-interview__card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .top-interview__card-container {
    flex-direction: column;
  }

  .top-interview__card-visual {
    width: 100%;
  }

  /* 【修正】スマホ時もトリミングせず、画像本来のアスペクト比を100%維持 */
  .top-interview__card-img {
    height: auto;
    object-fit: fill; 
    border-radius: 20px 20px 0 0;
  }

  .top-interview__card-content {
    width: 100%;
    padding: 20px 20px 50px; /* 下部にドットスペースを確保 */
  }

  .top-interview__card-header-wrap {
    margin-bottom: 0;
  }

  .top-interview__card-label {
    font-size: 12px;
  }

  .top-interview__card-number {
    font-size: 34px;
  }

  .top-interview__card-title {
    font-size: 16px;
  }

  .top-interview__card-text {
    font-size: 12px;
    line-height: 1.7;
  }

  /* 【修正】参考コードに完全準拠し、スマホ版のドットナビを右下に配置 */
  .top-interview__card-dots {
    right: 25px;
    left: auto;
    top: auto;
    bottom: 20px;
    transform: none;
    flex-direction: row;
    gap: 10px;
  }
  
  .top-interview__card-dot {
    width: 14px;
    height: 14px;
  }
}




/* ==========================================
   Joinセクション基盤設定
   ========================================== */
.top-join {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('images/bg-join-photo.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* ------------------------------------------
   背景用2連縦流れ無限スライダー構造（PC版：サイズアップ修正）
   ------------------------------------------ */
.top-join__visual {
	position: absolute;
	top: -10%;
	right: -7%;
	width: 46vw;
	max-width: 810px;
	height: 120%;
	z-index: 1;
}

.top-join__slider-container {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 100%;
  transform: rotate(7deg);
  transform-origin: center top;
}

.top-join__slider {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.top-join__slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左列：下から上へ流れるアニメーション */
.top-join__slider--up {
  animation: joinScrollUp 40s linear infinite;
}

@keyframes joinScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* 右列：上から下へ流れるアニメーション */
.top-join__slider--down {
  animation: joinScrollDown 40s linear infinite;
}

@keyframes joinScrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* ------------------------------------------
   装飾レイヤー（PC版）
   ------------------------------------------ */
.top-join__deco-pig {
  position: absolute;
  top: 60px;
  left: 40px;
  z-index: 3;
  width: 15vw;
  max-width: 180px;
}
.top-join__deco-pig img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-join__inner {
  position: relative;
  z-index: 4;
}

.top-join__content {
  max-width: 736px;
  width: 100%;
  margin-right: auto;
}

.top-join__title {
  font-size: 200px;
  font-weight: 700;
  color: #FFF;
  line-height: 1;
}

.top-join__text {
  font-size: 20px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.8;
  margin-top: 50px;
}

/* ------------------------------------------
   【修正】ボタンリンクラップエリア（PC版：完全に左揃えを明示）
   ------------------------------------------ */
.top-join__btn-area {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 縦方向のブロックを完全に左端に揃える */
  gap: 25px;
  max-width: 500px;
}

.top-join__btn-row {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ボタン同士の並びを完全に左揃えにする */
  width: 100%;
  gap: 20px;
}

.top-join__btn-row .common-btn__link--white-pink {
  background-color: #FFF;
  color: #FFABAB;
  width: 240px;
  box-sizing: border-box;
}
.top-join__btn-row .common-btn__link--white-pink .common-btn__text {
  margin-right: 1em;
}

.top-join__btn-row .common-btn__link--white-pink .common-btn__icon {
  color: #FFABAB;
}

.top-join__btn-row--single .common-btn__link--black {
  background-color: #000;
  color: #FFF;
  width: 500px;
  box-sizing: border-box;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-join {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .top-join__deco-pig {
    display: none !important;
  }

  /* SP全画面背景へのスライダー拡張 */
  .top-join__visual {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    z-index: 1;
  }

  .top-join__slider-container {
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    position: absolute;
  }

  .top-join__slider-mask.spver {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
  }

  /* スマホ版前面コンテンツ（中央寄せ配置をキープ） */
  .top-join__content {
    max-width: 100%;
    text-align: center;
  }

  .top-join__title {
    font-size: 72px;
  }

  .top-join__text {
    font-size: 14px;
    margin-top: 30px;
  }

  /* SP版：ボタン3つの完全縦並び・width 200px化 */
  .top-join__btn-area {
    margin-top: 40px;
    gap: 15px;
    align-items: center; /* スマホ時はセンターに集約 */
  }

  .top-join__btn-row {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    align-items: center;
  }

  .top-join .common-btn__link--white-pink,
  .top-join .common-btn__link--black {
    width: 200px !important;
  }
}




/* ==========================================
   BLOGセクション基盤設定
   ========================================== */
.top-blog {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('images/bg-pink.jpg');
  background-repeat: repeat;
  overflow: hidden;
}

/* ------------------------------------------
   背景装飾用イラスト絶対配置（PC版限定）
   ------------------------------------------ */
.top-blog__deco-pig-tl {
	position: absolute;
	top: 50px;
	left: 26%;
	z-index: 1;
	width: 18vw;
	max-width: 200px;
}

.top-blog__deco-grass-tr {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 24vw;
  max-width: 340px;
}

.top-blog__deco-balloon-bl {
  position: absolute;
  bottom: 80px;
  left: 0;
  z-index: 1;
  width: 18vw;
  max-width: 220px;
}

.top-blog__deco-pig-tl img,
.top-blog__deco-grass-tr img,
.top-blog__deco-balloon-bl img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-blog__inner {
  position: relative;
  z-index: 2;
}

.top-blog__header {
  text-align: left;
  margin-bottom: 60px;
}

.top-blog__title {
  font-size: 64px;
  font-weight: 700;
  color: #5CA3F6;
  line-height: 1.0;
}

.top-blog__subtitle {
  font-size: 20px;
  color: #5CA3F6;
  display: block;
  margin-top: 5px;
}

/* ------------------------------------------
   右側突き抜け型Swiperスライダー構造
   ------------------------------------------ */
.top-blog__slider-wrap {
  width: 100%;
  margin-bottom: 60px;
  position: relative;
  z-index: 3;
}

.top-blog__slider {
  width: 100%;
  overflow: visible !important;
  /* 
     【修正】1440pxラインからさらに右へずらすため、数式の末尾を「+ 80px」に拡張 
     これによりスライダーの左端が少し右側にずれて配置されます。
  */
  padding-left: calc((100vw - 1440px) / 2 + 80px);
  box-sizing: border-box;
}

/* 1440px以下のミドル画面時でも、右へのずらし（余白）を維持 */
@media screen and (max-width: 1440px) {
  .top-blog__slider {
    padding-left: 80px;
  }
}

.top-blog__slide {
  width: 535px;
  height: auto;
}

.top-blog__card {
  display: block;
  text-decoration: none;
}

.top-blog__img-box {
  margin: 0 0 15px;
  background-color: #FFF;
  overflow: hidden;
  border-radius: 20px;
}

.top-blog__img-box img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.top-blog__card:hover .top-blog__img-box img {
  transform: scale(1.05);
}

.top-blog__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.top-blog__tag {
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  padding: 8px 10px;
  line-height: 1.0;
  width: 140px;
  text-align: center;
  display: inline-block;
  border-radius: 5px; /* カテゴリ角丸5px維持 */
}

/* カテゴリ別カラー定義 */
.top-blog__tag,
.top-blog__tag--default {
  background-color: #49A13E;
}

.top-blog__tag--notice,
.top-blog__tag--news {
  background-color: #FF8C9B;
}

.top-blog__tag--diary,
.top-blog__tag--farm {
  background-color: #5CA3F6;
}

.top-blog__date {
  font-size: 16px;
  color: #111;
}

.top-blog__item-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------
   下部コントロールバーエリア（PC版）
   ------------------------------------------ */
.top-blog__controls {
  position: relative;
  z-index: 4;
}

.top-blog__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0; /* 【修正】バーとボタンの間の不要な隙間（余白）を完全に埋めるため「0」に設定 */
  width: 100%;
}

/* スクロールバーベース（白背景） */
.top-blog__scrollbar.swiper-scrollbar {
  position: relative;
  left: auto;
  bottom: auto;
  flex-grow: 1;
  height: 10px;
  background-color: #FFF;
  border-radius: 10px; /* バーの土台側にも角丸を施してデザインを統合 */
  z-index: 5;
}

/* ピンクのバー本体（ドラッグ部分） */
.top-blog__scrollbar .swiper-scrollbar-drag {
  background-color: #FF8C9B;
  border-radius: 10px; /* 【修正】ピンクのバー本体に美しい角丸を適用 */
}

.top-blog__btn-wrap {
  flex-shrink: 0;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-blog {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .top-blog__deco-pig-tl,
  .top-blog__deco-grass-tr,
  .top-blog__deco-balloon-bl {
    display: none !important;
  }

  .top-blog__header {
    margin-bottom: 30px;
  }

  .top-blog__title {
    font-size: 36px;
  }

  .top-blog__subtitle {
    font-size: 13px;
  }

  /* 【レスポンシブ調整】スマホ時は画面幅が狭いため、左余白を安全な20pxへ還元 */
  .top-blog__slider {
    padding-left: 20px;
  }

  .top-blog__slide {
    width: 280px;
  }

  .top-blog__img-box {
    border-radius: 12px;
  }

  .top-blog__tag {
    font-size: 12px;
    width: 100px;
    padding: 6px 8px;
  }

  .top-blog__date {
    font-size: 12px;
  }

  .top-blog__item-title {
    font-size: 15px;
  }

  .top-blog__controls-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .top-blog__scrollbar.swiper-scrollbar {
    width: 100%;
  }

  .top-blog__btn-wrap {
    display: flex;
    justify-content: center;
  }
}





/* ==========================================
   FAQセクション基盤設定
   ========================================== */
.top-faq {
  position: relative;
  width: 100%;
  padding-top: 150px;
  /* 下部のpaddingはスペーサー要素（overlap）側で可変吸収するため0に設定 */
  padding-bottom: 0; 
  background-image: url('images/bg-blue.jpg');
  background-repeat: repeat;
  overflow: hidden;
}

/* ------------------------------------------
   背景装飾用イラスト絶対配置（PC版限定）
   ------------------------------------------ */
.top-faq__deco-balloon-tl {
  position: absolute;
  top: 280px;
  left: 0;
  z-index: 1;
  width: 16vw;
  max-width: 200px;
}

.top-faq__deco-pig-bubbles-tr {
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 1;
  width: 26vw;
  max-width: 380px;
}

.top-faq__deco-bubbles-bl {
  position: absolute;
  bottom: 150px; /* スペーサー分の高さを考慮して少し上に引き上げ */
  left: 0;
  z-index: 1;
  width: 18vw;
  max-width: 240px;
}

.top-faq__deco-leaf-mr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 1;
  width: 20vw;
  max-width: 280px;
}

.top-faq__deco-balloon-tl img,
.top-faq__deco-pig-bubbles-tr img,
.top-faq__deco-bubbles-bl img,
.top-faq__deco-leaf-mr img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   コンテンツレイアウト（PC版）
   ========================================== */
.top-faq__inner.w-1100 {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.top-faq__header {
  text-align: left;
  margin-bottom: 50px;
}

.top-faq__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E;
  line-height: 1.0;
}

.top-faq__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

.top-faq__group + .top-faq__group {
  margin-top: 80px;
}

.common-faq-heading {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.common-faq-line {
  width: 100px;
  height: 2px;
  background-color: #000;
  margin-top: 12px;
  margin-bottom: 50px;
}

/* ==========================================
   【独立コンポーネント】共通アコーディオン
   ========================================== */
.common-faq {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.common-faq__item {
  background-color: #FFF;
  border-radius: 20px;
  filter: drop-shadow(11px 11px 0 rgba(158, 158, 158, 0.70));
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.common-faq__question {
  position: relative;
  display: flex;
  align-items: center;
  padding: 35px 80px 35px 40px;
  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
}

.common-faq__icon-q {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: #111;
  color: #FFF;
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 25px;
}

.common-faq__question-text {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
}

.common-faq__toggle-mark {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.common-faq__toggle-mark::before,
.common-faq__toggle-mark::after {
  content: "";
  position: absolute;
  background-color: #111;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 【修正】横線の太さを3pxから「1px」へ細くスタイリッシュに変更 */
.common-faq__toggle-mark::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

/* 【修正】縦線の太さを3pxから「1px」へ細くスタイリッシュに変更 */
.common-faq__toggle-mark::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.js-faq-item.is-open .common-faq__toggle-mark::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.common-faq__answer {
  margin: 0;
  padding: 0 40px;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease;
}

.js-faq-item.is-open .common-faq__answer {
  grid-template-rows: 1fr;
}

.common-faq__answer-inner {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  min-height: 0;
}

.common-faq__icon-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 22px;
  font-weight: 700;
  color: #FFF;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 25px;
  margin-bottom: 35px;
}

.common-faq__icon-a--pink { background-color: #FF8C9B; }
.common-faq__icon-a--blue { background-color: #5CA3F6; }

.common-faq__answer-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  padding-top: 6px;
  margin-bottom: 35px;
}

.common-faq__text-list {
  list-style: none;
  padding: 5px 0 10px 0;
  margin: 0;
}
.common-faq__text-list li {
  line-height: 1.6;
  margin-bottom: 4px;
}

/* ------------------------------------------
   【追加】参考コード昇華：フッター重なり余白調整スペーサー
   ------------------------------------------ */
.common-spacer__footer-overlap {
  width: 100%;
  height: 350px; /* 下部コンテンツ（フォームなど）が上に突き抜けてくる高さをここでセーフティ確保 */
  background-color: transparent;
  pointer-events: none;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .top-faq {
    padding-top: 50px;
  }

  .top-faq__deco-balloon-tl,
  .top-faq__deco-pig-bubbles-tr,
  .top-faq__deco-bubbles-bl,
  .top-faq__deco-leaf-mr {
    display: none !important;
  }

  .top-faq__header {
    margin-bottom: 35px;
  }

  .top-faq__title {
    font-size: 36px;
  }

  .top-faq__subtitle {
    font-size: 13px;
  }

  .top-faq__group + .top-faq__group {
    margin-top: 50px;
  }

  .common-faq-heading {
    font-size: 18px;
  }

  .common-faq-line {
    margin-bottom: 30px;
  }

  .common-faq {
    gap: 20px;
  }

  .common-faq__question {
    padding: 20px 55px 20px 20px;
  }

  .common-faq__icon-q,
  .common-faq__icon-a {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin-right: 15px;
  }

  .common-faq__question-text {
    font-size: 15px;
  }

  .common-faq__toggle-mark {
    right: 20px;
    width: 18px;
    height: 18px;
  }

  .common-faq__answer {
    padding: 0 20px;
  }

  .common-faq__answer-text {
    font-size: 14px;
    line-height: 1.7;
    padding-top: 4px;
  }

  .common-faq__icon-a,
  .common-faq__answer-text {
    margin-bottom: 20px;
  }

  /* スマホ版スペーサーサイズ調整（画面幅の縮小に合わせた最適化） */
  .common-spacer__footer-overlap {
    height: 180px;
  }
}




/* ==========================================
   下層共通ヒーローエリア（PC版）
   ========================================== */
.sub-hero {
  position: relative;
  width: 100%;
  /* 【修正】指示に基づき高さを400pxから「650px」へ変更 */
  height: 650px; 
  border-radius: 0 0 50px 50px;
  overflow: hidden;
  z-index: 2;
}

.sub-hero__picture {
  width: 100%;
  height: 100%;
  display: block;
}

.sub-hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sub-hero__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.25);
  padding: 20px;
  box-sizing: border-box;
}

.sub-hero__subtitle {
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sub-hero__title {
  text-align: center;
  font-size: 120px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.0;
  letter-spacing: 0.03em;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   下部コンテンツコンテナレイアウト（PC版）
   ========================================== */
.sub-page__content {
  position: relative;
  z-index: 1;
  margin-top: -50px;
  padding-top: 100px; 
  padding-bottom: 0;
  background-image: url('images/bg-white.jpg');
  background-repeat: repeat;
}

/* ------------------------------------------
   下層共通：パンくずリスト（PC版）
   ------------------------------------------ */
.breadcrumb {
  margin-bottom: 60px;
}

.breadcrumb__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 12px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
	box-sizing: border-box;
}

.breadcrumb__link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* ホームの画像アイコンサイズ調整 */
.breadcrumb__icon-home {
  width: 18px;
  height: auto;
  display: block;
}


/* ------------------------------------------
   プライバシーポリシー本文レイアウト（PC版）
   ------------------------------------------ */
.privacy-policy__lead {
  margin-bottom: 50px;
}

.privacy-policy__section {
  margin-bottom: 40px;
}

.privacy-policy__heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.privacy-policy__text {
  text-align: justify;
}

/* 【修正】本文内の独自リンク色指定CSSを完全に撤去 */

.privacy-policy__bullet-list {
  list-style: none;
  padding: 5px 0 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-policy__bullet-list li {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  padding-left: 5px;
}

/* 署名フッター情報 */
.privacy-policy__footer {
  margin-top: 60px;
  padding-top: 30px;
  /* 【修正】会社情報上の境界線（border-top）を完全に削除 */
  border-top: none; 
}

.privacy-policy__address {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
  font-style: normal;
}

.privacy-policy__company {
  font-size: 18px;
  font-weight: 700;
}

.privacy-policy__tel {
  font-weight: 700;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .sub-hero {
    height: 300px; /* PC版650pxへの拡張に連動し、SP版も窮屈にならないよう300pxに最適化 */
    border-radius: 0 0 25px 25px;
  }

  .sub-hero__subtitle {
    font-size: 14px;
  }

  .sub-hero__title {
    font-size: 44px;
  }

  .sub-page__content {
    margin-top: -25px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .breadcrumb {
    margin-bottom: 35px;
  }

  .breadcrumb__list {
    gap: 8px;
  }

  .breadcrumb__icon-home {
    width: 16px;
  }

  .privacy-policy__lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 35px;
  }

  .privacy-policy__section {
    margin-bottom: 30px;
  }

  .privacy-policy__heading {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .privacy-policy__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .privacy-policy__bullet-list li {
    font-size: 14px;
    line-height: 1.6;
  }

  .privacy-policy__footer {
    margin-top: 45px;
  }

  .privacy-policy__address {
    font-size: 14px;
  }

  .privacy-policy__company {
    font-size: 16px;
  }
}




/* ==========================================
   MESSAGE 代表挨拶セクション（PC版）
   ========================================== */
.company-message {
  position: relative;
  z-index: 1;
  /* 共通ヒーローの角丸切り欠きの隙間に潜り込ませる設計（固有値として残しています） */
  margin-top: -50px;
  padding-top: 100px; 
  padding-bottom: 150px; /* 上下端150pxほどの間 */
  background-image: url('images/bg-blue.jpg');
  background-repeat: repeat;
}

.company-message__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* 見出し：左揃え・緑色 */
.company-message__header {
  text-align: left;
  margin-bottom: 50px;
}

.company-message__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E;
  line-height: 1.0;
}

.company-message__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

/* 横並びフレックス構造 */
.company-message__flex {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.company-message__img-box {
  width: 380px;
  flex-shrink: 0;
  margin: 0;
}

.company-message__img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.company-message__body {
  flex-grow: 1;
}

/* あいさつ本文：左詰め */
.company-message__text {
  text-align: left;
}

.company-message__text p {
  font-size: 16px;
  line-height: 1.8;
  color: #111;
  margin: 0 0 24px 0;
}
.company-message__text p:last-child {
  margin-bottom: 0;
}

/* 肩書・名前：右詰め */
.company-message__signature {
  text-align: right;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  margin-top: 40px;
  font-weight: 700;
}

.company-message__name {
  font-size: 24px;
  display: inline-block;
  margin-top: 5px;
}


/* ==========================================
   COMPANY 会社概要セクション（PC版）
   ========================================== */
.company-overview {
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px; /* 上下端150pxほどの間 */
  background-image: url('images/bg-pink.jpg');
  background-repeat: repeat;
}

/* 見出し：中央寄せ・青色 */
.company-overview__header {
  text-align: center;
  margin-bottom: 60px;
}

.company-overview__title {
  font-size: 64px;
  font-weight: 700;
  color: #5CA3F6;
  line-height: 1.0;
}

.company-overview__subtitle {
  font-size: 20px;
  color: #5CA3F6;
  display: block;
  margin-top: 5px;
}

/* w-1440の白いボックス */
.company-overview__box {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  background-color: #FFF;
  padding: 75px 20px;
  border-radius: 30px;
  box-sizing: border-box;
}

.company-overview__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* 会社概要テーブル仕様 */
.company-overview__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 60px;
}

.company-overview__table tr {
  border-bottom: 1px solid #000; 
}

.company-overview__table th,
.company-overview__table td {
  text-align: left;
  vertical-align: top;
  padding: 24px 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
}

.company-overview__table th {
  width: 180px;
  font-weight: 700;
  white-space: nowrap;
}

/* Google Mapエリア仕様 */
.company-overview__maps {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.company-overview__map-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 15px 0;
}

.company-overview__map-iframe {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.company-overview__map-iframe iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  /* 代表挨拶SP */
  .company-message {
    margin-top: -25px;
    padding-top: 50px;
    padding-bottom: 50px; /* スマホ時の上下端50px */
  }
  .company-message__header { margin-bottom: 30px; }
  .company-message__title { font-size: 36px; }
  .company-message__subtitle { font-size: 13px; }

  .company-message__flex {
    flex-direction: column;
    gap: 30px;
  }
  .company-message__img-box {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .company-message__text p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .company-message__name { font-size: 20px; }

  /* 会社概要SP */
  .company-overview {
    padding-top: 50px;
    padding-bottom: 50px; /* スマホ時の上下端50px */
  }
  .company-overview__header { margin-bottom: 35px; }
  .company-overview__title { font-size: 36px; }
  .company-overview__subtitle { font-size: 13px; }

  .company-overview__box {
    padding: 40px 15px;
    border-radius: 15px;
  }

  .company-overview__table tr {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
  }
  .company-overview__table th,
  .company-overview__table td {
    display: block;
    width: 100% !important;
    padding: 0;
    font-size: 14px;
  }
  .company-overview__table th {
    margin-bottom: 6px;
  }

  .company-overview__table { margin-bottom: 40px; }
  .company-overview__maps { gap: 35px; }
  .company-overview__map-title { font-size: 16px; }
  .company-overview__map-iframe { height: 260px; }
}




/* ==========================================
   よくある質問ページ 固有レイアウト設定
   ========================================== */
.sub-page--faq .sub-page__content {
	background-image: url('images/bg-pink.jpg');
}

/* ページ内ナビゲーションコンテナ */
.sub-page__anchor-nav {
  margin-bottom: 80px;
}

.sub-page__anchor-inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* グループごとの間隔 */
.sub-page__faq-wrapper .top-faq__group + .top-faq__group {
  margin-top: 100px;
}




/* ==========================================
   【修正】共通コンポーネント：ページ内アンカーリンク
   ========================================== */
.common-anchor {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* ボックス間の溝幅 */
  width: 100%;
}

.common-anchor__item {
  /* 3等分の大きさを維持（gap 24pxが2つ分ある前提の幅計算） */
  flex: 0 0 calc((100% - (24px * 2)) / 3);
  box-sizing: border-box;
}

.common-anchor__link {
  position: relative; /* 【修正】矢印を右側に絶対配置するための基点 */
  display: flex;
  align-items: center;
  justify-content: center; /* 【修正】テキストを完全にセンター配置 */
  width: 100%;
  height: 64px;
  padding: 0 40px; /* 矢印とテキストが被らないように左右にセーフティ余白を設定 */
  border-radius: 50px;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  /* 【修正】指示通りのbox-shadowを適用 */
  box-shadow: 5px 9px 0 0 rgba(158, 158, 158, 0.70);
  /* 【修正】ホバー時の浮き上がりや透過エフェクトを完全に削除（デフォルト維持） */
}

/* --- 【修正】右側の上下中央に固定された細く縦長な下向き矢印 --- */
.common-anchor__arrow {
	position: absolute;
	right: 24px;
	top: 50%;
	margin-top: -8px;
	display: inline-block;
	width: 11px;
	height: 12px;
	transform: rotate(45deg);
	box-sizing: border-box;
}

/* --- カラーバリエーション（各色共通） --- */
/* 1. ピンク */
.common-anchor__link--pink {
  background-color: #FF8C9B;
  color: #FFF;
}
.common-anchor__link--pink .common-anchor__arrow {
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}

/* 2. 緑（流用想定） */
.common-anchor__link--green {
  background-color: #49A13E;
  color: #FFF;
}
.common-anchor__link--green .common-anchor__arrow {
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}

/* 3. 黒（流用想定） */
.common-anchor__link--black {
  background-color: #111;
  color: #FFF;
}
.common-anchor__link--black .common-anchor__arrow {
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .common-anchor {
    flex-direction: column;
    gap: 12px;
  }

  .common-anchor__item {
    flex: 0 0 100%;
    width: 100%;
  }

  .common-anchor__link {
    height: 54px;
    padding: 0 30px;
    font-size: 14px;
    /* スマホのスケール感に合わせてシャープな影幅に微調整しても綺麗です */
    box-shadow: 4px 6px 0 0 rgba(158, 158, 158, 0.70);
  }

  .common-anchor__arrow {
    right: 20px;
  }
}

/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {

  .sub-page__anchor-nav {
    margin-bottom: 45px;
  }

  .sub-page__faq-wrapper .top-faq__group + .top-faq__group {
    margin-top: 60px;
  }
}




/* ==========================================
   ブログ詳細ページ（single）コンプリートCSS
   ========================================== */

/* ------------------------------------------
   下部コンテンツコンテナ（背景・潜り込ませ）
   ------------------------------------------ */

.single-blog {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* ------------------------------------------
   1. メタ情報（カテゴリ・日付）
   ------------------------------------------ */
.single-blog__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 30px;
}

/* カテゴリタグ（若槻養豚トーン：初期値ピンク） */
.single-blog__cat {
  display: block;
  width: 120px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #FFF;
  background-color: #FF8C9B; /* お知らせカラー */
  padding: 8px 0;
  text-align: center;
  border-radius: 50px;
  flex-shrink: 0;
}

/* スラッグ別の動的カラー分岐 */
.single-blog__cat--news { background-color: #FF8C9B !important; }
.single-blog__cat--diary { background-color: #5CA3F6 !important; }

.single-blog__date-box .date {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #111;
  margin: 0;
}

/* ------------------------------------------
   2. タイトル ＆ アイキャッチ画像
   ------------------------------------------ */
.single-blog__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin-top: 0;
  margin-bottom: 40px;
  text-align: left;
  letter-spacing: 0.02em;
}

.single-blog__img-wrap {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 20px; /* サイト全体のトーンに合わせた角丸 */
}

.single-blog__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ------------------------------------------
   3. 記事本文エリア（下線装飾）
   ------------------------------------------ */
.single-blog__body {
  width: 100%;
  text-align: left;
  padding-bottom: 40px;
  border-bottom: 1px solid #111; /* 本文直下の下線 */
  margin-bottom: 60px;
  box-sizing: border-box;
}

.single-blog__body p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-top: 0;
  margin-bottom: 24px;
}
.single-blog__body p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------
   4. 前後・一覧ナビゲーション（完全真ん中寄せ仕様）
   ------------------------------------------ */
.single-blog__navigation {
  display: flex;
  align-items: center;
  justify-content: center; /* 要素をすべて真ん中寄せ */
  gap: 20px;               /* 要素間の隙間を均一に20pxへ固定 */
  width: 100%;
}

.single-blog__nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 一覧に戻るボタンの配置エリア（横幅を240pxに維持） */
.single-blog__nav-item--back {
  flex: 0 0 240px;
  width: 240px;
}

/* 前の記事・次の記事リンクテキスト */
.single-blog__nav-link {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.single-blog__nav-link:hover {
  color: #FF8C9B;
}

/* 一覧に戻るボタン（黒カプセル型＋指定のドロップシャドウ） */
.single-blog__btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  background-color: #000;
  color: #FFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.05em;
  box-sizing: border-box;
  filter: drop-shadow(5px 9px 0 rgba(158, 158, 158, 0.70)); /* 指示通りの影エフェクト */
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {

  .single-blog__meta {
    gap: 12px;
    margin-bottom: 20px;
  }

  .single-blog__cat {
    width: 100px;
    font-size: 12px;
    padding: 6px 0;
  }

  .single-blog__date-box .date {
    font-size: 14px;
  }

  .single-blog__title {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .single-blog__img-wrap {
    margin-bottom: 25px;
    border-radius: 12px;
  }

  .single-blog__body {
    padding-bottom: 30px;
    margin-bottom: 40px;
  }
  .single-blog__body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* スマホ版ナビゲーションの調整（1画面内に破綻なく収める設定） */
  .single-blog__navigation {
    gap: 12px;
  }

  .single-blog__nav-item--back {
    flex: 0 0 160px;
    width: 160px;
  }

  .single-blog__btn-back {
    height: 46px;
    font-size: 14px;
  }

  .single-blog__nav-link {
    font-size: 14px;
  }
}




/* ==========================================
   ブログ一覧ページ（archive）固有レイアウト
   ========================================== */
.archive-blog {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.archive-blog__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.archive-blog__nav-wrap {
  width: 100%;
  margin-bottom: 60px;
}

/* ------------------------------------------
   【修正】共通アンカーリンクコンポーネントの完全同期・拡張
   ------------------------------------------ */
.common-anchor {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.common-anchor__item {
  /* 3つボタンが並ぶため、完全に綺麗な3等分横並び幅を計算 */
  flex: 0 0 calc((100% - (24px * 2)) / 3);
  box-sizing: border-box;
}

.common-anchor__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* テキスト中央寄せ */
  width: 100%;
  height: 64px;
  padding: 0 40px;
  border-radius: 50px;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 5px 9px 0 0 rgba(158, 158, 158, 0.70); /* 指定の影指定 */
}

.common-anchor__arrow {
	position: absolute;
	right: 24px;
	top: 50%;
	margin-top: -8px;
	display: inline-block;
	width: 11px;
	height: 12px;
	transform: rotate(45deg);
	box-sizing: border-box;
}

/* --- 【指示完全反映】カテゴリナビ個別指定色 --- */
/* 1. すべてみる：#000 */
.common-anchor__link--black {
  background-color: #000;
  color: #FFF;
}
.common-anchor__link--black .common-anchor__arrow {
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}

/* 2. お知らせ：#FF8C9B */
.common-anchor__link--pink {
  background-color: #FF8C9B;
  color: #FFF;
}
.common-anchor__link--pink .common-anchor__arrow {
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}

/* 3. 農場の日常：#5CA3F6 */
.common-anchor__link--blue {
  background-color: #5CA3F6;
  color: #FFF;
}
.common-anchor__link--blue .common-anchor__arrow {
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}

/* ------------------------------------------
   2×4 投稿リンク一覧グリッド
   ------------------------------------------ */
.archive-blog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列グリッド */
  gap: 60px 30px;
  width: 100%;
  margin-bottom: 80px;
}

.archive-blog__card {
  width: 100%;
  box-sizing: border-box;
}

.archive-blog__link {
  text-decoration: none;
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}
.archive-blog__link:hover {
  opacity: 0.9;
}

.archive-blog__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #FFF;
  margin-bottom: 18px;
  border-radius: 20px; /* 詳細ページと統一した美しい角丸 */
}

.archive-blog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.archive-blog__link:hover .archive-blog__img {
  transform: scale(1.04);
}

.archive-blog__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 15px;
}

/* カテゴリタグバッジ（カプセル型） */
.archive-blog__cat {
  display: block;
  width: 120px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #FFF;
  background-color: #49A13E; /* 未分類などのデフォルト緑 */
  padding: 8px 0;
  text-align: center;
  border-radius: 50px;
  flex-shrink: 0;
}

/* 記事カード内カテゴリカラー分岐（スラッグ別） */
.archive-blog__cat--news,
.archive-blog__cat--oshirase {
  background-color: #FF8C9B !important; /* お知らせ：ピンク */
}

.archive-blog__cat--diary,
.archive-blog__cat--nichijo {
  background-color: #5CA3F6 !important; /* 農場の日常：青 */
}

.archive-blog__date-box .date {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #111;
  margin: 0;
}

.archive-blog__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2行以上の場合は三点リーダー化 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------
   ページネーションモジュール（四角形デザイン）
   ------------------------------------------ */
.archive-blog__pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.archive-blog__pagination ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-blog__pagination ul.page-numbers li a,
.archive-blog__pagination ul.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  box-sizing: border-box;
  border: 1px solid #000;
  background-color: #FFF;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.archive-blog__pagination ul.page-numbers li a:hover {
  background-color: #FF8C9B; /* ホバー時はブランドのピンク */
  color: #FFF;
  border-color: #FF8C9B;
}

.archive-blog__pagination ul.page-numbers li span.current {
  background-color: #000; /* 現在地は黒背景に白文字 */
  color: #FFF;
  cursor: default;
}

.archive-blog__pagination ul.page-numbers li span.dots {
  border: none;
  background: transparent;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {

  /* ナビを縦積みに変更 */
  .common-anchor {
    flex-direction: column;
    gap: 12px;
  }

  .common-anchor__item {
    flex: 0 0 100%;
    width: 100%;
  }

  .common-anchor__link {
    height: 54px;
    padding: 0 30px;
    font-size: 14px;
    box-shadow: 4px 6px 0 0 rgba(158, 158, 158, 0.70);
  }

  .common-anchor__arrow {
    right: 20px;
  }

  /* グリッドを1列に変更 */
  .archive-blog__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
  }

  .archive-blog__img-wrap {
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .archive-blog__meta {
    gap: 12px;
    margin-bottom: 10px;
  }

  .archive-blog__cat {
    width: 100px;
    font-size: 12px;
    padding: 6px 0;
  }

  .archive-blog__date-box .date {
    font-size: 14px;
  }

  .archive-blog__title {
    font-size: 16px;
  }

  .archive-blog__pagination ul.page-numbers li a,
  .archive-blog__pagination ul.page-numbers li span {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}




/* ==========================================
   和豚もちぶたについてページ 固有全体レイアウト
   ========================================== */
.sub-page--waton .sub-page__content {
	background-image: url('images/bg-blue.jpg');
}


/* アンカーリンクナビゲーションの配置調整（枠の余白のみ保持） */
.sub-page__anchor-nav {
  margin-bottom: 90px;
}


/* ==========================================
   イントロダクションセクション スタイル（PC版）
   ========================================== */
.waton-intro {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 120px;
}

.waton-intro__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* 左右画像と中央テキストを並べるフレックス */
.waton-intro__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* 
   HTMLの順序（テキスト→左画像→右画像）をPC版で「左→中→右」に並び替えるorder制御
*/
.waton-intro__img-left {
  order: 1;
  width: 28%;
  max-width: 310px;
}

.waton-intro__body {
  order: 2;
  width: 65%;
  text-align: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.waton-intro__img-right {
  order: 3;
  width: 32%;
  max-width: 350px;
}

/* 画像共通設定 */
.waton-intro__img-left img,
.waton-intro__img-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------
   イントロ内テキストスタイル定義
   ------------------------------------------ */
/* 緑色の文字を定義する共通クラス */
.u-color-green {
  color: #49A13E !important;
}

/* キャッチコピー（48px / Bold） */
.waton-intro__catch {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin: 0 0 35px 0;
  letter-spacing: 0.02em;
}

/* 本文（20px / Bold） */
.waton-intro__text {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-align: center; /* 両端揃え */
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  /* 
     SP版レイアウト組み替え：
     PC版のorderをリセット（初期化）し、自動的に「1. テキスト」「2. 左画像」「3. 右画像」の順で縦並びに変形
  */
  .waton-intro {
    padding-bottom: 50px;
  }

  .waton-intro__flex {
    flex-direction: column;
    gap: 40px;
  }

  .waton-intro__body,
  .waton-intro__img-left,
  .waton-intro__img-right {
    order: initial;
    width: 100%;
    max-width: 100%;
  }

  /* スマホ版テキストサイズダウン */
  .waton-intro__catch {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .waton-intro__text {
    font-size: 15px;
    line-height: 1.7;
  }

  /* 画像のスマホ横幅調整（ストッパー設定） */
  .waton-intro__img-left,
  .waton-intro__img-right {
    max-width: 320px;
    margin: 0 auto;
  }
}



/* ==========================================
   1. FEATURE 和豚もちぶたの3つの特徴（PC版）
   ========================================== */
.waton-feature {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: url('images/bg-pink.jpg'); /* ピンク壁紙 */
  background-repeat: repeat;
  box-sizing: border-box;
}

.waton-feature__inner.w-1100,
.waton-secret__inner.w-1100,
.waton-recipe__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* セクション共通見出し（緑色トーン） */
.waton-feature__header,
.waton-secret__header {
  text-align: center;
  margin-bottom: 70px;
}

.waton-feature__title,
.waton-secret__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E; /* 緑色 */
  line-height: 1.0;
}

.waton-feature__subtitle,
.waton-secret__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

/* 特徴・食べ方 共通フレックス行レイアウト */
.waton-feature__list,
.waton-recipe__list {
  display: flex;
  flex-direction: column;
  gap: 80px; /* ブロック間の縦の隙間 */
  width: 100%;
}

.waton-feature__item,
.waton-recipe__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

/* 【特徴02：右画像・左テキスト反転制御】 */
.waton-feature__item--reverse {
  flex-direction: row-reverse;
}

/* 【食べ方一括：すべて右画像・左テキスト反転制御】 */
.waton-recipe__item {
  flex-direction: row-reverse;
}

/* 画像ラッパー（角丸＋高精細ソリッドシャドウを適用） */
.waton-feature__img-wrap,
.waton-recipe__img-wrap {
  width: 48%;
  flex-shrink: 0;
  border-radius: 20px; /* 指示：角丸付き */
  box-shadow: 11px 11px 0 0 rgba(158, 158, 158, 0.70); /* FAQと統一の立体影 */
  overflow: hidden;
  background-color: #FFF;
}

.waton-feature__img,
.waton-recipe__img {
  width: 100%;
  height: auto;
  display: block;
}

.waton-feature__body,
.waton-recipe__body {
  flex-grow: 1;
  text-align: left;
}

/* アイテム内見出し（緑色） */
.waton-feature__item-title {
  font-size: 24px;
  font-weight: 700;
  color: #49A13E;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.waton-feature__item-text,
.waton-recipe__item-text {
  font-size: 16px;
  line-height: 1.8;
  color: #111;
  margin: 0;
  text-align: justify;
}


/* ==========================================
   2. SECRET おいしさの秘密（PC版）
   ========================================== */
.waton-secret {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: url('images/bg-blue.jpg'); /* 青色壁紙 */
  background-repeat: repeat;
  box-sizing: border-box;
}

/* 3つ横並びグリッドレイアウト */
.waton-secret__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
}

.waton-secret__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* 丸い画像ラッパー */
.waton-secret__img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%; /* 指示：丸い画像 */
  box-shadow: 11px 11px 0 0 rgba(158, 158, 158, 0.70);
  overflow: hidden;
  margin-bottom: 25px;
  background-color: #FFF;
  flex-shrink: 0;
}

.waton-secret__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.waton-secret__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #49A13E; /* 見出しは緑色 */
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.waton-secret__card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #111;
  margin: 0;
  text-align: justify;
}


/* ==========================================
   3. RECIPE おすすめの食べ方（PC版）
   ========================================== */
.waton-recipe {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 0; /* 最末尾はスペーサーで余白制御するため0 */
  background-image: url('images/bg-pink.jpg'); /* ピンク壁紙 */
  background-repeat: repeat;
  box-sizing: border-box;
}

/* セクション見出し（青色指定へのローカライズ） */
.waton-recipe__header {
  text-align: center;
  margin-bottom: 70px;
}

.waton-recipe__title {
  font-size: 64px;
  font-weight: 700;
  color: #5CA3F6; /* 指示：青色 */
  line-height: 1.0;
}

.waton-recipe__subtitle {
  font-size: 20px;
  color: #5CA3F6;
  display: block;
  margin-top: 5px;
}

/* アイテム内見出し（青色） */
.waton-recipe__item-title {
  font-size: 24px;
  font-weight: 700;
  color: #5CA3F6; /* 青色 */
  margin: 0 0 20px 0;
  line-height: 1.4;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .waton-feature,
  .waton-secret,
  .waton-recipe {
    padding-top: 50px;
    padding-bottom: 50px; /* スマホ時の上下端50px規約 */
  }

  .waton-feature__header,
  .waton-secret__header,
  .waton-recipe__header {
    margin-bottom: 40px;
  }

  .waton-feature__title,
  .waton-secret__title,
  .waton-recipe__title {
    font-size: 36px;
  }

  .waton-feature__subtitle,
  .waton-secret__subtitle,
  .waton-recipe__subtitle {
    font-size: 13px;
  }

  /* ------------------------------------------
     特徴・食べ方ブロック：SP版縦積み変形
     HTML上の記述順を活かし、すべて「画像が上、テキストが下」の流れる並びへ統一します。
     ------------------------------------------ */
  .waton-feature__list,
  .waton-recipe__list {
    gap: 50px;
  }

  .waton-feature__item,
  .waton-recipe__item {
    flex-direction: column !important; /* PC版の反転(row-reverse)を一括解除して縦積み */
    gap: 20px;
  }

  .waton-feature__img-wrap,
  .waton-recipe__img-wrap {
    width: 100%;
    max-width: 340px; /* スマホ画面で横に広がりすぎないストッパー */
    margin: 0 auto;
    box-shadow: 6px 6px 0 0 rgba(158, 158, 158, 0.70); /* 影のスケールダウン */
  }

  .waton-feature__item-title,
  .waton-recipe__item-title {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center; /* スマホ時は見出しを中央寄せで見やすく */
  }

  .waton-feature__item-text,
  .waton-recipe__item-text {
    font-size: 14px;
    line-height: 1.7;
  }

  /* ------------------------------------------
     秘密グリッド：SP版1列縦積み変形
     ------------------------------------------ */
  .waton-secret__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .waton-secret__img-wrap {
    width: 130px;
    height: 130px;
    margin-bottom: 15px;
    box-shadow: 6px 6px 0 0 rgba(158, 158, 158, 0.70);
  }

  .waton-secret__card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .waton-secret__card-text {
    font-size: 14px;
    line-height: 1.6;
  }
}




/* ==========================================
   ページ全体背景・レイアウト構造（ABOUT専用）
   ========================================== */
/* 【指示反映】ABOUTページ固有のピンク色壁紙画像を敷き詰める記述 */
.sub-page--about .sub-page__content {
  position: relative;
  z-index: 1;
  margin-top: -50px; /* ヒーローの角丸切り欠きへの潜り込ませ */
  padding-top: 100px; 
  padding-bottom: 120px;
  background-image: url('images/bg-pink.jpg');
  background-repeat: repeat;
}

/* ==========================================
   イントロダクションセクション スタイル（PC版）
   ========================================== */
.about-intro {
  width: 100%;
  box-sizing: border-box;
}

/* 左右画像と中央テキストを並べるフレックスコンテナ */
.about-intro__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

/* 
   HTMLの記述順（テキスト→左画像→右画像）を、
   PC版で「左画像」「中央テキスト」「右画像」の順へorder並び替え
*/
.about-intro__img-left {
  order: 1;
  width: 26%;
  max-width: 360px;
}

.about-intro__body {
  order: 2;
  width: 65%;
  text-align: center;
  padding: 0 15px;
  box-sizing: border-box;
}

.about-intro__img-right {
  order: 3;
  width: 26%;
  max-width: 360px;
}

.about-intro__img-left img,
.about-intro__img-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------
   イントロ内テキスト・カラー指定の完全再現
   ------------------------------------------ */
/* 指示通りの3色出し分け指定 */
.u-color-pink { color: #FF8C9B !important; }
.u-color-green { color: #49A13E !important; }
.u-color-blue { color: #5CA3F6 !important; }

/* キャッチコピー（48px / Bold / 中央寄せ） */
.about-intro__catch {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 35px 0;
  text-align: center;
  letter-spacing: 0.02em;
}

/* 本文（20px / Bold / 中央寄せ） */
.about-intro__text {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: center;
}

/* 注釈（中央寄せ / 指定カラー#919191） */
.about-intro__note {
  font-size: 16px;
  color: #919191;
  margin: 0;
  text-align: center;
}


/* ==========================================
   BUSINESS 事業内容セクション（PC版幅1100px）
   ========================================== */
.about-business {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
  background-image: url('images/bg-blue.jpg') !important; /* 指示：青色壁紙画像 */
  background-repeat: repeat;
  box-sizing: border-box;
}

.about-business__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* 見出し（緑色指定） */
.about-business__header {
  text-align: center;
  margin-bottom: 70px;
}

.about-business__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E;
  line-height: 1.0;
}

.about-business__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

/* ブロック同士の縦の隙間 */
.about-business__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
}

/* 左右並列フレックスブロック */
.about-business__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

/* 肥育事業用の右画像・左テキスト反転処理 */
.about-business__item--reverse {
  flex-direction: row-reverse;
}

/* 画像領域（角丸＋立体的なドロップシャドウを適用） */
.about-business__img-wrap {
  width: 48%;
  flex-shrink: 0;
  border-radius: 20px; /* 指示：角丸付き */
  box-shadow: 11px 11px 0 0 rgba(158, 158, 158, 0.70); /* 立体影 */
  overflow: hidden;
  background-color: #FFF;
}

.about-business__img {
  width: 100%;
  height: auto;
  display: block;
}

.about-business__body {
  flex-grow: 1;
  text-align: left;
}

/* 各事業タイトル（緑色） */
.about-business__item-title {
  font-size: 24px;
  font-weight: 700;
  color: #49A13E;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.about-business__item-text {
  font-size: 16px;
  line-height: 1.8;
  color: #111;
  margin: 0;
  text-align: justify;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  /* スマホ版上下端50px規約の適用 */
  .sub-page--about .sub-page__content,
  .about-business {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* ------------------------------------------
     イントロSP版：縦積み変形
     ------------------------------------------ */
  .about-intro__flex {
    flex-direction: column;
    gap: 35px;
  }

  /* orderを初期化して「テキスト→左画像→右画像」の順で流す */
  .about-intro__body,
  .about-intro__img-left,
  .about-intro__img-right {
    order: initial;
    width: 100%;
    max-width: 100%;
  }

  .about-intro__catch {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .about-intro__text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .about-intro__note {
    font-size: 13px;
  }

  .about-intro__img-left,
  .about-intro__img-right {
    max-width: 320px;
    margin: 0 auto;
  }

  /* ------------------------------------------
     事業内容SP版：縦積み変形
     ------------------------------------------ */
  .about-business__header {
    margin-bottom: 40px;
  }

  .about-business__title { font-size: 36px; }
  .about-business__subtitle { font-size: 13px; }

  .about-business__list {
    gap: 50px;
  }

  .about-business__item {
    flex-direction: column !important; /* PC版の左右交互指定を一括クリア */
    gap: 20px;
  }

  .about-business__img-wrap {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    box-shadow: 6px 6px 0 0 rgba(158, 158, 158, 0.70); /* 影の縮小 */
  }

  .about-business__item-title {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center;
  }

  .about-business__item-text {
    font-size: 14px;
    line-height: 1.7;
  }
}




/* ==========================================
   FEATURE 若槻養豚の3つの強み セクション固有スタイル
   ========================================== */
.about-feature {
  width: 100%;
  background-image: url('images/bg-pink.jpg'); /* ベース背景：ピンク壁紙 */
  background-repeat: repeat;
  box-sizing: border-box;
  padding-bottom: 120px;
}

/* 上部：豚舎背景画像エリア */
.about-feature__hero {
  width: 100%;
  background-image: url('images/about-feature-bg.jpg'); /* 豚舎の背景画像 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 100px 20px 180px; /* カードが被るように下部余白を広く確保 */
  box-sizing: border-box;
}

/* 大見出し（文字色を完全に白に固定＋テキストシャドウ） */
.about-feature__title {
  font-size: 128px;
  font-weight: 700;
  line-height: 1.0;
  color: #FFF;
  text-shadow: 0 0 8px #121212;
  margin: 0;
}

/* 白い線 */
.about-feature__line {
  width: 850px;
  max-width: 100%;
  height: 3px;
  background-color: #FFF;
  margin: 20px auto;
}

/* 日本語見出し（文字色を完全に白に固定＋テキストシャドウ） */
.about-feature__subtitle {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #FFF;
  text-shadow: 0 0 8px #121212;
  margin-bottom: 25px;
}

/* リード文（文字色を完全に白に固定＋テキストシャドウ） */
.about-feature__lead {
  font-size: 20px;
  line-height: 1.8;
  color: #FFF;
  text-shadow: 0 0 8px #121212;
  margin: 0;
}

/* 3つ横並びカードグリッド配置エリア（ネガティブマージンで100px上に食い込ませる） */
.about-feature__grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  margin-top: -100px;
}

/* 各ボックスカードスタイル（画像横一杯フィットの為に左右パディングは0） */
.about-feature__card {
  position: relative;
  flex: 1;
  background-color: #E5FFE2; /* 薄緑背景 */
  border-radius: 20px;
  box-shadow: 11px 11px 0 0 rgba(158, 158, 158, 0.70);
  padding: 50px 0 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 緑の下半円バッジ */
.about-feature__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 37px;
  background-color: #49A13E;
  border-radius: 0 0 50px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.about-feature__badge-num {
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  line-height: 1;
  margin-top: -3px;
}

/* カード内見出し（左右に30pxのpaddingを個別設定） */
.about-feature__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #49A13E;
  text-align: center;
  margin: 10px 0 25px;
  padding: 0 30px;
  line-height: 1.4;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* 画像ラッパー（w100%でボックスの幅いっぱいにフィット） */
.about-feature__card-img {
  width: 100%;
  margin-bottom: 25px;
  overflow: hidden;
}

.about-feature__card-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* カード内本文（左右に30pxのpaddingを個別設定） */
.about-feature__card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin: 0;
  padding: 0 30px;
  text-align: justify;
  box-sizing: border-box;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .about-feature {
    padding-bottom: 50px;
  }
  
  .about-feature__hero {
    padding: 60px 15px 120px;
  }

  .about-feature__title {
    font-size: 54px;
  }

  .about-feature__subtitle {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .about-feature__lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .about-feature__grid {
    flex-direction: column;
    gap: 45px;
    margin-top: -60px; /* スマホ時の食い込み量調整 */
  }

  .about-feature__card {
    width: 100%;
    padding: 40px 0 30px; /* 左右paddingは0を維持 */
    box-shadow: 6px 6px 0 0 rgba(158, 158, 158, 0.70);
  }

  .about-feature__card-title {
    font-size: 18px;
    min-height: auto;
    margin: 10px 0 15px;
    padding: 0 20px; /* テキストのみ左右余白 */
  }

  .about-feature__card-img {
    margin-bottom: 15px;
  }

  .about-feature__card-text {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 20px; /* テキストのみ左右余白 */
  }
}




/* ==========================================
   PRODUCTION 生産体制 セクション全体定義
   ========================================== */
.about-production {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
  background-image: url('images/bg-blue.jpg'); /* 青色壁紙画像 */
  background-repeat: repeat;
  box-sizing: border-box;
  text-align: center;
}

.about-production__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.about-production__header {
  margin-bottom: 45px;
}

.about-production__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E; /* 緑色 */
  line-height: 1.0;
}

.about-production__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

.about-production__lead {
  font-size: 20px;
  line-height: 1.9;
  color: #111;
  margin: 0;
  display: inline-block;
  text-align: center;
}

/* --- ステップボックス配置コンテナ --- */
.about-production__steps-wrap {
  width: 100%;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ------------------------------------------
   STEP共通ボックス（角丸・指定の超立体シャドウ）
   ------------------------------------------ */
.about-production__step-box {
  position: relative;
  width: 100%;
  border-radius: 20px;
  box-shadow: 15px 16px 0 0 rgba(166, 166, 166, 0.70);
  padding: 65px 0 0 0; /* マップ全幅フィットのため左右余白は0 */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.about-production__step-box--step01 { background-color: #E5FFE2; }
.about-production__step-box--step02 { background-color: #FFF2F6; }
.about-production__step-box--step03 { 
  background-color: #E1F1FF; 
  padding-bottom: 50px;
}

/* ------------------------------------------
   【修正】左上の食い込み型カプセルラベル（内側へオフセット）
   ------------------------------------------ */
.about-production__step-label {
  position: absolute;
  top: 0;
  left: 30px; /* 【修正】端っこいっぱいではなく、少し内側（右）に移動 */
  transform: translateY(-50%);
  background-color: #FFF;
  height: 56px;
  padding: 0 35px 0 0;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  z-index: 5;
}

/* 【修正】ステップ数字エリア（完璧な正円化 ＆ 縦並び・数字大の具現化） */
.about-production__step-label-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;  /* 【修正】縦横を固定して綺麗な「正円」を形成 */
  height: 76px;
  border-radius: 50%;
  color: #FFF;
  flex-shrink: 0;
  font-size: 0; /* HTML側のプレーンテキストを非表示化し、擬似要素で制御 */
  line-height: 1.1;
  margin-left: -1px; /* 白カプセルとの視覚的結合の微調整 */
}

/* STEP 01: 緑色の正円 ＆ 縦並び */
.about-production__step-label-num--step01 { background-color: #49A13E; }
.about-production__step-label-num--step01::before { content: "STEP"; font-size: 10px; font-weight: 700; }
.about-production__step-label-num--step01::after { content: "01"; font-size: 24px; font-weight: 700; margin-top: -2px; }

/* STEP 02: ピンク色の正円 ＆ 縦並び */
.about-production__step-label-num--step02 { background-color: #FF8C9B; }
.about-production__step-label-num--step02::before { content: "STEP"; font-size: 10px; font-weight: 700; }
.about-production__step-label-num--step02::after { content: "02"; font-size: 24px; font-weight: 700; margin-top: -2px; }

/* STEP 03: 青色の正円 ＆ 縦並び */
.about-production__step-label-num--step03 { background-color: #5CA3F6; }
.about-production__step-label-num--step03::before { content: "STEP"; font-size: 10px; font-weight: 700; }
.about-production__step-label-num--step03::after { content: "03"; font-size: 24px; font-weight: 700; margin-top: -2px; }

.about-production__step-label-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

/* ------------------------------------------
   上部：3つのプロセスフロー ＆ 矢印カスタマイズ
   ------------------------------------------ */
.about-production__flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
  margin-bottom: 45px;
  width: 100%;
  box-sizing: border-box;
}

.about-production__flow-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-production__flow-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-production__flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #FFF;
  font-size: 24px;
  font-weight: 700;
}
.about-production__flow-num--step01 { background-color: #49A13E; }
.about-production__flow-num--step02 { background-color: #FF8C9B; }

/* 【修正】透過PNGの正円画像が美しく浮き出るように背景とシャドウを透過用に最適化 */
.about-production__flow-img-wrap {
  width: 280px;
  height: 280px;
  overflow: hidden;
  margin-bottom: 15px;
  background-color: transparent; /* 透過PNGのフチが白く浮き出ないように透明化 */
}

.about-production__flow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-production__flow-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  max-width: 330px;
}

/* 【修正】横向きプロセス矢印の大型化（厚み4px） */
.about-production__flow-arrow {
  display: block;
  width: 30px;
  height: 30px;
  border-top: 4px solid #B5B5B5;
  border-right: 4px solid #B5B5B5;
  transform: rotate(45deg);
  margin: 0 20px;
  flex-shrink: 0;
}

/* 【修正】ステップに合わせた矢印のカラー連動 */
.about-production__step-box--step01 .about-production__flow-arrow {
  border-top-color: #49A13E;
  border-right-color: #49A13E;
}
.about-production__step-box--step02 .about-production__flow-arrow {
  border-top-color: #FF8C9B;
  border-right-color: #FF8C9B;
}

/* ------------------------------------------
   中段：白いデータボックス
   ------------------------------------------ */
.about-production__info-box {
  background-color: #FFF;
  margin: 0 45px 45px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.about-production__info-flex {
  display: flex;
  align-items: center;
  width: 100%;
}

.about-production__info-col {
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
}

.about-production__info-col--count {
  width: 330px;
  flex-shrink: 0;
}

.about-production__info-col--business {
  flex-grow: 1;
}

.about-production__info-label {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-production__info-value {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

/* 【修正】主な業務の本文テキストカラーをステップに完全連動 */
.about-production__step-box--step01 .about-production__info-value {
  color: #49A13E; /* STEP01: 緑色 */
}
.about-production__step-box--step02 .about-production__info-value {
  color: #FF8C9B; /* STEP02: ピンク色 */
}

/* 仕切り縦線 */
.about-production__info-line {
  width: 1px;
  margin: 15px 0;
  background-color: #000;
  flex-shrink: 0;
  align-self: stretch;
}

/* 右側施設画像 */
.about-production__info-img-wrap {
  width: 340px;
  align-self: stretch;
  flex-shrink: 0;
  overflow: hidden;
}

.about-production__info-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* STEP03独自調整 */
.about-production__info-box--step03 { margin-bottom: 0; }
.about-production__info-flex--step03 { justify-content: space-between; }

.about-production__step03-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
  padding: 40px;
  text-align: left;
}

/* ------------------------------------------
   下段：Google Map（高さ450px）
   ------------------------------------------ */
.about-production__map {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.about-production__map iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ------------------------------------------
   【修正】ボックス間の大矢印（js-fadeによる回転バグを完全解決）
   ------------------------------------------ */
.about-production__separator-arrow {
  display: block;
  position: relative;
  width: 36px;
  height: 36px;
  margin: 50px 0;
  /* 
     【バグ解決】ベースコンテナ自体のtransform定義を一切無くすことで、
     JavaScript(js-fade)が実行時に上書きするインラインのtransform干渉による
     回転角度リセット（真っ直ぐに戻ってしまうバグ）を完全に根絶しました。
  */
}

.about-production__separator-arrow::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-bottom: 4px solid #111;
  border-right: 4px solid #111;
  transform: rotate(45deg) !important; /* 回転コードを安全な擬似要素へ退避・固定 */
  box-sizing: border-box;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .about-production {
    padding-top: 50px;
    padding-bottom: 50px; /* スマホ上下端50pxの共通規約 */
  }

  .about-production__header { margin-bottom: 25px; }
  .about-production__title { font-size: 36px; }
  .about-production__subtitle { font-size: 13px; }
  
  .about-production__lead {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }

  .about-production__steps-wrap { margin-top: 50px; }

  .about-production__step-box {
    padding-top: 45px;
    box-shadow: 8px 10px 0 0 rgba(166, 166, 166, 0.70);
  }
  .about-production__step-box--step03 { padding-bottom: 30px; }

  /* 【修正連動】SP版ラベル位置微調整 */
  .about-production__step-label {
    height: 44px;
    left: 15px; /* スマホ画面幅に合わせて左余白を15pxに最適化 */
    padding-right: 20px;
  }
  
  /* 【修正連動】SP版正円ラベルのスケールダウン */
  .about-production__step-label-num {
    width: 60px;
    height: 60px;
  }
  .about-production__step-label-num--step01::before,
  .about-production__step-label-num--step02::before,
  .about-production__step-label-num--step03::before { font-size: 8px; }
  .about-production__step-label-num--step01::after,
  .about-production__step-label-num--step02::after,
  .about-production__step-label-num--step03::after { font-size: 18px; margin-top: -1px; }

  .about-production__step-label-title { font-size: 16px; }

  /* プロフロー縦積み変形 */
  .about-production__flow {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 35px;
  }

  .about-production__flow-title { font-size: 16px; }
  .about-production__flow-img-wrap { width: 120px; height: 120px; margin-bottom: 10px; }
  .about-production__flow-text { font-size: 14px; max-width: 100%; }

  /* 【修正連動】SP版：プロセスの大矢印を下向き（135deg）へ変更・カラー維持 */
  .about-production__flow-arrow {
    width: 18px;
    height: 18px;
    border-top-width: 3px;
    border-right-width: 3px;
    transform: rotate(135deg); /* 下向き */
    margin: 10px 0;
  }

  /* 白ボックス縦積み化 */
  .about-production__info-box { margin: 0 20px 30px; }
  
  .about-production__info-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .about-production__info-col {
    padding: 20px;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;
  }

  .about-production__info-value { font-size: 16px; }
  .about-production__info-value--step01,
  .about-production__info-value--step02 { font-size: 22px; }

  /* 仕切り線をスマホ用横線へ変形 */
  .about-production__info-line {
    width: 80%;
    height: 1px;
    margin: 0 auto;
    background-color: #E2E2E2;
  }

  .about-production__info-img-wrap { width: 100%; height: 180px; }
  .about-production__step03-text { font-size: 14px; line-height: 1.6; padding: 25px 20px; text-align: center; }

  .about-production__map { height: 300px; }

  /* 【修正連動】SP版：大矢印のサイズ微調整 */
  .about-production__separator-arrow {
    width: 24px;
    height: 24px;
    margin: 35px 0;
  }
  .about-production__separator-arrow::after {
    border-bottom-width: 3px;
    border-right-width: 3px;
  }
}




/* ==========================================
   求人情報ページ（recruit）全体レイアウト設定
   ========================================== */
/* 特定の詳細度で求人情報ページ専用のピンク色壁紙背景を適用 */
.sub-page--recruit .sub-page__content {
  position: relative;
  z-index: 1;
  margin-top: -50px; /* ヒーローの角丸切り欠きへの潜り込ませ */
  padding-top: 100px;
  background-image: url('images/bg-pink.jpg');
  background-repeat: repeat;
}

/* アンカーナビゲーションの配置下部余白 */
.sub-page__anchor-nav {
  margin-bottom: 90px;
}

/* ------------------------------------------
   1. イントロダクションセクション（最大幅1100px）
   ------------------------------------------ */
.recruit-intro {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 100px; /* スライダーとの縦の隙間 */
}

.recruit-intro__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.recruit-intro__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

/* 左側テキストエリア（最大幅を560pxに制限） */
.recruit-intro__body {
  flex: 1;
  width: 100%;
  max-width: 560px;
  text-align: left;
  box-sizing: border-box;
}

/* 指定3色の出し分け定義 */
.u-color-pink { color: #FF8C9B !important; }
.u-color-blue { color: #5CA3F6 !important; }
.u-color-green { color: #49A13E !important; }

/* 見出し（48px / Bold） */
.recruit-intro__catch {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin: 0 0 30px 0;
  letter-spacing: 0.03em;
}

/* 本文テキスト */
.recruit-intro__text {
  font-size: 16px;
  line-height: 1.85;
  color: #222;
  margin: 0;
  text-align: justify;
}

/* 縦長YouTubeショート埋め込み領域（9:16アスペクト比固定） */
.recruit-intro__video {
  width: 340px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  overflow: hidden;
  background-color: #000;
}

.recruit-intro__video-wrap {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16比率の完全固定計算 */
}

.recruit-intro__video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* ------------------------------------------
   2. 画像5つの交互立体スライダー（全幅横溢れ対応）
   ------------------------------------------ */
.recruit-slider {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding-bottom: 75px;
}

.recruit-slider__inner {
  width: 100%;
}

.recruit-slider__swiper {
  width: 100%;
  overflow: visible; /* 左右にはみ出させて全画面感を描写 */
}

/* 各スライドアイテムの立体拡大縮小・角丸定義 */
.recruit-slider__item {
  width: 360px; /* スライド1枚の基本横幅 */
  height: 270px;
  margin: 0 35px; /* スライド同士の衝突・詰まりを解消する適切な横隙間 */
  box-sizing: border-box;
  
  /* 初期状態（外側の退く要素）はスケールを「0.85倍」に縮小 */
  transform: scale(0.85) !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 20px; /* 角丸指定の適用 */
  overflow: hidden;
  z-index: 1;
}

.recruit-slider__img-wrap {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

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

/* 
   【立体交互高低差デザインの制御】
   中央のアクティブ要素（0.92倍）に対して、その「左右両隣（prev / next）」にあたる
   スライドを最大等倍（1.05倍）へダイナミックに浮き上がらせることで、美しい波打ちを作ります。
*/
.swiper-slide-prev.recruit-slider__item,
.swiper-slide-next.recruit-slider__item {
  transform: scale(1.05) !important;
  z-index: 10;
}

.swiper-slide-active.recruit-slider__item {
  transform: scale(0.92) !important;
  z-index: 5;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  /* スマホ上下端50px共通規約の適用 */
  .sub-page--recruit .sub-page__content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .sub-page__anchor-nav {
    margin-bottom: 40px;
  }

  /* イントロSP：縦積み変形 */
  .recruit-intro {
    margin-bottom: 50px;
  }

  .recruit-intro__flex {
    flex-direction: column;
    gap: 35px;
  }

  /* スマホ時はmax-widthの制限を初期化して横一杯にフル活用 */
  .recruit-intro__body {
    max-width: 100%;
  }

  .recruit-intro__catch {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
  }

  .recruit-intro__text {
    font-size: 14px;
    line-height: 1.75;
  }

  /* YouTubeショートSP幅制限ストッパー */
  .recruit-intro__video {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  /* スライダーSP調整 */
  .recruit-slider__item {
    width: 220px;
    height: 165px;
    margin: 0 15px; /* スマホ時は隙間も心地よいハーフサイズへ */
    border-radius: 12px;
    transform: scale(0.88) !important;
  }

  .swiper-slide-prev.recruit-slider__item,
  .swiper-slide-next.recruit-slider__item {
    transform: scale(1.02) !important;
  }

  .swiper-slide-active.recruit-slider__item {
    transform: scale(0.94) !important;
  }
}




/* ==========================================
   BENEFITS 若槻養豚で働く魅力（PC版）
   ========================================== */
.recruit-benefits {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: url('images/bg-blue.jpg'); /* 指示：青色壁紙画像 */
  background-repeat: repeat;
  box-sizing: border-box;
  text-align: center;
}

.recruit-benefits__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* セクション見出し（緑色指定） */
.recruit-benefits__header {
  margin-bottom: 30px;
}

.recruit-benefits__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E; /* ブランド緑色 */
  line-height: 1.0;
}

.recruit-benefits__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

/* セクションリード文 */
.recruit-benefits__lead {
  font-size: 20px;
  line-height: 1.8;
  color: #111;
  font-weight: 700;
  margin: 0 0 80px 0;
  display: inline-block;
}

/* 魅力ブロックの縦並びコンテナ */
.recruit-benefits__list {
  display: flex;
  flex-direction: column;
  gap: 80px; /* ブロック同士の縦の隙間 */
  width: 100%;
}

/* 
   左右交互並列フレックスブロック
   【設計のポイント】
   HTMLの構造順序（画像 → テキスト）に対して、PC版で row-reverse を一括適用します。
   これにより、画面上は「左側テキスト、右側画像」の指定デザインになり、
   スマホ版へ移行した際は自動的に「画像が上、テキストが下」の正しい順序で縦積み化します。
*/
.recruit-benefits__item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

/* 画像領域（角丸＋立体的なソリッドシャドウを適用） */
.recruit-benefits__img-wrap {
  width: 48%;
  flex-shrink: 0;
  border-radius: 20px; /* 指示：角丸付き */
  box-shadow: 11px 11px 0 0 rgba(158, 158, 158, 0.70); /* 他セクション共通の立体影 */
  overflow: hidden;
  background-color: #FFF;
}

.recruit-benefits__img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストコンテンツブロック */
.recruit-benefits__body {
  flex-grow: 1;
  text-align: left;
}

/* アイテム内見出し（緑色） */
.recruit-benefits__item-title {
  font-size: 24px;
  font-weight: 700;
  color: #49A13E; /* 緑色 */
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* アイテム内本文 */
.recruit-benefits__item-text {
  font-size: 16px;
  line-height: 1.85;
  color: #111;
  margin: 0;
  text-align: justify;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  /* スマホ版上下端50px規約の適用 */
  .recruit-benefits {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .recruit-benefits__header {
    margin-bottom: 20px;
  }

  .recruit-benefits__title {
    font-size: 36px;
  }

  .recruit-benefits__subtitle {
    font-size: 13px;
  }

  .recruit-benefits__lead {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 45px;
  }

  .recruit-benefits__list {
    gap: 50px;
  }

  /* 
     SP版縦積み変形：
     PC版の row-reverse を解除し column に統一することで、
     自動的に「1. 画像」「2. テキスト」の美しい縦積み流動レイアウトへ変形します。
  */
  .recruit-benefits__item {
    flex-direction: column !important;
    gap: 20px;
  }

  .recruit-benefits__img-wrap {
    width: 100%;
    max-width: 340px; /* スマホ画面で横に広がりすぎないストッパー設定 */
    margin: 0 auto;
    box-shadow: 6px 6px 0 0 rgba(158, 158, 158, 0.70); /* 影のスケールダウン */
  }

  .recruit-benefits__item-title {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center; /* スマホ時は見出しを中央寄せで見やすく */
  }

  .recruit-benefits__item-text {
    font-size: 14px;
    line-height: 1.7;
  }
}




/* ==========================================
   INTERVIEW 社員インタビューセクション（PC版）
   ========================================== */
.recruit-interview {
  position: relative;
  width: 100%;
  padding-top: 100px;
  background-image: url('images/bg-white.jpg'); /* セクション背面の白色壁紙画像 */
  background-repeat: repeat;
  box-sizing: border-box;
}

/* セクション共通見出し */
.recruit-interview__header {
  text-align: center;
  margin-bottom: 90px;
}

.recruit-interview__title {
  font-size: 64px;
  font-weight: 700;
  color: #FFABAB; /* 求人ベースのピンク色 */
  line-height: 1.0;
}

.recruit-interview__subtitle {
  font-size: 20px;
  color: #FFABAB;
  display: block;
  margin-top: 5px;
}

/* インタビューリストコンテナ */
.recruit-interview__list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* 各インタビュー行（薄ピンクと透明のスプリット背景） */
.recruit-interview__item {
  width: 100%;
  padding: 100px 0;
  box-sizing: border-box;
  background-image: linear-gradient(90deg, #FFF2F6 0%, #FFF2F6 65.2%, transparent 65.2%, transparent 100%);
  margin-bottom: 120px;
}

/* 最後のブロックは下マージンを相殺 */
.recruit-interview__item:last-child {
  margin-bottom: 0;
  padding-bottom: 150px;
}

/* 偶数人目：左右反転の薄ピンク×透明グラデーション背景 */
.recruit-interview__item--reverse {
  background-image: linear-gradient(270deg, #FFF2F6 0%, #FFF2F6 65.2%, transparent 65.2%, transparent 100%);
}

/* インナーコンテナ（w-1100制御） */
.recruit-interview__item-inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* 反転時の中身フレックス並び替え */
.recruit-interview__item--reverse .recruit-interview__item-inner {
  flex-direction: row-reverse;
}

/* --- Q&Aテキストエリア --- */
.recruit-interview__body {
  width: 52%;
  box-sizing: border-box;
}

.recruit-interview__dl {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* 質問（Q）の文字色 */
.recruit-interview__dt {
  color: #FFABAB;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* 回答（A）の本文 */
.recruit-interview__dd {
  margin-left: 0;
  margin-bottom: 35px;
  text-align: justify;
}

.recruit-interview__dd:last-child {
  margin-bottom: 0;
}

/* --- 写真 ＆ 見出しバッジエリア --- */
.recruit-interview__visual-wrap {
  width: 43%;
  flex-shrink: 0;
}

.recruit-interview__image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  box-shadow: 11px 11px 0 0 rgba(158, 158, 158, 0.50);
  overflow: visible;
}

.recruit-interview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* 名前とキャッチコピーの見出しボックス */
.recruit-interview__profile {
  position: absolute;
  bottom: -35px;
  right: -60px;
  background-color: #FFABAB;
  padding: 25px 30px;
  box-sizing: border-box;
  text-align: right;
  min-width: 400px;
  border-radius: 20px;
  box-shadow: 11px 11px 0 0 rgba(158, 158, 158, 0.40);
  z-index: 5;
}

.recruit-interview__item--reverse .recruit-interview__profile {
  right: auto;
  left: -60px;
}

.recruit-interview__catch {
  display: block;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 15px;
  text-align: left;
}

.recruit-interview__name {
  color: #FFF;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 4px;
}

.recruit-interview__meta {
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  .recruit-interview {
    padding-top: 50px;
  }

  .recruit-interview__header {
    margin-bottom: 40px;
  }

  .recruit-interview__title { font-size: 36px; }
  .recruit-interview__subtitle { font-size: 13px; }

  /* スマホ版縦積み変形 */
  .recruit-interview__item {
    padding: 50px 0;
    background-image: none !important;
    background-color: #FFF2F6; /* 奇数人は全面薄ピンク */
    margin-bottom: 50px;
  }

  .recruit-interview__item:last-child {
    margin-bottom: 0;
    padding-bottom: 70px;
  }

  /* 偶数人目はスマホ時全面透明（背面壁紙透過）に切り替えて交互感を維持 */
  .recruit-interview__item:nth-child(even) {
    background-color: transparent;
  }

  .recruit-interview__item-inner.w-1100 {
    flex-direction: column !important;
    gap: 40px;
    padding: 0 20px;
  }

  .recruit-interview__body,
  .recruit-interview__visual-wrap {
    width: 100%;
  }

  .recruit-interview__dt {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .recruit-interview__dd {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  /* 
     【バグ修正】写真コンテナスマホ最適化
     全体の固定アスペクト比と影を解除し、内包する「画像＋名前ボックス」の縦並びを受け入れる箱にします。
  */
  .recruit-interview__image-box {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: auto; /* 比率を解除 */
    box-shadow: none;   /* ここにかかっていた影を消すことで、右側が繋がるバグを根絶 */
  }

  /* 
     【バグ修正】画像自体にアスペクト比と固有の影を移植
     これにより、純粋に「写真だけ」に対して綺麗な独立した影がつきます。
  */
  .recruit-interview__img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 6px 6px 0 0 rgba(158, 158, 158, 0.50); /* 写真単体の影 */
  }

  /* 
     【バグ修正】見出しボックスSP仕様
     写真から完全に独立した影を持つようになり、中間の15pxの隙間が綺麗に抜けます。
  */
  .recruit-interview__profile {
    position: static;
    width: 100%;
    min-width: 100%;
    margin-top: 15px; /* 写真との間の美しい隙間 */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 6px 6px 0 0 rgba(158, 158, 158, 0.40); /* 名前ボックス単体の影 */
    box-sizing: border-box;
  }

  .recruit-interview__catch {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .recruit-interview__name {
    font-size: 24px;
  }

  .recruit-interview__meta {
    font-size: 14px;
  }
}




/* ==========================================
   WORKDAY SCHEDULE 一日の流れ（SP版画像非表示・堅牢化）
   ========================================== */
.recruit-schedule {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 120px;
  background-image: url('images/bg-blue.jpg'); /* 青色壁紙画像 */
  background-repeat: repeat;
  box-sizing: border-box;
  text-align: center;
}

.recruit-schedule__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* セクション共通見出し */
.recruit-schedule__header {
  margin-bottom: 30px;
}

.recruit-schedule__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E; /* ブランド緑 */
  line-height: 1.0;
}

.recruit-schedule__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

/* リード文 */
.recruit-schedule__lead {
  font-size: 20px;
  line-height: 1.8;
  color: #111;
  font-weight: 700;
  margin: 0 0 90px 0;
  display: inline-block;
}

/* ------------------------------------------
   タイムライン基幹構造（PC版）
   ------------------------------------------ */
.recruit-schedule__timeline {
  position: relative;
  max-width: 480px; /* 中央のタイムライン横幅 */
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  box-sizing: border-box;
}

/* 中央を貫く緑の縦ライン */
.recruit-schedule__timeline::before {
  content: "";
  position: absolute;
  top: 100px;
  bottom: 100px;
  left: 35px; /* 時間ブロック（横幅70px）の真ん中を通るように精密調整 */
  width: 4px;
  background-color: #49A13E;
  z-index: 1;
}

/* 各時間ブロックの行ラップ */
.recruit-schedule__item {
  position: relative;
  display: flex;
  align-items: center; /* 時間を右側テキストカードの「真ん中（垂直中央）」に配置 */
  gap: 30px;
  margin-bottom: 50px;
  width: 100%;
  text-align: left;
  z-index: 2;
}

.recruit-schedule__item:last-child {
  margin-bottom: 0;
}

/* 時間ブロック（正方形 ＆ 影と重ね順） */
.recruit-schedule__time-block {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 4px 4px 0 0 rgba(158, 158, 158, 0.70); /* 時間ボックスソリッド影 */
  z-index: 3; /* 裏の縦線が透けないように前面に重ねる */
}

/* 時間ブロックのトーン分け背景色 */
.recruit-schedule__time-block--work { background-color: #49A13E; }
.recruit-schedule__time-block--break { background-color: #49A13E; }

/* 右側テキストカード（ソリッド影 ＆ 吹き出し三角） */
.recruit-schedule__card {
  position: relative;
  flex-grow: 1;
  background-color: #FFF;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 5px 5px 0 0 rgba(158, 158, 158, 0.70); /* テキストボックスソリッド影 */
  box-sizing: border-box;
  z-index: 2;
}

/* カード左側の吹き出し三角 */
.recruit-schedule__card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #FFF transparent transparent; /* カード背景と同じ白の三角 */
  width: 0;
  height: 0;
  z-index: 2;
}

/* カード内見出しカラー連動 */
.recruit-schedule__card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.4;
}
.recruit-schedule__card-title--work { color: #49A13E; }
.recruit-schedule__card-title--break { color: #7CB342; }

.recruit-schedule__card-text {
  font-size: 14px;
  line-height: 1.65;
  color: #222;
  margin: 0;
  text-align: justify;
}

/* PC版の左右配置：縦長オーバル画像（透過PNG） */
.recruit-schedule__media {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 210px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12)); 
}

.recruit-schedule__media--left {
  right: 100%;
  margin-right: 50px;
}

.recruit-schedule__media--right {
  left: 100%;
  margin-left: 50px;
}

.recruit-schedule__oval-img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下修正）
   ========================================== */
@media screen and (max-width: 767px) {
  .recruit-schedule {
    padding-top: 50px;
    padding-bottom: 50px; /* スマホ上下端50px共通規約 */
  }

  .recruit-schedule__header { 
    margin-bottom: 25px; 
  }
  .recruit-schedule__title { font-size: 36px; }
  .recruit-schedule__subtitle { font-size: 13px; }

  .recruit-schedule__lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 45px;
    text-align: left;
  }

  /* ------------------------------------------
     【大改修】SP版タイムライン：画像を完全非表示化
     これにより極めて軽量で、横幅の絶対崩れない美しいレスポンシブが実現します
     ------------------------------------------ */
  
  /* 画像を完全に非表示にする */
  .recruit-schedule__media {
    display: none !important;
  }

  .recruit-schedule__timeline {
    max-width: 100%;
    padding: 0 0 0 10px; /* スマホ画面幅に合わせた最小パディング */
  }

  /* 縦線の位置を左側に精密同期（10px padding + 正方形54pxの半分27px = 37px） */
  .recruit-schedule__timeline::before {
    left: 37px;
  }

  /* 折り返しを廃止し、時間とカードが横並びで並び続ける安定したレイアウト */
  .recruit-schedule__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px; /* 左の時間と右のカードの隙間 */
    margin-bottom: 30px;
  }

  /* 時間ブロック：スマホに合わせて一回り縮小した正方形 */
  .recruit-schedule__time-block {
    width: 54px;
    height: 54px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 3px 3px 0 0 rgba(158, 158, 158, 0.70);
  }

  /* カードボックス：残り横幅を自動でいっぱいに埋める */
  .recruit-schedule__card {
    flex: 1;
    min-width: 0;
    padding: 15px 20px;
    box-shadow: 4px 4px 0 0 rgba(158, 158, 158, 0.70);
  }

  /* スマホ用の吹き出し三角のサイズ微調整 */
  .recruit-schedule__card::before {
    border-width: 8px 8px 8px 0;
    left: -8px;
  }

  .recruit-schedule__card-title {
    font-size: 16px;
  }
}




/* ==========================================
   JOB DETAILS 募集要項セクション（影なし・フラット版）
   ========================================== */
.recruit-details {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 120px;
  background-image: url('images/bg-pink.jpg'); /* ピンク色壁紙画像 */
  background-repeat: repeat;
  box-sizing: border-box;
}

.recruit-details__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* セクション共通見出し */
.recruit-details__header {
  text-align: center;
  margin-bottom: 60px;
}

.recruit-details__title {
  font-size: 64px;
  font-weight: 700;
  color: #5CA3F6; /* ライトブルー */
  line-height: 1.0;
  letter-spacing: 0.02em;
}

.recruit-details__subtitle {
  font-size: 20px;
  color: #5CA3F6;
  display: block;
  margin-top: 5px;
}

/* 募集要項テーブル全体コンテナ（行と行の間を「5px」に設定） */
.recruit-details__table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px; /* 行間の隙間：5px */
}

/* 各要項行（共通背景を撤廃し、透明なフレックスコンテナ化） */
.recruit-details__row {
  display: flex;
  align-items: stretch; /* 左右セルの高さを自動同期 */
  gap: 5px; /* th(ラベル) と td(値) の間の隙間：5px */
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  border-radius: 0;
  overflow: visible;
}

/* 左側：項目ラベル領域（th相当 / 独立した角丸フラットブロック） */
.recruit-details__label {
  width: 240px;
  background-color: #7CB5FF; /* ライトブルー背景 */
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 25px 30px;
  box-sizing: border-box;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  border-radius: 12px; /* 滑らかな角丸 */
  box-shadow: none; /* 【修正】影を完全に消去 */
}

/* 右側：内容値領域（td相当 / 全体をボールド化 ＆ 独立した角丸フラットブロック） */
.recruit-details__value {
  flex-grow: 1;
  background-color: #FFF; /* 白背景 */
  padding: 25px 35px;
  box-sizing: border-box;
  text-align: left;
  color: #222;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700; /* 規定の太字維持 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px; /* 滑らかな角丸 */
  box-shadow: none; /* 【修正】影を完全に消去 */
}

/* 仕事内容：導入文 */
.recruit-details__value-lead {
  font-weight: 700;
  margin: 0 0 15px 0;
}

/* 仕事内容：2列並びのグリッドリスト */
.recruit-details__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-details__item {
  position: relative;
  padding-left: 15px;
}

.recruit-details__item::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #222;
}

/* 各種テキスト強調 */
.recruit-details__price,
.recruit-details__time {
  font-weight: 700;
  margin: 0 0 8px 0;
}

.recruit-details__note {
  margin: 0 0 4px 0;
}
.recruit-details__note:last-child {
  margin-bottom: 0;
}

/* プレーン箇条書きリスト */
.recruit-details__text-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recruit-details__text-list li {
  position: relative;
  padding-left: 15px;
}

.recruit-details__text-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* 応募資格のヘッドライン */
.recruit-details__headline {
  font-weight: 700;
  margin: 0 0 6px 0;
}
.recruit-details__text-item {
  margin: 0 0 4px 0;
  padding-left: 5px;
}
.recruit-details__text-item:last-child {
  margin-bottom: 0;
}

/* 汎用マージンクラス */
.u-mt-15 {
  margin-top: 15px !important;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下修正）
   ========================================== */
@media screen and (max-width: 767px) {
  .recruit-details {
    padding-top: 50px;
    padding-bottom: 50px; /* スマホ上下端50px共通規約 */
  }

  .recruit-details__header {
    margin-bottom: 35px;
  }

  .recruit-details__title { font-size: 36px; }
  .recruit-details__subtitle { font-size: 13px; }

  /* SP版テーブル（隙間5pxを維持） */
  .recruit-details__table {
    gap: 5px;
    padding: 0 15px;
  }

  /* 横並びから縦積みに流動的変化（隙間はすべて5px） */
  .recruit-details__row {
    flex-direction: column;
    gap: 5px; /* 上下のセル同士の隙間も「5px」へ緻密にコントロール */
  }

  /* 上側項目ラベル：横幅100%化 */
  .recruit-details__label {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    border-radius: 8px;
    box-shadow: none; /* 【修正】SP版も影を完全に消去 */
  }

  /* 下側内容値領域 */
  .recruit-details__value {
    padding: 20px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: none; /* 【修正】SP版も影を完全に消去 */
  }

  /* 仕事内容の箇条書きをスマホでは1列にスッキリ統合 */
  .recruit-details__list {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }

  .recruit-details__price,
  .recruit-details__time {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .recruit-details__note {
    font-size: 13px;
  }
}




/* ==========================================
   1. ENTRY セクション スタイル定義
   ========================================== */
.recruit-entry {
  position: relative;
  width: 100%;
  padding: 100px 0 120px;
  background-color: #49A13E; /* ブランド緑色ソリッド背景 */
  box-sizing: border-box;
  overflow: hidden;
}

/* 全幅対応のインナー最大幅 1440px マッチング */
.recruit-entry__inner.w-1440 {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.recruit-entry__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 50px;
}

/* --- 左側：メッセージエリア --- */
.recruit-entry__content {
  flex: 1;
  text-align: left;
}

/* 260px / Bold に拡大して圧倒的な高さを演出 */
.recruit-entry__title {
  font-size: 260px;
  font-weight: 700;
  line-height: 0.85;
  color: #FFF;
  margin: 0 0 15px 0;
  letter-spacing: -0.03em;
}

/* 48px / Bold に拡大 */
.recruit-entry__sub {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: #FFF;
  margin: 0 0 35px 0;
  letter-spacing: 0.02em;
}

.recruit-entry__text {
  font-size: 15px;
  line-height: 2.1;
  color: #FFF;
  margin: 0;
}

/* --- 右側：画像＆アクション統合エリア --- */
.recruit-entry__right-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  width: 520px;
  flex-shrink: 0;
}

/* 右上：2つの透過楕円画像（横並びで隙間を空けるフレックス設計） */
.recruit-entry__visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 30px; /* スクショ通り画像同士の間に隙間を空ける設定 */
  width: 100%;
}

.recruit-entry__oval {
  width: 220px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.recruit-entry__oval-img {
  width: 100%;
  height: auto;
  display: block;
}

.recruit-entry-oval02 {
  padding-top: 60px;
}

/* 右下：ボタン配置枠（※common-btn__link自体のスタイルは共通CSSに委譲） */
.recruit-entry__actions {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-entry__btn-wrap {
  width: 100%;
}


/* ==========================================
   2. FLOW 応募の流れ セクション スタイル定義
   ========================================== */
.recruit-flow {
  position: relative;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 120px;
  background-image: url('images/bg-blue.jpg'); /* 青色壁紙画像 */
  background-repeat: repeat;
  box-sizing: border-box;
}

.recruit-flow__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* 見出しエリア（完全に左詰め） */
.recruit-flow__heading-wrap {
  text-align: left;
  margin-bottom: 30px;
}

.recruit-flow__title {
  font-size: 64px;
  font-weight: 700;
  color: #49A13E; /* ブランド緑 */
  line-height: 1.0;
  letter-spacing: 0.02em;
}

.recruit-flow__subtitle {
  font-size: 20px;
  color: #49A13E;
  display: block;
  margin-top: 5px;
}

/* リード文（完全に左詰め） */
.recruit-flow__lead {
  font-size: 20px;
  line-height: 1.8;
  color: #111;
  font-weight: 700;
  margin: 0 0 60px 0;
  text-align: left;
  display: block;
}

/* ステップ外枠 */
.recruit-flow__steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 各ステップボックス（白背景・緑枠のフラット構造） */
.recruit-flow__step {
  width: 100%;
  background-color: #FFF;
  border: 3px solid #49A13E; /* 緑の細枠 */
  border-radius: 0;
  padding: 40px 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 45px;
  position: relative;
}

/* ステップ同士を繋ぐ下向きの緑三角矢印（▼） */
.recruit-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 16px solid #49A13E;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  width: 0;
  height: 0;
  z-index: 5;
}

.recruit-flow__step:not(:last-child) {
  margin-bottom: 45px;
}

/* 左側：ラインアイコンエリア */
.recruit-flow__icon-wrap {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit-flow__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 右側：コンテンツ記述エリア */
.recruit-flow__body {
  flex: 1;
  text-align: left;
}

/* ステップタイトル */
.recruit-flow__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #49A13E;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

/* ステップ詳細本文 */
.recruit-flow__step-text {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin: 0;
  text-align: justify;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  /* --- SP版 ENTRY --- */
  .recruit-entry {
    padding: 50px 0; /* スマホ上下50px規約 */
  }

  .recruit-entry__container {
    flex-direction: column;
    align-items: stretch;
    gap: 35px;
  }

  /* スマホ版に合わせてフォントサイズをスマートに縮小 */
  .recruit-entry__title { font-size: 64px; }
  .recruit-entry__sub { font-size: 22px; margin-bottom: 20px; }
  .recruit-entry__text { font-size: 14px; line-height: 1.8; }

  .recruit-entry__right-wrap {
    width: 100%;
    align-items: center;
    gap: 30px;
  }

  /* スマホ時は2枚の楕円画像もスリムに縮小して中央並びへ */
  .recruit-entry__visual {
    justify-content: center;
    gap: 10px;
  }
  .recruit-entry__oval {
    width: 180px;
    max-width: 48%;
  }

  .recruit-entry__actions {
    width: 100%;
    max-width: 100%;
  }

  /* --- SP版 FLOW --- */
  .recruit-flow {
    padding-top: 50px;
    padding-bottom: 50px; /* スマホ上下50px規約 */
  }

  .recruit-flow__heading-wrap { margin-bottom: 20px; }
  .recruit-flow__title { font-size: 36px; }
  .recruit-flow__subtitle { font-size: 13px; }

  .recruit-flow__lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 45px;
  }

  .recruit-flow__step {
    flex-direction: column; /* 縦積みに変形 */
    gap: 20px;
    padding: 30px 20px;
    text-align: center;
  }

  .recruit-flow__step:not(:last-child) {
    margin-bottom: 35px;
  }

  .recruit-flow__step:not(:last-child)::after {
    bottom: -26px;
    border-top-width: 12px;
    border-left-width: 15px;
    border-right-width: 15px;
  }

  .recruit-flow__icon-wrap {
    width: 70px;
    height: 70px;
  }

  .recruit-flow__body {
    text-align: center;
  }

  .recruit-flow__step-title {
    font-size: 18px;
  }

  .recruit-flow__step-text {
    font-size: 14px;
    line-height: 1.6;
  }
}




/* ==========================================
   404 Not Foundページ 全体設定
   ========================================== */
/* 404ページ共通の白色壁紙背景を特定の詳細度で適用 */
.sub-page--404 .sub-page__content {
  position: relative;
  z-index: 1;
  margin-top: -50px; /* ヒーローの角丸切り欠きへの潜り込ませ */
  padding-top: 100px; 
  padding-bottom: 120px;
  background-image: url('images/bg-white.jpg');
  background-repeat: repeat;
}

/* ------------------------------------------
   404メインコンテンツ固有スタイル
   ------------------------------------------ */
.page-404 {
  width: 100%;
  box-sizing: border-box;
}

.page-404__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* ピンク色のセンターアンダーライン付き見出し */
.page-404__header {
  text-align: center;
  margin-bottom: 45px;
}

.page-404__section-title {
  position: relative;
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  color: #FF8C9B; /* ブランドピンク */
  line-height: 1.4;
  margin: 0;
  padding-bottom: 25px;
}

.page-404__section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #FF8C9B;
  border-radius: 2px;
}

/* テキストブロック（中央揃え・ボールドトーン） */
.page-404__body {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
}

.page-404__text {
  font-size: 16px;
  line-height: 1.9;
  color: #111;
  font-weight: 700;
  margin: 0 0 24px 0;
}
.page-404__text:last-child {
  margin-bottom: 0;
}

/* ボタンコンテナ設定（共通ボタンは共通CSSに委譲） */
.page-404__btn-wrap {
  width: 100%;
  max-width: 440px; /* 他の下層ボタン幅に同期 */
  margin: 0 auto;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================= */
@media screen and (max-width: 767px) {
  /* スマホ版上下端50px共通規約 */
  .sub-page--404 .sub-page__content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .page-404__header {
    margin-bottom: 30px;
  }

  .page-404__section-title {
    font-size: 26px;
    padding-bottom: 15px;
  }
  
  .page-404__section-title::after {
    width: 45px;
    height: 2px;
  }

  /* 本文テキストSP最適化 */
  .page-404__body {
    margin-bottom: 40px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-404__text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* ボタンSP幅フルスケール */
  .page-404__btn-wrap {
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
}




/* ==========================================
   お問い合わせページ（contact）全体レイアウト設定
   ========================================== */
/* お問い合わせページ専用の白色壁紙背景を特定の詳細度で適用 */
.sub-page--contact .sub-page__content {
  position: relative;
  z-index: 1;
  margin-top: -50px; /* ヒーローの角丸切り欠きへの潜り込ませ */
  padding-top: 100px; 
  background-image: url('images/bg-white.jpg');
  background-repeat: repeat;
}

/* ------------------------------------------
   お問い合わせメインコンテンツセクション固有スタイル
   ------------------------------------------ */
.page-contact {
  width: 100%;
  box-sizing: border-box;
}

.page-contact__inner.w-1100 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* 
   【スクショ完全再現】お問い合わせ独自見出し
   ピンク色のテキストの真下に、短いピンクのセンターラインを描画します。
*/
.page-contact__header {
  text-align: center;
  margin-bottom: 45px;
}

.page-contact__section-title {
  position: relative;
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  color: #FF8C9B; /* 鮮やかなピンク色 */
  line-height: 1.4;
  margin: 0;
  padding-bottom: 25px; /* 下線との間の心地よい隙間 */
}

/* 見出し真下の中央アンダーライン */
.page-contact__section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px; /* 下線の横幅 */
  height: 3px; /* 下線の太さ */
  background-color: #FF8C9B; /* ピンク色 */
  border-radius: 2px;
}

/* 【スクショ完全再現】中央揃えのリード文 */
.page-contact__lead {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
}

.page-contact__lead-text {
  font-size: 16px;
  line-height: 1.85;
  color: #111;
  font-weight: 700; /* スクショの少し太めの可読性を再現 */
  margin: 0;
  display: inline-block;
}

/* フォームの外枠コンテナ（※内部パーツは既にCSS定義済みのため余白・回り込み制御のみ） */
.page-contact__form-wrap {
  width: 100%;
  box-sizing: border-box;
}


/* ==========================================
   スマートフォン用レイアウト（SP版：767px以下）
   ========================================== */
@media screen and (max-width: 767px) {
  /* スマホ版上下端50px共通規約の適用 */
  .sub-page--contact .sub-page__content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .page-contact__header {
    margin-bottom: 30px;
  }

  /* スマホの画面幅に合わせて見出しサイズをスケールダウン */
  .page-contact__section-title {
    font-size: 26px;
    padding-bottom: 15px;
  }
  
  .page-contact__section-title::after {
    width: 45px;
    height: 2px;
  }

  /* リードテキストのスマホ最適化 */
  .page-contact__lead {
    margin-bottom: 40px;
    padding: 0 15px; /* 画面端へのはみ出しガード */
    box-sizing: border-box;
  }

  .page-contact__lead-text {
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
  }
}


/* --- テーブルレイアウト（背景・ボーダーを完全抹消） --- */
.contact_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

/* 【指示完全再現】th、tdのbackground-colorとborderは無し */
.contact_table tr,
.contact_table th,
.contact_table td {
  background-color: transparent !important;
  /* 背景なし */
  border: none !important;
  /* ボーダーなし */
}

.contact_table tr {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  /* 行ごとの美しい縦余白バランス */
}

.contact_table th {
  width: 320px;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  text-align: left;
  padding: 14px 20px 14px 0;
  /* 左端をピシッと整列 */
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

/* 共通必須バッジデザイン（背景#FFABAB / 白文字 / 直角） */
.page-contact .required {
  display: inline-block;
  background-color: #FFABAB !important;
  /* コーポレートカラー赤 */
  color: #ffffff !important;
  /* 白文字 */
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  margin-left: 12px !important;
  border-radius: 20px !important;
  /* 直角ルール */
  vertical-align: middle;
  line-height: 1.0 !important;
  white-space: nowrap;
}

.contact_table td {
  flex: 1;
  padding: 0;
  box-sizing: border-box;
}


/* --- 【指示完全再現】入力フィールド各種外観指定 --- */
.wpcf7-text,
.wpcf7-textarea {
  width: 100%;
  max-width: 100%;
  padding: 16px 20px;
  /* 【指示】textareaとtextのボーダーなし。background-colorは#E8E8E8 */
  border: none !important;
  background-color: #e8e8e8 !important;
  /* 【指示】入力値は文字色#111、font-family、font-weight: 500 */
  color: #111111 !important;
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
  background-color: #dfdfdf !important;
  /* フォーカス時に優しくトーンダウン */
  outline: none;
}

.wpcf7-textarea {
  height: 220px;
  resize: vertical;
}

/* --- 【指示完全再現】プレイスホルダー仕様指定 --- */
/* 全主要ブラウザのプレースホルダーを完全網羅して上書き */
.wpcf7-text::placeholder,
.wpcf7-textarea::placeholder {
  color: #111111 !important;
  /* 文字色#111 */
  opacity: 0.4 !important;
  /* opacity0.4 */
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  /* 指定ファミリー */
  font-weight: 500 !important;
  /* font-weight: 500 */
}

.wpcf7-text::-webkit-input-placeholder,
.wpcf7-textarea::-webkit-input-placeholder {
  color: #111111 !important;
  opacity: 0.4 !important;
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-weight: 500 !important;
}

.wpcf7-text::-moz-placeholder,
.wpcf7-textarea::-moz-placeholder {
  color: #111111 !important;
  opacity: 0.4 !important;
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-weight: 500 !important;
}


/* --- 【指示完全再現】ラジオボタン ＆ 同意チェックボックスカスタム --- */

/* 【指示】ラジオボタンの要素は縦並びにしてください */
.wpcf7-radio {
  display: flex;
  flex-direction: column;
  /* 縦並び指定 */
  gap: 16px;
  /* 縦の隙間 */
  width: 100%;
  padding: 14px 0;
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: block;
}

.wpcf7-radio label,
.wpcf7-acceptance label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  user-select: none;
}

/* 【指示完全再現】ラジオボタン本体 ＆ 同意チェックボックス本体を丸型同型へ昇華 */
.wpcf7-radio input[type="radio"],
.wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  /* 押しやすいスマートサイズ */
  height: 20px;
  border: 2px solid #BABEC0;
  /* 統一アトラストカラー外枠 */
  border-radius: 50% !important;
  /* 【指示】チェックボックスも同じデザイン（丸型） */
  margin: 0 12px 0 0;
  position: relative;
  background-color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

/* 【指示完全再現】中の赤丸をもっと大きくしてください */
.wpcf7-radio input[type="radio"]:checked::before,
.wpcf7-acceptance input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background-color: #FFABAB;
  /* 赤丸 */
  border-radius: 50%;
}


/* --- 【指示完全再現】個人情報取り扱い同意チェック領域 --- */
.accept {
  text-align: center;
  margin: 50px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ラジオボタンと完全同一の label 構造として地続き描写 */
.accept label {
  align-items: center;
  justify-content: center;
}

.accept a {
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.accept a:hover {
  opacity: 0.7;
}

/* 【指示】「必須」も他の箇所と同じデザインにしてください */
.accept .required {
  margin-left: 8px !important;
}


/* --- 送信確認ボタンセクション --- */
.button_section {
  display: flex;
  justify-content: center;
  width: 100%;
}

p.submit_button.formbtn {
  margin: 0;
  width: 350px;
}

p.submit_button input.wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px !important;
  /* 横幅350px */
  height: 74px;
  background-color: #FFABAB !important;
  color: #ffffff !important;
  font-size: 24px !important;
  /* font-size 24px */
  font-weight: 700 !important;
  /* 太字 */
  border: none !important;
  outline: none;
  border-radius: 60px !important;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease;
  font-family: "Zen Kaku Gothic New", sans-serif !important;
}

p.submit_button input.wpcf7-submit:hover {
  background-color: #000 !important;
}


/* ==========================================
   レスポンシブ（767px以下）スマホ最適化
   ========================================== */
@media screen and (max-width: 767px) {
  /* スマホ時は縦積みの1カラム構造へスイッチ */
  .contact_table,
  .contact_table tbody,
  .contact_table tr,
  .contact_table th,
  .contact_table td {
    display: block;
    width: 100% !important;
  }

  .contact_table tr {
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #e1e1e1 !important;
    /* スマホ並び時の視認境界線 */
  }

  .contact_table tr:last-child {
    border-bottom: none !important;
  }

  .contact_table th {
    padding: 0 0 10px 0;
    font-size: 15px;
  }

  .wpcf7-text,
  .wpcf7-textarea {
    padding: 14px;
    font-size: 15px;
  }

  .wpcf7-textarea {
    height: 160px;
  }

  .accept label {
    font-size: 14px;
    align-items: flex-start;
    text-align: left;
  }

  .accept input[type="checkbox"] {
    margin-top: -1px;
    /* スマホ縦積み時のチェック丸位置の重心微調整 */
  }

  p.submit_button.formbtn,
  p.submit_button input.wpcf7-submit {
    width: 100% !important;
    height: 60px;
    font-size: 18px !important;
  }
}


/* ==========================================
   Contact: お問い合わせ内容確認画面 専用スタイル
   ========================================== */
.confirm_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

/* 入力画面のフラットルールを完全継承 */
.confirm_table tr {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #e1e1e1;
  /* th・tdに線を付けない代わりに、行の区切りとして極淡い線をtrにのみ敷いて可読性を最大化 */
  box-sizing: border-box;
}

/* 指示準拠：thの背景・ボーダーは無し */
.confirm_table th {
  width: 280px;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  text-align: left;
  padding: 0 20px 0 0;
  /* 左端をピシッと揃えるパディング */
  background-color: transparent !important;
  /* 背景なし */
  border: none !important;
  /* ボーダーなし */
  box-sizing: border-box;
}

/* 指示準拠：tdの背景・ボーダーは無し ＆ 【フォント指定の完全反映】 */
.confirm_table td {
  flex: 1;
  /* 指示：文字色#111、font-family、font-weight: 500 */
  color: #111111 !important;
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px;
  line-height: 1.7;
  padding: 0;
  background-color: transparent !important;
  /* 背景なし */
  border: none !important;
  /* ボーダーなし */
  word-break: break-all;
  /* 長いメールアドレス等の右端突き抜けバグを絶対防御 */
}

/* 電話番号などが空（お客様が未入力）でtdの中身が空っぽの時でも、行の高さが垂直に潰れないための安全ガード */
.confirm_table td:empty::before {
  content: " ";
  display: inline-block;
}


/* --- 【デザイン完全再現】2ボタンエリア（横並び・中央揃え・gap制御） --- */
.confirm_button {
  display: flex;
  justify-content: center;
  /* 中央揃え */
  align-items: center;
  gap: 30px;
  /* ボタンとボタンの間の隙間 */
  width: 100%;
  margin-top: 60px;
  position: relative;
}

.confirm_button .button_section {
  margin: 0;
  width: 350px;
  /* 指定条件：width350px */
}

.confirm_button p.formbtn {
  margin: 0;
  width: 350px;
}

/* 共通インプットボタンのベース上書き（350px / 24px / Bold） */
.confirm_button input.wpcf7-submit,
.confirm_button input.wpcf7-previous {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px !important;
  /* 指定：width350px */
  height: 74px;
  font-size: 24px !important;
  /* 指定：font-size: 24px; */
  font-weight: 700 !important;
  /* 指定：font-weight: 700; */
  border: none !important;
  outline: none;
  border-radius: 60px !important;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/* 1. 【送信する】ボタン（一番重要な決定アクション：アトラストレッドを適用） */
.confirm_button input.wpcf7-submit {
  background-color: #FFABAB !important;
  color: #ffffff !important;
}

.confirm_button input.wpcf7-submit:hover {
}

/* 2. 【内容を修正する】ボタン（一つ手前に戻るサブアクション：シックな黒を適用） */
.confirm_button .prev input.wpcf7-previous {
  background-color: #000 !important;
  color: #ffffff !important;
}

.confirm_button .prev input.wpcf7-previous:hover {
}

/* くるくる回るローディングスピナー（Contact Form 7が送信時に自動出力するマークアップ）の絶対位置調整 */
.confirm_button .wpcf7-spinner {
  position: absolute;
  margin: 0;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
}


/* ==========================================
   レスポンシブ（767px以下）スマホ最適化
   ========================================== */
@media screen and (max-width: 767px) {

  /* スマホ時はテーブルを解除して、完全な縦1列並びへトランスフォーム */
  .confirm_table,
  .confirm_table tbody,
  .confirm_table tr,
  .confirm_table th,
  .confirm_table td {
    display: block;
    width: 100% !important;
  }

  .confirm_table tr {
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #e1e1e1 !important;
  }

  .confirm_table th {
    padding: 0 0 6px 0;
    font-size: 15px;
  }

  .confirm_table td {
    font-size: 15px;
    line-height: 1.5;
  }

  /* 【レスポンシブ安全設計】スマホ画面の横幅を絶対に突き抜けないよう、縦1列にスイッチ */
  .confirm_button {
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
  }

  /* 350px固定を解除し、スマホ幅100%可変へと安全に拡張 */
  .confirm_button .button_section,
  .confirm_button p.formbtn,
  .confirm_button input.wpcf7-submit,
  .confirm_button input.wpcf7-previous {
    width: 100% !important;
    height: 60px;
    font-size: 18px !important;
    /* スマホで見やすい文字サイズにスケール */
  }
}




/* 下部固定ナビゲーションのコンテナ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: none;
  z-index: 40;
}

.nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  gap: 8px;
  transition: opacity 0.3s;
  line-height: 1.2;
  text-align: center;
}

.nav-btn:active {
  opacity: 0.7;
}

.nav-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-contact {
  background-color: #8AB9FF;
}

.btn-recruit {
  background-color: #FFABAB;
}

@media (max-width: 767px) {
  .bottom-nav {
    display: flex;
  }
}