@charset "utf-8";
/*
Theme Name: jobcity
Description: jobcity用のテンプレートです
Version: 1.0
Author: Taiki Watanabe
*/

* {
   scroll-behavior: smooth;
}

body {
   font-family: 'Noto Sans JP', sans-serif;
   line-height: 1.6;
   color: #33343a;
   background-color: #ffffff;
}

.font-kosugi {
   font-family: 'Kosugi Maru', cursive;
}

/* Header Styles */
.header-transparent {
   background-color: rgba(255, 255, 255, 0.43);
   backdrop-filter: blur(10px);
   transition: all 0.3s ease;
}

.header-scrolled {
   background-color: rgba(255, 255, 255, 0.471);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Brand Colors */
.color-partners { color: #76acea; }
.bg-partners { background-color: #76acea; }
.border-partners { border-color: #76acea; }

.color-duo { color: #ecd76b; }
.bg-duo { background-color: #ecd76b; }
.border-duo { border-color: #ecd76b; }

.color-canow { color: #fb91b4; }
.bg-canow { background-color: #fb91b4; }
.border-canow { border-color: #fb91b4; }

.color-arcus { color: #a76cc1; }
.bg-arcus { background-color: #a76cc1; }
.border-arcus { border-color: #a76cc1; }

/* Pastel Background Colors */
.bg-pastel-blue { background-color: #E8F4FD; }
.bg-pastel-yellow { background-color: #FEF9E7; }
.bg-pastel-pink { background-color: #FDF2F8; }
.bg-pastel-purple { background-color: #F3E8FF; }
.bg-pastel-gray { background-color: #F8F9FA; }

/* Hero Section */
.hero-section {
   position: relative;
   height: 100vh;
   min-height: 700px;
   /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}

.hero-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   /* background: rgba(0, 0, 0, 0.3); */
   z-index: 1;
}

.hero-content {
   position: relative;
   z-index: 2;
   text-align: center;
}

/* Card Styles */
.service-card {
   background: white;
   border-radius: 16px;
   padding: 2rem;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
}

.service-card img {
   margin: auto
}

.service-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 4px;
   background: linear-gradient(90deg, var(--card-color), rgba(255,255,255,0.3));
}

/* Hamburger Menu */
.hamburger {
   display: flex;
   flex-direction: column;
   cursor: pointer;
   padding: 8px;
}

.hamburger span {
   width: 25px;
   height: 3px;
   background-color: rgb(0, 0, 0);
   margin: 3px 0;
   transition: 0.3s;
   border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
   transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
   opacity: 0;
}

.hamburger.active span:nth-child(3) {
   transform: rotate(45deg) translate(-6px, -6px);
}

/* Navigation Menu */
.nav-menu {
   position: fixed;
   top: 80px;
   right: -300px;
   width: 300px;
   height: calc(100vh - 80px);
   background: rgba(255, 255, 255, 0.95);
   backdrop-filter: blur(20px);
   transition: right 0.3s ease;
   z-index: 1000;
   padding: 2rem 0;
   box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
   right: 0;
}

.nav-menu a {
   display: block;
   padding: 1rem 2rem;
   color: #333;
   text-decoration: none;
   transition: all 0.3s ease;
   border-left: 4px solid transparent;
}

.nav-menu a:hover {
   background-color: rgba(74, 144, 226, 0.1);
   border-left-color: #4A90E2;
   transform: translateX(10px);
}

/* Floating Elements */
.floating-element {
   animation: float 6s ease-in-out infinite;
}

@keyframes float {
   0%, 100% { transform: translateY(0px); }
   50% { transform: translateY(-20px); }
}

/* Fade In Animation */
.fade-in {
   opacity: 0;
   transform: translateY(30px);
   transition: all 0.6s ease;
}

.fade-in.visible {
   opacity: 1;
   transform: translateY(0);
}

/* Table Styles */
.pricing-table {
   background: white;
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
   margin: 50px 0;
}

/* blue */
.pricing-table-blue th {
   background: linear-gradient(135deg, #4A90E2, #357ABD);
   color: white;
   padding: 1rem;
   font-weight: 500;
}
/* yellow */
.pricing-table-yellow th {
   background: linear-gradient(135deg, #ffee90, #f0d853);
   color: white;
   padding: 1rem;
   font-weight: 500;
}
   /* pink */
   .pricing-table-pink th {
   background: linear-gradient(135deg, #ff9dde, #d64da9);
   color: white;
   padding: 1rem;
   font-weight: 500;
}
   /* purple */
   .pricing-table-purple th {
   background: linear-gradient(135deg, #ce99ff, #914fcf);
   color: white;
   padding: 1rem;
   font-weight: 500;
}

.pricing-table td {
   padding: 1rem;
   border-bottom: 1px solid #e5e7eb;
}

.pricing-table tr:last-child td {
   border-bottom: none;
}

/* Footer */
.footer-bg {
   background-color: rgb(255, 255, 255);
   box-shadow: -10px 0px 12px rgba(0, 0, 0, 0.1);

}

/* Responsive */
@media (max-width: 768px) {
   .hero-section {
         height: 60vh;
         min-height: 400px;
   }

   .service-card {
         padding: 1.5rem;
   }

   .nav-menu {
         width: 100%;
         right: -100%;
   }
}

/* YouTube Video Responsive */
.video-container {
   position: relative;
   padding-bottom: 56.25%;
   height: 0;
   overflow: hidden;
}

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



/* Additional CSS for enhanced animations */
.ripple {
   position: absolute;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.6);
   transform: scale(0);
   animation: ripple-animation 0.6s ease-out;
   pointer-events: none;
}

@keyframes ripple-animation {
   to {
         transform: scale(4);
         opacity: 0;
   }
}

.loaded {
   opacity: 1;
}

/* Enhanced hover effects */
.service-card:hover .fas {
   animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
   0%, 20%, 50%, 80%, 100% {
         transform: translateY(0);
   }
   40% {
         transform: translateY(-10px);
   }
   60% {
         transform: translateY(-5px);
   }
}

/* Loading animation */
.loading {
   opacity: 0;
   transform: translateY(20px);
   transition: all 0.6s ease;
}

.loading.loaded {
   opacity: 1;
   transform: translateY(0);
}

/*##################################################### 2025/06/26(木) R ####################################################*/
/* service関連 */
.service{
   color: #33343a;
   font-family: 'Noto Sans JP',sans-serif;
   max-width: 1024px;
}

.service-logo{
  width: 500px;
}

/* ジョブシティパートナーズの特徴関連 */

.features p{
   padding: 25px;
}

/* map関連 */
.map iframe{
   width: 100%;
   height: 300px;
   margin: 30px 0;
}

/* 利用者様の声関連 */
.iImagesused img{
   width: 250px;
}

.speechbubble{
   border: 3px solid #76acea;
   border-radius: 30px
}

.speechbubble p{
   background-color: #76acea;
}

/*20250629追加*/
/* ======== Partners page専用アクセント ======== */
.partners-accent           { color:#76acea; }
.bg-partners-soft          { background-color:rgba(118,172,234,.15); }
.border-partners-strong    { border-color:#76acea; }

.service h2{
   font-size: 25px;
   width: auto;
   text-align: center;
   /* margin: 2%; */
   padding: 10px 0;
   font-weight: bold;
}

.service h3{
   font-size: 24px;
   font-weight: bold;
}

.service h4{
   font-size: 18px;
   font-weight: bold;
   /* margin: 10px 0; */
   /* background-color: rgba(43, 168, 240, 0.471); */
   /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
   text-align: center;
   padding: 10px;
}

/* 見出しを統一カラーに */
.service-blue h2, .service-blue h3, .service-blue h4{
   color:#76acea;                     /* テキストをブランド色 */

   padding-left: .75rem;
}

.service-yellow h2, .service-yellow h3, .service-yellow h4{
   color:#ecd76b;                     /* テキストをブランド色 */

   padding-left: .75rem;
}

.service-pink h2, .service-pink h3, .service-pink h4{
   color:#fb91b4;                     /* テキストをブランド色 */

   padding-left: .75rem;
}

.service-purple h2, .service-purple h3, .service-purple h4{
   color:#a76cc1;                     /* テキストをブランド色 */

   padding-left: .75rem;
}

/* “特徴”ボックスのカラーバリエーション */
.features{
   box-shadow:0 2px 8px rgba(0,0,0,.05);
   border-radius:12px;
}
.features h4{
   color:#fff;
   border-radius:8px 8px 0 0;
}

.features-blue{
   border-left:8px solid #76acea;
   background:rgba(118,172,234,.08);
}
.features-blue h4{
   background:#76acea;
}
.features-yellow{
   border-left:8px solid #ecd76b;
   background:rgba(234, 232, 118, 0.08);
}
.features-yellow h4{
   background:#ecd76b;
}
.features-pink{
   border-left:8px solid #fb91b4;
   background:rgba(234, 118, 182, 0.08);
}
.features-pink h4{
   background:#fb91b4;
}
.features-purple{
   border-left:8px solid #a76cc1;
   background:rgba(192, 118, 234, 0.08);
}
.features-purple h4{
   background:#a76cc1;
}

/* CTAボタン（a タグ） */
.btn-partners{
   display:inline-block;
   background:#76acea;
   color:#fff;
   padding:.75rem 2rem;
   border-radius:9999px;
   font-weight:700;
   transition:.3s;
}
.btn-partners:hover{
   background:#5897d2;                /* 濃いめに */
   transform:translateY(-3px);
}

/* パンくず風 or セクションラップにも使える淡色 */
.partners-section{
   background:linear-gradient(180deg,#fff 0%,rgba(118,172,234,.05) 100%);
}


.w-full h2{
   color:rgb(255, 255, 255)
}


/* ====== 既存“speechbubble”を共通化 → すべての声パラグラフに適用 ====== */
/* ベース吹き出し */
.iImagesused .grid p{                               /* 以前 .speechbubble に書いていた中身を移植 */
   position:relative;
   background:#f9fbff;
   border-radius:12px;
   padding:1.5rem 2rem;
   box-shadow:0 4px 16px rgba(0,0,0,.06);
}

/* ── 奇数ブロック（画像が右側） ── */
.iImagesused-blue .grid:nth-child(odd) p{
   border-left:6px solid #76acea;                 /* アクセント左線 */
}
/* ── 偶数ブロック（画像が左側） ── */
.iImagesused-blue .grid:nth-child(even) p{
   border-right:6px solid #76acea;                /* 右線に変更 */
}

.iImagesused-yellow .grid:nth-child(odd) p{
   border-left:6px solid #ecd76b;                 /* アクセント左線 */
}
/* ── 偶数ブロック（画像が左側） ── */
.iImagesused-yellow .grid:nth-child(even) p{
   border-right:6px solid #ecd76b;                /* 右線に変更 */
}

.iImagesused-pink .grid:nth-child(odd) p{
   border-left:6px solid #fb91b4;                 /* アクセント左線 */
}
/* ── 偶数ブロック（画像が左側） ── */
.iImagesused-pink .grid:nth-child(even) p{
   border-right:6px solid #fb91b4;                /* 右線に変更 */
}

.iImagesused-purple .grid:nth-child(odd) p{
   border-left:6px solid #a76cc1;                 /* アクセント左線 */
}
/* ── 偶数ブロック（画像が左側） ── */
.iImagesused-purple .grid:nth-child(even) p{
   border-right:6px solid #a76cc1;                /* 右線に変更 */
}

.iImagesused .grid{
   opacity:0;
   transform:translateX(var(--slide-start,0)) translateY(40px);
   transition:all .7s cubic-bezier(.25,.8,.25,1);
}
.iImagesused .grid[data-dir="right"]{ --slide-start:-60px; }  /* 左側から */
.iImagesused .grid[data-dir="left"] { --slide-start: 60px; }  /* 右側から */

.iImagesused .grid.is-visible{
   opacity:1;
   transform:translateX(0) translateY(0);
}


.pricing-table{
   margin-top: 8rem;
}

/* ===== サービス説明 / 特徴ボックス専用：ズーム＋ブラー解除 ===== */
.service .grid,
.service .features{
  opacity:0;
  filter:blur(8px);
  transform:scale(.9) rotateX(8deg);
  transform-origin:center 80%;
  transition:
      opacity   .8s ease,
      filter    .8s ease,
      transform .8s cubic-bezier(.16,1,.3,1);
}

.service .grid.is-visible-zoom,
.service .features.is-visible-zoom{
  opacity:1;
  filter:blur(0);
  transform:scale(1) rotateX(0deg);
}

/*##################################################### 2025/07/04(金) R ####################################################*/
/* ジョブシティDuoの特徴関連 */
/* CDN版Tailwindだけなら↓純CSSで */
.features-card{
  background:#f9fbff;
  border-radius:1rem;
  padding:1.5rem;
  box-shadow:0 4px 8px rgba(0,0,0,.08);
}

.features-title{
  font-size:1.25rem;
  font-weight:700;
  margin-bottom:.75rem;
  /* background:#ecd76b; */
}

.features-list{
  list-style:disc inside;
  margin-bottom:1rem;
  line-height:1.6;
}

.features-images{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.features-images img{
  flex:1 1 45%;          /* 2枚並び */
  max-width:100%;
  border-radius:.75rem;
  box-shadow:0 4px 8px rgba(0,0,0,.15);
}


/* ─── flow-card を画像付き・ヘッダー付きデザインへ ─── */
.flow-card{
  flex:0 0 30rem;                   /* 横幅統一 */
  background:#f1f6ff;               /* ほんのり淡い背景 */
  border-radius:14px;
  box-shadow:0 4px 18px rgba(0,0,0,.06);
  padding:1rem 1.25rem 2rem;
  display:flex;flex-direction:column;gap:1rem;
}

/* ヘッダー帯 */
.flow-head{
  background:#76acea;              /* パートナーズブランド色 */
  color:#fff;
  font-weight:700;text-align:center;
  border-radius:12px 12px 0 0;
  padding:.6rem 1rem;
  margin:-1rem -1.25rem 0;          /* 外周とツラ合わせ */
  font-size:1.05rem;
}

/* カード内画像 */
.flow-img{
  width:100%;
  height:auto;
  border-radius:8px;
  object-fit:cover;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}

/* 段落テキスト */
.flow-text{
  font-size:.9rem;
  line-height:1.7;
  color:#333;
}

/* モバイル縦並び時も幅統一 */
@media(max-width:767px){
  .flow-card{flex:1 1 auto;width:100%;}
}


.flow-card h4{
   color: #ffffff;
}



/* justify-between を後から打ち消して中央寄せに */
.flow-cards{
  justify-content:center !important;
}



.text-shadow{
   text-shadow: rgb(97, 96, 95) 1px 0 10px;
}





/* サービス利用の流れ画像アニメーション */
.service-flow-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-flow-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

/* リビールアニメーション用のオーバーレイ */
.service-flow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    transition: transform 2s ease-in-out;
    z-index: 2;
}

/* アニメーション実行時 */
.service-flow-container.reveal-animation::before {
    transform: translateX(100%);
}

/* より滑らかなアニメーション用の追加スタイル */
.service-flow-container.reveal-animation {
    animation: imageReveal 2s ease-in-out forwards;
}

@keyframes imageReveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* フェードイン効果も併用 */
.service-flow-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0.5s;
}

.service-flow-container.reveal-animation .service-flow-image {
    opacity: 1;
}


/* プライバシーポリシー関連 */
.privacy,.contact{
   padding: 55px 0;
   width: 950px;
   margin: 0 auto;
   line-height: 2rem;
}

.privacy h1,.contact h1{
   font-size: 38px;
   font-weight: bold;
   text-align: center;
}

.privacy h2{
   font-size: 24px;
   font-weight: bold;
   margin: 60px 0 10px 0;
   padding-bottom: 8px;
   border-bottom: #e3eaff solid;
}

.privacy p{
   margin-bottom: 20px;
}




/* ブログページ関連 20250713 */
/* ブログページ全体のスタイル */
.blogstyle.main {
    position: relative;
    min-height: 100vh;
    padding-bottom: 80px;
    background-image: url(../jobcity/img/blog_background.png);
}



/* グロウエフェクト - 下部のみ残す */
.glow-effect.bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 150px;
    bottom: 0;
    background: linear-gradient(to top, rgba(101, 67, 33, 0.8), transparent);
    pointer-events: none;
    z-index: 1;
}

/* 上部のグラデーションを削除 */
.glow-effect.top {
    display: none;
}

/* コンテナ */
.blogcontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
}

/* メインコンテンツエリア */
.home-box-white {
    background: rgba(252, 248, 241, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 100px 0 60px 0;
    box-shadow: 0 10px 30px rgba(101, 67, 33, 0.15);
    border: 1px solid rgba(210, 180, 140, 0.3);
    flex: 1;
}

/* サイドバー */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    margin-top: 100px;
}

.sidebar .widget {
    background: rgba(252, 248, 241, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(101, 67, 33, 0.1);
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.sidebar .widget-title {
    color: #654321 !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D2B48C;
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget ul li {
    margin-bottom: 10px;
}

.sidebar .widget ul li a {
    color: #8B4513 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.sidebar .widget ul li a:hover {
    color: #A0522D !important;
}

/* ブログ記事一覧エリア */
.home-blog-article-list {
    width: 100%;
}

.home-blog-article-list h1 {
    font-size: 2.5rem;
    color: #654321 !important;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.home-blog-article-list h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D2B48C, #CD853F);
    border-radius: 2px;
}

/* ブログ記事アイテム */
.blog-post-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.blog-post-item-link:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.blog-post-item {
    background: #FFFFFF !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(101, 67, 33, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(210, 180, 140, 0.4);
    height: 160px; /* 高さを少し増やす */
    position: relative;
}

.blog-post-item:hover {
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.2);
    border-color: #D2B48C;
}

/* アイキャッチ画像 */
.home-eyecatch {
    width: 220px; /* 幅を少し増やす */
    height: 160px; /* カードの高さに合わせる */
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.home-eyecatch img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: sepia(0.1) saturate(0.9);
    display: block;
}

.blog-post-item-link:hover .home-eyecatch img {
    transform: scale(1.05);
}

/* 投稿内容 */
.home-post-content {
    flex: 1;
    padding: 20px 25px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF !important;
    position: relative;
    z-index: 1;
    min-height: 160px;
}

/* タイトル */
.home-post-title {
    font-size: 1.3rem !important;
    color: #4A2C17 !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: none !important;
    word-wrap: break-word;
    hyphens: auto;
}

/* 抜粋 */
.home-excerpt {
    color: #6B3E2A !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
    flex-grow: 1;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: none !important;
    word-wrap: break-word;
    hyphens: auto;
}

/* 更新日時 */
.home-time-wrapper {
    margin-top: auto !important;
    flex-shrink: 0;
}

.home-time-wrapper p {
    color: #8B4513 !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    text-shadow: none !important;
    font-weight: 400 !important;
}

.date-text {
    color: #A0522D !important;
    font-weight: 500 !important;
    margin-left: 5px !important;
}

/* ページナビゲーション */
.wp-pagenavi {
    text-align: center;
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-block;
    padding: 12px 18px;
    margin: 0 5px;
    background: rgba(252, 248, 241, 0.95);
    color: #654321;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(210, 180, 140, 0.5);
}

.wp-pagenavi a:hover {
    background: #D2B48C;
    color: #4A2C17;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(101, 67, 33, 0.2);
}

.wp-pagenavi span.current {
    background: #CD853F;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

/* 投稿がない場合のメッセージ */
.home-blog-article-list > p {
    text-align: center !important;
    color: #6B3E2A !important;
    font-size: 1.1rem !important;
    margin: 60px 0 !important;
    padding: 40px !important;
    background: rgba(245, 245, 220, 0.8) !important;
    border-radius: 10px !important;
    border: 2px dashed #D2B48C !important;
    display: block !important;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .blogcontainer {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar {
        width: 100%;
        margin-top: 0;
    }
    
    .sidebar .widget {
        display: inline-block;
        width: calc(50% - 12.5px);
        margin-right: 25px;
        vertical-align: top;
    }
    
    .sidebar .widget:nth-child(even) {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .blogcontainer {
        padding: 0 15px;
    }
    
    .home-box-white {
        padding: 30px 20px;
        margin: 80px 0 40px 0;
        border-radius: 15px;
    }
    
    .home-blog-article-list h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .blog-post-item {
        flex-direction: column;
        height: auto;
        margin-bottom: 20px;
    }
    
    .home-eyecatch {
        width: 100%;
        height: 180px;
    }
    
    .home-post-content {
        padding: 15px 20px;
        min-height: auto;
    }
    
    .home-post-title {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
        color: #4A2C17 !important;
    }
    
    .home-excerpt {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
        -webkit-line-clamp: 3 !important;
        color: #6B3E2A !important;
    }
    
    .home-time-wrapper p {
        font-size: 0.8rem !important;
    }
    
    .sidebar .widget {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .wp-pagenavi a,
    .wp-pagenavi span {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .home-box-white {
        padding: 20px 15px;
        margin: 60px 0 30px 0;
    }
    
    .home-blog-article-list h1 {
        font-size: 1.8rem;
    }
    
    .home-post-content {
        padding: 12px 15px;
    }
    
    .home-post-title {
        font-size: 1.1rem !important;
        color: #4A2C17 !important;
    }
    
    .home-excerpt {
        font-size: 0.85rem !important;
        color: #6B3E2A !important;
    }
    
    .home-time-wrapper p {
        font-size: 0.75rem !important;
    }
    
    .home-eyecatch {
        height: 160px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post-item {
    animation: fadeInUp 0.6s ease-out;
}

.blog-post-item:nth-child(even) {
    animation-delay: 0.1s;
}

.blog-post-item:nth-child(odd) {
    animation-delay: 0.2s;
}

/* サイドバーのアニメーション */
.sidebar .widget {
    animation: fadeInUp 0.8s ease-out;
}

.sidebar .widget:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar .widget:nth-child(3) {
    animation-delay: 0.4s;
}

/* ホバー時の微細なアニメーション */
.blog-post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(210, 180, 140, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blog-post-item:hover::before {
    opacity: 1;
}

/* スムーズなスクロール効果 */
html {
    scroll-behavior: smooth;
}

/* テキスト選択時の色 */
::selection {
    background: rgba(210, 180, 140, 0.3);
    color: #654321;
}

::-moz-selection {
    background: rgba(210, 180, 140, 0.3);
    color: #654321;
}

/* 強制的にテキストを表示させるための追加スタイル */
.home-post-content * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* テキストが隠れる可能性のある要素のリセット */
.blog-post-item * {
    box-sizing: border-box;
}

/* フォントの強制読み込み */
.home-post-title,
.home-excerpt,
.home-time-wrapper p,
.date-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}






/* サイドバーのスタイル　20250713 */
/* サイドバー全体のスタイル */
.sidebar {
    width: 320px;
    flex-shrink: 0;
    margin-top: 100px;
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

/* サイドバーのスクロールバーカスタマイズ */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(210, 180, 140, 0.1);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(210, 180, 140, 0.6);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(210, 180, 140, 0.8);
}

/* ウィジェット共通スタイル */
.sidebar .widget {
    background: rgba(252, 248, 241, 0.98) !important;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(101, 67, 33, 0.1);
    border: 1px solid rgba(210, 180, 140, 0.3);
    transition: all 0.3s ease;
}

.sidebar .widget:hover {
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.15);
    transform: translateY(-2px);
}

/* ウィジェットタイトル */
.sidebar .widget-title {
    color: #654321 !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #D2B48C !important;
    position: relative;
    text-align: center;
}

.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #CD853F;
}

/* 検索フォームスタイル */
.widget_search .search-form {
    position: relative;
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(101, 67, 33, 0.1);
}

.widget_search .search-field {
    flex: 1;
    padding: 12px 15px !important;
    border: 1px solid #D2B48C !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    font-size: 0.95rem !important;
    color: #654321 !important;
    background: #FFFFFF !important;
    outline: none !important;
    transition: border-color 0.3s ease;
}

.widget_search .search-field:focus {
    border-color: #CD853F !important;
}

.widget_search .search-field::placeholder {
    color: #A0522D !important;
}

.widget_search .search-submit {
    padding: 12px 18px !important;
    background: #CD853F !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.widget_search .search-submit:hover {
    background: #B8860B !important;
    transform: translateY(-1px);
}

/* 人気記事ウィジェット */
.widget_popular_posts ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_popular_posts li {
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(210, 180, 140, 0.3) !important;
}

.widget_popular_posts li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.widget_popular_posts a {
    color: #654321 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    display: block !important;
    transition: color 0.3s ease;
}

.widget_popular_posts a:hover {
    color: #CD853F !important;
}

/* カテゴリーウィジェット */
.widget_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_categories li {
    margin-bottom: 10px !important;
    padding: 8px 12px !important;
    background: rgba(245, 245, 220, 0.5) !important;
    border-radius: 6px !important;
    border-left: 3px solid #D2B48C !important;
    transition: all 0.3s ease;
}

.widget_categories li:hover {
    background: rgba(210, 180, 140, 0.2) !important;
    border-left-color: #CD853F !important;
}

.widget_categories a {
    color: #654321 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: color 0.3s ease;
}

.widget_categories a:hover {
    color: #CD853F !important;
}

/* カテゴリーの投稿数 */
.widget_categories .count {
    color: #A0522D !important;
    font-size: 0.8rem !important;
    background: rgba(210, 180, 140, 0.3) !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    font-weight: 400 !important;
}

/* アーカイブウィジェット */
.widget_archive ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_archive li {
    margin-bottom: 8px !important;
    padding: 6px 12px !important;
    background: rgba(245, 245, 220, 0.3) !important;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.widget_archive li:hover {
    background: rgba(210, 180, 140, 0.2) !important;
    transform: translateX(3px);
}

.widget_archive a {
    color: #654321 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease;
}

.widget_archive a:hover {
    color: #CD853F !important;
}

/* レスポンシブデザイン - サイドバー */
@media (max-width: 1024px) {
    .blogcontainer {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar {
        width: 100% !important;
        margin-top: 0 !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }
    
    .sidebar .widget {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .sidebar {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .sidebar .widget {
        padding: 20px !important;
        margin-bottom: 0 !important;
    }
    
    .sidebar .widget-title {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .widget_search .search-field,
    .widget_search .search-submit {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .sidebar .widget {
        padding: 15px !important;
        border-radius: 12px !important;
    }
    
    .sidebar .widget-title {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    
    .widget_categories li,
    .widget_archive li {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
    }
}

/* サイドバー内のリンクの統一スタイル */
.sidebar a {
    transition: all 0.3s ease !important;
}

.sidebar a:hover {
    text-decoration: none !important;
}

/* スクリーンリーダー用のテキストを隠す */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* フォーカス時のアクセシビリティ */
.sidebar .widget a:focus,
.sidebar .search-field:focus,
.sidebar .search-submit:focus {
    outline: 2px solid #CD853F !important;
    outline-offset: 2px !important;
}

/* ウィジェットのアニメーション */
.sidebar .widget {
    animation: fadeInUp 0.8s ease-out;
}

.sidebar .widget:nth-child(1) {
    animation-delay: 0.1s;
}

.sidebar .widget:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar .widget:nth-child(3) {
    animation-delay: 0.3s;
}

.sidebar .widget:nth-child(4) {
    animation-delay: 0.4s;
}

/* 人気記事の画像スタイル（WordPress Popular Postsプラグイン用） */
.widget_popular_posts img {
    border-radius: 6px !important;
    transition: transform 0.3s ease !important;
}

.widget_popular_posts a:hover img {
    transform: scale(1.05) !important;
}

/* カテゴリーのカウント表示を改善 */
.widget_categories a .count {
    background: rgba(205, 133, 63, 0.2) !important;
    color: #8B4513 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
}


/* コンテナのFlexboxレイアウト */
.blogcontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
    align-items: flex-start; /* 追加 */
}

/* メインコンテンツエリア */
.home-box-white {
    background: rgba(252, 248, 241, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 100px 0 60px 0;
    box-shadow: 0 10px 30px rgba(101, 67, 33, 0.15);
    border: 1px solid rgba(210, 180, 140, 0.3);
    flex: 1;
    min-width: 0; /* 追加 */
}

/* サイドバー */
.sidebar {
    width: 320px !important;
    flex-shrink: 0 !important;
    margin-top: 100px !important;
    position: sticky !important;
    top: 120px !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
}






/* サイドバー全体のスタイル */
.sidebar {
    width: 320px !important;
    flex-shrink: 0 !important;
    margin-top: 100px !important;
    position: sticky !important;
    top: 120px !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    /* 赤い枠を削除 */
}

/* サイドバーのスクロールバーカスタマイズ */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(210, 180, 140, 0.1);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(210, 180, 140, 0.6);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(210, 180, 140, 0.8);
}

/* ウィジェット共通スタイル */
.sidebar .widget {
    background: rgba(252, 248, 241, 0.98) !important;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(101, 67, 33, 0.1);
    border: 1px solid rgba(210, 180, 140, 0.3);
    transition: all 0.3s ease;
}

.sidebar .widget:hover {
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.15);
    transform: translateY(-2px);
}

/* ウィジェットタイトル */
.sidebar .widget-title {
    color: #654321 !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #D2B48C !important;
    position: relative;
    text-align: center;
}

.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #CD853F;
}

/* 検索フォームスタイル */
.widget_search .search-form {
    display: flex !important;
    gap: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 15px rgba(101, 67, 33, 0.1) !important;
    border: 1px solid rgba(210, 180, 140, 0.4) !important;
}

.widget_search .search-form label {
    flex: 1 !important;
    margin: 0 !important;
}

.widget_search .search-field {
    width: 100% !important;
    padding: 14px 16px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 0.95rem !important;
    color: #654321 !important;
    background: #FFFFFF !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.widget_search .search-field:focus {
    background: #FEFCF8 !important;
    box-shadow: inset 0 0 0 2px rgba(205, 133, 63, 0.3) !important;
}

.widget_search .search-field::placeholder {
    color: #A0522D !important;
    opacity: 0.7 !important;
}

.widget_search .search-submit {
    padding: 14px 20px !important;
    background: #CD853F !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    min-width: 80px !important;
}

.widget_search .search-submit:hover {
    background: #B8860B !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3) !important;
}

.widget_search .search-submit:active {
    transform: translateY(0) !important;
}

/* 人気記事ウィジェット */
.widget_popular_posts ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_popular_posts li {
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(210, 180, 140, 0.3) !important;
}

.widget_popular_posts li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.widget_popular_posts a {
    color: #654321 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.3s ease !important;
}

.widget_popular_posts a:hover {
    color: #CD853F !important;
}

.widget_popular_posts .popular-post-thumbnail {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: rgba(210, 180, 140, 0.1) !important;
}

.widget_popular_posts .popular-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    transition: transform 0.3s ease !important;
}

.widget_popular_posts a:hover .popular-post-thumbnail img {
    transform: scale(1.05) !important;
}

.widget_popular_posts .popular-post-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.widget_popular_posts .popular-post-title {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.widget_popular_posts .popular-post-date {
    font-size: 0.8rem !important;
    color: #A0522D !important;
    font-weight: 400 !important;
}

/* カテゴリーウィジェット */
.widget_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_categories li {
    margin-bottom: 8px !important;
    padding: 10px 15px !important;
    background: rgba(245, 245, 220, 0.5) !important;
    border-radius: 8px !important;
    border-left: 4px solid #D2B48C !important;
    transition: all 0.3s ease !important;
}

.widget_categories li:hover {
    background: rgba(210, 180, 140, 0.2) !important;
    border-left-color: #CD853F !important;
    transform: translateX(3px) !important;
}

.widget_categories a {
    color: #654321 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: color 0.3s ease !important;
}

.widget_categories a:hover {
    color: #CD853F !important;
}

/* カテゴリーの投稿数 */
.widget_categories .count {
    color: #A0522D !important;
    font-size: 0.75rem !important;
    background: rgba(205, 133, 63, 0.2) !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
}

/* アーカイブウィジェット */
.widget_archive ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_archive li {
    margin-bottom: 6px !important;
    padding: 8px 15px !important;
    background: rgba(245, 245, 220, 0.3) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.widget_archive li:hover {
    background: rgba(210, 180, 140, 0.2) !important;
    transform: translateX(3px) !important;
}

.widget_archive a {
    color: #654321 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.widget_archive a:hover {
    color: #CD853F !important;
}

/* レスポンシブデザイン - サイドバー */
@media (max-width: 1024px) {
    .blogcontainer {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar {
        width: 100% !important;
        margin-top: 0 !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }
    
    .sidebar .widget {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .sidebar {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .sidebar .widget {
        padding: 20px !important;
        margin-bottom: 0 !important;
    }
    
    .sidebar .widget-title {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .widget_search .search-field,
    .widget_search .search-submit {
        padding: 12px 14px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .sidebar .widget {
        padding: 15px !important;
        border-radius: 12px !important;
    }
    
    .sidebar .widget-title {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    
    .widget_categories li,
    .widget_archive li {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
    }
    
    .widget_search .search-field,
    .widget_search .search-submit {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
    }
}

/* スクリーンリーダー用のテキストを隠す */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* フォーカス時のアクセシビリティ */
.sidebar .widget a:focus,
.sidebar .search-field:focus,
.sidebar .search-submit:focus {
    outline: 2px solid #CD853F !important;
    outline-offset: 2px !important;
}

/* ウィジェットのアニメーション */
.sidebar .widget {
    animation: fadeInUp 0.8s ease-out;
}

.sidebar .widget:nth-child(1) {
    animation-delay: 0.1s;
}

.sidebar .widget:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar .widget:nth-child(3) {
    animation-delay: 0.3s;
}

.sidebar .widget:nth-child(4) {
    animation-delay: 0.4s;
}







/* single.php専用CSS 20250713 */

/* 記事詳細ページのメインボックス */
.box-white {
    background: rgba(252, 248, 241, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin: 100px 0 60px 0;
    box-shadow: 0 10px 30px rgba(101, 67, 33, 0.15);
    border: 1px solid rgba(210, 180, 140, 0.3);
    flex: 1;
    min-width: 0;
}

/* 記事詳細エリア */
.single-article {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* アイキャッチ画像 */
.eyecatch {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.15);
}

.eyecatch img {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(0.1) saturate(0.9);
    transition: transform 0.3s ease;
}

.eyecatch:hover img {
    transform: scale(1.02);
}

/* 記事タイトル */
.single-article h1 {
    font-size: 2.2rem;
    color: #4A2C17 !important;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #D2B48C;
    padding-bottom: 15px;
}

/* 更新日時 */
.time-wrapper {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(210, 180, 140, 0.3);
}

.update-date {
    color: #8B4513;
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(210, 180, 140, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* 記事本文 */
.single-article .wp-block-paragraph,
.single-article p {
    color: #4A2C17;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.single-article h2 {
    color: #654321 !important;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(210, 180, 140, 0.2), rgba(205, 133, 63, 0.1));
    border-left: 5px solid #CD853F;
    border-radius: 8px;
}

.single-article h3 {
    color: #654321 !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding-left: 15px;
    border-left: 3px solid #D2B48C;
}

.single-article h4,
.single-article h5,
.single-article h6 {
    color: #654321 !important;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

/* リスト */
.single-article ul,
.single-article ol {
    color: #4A2C17;
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-article li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* 引用 */
.single-article blockquote {
    background: rgba(245, 245, 220, 0.8);
    border-left: 4px solid #CD853F;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-style: italic;
    color: #6B3E2A;
}

/* コード */
.single-article code {
    background: rgba(210, 180, 140, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #8B4513;
    font-size: 0.9em;
}

.single-article pre {
    background: rgba(245, 245, 220, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid rgba(210, 180, 140, 0.3);
}

/* 関連記事セクション */
.related-posts {
    margin: 60px 0;
    padding: 40px 0;
    border-top: 2px solid rgba(210, 180, 140, 0.3);
}

.related-posts h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #654321 !important;
    margin-bottom: 30px;
    position: relative;
}

.related-posts h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #D2B48C, #CD853F);
    border-radius: 2px;
}

.related-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-post-item {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(101, 67, 33, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.2);
    text-decoration: none;
    color: inherit;
}

.related-post-thumbnail {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: sepia(0.1) saturate(0.9);
}

.related-post-item:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.post-set {
    padding: 20px;
}

.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #654321 !important;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-excerpt {
    color: #6B3E2A;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ナビゲーション投稿 */
.navigation-posts {
    list-style: none;
    padding: 0;
    margin: 40px 0 20px 0;
}

.navigation-posts li {
    margin-bottom: 20px;
}

.prev-post-link,
.next-post-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(245, 245, 220, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(210, 180, 140, 0.4);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.prev-post-link:hover,
.next-post-link:hover {
    background: rgba(210, 180, 140, 0.2);
    transform: translateX(5px);
    text-decoration: none;
    color: inherit;
}

.next-post-link:hover {
    transform: translateX(-5px);
}

.prev-arrow,
.next-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: #CD853F;
    flex-shrink: 0;
}

.previous-post-thumbnail,
.next-post-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.previous-post-thumbnail img,
.next-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.1) saturate(0.9);
}

.previous-post-title,
.next-post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #654321;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ブログ一覧に戻るボタン */
.blog-back-button {
    display: inline-block;
    background: linear-gradient(135deg, #CD853F, #D2B48C);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin: 40px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

.blog-back-button:hover {
    background: linear-gradient(135deg, #B8860B, #CD853F);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.4);
    text-decoration: none;
    color: #FFFFFF;
}

/* 関連記事がない場合のメッセージ */
.related-posts p {
    text-align: center;
    color: #8B4513;
    font-style: italic;
    background: rgba(245, 245, 220, 0.6);
    padding: 30px;
    border-radius: 10px;
    border: 2px dashed #D2B48C;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .box-white {
        padding: 30px 20px;
        margin: 80px 0 40px 0;
    }
    
    .single-article h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .single-article h2 {
        font-size: 1.5rem;
        padding: 12px 15px;
        margin: 30px 0 15px 0;
    }
    
    .single-article h3 {
        font-size: 1.3rem;
        margin: 25px 0 12px 0;
    }
    
    .single-article .wp-block-paragraph,
    .single-article p {
        font-size: 1rem;
    }
    
    .related-posts-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .prev-post-link,
    .next-post-link {
        padding: 15px;
        gap: 12px;
    }
    
    .previous-post-thumbnail,
    .next-post-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .previous-post-title,
    .next-post-title {
        font-size: 0.9rem;
    }
    
    .blog-back-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .box-white {
        padding: 20px 15px;
        margin: 60px 0 30px 0;
    }
    
    .single-article h1 {
        font-size: 1.6rem;
    }
    
    .single-article h2 {
        font-size: 1.3rem;
        padding: 10px 12px;
    }
    
    .single-article h3 {
        font-size: 1.2rem;
    }
    
    .prev-post-link,
    .next-post-link {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .prev-arrow,
    .next-arrow {
        font-size: 1.2rem;
    }
    
    .previous-post-thumbnail,
    .next-post-thumbnail {
        width: 100px;
        height: 100px;
    }
}

/* 画像の最適化 */
.single-article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(101, 67, 33, 0.1);
}

/* テーブル */
.single-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(101, 67, 33, 0.1);
}

.single-article th {
    background: #CD853F;
    color: #FFFFFF;
    padding: 12px 15px;
    font-weight: 600;
}

.single-article td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(210, 180, 140, 0.3);
    color: #4A2C17;
}

.single-article tr:last-child td {
    border-bottom: none;
}

/* アニメーション */
.single-article {
    animation: fadeInUp 0.8s ease-out;
}

.related-post-item {
    animation: fadeInUp 0.6s ease-out;
}

.related-post-item:nth-child(1) {
    animation-delay: 0.1s;
}

.related-post-item:nth-child(2) {
    animation-delay: 0.2s;
}

.related-post-item:nth-child(3) {
    animation-delay: 0.3s;
}






/* 検索結果ページ専用CSS 20250713 */

/* 検索結果ページのメインコンテナ */
.search-results.main {
    position: relative;
    min-height: 100vh;
    padding-bottom: 80px;
    background-image: url(../jobcity/img/blog_background.png);
}

/* 検索結果ページのコンテナ */
.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 検索結果のメインボックス */
.search-box-white {
    background: rgba(252, 248, 241, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 100px 0 60px 0;
    box-shadow: 0 10px 30px rgba(101, 67, 33, 0.15);
    border: 1px solid rgba(210, 180, 140, 0.3);
    flex: 1;
    min-width: 0;
}

/* 検索結果エリア */
.search-results-list {
    width: 100%;
}

/* 検索結果のタイトル */
.search-results-list h1 {
    font-size: 2.2rem;
    color: #654321 !important;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.search-results-list h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D2B48C, #CD853F);
    border-radius: 2px;
}

/* 検索クエリ表示 */
.search-query-display {
    text-align: center;
    margin-bottom: 40px;
    padding: 15px 20px;
    background: rgba(210, 180, 140, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.search-query-display p {
    color: #654321;
    font-size: 1.1rem;
    margin: 0;
}

.search-query {
    font-weight: 600;
    color: #CD853F;
}

/* 検索結果がない場合のメッセージ */
.no-search-results {
    text-align: center;
    padding: 60px 40px;
    background: rgba(245, 245, 220, 0.8);
    border-radius: 15px;
    border: 2px dashed #D2B48C;
    margin: 40px 0;
}

.no-search-results h2 {
    color: #654321 !important;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.no-search-results p {
    color: #6B3E2A;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 検索結果アイテム（home.phpと同じスタイル） */
.search-post-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.search-post-item-link:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.search-post-item {
    background: #FFFFFF !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(101, 67, 33, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(210, 180, 140, 0.4);
    height: 160px;
    position: relative;
}

.search-post-item:hover {
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.2);
    border-color: #D2B48C;
}

/* 検索結果のアイキャッチ画像 */
.search-eyecatch {
    width: 220px;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.search-eyecatch img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: sepia(0.1) saturate(0.9);
    display: block;
}

.search-post-item-link:hover .search-eyecatch img {
    transform: scale(1.05);
}

/* 検索結果の投稿内容 */
.search-post-content {
    flex: 1;
    padding: 20px 25px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF !important;
    position: relative;
    z-index: 1;
    min-height: 160px;
}

/* 検索結果のタイトル */
.search-post-title {
    font-size: 1.3rem !important;
    color: #4A2C17 !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: none !important;
    word-wrap: break-word;
    hyphens: auto;
}

/* 検索結果の抜粋 */
.search-excerpt {
    color: #6B3E2A !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
    flex-grow: 1;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: none !important;
    word-wrap: break-word;
    hyphens: auto;
}

/* 検索結果の更新日時 */
.search-time-wrapper {
    margin-top: auto !important;
    flex-shrink: 0;
}

.search-time-wrapper p {
    color: #8B4513 !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    text-shadow: none !important;
    font-weight: 400 !important;
}

.search-date-text {
    color: #A0522D !important;
    font-weight: 500 !important;
    margin-left: 5px !important;
}

/* 検索結果数の表示 */
.search-results-count {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: rgba(205, 133, 63, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(205, 133, 63, 0.2);
}

.search-results-count p {
    color: #654321;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* ページナビゲーション（home.phpと同じ） */
.search-pagination {
    text-align: center;
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.search-pagination a,
.search-pagination span {
    display: inline-block;
    padding: 12px 18px;
    margin: 0 5px;
    background: rgba(252, 248, 241, 0.95);
    color: #654321;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(210, 180, 140, 0.5);
}

.search-pagination a:hover {
    background: #D2B48C;
    color: #4A2C17;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(101, 67, 33, 0.2);
}

.search-pagination span.current {
    background: #CD853F;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

/* 検索結果のハイライト表示 */
.search-highlight {
    background: rgba(255, 255, 0, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .search-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .blogstyle .sidebar {
        width: 100% !important;
        margin-top: 0 !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .search-container {
        padding: 0 15px;
    }
    
    .search-box-white {
        padding: 30px 20px;
        margin: 80px 0 40px 0;
        border-radius: 15px;
    }
    
    .search-results-list h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .search-post-item {
        flex-direction: column;
        height: auto;
        margin-bottom: 20px;
    }
    
    .search-eyecatch {
        width: 100%;
        height: 180px;
    }
    
    .search-post-content {
        padding: 15px 20px;
        min-height: auto;
    }
    
    .search-post-title {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .search-excerpt {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
        -webkit-line-clamp: 3 !important;
    }
    
    .search-time-wrapper p {
        font-size: 0.8rem !important;
    }
    
    .search-pagination a,
    .search-pagination span {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .search-box-white {
        padding: 20px 15px;
        margin: 60px 0 30px 0;
    }
    
    .search-results-list h1 {
        font-size: 1.6rem;
    }
    
    .search-post-content {
        padding: 12px 15px;
    }
    
    .search-post-title {
        font-size: 1.1rem !important;
    }
    
    .search-excerpt {
        font-size: 0.85rem !important;
    }
    
    .search-time-wrapper p {
        font-size: 0.75rem !important;
    }
    
    .search-eyecatch {
        height: 160px;
    }
    
    .search-query-display {
        padding: 12px 15px;
    }
}

/* アニメーション */
.search-post-item {
    animation: fadeInUp 0.6s ease-out;
}

.search-post-item:nth-child(even) {
    animation-delay: 0.1s;
}

.search-post-item:nth-child(odd) {
    animation-delay: 0.2s;
}

/* ホバー時の微細なアニメーション */
.search-post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(210, 180, 140, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.search-post-item:hover::before {
    opacity: 1;
}

/* 検索結果のフォントファミリー統一 */
.search-post-title,
.search-excerpt,
.search-time-wrapper p,
.search-date-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* 検索結果がない場合の改善提案 */
.search-suggestions {
    margin-top: 30px;
    padding: 25px;
    background: rgba(252, 248, 241, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(210, 180, 140, 0.3);
}

.search-suggestions h3 {
    color: #654321 !important;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(245, 245, 220, 0.5);
    border-radius: 6px;
    border-left: 3px solid #D2B48C;
}

.search-suggestions li a {
    color: #654321;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.search-suggestions li a:hover {
    color: #CD853F;
}


/* style.css L.999 */
.blogcontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
    align-items: flex-start; /* 追加 */
}



/* single.php 目次コンテナ調整（プラグイン用） */
#ez-toc-container {
    width: 90% !important;                 /* 幅を親要素の90%に設定 */
    max-width: 700px !important;            /* ただし最大幅は700pxに制限 */
    margin-left: auto !important;           /* 中央寄せ */
    margin-right: auto !important;          /* 中央寄せ */
    margin-top: 2rem !important;            /* 上の余白 */
    margin-bottom: 2.5rem !important;       /* 下の余白 */
    background: rgba(245, 245, 220, 0.6); /* 背景色を少しつける */
    border: 1px solid #D2B48C !important;   /* ブログの雰囲気に合わせた枠線 */
    padding: 1.5rem 2rem !important;        /* 内側の余白 */
    box-shadow: 0 4px 15px rgba(101, 67, 33, 0.1); /* 影をつけて立体感を出す */
}






.full-width-hero-image {
    width: 100vw; /* 画面の横幅全体を指定 */
    max-width: 100vw; /* 最大幅も画面幅に設定 */
    position: relative;

    height: auto; /* 高さは自動調整 */
    object-fit: cover; /* アスペクト比を保ちつつ全体をカバー */
}








/* 会社情報ページ (page-company.php) 専用スタイル */
.company-section {
    max-width: 900px; /* 全体の最大幅 */
    margin: 0 auto; /* 中央寄せ */
    padding: 6rem 1.5rem; /* 上下の余白を多めに、左右に少し余白 */
}

.company-section h2 {
    font-size: 2.2rem; /* 文字サイズ */
    font-weight: 700; /* 太字 */
    text-align: center; /* 中央揃え */
    color: #654321; /* ブログのテーマカラー */
    margin-bottom: 3rem; /* 見出しと表の間隔 */
    padding-bottom: 1rem; /* 見出しの下線との間隔 */
    border-bottom: 3px solid #D2B48C; /* ブログのテーマカラーの下線 */
}

.company-info-table {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(210, 180, 140, 0.4);
    border-radius: 12px;
    overflow: hidden; /* 角丸をテーブルに適用するため */
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.1);
    border-collapse: collapse; /* ボーダーを重ねる */
}

/* テーブルの各行に下線を引く（最後の行を除く） */
.company-info-table tr:not(:last-child) {
    border-bottom: 1px solid rgba(210, 180, 140, 0.3);
}

.company-info-table td {
    padding: 1.25rem 1.5rem; /* セルの内側の余白 */
    vertical-align: middle;
}

/* 項目名（左側のセル）のスタイル */
.company-info-table td.info-label {
    background-color: rgba(252, 248, 241, 0.7); /* ブログの背景色に近い色 */
    font-weight: 600;
    color: #654321;
    width: 30%; /* 左側セルの幅を固定 */
}

/* 内容（右側のセル）のスタイル */
.company-info-table td.info-value {
    color: #4A2C17;
    line-height: 1.7;
}






/* サイトマップページ (page-sitemap.php) 専用スタイル */
.sitemap-section {
    max-width: 1100px; /* 表示エリアの最大幅 */
    margin: 0 auto;    /* 中央寄せ */
    padding: 6rem 1.5rem; /* ページ上下の余白 */
}

.sitemap-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: #654321; /* テーマカラー */
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #D2B48C; /* テーマカラーの下線 */
}

.sitemap-list {
    list-style: none; /* リストの黒点を削除 */
    padding: 2rem;
    margin: 0;
    background: #FFFFFF;
    border: 1px solid rgba(210, 180, 140, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(101, 67, 33, 0.1);
    display: grid;
    /* PCでは2カラム表示、スマホでは自動で1カラムになります */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem; /* 項目間の隙間 */
}

.sitemap-list li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #4A2C17;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    border-bottom: 1px solid rgba(210, 180, 140, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.sitemap-list li a:hover {
    background-color: rgba(252, 248, 241, 0.7); /* ホバー時の背景色 */
    color: #CD853F; /* ホバー時の文字色 */
    transform: translateX(5px);
    border-bottom-color: transparent;
}

/* リンクの右側に矢印アイコンを追加 */
.sitemap-list li a::after {
    content: '›';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #D2B48C;
    transition: color 0.3s ease;
}

.sitemap-list li a:hover::after {
    color: #CD853F;
}





/* 404ページ (404.php) 専用スタイル */
/* 404ページ (404.php) 専用スタイル */
.page-404-fullscreen {
    /* 背景画像の設定 */
    background-image: url('img/404.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 画面全体の高さと、位置指定の基準に設定 */
    min-height: 100vh;
    position: relative;
}

/* トップページに戻るボタンのスタイル */
.page-404-button {
    /* 位置を絶対指定で中央に配置 */
    position: absolute;

    left: 50%;
    transform: translate(-50%, -50%);

    /* 以下はボタンの見た目のスタイル */
    display: inline-block;
    background: linear-gradient(135deg, #CD853F, #D2B48C);
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

.page-404-button:hover {
    background: linear-gradient(135deg, #B8860B, #CD853F);
    transform: translate(-50%, -52%); /* ホバー時に少し上に動くように調整 */
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.4);
}


























/* ================================================
   レスポンシブデザイン追加CSS
   ================================================ */

/* ============================================
   1. テーブル系の完全レスポンシブ対応
   ============================================ */

/* 基本テーブルのレスポンシブ対応 */
.single-article table,
.company-info-table,
.pricing-table table {
    font-size: 1rem;
    border-collapse: collapse;
    margin: 20px 0;
}

/* タブレット対応（768px～1024px） */
@media (max-width: 1024px) {
    .single-article table,
    .company-info-table,
    .pricing-table {
        font-size: 0.9rem;
        margin: 15px -10px;
        width: calc(100% + 20px);
    }

    .single-article table td,
    .single-article table th,
    .company-info-table td,
    .company-info-table th {
        padding: 10px 8px;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* モバイル対応（～767px） */
@media (max-width: 767px) {
    /* テーブルを横スクロール可能にする */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 15px -15px;
        padding: 0 15px;
    }

    .single-article table,
    .company-info-table,
    .pricing-table {
        min-width: 480px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .single-article table td,
    .single-article table th,
    .company-info-table td,
    .company-info-table th {
        padding: 8px 6px;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* テーブルヘッダーの固定 */
    .pricing-table th {
        position: sticky;
        top: 0;
        background: inherit;
        z-index: 10;
    }
}

/* 超小型デバイス対応（～480px） */
@media (max-width: 480px) {
    .single-article table,
    .company-info-table,
    .pricing-table {
        font-size: 0.7rem;
        min-width: 400px;
    }
    
    .single-article table td,
    .single-article table th,
    .company-info-table td,
    .company-info-table th {
        padding: 6px 4px;
        font-size: 0.65rem;
    }
}

/* ============================================
   2. ナビゲーションの完全モバイル最適化
   ============================================ */

/* タブレット対応 */
@media (max-width: 1024px) {
    .nav-menu a {
        padding: 1.2rem 2rem;
        font-size: 1.05rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .hamburger {
        padding: 12px;
    }
    
    .hamburger span {
        width: 28px;
        height: 3.5px;
        margin: 4px 0;
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
        padding: 1rem 0;
    }
    
    .nav-menu a {
        padding: 1.5rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        min-height: 56px;
        border-left: 6px solid transparent;
        position: relative;
    }
    
    .nav-menu a:hover,
    .nav-menu a:active {
        background-color: rgba(74, 144, 226, 0.15);
        border-left-color: #4A90E2;
        transform: translateX(8px);
    }
    
    /* タッチ時のフィードバック */
    .nav-menu a:active {
        background-color: rgba(74, 144, 226, 0.25);
        transform: translateX(12px);
        transition: all 0.1s ease;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 480px) {
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-menu a {
        padding: 1.2rem 1rem;
        font-size: 1rem;
        min-height: 52px;
    }
}

/* ============================================
   3. ボタン系の完全タッチターゲット最適化
   ============================================ */



/* タブレット対応 */
@media (max-width: 1024px) {
    .btn-partners {
        padding: 12px 24px;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 24px;
    }
    
    .blog-back-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .wp-pagenavi a,
    .wp-pagenavi span {
        padding: 12px 16px;
        min-height: 44px;
        font-size: 0.95rem;
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    .btn-partners {
        padding: 14px 28px;
        font-size: 1.05rem;
        min-height: 52px;
        border-radius: 26px;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
        text-align: center;
    }
    
    .blog-back-button {
        padding: 12px 24px;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
        max-width: 200px;
        margin: 15px auto;
        display: block;
        text-align: center;
    }
    
    /* ページネーション最適化 */
    .wp-pagenavi {
        text-align: center;
        margin: 30px -10px;
    }
    
    .wp-pagenavi a,
    .wp-pagenavi span {
        padding: 12px 14px;
        margin: 5px 3px;
        min-height: 48px;
        min-width: 48px;
        font-size: 1rem;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 480px) {
    .btn-partners {
        font-size: 1rem;
        padding: 12px 24px;
        min-height: 48px;
    }
    
    .wp-pagenavi a,
    .wp-pagenavi span {
        padding: 10px 12px;
        margin: 3px 2px;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
    }
}

/* ============================================
   4. セクション系の完全余白最適化
   ============================================ */



/* タブレット対応 */
@media (max-width: 1024px) {
    .company-section,
    .sitemap-section,
    .privacy {
        width: 95%;
        max-width: 900px;
        padding: 50px 30px;
        margin: 0 auto;
    }
    
    .company-section h1,
    .sitemap-section h1,
    .privacy h1 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .company-section h2,
    .sitemap-section h2,
    .privacy h2 {
        font-size: 1.8rem;
        margin: 40px 0 15px 0;
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    .company-section,
    .sitemap-section,
    .privacy {
        width: 100%;
        max-width: none;
        padding: 40px 20px;
        margin: 0;
    }
    
    .company-section h1,
    .sitemap-section h1,
    .privacy h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        line-height: 1.3;
        text-align: center;
    }
    
    .company-section h2,
    .sitemap-section h2,
    .privacy h2 {
        font-size: 1.4rem;
        margin: 30px 0 12px 0;
        line-height: 1.4;
    }
    
    .company-section h3,
    .sitemap-section h3,
    .privacy h3 {
        font-size: 1.2rem;
        margin: 25px 0 10px 0;
    }
    
    .company-section p,
    .sitemap-section p,
    .privacy p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 480px) {
    .company-section,
    .sitemap-section,
    .privacy {
        padding: 30px 15px;
    }
    
    .company-section h1,
    .sitemap-section h1,
    .privacy h1 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .company-section h2,
    .sitemap-section h2,
    .privacy h2 {
        font-size: 1.25rem;
        margin: 25px 0 10px 0;
    }
    
    .company-section p,
    .sitemap-section p,
    .privacy p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
}

/* ============================================
   5. 画像系の完全レスポンシブ対応
   ============================================ */



/* タブレット対応 */
@media (max-width: 1024px) {
    .service-logo {
        max-width: 400px;
        margin: 0 auto 30px;
        display: block;
    }
    
    .iImagesused img {
        width: 200px;
        height: auto;
        max-width: 100%;
    }
    
    /* アイキャッチ画像の改善 */
    .home-eyecatch,
    .search-eyecatch {
        width: 200px;
        height: 150px;
        object-fit: cover;
        border-radius: 8px;
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    .service-logo {
        max-width: 320px;
        margin: 0 auto 25px;
    }
    
    .iImagesused img {
        width: 160px;
        height: auto;
        border-radius: 50%;
        margin: 0 auto 15px;
        display: block;
    }
    
    /* 画像の高さ柔軟化 */
    .home-eyecatch,
    .search-eyecatch {
        width: 100%;
        height: 160px;
        max-height: 40vw;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }
    
    /* マップの最適化 */
    .map iframe {
        width: 100%;
        height: 250px;
        margin: 20px 0;
        border-radius: 8px;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 480px) {
    .service-logo {
        max-width: 280px;
        margin: 0 auto 20px;
    }
    
    .iImagesused img {
        width: 140px;
        height: 140px;
        object-fit: cover;
    }
    
    .home-eyecatch,
    .search-eyecatch {
        height: 140px;
        max-height: 35vw;
    }
    
    .map iframe {
        height: 220px;
        margin: 15px 0;
    }
}

/* ============================================
   6. サイドバーウィジェットの完全最適化
   ============================================ */

/* タブレット対応 */
@media (max-width: 1024px) {
    .sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 0;
    }
    
    .sidebar .widget {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
        padding: 20px;
    }
    
    .sidebar .widget-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    .sidebar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sidebar .widget {
        padding: 18px;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .sidebar .widget-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .sidebar .widget ul li {
        margin-bottom: 8px;
        padding: 6px 10px;
    }
    
    .sidebar .widget a {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* 検索フォーム最適化 */
    .widget_search .search-field {
        font-size: 1rem;
        padding: 12px 15px;
        min-height: 44px;
    }
    
    .widget_search .search-submit {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
    }
}

/* 超小型デバイス対応 */
@media (max-width: 480px) {
    .sidebar .widget {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .sidebar .widget-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .sidebar .widget a {
        font-size: 0.8rem;
    }
}

/* ============================================
   7. フォーム系の完全タッチターゲット対応
   ============================================ */


/* タブレット対応 */
@media (max-width: 1024px) {
    input[type="text"],
    input[type="email"],
    input[type="search"],
    textarea {
        min-height: 46px;
        font-size: 1.05rem;
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="search"],
    textarea {
        min-height: 48px;
        padding: 14px 16px;
        font-size: 1.1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    select {
        min-height: 48px;
        font-size: 1.1rem;
        padding: 12px 40px 12px 16px;
    }
}

/* ============================================
   8. アニメーション・インタラクション改善
   ============================================ */

/* タッチデバイス向けアニメーション最適化 */
@media (max-width: 767px) {
    /* より控えめなホバーエフェクト */
    .service-card:hover {
        transform: translateY(-4px);
    }
    
    .blog-post-item:hover {
        transform: translateY(-2px);
    }
    
    /* タッチ時のフィードバック改善 */
    .service-card:active,
    .blog-post-item:active,
    .btn-partners:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* スムーズスクロール */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================
   9. アクセシビリティ向上
   ============================================ */



/* 高コントラスト対応 */
@media (prefers-contrast: high) {
    .service-card,
    .blog-post-item,
    .sidebar .widget {
        border: 2px solid #333;
    }
    
    .btn-partners {
        border: 2px solid #333;
    }
}

/* 動作軽減対応 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   10. 印刷対応
   ============================================ */

@media print {
    .nav-menu,
    .hamburger,
    .sidebar,
    .glow-effect,
    .floating-element {
        display: none !important;
    }
    
    .home-box-white,
    .company-section,
    .privacy {
        background: white !important;
        box-shadow: none !important;
        padding: 20px !important;
    }
    
    .blog-post-item,
    .service-card {
        break-inside: avoid;
        background: white !important;
        border: 1px solid #ccc !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
        color: black !important;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* ============================================
   11. パフォーマンス最適化
   ============================================ */



/* ============================================
   12. 最終的な微調整
   ============================================ */

/* 超小型デバイス（iPhone SE等）対応 */
@media (max-width: 375px) {
    .home-box-white {
        padding: 15px 10px;
        margin: 50px 0 20px 0;
    }
    
    .home-blog-article-list h1 {
        font-size: 1.6rem;
    }
    
    .service h2 {
        font-size: 1.2rem;
    }
    
    .btn-partners {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

/* 横向き画面対応 */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .home-eyecatch,
    .search-eyecatch {
        height: 120px;
    }
}



/* ================================================
   レスポンシブデザイン追加CSS 終了
   ================================================ */









   /* home.php（ブログトップ）のヒーローセクション用スタイル */
.blog-hero-image {
    width: 100%;
    height: auto; /* PCでは画像の比率を維持 */
    object-fit: cover;
    display: block; /* 画像下の余分な隙間を削除 */
}

/* モバイル端末での表示を最適化 */
@media (max-width: 768px) {
    .blog-hero-image {
        height: 40vh; /* 画面の高さの40%を画像の高さに設定 */
        max-height: 300px; /* 高くなりすぎないように最大値を設定 */
        object-position: center; /* 画像の中央部分を優先して表示 */
    }
}

/* さらに小さい画面用の調整 */
@media (max-width: 480px) {
    .blog-hero-image {
        height: 35vh;
        max-height: 250px;
    }
}




@media (max-width: 1367px) {
    /* home.php（ブログトップ）のヒーローセクション用スタイル */
    .blog-hero-image {
        width: 100%;       /* 横幅を常にコンテナの100%に */
        height: auto;        /* 高さは画像の比率に合わせて自動調整 */
        display: block;      /* 画像下の余分な隙間を削除 */
        margin-top: 6rem;
        margin-bottom: -4rem;
    }
}


@media (max-width: 480px) {
    /* home.php（ブログトップ）のヒーローセクション用スタイル */
    .blog-hero-image {
        width: 100%;       /* 横幅を常にコンテナの100%に */
        height: auto;        /* 高さは画像の比率に合わせて自動調整 */
        display: block;      /* 画像下の余分な隙間を削除 */
        margin-top: 5rem;
        margin-bottom: -4rem;
    }
}









@media (max-width: 480px) {
    .full-width-hero-image {

        
        /* 親要素いっぱいに広げる */
        width: 100%;
        height: 100%;
        
        /* 画像の比率を保ったまま、要素全体を覆う */
        object-fit: cover;
        
        /* 文字が画像の上に表示されるように、画像を最背面に配置 */
        z-index: -1; 

        margin-bottom: -5rem;
    }
}





/* ============================================
   料金テーブルのレスポンシブ対応 (CSSのみ)
   ============================================ */

/* モバイル端末（画面幅767px以下）での表示 */
@media (max-width: 767px) {
    .pricing-table {
        border-radius: 8px;
    }
    
    /* テーブルのレイアウトを解除して縦積みに */
    .pricing-table table, 
    .pricing-table thead, 
    .pricing-table tbody, 
    .pricing-table th, 
    .pricing-table td, 
    .pricing-table tr {
        display: block;
    }

    /* PC用のテーブルヘッダーは非表示に */
    .pricing-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* 各行をカードのように見せる */
    .pricing-table tr {
        border-bottom: 1px solid #e2e8f0;
    }
    .pricing-table tr:last-child {
        border-bottom: none;
    }

    /* 各セルを調整 */
    .pricing-table td {
        border: none;
        padding: 0.75rem 1rem 0.75rem 45%; /* ラベル用のスペースを左側に確保 */
        position: relative;
        text-align: right; /* 内容を右寄せに */
        min-height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    /* CSSで項目ラベルを生成するための共通スタイル */
    .pricing-table td::before {
        position: absolute;
        left: 1rem;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: #4a5568;
    }

    /* 1列目のラベルをCSSで指定 */
    .pricing-table td:nth-of-type(1)::before {
        content: "区分";
    }

    /* 2列目のラベルをCSSで指定 */
    .pricing-table td:nth-of-type(2)::before {
        content: "世帯の収入状況";
    }

    /* 3列目のラベルをCSSで指定 */
    .pricing-table td:nth-of-type(3)::before {
        content: "負担上限金額";
    }
}

@media (min-width: 481px) and (max-width: 1367px) {
    .full-width-hero-image {
        margin-top: -45rem;
    }

    .hero-section {
        margin-bottom: -57rem;
    }
}

/* ################################################## お問い合わせ関連（2025/7/23追記R） ################################################## */
.contact {
    width: 1280px;
    margin: auto;
    margin-bottom: 1%;

}

input[type=text],
input[type=email],
input[type=tel],
input[type=date],
input[type=kengaku],
textarea {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  outline: none;
}

textarea {
  resize: vertical;
}

.address-box {
  width: 100%;
  padding: 6px 10px;
  border-radius: 5px;
  resize: vertical;
}

.inner {
  max-width: calc(1280px + 8%);
  padding-right: 4%;
  padding-left: 4%;
  margin: 0 auto;
}
.inner.is-small {
  max-width: calc(1160px + 8%);
}

.main, .home-main {
  display: block;
  width: 100%;
  padding-top: 48px;
  margin-top: 87px;
}

.page-title {
  margin-bottom: 0.833em;
  text-align: center;
}
.page-title::before {
  font-size: 2.8125rem;
}
@media screen and (max-width: 768px) {
  .page-title::before {
    font-size: 1.75rem;
  }
}



.c-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #6C6C6C;
  line-height: 3.2;
}
@media screen and (max-width: 768px) {
  .c-breadcrumbs {
    font-size: 0.8125rem;
  }
}
.c-breadcrumbs > li {
  display: inline-block;
  position: relative;
}
.c-breadcrumbs > li:not(:last-of-type)::after {
  content: ">";
  display: inline-block;
  margin-right: 0.5em;
  margin-left: 0.5em;
}

.box-white {
   width: 1280px;
   margin: auto;
   padding: 60px 6.551% 92px;
   margin-bottom: 5%;
   background-color: #FFFFFF;
   border-radius: 10px;
}

.text-red {
  color: #DA1725;
}

.btn-wrapper {
  margin-top: 30px;
  text-align: center;
}

.btn-submit {
  display: inline-block;
  min-width: 220px;
  padding: 10px;
  background-image: linear-gradient(to right, #333 0%, #333 50%, #1fa8c0 50%, #1fa8c0 100%);
  background-size: 200%;
  background-position-x: 0;
  border: 0px solid #333;
  border-radius: 5px;
  color: #FFFFFF;
  text-align: center;
  transition: 0.3s ease-in;
}
.btn-submit:hover {
  background-position-x: 100%;
  color: #ffffff;
}

.form-wrapper {
  max-width: 586px;
  margin: 0 auto;
}
.form-wrapper .about-text {
  margin-bottom: 54px;
  font-size: 0.9375rem;
  color: #333;
  line-height: 2.333;
}
@media screen and (max-width: 768px) {
  .form-wrapper .about-text {
    font-size: 0.875rem;
  }
}
.form-wrapper .about-text a:not(a[href^="tel:"]) {
  text-decoration: underline;
}

.form-box {
  width: 100%;
}
.form-box dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.form-box dt, .form-box dd {
  padding-bottom: 30px;
}
.form-box dt {
  font-weight: 400;
  text-align: left;
}
.form-box dt.message {
  padding-top: 10px;
  vertical-align: top;
}
.form-box dd {
  width: 70%;
}

.required {
  display: inline-block;
}
.required::after {
  content: "※";
  display: inline-block;
  padding-left: 1em;
  color: #DA1725;
}



/* Step 1: flexbox設定を最優先で解除する */
.form-box dl.kengaku-date {
  display: block !important; /* !importantでflexを強制的に上書き */
  overflow: hidden;
}

/* Step 2: 「見学希望日」ラベル(dt)のスタイルを再定義 */
.form-box dl.kengaku-date dt {
  width: 30%; /* 他の項目ラベルと幅を合わせる */
  float: left;
  padding-bottom: 0;
}

/* Step 3: 3つの日付入力欄(dd)のスタイルを再定義 */
.form-box dl.kengaku-date dd {
  width: 70%; /* 他の入力欄と幅を合わせる */
  float: right;
  padding-bottom: 15px; /* 日付間の縦の余白を調整 */
}

/* 最後の入力欄だけ、他の項目と同じ下の余白に戻す */
.form-box dl.kengaku-date dd:last-of-type {
  padding-bottom: 30px;
}





/* ################################################## レスポンシブ対応（768px以下） ################################################## */
@media screen and (max-width: 768px) {

  /* フォーム全体の幅を画面に合わせる */
  .contact,
  .box-white {
    width: 100%;
    padding-right: 4%;
    padding-left: 4%;
    box-sizing: border-box; /* paddingを含めて幅を計算 */
  }

  /* 項目名と入力欄を縦積みにする */
  .form-box dl {
    display: block; /* flexを解除 */
  }

  .form-box dt,
  .form-box dd {
    width: 100% !important; /* 幅を100%に */
  }

  .form-box dt {
      padding-bottom: 10px; /* 項目名の下に余白 */
  }

  /* 見学希望日のfloatを解除して縦積みにする */
  .form-box dl.kengaku-date dt,
  .form-box dl.kengaku-date dd {
    float: none !important; /* floatを解除 */
    margin-left: 0 !important; /* 左マージンをリセット */
  }

  /* ボタン自体をブロック要素にして、左右のマージンで中央揃え */
  .btn-submit {
      display: block;
      margin-left: auto;
      margin-right: auto;
  }
}


/* ################################################################################################################################# */




/* ##################################################
   404ページ レスポンシブ対応（768px以下）
################################################## */
@media screen and (max-width: 768px) {

  .page-404-section {
    padding: 20px 15px;
    min-height: 80vh;
    margin-top: 50px; /* ヘッダーとの重なりを避けるための上部マージン */
  }

  .page-404-image {
    display: block;     /* 中央揃えのためにブロック要素に変更 */
    width: 100%;
    max-width: 450px;
    margin-left: auto;  /* 左右の余白を自動で均等にする（中央揃え） */
    margin-right: auto; /* 左右の余白を自動で均等にする（中央揃え） */
    margin-bottom: 30px;
  }

  .page-404-button {
    width: 100%;
    max-width: 320px;
    padding: 15px;
    box-sizing: border-box;
    text-align: center; /* ボタン内のテキストを中央揃え */
  }

}


/* ##################################################
   サイトマップ レスポンシブ対応（768px以下）
################################################## */
@media screen and (max-width: 768px) {

  .sitemap-section {
    margin-top: 3rem;
  }

}




/* ##################################################
   記事ナビゲーション レスポンシブ対応（768px以下）
################################################## */
@media screen and (max-width: 768px) {

  /* ナビゲーション全体の共通スタイル */
  .navigation-posts {
    list-style: none; /* リストの黒点を削除 */
    padding: 0;
    margin: 0;

  }
  .navigation-posts:first-of-type {
    margin-bottom: 15px; /* 「前へ」と「次へ」の間に余白を設ける */
  }

  /* リンクエリア全体の共通スタイル */
  .prev-post-link,
  .next-post-link {
    display: flex;
    flex-direction: row; /* 要素を水平方向に並べることを明示 */
    align-items: center; /* 中身を垂直方向に中央揃え */
    min-height: 70px;    /* リンクエリアの最低の高さを確保し、レイアウトを安定させる */
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9; /* 背景色を付けて範囲を分かりやすく */
    padding: 1px 12px 12px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }
  .prev-post-link:hover,
  .next-post-link:hover {
    background-color: #f0f0f0; /* ホバー時に背景色を少し変える */
  }

  /* 矢印の共通スタイル */
  .prev-arrow,
  .next-arrow {
    flex: 0 0 auto; /* 矢印が伸び縮みしないように固定 */
    font-size: 1.2em;
    font-weight: bold;
    color: #555;
  }

  /* アイキャッチ画像のコンテナ共通スタイル */
  .previous-post-thumbnail,
  .next-post-thumbnail {
    flex: 0 0 80px; /* 横幅を70pxに固定し、伸び縮みさせない */
    height: 80px;   /* 画像の高さを固定 */
  }

  /* WordPressが出力する実際のimgタグのスタイル */
  .previous-post-thumbnail img,
  .next-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* アスペクト比を保ったままコンテナを埋める */
    display: block;
    border-radius: 5px;
  }

  /* 記事タイトルの共通スタイル */
  .previous-post-title,
  .next-post-title {
    flex: 1 1 auto; /* 残りのスペースをすべて埋めるように伸びる */
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
  }

  /* ▼ 「前の記事へ」の個別スタイル */
  .prev-arrow {
    margin-right: 12px; /* 矢印と画像の間の余白 */
  }
  .previous-post-thumbnail {
    margin-right: 12px; /* 画像とタイトルの間の余白 */
  }
  .previous-post-title {
    text-align: left; /* テキストを左揃えに */
  }


  /* ▼ 「次の記事へ」の個別スタイル */
  .next-post-link {
    flex-direction: row-reverse; /* アイテムの並び順を逆にする (タイトル > 画像 > 矢印) */
  }
  .next-arrow {
    margin-left: 12px; /* 矢印と画像の間の余白 */
  }
  .next-post-thumbnail {
    margin-left: 12px; /* 画像とタイトルの間の余白 */
  }
  .next-post-title {
    text-align: right; /* タイトルを右揃えにする */
  }

  .previous-post, .next-post {
    margin-right: 2rem;

  }

  .blog-back-button {
    margin-top: 5rem;
  }


}






/* ##################################################
   微調整用
################################################## */
.blog-hero-image {
    margin-top: -3rem;
}

@media screen and (max-width: 768px) {
    .blogcontainer {
        margin-top: -2rem;
    }
    .eyecatch {
        margin-top: -3rem;
    }
}


@media screen and (max-width: 933px) {
  /* テーブルのレイアウトを解除し、横スクロールを防止 */
  .company-info-table,
  .company-info-table tbody,
  .company-info-table tr,
  .company-info-table td {
    display: block; /* すべてのテーブル関連要素をブロック要素に変更 */
    width: 100%;    /* 幅を100%に設定 */
    box-sizing: border-box; /* paddingを含めて幅を計算するようにする */

  }

  .company-info-table {
    margin-left: auto;
    margin-right: auto;
  }



  /* 各行（tr）の間に適切な余白を設ける */
  .company-info-table tr {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9e9e9; /* 行の間に区切り線を追加 */
  }
  .company-info-table tr:first-child {
    padding-top: 0; /* 最初の行の上の余白は不要 */
  }
  .company-info-table tr:last-child {
    border-bottom: none; /* 最後の行の下の区切り線は不要 */
  }

  /* セルのスタイルをリセット */
  .company-info-table td {
    padding-left: 0;
    padding-right: 0;
    border: none;
    max-width: 200px;
  }

  /* 項目ラベル（運営法人、社名など）のスタイル */
  .info-label {
    font-weight: bold;

    margin-bottom: 5px; /* ラベルと内容の間に少し余白を設ける */
  }

  /* ▼▼▼ 横スクロール防止の追加修正 ▼▼▼ */
  .info-value {
    overflow-wrap: break-word; /* 長い文字列を強制的に折り返す */
    word-wrap: break-word;     /* 旧ブラウザ用の互換設定 */
    line-height: 1.6;          /* 折り返した際の行の高さを調整 */
  }

    .info-label, .info-value {
        margin-left: 1rem;

    }

    .company-info-table td.info-label {
        background-color: transparent; 
        font-size: 12px;
    }

    .company-info-table {
        max-width: 100px;
    }

    .company-section {
        margin-top: 2rem;

    }
}






/* ##################################################
   全ページ共通 横スクロール防止CSS（768px以下）
################################################## */
@media screen and (max-width: 768px) {

  /**
   * 1. ページ全体の横スクロールを強制的に無効化
   * これが横スクロール防止の最も重要な設定です。
   */
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }
}







/* ##################################################
   よくある質問 (FAQ) セクション
################################################## */
.faq-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.faq-container {
  max-width: 900px; /* FAQ全体の最大幅 */
  margin: 0 auto;
  border-top: 1px solid #e5e7eb; /* 上の区切り線 */
}

.faq-item {
  border-bottom: 1px solid #e5e7eb; /* 各項目の下の区切り線 */
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 1rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question-blue:hover {
  background-color: rgba(118, 172, 234, 0.08); /* テーマカラーの薄い色 */
}
.faq-question-yellow:hover {
  background-color: rgba(234, 226, 118, 0.08); /* テーマカラーの薄い色 */
}
.faq-question-pink:hover {
  background-color: rgba(234, 118, 195, 0.08); /* テーマカラーの薄い色 */
}

.faq-q-text {
  display: flex;
  align-items: center;
}

.faq-q-icon {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.faq-q-icon-blue {
  color: #76acea; /* テーマカラー */
}
.faq-q-icon-yellow {
  color: #ecd76b; /* テーマカラー */
}
.faq-q-icon-pink {
  color: #fb91b4; /* テーマカラー */
}

.faq-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-toggle-icon-blue::before,
.faq-toggle-icon-blue::after {
    background-color: #76acea; /* テーマカラー */
}
.faq-toggle-icon-yellow::before,
.faq-toggle-icon-yellow::after {
    background-color: #ecd76b; /* テーマカラー */
}
.faq-toggle-icon-pink::before,
.faq-toggle-icon-pink::after {
    background-color: #fb91b4; /* テーマカラー */
}

.faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #f9fbff;
}

.faq-answer p {
  padding: 1.5rem 2rem 2rem 2rem;
  line-height: 1.8;
  color: #374151;
  display: flex;
  align-items: flex-start;
}

.faq-a-icon {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f59e0b; /* 回答のAは別のアクセントカラーに */
}

/* モバイル表示の調整 */
@media screen and (max-width: 768px) {
  .faq-question {
    padding: 1.25rem 0.5rem;
    font-size: 1rem;
  }
  .faq-q-icon, .faq-a-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
  }
  .faq-answer p {
    padding: 1rem 1rem 1.5rem 1rem;
  }
}




/* ##################################################
   お問い合わせセクション (汎用)
################################################## */

.contact-info-section {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #f9fbff; /* 既存のセクションの背景色に合わせる */
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
}

.contact-info-section > p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: #4b5563;
}

/* お問い合わせボタン */
.contact-button {
  display: inline-flex; /* アイコンとテキストを中央揃え */
  align-items: center;
  justify-content: center;
  gap: 0.75rem; /* アイコンとテキストの間隔 */

  /* background-color: #76acea; テーマカラー */
  color: #fff !important; /* Tailwindの上書きのため!importantを指定 */
  font-weight: 700;
  text-decoration: none;

  padding: 0.8rem 2.5rem;
  border-radius: 9999px; /* 丸いボタン */

  transition: all 0.3s ease;
  /* box-shadow: 0 4px 15px rgba(118, 172, 234, 0.4); */
}

.contact-button:hover {
  color: #fff !important;
  transform: translateY(-3px);
  text-decoration: none;
}
/* お問い合わせボタンカラー別 */
.contact-button-blue{
    background-color: #76acea; /* テーマカラー */
    box-shadow: 0 4px 15px rgba(118, 172, 234, 0.4);
}
.contact-button-blue:hover{
    background-color: #5897d2; /* 少し濃い色 */
    box-shadow: 0 6px 20px rgba(118, 172, 234, 0.5);
}
.contact-button-yellow{
    background-color: #ecd76b; /* テーマカラー */
    box-shadow: 0 4px 15px rgba(234, 222, 118, 0.4);
}
.contact-button-yellow:hover{
    background-color: #e9d15a; /* 少し濃い色 */
    box-shadow: 0 6px 20px rgba(234, 222, 118, 0.4);
}
.contact-button-pink{
    background-color: #fb91b4; /* テーマカラー */
    box-shadow: 0 4px 15px rgba(234, 118, 199, 0.4);
}
.contact-button-pink:hover{
    background-color: #e6759a; /* 少し濃い色 */
    box-shadow: 0 6px 20px rgba(234, 118, 199, 0.4);
}
.contact-button-purple{
    background-color: #a76cc1; /* テーマカラー */
    box-shadow: 0 4px 15px rgba(188, 118, 234, 0.4);
}
.contact-button-purple:hover{
    background-color: #9656b1; /* 少し濃い色 */
    box-shadow: 0 6px 20px rgba(188, 118, 234, 0.4);
}

/* 連絡先情報 */
.contact-address {
  margin-top: 2.5rem;
  font-style: normal; /* addressタグのイタリック体をリセット */
  line-height: 2;
  color: #374151;
}

.contact-address p {
  margin: 0;
}



/* ##################################################
   ジョブシティパートナーズページ 仕上げ用CSS
################################################## */

/* ================================================
   1. ページ全体の基本スタイル調整
   ================================================ */

/* ページ全体のコンテナ */
.service {
  max-width: 1100px; /* 全体の最大幅を少し広げて余裕を持たせる */
}

/* 全セクション共通の上下余白 */
.service section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 1024px; /* 各セクションの最大幅 */
  margin-left: auto;
  margin-right: auto;
}

/* ロゴ画像 */
.service-logo {
  width: 100%;
  max-width: 450px; /* PCでの最大幅 */
  height: auto;
}

/* 全てのh2見出しに共通のデザイン */
.service h2 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.service-blue h2 {
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, transparent, #76acea, transparent) 1;
}
.service-yellow h2 {
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, transparent, #ecd76b, transparent) 1;
}
.service-pink h2 {
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, transparent, #fb91b4, transparent) 1;
}
.service-purple h2 {
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, transparent, #a76cc1, transparent) 1;
}


/* 全てのh3見出しに共通のデザイン */
.service h3 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.service-blue h3{
    border-left: 5px solid #76acea;
}
.service-yellow h3{
    border-left: 5px solid #ecd76b;
}
.service-pink h3{
    border-left: 5px solid #fb91b4;
}
.service-purple h3{
    border-left: 5px solid #a76cc1;
}

/* 本文テキストのスタイル */
.service p,
.service ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}

/* ================================================
   2. 各セクションの個別スタイル調整
   ================================================ */

/* 「就労定着支援」3ステップの矢印 */
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-arrow svg {
  width: 50px;
  height: auto;
}

/* 事業所情報テーブル */
.pricing-table-blue {
  box-shadow: 0 10px 25px rgba(118, 172, 234, 0.15);
}
.pricing-table-yellow {
  box-shadow: 0 10px 25px rgba(234, 207, 118, 0.15);
}
.pricing-table-pink {
  box-shadow: 0 10px 25px rgba(234, 118, 186, 0.15);
}
.pricing-table-purple {
  box-shadow: 0 10px 25px rgba(188, 118, 234, 0.15);
}

.pricing-table th h2 {
  border: none; /* テーブルヘッダー内のh2からは下線を削除 */
  margin-bottom: 0;
  padding-bottom: 0;
  color: #fff;
}

/* アクセス情報 */
.access-info {
  padding: 2rem;
  background-color: #f9fbff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

/* ##################################################
   スタッフ紹介セクション
################################################## */
.staff{
    width: 520px;
}
@media screen and (max-width: 768px) {
    .staff {
        width: 93vw;
    }
}

.staff-blue b{
    color: #76acea;
}
.staff-yellow b{
    color: #ecd76b;
}
.staff-pink b{
    color: #fb91b4;
}
.staff-purple b{
    color: #a76cc1;
}


/* スタッフ紹介セクション */
.staff-section .grid {
  align-items: center;
}
.staff-section img {
  border-radius: 50%; /* スタッフの写真を丸くする */
  width: 200px;
  height: 200px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


  /* カードと矢印を囲む親要素のレイアウトを調整 */
    .flow-cards {
    justify-content: center; /* 両端揃えを解除し、中央揃えに変更 */
    gap: 2rem; /* カード間の隙間を少し狭める */
    }

    /* カード(article)の幅を調整 */
    .flow-card {
    flex-basis: 450px; /* カードの基本幅を280pxに設定 */
    flex-grow: 0;      /* カードが余白を埋めるために伸びないようにする */
    }

    /* 矢印(div)の幅を調整 */
    .flow-arrow svg {
    width: 40px; /* 矢印の幅を40pxに縮める */
    }

/* ================================================
   3. レスポンシブ対応 (768px以下)
   ================================================ */
@media screen and (max-width: 768px) {
  /* ページ全体の余白を調整 */
  .service-blue {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .service {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* ロゴを小さくする */
  .service-logo {
    max-width: 300px;
    margin-bottom: 2rem;
  }

  /* 全セクションの余白を調整 */
  .service section,
  section.px-20 { /* px-20を上書き */
    padding: 2.5rem 0;
  }

  /* 見出しの文字サイズを調整 */
  .service h2 {
    font-size: 1.35rem;
    margin-bottom: 2rem;
  }
  .service h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  /* テキストの文字サイズを調整 */
  .service p,
  .service ul li {
    font-size: 0.95rem;
  }

  /* 2カラムレイアウトを1カラムに */
  .grid.md\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
  /* 画像が上に来るように順番を調整（利用者様の声など） */
  .iImagesused .grid:nth-child(even) div:first-child {
    order: 2;
  }


  .partners-retention .flow-card:not(:last-child)::after {
    content: '▼';
    display: block;
    text-align: center;
    font-size: 2rem;
    color: #76acea;
    margin-top: 2rem;
  }



  /* 事業所情報テーブル */
  .pricing-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .pricing-table td:first-child {
    font-weight: bold;
    background-color: #f9fbff;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: none;
  }
  .pricing-table td:last-child {
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
  }

  /* スタッフ紹介の写真を小さく */
  .staff-section img {
    width: 150px;
    height: 150px;
  }

  /* ▼▼▼▼▼ 事業所情報テーブルのレスポンシブ調整 ▼▼▼▼▼ */
  .pricing-table tbody,
  .pricing-table tr {
    display: block;
  }
  .pricing-table tr {
    padding: 1rem 0;
  }
  .pricing-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.25rem 1rem;
    border: none;
  }
  /* 項目名（1番目のtd） */
  .pricing-table td:first-child {
    font-weight: bold;
    background-color: transparent;
    color: #4b5563;
    padding-bottom: 0.25rem;
  }
  /* 内容（2番目のtd） */
  .pricing-table td:last-child {
    padding-top: 0;
  }
  /* ▲▲▲▲▲ 事業所情報テーブルのレスポンシブ調整 ▲▲▲▲▲ */

  /* 事業所情報テーブルで、他のテーブルのスタイルが適用されるのを防ぐ */
  .pricing-table td::before {
    content: none !important;
  }
}

@media screen and (max-width: 1367px){
  /* 「就労定着支援」3ステップを縦積みに */
.flow-cards {
    flex-direction: column;
    gap: 1px;
  }
  /* PC用の横矢印は非表示に */
  .partners-retention .flow-arrow {
    display: none;
  }
  /* スマホ用の下矢印を追加 */
  .flow-card:not(:last-child) {
    margin-bottom: 2rem;
    position: relative;
  }
  .flow-card img {
    width: 60%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 900px){
  /* 「就労定着支援」3ステップを縦積みに */
.flow-cards {
    flex-direction: column;
    gap: 1px;
  }
  /* PC用の横矢印は非表示に */
  .partners-retention .flow-arrow {
    display: none;
  }
  /* スマホ用の下矢印を追加 */
  .flow-card:not(:last-child) {
    margin-bottom: 2rem;
    position: relative;
  }
  .flow-card img {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

  /* 1. セクションの余白と幅を調整し、横スクロールを防止 */
  section.pricing-table {
    padding: 0rem 0rem; /* 上下左右の余白をここで管理 */
    width: 100%;
    box-sizing: border-box; /* paddingを含めて幅を100%に収める */
    margin-bottom: -2.5rem;
  }

  section.partners-retention h3{
    margin-left: 12rem;
  }



@media screen and (max-width: 768px) {

  /* 1. セクションの余白と幅を調整し、横スクロールを防止 */
  section.pricing-table {
    padding: 1rem 1rem; /* 上下左右の余白をここで管理 */
    width: 100%;
    box-sizing: border-box; /* paddingを含めて幅を100%に収める */
  }

  /* 2. テーブルの幅をリセット */
  .pricing-table table {
    width: 100%;
  }

  /* 3. スマホでタイトル(h2)を正しく表示させる */
  /* 競合しているthead trの非表示スタイルを上書き */
  .pricing-table thead,
  .pricing-table thead tr {
    display: block;
    position: static !important; /* !importantで強制的に上書き */
    top: auto;
    left: auto;
  }

  .pricing-table th {
    display: block;
    background: none !important;
    padding: 0;
  }

  /* 他のh2見出しとデザインを統一 */
  .pricing-table-blue th h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid;
  }

    .pricing-table-blue th h2 {
    color: #76acea !important;
    border-image: linear-gradient(to right, transparent, #76acea, transparent) 1;
  }
      .pricing-table-yellow th h2 {
    color: #ecd76b !important;
    border-image: linear-gradient(to right, transparent, #ecd76b, transparent) 1;
  }
      .pricing-table-pink th h2 {
    color: #fb91b4 !important;
    border-image: linear-gradient(to right, transparent, #fb91b4, transparent) 1;
  }
      .pricing-table-purple th h2 {
    color: #a76cc1 !important;
    border-image: linear-gradient(to right, transparent, #a76cc1, transparent) 1;
  }

  /* 4. テーブル内容のスタイルを再調整 */
  .pricing-table tr {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
  }
  .pricing-table tr:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 5. 競合していた不要なテキストを確実に非表示にする */
  .pricing-table td::before {
    content: none !important;
  }

  /* 所在地などの長い文字列がはみ出さないように強制的に折り返す */
  .pricing-table td {
    white-space: normal;       /* テキストの折り返しを許可 */
    overflow-wrap: break-word; /* はみ出す長い単語を強制的に改行 */
    word-wrap: break-word;     /* 旧ブラウザ用の互換設定 */
  }

  section.partners-retention h3{
    margin-left: 0rem;
  }

  section.pricing-table {
   margin-left: auto;
   margin-right: auto;
  }

  .service-logo {
    margin-top: 3rem;
  }
}



/* --- 20250811 --- */
/* --- flow-cards レスポンシブ調整 --- */

.flow-card {
    max-width: 350px;
}

.flow-cards {
    max-width: 80%;
}






@media screen and (max-width: 1200px) and (min-width: 901px) {
.flow-card {
max-width: 280px;
}
  .hero-content {
    margin-top: 4rem;
  }


}


@media screen and (min-width: 770px) {
  .flow-cards {
    flex-direction: row !important;
    gap: 20px; /* 必要なら間隔を調整 */
  }


}


@media screen and (max-width: 900px) and (min-width: 700px) {
  .hero-content {
    margin-top: 18rem;
  }
.service {
margin-top: 10rem;
}
}






.full-width-hero-image {
  display: block;           /* 余計な隙間をなくす */
  width: 100%;              /* 画面幅いっぱい */
  background-color: #fff;   /* 白背景 */
}






@media screen and (max-width: 1400px) and (min-width: 1025px) {
  .hero-content {
    margin-top: 46rem;
  }
.service {
margin-top: 51rem;
}
}